/* Kimberling City Dental — site styles
   Implemented from the Claude Design handoff "Kimberling City Dental v2". */

:root {
  --navy: #0f1f33;
  --blue: #1d3b5c;
  --blue-lt: #24476d;
  --gold: #b8975a;
  --gold-lt: #d9c49b;
  --gold-dk: #8a6d3b;
  --cream: #f5f2eb;
  --sand: #ebe6db;
  --stone: #e2dccf;
  --ink: #141a22;
  --muted: #4a5462;

  --serif: 'DM Serif Display', Georgia, serif;
  --sans: Manrope, system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
  --ease-curtain: cubic-bezier(.77, 0, .18, 1);

  --header-h: 96px;
  --logo-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--gold-dk); }
img { max-width: 100%; }
em { font-style: italic; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip-link {
  position: fixed; left: 16px; top: -100px; z-index: 200;
  padding: 12px 20px; border-radius: 999px; background: var(--gold); color: var(--navy);
  font-size: 13px; font-weight: 700; letter-spacing: .1em;
}
.skip-link:focus { top: 16px; color: var(--navy); }

/* ---------- Keyframes ---------- */
@keyframes rise { from { transform: translateY(110%); } to { transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes drift { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes lineGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes lakeReveal { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes lakeIn { from { opacity: 0; transform: translateY(30px) scale(1.04); } to { opacity: var(--lake-o, 1); transform: none; } }

/* ---------- Shared type ---------- */
.eyebrow {
  font-size: 12px; letter-spacing: .24em; font-weight: 700; color: var(--gold-dk); text-transform: uppercase;
}
.eyebrow--light { color: var(--gold-lt); }
.eyebrow--sm { font-size: 11px; }
h1.eyebrow, h2.eyebrow { margin-top: 0; font-family: var(--sans); line-height: normal; }
.num { font: 400 12px var(--mono); color: var(--gold-dk); }
.serif { font-family: var(--serif); font-weight: 400; }

.h-display {
  margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1;
}
.h-section { font-size: clamp(40px, 5vw, 72px); line-height: 1.02; }

.text-link {
  display: inline-block; font-size: 13px; letter-spacing: .14em; font-weight: 700;
  color: var(--blue); border-bottom: 2px solid var(--gold); padding-bottom: 6px;
}

.body-copy { margin: 0; font-size: 17px; line-height: 1.8; color: var(--muted); font-weight: 400; text-wrap: pretty; }

.btn {
  display: inline-flex; justify-content: center; align-items: center;
  padding: 18px 30px; border-radius: 999px;
  font-size: 13px; letter-spacing: .14em; font-weight: 700; white-space: nowrap;
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: var(--gold-lt); color: var(--navy); }
.btn--ghost { border: 1px solid rgba(245, 242, 235, .4); color: var(--cream); }
.btn--ghost:hover { border-color: var(--cream); color: var(--cream); }
.btn--navy { background: var(--navy); color: var(--cream); }
.btn--navy:hover { background: var(--blue); color: var(--cream); }

.diamond { width: 5px; height: 5px; transform: rotate(45deg); background: var(--gold); flex: none; }

.wrap { max-width: var(--max); margin: 0 auto; }
.section { padding: clamp(80px, 10vw, 150px) var(--gutter); }
.section--sand { background: var(--sand); }
.section--navy { background: var(--navy); color: var(--cream); }

.section-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 56px;
}
.section-head .eyebrow { margin-bottom: 20px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--gutter);
  background: rgba(15, 31, 51, 0); color: var(--cream);
  border-bottom: 1px solid rgba(245, 242, 235, 0);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: background .5s ease, color .5s ease, height .5s ease, border-color .5s ease;
}
.site-header.is-solid { --header-h: 72px; --logo-h: 56px; background: rgba(15, 31, 51, .97); border-bottom-color: rgba(245, 242, 235, .1); }
html.menu-open .site-header { border-bottom-color: rgba(245, 242, 235, 0); }

.brand { flex: none; display: flex; align-items: center; color: inherit; }
.brand img { display: block; height: var(--logo-h); width: auto; transition: height .5s ease; }

.nav { display: none; align-items: center; gap: 32px; }
.nav-link {
  position: relative; color: inherit; font-size: 13px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; padding: 10px 0; white-space: nowrap;
}
.nav-link:hover { color: inherit; }
.nav-line {
  position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: var(--gold);
  transform-origin: left; transform: scaleX(0); transition: transform .5s var(--ease-io);
}
.nav-link[aria-current="page"] .nav-line { transform: scaleX(1); }
.nav-call {
  padding: 12px 22px; border: 1px solid currentColor; border-radius: 999px; color: inherit;
  font-size: 13px; font-weight: 700; letter-spacing: .1em; white-space: nowrap;
  transition: background .3s, border-color .3s, color .3s;
}
.nav-call:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }

.nav-mobile { display: flex; align-items: center; gap: 8px; }
.nav-mobile__call {
  height: 44px; padding: 0 16px; display: flex; align-items: center; border-radius: 999px;
  background: var(--gold); color: var(--navy); font: 500 12px var(--sans); letter-spacing: .16em;
}
.nav-mobile__call:hover { color: var(--navy); }
.nav-mobile__toggle {
  width: 44px; height: 44px; flex: none; display: flex; align-items: center; justify-content: center;
  background: none; border: 1px solid currentColor; color: inherit; border-radius: 50%; padding: 0; cursor: pointer;
}
.burger { position: relative; width: 18px; height: 12px; }
.burger span {
  position: absolute; left: 0; right: 0; height: 1.5px; border-radius: 1px; background: currentColor;
  transition: transform .4s var(--ease-io), opacity .3s ease, top .4s var(--ease-io);
}
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 5.25px; }
.burger span:nth-child(3) { top: 10.5px; }
.nav-mobile__toggle[aria-expanded="true"] .burger span:nth-child(1) { top: 5.25px; transform: rotate(45deg); }
.nav-mobile__toggle[aria-expanded="true"] .burger span:nth-child(2) { opacity: 0; }
.nav-mobile__toggle[aria-expanded="true"] .burger span:nth-child(3) { top: 5.25px; transform: rotate(-45deg); }

.progress {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--gold);
  transform-origin: left; transform: scaleX(0);
}

/* Mega menu */
.mega {
  display: none;
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--cream); color: var(--ink);
  border-top: 1px solid rgba(20, 26, 34, .08);
  box-shadow: 0 30px 60px -30px rgba(15, 31, 51, .35);
  opacity: 0; transform: translateY(-10px); pointer-events: none;
  transition: opacity .4s ease, transform .5s var(--ease-out);
}
.mega.is-open { opacity: 1; transform: none; pointer-events: auto; }
.mega__inner {
  max-width: var(--max); margin: 0 auto; padding: 40px var(--gutter) 44px;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) 260px; gap: 32px;
}
.mega__col { display: flex; flex-direction: column; gap: 12px; }
.mega__name { font-family: var(--serif); font-size: 24px; line-height: 1.1; }
.mega__links { display: flex; flex-direction: column; gap: 2px; margin-top: 6px; }
.mega__links a { font-size: 14px; color: var(--muted); padding: 6px 0; }
.mega__links a:hover { color: var(--gold-dk); }
.mega__cta {
  background: var(--navy); color: var(--cream); padding: 24px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  transition: background .3s;
}
.mega__cta:hover { background: var(--blue); color: var(--cream); }
.mega__cta-title { font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 1.15; }
.mega__cta-link { font-size: 12px; letter-spacing: .16em; color: var(--gold-lt); }

@media (min-width: 1000px) {
  .nav { display: flex; }
  .nav-mobile { display: none; }
  .mega { display: block; }
}
@media (max-width: 639px) {
  :root { --logo-h: 64px; }
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed; inset: 0; z-index: 45; overflow-y: auto;
  background: var(--navy); color: var(--cream);
  padding: 104px 24px 48px; flex-direction: column;
  animation: fadeIn .4s ease;
}
html.menu-open .mobile-menu { display: flex; }
@media (min-width: 1000px) { html.menu-open .mobile-menu { display: none; } }
.mobile-menu__page {
  font-family: var(--serif); font-size: 40px; font-weight: 400; color: var(--cream);
  border-bottom: 1px solid rgba(245, 242, 235, .12); padding: 10px 0;
}
.mobile-menu__page:hover { color: var(--gold-lt); }
.mobile-menu__label { font-size: 11px; letter-spacing: .24em; font-weight: 700; color: var(--gold-lt); margin: 32px 0 8px; }
.mobile-menu__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.mobile-menu__grid a {
  font-size: 15px; color: rgba(245, 242, 235, .8); padding: 12px 0; border-bottom: 1px solid rgba(245, 242, 235, .08);
}
.mobile-menu__grid a:hover { color: var(--gold-lt); }

/* ---------- Animated headline lines ---------- */
.headline {
  margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1; letter-spacing: -.01em;
  font-size: clamp(44px, 8vw, 128px);
  font-variant-ligatures: none; font-feature-settings: 'liga' 0;
}
.headline--home { font-size: clamp(44px, 9vw, 148px); }
.line { display: block; overflow: hidden; padding: 0 .04em .2em; margin: 0 -.04em -.14em; }
.line > span { display: block; animation: rise 1.2s var(--d, .5s) var(--ease-out) both; }
.line--accent > span { font-style: italic; color: var(--gold-lt); }

.fade-in { animation: fadeIn var(--dur, 1s) var(--d, .5s) both; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  position: relative; overflow: hidden; background: var(--navy); color: var(--cream);
  padding: clamp(150px, 18vw, 240px) var(--gutter) clamp(64px, 8vw, 120px);
}
.page-hero--detail { padding: clamp(140px, 16vw, 220px) var(--gutter) clamp(56px, 7vw, 110px); }
.page-hero__inner { position: relative; max-width: var(--max); margin: 0 auto; }
.page-hero .eyebrow { margin-bottom: 28px; }
.page-hero__lede {
  margin: 40px 0 0; max-width: 560px; font-size: 18px; line-height: 1.65; font-weight: 400;
  color: rgba(245, 242, 235, .82);
}

.lake-mark {
  position: absolute; aspect-ratio: 1.287; pointer-events: none;
  -webkit-mask: url(../assets/table-rock-lake.png) center/contain no-repeat;
  mask: url(../assets/table-rock-lake.png) center/contain no-repeat;
  background: #c9cdd3; --lake-o: .5; opacity: var(--lake-o);
  animation: lakeIn 2s .2s var(--ease-out) both;
}
.lake-mark--br { right: -8%; bottom: -18%; width: min(1100px, 110%); }
.lake-mark--tr { right: -12%; top: -22%; width: min(820px, 90%); }

/* ---------- Home hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  background: var(--navy); color: var(--cream); overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.hero__photo {
  position: absolute; inset: 0;
  background: url(../assets/hero-table-rock-lake.jpg) center 40% / cover no-repeat;
  animation: drift 9s cubic-bezier(.2, .6, .2, 1) both;
}
.hero__shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15, 31, 51, .62) 0%, rgba(15, 31, 51, .5) 35%, rgba(15, 31, 51, .75) 60%, rgba(15, 31, 51, .96) 100%);
}
.hero__lake {
  position: absolute; right: -3%; bottom: -8%; width: min(1000px, 88%); aspect-ratio: 1.287;
  pointer-events: none; will-change: transform;
}
.hero__lake > div {
  width: 100%; height: 100%;
  -webkit-mask: url(../assets/table-rock-lake.png) center/contain no-repeat;
  mask: url(../assets/table-rock-lake.png) center/contain no-repeat;
  background: linear-gradient(120deg, var(--gold-lt) 0%, var(--gold) 55%, var(--gold-dk) 100%);
  opacity: .32;
  animation: lakeReveal 3s .3s var(--ease-io) both;
}
.hero__inner {
  position: relative; padding: 140px var(--gutter) clamp(56px, 7vw, 96px);
  max-width: var(--max); width: 100%; margin: 0 auto;
}
.hero__kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 32px; animation: fadeIn 1s .6s both; }
.hero__kicker-line {
  width: 48px; height: 1px; background: var(--gold); transform-origin: left;
  animation: lineGrow 1.2s .7s var(--ease-io) both;
}
.hero__kicker-text {
  font-size: 12px; margin: 0; line-height: normal; text-transform: uppercase; letter-spacing: .24em; font-weight: 700; color: var(--cream);
  text-shadow: 0 1px 12px rgba(15, 31, 51, .6);
}
.hero__f { margin-right: .06em; }
.hero-foot {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 32px; align-items: end;
}
.hero-foot--home { margin-top: clamp(36px, 5vw, 64px); animation: fadeIn 1.2s 1.1s both; }
.hero-foot--detail { margin-top: 36px; animation: fadeIn 1.2s .9s both; }
.hero__lede {
  margin: 0; max-width: 500px; font-size: 18px; line-height: 1.65; font-weight: 400;
  color: rgba(245, 242, 235, .86); text-wrap: pretty;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }
.hero__actions .btn { flex: 0 0 auto; }
@media (max-width: 639px) {
  .hero__actions { justify-content: stretch; }
  .hero__actions .btn { flex: 1 1 100%; }
}

/* ---------- Home: intro + pillars ---------- */
.intro { padding: clamp(72px, 10vw, 150px) clamp(20px, 4vw, 56px); max-width: var(--max); margin: 0 auto; }
.intro .eyebrow { margin-bottom: 28px; }
.intro__statement {
  margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 4.4vw, 64px);
  line-height: 1.18; letter-spacing: -.01em; max-width: 1180px; text-wrap: pretty;
}
.intro__statement em { color: var(--blue); }
.pillars {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(24px, 3vw, 48px); margin-top: clamp(56px, 7vw, 96px);
}
.pillar { display: flex; flex-direction: column; gap: 10px; }
.pillar h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 30px; }
.pillar p { margin: 0; font-size: 16px; line-height: 1.7; color: var(--muted); font-weight: 400; max-width: 340px; }

/* ---------- Home: smile rituals ---------- */
.rituals .h-display { font-size: clamp(40px, 5.5vw, 80px); line-height: 1; }
.rituals__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
@media (min-width: 1000px) { .rituals__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.rituals__list { display: flex; flex-direction: column; border-top: 1px solid rgba(20, 26, 34, .18); }
.ritual-tab {
  display: grid; grid-template-columns: 40px minmax(0, 1fr) 20px; gap: 12px; align-items: center;
  padding: 24px 0; border: 0; border-bottom: 1px solid rgba(20, 26, 34, .18);
  background: none; text-align: left; cursor: pointer; font-family: inherit;
  color: rgba(20, 26, 34, .5); transition: color .4s;
}
.ritual-tab__name {
  font-family: var(--serif); font-size: clamp(26px, 2.6vw, 36px); font-weight: 300; line-height: 1.1;
  transition: transform .5s var(--ease-out);
}
.ritual-tab__bar {
  width: 20px; height: 1px; background: var(--gold); transform-origin: right; transform: scaleX(0);
  transition: transform .5s var(--ease-io);
}
.ritual-tab[aria-selected="true"] { color: var(--navy); }
.ritual-tab[aria-selected="true"] .ritual-tab__name { font-weight: 400; transform: translateX(8px); }
.ritual-tab[aria-selected="true"] .ritual-tab__bar { transform: scaleX(1); }
.ritual-tab:hover { color: var(--navy); }

.ritual-panel { overflow: hidden; background: var(--navy); color: var(--cream); display: flex; flex-direction: column; }
.ritual-panel[hidden] { display: none; }
.ritual-panel__media { aspect-ratio: 16/9; overflow: hidden; background: var(--blue); }
.ritual-panel__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s ease; }
.ritual-panel__body { padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; gap: 28px; }
.ritual-panel__text {
  display: flex; flex-direction: column; gap: 24px;
  transition: opacity .35s ease, transform .5s var(--ease-out);
}
.ritual-panel__text h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 4vw, 52px); line-height: 1; }
.ritual-panel__text p { margin: 0; font-size: 16px; line-height: 1.7; font-weight: 400; color: rgba(245, 242, 235, .8); max-width: 520px; }
.ritual-panel__links { display: flex; flex-wrap: wrap; gap: 10px; transition: opacity .35s ease; }
.pill-link {
  padding: 12px 20px; border: 1px solid rgba(217, 196, 155, .5); border-radius: 999px;
  color: var(--gold-lt); font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  transition: background .3s, color .3s, border-color .3s;
}
.pill-link:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.rituals__panels.is-fading .ritual-panel__media img,
.rituals__panels.is-fading .ritual-panel__links { opacity: 0; }
.rituals__panels.is-fading .ritual-panel__text { opacity: 0; transform: translateY(12px); }

/* ---------- Membership card + split ---------- */
.split {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(40px, 6vw, 96px); align-items: center;
}
.split--top { align-items: start; }
.member-card {
  position: relative; aspect-ratio: 1.586; max-width: 560px; width: 100%; justify-self: center;
  border-radius: 18px; background: radial-gradient(120% 140% at 0% 0%, var(--blue-lt) 0%, var(--navy) 60%);
  color: var(--cream); padding: clamp(22px, 3vw, 36px);
  display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: 0 40px 80px -30px rgba(15, 31, 51, .55);
  transform: perspective(1000px) rotateX(0deg) rotateY(0deg);
  transition: transform .8s var(--ease-out);
}
.split--top .member-card { justify-self: start; }
.member-card__frame { position: absolute; inset: 10px; border: 1px solid rgba(184, 151, 90, .35); border-radius: 12px; pointer-events: none; }
.member-card__top { display: flex; justify-content: space-between; align-items: flex-start; position: relative; }
.member-card__top img { display: block; height: clamp(44px, 6vw, 64px); width: auto; }
.member-card__tag { font-size: 11px; letter-spacing: .24em; font-weight: 700; color: var(--gold-lt); }
.member-card__bottom { position: relative; }
.member-card__name { font-family: var(--serif); font-style: italic; font-size: clamp(26px, 3vw, 36px); line-height: 1; }
.member-card__meta {
  display: flex; justify-content: space-between; margin-top: 14px;
  font-size: 11px; letter-spacing: .2em; color: rgba(245, 242, 235, .6);
}
.membership-teaser .eyebrow { margin-bottom: 20px; }
.membership-teaser h2 { margin: 0 0 24px; }
.membership-teaser p { margin: 0 0 32px; font-size: 17px; line-height: 1.75; color: var(--muted); max-width: 500px; text-wrap: pretty; }

/* ---------- Doctors ---------- */
.doctor-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(24px, 3vw, 48px);
}
.doctor-card { display: flex; flex-direction: column; gap: 20px; color: var(--ink); }
.doctor-card:hover { color: var(--ink); }
.portrait { aspect-ratio: 4/5; overflow: hidden; background: var(--stone); }
.portrait img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.doctor-card:hover .portrait img { transform: scale(1.04); }
.doctor-card__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.doctor-card__name { font-family: var(--serif); font-size: 34px; }
.doctor-card__role { font-size: 12px; letter-spacing: .16em; font-weight: 700; color: var(--gold-dk); }
.doctor-card__edu { font-size: 15px; color: var(--muted); line-height: 1.6; }

/* ---------- Reviews ---------- */
.reviews .eyebrow { margin-bottom: 48px; }
.reviews__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(32px, 4vw, 64px); }
.review { margin: 0; display: flex; flex-direction: column; gap: 24px; padding-top: 28px; border-top: 1px solid rgba(245, 242, 235, .18); }
.review__stars { color: var(--gold); letter-spacing: .24em; font-weight: 700; font-size: 13px; }
.review blockquote {
  margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.3; text-wrap: pretty;
}
.review figcaption { font-size: 12px; letter-spacing: .16em; color: rgba(245, 242, 235, .6); }

/* ---------- About ---------- */
.story { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: clamp(40px, 6vw, 96px); }
.story .eyebrow { margin-bottom: 20px; }
.story h2 { font-size: clamp(38px, 4.4vw, 64px); line-height: 1.04; }
.story__body { display: flex; flex-direction: column; gap: 24px; }
.story__lead { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.3; text-wrap: pretty; }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: clamp(24px, 3vw, 40px); }
.feature-grid--wide { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.feature { display: flex; flex-direction: column; gap: 16px; padding-top: 28px; border-top: 1px solid var(--gold); }
.feature-grid--wide .feature { gap: 14px; }
.feature h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 32px; }
.feature-grid--wide .feature h3 { font-size: 30px; }
.feature p { margin: 0; font-size: 16px; line-height: 1.7; color: var(--muted); font-weight: 400; }

.bio { border-top: 1px solid rgba(20, 26, 34, .12); padding: clamp(64px, 8vw, 120px) var(--gutter); }
.bio__grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: clamp(40px, 6vw, 96px); align-items: start; }
.bio__body { display: flex; flex-direction: column; gap: 22px; }
.bio__body h2 { font-size: clamp(44px, 5vw, 76px); }
.bio__edu { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--blue); }
.bio__body .body-copy { max-width: 600px; }
.creds { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.creds span { padding: 9px 16px; border: 1px solid rgba(20, 26, 34, .2); border-radius: 999px; font-size: 12px; letter-spacing: .06em; }

/* ---------- Services ---------- */
.services-hero__grid {
  position: relative; max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); gap: 40px; align-items: end;
}
.services-hero__lede { margin: 0; max-width: 440px; font-size: 17px; line-height: 1.7; font-weight: 400; color: rgba(245, 242, 235, .82); }
.service-list {
  padding: clamp(56px, 8vw, 120px) var(--gutter); max-width: var(--max); margin: 0 auto;
  display: flex; flex-direction: column; gap: clamp(56px, 7vw, 96px);
}
.service-cat {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(28px, 5vw, 80px); padding-top: 40px; border-top: 1px solid rgba(20, 26, 34, .18);
}
.service-cat__info { display: flex; flex-direction: column; gap: 18px; }
.service-cat__info p { margin: 0; font-size: 17px; line-height: 1.75; color: var(--muted); max-width: 480px; }
.service-cat__items { display: flex; flex-wrap: wrap; gap: 0 24px; margin-top: 4px; }
.service-cat__items span { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 15px; }
.service-cat__links { display: flex; flex-direction: column; gap: 12px; }
.treat-card {
  position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) 52px; gap: 20px; align-items: center;
  padding: clamp(22px, 3vw, 36px); background: var(--sand); color: var(--ink);
  transition: background .5s, color .5s;
}
.treat-card:hover { background: var(--navy); color: var(--cream); }
.treat-card__text { display: flex; flex-direction: column; gap: 10px; }
.treat-card__name { font-family: var(--serif); font-size: clamp(28px, 3vw, 42px); font-weight: 400; line-height: 1.05; }
.treat-card__lead { font-size: 15px; line-height: 1.6; opacity: .75; }
.arrow-circle {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 18px;
}

/* ---------- Treatment detail ---------- */
.crumbs {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  font-size: 12px; letter-spacing: .2em; color: rgba(245, 242, 235, .6); margin-bottom: 32px;
}
.crumbs a { color: rgba(245, 242, 235, .6); }
.crumbs a:hover { color: var(--gold-lt); }
.crumbs [aria-current] { color: var(--gold-lt); }
.detail__tag {
  margin: 0; max-width: 560px; font-family: var(--serif); font-style: italic;
  font-size: clamp(24px, 2.4vw, 32px); line-height: 1.3; color: var(--gold-lt);
}

.detail {
  padding: clamp(56px, 8vw, 120px) var(--gutter); max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start;
}
.detail__aside { order: 2; display: flex; flex-direction: column; gap: 28px; top: 110px; }
@media (min-width: 1000px) {
  .detail { grid-template-columns: 280px minmax(0, 1fr); }
  .detail__aside { order: 0; position: sticky; }
}
.side-list { display: flex; flex-direction: column; border-top: 1px solid rgba(20, 26, 34, .14); }
.side-label { margin-bottom: 12px; }
.side-list a {
  display: flex; justify-content: space-between; align-items: center; padding: 14px 0;
  border-bottom: 1px solid rgba(20, 26, 34, .14); font-size: 15px; color: var(--muted); font-weight: 300;
}
.side-list a::after { content: ''; width: 6px; height: 6px; transform: rotate(45deg); background: transparent; }
.side-list a:hover { color: var(--gold-dk); }
.side-list a[aria-current="page"] { color: var(--navy); font-weight: 500; }
.side-list a[aria-current="page"]::after { background: var(--gold); }
.aside-cta { background: var(--navy); color: var(--cream); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.aside-cta__title { font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 1.15; }
.aside-cta__text { font-size: 14px; color: rgba(245, 242, 235, .7); line-height: 1.6; }
.aside-cta .btn { margin-top: 6px; padding: 14px; font-size: 12px; }

.detail__main { display: flex; flex-direction: column; gap: clamp(56px, 7vw, 96px); min-width: 0; }
.detail__overview { display: flex; flex-direction: column; gap: 24px; }
.detail__overview-text { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.24; text-wrap: pretty; }
.detail__media { aspect-ratio: 16/8; overflow: hidden; background: var(--stone); margin-top: 16px; }
.detail__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.detail__media:hover img { transform: scale(1.04); }
.detail__two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 40px; }
.detail__who { display: flex; flex-direction: column; gap: 18px; }
.includes { display: flex; flex-direction: column; gap: 6px; }
.includes .eyebrow { margin-bottom: 12px; }
.includes > span:not(.eyebrow) {
  display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid rgba(20, 26, 34, .12); font-size: 16px;
}
.steps-label { margin-bottom: 28px; }
.steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 1px; background: rgba(20, 26, 34, .12); border: 1px solid rgba(20, 26, 34, .12);
}
.step { background: var(--cream); padding: 28px 24px; display: flex; flex-direction: column; gap: 14px; transition: background .5s; }
.step:hover { background: var(--sand); }
.step__n { font-family: var(--serif); font-size: 48px; line-height: 1; color: var(--gold); }
.step__t { font-family: var(--serif); font-size: 24px; line-height: 1.15; }
.step__d { font-size: 15px; line-height: 1.65; color: var(--muted); }
.detail__faq-title { margin: 0 0 28px; font-size: clamp(36px, 4vw, 56px); }
.next-treat {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 36px 0;
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); color: var(--ink);
}
.next-treat:hover { color: var(--gold-dk); }
.next-treat__text { display: flex; flex-direction: column; gap: 8px; }
.next-treat__name { font-family: var(--serif); font-size: clamp(34px, 4vw, 56px); line-height: 1; }
.next-treat__arrow { font-size: 32px; }

/* ---------- FAQ accordion ---------- */
.faq { border-top: 1px solid rgba(20, 26, 34, .18); }
.faq__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; background: none; border: 0; cursor: pointer; text-align: left;
  font: 400 clamp(21px, 2vw, 26px) var(--serif); color: var(--ink);
}
.faqs--lg .faq__q { padding: 26px 0; font-size: clamp(21px, 2.2vw, 28px); }
.faq__icon {
  flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(20, 26, 34, .25);
  display: flex; align-items: center; justify-content: center; font: 500 20px var(--sans);
  transition: transform .5s var(--ease-io);
}
.faq__q[aria-expanded="true"] .faq__icon { transform: rotate(45deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease-io); }
.faq__q[aria-expanded="true"] + .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { margin: 0; padding: 0 0 26px; font-size: 16px; line-height: 1.75; color: var(--muted); max-width: 720px; }
.faqs--lg .faq__a p { padding-bottom: 28px; max-width: 760px; }

/* ---------- Membership page ---------- */
.benefit {
  display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: baseline;
  padding: 20px 0; border-bottom: 1px solid rgba(20, 26, 34, .14);
}
.benefit__t { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; }
.benefits .eyebrow { margin-bottom: 12px; }
.benefits .btn { margin-top: 36px; }

/* ---------- Contact ---------- */
.contact {
  padding: clamp(64px, 8vw, 120px) var(--gutter); max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: clamp(40px, 6vw, 96px);
}
.contact__info { display: flex; flex-direction: column; gap: 48px; }
.contact__info .eyebrow { margin-bottom: 16px; }
.contact__phone { font-family: var(--serif); font-size: clamp(42px, 5vw, 72px); line-height: 1; color: var(--navy); white-space: nowrap; }
.contact__phone:hover { color: var(--gold-dk); }
.contact__note { margin: 16px 0 0; font-size: 16px; line-height: 1.7; color: var(--muted); max-width: 420px; }
.contact__address { font-style: normal; font-family: var(--serif); font-size: 32px; line-height: 1.25; }
.contact__address + .text-link { margin-top: 18px; }
.hours__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.hours__head .eyebrow { margin-bottom: 0; }
.hours__status { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.hours__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.hours__status.is-open .hours__dot { background: #7fb38a; }
.hours__row {
  display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid rgba(20, 26, 34, .12);
  font-size: 16px; font-weight: 300; color: var(--muted);
}
.hours__row.is-today { font-weight: 500; color: var(--navy); }
.map { min-height: 520px; overflow: hidden; background: var(--stone); display: flex; }
.map iframe { flex: 1; width: 100%; min-height: 520px; border: 0; filter: saturate(.75); }
@media (max-width: 639px) {
  .map, .map iframe { min-height: 320px; }
}
.faqs-wrap { max-width: 1000px; margin: 0 auto; }
.faqs-wrap h2 { margin: 0 0 48px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; background: var(--blue); color: var(--cream);
  padding: clamp(80px, 10vw, 150px) var(--gutter); text-align: center;
}
.cta-band__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-band__shade { position: absolute; inset: 0; background: rgba(15, 31, 51, .72); }
.cta-band__lake {
  position: absolute; left: 50%; top: 50%; width: min(1400px, 140%); aspect-ratio: 1.287;
  transform: translate(-50%, -50%); pointer-events: none;
  -webkit-mask: url(../assets/table-rock-lake.png) center/contain no-repeat;
  mask: url(../assets/table-rock-lake.png) center/contain no-repeat;
  background: var(--cream); opacity: .07;
}
.cta-band__inner { position: relative; max-width: 1000px; margin: 0 auto; }
.cta-band .eyebrow { margin-bottom: 28px; }
.cta-band h2 { margin: 0 0 44px; font-size: clamp(42px, 6.4vw, 104px); }
.cta-band h2 em { display: block; color: var(--gold-lt); }
.cta-band .btn { padding: 20px 40px; font-size: 14px; }
.cta-band .btn:hover { background: var(--cream); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy); color: rgba(245, 242, 235, .72);
  padding: clamp(64px, 8vw, 110px) var(--gutter) 110px;
}
@media (min-width: 1000px) { .site-footer { padding-bottom: 36px; } }
.footer__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 48px;
  padding-bottom: 64px; border-bottom: 1px solid rgba(245, 242, 235, .12);
}
.footer__brand { display: flex; flex-direction: column; gap: 20px; color: var(--cream); }
.footer__brand img { display: block; width: 180px; height: auto; }
.footer__brand span { font-size: 14px; color: rgba(245, 242, 235, .6); line-height: 1.6; }
.footer__col { font-style: normal; display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.footer__col .eyebrow { margin-bottom: 6px; }
.footer__col a { color: rgba(245, 242, 235, .72); }
.footer__col a:hover { color: var(--gold-lt); }
.footer__col a.footer__phone { color: var(--cream); }
.footer__sister { font-size: 13px; color: rgba(245, 242, 235, .55); margin-top: 8px; }
.footer__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 28px;
  font-size: 12px; letter-spacing: .06em; color: rgba(245, 242, 235, .5);
}

/* ---------- Mobile call bar ---------- */
.call-bar {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40;
  display: flex; gap: 8px; transform: translateY(160%); transition: transform .6s var(--ease-out);
}
.call-bar.is-shown { transform: none; }
@media (min-width: 1000px) { .call-bar { display: none; } }
html.menu-open .call-bar { display: none; }
.call-bar__call {
  flex: 1; height: 56px; display: flex; align-items: center; justify-content: center; border-radius: 999px;
  background: var(--gold); color: var(--navy); font: 500 13px var(--sans); letter-spacing: .14em;
  box-shadow: 0 10px 30px rgba(15, 31, 51, .25);
}
.call-bar__map {
  width: 56px; height: 56px; flex: none; display: flex; align-items: center; justify-content: center; border-radius: 50%;
  background: var(--navy); color: var(--cream); font: 500 11px var(--sans); letter-spacing: .08em;
  box-shadow: 0 10px 30px rgba(15, 31, 51, .25);
}
.call-bar__call:hover { color: var(--navy); }
.call-bar__map:hover { color: var(--cream); }

/* ---------- Page-transition curtain ---------- */
.curtain {
  position: fixed; inset: 0; z-index: 100; pointer-events: none; background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  transform: translateY(100%);
}
.curtain__mark { display: flex; flex-direction: column; align-items: center; gap: 18px; color: var(--cream); opacity: 0; transition: opacity .3s ease; }
.curtain__mark img { display: block; width: 160px; height: auto; }
.curtain__label { font-family: var(--serif); font-style: italic; font-size: 26px; color: var(--gold-lt); }
.curtain.is-covering { transform: translateY(0); transition: transform .75s var(--ease-curtain); }
.curtain.is-covering .curtain__mark { opacity: 1; }
html.is-arriving .curtain { transform: translateY(0); transition: none; }
html.is-arriving .curtain__mark { opacity: 1; transition: none; }
.curtain.is-revealing { transform: translateY(-100%); transition: transform .75s var(--ease-curtain); }
.curtain.is-revealing .curtain__mark { opacity: 0; }

/* ---------- Scroll reveal (enabled only when JS runs) ---------- */
html.js [data-reveal] {
  opacity: 0; transform: translateY(36px);
  transition: opacity 1.1s var(--ease-out) var(--rd, 0s), transform 1.1s var(--ease-out) var(--rd, 0s);
}
html.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  html.js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Mobile: tighten space under the header ---------- */
@media (max-width: 639px) {
  .hero { min-height: 0; justify-content: flex-start; }
  .hero__inner { padding-top: 120px; }
  .hero__kicker { margin-bottom: 24px; }
  .page-hero { padding-top: 120px; }
  .page-hero .eyebrow, .crumbs { margin-bottom: 20px; }
}
