/* ──────────────────────────────────────────────────────────────────
   Wealth Horizons — TARA waiting list
   Visual redesign applying the WH product visual system
   (warm cream, monochrome, Geist + GT America fallback,
    lifted panels, concentric horizon rings).
   ────────────────────────────────────────────────────────────────── */

:root {
  /* ── Four named colours (canonical) ─────────────────────────────── */
  --wh-eggshell:      #f1efe8;                    /* page background */
  --wh-paper:         #fcfcfa;                    /* floating panel base */
  --wh-mist:          #b5b6c1;                    /* grey-blue signature */
  --wh-night:         #121111;                    /* primary text + TARA dark surface */

  /* ── Aliases used throughout the stylesheet ─────────────────────── */
  --wh-surface:       var(--wh-eggshell);
  --wh-panel:         var(--wh-paper);
  --wh-ink:           var(--wh-night);
  --wh-ink-strong:    var(--wh-night);
  --wh-ink-secondary: rgba(18, 17, 17, 0.7);
  --wh-wordmark:      var(--wh-night);
  --wh-muted:         rgba(18, 17, 17, 0.5);
  --wh-muted-strong:  rgba(18, 17, 17, 0.7);
  --wh-emphasis:      var(--wh-night);

  /* ── TARA dark surface ──────────────────────────────────────────── */
  --wh-tara-surface:  var(--wh-night);
  --wh-tara-fg:       var(--wh-paper);
  --wh-tara-muted:    rgba(252, 252, 250, 0.5);
  --wh-tara-faint:    rgba(252, 252, 250, 0.35);
  --wh-tara-line:     rgba(255, 255, 255, 0.15);

  /* ── Lines ─────────────────────────────────────────────────────── */
  --wh-line:          #e7e5e0;
  --wh-line-soft:     rgba(0, 0, 0, 0.08);
  --wh-line-faint:    rgba(18, 17, 17, 0.12);
  --wh-line-ring:     #000000;

  /* ── Ring fills ─────────────────────────────────────────────────── */
  --wh-ring-from:     rgba(181, 182, 193, 0);
  --wh-ring-to:       rgba(181, 182, 193, 0.4);

  /* ── Button ─────────────────────────────────────────────────────── */
  --wh-button-fg:     var(--wh-paper);

  /* ── Type stacks ───────────────────────────────────────────────── */
  --font-wordmark: "GT America", "GT America Trial", "Söhne", "Inter Tight",
                   "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body:     "Geist", "GT America", "Söhne", "Inter Tight",
                   "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono:     "Geist Mono", "JetBrains Mono", ui-monospace, monospace;

  /* ── Numerics ───────────────────────────────────────────────────── */
  --num-features: "ss01" 1, "lnum" 1, "tnum" 1;

  /* ── Radii ──────────────────────────────────────────────────────── */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* ── Layout ─────────────────────────────────────────────────────── */
  --page-max:        1280px;
  --page-gutter-d:   80px;
  --page-gutter-m:   24px;

  /* ── Shadows ────────────────────────────────────────────────────── */
  --shadow-panel: 0 12px 36px 0 rgba(0, 0, 0, 0.06);
  --shadow-ring:  24px -24px 164px 56px var(--wh-eggshell);
}

/* ── Reset ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

html, body {
  font-family: var(--font-body);
  font-feature-settings: "ss01" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  line-height: 32px;
}

body {
  background: var(--wh-surface);
  color: var(--wh-ink);
  transition: background-color 600ms cubic-bezier(0.65, 0, 0.35, 1),
              color 600ms cubic-bezier(0.65, 0, 0.35, 1);
}

body.is-tara-visible {
  background: var(--wh-tara-surface);
  color: var(--wh-tara-fg);
}

::selection {
  background: var(--wh-ink);
  color: var(--wh-button-fg);
}

/* ── Numerics ────────────────────────────────────────────────────── */
.wh-num,
.wh-figure {
  font-feature-settings: "ss01" 1, "lnum" 1, "tnum" 1;
  font-variant-numeric: lining-nums tabular-nums;
}

/* ── Layout shell ────────────────────────────────────────────────── */
.shell {
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--page-gutter-d);
}

@media (max-width: 768px) {
  .shell { padding: 0 var(--page-gutter-m); }
}

/* ── Wordmark (canonical SVG lockup) ─────────────────────────────── */
.wh-wordmark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--wh-wordmark);
  transition: color 600ms cubic-bezier(0.65, 0, 0.35, 1);
}

.wh-wordmark__svg {
  display: block;
  height: 31px;
  width: auto;
}

@media (min-width: 768px) {
  .wh-wordmark__svg { height: 36px; }
}

.wh-wordmark--footer .wh-wordmark__svg { height: 28px; }
@media (min-width: 768px) {
  .wh-wordmark--footer .wh-wordmark__svg { height: 32px; }
}

/* ── Top bar — frosted glass over the page ──────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(241, 239, 232, 0.72);
  -webkit-backdrop-filter: saturate(1.4) blur(20px);
  backdrop-filter: saturate(1.4) blur(20px);
  border-bottom: 1px solid var(--wh-line-faint);
  transition: background-color 600ms cubic-bezier(0.65, 0, 0.35, 1),
              border-color 600ms cubic-bezier(0.65, 0, 0.35, 1),
              backdrop-filter 600ms cubic-bezier(0.65, 0, 0.35, 1),
              -webkit-backdrop-filter 600ms cubic-bezier(0.65, 0, 0.35, 1);
}

body.is-tara-visible .topbar {
  background: rgba(18, 17, 17, 0.6);
  border-bottom-color: rgba(252, 252, 250, 0.12);
}

/* Hero (light image) — gradient topbar for readability, white elements. */
body.is-hero-visible .topbar {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 60%, rgba(0, 0, 0, 0.3) 100%);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom: none;
}

body.is-hero-visible .topbar .wh-wordmark {
  color: #ffffff;
}
body.is-hero-visible .topbar .wh-wordmark__svg {
  filter: brightness(0) invert(1);
}

body.is-hero-visible .topbar .topbar__nav-link {
  color: #ffffff;
}

body.is-hero-visible .topbar .lang {
  color: rgba(255, 255, 255, 0.5);
}
body.is-hero-visible .topbar .lang__btn--active {
  color: #ffffff;
}
body.is-hero-visible .topbar .lang__sep {
  background: rgba(255, 255, 255, 0.18);
}

body.is-hero-visible .topbar .wh-btn {
  background: #ffffff;
  color: var(--wh-night);
}
body.is-hero-visible .topbar .wh-btn:hover {
  background: rgba(255, 255, 255, 0.9);
}

/* Hero scrolled — eggshell-tinted frosted glass, dark elements. */
body.is-hero-frosted .topbar {
  background: rgba(241, 239, 232, 0.6);
  -webkit-backdrop-filter: saturate(1.2) blur(20px);
  backdrop-filter: saturate(1.2) blur(20px);
  border-bottom-color: rgba(18, 17, 17, 0.12);
}

/* White-element overrides — only on the dark TARA surface. */
body.is-tara-visible .topbar .wh-wordmark {
  color: #ffffff;
}
body.is-tara-visible .topbar .wh-wordmark__svg {
  filter: brightness(0) invert(1);
}

body.is-tara-visible .topbar .wh-btn {
  background: var(--wh-tara-fg);
  color: var(--wh-tara-surface);
}
body.is-tara-visible .topbar .wh-btn:hover {
  background: #ffffff;
}

body.is-tara-visible .topbar .lang {
  color: var(--wh-tara-muted);
}
body.is-tara-visible .topbar .lang__btn--active {
  color: var(--wh-tara-fg);
}
body.is-tara-visible .topbar .lang__sep {
  background: rgba(252, 252, 250, 0.18);
}

body.is-tara-visible .topbar .topbar__nav-link {
  color: #ffffff;
}

.topbar__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  height: 80px;
}

.topbar__nav {
  display: none;
  align-items: center;
  gap: 32px;
  justify-self: center;
}

@media (min-width: 769px) {
  .topbar__nav {
    display: flex;
  }
}

.topbar__inner > .wh-wordmark {
  justify-self: start;
}

.topbar__nav-link {
  font-size: 13px;
  font-feature-settings: "ss01" 1;
  color: var(--wh-ink);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 200ms ease;
}

.topbar__nav-link:hover { opacity: 1; }

.topbar__right {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-self: end;
}

/* ── Buttons ─────────────────────────────────────────────────────── */
.wh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--wh-ink);
  color: var(--wh-button-fg);
  font-size: 13px;
  line-height: 21px;
  padding: 10px 18px;
  min-height: 40px;
  border: 0;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 600ms cubic-bezier(0.65, 0, 0.35, 1),
              color 600ms cubic-bezier(0.65, 0, 0.35, 1),
              transform 160ms ease;
  font-feature-settings: "ss01" 1;
}

.wh-btn:hover { background: #161514; }

.wh-btn--ghost {
  background: transparent;
  color: var(--wh-ink);
  border: 1px solid var(--wh-line);
}
.wh-btn--ghost:hover {
  background: rgba(18, 17, 17, 0.04);
}

.wh-btn--block {
  width: 100%;
  min-height: 56px;
  font-size: 13px;
}

.wh-btn__arrow {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

/* ── Lang toggle ─────────────────────────────────────────────────── */
.lang {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 12px;
  color: var(--wh-muted);
  transition: color 600ms cubic-bezier(0.65, 0, 0.35, 1);
}
.lang__btn {
  background: none;
  border: 0;
  padding: 6px 8px;
  cursor: pointer;
  color: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  transition: color 600ms cubic-bezier(0.65, 0, 0.35, 1);
}
.lang__btn--active { color: var(--wh-ink); }
.lang__sep {
  width: 1px;
  height: 12px;
  background: var(--wh-line-faint);
  transition: background-color 600ms cubic-bezier(0.65, 0, 0.35, 1);
}

/* ── Eyebrow ─────────────────────────────────────────────────────── */
.eyebrow {
  font-size: 12px;
  line-height: 1;
  color: var(--wh-muted);
  font-feature-settings: "ss01" 1;
}

.section-eyebrow {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  font-size: 12px;
  line-height: 1;
  color: var(--wh-muted);
}
.section-eyebrow__num {
  color: var(--wh-ink);
  font-feature-settings: "ss01" 1, "lnum" 1, "tnum" 1;
}

/* ── Headlines ───────────────────────────────────────────────────── */
.h-hero {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(48px, 6vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--wh-ink-strong);
  margin: 0;
}

.h-section {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--wh-ink-strong);
  margin: 0;
}

.h-block {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: var(--wh-ink-strong);
  margin: 0;
}

.h-inline {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.45;
  color: var(--wh-ink-strong);
  margin: 0;
}

/* ── Body copy ───────────────────────────────────────────────────── */
.lede {
  font-size: 18px;
  line-height: 32px;
  color: var(--wh-ink);
  max-width: 64ch;
}
@media (max-width: 768px) {
  .lede { font-size: 17px; line-height: 30px; }
}

.body-copy {
  font-size: 16px;
  line-height: 32px;
  color: var(--wh-ink);
  max-width: 64ch;
}

.body-copy + .body-copy { margin-top: 16px; }

/* ── Hero ────────────────────────────────────────────────────────── */
.hero {
  position: sticky;
  top: 0;
  z-index: 0;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  margin-top: -80px;
  transition: opacity 700ms cubic-bezier(0.65, 0, 0.35, 1);
  background: #000;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__bg-img {
  width: 100%;
  height: auto;
  min-height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transform-origin: center center;
  will-change: transform;
}

.hero .shell {
  position: relative;
  z-index: 1;
  padding-top: 80px;
  padding-bottom: 40px;
  width: 100%;
}

.hero__copy {
  max-width: 620px;
}

.hero__headline {
  margin-bottom: clamp(28px, 2.5vw, 40px);
  color: #ffffff;
}

.hero__lede {
  font-size: 17px;
  line-height: 26px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 40ch;
  margin-bottom: clamp(28px, 2.5vw, 40px);
}

.wh-btn--hero {
  background: #ffffff;
  color: var(--wh-night);
  border: 0;
  font-size: 16px;
  line-height: 1.6;
  padding: 16px 32px;
  min-height: 56px;
}

.wh-btn--hero:hover {
  background: rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
  .hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  
  .hero__bg {
    position: relative;
    inset: auto;
    height: 50vh;
    min-height: 320px;
    flex-shrink: 0;
    overflow: hidden;
  }
  
  .hero__bg-img {
    object-position: right top;
    object-fit: cover;
    height: 100%;
    width: 100%;
    min-height: 0;
  }
  
  .hero .shell {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 32px;
    padding-bottom: 40px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 1) 100%);
  }
  
  .hero__copy {
    max-width: 100%;
  }
  
  .hero__headline {
    font-size: clamp(32px, 8vw, 48px);
    line-height: 1.1;
  }
  
  .hero__lede {
    font-size: 16px;
    line-height: 24px;
    max-width: 100%;
  }
}

/* ── Concentric rings (signature) ────────────────────────────────── */
.rings {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
}

.rings__ring {
  position: absolute;
  border: 1px solid var(--wh-line-ring);
  border-radius: 9999px;
  background-image: linear-gradient(
    224deg,
    var(--wh-ring-from) 54%,
    var(--wh-ring-to) 86%
  );
}

/* Per visual-foundations: rings share the LEFT edge and expand
   right and down. Tactical is innermost (top-left); Policy is
   outermost. Labels sit in a single row below the stack, ordered
   inner→outer (Tactical · Dynamic · Strategic · Policy). */
.rings__ring--policy    { top: 0; left: 0; width: 100%; aspect-ratio: 1; box-shadow: var(--shadow-ring); }
.rings__ring--strategic { top: 0; left: 0; width: 76%;  aspect-ratio: 1; }
.rings__ring--dynamic   { top: 0; left: 0; width: 48%;  aspect-ratio: 1; }
.rings__ring--tactical  { top: 0; left: 0; width: 22%;  aspect-ratio: 1; }

.rings__label {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  line-height: 1;
  pointer-events: none;
}
.rings__label .ctr {
  color: var(--wh-muted);
  font-size: 10px;
  font-feature-settings: "ss01" 1, "lnum" 1, "tnum" 1;
}
.rings__label .name {
  color: var(--wh-ink);
  font-size: 13px;
}

/* Stacked left-to-right along bottom, each label sits just below
   the corresponding ring's right edge (inner to outer). */
.rings__label--tactical  { left: 22%; bottom: -22px; }
.rings__label--dynamic   { left: 48%; bottom: -22px; }
.rings__label--strategic { left: 76%; bottom: -22px; }
.rings__label--policy    { right: 0;  bottom: -22px; text-align: right; align-items: flex-end; }

/* ── Marquee ─────────────────────────────────────────────────────── */
.marquee {
  display: none; /* hidden — remove this line to restore */
  border-top: 1px solid var(--wh-line-faint);
  border-bottom: 1px solid var(--wh-line-faint);
  overflow: hidden;
  padding: 22px 0;
  background: var(--wh-surface);
}

.marquee__track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee-scroll 80s linear infinite;
}

.marquee__group {
  display: flex;
  align-items: center;
  flex: none;
  padding-right: 0;
}

.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  padding: 0 32px;
  font-size: 12px;
  color: var(--wh-muted);
  white-space: nowrap;
}

.marquee__sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--wh-muted);
  display: inline-block;
}

.marquee:hover .marquee__track { animation-play-state: paused; }

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Image curtain (precedes stay-informed) ──────────────────────── */
.image-curtain {
  position: relative;
  height: 100vh;
  background: var(--wh-eggshell);
  overflow: hidden;
}

.image-curtain__stage {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
  visibility: hidden;
  overflow: hidden;
  will-change: clip-path;
}

.image-curtain__stage.is-visible {
  visibility: visible;
}

.image-curtain__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 40%;
  will-change: transform;
}

/* Sections above the sticky hero — solid eggshell bg + positive
   z-index so they cover the pinned hero as they scroll up over it. */
#what-we-do,
#perspective,
#team,
#framework,
#stay-informed,
.footer {
  position: relative;
  z-index: 2;
  background: var(--wh-eggshell);
}

/* Hero only renders in its own scroll range. Once the user has
   scrolled a full viewport past the top, the hero is hidden — so
   the transparent TARA surface (further down the page) can't reveal
   the still-pinned hero behind it. */
body.is-past-hero .hero {
  opacity: 0;
}

/* ── Section ─────────────────────────────────────────────────────── */
.section {
  padding: 120px 0;
  border-top: 1px solid var(--wh-line-faint);
}

/* Fade out everything above TARA while the dark surface is active.
   #framework and #stay-informed are excluded — they must stay fully
   opaque (z-index: 2, eggshell bg) to cover the image-curtain layer
   that sits beneath them. */
.hero,
.marquee,
#what-we-do,
#perspective,
#team {
  transition: opacity 700ms cubic-bezier(0.65, 0, 0.35, 1);
}

body.is-tara-visible .hero,
body.is-tara-visible .marquee,
body.is-tara-visible #what-we-do,
body.is-tara-visible #perspective,
body.is-tara-visible #team {
  opacity: 0;
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
}

.section__head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 80px;
}

@media (min-width: 1024px) {
  .section__head {
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: start;
  }

  /* Top-align the right-column text with the headline on the left,
     compensating for the eyebrow's 32 px line and the h2's 32 px
     margin-top above the headline. */
  .section__head > :nth-child(2) {
    padding-top: 64px;
  }
}

.section__title { max-width: 18ch; }

/* ── Our perspective — custom 3-area layout: title top-left,
   body spans the right column, image bottom-left. Section clips
   horizontally so the slide-in image can ride in from off-screen. */
#perspective {
  overflow: hidden;
}

.perspective__head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 80px;
}

@media (min-width: 1024px) {
  .perspective__head {
    grid-template-columns: 1fr 1.1fr;
    column-gap: 80px;
    row-gap: 56px;
    align-items: start;
  }

  .perspective__head-title {
    grid-column: 1;
    grid-row: 1;
  }

  .perspective__head-body {
    grid-column: 2;
    grid-row: 1 / 3;
    padding-top: 64px;
  }

  .perspective__image {
    grid-column: 1;
    grid-row: 2;
  }
}

.perspective__image {
  margin: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.perspective__image img {
  width: 100%;
  height: 120%;
  position: relative;
  top: -10%;
  object-fit: cover;
  display: block;
  will-change: transform;
}

@media (max-width: 768px) {
  .section__head { margin-bottom: 56px; }
}

/* ── Editorial blocks (used by 01, 05, ...) ─────────────────────── */
.editorial-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--wh-line-faint);
}

.editorial-stack > .editorial-row {
  border-bottom: 1px solid var(--wh-line-faint);
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 32px 0;
}

.editorial-stack > .editorial-row:last-child {
  border-bottom: none;
}

@media (min-width: 1024px) {
  .editorial-stack > .editorial-row {
    grid-template-columns: 280px 1fr;
    gap: 64px;
    padding: 40px 0;
  }
}

.editorial-row__title {
  font-size: 20px;
  line-height: 1.3;
  color: var(--wh-ink-strong);
}

.editorial-row__body {
  font-size: 16px;
  line-height: 30px;
  color: var(--wh-ink);
  max-width: 64ch;
}

/* ── Accordion (What we do) ──────────────────────────────────────── */
.accordion {
  border-top: 1px solid var(--wh-line-faint);
}

.accordion__item {
  border-bottom: 1px solid var(--wh-line-faint);
  position: relative;
  overflow: hidden;
}

.accordion__item::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 70%;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(181, 182, 193, 0) 0%,
    rgba(181, 182, 193, 0.13) 50%,
    rgba(181, 182, 193, 0) 100%
  );
  transform: translateX(-100%);
  opacity: 0;
  mix-blend-mode: multiply;
  will-change: transform, opacity;
}

.accordion__item.is-open::after {
  animation: accordion-sweep 2400ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes accordion-sweep {
  0%   { opacity: 1; transform: translateX(-100%); }
  75%  { opacity: 1; }
  100% { opacity: 0; transform: translateX(200%); }
}

.accordion__trigger {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  color: var(--wh-ink);
  font-family: var(--font-body);
  transition: padding-left 500ms cubic-bezier(0.65, 0, 0.35, 1);
}

@media (min-width: 1024px) {
  .accordion__trigger {
    padding: 36px 0;
  }
}

.accordion__item.is-open > .accordion__trigger,
.accordion__trigger:hover {
  padding-left: 20px;
}

.accordion__title {
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--wh-ink-strong);
  transition: color 300ms ease;
}

.accordion__icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(18, 17, 17, 0.35);
  background: transparent;
  border: 0;
  flex-shrink: 0;
  transition: transform 500ms cubic-bezier(0.65, 0, 0.35, 1);
}

.accordion__icon svg {
  width: 100%;
  height: 100%;
  display: block;
  stroke-width: 1;
}

.accordion__icon-v {
  transform-origin: 12px 12px;
  transition: transform 450ms cubic-bezier(0.65, 0, 0.35, 1);
}

.accordion__trigger:hover .accordion__icon {
  transform: rotate(90deg);
}

.accordion__trigger:hover .accordion__icon-v {
  transform: rotate(-90deg);
}

.accordion__item.is-open .accordion__icon {
  transform: rotate(0);
}

.accordion__item.is-open .accordion__icon-v {
  transform: rotate(90deg);
}

.accordion__item.is-open .accordion__trigger:hover .accordion__icon {
  transform: rotate(0);
}

@media (max-width: 768px) {
  .accordion__icon {
    width: 52px;
    height: 52px;
  }
}

.accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 550ms cubic-bezier(0.65, 0, 0.35, 1);
}

.accordion__item.is-open .accordion__panel {
  grid-template-rows: 1fr;
}

.accordion__panel-inner {
  overflow: hidden;
  min-height: 0;
}

.accordion__body {
  font-size: 16px;
  line-height: 30px;
  color: var(--wh-ink);
  max-width: 64ch;
  padding: 0 0 36px 0;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 450ms cubic-bezier(0.65, 0, 0.35, 1),
              transform 500ms cubic-bezier(0.65, 0, 0.35, 1);
}

.accordion__item.is-open .accordion__body {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 120ms;
}

@media (min-width: 1024px) {
  .accordion__item.is-open > .accordion__trigger,
  .accordion__trigger:hover {
    padding-left: 24px;
  }
  .accordion__body {
    padding-left: 24px;
    padding-bottom: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .accordion__item::before,
  .accordion__trigger,
  .accordion__icon,
  .accordion__icon-v,
  .accordion__panel,
  .accordion__body {
    transition: none;
  }
}

/* ── Accordion — dark variant (TARA surface) ─────────────────────── */
.accordion--dark {
  border-top-color: var(--wh-tara-line);
}

.accordion--dark .accordion__item {
  border-bottom-color: var(--wh-tara-line);
}

.accordion--dark .accordion__title {
  color: var(--wh-tara-fg);
}

.accordion--dark .accordion__icon {
  color: var(--wh-tara-faint);
}

.accordion--dark .accordion__body {
  color: var(--wh-tara-fg);
}

.accordion--dark .accordion__item::after {
  background: linear-gradient(
    90deg,
    rgba(181, 182, 193, 0) 0%,
    rgba(181, 182, 193, 0.22) 50%,
    rgba(181, 182, 193, 0) 100%
  );
  mix-blend-mode: screen;
}

/* ── Numbered cards (02 pivotal decisions, 06 capitals) ──────────── */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--wh-line-faint);
  border-top: 1px solid var(--wh-line-faint);
  border-bottom: 1px solid var(--wh-line-faint);
}

@media (min-width: 768px) {
  .cards--2 { grid-template-columns: 1fr 1fr; }
  .cards--3 { grid-template-columns: 1fr 1fr 1fr; }
  .cards--4 { grid-template-columns: 1fr 1fr 1fr 1fr; }
  .cards--5 { grid-template-columns: repeat(5, 1fr); }
}

.card {
  background: var(--wh-surface);
  padding: 40px 32px 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 280px;
}

.card__num {
  font-size: 13px;
  color: var(--wh-muted);
  font-feature-settings: "ss01" 1, "lnum" 1, "tnum" 1;
}

.card__title {
  font-size: 20px;
  line-height: 1.3;
  color: var(--wh-ink-strong);
  margin-top: auto;
}

/* Numbered card grids — top-align the title (and the body below it)
   across every card in the row, instead of pushing the title to the
   bottom of the flex track. */
.cards--4 .card__title,
.cards--5 .card__title {
  margin-top: 0;
}

/* Our perspective + The framework — H2 typography for the card titles
   (32 / 1.2 · 300, per brandbook). */
.cards--4 .card__title,
.cards--5 .card__title {
  font-size: 32px;
  line-height: 1.2;
  font-weight: 300;
  letter-spacing: -0.012em;
}

.card__body {
  font-size: 14px;
  line-height: 24px;
  color: var(--wh-muted-strong);
}

@media (max-width: 767px) {
  .card { min-height: auto; padding: 32px 24px; }
  .card__title { margin-top: 0; }
}

/* ── Team cards — portrait + name+role on the top row, bio below,
   arrow at bottom-left. Founders grid switches to two columns so the
   five members lay out across three rows. ─────────────────────────── */
@media (min-width: 768px) {
  #team .cards--3 {
    grid-template-columns: 1fr 1fr;
  }
}

.cards--glass .team-card.card {
  display: grid;
  grid-template-columns: 96px 1fr;
  column-gap: 24px;
  row-gap: 20px;
  padding: 32px;
  text-align: left;
  border: none;
  cursor: pointer;
  min-height: 0;
}

.team-card:hover { opacity: 0.85; }

.team-card__thumb {
  grid-column: 1;
  grid-row: 1;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--wh-line-faint);
  margin: 0;
}

.team-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.team-card__heading {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.team-card .card__title {
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--wh-ink-strong);
}

.team-card .card__body {
  font-size: 14px;
  line-height: 1.45;
  margin: 0;
  color: var(--wh-muted-strong);
}

.team-card__excerpt {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 14px;
  line-height: 22px;
  color: var(--wh-muted-strong);
}

.team-card__arrow {
  grid-column: 1;
  justify-self: start;
  width: 18px;
  height: 18px;
  margin: 0;
  color: var(--wh-muted);
}

.team-card:hover .team-card__arrow {
  color: var(--wh-ink);
}

/* Sophia + Jacob pair — two compact vertical cards sharing the slot
   next to Renato. */
.team-card-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.cards--glass .team-card--mini.team-card.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
}

.team-card--mini .team-card__thumb {
  width: 64px;
  height: 64px;
}

.team-card--mini .team-card__heading {
  align-self: stretch;
}

.team-card--mini .team-card__arrow {
  width: 16px;
  height: 16px;
  margin-top: auto;
}

/* ── Team overlay ────���───────────────────────────────────────────── */
.team-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 300ms ease;
}

.team-overlay.is-open {
  pointer-events: all;
  opacity: 1;
}

.team-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 17, 17, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.team-overlay__panel {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  width: 100%;
  max-width: 560px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 48px 48px 52px;
  transform: translateY(12px) scale(0.98);
  transition: transform 300ms cubic-bezier(0.34, 1.2, 0.64, 1);
}

.team-overlay.is-open .team-overlay__panel {
  transform: translateY(0) scale(1);
}

@media (max-width: 600px) {
  .team-overlay__panel { padding: 36px 28px 40px; }
}

.team-overlay__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--wh-line-faint);
  background: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wh-ink);
  transition: background 160ms ease;
}

.team-overlay__close:hover { background: var(--wh-surface); }

.team-overlay__close svg {
  width: 16px;
  height: 16px;
}

.team-overlay__role {
  font-size: 11px;
  color: var(--wh-muted);
  margin-bottom: 8px;
}

.team-overlay__name {
  font-size: 26px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--wh-ink-strong);
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}

.team-overlay__bio {
  font-size: 15px;
  line-height: 26px;
  color: var(--wh-ink);
  margin-bottom: 28px;
}

.publications {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--wh-line-faint);
}

.publication {
  border-bottom: 1px solid var(--wh-line-faint);
  padding: 16px 0;
}

.publication__title {
  font-size: 13px;
  line-height: 20px;
  color: var(--wh-ink-strong);
  margin-bottom: 3px;
}

.publication__detail {
  font-size: 12px;
  line-height: 18px;
  color: var(--wh-muted-strong);
  font-feature-settings: "ss01" 1, "lnum" 1, "tnum" 1;
}

/* ── TARA & WHIP section ─────────────────────────────────────────── */
/* ── TARA two-column layout ───────────────────────────────────────── */
.tara-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: clamp(64px, 7vw, 112px);
  overflow: visible;
}

@media (min-width: 900px) {
  .tara-layout {
    grid-template-columns: 46.2fr 53.8fr;
    gap: 0;
    align-items: start;
    min-height: 720px;
  }
}

/* Left column: wordmark + subtitle */
.tara-layout__left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: clamp(40px, 6vw, 100px);
  padding-right: clamp(24px, 4vw, 64px);
}

@media (min-width: 900px) {
  .tara-layout__left {
    align-self: start;
    will-change: transform;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tara-layout__left {
    position: static;
    transform: none !important;
  }
}

.tara-layout__wordmark {
  display: block;
  width: clamp(180px, 28vw, 380px);
  height: auto;
  margin-bottom: clamp(20px, 2.5vw, 32px);
}

.tara-layout__subtitle {
  font-size: clamp(28px, 3.2vw, 48px);
  font-weight: 300;
  line-height: 1.21;
  letter-spacing: -0.01em;
  color: var(--wh-tara-fg);
  margin: 0;
  white-space: nowrap;
}

/* Right column: circles (bleed above) + body copy */
.tara-layout__right {
  position: relative;
  display: flex;
  flex-direction: column;
}

.tara-layout__cluster {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 0;
  margin-bottom: clamp(32px, 4vw, 56px);
  pointer-events: none;
  transform: scale(1);
  transform-origin: top center;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .tara-layout__cluster {
    transform: none !important;
  }
}

.tara-layout__body .body-copy {
  max-width: 48ch;
}

/* ── Dark TARA section (section 05) ──────────────────────────────
   The page itself flips from cream to dark as this section enters
   the viewport. An IntersectionObserver in the page script toggles
   `is-tara-visible` on <html>; the colour transition lives in CSS.
   The section's own background is transparent — the page's animated
   surface shows through. */
.section--tara-dark {
  position: relative;
  background-color: transparent;
  color: var(--wh-tara-fg);
  border-top: 0;
  padding-top: 320px;
  padding-bottom: 320px;
  overflow: hidden; /* clip horizontal bleed from 200% cluster */
}

@media (max-width: 768px) {
  .section--tara-dark { padding-top: 160px; padding-bottom: 160px; }
}

@media (prefers-reduced-motion: reduce) {
  body { transition: none; }
  .topbar { transition: none; }
}

/* Light typography on the dark surface */
.section--tara-dark .h-section,
.section--tara-dark .body-copy,
.section--tara-dark .lede,
.section--tara-dark .pull-quote,
.section--tara-dark .arch-row__title,
.section--tara-dark .arch-row__body,
.section--tara-dark .spec__value,
.section--tara-dark .privacy-callout__title,
.section--tara-dark .privacy-callout__body {
  color: var(--wh-tara-fg);
}

.section--tara-dark .eyebrow,
.section--tara-dark .section-eyebrow,
.section--tara-dark .architecture-h,
.section--tara-dark .spec__label,
.section--tara-dark .privacy-callout__label {
  color: var(--wh-tara-muted);
}

.section--tara-dark .section-eyebrow__num {
  color: var(--wh-tara-fg);
}

/* Inner panels — dark frosted tiles. Mirrors the cream-side
   white tiles, inverted: an almost-transparent white fill over the
   dark surface (so the tile reads as a soft elevation), a faint
   white hairline border, a small backdrop blur, and a long soft
   shadow. Source: Figma TARA moodboard `429:7741`. */
.section--tara-dark .wh-panel {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 100px 0 rgba(0, 0, 0, 0.15);
}

/* The cluster panel collapses into the section background — no
   tile treatment, the cluster floats on the dark surface. */
.section--tara-dark .tara-intro--glass {
  background: transparent;
  border: 0;
  padding: 0;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
}

/* Inner divider lines flipped for dark */
.section--tara-dark .spec-grid,
.section--tara-dark .architecture-list,
.section--tara-dark .arch-row,
.section--tara-dark .pull-quote {
  border-color: rgba(252, 252, 250, 0.12);
}

.section--tara-dark .pull-quote {
  color: var(--wh-eggshell);
}

.section--tara-dark .h-hero {
  color: var(--wh-tara-fg);
}

/* WHIP intro — two-column layout (title left, body right) inside
   the spec panel box at the bottom of the TARA section. */
.whip-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 900px) {
  .whip-intro {
    grid-template-columns: 46.2fr 53.8fr;
    column-gap: 0;
    align-items: start;
  }
}

.whip-intro__title .h-hero {
  margin: 0;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.08;
  font-weight: 300;
  letter-spacing: -0.02em;
}

.whip-intro__body .body-copy {
  max-width: 64ch;
  margin: 0;
  padding-top: 24px;
}

.pull-quote {
  margin: 96px 0 80px;
  padding: 64px 0;
  border-top: 1px solid var(--wh-line-faint);
  border-bottom: 1px solid var(--wh-line-faint);
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.4;
  letter-spacing: -0.005em;
  color: var(--wh-ink-strong);
  max-width: 28ch;
  font-style: italic;
}

.spec-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin: 64px 0;
  padding: 40px 0;
  border-top: 1px solid var(--wh-line-faint);
  border-bottom: 1px solid var(--wh-line-faint);
}

@media (min-width: 768px) {
  .spec-grid { grid-template-columns: repeat(3, 1fr); gap: 40px; }
}

.spec {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.spec__label {
  font-size: 11px;
  color: var(--wh-muted);
}

.spec__value {
  font-size: 15px;
  line-height: 26px;
  color: var(--wh-ink);
}

.architecture-h {
  font-size: 12px;
  color: var(--wh-muted);
  margin: 80px 0 32px;
}

.architecture-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--wh-line-faint);
}

.arch-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 32px 0;
  border-bottom: 1px solid var(--wh-line-faint);
}

@media (min-width: 1024px) {
  .arch-row {
    grid-template-columns: 280px 1fr;
    gap: 64px;
    padding: 36px 0;
  }
}

.arch-row__title {
  font-size: 18px;
  line-height: 1.3;
  color: var(--wh-ink-strong);
}

.arch-row__body {
  font-size: 15px;
  line-height: 28px;
  color: var(--wh-ink);
  max-width: 64ch;
}

/* ── Panel — solid surface lifted by a soft drop shadow ────────── */
.wh-panel {
  background: var(--wh-panel);
  border: 0;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-panel);
  padding: 32px;
}

/* ── Card grid — each card is its own lifted panel ───────────── */
.cards--glass {
  background: transparent;
  border: 0;
  gap: 16px;
  padding: 0;
}
.cards--glass .card {
  background: var(--wh-panel);
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-panel);
  padding: 36px 28px 36px;
}

/* Our perspective + The framework — vertical gradient surface,
   no drop shadow on the cards. */
.cards--glass.cards--4 .card,
.cards--glass.cards--5 .card {
  background: linear-gradient(180deg, #F1EFE7 0%, #ECEAE0 100%);
  box-shadow: none;
}

/* The statement paragraph immediately after the four cards uses the
   brandbook H2 type spec (32 / 1.2 · 300). */
#perspective .cards--4 + .body-copy {
  font-size: 32px;
  line-height: 1.2;
  font-weight: 300;
  letter-spacing: -0.012em;
}

/* ── Section-specific glass panels ───────────────────────────────── */
.wh-panel.spec-panel {
  margin: 64px 0;
  padding: 40px 48px;
}
.spec-panel .spec-grid {
  margin: 0;
  padding: 0;
  border: 0;
  gap: 32px;
}
@media (min-width: 768px) {
  .spec-panel .spec-grid { grid-template-columns: repeat(3, 1fr); gap: 40px; }
}

.wh-panel.architecture-panel {
  padding: 16px 40px;
}
.architecture-panel .architecture-list { border-top: 0; }
.architecture-panel .arch-row:last-child { border-bottom: 0; }

.wh-panel.form-panel {
  padding: 48px;
}
@media (max-width: 768px) {
  .wh-panel.form-panel { padding: 28px; }
}

/* ── Stay informed — two-column layout: form panel on the left,
   full-bleed image on the right. ──────────────────────────────── */
.stay-informed__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: stretch;
}

@media (min-width: 900px) {
  .stay-informed__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

.stay-informed__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 100%;
  min-height: 320px;
}

.stay-informed__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 40%;
  display: block;
}

/* Eyebrow / headline / lede sit inside the form panel itself. */
#stay-informed .form-panel .section-eyebrow {
  display: inline-flex;
}

#stay-informed .form-panel .section__title {
  margin-top: 24px;
  max-width: none;
}

#stay-informed .form-panel .lede {
  margin-top: 24px;
  max-width: none;
}

#stay-informed .form-panel .form {
  grid-template-columns: 1fr;
  margin-top: 40px;
}

@media (min-width: 768px) {
  #stay-informed .form-panel .form {
    grid-template-columns: 1fr;
  }
}
/* form border-top removed — shadcn-style fields have their own visual weight */

.privacy-callout {
  margin-top: 80px;
  padding: 40px;
}

.privacy-callout__label {
  font-size: 11px;
  color: var(--wh-muted);
  margin-bottom: 16px;
}

.privacy-callout__title {
  font-size: 22px;
  line-height: 1.3;
  color: var(--wh-ink-strong);
  margin-bottom: 16px;
}

.privacy-callout__body {
  font-size: 15px;
  line-height: 28px;
  color: var(--wh-ink);
  max-width: 70ch;
}

/* ── Form ────────────────────────────────────────────────────────── */
.form-panel .form { border-top: none; }

.form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .form { grid-template-columns: 1fr 1fr; gap: 20px; }
  .form .field--full { grid-column: 1 / -1; }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field__label {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--wh-ink);
}

.field__input,
.field__select {
  height: 56px;
  padding: 0 16px;
  font-size: 14px;
  line-height: 1;
  color: var(--wh-ink);
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  outline: none;
  appearance: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
  font-family: var(--font-body);
}

.field__input::placeholder { color: rgba(18, 17, 17, 0.35); }

.field__input:focus,
.field__select:focus {
  border-color: #94a3b8;
  box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.2);
}

.form-action {
  margin-top: 64px;
}

.form-disclaimer {
  margin-top: 20px;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--wh-muted);
  line-height: 1.6;
}

/* ── Footer ──────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--wh-line-faint);
  padding: 80px 0 56px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 80px;
}

@media (min-width: 1024px) {
  .footer__top {
    grid-template-columns: 1.2fr 1fr;
    gap: 96px;
    align-items: start;
  }
}

.footer__tag {
  font-size: 14px;
  color: var(--wh-muted);
  margin-top: 20px;
}

.footer__people {
  font-size: 13px;
  line-height: 28px;
  color: var(--wh-muted);
  padding-top: 0;
}

.footer__people-headline {
  margin-top: 0;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 32px;
  border-top: 1px solid var(--wh-line-faint);
  font-size: 11px;
  color: var(--wh-muted);
}

@media (min-width: 768px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--wh-muted);
  transition: color 200ms ease;
  margin-top: 12px;
}

@media (min-width: 768px) {
  .footer__social-link {
    margin-top: 0;
  }
}

.footer__social-link:hover {
  color: var(--wh-ink);
}

.footer__social-icon {
  width: 20px;
  height: 20px;
}

/* ── Utility ─────────────────────────────────────────────────────── */
.hide-on-mobile { display: none; }
@media (min-width: 768px) { .hide-on-mobile { display: initial; } }

/* Language switch — hide inactive language siblings based on
   <html lang>. Each translatable element holds an `<span lang="en">`
   and an `<span lang="de">` sibling; only the active one renders. */
html[lang="en"] [lang="de"] { display: none; }
html[lang="de"] [lang="en"] { display: none; }

/* ── Scroll-reveal — Patek-style eased fade-up on viewport entry.
   `.reveal` is applied by JS only to elements below the initial
   viewport, so visible content renders normally without flashing. ─ */
.reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 900ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 1100ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.reveal--slide-left {
  transform: translate3d(-160px, 0, 0);
}

.reveal.is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.is-revealed {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html { scroll-behavior: auto; }
}
