/* =========================================================
   Genesis Sthetics Dental Laboratory — Static Pure CSS
   ========================================================= */

/* ---------- Variables ---------- */
:root {
  --gold: #d4af37;
  --gold-soft: #c8a034;
  --ink: #111111;
  --white: #ffffff;
  --light: #f8f8f8;
  --accent: #e8e0c8;
  --muted: #6b6b6b;
  --body: #3a3a3a;
  --line: rgba(17, 17, 17, 0.1);
  --line-strong: rgba(17, 17, 17, 0.15);
  --ease: cubic-bezier(0.7, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: #fff;
  color: var(--ink);
  font-family: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; padding: 0; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 3px; }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(17,17,17,0.15); }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ---------- Typography ---------- */
.font-display {
  font-family: 'Playfair Display', 'Times New Roman', serif;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.italic-gold {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}
.text-gold { color: var(--gold); }

.h2 {
  font-size: clamp(2.25rem, 5.5vw, 4.75rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.body-copy {
  font-size: 16px;
  line-height: 1.75;
  color: var(--body);
  font-weight: 300;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) { .container { padding: 0 40px; } }

.section { padding: 96px 0; position: relative; }
@media (min-width: 768px) { .section { padding: 160px 0; } }

.bg-white { background: #fff; }
.bg-light { background: var(--light); }
.bg-ink { background: var(--ink); color: #fff; }

/* Grain overlay */
.grain::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/></svg>");
  mix-blend-mode: multiply;
}

/* Chapter mark */
.chapter { display: flex; align-items: center; gap: 16px; margin-bottom: 48px; }
@media (min-width: 768px) { .chapter { margin-bottom: 64px; } }
.chapter-line { display: block; width: 40px; height: 1px; background: var(--gold); }
.chapter-label {
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--gold);
}

/* Section head */
.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: end;
  margin-bottom: 64px;
}
@media (min-width: 1024px) {
  .section-head {
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 80px;
  }
}
.section-head-copy {
  font-size: 15px;
  line-height: 1.75;
  color: var(--body);
  font-weight: 300;
  max-width: 420px;
}
.section-head-copy.dim { color: rgba(255,255,255,0.7); }

/* ---------- Utilities ---------- */
.underline-hover { position: relative; display: inline-block; }
.underline-hover::after {
  content: '';
  position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.underline-hover:hover::after { transform: scaleX(1); transform-origin: left; }

.ico { width: 14px; height: 14px; }

/* Arch clip-paths */
.arch-clip-1 { clip-path: polygon(0 8%, 50% 0, 100% 8%, 100% 100%, 0 100%); }
.arch-clip-2 { clip-path: polygon(0 0, 100% 0, 100% 92%, 50% 100%, 0 92%); }
.arch-clip-3 { clip-path: polygon(0 6%, 100% 0, 100% 94%, 0 100%); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s ease;
}
.btn-primary {
  background: var(--ink);
  color: #fff;
}
.btn-ghost {
  border: 1px solid var(--ink);
  color: var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: #fff;
}
.btn-outline-gold {
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 12px 24px;
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--ink);
}

/* Fill sweep */
.btn-fill {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn-fill::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateY(101%);
  transition: transform 0.5s var(--ease);
  z-index: -1;
}
.btn-fill:hover::before { transform: translateY(0); }
.btn-fill.btn-primary:hover { color: var(--ink); }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background-color 0.5s ease, backdrop-filter 0.5s ease, border-color 0.5s ease;
  background: transparent;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: rgba(232, 224, 200, 0.6);
}
.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (min-width: 768px) {
  .nav-inner { padding: 0 40px; height: 84px; }
}
.nav-logo img { height: 32px; width: auto; }
@media (min-width: 768px) { .nav-logo img { height: 40px; } }

.nav-menu {
  display: none;
  gap: 36px;
  align-items: center;
}
@media (min-width: 1024px) { .nav-menu { display: flex; } }
.nav-link {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 500;
}
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-cta { display: none; padding: 12px 20px; font-size: 11px; letter-spacing: 0.22em; }
@media (min-width: 768px) { .nav-cta { display: inline-flex; } }

.nav-menu-toggle {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(17,17,17,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-menu-toggle .ico { width: 18px; height: 18px; }
@media (min-width: 1024px) { .nav-menu-toggle { display: none; } }

.nav-mobile {
  background: #fff;
  border-top: 1px solid rgba(232, 224, 200, 0.7);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.nav-mobile[hidden] { display: none; }
.nav-mobile-link {
  font-size: 16px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}
.nav-mobile-cta {
  margin-top: 8px;
  padding: 12px 20px;
  justify-content: center;
  font-size: 11px;
  letter-spacing: 0.22em;
}

/* ---------- Hero ---------- */
.hero {
  padding: 110px 0 64px;
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) { .hero { padding: 140px 0 96px; } }
.hero-inner { position: relative; }
.hero-watermark {
  pointer-events: none;
  user-select: none;
  position: absolute;
  top: -24px;
  right: -6vw;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 22vw;
  line-height: 1;
  letter-spacing: -0.03em;
  color: rgba(232, 224, 200, 0.5);
  white-space: nowrap;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 7fr 5fr;
    gap: 56px;
  }
}
.hero-left { position: relative; }
.hero-title {
  font-size: clamp(3.4rem, 8.4vw, 8rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.hero-title em { font-size: 1em; line-height: 1; }
.hero-sub {
  margin-top: 40px;
  max-width: 560px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  font-weight: 300;
  text-wrap: balance;
}
@media (max-width: 768px) { .hero-sub { font-size: 15px; margin-top: 32px; } }

.hero-ctas {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.hero-stats {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 520px;
}
@media (max-width: 768px) { .hero-stats { margin-top: 56px; gap: 24px; } }
.stat { border-top: 1px solid rgba(17,17,17,0.12); padding-top: 16px; }
.stat-num { font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1; }
.stat-label {
  margin-top: 8px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.hero-right { position: relative; }
.hero-img {
  position: relative;
  aspect-ratio: 3 / 4;
  width: 100%;
  max-width: 520px;
  margin-left: auto;
  overflow: hidden;
  background: var(--ink);
}
.hero-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 115%;
  object-fit: cover;
}
.hero-img-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(65% 55% at 50% 45%, rgba(0,0,0,0) 0%, rgba(17,17,17,0.32) 90%);
  pointer-events: none;
}
.hero-img-est {
  position: absolute;
  top: 16px; left: 0; right: 0;
  text-align: center;
  color: rgba(255,255,255,0.8);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 500;
}

.chip-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.chip {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--accent);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.chip-ico {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--gold);
}
.chip-ico svg { width: 14px; height: 14px; }
.chip span:last-child {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
}

/* ---------- Marquee ---------- */
.marquee {
  background: rgba(232, 224, 200, 0.6);
  border-top: 1px solid var(--accent);
  border-bottom: 1px solid var(--accent);
  overflow: hidden;
  padding: 40px 0;
}
@media (min-width: 768px) { .marquee { padding: 56px 0; } }
@keyframes marquee-slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marquee-slide 42s linear infinite;
  will-change: transform;
}
.marquee-text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  color: var(--ink);
  font-size: clamp(3rem, 9vw, 8rem);
  line-height: 1;
  padding: 0 24px;
  flex-shrink: 0;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}
@media (min-width: 1024px) {
  .about-grid { grid-template-columns: 5fr 7fr; gap: 80px; }
}
.about-image-wrap { position: relative; order: 2; }
@media (min-width: 1024px) { .about-image-wrap { order: 1; } }
.about-image {
  aspect-ratio: 4 / 5;
  background: var(--light);
  overflow: hidden;
}
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
  position: absolute;
  bottom: -24px;
  right: -16px;
  background: #fff;
  border: 1px solid var(--accent);
  padding: 24px;
  max-width: 240px;
  box-shadow: 0 20px 60px rgba(17,17,17,0.08);
}
@media (min-width: 768px) { .about-badge { padding: 32px; right: -32px; } }
.about-badge-num { font-size: 40px; line-height: 1; }
.about-badge-label {
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(17,17,17,0.6);
}
.about-content { order: 1; }
@media (min-width: 1024px) { .about-content { order: 2; } }
.about-copy-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 780px;
}
@media (min-width: 768px) {
  .about-copy-grid { grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 48px; }
}
.about-materials {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(17,17,17,0.1);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (min-width: 768px) {
  .about-materials { grid-template-columns: repeat(4, 1fr); }
}
.material { border-left: 1px solid var(--gold); padding-left: 16px; }
.material-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(17,17,17,0.6);
  font-weight: 500;
}
.material-name { font-size: clamp(1.25rem, 1.5vw, 1.5rem); margin-top: 4px; }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .services-grid { grid-template-columns: repeat(12, 1fr); gap: 32px; }
}
.service-card {
  background: #fff;
  border: 1px solid var(--accent);
  padding: 32px;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.5s ease;
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) {
  .service-card { padding: 40px; min-height: 440px; }
  .service-card.wide { grid-column: span 7; }
  .service-card.narrow { grid-column: span 5; }
}
.service-card:hover { border-color: var(--gold); }
.service-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.service-tag {
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 10px;
  opacity: 0.7;
}
.service-icon {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(17,17,17,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-icon svg { width: 16px; height: 16px; }
.service-title {
  margin-top: 32px;
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  line-height: 1;
  letter-spacing: -0.02em;
}
.service-list {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  max-width: 520px;
}
.service-list li {
  font-size: 13px;
  letter-spacing: 0.01em;
  font-weight: 300;
}
.service-list li::before {
  content: '—';
  color: var(--gold);
  margin-right: 8px;
}
.service-cta {
  margin-top: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  width: max-content;
}

/* ---------- Why Choose Us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid rgba(17,17,17,0.1);
  border-left: 1px solid rgba(17,17,17,0.1);
}
@media (min-width: 768px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }
.why-cell {
  position: relative;
  border-right: 1px solid rgba(17,17,17,0.1);
  border-bottom: 1px solid rgba(17,17,17,0.1);
  padding: 24px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background-color 0.5s ease;
}
@media (min-width: 768px) { .why-cell { padding: 32px; } }
.why-cell:hover { background: var(--light); }
.why-icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--gold);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.5s ease, color 0.5s ease;
}
.why-icon svg { width: 18px; height: 18px; }
.why-cell:hover .why-icon { background: var(--gold); color: var(--ink); }
.why-title { font-size: clamp(1.15rem, 1.4vw, 1.4rem); line-height: 1.2; margin-top: 32px; }
.why-copy { margin-top: 12px; font-size: 13px; line-height: 1.65; color: var(--body); font-weight: 300; }
.why-num {
  position: absolute;
  top: 24px; right: 24px;
  font-size: 10px;
  letter-spacing: 0.2em;
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  color: rgba(17,17,17,0.4);
}

/* ---------- Workflow ---------- */
#workflow { overflow: hidden; position: relative; }
.workflow-watermark {
  pointer-events: none;
  user-select: none;
  position: absolute;
  bottom: -64px;
  left: -4vw;
  font-family: 'Playfair Display', serif;
  font-size: 22vw;
  line-height: 1;
  letter-spacing: -0.03em;
  color: rgba(255,255,255,0.04);
  white-space: nowrap;
}
.workflow-wrap { position: relative; }
.workflow-line, .workflow-line-fill {
  display: none;
  position: absolute;
  left: 0; right: 0;
  top: 70px;
  height: 1px;
}
@media (min-width: 1024px) {
  .workflow-line, .workflow-line-fill { display: block; }
}
.workflow-line { background: rgba(255,255,255,0.12); }
.workflow-line-fill { background: var(--gold); transform: scaleX(0); transform-origin: left; }
.workflow-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px 0;
}
@media (min-width: 640px) { .workflow-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .workflow-grid { grid-template-columns: repeat(6, 1fr); gap: 0 16px; } }
.wf-step { position: relative; }
.wf-step-num {
  font-size: 10px;
  letter-spacing: 0.3em;
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--gold);
}
.wf-dot {
  margin-top: 16px;
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}
.wf-dot svg { width: 20px; height: 20px; color: var(--gold); }
.wf-title { margin-top: 24px; font-size: clamp(1.5rem, 2vw, 2rem); line-height: 1; }
.wf-note { margin-top: 12px; font-size: 13px; line-height: 1.6; color: rgba(255,255,255,0.6); font-weight: 300; max-width: 180px; }

/* ---------- Products Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
    grid-auto-flow: dense;
  }
}
.gallery-cell {
  position: relative;
  overflow: hidden;
  display: block;
  background: var(--light);
  aspect-ratio: 4 / 3;
}
@media (min-width: 768px) {
  .gallery-cell { grid-column: span 4; }
  .gallery-cell.tall { grid-column: span 4; grid-row: span 2; aspect-ratio: 4 / 5; }
}
.gallery-cell img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.gallery-cell:hover img { transform: scale(1.06); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17,17,17,0.7), transparent 55%);
  transition: opacity 0.5s ease;
  opacity: 0.85;
}
.gallery-cell:hover .gallery-overlay { opacity: 0.95; }
.gallery-num {
  position: absolute;
  top: 24px; left: 24px;
  color: rgba(255,255,255,0.8);
  font-size: 10px;
  letter-spacing: 0.3em;
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
}
@media (min-width: 768px) { .gallery-num { top: 32px; left: 32px; } }
.gallery-caption {
  position: absolute;
  left: 24px; right: 24px; bottom: 24px;
  color: #fff;
}
@media (min-width: 768px) { .gallery-caption { left: 32px; right: 32px; bottom: 32px; } }
.gallery-title { font-size: clamp(1.5rem, 2vw, 2rem); line-height: 1; }
.gallery-cta {
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.75;
}

/* ---------- Doctor ---------- */
.doctor-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}
@media (min-width: 1024px) { .doctor-grid { grid-template-columns: 5fr 7fr; gap: 64px; } }
.doctor-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ink);
}
.doctor-portrait img { width: 100%; height: 100%; object-fit: cover; }
.doctor-caption {
  position: absolute;
  bottom: 24px; left: 24px; right: 24px;
  color: rgba(255,255,255,0.85);
  font-size: 10px;
  letter-spacing: 0.3em;
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
}
.doctor-content > .h2 { margin-top: 0; }
.doctor-cred {
  margin-top: 12px;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.doctor-content .body-copy { margin-top: 32px; }
.doctor-content .body-copy + .body-copy { margin-top: 24px; }
.doctor-meta {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 640px;
}
@media (min-width: 640px) { .doctor-meta { grid-template-columns: repeat(3, 1fr); } }
.doctor-meta-cell { border-top: 1px solid rgba(17,17,17,0.12); padding-top: 16px; }
.doctor-meta-label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.doctor-meta-value { font-size: 20px; margin-top: 4px; line-height: 1.2; }
.doctor-socials { margin-top: 48px; display: flex; align-items: center; gap: 16px; }
.social-btn {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(17,17,17,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.5s ease, color 0.5s ease, background-color 0.5s ease;
}
.social-btn svg { width: 16px; height: 16px; }
.social-btn:hover { border-color: var(--gold); color: var(--gold); }
.social-btn.dark { border-color: rgba(255,255,255,0.15); color: rgba(255,255,255,0.9); }
.social-btn.dark:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- Lab (Atelier) ---------- */
.lab-section { overflow: hidden; }
.lab-scroll {
  overflow-x: auto;
  padding-bottom: 16px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.lab-scroll::-webkit-scrollbar { display: none; }
.lab-row {
  display: flex;
  gap: 24px;
  padding-left: 24px;
  min-width: max-content;
}
@media (min-width: 768px) { .lab-row { gap: 32px; padding-left: 64px; } }
.lab-fig { position: relative; flex-shrink: 0; scroll-snap-align: start; }
.lab-img { overflow: hidden; background: var(--light); }
.lab-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.lab-fig:hover .lab-img img { transform: scale(1.05); }
.lab-fig.tall .lab-img { width: 70vw; max-width: 420px; aspect-ratio: 3 / 4; }
.lab-fig.wide .lab-img { width: 80vw; max-width: 520px; aspect-ratio: 4 / 3; }
.lab-fig figcaption {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.lab-fig-num {
  font-size: 10px;
  letter-spacing: 0.3em;
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.testimonial {
  position: relative;
  background: #fff;
  border-left: 2px solid var(--gold);
  padding: 32px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 0;
}
@media (min-width: 768px) { .testimonial { padding: 40px; } }
.stars { display: flex; gap: 4px; margin-bottom: 24px; }
.star { width: 14px; height: 14px; color: var(--gold); }
.testimonial-quote {
  font-size: 22px;
  line-height: 1.35;
  color: var(--ink);
}
@media (min-width: 768px) { .testimonial-quote { font-size: 24px; } }
.testimonial-foot {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(17,17,17,0.08);
}
.testimonial-name { font-size: 18px; line-height: 1.2; }
.testimonial-role {
  margin-top: 4px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 5fr 7fr; gap: 80px; } }
.contact-list { margin-top: 40px; display: flex; flex-direction: column; gap: 24px; max-width: 440px; }
.contact-list li, .contact-link { display: flex; align-items: flex-start; gap: 16px; }
.contact-link { transition: color 0.3s ease; }
.contact-link:hover { color: var(--gold); }
.contact-ico {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(17,17,17,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 4px;
}
.contact-ico svg { width: 14px; height: 14px; }
.contact-label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(17,17,17,0.6);
  font-weight: 600;
}
.contact-value {
  margin-top: 4px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 300;
}
.contact-map {
  margin-top: 40px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--accent);
  aspect-ratio: 16 / 9;
}
.contact-map iframe {
  width: 100%; height: 100%;
  border: 0;
  filter: grayscale(1) contrast(0.95);
}

.contact-form {
  background: var(--light);
  padding: 32px;
  border: 1px solid var(--accent);
}
@media (min-width: 768px) { .contact-form { padding: 48px; } }
@media (min-width: 1024px) { .contact-form { padding: 64px; } }
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; gap: 32px 40px; } }
.form-field label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(17,17,17,0.6);
  font-weight: 600;
  margin-bottom: 8px;
}
.req { color: var(--gold); }
.field-line {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(17,17,17,0.15);
  padding: 14px 0;
  width: 100%;
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.35s ease;
  outline: none;
  resize: none;
}
.field-line::placeholder { color: rgba(17,17,17,0.35); font-weight: 300; }
.field-line:focus { border-bottom-color: var(--gold); }
.form-actions {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}
.form-status { font-size: 13px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: #fff;
  padding: 96px 0 40px;
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) { .footer { padding-top: 128px; } }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 5fr 3fr 4fr; gap: 64px; } }
.footer-logo { height: 40px; width: auto; background: #fff; padding: 8px; }
@media (min-width: 768px) { .footer-logo { height: 48px; } }
.footer-blurb {
  margin-top: 32px;
  max-width: 440px;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255,255,255,0.7);
  font-weight: 300;
}
.footer-brand .btn-outline-gold { margin-top: 40px; }
.footer-title {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 24px;
}
.footer-list { display: flex; flex-direction: column; gap: 16px; }
.footer-list a { font-size: 15px; font-weight: 300; }
.footer-contact { display: flex; flex-direction: column; gap: 12px; font-size: 15px; font-weight: 300; color: rgba(255,255,255,0.85); }
.footer-contact a { display: block; }
.footer-hours { color: rgba(255,255,255,0.6); font-size: 13px; }
.footer-socials { margin-top: 32px; display: flex; align-items: center; gap: 12px; }
.footer-bottom {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; margin-top: 96px; } }

/* ---------- Floating Buttons ---------- */
.floating {
  position: fixed;
  z-index: 40;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (min-width: 768px) { .floating { bottom: 32px; right: 32px; } }
.float-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(17,17,17,0.18);
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 1px solid transparent;
}
@media (min-width: 768px) { .float-btn { width: 56px; height: 56px; } }
.float-btn svg { width: 20px; height: 20px; }
.float-wa { background: var(--ink); color: var(--gold); }
.float-wa:hover { background: var(--gold); color: var(--ink); }
.float-call { background: var(--gold); color: var(--ink); }
.float-call:hover { background: var(--ink); color: var(--gold); }
.float-top { background: #fff; color: var(--ink); border-color: rgba(17,17,17,0.15); }
.float-top:hover { background: var(--ink); color: #fff; }
.float-top[hidden] { display: none; }

/* ---------- Reveal / masked lines ---------- */
.mask-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
}
.mask-line > span {
  display: block;
  transform: translateY(110%);
  transition: transform 1.15s var(--ease);
}
.revealed .mask-line > span,
[data-hero-reveal].revealed .mask-line > span { transform: translateY(0); }
.mask-line.d-1 > span { transition-delay: 0.13s; }
.mask-line.d-2 > span { transition-delay: 0.26s; }
.mask-line.d-3 > span { transition-delay: 0.39s; }

.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.fade-up.revealed { opacity: 1; transform: translateY(0); }
.fade-up.d1 { transition-delay: 0.08s; }
.fade-up.d2 { transition-delay: 0.16s; }
.fade-up.d3 { transition-delay: 0.24s; }
.fade-up.d4 { transition-delay: 0.32s; }

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .mask-line > span { transform: translateY(0) !important; }
  .fade-up { opacity: 1 !important; transform: none !important; }
  .marquee-track { animation: none !important; }
}
