/* ═══════════════════════════════════════════════════
   TribeWellMed · Shared style system
   Elevated wellness · Navy + muted jewels (used sparingly)
   ═══════════════════════════════════════════════════ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg-deep:     #0A1A2E;
  --bg-base:     #0F2238;
  --bg-elev:     #173049;
  --bg-soft:     #1D3A57;
  --rule:        rgba(241, 235, 224, 0.08);
  --rule-strong: rgba(241, 235, 224, 0.16);

  --pearl:       #F1EBE0;
  --pearl-2:     #E5DDD0;
  --cream:       #F7F2E6;

  --ink:         #F1EBE0;
  --ink-soft:    rgba(241, 235, 224, 0.78);
  --ink-mute:    rgba(241, 235, 224, 0.55);
  --ink-faint:   rgba(241, 235, 224, 0.35);

  /* PAGE-WIDE jewels — muted, sophisticated. Used in eyebrows, badges, buttons,
     hovers, ambient gradients. The new bright jewel tones are scoped to the
     wellness-wheel only (see `.hero-visual { ... }` below). */
  --gold:        #D6B070;   --gold-glow:    rgba(214, 176, 112, 0.24);
  --emerald:     #86B59A;   --emerald-glow: rgba(134, 181, 154, 0.24);
  --rose:        #C28988;   --rose-glow:    rgba(194, 137, 136, 0.24);
  --sapphire:    #7B9CC2;   --sapphire-glow:rgba(123, 156, 194, 0.24);
  --amethyst:    #9777A0;   --amethyst-glow:rgba(151, 119, 160, 0.24);

  /* One section, one accent. Sections override these. */
  --section-accent:      var(--gold);
  --section-accent-glow: var(--gold-glow);

  --pad-x:        clamp(1.5rem, 5vw, 4.5rem);
  --pad-y:        clamp(5rem, 11vw, 9.5rem);
  --max:          1180px;

  --h-xl:    clamp(2.4rem, 6.4vw, 4.8rem);
  --h-lg:    clamp(1.9rem, 4.4vw, 3.2rem);
  --h-md:    clamp(1.5rem, 2.8vw, 2.1rem);
  --body-lg: clamp(1.05rem, 1.5vw, 1.2rem);

  --serif: 'Fraunces', 'Times New Roman', Georgia, serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --serif-soft: "opsz" 144, "SOFT" 50, "WONK" 0;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg-deep);
  color: var(--ink);
  line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse at 18% 12%, rgba(122, 159, 138, 0.07) 0%, transparent 45%),
    radial-gradient(ellipse at 82% 88%, rgba(214, 176, 112, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(107, 138, 174, 0.04) 0%, transparent 60%);
}
body::after {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.95  0 0 0 0 0.92  0 0 0 0 0.88  0 0 0 0.04 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay; opacity: 0.5;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

/* ═══════════════ NAV ═══════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10, 26, 46, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
  padding: 1.1rem var(--pad-x);
}
nav.scrolled { border-bottom-color: var(--rule); background: rgba(10, 26, 46, 0.88); }
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; gap: 2rem;
}
.nav-brand {
  font-family: var(--serif);
  font-variation-settings: var(--serif-soft), "wght" 500;
  font-size: 1.5rem; letter-spacing: -0.4px;
  color: var(--ink); display: inline-flex; align-items: baseline;
}
.nav-brand .mid { color: var(--gold); font-style: italic;
  font-variation-settings: var(--serif-soft), "wght" 500; }
.nav-brand .sub {
  font-family: var(--sans); font-size: 0.65rem; font-weight: 500;
  letter-spacing: 2px; text-transform: uppercase; color: var(--ink-mute);
  padding-left: 0.8rem; margin-left: 0.5rem;
  border-left: 1px solid var(--rule-strong);
}
.nav-brand .sub a { color: var(--gold); transition: color .2s; }
.nav-brand .sub a:hover { color: var(--pearl); }

.nav-links { display: flex; gap: 2.2rem; align-items: center; }
.nav-links a {
  font-family: var(--sans);
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--ink-soft); transition: color .2s;
  position: relative; padding: 0.3rem 0;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta {
  background: var(--gold); color: var(--bg-deep) !important;
  padding: 0.7rem 1.4rem; border-radius: 999px;
  letter-spacing: 1.2px !important;
  transition: all .25s; box-shadow: 0 4px 24px var(--gold-glow);
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--pearl); transform: translateY(-1px); box-shadow: 0 8px 32px rgba(241,235,224,0.18); }

.menu-toggle { display: none; background: none; border: none; cursor: pointer; width: 28px; height: 22px; position: relative; }
.menu-toggle span { display: block; width: 100%; height: 1.5px; background: var(--ink); position: absolute; left: 0; transition: all .3s; }
.menu-toggle span:nth-child(1) { top: 2px; }
.menu-toggle span:nth-child(2) { top: 10px; }
.menu-toggle span:nth-child(3) { top: 18px; }

/* ═══════════════ SHARED ═══════════════ */
main { position: relative; z-index: 1; }
section { padding: var(--pad-y) var(--pad-x); position: relative; }
.section-inner {
  max-width: var(--max); margin: 0 auto; width: 100%;
  position: relative; z-index: 1;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 3.6px; text-transform: uppercase;
  color: var(--section-accent);
  display: inline-flex; align-items: center; gap: 0.85rem;
}
.eyebrow::before { content: ''; width: 26px; height: 1px; background: var(--section-accent); opacity: 0.7; }

h1, h2, h3 {
  font-family: var(--serif);
  font-variation-settings: var(--serif-soft), "wght" 400;
  line-height: 1.05; letter-spacing: -0.6px; font-weight: 400;
}
h1 em, h2 em, h3 em {
  font-style: italic; font-weight: 400;
  font-variation-settings: var(--serif-soft), "wght" 400;
  color: var(--section-accent);
}
.lede {
  font-size: var(--body-lg); color: var(--ink-soft);
  max-width: 62ch; line-height: 1.6; font-weight: 300;
}

/* ═══════════════ HOVER-REVEAL UTILITY ═══════════════ */
.reveal {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .55s cubic-bezier(.22,1,.36,1);
}
.reveal > .reveal-inner {
  overflow: hidden; opacity: 0;
  transition: opacity .35s ease;
  min-height: 0;
}
.has-reveal { cursor: pointer; position: relative; }
.has-reveal .dot {
  position: absolute; bottom: 1.2rem; right: 1.4rem;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--section-accent);
  box-shadow: 0 0 0 5px var(--section-accent-glow);
  opacity: 0.6; transition: opacity .35s, transform .35s;
}
.has-reveal:hover .dot,
.has-reveal:focus-within .dot,
.has-reveal.is-open .dot { opacity: 0; transform: scale(0.4); }

@media (hover: hover) and (pointer: fine) {
  .has-reveal:hover > .reveal,
  .has-reveal:focus-within > .reveal,
  .has-reveal.is-open > .reveal { grid-template-rows: 1fr; }
  .has-reveal:hover > .reveal > .reveal-inner,
  .has-reveal:focus-within > .reveal > .reveal-inner,
  .has-reveal.is-open > .reveal > .reveal-inner { opacity: 1; }
}
@media (hover: none) {
  .reveal { grid-template-rows: 1fr; }
  .reveal > .reveal-inner { opacity: 1; }
  .has-reveal { cursor: default; }
  .has-reveal .dot { display: none; }
}

/* ═══════════════ HERO ═══════════════ */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding-top: calc(var(--pad-y) + 4rem); padding-bottom: var(--pad-y);
  position: relative; overflow: hidden;
}
.hero .section-inner {
  width: 100%;
  display: grid; grid-template-columns: 1.3fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero::before {
  content: ''; position: absolute;
  top: -10%; right: -15%; width: 65vw; height: 65vw; max-width: 850px; max-height: 850px;
  background: radial-gradient(circle, rgba(214, 176, 112, 0.20) 0%, transparent 60%);
  filter: blur(30px);
}
.hero::after {
  content: ''; position: absolute;
  bottom: -20%; left: -15%; width: 55vw; height: 55vw; max-width: 750px; max-height: 750px;
  background: radial-gradient(circle, rgba(107, 138, 174, 0.16) 0%, transparent 65%);
  filter: blur(40px);
}
.hero-content { position: relative; z-index: 1; }
.hero .eyebrow { margin-bottom: 2rem; }
.hero h1 { font-size: var(--h-xl); color: var(--ink); margin-bottom: 2rem; }
.hero-sub {
  font-size: var(--body-lg); color: var(--ink-soft);
  max-width: 50ch; line-height: 1.6; margin-bottom: 3rem; font-weight: 300;
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════════
   THE WELLNESS WHEEL — clean, elevated, wellness in 2026.
   Bright jewel tones scoped here only (mustard / jade / magenta / sapphire) —
   the rest of the page stays on the muted palette defined in :root.
   ═══════════════════════════════════════════════════ */
.hero-visual {
  /* Wheel-only jewel overrides */
  --gold:        #D1A338;
  --emerald:     #4E9678;
  --rose:        #B85183;
  --sapphire:    #4F77B5;

  position: relative; z-index: 1;
  aspect-ratio: 1 / 1;
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
  isolation: isolate;
}

/* Halo removed — no more galaxy glow. */
.wheel-halo { display: none; }

/* Four crisp jewel quadrants. Pure color holds for 80° centered under each label.
   Just 10° gradient zones at the boundaries (the "soft lines" — not blurry zones).
   Mask has near-hard edges so the ring reads as a defined band, not a glow. */
.wheel-ring {
  position: absolute; inset: 12%;
  border-radius: 50%;
  background: conic-gradient(
    from 315deg,
    var(--gold)     5deg,
    var(--gold)     85deg,
    var(--emerald)  95deg,
    var(--emerald)  175deg,
    var(--rose)     185deg,
    var(--rose)     265deg,
    var(--sapphire) 275deg,
    var(--sapphire) 355deg
  );
  opacity: 0.85;
  mask-image: radial-gradient(
    circle,
    transparent 48.5%,
    #000 49.5%,
    #000 56.5%,
    transparent 57.5%
  );
  -webkit-mask-image: radial-gradient(
    circle,
    transparent 48.5%,
    #000 49.5%,
    #000 56.5%,
    transparent 57.5%
  );
  z-index: 1;
}

/* Hairline dial edges — luxury watch precision. */
.wheel-ring-edge-outer {
  position: absolute; inset: 8%;
  border-radius: 50%;
  border: 1px solid rgba(214, 176, 112, 0.18);
  pointer-events: none;
  z-index: 2;
}
.wheel-ring-edge-inner {
  position: absolute; inset: 25%;
  border-radius: 50%;
  border: 1px solid rgba(214, 176, 112, 0.14);
  pointer-events: none;
  z-index: 2;
}

/* Inner glow removed — no more atmospheric mist inside the dial. */
.wheel-inner-glow { display: none; }

/* Glass center disc — keeps the obsidian-medallion feel. */
.wheel-core {
  position: absolute; inset: 28%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.05) 0%, transparent 55%),
    linear-gradient(155deg, rgba(15, 34, 56, 0.78) 0%, rgba(10, 26, 46, 0.95) 100%);
  border: 1px solid rgba(241, 235, 224, 0.10);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 -10px 28px rgba(0, 0, 0, 0.35),
    0 12px 40px rgba(0, 0, 0, 0.45);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 1.5rem;
  backdrop-filter: blur(20px) saturate(130%);
  -webkit-backdrop-filter: blur(20px) saturate(130%);
  z-index: 4;
}
.wheel-core-text {
  display: flex; flex-direction: column;
  align-items: center;
  gap: clamp(0.8rem, 1.4vw, 1.2rem);
}
.wheel-core-eyebrow {
  font-family: var(--sans);
  font-size: 0.6rem; font-weight: 500;
  letter-spacing: 4.5px; text-transform: uppercase;
  color: var(--gold); opacity: 0.72;
}
.wheel-core-quote {
  font-family: var(--serif);
  font-variation-settings: var(--serif-soft), "wght" 350;
  font-style: italic;
  font-size: clamp(0.9rem, 1.4vw, 1.1rem);
  line-height: 1.55;
  color: var(--ink);
  max-width: 14ch;
  letter-spacing: 0.2px;
  margin: 0;
}

/* PROMINENT outer labels — these are the four words the user actually reads.
   Larger, brighter, more confident than v1; color-coded to quadrant. */
.wheel-label {
  position: absolute;
  font-family: var(--sans);
  font-size: clamp(0.72rem, 1.05vw, 0.85rem);
  font-weight: 600;
  letter-spacing: 3.2px;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 1;
  z-index: 5;
}
/* Labels live INSIDE the container, hugging the wheel.
   Side labels use writing-mode (not transform: rotate) so they CENTER vertically
   regardless of text length — fixes EMOTIONAL WELLBEING drifting up because it's
   longer than CONNECTEDNESS. */
.wheel-label.top    { top: 2%; left: 50%; transform: translateX(-50%); color: var(--gold); }
.wheel-label.bottom { bottom: 2%; left: 50%; transform: translateX(-50%); color: var(--rose); }
.wheel-label.right  {
  right: 2%; top: 50%; transform: translateY(-50%);
  writing-mode: vertical-rl;
  color: var(--emerald);
}
.wheel-label.left   {
  left: 2%; top: 50%; transform: translateY(-50%);
  writing-mode: vertical-rl;
  color: var(--sapphire);
}

/* ═══════════════ SUB-PAGE HEAD ═══════════════ */
.page-head {
  padding-top: calc(var(--pad-y) + 4rem);
  padding-bottom: clamp(2.5rem, 4vw, 4rem);
  position: relative; overflow: hidden;
}
.page-head::before {
  content: ''; position: absolute;
  top: 0; right: -10%; width: 50vw; height: 50vw; max-width: 600px; max-height: 600px;
  background: radial-gradient(circle, var(--section-accent-glow) 0%, transparent 65%);
  filter: blur(40px); opacity: 0.8;
}
.page-head h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  color: var(--ink);
  margin-top: 1.5rem; max-width: 22ch;
}
.page-head .lede { margin-top: 1.5rem; }

/* ═══════════════ BUTTONS ═══════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.95rem 1.7rem; border-radius: 999px;
  font-family: var(--sans); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 1.6px; text-transform: uppercase;
  border: 1px solid transparent; cursor: pointer;
  transition: all .28s ease;
}
.btn .arrow {
  font-family: var(--serif); font-size: 1.1em; letter-spacing: 0;
  font-variation-settings: var(--serif-soft), "wght" 400;
}
.btn-primary { background: var(--gold); color: var(--bg-deep); box-shadow: 0 6px 24px var(--gold-glow); }
.btn-primary:hover { background: var(--pearl); transform: translateY(-1px); box-shadow: 0 10px 32px rgba(241,235,224,0.16); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--rule-strong); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ═══════════════ CRED STRIP ═══════════════ */
.credstrip {
  padding: 2.5rem var(--pad-x);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  position: relative; z-index: 1;
}
.credstrip-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 2rem;
}
.credstrip .label {
  font-family: var(--sans);
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); white-space: nowrap;
  display: inline-flex; align-items: center; gap: 0.85rem;
}
.credstrip .label::before { content: ''; width: 26px; height: 1px; background: var(--gold); opacity: 0.7; }
.credstrip .marks { display: flex; gap: 2.5rem; flex-wrap: wrap; align-items: center; }
.credstrip .mark {
  font-family: var(--serif);
  font-variation-settings: var(--serif-soft), "wght" 400;
  font-size: 1.05rem; color: var(--ink); letter-spacing: -0.2px; opacity: 0.85;
}

/* ═══════════════ BELIEF (manifesto/thesis) ═══════════════ */
.thesis { --section-accent: var(--gold); --section-accent-glow: var(--gold-glow); }
.thesis-grid {
  display: grid; grid-template-columns: 1fr 1.3fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.thesis h2 { font-size: var(--h-lg); max-width: 14ch; }
.thesis-body {
  padding: clamp(1.8rem, 3.5vw, 2.8rem);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(23, 48, 73, 0.5) 0%, transparent 100%);
  border: 1px solid var(--rule);
  min-height: 240px;
  transition: border-color .35s;
}
.thesis-body:hover { border-color: var(--rule-strong); }
.thesis-body p {
  font-family: var(--serif);
  font-variation-settings: var(--serif-soft), "wght" 350;
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 1.4rem;
  font-weight: 350;
  letter-spacing: 0.1px;
}
.thesis-body p:last-child { margin-bottom: 0; }
.thesis-body p:first-of-type { font-style: italic; color: var(--ink); }
.thesis-body p strong { color: var(--gold); font-weight: 400; font-style: normal; }
.thesis-prompt {
  font-family: var(--sans); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold);
  display: inline-flex; align-items: center; gap: 0.8rem;
  transition: opacity .3s;
}
.thesis-prompt::before { content: ''; width: 22px; height: 1px; background: var(--gold); opacity: 0.7; }
@media (hover: hover) and (pointer: fine) {
  .thesis-body:hover .thesis-prompt,
  .thesis-body:focus-within .thesis-prompt,
  .thesis-body.is-open .thesis-prompt { opacity: 0; height: 0; margin: 0; }
}
@media (hover: none) { .thesis-prompt { display: none; } }

/* ═══════════════ PROBLEM / STATS ═══════════════ */
.problem { --section-accent: var(--rose); --section-accent-glow: var(--rose-glow); }
.problem-header { max-width: 720px; margin: 0 0 clamp(2.5rem, 5vw, 4rem); }
.problem-header h2 { font-size: var(--h-lg); margin: 1.5rem 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.stat {
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  border-radius: 20px;
  padding: 2rem 1.6rem;
  min-height: 200px;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  transition: border-color .35s, transform .35s;
}
.stat:hover { border-color: var(--section-accent); transform: translateY(-2px); }
.stat-num {
  font-family: var(--serif);
  font-variation-settings: var(--serif-soft), "wght" 400;
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  color: var(--section-accent);
  line-height: 1; margin-bottom: 0.7rem;
  letter-spacing: -1.5px;
}
.stat-num span { font-size: 0.5em; color: var(--ink); opacity: 0.55; }
.stat-label {
  font-family: var(--sans);
  font-size: 0.85rem; font-weight: 500; line-height: 1.4;
  color: var(--ink); letter-spacing: -0.1px;
}
.stat-desc {
  font-size: 0.9rem; line-height: 1.55;
  color: var(--ink-soft); font-weight: 300;
  padding-top: 0.9rem;
}
.stat-source {
  font-size: 0.66rem; letter-spacing: 1.8px; text-transform: uppercase;
  color: var(--ink-faint); margin-top: 0.8rem; display: block;
}
.problem-pullquote {
  font-family: var(--serif);
  font-variation-settings: var(--serif-soft), "wght" 400;
  font-style: italic;
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  line-height: 1.4; max-width: 46ch;
  color: var(--ink);
  padding-left: 1.4rem; border-left: 2px solid var(--section-accent);
}
.problem-pullquote strong {
  font-style: normal; font-weight: 400; color: var(--section-accent);
  font-variation-settings: var(--serif-soft), "wght" 500;
}
.problem-cta {
  margin-top: clamp(3rem, 5vw, 4rem);
  display: flex; justify-content: center;
}

/* ═══════════════ DIMENSIONS + HOW (combined APPROACH page) ═══════════════ */
.dimensions { --section-accent: var(--gold); --section-accent-glow: var(--gold-glow); }
.dimensions-header { max-width: 720px; margin: 0 0 clamp(2.5rem, 5vw, 4rem); }
.dimensions-header h2 { font-size: var(--h-lg); margin: 1.5rem 0; }
.dimensions-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  /* Each cell sized to its own content — sibling cards stay thin when one expands. */
  align-items: start;
}
.dim {
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  border-radius: 20px;
  padding: 1.5rem 1.5rem 1.8rem;
  /* Thin by default — badge + name + a touch of breathing room. */
  min-height: 0;
  display: flex; flex-direction: column;
  transition: border-color .35s, transform .35s;
  position: relative; overflow: hidden;
}
.dim::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% -10%, var(--section-accent-glow) 0%, transparent 60%);
  pointer-events: none; opacity: 0.5; transition: opacity .35s;
}
.dim:hover { transform: translateY(-2px); border-color: var(--section-accent); }
.dim:hover::before, .dim:focus-within::before, .dim.is-open::before { opacity: 1; }
.dim-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--section-accent-glow);
  color: var(--section-accent);
  font-family: var(--serif);
  font-variation-settings: var(--serif-soft), "wght" 500;
  font-size: 0.95rem; line-height: 1;
  margin-bottom: 1.3rem;
  border: 1px solid var(--section-accent);
  position: relative; z-index: 1;
}
.dim-name {
  font-family: var(--serif);
  font-variation-settings: var(--serif-soft), "wght" 400;
  font-size: 1.4rem; line-height: 1.15;
  color: var(--ink);
  position: relative; z-index: 1;
}
.dim-desc {
  font-size: 0.94rem; line-height: 1.6;
  color: var(--ink-soft); font-weight: 300;
  padding-top: 0.9rem;
}

/* HOW IT WORKS — lives next to dimensions on /approach/ */
.how { --section-accent: var(--emerald); --section-accent-glow: var(--emerald-glow); }
.how-header { max-width: 720px; margin: 0 0 clamp(2.5rem, 5vw, 4rem); }
.how-header h2 { font-size: var(--h-lg); margin: 1.5rem 0; }

.how-list { display: flex; flex-direction: column; border-top: 1px solid var(--rule); }
.how-row {
  display: grid; grid-template-columns: 80px 1fr 1.4fr; gap: 2.5rem;
  padding: 1.8rem 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
  transition: background .25s;
  cursor: pointer; position: relative;
}
.how-row:hover { background: rgba(241, 235, 224, 0.02); }
.how-num {
  font-family: var(--serif);
  font-variation-settings: var(--serif-soft), "wght" 400;
  font-size: 2.2rem; line-height: 1; color: var(--section-accent);
}
.how-name {
  font-family: var(--serif);
  font-variation-settings: var(--serif-soft), "wght" 400;
  font-size: 1.35rem; line-height: 1.15; color: var(--ink);
}
.how-name em { color: var(--section-accent); font-style: italic; }
.how-desc {
  font-size: 1rem; line-height: 1.7; color: var(--ink-soft); font-weight: 300;
}
.how-row .dot {
  position: absolute; top: 50%; right: 0.5rem;
  transform: translateY(-50%);
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--section-accent);
  box-shadow: 0 0 0 5px var(--section-accent-glow);
  opacity: 0.5; transition: opacity .35s;
}
.how-row:hover .dot, .how-row:focus-within .dot, .how-row.is-open .dot { opacity: 0; }

/* ═══════════════ DIFFERENTIATORS ═══════════════ */
.diff { --section-accent: var(--sapphire); --section-accent-glow: var(--sapphire-glow); }
.diff-header { max-width: 720px; margin: 0 0 clamp(2.5rem, 5vw, 4rem); }
.diff-header h2 { font-size: var(--h-lg); margin: 1.5rem 0; }

.diff-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.diff-item {
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  border-radius: 20px;
  padding: 2.2rem;
  min-height: 280px;
  transition: border-color .35s, transform .35s;
  position: relative; overflow: hidden;
}
.diff-item::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 90% -10%, var(--section-accent-glow) 0%, transparent 55%);
  pointer-events: none; opacity: 0.5; transition: opacity .35s;
}
.diff-item:hover { transform: translateY(-2px); border-color: var(--section-accent); }
.diff-item:hover::before, .diff-item:focus-within::before, .diff-item.is-open::before { opacity: 1; }
.diff-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--section-accent-glow);
  color: var(--section-accent);
  font-family: var(--serif);
  font-variation-settings: var(--serif-soft), "wght" 500;
  font-size: 1rem; line-height: 1;
  margin-bottom: 1.5rem;
  border: 1px solid var(--section-accent);
  position: relative; z-index: 1;
}
.diff-name {
  font-family: var(--serif);
  font-variation-settings: var(--serif-soft), "wght" 400;
  font-size: 1.5rem; line-height: 1.15;
  color: var(--ink);
  position: relative; z-index: 1;
}
.diff-name em { color: var(--section-accent); font-style: italic; }
.diff-desc {
  font-family: var(--serif);
  font-variation-settings: var(--serif-soft), "wght" 350;
  font-size: 0.98rem; line-height: 1.7;
  color: var(--ink-soft); font-weight: 350;
  padding-top: 1.1rem;
}

/* ═══════════════ FOUNDERS ═══════════════ */
.founders { --section-accent: var(--rose); --section-accent-glow: var(--rose-glow); }
.founders-header { max-width: 720px; margin: 0 0 clamp(2.5rem, 5vw, 4rem); }
.founders-header h2 { font-size: var(--h-lg); margin: 1.5rem 0; }
.founders-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
.founder {
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  border-radius: 24px; padding: 2rem;
  min-height: 480px;
  transition: border-color .35s, transform .35s;
}
.founder:hover { border-color: var(--rule-strong); transform: translateY(-2px); }
.portrait {
  aspect-ratio: 5 / 4; overflow: hidden; position: relative;
  border-radius: 16px; margin-bottom: 1.8rem;
  background:
    radial-gradient(circle at 30% 30%, var(--section-accent-glow) 0%, transparent 60%),
    linear-gradient(135deg, var(--bg-soft) 0%, var(--bg-deep) 100%);
}
.portrait::after {
  content: attr(data-name); position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-variation-settings: var(--serif-soft), "wght" 400;
  font-style: italic; font-size: 1rem;
  color: var(--ink-faint); letter-spacing: 0.5px;
  z-index: 0;
}
.portrait img {
  position: relative; z-index: 1;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 22%;  /* default — biases toward upper portion */
  display: block;
}
/* Per-portrait overrides — each headshot has its own framing. */
.portrait[data-name*="Ivan"] img    { object-position: 50% 10%; }
.portrait[data-name*="Marie"] img   { object-position: 50% 22%; }
.founder-role {
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--section-accent); margin-bottom: 0.7rem;
  display: inline-flex; align-items: center; gap: 0.6rem;
}
.founder-role::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--section-accent); box-shadow: 0 0 0 4px var(--section-accent-glow);
}
.founder-name {
  font-family: var(--serif);
  font-variation-settings: var(--serif-soft), "wght" 400;
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  line-height: 1.1; margin-bottom: 1.4rem; color: var(--ink);
}
.founder-quote {
  font-family: var(--serif);
  font-variation-settings: var(--serif-soft), "wght" 400;
  font-style: italic;
  font-size: 1.1rem; line-height: 1.55;
  color: var(--ink); padding-left: 1.2rem;
  border-left: 2px solid var(--section-accent);
  margin-bottom: 1.2rem;
}
.founder-bio {
  font-family: var(--serif);
  font-variation-settings: var(--serif-soft), "wght" 350;
  font-size: 0.98rem; line-height: 1.75;
  color: var(--ink-soft); font-weight: 350;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
}

/* ═══════════════ CTA ═══════════════ */
.cta { --section-accent: var(--gold); --section-accent-glow: var(--gold-glow); text-align: center; }
.cta-card {
  background:
    radial-gradient(circle at 30% 20%, rgba(214, 176, 112, 0.18) 0%, transparent 55%),
    radial-gradient(circle at 75% 80%, rgba(122, 159, 138, 0.14) 0%, transparent 55%),
    linear-gradient(180deg, var(--bg-elev) 0%, var(--bg-soft) 100%);
  border: 1px solid var(--rule-strong);
  border-radius: 28px;
  padding: clamp(3rem, 8vw, 5rem) clamp(2rem, 6vw, 4rem);
  max-width: 880px; margin: 0 auto;
  box-shadow: 0 40px 100px -40px rgba(0,0,0,0.6);
}
.cta .eyebrow { justify-content: center; }
.cta h2 { font-size: var(--h-lg); margin: 1.5rem 0; }
.cta .lede { margin: 0 auto 2.5rem; max-width: 56ch; }
.cta-buttons { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ═══════════════ FOOTER ═══════════════ */
footer {
  padding: clamp(4rem, 8vh, 6rem) var(--pad-x) 2.5rem;
  position: relative; z-index: 1;
  border-top: 1px solid var(--rule);
}
.footer-inner { max-width: var(--max); margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
  margin-bottom: 3.5rem;
}
.footer-brand-block .footer-wordmark {
  font-family: var(--serif);
  font-variation-settings: var(--serif-soft), "wght" 500;
  font-size: 1.7rem; color: var(--ink); letter-spacing: -0.4px;
}
.footer-brand-block .footer-wordmark span { color: var(--gold); font-style: italic; }
.footer-brand-block .footer-fam {
  margin-top: 0.6rem;
  font-family: var(--sans);
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--ink-mute);
}
.footer-brand-block .footer-fam a { color: var(--gold); }
.footer-brand-block p {
  margin-top: 1.2rem; max-width: 32ch;
  color: var(--ink-soft); font-size: 0.95rem; line-height: 1.65; font-weight: 300;
}
.footer-col h4 {
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.2rem;
}
.footer-col a {
  display: block; color: var(--ink-soft);
  font-size: 0.95rem; margin-bottom: 0.6rem; transition: color .2s;
}
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  padding-top: 1.8rem; border-top: 1px solid var(--rule);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1.5rem;
  font-size: 0.85rem; color: var(--ink-mute);
}
.footer-socials { display: flex; gap: 1.2rem; }
.footer-socials a { font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase; }

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 1024px) {
  .hero .section-inner {
    grid-template-columns: 1fr;
    gap: clamp(2rem, 5vw, 3rem);
  }
  .hero-visual { max-width: 440px; }
}
/* Tablet narrow / large phone — shrink wheel + smaller label type. */
@media (max-width: 720px) {
  .hero-visual { max-width: 360px; }
  .wheel-label { font-size: 0.68rem; letter-spacing: 3px; }
}
/* Standard phone — shrink wheel further; labels stay readable inside container. */
@media (max-width: 480px) {
  .hero-visual { max-width: 280px; }
  .wheel-label { font-size: 0.62rem; letter-spacing: 2.5px; }
  .thesis-grid, .diff-grid, .founders-grid, .footer-top {
    grid-template-columns: 1fr;
    gap: clamp(1.5rem, 4vw, 2.5rem);
  }
  .stats-grid, .dimensions-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .credstrip-inner { justify-content: flex-start; }
  .stat, .dim, .diff-item, .founder { min-height: auto; }
}
@media (max-width: 880px) {
  .how-row { grid-template-columns: 60px 1fr; gap: 1.5rem; }
  .how-desc { grid-column: 2; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg-deep); padding: 2rem var(--pad-x);
    border-bottom: 1px solid var(--rule);
    gap: 1.5rem; align-items: flex-start;
  }
  .menu-toggle { display: block; }
  .nav-brand .sub { display: none; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .stats-grid, .dimensions-grid { grid-template-columns: 1fr; }
}

/* ═══════════════ FADE ═══════════════ */
.fade { opacity: 0; transform: translateY(20px); transition: opacity .9s ease, transform .9s ease; }
.fade.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .fade { opacity: 1; transform: none; } }
