/* ============================================================
   Rocca Health — Dr. Nina Rocca website
   Locked palette + typography system. See DESIGN.md.
   ============================================================ */

/* Self-hosted fonts (latin subset) — no third-party requests */
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 500; font-display: swap; src: url('../assets/fonts/cormorant-garamond-500-italic.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 600; font-display: swap; src: url('../assets/fonts/cormorant-garamond-600-italic.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap; src: url('../assets/fonts/cormorant-garamond-500.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 600; font-display: swap; src: url('../assets/fonts/cormorant-garamond-600.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 700; font-display: swap; src: url('../assets/fonts/cormorant-garamond-700.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400; font-display: swap; src: url('../assets/fonts/montserrat-400.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 500; font-display: swap; src: url('../assets/fonts/montserrat-500.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 600; font-display: swap; src: url('../assets/fonts/montserrat-600.woff2') format('woff2'); }

:root {
  /* Direction C palette (RULED by Laura 2026-08-27, Palette Lab): forest green
     is the heading voice on light grounds, deep violet anchors darks and
     actions, lavender carries the accent family, gold remains the thread. */
  --rocca-violet: #3E2159;
  --rocca-violet-shadow: #2E1745;
  --rocca-forest: #405236;
  --rocca-lavender: #6F5A8C;
  --rocca-lavender-light: #C9BADF;
  --rocca-muted-sage: #9AAA7A;      /* legacy support tone; demoted from accent duty */
  --rocca-champagne-gold: #C8A86A;
  --rocca-pearl-bone: #F3F1EE;
  --rocca-cocoa-charcoal: #2B2428;

  /* Derived, same families only */
  --pearl-lift: #F9F8F6;            /* cards on pearl */
  --pearl-deep: #EAE7E1;            /* alternating band, deeper pearl */
  --forest-wash: rgba(64, 82, 54, 0.10);
  --lavender-wash: rgba(185, 166, 211, 0.16);
  --gold-line: rgba(200, 168, 106, 0.55);
  --gold-line-soft: rgba(200, 168, 106, 0.32);
  --ink-soft: rgba(43, 36, 40, 0.78);
  --pearl-on-dark: rgba(243, 241, 238, 0.88);
  --shadow-plum: 0 18px 40px -18px rgba(49, 20, 47, 0.28);
  /* Depth architecture (Experience Layer D4, ruled 2026-08-27): two shadow
     levels and three tonal steps (pearl, lift, deep) form the elevation system.
     No glassmorphism, ever. */
  --shadow-rest: 0 6px 18px -12px rgba(49, 20, 47, 0.16);
  --shadow-raised: 0 22px 48px -20px rgba(49, 20, 47, 0.32);

  --font-display: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --font-body: "Montserrat", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  /* Playlist Script is the licensed accent font; until the license arrives,
     Cormorant italic stands in (ruled 2026-08-14: Kaushan read too casual). */
  --font-script: "Playlist Script", "Cormorant Garamond", Georgia, serif;

  --fs-display: clamp(2.7rem, 5vw + 1rem, 4.6rem);
  --fs-h1: clamp(2.3rem, 3.4vw + 1rem, 3.4rem);
  --fs-h2: clamp(1.9rem, 2.2vw + 1rem, 2.75rem);
  --fs-h3: clamp(1.35rem, 0.8vw + 1.05rem, 1.7rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;
  --fs-caption: 0.8125rem;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.75rem;
  --space-4: 2.75rem;
  --space-5: clamp(3.5rem, 7vw, 6rem);
  --space-6: clamp(5rem, 10vw, 8.5rem);

  /* Sharp-card geometry (ruled 2026-08-14): the arched portrait frame is the
     site's single dramatic curve; cards and chrome stay near-square for
     clinical authority. Pills remain for CTAs. */
  --radius-card: 3px;
  --radius-tight: 4px;
  --radius-pill: 999px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  --z-nav: 40;
  --z-banner: 50;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; background: var(--rocca-pearl-bone); }

/* Pages cross-fade into one continuous space (ruled 2026-08-15).
   Browsers without View Transitions simply navigate normally. */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out 0.3s ease-out both; }
::view-transition-new(root) { animation: vt-in 0.38s ease-out both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }
body {
  margin: 0;
  background: var(--rocca-pearl-bone);
  color: var(--rocca-cocoa-charcoal);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { margin: 0 0 0.6em; font-family: var(--font-display); font-weight: 600; line-height: 1.12; color: var(--rocca-forest); letter-spacing: -0.01em; text-wrap: balance; font-feature-settings: "liga" 1, "dlig" 1; }
.hero__name, .hero__intro, .pull-quote, .brand__name, .faq summary { font-feature-settings: "liga" 1, "dlig" 1; }

::selection { background: var(--rocca-violet); color: var(--rocca-pearl-bone); }
.section--dark ::selection, .site-footer ::selection { background: var(--rocca-pearl-bone); color: var(--rocca-violet); }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { margin: 0 0 1.1em; max-width: 68ch; text-wrap: pretty; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.2em; }
li { margin-bottom: 0.45em; }
a { color: var(--rocca-forest); text-decoration-color: var(--gold-line); text-underline-offset: 3px; }
a:hover { color: var(--rocca-lavender); }
strong { font-weight: 600; }
em { font-style: italic; }
hr { border: 0; border-top: 1px solid var(--gold-line-soft); margin: var(--space-4) 0; }

:focus-visible {
  outline: 2px solid var(--rocca-violet);
  outline-offset: 3px;
  border-radius: 3px;
}
.section--dark :focus-visible,
.site-footer :focus-visible,
.draft-banner :focus-visible {
  outline-color: var(--rocca-champagne-gold);
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--rocca-violet); color: var(--rocca-pearl-bone);
  padding: 0.7rem 1.2rem; z-index: 100; border-radius: 0 0 8px 0;
  font-size: var(--fs-small); text-decoration: none;
}
.skip-link:focus { left: 0; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

/* ---------- Draft banner (hard gate: exact marker) ---------- */
.draft-banner {
  position: sticky; top: 0; z-index: var(--z-banner);
  background: var(--rocca-violet-shadow);
  color: var(--rocca-pearl-bone);
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 1.85rem; z-index: var(--z-nav);
  background: rgba(243, 241, 238, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gold-line-soft);
  transition: box-shadow 0.3s var(--ease-out);
}
.site-header.is-condensed { box-shadow: 0 10px 28px -20px rgba(49, 20, 47, 0.4); }
/* Reading-progress hairline (injected by JS) */
.scroll-progress {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--rocca-champagne-gold);
  transform-origin: left center; transform: scaleX(0);
  pointer-events: none;
}
.site-header__inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0.9rem clamp(1.25rem, 4vw, 2.5rem);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  transition: padding 0.3s var(--ease-out);
}
.site-header.is-condensed .site-header__inner { padding-block: 0.5rem; }
.brand {
  text-decoration: none; line-height: 1.05; display: flex; flex-direction: column; gap: 0.1rem;
}
.brand__name {
  font-family: var(--font-display);
  font-size: 1.55rem; font-weight: 600; color: var(--rocca-forest);
  letter-spacing: 0.01em;
}
.brand__tag {
  font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-soft); font-weight: 500;
}
.nav-toggle {
  display: none; background: none; border: 1px solid var(--gold-line);
  border-radius: var(--radius-tight); padding: 0.55rem 0.65rem; cursor: pointer; color: var(--rocca-violet);
}
.nav-toggle svg { width: 20px; height: 20px; }
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
.site-nav a {
  text-decoration: none; font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.04em; color: var(--rocca-cocoa-charcoal);
  padding: 0.3rem 0; border-bottom: 2px solid transparent;
}
.site-nav a:not(.btn) {
  border-bottom: none;
  background: linear-gradient(var(--rocca-champagne-gold), var(--rocca-champagne-gold)) no-repeat left 100% / 0% 2px;
  transition: background-size 0.35s var(--ease-out), color 0.25s var(--ease-out);
}
.site-nav a:not(.btn):hover { color: var(--rocca-violet); background-size: 100% 2px; }
.site-nav a[aria-current="page"] { color: var(--rocca-violet); font-weight: 600; background-size: 100% 2px; }
.site-nav .btn { border-bottom: none; }
.site-nav a.btn--primary { color: var(--rocca-pearl-bone); }
.site-nav a.btn--primary:hover { color: var(--rocca-pearl-bone); border-bottom-color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; text-align: center;
  border-radius: var(--radius-tight);
  padding: 0.95rem 1.9rem;
  transition: background-color 0.25s var(--ease-out), color 0.25s var(--ease-out), border-color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
  cursor: pointer;
  border: 1px solid transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(0.985); }
.btn--primary { background: var(--rocca-violet); color: var(--rocca-pearl-bone); }
.btn--primary:hover { background: var(--rocca-violet-shadow); color: var(--rocca-pearl-bone); }
.btn--ghost { border-color: var(--rocca-violet); color: var(--rocca-violet); background: transparent; }
.btn--ghost:hover { background: var(--rocca-violet); color: var(--rocca-pearl-bone); }
.btn--on-dark { background: var(--rocca-pearl-bone); color: var(--rocca-violet); }
.btn--on-dark:hover { background: var(--pearl-lift); color: var(--rocca-violet-shadow); }
.btn--ghost-dark { border-color: var(--gold-line); color: var(--rocca-pearl-bone); background: transparent; }
.btn--ghost-dark:hover { border-color: var(--rocca-champagne-gold); background: rgba(200, 168, 106, 0.12); color: var(--rocca-pearl-bone); }
.btn--small { padding: 0.65rem 1.3rem; font-size: 0.74rem; }

.text-link {
  font-weight: 600; font-size: 0.9rem; letter-spacing: 0.03em;
  text-decoration: none; color: var(--rocca-forest);
  padding-bottom: 2px;
  background:
    linear-gradient(var(--rocca-lavender), var(--rocca-lavender)) no-repeat left 100% / 0% 1px,
    linear-gradient(var(--gold-line), var(--gold-line)) no-repeat left 100% / 100% 1px;
  transition: background-size 0.35s var(--ease-out), color 0.25s var(--ease-out);
}
.text-link:hover { color: var(--rocca-lavender); background-size: 100% 1px, 100% 1px; }

/* ---------- Layout primitives ---------- */
.container { max-width: 1200px; margin: 0 auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
.container--narrow { max-width: 860px; }
.section { padding-block: var(--space-6); }
.section--tight { padding-block: var(--space-5); }
.section--dark {
  background: linear-gradient(160deg, var(--rocca-violet) 0%, var(--rocca-violet-shadow) 100%);
  color: var(--pearl-on-dark);
}
/* D3 Living light (ruled 2026-08-27): the hero's approved drift, extended to the
   aubergine sections. A warm glow breathing across the wall; same compositor-only
   mechanism, slightly slower phase so the bands never move in sync with the hero. */
.section--dark, .section--plum { position: relative; overflow: hidden; }
.section--dark::before, .section--plum::before {
  content: ""; position: absolute; inset: -12%; z-index: 0; pointer-events: none;
  background: radial-gradient(48% 42% at 28% 26%, rgba(200, 168, 106, 0.10), transparent 70%);
  animation: light-drift 26s ease-in-out infinite alternate;
}
.section--dark > *, .section--plum > * { position: relative; z-index: 1; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--rocca-pearl-bone); }
.section--dark a { color: var(--rocca-pearl-bone); }
.section--dark a.btn--on-dark { color: var(--rocca-violet); }
.section--dark a.btn--on-dark:hover { color: var(--rocca-violet-shadow); }
.section--deep-ivory { background: var(--pearl-deep); }
.section--sage-wash { background: var(--forest-wash); }
.section--plum {
  /* Ruled 2026-08-14: soft plum retired as a section background (read lavender at
     scale); newsletter bands share the aubergine authority treatment. Soft plum
     survives only as small accents and hover states. */
  background: linear-gradient(160deg, var(--rocca-violet) 0%, var(--rocca-violet-shadow) 100%);
  color: var(--pearl-on-dark);
}
.section--plum h2, .section--plum h3 { color: var(--rocca-pearl-bone); }
.section--plum p, .section--plum .lede { color: var(--pearl-on-dark); }
.section--plum :focus-visible { outline-color: var(--rocca-pearl-bone); }

.lede {
  font-size: 1.2rem; line-height: 1.65; color: var(--ink-soft); max-width: 62ch;
}
.section--dark .lede { color: var(--pearl-on-dark); }

.script-accent {
  font-family: var(--font-script);
  font-style: italic;
  font-weight: 600;
  color: var(--rocca-lavender);
  letter-spacing: 0.005em;
  line-height: 1.2;
}
.section--dark .script-accent,
.section--plum .script-accent { color: var(--rocca-lavender-light); }

/* Gold rule + botanical dividers */
.rule-gold { width: 64px; height: 1px; background: var(--rocca-champagne-gold); border: 0; margin: 0 0 var(--space-3); }
.rule-gold--center { margin-inline: auto; }
/* Rules draw themselves as their section arrives */
.anim [data-reveal] .rule-gold { width: 0; transition: width 1s var(--ease-out) 0.35s; }
.anim [data-reveal].in .rule-gold, .anim [data-reveal].settled .rule-gold { width: 64px; }
.divider-botanical { display: flex; justify-content: center; padding-block: var(--space-2); }
.divider-botanical svg { width: 140px; height: 28px; color: var(--rocca-forest); }

/* ---------- Hero ---------- */
.hero { padding-block: var(--space-5) var(--space-6); overflow: hidden; position: relative; }
/* The one ambient element (ruled 2026-08-15): a near-imperceptible warm light
   drifting behind the portrait over 20 seconds. */
.hero::before {
  content: ""; position: absolute; inset: -10%; z-index: -1; pointer-events: none;
  background: radial-gradient(42% 38% at 72% 42%, rgba(200, 168, 106, 0.11), transparent 70%);
  animation: light-drift 20s ease-in-out infinite alternate;
}
@keyframes light-drift {
  from { transform: translate3d(-2%, -1.5%, 0); }
  to { transform: translate3d(2%, 2.5%, 0); }
}
.hero__grid {
  display: grid; gap: clamp(1.5rem, 3.5vw, 3.5rem);
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  align-items: start;
}
.hero__lead { grid-column: 1; align-self: end; }
.hero__body { grid-column: 1; align-self: start; }
/* Presence treatment (ruled 2026-08-26): Nina stands unframed in the page.
   The photo's edges are baked to melt into Pearl Bone; no border, no shadow,
   no frame. The arch remains the brand curve elsewhere, not here. */
.hero__figure { grid-column: 2; grid-row: 1 / span 2; align-self: center; margin: 0; }
.hero__photo {
  width: 100%; max-width: 600px; height: auto;
  margin-inline: auto;
  margin-top: calc(-1 * var(--space-4));
  margin-bottom: calc(-1 * var(--space-5));
}
.hero__name {
  font-family: var(--font-display); font-weight: 700;
  font-size: var(--fs-display); line-height: 1.02; letter-spacing: -0.015em;
  color: var(--rocca-forest); margin: 0 0 0.35em;
}
.hero__name-accent { display: block; font-style: italic; font-weight: 600; color: var(--rocca-lavender); }
.hero__descriptor {
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--rocca-cocoa-charcoal); margin-bottom: 1.6rem; max-width: none;
}
.hero__descriptor .sep { color: var(--rocca-champagne-gold); }
.hero__lead-copy { margin-bottom: 0; }
.hero__body .lede { margin-bottom: 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; align-items: center; }

/* Home threshold: pearl and violet carry the primary visual identity; forest
   stays an accent within the client image and small botanical details. */
.home-hero {
  position: relative; overflow: hidden; color: var(--rocca-cocoa-charcoal);
  padding-block: clamp(3.5rem, 5.5vw, 5rem);
  background: linear-gradient(142deg, var(--rocca-pearl-bone) 0%, var(--pearl-lift) 58%, rgba(201, 186, 223, 0.25) 100%);
}
.home-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(42% 58% at 70% 24%, rgba(200, 168, 106, 0.13), transparent 74%),
    linear-gradient(90deg, transparent 0%, transparent 72%, rgba(62, 33, 89, 0.06) 100%);
}
.home-hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(3rem, 7vw, 7rem); align-items: center;
}
.home-hero__content { padding-block: var(--space-2); }
.home-hero .hero__descriptor {
  margin-bottom: 1.2rem; color: rgba(43, 36, 40, 0.72);
}
.home-hero .hero__descriptor .sep { color: var(--rocca-champagne-gold); }
.home-hero .rule-gold { background: var(--rocca-champagne-gold); }
.home-hero .hero__name {
  max-width: none; margin-bottom: 0.55em; color: var(--rocca-forest);
  font-size: clamp(3.5rem, 5.4vw, 5.4rem); line-height: 0.96;
}
.home-hero .hero__name-primary,
.home-hero .hero__name-accent { display: block; }
.home-hero .hero__name-accent {
  width: max-content; max-width: 100%; white-space: nowrap;
  color: var(--rocca-lavender); font-weight: 500;
}
.home-hero .lede { color: var(--rocca-cocoa-charcoal); }
.home-hero__truth {
  max-width: 53ch; margin-top: 1.6rem; padding-top: 1.4rem;
  border-top: 1px solid var(--gold-line);
  color: var(--ink-soft); font-size: 0.96rem;
}
.home-hero .text-link {
  color: var(--rocca-violet);
  background:
    linear-gradient(var(--rocca-lavender), var(--rocca-lavender)) no-repeat left 100% / 0% 1px,
    linear-gradient(var(--gold-line), var(--gold-line)) no-repeat left 100% / 100% 1px;
}
.home-hero .text-link:hover { color: var(--rocca-lavender); background-size: 100% 1px, 100% 1px; }
.home-hero__visual { position: relative; padding: 0 0 1rem; }
.home-hero__media {
  position: relative; height: clamp(560px, 45vw, 650px); min-height: 0; margin: 0; overflow: hidden;
  border: 1px solid rgba(200, 168, 106, 0.72); border-radius: var(--radius-card);
  background: var(--rocca-pearl-bone); box-shadow: var(--shadow-raised);
}
.home-hero__media.frame-offset::after { border-color: rgba(200, 168, 106, 0.56); }
.home-hero__photo {
  position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0;
  object-fit: cover; object-position: 50% 24%;
}
.home-hero .hero__actions { gap: 0.8rem; }
.home-hero .hero__actions .btn { padding-inline: 1.6rem; }

/* Interior-page presence figure (About hero, ruled direction from the homepage):
   unframed, edges baked into Pearl Bone in the JPG itself — no border, no arch. */
.presence-figure { margin: 0; }
.presence-figure__photo {
  width: 100%; max-width: 520px; height: auto;
  margin-inline: auto; display: block;
  margin-top: calc(-1 * var(--space-3));
  margin-bottom: calc(-1 * var(--space-4));
}
/* Anchored presence (interior pages): hard bottom edge resting on a gold plinth,
   upper edges melt into Pearl Bone in the image itself */
.presence-figure--anchored .presence-figure__photo {
  max-width: 540px;
  margin-bottom: 0;
  border-bottom: 1px solid var(--rocca-champagne-gold);
  padding-bottom: 0;
}

/* Portrait placeholder frames (until real photography arrives) */
.portrait {
  position: relative;
  border: 1px solid var(--gold-line);
  border-radius: 220px 220px var(--radius-card) var(--radius-card);
  background: linear-gradient(180deg, var(--pearl-lift) 0%, var(--forest-wash) 100%);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  display: flex; align-items: flex-end; justify-content: center;
  box-shadow: var(--shadow-plum);
}
.portrait--square { border-radius: var(--radius-card); aspect-ratio: 1 / 1; }
.portrait__mark {
  position: absolute; inset: 0; margin: auto;
  width: 55%; aspect-ratio: 1 / 1; height: auto;
  mix-blend-mode: multiply; opacity: 0.16;
}
.portrait__photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 28%;
}
.portrait--square .portrait__photo { object-position: 50% 50%; }
.portrait__label {
  position: relative; z-index: 1;
  margin: 1.2rem; padding: 0.55rem 1.1rem;
  background: rgba(243, 241, 238, 0.92);
  border: 1px solid var(--gold-line-soft); border-radius: var(--radius-pill);
  font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-soft); text-align: center;
}

/* Trust strip */
.trust-strip {
  border-top: 1px solid var(--gold-line-soft);
  border-bottom: 1px solid var(--gold-line-soft);
  padding-block: 1.3rem;
}
.trust-strip__list {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0.4rem 2.5rem; margin: 0; padding: 0; list-style: none;
}
.trust-strip__list li {
  font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-soft); margin: 0; display: flex; align-items: center; gap: 0.7rem;
}
.trust-strip__list li::before {
  content: ""; width: 5px; height: 5px; transform: rotate(45deg);
  background: var(--rocca-champagne-gold); flex: none;
}

/* ---------- Focus trio (bone / muscle / metabolism) ---------- */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); }
.trio__item { padding: clamp(1.5rem, 3vw, 3rem); position: relative; }
.trio__item + .trio__item { border-left: 1px solid var(--gold-line-soft); }
.trio__icon { width: 44px; height: 44px; color: var(--rocca-forest); margin-bottom: 1.1rem; transition: color 0.45s var(--ease-out); }
.trio__item:hover .trio__icon { color: var(--rocca-lavender); }
.trio__item h3 { margin-bottom: 0.5rem; }
.trio__item p { font-size: 0.98rem; color: var(--ink-soft); }

/* ---------- Whole-picture (dark authority) ---------- */
.picture-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 6vw, 5rem); align-items: start;
}
.picture-list { list-style: none; padding: 0; margin: 0; columns: 1; }
.picture-list li {
  break-inside: avoid;
  padding: 0.85rem 0 0.85rem 1.6rem; margin: 0; position: relative;
  border-bottom: 0.5px solid rgba(200, 168, 106, 0.3);
  font-size: 0.98rem; line-height: 1.55;
}
.picture-list li::before {
  content: ""; position: absolute; left: 0; top: 1.45rem;
  width: 7px; height: 7px; transform: rotate(45deg);
  background: var(--rocca-champagne-gold);
}
.picture-list li strong { color: var(--rocca-pearl-bone); display: block; font-weight: 600; }
.picture-list li span { color: var(--pearl-on-dark); }
/* Light-ground variant (2026-08-28): the same diamond list on pearl sections. */
.picture-list--light li strong { color: var(--rocca-cocoa-charcoal); }
.picture-list--light li span { color: var(--ink-soft); }
@media (min-width: 720px) { .picture-list--light { columns: 2; column-gap: 3rem; } }
.card .picture-list--light { columns: 1; }
/* Two-up card row and the compact diamond list used inside cards. */
.duo { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
@media (max-width: 719px) { .duo { grid-template-columns: 1fr; } }
.fit-list { list-style: none; margin: 0.6rem 0 0.8rem; padding: 0; }
.fit-list li {
  position: relative; padding: 0.32rem 0 0.32rem 1.25rem;
  font-size: 0.97rem; color: var(--ink-soft); line-height: 1.5;
}
.fit-list li::before {
  content: ""; position: absolute; left: 0; top: 0.85em;
  width: 6px; height: 6px; transform: rotate(45deg);
  background: var(--rocca-champagne-gold);
}

/* ---------- Cards ---------- */
.card {
  background: var(--pearl-lift);
  border: 1px solid var(--gold-line-soft);
  border-radius: var(--radius-card);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-rest);
  transition: border-color 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.card:hover { border-color: var(--rocca-champagne-gold); transform: translateY(-3px); box-shadow: var(--shadow-raised); }
.card__media img { transition: transform 1.4s var(--ease-out); }
.card--feature:hover .card__media img { transform: scale(1.045); }
.card h3 { margin-bottom: 0.4rem; }
.card p { font-size: 0.97rem; color: var(--ink-soft); }
.card .text-link { font-size: 0.84rem; }
.card .card__kicker {
  margin-bottom: 0.8rem; color: var(--rocca-violet);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
}

.pathways {
  display: grid; gap: 1.4rem;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}
.pathways .card--feature { grid-column: span 12; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 2rem; align-items: center; overflow: hidden; padding: 0; }
.card--feature .card__body { padding: clamp(1.8rem, 3.5vw, 3rem); }
.card--feature .card__media { height: 100%; min-height: 280px; }
.card--feature .card__media img { width: 100%; height: 100%; object-fit: cover; }
.pathways .card--continuing {
  grid-column: span 12;
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 6rem); align-items: start;
  background: var(--pearl-deep); box-shadow: none;
}
.pathways .card--continuing h3 { max-width: 18ch; margin-bottom: 0; }
.pathways .card--continuing__body { padding-top: 0.15rem; }
.pathways .card--continuing__body p { max-width: 58ch; margin-bottom: 0.8rem; }
.pathways .card--supporting {
  grid-column: span 6; display: flex; flex-direction: column;
}
.pathways .card--supporting p { max-width: 54ch; }
.pathways .card--supporting .text-link { align-self: flex-start; margin-top: auto; }

/* ---------- Value-first metabolism check ---------- */
.metabolism-invite { border-bottom: 1px solid var(--gold-line-soft); }
.metabolism-invite__grid {
  display: grid; grid-template-columns: minmax(110px, 0.7fr) minmax(0, 4fr) minmax(220px, 1.35fr);
  gap: clamp(1.6rem, 4vw, 4rem); align-items: center;
  border-block: 1px solid var(--gold-line); padding-block: clamp(2rem, 4vw, 3.5rem);
}
.metabolism-invite__marker {
  width: 104px; aspect-ratio: 1; display: grid; place-content: center; text-align: center;
  color: var(--rocca-violet); border: 1px solid var(--gold-line); border-radius: 50%;
  background: var(--pearl-lift); box-shadow: var(--shadow-rest);
}
.metabolism-invite__marker span { font-family: var(--font-display); font-size: 2.9rem; line-height: 0.85; }
.metabolism-invite__marker small { margin-top: 0.35rem; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.metabolism-invite__copy h2 { max-width: 17ch; margin-bottom: 0.35rem; }
.metabolism-invite__copy .lede { margin-bottom: 0; font-size: 1.02rem; }
.metabolism-invite__action { justify-self: end; }
.metabolism-invite__action p { margin: 0.75rem 0 0; max-width: 28ch; color: var(--ink-soft); font-size: 0.76rem; line-height: 1.55; }

/* ---------- Native metabolism check page ---------- */
.quiz-hero {
  padding-block: var(--space-5); position: relative; overflow: hidden;
  background: linear-gradient(145deg, var(--rocca-pearl-bone) 0%, var(--pearl-lift) 58%, rgba(200, 168, 106, 0.12) 100%);
}
.quiz-hero::before {
  content: ""; position: absolute; right: -9vw; bottom: -18vw; width: 38vw; aspect-ratio: 1;
  border: 1px solid var(--gold-line-soft); border-radius: 50%; pointer-events: none;
}
.quiz-hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(3rem, 7vw, 7rem); align-items: center;
}
.quiz-hero__content h1 { max-width: 12ch; font-size: clamp(3rem, 5vw, 5.2rem); color: var(--rocca-violet); }
.quiz-hero__content .lede { max-width: 56ch; }
.quiz-hero__assurances {
  display: grid; gap: 0.45rem; list-style: none; margin: 1.6rem 0 2rem; padding: 0;
  color: var(--rocca-forest); font-size: 0.86rem; font-weight: 500;
}
.quiz-hero__assurances li { position: relative; margin: 0; padding-left: 1.25rem; }
.quiz-hero__assurances li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 0.45rem; height: 0.45rem; background: var(--rocca-champagne-gold); transform: rotate(45deg); }
.quiz-hero__media { margin: 0; height: min(52vw, 560px); min-height: 430px; overflow: hidden; }
.quiz-hero__media img { width: 100%; height: 100%; object-fit: cover; }

.quiz-workspace { background: var(--rocca-violet-shadow); }
.quiz-shell { background: var(--rocca-pearl-bone); border: 1px solid var(--gold-line); box-shadow: var(--shadow-raised); }
.quiz-shell__intro { padding: clamp(2rem, 5vw, 4rem) clamp(1.4rem, 5vw, 4.5rem) 0; }
.quiz-shell__intro h2 { max-width: 18ch; }
.quiz-shell__intro p:last-child { color: var(--ink-soft); }
.quiz-form { padding: clamp(2rem, 5vw, 4rem) clamp(1.4rem, 5vw, 4.5rem) clamp(2.2rem, 5vw, 4.5rem); }
.quiz-progress { margin-bottom: clamp(2rem, 5vw, 4rem); }
.quiz-progress__label { margin-bottom: 0.55rem; color: var(--rocca-violet); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; }
.quiz-progress__track { height: 3px; background: var(--gold-line-soft); overflow: hidden; }
.quiz-progress__track span { display: block; width: 10%; height: 100%; background: var(--rocca-champagne-gold); transition: width 0.45s var(--ease-out); }
.quiz-question { margin: 0; padding: 0; border: 0; }
.quiz-question + .quiz-question { margin-top: var(--space-5); padding-top: var(--space-5); border-top: 1px solid var(--gold-line-soft); }
.quiz-enhanced .quiz-question + .quiz-question { margin: 0; padding: 0; border: 0; }
.quiz-question legend { max-width: 25ch; margin-bottom: var(--space-4); font-family: var(--font-display); font-size: clamp(1.9rem, 4vw, 3.1rem); font-weight: 600; line-height: 1.16; color: var(--rocca-forest); text-wrap: balance; }
.quiz-question legend > span { display: block; margin-bottom: 0.8rem; font-family: var(--font-body); color: var(--rocca-champagne-gold); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em; }
.quiz-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.9rem; }
.quiz-choices label { position: relative; cursor: pointer; }
.quiz-choices input { position: absolute; opacity: 0; pointer-events: none; }
.quiz-choices span {
  min-height: 66px; display: grid; place-items: center; padding: 0.9rem;
  border: 1px solid var(--gold-line); background: var(--pearl-lift); color: var(--rocca-violet);
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.quiz-choices label:hover span { border-color: var(--rocca-violet); transform: translateY(-2px); }
.quiz-choices input:checked + span { background: var(--rocca-violet); border-color: var(--rocca-violet); color: var(--rocca-pearl-bone); }
.quiz-choices input:focus-visible + span { outline: 2px solid var(--rocca-violet); outline-offset: 3px; }
.quiz-controls { display: flex; justify-content: space-between; gap: 1rem; margin-top: var(--space-4); }
.quiz-controls [data-quiz-next], .quiz-controls [data-quiz-finish] { margin-left: auto; }
.quiz-form__error { margin-bottom: 1.2rem; padding: 0.85rem 1rem; border-left: 3px solid var(--rocca-violet); background: var(--lavender-wash); color: var(--rocca-violet); font-size: 0.85rem; }

.quiz-result { padding: clamp(2.3rem, 6vw, 5rem) clamp(1.4rem, 6vw, 5.5rem); }
.quiz-result > h2 { max-width: 15ch; font-size: clamp(2.5rem, 5vw, 4.6rem); color: var(--rocca-violet); }
.quiz-result__summary { max-width: 58ch; font-size: clamp(1.1rem, 2vw, 1.35rem); color: var(--rocca-forest); }
.quiz-result__context { margin-block: var(--space-4); padding: clamp(1.5rem, 4vw, 2.6rem); border-left: 3px solid var(--rocca-champagne-gold); background: var(--pearl-deep); }
.quiz-result__context h3 { color: var(--rocca-violet); }
.quiz-disclaimer { margin-bottom: 0; color: var(--ink-soft); font-size: 0.78rem; }
.quiz-result__next { margin-block: var(--space-5); }
.quiz-result__next h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.quiz-email-panel { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr); gap: clamp(2rem, 5vw, 5rem); padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid var(--gold-line); background: var(--pearl-lift); }
.quiz-optin { display: grid; gap: 1rem; }
.quiz-consent { display: grid; grid-template-columns: 1.1rem 1fr; gap: 0.7rem; align-items: start; color: var(--ink-soft); font-size: 0.8rem; line-height: 1.55; cursor: pointer; }
.quiz-consent input { width: 1rem; height: 1rem; margin-top: 0.15rem; accent-color: var(--rocca-violet); }
.quiz-privacy { margin: 0; color: var(--ink-soft); font-size: 0.72rem; line-height: 1.55; }
.quiz-honeypot { position: absolute; left: -9999px; }
.quiz-optin__status { min-height: 1.5em; margin: 0; font-size: 0.82rem; }
.quiz-optin__status.is-success { color: var(--rocca-forest); font-weight: 600; }
.quiz-optin__status.is-error { color: #7c2842; }
.quiz-optin button:disabled { opacity: 0.55; cursor: wait; }
.quiz-restart { margin-top: var(--space-4); border: 0; padding: 0; font: inherit; font-size: 0.8rem; cursor: pointer; background: transparent; }
.quiz-boundary { max-width: 68ch; margin-inline: auto; text-align: center; }
.quiz-boundary p { margin-inline: auto; }

/* ---------- Image treatments ---------- */
.frame-gold { border: 1px solid var(--gold-line); border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-plum); transition: border-color 0.35s var(--ease-out); }
.frame-gold img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.frame-gold:hover { border-color: var(--rocca-champagne-gold); }
.frame-gold:hover img { transform: scale(1.045); }
.story-grid > .frame-gold { margin: 0; }
/* ---------- Responsive interaction layer (2026-08-28): restrained responses
   rebuilt in vanilla and bound to the doctrine. ---------- */
/* Spotlight: a warm glow follows the pointer across a card. */
.card { position: relative; }
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(240px circle at var(--spot-x, 50%) var(--spot-y, 45%), rgba(200, 168, 106, 0.12), transparent 68%);
  opacity: 0; transition: opacity 0.5s var(--ease-out);
}
.card:hover::after { opacity: 1; }
/* D5 Blueprint scroll-story (ruled 2026-08-27): the homepage whole-picture
   elements settle into place around the center as the section enters view.
   One authored moment, IO-triggered, played once; the settle safety net and
   reduced-motion kill-switch both apply. */
.anim .bp-story li {
  opacity: 0;
  transform: translate3d(var(--bp-x, 0px), var(--bp-y, 14px), 0);
  transition: opacity 0.6s var(--ease-out), transform 0.72s var(--ease-out);
  transition-delay: var(--bp-d, 0s);
}
.anim .bp-story.in li, .anim .bp-story.settled li { opacity: 1; transform: none; }
/* Lazy images fade in on arrival instead of popping. */
.anim img.lazyfade { opacity: 0; }
.anim img.lazyfade.loaded { opacity: 1; transition: opacity 0.7s var(--ease-out); }
/* Split-word headline rise: spans staged by js inside the reveal system. */
.anim .sw { display: inline-block; overflow: hidden; vertical-align: bottom; }
.anim .sw > span {
  display: inline-block; transform: translateY(112%);
  transition: transform 0.62s var(--ease-out); transition-delay: var(--sw-d, 0s);
}
.anim [data-reveal].in .sw > span, .anim [data-reveal].settled .sw > span { transform: none; }
/* Offset hairline: a second gold frame stepped behind the image */
.frame-offset { position: relative; }
.frame-offset > figure, .frame-offset > .portrait { position: relative; z-index: 1; margin: 0; }
.frame-offset::after {
  content: ""; position: absolute; z-index: 0;
  top: 16px; left: 16px; right: -14px; bottom: -14px;
  border: 1px solid var(--gold-line); border-radius: var(--radius-card);
  pointer-events: none;
}
figure.frame-offset { margin: 0; }
figure.frame-offset::after { z-index: -1; }
figcaption {
  font-family: var(--font-display); font-style: italic;
  font-size: 0.98rem; color: var(--ink-soft);
  margin-top: 0.8rem; letter-spacing: 0.01em;
}
.section--dark figcaption { color: var(--pearl-on-dark); }

/* Full-bleed editorial band: one image, one line, cinematic rest between sections */
.editorial-band { position: relative; height: clamp(320px, 46vh, 520px); overflow: hidden; }
.editorial-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.editorial-band__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(43, 36, 40, 0.28) 0%, rgba(43, 36, 40, 0.58) 100%); }
/* D2 (2026-08-28): the Remotion cinemagraph. A 10s seamless loop of window
   light drifting across the linen, rendered programmatically on-palette. The
   video only shows once playback actually starts; the still photo is the
   poster, the fallback, and the reduced-motion experience. */
.editorial-band__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: none;
}
.anim .editorial-band.has-video .editorial-band__video { display: block; }
.editorial-band.has-video::after { display: none; }
/* CSS light pass: serves when the video is not running.
   Same compositor-only drift family as the hero and dark sections. */
.editorial-band::after {
  content: ""; position: absolute; inset: -16%; pointer-events: none; z-index: 0;
  background:
    radial-gradient(58% 52% at 22% 28%, rgba(200, 168, 106, 0.16), transparent 64%),
    radial-gradient(44% 40% at 78% 72%, rgba(243, 241, 238, 0.10), transparent 70%);
  animation: light-drift 32s ease-in-out infinite alternate;
}
.editorial-band__line {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  height: 100%; margin: 0; padding-inline: 1.5rem; max-width: none;
  font-family: var(--font-display); font-style: italic; font-weight: 600;
  font-size: clamp(1.9rem, 3.4vw, 3rem); line-height: 1.25;
  color: var(--rocca-pearl-bone); text-align: center;
}

/* ---------- Story teaser ---------- */
.story-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 6vw, 5rem); align-items: center;
}
.pull-quote {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: clamp(1.4rem, 2vw, 1.8rem); line-height: 1.35;
  color: var(--rocca-forest); margin: 1.4rem 0;
  padding-left: 1.4rem; border-left: 1px solid var(--rocca-champagne-gold);
}
.section--dark .pull-quote { color: var(--rocca-pearl-bone); border-left-color: var(--rocca-champagne-gold); }

/* ---------- Newsletter ---------- */
.newsletter { text-align: center; }
.newsletter form {
  display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap;
  margin-top: 2rem;
}
.newsletter input[type="email"] {
  font-family: var(--font-body); font-size: 0.95rem;
  padding: 0.9rem 1.4rem; min-width: min(340px, 80vw);
  border-radius: var(--radius-tight);
  border: 1px solid var(--gold-line);
  background: var(--rocca-pearl-bone); color: var(--rocca-cocoa-charcoal);
}
.newsletter input[type="email"]::placeholder { color: var(--ink-soft); opacity: 1; }

/* ---------- Process steps (Approach page: a real sequence) ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 1.4rem; }
.steps li {
  counter-increment: step;
  display: grid; grid-template-columns: auto 1fr; gap: 1.6rem; align-items: start;
  background: var(--pearl-lift); border: 1px solid var(--gold-line-soft);
  border-radius: var(--radius-card); padding: clamp(1.4rem, 3vw, 2.2rem);
  margin: 0;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display); font-size: 2.2rem; font-weight: 500;
  color: var(--rocca-champagne-gold); line-height: 1; padding-top: 0.2rem;
}
.steps h3 { margin-bottom: 0.35rem; }
.steps p { margin-bottom: 0; font-size: 0.97rem; color: var(--ink-soft); }

/* ---------- FAQ / definition rows ---------- */
.faq { border-top: 1px solid var(--gold-line-soft); }
.faq details { border-bottom: 0.5px solid var(--gold-line); }
.faq summary {
  cursor: pointer; list-style: none; position: relative;
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 600;
  color: var(--rocca-forest); padding: 1.2rem 3rem 1.2rem 0;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0.4rem; top: 50%; transform: translateY(-50%);
  font-family: var(--font-body); font-weight: 400; font-size: 1.4rem; color: var(--rocca-champagne-gold);
  transition: transform 0.35s var(--ease-out);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .faq__body { padding: 0 0 1.4rem; }
.faq details[open] .faq__body { animation: faq-in 0.4s var(--ease-out); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.faq .faq__body p { font-size: 0.97rem; color: var(--ink-soft); }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 1.3rem; }
.form-field label {
  display: block; font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--rocca-cocoa-charcoal); margin-bottom: 0.45rem;
}
.form-field .required-mark { color: var(--rocca-lavender); font-weight: 700; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; font-family: var(--font-body); font-size: 0.98rem;
  color: var(--rocca-cocoa-charcoal); background: var(--pearl-lift);
  border: 1px solid var(--gold-line); border-radius: var(--radius-tight);
  padding: 0.85rem 1rem;
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field .hint { font-size: 0.82rem; color: var(--ink-soft); margin-top: 0.4rem; }
/* Focus choreography: the gold underline draws, the label lifts */
.form-field label { transition: color 0.3s var(--ease-out), transform 0.3s var(--ease-out); }
.form-field:focus-within label { color: var(--rocca-violet); transform: translateY(-2px); }
.form-field input, .form-field select, .form-field textarea,
.newsletter input[type="email"] {
  background-image: linear-gradient(var(--rocca-champagne-gold), var(--rocca-champagne-gold));
  background-repeat: no-repeat; background-position: left bottom; background-size: 0% 2px;
  transition: border-color 0.3s var(--ease-out), background-size 0.4s var(--ease-out);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus,
.newsletter input[type="email"]:focus {
  border-color: var(--rocca-violet); background-size: 100% 2px;
}

.form-note {
  margin-top: 1.2rem; padding: 1rem 1.3rem;
  background: var(--forest-wash); border: 1px solid rgba(64, 82, 54, 0.45);
  border-radius: var(--radius-tight); font-size: 0.9rem; display: none;
}
.form-note.is-visible { display: block; }

/* ---------- Pathway compass (services page) ---------- */
.matcher fieldset { border: 0; padding: 0; margin: 0 0 1.6rem; }
.matcher legend {
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 600;
  color: var(--rocca-violet); margin-bottom: 0.8rem; padding: 0;
}
.chip-row { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.chip { cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block; padding: 0.65rem 1.25rem;
  border: 1px solid var(--gold-line); border-radius: var(--radius-tight);
  background: var(--pearl-lift); color: var(--rocca-cocoa-charcoal);
  font-size: 0.88rem; font-weight: 500;
  transition: background-color 0.25s var(--ease-out), color 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}
.chip:hover span { border-color: var(--rocca-champagne-gold); }
.chip input:checked + span { background: var(--rocca-violet); color: var(--rocca-pearl-bone); border-color: var(--rocca-violet); }
.chip input:focus-visible + span { outline: 2px solid var(--rocca-violet); outline-offset: 3px; }
.matcher__result {
  margin-top: 0.4rem; padding: clamp(1.4rem, 3vw, 2rem);
  background: var(--pearl-lift); border: 1px solid var(--rocca-champagne-gold);
  border-radius: var(--radius-card);
}
.matcher__result.pop { animation: result-in 0.55s var(--ease-out); }
@keyframes result-in {
  from { opacity: 0; transform: translateY(10px); clip-path: inset(0 0 14% 0); }
  to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
}
.matcher__result h3 { margin-bottom: 0.4rem; }
.matcher__result p { font-size: 0.95rem; color: var(--ink-soft); }
.matcher__note { font-size: 0.82rem; color: var(--ink-soft); margin-top: 1.2rem; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { padding-block: var(--space-5) var(--space-4); }
.page-hero .lede { margin-top: 0.6rem; }

/* Editorial split hero: a shared premium structure whose subject-specific
   image and motif do the storytelling. The DNA thread is opt-in, not global. */
.page-hero--editorial {
  position: relative; overflow: hidden;
  padding-block: clamp(3.5rem, 7vw, 6.5rem);
}
.page-hero--editorial::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  width: min(44vw, 680px); aspect-ratio: 1; right: -14%; top: -30%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 186, 223, 0.19) 0%, rgba(201, 186, 223, 0) 70%);
}
.editorial-hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.8rem, 6vw, 6rem); align-items: center;
}
.editorial-hero__content { padding-block: var(--space-2); }
.editorial-hero__content h1 { max-width: 13ch; font-size: clamp(2.8rem, 4.3vw, 4.3rem); }
.editorial-hero__content .lede { max-width: 55ch; }
.editorial-hero__visual { position: relative; }
.editorial-hero__media {
  position: relative; z-index: 1; margin: 0;
  min-height: 570px; overflow: hidden;
  border: 1px solid var(--gold-line); border-radius: var(--radius-card);
  background: var(--pearl-deep); box-shadow: var(--shadow-raised);
}
.editorial-hero__media--landscape { min-height: 430px; }
.editorial-hero__media--portrait { min-height: 570px; }
.editorial-hero__media img {
  width: 100%; height: 100%; min-height: inherit;
  object-fit: cover; object-position: center;
}
.editorial-hero__media--landscape img { object-position: 52% center; }
.editorial-hero__media--portrait img { object-position: 50% 36%; }

/* Each interior hero keeps the shared editorial grammar but owns its crop and
   tonal emphasis. This prevents a premium system from turning into a template. */
.page-hero--approach { background: linear-gradient(150deg, var(--rocca-pearl-bone) 0%, var(--forest-wash) 100%); }
.page-hero--science { background: linear-gradient(150deg, var(--rocca-pearl-bone) 0%, rgba(201, 186, 223, 0.16) 100%); }
.page-hero--contact { background: linear-gradient(150deg, var(--rocca-pearl-bone) 0%, var(--pearl-deep) 100%); }
.page-hero--professional { background: linear-gradient(150deg, var(--rocca-pearl-bone) 0%, rgba(64, 82, 54, 0.08) 100%); }
.page-hero--approach .editorial-hero__media img { object-position: 58% center; }
.page-hero--science .editorial-hero__media img { object-position: 69% center; }
.page-hero--contact .editorial-hero__media img { object-position: 66% center; }
.page-hero--professional .editorial-hero__content h1 { max-width: 12ch; }

/* About is portrait-led rather than photography-led: Nina remains unframed and
   the asymmetry lets the lived reason for the practice lead the credentials. */
.page-hero--profile {
  position: relative; overflow: hidden;
  padding-block: clamp(3.5rem, 7vw, 6rem) 0;
  background: linear-gradient(145deg, var(--rocca-pearl-bone) 0%, rgba(64, 82, 54, 0.07) 100%);
}
.page-hero--profile::before {
  content: ""; position: absolute; width: min(45vw, 680px); aspect-ratio: 1;
  right: -12%; top: -32%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(200, 168, 106, 0.13) 0%, rgba(200, 168, 106, 0) 70%);
}
.profile-hero__grid {
  position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 7vw, 7rem); align-items: end;
}
.profile-hero__content { align-self: center; padding-block: var(--space-3) var(--space-5); }
.profile-hero__content h1 { font-size: clamp(3rem, 5.2vw, 4.8rem); }
.profile-hero__note {
  max-width: 44ch; margin-top: 2rem; padding-top: 1.2rem;
  border-top: 1px solid var(--gold-line); color: var(--ink-soft); font-size: 0.92rem;
}
.page-hero--profile .presence-figure__photo { max-width: 590px; margin-top: 0; }
.beliefs-copy > p { padding-block: 1.05rem; margin: 0; border-top: 1px solid var(--gold-line-soft); }
.beliefs-copy > p:first-of-type { border-top-color: var(--rocca-champagne-gold); }
.beliefs-copy strong { display: block; margin-bottom: 0.35rem; color: var(--rocca-violet); font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; }

/* Approach measurement notes are deliberately not cards. Their numbered rule
   structure reads as clinical consideration, not as products for sale. */
.measured-grid {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(3rem, 8vw, 8rem); align-items: start;
}
.measured-grid__intro { position: sticky; top: 9rem; }
.measure-notes { border-top: 1px solid var(--rocca-champagne-gold); }
.measure-note {
  display: grid; grid-template-columns: 3rem 1fr; gap: 1.4rem;
  padding-block: var(--space-3); border-bottom: 1px solid var(--gold-line-soft);
}
.measure-note > span, .science-topic__number {
  color: var(--rocca-champagne-gold); font-family: var(--font-display);
  font-size: 1.7rem; line-height: 1;
}
.measure-note h3 { margin-bottom: 0.45rem; }
.measure-note p { color: var(--ink-soft); }

.science-topics {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--rocca-champagne-gold);
}
.science-topic { padding: var(--space-3) clamp(1.2rem, 3vw, 2.4rem) 0; scroll-margin-top: 7rem; }
.science-topic + .science-topic { border-left: 1px solid var(--gold-line-soft); }
.science-topic:first-child { padding-left: 0; }
.science-topic:last-child { padding-right: 0; }
.science-topic__number { display: block; margin-bottom: 1.2rem; }
.science-topic h3 { color: var(--rocca-violet); }
.science-topic p { color: var(--ink-soft); font-size: 0.94rem; }

.professional-scope {
  padding-left: clamp(1.4rem, 4vw, 3rem); border-left: 2px solid var(--rocca-champagne-gold);
}
.collaboration-steps {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: var(--space-3); border-top: 1px solid var(--rocca-champagne-gold);
}
.collaboration-steps p { margin: 0; padding: var(--space-3) clamp(1rem, 3vw, 2rem) 0; color: var(--ink-soft); }
.collaboration-steps p + p { border-left: 1px solid var(--gold-line-soft); }
.collaboration-steps p:first-child { padding-left: 0; }
.collaboration-steps p:last-child { padding-right: 0; }
.collaboration-steps strong { display: block; margin-bottom: 0.45rem; color: var(--rocca-violet); font-family: var(--font-display); font-size: 1.2rem; }

.contact-form-shell {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 7vw, 7rem); padding: clamp(2rem, 5vw, 4rem);
  background: var(--pearl-lift); border: 1px solid var(--gold-line); border-radius: var(--radius-card);
  box-shadow: var(--shadow-raised);
}
.contact-form-shell__intro h2 { font-size: clamp(2rem, 3vw, 2.8rem); }
.contact-form-shell__intro p:last-child { color: var(--ink-soft); font-size: 0.92rem; }
.contact-form-shell__note { grid-column: 2; }
.contact-next {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(3rem, 8vw, 8rem); align-items: start;
}
.contact-next__steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rocca-champagne-gold); }
.contact-next__steps li {
  display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; align-items: baseline;
  padding-block: 1.4rem; border-bottom: 1px solid var(--gold-line-soft);
}
.contact-next__steps span { color: var(--rocca-champagne-gold); font-family: var(--font-display); font-size: 1.4rem; }
.contact-next__steps p { margin: 0; color: var(--ink-soft); }

.legal-hero { background: linear-gradient(150deg, var(--rocca-pearl-bone) 0%, var(--pearl-deep) 100%); }
.legal-hero h1 { max-width: 13ch; font-size: clamp(3rem, 5vw, 4.7rem); }
.legal-layout {
  display: grid; grid-template-columns: minmax(180px, 3fr) minmax(0, 8fr);
  gap: clamp(3rem, 8vw, 8rem); align-items: start;
}
.legal-index { position: sticky; top: 8.5rem; display: grid; }
.legal-index a { padding-block: 0.8rem; color: var(--ink-soft); text-decoration: none; border-bottom: 1px solid var(--gold-line-soft); }
.legal-index a:first-of-type { border-top: 1px solid var(--rocca-champagne-gold); }
.legal-index a:hover { color: var(--rocca-violet); }
.legal-stack { border-top: 1px solid var(--rocca-champagne-gold); }
.legal-section { padding-block: var(--space-3); border-bottom: 1px solid var(--gold-line-soft); scroll-margin-top: 7rem; }
.legal-section h3 { color: var(--rocca-violet); }
.legal-section p, .legal-section li { color: var(--ink-soft); }

.not-found {
  display: grid; align-items: center; min-height: min(720px, calc(100vh - 80px));
  padding-block: var(--space-5); overflow: hidden;
  background: linear-gradient(145deg, var(--rocca-pearl-bone) 0%, rgba(201, 186, 223, 0.17) 100%);
}
.not-found__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(2rem, 8vw, 8rem); align-items: center; }
.not-found__mark {
  color: rgba(64, 82, 54, 0.08); font-family: var(--font-display); font-size: clamp(9rem, 22vw, 19rem);
  font-weight: 700; line-height: 0.75; letter-spacing: -0.08em; user-select: none;
}
.not-found__content h1 { max-width: 12ch; font-size: clamp(3rem, 5vw, 4.8rem); }
.not-found__links { display: flex; flex-wrap: wrap; gap: 0.8rem 1.8rem; margin-top: var(--space-4); padding-top: 1.4rem; border-top: 1px solid var(--gold-line); }
.not-found__links a { color: var(--rocca-violet); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em; text-decoration: none; }

.insight-intro,
.team-offer__grid {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 7vw, 7rem); align-items: start;
}
.insight-intro__title,
.team-offer__intro { position: sticky; top: 8.5rem; }
.insight-intro__title h2,
.team-offer__intro h2 { margin-bottom: 0; }
.insight-intro__body { padding-top: 0.35rem; }
.insight-intro__body p { color: var(--ink-soft); }
.team-offer__list { border-top: 1px solid var(--rocca-champagne-gold); }
.team-offer__item { padding-block: var(--space-3); border-bottom: 1px solid var(--gold-line-soft); }
.team-offer__item h3 { margin-bottom: 0.45rem; color: var(--rocca-violet); }
.team-offer__item p { margin-bottom: 0; color: var(--ink-soft); }

/* ---------- VIP Experience ---------- */
.vip-hero {
  position: relative; overflow: hidden;
  padding-block: clamp(3.5rem, 7vw, 6.5rem);
}
.vip-hero::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  width: min(48vw, 720px); aspect-ratio: 1; right: -12%; top: -28%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 186, 223, 0.23) 0%, rgba(201, 186, 223, 0) 68%);
}
.vip-hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 5vw, 5.5rem); align-items: center;
}
.vip-hero__content { padding-block: var(--space-2); }
.vip-hero__eyebrow,
.section-kicker,
.vip-experience__phase {
  margin: 0 0 1rem; max-width: none;
  color: var(--rocca-violet); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
}
.vip-hero__title {
  max-width: none; margin-bottom: 0.45em;
  font-size: clamp(3.2rem, 5.2vw, 4.7rem); line-height: 0.98;
}
.vip-hero__line { display: block; white-space: nowrap; }
.vip-hero__line--accent {
  color: var(--rocca-lavender);
  font-style: italic; font-weight: 500;
}
.vip-hero__content .lede { max-width: 53ch; }
.vip-hero__media {
  position: relative; min-height: 520px;
  border: 1px solid var(--gold-line); background: var(--pearl-deep);
  box-shadow: var(--shadow-raised);
}
.vip-hero__media::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  inset: 22px -22px -22px 22px; border: 1px solid var(--gold-line);
}
.vip-hero__media img {
  width: 100%; height: 100%; min-height: 520px;
  object-fit: cover; object-position: 58% center;
}

.vip-commitment {
  background: var(--pearl-deep);
  border-block: 1px solid var(--gold-line-soft);
}
.vip-commitment__list {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin: 0; padding: 0; list-style: none;
}
.vip-commitment__list li { margin: 0; padding: 1.6rem clamp(1.2rem, 3vw, 2.5rem); }
.vip-commitment__list li + li { border-left: 1px solid var(--gold-line-soft); }
.vip-commitment__list span {
  display: block; margin-bottom: 0.25rem;
  color: var(--rocca-violet); font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
}
.vip-commitment__list strong {
  display: block; color: var(--rocca-forest);
  font-family: var(--font-display); font-size: 1.25rem; line-height: 1.25;
}

.vip-experience__grid {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(3rem, 8vw, 8rem); align-items: start;
}
.vip-experience { scroll-margin-top: 7rem; }
.vip-experience__intro { position: sticky; top: 9rem; }
.vip-experience__intro p:last-child { color: var(--ink-soft); }
.vip-experience__rail {
  position: relative; margin: 0; padding: 0 0 0 2rem; list-style: none;
  border-left: 1px solid var(--gold-line);
}
.vip-experience__step {
  position: relative; display: grid; grid-template-columns: 4.2rem 1fr;
  gap: 1.5rem; margin: 0; padding: 0 0 clamp(3rem, 6vw, 5rem);
}
.vip-experience__step:last-child { padding-bottom: 0; }
.vip-experience__step::before {
  content: ""; position: absolute; left: calc(-2rem - 5px); top: 0.75rem;
  width: 9px; height: 9px; transform: rotate(45deg);
  background: var(--rocca-champagne-gold); box-shadow: 0 0 0 7px var(--rocca-pearl-bone);
}
.vip-experience__number {
  color: var(--rocca-champagne-gold); font-family: var(--font-display);
  font-size: 2.7rem; font-weight: 500; line-height: 1;
}
.vip-experience__phase { margin-bottom: 0.55rem; }
.vip-experience__step h3 { margin-bottom: 0.45rem; }
.vip-experience__step p:last-child { margin-bottom: 0; color: var(--ink-soft); }
.vip-experience__quote {
  grid-column: 1 / -1; margin: clamp(4rem, 8vw, 7rem) 0 0;
  padding: clamp(2.4rem, 5vw, 4.2rem);
  background: linear-gradient(150deg, var(--rocca-violet) 0%, var(--rocca-violet-shadow) 100%);
  border-left: 3px solid var(--rocca-champagne-gold); box-shadow: var(--shadow-raised);
}
.vip-experience__quote p {
  margin: 0 auto; max-width: 28ch; text-align: center;
  color: var(--rocca-pearl-bone); font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.7rem); font-style: italic; line-height: 1.25;
}

.vip-fit__grid {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(3rem, 8vw, 8rem); align-items: start;
}
.vip-fit__intro p:last-child { color: var(--ink-soft); }
.vip-fit__decision {
  border-top: 1px solid var(--rocca-champagne-gold);
  border-bottom: 1px solid var(--gold-line-soft);
}
.vip-fit__primary { padding-block: 0.5rem var(--space-3); }
.vip-fit__primary .fit-list {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 2rem; margin-top: 1rem;
}
.vip-fit__boundary {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 5fr);
  gap: 2rem; padding-block: var(--space-3);
  border-top: 1px solid var(--gold-line-soft);
}
.vip-fit__boundary h3, .vip-fit__boundary p { margin: 0; }
.vip-fit__boundary p { color: var(--ink-soft); font-size: 0.95rem; }
.vip-fit__logistics {
  margin: 0; padding-block: var(--space-3);
  border-top: 1px solid var(--gold-line-soft); color: var(--ink-soft); font-size: 0.9rem;
}

.vip-continuity { border-bottom: 1px solid var(--gold-line-soft); }
.vip-continuity__grid {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 4fr);
  gap: clamp(2rem, 7vw, 7rem); align-items: center;
}
.vip-continuity h2 { margin: 0; }
.vip-continuity h2 span { color: var(--rocca-lavender); font-style: italic; font-weight: 500; }
.vip-continuity p { color: var(--ink-soft); }
.vip-cta .lede { color: var(--pearl-on-dark); }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { margin-bottom: 0.7rem; }
.cta-band p { margin-inline: auto; }
.cta-band .hero__actions { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(175deg, var(--rocca-violet-shadow) 0%, #241026 100%);
  color: var(--pearl-on-dark);
  padding-block: var(--space-5) var(--space-3);
  font-size: 0.9rem;
}
.site-footer a { color: var(--pearl-on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--rocca-pearl-bone); text-decoration: underline; text-decoration-color: var(--gold-line); text-underline-offset: 3px; }
.footer-grid {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr));
  padding-bottom: var(--space-4);
  border-bottom: 1px solid rgba(200, 168, 106, 0.25);
}
.footer-identity__chip {
  display: inline-flex; align-items: center; background: var(--rocca-pearl-bone);
  border-radius: var(--radius-tight); padding: 0.55rem 0.75rem; margin-bottom: 1.2rem;
  border: 1px solid rgba(200, 168, 106, 0.34);
}
.footer-identity__chip img {
  /* The source SVG reports a 1080:600 intrinsic canvas even though its cropped
     viewBox is 745:110. Fill the corrected display box so the wide mark is not
     letterboxed back into a tiny logo. */
  width: min(230px, 70vw); height: auto; aspect-ratio: 745 / 110; object-fit: fill;
}
.footer-identity p { font-size: 0.84rem; color: rgba(243, 241, 238, 0.75); max-width: 42ch; }
.footer-col h4 {
  font-family: var(--font-body); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--rocca-champagne-gold); margin-bottom: 1rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 0.55rem; font-size: 0.88rem; }
.footer-legal {
  padding-top: var(--space-3);
  display: flex; flex-direction: column; gap: 1rem;
}
.footer-legal .scope-note { font-size: 0.8rem; color: rgba(243, 241, 238, 0.65); max-width: 90ch; }
.footer-legal .fine-row {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.8rem; align-items: center;
  font-size: 0.78rem; color: rgba(243, 241, 238, 0.6);
}
.footer-legal .fine-row a { color: rgba(243, 241, 238, 0.75); }
.footer-draft {
  font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--rocca-champagne-gold);
}

/* ---------- Reveal motion (default visible; .anim gates it) ---------- */
.anim [data-reveal] {
  opacity: 0; transform: translateY(38px);
  transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}
/* The Blueprint Sequence, presence edition (ruled 2026-08-26): unframed Nina
   materializes in the page: a slow bottom-up unveil with a settling breath. */
.anim [data-reveal="blueprint"] { opacity: 1; transform: none; }
.anim [data-reveal="blueprint"] .hero__photo,
.anim [data-reveal="blueprint"] .presence-figure__photo {
  opacity: 0; transform: scale(1.02);
  transition: opacity 1.4s var(--ease-out) 0.5s, transform 1.8s var(--ease-out) 0.5s;
}
.anim [data-reveal="blueprint"].in .hero__photo,
.anim [data-reveal="blueprint"].in .presence-figure__photo { opacity: 1; transform: scale(1); }
.anim [data-reveal="blueprint"].settled .hero__photo,
.anim [data-reveal="blueprint"].settled .presence-figure__photo {
  transition: none !important; opacity: 1 !important; transform: none !important;
}
/* The editorial line settles into place */
.anim .editorial-band__line[data-reveal] {
  transform: none; letter-spacing: 0.09em;
  transition: opacity 1.1s var(--ease-out), letter-spacing 1.1s var(--ease-out);
}
.anim .editorial-band__line[data-reveal].in { letter-spacing: 0.005em; }
.anim [data-reveal].in { opacity: 1; transform: none; }
/* Photos unveil top-down instead of fading */
/* The observed wrapper stays unclipped (IntersectionObserver cannot see a
   fully clipped element); only the child is masked. */
.anim [data-reveal="unveil"] { opacity: 1; transform: none; }
.anim [data-reveal="unveil"] > img,
.anim [data-reveal="unveil"] > .portrait {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.35s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}
.anim [data-reveal="unveil"].in > img,
.anim [data-reveal="unveil"].in > .portrait { clip-path: inset(0 0 0 0); }
/* Gold-list items cascade in, conducted rather than uniform */
.anim .picture-list[data-reveal] { opacity: 1; transform: none; }
.anim .picture-list[data-reveal] li { opacity: 0; transform: translateY(12px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.anim .picture-list[data-reveal].in li { opacity: 1; transform: none; }
.anim .picture-list[data-reveal].in li:nth-child(1) { transition-delay: 0.08s; }
.anim .picture-list[data-reveal].in li:nth-child(2) { transition-delay: 0.2s; }
.anim .picture-list[data-reveal].in li:nth-child(3) { transition-delay: 0.32s; }
.anim .picture-list[data-reveal].in li:nth-child(4) { transition-delay: 0.44s; }
.anim .picture-list[data-reveal].in li:nth-child(5) { transition-delay: 0.56s; }
.anim .picture-list[data-reveal].in li:nth-child(6) { transition-delay: 0.68s; }
.anim .picture-list[data-reveal].in li:nth-child(7) { transition-delay: 0.8s; }
.anim .picture-list[data-reveal].in li:nth-child(8) { transition-delay: 0.92s; }
.anim .picture-list[data-reveal].in li:nth-child(9) { transition-delay: 1.04s; }
.anim .picture-list[data-reveal].settled li { transition: none !important; opacity: 1 !important; transform: none !important; }

/* Editorial band settles from a whisper of scale as it enters */
.anim [data-reveal="band"] { opacity: 1; transform: none; }
.anim [data-reveal="band"] > img { transform: scale(1.045); transition: transform 2s var(--ease-out); }
.anim [data-reveal="band"].in > img { transform: scale(1); }

/* Safety net: content is never allowed to stay stuck mid-reveal */
.anim [data-reveal].settled,
.anim [data-reveal].settled > img,
.anim [data-reveal].settled > .portrait {
  transition: none !important;
  opacity: 1 !important; transform: none !important; clip-path: none !important;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .anim [data-reveal] { opacity: 1; transform: none; transition: none; clip-path: none; }
  .anim [data-reveal] > img, .anim [data-reveal] > .portrait { clip-path: none; transition: none; }
  .anim [data-reveal] .portrait::after, .anim [data-reveal] .portrait__photo { clip-path: none; transition: none; }
  .hero::before, .section--dark::before, .section--plum::before, .editorial-band::after { animation: none; }
  .card::after { display: none; }
  .anim .sw > span { transform: none; transition: none; }
  .anim .bp-story li { opacity: 1; transform: none; transition: none; }
  .anim img.lazyfade { opacity: 1; transition: none; }
  @view-transition { navigation: none; }
  .frame-gold:hover img, .card--feature:hover .card__media img { transform: none; }
  .card:hover { transform: none; }
  .btn, .btn:hover { transition: none; transform: none; }
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .vip-hero__grid { grid-template-columns: 1fr; }
  .vip-hero__media, .vip-hero__media img { min-height: 420px; }
}

@media (max-width: 1000px) {
  .home-hero__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 3rem; }
  .home-hero__media { height: 570px; }
  .pathways .card--continuing { grid-template-columns: 1fr; gap: var(--space-2); }
  .pathways .card--supporting { grid-column: span 6; }
  .pathways .card--feature { grid-template-columns: 1fr; }
  .card--feature .card__media { min-height: 220px; order: -1; }
  .card--feature.card--signature .card__media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .metabolism-invite__grid { grid-template-columns: auto 1fr; }
  .metabolism-invite__action { grid-column: 2; justify-self: start; }
  .quiz-hero__grid { grid-template-columns: 1fr; }
  .quiz-hero__content h1 { max-width: 14ch; }
  .quiz-hero__media { width: min(100%, 680px); height: 460px; min-height: 0; }
  .quiz-email-panel { grid-template-columns: 1fr; }
  .home-hero__grid { grid-template-columns: 1fr; row-gap: 0; }
  .home-hero__content { display: contents; }
  .home-hero .hero__descriptor { grid-row: 1; }
  .home-hero .rule-gold { grid-row: 2; }
  .home-hero .hero__name { grid-row: 3; }
  .home-hero__visual {
    grid-row: 4; width: min(100%, 620px);
    margin-block: var(--space-2) var(--space-4);
  }
  .home-hero .hero__lead-copy { grid-row: 5; }
  .home-hero__truth { grid-row: 6; }
  .home-hero .hero__actions { grid-row: 7; }
  .home-hero__media { height: 600px; }
  .hero__grid, .picture-grid, .story-grid { grid-template-columns: 1fr; }
  .hero__lead, .hero__body, .hero__figure { grid-column: 1; }
  .hero__lead { grid-row: 1; }
  .hero__figure { grid-row: 2; }
  .hero__body { grid-row: 3; }
  .hero__figure { max-width: 460px; margin-inline: auto; }
  .hero__photo { margin-top: calc(-1 * var(--space-2)); margin-bottom: calc(-1 * var(--space-3)); }
  .trio { grid-template-columns: 1fr; }
  .trio__item + .trio__item { border-left: 0; border-top: 1px solid var(--gold-line-soft); }
  .img-duo { grid-template-columns: 1fr; }
  .img-duo > :last-child { margin-top: 0; }

  .vip-experience__grid, .vip-fit__grid, .vip-continuity__grid { grid-template-columns: 1fr; }
  .vip-experience__intro { position: static; }
  .vip-experience__quote { margin-top: var(--space-4); }

  .editorial-hero__grid { grid-template-columns: 1fr; }
  .editorial-hero__content h1 { max-width: 15ch; }
  .editorial-hero__visual { width: min(100%, 680px); }
  .editorial-hero__media { min-height: 520px; }
  .editorial-hero__media--landscape { min-height: 390px; }
  .editorial-hero__media--portrait { min-height: 520px; }
  .insight-intro, .team-offer__grid { grid-template-columns: 1fr; gap: var(--space-3); }
  .insight-intro__title, .team-offer__intro { position: static; }

  .profile-hero__grid { grid-template-columns: 1fr; gap: 0; }
  .profile-hero__content { padding-bottom: var(--space-3); }
  .page-hero--profile .presence-figure { width: min(100%, 600px); margin-inline: auto; }
  .measured-grid, .contact-form-shell, .contact-next, .legal-layout, .not-found__grid { grid-template-columns: 1fr; }
  .measured-grid__intro, .legal-index { position: static; }
  .science-topics { grid-template-columns: 1fr; }
  .science-topic { padding: var(--space-3) 0; }
  .science-topic + .science-topic { border-left: 0; border-top: 1px solid var(--gold-line-soft); }
  .collaboration-steps { grid-template-columns: 1fr; }
  .collaboration-steps p { padding-inline: 0; }
  .collaboration-steps p + p { border-left: 0; border-top: 1px solid var(--gold-line-soft); }
  .contact-form-shell__note { grid-column: 1; }
  .legal-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .legal-index .section-kicker { grid-column: 1 / -1; }
  .legal-index a { border-top: 0; }
  .legal-index a:nth-of-type(-n+2) { border-top: 1px solid var(--rocca-champagne-gold); }
  .not-found__mark { margin-bottom: -1.5rem; font-size: clamp(8rem, 34vw, 13rem); }

  .nav-toggle { display: inline-flex; align-items: center; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--rocca-pearl-bone);
    border-bottom: 1px solid var(--gold-line);
    padding: 0.6rem 1.5rem 1.4rem;
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 0.85rem 0.2rem; font-size: 1rem; border-bottom: 1px solid var(--gold-line-soft); }
  .site-nav .btn { margin-top: 1rem; border-bottom: none; }
}

@media (max-width: 560px) {
  .metabolism-invite__grid { grid-template-columns: 1fr; }
  .metabolism-invite__marker { width: 86px; }
  .metabolism-invite__action { grid-column: 1; width: 100%; }
  .metabolism-invite__action .btn { width: 100%; }
  .quiz-hero__content h1 { font-size: clamp(2.65rem, 13vw, 3.7rem); }
  .quiz-hero__media { height: 330px; }
  .quiz-choices { grid-template-columns: 1fr; gap: 0.65rem; }
  .quiz-choices span { min-height: 54px; }
  .quiz-controls { flex-wrap: wrap; }
  .quiz-controls .btn { width: auto; }
  .quiz-controls [data-quiz-next], .quiz-controls [data-quiz-finish] { flex: 1; }
  .quiz-email-panel { padding: 1.2rem; }
  .home-hero { padding-block: var(--space-4) var(--space-5); }
  .home-hero__grid { gap: 0; }
  .home-hero .hero__descriptor { font-size: 0.68rem; line-height: 1.65; }
  .home-hero .hero__name { font-size: clamp(2.8rem, 13.5vw, 4.15rem); }
  .home-hero__visual { margin-block: var(--space-2) var(--space-4); }
  .home-hero__truth { font-size: 0.9rem; }
  .home-hero__media { height: 460px; }
  .home-hero__media.frame-offset::after { top: 12px; left: 12px; right: -10px; bottom: -10px; }
  .footer-grid { grid-template-columns: 1fr; }
  .pathways .card--supporting { grid-column: span 12; }
  .hero__actions .btn { width: 100%; }
  .hero__actions .text-link { padding-block: 0.45rem; }
  .vip-hero { padding-block: var(--space-4) var(--space-5); }
  .vip-hero__title { font-size: clamp(2.25rem, 11vw, 3.1rem); }
  .vip-hero__media, .vip-hero__media img { min-height: 340px; }
  .vip-hero__media::before { inset: 12px -12px -12px 12px; }
  .vip-commitment__list { grid-template-columns: 1fr; padding-block: 0.4rem; }
  .vip-commitment__list li { padding: 1.15rem 0; }
  .vip-commitment__list li + li { border-left: 0; border-top: 1px solid var(--gold-line-soft); }
  .vip-experience__rail { padding-left: 1.25rem; }
  .vip-experience__step { grid-template-columns: 3.2rem 1fr; gap: 0.8rem; }
  .vip-experience__step::before { left: calc(-1.25rem - 5px); }
  .vip-experience__number { font-size: 2.1rem; }
  .vip-experience__quote { padding-inline: 1.5rem; }
  .vip-fit__primary .fit-list { grid-template-columns: 1fr; }
  .vip-fit__boundary { grid-template-columns: 1fr; gap: 0.5rem; }
  .page-hero--editorial { padding-block: var(--space-4) var(--space-5); }
  .editorial-hero__grid { gap: var(--space-3); }
  .editorial-hero__content h1 { font-size: clamp(2.4rem, 12vw, 3.15rem); }
  .editorial-hero__media { min-height: 410px; }
  .editorial-hero__media--landscape { min-height: 300px; }
  .editorial-hero__media--portrait { min-height: 390px; }
  .page-hero--science .editorial-hero__media img { object-position: 64% center; }
  .page-hero--contact .editorial-hero__media img { object-position: 68% center; }
  .page-hero--profile .presence-figure__photo { margin-bottom: 0; }
  .beliefs-copy strong { font-size: 1.2rem; }
  .measure-note { grid-template-columns: 2.3rem 1fr; gap: 0.8rem; }
  .measure-note > span { font-size: 1.35rem; }
  .contact-form-shell { padding: 1.5rem 1.2rem; }
  .legal-index { grid-template-columns: 1fr; }
  .legal-index a:nth-of-type(2) { border-top: 0; }
  .not-found { min-height: auto; }
  .not-found__content h1 { font-size: clamp(2.6rem, 12vw, 3.5rem); }
  .not-found__links { display: grid; }
  .newsletter form { flex-direction: column; align-items: stretch; }
}
