/* === variables.css === */
:root {
  /* ===== Base paper / ink ===== */
  --paper:        #F8F6F3;   /* warm Aman beige page bg */
  --paper-2:      #F1EDEB;   /* tide 50 — warm soft section bg */
  --paper-cool:   #DEEDF3;   /* glacier 50 — cool image placeholder bg */
  --ink:          #33312E;   /* warm editorial charcoal — softer than near-black */
  --ink-soft:     #54514C;
  --muted:        #989088;   /* secondary text, warm gentle grey */
  --line:         #EAE6E1;   /* warm hairline */
  --line-cool:    #DEEDF3;

  /* ===== PEWTER (sage-grey green) ===== */
  --pewter-50:  #EBF1EC;
  --pewter-100: #DAE5DC;
  --pewter-200: #CAD9CE;
  --pewter-300: #BACDC0;
  --pewter-400: #AAC0B3;
  --pewter-500: #96AEA0;
  --pewter-600: #829B8C;
  --pewter-700: #70877A;
  --pewter-800: #617067;
  --pewter-900: #515A55;
  --pewter-950: #404542;

  /* ===== GLACIER (blue) ===== */
  --glacier-50:  #DEEDF3;
  --glacier-100: #D5E8EE;
  --glacier-200: #CDE2E9;
  --glacier-300: #BAD6E0;
  --glacier-400: #A7CBD6;
  --glacier-500: #95BFCB;
  --glacier-600: #83B3C1;
  --glacier-700: #71A8B5;
  --glacier-800: #669CAA;
  --glacier-900: #558C99;
  --glacier-950: #4C7B85;

  /* ===== TIDE (warm taupe) ===== */
  --tide-50:  #F1EDEB;
  --tide-100: #EEEAE7;
  --tide-200: #E3DDD9;
  --tide-300: #D8D0CA;
  --tide-400: #CCC3BD;
  --tide-500: #C0B6AF;
  --tide-600: #B4A9A2;
  --tide-700: #A79C95;
  --tide-800: #988F88;
  --tide-900: #8D827C;
  --tide-950: #7F7671;

  /* ===== Accent aliases (kept names used across CSS) ===== */
  --ice:        var(--glacier-300);
  --ice-pale:   var(--glacier-50);
  --dove:       var(--glacier-400);
  --sage:       var(--pewter-300);
  --sage-grey:  var(--pewter-400);
  --mint:       var(--pewter-200);
  --mint-pale:  var(--pewter-50);

  /* deeper tints for accents / text on pale */
  --ice-deep:   #71A8B5;   /* glacier 700 — softened primary accent (quiet luxury) */
  --sage-deep:  #70877A;   /* pewter 700 — secondary accent, gentler */

  /* ===== Semantic ===== */
  --color-bg:        #F8F6F3;
  --color-surface:   var(--paper-cool);
  --color-ink:       var(--ink);
  --color-text:      var(--ink-soft);
  --color-muted:     var(--muted);
  --color-line:      var(--line);
  --color-accent:    var(--ice-deep);
  --color-accent-2:  var(--sage-deep);

  /* ===== Fonts ===== */
  --font-display: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-body:    "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* ===== Spatial — generous, quiet ===== */
  --maxw: 1720px;
  --maxw-text: 640px;
  --gutter: clamp(1.5rem, 3.5vw, 4.5rem);
  --section-y: clamp(5.5rem, 12vw, 13rem);

  /* ===== Type scale — modest, not shouting ===== */
  --fs-hero:  clamp(2rem, 3.6vw, 3.4rem);
  --fs-h2:    clamp(1.6rem, 2.6vw, 2.4rem);
  --fs-h3:    clamp(1.25rem, 1.7vw, 1.6rem);
  --fs-lead:  clamp(1rem, 1.2vw, 1.1rem);
  --fs-body:  0.95rem;
  --fs-small: 0.82rem;
  --fs-micro: 0.68rem;

  --track-wide: 0.22em;
  --track-mega: 0.34em;

  --ease: cubic-bezier(.16,.84,.32,1);
}

/* === global.css === */

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.8;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--color-ink);
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: 0.002em;
}
h1 { font-size: var(--fs-hero); font-weight: 400; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 400; }

p { font-size: var(--fs-body); }
a { color: inherit; text-decoration: none; transition: color .4s var(--ease), opacity .4s var(--ease); }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

::selection { background: var(--ice-pale); color: var(--ink); }

/* ===== Layout ===== */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 1040px; }
section { padding-block: var(--section-y); position: relative; }
.treat, .team, .voices { border-top: 1px solid var(--color-line); }

/* ===== Quiet editorial labels ===== */
.kicker {
  font-family: var(--font-body);
  font-size: var(--fs-micro);
  font-weight: 400;
  letter-spacing: var(--track-mega);
  text-transform: uppercase;
  color: var(--color-muted);
  display: inline-block;
}

.section-head { max-width: 620px; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .kicker { margin-bottom: 1.6rem; }
.section-head h2 { margin-bottom: 1.4rem; font-weight: 400; }
.section-head .lead { color: var(--color-muted); font-size: var(--fs-lead); max-width: 56ch; line-height: 1.75; }
.section-head.center .lead { margin-inline: auto; }

.lead { font-size: var(--fs-lead); line-height: 1.8; font-weight: 300; }
.rule { height: 1px; background: var(--color-line); border: 0; }

/* ===== Links — Aman/Kinfolk style underlined "Discover more" ===== */
.disc-link {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--ice-deep);
  padding-bottom: .4rem;
  border-bottom: 1px solid var(--ice-deep);
  transition: border-color .6s var(--ease), color .6s var(--ease);
}
.disc-link:hover { color: var(--sage-deep); border-color: var(--sage-deep); }

/* soft, non-shouty button */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 1.05rem 2.6rem;
  border: 1px solid var(--ice-deep);
  color: var(--ice-deep);
  background: transparent;
  cursor: pointer;
  transition: background .7s var(--ease), color .7s var(--ease), border-color .7s var(--ease);
}
.btn:hover { background: var(--ice-deep); color: #fff; border-color: var(--ice-deep); }
.btn--light { color: var(--ice-deep); border-color: var(--ice-deep); background: rgba(255,255,255,.92); }
.btn--light:hover { background: var(--ice-deep); color: #fff; border-color: var(--ice-deep); }

.phys__lic { display: block; font-family: var(--font-body); font-size: var(--fs-micro); letter-spacing: .05em; color: var(--color-muted); margin-bottom: .6rem; }

/* soft, airy frosted button — quiet presence over imagery */
.btn--soft {
  color: #fff;
  border: 1px solid rgba(255,255,255,.45);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-weight: 300;
  letter-spacing: 0.12em;
  padding: 1.05rem 2.6rem;
}
.btn--soft:hover {
  background: rgba(255,255,255,.92);
  color: var(--ink);
  border-color: rgba(255,255,255,.92);
}

/* ===== Reveal — slow, gentle ===== */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 1.6s var(--ease), transform 1.6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .16s; }
.reveal[data-d="2"] { transition-delay: .32s; }
.reveal[data-d="3"] { transition-delay: .48s; }
.reveal[data-d="4"] { transition-delay: .64s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* full-bleed helper (from shayne.html) */
.bleed { width: 100vw; position: relative; left: 50%; right: 50%; margin-inline: -50vw; }

/* Logo — centred by default (Aman) */

/* Burger — left */

/* CTA on the right (closed bar) */

/* Dark theme over hero — flush at top (burger + cta turn light; logo stays dark) */

/* Scrolled — warm frosted bar */

/* Links list — left aligned */

/* Bottom-right actions (contact + book) */

/* keep logo + burger above the overlay while open */

/* Follow us — sits below the tagline */

/* === index.css (program) === */
/* ============================================================
   PROGRAM — Shayne & Co.
   Mood & tone matched to shayne.html (v2 editorial) and the
   about.html hero/breadcrumb composition. Tokens come from
   variables.css / global.css; this file loads last and wins.
   ============================================================ */

body {
  --fs-micro: 12px;
  --fs-small: 14px;
  --fs-body:  16px;
  --fs-lead:  18px;
  --fs-hero:  54px;
  --fs-h2:    38px;
  --fs-h3:    26px;
}

/* ============================================================
   HERO (image) — mirrors about.html .ab-hero exactly
   ============================================================ */
.p-hero {
  background: #FFFFFF;
  min-height: 82svh;
  display: flex; align-items: flex-end;
  position: relative; overflow: hidden;
  padding: clamp(2rem, 4vh, 3.5rem) 0 0;
}
.p-hero__media { position: absolute; inset: 0; z-index: 0; }
.p-hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  /* Frame the treatment action + patient on the clear right field,
     keeping the busy certificate shelf off the far edge. */
  object-position: 68% 38%;
}
/* Clean white veil — copy reads on a clear field at the lower-left,
   image stays visible on the right (same recipe as about.html). */
.p-hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(105deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.9) 30%, rgba(255,255,255,.45) 56%, rgba(255,255,255,0) 78%),
    linear-gradient(to top, rgba(255,255,255,.9) 0%, rgba(255,255,255,0) 42%);
}

.p-hero__scrim::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0;
  height: clamp(120px, 16vh, 200px);
  background: linear-gradient(to bottom, rgba(255,255,255,.82) 0%, rgba(255,255,255,.5) 45%, rgba(255,255,255,0) 100%);
}

/* ===== BREADCRUMB — identical placement/sizing to about.html .ab-crumbs ===== */
.p-crumbs {
  position: absolute; top: 0; left: 0; right: 0; z-index: 3;
  padding-top: clamp(7rem, 13vh, 9rem);
}
.p-crumbs .container {
  display: flex; align-items: center; flex-wrap: wrap;
}
.p-crumbs a,
.p-crumbs span {
  font-family: var(--font-body);
  font-size: var(--fs-micro);
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.4s ease;
}
.p-crumbs a:hover { color: var(--ice-deep); }
.p-crumbs a:last-of-type { color: var(--ice-deep); }
.p-crumbs .sep { margin: 0 .8rem; color: var(--color-muted); }

.p-hero__inner {
  position: relative; z-index: 2; color: var(--ink);
  padding-bottom: clamp(3.5rem, 8vh, 6rem);
}
.p-hero__kicker {
  display: block; font-family: var(--font-body); font-size: var(--fs-micro);
  letter-spacing: var(--track-mega); text-transform: uppercase;
  color: var(--ice-deep); margin-bottom: 1.6rem;
}
.p-hero__title {
  font-family: var(--font-display); font-weight: 400; color: var(--ink);
  font-size: 68px; line-height: 1.06;
  letter-spacing: .01em; margin-bottom: 1.6rem; max-width: 18ch;
}
.p-hero__title em { font-style: italic; color: var(--ice-deep); }
.p-hero__lead {
  font-family: var(--font-body); font-weight: 300;
  font-size: var(--fs-lead); line-height: 1.7;
  color: var(--ink-soft); max-width: 52ch;
}

/* ============================================================
   PROGRAM INDEX — category rows of cards
   ============================================================ */
.p-index {
  /* White from the top, easing into #F1EDEB across the last ~5% before the footer */
  background: linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 95%, #F1EDEB 100%);
  padding-block: clamp(4rem, 9vw, 8.5rem);
}
.p-index .container {
  max-width: 1320px;
}

/* each category is a row: a quiet heading, then its cards */
.p-cat {
  padding-block: clamp(2.6rem, 5vw, 4.5rem);
  border-top: 1px solid var(--color-line);
  scroll-margin-top: clamp(90px, 12vh, 120px);
}
.p-cat:first-child { border-top: 0; padding-top: 0; }
.p-cat:last-child { border-bottom: 1px solid var(--color-line); }

.p-cat__head {
  margin-bottom: clamp(1.8rem, 3.5vw, 3rem);
  text-align: center;
}
.p-cat__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: 34px; line-height: 1.15; letter-spacing: .005em;
  color: var(--ink);
}

.p-cat__sub {
    margin: .7rem auto 0;
    font-family: var(--font-body, inherit);
    font-size: 15px;
    line-height: 1.5;
    letter-spacing: .01em;
    color: var(--muted, #8a8378);
    max-width: 46ch;
}

/* card grid — 3 across, wrapping down */
.p-cards {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.6rem, 3.5vw, 3.4rem) clamp(1.6rem, 3vw, 3rem);
}

.p-card__link {
  display: flex; flex-direction: column;
  height: 100%;
  color: inherit; text-decoration: none;
}

.p-card__media {
  display: block; overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--paper-cool);
}
.p-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.p-card__link:hover .p-card__media img { transform: scale(1.04); }

.p-card__body {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  padding-top: clamp(1.4rem, 2.2vw, 1.9rem);
}
.p-card__cat {
  font-family: var(--font-body); font-weight: 400;
  font-size: var(--fs-micro); letter-spacing: var(--track-wide);
  text-transform: uppercase; color: var(--sage-deep);
}
.p-card__name {
  font-family: var(--font-display); font-weight: 400;
  font-size: var(--fs-h3); line-height: 1.2; color: var(--ink);
  margin-top: .85rem;
  transition: color .4s var(--ease);
}
.p-card__link:hover .p-card__name { color: var(--ice-deep); }
.p-card__price {
  font-family: var(--font-body); font-weight: 300;
  font-size: var(--fs-small); letter-spacing: .02em;
  color: var(--color-muted);
  margin-top: .7rem;
}
.p-card__cta {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-body); font-weight: 400;
  font-size: var(--fs-micro); letter-spacing: .14em; text-transform: uppercase;
  color: var(--ice-deep);
  border: 1px solid var(--ice-deep);
  padding: .8rem 1.6rem;
  margin-top: 1.4rem;
  transition: background .6s var(--ease), color .6s var(--ease), border-color .6s var(--ease);
}
.p-card__cta svg {
  width: 15px; height: 15px; flex: none;
  stroke: currentColor; stroke-width: 1.5; fill: none;
  transition: transform .5s var(--ease);
}
.p-card__link:hover .p-card__cta {
  background: var(--ice-deep); color: #fff; border-color: var(--ice-deep);
}
.p-card__link:hover .p-card__cta svg { transform: translateX(3px); }

/* ============================================================
   Shared-component overrides (kept out of variables.css)
   ============================================================ */

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1180px) { .p-hero__title { font-size: 56px; } }

@media (max-width: 880px) {
  .p-cards { grid-template-columns: repeat(2, 1fr); }
  .p-cat__title { font-size: 28px; }
  .p-hero__title { font-size: 44px; }
}

@media (max-width: 520px) {
  .p-cards { grid-template-columns: 1fr; gap: 2.4rem; }
  .p-card__media { aspect-ratio: 5 / 4; }
  .p-cat__title { font-size: 26px; }
  .p-hero__title { font-size: 34px; }
  /* Narrow portrait: hold the patient + device in frame, keep faces high. */
  .p-hero__media img { object-position: 64% 32%; }
}

/* === NAVBAR + FOOTER (verbatim from shayne.html) === */
/* ============================================================
   NAVBAR — logo centred (closed) → shifts left when menu opens
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  transition: background .7s var(--ease), border-color .7s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav__inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  min-height: 92px; gap: 1.5rem;
}

/* Logo — centred by default (Aman) */
.nav__logo {
  grid-column: 2; grid-row: 1; justify-self: center;
  display: block; line-height: 0; position: relative;
  transition: transform .8s var(--ease);
}
.nav__logo img { height: 22px; width: auto; }

/* Burger — left */
.nav__burger {
  grid-column: 1; grid-row: 1; justify-self: start;
  display: flex; flex-direction: column; gap: 6px; width: 40px; height: 40px;
  align-items: flex-start; justify-content: center; background: none; border: none; cursor: pointer;
}
.nav__burger span { width: 26px; height: 1px; background: var(--color-ink); transition: transform .5s var(--ease), opacity .5s var(--ease), width .5s var(--ease), background .7s var(--ease); }
.nav__burger span:nth-child(2) { width: 18px; }
.nav__burger.open span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); width: 26px; }
.nav__burger.open span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); width: 26px; }

/* CTA on the right (closed bar) */
.nav__cta {
  grid-column: 3; grid-row: 1; justify-self: end;
  font-family: var(--font-body); font-size: var(--fs-small);
  font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--color-ink); position: relative; padding-block: .4rem; white-space: nowrap;
}
.nav__cta::after { content: ""; position: absolute; left: 0; bottom: .15rem; width: 0; height: 1px; background: currentColor; transition: width .6s var(--ease); }
.nav__cta:hover::after { width: 100%; }

/* Dark theme over hero — keep burger + cta black for contrast (logo stays dark) */
.nav[data-theme="dark"]:not(.scrolled) .nav__cta { color: #000000; }
.nav[data-theme="dark"]:not(.scrolled) .nav__burger span { background: #000000; }

/* Scrolled — warm frosted bar */
.nav.scrolled {
  background: rgba(248,246,243,.88);
  backdrop-filter: saturate(120%) blur(18px); -webkit-backdrop-filter: saturate(120%) blur(18px);
  border-bottom-color: var(--color-line);
}
.nav.scrolled .nav__inner { min-height: 70px; }
.nav.scrolled .nav__cta { color: var(--color-ink); }
.nav.scrolled .nav__burger span { background: var(--color-ink); }

/* ===== Menu OPEN: logo slides to top-left, burger/cta hidden, dark ink ===== */
body.menu-open .nav__inner { grid-template-columns: auto 1fr auto; }
body.menu-open .nav__logo {
  grid-column: 1; justify-self: start; transform: none;
}
body.menu-open .nav__inner > .nav__cta { opacity: 0; pointer-events: none; }
body.menu-open .nav__burger { grid-column: 3; justify-self: end; }
body.menu-open .nav__burger span { background: #000000; }
.nav__burger.open span { background: #000000; }

/* ===== Full overlay drawer (0do style) ===== */
.nav__menu {
  position: fixed; inset: 0; z-index: 1900;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(5rem, 12vh, 8rem) clamp(2.5rem, 8vw, 8rem) clamp(2rem, 6vh, 4rem);
  background: var(--paper);
  opacity: 0; visibility: hidden; transform: scale(1.02);
  transition: opacity .7s var(--ease), transform .9s var(--ease), visibility .7s var(--ease);
}
.nav__menu.open { opacity: 1; visibility: visible; transform: none; }

/* Links list — left aligned */
.nav__menu-links { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(.8rem, 2vw, 1.5rem); }
/* Display-type styling shared by top-level links and the Program link */
.nav__menu-links > a,
.nav__dd-link {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 3rem); letter-spacing: .01em; line-height: 1.1;
  color: var(--ink); position: relative; padding-block: .15rem;
}
/* Reveal stagger — applies to each top-level item (link or dropdown wrapper) */
.nav__menu-links > a,
.nav__menu-links > .nav__dd {
  opacity: 0; transform: translateY(16px);
  transition: color .5s var(--ease), opacity .8s var(--ease), transform .8s var(--ease);
}
.nav__menu.open .nav__menu-links > a,
.nav__menu.open .nav__menu-links > .nav__dd { opacity: 1; transform: none; }
.nav__menu.open .nav__menu-links > *:nth-child(1) { transition-delay: .12s; }
.nav__menu.open .nav__menu-links > *:nth-child(2) { transition-delay: .18s; }
.nav__menu.open .nav__menu-links > *:nth-child(3) { transition-delay: .24s; }
.nav__menu.open .nav__menu-links > *:nth-child(4) { transition-delay: .30s; }
.nav__menu.open .nav__menu-links > *:nth-child(5) { transition-delay: .36s; }
.nav__menu.open .nav__menu-links > *:nth-child(6) { transition-delay: .42s; }
.nav__menu-links > a:hover,
.nav__menu-links > a.active,
.nav__dd-link:hover { color: var(--ice-deep); }
.nav__menu-links > a.active::after,
.nav__menu-links > a:hover::after,
.nav__dd-link:hover::after {
  content: ""; position: absolute; left: 0; bottom: -.1rem;
  width: clamp(70px, 8vw, 110px); height: 1px; background: currentColor;
}

/* ===== Program dropdown (within the overlay menu) ===== */
.nav__dd { position: relative; display: flex; flex-direction: column; align-items: flex-start; }
/* Program link + caret toggle sit on one row; submenu drops below */
.nav__dd-head { display: inline-flex; align-items: center; gap: .5rem; }
.nav__dd-toggle {
  display: inline-flex; align-items: center;
  background: none; border: 0; cursor: pointer; padding: .2rem;
  color: var(--ink); line-height: 0;
}
.nav__dd-toggle:hover { color: var(--ice-deep); }
.nav__dd-caret {
  width: clamp(18px, 2.2vw, 26px); height: clamp(18px, 2.2vw, 26px);
  flex: none; transition: transform .45s var(--ease);
}
.nav__dd:hover .nav__dd-caret,
.nav__dd.open .nav__dd-caret { transform: rotate(180deg); }
.nav__dd-menu {
  display: grid; gap: clamp(.45rem, 1vw, .75rem);
  padding-left: clamp(.9rem, 2vw, 1.5rem);
  max-height: 0; overflow: hidden; opacity: 0; margin-top: 0;
  transition: max-height .55s var(--ease), opacity .45s var(--ease), margin-top .45s var(--ease);
}
.nav__dd:hover .nav__dd-menu,
.nav__dd.open .nav__dd-menu {
  max-height: 60vh; opacity: 1; margin-top: clamp(.5rem, 1.4vw, 1rem);
}
.nav__dd-menu a {
  font-family: var(--font-body); font-weight: 300;
  font-size: clamp(1rem, 1.5vw, 1.2rem); letter-spacing: .02em; line-height: 1.3;
  color: var(--ink-soft); width: max-content; max-width: 100%;
  position: relative; transition: color .4s var(--ease);
}
.nav__dd-menu a:hover { color: var(--ice-deep); }

/* Bottom-right actions (contact + book) */
.nav__menu-actions {
  position: absolute; right: clamp(2.5rem, 8vw, 8rem); bottom: clamp(2rem, 6vh, 4rem);
  display: flex; align-items: center; gap: clamp(1.5rem, 3vw, 2.5rem);
  opacity: 0; transform: translateY(12px);
  transition: opacity .8s var(--ease) .4s, transform .8s var(--ease) .4s;
}
.nav__menu.open .nav__menu-actions { opacity: 1; transform: none; }
.nav__menu-contact {
  font-family: var(--font-body); font-size: var(--fs-small);
  letter-spacing: .08em; color: var(--ink-soft); position: relative; padding-left: 3rem;
}
.nav__menu-contact::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 2rem; height: 1px; background: currentColor;
}
.nav__menu-contact:hover { color: var(--ice-deep); }
.nav__menu-actions .nav__cta {
  position: static; grid-column: auto; justify-self: auto;
  font-family: var(--font-body); font-size: var(--fs-small);
  text-transform: uppercase; letter-spacing: .12em; color: var(--ink-soft);
  border: 1px solid var(--line); padding: .9rem 2rem; background: var(--paper-2);
}
.nav__menu-actions .nav__cta::after { display: none; }
.nav__menu-actions .nav__cta:hover { background: var(--ice-deep); color: #fff; border-color: var(--ice-deep); }

/* keep logo + burger above the overlay while open */
body.menu-open .nav { z-index: 2000; }
/* backdrop-filter on .nav makes it a containing block for the fixed menu,
   collapsing the overlay to the header height — disable it while open */
body.menu-open .nav.scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; border-bottom-color: transparent; }
body.menu-open .nav__menu { z-index: 2000; }
.nav__menu.open ~ .nav__inner,
body.menu-open .nav__burger,
body.menu-open .nav__logo { z-index: 2010; }

@media (max-width: 600px) {
  /* Links group toward the top/center, actions pinned to the bottom */
  .nav__menu { align-items: stretch; justify-content: space-between; padding-block: clamp(7rem, 16vh, 9rem) clamp(2.5rem, 6vh, 3.5rem); }
  .nav__menu-actions { position: static; margin-top: 0; flex-direction: column; align-items: center; gap: 1.25rem; }
  .nav__menu-actions .nav__cta { width: 100%; max-width: 280px; text-align: center; }
  /* Center the logo and hide the Book CTA on mobile */
  .nav__inner { grid-template-columns: 1fr auto 1fr; }
  .nav__logo { grid-column: 2; justify-self: center; transform: none; }
  .nav__burger { grid-column: 1; justify-self: start; }
  .nav__inner > .nav__cta { display: none; }
  /* Keep logo centered even when the menu is open */
  body.menu-open .nav__inner { grid-template-columns: 1fr auto 1fr; }
  body.menu-open .nav__logo { grid-column: 2; justify-self: center; }
  body.menu-open .nav__burger { grid-column: 3; justify-self: end; }
  /* Center the open menu links */
  .nav__menu-links { align-items: center; text-align: center; justify-content: center; }
  /* Program dropdown — centre on mobile to match the centred menu */
  .nav__dd { align-items: center; }
  .nav__dd-toggle { justify-content: center; }
  .nav__dd-menu { padding-left: 0; justify-items: center; text-align: center; }
  .nav__menu-links a.active::after,
  .nav__menu-links a:hover::after { left: 50%; transform: translateX(-50%); }
  .nav__menu-contact { padding-left: 0; }
  .nav__menu-contact::before { display: none; }
}

.footer {
  background: var(--glacier-50);
  color: var(--ink-soft);
  padding-top: clamp(4rem, 9vw, 7rem);
}
.footer a { color: var(--ink-soft); }
.footer a:hover { color: var(--ice-deep); }
.footer__h {
  display: block; font-size: var(--fs-micro);
  letter-spacing: var(--track-wide); text-transform: uppercase;
  color: var(--glacier-950); margin-bottom: 1.3rem;
}

.footer__top {
  display: grid; grid-template-columns: 1.4fr 2fr;
  gap: clamp(2rem, 5vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
.footer__logo { height: 20px; width: auto; margin-bottom: 1.6rem; opacity: .95; }
.footer__tagline { font-family: var(--font-body); font-size: .9rem; line-height: 1.6; color: var(--ink); max-width: 30ch; font-weight: 300; margin-top: 1.6rem; }

/* Follow us — sits below the tagline */
.footer__brand .footer__follow { margin-top: 1.6rem; }

.footer__nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer__col a { display: block; font-size: var(--fs-small); margin-bottom: .9rem; }

.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; gap: clamp(1rem, 3vw, 2rem); flex-wrap: nowrap;
  margin-top: clamp(3rem, 6vw, 5rem); padding-top: clamp(1.8rem, 3vw, 2.6rem); padding-bottom: clamp(1.8rem, 3vw, 2.6rem);
  border-top: 1px solid var(--glacier-300);
  font-size: var(--fs-micro); letter-spacing: .03em; color: var(--color-muted);
}
.footer__bottom-logo { flex: none; display: block; line-height: 0; }
.footer__bottom-logo img { height: clamp(22px, 2.6vw, 30px); width: auto; opacity: .95;
  filter: brightness(0) saturate(100%) invert(45%) sepia(18%) saturate(900%) hue-rotate(150deg) brightness(85%); }

.footer__follow { display: flex; align-items: center; gap: clamp(.8rem, 2vw, 1.4rem); }
.footer__follow-label { font-family: var(--font-body); font-size: var(--fs-small); color: var(--ink-soft); letter-spacing: .02em; white-space: nowrap; }
.footer__icons { display: flex; align-items: center; gap: clamp(.8rem, 1.8vw, 1.5rem); }
.footer__icons a { color: var(--glacier-950); display: inline-flex; transition: color .4s var(--ease), transform .4s var(--ease); }
.footer__icons a:hover { color: var(--ice-deep); transform: translateY(-2px); }

.footer__copy { margin: 0; text-align: left; line-height: 1.6; white-space: nowrap; }

@media (max-width: 860px) {
  .footer__top { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer__nav { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 1.6rem; flex-wrap: wrap; }
  .footer__copy { text-align: left; white-space: normal; }
}
@media (max-width: 560px) {
  .footer__nav { grid-template-columns: 1fr; }
  .footer__follow { flex-wrap: wrap; }
}
