/* 01-tokens.css */
/* ==========================================================================
   THRYV Collective design tokens
   Palette sampled from the THRYV logo (navy #00264C, terracotta #C55C2B,
   sage #8F9B8D, bronze gold #B18F5E) plus the clinic's own olive scrubs.
   ========================================================================== */
@font-face {
  font-family: 'Cormorant';
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url(../fonts/cormorant-latin-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Cormorant';
  font-style: italic;
  font-display: swap;
  font-weight: 300 700;
  src: url(../fonts/cormorant-latin-italic.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(../fonts/jost-latin-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(../fonts/jost-latinext-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

:root {
  /* Brand */
  --navy: #00264c;
  --navy-700: #0b2d52;
  --ink: #0a1a2c;          /* near-black tinted toward navy */
  --ink-2: #102338;
  --terra: #c55c2b;
  --terra-soft: #d98b62;
  --sage: #8f9b8d;
  --sage-soft: #b9c2b6;
  --olive: #4f5a49;        /* the team's scrubs */
  --olive-deep: #2f3a2d;
  --gold: #b18f5e;
  --gold-soft: #d3bb8f;
  --gold-ink: #7a5c33;     /* gold that passes AA on linen for small text */

  /* Paper */
  --linen: #f7f2ea;
  --linen-2: #f1e9dc;
  --sand: #e8dccb;
  --white: #fdfbf7;

  /* Text */
  --text: #17222f;
  --text-2: #3d4652;
  --muted: #5d6672;
  --text-inv: #f4eee4;
  --muted-inv: rgba(244, 238, 228, 0.7);
  --line: rgba(0, 38, 76, 0.14);
  --line-strong: rgba(0, 38, 76, 0.28);
  --line-inv: rgba(244, 238, 228, 0.16);

  /* Sub-brand palettes (from the client's identity sheets) */
  --lumara-night: #1a1614;
  --lumara-umber: #3c2e28;
  --lumara-gold: #b08860;
  --lumara-amber: #d2b98a;
  --lumara-sage: #7a9898;
  --lumara-mist: #a8b8b0;
  --aurelion-green: #5f7e62;
  --aurelion-deep: #34483a;
  --aurelion-gold: #b98a3a;
  --elite-navy: #283a4f;
  --elite-terra: #c9774f;

  /* Type */
  --f-display: 'Cormorant', 'Cormorant Garamond', 'Iowan Old Style', Georgia, serif;
  --f-sans: 'Jost', 'Futura', 'Avenir Next', system-ui, sans-serif;

  --t-hero: clamp(3.05rem, 1.35rem + 6.6vw, 8.6rem);
  --t-d1: clamp(2.55rem, 1.45rem + 4.3vw, 6.2rem);
  --t-d2: clamp(2.15rem, 1.45rem + 2.9vw, 4.4rem);
  --t-d3: clamp(1.65rem, 1.25rem + 1.55vw, 2.7rem);
  --t-d4: clamp(1.35rem, 1.15rem + 0.8vw, 1.85rem);
  --t-lead: clamp(1.1rem, 1rem + 0.42vw, 1.36rem);
  --t-body: 1.0625rem;
  --t-small: 0.9rem;
  --t-micro: 0.75rem;

  /* Space */
  --gutter: clamp(1.15rem, 0.6rem + 3.4vw, 4.5rem);
  --max: 1520px;
  --narrow: 860px;
  --section: clamp(5rem, 2.8rem + 7.2vw, 9.5rem);
  --section-sm: clamp(3.5rem, 2rem + 5vw, 6.5rem);
  --header-h: 84px;

  /* Shape + depth */
  --r-xs: 2px;
  --r-sm: 6px;
  --r-md: 14px;
  --r-lg: 28px;
  --arch: 999px 999px 0 0;
  --shadow-1: 0 1px 2px rgba(10, 26, 44, 0.06), 0 6px 18px rgba(10, 26, 44, 0.06);
  --shadow-2: 0 2px 6px rgba(10, 26, 44, 0.06), 0 24px 60px -18px rgba(10, 26, 44, 0.28);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --dur: 0.6s;

  color-scheme: light;
}

@media (max-width: 760px) {
  :root { --header-h: 68px; }
}

/* 02-base.css */
/* ==========================================================================
   Base, typography, layout primitives
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--linen);
  color: var(--text);
  font-family: var(--f-sans);
  font-size: var(--t-body);
  font-weight: 380;
  line-height: 1.68;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, picture, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
picture { display: contents; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:where(h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd) { margin: 0; }
:where(ul, ol)[role='list'], .list-reset { list-style: none; padding: 0; margin: 0; }
::selection { background: var(--gold-soft); color: var(--ink); }

:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible { outline-color: var(--gold-soft); }

.skip {
  position: fixed; left: 1rem; top: 1rem; z-index: 999;
  padding: .75rem 1.25rem; background: var(--ink); color: var(--text-inv);
  border-radius: 999px; transform: translateY(-150%); transition: transform .3s var(--ease-out);
}
.skip:focus { transform: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Type ---------- */
.display, .h-hero, .h1, .h2, .h3, .h4 {
  font-family: var(--f-display);
  font-weight: 340;
  letter-spacing: -0.012em;
  line-height: 0.98;
  text-wrap: balance;
  font-feature-settings: 'liga', 'dlig', 'kern';
}
.h-hero { font-size: var(--t-hero); line-height: 0.92; letter-spacing: -0.02em; font-weight: 320; }
.h1 { font-size: var(--t-d1); line-height: 0.96; }
.h2 { font-size: var(--t-d2); line-height: 1; }
.h3 { font-size: var(--t-d3); line-height: 1.06; }
.h4 { font-size: var(--t-d4); line-height: 1.15; font-weight: 420; }
.display em, .h-hero em, .h1 em, .h2 em, .h3 em, .h4 em, .ital {
  font-style: italic; font-weight: 340; color: var(--gold-ink);
}
.on-dark .display em, .on-dark .h-hero em, .on-dark .h1 em, .on-dark .h2 em, .on-dark .h3 em, .on-dark .h4 em, .on-dark .ital { color: var(--gold-soft); }
.lead { font-size: var(--t-lead); line-height: 1.6; color: var(--text-2); font-weight: 360; max-width: 58ch; text-wrap: pretty; }
.on-dark .lead { color: var(--muted-inv); }
.small { font-size: var(--t-small); }
.muted { color: var(--muted); }
.on-dark .muted { color: var(--muted-inv); }
p { text-wrap: pretty; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .7em;
  font-family: var(--f-sans); font-size: var(--t-micro); font-weight: 520;
  letter-spacing: .24em; text-transform: uppercase; line-height: 1.3;
  color: var(--gold-ink);
}
.on-dark .eyebrow { color: var(--gold-soft); }
svg.i { width: 1.1em; height: 1.1em; flex: none; }
svg.glyph { width: 1.2em; height: 1.2em; flex: none; }
.eyebrow .glyph { width: 1.35em; height: 1.35em; flex: none; }
.eyebrow--line::before { content: ''; width: 2.4em; height: 1px; background: currentColor; opacity: .7; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(var(--narrow) + 2 * var(--gutter)); }
.section { padding-block: var(--section); position: relative; }
.section--sm { padding-block: var(--section-sm); }
.section--flush-top { padding-top: 0; }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2vw, 2rem); }
.stack > * + * { margin-top: var(--stack, 1.25rem); }
.center { text-align: center; }
.on-dark { background: var(--ink); color: var(--text-inv); }
.on-navy { background: var(--navy); color: var(--text-inv); }
.on-sand { background: var(--linen-2); }
.on-white { background: var(--white); }
.hairline { height: 1px; background: var(--line); border: 0; margin: 0; }
.on-dark .hairline { background: var(--line-inv); }

.grain { position: relative; isolation: isolate; }
.grain::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* section head */
.head { display: grid; gap: 1.4rem; max-width: 62rem; }
.head--center { margin-inline: auto; text-align: center; justify-items: center; }
.head--split { max-width: none; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: end; column-gap: clamp(2rem, 6vw, 7rem); }
.head--split .lead { justify-self: end; }
@media (max-width: 900px) { .head--split { grid-template-columns: 1fr; } .head--split .lead { justify-self: start; } }

/* ghost watermark word */
.ghost {
  position: absolute; pointer-events: none; user-select: none; z-index: 0;
  font-family: var(--f-display); font-style: italic; font-weight: 300;
  font-size: clamp(7rem, 22vw, 24rem); line-height: .8; letter-spacing: -.03em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(0, 38, 76, .08);
}
.on-dark .ghost, .on-navy .ghost { -webkit-text-stroke-color: rgba(211, 187, 143, .1); }

/* ---------- Media ---------- */
.media { position: relative; overflow: hidden; background: var(--sand); border-radius: var(--r-xs); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--arch { border-radius: var(--arch); }
.media--round { border-radius: 50%; }
.media--r { border-radius: var(--r-md); }
.media[data-ratio] { aspect-ratio: var(--ratio); }
.media .lqip { position: absolute; inset: 0; background-size: cover; background-position: center; filter: blur(14px); transform: scale(1.1); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--text-inv); --bd: var(--ink); --fill: var(--gold);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .9em;
  min-height: 54px; padding: 0 1.75rem; border-radius: 999px;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd);
  font-family: var(--f-sans); font-size: .8rem; font-weight: 540; letter-spacing: .16em; text-transform: uppercase; line-height: 1;
  white-space: nowrap; transition: color .5s var(--ease-out), border-color .5s var(--ease-out);
  will-change: transform;
}
.btn::before {
  content: ''; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; background: var(--fill);
  transform: translateY(101%); transition: transform .6s var(--ease-out);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover, .btn:focus-visible { color: var(--ink); border-color: var(--fill); }
.btn__label { position: relative; display: inline-block; overflow: hidden; }
.btn__label > span { display: block; transition: transform .55s var(--ease-out); }
.btn__label > span + span { position: absolute; inset: 0; transform: translateY(110%); }
.btn:hover .btn__label > span:first-child, .btn:focus-visible .btn__label > span:first-child { transform: translateY(-110%); }
.btn:hover .btn__label > span + span, .btn:focus-visible .btn__label > span + span { transform: translateY(0); }
.btn__icon { width: 1.05em; height: 1.05em; flex: none; transition: transform .55s var(--ease-out); }
.btn:hover .btn__icon { transform: translateX(3px); }

.btn--light { --bg: var(--linen); --fg: var(--ink); --bd: var(--linen); --fill: var(--gold-soft); }
.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: var(--line-strong); --fill: var(--ink); }
.btn--ghost:hover, .btn--ghost:focus-visible { color: var(--text-inv); border-color: var(--ink); }
.on-dark .btn--ghost, .on-navy .btn--ghost, .btn--ghost-light { --bg: transparent; --fg: var(--text-inv); --bd: rgba(244,238,228,.32); --fill: var(--linen); }
.on-dark .btn--ghost:hover, .on-navy .btn--ghost:hover, .btn--ghost-light:hover,
.on-dark .btn--ghost:focus-visible, .on-navy .btn--ghost:focus-visible, .btn--ghost-light:focus-visible { color: var(--ink); border-color: var(--linen); }
.btn--gold { --bg: var(--gold); --fg: var(--ink); --bd: var(--gold); --fill: var(--linen); }
.btn--sm { min-height: 44px; padding: 0 1.25rem; font-size: .72rem; }
.btn--block { width: 100%; }
.btns { display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; }

.link {
  position: relative; display: inline-flex; align-items: center; gap: .55em;
  font-size: .8rem; font-weight: 540; letter-spacing: .16em; text-transform: uppercase; padding-block: .35em;
}
.link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: right; transition: transform .6s var(--ease-out); }
.link:hover::after { transform: scaleX(0); transform-origin: left; }
.link svg { width: 1.1em; height: 1.1em; transition: transform .5s var(--ease-out); }
.link:hover svg { transform: translateX(4px); }

.text-link { color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: .22em; text-decoration-thickness: 1px; transition: text-decoration-color .3s; }
.text-link:hover { text-decoration-color: var(--navy); }
.on-dark .text-link { color: var(--text-inv); }

.tm { font-size: .5em; vertical-align: super; line-height: 0; letter-spacing: 0; font-family: var(--f-sans); font-weight: 400; margin-left: .04em; white-space: nowrap; }
.reg { font-size: .62em; vertical-align: super; line-height: 0; }
.nw { white-space: nowrap; }

/* chips */
.chip { display: inline-flex; align-items: center; gap: .5em; padding: .5em 1em; border: 1px solid var(--line); border-radius: 999px; font-size: .82rem; color: var(--text-2); background: rgba(255,255,255,.4); }
.on-dark .chip { border-color: var(--line-inv); color: var(--muted-inv); background: rgba(255,255,255,.03); }
.chips { display: flex; flex-wrap: wrap; gap: .55rem; }

/* live status pill */
.status { display: inline-flex; align-items: center; gap: .6em; font-size: .82rem; font-weight: 460; letter-spacing: .02em; }
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 0 rgba(143,155,141,.6); }
.status[data-state='open'] .status__dot { background: #6f9a6a; animation: pulse 2.2s infinite; }
.status[data-state='closed'] .status__dot { background: var(--gold); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(111,154,106,.55); } 70% { box-shadow: 0 0 0 9px rgba(111,154,106,0); } 100% { box-shadow: 0 0 0 0 rgba(111,154,106,0); } }

/* prose (service pages, legal) */
.prose { font-size: 1.075rem; line-height: 1.78; color: var(--text-2); max-width: 70ch; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-family: var(--f-display); font-weight: 380; font-size: var(--t-d3); line-height: 1.08; color: var(--text); margin-top: 2.1em; letter-spacing: -.01em; text-wrap: balance; }
.prose h3 { font-family: var(--f-display); font-weight: 460; font-size: var(--t-d4); line-height: 1.2; color: var(--text); margin-top: 1.8em; }
.prose h4 { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 560; color: var(--gold-ink); margin-top: 2em; }
/* legal Markdown headings re-levelled for a valid outline keep their source look */
.prose .md-h3 { font-family: var(--f-display); font-weight: 460; font-size: var(--t-d4); line-height: 1.2; letter-spacing: inherit; margin-top: 1.8em; }
.prose .md-h4 { font-family: var(--f-sans); font-size: .8rem; line-height: inherit; letter-spacing: .2em; text-transform: uppercase; font-weight: 560; color: var(--gold-ink); margin-top: 2em; }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: .7em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: .45em; }
.prose ul li::marker { color: var(--gold); }
.prose strong { color: var(--text); font-weight: 560; }
.prose a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: .22em; }
.prose a.btn { color: var(--fg); text-decoration: none; }
.prose a.btn:not(.btn--ghost):hover, .prose a.btn:not(.btn--ghost):focus-visible { color: var(--ink); }
.prose a.link { color: inherit; text-decoration: none; }
.on-dark .prose a:not(.btn):not(.link) { color: var(--text-inv); }
.prose .eyebrow { margin-bottom: -.2rem; }
.prose blockquote { border-left: 2px solid var(--gold); padding: .2em 0 .2em 1.4em; font-family: var(--f-display); font-size: 1.5rem; line-height: 1.35; color: var(--text); font-style: italic; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: .7em .6em; text-align: left; vertical-align: top; }
.on-dark .prose { color: var(--muted-inv); }
.on-dark .prose h2, .on-dark .prose h3, .on-dark .prose strong { color: var(--text-inv); }

/* view transitions between pages (progressive) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .38s var(--ease-io) both; }
::view-transition-new(root) { animation: vt-in .6s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-12px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(18px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* 03-chrome.css */
/* ==========================================================================
   Header, mega menu, mobile nav, action bar, footer, books band
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  color: var(--ink);
  transition: transform .6s var(--ease-out), background-color .45s ease, color .45s ease, box-shadow .45s ease;
}
.site-header::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: rgba(247, 242, 234, .84); backdrop-filter: blur(16px) saturate(1.15); -webkit-backdrop-filter: blur(16px) saturate(1.15);
  border-bottom: 1px solid var(--line); transition: opacity .45s ease;
}
.site-header.is-scrolled::before, .site-header.is-open::before { opacity: 1; }
.site-header.is-hidden { transform: translateY(-101%); }
.site-header.is-open { color: var(--text-inv); }
.site-header.is-open::before { background: var(--ink); border-color: var(--line-inv); }
.site-header.is-open .logo .wm { fill: var(--text-inv); }
.site-header.is-open .burger { border-color: rgba(244,238,228,.4); }
[data-header='inv'] .site-header:not(.is-scrolled):not(.is-open) { color: var(--text-inv); }
[data-header='inv'] .site-header:not(.is-scrolled):not(.is-open) .logo .wm { fill: var(--text-inv); }
[data-header='inv'] .site-header:not(.is-scrolled):not(.is-open) .btn { --bg: var(--linen); --fg: var(--ink); --bd: var(--linen); --fill: var(--gold-soft); }

.site-header__inner { height: 100%; display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.5rem); }
.logo { display: block; flex: none; width: clamp(128px, 11vw, 168px); }
.logo svg { width: 100%; height: auto; overflow: visible; }
.logo .wm { transition: fill .45s ease; }

.nav { margin-left: auto; display: flex; align-items: center; height: 100%; }
.nav__list { display: flex; align-items: center; gap: clamp(.4rem, 1.4vw, 1.6rem); height: 100%; list-style: none; margin: 0; padding: 0; }
.nav__item { height: 100%; display: flex; align-items: center; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: .35em; padding: .5rem .2rem;
  font-size: .93rem; font-weight: 440; letter-spacing: .02em;
}
.nav__link::after { content: ''; position: absolute; left: .2rem; right: .2rem; bottom: .2rem; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out); }
.nav__link:hover::after, .nav__link[aria-expanded='true']::after, .nav__link[aria-current='page']::after { transform: scaleX(1); }
.nav__link .chev { width: .7em; height: .7em; transition: transform .4s var(--ease-out); }
.nav__link[aria-expanded='true'] .chev { transform: rotate(180deg); }
.site-header__actions { display: flex; align-items: center; gap: 1.1rem; }
.site-header__phone { font-size: .9rem; font-weight: 460; letter-spacing: .02em; white-space: nowrap; }
.site-header__phone small { display: block; font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 520; }
[data-header='inv'] .site-header:not(.is-scrolled):not(.is-open) .site-header__phone small { color: var(--muted-inv); }

/* mega menu */
.mega {
  position: absolute; left: 0; right: 0; top: 100%; z-index: -2;
  max-height: calc(100vh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain;
  background: var(--linen); border-bottom: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(10,26,44,.35);
  color: var(--ink);
  opacity: 0; visibility: hidden; transform: translateY(-10px); clip-path: inset(0 0 100% 0);
  transition: opacity .35s ease, transform .6s var(--ease-out), clip-path .7s var(--ease-out), visibility 0s linear .7s;
}
.mega.is-open { opacity: 1; visibility: visible; transform: none; clip-path: inset(0 0 0 0); transition: opacity .35s ease, transform .6s var(--ease-out), clip-path .7s var(--ease-out), visibility 0s; }
.mega__inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.35fr); gap: clamp(1.25rem, 2.5vw, 3rem); padding-block: 2.6rem 3rem; }
.mega__group h3, .mega__label { font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-ink); font-weight: 560; margin-bottom: 1.1rem; padding-bottom: .9rem; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: .6em; }
.mega__group h3 i, .mega__label i { width: 7px; height: 7px; border-radius: 50%; background: var(--c, var(--gold)); }
.mega__group ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .2rem; }
.mega__group a { display: block; padding: .55rem 0; transition: transform .45s var(--ease-out); }
.mega__group a:hover { transform: translateX(6px); }
.mega__group a strong { display: block; font-family: var(--f-display); font-weight: 420; font-size: 1.32rem; line-height: 1.15; }
.mega__group a span { display: block; font-size: .8rem; line-height: 1.45; color: var(--muted); margin-top: .15rem; }
.mega__feature { position: relative; border-radius: var(--r-md); overflow: hidden; background: var(--ink); color: var(--text-inv); padding: 1.75rem; display: flex; flex-direction: column; justify-content: flex-end; min-height: 330px; isolation: isolate; }
.mega__feature .media { position: absolute; inset: 0; z-index: -1; border-radius: 0; }
.mega__feature .media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,26,44,.1), rgba(10,26,44,.78) 50%, rgba(10,26,44,.9)); }
.mega__feature p { font-family: var(--f-display); font-size: 1.7rem; line-height: 1.08; margin: .6rem 0 1rem; }
.mega__feature ul { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; gap: .45rem; font-size: .88rem; }
.mega__feature ul a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-bottom: 1px solid var(--line-inv); padding: .55rem 0; transition: color .3s; }
.mega__feature ul a:hover { color: var(--gold-soft); }
.mega__feature ul svg { width: 16px; height: 16px; flex: none; }
.mega__feature .eyebrow { color: var(--gold-soft); }
.mega__feature p { color: var(--text-inv); }
.mega__foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); }

/* hamburger */
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); position: relative; flex: none; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; transition: transform .5s var(--ease-out), top .5s var(--ease-out); }
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 26px; }
.is-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.is-open .burger span:nth-child(2) { top: 22px; transform: rotate(-45deg); }
[data-header='inv'] .site-header:not(.is-scrolled):not(.is-open) .burger { border-color: rgba(244,238,228,.4); }

/* mobile nav */
.mnav {
  position: fixed; inset: 0; z-index: 90; background: var(--ink); color: var(--text-inv);
  padding: calc(var(--header-h) + 1.5rem) var(--gutter) 2rem; overflow-y: auto; overscroll-behavior: contain;
  display: flex; flex-direction: column; gap: 2rem;
  clip-path: circle(0% at calc(100% - 46px) 36px); visibility: hidden;
  transition: clip-path .8s var(--ease-io), visibility 0s linear .8s;
}
.mnav.is-open { clip-path: circle(150% at calc(100% - 46px) 36px); visibility: visible; transition: clip-path .9s var(--ease-io), visibility 0s; }
.mnav__list { list-style: none; margin: 0; padding: 0; display: grid; }
.mnav__list > li { border-bottom: 1px solid var(--line-inv); }
.mnav__list > li > a, .mnav__list summary { display: flex; justify-content: space-between; align-items: center; padding: .85rem 0; font-family: var(--f-display); font-size: clamp(2rem, 8vw, 2.8rem); line-height: 1.1; font-weight: 340; cursor: pointer; list-style: none; }
.mnav__list summary::-webkit-details-marker { display: none; }
.mnav__list summary svg, .mnav__list > li > a svg { width: 22px; height: 22px; transition: transform .4s var(--ease-out); }
.mnav__list details[open] summary svg { transform: rotate(45deg); }
.mnav__sub { padding: 0 0 1.2rem; display: grid; gap: 1rem; }
.mnav__sub h4, .mnav__label { font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-soft); font-weight: 560; margin-bottom: .3rem; }
.mnav__sub a { display: block; padding: .3rem 0; color: var(--muted-inv); font-size: 1.02rem; }
.mnav__foot { margin-top: auto; display: grid; gap: 1rem; }
.mnav__foot .status { color: var(--muted-inv); }
.mnav .mnav__list > li { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .8s var(--ease-out); }
.mnav.is-open .mnav__list > li { opacity: 1; transform: none; }
.mnav.is-open .mnav__list > li:nth-child(2) { transition-delay: .06s; }
.mnav.is-open .mnav__list > li:nth-child(3) { transition-delay: .12s; }
.mnav.is-open .mnav__list > li:nth-child(4) { transition-delay: .18s; }
.mnav.is-open .mnav__list > li:nth-child(5) { transition-delay: .24s; }
.mnav.is-open .mnav__list > li:nth-child(6) { transition-delay: .3s; }

@media (max-width: 1100px) {
  .nav, .site-header__phone { display: none; }
  .burger { display: block; }
  .site-header__actions { margin-left: auto; }
}
@media (max-width: 560px) { .site-header__actions .btn { display: none; } }

/* mobile action bar */
.mbar {
  position: fixed; left: .6rem; right: .6rem; bottom: max(.6rem, env(safe-area-inset-bottom)); z-index: 80;
  display: none; grid-template-columns: 1fr 1.6fr; gap: .5rem; padding: .45rem; border-radius: 999px;
  background: rgba(10, 26, 44, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px -12px rgba(10, 26, 44, .5);
  transform: translateY(140%); transition: transform .6s var(--ease-out);
}
.mbar.is-visible { transform: none; }
.mbar .btn { min-height: 48px; padding: 0 1rem; font-size: .7rem; }
@media (max-width: 760px) { .mbar { display: grid; } }

/* scroll progress ring */
.progress {
  position: fixed; right: clamp(.8rem, 2vw, 1.6rem); bottom: clamp(.8rem, 2vw, 1.6rem); z-index: 70;
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(247,242,234,.8); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line); color: var(--ink);
  opacity: 0; transform: scale(.8); transition: opacity .4s ease, transform .5s var(--ease-out);
}
.progress.is-visible { opacity: 1; transform: none; }
.progress svg { position: absolute; inset: 3px; width: calc(100% - 6px); height: calc(100% - 6px); transform: rotate(-90deg); }
.progress circle { fill: none; stroke-width: 1.5; }
.progress .track { stroke: var(--line); }
.progress .bar { stroke: var(--gold); stroke-dasharray: 1; stroke-dashoffset: 1; }
.progress .arrow { width: 16px; height: 16px; }
@media (max-width: 760px) { .progress { display: none; } }

/* cursor bubble (fine pointers) */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 120; pointer-events: none;
  width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink); color: var(--text-inv);
  font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 560;
  transform: scale(0); opacity: 0; transition: transform .45s var(--ease-out), opacity .3s ease;
}
.cursor.is-on { transform: scale(1); opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Books band (site-wide, before footer) ---------- */
.books { background: var(--linen-2); overflow: hidden; }
.books__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 2rem); margin-top: clamp(2.5rem, 5vw, 4.5rem); }
.book-card {
  position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.25rem, 3vw, 3rem); align-items: center;
  padding: clamp(1.5rem, 3.5vw, 3.25rem); border-radius: var(--r-lg); background: var(--linen); border: 1px solid var(--line);
}
.book-card--dark { background: var(--ink); color: var(--text-inv); border-color: transparent; }
.book-card h3 { font-family: var(--f-display); font-weight: 360; font-size: var(--t-d3); line-height: 1.02; }
.book-card .eyebrow { margin-bottom: .9rem; }
.book-card p { margin-top: .9rem; color: var(--text-2); font-size: .98rem; }
.book-card--dark p { color: var(--muted-inv); }
.book-card .btns { margin-top: 1.5rem; }
.book-form { display: grid; gap: .6rem; margin-top: 1.4rem; }
.book-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.book-form .note { font-size: .78rem; color: var(--muted); }

/* 3D book */
.book3d { perspective: 1400px; display: grid; place-items: center; padding-block: 1rem; }
.book3d__obj {
  position: relative; width: min(100%, 230px); aspect-ratio: 2 / 3; transform-style: preserve-3d;
  transform: rotateY(-24deg) rotateX(4deg); transition: transform .9s var(--ease-out);
}
.book-card:hover .book3d__obj { transform: rotateY(-8deg) rotateX(2deg) translateY(-6px); }
.book3d__front, .book3d__back { position: absolute; inset: 0; border-radius: 2px 6px 6px 2px; overflow: hidden; backface-visibility: hidden; }
.book3d__front { transform: translateZ(14px); box-shadow: inset 4px 0 8px -4px rgba(0,0,0,.4); }
.book3d__front img { width: 100%; height: 100%; object-fit: cover; }
.book3d__back { transform: translateZ(-14px) rotateY(180deg); background: var(--ink-2); }
.book3d__spine { position: absolute; top: 0; bottom: 0; left: 0; width: 28px; transform: rotateY(-90deg) translateZ(14px) translateX(-14px); transform-origin: left; background: linear-gradient(90deg, #0d1f33, #1d3550); }
.book3d__pages { position: absolute; top: 3px; bottom: 3px; right: 0; width: 26px; transform: rotateY(90deg) translateZ(-2px) translateX(13px); transform-origin: right; background: repeating-linear-gradient(90deg, #f3ece0 0 1px, #e3d9c8 1px 2px); }
.book3d__shadow { position: absolute; left: 6%; right: -6%; bottom: -12px; height: 26px; background: radial-gradient(ellipse at center, rgba(10,26,44,.38), transparent 70%); filter: blur(6px); transform: translateZ(-30px); }
/* typographic cover fallback */
.cover-type { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 12% 10%; background: linear-gradient(160deg, #10263f, #0a1a2c 70%); color: var(--text-inv); }
.cover-type strong { font-family: var(--f-display); font-weight: 400; font-size: 1.65rem; line-height: 1; }
.cover-type em { font-family: var(--f-display); font-size: .95rem; color: var(--gold-soft); }
.cover-type span { font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted-inv); }
@media (max-width: 1000px) { .books__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .book-card { grid-template-columns: 1fr; } .book3d__obj { width: 170px; } .book-form .row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--ink); color: var(--text-inv); overflow: hidden; isolation: isolate; }
.site-footer__cta { padding-block: clamp(5rem, 10vw, 9rem) clamp(3.5rem, 6vw, 5.5rem); display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 2rem; align-items: end; border-bottom: 1px solid var(--line-inv); }
.site-footer__cta .h1 { max-width: 12ch; }
.site-footer__cta .btns { justify-content: flex-end; }
.site-footer__mark { position: absolute; right: -8vw; top: -6vw; width: min(58vw, 820px); opacity: .07; z-index: -1; pointer-events: none; }
.site-footer__cols { display: grid; grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); padding-block: clamp(3rem, 6vw, 5rem); }
.site-footer h3, .site-footer__h { display: block; font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-soft); font-weight: 560; margin-bottom: 1.1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; font-size: .93rem; color: var(--muted-inv); }
.site-footer ul a { transition: color .3s; }
.site-footer ul a:hover { color: var(--text-inv); }
.site-footer address { font-style: normal; font-size: .93rem; color: var(--muted-inv); line-height: 1.6; }
.site-footer address strong { color: var(--text-inv); font-weight: 480; display: block; margin-bottom: .2rem; }
.site-footer address + address { margin-top: 1.2rem; }
.site-footer__brand p { color: var(--muted-inv); font-size: .95rem; max-width: 30ch; margin-top: 1.2rem; }
.site-footer__brand .logo { width: 170px; }
.site-footer__social { display: flex; gap: .6rem; margin-top: 1.4rem; }
.site-footer__social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-inv); display: grid; place-items: center; transition: background .3s, color .3s; }
.site-footer__social a:hover { background: var(--linen); color: var(--ink); }
.site-footer__social svg { width: 17px; height: 17px; }
.site-footer__compliance { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; padding-block: 2.2rem; border-top: 1px solid var(--line-inv); }
.seals { display: flex; align-items: center; gap: 1rem; }
.seals a, .seals span { display: block; background: #fff; border-radius: 8px; padding: 6px; }
.seals img { height: 74px; width: auto; }
.disclaimer { font-size: .72rem; line-height: 1.7; letter-spacing: .04em; color: rgba(244,238,228,.55); }
.disclaimer p + p { margin-top: .6rem; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.6rem 2.2rem; border-top: 1px solid var(--line-inv); font-size: .8rem; color: rgba(244,238,228,.55); }
.site-footer__bottom ul { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; font-size: .8rem; }
/* Nov 11: agency credit, as on Local Howl's other client sites: its own quiet line under the copyright row */
.site-footer__credit { flex-basis: 100%; margin: 0; font-size: .76rem; letter-spacing: .04em; }
.site-footer__credit a { color: rgba(244, 238, 228, .82); text-decoration: underline; text-decoration-color: rgba(244, 238, 228, .35); text-underline-offset: .22em; transition: color .3s, text-decoration-color .3s; }
.site-footer__credit a:hover { color: var(--text-inv); text-decoration-color: var(--gold-soft); }
@media (max-width: 1100px) { .site-footer__cols { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 760px) {
  .site-footer__cta { grid-template-columns: 1fr; }
  .site-footer__cta .btns { justify-content: flex-start; }
  .site-footer__compliance { grid-template-columns: 1fr; }
  .site-footer { padding-bottom: 5.5rem; }
}
@media (max-width: 480px) { .site-footer__cols { grid-template-columns: 1fr; } }

/* Nov 9: certification seals sit together in the footer */
.site-footer__seals { display: flex; align-items: center; gap: 1rem; }
.site-footer__seals img { display: block; }
.site-footer__seals .seal-evexipel img, .site-footer__seals .seal-hyagen img { width: 76px; height: 76px; object-fit: contain; }
@media (max-width: 420px) { .site-footer__seals { gap: .6rem; } .site-footer__seals img, .site-footer__seals .seal-evexipel img, .site-footer__seals .seal-hyagen img { height: 64px; width: auto; } .site-footer__seals .seal-evexipel img, .site-footer__seals .seal-hyagen img { width: 64px; } }

/* 04-home.css */
/* ==========================================================================
   Home page sections
   ========================================================================== */

/* ---------- Preloader ---------- */
.loader { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: var(--ink); color: var(--text-inv); cursor: pointer; }
.loader__inner { display: grid; justify-items: center; gap: 1.4rem; }
.loader__mark { width: clamp(88px, 12vw, 132px); overflow: visible; }
.loader__word { font-family: var(--f-sans); font-size: .72rem; letter-spacing: .5em; text-transform: uppercase; color: var(--gold-soft); padding-left: .5em; }
.loader__count { position: absolute; left: var(--gutter); bottom: 2rem; font-family: var(--f-display); font-style: italic; font-size: 1.1rem; color: var(--muted-inv); }
html:not(.js-loader) .loader { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; padding-top: calc(var(--header-h) + clamp(1.5rem, 4vw, 3.5rem)); padding-bottom: clamp(2.5rem, 5vw, 5rem); display: grid; align-items: center; overflow: hidden; isolation: isolate; }
.hero__grid { align-items: center; row-gap: 3rem; }
.hero__copy { grid-column: 1 / span 7; position: relative; z-index: 2; }
.hero__visual { grid-column: 8 / span 5; position: relative; }
.hero__title { display: grid; gap: clamp(1.1rem, 2vw, 1.8rem); font-weight: inherit; }
.hero__seo { display: flex; align-items: center; gap: .8em; font-family: var(--f-sans); font-size: var(--t-micro); font-weight: 540; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-ink); line-height: 1.5; }
.hero__seo .glyph { width: 1.5em; height: 1.5em; flex: none; }
.hero__display { display: block; }
.hero__display .line { display: block; }
.hero__lede { margin-top: clamp(1.4rem, 2.5vw, 2rem); max-width: 47ch; }
.hero__ctas { margin-top: clamp(1.8rem, 3vw, 2.6rem); }
.hero__trust { margin-top: clamp(2rem, 4vw, 3.4rem); display: flex; flex-wrap: wrap; gap: .8rem 1.6rem; align-items: center; font-size: .84rem; color: var(--muted); }
.hero__trust li { display: flex; align-items: center; gap: .55rem; }
.hero__trust svg { width: 18px; height: 18px; color: var(--gold); flex: none; }
.hero__sun { position: absolute; z-index: -1; width: min(70vw, 980px); aspect-ratio: 1; right: -16vw; top: 50%; translate: 0 -50%; border-radius: 50%; background: radial-gradient(circle at 40% 40%, rgba(232, 220, 203, .95), rgba(232, 220, 203, .35) 55%, transparent 70%); }
.hero__arch { position: relative; aspect-ratio: 4 / 5.25; border-radius: var(--arch); overflow: hidden; background: var(--sand); box-shadow: var(--shadow-2); }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero__orbit { position: absolute; inset: -9% -11%; width: 122%; height: 118%; pointer-events: none; overflow: visible; }
.hero__orbit .ring { fill: none; stroke-width: 1.2; stroke-linecap: round; }
.hero__card {
  position: absolute; left: -14%; bottom: 9%; z-index: 3; width: min(300px, 76%);
  padding: 1.2rem 1.35rem; border-radius: var(--r-md);
  background: rgba(253, 251, 247, .82); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border: 1px solid rgba(255,255,255,.7); box-shadow: var(--shadow-2);
}
.hero__card strong { display: block; font-family: var(--f-display); font-size: 1.32rem; font-weight: 440; line-height: 1.15; margin-top: .55rem; }
.hero__card span.addr { display: block; font-size: .82rem; color: var(--text-2); margin-top: .2rem; }
.hero__meta { position: absolute; right: -2.6rem; top: 12%; bottom: 12%; display: flex; flex-direction: column; align-items: center; gap: .8rem; font-size: .7rem; letter-spacing: .18em; color: var(--muted); }
.hero__meta .bar { flex: 1; width: 1px; background: var(--line); position: relative; overflow: hidden; }
.hero__meta .bar i { position: absolute; left: 0; top: 0; width: 100%; height: 0; background: var(--gold); }
.hero__scroll { position: absolute; left: 50%; bottom: 1.4rem; translate: -50% 0; display: grid; justify-items: center; gap: .5rem; font-size: .64rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.hero__scroll i { width: 1px; height: 38px; background: linear-gradient(var(--gold), transparent); animation: drip 2.4s var(--ease-io) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 1000px) {
  .hero { min-height: auto; }
  .hero__copy, .hero__visual { grid-column: 1 / -1; }
  .hero__visual { max-width: 520px; width: 88%; margin-inline: auto; }
  .hero__meta, .hero__scroll { display: none; }
  .hero__card { left: -6%; bottom: 6%; }
  .hero__sun { right: -40vw; top: 70%; width: 120vw; }
}

/* ---------- Marquee ---------- */
.marquee { background: var(--navy); color: var(--text-inv); overflow: hidden; padding-block: 1.25rem; border-block: 1px solid rgba(211,187,143,.18); }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 2.6rem; padding-right: 2.6rem; }
.marquee__item { font-family: var(--f-display); font-style: italic; font-size: clamp(1.3rem, 1rem + 1vw, 1.9rem); font-weight: 340; white-space: nowrap; }
.marquee__sep { width: 22px; height: 22px; flex: none; opacity: .9; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Manifesto ---------- */
.manifesto { overflow: hidden; }
.manifesto__grid { align-items: start; row-gap: 2.5rem; }
.manifesto__aside { grid-column: 1 / span 3; display: grid; gap: 1.6rem; position: sticky; top: calc(var(--header-h) + 2rem); }
.manifesto__mark { width: clamp(90px, 9vw, 140px); }
.manifesto__text { grid-column: 4 / span 9; font-family: var(--f-display); font-weight: 320; font-size: clamp(2rem, 1.2rem + 3.1vw, 4.35rem); line-height: 1.08; letter-spacing: -.012em; }
.manifesto__text em { font-style: italic; color: var(--gold-soft); }
.manifesto__text .word { display: inline-block; }
.manifesto__sign { grid-column: 4 / span 9; display: flex; flex-wrap: wrap; gap: 1.2rem 2.4rem; align-items: center; padding-top: 2.5rem; border-top: 1px solid var(--line-inv); color: var(--muted-inv); font-size: .95rem; }
@media (max-width: 900px) { .manifesto__aside, .manifesto__text, .manifesto__sign { grid-column: 1 / -1; position: static; } .manifesto__aside { grid-template-columns: auto 1fr; align-items: center; } }

/* ---------- Fusion (signature scroll sequence) ---------- */
.fusion { position: relative; background: var(--linen); }
.fusion__stage { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; padding-top: calc(var(--header-h) + 5.5rem); padding-bottom: 2rem; }
.fusion__head { position: absolute; top: calc(var(--header-h) + 1.4rem); left: 0; right: 0; text-align: center; z-index: 2; }
.fusion__mark { position: relative; width: min(40vh, 30vw, 400px); aspect-ratio: 1; }
.fusion__mark svg { width: 100%; height: 100%; overflow: visible; }
.fusion__mark .c { transform-box: fill-box; transform-origin: center; }
.fusion__rings { position: absolute; inset: -32%; width: 164%; height: 164%; pointer-events: none; }
.fusion__rings circle { fill: none; stroke: var(--line-strong); stroke-width: .6; stroke-dasharray: 2 6; }
.fusion__pillar { position: absolute; width: min(330px, 28vw); z-index: 2; }
.fusion__pillar[data-p='1'] { left: var(--gutter); top: 30%; }
.fusion__pillar[data-p='2'] { right: var(--gutter); top: 24%; text-align: right; }
.fusion__pillar[data-p='3'] { right: calc(var(--gutter) + 4vw); bottom: 10%; text-align: right; }
.fusion__pillar .num { font-family: var(--f-display); font-style: italic; font-size: 1.05rem; color: color-mix(in srgb, var(--c) 62%, var(--ink)); display: flex; gap: .6rem; align-items: center; }
.fusion__pillar[data-p='2'] .num, .fusion__pillar[data-p='3'] .num { justify-content: flex-end; }
.fusion__pillar .num::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.fusion__pillar h3 { font-family: var(--f-display); font-weight: 360; font-size: var(--t-d3); line-height: 1; margin: .5rem 0 .8rem; }
.fusion__pillar p { font-size: .98rem; color: var(--text-2); line-height: 1.6; }
.fusion__final { position: absolute; left: 0; right: 0; bottom: clamp(2.5rem, 7vh, 5rem); text-align: center; z-index: 2; padding-inline: var(--gutter); }
.fusion__final p { max-width: 54ch; margin: 1rem auto 0; color: var(--text-2); }
.fusion__final .h2 { max-width: 18ch; margin-inline: auto; }
/* static (no-motion / mobile) layout */
.fusion--static .fusion__stage { min-height: 0; display: block; padding-block: var(--section); text-align: center; }
.fusion--static .fusion__head, .fusion--static .fusion__final { position: static; }
.fusion--static .fusion__mark { width: min(220px, 52vw); margin: 2.5rem auto; }
.fusion--static .fusion__rings { display: none; }
.fusion--static .fusion__pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 2rem); padding-inline: var(--gutter); max-width: var(--max); margin: 0 auto 3rem; }
.fusion--static .fusion__pillar { position: static; width: auto; text-align: left !important; padding: 1.75rem; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); }
.fusion--static .fusion__pillar .num { justify-content: flex-start !important; }
@media (max-width: 900px) { .fusion--static .fusion__pillars { grid-template-columns: 1fr; } }

/* ---------- Services index ---------- */
.svc-index { position: relative; }
.tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: clamp(2rem, 4vw, 3rem); }
.tab { padding: .7rem 1.15rem; border-radius: 999px; border: 1px solid var(--line); font-size: .82rem; font-weight: 480; letter-spacing: .03em; color: var(--text-2); transition: background .35s, color .35s, border-color .35s; display: inline-flex; align-items: center; gap: .55em; }
.tab i { width: 7px; height: 7px; border-radius: 50%; background: var(--c, var(--gold)); }
.tab[aria-selected='true'], .tab[aria-pressed='true'], .tab:hover { background: var(--ink); color: var(--text-inv); border-color: var(--ink); }
.svc-list { list-style: none; margin: clamp(1.8rem, 3vw, 2.6rem) 0 0; padding: 0; border-bottom: 1px solid var(--line); }
.svc-row { border-top: 1px solid var(--line); transition: opacity .4s ease; }
.svc-row[hidden] { display: none; }
.svc-row a { position: relative; display: grid; grid-template-columns: 4.5rem minmax(0, 1.25fr) minmax(0, 1fr) 3rem; gap: 1.5rem; align-items: center; padding: clamp(1.25rem, 2.2vw, 2rem) 0; }
.svc-row .n { font-family: var(--f-display); font-style: italic; font-size: 1.05rem; color: var(--muted); }
.svc-row .name { font-family: var(--f-display); font-weight: 360; font-size: clamp(1.75rem, 1.2rem + 1.9vw, 3.1rem); line-height: 1.02; transition: transform .7s var(--ease-out), color .4s; }
.svc-row .name small { display: block; font-family: var(--f-sans); font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-ink); margin-top: .45rem; font-weight: 540; }
.svc-row .desc { font-size: .96rem; color: var(--muted); line-height: 1.55; max-width: 42ch; }
.svc-row .go { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; justify-self: end; transition: background .4s, color .4s, transform .6s var(--ease-out); }
.svc-row .go svg { width: 18px; height: 18px; }
.svc-row a:hover .name { transform: translateX(14px); }
.svc-row a:hover .go { background: var(--ink); color: var(--text-inv); transform: rotate(-45deg); }
.svc-list:hover .svc-row:not(:hover) { opacity: .45; }
.svc-row .thumb { display: none; }
.svc-preview { position: fixed; left: 0; top: 0; z-index: 60; width: 260px; aspect-ratio: 3 / 4; border-radius: var(--arch); overflow: hidden; pointer-events: none; opacity: 0; transform: scale(.85); transition: opacity .35s ease, transform .5s var(--ease-out); box-shadow: var(--shadow-2); background: var(--sand); }
.svc-preview.is-on { opacity: 1; transform: scale(1); }
.svc-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s ease; }
.svc-preview img.is-on { opacity: 1; }
@media (hover: none), (pointer: coarse) { .svc-preview { display: none; } }
@media (max-width: 860px) {
  .svc-row a { grid-template-columns: 64px minmax(0, 1fr) 40px; gap: 1rem; }
  .svc-row .n, .svc-row .desc { display: none; }
  .svc-row .thumb { display: block; width: 64px; aspect-ratio: 3/4; border-radius: var(--arch); overflow: hidden; }
  .svc-row .thumb img { width: 100%; height: 100%; object-fit: cover; }
  .svc-row .go { width: 40px; height: 40px; }
  .svc-list:hover .svc-row:not(:hover) { opacity: 1; }
}

/* ---------- Signature protocols (horizontal) ---------- */
.protocols { position: relative; background: var(--ink); color: var(--text-inv); }
.protocols__track { display: block; }
.protocols__panel { position: relative; width: 100%; min-height: 100svh; display: grid; align-items: center; padding: calc(var(--header-h) + 2rem) var(--gutter) 3.5rem; overflow: hidden; isolation: isolate; }
.protocols__panel > .inner { transform-origin: 50% 0; will-change: transform; }
@media (min-width: 1024px) and (min-height: 640px) {
  .protocols:not(.protocols--stacked) .protocols__panel { position: sticky; top: 0; height: 100svh; }
  .protocols:not(.protocols--stacked) .protocols__panel + .protocols__panel { box-shadow: 0 -30px 80px -20px rgba(0,0,0,.55); }
  /* the last panel is never covered by another, so it may grow past the screen instead of clipping its button and legal line
     (Nov 13 2026: the longer Profile Elite 'Coming soon' tile hid them at 1280x800 and 1024x768) */
  .protocols:not(.protocols--stacked) article.protocols__panel:last-of-type { height: auto; }
}
.protocols__panel > .inner { width: 100%; max-width: var(--max); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .62fr) minmax(0, 1fr); gap: clamp(1.5rem, 3.6vw, 4.5rem); align-items: center; }
.pp__photo { position: relative; aspect-ratio: 3 / 4.2; max-height: 64vh; border-radius: var(--arch); overflow: hidden; width: 100%; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.pp__photo picture, .pp__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pp--intro { background: var(--ink); }
.pp--intro .inner { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: end; }
.pp__index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-inv); }
.pp__index li { display: grid; grid-template-columns: 3.2rem 1fr auto; gap: 1rem; align-items: center; padding: 1.3rem 0; border-bottom: 1px solid var(--line-inv); }
.pp__index .n { font-family: var(--f-display); font-style: italic; color: var(--gold-soft); }
.pp__index strong { font-family: var(--f-display); font-weight: 340; font-size: 1.7rem; letter-spacing: .14em; }
.pp__index span.k { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-inv); }
.pp__index svg { width: 34px; height: 34px; }
@media (max-width: 900px) { .pp--intro .inner { grid-template-columns: 1fr; } }
.pp--intro .h1 { max-width: 14ch; }
.pp--intro .lead { margin-top: 1.6rem; }
.pp--intro .hint { margin-top: 2.6rem; display: inline-flex; align-items: center; gap: 1rem; font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-soft); }
.pp--intro .hint i { width: 60px; height: 1px; background: currentColor; position: relative; }
.pp--intro .hint i::after { content: ''; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid; border-right: 1px solid; transform: rotate(45deg); }
.pp--lumara { background: radial-gradient(120% 90% at 85% 10%, #2a221d 0%, var(--lumara-night) 60%); --accent: var(--lumara-gold); --accent-2: var(--lumara-sage); }
.pp--aurelion { background: radial-gradient(110% 90% at 15% 20%, #6f8f70 0%, var(--aurelion-green) 35%, var(--aurelion-deep) 100%); --accent: #e2c27f; --accent-2: #f1e3c2; }
.pp--elite { background: radial-gradient(120% 90% at 80% 80%, #354b63 0%, var(--elite-navy) 55%, #1c2a3a 100%); --accent: #e09a74; --accent-2: #d8c39a; }
.pp__brand { display: grid; gap: 1.5rem; justify-items: start; }
.pp__mark { width: clamp(84px, 9vw, 128px); overflow: visible; }
.pp__word { font-family: var(--f-display); font-weight: 300; font-size: clamp(2.4rem, 1.2rem + 3vw, 4.6rem); letter-spacing: .2em; line-height: .95; margin-right: -.2em; }
.pp__brand { min-width: 0; }
.pp__word .tm { font-size: .22em; letter-spacing: 0; color: var(--accent); vertical-align: top; position: relative; top: .3em; }
.pp__sub { font-size: .72rem; letter-spacing: .42em; text-transform: uppercase; color: var(--accent); padding-top: .9rem; border-top: 1px solid rgba(255,255,255,.18); min-width: 60%; }
.pp__tag { font-family: var(--f-display); font-style: italic; font-size: clamp(1.4rem, 1rem + 1.2vw, 2.1rem); color: var(--accent-2); line-height: 1.2; }
.pp__body { display: grid; gap: 1.6rem; }
.pp__body p { color: rgba(244,238,228,.78); font-size: 1.02rem; max-width: 52ch; }
.pp__facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-md); overflow: hidden; }
.pp__facts li { background: rgba(10, 10, 10, .14); padding: 1.1rem 1.2rem; font-size: .9rem; line-height: 1.45; color: rgba(244,238,228,.84); }
.pp__facts li b { display: block; font-family: var(--f-display); font-weight: 420; font-size: 1.25rem; color: var(--text-inv); margin-bottom: .25rem; }
.pp__legal { font-size: .72rem; color: rgba(244,238,228,.5); letter-spacing: .02em; }
.pp__count { position: absolute; left: var(--gutter); bottom: 1.8rem; font-family: var(--f-display); font-style: italic; color: var(--muted-inv); }
.protocols__progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 1.4rem; height: 1px; background: rgba(255,255,255,.14); z-index: 3; }
.protocols__progress i { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: var(--gold-soft); }
.protocols--stacked .protocols__panel { min-height: 0; padding-block: var(--section-sm); }
.protocols__progress { display: none; }
@media (max-width: 900px) {
  .protocols__panel > .inner { grid-template-columns: 1fr; }
  .pp__photo { justify-self: start; width: min(100%, 340px); max-height: none; order: 3; }
  .pp__facts { grid-template-columns: 1fr; }
}

/* ---------- Technology ---------- */
.tech__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 2rem); margin-top: clamp(2.5rem, 5vw, 4rem); }
.tech-card { position: relative; padding: clamp(1.75rem, 3.5vw, 3.25rem); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); display: grid; gap: 1.2rem; align-content: start; overflow: hidden; isolation: isolate; transition: transform .7s var(--ease-out), box-shadow .7s var(--ease-out); }
.tech-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.tech-card__badge { display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .85rem; border-radius: 999px; background: var(--linen-2); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 560; color: var(--olive-deep); width: fit-content; }
.tech-card__badge svg { width: 14px; height: 14px; }
.tech-card h3 { font-family: var(--f-display); font-weight: 360; font-size: var(--t-d2); line-height: .98; }
.tech-card p { color: var(--text-2); }
.tech-card blockquote { margin: 0; padding: 1.1rem 1.25rem; border-left: 2px solid var(--gold); background: var(--linen); font-size: .95rem; color: var(--text); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.tech-card blockquote cite { display: block; margin-top: .6rem; font-style: normal; font-size: .74rem; letter-spacing: .06em; color: var(--muted); }
.tech-card .ring { position: absolute; right: -90px; top: -90px; width: 280px; height: 280px; z-index: -1; opacity: .5; }
.tech__note { margin-top: 1.4rem; font-size: .78rem; color: var(--muted); }
@media (max-width: 900px) { .tech__grid { grid-template-columns: 1fr; } }

/* ---------- Journey ---------- */
.journey__list { position: relative; list-style: none; margin: clamp(3rem, 6vw, 5rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.25rem, 2.5vw, 2.5rem); }
.journey__path { position: absolute; left: 0; right: 0; top: 0; height: 120px; width: 100%; pointer-events: none; overflow: visible; }
.journey__path path { fill: none; stroke: var(--gold); stroke-width: 1.2; stroke-dasharray: 3 6; }
.journey__step { position: relative; padding-top: 7.5rem; }
.journey__dot { position: absolute; top: 0; left: 0; width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: var(--linen); border: 1px solid var(--line-strong); font-family: var(--f-display); font-style: italic; font-size: 1.7rem; color: var(--gold-ink); }
.journey__step:nth-child(odd) .journey__dot { top: 26px; }
.journey__step h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.8rem; line-height: 1.08; }
.journey__step p { margin-top: .8rem; color: var(--text-2); font-size: .98rem; }
@media (max-width: 1000px) {
  .journey__list { grid-template-columns: 1fr 1fr; row-gap: 3rem; }
  .journey__path { display: none; }
  .journey__step { padding-top: 6.2rem; }
  .journey__step:nth-child(odd) .journey__dot { top: 0; }
}
@media (max-width: 560px) { .journey__list { grid-template-columns: 1fr; } .journey__step { padding: 0 0 0 5.5rem; min-height: 72px; } .journey__dot { width: 64px; height: 64px; font-size: 1.35rem; } }

/* ---------- Space gallery ---------- */
.space { overflow: hidden; }
.space__rail { display: flex; gap: clamp(.8rem, 1.6vw, 1.5rem); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: clamp(2.5rem, 5vw, 4rem) var(--gutter) 1rem; cursor: grab; overscroll-behavior-x: contain; }
.space__rail::-webkit-scrollbar { display: none; }
.space__rail.is-drag { cursor: grabbing; scroll-snap-type: none; }
.space__rail.is-drag * { pointer-events: none; }
.space__item { flex: none; scroll-snap-align: start; height: clamp(320px, 56vh, 620px); aspect-ratio: var(--ar, 4 / 3); border-radius: var(--r-xs); overflow: hidden; background: var(--sand); margin: 0; }
.space__item picture { display: block; width: 100%; height: 100%; }
.space__item img { width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.space__item--arch { border-radius: var(--arch); --ar: 3 / 4 !important; }
.space__ctrl { display: flex; align-items: center; gap: 1rem; padding-inline: var(--gutter); max-width: var(--max); margin: 1rem auto 0; }
.space__ctrl .bar { flex: 1; height: 1px; background: var(--line); position: relative; }
.space__ctrl .bar i { position: absolute; left: 0; top: 0; height: 100%; width: 20%; background: var(--ink); transition: transform .2s linear; }
.round-btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: background .35s, color .35s; }
.round-btn:hover { background: var(--ink); color: var(--text-inv); }
.round-btn svg { width: 18px; height: 18px; }
.on-dark .round-btn { border-color: var(--line-inv); }
.on-dark .round-btn:hover { background: var(--linen); color: var(--ink); }

/* ---------- Team ---------- */
.team__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 2.5vw, 2.5rem); margin-top: clamp(2.5rem, 5vw, 4rem); }
.person { display: grid; gap: 1.1rem; align-content: start; }
.person__photo { aspect-ratio: 4 / 5; border-radius: var(--arch); overflow: hidden; background: var(--sand); }
.person__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.person__photo--mono { display: grid; place-items: center; background: linear-gradient(160deg, var(--linen-2), var(--sand)); font-family: var(--f-display); font-size: 3.6rem; color: var(--gold-ink); font-style: italic; }
.person__role { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 560; color: var(--gold-ink); }
.person h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.95rem; line-height: 1.05; }
.person p { color: var(--text-2); font-size: .96rem; }
.person__loc { font-size: .82rem; color: var(--muted); display: flex; align-items: center; gap: .4rem; }
.on-dark .person h3 { color: var(--text-inv); }
.on-dark .person p, .on-dark .person__loc { color: var(--muted-inv); }
.on-dark .person__role { color: var(--gold-soft); }
.on-dark .person__photo { background: var(--ink-2); }
@media (min-width: 1001px) { .team__grid:has(> :nth-child(4)) { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1000px) { .team__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .team__grid { grid-template-columns: 1fr 1fr; gap: 1.6rem 1rem; } .person h3 { font-size: 1.35rem; } .person p { font-size: .88rem; } }

/* ---------- Reviews ---------- */
.reviews__stage { position: relative; max-width: 1080px; margin: clamp(2.5rem, 5vw, 4rem) auto 0; text-align: center; min-height: 18rem; }
.review { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility 0s linear .8s; }
.review.is-active { position: relative; opacity: 1; visibility: visible; transition: opacity .8s ease; }
.review blockquote { font-family: var(--f-display); font-weight: 340; font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.9rem); line-height: 1.18; text-wrap: balance; }
.review figcaption { margin-top: 1.8rem; font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-inv); }
.stars { display: inline-flex; gap: .3rem; color: var(--gold-soft); margin-bottom: 1.6rem; }
.stars svg { width: 16px; height: 16px; }
.reviews__ctrl { display: flex; justify-content: center; align-items: center; gap: 1rem; margin-top: 2.5rem; }
.reviews__dots { display: flex; gap: .5rem; }
.reviews__dots button { width: 28px; height: 2px; background: var(--line-inv); transition: background .3s, width .4s var(--ease-out); }
.reviews__dots button[aria-current='true'] { background: var(--gold-soft); width: 48px; }

/* ---------- FAQ ---------- */
.faq { max-width: 1000px; }
.faq__list { margin-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 44px; gap: 1rem; align-items: center; padding: 1.5rem 0; font-family: var(--f-display); font-weight: 420; font-size: clamp(1.3rem, 1.1rem + .7vw, 1.75rem); line-height: 1.2; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); position: relative; transition: background .35s, transform .5s var(--ease-out); }
.faq__icon::before, .faq__icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: currentColor; translate: -50% -50%; transition: transform .45s var(--ease-out); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--ink); color: var(--text-inv); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__answer { padding: 0 3.5rem 1.8rem 0; color: var(--text-2); max-width: 72ch; }
.faq__answer p + p { margin-top: .8rem; }
.on-dark .faq__list, .on-dark .faq__item { border-color: var(--line-inv); }
.on-dark .faq__answer { color: var(--muted-inv); }

/* ---------- Contact (two paths) ---------- */
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(1rem, 2vw, 2rem); margin-top: clamp(2.5rem, 5vw, 4rem); align-items: stretch; }
.path { position: relative; border-radius: var(--r-lg); padding: clamp(1.75rem, 3.5vw, 3rem); display: flex; flex-direction: column; gap: 1.2rem; overflow: hidden; isolation: isolate; }
.path--live { background: var(--navy); color: var(--text-inv); }
.path--live .ring { position: absolute; right: -120px; bottom: -120px; width: 380px; height: 380px; opacity: .25; z-index: -1; }
.path--info { background: var(--white); border: 1px solid var(--line); }
.path__tag { display: inline-flex; align-items: center; gap: .55rem; font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 560; color: var(--gold-ink); }
.path--live .path__tag { color: var(--gold-soft); }
.path h3 { font-family: var(--f-display); font-weight: 360; font-size: var(--t-d3); line-height: 1.02; }
.path > p { color: var(--text-2); }
.path--live > p { color: var(--muted-inv); }
.path__steps { list-style: none; margin: .4rem 0 0; padding: 0; display: grid; gap: .1rem; counter-reset: s; }
.path__steps li { counter-increment: s; display: grid; grid-template-columns: 2.2rem 1fr; gap: .6rem; padding: .85rem 0; border-top: 1px solid var(--line-inv); font-size: .95rem; color: rgba(244,238,228,.85); }
.path__steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--f-display); font-style: italic; color: var(--gold-soft); font-size: 1.05rem; }
.path__foot { margin-top: auto; display: grid; gap: 1rem; padding-top: 1rem; }
.path__alt { font-size: .88rem; color: var(--muted-inv); }
.path__alt a { color: var(--text-inv); border-bottom: 1px solid var(--gold-soft); }
.direct { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: clamp(1rem, 2vw, 2rem); background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.direct > div { background: var(--linen); padding: clamp(1.25rem, 2.5vw, 2rem); display: grid; gap: .5rem; align-content: start; }
.direct h4 { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 560; color: var(--gold-ink); }
.direct .big { font-family: var(--f-display); font-size: clamp(1.5rem, 1.2rem + 1vw, 2.15rem); line-height: 1.1; font-weight: 400; }
.direct p, .direct li { font-size: .92rem; color: var(--text-2); }
.direct ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .25rem; }
@media (max-width: 1000px) { .contact__grid { grid-template-columns: 1fr; } .direct { grid-template-columns: 1fr; } }

/* form */
.form { display: grid; gap: 1.1rem 1rem; grid-template-columns: 1fr 1fr; }
.field { display: grid; gap: .4rem; position: relative; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 560; color: var(--text-2); }
.field label .opt { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: .85rem 1rem; border-radius: var(--r-sm);
  border: 1px solid var(--line-strong); background: var(--linen); color: var(--text); font-size: 1rem;
  transition: border-color .3s, box-shadow .3s, background .3s; appearance: none; -webkit-appearance: none;
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2300264c' stroke-width='1.4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.6rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(177,143,94,.28); background-color: var(--white); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #a4402a; }
.field .err { font-size: .78rem; color: #8f3522; display: none; }
.field.is-invalid .err { display: block; }
.seg { display: flex; gap: .5rem; flex-wrap: wrap; border: 0; padding: 0; margin: 0; }
.seg legend { margin-bottom: .45rem; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; gap: .5rem; min-height: 46px; padding: 0 1.1rem; border-radius: 999px; border: 1px solid var(--line-strong); font-size: .9rem; letter-spacing: .01em; text-transform: none; font-weight: 440; color: var(--text-2); transition: background .3s, color .3s, border-color .3s; }
.seg input:checked + span { background: var(--ink); color: var(--text-inv); border-color: var(--ink); }
.seg input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: .75rem; align-items: start; font-size: .86rem; color: var(--text-2); text-transform: none; letter-spacing: 0; font-weight: 400; }
.field label.check { text-transform: none; letter-spacing: 0; font-size: .86rem; font-weight: 400; line-height: 1.55; color: var(--text-2); }
.check input { width: 20px; height: 20px; min-height: 0; padding: 0; margin-top: 2px; accent-color: var(--navy); appearance: auto; -webkit-appearance: auto; }
.form__note { grid-column: 1 / -1; font-size: .8rem; color: var(--muted); display: flex; gap: .55rem; align-items: start; }
.form__note svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--gold); }
.form__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.form__success { display: none; padding: 1.4rem 1.5rem; border-radius: var(--r-md); background: var(--linen-2); border: 1px solid var(--line); }
.form__success h4, .form__success-title { font-family: var(--f-display); font-size: 1.6rem; font-weight: 420; }
.form.is-sent, .book-form.is-sent { display: none; }
.form.is-sent + .form__success, .book-form.is-sent + .form__success { display: block; }
.hp { position: absolute !important; left: -9999px !important; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

/* 05-pages.css */
/* ==========================================================================
   Interior pages
   ========================================================================== */

/* breadcrumbs */
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .78rem; letter-spacing: .04em; color: var(--muted); list-style: none; margin: 0; padding: 0; }
.crumbs li + li::before { content: '/'; margin-right: .4rem; opacity: .5; }
.crumbs a:hover { color: var(--text); }
.on-dark .crumbs, [data-theme] .crumbs { color: var(--muted-inv); }

/* page hero */
.phero { position: relative; padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 5.5rem)); padding-bottom: clamp(3rem, 6vw, 6rem); overflow: hidden; isolation: isolate; }
.phero__grid { align-items: end; row-gap: 2.5rem; }
.phero__copy { grid-column: 1 / span 7; display: grid; gap: 1.4rem; align-content: end; }
.phero__copy .crumbs { margin-bottom: .6rem; }
.phero__copy .h1 { max-width: 16ch; }
.phero__copy .lead { max-width: 54ch; }
.phero__visual { grid-column: 8 / span 5; position: relative; }
.phero__visual .media { aspect-ratio: 4 / 5; border-radius: var(--arch); box-shadow: var(--shadow-2); }
.phero__visual .ring { position: absolute; inset: -8%; width: 116%; height: 116%; pointer-events: none; }
.phero--wide .phero__copy { grid-column: 1 / span 9; }
.phero--center { text-align: center; }
.phero--center .phero__copy { grid-column: 2 / span 10; justify-items: center; }
.phero--center .h1 { margin-inline: auto; max-width: 18ch; }
.phero--center .lead { margin-inline: auto; }
.phero__band { margin-top: clamp(2.5rem, 5vw, 4.5rem); aspect-ratio: 21 / 8; border-radius: var(--r-lg); overflow: hidden; }
.phero__band img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1000px) {
  .phero__copy, .phero__visual, .phero--wide .phero__copy { grid-column: 1 / -1; }
  .phero__visual { max-width: 440px; width: 86%; }
  .phero__band { aspect-ratio: 4 / 3; }
}

/* themed pages (signature protocols) */
[data-theme] .phero { color: var(--text-inv); }
[data-theme] .phero .lead { color: rgba(244,238,228,.78); }
[data-theme='lumara'] .phero { background: radial-gradient(110% 90% at 85% 0%, #2c231e, var(--lumara-night) 62%); }
[data-theme='aurelion'] .phero { background: radial-gradient(110% 90% at 15% 0%, #6f8f70, var(--aurelion-green) 40%, var(--aurelion-deep)); }
[data-theme='elite'] .phero { background: radial-gradient(110% 90% at 85% 100%, #354b63, var(--elite-navy) 55%, #1c2a3a); }
[data-theme] .phero .eyebrow, [data-theme] .phero .h1 em { color: var(--accent, var(--gold-soft)); }
[data-theme] .phero .h1 { font-size: clamp(2.3rem, 1.3rem + 3.2vw, 4.8rem); max-width: 18ch; }
[data-theme] .phero .btn:not(.btn--ghost) { --bg: var(--linen); --fg: var(--ink); --bd: var(--linen); --fill: var(--accent, var(--gold-soft)); }
[data-theme] .phero .btn--ghost { --bg: transparent; --fg: var(--text-inv); --bd: rgba(244,238,228,.34); --fill: var(--linen); }
[data-theme] .phero .btn--ghost:hover, [data-theme] .phero .btn--ghost:focus-visible { color: var(--ink); }
[data-theme] .phero .crumbs a:hover { color: var(--text-inv); }
[data-theme='lumara'] { --accent: var(--lumara-amber); }
[data-theme='aurelion'] { --accent: #e7cb8d; }
[data-theme='elite'] { --accent: #e09a74; }
.brandmark { display: grid; gap: 1.1rem; justify-items: start; margin-bottom: .6rem; }
.brandmark svg { width: clamp(72px, 7vw, 104px); overflow: visible; }
.brandmark__word { font-family: var(--f-display); font-weight: 300; letter-spacing: .3em; font-size: clamp(1.3rem, 1rem + 1vw, 1.9rem); line-height: 1; margin-right: -.3em; }
.brandmark__word .tm { color: var(--accent); }
.tm-note { font-size: .74rem; letter-spacing: .03em; color: rgba(244,238,228,.6); }

/* service layout */
.svc-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 380px); gap: clamp(2.5rem, 6vw, 7rem); align-items: start; }
.svc-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: 1rem; }
.glance { border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); padding: 1.6rem 1.6rem 1.7rem; display: grid; gap: 1rem; max-height: calc(100svh - var(--header-h) - 3rem); overflow: auto; }
.glance h2 { font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 560; color: var(--gold-ink); }
.glance dl { display: grid; gap: .75rem; }
.glance dt { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 520; }
.glance dd { margin: .1rem 0 0; font-size: .9rem; line-height: 1.5; color: var(--text); }
.prose .toc { padding: 0 0 2rem; margin: 0 0 clamp(2.5rem, 4vw, 3.5rem); border-bottom: 1px solid var(--line); }
.prose .toc h2 { font-family: var(--f-sans); font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 560; color: var(--muted); margin: 0 0 1rem; }
.prose .toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; counter-reset: t; }
.prose .toc li { counter-increment: t; margin: 0; }
.prose .toc a { display: inline-flex; gap: .5rem; align-items: baseline; padding: .5rem .95rem; border: 1px solid var(--line); border-radius: 999px; font-size: .86rem; color: var(--text-2); text-decoration: none; background: rgba(255,255,255,.45); transition: background .3s, color .3s, border-color .3s; }
.prose .toc a::before { content: counter(t, decimal-leading-zero); font-family: var(--f-display); font-style: italic; color: var(--gold-ink); }
.prose .toc a:hover, .prose .toc a.is-active { background: var(--ink); color: var(--text-inv); border-color: var(--ink); }
.prose .toc a:hover::before, .prose .toc a.is-active::before { color: var(--gold-soft); }
@media (max-width: 1000px) { .svc-layout { grid-template-columns: 1fr; } .svc-aside { position: static; order: -1; } .glance { max-height: none; } }

/* service sections */
.prose .svc-sec > * + * { margin-top: 1.15em; }
.prose .svc-sec > h2 + *, .prose .svc-sec > h3 + * { margin-top: .7em; }
.prose .svc-sec > h3 { margin-top: 1.8em; }
.prose .svc-sec + .svc-sec { margin-top: clamp(3rem, 5vw, 4.5rem); }
.prose .svc-sec > h2:first-child { margin-top: 0; }
.prose .svc-sec h2 em { font-style: italic; color: var(--gold-ink); }
.prose > .callout { margin-top: clamp(3rem, 5vw, 4.5rem); }

/* highlight / callout */
.callout { border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--linen-2); border: 1px solid var(--line); display: grid; gap: .9rem; margin-block: 2.2rem; }
.callout h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.7rem; line-height: 1.1; color: var(--text); margin: 0; }
.callout p { margin: 0; }
.callout--dark { background: var(--ink); color: var(--text-inv); border: 0; }
.callout--dark h3 { color: var(--text-inv); }
.callout--dark p { color: var(--muted-inv); }

/* steps (how it works) */
.steps { list-style: none; margin: 2rem 0; padding: 0; display: grid; gap: 0; counter-reset: st; border-top: 1px solid var(--line); }
.steps li { counter-increment: st; display: grid; grid-template-columns: 4rem 1fr; gap: 1rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(st, decimal-leading-zero); font-family: var(--f-display); font-style: italic; font-size: 1.6rem; color: var(--gold-ink); line-height: 1; }
.steps h3 { font-family: var(--f-display); font-weight: 440; font-size: 1.45rem; line-height: 1.15; color: var(--text); margin: 0 0 .35rem; }
.steps p { margin: 0; font-size: 1rem; }

/* benefit / audience split */
.split2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-block: 2rem; }
.split2 > div { border-radius: var(--r-md); border: 1px solid var(--line); padding: 1.5rem; background: var(--white); }
.split2 h3 { margin-top: 0 !important; }
.split2 ul { margin-top: .8rem; }
@media (max-width: 700px) { .split2 { grid-template-columns: 1fr; } }

/* cards (related services, hubs) */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.75rem); margin-top: clamp(2rem, 4vw, 3.5rem); }
.card { position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); overflow: hidden; transition: transform .7s var(--ease-out), box-shadow .7s var(--ease-out); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 1.5rem 1.6rem 1.7rem; display: grid; gap: .65rem; align-content: start; }
.card__kicker { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 560; color: var(--gold-ink); display: flex; align-items: center; gap: .5rem; }
.card__kicker i { width: 7px; height: 7px; border-radius: 50%; background: var(--c, var(--gold)); }
.card h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.75rem; line-height: 1.05; }
.card p { font-size: .95rem; color: var(--text-2); }
.card .link { margin-top: .5rem; justify-self: start; }
.card::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; }
.card a.cover::after { content: ''; position: absolute; inset: 0; z-index: 2; }
@media (max-width: 1000px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr !important; } } /* beats the inline 2-up grid on /locations/ */

/* hub groups */
.hub-group + .hub-group { margin-top: clamp(4rem, 8vw, 7rem); }
.hub-group__head { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: center; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.hub-group__head .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--c); }
.hub-group__head h2 { font-family: var(--f-display); font-weight: 360; font-size: var(--t-d3); line-height: 1; }
.hub-group__head p { grid-column: 2; color: var(--muted); max-width: 70ch; font-size: .98rem; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-lg); background: var(--navy); color: var(--text-inv); padding: clamp(2.25rem, 5vw, 4.5rem); display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 2rem; align-items: end; }
.cta-band .h2 { max-width: 16ch; }
.cta-band p { color: var(--muted-inv); margin-top: 1rem; max-width: 50ch; }
.cta-band .h2 em { color: var(--gold-soft); }
.cta-band .ring { position: absolute; right: -6%; top: -40%; width: 460px; height: 460px; z-index: -1; opacity: .22; }
@media (max-width: 900px) { .cta-band { grid-template-columns: 1fr; } }

/* location */
.loc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(1rem, 2vw, 2rem); align-items: stretch; }
.loc-card { border-radius: var(--r-lg); background: var(--ink); color: var(--text-inv); padding: clamp(1.75rem, 3.5vw, 3rem); display: grid; gap: 1.6rem; align-content: start; }
.loc-card h2 { font-family: var(--f-display); font-weight: 360; font-size: var(--t-d3); line-height: 1; }
.loc-card dl { display: grid; gap: 1.2rem; }
.loc-card .eyebrow { color: var(--gold-soft); }
.loc-card dt { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-soft); font-weight: 560; }
.loc-card dd { margin: .3rem 0 0; font-size: 1.05rem; color: var(--text-inv); }
.loc-card dd a { border-bottom: 1px solid var(--gold-soft); }
.loc-map { border-radius: var(--r-lg); overflow: hidden; min-height: 420px; background: var(--sand); border: 1px solid var(--line); }
.loc-map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; filter: grayscale(.35) sepia(.12) contrast(.95); }
.hours { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; font-size: .95rem; }
.notice { border-radius: var(--r-lg); border: 1px solid var(--gold); background: rgba(177,143,94,.08); padding: clamp(1.5rem, 3vw, 2.5rem); display: grid; gap: .8rem; }
.notice h2 { font-family: var(--f-display); font-weight: 400; font-size: var(--t-d4); }
@media (max-width: 900px) { .loc-grid { grid-template-columns: 1fr; } }

/* about */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 7rem); align-items: start; }
.story__media { position: sticky; top: calc(var(--header-h) + 2rem); aspect-ratio: 4 / 5; border-radius: var(--arch); overflow: hidden; }
.story__media img { width: 100%; height: 100%; object-fit: cover; }
.loc-team + .loc-team { margin-top: clamp(4rem, 8vw, 6.5rem); }
.loc-team__head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.loc-team__head h2 { font-family: var(--f-display); font-weight: 360; font-size: var(--t-d3); }
@media (max-width: 900px) { .story { grid-template-columns: 1fr; } .story__media { position: relative; top: 0; max-width: 460px; } }

/* booking page */
.book-help { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.book-help > div { padding: 1.25rem; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--white); font-size: .93rem; color: var(--text-2); }
.book-help b { display: block; font-family: var(--f-display); font-weight: 440; font-size: 1.25rem; color: var(--text); margin-bottom: .25rem; }
@media (max-width: 800px) { .book-help { grid-template-columns: 1fr; } }

/* legal */
.legal { padding-top: calc(var(--header-h) + clamp(2.5rem, 5vw, 4.5rem)); }
.legal__head { display: grid; gap: 1.1rem; padding-bottom: 2.2rem; border-bottom: 1px solid var(--line); margin-bottom: 2.5rem; }
.legal .prose { max-width: 76ch; }
.legal .prose h2 { font-size: var(--t-d4); }
.pending { padding: 1.4rem 1.6rem; border-radius: var(--r-md); border: 1px dashed var(--gold); background: rgba(177,143,94,.07); color: var(--text); }

/* 404 */
.nf { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 2rem) var(--gutter) 4rem; }
.nf__mark { width: 140px; margin: 0 auto 2rem; }

/* staging badge for pending integrations */
.pending-tag { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .65rem; border-radius: 999px; background: rgba(177,143,94,.16); color: var(--gold-ink); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.on-dark .pending-tag, .path--live .pending-tag { color: var(--gold-soft); background: rgba(211,187,143,.14); }

/* toast */
.toast { position: fixed; left: 50%; bottom: 1.5rem; z-index: 150; translate: -50% 0; max-width: min(92vw, 520px); padding: 1rem 1.25rem; border-radius: var(--r-md); background: var(--ink); color: var(--text-inv); box-shadow: var(--shadow-2); font-size: .92rem; opacity: 0; transform: translateY(20px); transition: opacity .4s ease, transform .5s var(--ease-out); pointer-events: none; }
.toast.is-on { opacity: 1; transform: none; }

/* 06-motion.css */
/* ==========================================================================
   Motion initial states. Applied only when JS is running and the visitor has
   not asked for reduced motion (html.js-motion), so content is never hidden
   if scripts fail.
   ========================================================================== */
.js-motion [data-reveal] { opacity: 0; transform: translateY(34px); }
.js-motion [data-reveal='fade'] { transform: none; }
.js-motion [data-reveal='scale'] { transform: scale(.96); }
/* A heading waits for its line reveal at opacity 0, not visibility: hidden, so it stays in the accessibility tree
   (screen readers, heading navigation) until it is split, which below the fold happens only on scroll (main.js). */
.js-motion [data-split] { opacity: 0; }
.js-motion [data-split].is-split { opacity: 1; }
.split-line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.split-line > .split-inner { display: block; }
.js-motion [data-stagger] > * { opacity: 0; transform: translateY(26px); }
.js-motion .hero__arch { clip-path: inset(100% 0 0 0 round 999px 999px 0 0); }
.js-motion .hero__card { opacity: 0; transform: translateY(24px); }
.js-motion .hero__orbit .ring { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js-motion .journey__path path { stroke-dashoffset: 0; }

/* 07-extras.css */
/* Click-to-load map facade */
.loc-map[data-map] { position: relative; display: grid; place-items: center; background: radial-gradient(120% 120% at 20% 10%, #13283f, var(--ink) 70%); color: var(--text-inv); isolation: isolate; overflow: hidden; }
.loc-map[data-map].is-loaded { display: block; background: var(--sand); }
.loc-map__facade { position: relative; z-index: 1; text-align: center; padding: 2.5rem 1.5rem; display: grid; gap: 1rem; justify-items: center; max-width: 30rem; }
.loc-map__facade .ring { position: absolute; z-index: -1; width: 340px; height: 340px; left: 50%; top: 50%; translate: -50% -50%; opacity: .35; }
.loc-map__facade .h4 { color: var(--text-inv); }
.loc-map__facade p { color: var(--muted-inv); font-size: .95rem; }
.loc-map__facade .btns { justify-content: center; }
.loc-map__grid { position: absolute; inset: 0; z-index: -2; opacity: .12; background-image: linear-gradient(rgba(244,238,228,.5) 1px, transparent 1px), linear-gradient(90deg, rgba(244,238,228,.5) 1px, transparent 1px); background-size: 46px 46px; mask-image: radial-gradient(circle at 50% 50%, #000 0 40%, transparent 75%); }

/* 08-polish.css */
/* ==========================================================================
   Design polish pass (jury review, Oct 16 2026)
   ========================================================================== */

/* ---------- Header and back-to-top invert over dark sections ---------- */
.site-header.is-inv:not(.is-open):not(.mega-open) { color: var(--text-inv); }
.site-header.is-inv:not(.is-open):not(.mega-open)::before { background: rgba(10, 26, 44, .84); border-color: var(--line-inv); }
.site-header.is-inv:not(.is-open):not(.mega-open) .logo .wm { fill: var(--text-inv); }
.site-header.is-inv:not(.is-open):not(.mega-open) .burger { border-color: rgba(244, 238, 228, .4); }
.site-header.is-inv:not(.is-open):not(.mega-open) .site-header__phone small { color: var(--muted-inv); opacity: 1; }
.site-header.is-inv:not(.is-open):not(.mega-open) .site-header__actions .btn { --bg: var(--linen); --fg: var(--ink); --bd: var(--linen); --fill: var(--gold-soft); }
.progress svg.arrow { position: static; inset: auto; width: 16px; height: 16px; transform: none; }
.progress.is-inv { background: rgba(10, 26, 44, .7); border-color: var(--line-inv); color: var(--text-inv); }
.progress.is-inv .track { stroke: var(--line-inv); }
@media (min-width: 761px) { .site-footer__bottom { padding-right: 84px; } }

/* ---------- Motion pause (WCAG 2.2.2) ---------- */
.motion-toggle { position: absolute; left: var(--gutter); bottom: 1.4rem; z-index: 4; display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .8rem; border-radius: 999px; border: 1px solid var(--line); background: rgba(253, 251, 247, .7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 540; color: var(--text-2); transition: background .3s, color .3s; }
.motion-toggle:hover { background: var(--ink); color: var(--text-inv); }
.motion-toggle svg { width: 14px; height: 14px; }
.is-paused .marquee__track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .motion-toggle { display: none; } }
@media (max-width: 1000px) { .motion-toggle { position: relative; left: auto; bottom: auto; margin: 1.5rem var(--gutter) 0; } }

/* ---------- CTA band ---------- */
.cta-band .eyebrow { color: var(--gold-soft); background: none; }
.cta-band .h2 em, .cta-band em { color: var(--gold-soft); }
.cta-band--light { background: var(--white); color: var(--text); border: 1px solid var(--line); }
.cta-band--light .eyebrow { color: var(--gold-ink); }
.cta-band--light em { color: var(--gold-ink); }
.cta-band--light p { color: var(--text-2); }

/* ---------- Protocol panels ---------- */
.pp__body .pp__legal { font-size: .72rem; line-height: 1.6; color: rgba(244, 238, 228, .58); }
.pp__photo { max-height: 74vh; }
@media (min-width: 901px) {
  .pp--aurelion .inner { grid-template-columns: minmax(0, .62fr) minmax(0, 1fr) minmax(0, 1fr); }
  .pp--aurelion .pp__photo { order: -1; }
}
.pp--aurelion { background: radial-gradient(110% 90% at 85% 100%, #6f8f70, var(--aurelion-green) 30%, var(--aurelion-deep) 72%); }

/* ---------- Signature pages: the sub-brand continues below the hero ---------- */
[data-theme='lumara'] { --t-dark: var(--lumara-night); --t-soft: var(--lumara-amber); --t-ink: #7a5a38; }
[data-theme='aurelion'] { --t-dark: var(--aurelion-deep); --t-soft: #e7cb8d; --t-ink: #6e5420; }
[data-theme='elite'] { --t-dark: var(--elite-navy); --t-soft: #e09a74; --t-ink: #9c4a26; }
[data-theme='aurelion'] .phero { background: radial-gradient(110% 90% at 85% 100%, #6f8f70, var(--aurelion-green) 30%, var(--aurelion-deep) 72%); }
[data-theme] .phero { padding-top: calc(var(--header-h) + clamp(1.5rem, 3.5vw, 3.5rem)); }
[data-theme] .phero .h1 { font-size: clamp(2.1rem, 1.25rem + 2.3vw, 3.6rem); max-width: 21ch; line-height: 1.02; }
[data-theme] .phero .lead { color: rgba(244, 238, 228, .9); }
[data-theme] .phero .crumbs { color: rgba(244, 238, 228, .82); }
.brandmark { display: flex; align-items: center; gap: 1.1rem; margin-bottom: .2rem; }
.brandmark svg { width: clamp(54px, 4.6vw, 70px); flex: none; }
.brandmark__word { display: block; }
.brandmark__tag { display: block; margin-top: .45rem; font-family: var(--f-display); font-style: italic; font-size: 1.15rem; letter-spacing: .01em; color: var(--accent, var(--gold-soft)); }
[data-theme] .glance { background: var(--t-dark); color: var(--text-inv); border-color: transparent; }
[data-theme] .glance h2 { color: var(--t-soft); }
[data-theme] .glance dt { color: rgba(244, 238, 228, .76); }
[data-theme] .glance dd { color: var(--text-inv); }
[data-theme] .glance .btn:not(.btn--ghost) { --bg: var(--linen); --fg: var(--ink); --bd: var(--linen); --fill: var(--t-soft); }
[data-theme] .glance .btn--ghost { --bg: transparent; --fg: var(--text-inv); --bd: rgba(244, 238, 228, .34); --fill: var(--linen); }
[data-theme] .glance .btn--ghost:hover, [data-theme] .glance .btn--ghost:focus-visible { color: var(--ink); }
[data-theme] .prose ul li::marker { color: var(--t-ink); }
[data-theme] .steps li::before, [data-theme] .prose .toc a::before { color: var(--t-ink); }
[data-theme] .prose .toc a:hover, [data-theme] .prose .toc a.is-active { background: var(--t-dark); border-color: var(--t-dark); }
[data-theme] .prose .toc a:hover::before, [data-theme] .prose .toc a.is-active::before { color: var(--t-soft); }
[data-theme] .callout { background: color-mix(in srgb, var(--t-soft) 14%, var(--linen)); border-color: color-mix(in srgb, var(--t-soft) 40%, transparent); }
[data-theme] .cta-band { background: var(--t-dark); }
[data-theme] .faq__item[open] .faq__icon { background: var(--t-dark); border-color: var(--t-dark); }
[data-theme] .eyebrow { color: var(--t-ink); }
[data-theme] .phero .eyebrow, [data-theme] .cta-band .eyebrow, [data-theme] .on-dark .eyebrow { color: var(--t-soft); }

/* ---------- Service pages: calmer type ---------- */
.prose { max-width: 64ch; }
.svc-layout { grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); }
.prose .svc-sec > h2 em { font-style: normal; color: inherit; }
.intro-statement { font-weight: 340; line-height: 1.18; max-width: 30ch; }
.lead--xl { font-size: clamp(1.18rem, 1.02rem + .55vw, 1.5rem); line-height: 1.62; color: var(--text); max-width: 60ch; }

/* ---------- Hero on phones ---------- */
@media (max-width: 560px) {
  .hero__trust { display: none; }
  .hero__ctas .btn { width: 100%; }
}

/* ---------- Two ways to begin ---------- */
.contact__grid { align-items: start; }
@media (min-width: 1001px) { .path--live { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.path__foot { margin-top: 1.5rem; }

/* ---------- Team photography: one consistent treatment ---------- */
.person__photo { background: var(--linen-2); }
.person__photo img { filter: saturate(.9) sepia(.06) contrast(.98); object-position: 50% 18%; }
.on-dark .person__photo { background: var(--olive-deep); }

/* ---------- Map ---------- */
.loc-map.is-loaded iframe { filter: grayscale(1) sepia(.18) contrast(.92) brightness(1.03); }

/* ---------- Mega menu: lighter, aligned ---------- */
.mega__group h3, .mega__label { white-space: nowrap; letter-spacing: .18em; }
.mega__group a span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Hero chips (FAQ topics) and custom hero visual ---------- */
.toc--hero ol { list-style: none; margin: .6rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.toc--hero a { display: inline-flex; padding: .55rem 1rem; border: 1px solid var(--line); border-radius: 999px; font-size: .86rem; color: var(--text-2); background: rgba(255, 255, 255, .45); transition: background .3s, color .3s, border-color .3s; }
.toc--hero a:hover { background: var(--ink); color: var(--text-inv); border-color: var(--ink); }
.phero__visual--custom { display: grid; place-items: center; }
.phero__visual--custom .book3d__obj { width: min(100%, 280px); }

/* ---------- Free guide typeset cover ---------- */
.cover-type--light { background: linear-gradient(160deg, var(--white), var(--linen-2)); color: var(--ink); border: 1px solid var(--line); }
.cover-type--light span { color: var(--muted); }
.cover-type--light em { color: var(--gold-ink); }
.cover-type__mark { width: 44px; margin-bottom: .9rem; }

/* ---------- Phones: spaced capitals that wrap badly ---------- */
@media (max-width: 560px) {
  .svc-row .name small, .person__role, .path__tag { letter-spacing: .14em; }
  .pending-tag { white-space: nowrap; }
}

/* ---------- Footer on phones ---------- */
@media (max-width: 760px) {
  .site-footer__cols { grid-template-columns: 1fr 1fr; gap: 2rem 1.25rem; }
  .site-footer__brand { grid-column: 1 / -1; }
  .site-footer ul { font-size: .88rem; }
}

/* ---------- Fusion: the mark never collides with type ---------- */
.fusion:not(.fusion--static) .fusion__mark { width: min(34vh, 26vw, 340px); margin-top: 4vh; }
.fusion:not(.fusion--static) .fusion__final { bottom: clamp(1.5rem, 4vh, 3rem); }

/* 09-illos-b.css */
/* ==========================================================================
   Illustration set B (scripts/lib/illos/set-b.mjs): two extra ambient loops.
   il-b-spin   slow continuous turn (PRP spin arcs), origin set inline
   il-b-glide  straight glide from (--x1,--y1) to (--x2,--y2) (LUMARA glow line)
   Resting states sit outside the media query, so the art reads complete when
   still; paused by the shared .is-paused rule and again here for safety.
   ========================================================================== */
.illo .il-b-glide { transform: translate(var(--x0, 0px), var(--y0, 0px)); }

@media (prefers-reduced-motion: no-preference) {
  .illo .il-b-spin { animation: il-b-spin var(--d, 36s) linear var(--dl, 0s) infinite; }
  .illo .il-b-glide { animation: il-b-glide var(--d, 9s) var(--il-e) var(--dl, 0s) infinite alternate; }
}

.is-paused .illo .il-b-spin,
.is-paused .illo .il-b-glide,
.illo.is-paused .il-b-spin,
.illo.is-paused .il-b-glide { animation-play-state: paused !important; }

@keyframes il-b-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes il-b-glide { from { transform: translate(var(--x1, -100px), var(--y1, 0px)); } to { transform: translate(var(--x2, 100px), var(--y2, 0px)); } }

/* 09-illos-c.css */
/* ==========================================================================
   Illustration set C (scripts/lib/illos/set-c.mjs): one extra ambient loop.
   il-c-breath: a ring expands and settles like a slow breath, scale only,
   around the transform-origin set inline. Rests at scale 1 with no motion.
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .illo .il-c-breath { animation: il-c-breath var(--d, 11s) var(--il-e) var(--dl, 0s) infinite; }
}

.is-paused .illo .il-c-breath,
.illo.is-paused .il-c-breath { animation-play-state: paused !important; }

@keyframes il-c-breath {
  0%, 100% { transform: scale(1); }
  42%, 54% { transform: scale(var(--s, 1.05)); }
}

/* 09-illustrations.css */
/* ==========================================================================
   Fine-line illustrations (scripts/lib/illustrations.mjs)
   Structure (.draw) is drawn in by GSAP DrawSVG on scroll. Everything below
   is ambient motion: CSS only, transform / opacity / stroke-dashoffset,
   6 to 20 second loops. Off under prefers-reduced-motion, paused under
   .is-paused (html.is-paused from the motion toggle). Static positions are
   defined outside the media query so the art reads complete when still.
   ========================================================================== */
.illo { display: block; width: 100%; height: auto; overflow: visible; --il-e: cubic-bezier(.37, 0, .63, 1); }
.illo * { transform-box: view-box; }

/* Static resting states */
.illo .il-ox { transform: translateX(var(--x0, 0px)); }
.illo .il-oy { transform: translateY(var(--y0, 0px)); }
.illo .il-sweep { transform: translateY(var(--y0, 240px)); }
.illo .il-turn { transform: rotate(var(--r0, 0deg)); }
.illo .il-trace { stroke-dashoffset: -.45; }
.illo .il-ping,
.illo .il-float,
.illo .il-rise { transform-box: fill-box; transform-origin: center; }

@media (prefers-reduced-motion: no-preference) {
  /* orbits: two phase-shifted sine translations trace an ellipse */
  .illo .il-ox { animation: il-ox var(--d, 10s) var(--il-e) var(--dl, 0s) infinite alternate; }
  .illo .il-oy { animation: il-oy var(--d, 10s) var(--il-e) calc(var(--dl, 0s) - var(--d, 10s) / 2) infinite alternate; }

  /* waves: brightness travels outward arc by arc */
  .illo .il-wave { animation: il-wave 7s var(--il-e) calc(var(--i, 0) * .38s) infinite; }

  /* expanding halo around a source or node */
  .illo .il-ping { animation: il-ping var(--d, 7s) var(--il-e) var(--dl, 0s) infinite; }

  /* gentle vertical drift */
  .illo .il-bob { animation: il-bob var(--d, 9s) var(--il-e) var(--dl, 0s) infinite alternate; }

  /* scan line travels the height of the vessel */
  .illo .il-sweep { animation: il-sweep var(--d, 7s) var(--il-e) infinite alternate; }

  /* travelling highlights on pathLength="1" strokes */
  .illo .il-trace { animation: il-trace var(--d, 9s) var(--il-e) infinite; }
  .illo .il-flow { animation: il-flow var(--d, 14s) var(--il-e) infinite; }

  /* small circles rise and fade */
  .illo .il-rise { animation: il-rise var(--d, 9s) var(--il-e) var(--dl, 0s) infinite; }

  /* rays and nodes shimmer */
  .illo .il-shimmer { animation: il-shimmer var(--d, 8s) var(--il-e) var(--dl, 0s) infinite; }
  .illo .il-glow { animation: il-glow var(--d, 6s) var(--il-e) var(--dl, 0s) infinite alternate; }

  /* slow rotation back and forth around a set origin */
  .illo .il-rock { animation: il-rock var(--d, 16s) var(--il-e) var(--dl, 0s) infinite alternate; }

  /* wave amplitude breathes around its baseline */
  .illo .il-breathe { animation: il-breathe var(--d, 9s) var(--il-e) var(--dl, 0s) infinite alternate; }

  /* sun dot travels the day arc */
  .illo .il-turn { animation: il-turn var(--d, 12s) var(--il-e) infinite alternate; }

  /* capsules and leaves float */
  .illo .il-float { animation: il-float var(--d, 12s) var(--il-e) var(--dl, 0s) infinite alternate; }
}

.is-paused .illo *,
.illo.is-paused * { animation-play-state: paused !important; }

@keyframes il-ox { from { transform: translateX(calc(var(--a) * -1)); } to { transform: translateX(var(--a)); } }
@keyframes il-oy { from { transform: translateY(calc(var(--b) * -1)); opacity: .35; } to { transform: translateY(var(--b)); opacity: 1; } }
@keyframes il-wave { 0%, 100% { opacity: .5; transform: scale(1); } 30% { opacity: 1; transform: scale(1.018); } }
@keyframes il-ping { 0% { transform: scale(.7); opacity: 0; } 25% { opacity: .55; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes il-bob { from { transform: translateY(calc(var(--h, 4px) * -1)); } to { transform: translateY(var(--h, 4px)); } }
@keyframes il-sweep { from { transform: translateY(var(--y1)); } to { transform: translateY(var(--y2)); } }
@keyframes il-trace { from { stroke-dashoffset: .1; } to { stroke-dashoffset: -1; } }
@keyframes il-flow { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -1; } }
@keyframes il-rise { 0% { transform: translateY(var(--h, 20px)); opacity: 0; } 25%, 70% { opacity: 1; } 100% { transform: translateY(calc(var(--h, 20px) * -1)); opacity: 0; } }
@keyframes il-shimmer { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes il-glow { from { opacity: .35; } to { opacity: 1; } }
@keyframes il-rock { from { transform: rotate(calc(var(--r, 6deg) * -1)); } to { transform: rotate(var(--r, 6deg)); } }
@keyframes il-breathe { from { transform: scaleY(1); } to { transform: scaleY(.68); } }
@keyframes il-turn { from { transform: rotate(var(--r1, 0deg)); } to { transform: rotate(var(--r2, 180deg)); } }
@keyframes il-float { from { transform: translateY(calc(var(--h, 5px) * -1)) rotate(calc(var(--r, 2deg) * -1)); } to { transform: translateY(var(--h, 5px)) rotate(var(--r, 2deg)); } }

/* 10-redesign.css */
/* ==========================================================================
   Redesign round 2 (Oct 19): cinematic hero + docked form, image-led
   focus areas, deliberate section color rhythm, designed service pages.
   ========================================================================== */

/* ---------- Section color rhythm ---------- */
:root { --sand-2: #ebe1d1; --olive-ink: #2c3829; }
.bg-white { background: var(--white); }
.bg-linen { background: var(--linen); }
.bg-sand { background: var(--sand-2); }
.bg-navy, .bg-navy.on-dark { background: var(--navy); color: var(--text-inv); }
.bg-olive, .bg-olive.on-dark { background: radial-gradient(120% 90% at 85% 0%, #3b4a37, var(--olive-ink) 65%); color: var(--text-inv); }
.fusion.bg-sand { background: var(--sand-2); }
.books { background: var(--white); border-top: 1px solid var(--line); }

/* ---------- Cinematic hero ---------- */
.hx { position: relative; background: var(--white); }
.hx__frame { position: relative; height: max(680px, 100svh); overflow: hidden; isolation: isolate; background: var(--ink); color: var(--text-inv); }
/* art-directed mobile crops carry their own focal point */
@media (max-width: 760px) { img[style*='--op-m'] { object-position: var(--op-m) !important; } }
@media (max-aspect-ratio: 1/1) { .hx__slide img[style*='--op-m'] { object-position: var(--op-m) !important; } }
.hx__slides, .hx__slide { position: absolute; inset: 0; }
.hx__slide { opacity: 0; transition: opacity 1.8s ease; }
.hx__slide.is-active { opacity: 1; }
.hx__slide img { width: 100%; height: 100%; object-fit: cover; }
.hx__shade { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 20, 35, .82) 0%, rgba(8, 20, 35, .55) 38%, rgba(8, 20, 35, .12) 72%),
    linear-gradient(0deg, rgba(8, 20, 35, .7) 0%, rgba(8, 20, 35, 0) 42%),
    linear-gradient(180deg, rgba(8, 20, 35, .55) 0%, rgba(8, 20, 35, 0) 22%); }
.hx__orbit { position: absolute; z-index: 1; right: -14vw; top: -18vh; width: min(78vw, 1100px); height: auto; aspect-ratio: 1; opacity: .55; pointer-events: none; animation: hxspin 180s linear infinite; }
.hx__orbit .ring { stroke-width: 1; }
@keyframes hxspin { to { transform: rotate(360deg); } }
.is-paused .hx__orbit { animation-play-state: paused; }
.js-motion .hx__orbit .ring { stroke-dasharray: 1; stroke-dashoffset: 1; }
@media (prefers-reduced-motion: reduce) { .hx__orbit { animation: none; } }
.hx__inner { position: relative; z-index: 2; height: 100%; display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, .55fr); align-items: end; column-gap: 3rem; padding-top: calc(var(--header-h) + 3rem); padding-bottom: clamp(10.5rem, 18vh, 13.5rem); }
.hx__title { display: grid; gap: 1.4rem; font-weight: inherit; }
.hx__seo { display: flex; align-items: center; gap: .8em; font-size: var(--t-micro); font-weight: 560; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-soft); line-height: 1.5; }
.hx__seo .glyph { width: 1.5em; height: 1.5em; flex: none; }
.hx__display { font-size: min(clamp(3rem, 1.3rem + 4.7vw, 7.2rem), 11.5svh); line-height: .95; color: var(--text-inv); max-width: 20ch; text-shadow: 0 2px 40px rgba(0, 0, 0, .18); }
.hx__display em { color: var(--gold-soft); }
.hx__lede { margin-top: 1.6rem; max-width: 52ch; font-size: var(--t-lead); line-height: 1.6; color: rgba(244, 238, 228, .88); }
.hx__ctas { margin-top: 2.2rem; }
.hx__side { justify-self: end; display: grid; gap: 1.2rem; justify-items: end; }
.hx__card { display: block; width: min(320px, 100%); padding: 1.2rem 1.35rem; border-radius: var(--r-md); background: rgba(10, 26, 44, .42); border: 1px solid rgba(244, 238, 228, .2); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); color: var(--text-inv); transition: background .4s; }
.hx__card:hover { background: rgba(10, 26, 44, .6); }
.hx__card strong { display: block; font-family: var(--f-display); font-weight: 420; font-size: 1.35rem; margin-top: .55rem; }
.hx__card .addr { display: block; font-size: .84rem; color: var(--muted-inv); margin-top: .15rem; }
.hx__card .status { color: var(--text-inv); }
.hx__index { position: absolute; right: var(--gutter); top: 38%; display: flex; flex-direction: column; align-items: center; gap: .7rem; font-size: .7rem; letter-spacing: .18em; color: var(--muted-inv); }
.hx__index .bar { width: 1px; height: 110px; background: rgba(244, 238, 228, .25); position: relative; overflow: hidden; }
.hx__index .bar i { position: absolute; left: 0; top: 0; width: 100%; height: 0; background: var(--gold-soft); }
.motion-toggle.hx__pause { position: absolute; z-index: 3; left: auto; right: calc(var(--gutter) + 14px); top: calc(var(--header-h) + 2rem); bottom: auto; margin: 0; background: rgba(10, 26, 44, .4); color: var(--text-inv); border-color: rgba(244, 238, 228, .25); }
.motion-toggle.hx__pause:hover { background: var(--linen); color: var(--ink); }

/* docked request form */
.hx__dockwrap { position: relative; z-index: 5; margin-top: calc(-1 * clamp(7rem, 11vh, 8.5rem)); }
.dock { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 2.6fr); gap: clamp(1.5rem, 3vw, 3rem); align-items: start; background: var(--white); border-radius: var(--r-lg); padding: clamp(1.4rem, 2.4vw, 2rem) clamp(1.4rem, 2.6vw, 2.4rem); border: 1px solid var(--line); box-shadow: 0 50px 90px -50px rgba(10, 26, 44, .55), 0 2px 10px rgba(10, 26, 44, .06); }
.dock__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.5rem, 1.2rem + .9vw, 2rem); line-height: 1.05; margin-top: .6rem; color: var(--text); }
.dock__text { font-size: .9rem; color: var(--muted); margin-top: .55rem; line-height: 1.55; }
/* two rows of three (name, phone, email / location, interest, send) so every field has room */
.form.dock__form { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem .8rem; align-items: end; }
.dock__submit .btn { width: 100%; justify-content: center; }
.dock__form .field input:not([type=checkbox]), .dock__form .field select { min-height: 50px; padding: .7rem .9rem; font-size: .95rem; }
/* keep room for the chevron; long option text ends in an ellipsis instead of running under it */
.dock__form .field select { padding-right: 2.3rem; background-position: right .85rem center; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; }
.dock__form .field > label:not(.check) { font-size: .64rem; }
.dock__form .check { font-size: .8rem; max-width: 92ch; }
.dock__submit .btn { min-height: 50px; padding: 0 1.4rem; }
.dock__consent { grid-column: 1 / -1; }
.dock__alt { margin-top: 1rem; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; font-size: .86rem; color: var(--muted); }
.dock__alt .link { font-size: .72rem; }
.dock .form__success { margin-top: .5rem; }
@media (max-width: 1240px) { .dock { grid-template-columns: 1fr; } .form.dock__form { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 761px) and (max-width: 900px) { .form.dock__form { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* trust strip */
.trust { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; padding: clamp(1.8rem, 3vw, 2.6rem) 0 clamp(2.2rem, 4vw, 3.2rem); font-size: .92rem; color: var(--text-2); }
.trust li { display: flex; align-items: center; gap: .7rem; }
.trust svg { width: 22px; height: 22px; color: var(--gold); flex: none; }
.trust b { font-weight: 560; color: var(--text); }

@media (max-width: 1000px) {
  .hx__inner { grid-template-columns: 1fr; }
  .hx__side { justify-self: start; justify-items: start; margin-top: 1.6rem; }
  .hx__index { display: none; }
}
@media (max-width: 760px) {
  .hx__frame { height: max(640px, 94svh); }
  .hx__shade { background: linear-gradient(0deg, rgba(8, 20, 35, .9) 0%, rgba(8, 20, 35, .55) 50%, rgba(8, 20, 35, .25) 100%); }
  .hx__inner { padding-bottom: 6rem; }
  .hx__side { display: none; }
  .hx__orbit { right: -40vw; top: -10vh; width: 120vw; }
  .motion-toggle.hx__pause { top: auto; bottom: 4.4rem; right: auto; left: calc(var(--gutter) + 8px); }
  .hx__ctas .btn--ghost { display: none; }
  .hx__inner { padding-bottom: 8.4rem; }
  .hx__dockwrap { margin-top: -3.2rem; }
  .form.dock__form { grid-template-columns: 1fr; }
  .dock__submit { order: 1; }
  .dock__submit .btn { width: 100%; justify-content: center; }
  .trust { justify-content: flex-start; flex-direction: column; }
}

/* ---------- Focus areas: expanding image panels ---------- */
.focus__panels { display: flex; gap: .8rem; height: clamp(540px, 74vh, 720px); margin-top: clamp(2.5rem, 4vw, 3.5rem); }
.fpanel { position: relative; flex: 1 1 0; min-width: 0; border-radius: var(--r-lg); overflow: hidden; isolation: isolate; color: var(--text-inv); cursor: pointer; transition: flex-grow 1s var(--ease-out); }
.fpanel.is-active { flex-grow: 3.4; cursor: default; }
.fpanel__img { position: absolute; inset: 0; z-index: -2; }
.fpanel__img img { width: 100%; height: 100%; object-fit: cover; }
.fpanel__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 26, 44, .2) 0%, rgba(10, 26, 44, .55) 45%, rgba(10, 26, 44, .92) 100%); }
.fpanel::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--c); opacity: .9; }
.fpanel__rail { position: absolute; left: 1.5rem; bottom: 1.6rem; display: flex; flex-direction: column; gap: .8rem; transition: opacity .5s ease; }
.fpanel__rail .n { font-family: var(--f-display); font-style: italic; font-size: 1.1rem; color: var(--gold-soft); }
.fpanel__rail .v { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--f-display); font-size: 1.85rem; line-height: 1; white-space: nowrap; }
.fpanel__rail .c { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-inv); writing-mode: vertical-rl; transform: rotate(180deg); }
.fpanel.is-active .fpanel__rail { opacity: 0; }
.fpanel__body { position: absolute; left: 0; bottom: 0; width: min(620px, 100%); padding: clamp(1.6rem, 2.6vw, 2.6rem); opacity: 0; transform: translateY(24px); transition: opacity .6s ease .15s, transform .9s var(--ease-out) .1s; pointer-events: none; }
.fpanel.is-active .fpanel__body { opacity: 1; transform: none; pointer-events: auto; }
.fpanel__kicker { display: inline-flex; align-items: center; gap: .55rem; font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 560; color: var(--gold-soft); }
.fpanel__kicker i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.fpanel__title { font-family: var(--f-display); font-weight: 360; font-size: clamp(2rem, 1.4rem + 1.6vw, 3rem); line-height: 1; margin-top: .8rem; }
.fpanel__intro { margin-top: .9rem; color: rgba(244, 238, 228, .82); font-size: .98rem; max-width: 46ch; }
.fpanel__list { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 1.6rem; }
.fpanel__list a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .7rem 0; border-top: 1px solid rgba(244, 238, 228, .18); font-size: .94rem; transition: color .3s, padding .5s var(--ease-out); }
.fpanel__list a:hover, .fpanel__list a:focus-visible { color: var(--gold-soft); padding-left: .3rem; }
.fpanel__list svg { width: 16px; height: 16px; flex: none; }
.focus__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2rem; }
@media (max-width: 1100px) {
  .focus__panels { flex-direction: column; height: auto; }
  .fpanel, .fpanel.is-active { flex: none; min-height: 460px; cursor: default; }
  .fpanel__rail { display: none; }
  .fpanel__body { opacity: 1; transform: none; pointer-events: auto; position: relative; padding-top: 12rem; }
  .fpanel__list { grid-template-columns: 1fr; }
}

/* ---------- Journey on olive ---------- */
.bg-olive .journey__dot { background: transparent; border-color: rgba(244, 238, 228, .3); color: var(--gold-soft); }
.bg-olive .journey__path path { stroke: var(--gold-soft); }
.bg-olive .journey__step h3 { color: var(--text-inv); }
.bg-olive .journey__step p { color: var(--muted-inv); }

/* ---------- Contact on navy ---------- */
.bg-navy .path--live { background: var(--ink); }
.bg-navy .direct { background: var(--line-inv); border-color: var(--line-inv); }
.bg-navy .direct > div { background: var(--ink-2); }
.bg-navy .direct h4 { color: var(--gold-soft); }
.bg-navy .direct p, .bg-navy .direct li { color: var(--muted-inv); }
.bg-navy .direct .big { color: var(--text-inv); }

/* ---------- Tech on white ---------- */
.bg-white .tech-card { background: var(--linen); }
.bg-white .tech-card blockquote { background: var(--white); }

/* ---------- Reviews ---------- */
.rv { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.rv__media { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: 999px 999px var(--r-lg) var(--r-lg); overflow: hidden; }
.rv__media img { width: 100%; height: 100%; object-fit: cover; }
.rv__quote { position: absolute; right: 1.4rem; bottom: -1.6rem; font-family: var(--f-display); font-size: 12rem; line-height: 1; color: var(--linen); opacity: .9; }
.rv__copy .h1 { margin-top: 1rem; }
.rv__copy .lead { margin-top: 1.4rem; max-width: 46ch; }
.rv__btns { margin-top: 2.2rem; align-items: center; gap: 1.6rem; }
.rv__btns .link svg { width: 14px; height: 14px; }
.rv__note { margin-top: 1.6rem; max-width: 52ch; }
.bg-sand .muted { color: #4f5763; }
.btn[aria-busy='true'] { opacity: .7; cursor: progress; }
.u360 { position: absolute; width: 0; height: 0; overflow: visible; }
/* their floating tab is off-brand and duplicates our button */
#u360-widget-container #u360-widget-open { display: none !important; }
#u360-widget-container #u360-widget-close { background: var(--ink) !important; font-family: var(--f-sans) !important; }
@media (max-width: 900px) { .rv { grid-template-columns: 1fr; } .rv__media { max-width: 440px; aspect-ratio: 1; } }

.bg-navy .path--info { color: var(--text); }
.bg-navy .path--info h3 { color: var(--text); }
.bg-navy .path--info .path__tag { color: var(--gold-ink); }
.bg-navy .path--info p { color: var(--text-2); }

/* ---------- Cookie consent ---------- */
.cookie { position: fixed; z-index: 90; left: var(--gutter); bottom: 1.2rem; width: min(560px, calc(100vw - 2 * var(--gutter))); display: grid; gap: 1rem; padding: 1.3rem 1.4rem; border-radius: var(--r-lg); background: var(--ink); color: var(--text-inv); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); opacity: 0; transform: translateY(16px); transition: opacity .4s ease, transform .5s var(--ease-out); }
.cookie.is-in { opacity: 1; transform: none; }
.cookie p { font-size: .86rem; line-height: 1.6; color: var(--muted-inv); }
.cookie .text-link { color: var(--text-inv); }
.cookie__btns { display: flex; flex-wrap: wrap; gap: .6rem; }
.cookie .btn:not(.btn--ghost) { --bg: var(--linen); --fg: var(--ink); --bd: var(--linen); --fill: var(--gold-soft); }
.cookie .btn--ghost { --bg: transparent; --fg: var(--text-inv); --bd: rgba(244, 238, 228, .34); --fill: var(--linen); }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 760px) { .cookie { bottom: calc(5.4rem + env(safe-area-inset-bottom)); } }

/* Privacy link inside the white request card on navy sections */
.bg-navy .path--info .text-link { color: var(--navy); text-decoration-color: var(--gold); }
/* books band: one column until the cards have room for their buttons */
@media (max-width: 1180px) { .books__grid { grid-template-columns: 1fr; } }

/* Nov 9 (call with David): the hero photo shows the team's faces clearly. The description moved below
   the form (kept near the top for SEO), the headline is smaller and sits low beside the buttons, and
   the shade darkens only the lower left corner where the text is, not the whole left half. */
/* Nov 10: a touch darker overall (Aida: "a little dark so the logo shows better, like the live website,
   but not too dark"): a deeper band behind the logo and menu, a lighter version of the live site's
   left-side shade, and a light veil over the whole photo. Faces stay clear of the darker zones. */
.hx__shade { background:
  linear-gradient(180deg, rgba(8, 20, 35, .66) 0%, rgba(8, 20, 35, .3) 13%, rgba(8, 20, 35, 0) 26%),
  radial-gradient(130% 95% at 0% 100%, rgba(8, 20, 35, .86) 0%, rgba(8, 20, 35, .62) 34%, rgba(8, 20, 35, .2) 62%, rgba(8, 20, 35, 0) 80%),
  linear-gradient(90deg, rgba(8, 20, 35, .42) 0%, rgba(8, 20, 35, .16) 30%, rgba(8, 20, 35, 0) 55%),
  linear-gradient(0deg, rgba(8, 20, 35, .55) 0%, rgba(8, 20, 35, 0) 34%),
  rgba(8, 20, 35, .12); }
.hx__display { font-size: min(clamp(2.6rem, 1.1rem + 3.7vw, 5.6rem), 9.2svh); line-height: .98; }
.hx__title { gap: 1rem; }
.hx__ctas { margin-top: 1.7rem; }
.hx .hx__lede { margin: 0 auto; padding-top: clamp(2.2rem, 4vw, 3.2rem); max-width: 62ch; text-align: center; font-size: var(--t-lead); line-height: 1.6; color: var(--text-2); }
@media (max-width: 760px) {
  .hx__shade { background: linear-gradient(180deg, rgba(8, 20, 35, .5) 0%, rgba(8, 20, 35, 0) 16%), linear-gradient(0deg, rgba(8, 20, 35, .92) 0%, rgba(8, 20, 35, .6) 38%, rgba(8, 20, 35, .1) 62%, rgba(8, 20, 35, .35) 100%), rgba(8, 20, 35, .1); }
  .hx__display { font-size: clamp(2.3rem, 1.6rem + 3vw, 3rem); }
  .hx .hx__lede { text-align: left; padding-top: 1.8rem; }
}

/* short laptop screens (1280 x 720, 1366 x 768): a tighter text stack keeps the faces clear */
@media (min-width: 1001px) and (max-height: 880px) {
  .hx__display { font-size: min(4.2vw, 7.2svh); }
  .hx__title { gap: .7rem; }
  .hx__ctas { margin-top: 1.1rem; }
  .hx__inner { padding-bottom: clamp(8.8rem, 15vh, 10.5rem); }
}
/* portrait tablets get the phone treatment: text at the foot of the photo, faces clear above */
@media (min-width: 761px) and (max-width: 1100px) and (max-aspect-ratio: 1/1) {
  .hx__shade { background: linear-gradient(180deg, rgba(8, 20, 35, .5) 0%, rgba(8, 20, 35, 0) 14%), linear-gradient(0deg, rgba(8, 20, 35, .92) 0%, rgba(8, 20, 35, .62) 30%, rgba(8, 20, 35, .08) 52%, rgba(8, 20, 35, .35) 100%), rgba(8, 20, 35, .1); }
  .hx__inner { grid-template-columns: 1fr; padding-bottom: 9rem; }
  .hx__side { display: none; }
  .hx__display { font-size: clamp(2.6rem, 1.4rem + 3vw, 3.6rem); max-width: 18ch; }
  .motion-toggle.hx__pause { top: auto; bottom: 4.6rem; right: auto; left: calc(var(--gutter) + 8px); }
  .hx__dockwrap { margin-top: -3.6rem; }
}
/* the location line above the headline wraps to two lines so it stays in the shaded corner */
@media (min-width: 761px) { .hx__seo { max-width: 31rem; } }

/* Nov 10: wide, short windows (wider than about 13:7; a 1536 x 864 laptop screen leaves 1536 x 730,
   a 1920 x 1080 monitor about 1920 x 950). The photo is cropped top and bottom there, so on the
   logo-wall slide the three faces fill the space between the menu and the text, and the location
   line used to touch a face. That slide is cropped a little lower so the tallest head clears the
   menu, and the text sits lower and tighter so it stays under the chins. */
@media (min-width: 1001px) and (min-aspect-ratio: 13/7) {
  /* the focal point is an inline style from the image helper, hence !important (as for --op-m) */
  .hx__slide img[src*='team-trio-logo'] { object-position: 48% 31% !important; }
  .hx__dockwrap { margin-top: -5.5rem; }
  .hx__inner { padding-bottom: 6.9rem; }
  .hx__title { gap: .5rem; }
  .hx__ctas { margin-top: .9rem; }
}
@media (min-width: 1001px) and (max-height: 880px) and (min-aspect-ratio: 13/7) {
  /* the headline takes the height left between the lowest chin on that slide (31svh + 11.8vw from
     the top with the crop above) and the form: two lines, never under 2.6rem */
  .hx__display { font-size: min(4.2vw, 7.2svh, max(2.6rem, 35.2svh - 6vw - 119px)); }
}

/* 11-service.css */
/* ==========================================================================
   Service pages (Oct 19 redesign): split hero, glance cards, designed modules.
   ========================================================================== */

/* ---------- Hero ---------- */
.sx { position: relative; color: var(--text-inv); background: radial-gradient(120% 110% at 0% 0%, #0f3460 0%, var(--navy) 38%, var(--ink) 100%); }
[data-theme='lumara'] .sx { background: radial-gradient(110% 90% at 15% 0%, #3a2d24, var(--lumara-night) 62%); }
[data-theme='aurelion'] .sx { background: radial-gradient(110% 100% at 10% 100%, #6f8f70, var(--aurelion-green) 32%, var(--aurelion-deep) 78%); }
[data-theme='elite'] .sx { background: radial-gradient(110% 100% at 0% 100%, #354b63, var(--elite-navy) 55%, #1c2a3a); }
.sx__grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); min-height: max(680px, 94svh); }
.sx__copy { display: flex; flex-direction: column; justify-content: center; gap: 1.5rem; padding: calc(var(--header-h) + 3.5rem) clamp(2rem, 5vw, 6rem) clamp(5.5rem, 9vw, 8rem) max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }
.sx__copy .crumbs { color: rgba(244, 238, 228, .72); }
.sx__copy .crumbs a:hover { color: var(--text-inv); }
.sx__eyebrow { color: var(--gold-soft); }
.sx__eyebrow i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px rgba(244, 238, 228, .08); }
.sx__title { font-size: clamp(2.5rem, 1.3rem + 3.2vw, 5.2rem); line-height: .98; max-width: 15ch; color: var(--text-inv); text-wrap: balance; }
.sx__title--long { font-size: clamp(2.2rem, 1.25rem + 2.3vw, 3.9rem); max-width: 19ch; }
.sx__title em { color: var(--accent, var(--gold-soft)); }
.sx .lead { color: rgba(244, 238, 228, .86); max-width: 50ch; }
.sx .btns { margin-top: .6rem; }
.sx .brandmark__word { color: var(--text-inv); }
.sx__visual { position: relative; min-height: 420px; }
.sx__media { position: absolute; inset: 0; overflow: hidden; }
.sx__media picture, .sx__media img { width: 100%; height: 100%; }
.sx__media img { object-fit: cover; }
.sx__media::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(8, 20, 35, .58) 0%, rgba(8, 20, 35, 0) 26%), linear-gradient(0deg, rgba(8, 20, 35, .35) 0%, rgba(8, 20, 35, 0) 30%); }
.sx__badge { position: absolute; z-index: 2; left: calc(-1 * clamp(70px, 6.2vw, 108px)); bottom: clamp(4.5rem, 12vh, 8rem); width: clamp(140px, 12.4vw, 216px); aspect-ratio: 1; border-radius: 50%; padding: clamp(12px, 1.4vw, 22px); background: var(--ink); border: 1px solid rgba(244, 238, 228, .16); box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .6); }
[data-theme='lumara'] .sx__badge { background: var(--lumara-night); }
[data-theme='aurelion'] .sx__badge { background: var(--aurelion-deep); }
[data-theme='elite'] .sx__badge { background: var(--elite-navy); }
.sx__badge .illo { width: 100%; height: 100%; }
@media (max-width: 900px) {
  .sx__grid { grid-template-columns: 1fr; min-height: 0; }
  .sx__copy { padding: calc(var(--header-h) + 2rem) var(--gutter) 2.5rem; }
  .sx__visual { min-height: 0; aspect-ratio: 4 / 3.4; }
  .sx__media { inset: 0; }
  .sx__badge { left: 1rem; bottom: -2.2rem; width: 118px; padding: 10px; }
}

/* ---------- Glance cards ---------- */
.sx-glance { position: relative; z-index: 3; }
.gl { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: calc(-1 * clamp(2.6rem, 5vw, 4.4rem)) 0 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 40px 80px -50px rgba(10, 26, 44, .5); overflow: hidden; }
.gl__item { padding: clamp(1.3rem, 2vw, 1.9rem) clamp(1.1rem, 1.6vw, 1.6rem); display: grid; align-content: start; gap: .5rem; }
.gl__item + .gl__item { border-left: 1px solid var(--line); }
.gl__icon { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--linen); color: var(--gold-ink); margin-bottom: 1rem; }
.gl__icon svg { width: 20px; height: 20px; }
[data-theme] .gl__icon { background: color-mix(in srgb, var(--t-soft) 18%, var(--linen)); color: var(--t-ink); }
.gl dt { font-size: .66rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.gl dd { margin: 0; font-size: .94rem; line-height: 1.5; color: var(--text); }
@media (max-width: 1100px) { .gl { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gl__item + .gl__item { border-left: 0; } .gl__item { border-top: 1px solid var(--line); } .gl__item:nth-child(-n+2) { border-top: 0; } .gl__item:nth-child(even) { border-left: 1px solid var(--line); } }
@media (max-width: 900px) { .gl { margin-top: 3.4rem; } }
@media (max-width: 560px) { .gl { grid-template-columns: 1fr; } .gl__item:nth-child(even) { border-left: 0; } .gl__item:nth-child(2) { border-top: 1px solid var(--line); } }

/* ---------- Intro statement ---------- */
.sx-intro { padding: clamp(4.5rem, 9vw, 8rem) 0 clamp(4rem, 8vw, 7rem); }
.sx-intro__grid { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: clamp(2.5rem, 6vw, 7rem); align-items: center; }
.sx-intro__art { aspect-ratio: 1; border-radius: 50%; background: var(--linen); padding: 7%; max-width: 440px; }
.sx-intro__text { margin-top: 1.2rem; max-width: 22ch; }
.sx-intro__text.lead--xl { max-width: 52ch; }
@media (max-width: 900px) { .sx-intro__grid { grid-template-columns: 1fr; } .sx-intro__art { max-width: 260px; } }

/* ---------- Sticky "on this page" ---------- */
.sx-nav { position: sticky; top: 0; z-index: 40; background: rgba(253, 251, 247, .9); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-block: 1px solid var(--line); }
.sx-nav__inner { display: flex; align-items: center; gap: 1.4rem; }
.sx-nav__label { flex: none; font-size: .64rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.sx-nav ol { display: flex; gap: .4rem; list-style: none; margin: 0; padding: .7rem 0; overflow-x: auto; scrollbar-width: none; }
.sx-nav ol::-webkit-scrollbar { display: none; }
.sx-nav a { display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap; padding: .5rem .95rem; border-radius: 999px; font-size: .84rem; color: var(--text-2); border: 1px solid transparent; transition: background .3s, color .3s, border-color .3s; }
.sx-nav a span { font-family: var(--f-display); font-style: italic; color: var(--gold-ink); font-size: .95rem; }
.sx-nav a:hover { border-color: var(--line-strong); color: var(--text); }
.sx-nav a.is-active { background: var(--ink); color: var(--text-inv); }
[data-theme] .sx-nav a.is-active { background: var(--t-dark); }
.sx-nav a.is-active span { color: var(--gold-soft); }
@media (max-width: 760px) { .sx-nav__label { display: none; } }
/* laptops: a little less chip padding so 8 chips plus Questions fit at 1280 (Nov 13 2026, Profile Elite gained a Wearables chip) */
@media (min-width: 761px) and (max-width: 1320px) { .sx-nav a { padding-inline: .8rem; } }
html:not(.is-scrolling-up) .site-header.is-hidden ~ main .sx-nav { top: 0; }

/* ---------- Modules ---------- */
.sxm { padding-block: clamp(4.5rem, 2.5rem + 6vw, 8.5rem); scroll-margin-top: 4rem; }
.sxm__head { display: grid; gap: 1rem; }
.sxm__n { display: flex; align-items: center; gap: .9rem; font-family: var(--f-display); font-style: italic; font-size: 1.15rem; color: var(--gold-ink); }
.sxm__n::after { content: ''; width: 3.2rem; height: 1px; background: currentColor; opacity: .6; }
.sxm__n--inv { color: var(--gold-soft); }
[data-theme] .sxm__n:not(.sxm__n--inv) { color: var(--t-ink); }
[data-theme] .sxm__n--inv { color: var(--t-soft); }
.sxm__head .h2 { font-size: clamp(2rem, 1.3rem + 2.3vw, 3.6rem); max-width: 18ch; text-wrap: balance; }
.sxm .prose { max-width: 64ch; }
.sxm .prose > p:first-child { margin-top: 0; }

/* photo + text */
.sxm__grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(2.5rem, 6vw, 7rem); align-items: start; }
.sxm--flip .sxm__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
.sxm--flip .sxm__media, .sxm--flip .sxm__art { order: 2; }
.sxm__media { position: sticky; top: 6.5rem; margin: 0; aspect-ratio: 4 / 5; border-radius: 999px 999px var(--r-lg) var(--r-lg); overflow: hidden; }
.sxm--flip .sxm__media { border-radius: var(--r-lg); aspect-ratio: 5 / 6; }
.sxm__media picture, .sxm__media img { width: 100%; height: 100%; }
.sxm__media img { object-fit: cover; }
.sxm__art { position: sticky; top: 6.5rem; aspect-ratio: 1; border-radius: var(--r-lg); padding: 9%; background: var(--linen); display: grid; place-items: center; }
.bg-linen .sxm__art { background: var(--white); }
.sxm__text .sxm__body { margin-top: 2rem; }
@media (max-width: 900px) {
  .sxm__grid, .sxm--flip .sxm__grid { grid-template-columns: 1fr; }
  .sxm--flip .sxm__media, .sxm--flip .sxm__art { order: 0; }
  .sxm__media, .sxm__art { position: relative; top: 0; max-height: 64vh; }
  .sxm__media { aspect-ratio: 4 / 3.6; border-radius: 160px 160px var(--r-lg) var(--r-lg); }
  .sxm--flip .sxm__media { aspect-ratio: 4 / 3.2; }
  .sxm__art { aspect-ratio: 16 / 10; padding: 4% 20%; }
}

/* lists inside modules: icon cards */
.sxm .prose ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: .7rem; margin-top: 1.6rem; }
.sxm .prose ul li { margin: 0; position: relative; padding: 1rem 1.1rem 1rem 3.2rem; border-radius: var(--r-md); background: var(--linen); border: 1px solid var(--line); font-size: .96rem; line-height: 1.55; color: var(--text); }
.bg-linen .sxm .prose ul li, .sxm.bg-linen .prose ul li { background: var(--white); }
.sxm .prose ul li::before { content: ''; position: absolute; left: 1.05rem; top: 1.05rem; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6.5 12.5 3.6 3.6L17.5 8.5' fill='none' stroke='%23fdfbf7' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat; }
[data-theme] .sxm .prose ul li::before { background-color: var(--t-ink); }

/* callouts */
.sxc { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: start; margin-top: 2rem; padding: clamp(1.3rem, 2.4vw, 2rem); border-radius: var(--r-lg); background: var(--sand-2); color: var(--text); }
.bg-linen .sxc { background: var(--white); border: 1px solid var(--line); }
.sxc h3 { font-family: var(--f-display); font-weight: 420; font-size: 1.5rem; line-height: 1.15; }
.sxc p { margin-top: .5rem; font-size: .98rem; line-height: 1.65; color: var(--text-2); }
.sxc__icon { width: 46px; height: 46px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--gold-soft); }
.sxc__icon svg { width: 22px; height: 22px; }
.sxc--dark { background: var(--ink); color: var(--text-inv); }
[data-theme] .sxc--dark { background: var(--t-dark); }
.sxc--dark h3 { color: var(--text-inv); }
.sxc--dark p { color: var(--muted-inv); }
.sxc--dark .sxc__icon { background: rgba(244, 238, 228, .08); }
.prose .sxc { max-width: none; }

/* steps: dark timeline band */
.sxm--steps { background: radial-gradient(120% 100% at 100% 0%, #123a66, var(--navy) 45%, var(--ink)); }
[data-theme] .sxm--steps { background: var(--t-dark); }
[data-theme='aurelion'] .sxm--steps { background: radial-gradient(120% 100% at 100% 0%, #4f6b50, var(--aurelion-deep) 60%); }
.sxm__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 6rem); align-items: end; }
.sxm__intro { font-size: 1.05rem; line-height: 1.7; }
.sxm--steps .sxm__intro { color: var(--muted-inv); }
.sxm--steps .sxm__intro a { color: var(--text-inv); text-decoration: underline; text-decoration-color: var(--gold-soft); text-underline-offset: .2em; }
.tl { --dot: 72px; position: relative; list-style: none; padding: 0; margin: clamp(3rem, 6vw, 5rem) 0 0; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: clamp(1.2rem, 2.4vw, 2.6rem); }
.tl__line { position: absolute; left: calc(var(--dot) / 2); right: 0; top: calc(var(--dot) / 2 - 5px); width: calc(100% - var(--dot) / 2); height: 10px; color: rgba(244, 238, 228, .28); overflow: visible; }
.tl__step { position: relative; display: grid; align-content: start; gap: .8rem; }
.tl__dot { position: relative; width: var(--dot); height: var(--dot); display: grid; place-items: center; border-radius: 50%; background: var(--ink); }
[data-theme] .tl__dot { background: var(--t-dark); }
[data-theme='aurelion'] .tl__dot { background: var(--aurelion-deep); }
.tl__ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.tl__dot b { font-family: var(--f-display); font-weight: 400; font-style: italic; font-size: 1.3rem; color: var(--gold-soft); }
.tl__step h3 { margin-top: .8rem; font-family: var(--f-display); font-weight: 420; font-size: 1.55rem; line-height: 1.1; color: var(--text-inv); }
.tl__step p { font-size: .94rem; line-height: 1.62; color: var(--muted-inv); }
.sxm--steps .sxc { background: rgba(244, 238, 228, .06); border: 1px solid var(--line-inv); color: var(--text-inv); margin-top: clamp(2.5rem, 5vw, 4rem); }
.sxm--steps .sxc h3 { color: var(--text-inv); }
.sxm--steps .sxc p { color: var(--muted-inv); }
.sxm--steps .sxc__icon { background: rgba(244, 238, 228, .08); }
.sxm__after { margin-top: 2rem; color: var(--muted-inv); }
@media (max-width: 1000px) {
  .sxm__top { grid-template-columns: 1fr; align-items: start; }
  .tl { grid-template-columns: 1fr; gap: 0; }
  .tl__line { display: none; }
  .tl__step { grid-template-columns: var(--dot) 1fr; column-gap: 1.4rem; padding-bottom: 2rem; }
  .tl__step::before { content: ''; position: absolute; left: calc(var(--dot) / 2); top: var(--dot); bottom: 0; width: 1px; background: rgba(244, 238, 228, .2); }
  .tl__step:last-child::before { display: none; }
  .tl__dot { grid-row: span 2; }
  .tl__step h3 { margin-top: 1.1rem; }
}

/* split: women / men photo cards */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.8rem); margin-top: clamp(2.5rem, 5vw, 4rem); }
.duo__card { border-radius: var(--r-lg); overflow: hidden; background: var(--white); border: 1px solid var(--line); display: grid; grid-template-rows: auto 1fr; }
.bg-white .duo__card { background: var(--linen); }
.duo__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.duo__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.duo__card:hover .duo__media img { transform: scale(1.03); }
.duo__tag { position: absolute; left: 1.2rem; bottom: 1.2rem; padding: .55rem 1.1rem; border-radius: 999px; background: rgba(10, 26, 44, .7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--text-inv); font-family: var(--f-display); font-size: 1.35rem; line-height: 1; }
.duo__body { padding: clamp(1.4rem, 2.6vw, 2.4rem); }
.duo__body.prose ul { grid-template-columns: 1fr; }
.duo__body.prose ul li { background: var(--white); }
.bg-linen .duo__body.prose ul li { background: var(--linen); }

/* split: comparison cards */
.cmp { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.8rem); margin-top: clamp(2.5rem, 5vw, 4rem); }
.cmp__card { position: relative; padding: clamp(1.6rem, 3vw, 2.8rem); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.bg-white .cmp__card { background: var(--linen); }
.cmp__card--lead { background: var(--ink) !important; color: var(--text-inv); border-color: transparent; }
[data-theme] .cmp__card--lead { background: var(--t-dark) !important; }
.cmp__k { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--f-display); font-style: italic; font-size: 1.1rem; color: var(--gold-ink); }
.cmp__card--lead .cmp__k { color: var(--gold-soft); }
.cmp__k .glyph { width: 1.4em; height: 1.4em; }
.cmp__card h3 { margin-top: 1rem; font-family: var(--f-display); font-weight: 400; font-size: clamp(1.6rem, 1.2rem + 1vw, 2.2rem); line-height: 1.05; }
.cmp__card .prose { margin-top: 1rem; }
.cmp__card--lead .prose { color: var(--muted-inv); }
.cmp__card--lead .prose strong { color: var(--text-inv); }
.cmp__card--lead .prose a { color: var(--text-inv); }
.cmp__card--lead .prose ul li { background: rgba(244, 238, 228, .06); border-color: var(--line-inv); color: var(--text-inv); }
@media (max-width: 900px) { .duo, .cmp { grid-template-columns: 1fr; } }
/* three comparison cards (stem cell page product types) sit in one row on wide screens */
@media (min-width: 1101px) { .cmp--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 901px) and (max-width: 1100px) { .cmp--3 > :last-child { grid-column: 1 / -1; } }

/* ---------- Important information ---------- */
.sx-notes { padding-block: clamp(3.5rem, 6vw, 5.5rem); border-top: 1px solid var(--line); }
.sx-notes__grid { display: grid; grid-template-columns: minmax(0, .5fr) minmax(0, 1.5fr); gap: clamp(1.5rem, 4vw, 4rem); }
.sx-notes__head { display: flex; align-items: center; gap: 1rem; align-self: start; }
.sx-notes__body { columns: 2 320px; column-gap: 3rem; font-size: .9rem; line-height: 1.7; color: var(--text-2); }
.sx-notes__body p { break-inside: avoid; margin-bottom: 1em; }
@media (max-width: 900px) { .sx-notes__grid { grid-template-columns: 1fr; } }

/* ---------- FAQ on sand ---------- */
.sx-faq .faq { max-width: none; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(2rem, 5vw, 6rem); align-items: start; }
.sx-faq .faq > :first-child { position: sticky; top: 6rem; }
.sx-faq .faq__item { border-color: rgba(10, 26, 44, .14); }
@media (max-width: 900px) { .sx-faq .faq { grid-template-columns: 1fr; } .sx-faq .faq > :first-child { position: static; } }

/* ---------- Closing CTA over the clinic photo ---------- */
.sx-cta { position: relative; isolation: isolate; overflow: hidden; min-height: min(78vh, 760px); display: grid; align-items: end; background: var(--ink); }
.sx-cta__img { position: absolute; inset: 0; z-index: -2; }
.sx-cta__img picture, .sx-cta__img img { width: 100%; height: 100%; }
.sx-cta__img img { object-fit: cover; }
.sx-cta::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(8, 20, 35, .92) 0%, rgba(8, 20, 35, .6) 45%, rgba(8, 20, 35, .25) 100%); }
[data-theme] .sx-cta::before { background: linear-gradient(0deg, color-mix(in srgb, var(--t-dark) 94%, transparent) 0%, color-mix(in srgb, var(--t-dark) 62%, transparent) 50%, rgba(8, 20, 35, .2) 100%); }
.sx-cta__inner { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 2rem 4rem; align-items: end; padding-block: clamp(5rem, 10vw, 8rem) clamp(3.5rem, 7vw, 6rem); }
.sx-cta .h1 { margin-top: 1rem; max-width: 16ch; font-size: clamp(2.4rem, 1.4rem + 3vw, 4.8rem); }
.sx-cta .lead { margin-top: 1.2rem; color: rgba(244, 238, 228, .86); }
@media (max-width: 900px) { .sx-cta__inner { grid-template-columns: 1fr; } }

.js-motion .tl__ring .ring { stroke-dasharray: 1; stroke-dashoffset: 1; }
.tl__ring .ring { stroke-width: 1.1; }

/* reviewer fixes (Oct 19): glance cards overlap the hero for real, five cards wrap 3 + 2,
   and on phones the hero badge stays above the glance section */
.sx-glance { display: flow-root; }
@media (min-width: 761px) and (max-width: 1100px) {
  .gl { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .gl > .gl__item { grid-column: span 2; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
  .gl > .gl__item:nth-child(5):last-child, .gl > .gl__item:nth-child(4):nth-last-child(2) { grid-column: span 3; }
  .gl > .gl__item:nth-child(-n+3) { border-top: 0; }
  .gl > .gl__item:nth-child(3n+1) { border-left: 0; }
  .gl > .gl__item:nth-child(5):last-child { border-left: 1px solid var(--line); }
  .shub-jump.gl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shub-jump.gl > .gl__item { grid-column: auto; border-left: 0; }
  .shub-jump.gl > .gl__item:nth-child(even) { border-left: 1px solid var(--line); }
  .shub-jump.gl > .gl__item:nth-child(-n+2) { border-top: 0; }
}
@media (min-width: 561px) and (max-width: 760px) { .gl > .gl__item:last-child:nth-child(odd) { grid-column: 1 / -1; border-left: 0; } }
@media (max-width: 900px) { .sx { z-index: 4; } }

/* phones: the CTA copy sits over the light gable of the clinic photo, so deepen the scrim */
@media (max-width: 900px) { .sx-cta::before { background: linear-gradient(0deg, rgba(8, 20, 35, .94) 0%, rgba(8, 20, 35, .82) 65%, rgba(8, 20, 35, .5) 100%); } }

/* Nov 10: certification seal with one line, inside a section (Hyagen badge on the stem cell page) */
.sx-seal { display: flex; align-items: center; gap: 1.1rem; margin-top: 1.8rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.sx-seal picture { flex: none; display: block; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.sx-seal img { display: block; width: 72px; height: 72px; object-fit: contain; }
.sx-seal p { margin: 0; font-size: .95rem; color: var(--text); }

/* 12-about.css */
/* ==========================================================================
   About page (Oct 19 redesign). Scoped to .ab-* classes; reuses the service
   page system (sx hero tokens, gl glance cards, sx-nav, sxm heads, sx-cta).
   Rhythm: navy hero (letterbox photo first, copy under the seam) / white glance +
   mission / linen clinic / white team / sand approach / navy leadership / linen
   San Diego / ink CTA with the team photo beside the copy.
   ========================================================================== */

/* ---------- Hero (Oct 26): the service-page split hero. Copy on navy at left, the team
   photographed full length at right (edge to edge), THRYV mark badge on the seam. ---------- */
.ab-hero .sx__title { max-width: 14ch; }

/* ---------- Glance: four cards over the navy seam under the hero copy ---------- */
.ab-glance .gl { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .ab-glance .gl { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .ab-glance .gl__item:nth-child(even) { border-left: 1px solid var(--line); }
  .ab-glance .gl__item:nth-child(2) { border-top: 0; }
  .ab-glance .gl__item { padding: 1.1rem .95rem 1.2rem; }
  .ab-glance .gl__icon { width: 36px; height: 36px; margin-bottom: .7rem; }
  .ab-glance .gl dt { letter-spacing: .14em; font-size: .6rem; }
  .ab-glance .gl dd { font-size: .86rem; }
}
@media (max-width: 340px) { .ab-glance .gl { grid-template-columns: 1fr; } .ab-glance .gl__item:nth-child(even) { border-left: 0; } .ab-glance .gl__item:nth-child(2) { border-top: 1px solid var(--line); } }

/* ---------- Mission: illustration + statement, three pillars ---------- */
.ab-mission { padding: clamp(4.5rem, 9vw, 8rem) 0 clamp(4.5rem, 8vw, 7.5rem); }
.ab-mission__grid { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: clamp(2.5rem, 6vw, 7rem); align-items: center; }
.ab-mission__art { aspect-ratio: 1; border-radius: 50%; background: var(--linen); padding: 6%; width: 100%; max-width: 440px; }
.ab-mission__text { margin-top: 1.2rem; font-size: clamp(2rem, 1.2rem + 2.2vw, 3.5rem); line-height: 1.04; max-width: 21ch; }
.ab-mission__copy .lead { margin-top: 1.8rem; max-width: 56ch; }
.ab-pillars { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3.4vw, 3.6rem); margin: clamp(3.5rem, 7vw, 6rem) 0 0; }
.ab-pillar { position: relative; border-top: 1px solid var(--line); padding-top: 1.6rem; }
.ab-pillar::before { content: ''; position: absolute; top: -1px; left: 0; width: 3.4rem; height: 2px; background: var(--c); }
.ab-pillar--terra { --c: var(--terra); }
.ab-pillar--sage { --c: var(--sage); }
.ab-pillar--gold { --c: var(--gold); }
.ab-pillar__n { display: flex; align-items: center; gap: .7rem; font-family: var(--f-display); font-style: italic; font-size: 1.1rem; color: var(--gold-ink); }
.ab-pillar__n i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.ab-pillar h3 { margin-top: .9rem; font-family: var(--f-display); font-weight: 400; font-size: clamp(1.75rem, 1.3rem + 1vw, 2.35rem); line-height: 1.05; }
.ab-pillar p { margin-top: .6rem; max-width: 34ch; font-size: .98rem; line-height: 1.62; color: var(--text-2); }
@media (max-width: 900px) {
  .ab-mission__grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .ab-mission__art { max-width: 250px; }
  .ab-pillars { grid-template-columns: 1fr; gap: 1.8rem; }
}

/* ---------- Clinic: arch-framed exterior plus three interiors ---------- */
.ab-mosaic { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .5fr) minmax(0, .5fr); gap: clamp(.75rem, 1.4vw, 1.2rem); margin-top: clamp(2.5rem, 5vw, 4.2rem); }
.ab-mosaic__tile { position: relative; margin: 0; overflow: hidden; border-radius: var(--r-lg); background: var(--sand); isolation: isolate; }
.ab-mosaic__tile picture, .ab-mosaic__tile img { width: 100%; height: 100%; }
.ab-mosaic__tile img { object-fit: cover; transition: transform 1.6s var(--ease-out); }
.ab-mosaic__tile:hover img { transform: scale(1.03); }
.ab-mosaic__tile--a { grid-column: 1; grid-row: 1 / span 2; border-radius: 999px 999px var(--r-lg) var(--r-lg); min-height: 100%; }
.ab-mosaic__tile--b { grid-column: 2 / span 2; grid-row: 1; aspect-ratio: 3 / 2; }
.ab-mosaic__tile--c, .ab-mosaic__tile--d { grid-row: 2; aspect-ratio: 4 / 5; }
.ab-mosaic__tile--c { grid-column: 2; }
.ab-mosaic__tile--d { grid-column: 3; }
.ab-mosaic__cap { position: absolute; left: 1rem; bottom: 1rem; z-index: 1; padding: .45rem .95rem; border-radius: 999px; background: rgba(10, 26, 44, .74); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--text-inv); font-size: .78rem; letter-spacing: .04em; line-height: 1.2; }
.ab-mosaic__tile--a .ab-mosaic__cap { left: 1.6rem; bottom: 1.6rem; font-family: var(--f-display); font-size: 1.2rem; letter-spacing: 0; padding: .5rem 1.1rem; }
.ab-visit { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.4rem 3rem; margin-top: clamp(.75rem, 1.4vw, 1.2rem); padding: clamp(1.2rem, 2.4vw, 1.8rem) clamp(1.3rem, 2.8vw, 2.4rem); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.ab-visit__facts { display: flex; flex-wrap: wrap; gap: 1.2rem clamp(1.6rem, 4.4vw, 4.4rem); margin: 0; }
.ab-visit dt { display: flex; align-items: center; gap: .5rem; font-size: .66rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.ab-visit dt svg { color: var(--gold-ink); width: 1.05rem; height: 1.05rem; }
.ab-visit dd { margin: .4rem 0 0; font-size: .98rem; line-height: 1.45; color: var(--text); }
.ab-visit dd a { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: .2em; }
.ab-visit__links { display: flex; flex-wrap: wrap; gap: 1rem 2.2rem; }
@media (max-width: 900px) {
  .ab-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-mosaic__tile--a { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 1 / .96; min-height: 0; }
  .ab-mosaic__tile--b { grid-column: 1 / -1; grid-row: auto; }
  .ab-mosaic__tile--c, .ab-mosaic__tile--d { grid-column: auto; grid-row: auto; }
  .ab-mosaic__cap { left: .7rem; bottom: .7rem; font-size: .72rem; padding: .4rem .75rem; }
  .ab-mosaic__tile--a .ab-mosaic__cap { left: 1rem; bottom: 1rem; font-size: 1.05rem; }
  .ab-visit { flex-direction: column; align-items: flex-start; }
  .ab-visit__facts { display: grid; gap: 1.1rem; }
}

/* ---------- Portraits: arch frames, photo at the base, sand headroom ---------- */
.ab-arch { position: relative; display: flex; align-items: flex-end; aspect-ratio: 4 / 5.3; border-radius: 999px 999px var(--r-md) var(--r-md); overflow: hidden; background: #e7dccb; }
.ab-arch picture { display: block; width: 100%; }
.ab-arch img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 0 !important; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 7%); mask-image: linear-gradient(180deg, transparent 0, #000 7%); }
.ab-arch__mono { display: grid; place-items: center; width: 100%; height: 100%; font-family: var(--f-display); font-style: italic; font-size: 3rem; color: var(--gold-ink); }
.ab-arch--dark { outline: 1px solid rgba(211, 187, 143, .36); outline-offset: 9px; }
.ab-arch--sm { width: 96px; flex: none; border-radius: 999px 999px 12px 12px; }

/* names, roles, chips, bios */
.ab-role { display: block; font-size: .68rem; font-weight: 560; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); }
.ab-name { margin-top: .55rem; font-family: var(--f-display); font-weight: 400; font-size: clamp(1.7rem, 1.3rem + 1vw, 2.25rem); line-height: 1.04; color: var(--text); }
.ab-name--xl { font-size: clamp(2.3rem, 1.4rem + 2.4vw, 3.8rem); line-height: .98; }
.ab-name--sm { font-size: 1.5rem; margin-top: .35rem; }
.ab-chips { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; padding: 0; margin: 1rem 0 0; }
.ab-chip { display: inline-flex; align-items: center; gap: .4rem; padding: .32rem .8rem; border-radius: 999px; border: 1px solid var(--line-strong); font-size: .8rem; line-height: 1.3; color: var(--text-2); }
.ab-chip .glyph { width: 1em; height: 1em; color: var(--gold-ink); }
.ab-chip--cred { background: var(--ink); border-color: var(--ink); color: var(--text-inv); font-weight: 520; letter-spacing: .1em; }
.ab-bio { margin-top: 1.1rem; font-size: .98rem; line-height: 1.7; color: var(--text-2); max-width: 60ch; }
.ab-bio--lead { font-size: clamp(1.02rem, .96rem + .3vw, 1.2rem); line-height: 1.72; max-width: 54ch; }
.ab-bio--sm { margin-top: .6rem; font-size: .9rem; line-height: 1.62; }
.ab-note { display: flex; gap: .7rem; align-items: flex-start; margin-top: 1.2rem; padding: .9rem 1.1rem; border-radius: var(--r-md); background: var(--linen); font-size: .9rem; line-height: 1.55; color: var(--text-2); }
.ab-note svg { flex: none; margin-top: .15rem; color: var(--gold-ink); }

/* ---------- Medical team ---------- */
.ab-lead { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(2rem, 5.5vw, 6rem); align-items: center; margin-top: clamp(2.5rem, 5vw, 4.2rem); padding: clamp(1.8rem, 4vw, 3.6rem) clamp(1.6rem, 5vw, 5rem); border-radius: var(--r-lg); background: var(--linen); }
.ab-lead__media { position: relative; width: clamp(220px, 20vw, 290px); padding-top: 16px; }
.ab-lead__media .ab-arch { position: relative; z-index: 1; }
.ab-lead .ab-lead__ring { position: absolute; z-index: 0; inset: auto; left: -18px; top: -2px; width: calc(100% + 36px); max-width: none; height: auto; aspect-ratio: 1; }
.ab-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.9rem, 1.6vw, 1.4rem); margin-top: clamp(.9rem, 1.6vw, 1.4rem); }
.ab-person { display: grid; grid-template-columns: clamp(140px, 14vw, 210px) minmax(0, 1fr); gap: clamp(1.3rem, 2.6vw, 2.4rem); align-items: start; padding: clamp(1.4rem, 2.6vw, 2.2rem); border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--white); }
@media (max-width: 1100px) {
  .ab-pair { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .ab-lead { grid-template-columns: 1fr; justify-items: start; gap: 1.8rem; padding: 2rem 1.4rem 1.8rem; }
  .ab-lead__media { width: min(240px, 72%); margin-left: 18px; }
  .ab-person { grid-template-columns: 1fr; gap: 1.3rem; }
  .ab-person .ab-arch { width: min(200px, 60%); }
}

/* ---------- Approach: sticky arch photo + principles ---------- */
.ab-approach__grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(2.5rem, 6vw, 7rem); align-items: start; margin-top: clamp(2.5rem, 5.5vw, 5rem); }
.ab-approach__media { position: sticky; top: 6.5rem; margin: 0; aspect-ratio: 4 / 5; border-radius: 999px 999px var(--r-lg) var(--r-lg); overflow: hidden; }
.ab-approach__media picture, .ab-approach__media img { width: 100%; height: 100%; }
.ab-approach__media img { object-fit: cover; }
.ab-principles { --dot: 64px; list-style: none; padding: 0; margin: 0; }
.ab-principle { display: grid; grid-template-columns: var(--dot) minmax(0, 1fr); gap: clamp(1.2rem, 2.4vw, 2.2rem); padding: clamp(1.6rem, 3vw, 2.4rem) 0; border-top: 1px solid rgba(10, 26, 44, .14); }
.ab-principle:last-child { border-bottom: 1px solid rgba(10, 26, 44, .14); }
.ab-principle__dot { position: relative; width: var(--dot); height: var(--dot); display: grid; place-items: center; border-radius: 50%; background: var(--white); }
.ab-principle__dot b { font-family: var(--f-display); font-weight: 400; font-style: italic; font-size: 1.2rem; color: var(--gold-ink); }
.ab-principle h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.8rem, 1.3rem + 1.2vw, 2.6rem); line-height: 1.04; margin-top: .3rem; }
.ab-principle p { margin-top: .7rem; max-width: 54ch; font-size: 1rem; line-height: 1.7; color: var(--text-2); }
@media (max-width: 900px) {
  .ab-approach__grid { grid-template-columns: 1fr; }
  .ab-approach__media { position: relative; top: 0; aspect-ratio: 4 / 4.4; max-height: 70vh; border-radius: 160px 160px var(--r-lg) var(--r-lg); }
  .ab-principles { --dot: 52px; }
}

/* ---------- Leadership on ink ---------- */
.ab-leaders { background: radial-gradient(120% 100% at 100% 0%, #123a66, var(--navy) 45%, var(--ink)); }
.ab-leaders .sxm__intro { color: var(--muted-inv); }
.ab-leaders__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 4.5rem); margin-top: clamp(3rem, 6vw, 5rem); }
.ab-leader .ab-arch { width: min(100% - 20px, 260px); margin: 10px 10px 2rem; }
.ab-leader .ab-role { color: var(--gold-soft); }
.ab-leader .ab-name { color: var(--text-inv); }
.ab-leader .ab-bio { color: var(--muted-inv); }
.ab-leader__book { display: flex; align-items: center; gap: .6rem; margin: 1.3rem 0 .8rem; font-size: .92rem; color: var(--text-inv); }
.ab-leader__book svg { color: var(--gold-soft); }
.ab-leader__book em { font-family: var(--f-display); font-size: 1.15rem; }
.ab-leader .link { color: var(--text-inv); }
@media (max-width: 1000px) and (min-width: 641px) {
  /* tablet: one leader per row, portrait beside the text, no orphaned card */
  .ab-leaders__grid { grid-template-columns: 1fr; gap: 2.6rem; }
  .ab-leader { display: grid; grid-template-columns: 200px minmax(0, 1fr); column-gap: 2.6rem; align-content: start; }
  .ab-leader > * { grid-column: 2; }
  .ab-leader > .ab-arch { grid-column: 1; grid-row: 1 / span 6; width: 180px; margin: 10px; }
  .ab-leader .ab-role { margin-top: 1.2rem; }
  .ab-leader > .link { justify-self: start; }
}
@media (max-width: 640px) {
  .ab-leaders__grid { grid-template-columns: 1fr; gap: 3rem; }
  .ab-leader .ab-arch { width: min(220px, 62%); }
}

/* ---------- San Diego + certification ---------- */
.ab-more__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 6rem); align-items: start; }
.ab-sd__intro { margin-top: 1.4rem; max-width: 58ch; font-size: 1.04rem; line-height: 1.7; color: var(--text-2); }
.ab-sd__list { list-style: none; padding: 0; margin: 2rem 0 2rem; display: grid; gap: 0; }
.ab-sd__item { display: flex; gap: clamp(1rem, 2.4vw, 1.8rem); align-items: flex-start; padding: 1.4rem 0; border-top: 1px solid var(--line); }
.ab-sd__item:last-child { border-bottom: 1px solid var(--line); }
.ab-sd__flag { display: inline-block; margin-top: .45rem; font-size: .78rem; color: var(--muted); }
.ab-cert { position: sticky; top: 6.5rem; padding: clamp(1.8rem, 3.4vw, 2.8rem); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); box-shadow: 0 40px 80px -60px rgba(10, 26, 44, .45); }
.ab-cert__seal { margin-bottom: 1.6rem; }
.ab-cert__seal a { display: inline-block; padding: 8px; border-radius: 10px; background: #fff; border: 1px solid var(--line); }
.ab-cert__seal img { height: 74px; width: auto; }
.ab-cert .h3 { margin-top: 1rem; }
.ab-cert p { margin-top: .9rem; font-size: .96rem; line-height: 1.68; color: var(--text-2); }
.ab-cert .ab-cert__small { padding-top: .9rem; border-top: 1px solid var(--line); font-size: .86rem; color: var(--muted); }
@media (max-width: 900px) {
  .ab-more__grid { grid-template-columns: 1fr; }
  .ab-cert { position: relative; top: 0; }
}

/* ---------- Closing CTA ----------
   The team photo is full of people from edge to edge of its middle half, so no copy may sit
   on it. Wide screens: the photo starts 30% in from the left, anchored to its own left edge,
   and fades into ink where the copy sits. Tablet and phone: photo on top, copy below. */
.ab-cta .h1 { max-width: 14ch; }
@media (min-width: 1101px) {
  .ab-cta { align-items: center; min-height: min(80vh, 760px); }
  .ab-cta .sx-cta__img { left: 30%; }
  .ab-cta .sx-cta__img img { object-position: 0% 42% !important; }
  .ab-cta::before { background: linear-gradient(90deg, var(--ink) 0%, var(--ink) 30%, rgba(10, 26, 44, .9) 34%, rgba(10, 26, 44, .55) 42%, rgba(10, 26, 44, .18) 53%, rgba(10, 26, 44, 0) 63%), linear-gradient(0deg, rgba(10, 26, 44, .5) 0%, rgba(10, 26, 44, 0) 26%); }
  .ab-cta .sx-cta__inner { grid-template-columns: minmax(0, 36rem); gap: 2.2rem; align-items: start; padding-block: clamp(5rem, 8vw, 7rem); }
  .ab-cta .lead { max-width: 31rem; }
}
@media (max-width: 1100px) {
  /* photo on top, copy below on ink, so no text sits over the team */
  .ab-cta { display: block; min-height: 0; }
  .ab-cta::before { display: none; }
  .ab-cta .sx-cta__img { position: relative; inset: auto; z-index: 0; aspect-ratio: 16 / 9; }
  .ab-cta .sx-cta__img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, var(--ink) 0%, rgba(10, 26, 44, 0) 30%); }
  .ab-cta .sx-cta__inner { grid-template-columns: minmax(0, 1fr); gap: 2rem; padding-block: .5rem clamp(3.5rem, 7vw, 5rem); margin-top: -2.5rem; position: relative; }
  .ab-cta .lead { max-width: 40rem; }
}
@media (max-width: 760px) { .ab-cta .sx-cta__img { aspect-ratio: 4 / 4.4; } }

/* Oct 26: four people on the corporate team (David, Kerry, Andrew, Adam) and a third card in the
   Bradenton pair (Jamie Searles). Four leaders sit in one row on wide screens, 2 x 2 below that;
   an odd last card in the pair spans the full row instead of sitting alone. */
@media (min-width: 1001px) {
  .ab-leaders__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.6rem, 2.6vw, 3rem); }
  .ab-leader .ab-arch { width: min(100% - 20px, 240px); }
}
@media (min-width: 1101px) {
  .ab-pair > .ab-person:last-child:nth-child(odd) { grid-column: 1 / -1; grid-template-columns: clamp(140px, 14vw, 210px) minmax(0, 1fr); }
  .ab-pair > .ab-person:last-child:nth-child(odd) .ab-bio { max-width: 70ch; }
}

/* Nov 9: multi-paragraph bios and the certification line with the EvexiPEL seal */
.ab-bio + .ab-bio { margin-top: .8rem; }
.ab-cert-line { display: flex; align-items: center; gap: .9rem; margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .9rem; line-height: 1.5; color: var(--text); }
.ab-cert-line picture, .ab-cert-line img { width: 56px; height: 56px; flex: none; object-fit: contain; }

/* Nov 9: the new bios run several paragraphs, so every Bradenton team card spans the full row
   (portrait beside a comfortable reading measure) instead of two narrow cards side by side */
.ab-pair { grid-template-columns: 1fr !important; }
.ab-pair > .ab-person { grid-template-columns: clamp(150px, 15vw, 220px) minmax(0, 1fr); }
.ab-pair > .ab-person .ab-bio { max-width: 68ch; }
@media (max-width: 760px) { .ab-pair > .ab-person { grid-template-columns: 1fr; } }

/* 13-locations.css */
/* ==========================================================================
   Location pages (Oct 19 redesign): /locations/, /locations/bradenton/,
   /locations/san-diego/ (scripts/templates/locations.mjs).
   Reuses the service page system from 11-service.css (sx hero, gl glance,
   sx-intro, sx-nav, sxm modules, tl timeline, sx-faq). Everything here is
   scoped with page prefixes: lc- shared, lh- hub, lb- Bradenton, lsd- San Diego.
   ========================================================================== */

/* ---------- Shared ---------- */
.lc-tag { display: inline-flex; align-items: center; gap: .55rem; font-size: .68rem; font-weight: 560; letter-spacing: .22em; text-transform: uppercase; line-height: 1.4; color: var(--gold-soft); }
.lc-tag--ink { color: var(--gold-ink); }
.lc-hours { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.lc-hours li { display: flex; justify-content: space-between; gap: 1rem; }

/* compact team cards: headshots stay small and keep their 4:5 shape */
.lc-team { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.62fr); gap: clamp(2rem, 5vw, 6rem); align-items: start; }
.lc-team__head { position: sticky; top: 7rem; display: grid; gap: 1.3rem; justify-items: start; }
.lc-team__head > p { color: var(--text-2); max-width: 40ch; }
.lc-team__head .h2 { font-size: clamp(2rem, 1.3rem + 2.3vw, 3.6rem); max-width: 14ch; }
.lc-people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.4rem, 2.6vw, 2.6rem); }
.lc-person { display: grid; gap: 1.1rem; align-content: start; }
.lc-person__photo { width: 100%; max-width: 280px; aspect-ratio: 4 / 5; border-radius: 999px 999px var(--r-lg) var(--r-lg); overflow: hidden; background: var(--sand); }
.lc-person__photo img { width: 100%; height: 100%; object-fit: cover; }
.lc-person__photo--mono { display: grid; place-items: center; background: linear-gradient(160deg, var(--linen-2), var(--sand)); font-family: var(--f-display); font-style: italic; font-size: 3rem; color: var(--gold-ink); }
.lc-person__role { font-size: .66rem; font-weight: 560; letter-spacing: .2em; text-transform: uppercase; line-height: 1.5; color: var(--gold-ink); text-wrap: balance; }
.lc-person__note { display: inline-flex; align-items: center; gap: .45rem; margin-top: .55rem; font-size: .78rem; letter-spacing: .02em; color: var(--muted); white-space: nowrap; }
.lc-person__note::before { content: ''; width: 14px; height: 1px; background: currentColor; opacity: .6; }
.lc-person h3 { margin-top: .35rem; font-family: var(--f-display); font-weight: 400; font-size: clamp(1.45rem, 1.2rem + .6vw, 1.8rem); line-height: 1.08; }
.lc-person p { margin-top: .65rem; font-size: .9rem; line-height: 1.62; color: var(--text-2); }
.bg-white .lc-person__photo { background: var(--linen); }
@media (max-width: 1100px) {
  .lc-team { grid-template-columns: 1fr; }
  .lc-team__head { position: static; }
}
@media (max-width: 760px) {
  .lc-people { grid-template-columns: 1fr; gap: 1.8rem; }
  .lc-person { grid-template-columns: 104px minmax(0, 1fr); column-gap: 1.1rem; align-items: start; }
  .lc-person__photo { max-width: none; border-radius: var(--r-md); }
  .lc-person h3 { margin-top: .2rem; }
  .lc-person p { grid-column: 1 / -1; }
}

/* ==========================================================================
   Hub
   ========================================================================== */
.lh { padding: calc(var(--header-h) + clamp(2.2rem, 4.5vw, 4rem)) 0 var(--section); }
.lh__head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 2rem clamp(2rem, 6vw, 7rem); align-items: end; }
.lh__title { display: grid; gap: 1.3rem; justify-items: start; }
.lh__title .h1 { font-size: clamp(3rem, 1.6rem + 4.6vw, 6.6rem); }
.lh__head .lead { justify-self: end; max-width: 46ch; }

.lh-main { position: relative; margin-top: clamp(2.5rem, 5vw, 4.5rem); display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr); min-height: min(720px, 86vh); border-radius: var(--r-lg); overflow: hidden; background: var(--ink); box-shadow: 0 60px 100px -60px rgba(10, 26, 44, .6); }
.lh-main__media { position: relative; display: block; overflow: hidden; min-height: 320px; }
.lh-main__media picture, .lh-main__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.lh-main__media img { object-fit: cover; transition: transform 1.6s var(--ease-out); }
.lh-main:hover .lh-main__media img { transform: scale(1.025); }
.lh-main__media::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(8, 20, 35, .45) 0%, rgba(8, 20, 35, 0) 32%); }
.lh-main__chip { position: absolute; z-index: 1; left: 1.4rem; bottom: 1.4rem; display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1.1rem; border-radius: 999px; background: rgba(10, 26, 44, .62); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--text-inv); font-size: .82rem; letter-spacing: .02em; }
.lh-main__body { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; padding: clamp(2rem, 3.6vw, 3.4rem); background: radial-gradient(120% 100% at 100% 0%, #123a66, var(--navy) 45%, var(--ink)); }
.lh-main__ring { position: absolute; z-index: -1; right: -150px; top: -150px; width: 440px; height: 440px; opacity: .2; }
.lh-main__body .h2 { font-size: clamp(2.2rem, 1.4rem + 2.2vw, 3.6rem); color: var(--text-inv); }
.lh-main__body > p { color: var(--muted-inv); max-width: 44ch; }
.lh-main__dl { align-self: stretch; display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.6rem; margin: .2rem 0 0; padding-top: 1.3rem; border-top: 1px solid var(--line-inv); }
.lh-main__dl dt { font-size: .66rem; font-weight: 560; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-soft); }
.lh-main__dl dd { margin: .4rem 0 0; font-size: .98rem; line-height: 1.55; color: var(--text-inv); }
.lh-main__dl dd a { border-bottom: 1px solid var(--gold-soft); }
.lh-main__hours { grid-column: 1 / -1; }
.lh-main__hours .lc-hours li span:last-child { color: var(--muted-inv); }
.lh-main__status { color: var(--text-inv); }
.lh-main__more { margin-top: auto; color: var(--text-inv); }
.lh-main__body .btns { align-self: stretch; }
.lh-main__body .btns > .btn { flex: 1 1 auto; justify-content: center; }
@media (max-width: 1000px) {
  .lh-main { grid-template-columns: 1fr; min-height: 0; }
  .lh-main__media { aspect-ratio: 4 / 3; min-height: 0; }
}

.lh-alt { margin-top: clamp(1rem, 2vw, 1.6rem); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(1.4rem, 3vw, 3rem); align-items: center; padding: clamp(1.4rem, 2.6vw, 2.2rem); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.lh-alt__art { width: clamp(120px, 11vw, 172px); aspect-ratio: 1; border-radius: 50%; padding: 5%; background: var(--linen); }
.lh-alt__body { display: grid; gap: .65rem; justify-items: start; }
.lh-alt__body .h3 { font-size: clamp(1.8rem, 1.3rem + 1.2vw, 2.5rem); }
.lh-alt__body p { font-size: .95rem; color: var(--text-2); max-width: 64ch; }
.lh-alt__body .lh-alt__addr { display: flex; align-items: center; gap: .5rem; font-size: .88rem; color: var(--muted); }
.lh-alt__cta { display: grid; gap: 1.1rem; justify-items: start; }
@media (max-width: 900px) {
  .lh__head { grid-template-columns: 1fr; }
  .lh__head .lead { justify-self: start; }
  .lh-alt { grid-template-columns: auto minmax(0, 1fr); }
  .lh-alt__cta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; }
}
@media (max-width: 560px) {
  .lh-alt { grid-template-columns: 1fr; }
  .lh-alt__art { width: 112px; }
  .lh-main__dl { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Bradenton
   ========================================================================== */
/* hero (on top of .sx) */
.lb-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.5rem; font-size: .84rem; color: rgba(244, 238, 228, .78); }
.lb-hero__meta > span { display: inline-flex; align-items: center; gap: .5rem; }
.lb-hero .status { color: var(--text-inv); }

/* glance: four cards */
.gl.lb-gl { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lb-gl dd a:not(.lb-gl__big) { word-break: break-word; }
.lb-gl__big { font-family: var(--f-display); font-size: 1.55rem; line-height: 1.25; color: var(--text); }
.lb-gl__big:hover { color: var(--gold-ink); }
@media (max-width: 1100px) { .gl.lb-gl { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .gl.lb-gl { grid-template-columns: 1fr; }
  .lb-gl .gl__item { padding: 1.1rem 1.2rem; gap: .35rem; }
  .lb-gl dt { display: flex; align-items: center; gap: .8rem; }
  .lb-gl .gl__icon { width: 36px; height: 36px; margin-bottom: 0; }
  .lb-gl dd { padding-left: calc(36px + .8rem); }
}

/* intro: areas served */
.lb-intro__body { margin-top: 1.6rem; max-width: 60ch; font-size: 1.04rem; line-height: 1.72; color: var(--text-2); }
.lb-areas { margin-top: 1.8rem; display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.1rem; }
.lb-areas__label { font-size: .66rem; font-weight: 560; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.lb-areas ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.lb-areas li { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--line-strong); font-size: .86rem; color: var(--text); }
.lb-areas li svg { color: var(--gold-ink); }
.lb-areas li.is-home { background: var(--ink); border-color: var(--ink); color: var(--text-inv); }
.lb-areas li.is-home svg { color: var(--gold-soft); }

/* tour: justified gallery, every frame keeps its ratio */
.lb-tour__rows { display: grid; gap: clamp(.8rem, 1.4vw, 1.2rem); margin-top: clamp(2.5rem, 5vw, 4rem); }
.lb-tour__row { display: flex; align-items: flex-start; gap: clamp(.8rem, 1.4vw, 1.2rem); }
.lb-shot, .lb-quote { position: relative; margin: 0; flex: var(--ar) 1 0; min-width: 0; min-height: 0; aspect-ratio: var(--ar); border-radius: var(--r-lg); overflow: hidden; }
.lb-shot { background: var(--sand); }
.lb-shot picture, .lb-shot img { display: block; width: 100%; height: 100%; }
.lb-shot img { object-fit: cover; transition: transform 1.6s var(--ease-out); }
.lb-shot:hover img { transform: scale(1.03); }
.lb-shot figcaption { position: absolute; left: 1rem; bottom: 1rem; padding: .5rem 1rem; border-radius: 999px; background: rgba(10, 26, 44, .64); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--text-inv); font-size: .8rem; letter-spacing: .03em; }
.lb-quote { aspect-ratio: auto; align-self: stretch; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; gap: 1.4rem; padding: clamp(1.4rem, 2.2vw, 2.1rem); background: radial-gradient(120% 100% at 0% 0%, #13365e, var(--ink) 72%); }
.lb-quote__ring { position: absolute; z-index: -1; right: -42%; bottom: -36%; width: 120%; height: auto; aspect-ratio: 1; opacity: .24; }
.lb-quote__text { font-family: var(--f-display); font-style: italic; font-weight: 360; font-size: clamp(1.2rem, .75rem + 1.05vw, 1.9rem); line-height: 1.2; color: var(--text-inv); text-wrap: balance; }
@media (max-width: 760px) {
  .lb-tour__rows { grid-template-columns: 1fr 1fr; grid-auto-flow: dense; }
  .lb-tour__row { display: contents; }
  .lb-shot, .lb-quote { aspect-ratio: 1; }
  .lb-shot--wide { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
  .lb-quote { grid-column: 1 / -1; aspect-ratio: auto; }
  .lb-shot figcaption { left: .6rem; bottom: .6rem; padding: .4rem .75rem; font-size: .72rem; }
}

/* services by focus area */
.lb-groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 1.6vw, 1.5rem); margin-top: clamp(2.5rem, 5vw, 4rem); }
.lb-group { display: grid; grid-template-rows: auto 1fr; border-radius: var(--r-lg); overflow: hidden; background: var(--linen); border: 1px solid var(--line); }
.lb-group__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); }
.lb-group__media picture, .lb-group__media img { display: block; width: 100%; height: 100%; }
.lb-group__media img { object-fit: cover; transition: transform 1.4s var(--ease-out); }
.lb-group:hover .lb-group__media img { transform: scale(1.03); }
.lb-group__media::before { content: ''; position: absolute; z-index: 1; left: 0; right: 0; top: 0; height: 4px; background: var(--c); }
.lb-group__count { position: absolute; z-index: 1; left: 1rem; bottom: 1rem; padding: .45rem .9rem; border-radius: 999px; background: rgba(10, 26, 44, .64); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--text-inv); font-size: .7rem; font-weight: 520; letter-spacing: .16em; text-transform: uppercase; }
.lb-group__body { display: grid; align-content: start; gap: .8rem; padding: 1.4rem 1.4rem 1.5rem; }
.lb-group h3 { display: flex; align-items: baseline; gap: .6rem; font-family: var(--f-display); font-weight: 400; font-size: clamp(1.45rem, 1.2rem + .5vw, 1.7rem); line-height: 1.08; }
.lb-group h3 i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--c); transform: translateY(-.25em); }
.lb-group p { font-size: .9rem; line-height: 1.58; color: var(--text-2); }
.lb-group ul { list-style: none; margin: .3rem 0 0; padding: 0; }
.lb-group li a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .72rem 0; border-top: 1px solid var(--line); font-size: .92rem; color: var(--text); transition: color .3s, padding .5s var(--ease-out); }
.lb-group li a:hover, .lb-group li a:focus-visible { color: var(--gold-ink); padding-left: .25rem; }
.lb-group li svg { flex: none; width: 15px; height: 15px; color: var(--gold-ink); }
.lb-group__solo { padding-top: .2rem; font-size: .88rem; line-height: 1.6; color: var(--muted); }
.lb-svc__foot { margin-top: 2.2rem; }
@media (max-width: 1100px) {
  .lb-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lb-group__media { aspect-ratio: 1; }
}
@media (max-width: 620px) {
  .lb-groups { grid-template-columns: 1fr; }
  .lb-group__media { aspect-ratio: 4 / 3; }
}

/* find us */
.lb-find__grid { display: grid; grid-template-columns: minmax(0, .56fr) minmax(0, 1.12fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 3.4vw, 3.6rem); align-items: center; }
.lb-find__photo { margin: 0; aspect-ratio: 3 / 4.3; border-radius: 999px 999px var(--r-lg) var(--r-lg); overflow: hidden; background: var(--sand); }
.lb-find__photo picture, .lb-find__photo img { display: block; width: 100%; height: 100%; }
.lb-find__photo img { object-fit: cover; }
.lb-find__copy { display: grid; gap: 1.3rem; justify-items: start; }
.lb-find__copy > p { max-width: 44ch; color: var(--text-2); }
.lb-find__addr { font-style: normal; font-size: 1rem; line-height: 1.6; color: var(--text); }
.lb-find__addr strong { display: block; margin-bottom: .2rem; font-family: var(--f-display); font-weight: 420; font-size: 1.4rem; }
.lb-find .status { color: var(--text-2); }
.lb-find__map { position: relative; isolation: isolate; align-self: stretch; display: grid; border-radius: var(--r-lg); overflow: hidden; background: radial-gradient(120% 110% at 30% 0%, #163a63, var(--navy) 46%, var(--ink)); }
.lb-find__art { position: absolute; inset: 0; pointer-events: none; }
.lb-find__art .illo { width: 100%; height: 100%; }
.lb-find__map .loc-map { min-height: 520px; height: 100%; border: 0; }
.lb-find__map .loc-map[data-map]:not(.is-loaded) { place-items: end center; background: linear-gradient(0deg, rgba(8, 20, 35, .94) 0%, rgba(8, 20, 35, .82) 36%, rgba(8, 20, 35, 0) 62%); }
.lb-find__map .loc-map__grid, .lb-find__map .loc-map__facade .ring { display: none; }
.lb-find__map .loc-map__facade { padding: 1.5rem 1.6rem 2rem; gap: .8rem; }
@media (max-width: 1100px) {
  .lb-find__grid { grid-template-columns: minmax(0, .7fr) minmax(0, 1fr); }
  .lb-find__map { grid-column: 1 / -1; }
  .lb-find__map .loc-map { min-height: 500px; }
}
@media (max-width: 760px) {
  .lb-find__grid { grid-template-columns: 1fr; }
  .lb-find__photo { display: none; }
  .lb-find__map .loc-map { min-height: 540px; }
  .lb-find__map .loc-map[data-map]:not(.is-loaded) { background: linear-gradient(0deg, rgba(8, 20, 35, .95) 0%, rgba(8, 20, 35, .85) 44%, rgba(8, 20, 35, 0) 64%); }
}

/* ==========================================================================
   San Diego
   ========================================================================== */
.lsd-hero { padding: calc(var(--header-h) + clamp(2rem, 4.5vw, 4rem)) 0 clamp(3.5rem, 7vw, 6rem); }
.lsd-hero__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(2rem, 6vw, 7rem); align-items: center; }
.lsd-hero__copy { display: grid; gap: 1.4rem; justify-items: start; }
.lsd-hero__copy .h1 { font-size: clamp(2.8rem, 1.5rem + 4vw, 6rem); }
.lsd-hero__art { justify-self: end; width: 100%; max-width: 470px; aspect-ratio: 1; border-radius: 50%; padding: 6%; background: var(--linen); }
@media (max-width: 900px) {
  .lsd-hero__grid { grid-template-columns: 1fr; }
  .lsd-hero__art { justify-self: start; max-width: 240px; }
}

.lsd-main__grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(1rem, 2vw, 2rem); align-items: stretch; }
.lsd-office { align-self: start; position: sticky; top: 7rem; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 1.4rem; padding: clamp(1.75rem, 3.5vw, 3rem); border-radius: var(--r-lg); background: radial-gradient(120% 100% at 0% 0%, #13365e, var(--navy) 42%, var(--ink)); }
.lsd-office__ring { position: absolute; z-index: -1; right: -140px; bottom: -140px; width: 400px; height: 400px; opacity: .22; }
.lsd-office .h3 { color: var(--text-inv); }
.lsd-office__dl { display: grid; gap: 1.2rem; margin: 0; }
.lsd-office__dl dt { font-size: .66rem; font-weight: 560; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-soft); }
.lsd-office__dl dd { margin: .35rem 0 0; font-size: 1.02rem; line-height: 1.55; color: var(--text-inv); }
.lsd-office__dl dd a { border-bottom: 1px solid var(--gold-soft); }
.lsd-office__note { margin-top: .4rem; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem; align-items: start; padding: 1.2rem 1.25rem; border-radius: var(--r-md); background: rgba(244, 238, 228, .06); border: 1px solid var(--line-inv); }
.lsd-office__note p { font-size: .92rem; line-height: 1.6; color: var(--muted-inv); }
.lsd-office__note strong { color: var(--text-inv); font-weight: 520; }
.lsd-office__icon { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(244, 238, 228, .08); color: var(--gold-soft); }
.lsd-office__icon svg { width: 18px; height: 18px; }
.lsd-form { scroll-margin-top: 6rem; }
.lsd-form .lsd-form__h { font-weight: 360; }
@media (max-width: 1000px) { .lsd-main__grid { grid-template-columns: 1fr; } .lsd-office { position: relative; top: 0; } }

.lsd-fl { padding-block: var(--section-sm); background: radial-gradient(120% 110% at 100% 0%, #123a66, var(--navy) 45%, var(--ink)); }
.lsd-fl__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 6rem); align-items: center; }
.lsd-fl__media { aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--ink-2); }
.lsd-fl__media picture, .lsd-fl__media img { display: block; width: 100%; height: 100%; }
.lsd-fl__media img { object-fit: cover; }
.lsd-fl__copy { display: grid; gap: 1.3rem; justify-items: start; }
.lsd-fl .h2 { color: var(--text-inv); font-size: clamp(2.1rem, 1.4rem + 2.2vw, 3.6rem); }
@media (max-width: 900px) { .lsd-fl__grid { grid-template-columns: 1fr; } }

/* the shared request form sits on a light card inside the navy band: keep its links navy */
[data-page='bradenton'] .bg-navy .path--info .text-link { color: var(--navy); }

/* Oct 26: four people on the Bradenton team; 2 x 2 instead of 3 + 1 */
@media (min-width: 761px) { .lc-people:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Nov 9: long bios show their first paragraph here, with a link to the full bio on About */
.lc-person__more { margin-top: .9rem; justify-self: start; }

/* 14-contact-books.css */
/* ==========================================================================
   Contact, Begin your protocol and Books (Oct 19 redesign).
   Scoped by prefix: cx- (/contact/), bp- (/begin-your-protocol/), bk- (/books/).
   Reuses the service page system (sx hero, gl cards, sxm steps band, sxc, sx-faq).
   ========================================================================== */

/* ---------- Shared bits ---------- */
.cx-sd { display: flex; gap: .8rem; align-items: flex-start; max-width: 860px; margin-top: clamp(1.4rem, 2.4vw, 2rem); padding: 1rem 1.25rem; border-radius: var(--r-md); background: var(--linen); border: 1px solid var(--line); font-size: .92rem; line-height: 1.6; color: var(--text-2); }
.bg-linen .cx-sd { background: var(--white); }
.cx-sd__i { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--gold); }
.cx-sd strong { color: var(--text); font-weight: 560; }
.cx-ways .cx-sd { max-width: none; align-items: center; }
.cx-ways .cx-sd__i { margin-top: 0; }
/* compact variant inside the booking request card */
.bp-path .cx-sd--inline { max-width: none; margin-top: .2rem; padding: .85rem 1rem; background: var(--linen); font-size: .86rem; }

/* ==========================================================================
   /contact/
   ========================================================================== */

/* ---------- Photo hero ---------- */
.cx-hero { position: relative; isolation: isolate; overflow: hidden; min-height: max(660px, 90svh); display: grid; align-items: end; background: var(--ink); color: var(--text-inv); }
.cx-hero__img { position: absolute; inset: 0; z-index: -3; }
.cx-hero__img picture, .cx-hero__img img { width: 100%; height: 100%; }
.cx-hero__img img { object-fit: cover; }
.cx-hero__shade { position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 20, 35, .9) 0%, rgba(8, 20, 35, .66) 40%, rgba(8, 20, 35, .22) 78%),
    linear-gradient(0deg, rgba(8, 20, 35, .82) 0%, rgba(8, 20, 35, 0) 48%),
    linear-gradient(180deg, rgba(8, 20, 35, .6) 0%, rgba(8, 20, 35, 0) 24%); }
.cx-hero__orbit { position: absolute; z-index: -1; right: -14vw; top: -22vh; width: min(72vw, 1000px); height: auto; aspect-ratio: 1; opacity: .5; pointer-events: none; animation: hxspin 200s linear infinite; }
.is-paused .cx-hero__orbit { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .cx-hero__orbit { animation: none; } }
.cx-hero__inner { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, .58fr); align-items: end; column-gap: 3rem; padding-top: calc(var(--header-h) + 4rem); padding-bottom: clamp(11rem, 20vh, 14rem); }
.cx-hero__copy { display: grid; gap: 1.4rem; justify-items: start; }
.cx-hero__copy .crumbs { color: rgba(244, 238, 228, .76); }
.cx-hero__copy .crumbs a:hover { color: var(--text-inv); }
.cx-hero__title { font-size: clamp(2.8rem, 1.3rem + 4.2vw, 6.4rem); line-height: .96; max-width: 14ch; color: var(--text-inv); text-wrap: balance; }
.cx-hero__title em { color: var(--gold-soft); }
.cx-hero .lead { max-width: 50ch; color: rgba(244, 238, 228, .88); }
.cx-hero .btns { margin-top: .6rem; }
.cx-hero__card { justify-self: end; display: grid; gap: .35rem; width: min(320px, 100%); padding: 1.25rem 1.4rem; border-radius: var(--r-md); background: rgba(10, 26, 44, .42); border: 1px solid rgba(244, 238, 228, .2); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); color: var(--text-inv); transition: background .4s; }
.cx-hero__card:hover { background: rgba(10, 26, 44, .62); }
.cx-hero__card strong { font-family: var(--f-display); font-weight: 420; font-size: 1.4rem; margin-top: .4rem; }
.cx-hero__card > span:not(.status):not(.cx-hero__more) { font-size: .86rem; color: var(--muted-inv); }
.cx-hero__more { display: inline-flex; align-items: center; gap: .5rem; margin-top: .7rem; font-size: .68rem; font-weight: 560; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); }
.cx-hero__more svg { width: 14px; height: 14px; transition: transform .5s var(--ease-out); }
.cx-hero__card:hover .cx-hero__more svg { transform: translateX(4px); }

/* ---------- Three ways, docked over the hero ---------- */
.cx-ways { position: relative; z-index: 3; display: flow-root; padding-bottom: clamp(3.5rem, 6vw, 5.5rem); }
.cx-ways__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.8rem, 1.4vw, 1.4rem); margin: calc(-1 * clamp(7.5rem, 13vh, 9.5rem)) 0 0; }
.cx-way { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: .75rem; padding: clamp(1.5rem, 2.4vw, 2.4rem); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); box-shadow: 0 50px 90px -55px rgba(10, 26, 44, .55), 0 2px 10px rgba(10, 26, 44, .05); overflow: hidden; isolation: isolate; }
.cx-way--call { background: radial-gradient(120% 100% at 100% 0%, #123a66, var(--navy) 46%, var(--ink)); color: var(--text-inv); border-color: rgba(244, 238, 228, .16); }
.cx-way--call::before { content: ''; position: absolute; z-index: -1; right: -90px; top: -90px; width: 240px; height: 240px; border-radius: 50%; border: 1px solid rgba(211, 187, 143, .22); box-shadow: 0 0 0 26px rgba(211, 187, 143, .04); }
.cx-way__icon { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; margin-bottom: .7rem; background: var(--linen); color: var(--gold-ink); transition: transform .6s var(--ease-out); }
.cx-way:hover .cx-way__icon { transform: rotate(-8deg) scale(1.05); }
.cx-way--call .cx-way__icon { background: rgba(244, 238, 228, .08); color: var(--gold-soft); }
.cx-way__icon svg { width: 23px; height: 23px; }
.cx-way__k { font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); }
.cx-way--call .cx-way__k { color: var(--gold-soft); }
.cx-way__big { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.75rem, 1.2rem + 1.3vw, 2.6rem); line-height: 1.05; color: var(--text); }
.cx-way--call .cx-way__big { color: var(--text-inv); }
.cx-way__big--mail { font-size: clamp(1.4rem, 1.05rem + .85vw, 1.95rem); overflow-wrap: anywhere; }
a.cx-way__big { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ease-out); }
a.cx-way__big:hover, a.cx-way__big:focus-visible { background-size: 100% 1px; }
.cx-way p { font-size: .95rem; line-height: 1.6; color: var(--text-2); max-width: 36ch; }
.cx-way--call p { color: var(--muted-inv); }
.cx-way__foot { margin-top: auto; padding-top: 1.1rem; width: 100%; border-top: 1px solid var(--line); }
.cx-way--call .cx-way__foot { border-color: var(--line-inv); }
.cx-way__foot .link svg { width: 1em; height: 1em; }

/* ---------- Request form ---------- */
.cx-form { padding-block: clamp(4.5rem, 2.5rem + 6vw, 8.5rem); scroll-margin-top: 3rem; }
.cx-form__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2.5rem, 6vw, 6.5rem); align-items: start; }
.cx-form__intro { display: grid; gap: 1.2rem; justify-items: start; }
@media (min-width: 1001px) and (min-height: 860px) { .cx-form__intro { position: sticky; top: 6.5rem; } }
.cx-form__intro .h2 { max-width: 13ch; }
.cx-form__art { width: min(100%, 280px); aspect-ratio: 1; padding: 6%; margin-block: .4rem; border-radius: 50%; background: var(--white); border: 1px solid var(--line); }
.cx-privacy { margin-top: .2rem; max-width: 34rem; }
.cx-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 3rem); box-shadow: 0 60px 110px -70px rgba(10, 26, 44, .55), 0 2px 8px rgba(10, 26, 44, .04); }
.cx-card__head { display: grid; gap: .8rem; padding-bottom: 1.4rem; margin-bottom: 1.7rem; border-bottom: 1px solid var(--line); }
.cx-card__head h3 { font-family: var(--f-display); font-weight: 360; font-size: var(--t-d3); line-height: 1.02; }
.cx-card__alt { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; margin-top: 1.5rem; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.cx-card__alt .link { font-size: .72rem; }

/* ---------- Visit band ---------- */
.cx-visit { padding-block: clamp(4.5rem, 2.5rem + 6vw, 8.5rem); scroll-margin-top: 3rem; }
.cx-visit__grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(2.5rem, 6vw, 6.5rem); align-items: center; }
.cx-visit__media { position: relative; margin: 0; aspect-ratio: 4 / 4.9; border-radius: 999px 999px var(--r-lg) var(--r-lg); overflow: hidden; background: var(--ink); }
.cx-visit__media picture, .cx-visit__media img { width: 100%; height: 100%; }
.cx-visit__media img { object-fit: cover; }
.cx-visit__body { display: grid; gap: 1.3rem; }
.cx-visit__body .h2 { max-width: 18ch; }
.cx-visit__lead { max-width: 56ch; font-size: 1.06rem; line-height: 1.7; color: var(--muted-inv); }
.cx-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: .4rem 0 0; background: var(--line-inv); border: 1px solid var(--line-inv); border-radius: var(--r-md); overflow: hidden; }
.cx-facts > div { display: grid; align-content: start; gap: .45rem; padding: 1.2rem 1.35rem; background: rgba(8, 20, 35, .42); }
.cx-facts dt { display: flex; align-items: center; gap: .55rem; font-size: .66rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); }
.cx-facts dt svg { width: 16px; height: 16px; flex: none; }
.cx-facts dd { margin: 0; font-size: 1rem; line-height: 1.5; color: var(--text-inv); overflow-wrap: anywhere; }
.cx-facts dd a { border-bottom: 1px solid rgba(211, 187, 143, .6); transition: border-color .3s; }
.cx-facts dd a:hover { border-color: var(--gold-soft); }
.loc-map.cx-map { min-height: 340px; margin-top: clamp(2.5rem, 5vw, 4rem); border-radius: var(--r-lg); border: 1px solid var(--line-inv); }
.loc-map.cx-map:not(.is-loaded) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); place-items: center stretch; background: radial-gradient(120% 120% at 0% 0%, #163a60, var(--ink) 72%); }
.loc-map.cx-map.is-loaded iframe { min-height: 400px; }
.cx-map__art { width: min(100%, 400px); justify-self: center; padding: clamp(1rem, 2vw, 1.6rem) 0; }
.cx-map__facade { display: grid; gap: .9rem; justify-items: start; max-width: 32rem; padding: 2.4rem 2.4rem 2.4rem 0; }
.cx-map__addr { font-family: var(--f-display); font-size: clamp(1.35rem, 1.1rem + .6vw, 1.7rem); line-height: 1.15; color: var(--text-inv); }
.cx-map__facade p:not(.cx-map__addr) { font-size: .9rem; color: var(--muted-inv); }
.cx-visit__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: .6rem; }
.cx-social { display: flex; align-items: center; gap: .6rem; }
.cx-social > span { margin-right: .4rem; font-size: .68rem; font-weight: 560; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-inv); }
.cx-social a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-inv); color: var(--text-inv); transition: background .3s, color .3s, border-color .3s; }
.cx-social a:hover, .cx-social a:focus-visible { background: var(--linen); color: var(--ink); border-color: var(--linen); }
.cx-social svg { width: 18px; height: 18px; }

/* ==========================================================================
   /begin-your-protocol/
   ========================================================================== */
[data-page='booking'] .sx__grid { min-height: max(620px, 86svh); }
[data-page='booking'] .sx__title { max-width: 12ch; }
/* flow-root keeps the cards' negative margin inside the section, so they overlap the photo */
.bp-assure { display: flow-root; }
.bp-assure .gl dd { font-size: .9rem; }
.bp-paths { padding-block: clamp(4rem, 2.5rem + 5vw, 7.5rem) clamp(4.5rem, 2.5rem + 6vw, 8.5rem); scroll-margin-top: 3rem; }
.bp-paths__head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 1.4rem clamp(2rem, 6vw, 7rem); align-items: end; }
.bp-paths__head .h2 { margin-top: 1rem; }
.bp-paths__head .lead { justify-self: end; }
.bp-paths__grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(1rem, 2vw, 1.8rem); margin-top: clamp(2.5rem, 5vw, 4rem); align-items: start; }
.bp-path { position: relative; display: flex; flex-direction: column; gap: 1.2rem; padding: clamp(1.7rem, 3.2vw, 3rem); border-radius: var(--r-lg); overflow: hidden; isolation: isolate; scroll-margin-top: 6rem; }
.bp-path--live { background: radial-gradient(120% 90% at 100% 0%, #123a66, var(--navy) 50%, var(--ink)); color: var(--text-inv); }
@media (min-width: 1001px) { .bp-path--live { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.bp-path__ring { position: absolute; z-index: -1; right: -140px; bottom: -140px; width: 420px; height: 420px; opacity: .3; pointer-events: none; }
.bp-path--form { background: var(--white); border: 1px solid var(--line); box-shadow: 0 60px 110px -70px rgba(10, 26, 44, .5); }
.bp-path__top { display: flex; flex-wrap: wrap-reverse; align-items: center; justify-content: space-between; gap: .8rem 1rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); }
.bp-path--live .bp-path__top { border-color: var(--line-inv); }
.bp-path__n { font-family: var(--f-display); font-style: italic; font-size: 2.4rem; line-height: 1; color: var(--gold-ink); }
.bp-path--live .bp-path__n, .bp-path--live .path__tag { color: var(--gold-soft); }
.bp-path h3 { font-family: var(--f-display); font-weight: 360; font-size: var(--t-d3); line-height: 1.02; }
.bp-path > p { color: var(--text-2); }
.bp-path--live > p { color: var(--muted-inv); }
.bp-steps { list-style: none; margin: .2rem 0 0; padding: 0; display: grid; }
.bp-steps li { display: grid; grid-template-columns: 2.5rem 1fr; gap: .9rem; align-items: center; padding: .85rem 0; border-top: 1px solid var(--line-inv); font-size: .96rem; line-height: 1.5; color: rgba(244, 238, 228, .9); }
.bp-steps li:first-child { border-top: 0; }
.bp-steps li > span { width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border-radius: 50%; background: rgba(244, 238, 228, .08); color: var(--gold-soft); }
.bp-steps svg { width: 1.1rem; height: 1.1rem; }
.bp-path__foot { display: grid; justify-items: start; gap: 1rem; margin-top: .4rem; padding-top: 1.3rem; border-top: 1px solid var(--line-inv); }
.bp-path__alt { font-size: .88rem; color: var(--muted-inv); }
.bp-path__alt a { color: var(--text-inv); border-bottom: 1px solid var(--gold-soft); }
.bp-next .sxm__head .h2 { margin-top: .2rem; }
.bp-call { padding-block: clamp(4rem, 2.5rem + 5vw, 7.5rem); }
.bp-call__grid { display: grid; grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr); gap: clamp(2rem, 6vw, 6.5rem); align-items: center; }
.bp-call__art { width: 100%; max-width: 380px; aspect-ratio: 1; padding: 7%; border-radius: 50%; background: var(--linen); }
.bp-call__copy { display: grid; justify-items: start; gap: 1.1rem; }
.bp-call__num { font-family: var(--f-display); font-weight: 340; font-size: clamp(2.7rem, 1.5rem + 3.8vw, 5.8rem); line-height: 1; letter-spacing: -.01em; color: var(--text); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .7s var(--ease-out); }
.bp-call__num:hover, .bp-call__num:focus-visible { background-size: 100% 1px; }
.bp-call__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.6rem; font-size: .92rem; color: var(--text-2); }
.bp-call__links { display: flex; flex-wrap: wrap; gap: 1rem 2.2rem; margin-top: .4rem; }
.bp-call__links .link { color: var(--text); }

/* ==========================================================================
   /books/
   ========================================================================== */

/* ---------- Hero with both books ---------- */
.bk-hero { position: relative; overflow: hidden; background: radial-gradient(100% 110% at 80% 20%, #15406c 0%, var(--navy) 36%, var(--ink) 100%); }
.bk-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 6rem); align-items: center; min-height: max(660px, 90svh); padding-top: calc(var(--header-h) + 3rem); padding-bottom: clamp(3.5rem, 7vw, 6rem); }
.bk-hero__copy { display: grid; gap: 1.4rem; justify-items: start; }
.bk-hero__copy .crumbs { color: rgba(244, 238, 228, .76); }
.bk-hero__title { font-size: clamp(2.6rem, 1.3rem + 3.7vw, 5.8rem); line-height: .98; max-width: 17ch; color: var(--text-inv); text-wrap: balance; }
.bk-hero .lead { max-width: 48ch; color: rgba(244, 238, 228, .86); }
.bk-hero .btns { margin-top: .6rem; }
.bk-hero__stage { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: clamp(1.4rem, 4vw, 4rem); padding: 3rem 0 1rem; isolation: isolate; }
.bk-hero__ring { position: absolute; z-index: -2; left: 50%; top: 44%; width: min(112%, 640px); height: auto; aspect-ratio: 1; translate: -50% -50%; opacity: .5; pointer-events: none; animation: hxspin 240s linear infinite; }
.is-paused .bk-hero__ring { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .bk-hero__ring { animation: none; } }
.bk-hero__glow { position: absolute; z-index: -1; left: 50%; top: 46%; width: 78%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle, rgba(211, 187, 143, .2), rgba(211, 187, 143, 0) 64%); pointer-events: none; }
.bk-hero__book { position: relative; margin: 0; display: grid; justify-items: center; gap: 1.6rem; }
.bk-hero__book .book3d { padding: 0; }
.bk-hero__book .book3d__obj { transition: transform 1.1s var(--ease-out); }
.bk-hero__book--tt .book3d__obj { width: clamp(150px, 15.5vw, 240px); transform: rotateY(-18deg) rotateX(3deg); }
.bk-hero__book--ml .book3d__obj { width: clamp(176px, 19.5vw, 300px); transform: rotateY(-26deg) rotateX(4deg); }
.bk-hero__book:hover .book3d__obj { transform: rotateY(-8deg) rotateX(2deg) translateY(-8px); }
.bk-hero__book .book3d__shadow { background: radial-gradient(ellipse at center, rgba(0, 0, 0, .55), transparent 70%); }
.bk-hero__book .cover-type strong { font-size: clamp(1.15rem, .8rem + .9vw, 1.65rem); }
.bk-hero figcaption { display: grid; gap: .3rem; text-align: center; font-family: var(--f-display); font-size: 1.2rem; line-height: 1.1; color: var(--text-inv); }
.bk-hero figcaption span { font-family: var(--f-sans); font-size: .62rem; font-weight: 560; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-soft); }

/* ---------- Tailored to Thrive ---------- */
.bk-tt { padding-block: clamp(4.5rem, 2.5rem + 6vw, 8.5rem); scroll-margin-top: 3rem; }
.bk-tt__grid { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: clamp(2.5rem, 6vw, 7rem); align-items: center; }
.bk-tt__visual { position: relative; width: 100%; max-width: 540px; justify-self: center; }
.bk-tt__disc { aspect-ratio: 1; padding: 7%; border-radius: 50%; background: var(--white); border: 1px solid var(--line); box-shadow: 0 70px 110px -80px rgba(10, 26, 44, .5); }
.bk-tt__seal { position: absolute; right: 3%; bottom: 7%; width: clamp(98px, 8.6vw, 128px); aspect-ratio: 1; border-radius: 50%; display: grid; place-content: center; text-align: center; background: var(--ink); color: var(--muted-inv); font-size: .62rem; font-weight: 560; letter-spacing: .24em; text-transform: uppercase; box-shadow: 0 30px 50px -24px rgba(10, 26, 44, .7); }
.bk-tt__seal::before { content: ''; position: absolute; inset: 7px; border-radius: 50%; border: 1px dashed rgba(211, 187, 143, .45); }
.bk-tt__seal b { display: block; font-family: var(--f-display); font-style: italic; font-weight: 400; font-size: clamp(1.6rem, 1.2rem + 1vw, 2.2rem); line-height: 1; letter-spacing: 0; text-transform: none; color: var(--gold-soft); }
.bk-tt__body { display: grid; gap: 1.3rem; }
.bk-tt__body .h2 { max-width: 12ch; }
.bk-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: .3rem 0 0; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.bk-facts > div { display: grid; align-content: start; gap: .4rem; padding: 1.1rem 1.2rem; background: var(--white); }
.bk-facts dt { font-size: .64rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); }
.bk-facts dd { margin: 0; font-size: .93rem; line-height: 1.5; color: var(--text); }
.bk-card { margin-top: .5rem; padding: clamp(1.4rem, 2.6vw, 2.3rem); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); box-shadow: 0 60px 100px -70px rgba(10, 26, 44, .55); }
.bk-card__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.55rem, 1.2rem + .9vw, 2.1rem); line-height: 1.05; color: var(--text); }
.bk-card__text { margin-top: .45rem; font-size: .93rem; color: var(--muted); }
.book-form.bk-form { margin-top: 1.3rem; gap: .95rem; }
.bk-form .btn { justify-self: start; }
.bk-form .note { display: flex; align-items: flex-start; gap: .55rem; font-size: .82rem; line-height: 1.55; color: var(--muted); }
.bk-form .note svg { width: 15px; height: 15px; flex: none; margin-top: 3px; color: var(--gold); }
.bk-card .form__success { background: var(--linen); }

/* ---------- The Measured Life ---------- */
.bk-ml { padding-block: clamp(4.5rem, 2.5rem + 6vw, 8.5rem); scroll-margin-top: 3rem; }
.bk-ml__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(2.5rem, 6vw, 7rem); align-items: center; }
.bk-ml__body { display: grid; gap: 1.2rem; }
.bk-ml__sub { margin-top: -.5rem; font-family: var(--f-display); font-style: italic; font-size: clamp(1.4rem, 1.1rem + .9vw, 2rem); line-height: 1.15; color: var(--gold-soft); }
.bk-ml__tag { display: flex; align-items: center; gap: .9rem; padding: 1.1rem 0; border-block: 1px solid var(--line-inv); font-family: var(--f-display); font-size: clamp(1.3rem, 1.05rem + .6vw, 1.65rem); line-height: 1.3; color: var(--text-inv); }
.bk-ml__tag > span { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; flex: none; border-radius: 50%; background: rgba(244, 238, 228, .07); }
.bk-ml__tag .glyph { width: 1.4rem; height: 1.4rem; }
.bk-ml__text { max-width: 56ch; font-size: 1.04rem; line-height: 1.7; color: var(--muted-inv); }
.bk-eds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; margin-top: .3rem; }
.bk-ed { display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; padding: 1.4rem 1.4rem 1.5rem; border-radius: var(--r-md); background: rgba(244, 238, 228, .06); border: 1px solid var(--line-inv); transition: background .4s, border-color .4s; }
.bk-ed:hover { background: rgba(244, 238, 228, .09); border-color: rgba(244, 238, 228, .26); }
.bk-ed__icon { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: .3rem; border-radius: 50%; background: rgba(244, 238, 228, .08); color: var(--gold-soft); }
.bk-ed__icon svg { width: 20px; height: 20px; }
.bk-ed h3 { font-family: var(--f-display); font-weight: 420; font-size: 1.55rem; line-height: 1.1; color: var(--text-inv); }
.bk-ed p { font-size: .9rem; line-height: 1.55; color: var(--muted-inv); }
.bk-ed .btn { margin-top: auto; }
.bk-ed p + .btn { margin-top: .7rem; }
.bk-meta { display: flex; flex-wrap: wrap; gap: .8rem 2.6rem; margin: .4rem 0 0; }
.bk-meta dt { font-size: .62rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); }
.bk-meta dd { margin: .25rem 0 0; font-size: .95rem; color: var(--text-inv); }
.bk-ml__visual { position: relative; display: grid; place-items: center; padding: clamp(1.5rem, 4vw, 3rem) 0; }
.bk-ml__halo { position: absolute; z-index: 0; width: min(100%, 540px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(244, 238, 228, .1), rgba(244, 238, 228, 0) 66%); }
.bk-ml__ring { width: 100%; height: 100%; opacity: .6; }
.bk-ml__cover { position: relative; z-index: 1; margin: 0; translate: 11% 0; width: min(66%, 340px); aspect-ratio: 1600 / 2560; overflow: hidden; border-radius: 3px 7px 7px 3px; transform: rotate(-3deg); box-shadow: -24px 40px 70px -24px rgba(0, 0, 0, .62), 0 2px 6px rgba(0, 0, 0, .25); transition: transform 1.1s var(--ease-out); }
.bk-ml__visual:hover .bk-ml__cover { transform: rotate(-1deg) translateY(-6px); }
.bk-ml__cover::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(0, 0, 0, .32) 0, rgba(255, 255, 255, .1) 2.4%, rgba(0, 0, 0, 0) 6%); }
.bk-ml__cover picture, .bk-ml__cover img { width: 100%; height: 100%; }
.bk-ml__cover img { object-fit: cover; }
.bk-ml__badge { position: absolute; z-index: 2; left: 0; bottom: 6%; width: clamp(124px, 11vw, 184px); aspect-ratio: 1; padding: clamp(10px, 1.1vw, 16px); border-radius: 50%; background: #222c20; border: 1px solid rgba(244, 238, 228, .16); box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .6); }
.bk-ml__badge .illo { width: 100%; height: 100%; }

/* ---------- Author ---------- */
.bk-au { padding-block: clamp(4.5rem, 2.5rem + 6vw, 8rem); }
.bk-au__grid { max-width: 1240px; display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: clamp(2.5rem, 6vw, 6.5rem); align-items: center; }
.bk-au__portrait { position: relative; width: min(100%, 360px); aspect-ratio: 1; display: grid; place-items: center; justify-self: center; }
.bk-au__ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.bk-au__photo { width: 76%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--sand); box-shadow: 0 40px 70px -40px rgba(10, 26, 44, .45); }
.bk-au__photo picture, .bk-au__photo img { width: 100%; height: 100%; }
.bk-au__photo img { object-fit: cover; object-position: 46% 6%; }
.bk-au__body { display: grid; justify-items: start; gap: 1.1rem; }
.bk-au__role { font-size: .74rem; font-weight: 560; letter-spacing: .18em; line-height: 1.6; text-transform: uppercase; color: var(--gold-ink); }
.bk-au__bio { max-width: 60ch; font-size: 1.08rem; line-height: 1.75; color: var(--text-2); }
.bk-au__links { display: flex; flex-wrap: wrap; gap: 1rem 2.4rem; margin-top: .5rem; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .bk-facts { grid-template-columns: 1fr; }
}
/* five reassurance cards: 3 + 2 on tablets, 2 + 2 + 1 (full width) on large phones */
@media (min-width: 761px) and (max-width: 1100px) {
  .bp-assure .gl { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .bp-assure .gl__item { grid-column: span 2; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
  .bp-assure .gl__item:nth-child(n+4) { grid-column: span 3; }
  .bp-assure .gl__item:nth-child(-n+3) { border-top: 0; }
  .bp-assure .gl__item:nth-child(1), .bp-assure .gl__item:nth-child(4) { border-left: 0; }
}
@media (min-width: 561px) and (max-width: 760px) {
  .bp-assure .gl__item:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
/* stacked hero: the badge hangs below the photo, so keep it above the glance section */
@media (max-width: 900px) {
  [data-page='booking'] .bp-hero { z-index: 4; }
}
@media (min-width: 1001px) and (max-width: 1320px) {
  .cx-way__big--mail { font-size: clamp(1.15rem, .3rem + 1.25vw, 1.45rem); overflow-wrap: normal; }
}
@media (max-width: 1000px) {
  .cx-hero__inner { grid-template-columns: 1fr; padding-bottom: 9rem; }
  .cx-hero__card { justify-self: start; margin-top: 1.8rem; }
  .cx-ways__grid { grid-template-columns: 1fr; margin-top: -5rem; }
  .cx-form__grid, .cx-visit__grid, .bp-paths__head, .bp-paths__grid, .bp-call__grid, .bk-hero__grid, .bk-tt__grid, .bk-ml__grid, .bk-au__grid { grid-template-columns: 1fr; }
  .bp-paths__head .lead { justify-self: start; }
  .cx-visit__media { aspect-ratio: 4 / 3.6; max-height: 70vh; border-radius: 200px 200px var(--r-lg) var(--r-lg); }
  .bp-call__art { max-width: 240px; }
  .bk-hero__grid { min-height: 0; }
  .bk-ml__visual { order: -1; }
  .bk-tt__visual { max-width: 420px; }
  .bk-au__portrait { justify-self: start; width: min(100%, 300px); }
}
@media (max-width: 760px) {
  .cx-hero { min-height: max(600px, 88svh); }
  .cx-hero__shade { background: linear-gradient(180deg, rgba(8, 20, 35, .62) 0%, rgba(8, 20, 35, 0) 22%), linear-gradient(0deg, rgba(8, 20, 35, .92) 0%, rgba(8, 20, 35, .62) 52%, rgba(8, 20, 35, .3) 100%); }
  /* phones see a narrow slice of the lobby: centre it on the French doors and staircase */
  .cx-hero__img img { object-position: 68% 50% !important; }
  .cx-hero__inner { padding-bottom: 6.5rem; }
  .cx-hero__card { display: none; }
  .cx-hero__orbit { right: -40vw; top: -10vh; width: 120vw; }
  .cx-ways__grid { margin-top: -3.4rem; }
  .loc-map.cx-map:not(.is-loaded) { grid-template-columns: 1fr; }
  .cx-map__art { width: min(78%, 280px); padding: 1.4rem 0 0; justify-self: center; }
  .cx-map__facade { padding: 1rem 1.4rem 1.8rem; }
  .bk-hero__stage { padding-top: 1rem; }
  .bk-hero__book--tt .book3d__obj { width: 34vw; max-width: 150px; }
  .bk-hero__book--ml .book3d__obj { width: 40vw; max-width: 176px; }
  .bk-hero__book .cover-type { padding: 10% 9%; }
  .bk-hero__book .cover-type strong { font-size: .98rem; }
  .bk-hero__book .cover-type span { font-size: .46rem; letter-spacing: .12em; }
  .bk-hero__book .cover-type__mark { width: 28px; margin-bottom: .45rem; }
  .bk-hero figcaption { font-size: 1.02rem; }
}
@media (max-width: 560px) {
  .cx-facts, .bk-eds { grid-template-columns: 1fr; }
  .cx-form__art { width: 200px; }
  /* reassurance cards as compact rows */
  .bp-assure .gl__item { position: relative; padding: 1.15rem 1.2rem 1.2rem 4.4rem; gap: .35rem; }
  .bp-assure .gl__icon { position: absolute; left: 1.1rem; top: 1rem; width: 38px; height: 38px; margin: 0; }
  .bp-assure .gl__icon svg { width: 18px; height: 18px; }
  .cx-way__big--mail { font-size: 1.35rem; }
  .bp-path__n { font-size: 2rem; }
  .bp-call__num { font-size: clamp(2.3rem, 11vw, 3rem); }
  .bk-tt__seal { right: 0; bottom: 2%; }
  .bk-ml__badge { width: 110px; padding: 9px; }
  .bk-ml__cover { width: min(70%, 260px); }
}
/* small phones (360px and below): long CTA labels must fit without sideways scroll */
@media (max-width: 400px) {
  .bp-hero .btns .btn, .bk-form .btn { padding-inline: 1.15rem; gap: .7em; font-size: .74rem; letter-spacing: .1em; }
}

/* 15-services-hub.css */
/* ==========================================================================
   Services hub (/services/) and the Services menu link (Oct 19).
   ========================================================================== */

/* ---------- Header: "Services" is a link; the chevron opens the mega menu ---------- */
.nav__item--split { gap: .1rem; }
.nav__chev { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-left: -.1rem; padding: 0; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; transition: background .3s; }
.nav__chev:hover, .nav__chev:focus-visible { background: rgba(127, 127, 127, .14); }
.nav__chev .chev { width: .72em; height: .72em; transition: transform .4s var(--ease-out); }
.nav__chev[aria-expanded='true'] .chev { transform: rotate(180deg); }
.nav__item--split:has(.nav__chev[aria-expanded='true']) .nav__link::after { transform: scaleX(1); }
.mega__foot .btn { flex: none; }
.mnav__all { display: inline-flex !important; align-items: center; gap: .6rem; color: var(--gold-soft) !important; font-size: .78rem !important; letter-spacing: .2em; text-transform: uppercase; font-weight: 560; }
.mnav__all svg { width: 15px; height: 15px; }

/* ---------- Hero badge: the THRYV mark inside an orbit ---------- */
.shub-badge { display: grid; place-items: center; }
.shub-badge__ring { position: absolute; inset: 9%; width: 82%; height: 82%; }
.shub-badge__mark { width: 46%; height: auto; }

/* ---------- Focus area jump cards (reuse .gl card frame) ---------- */
.shub-jump { list-style: none; padding: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.shub-jump .gl__item { padding: 0; }
.shub-jump a { display: grid; gap: .55rem; height: 100%; padding: clamp(1.3rem, 2vw, 1.9rem) clamp(1.1rem, 1.8vw, 1.8rem); position: relative; transition: background .4s; }
.shub-jump a::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--c); transform: scaleX(.18); transform-origin: left; transition: transform .7s var(--ease-out); }
.shub-jump a:hover { background: var(--linen); }
.shub-jump a:hover::before, .shub-jump a:focus-visible::before { transform: scaleX(1); }
.shub-jump__n { font-family: var(--f-display); font-style: italic; font-size: 1.1rem; color: var(--gold-ink); }
.shub-jump__name { font-family: var(--f-display); font-size: clamp(1.35rem, 1.1rem + .6vw, 1.7rem); line-height: 1.08; color: var(--text); }
.shub-jump__count { display: inline-flex; align-items: center; gap: .5rem; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 560; color: var(--muted); }
.shub-jump__count svg { width: 14px; height: 14px; transition: transform .5s var(--ease-out); }
.shub-jump a:hover .shub-jump__count svg { transform: translateX(4px); }
@media (max-width: 1100px) { .shub-jump { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .shub-jump { grid-template-columns: 1fr; } }

/* ---------- Focus area modules ---------- */
.shub-group { padding-block: clamp(4.5rem, 2.5rem + 6vw, 8.5rem); scroll-margin-top: 2rem; }
.shub-group__grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.6fr); gap: clamp(2.5rem, 5vw, 6rem); align-items: start; }
.shub-group__head { position: sticky; top: 6.5rem; display: grid; gap: 1rem; }
.shub-group__head .h2 { font-size: clamp(2.1rem, 1.3rem + 2.4vw, 3.7rem); max-width: 12ch; }
.shub-group__intro { color: var(--text-2); font-size: 1.04rem; line-height: 1.65; max-width: 40ch; }
.on-dark .shub-group__intro { color: var(--muted-inv); }
.shub-group__count { display: inline-flex; align-items: center; gap: .6rem; font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 560; color: var(--muted); }
.on-dark .shub-group__count { color: var(--muted-inv); }
.shub-group__count i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.shub-group__media { margin: 1rem 0 0; aspect-ratio: 4 / 5; max-width: 380px; border-radius: 999px 999px var(--r-lg) var(--r-lg); overflow: hidden; }
.shub-group__media img { width: 100%; height: 100%; object-fit: cover; }
.shub-group__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 1.8vw, 1.6rem); }
.shub-group--single .shub-group__cards { grid-template-columns: 1fr; }
@media (max-width: 900px) {
  .shub-group__grid { grid-template-columns: 1fr; }
  .shub-group__head { position: static; }
  .shub-group__media { max-width: none; aspect-ratio: 16 / 10; border-radius: 200px 200px var(--r-lg) var(--r-lg); }
}
@media (max-width: 640px) { .shub-group__cards { grid-template-columns: 1fr; } }

/* ---------- Service cards ---------- */
.shub-card { position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); overflow: visible; scroll-margin-top: 6rem; transition: transform .7s var(--ease-out), box-shadow .7s var(--ease-out); }
.bg-white .shub-card { background: var(--linen); }
.shub-card:hover { transform: translateY(-4px); box-shadow: 0 40px 70px -45px rgba(10, 26, 44, .45); }
.shub-card__media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg) var(--r-lg) 0 0; overflow: hidden; background: var(--sand); }
.shub-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.shub-card:hover .shub-card__media img { transform: scale(1.04); }
.shub-card__badge { position: absolute; right: 1rem; bottom: 1rem; width: 84px; height: 84px; border-radius: 50%; padding: 9px; background: var(--ink); border: 1px solid rgba(244, 238, 228, .16); box-shadow: 0 16px 30px -16px rgba(0, 0, 0, .6); }
.shub-card__badge .illo { width: 100%; height: 100%; }
.shub-card__body { display: grid; gap: .65rem; align-content: start; padding: 1.4rem 1.5rem 1.6rem; }
.shub-card__kicker { display: inline-flex; align-items: center; gap: .55rem; font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 560; color: var(--gold-ink); }
.shub-card__kicker i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.shub-card h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.5rem, 1.25rem + .6vw, 1.9rem); line-height: 1.06; color: var(--text); }
.shub-card p { font-size: .95rem; line-height: 1.6; color: var(--text-2); }
.shub-card .link { justify-self: start; margin-top: .3rem; }
.shub-card a.cover::after { content: ''; position: absolute; inset: 0; z-index: 2; border-radius: var(--r-lg); }
.shub-card a.cover:focus-visible { outline: none; }
.shub-card:has(a.cover:focus-visible) { outline: 2px solid var(--gold); outline-offset: 3px; }
/* signature protocols carry their own palette */
.shub-card--lumara, .shub-card--aurelion, .shub-card--elite { color: var(--text-inv); border-color: transparent; }
.shub-card--lumara { background: radial-gradient(120% 100% at 100% 0%, #3a2d24, var(--lumara-night) 60%) !important; }
.shub-card--aurelion { background: radial-gradient(120% 100% at 0% 100%, #5c7a5d, var(--aurelion-deep) 70%) !important; }
.shub-card--elite { background: radial-gradient(120% 100% at 0% 100%, #354b63, var(--elite-navy) 60%) !important; }
.shub-card--lumara h3, .shub-card--aurelion h3, .shub-card--elite h3 { color: var(--text-inv); }
.shub-card--lumara p, .shub-card--aurelion p, .shub-card--elite p { color: var(--muted-inv); }
.shub-card--lumara .shub-card__kicker, .shub-card--aurelion .shub-card__kicker, .shub-card--elite .shub-card__kicker { color: var(--gold-soft); }
.shub-card--lumara .link, .shub-card--aurelion .link, .shub-card--elite .link { color: var(--text-inv); }
/* single service (Profile Elite) as a wide feature card */
.shub-group--single .shub-card { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); grid-template-rows: none; }
.shub-group--single .shub-card__media { aspect-ratio: auto; min-height: 420px; border-radius: var(--r-lg) 0 0 var(--r-lg); }
.shub-group--single .shub-card__body { align-content: center; padding: clamp(1.6rem, 3vw, 3rem); }
@media (max-width: 760px) {
  .shub-group--single .shub-card { grid-template-columns: 1fr; }
  .shub-group--single .shub-card__media { min-height: 0; aspect-ratio: 4 / 3; border-radius: var(--r-lg) var(--r-lg) 0 0; }
  .shub-card__badge { width: 72px; height: 72px; }
}

/* 16-faq.css */
/* ==========================================================================
   FAQ (/faq/), Oct 26: split hero, topic cards over the seam, the questions in two bands
   (white with a sticky topic menu, linen with a sticky clinic photo) around an olive
   "ask us" photo band, links to each service's FAQ, closing photo CTA.
   Reuses the service-page system (sx, gl, sxm, sx-cta) and the accordion (faq__item).
   ========================================================================== */

/* ---------- topic cards ---------- */
.fq-topics { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.fq-topics.gl > .gl__item { display: flex; }
.fq-topics a { --c: var(--gold); flex: 1; display: grid; grid-template-rows: auto auto 1fr auto; gap: .5rem; }
.fq-topics a:focus-visible { outline-offset: -5px; border-radius: var(--r-md); }
.fq-topics .gl__icon { margin-bottom: .5rem; }
.fq-topics .shub-jump__name { font-size: clamp(1.2rem, 1rem + .5vw, 1.5rem); }
.fq-topics .shub-jump__count { align-self: end; }
/* 761 to 1100px: three over two, like the service-page glance cards (beats the shared .gl rules) */
@media (min-width: 761px) and (max-width: 1100px) {
  .fq-topics.shub-jump.gl { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .fq-topics.shub-jump.gl > .gl__item:nth-child(n) { grid-column: span 2; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
  .fq-topics.shub-jump.gl > .gl__item:nth-child(n + 4) { grid-column: span 3; }
  .fq-topics.shub-jump.gl > .gl__item:nth-child(-n + 3) { border-top: 0; }
  .fq-topics.shub-jump.gl > .gl__item:nth-child(1), .fq-topics.shub-jump.gl > .gl__item:nth-child(4) { border-left: 0; }
}
/* phones: a compact two-column grid, icon beside the name */
@media (max-width: 760px) {
  .fq-topics.shub-jump.gl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fq-topics.shub-jump.gl > .gl__item:nth-child(n) { grid-column: auto; border-left: 0; border-top: 1px solid var(--line); }
  .fq-topics.shub-jump.gl > .gl__item:nth-child(-n + 2) { border-top: 0; }
  .fq-topics.shub-jump.gl > .gl__item:nth-child(even) { border-left: 1px solid var(--line); }
  .fq-topics.shub-jump.gl > .gl__item:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .fq-topics a { grid-template-columns: 32px 1fr; grid-template-rows: auto auto; column-gap: .7rem; row-gap: .25rem; padding: 1rem; }
  .fq-topics .gl__icon { width: 32px; height: 32px; margin: 0; grid-row: span 2; }
  .fq-topics .gl__icon svg { width: 16px; height: 16px; }
  .fq-topics .shub-jump__name { font-size: 1.05rem; }
  .fq-topics .shub-jump__count { font-size: .6rem; }
}

/* ---------- question bands ---------- */
.fq-body { padding-block: clamp(4rem, 2.5rem + 5vw, 7rem); }
.fq-body--b { padding-block: clamp(4rem, 2.5rem + 5vw, 7rem); }
.fq-body__grid { display: grid; grid-template-columns: minmax(0, .55fr) minmax(0, 1.6fr); gap: clamp(2.5rem, 5vw, 6rem); align-items: start; }
.fq-aside { position: sticky; top: 6rem; }
.fq-nav__label { font-size: .64rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: .8rem; }
.fq-nav ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .2rem; border-left: 1px solid var(--line); }
.fq-nav a { display: flex; align-items: baseline; gap: .8rem; padding: .62rem 0 .62rem 1.2rem; margin-left: -1px; border-left: 2px solid transparent; font-size: .98rem; color: var(--text-2); transition: color .3s, border-color .3s, padding .4s var(--ease-out); }
.fq-nav a span { font-family: var(--f-display); font-style: italic; font-size: 1.05rem; color: var(--gold-ink); }
.fq-nav a:hover { color: var(--text); padding-left: 1.45rem; }
.fq-nav a.is-active, .fq-nav a[aria-current='true'] { color: var(--text); border-left-color: var(--gold-ink); font-weight: 500; }
.fq-aside__media { margin: 0; aspect-ratio: 4 / 5; border-radius: 999px 999px var(--r-lg) var(--r-lg); overflow: hidden; max-height: calc(100vh - 8rem); }
.fq-aside__media img { width: 100%; height: 100%; object-fit: cover; }

.fq-groups { display: grid; gap: clamp(3rem, 6vw, 5rem); }
/* keep the accordion toggles clear of the fixed back-to-top button */
@media (min-width: 761px) { .fq-groups { padding-right: 76px; } }
.fq-group__head { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 1.2rem; row-gap: .3rem; align-items: center; }
.fq-group__icon { grid-row: span 2; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--linen); color: var(--gold-ink); }
.bg-linen .fq-group__icon { background: var(--white); }
.fq-group__icon svg { width: 24px; height: 24px; }
.fq-group__head .sxm__n { font-size: 1rem; }
.fq-group__head .h3 { font-size: clamp(1.8rem, 1.3rem + 1.4vw, 2.6rem); }
.fq-group .faq__list { margin-top: 1.6rem; }
.bg-linen .fq-group .faq__list, .bg-linen .fq-group .faq__item { border-color: rgba(10, 26, 44, .12); }
.fq-group .faq__item summary { font-size: clamp(1.2rem, 1.05rem + .5vw, 1.5rem); padding: 1.3rem 0; }
.fq-group .faq__item summary:hover .faq__icon { border-color: var(--ink); }
.fq-group .faq__answer { font-size: 1rem; line-height: 1.75; }
@media (max-width: 1000px) {
  .fq-body__grid { grid-template-columns: 1fr; }
  .fq-aside { display: none; }
}

/* ---------- "ask us" photo band ---------- */
.fq-ask { position: relative; overflow: hidden; padding-block: clamp(4.5rem, 2.5rem + 6vw, 8rem); }
.fq-ask__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; position: relative; z-index: 1; }
.fq-ask__media { margin: 0; aspect-ratio: 5 / 4; border-radius: var(--r-lg); overflow: hidden; }
.fq-ask__media img { width: 100%; height: 100%; object-fit: cover; }
.fq-ask__copy .h2 { margin-top: 1rem; max-width: 16ch; }
.fq-ask__copy .lead { margin-top: 1.3rem; color: var(--muted-inv); max-width: 46ch; }
.fq-ask__copy .btns { margin-top: 2rem; }
.fq-ask__mail { margin-top: 1.4rem; font-size: .92rem; color: var(--muted-inv); }
.fq-ask__mail a { color: var(--text-inv); text-decoration: underline; text-decoration-color: var(--gold-soft); text-underline-offset: .2em; }
.fq-ask__art { position: absolute; z-index: 0; right: calc(-1 * clamp(60px, 6vw, 120px)); top: -40px; width: clamp(240px, 26vw, 420px); opacity: .55; pointer-events: none; }
@media (max-width: 900px) {
  .fq-ask__grid { grid-template-columns: 1fr; }
  .fq-ask__art { width: 220px; right: -60px; top: -30px; opacity: .35; }
}

/* ---------- service FAQs on sand ---------- */
.fq-svc { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.6rem); margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.fq-svc__col { background: var(--white); border: 1px solid rgba(10, 26, 44, .08); border-radius: var(--r-lg); padding: clamp(1.3rem, 2vw, 1.8rem); }
.fq-svc__label { display: flex; align-items: center; gap: .6rem; font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); padding-bottom: .9rem; border-bottom: 1px solid var(--line); }
.fq-svc__label i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.fq-svc ul { list-style: none; margin: .4rem 0 0; padding: 0; }
.fq-svc ul a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); font-family: var(--f-display); font-size: 1.18rem; line-height: 1.2; color: var(--text); transition: color .3s, padding .5s var(--ease-out); }
.fq-svc li:last-child a { border-bottom: 0; }
.fq-svc ul a svg { width: 15px; height: 15px; flex: none; color: var(--gold-ink); }
.fq-svc ul a:hover { color: var(--gold-ink); padding-left: .3rem; }
/* a focus area with one service is an image card instead of a near-empty list */
.fq-svc__feature { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: .8rem; min-height: 320px; border: 0; color: var(--text-inv); }
.fq-svc__feature picture { position: absolute; inset: 0; z-index: -2; }
.fq-svc__feature img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.fq-svc__feature::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 20, 35, .15) 0%, rgba(8, 20, 35, .6) 45%, rgba(8, 20, 35, .92) 100%); }
.fq-svc__feature:hover img { transform: scale(1.04); }
.fq-svc__feature .fq-svc__label { color: var(--gold-soft); border-bottom-color: var(--line-inv); }
.fq-svc__feature-name { font-family: var(--f-display); font-size: clamp(1.5rem, 1.2rem + .7vw, 1.9rem); line-height: 1.1; }
.fq-svc__feature .link { color: var(--text-inv); justify-self: start; align-self: flex-start; }
.fq-svc__feature:focus-visible { outline-offset: -4px; }
@media (max-width: 1100px) { .fq-svc { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .fq-svc { grid-template-columns: 1fr; } .fq-svc__feature { min-height: 260px; } }
