/*
  CLIENT: LA Dent Studio · Calicut (Starcare Hospital)
  TYPE: Premium aesthetic dental studio — woman-led (Dr. Laiju Abdulla)
  ART DIRECTION: "The Wine Atelier" — editorial feminine-luxury built on the brand's
                 REAL wine/magenta (#7D094A), warm blush paper, champagne gold, aubergine ink.
                 Reads like a Dubai/London aesthetic clinic, not a hospital wing.
  PALETTE: wine #7D094A · blush paper · champagne gold · aubergine ink · soft rose
  TYPE: Fraunces (display, optical soft serif + italics) + General Sans (body)
  SIGNATURE: real La Dent tooth-mark logo, "confiDENT" wordplay, hairline gold rules,
             numbered editorial sections, clip-path image reveals, magnetic CTAs.
  MOTION: native scroll + GSAP ScrollTrigger ONLY. NO Lenis. Fail-open + reduced-motion.
*/

/* ============ TOKENS ============ */
:root {
  /* Brand-true palette (light) */
  --wine: #7D094A;            /* exact brand magenta from their logo */
  --wine-deep: #560733;
  --wine-bright: #A4135F;
  --wine-soft: #F3E0EA;       /* tint for chips/icon wells */
  --gold: #BE9A5A;            /* champagne accent */
  --gold-deep: #9A7838;
  --rose: #E7C9D5;

  --bg: #FBF5F1;              /* warm blush paper */
  --bg-2: #F5E9E3;
  --surface: #FFFFFF;
  --surface-2: #FCF6F2;
  --ink: #2B1620;            /* deep aubergine near-black */
  --ink-2: #5A4049;
  --ink-mute: #8A7077;
  --line: #ECE0DA;
  --line-2: #E0CFC7;

  --font-display: 'Fraunces', 'Boska', Georgia, serif;
  --font-body: 'General Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --r-sm: 8px; --r-md: 14px; --r-lg: 22px; --r-xl: 34px; --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(43,22,32,.04), 0 2px 8px rgba(43,22,32,.05);
  --shadow-md: 0 6px 20px rgba(43,22,32,.07), 0 16px 40px rgba(43,22,32,.07);
  --shadow-lg: 0 12px 34px rgba(86,7,51,.10), 0 36px 70px rgba(86,7,51,.12);
  --shadow-wine: 0 10px 30px rgba(125,9,74,.25);

  --ease: cubic-bezier(.22,1,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --t-fast: .25s var(--ease);
  --t: .4s var(--ease);
  --t-slow: .7s var(--ease);

  --container: 1280px;
  --pad: clamp(20px, 4.5vw, 64px);
}

[data-theme="dark"] {
  --wine: #E85FA0;
  --wine-deep: #7D094A;
  --wine-bright: #F47BB4;
  --wine-soft: #3A1228;
  --gold: #D8B978;
  --gold-deep: #BE9A5A;
  --rose: #5A2740;

  --bg: #1A0E15;
  --bg-2: #221019;
  --surface: #22121B;
  --surface-2: #2A1622;
  --ink: #F6E9EF;
  --ink-2: #D9C2CC;
  --ink-mute: #A98A98;
  --line: #3A2330;
  --line-2: #4A2D3C;

  --shadow-sm: 0 1px 2px rgba(0,0,0,.4), 0 2px 8px rgba(0,0,0,.3);
  --shadow-md: 0 8px 24px rgba(0,0,0,.45), 0 18px 44px rgba(0,0,0,.4);
  --shadow-lg: 0 16px 44px rgba(0,0,0,.55), 0 40px 80px rgba(0,0,0,.5);
  --shadow-wine: 0 10px 30px rgba(0,0,0,.5);
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: var(--font-body);
  font-size: 16px; line-height: 1.6; font-weight: 400;
  color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip; width: 100%; max-width: 100vw;
  transition: background-color .5s var(--ease), color .5s var(--ease);
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--wine); color: #fff; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(72px, 10vw, 148px); position: relative; }

/* ============ TYPE ============ */
.h1, .h2, .h3 { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.02em; color: var(--ink); }
.h2 { font-size: clamp(34px, 5.4vw, 70px); line-height: 1.02; }
.h3 { font-size: clamp(24px, 3vw, 36px); line-height: 1.1; }
.serif-i { font-family: var(--font-display); font-style: italic; font-weight: 400; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--wine);
}
.eyebrow::before { content: ''; width: 26px; height: 1px; background: var(--gold); }
.eyebrow--gold { color: var(--gold-deep); }
.eyebrow--light { color: var(--gold); }
.eyebrow--center { justify-content: center; }
.lead { font-size: clamp(17px, 1.7vw, 20px); color: var(--ink-2); line-height: 1.6; }

.section__head { max-width: 780px; margin-bottom: clamp(40px, 5vw, 76px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__num {
  font-family: var(--font-display); font-style: italic; font-size: 15px;
  color: var(--gold-deep); margin-bottom: 18px; display: block;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: var(--r-pill);
  font-weight: 500; font-size: 14px; letter-spacing: 0.01em;
  border: 1px solid transparent; cursor: pointer; will-change: transform;
  transition: transform var(--t-fast), background-color var(--t-fast), color var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
  white-space: nowrap;
}
.btn svg { transition: transform var(--t-fast); }
.btn--sm { padding: 10px 18px; font-size: 13px; }
.btn--lg { padding: 17px 32px; font-size: 15px; }
.btn--primary { background: var(--wine); color: #fff; box-shadow: var(--shadow-wine); }
.btn--primary:hover { background: var(--wine-bright); transform: translateY(-2px); }
.btn--primary:hover svg { transform: translateX(4px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn--white { background: #fff; color: var(--wine); }
.btn--white:hover { background: var(--bg); transform: translateY(-2px); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn--ghost-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* ============ NAV ============ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; padding-block: 16px;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 50%, transparent);
  transition: padding var(--t), background var(--t), box-shadow var(--t), border-color var(--t);
}
.nav.is-stuck { padding-block: 10px; background: color-mix(in srgb, var(--bg) 90%, transparent); box-shadow: 0 6px 24px rgba(43,22,32,.05); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__brand { display: flex; align-items: center; }
.nav__logo { height: 38px; width: auto; transition: height var(--t); }
.nav.is-stuck .nav__logo { height: 34px; }
[data-theme="dark"] .nav__logo { display: none; }
.nav__logo--light { display: none; }
[data-theme="dark"] .nav__logo--light { display: block; }

.nav__links { display: flex; gap: 4px; align-items: center; }
.nav__links a {
  position: relative; font-size: 14px; color: var(--ink-2); padding: 8px 16px; border-radius: var(--r-pill);
  transition: color var(--t-fast);
}
.nav__links a::after {
  content: ''; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 1px;
  background: var(--wine); transform: scaleX(0); transform-origin: left; transition: transform var(--t);
}
.nav__links a:hover { color: var(--wine); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__links a.is-active { color: var(--wine); }

.nav__actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  color: var(--ink-2); border: 1px solid var(--line-2);
  transition: color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.theme-toggle:hover { color: var(--wine); border-color: var(--wine); transform: rotate(-15deg); }
.theme-toggle .ico-moon { display: none; }
[data-theme="dark"] .theme-toggle .ico-sun { display: none; }
[data-theme="dark"] .theme-toggle .ico-moon { display: block; }

.nav__burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: 50%; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.nav__burger span { display: block; width: 16px; height: 1.5px; background: var(--ink); transition: transform var(--t-fast); }

@media (max-width: 1000px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav__actions .btn--cta { display: none; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 200; background: var(--bg);
  display: flex; flex-direction: column; justify-content: center; padding: var(--pad);
  transform: translateY(-101%); transition: transform .55s var(--ease-out); pointer-events: none;
}
.mobile-menu.is-open { transform: translateY(0); pointer-events: auto; }
.mobile-menu__close { position: absolute; top: 22px; right: 22px; width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; }
.mobile-menu__logo { height: 34px; width: auto; position: absolute; top: 22px; left: var(--pad); }
[data-theme="dark"] .mobile-menu__logo { display: none; }
.mobile-menu__nav { display: flex; flex-direction: column; gap: 2px; }
.mobile-menu__nav a {
  font-family: var(--font-display); font-size: clamp(34px, 9vw, 56px); font-weight: 400; letter-spacing: -0.02em;
  color: var(--ink); padding-block: 6px; opacity: 0; transform: translateY(24px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), color var(--t-fast);
}
.mobile-menu__nav a .idx { font-family: var(--font-body); font-size: 13px; color: var(--gold-deep); vertical-align: super; margin-right: 10px; letter-spacing: 0; }
.mobile-menu__nav a:hover { color: var(--wine); }
.mobile-menu.is-open .mobile-menu__nav a { opacity: 1; transform: translateY(0); }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(1){transition-delay:.08s}
.mobile-menu.is-open .mobile-menu__nav a:nth-child(2){transition-delay:.13s}
.mobile-menu.is-open .mobile-menu__nav a:nth-child(3){transition-delay:.18s}
.mobile-menu.is-open .mobile-menu__nav a:nth-child(4){transition-delay:.23s}
.mobile-menu.is-open .mobile-menu__nav a:nth-child(5){transition-delay:.28s}
.mobile-menu.is-open .mobile-menu__nav a:nth-child(6){transition-delay:.33s}
.mobile-menu__foot { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.mobile-menu__phone { display: block; font-family: var(--font-display); font-size: 26px; color: var(--wine); margin-bottom: 8px; }
.mobile-menu__foot p { font-size: 14px; color: var(--ink-mute); }

/* Scroll progress */
.scroll-progress { position: fixed; inset: 0 auto auto 0; width: 0; height: 2px; background: linear-gradient(90deg, var(--wine), var(--gold)); z-index: 150; transition: width .1s linear; }

/* ============ HERO ============ */
.hero { position: relative; padding-block: clamp(130px, 17vh, 200px) clamp(60px, 8vh, 100px); overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; margin-bottom: 26px;
  border: 1px solid var(--line-2); border-radius: var(--r-pill); background: color-mix(in srgb, var(--surface) 60%, transparent);
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); backdrop-filter: blur(6px);
}
.hero__eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 30%, transparent); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px color-mix(in srgb, var(--gold) 0%, transparent); } }

.hero__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(46px, 7vw, 104px); line-height: .98; letter-spacing: -0.035em; color: var(--ink); margin-bottom: 28px; }
.hero__title .line { display: block; overflow: hidden; }
.hero__title .word { display: inline-block; }
.hero__title em { font-style: italic; color: var(--wine); }
/* confiDENT wordplay */
.confident { font-style: italic; color: var(--wine); position: relative; white-space: nowrap; }
.confident b { font-weight: 400; font-style: italic; color: var(--wine-deep); }

.hero__sub { font-size: clamp(16px, 1.55vw, 19px); color: var(--ink-2); line-height: 1.62; max-width: 520px; margin-bottom: 36px; }
.hero__sub .hl { color: var(--ink); font-style: italic; font-family: var(--font-display); }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 44px; }

.hero__credentials { display: flex; flex-wrap: wrap; gap: 28px 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.cred { display: flex; flex-direction: column; gap: 3px; }
.cred strong { font-family: var(--font-display); font-size: 22px; font-weight: 500; color: var(--ink); }
.cred span { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); }

/* Hero visual */
.hero__visual { position: relative; }
.hero__frame {
  position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4/4.4;
  box-shadow: var(--shadow-lg); background: var(--wine-deep);
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(86,7,51,.35)); }
.hero__seal {
  position: absolute; bottom: -26px; left: -26px; width: 128px; height: 128px; z-index: 3;
  display: grid; place-items: center; border-radius: 50%; background: var(--surface);
  box-shadow: var(--shadow-md); animation: spin 26s linear infinite;
}
.hero__seal svg { width: 100%; height: 100%; }
.hero__seal-core { position: absolute; inset: 0; display: grid; place-items: center; }
.hero__seal-core span { font-family: var(--font-display); font-style: italic; font-size: 30px; color: var(--wine); }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__chip {
  position: absolute; top: 22px; right: -18px; z-index: 3; background: var(--surface); border-radius: var(--r-md);
  padding: 14px 18px; box-shadow: var(--shadow-md); border: 1px solid var(--line); display: flex; align-items: center; gap: 12px;
}
.hero__chip .stars { color: var(--gold); font-size: 13px; letter-spacing: 2px; }
.hero__chip strong { font-family: var(--font-display); font-size: 20px; color: var(--ink); display: block; line-height: 1; }
.hero__chip span { font-size: 11px; color: var(--ink-mute); letter-spacing: .06em; }

.hero__bgmark { position: absolute; top: -8%; right: -6%; width: 46%; max-width: 560px; opacity: .04; color: var(--wine); pointer-events: none; z-index: 0; }

@media (max-width: 920px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { order: -1; max-width: 460px; }
  .hero__frame { aspect-ratio: 4/3.4; }
  .hero__seal { width: 96px; height: 96px; bottom: -20px; left: 12px; }
  .hero__chip { right: 12px; }
}
@media (max-width: 520px) {
  .hero__credentials { gap: 20px 28px; }
  .cred strong { font-size: 18px; }
}

/* ============ TRUST STRIP ============ */
.trust { padding-block: 34px; border-block: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.trust__label { text-align: center; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 22px; }
.trust__row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 28px; align-items: center; }
.trust__item { text-align: center; }
.trust__item strong { display: block; font-family: var(--font-display); font-size: 18px; color: var(--ink); }
.trust__item span { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); }
@media (max-width: 880px) { .trust__row { grid-template-columns: repeat(3, 1fr); gap: 26px 14px; } }
@media (max-width: 460px) { .trust__row { grid-template-columns: repeat(2, 1fr); } }

/* ============ ABOUT ============ */
.about__grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.about__media { position: relative; }
.about__photo { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about__photo--1 { aspect-ratio: 4/5; }
.about__photo--2 {
  position: absolute; bottom: -42px; right: -34px; width: 58%; aspect-ratio: 4/3;
  border-radius: var(--r-md); overflow: hidden; border: 8px solid var(--bg); box-shadow: var(--shadow-md);
}
.about__photo--2 img { width: 100%; height: 100%; object-fit: cover; }
.about__badge {
  position: absolute; top: 26px; left: -30px; z-index: 2; background: var(--wine); color: #fff;
  border-radius: var(--r-md); padding: 18px 22px; box-shadow: var(--shadow-wine);
}
.about__badge-num { font-family: var(--font-display); font-size: 34px; line-height: 1; }
.about__badge-txt { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; margin-top: 8px; line-height: 1.4; opacity: .92; }
.about__copy p { color: var(--ink-2); margin-bottom: 16px; line-height: 1.72; }
.about__copy p strong { color: var(--ink); font-weight: 500; }
.about__sig { margin-top: 28px; display: flex; align-items: center; gap: 18px; }
.about__sig-name { font-family: var(--font-display); font-style: italic; font-size: 26px; color: var(--wine); }
.about__sig-role { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); padding-left: 18px; border-left: 1px solid var(--line-2); }
.about__pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 38px; padding-top: 38px; border-top: 1px solid var(--line); }
.pillar svg { color: var(--wine); margin-bottom: 12px; }
.pillar h4 { font-family: var(--font-display); font-size: 19px; font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.pillar p { font-size: 13.5px; color: var(--ink-mute); line-height: 1.55; }
@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__media { overflow: hidden; border-radius: var(--r-lg); margin-bottom: 12px; }
  .about__photo--2 { right: 0; bottom: 0; }
  .about__badge { left: 12px; }
  .about__pillars { grid-template-columns: 1fr; gap: 18px; }
}

/* ============ SERVICES ============ */
.services { background: var(--bg-2); }
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.svc {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px;
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.svc::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--wine), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform var(--t); }
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
.svc:hover::before { transform: scaleX(1); }
.svc__num { font-family: var(--font-display); font-style: italic; font-size: 14px; color: var(--gold-deep); margin-bottom: 22px; }
.svc__icon { width: 56px; height: 56px; border-radius: var(--r-md); background: var(--wine-soft); color: var(--wine); display: grid; place-items: center; margin-bottom: 20px; transition: background var(--t), color var(--t); }
.svc:hover .svc__icon { background: var(--wine); color: #fff; }
.svc h3 { font-family: var(--font-display); font-size: 22px; font-weight: 500; line-height: 1.15; margin-bottom: 10px; color: var(--ink); }
.svc p { font-size: 14px; color: var(--ink-mute); line-height: 1.55; margin-bottom: 16px; }
.svc__list { list-style: none; padding-top: 16px; border-top: 1px dashed var(--line-2); margin-top: auto; display: flex; flex-direction: column; gap: 7px; }
.svc__list li { font-size: 13px; color: var(--ink-2); padding-left: 18px; position: relative; }
.svc__list li::before { content: ''; position: absolute; left: 0; top: 8px; width: 8px; height: 1px; background: var(--gold); }
.svc--featured { background: var(--wine); border-color: var(--wine); color: #fff; }
.svc--featured h3, .svc--featured .svc__num { color: #fff; }
.svc--featured .svc__num { color: var(--gold); }
.svc--featured p { color: rgba(255,255,255,.82); }
.svc--featured .svc__icon { background: rgba(255,255,255,.14); color: #fff; }
.svc--featured:hover .svc__icon { background: #fff; color: var(--wine); }
.svc--featured .svc__list { border-top-color: rgba(255,255,255,.2); }
.svc--featured .svc__list li { color: rgba(255,255,255,.9); }
.svc--featured .svc__list li::before { background: var(--gold); }
.svc__tag { position: absolute; top: 24px; right: 24px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; background: var(--gold); color: var(--ink); padding: 4px 10px; border-radius: var(--r-pill); font-weight: 600; }
@media (max-width: 1080px) { .services__grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 760px) { .services__grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 470px) { .services__grid { grid-template-columns: 1fr; } }

/* ============ STATS ============ */
.stats { background: var(--wine); color: #fff; padding-block: 84px; position: relative; overflow: hidden; }
.stats__mark { position: absolute; right: -4%; top: 50%; transform: translateY(-50%); width: 38%; opacity: .07; color: #fff; pointer-events: none; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
.stat { text-align: center; padding: 0 12px; }
.stat__num { font-family: var(--font-display); font-weight: 400; font-size: clamp(46px, 6vw, 82px); line-height: 1; letter-spacing: -0.03em; color: #fff; margin-bottom: 14px; display: inline-flex; align-items: baseline; }
.stat__num .plus { font-size: .5em; color: var(--gold); margin-left: 3px; }
.stat p { font-size: 14px; color: rgba(255,255,255,.85); line-height: 1.5; }
@media (max-width: 760px) { .stats__grid { grid-template-columns: repeat(2,1fr); gap: 40px 16px; } }

/* ============ SIGNATURE: THE SMILE JOURNEY (editorial split) ============ */
.journey { background: var(--ink); color: var(--bg); overflow: hidden; }
.journey__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px,6vw,90px); align-items: center; }
.journey__media { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 5/6; box-shadow: var(--shadow-lg); }
.journey__media img { width: 100%; height: 100%; object-fit: cover; }
.journey .eyebrow { color: var(--gold); }
.journey .eyebrow::before { background: var(--gold); }
.journey h2 { color: var(--bg); }
.journey__steps { margin-top: 36px; display: flex; flex-direction: column; }
.jstep { display: grid; grid-template-columns: auto 1fr; gap: 22px; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.12); }
.jstep:last-child { border-bottom: 1px solid rgba(255,255,255,.12); }
.jstep__n { font-family: var(--font-display); font-style: italic; font-size: 22px; color: var(--gold); }
.jstep h4 { font-family: var(--font-display); font-size: 22px; font-weight: 500; color: var(--bg); margin-bottom: 6px; }
.jstep p { font-size: 14.5px; color: rgba(246,233,239,.7); line-height: 1.6; }
@media (max-width: 880px) { .journey__grid { grid-template-columns: 1fr; } .journey__media { max-width: 460px; aspect-ratio: 4/3; } }

/* ============ TEAM ============ */
.team__grid { display: grid; grid-template-columns: 1.45fr 1fr 1fr; grid-auto-rows: 1fr; gap: 16px; }
.doc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform var(--t), box-shadow var(--t); }
.doc:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.doc--lead { grid-row: 1 / 3; }
.doc__photo { aspect-ratio: 4/3.2; overflow: hidden; position: relative; background: var(--wine-soft); }
.doc__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; transition: transform .8s var(--ease); }
.doc:hover .doc__photo img { transform: scale(1.05); }
.doc--lead .doc__photo { aspect-ratio: 4/4.4; }
.doc__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.doc__role { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 8px; }
.doc__name { font-family: var(--font-display); font-size: 23px; font-weight: 500; color: var(--ink); line-height: 1.12; margin-bottom: 8px; }
.doc--lead .doc__name { font-size: 30px; }
.doc__creds { font-size: 12px; color: var(--ink-mute); margin-bottom: 12px; }
.doc__bio { font-size: 14px; color: var(--ink-2); line-height: 1.55; margin-bottom: 12px; }
.doc__hours { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-mute); letter-spacing: .04em; }
@media (max-width: 980px) { .team__grid { grid-template-columns: repeat(2,1fr); } .doc--lead { grid-row: auto; grid-column: 1 / -1; } .doc--lead .doc__photo { aspect-ratio: 16/8; } }
@media (max-width: 600px) { .team__grid { grid-template-columns: 1fr; } }

/* ============ SMILE TRAIN ============ */
.smile { position: relative; color: #fff; padding-block: clamp(80px,12vw,160px); overflow: hidden; }
.smile__bg { position: absolute; inset: 0; z-index: 0; background: linear-gradient(120deg, rgba(86,7,51,.92), rgba(125,9,74,.78)), url("assets/images/smile-bg.jpg") center / cover no-repeat; }
.smile__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(40px,6vw,80px); align-items: center; }
.smile h2 { color: #fff; }
.smile__lead { color: rgba(255,255,255,.9); font-size: 17px; line-height: 1.7; margin-bottom: 16px; max-width: 540px; }
.smile__lead strong { color: var(--gold); font-weight: 500; }
.smile__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.smile__stats { display: flex; flex-direction: column; gap: 24px; padding: 32px; border-left: 1px solid rgba(255,255,255,.18); }
.smile__stats > div { display: flex; flex-direction: column; gap: 4px; }
.smile__stats strong { font-family: var(--font-display); font-size: clamp(40px,4vw,58px); color: var(--gold); line-height: 1; }
.smile__stats span { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.82); }
@media (max-width: 820px) { .smile__inner { grid-template-columns: 1fr; } .smile__stats { flex-direction: row; flex-wrap: wrap; border-left: 0; border-top: 1px solid rgba(255,255,255,.18); padding: 32px 0 0; gap: 24px 40px; } }

/* ============ REVIEWS ============ */
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; position: relative; transition: transform var(--t), box-shadow var(--t); display: flex; flex-direction: column; }
.quote:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.quote__mark { font-family: var(--font-display); font-style: italic; font-size: 64px; line-height: .6; color: var(--wine-soft); height: 32px; }
.quote__stars { color: var(--gold); font-size: 15px; letter-spacing: 3px; margin-bottom: 16px; }
.quote blockquote { font-family: var(--font-display); font-size: clamp(17px,1.5vw,20px); font-weight: 400; line-height: 1.5; color: var(--ink); margin-bottom: 22px; flex: 1; }
.quote figcaption { display: flex; flex-direction: column; gap: 3px; padding-top: 18px; border-top: 1px solid var(--line); }
.quote figcaption strong { font-size: 14px; font-weight: 500; color: var(--ink); }
.quote figcaption span { font-size: 12px; color: var(--ink-mute); }
.reviews__foot { margin-top: 40px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.reviews__foot .g { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); }
.reviews__foot .g strong { font-family: var(--font-display); font-size: 20px; color: var(--ink); }
@media (max-width: 920px) { .reviews__grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

/* ============ FAQ ============ */
.faq__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(40px,6vw,96px); align-items: start; }
.faq__head { position: sticky; top: 104px; }
.faq__list details { border-top: 1px solid var(--line); padding: 24px 0; }
.faq__list details:last-child { border-bottom: 1px solid var(--line); }
.faq__list summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; cursor: pointer; list-style: none; font-family: var(--font-display); font-size: clamp(18px,1.7vw,22px); font-weight: 500; color: var(--ink); }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__plus { width: 18px; height: 18px; position: relative; flex-shrink: 0; }
.faq__plus::before, .faq__plus::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); background: var(--wine); transition: transform var(--t-fast); }
.faq__plus::before { width: 14px; height: 1.5px; }
.faq__plus::after { width: 1.5px; height: 14px; }
.faq__list details[open] .faq__plus::after { transform: translate(-50%,-50%) rotate(90deg); }
.faq__list details[open] summary { color: var(--wine); }
.faq__list details p { margin-top: 14px; color: var(--ink-2); font-size: 15px; line-height: 1.65; max-width: 62ch; }
@media (max-width: 900px) { .faq__grid { grid-template-columns: 1fr; } .faq__head { position: static; } }

/* ============ CTA / CONTACT ============ */
.cta-banner { background: var(--ink); color: var(--bg); padding-block: clamp(80px,10vw,130px); }
.cta-banner__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px,6vw,80px); align-items: center; }
.cta-banner h2 { color: var(--bg); }
.cta-banner__copy p { color: rgba(246,233,239,.82); font-size: 17px; margin-top: 18px; line-height: 1.65; max-width: 520px; }
.cta-banner__list { list-style: none; margin-top: 32px; display: flex; flex-direction: column; gap: 14px; }
.cta-banner__list li { display: flex; align-items: center; gap: 12px; color: rgba(246,233,239,.92); font-size: 15px; }
.cta-banner__list svg { color: var(--gold); flex-shrink: 0; }
.cta-form { background: var(--surface); color: var(--ink); border-radius: var(--r-lg); padding: 36px; box-shadow: var(--shadow-lg); }
.cta-form h3 { font-family: var(--font-display); font-size: 26px; font-weight: 500; margin-bottom: 24px; }
.cta-form label { display: block; margin-bottom: 18px; }
.cta-form label span { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 8px; }
.cta-form input, .cta-form select { width: 100%; padding: 14px 16px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-sm); font-size: 15px; color: var(--ink); transition: border-color var(--t-fast), background var(--t-fast); }
.cta-form input:focus, .cta-form select:focus { outline: none; border-color: var(--wine); background: var(--surface); }
.cta-form .btn { width: 100%; justify-content: center; margin-top: 8px; }
.cta-form__success { margin-top: 16px; padding: 14px; background: var(--wine-soft); color: var(--wine-deep); border-radius: var(--r-sm); font-size: 14px; font-weight: 500; text-align: center; }
.cta-form__fine { margin-top: 16px; font-size: 13px; color: var(--ink-mute); text-align: center; }
.cta-form__fine a { color: var(--wine); font-weight: 500; }
@media (max-width: 900px) { .cta-banner__inner { grid-template-columns: 1fr; } }

/* ============ FOOTER ============ */
.foot { background: var(--ink); color: var(--bg); padding-top: 80px; }
.foot__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 56px; }
.foot__logo { height: 40px; width: auto; margin-bottom: 18px; }
.foot__brand p { font-size: 14px; color: rgba(246,233,239,.62); line-height: 1.6; margin-bottom: 12px; max-width: 280px; }
.foot__tag { font-family: var(--font-display); font-style: italic; color: var(--gold); font-size: 18px; }
.foot__col h5 { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.foot__col p, .foot__col a { font-size: 14px; color: rgba(246,233,239,.72); line-height: 1.7; margin-bottom: 10px; display: block; }
.foot__col a:hover { color: #fff; }
.foot__social { display: flex; gap: 8px; margin-top: 14px; }
.foot__social a { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; display: grid; place-items: center; color: rgba(246,233,239,.8); margin: 0; transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast); }
.foot__social a:hover { background: var(--wine); border-color: var(--wine); color: #fff; }
.foot__bot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-block: 24px; border-top: 1px solid rgba(255,255,255,.12); }
.foot__bot p { font-size: 12px; color: rgba(246,233,239,.5); letter-spacing: .04em; }
.foot__credit a { color: var(--gold); font-weight: 500; }
.foot__credit a:hover { color: #fff; }
@media (max-width: 900px) { .foot__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot__top { grid-template-columns: 1fr; gap: 32px; } .foot__bot { flex-direction: column; text-align: center; } }

/* ============ PAGE HERO (subpages) ============ */
.pagehero { padding-block: clamp(130px,16vh,180px) clamp(40px,6vw,72px); position: relative; overflow: hidden; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.pagehero__inner { max-width: 820px; }
.pagehero h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(40px,6.5vw,88px); line-height: 1; letter-spacing: -0.03em; color: var(--ink); margin-bottom: 22px; }
.pagehero h1 em { font-style: italic; color: var(--wine); }
.pagehero p { font-size: clamp(16px,1.6vw,19px); color: var(--ink-2); max-width: 580px; line-height: 1.6; }
.pagehero__mark { position: absolute; right: -4%; bottom: -20%; width: 38%; max-width: 460px; opacity: .05; color: var(--wine); pointer-events: none; }
.crumb { display: inline-flex; gap: 8px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 22px; }
.crumb a:hover { color: var(--wine); }
.crumb span { color: var(--wine); }

/* ============ CONTACT ============ */
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px,5vw,72px); align-items: start; }
.contact__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.cinfo { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; transition: transform var(--t), box-shadow var(--t); }
.cinfo:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.cinfo svg { color: var(--wine); margin-bottom: 12px; }
.cinfo h4 { font-family: var(--font-display); font-size: 18px; font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.cinfo p, .cinfo a { font-size: 14px; color: var(--ink-2); line-height: 1.55; display: block; }
.cinfo a:hover { color: var(--wine); }
.contact__map { border: 0; width: 100%; height: 100%; min-height: 340px; border-radius: var(--r-lg); filter: grayscale(.2) contrast(1.05); display: block; }
.contact__mapwrap { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); height: 100%; min-height: 340px; }
.hours { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; }
.hours h4 { font-family: var(--font-display); font-size: 18px; font-weight: 500; margin-bottom: 14px; color: var(--ink); }
.hours__row { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.hours__row:last-child { border-bottom: 0; }
.hours__row span:first-child { color: var(--ink-2); }
.hours__row span:last-child { color: var(--ink); font-weight: 500; }
.hours__row.is-closed span:last-child { color: var(--ink-mute); }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .contact__cards { grid-template-columns: 1fr; } }

/* ============ ANIMATION HELPERS ============ */
/* Hidden state only applies when JS is active (html.js) — fail-open if JS is off. */
.js .reveal { opacity: 0; transform: translateY(34px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity .85s var(--ease-out), transform .85s var(--ease-out); }
.js .reveal-img { opacity: 0; transition: opacity .9s var(--ease-out); }
.reveal-img.is-in { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-img { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}
