/* Elrhea Clinic — site styles */

:root {
  --ink: oklch(0.24 0.06 262);          /* logo navy */
  --ink-soft: oklch(0.40 0.04 258);
  --royal: #0071bc;                     /* official logo blue, from the vector master (oklch 0.536 0.144 248) */
  --royal-deep: oklch(0.45 0.13 250);
  --royal-tint: oklch(0.95 0.025 250);
  --mist: oklch(0.975 0.008 250);
  --paper: oklch(0.993 0.003 250);
  --line: oklch(0.89 0.015 252);
  --gold: oklch(0.80 0.11 82);          /* sparkle only */
  --on-royal: oklch(0.985 0.006 250);
  --on-royal-soft: oklch(0.88 0.035 250);
  --wa: oklch(0.62 0.15 150);

  --font-display: "Marcellus", "Times New Roman", serif;
  --font-body: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3125rem;
  --step-2: clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem);
  --step-3: clamp(2.1rem, 1.6rem + 2.2vw, 3.2rem);
  --step-4: clamp(2.6rem, 1.8rem + 3.6vw, 4.6rem);

  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --wrap: 75rem;
  --radius: 14px;
  --header-h: 88px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--step-0)/1.6 var(--font-body);
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.12; margin: 0; letter-spacing: -0.005em; text-wrap: balance; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: var(--on-royal); padding: .6rem 1rem; border-radius: 8px; }
.skip:focus { top: 1rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: var(--step--1); font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--royal); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 9px; height: 9px; background: var(--gold); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.lead { font-size: var(--step-1); line-height: 1.5; color: var(--ink-soft); max-width: 40ch; }
.prose { max-width: 65ch; }
.prose p, .prose li { color: var(--ink-soft); }
.prose h2 { font-size: var(--step-2); margin: 2.2rem 0 .8rem; color: var(--ink); }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .4rem; }

/* Buttons */
.btn {
  --bg: var(--royal); --fg: var(--on-royal);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .75rem 1.35rem;
  background: var(--bg); color: var(--fg);
  border: 1.5px solid var(--bg); border-radius: 10px;
  font: 600 1rem/1.2 var(--font-body); text-decoration: none; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { --bg: var(--royal-deep); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--light { --bg: var(--on-royal); --fg: var(--ink); }
.btn--light:hover { --bg: oklch(0.93 0.02 250); }
.btn--ghost { background: transparent; color: var(--fg); border-color: color-mix(in oklch, var(--fg) 45%, transparent); }
.btn--ghost:hover { background: color-mix(in oklch, var(--fg) 10%, transparent); }
.btn--ghost-ink { --fg: var(--ink); background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost-ink:hover { border-color: var(--ink); background: transparent; }
.text-link { color: var(--royal); font-weight: 600; text-decoration: none; display: inline-flex; gap: .4rem; align-items: center; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.text-link::after { content: "→"; transition: transform .25s var(--ease); }
.text-link:hover::after { transform: translateX(3px); }

/* Header (ZAP-style single row) */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklch, var(--paper) 94%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px oklch(0.24 0.06 262 / .5); }
.header-row { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }
.brand { flex: none; display: block; }
.brand img { height: 68px; width: auto; }
.nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav-link, .nav-trigger {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .6rem .8rem; border-radius: 8px;
  font: 500 1.0625rem/1 var(--font-body); color: var(--ink);
  text-decoration: none; background: none; border: 0; cursor: pointer;
}
.nav-link:hover, .nav-trigger:hover, .nav-item.is-open > .nav-trigger { color: var(--royal); background: var(--royal-tint); }
.nav-link[aria-current="page"], .nav-trigger[data-current] { color: var(--royal); }
.nav-trigger svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.nav-item { position: relative; }
.nav-item.is-open > .nav-trigger svg { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: -1rem; width: 22rem;
  list-style: none; margin: 0; padding: .5rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 24px 48px -24px oklch(0.24 0.06 262 / .35);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
}
.nav-item.is-open > .dropdown { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.dropdown a { display: grid; gap: .15rem; padding: .75rem .9rem; border-radius: 10px; text-decoration: none; }
.dropdown a:hover, .dropdown a:focus-visible { background: var(--mist); }
.dropdown strong { font-weight: 600; color: var(--ink); }
.dropdown span { font-size: var(--step--1); color: var(--ink-soft); line-height: 1.4; }
.header-cta { flex: none; }
.menu-toggle { display: none; }

@media (max-width: 1080px) {
  .nav-link, .nav-trigger { padding: .6rem .55rem; font-size: 1rem; }
  .header-cta .btn-label-long { display: none; }
}
@media (max-width: 940px) {
  :root { --header-h: 72px; }
  /* backdrop-filter would make the header the containing block of the fixed menu panel */
  .site-header { backdrop-filter: none; background: var(--paper); }
  .brand img { height: 54px; }
  .header-cta { display: none; }
  .menu-toggle {
    display: inline-flex; margin-left: auto; align-items: center; gap: .5rem;
    min-height: 44px; padding: .5rem .9rem; border: 1px solid var(--line); border-radius: 10px;
    background: var(--paper); color: var(--ink); font: 600 1rem/1 var(--font-body); cursor: pointer;
  }
  .menu-toggle svg { width: 20px; height: 20px; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; margin: 0;
    background: var(--paper); overflow-y: auto;
    padding: 1rem var(--gutter) 7rem;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-link, .nav-trigger { width: 100%; justify-content: space-between; padding: 1.1rem .25rem; font-size: 1.25rem; border-radius: 0; }
  .nav-link:hover, .nav-trigger:hover, .nav-item.is-open > .nav-trigger { background: none; }
  .dropdown {
    position: static; width: auto; box-shadow: none; border: 0; padding: 0 0 .75rem;
    display: none; opacity: 1; visibility: visible; transform: none; background: none;
  }
  .nav-item.is-open > .dropdown { display: block; }
  .dropdown a { padding: .7rem .25rem; }
  .nav-cta { display: block; margin-top: 1.5rem; }
  .nav-cta .btn { width: 100%; }
}
@media (min-width: 941px) { .nav-cta { display: none; } }

/* Mobile booking bar */
.booking-bar { display: none; }
@media (max-width: 940px) {
  .booking-bar {
    display: flex; position: fixed; z-index: 40; left: 0; right: 0; bottom: 0;
    padding: .75rem var(--gutter) calc(.75rem + env(safe-area-inset-bottom));
    background: color-mix(in oklch, var(--paper) 92%, transparent); backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
  }
  .booking-bar .btn { flex: 1; }
  body { padding-bottom: 76px; }
}

/* Hero */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--royal); color: var(--on-royal);
}
.hero::before {
  content: ""; position: absolute; z-index: -1; inset: auto -10% -45% auto; width: 70vmax; aspect-ratio: 1;
  border-radius: 50%; border: 1px solid oklch(1 0 0 / .14);
  box-shadow: 0 0 0 5vmax oklch(1 0 0 / .03), 0 0 0 10vmax oklch(1 0 0 / .025);
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 5vw, 5rem);
  align-items: center; padding-block: clamp(3rem, 7vw, 6.5rem);
}
.hero h1 { color: var(--on-royal); max-width: 16ch; font-size: clamp(2.6rem, 1.6rem + 3.4vw, 4.4rem); }
.hero .eyebrow { color: var(--on-royal); }
.hero .lead { color: var(--on-royal); margin-top: 1.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }
.hero-media { position: relative; justify-self: end; width: min(100%, 30rem); }
.arch {
  border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden;
  aspect-ratio: 4 / 5.4; background: var(--royal-deep);
  box-shadow: 0 40px 80px -40px oklch(0.15 0.06 262 / .7);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.hero-inset {
  position: absolute; left: -12%; bottom: 8%; width: 42%;
  border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5;
  border: 6px solid var(--royal);
  box-shadow: 0 24px 48px -24px oklch(0.15 0.06 262 / .8);
}
.hero-inset img { width: 100%; height: 100%; object-fit: cover; }
.hero-caption {
  position: absolute; right: 1rem; top: 1.25rem;
  background: oklch(0.24 0.06 262 / .72); backdrop-filter: blur(6px);
  color: var(--on-royal); font-size: var(--step--1); padding: .45rem .8rem; border-radius: 999px;
}
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; padding-block: 2.5rem 3rem; }
  .hero h1 { max-width: 14ch; }
  .hero-media { justify-self: center; width: min(100%, 22rem); margin-top: .5rem; }
  .hero-inset { left: -8%; width: 40%; }
  .hero-actions .btn { flex: 1 1 14rem; }
}

/* Facts strip */
.facts { border-bottom: 1px solid var(--line); background: var(--paper); }
.facts-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.facts-list li { display: flex; gap: .9rem; align-items: flex-start; padding: 1.5rem 1.5rem 1.5rem 0; }
.facts-list li + li { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.facts-list svg { flex: none; width: 22px; height: 22px; color: var(--royal); margin-top: .15rem; }
.facts-list strong { display: block; font-weight: 600; }
.facts-list span, .facts-list a { color: var(--ink-soft); font-size: var(--step--1); text-decoration: none; }
.facts-list a:hover { color: var(--royal); text-decoration: underline; }
.facts-list strong .plain-link { color: var(--ink); font-size: inherit; }
@media (max-width: 760px) {
  .facts-list { grid-template-columns: 1fr; }
  .facts-list li, .facts-list li + li { padding: 1rem 0; border-left: 0; }
  .facts-list li + li { border-top: 1px solid var(--line); }
}

/* Sections */
.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section--mist { background: var(--mist); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 { max-width: 16ch; }
.section-head p { color: var(--ink-soft); max-width: 46ch; margin: 0; justify-self: end; }
@media (max-width: 760px) {
  .section-head { grid-template-columns: 1fr; gap: 1rem; }
  .section-head p { justify-self: start; }
}

/* Services: featured pair + compact rows */
.services-feature { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem); }
.service-feature { display: grid; grid-template-rows: auto 1fr; text-decoration: none; color: inherit; }
.service-feature figure { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--royal-tint); }
.service-feature img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.service-feature:hover img { transform: scale(1.03); }
.service-feature .body { padding-top: 1.4rem; }
.service-feature .kicker { font-size: var(--step--1); font-weight: 600; color: var(--royal); letter-spacing: .04em; }
.service-feature h3 { margin: .35rem 0 .7rem; }
.service-feature p { color: var(--ink-soft); max-width: 44ch; }
.service-feature:hover h3 { color: var(--royal); }
.services-more { margin-top: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--line); }
.service-row {
  display: grid; grid-template-columns: 9rem minmax(0, 1fr) minmax(0, 1.3fr) auto; gap: 1.5rem; align-items: center;
  padding: 1.6rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit;
  transition: background-color .25s var(--ease);
}
.service-row .tag { font-size: var(--step--1); font-weight: 600; color: var(--royal); letter-spacing: .04em; }
.service-row h3 { font-size: var(--step-1); font-family: var(--font-display); }
.service-row p { margin: 0; color: var(--ink-soft); }
.service-row .arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.service-row:hover .arrow { background: var(--royal); color: var(--on-royal); border-color: var(--royal); }
.service-row:hover h3 { color: var(--royal); }
@media (max-width: 760px) {
  .services-feature { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: minmax(0, 1fr) auto; gap: .35rem 1rem; }
  .service-row .tag { grid-column: 1; }
  .service-row h3 { grid-column: 1; }
  .service-row p { grid-column: 1; }
  .service-row .arrow { grid-column: 2; grid-row: 1 / span 3; }
}

/* Package band */
.package {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  background: var(--ink); color: var(--on-royal); border-radius: calc(var(--radius) + 6px); overflow: hidden;
}
.package figure { margin: 0; min-height: 22rem; }
.package img { width: 100%; height: 100%; object-fit: cover; }
.package .body { padding: clamp(2rem, 5vw, 4rem); align-self: center; }
.package .eyebrow { color: var(--on-royal-soft); }
.package h2 { color: var(--on-royal); max-width: 14ch; }
.package p { color: var(--on-royal-soft); max-width: 46ch; margin-top: 1.2rem; }
.symptoms { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 1.6rem 0 2rem; }
.symptoms li { padding: .45rem .9rem; border: 1px solid oklch(1 0 0 / .22); border-radius: 999px; font-size: var(--step--1); color: var(--on-royal); }
@media (max-width: 820px) {
  .package { grid-template-columns: 1fr; }
  .package figure { min-height: 0; aspect-ratio: 4 / 3; }
}

/* Gallery */
.gallery { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 15rem)); gap: 1rem; }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--royal-tint); }
.gallery figure:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption {
  position: absolute; left: .75rem; bottom: .75rem;
  background: oklch(0.99 0.004 250 / .92); color: var(--ink); font-size: var(--step--1); font-weight: 500;
  padding: .35rem .7rem; border-radius: 999px;
}
@media (max-width: 760px) {
  .gallery { grid-template-columns: repeat(5, 72%); grid-template-rows: 22rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); }
  .gallery figure, .gallery figure:first-child { grid-row: auto; scroll-snap-align: start; }
}

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3.5rem); list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li { counter-increment: step; padding-top: 1.4rem; border-top: 2px solid var(--ink); }
.steps li::before { content: "0" counter(step); display: block; font-family: var(--font-display); font-size: var(--step-2); color: var(--royal); margin-bottom: .8rem; }
.steps h3 { font-family: var(--font-body); font-weight: 600; font-size: var(--step-1); margin-bottom: .5rem; }
.steps p { color: var(--ink-soft); margin: 0; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* Team / placeholders */
.team { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.team-media { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.team-media figure { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; }
.team-media img { width: 100%; height: 100%; object-fit: cover; }
.placeholder {
  display: grid; place-items: center; text-align: center; gap: .4rem; padding: 1.25rem;
  border: 2px dashed oklch(0.62 0.17 30); border-radius: var(--radius);
  background: oklch(0.97 0.02 40); color: oklch(0.45 0.15 30); font-size: var(--step--1); font-weight: 500;
}
.placeholder strong { font-size: 1rem; }
.team-media .placeholder { aspect-ratio: 3 / 4; }
.note-todo { display: inline-block; border: 1.5px dashed oklch(0.62 0.17 30); background: oklch(0.97 0.02 40); color: oklch(0.45 0.15 30); padding: .1rem .5rem; border-radius: 6px; font-size: .95em; }
@media (max-width: 820px) { .team { grid-template-columns: 1fr; } }

/* Location */
.location { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: stretch; }
.location dl { margin: 2rem 0; display: grid; gap: 1.25rem; }
.location dt { font-size: var(--step--1); font-weight: 600; color: var(--royal); letter-spacing: .04em; }
.location dd { margin: .2rem 0 0; }
.location dd a { text-decoration: none; }
.location dd a:hover { color: var(--royal); text-decoration: underline; }
.map { border-radius: var(--radius); overflow: hidden; min-height: 24rem; background: var(--royal-tint); border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; min-height: 24rem; border: 0; display: block; }
@media (max-width: 820px) { .location { grid-template-columns: 1fr; } }

/* Page header (inner pages, Prodia-like) */
.page-hero { background: var(--royal-tint); overflow: hidden; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; padding-block: clamp(2rem, 5vw, 4rem); }
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0 0 1.75rem; font-size: var(--step--1); color: var(--ink-soft); }
.crumbs li + li::before { content: "›"; margin-right: .4rem; color: var(--ink-soft); }
.crumbs a { color: var(--ink); font-weight: 600; text-decoration: none; }
.crumbs a:hover { color: var(--royal); text-decoration: underline; }
.page-hero h1 { font-size: var(--step-4); max-width: 14ch; }
.page-hero .lead { margin-top: 1.25rem; }
.page-hero .hero-actions { margin-top: 2rem; }
.page-hero-media { justify-self: end; width: min(100%, 26rem); }
.page-hero-media .arch { aspect-ratio: 4 / 4.6; box-shadow: 0 30px 60px -36px oklch(0.24 0.06 262 / .55); }
.page-hero-media figcaption { font-size: var(--step--1); color: var(--ink-soft); margin-top: .6rem; text-align: center; }
@media (max-width: 820px) {
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-media { justify-self: center; width: min(100%, 20rem); }
}

.content-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.aside-card { position: sticky; top: calc(var(--header-h) + 1.5rem); padding: 1.75rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.aside-card h2 { font-size: var(--step-1); margin-bottom: .75rem; }
.aside-card p { color: var(--ink-soft); font-size: var(--step--1); }
.aside-card .btn { width: 100%; margin-top: .5rem; }
.aside-card dl { margin: 1.25rem 0 0; display: grid; gap: .8rem; font-size: var(--step--1); }
.aside-card dt { font-weight: 600; }
.aside-card dd { margin: 0; color: var(--ink-soft); }
@media (max-width: 900px) {
  .content-grid { grid-template-columns: 1fr; }
  .aside-card { position: static; }
}

.faq { border-top: 1px solid var(--line); margin-top: 1rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; padding: 1.2rem 0; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--royal); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-soft); margin: 0 0 1.2rem; max-width: 62ch; }

.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.related a { display: grid; gap: .3rem; padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color .25s var(--ease), background-color .25s var(--ease); }
.related a:hover { border-color: var(--royal); background: var(--mist); }
.related span { font-size: var(--step--1); color: var(--royal); font-weight: 600; }
.related strong { font-family: var(--font-display); font-weight: 400; font-size: var(--step-1); }
@media (max-width: 760px) { .related { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { background: var(--royal); color: var(--on-royal); }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; padding-block: clamp(3rem, 6vw, 4.5rem); }
.cta-band h2 { color: var(--on-royal); max-width: 18ch; }
.cta-band p { color: var(--on-royal); margin: .8rem 0 0; max-width: 46ch; }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-royal-soft); padding-block: clamp(3.5rem, 6vw, 5rem) 2rem; font-size: var(--step--1); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.footer-grid img { height: 112px; width: auto; margin-bottom: 1.5rem; }
.footer-grid h2 { font-family: var(--font-body); font-size: var(--step--1); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--on-royal); margin-bottom: 1rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.footer-grid a { text-decoration: none; color: var(--on-royal-soft); }
.footer-grid a:hover { color: var(--on-royal); text-decoration: underline; text-underline-offset: 3px; }
.footer-grid p { max-width: 32ch; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid oklch(1 0 0 / .12); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Reveal motion */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .hero-copy > * { animation: rise .9s var(--ease) both; }
  .hero-copy > *:nth-child(2) { animation-delay: .08s; }
  .hero-copy > *:nth-child(3) { animation-delay: .16s; }
  .hero-copy > *:nth-child(4) { animation-delay: .24s; }
  .hero-media { animation: rise 1.1s var(--ease) .15s both; }
  @keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
}
