/* ==========================================================================
   Next Frontiers — Clean Modular Base Stylesheet
   Layout, typography, components, Founder page, and responsive rules.
   All color tokens are controlled in styles/theme.css.
   ========================================================================== */

/* ---------- 1. Reset & Core Typography ---------- */
:root {
  --sans: "Outfit", system-ui, -apple-system, sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;
  --r: 20px;
  --r-sm: 14px;
  --pad: clamp(20px, 4vw, 48px);
  --max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  background: var(--bg-page);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); width: 100%; }
section { padding: clamp(72px, 9vw, 120px) 0; }

h1, h2 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.06;
  color: var(--ink);
}
h3 {
  font-weight: 500;
  font-size: clamp(18px, 1.6vw, 22px);
  letter-spacing: -0.02em;
  line-height: 1.22;
  color: var(--ink);
}
h1 { font-size: clamp(2.55rem, 4.3vw, 3.75rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1.08; }
.m { color: var(--ink); }
p { color: var(--ink-body); }
.lead { font-size: clamp(16px, 1.3vw, 18.5px); color: var(--ink-sub); max-width: 52ch; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

.pill {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.01em;
  color: var(--ink-2);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px;
  margin-bottom: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--bg-navy);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 500;
  border: 0;
  border-radius: 999px;
  padding: 13px 24px;
  cursor: pointer;
  box-shadow: 0 10px 24px -12px rgba(11, 22, 48, 0.55);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(11, 22, 48, 0.6); }
.btn:disabled { opacity: 0.6; cursor: default; transform: none; }
.btn svg { width: 14px; height: 14px; transition: transform 0.25s ease; }
.btn:hover svg { transform: translateX(3px); }

/* Reveal helper — immediately visible in paged mode */
.rv { opacity: 1; transform: none; }

/* ---------- 2. Fixed Navigation & Mobile Drawer ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  background: var(--nav-bg);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: border-color 0.3s ease;
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.nav .logo img { height: 30px; width: auto; filter: var(--nav-logo-filter); }
.nav ul { display: flex; gap: 30px; list-style: none; }
.nav ul a { font-size: 14px; color: var(--mute); transition: color 0.2s ease; }
.nav ul a:hover, .nav ul a.on { color: var(--ink); font-weight: 600; }

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 1px solid var(--line-subtle);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.burger span,
.burger span::before {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
  transition: transform 0.3s ease;
}
.burger span { transform: translateY(-2.5px); }
.burger span::before { content: ""; position: absolute; top: 5px; left: 0; }

@media (max-width: 960px) {
  .burger { display: flex; }
  .nav ul {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg-page);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--pad) 22px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease, transform 0.28s ease;
  }
  .nav ul a { display: block; padding: 13px 0; font-size: 18px; color: var(--ink); border-bottom: 1px solid var(--line); }
  .nav.open ul { transform: none; opacity: 1; pointer-events: auto; }
}

/* ---------- 3. Opening Field, Traveling Dot & Horizon Divider ---------- */
#field {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 520px;
  overflow: hidden;
  background: radial-gradient(120% 90% at 20% 0%, var(--acc2), var(--acc) 65%);
  cursor: crosshair;
  -webkit-tap-highlight-color: transparent;
}
#c { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
#word {
  position: absolute;
  left: 50%;
  top: 47%;
  width: min(760px, 88%);
  height: auto;
  aspect-ratio: 701 / 250;
  transform: translate(-50%, -48.8%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.9s ease;
  fill: var(--word);
}
#word.in { opacity: 1; }
#field::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 22%;
  background: linear-gradient(transparent, var(--acc));
  pointer-events: none;
}

/* Intro opacity transitions (cancelled immediately on any route switch) */
html.intro-running main > section,
html.intro-running body > footer { opacity: 0; }
html.intro-running #field { transition: opacity 0.9s ease; }
html.intro-running.intro-fading #field { opacity: 0; }
main > section,
body > footer { transition: opacity 0.65s ease; }

#pdot {
  position: absolute;
  left: 0;
  top: 0;
  width: 11px;
  height: 11px;
  margin: -5.5px 0 0 -5.5px;
  border-radius: 50%;
  background: var(--dot-bg);
  box-shadow: var(--dot-shadow);
  z-index: 20;
  pointer-events: none;
  will-change: transform;
}

.head {
  position: relative;
  height: 32px;
  direction: ltr;
  margin-bottom: clamp(22px, 3vw, 34px);
}
.head i {
  position: absolute;
  top: 50%;
  height: 3.5px;
  margin-top: -1.75px;
  background: linear-gradient(100deg, var(--acc2), var(--ttl2), var(--acc2));
  background-size: 230% 100%;
  animation: sheen 9s linear infinite;
}
@keyframes sheen { from { background-position: 0% 0; } to { background-position: -230% 0; } }
.head .sa { left: 0; right: calc(27.8% + 20px); clip-path: polygon(0 50%, 100% 0, 100% 100%); }
.head .sb { left: calc(72.2% + 20px); right: 0; clip-path: polygon(0 0, 0 100%, 100% 50%); }
.head .ring {
  position: absolute;
  left: 72.2%;
  top: 50%;
  width: 31px;
  height: 31px;
  margin: -15.5px 0 0 -15.5px;
  border: 2.5px solid var(--ring-stroke);
  border-radius: 50%;
}
.head .ring::after {
  content: "";
  position: absolute;
  inset: -2.5px;
  border-radius: 50%;
  border: 1px solid var(--ring-stroke);
  opacity: 0;
}
.head .ring.has::after { animation: land 1.5s cubic-bezier(0.2, 0.6, 0.2, 1); }
@keyframes land { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(2.3); opacity: 0; } }

@media (max-width: 900px) {
  .head { height: 26px; margin-bottom: 18px; }
  .head .ring { width: 25px; height: 25px; margin: -12.5px 0 0 -12.5px; border-width: 2.2px; }
  .head .sa { right: calc(27.8% + 16px); }
  .head .sb { left: calc(72.2% + 16px); }
  .head i { height: 3px; margin-top: -1.5px; }
  #pdot { width: 9.6px; height: 9.6px; margin: -4.8px 0 0 -4.8px; }
}

/* ---------- 4. Paged One-Screen Router (STRICT: non-.cur ALWAYS hidden!) ---------- */
body.paged main > section:not(.cur),
body.paged #field:not(.cur) { display: none !important; }
body.paged main > section.cur,
body.paged #field.cur { display: block; }

.continue {
  display: flex;
  width: fit-content;
  margin: clamp(36px, 6vh, 64px) auto 0;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 14px 22px;
  font: inherit;
}
.continue .cring {
  width: 26px;
  height: 26px;
  border: 1.5px solid var(--ttl2);
  border-radius: 50%;
  position: relative;
  flex: none;
}
.continue .cring::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ttl2);
}
.continue .ctext { font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ttl); }
@media (prefers-reduced-motion: no-preference) {
  .continue .cring { animation: cpulse 2.6s ease-in-out infinite; }
}
@keyframes cpulse { 0%, 100% { transform: scale(1); opacity: 0.85; } 50% { transform: scale(1.18); opacity: 1; } }

/* ---------- 5. Page 1 — Hero, Living Horizon & Statement ---------- */
.hero { text-align: center; }
#hero h1 { font-size: clamp(2.35rem, 4vw, 3.55rem); line-height: 1.06; margin: 6px auto 14px; max-width: 18ch; }
.hero-sub {
  max-width: 64ch;
  margin: 0 auto 28px;
  text-align: center;
  font-size: clamp(0.98rem, 1.18vw, 1.08rem);
  line-height: 1.58;
  color: var(--ink-sub);
}
.horizon-stage {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  text-align: left;
  margin-top: 24px;
  background: var(--horizon-bg);
  padding: 46px clamp(22px, 4vw, 48px) 38px;
  color: #F3F6FB;
  box-shadow: 0 26px 64px rgba(11, 22, 48, 0.22);
  border: 1px solid var(--horizon-border);
}
.horizon-track { position: relative; padding-top: 28px; }
.horizon-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 14px;
  height: 1.5px;
  background: var(--horizon-line);
}
.horizon-pulse {
  position: absolute;
  top: 12px;
  left: 0;
  width: 160px;
  height: 5px;
  border-radius: 99px;
  background: var(--horizon-pulse);
  filter: blur(2px);
  animation: nfGlideHorizon 11s ease-in-out infinite;
  pointer-events: none;
}
@keyframes nfGlideHorizon { 0% { left: -10%; opacity: 0.2; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: 92%; opacity: 0.2; } }

.h-nodes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; z-index: 2; }
.h-node { cursor: pointer; padding: 14px 12px 8px 0; transition: all 0.3s ease; position: relative; }
.h-dot {
  position: absolute;
  top: -28px;
  left: 2px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--horizon-dot-border);
  background: var(--bg-navy);
  display: grid;
  place-items: center;
  transition: all 0.35s ease;
}
.h-dot::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--horizon-dot-core);
  transition: all 0.35s ease;
}
.h-node.on .h-dot,
.h-node:hover .h-dot {
  border-color: var(--horizon-dot-on-border);
  box-shadow: var(--horizon-dot-on-glow);
  transform: scale(1.12);
}
.h-node.on .h-dot::after,
.h-node:hover .h-dot::after { background: var(--horizon-dot-on-core); width: 9px; height: 9px; }

.h-txt { font-size: 16px; line-height: 1.38; color: rgba(242, 246, 252, 0.72); transition: color 0.3s ease; font-weight: 400; }
.h-node.on .h-txt,
.h-node:hover .h-txt { color: #FFFFFF; font-weight: 500; }
.h-bar { width: 22px; height: 2px; background: var(--horizon-bar); margin-top: 14px; transition: width 0.35s ease, background 0.35s ease; }
.h-node.on .h-bar,
.h-node:hover .h-bar { width: 48px; background: var(--horizon-bar-on); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 26px;
}
.hero-actions .hero-link {
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
  border-bottom: 1px solid var(--line-med);
  padding-bottom: 2px;
  transition: border-color 0.2s ease;
}
.hero-actions .hero-link:hover { border-color: var(--ink); }

/* Frontier Moments Statement section */
.statement {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: -0.02em;
  line-height: 1.2;
  max-width: 24ch;
  margin: 0 auto;
  color: var(--ink);
}
.js .statement .w { color: var(--mute-2); transition: color 0.25s ease; }
.js .statement .w.on { color: var(--ink); }
.after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 760px;
  margin: 48px auto 0;
  text-align: left;
}
.after p { font-size: 16.5px; color: var(--ink-body); }
.ambition { margin-top: 76px; }
.ambition h2 { max-width: 20ch; margin: 0 auto 30px; }

/* ---------- 6. Page 2 — What We Do (Living Wheel + 6 Cards) ---------- */
#what { background: var(--bg-page); }
#what .split { display: grid; grid-template-columns: 440px minmax(0, 1fr); gap: 44px; align-items: center; }
#what .sticky { width: 100%; max-width: 440px; }
#what h2 { font-size: clamp(1.9rem, 2.7vw, 2.55rem); line-height: 1.08; margin: 8px 0 12px; }
.wheel-flip { width: 416px; max-width: 416px; margin: 18px auto 0; }
.wf-inner { min-height: 416px; }
.wf-back, .wf-hint { display: none; }
.wheel { width: 416px; max-width: 100%; margin: 0 auto; }
.wheel svg { width: 100%; height: auto; display: block; }

.seg { cursor: pointer; }
.seg path { fill: var(--wheel-seg); stroke: var(--wheel-stroke); stroke-width: 3; transition: fill 0.35s ease; }
.seg:hover path { fill: var(--wheel-seg-hover); }
.seg.on path { fill: var(--wheel-seg-on); }
.seg text {
  fill: var(--ink);
  font-family: var(--sans);
  font-size: 9.5px;
  letter-spacing: 0.09em;
  font-weight: 600;
  text-transform: uppercase;
  pointer-events: none;
  transition: fill 0.35s ease;
}
.seg.on text { fill: #FFFFFF; }
.seg:focus { outline: none; }
#wheel .seg .seg-medallion {
  fill: #FFFFFF;
  stroke: var(--medallion-ring);
  stroke-width: 1.5;
  transition: stroke 0.25s ease, filter 0.25s ease;
}
#wheel .seg.on .seg-medallion,
#wheel .seg:hover .seg-medallion {
  fill: #FFFFFF;
  stroke: var(--flip-med-border);
  stroke-width: 1.8;
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.32));
}
#wheel .seg .seg-art { pointer-events: none; }
#wheel > circle:first-of-type { stroke: var(--ink); stroke-width: 3.5; }
#wheel > circle:last-of-type { fill: var(--ink); }
#wheel > text:last-of-type { fill: var(--ink); font-weight: 500; }

#what .stages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
#what .stage {
  background: var(--bg-card);
  border: 1px solid var(--line-subtle);
  border-left: 3px solid var(--line-med);
  border-radius: 14px;
  padding: 14px 18px;
  cursor: pointer;
  transition: all 0.25s ease;
}
#what .stage.on {
  background: var(--bg-page);
  border-color: var(--line-med);
  border-left: 4px solid var(--ink);
  box-shadow: 0 12px 30px rgba(11, 22, 48, 0.10);
}
.stage .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.stage .top b {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--bg-soft-2);
  color: var(--ink);
  border: 1px solid var(--line-subtle);
  transition: all 0.25s ease;
}
.stage.on .top b { background: var(--bg-navy); color: #FFFFFF; border-color: var(--bg-navy); }
.stage .st-plant {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  background: #FFFFFF;
  border: 1.5px solid var(--medallion-ring);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(11, 22, 48, 0.07);
  flex-shrink: 0;
}
.stage .st-plant img { width: 100%; height: 100%; object-fit: cover; }
.stage.on .st-plant { border-color: var(--medallion-ring-on); box-shadow: 0 6px 18px rgba(11, 22, 48, 0.14); }
#what .stage h3 { font-size: 16px; margin: 4px 0 4px; color: var(--ink); font-weight: 500; }
#what .stage p { font-size: 12.8px; line-height: 1.44; color: var(--ink-body); }

/* Journey & Three Questions below fold on #what */
.journey {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-top: 72px;
  padding-top: 56px;
  border-top: 1px solid var(--line);
  align-items: start;
}
.journey p { font-size: 15.5px; line-height: 1.62; color: var(--ink-body); }
.questions {
  margin-top: 56px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(28px, 4vw, 48px);
  text-align: center;
}
.questions .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 22px 0 32px; text-align: left; }
.questions .q { background: var(--bg-page); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.questions .q span { font-family: var(--serif); font-size: 24px; font-weight: 600; color: var(--ttl2); display: block; margin-bottom: 8px; }
.questions .q p { font-size: 15.5px; color: var(--ink); font-weight: 500; }

/* ---------- 7. Page 3 — How We Work (Deep Navy + Brushed Metallic Panels) ---------- */
#how.how-navy-sec {
  background: var(--how-bg);
  overflow-x: hidden;
}
#how.how-navy-sec.cur {
  min-height: calc(100vh - 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#how.how-navy-sec .wrap { width: 100%; }
#how .how-navy-head { text-align: center; max-width: 740px; margin: 0 auto 24px; }
#how .how-navy-pill {
  background: rgba(255, 255, 255, 0.08);
  color: var(--onacc2);
  border-color: var(--hs-btn-border);
}
#how.how-navy-sec h2 { color: #FFFFFF; margin-bottom: 0; font-size: clamp(2rem, 3.2vw, 2.85rem); }
#how.how-navy-sec .m-sil { color: var(--how-sub-title); font-weight: 500; }

.how-silver-stage {
  max-width: 980px;
  margin: 0 auto;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  padding: 4px 0 6px;
  overflow-x: hidden;
}
.how-silver-stack { display: flex; flex-direction: column; gap: 12px; min-height: 410px; }

.hs-box {
  position: relative;
  display: grid;
  grid-template-columns: minmax(250px, 340px) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 0 28px;
  border-radius: 16px;
  background: var(--hs-panel-bg);
  border: 1px solid var(--hs-panel-border);
  box-shadow:
    inset 0 1px 0 var(--hs-panel-inset-top),
    inset 0 -1px 0 var(--hs-panel-inset-bot),
    0 14px 34px rgba(3, 8, 20, 0.34);
  color: var(--ink);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  max-height: 0;
  margin-top: -12px;
  overflow: hidden;
  transform: translateX(-36px) scale(0.97);
  transition:
    opacity 0.52s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.58s cubic-bezier(0.16, 1, 0.3, 1),
    max-height 0.48s cubic-bezier(0.16, 1, 0.3, 1),
    padding 0.42s cubic-bezier(0.16, 1, 0.3, 1),
    margin 0.42s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.28s ease;
}
.hs-box:nth-child(even) { transform: translateX(36px) scale(0.97); }
.hs-box.hs-in {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  max-height: 180px;
  padding-top: 18px;
  padding-bottom: 18px;
  margin-top: 0;
  transform: translateX(0) scale(1);
}
.hs-box.hs-in::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(108deg, transparent 22%, rgba(255, 255, 255, 0.55) 48%, transparent 72%);
  transform: translateX(-120%);
  pointer-events: none;
  animation: hsSheen 0.95s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes hsSheen { to { transform: translateX(130%); } }
.hs-box:hover {
  box-shadow:
    inset 0 1px 0 var(--hs-panel-inset-top),
    0 18px 40px rgba(3, 8, 20, 0.44);
}
.hs-box h3 {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.16;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.01em;
}
.hs-box p { font-family: var(--sans); font-size: 13.8px; line-height: 1.5; color: #1F3154; margin: 0; }

.hs-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 20px; }
.hs-dots { display: inline-flex; align-items: center; gap: 8px; }
.hs-dot {
  appearance: none;
  border: 1px solid var(--hs-dot-border);
  background: var(--hs-dot-bg);
  width: 9px;
  height: 9px;
  border-radius: 999px;
  padding: 0;
  cursor: pointer;
  transition: width 0.32s cubic-bezier(0.16, 1, 0.3, 1), background 0.28s ease, border-color 0.28s ease;
}
.hs-dot.on { width: 24px; background: var(--hs-dot-on-bg); border-color: var(--hs-dot-on-border); }
.hs-action {
  appearance: none;
  border: 1px solid var(--hs-btn-border);
  background: var(--hs-btn-bg);
  color: var(--hs-btn-color);
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 7px 15px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.hs-action:hover { background: var(--hs-btn-hover-bg); border-color: var(--hs-dot-on-border); color: #FFFFFF; }

/* ---------- 8. Page 4 — Who We Are (Orbiting Spotlight) ---------- */
#who.who-clean .wc-head { text-align: center; max-width: 760px; margin: 0 auto 10px; }
#who.who-clean h2 { font-size: clamp(1.85rem, 2.9vw, 2.55rem); line-height: 1.08; margin: 8px auto 12px; }

.wc-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: var(--bg-soft-2);
  border: 1px solid var(--line-subtle);
}
.wc-sw-btn {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--ink-2);
  font-family: inherit;
  font-size: 12.6px;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.wc-sw-btn:hover { color: var(--ink); }
.wc-sw-btn.on { background: var(--bg-navy); color: #FFFFFF; box-shadow: 0 6px 16px rgba(11, 22, 48, 0.22); }

.wc-single { max-width: 660px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.wc-circle-stage { position: relative; width: 100%; display: flex; align-items: center; justify-content: center; min-height: 430px; }
.wc-rings-box { width: 100%; max-width: 520px; margin: 0 auto; position: relative; transition: opacity 0.45s ease, filter 0.45s ease, transform 0.45s ease; }
.wc-circle-stage.dimmed .wc-rings-box { opacity: 0.16; filter: blur(1.5px); transform: scale(0.97); pointer-events: none; }
svg#wcSvg { width: 100%; height: auto; display: block; overflow: visible; }

@keyframes wcOrbitCW  { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes wcOrbitCCW { from { transform: rotate(360deg); } to { transform: rotate(0deg); } }
.wc-orbit-ring { transform-origin: 270px 240px; will-change: transform; }
.wc-orbit-0 { animation: wcOrbitCW  22s linear infinite; }
.wc-orbit-1 { animation: wcOrbitCCW 30s linear infinite; }
.wc-orbit-2 { animation: wcOrbitCW  40s linear infinite; }
.wc-orbit-3 { animation: wcOrbitCCW 52s linear infinite; }
.wc-orbit-4 { animation: wcOrbitCW  66s linear infinite; }
.wc-circle-stage.dimmed .wc-orbit-ring { animation-play-state: paused; }

.wc-actor-g { cursor: pointer; transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease; }
.wc-pill-r { transition: fill 0.28s ease, stroke 0.28s ease, stroke-width 0.28s ease; }
.wc-pill-t { font-family: var(--sans); font-size: 11.6px; font-weight: 500; transition: fill 0.28s ease; pointer-events: none; }
.wc-pill-s { font-family: var(--sans); font-size: 9.4px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; transition: fill 0.28s ease; pointer-events: none; }
.wc-pill-d { transition: fill 0.28s ease; }

.wc-actor-g:hover .wc-pill-r,
.wc-actor-g.spot .wc-pill-r {
  fill: var(--who-pill-active-bg);
  stroke: var(--who-pill-active-stroke);
  filter: drop-shadow(0 8px 18px rgba(11, 22, 48, 0.24));
}
.wc-actor-g:hover .wc-pill-t,
.wc-actor-g.spot .wc-pill-t { fill: #FFFFFF; }
.wc-actor-g:hover .wc-pill-s,
.wc-actor-g.spot .wc-pill-s { fill: var(--who-pill-sub-active); }
.wc-actor-g:hover .wc-pill-d,
.wc-actor-g.spot .wc-pill-d { fill: #FFFFFF; }

.wc-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 14px; z-index: 10; animation: wcFadeIn 0.3s ease; }
.wc-overlay[hidden] { display: none !important; }
@keyframes wcFadeIn { from { opacity: 0; transform: translateY(8px) scale(0.98); } to { opacity: 1; transform: none; } }

.wc-card {
  width: 100%;
  max-width: 410px;
  background: radial-gradient(120% 110% at 85% 15%, #162B54 0%, #0B1630 68%, #071022 100%);
  color: #FFFFFF;
  border-radius: 20px;
  padding: 22px 24px 18px;
  border: 1px solid var(--dark-rail-link-border);
  box-shadow: 0 24px 56px rgba(11, 22, 48, 0.28);
  text-align: left;
}
.wc-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.wc-cnum { font-size: 11px; letter-spacing: 0.11em; text-transform: uppercase; color: var(--who-accent-bar); font-weight: 600; }
.wc-close {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.wc-close:hover { background: rgba(255, 255, 255, 0.18); }
.wc-card h3 { font-family: var(--serif); font-size: 26px; line-height: 1.12; color: #FFFFFF; font-weight: 600; margin: 0 0 8px; }
.wc-card > p { font-size: 13.8px; line-height: 1.55; color: rgba(235, 241, 248, 0.92); margin: 0 0 12px; }
.wc-cdef {
  background: rgba(255, 255, 255, 0.08);
  border-left: 2.5px solid var(--who-accent-bar);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 14px;
}
.wc-cdef span { display: block; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--who-accent-bar); font-weight: 600; margin-bottom: 4px; }
.wc-cdef p { font-size: 12.8px; line-height: 1.48; color: #FFFFFF; margin: 0; }
.wc-back-btn { appearance: none; border: none; background: none; color: var(--onacc2); font-family: inherit; font-size: 12.5px; font-weight: 500; cursor: pointer; padding: 0; }
.wc-back-btn:hover { color: #FFFFFF; text-decoration: underline; }

.wc-caption-bar {
  width: 100%;
  max-width: 580px;
  margin-top: 4px;
  background: var(--bg-soft);
  border: 1px solid var(--line-subtle);
  border-radius: 14px;
  padding: 12px 18px;
  text-align: center;
  transition: all 0.3s ease;
}
.wc-caption-bar.def-on { background: var(--bg-navy); border-color: var(--dark-rail-link-border); color: #FFFFFF; }
.wc-cap-k { font-size: 10.8px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); font-weight: 600; margin-bottom: 4px; }
.wc-caption-bar.def-on .wc-cap-k { color: var(--who-accent-bar); }
.wc-cap-t { font-size: 13.4px; line-height: 1.48; color: var(--ink-2); }
.wc-caption-bar.def-on .wc-cap-t { color: #EEF3FA; }

/* ---------- 9. Page 5 — For Whom (6 3D Flip Cards + Medallions) ---------- */
#whom .wrap { text-align: center; }
#whom h2 { margin: 4px auto 0; max-width: 18ch; }
.flip-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 26px; text-align: left; }
.flip-card { perspective: 1400px; height: 248px; cursor: pointer; outline: none; }
.flip-inner { position: relative; width: 100%; height: 100%; transition: transform 0.72s cubic-bezier(0.22, 1, 0.36, 1); transform-style: preserve-3d; }
.flip-card.flipped .flip-inner { transform: rotateY(180deg); }

.face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 20px;
  padding: 24px 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
}
.face-front {
  background: var(--flip-front-bg);
  color: #FFFFFF;
  border: 1px solid var(--flip-front-border);
  box-shadow: 0 16px 38px rgba(11, 22, 48, 0.16);
}
#whom .f-kicker { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
#whom .f-tag {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 10.5px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--flip-tag-color);
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--flip-tag-border);
  line-height: 1.35;
}
#whom .whom-med {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #FFFFFF;
  border: 2px solid var(--flip-med-border);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.32);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
#whom .whom-med img { width: 100%; height: 100%; object-fit: cover; }

.f-front-title { font-size: clamp(1.12rem, 1.32vw, 1.26rem); line-height: 1.3; font-weight: 500; color: #FFFFFF; margin-top: auto; margin-bottom: 14px; }
.f-cue {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--flip-cue-color);
  letter-spacing: 0.03em;
  padding-top: 12px;
  border-top: 1px solid var(--flip-cue-border);
}
.f-cue b { font-weight: 500; color: #FFFFFF; }

.face-back {
  position: relative;
  transform: rotateY(180deg);
  background: var(--bg-page);
  color: var(--ink);
  border: 1.5px solid var(--line-med);
  border-top: 4px solid var(--flip-back-top);
  box-shadow: 0 20px 44px rgba(11, 22, 48, 0.12);
}
#whom .whom-med-back {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  background: #FFFFFF;
  border: 1.5px solid var(--medallion-ring);
  box-shadow: 0 3px 10px rgba(11, 22, 48, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
#whom .whom-med-back img { width: 100%; height: 100%; object-fit: cover; }
#whom .face-back > div > div:first-child,
#whom .face-back .b-title { padding-right: 58px; }
.b-meta { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--flip-back-meta); font-weight: 500; }
.b-title { font-size: 20px; font-weight: 600; color: var(--ink); margin: 6px 0 8px; letter-spacing: -0.015em; }
.b-desc { font-size: 13.4px; line-height: 1.54; color: var(--ink-body); margin-bottom: auto; }
.b-back {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid var(--line-subtle);
  font-size: 12px;
  color: var(--ink);
  font-weight: 500;
}
.b-back span:last-child { color: var(--flip-back-meta); }

/* ---------- 10. Page 6 — Founder (/founder/) ---------- */
.f-main { padding-top: 74px; min-height: 0; display: flex; align-items: flex-start; }
.f-sec { width: 100%; padding: 6px 0 22px; }
.f-sec .head { margin: 0 auto 18px; }
.f-sec .head .ring::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 9px;
  margin: -4.5px 0 0 -4.5px;
  border-radius: 50%;
  background: var(--dot-solid);
  box-shadow: 0 0 0 2px var(--dot-halo);
  animation: nfDotLand 0.85s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes nfDotLand {
  0% { opacity: 0; transform: translate(-22px, -14px) scale(0.55); }
  65% { opacity: 1; transform: translate(0, 0) scale(1.18); }
  100% { opacity: 1; transform: translate(0, 0) scale(1); }
}

.f-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 410px;
  gap: 44px;
  align-items: start;
  max-width: 1140px;
  margin: 0 auto;
}
.f-hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  margin: 10px 0 6px;
  text-align: left;
  font-size: clamp(2.05rem, 3.1vw, 2.75rem);
  line-height: 1.06;
  color: var(--ink);
}
.f-role { font-size: 14.5px; color: var(--ink-sub); letter-spacing: 0.03em; margin-bottom: 14px; display: flex; align-items: center; gap: 12px; }
.f-role::before { content: ""; width: 26px; height: 1.5px; background: var(--ink); display: inline-block; }

.f-bio p { font-size: 13.7px; line-height: 1.56; margin-bottom: 10px; max-width: 62ch; color: var(--ink-body); }
.f-bio p:last-child { margin-bottom: 0; }
a.fm-link, a.fm-link:visited {
  text-decoration: none;
  border-bottom: none;
  font-weight: 600;
  color: var(--ink);
  transition: opacity 0.2s ease;
}
a.fm-link:hover { opacity: 0.68; }

.f-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 16px; }
.f-actions a.f-link { font-size: 14.5px; color: var(--ink); border-bottom: 1px solid var(--line-med); padding-bottom: 2px; }
.f-actions a.f-link:hover { border-color: var(--ink); }

.f-portrait-col { justify-self: end; width: 410px; max-width: 410px; margin-top: 99px; align-self: start; }
.cadre-outer {
  background: var(--cadre-bg);
  padding: 9px;
  border: 1.5px solid var(--cadre-border);
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(11, 22, 48, 0.10);
}
.cadre-inner {
  border: 1px solid var(--cadre-inner-border);
  padding: 4px;
  background: var(--cadre-inner-bg);
  border-radius: 11px;
  overflow: hidden;
  height: 490px;
}
.cadre-inner img { width: 100%; height: 100%; object-fit: cover; object-position: center 14%; border-radius: 7px; }

/* ---------- 11. Page 7 — Contact ---------- */
.cpanel-v2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(32px, 5vw, 68px);
  align-items: center;
  background: var(--bg-soft);
  border: 1px solid var(--line-subtle);
  border-radius: 22px;
  padding: clamp(30px, 4vw, 50px);
}
.c-left h2.contact-h2 { font-size: clamp(2rem, 3vw, 2.75rem); line-height: 1.12; margin: 14px 0 16px; text-align: left; }
.c-note { font-size: 15px; line-height: 1.62; color: var(--ink-sub); max-width: 44ch; margin: 0 0 24px; }
.c-direct { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--line-subtle); }
.c-mail { font-size: 14px; color: var(--ink); font-weight: 500; border-bottom: 1px solid var(--line-med); padding-bottom: 2px; }
.c-mail:hover { border-color: var(--ink); }

.book-v2 {
  background: var(--bg-page);
  border: 1px solid var(--line-subtle);
  border-radius: 16px;
  padding: 26px 28px;
  box-shadow: 0 16px 40px rgba(11, 22, 48, 0.07);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.book-v2-head { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); font-weight: 600; margin-bottom: 2px; }
.book-v2-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.book-v2 label { display: flex; flex-direction: column; gap: 5px; font-size: 12.5px; font-weight: 500; color: var(--ink-2); }
.book-v2 input,
.book-v2 textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line-med);
  border-radius: 9px;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  background: var(--bg-card);
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.book-v2 input:focus,
.book-v2 textarea:focus { border-color: var(--ink); background: var(--bg-page); }
.book-v2-submit { width: 100%; justify-content: center; padding: 13px 20px; font-size: 14px; margin-top: 2px; }
.book-v2 .sent { font-size: 13.5px; color: var(--ink); background: var(--bg-soft-2); padding: 10px 12px; border-radius: 8px; margin: 0; }

/* ---------- 12. Page Navigation Rail & Silky Swipe ---------- */
.pg-rail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--line-subtle);
  width: 100%;
}
.pg-rail.single-right { justify-content: flex-end; }
.pg-rail.single-left { justify-content: flex-start; }
.pg-rail a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.6px;
  font-weight: 500;
  color: var(--ink-sub);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-subtle);
  background: rgba(255, 255, 255, 0.72);
  transition: all 0.2s ease;
}
.pg-rail a:hover { color: var(--ink); border-color: var(--ink); background: #FFFFFF; box-shadow: 0 4px 12px rgba(11, 22, 48, 0.08); }
.pg-rail a.pg-next { color: var(--ink); border-color: var(--line-med); background: var(--bg-page); }
.pg-rail a.pg-next:hover { background: var(--bg-navy); color: #FFFFFF; border-color: var(--bg-navy); }

#how .pg-rail { border-top-color: var(--dark-rail-border); }
#how .pg-rail a { color: var(--dark-rail-link); border-color: var(--dark-rail-link-border); background: rgba(255, 255, 255, 0.05); }
#how .pg-rail a.pg-next { color: var(--dark-rail-next); border-color: var(--dark-rail-next-border); background: rgba(255, 255, 255, 0.10); }
#how .pg-rail a:hover, #how .pg-rail a.pg-next:hover { color: var(--ink); background: #FFFFFF; border-color: #FFFFFF; }

main, main > section { touch-action: pan-y; }
@keyframes nfSlideL { from { opacity: 0.35; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes nfSlideR { from { opacity: 0.35; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
section.cur.nf-anim-l { animation: nfSlideL 0.26s cubic-bezier(0.22, 1, 0.36, 1); }
section.cur.nf-anim-r { animation: nfSlideR 0.26s cubic-bezier(0.22, 1, 0.36, 1); }

.pg-swipe-cue { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute-2); opacity: 0.85; white-space: nowrap; }
#how .pg-swipe-cue { color: var(--dark-rail-link); }

/* ---------- 13. Footer ---------- */
footer {
  background: var(--bg-navy);
  color: var(--footer-text);
  border-radius: calc(var(--r) + 8px) calc(var(--r) + 8px) 0 0;
  padding: clamp(50px, 5.5vw, 72px) 0 32px;
}
footer .top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
footer .logo img { height: 34px; width: auto; filter: var(--footer-logo-filter); }
footer p { color: var(--footer-mute); max-width: 40ch; margin-top: 20px; font-size: 15px; }
footer h4 { font-weight: 400; color: #FFFFFF; font-size: 17px; margin-bottom: 14px; }
footer ul { list-style: none; display: flex; flex-direction: column; gap: 9px; font-size: 14px; }
footer ul a { color: var(--footer-mute); transition: color 0.2s ease; }
footer ul a:hover { color: #FFFFFF; }
footer .bottom {
  margin-top: 52px;
  padding-top: 22px;
  border-top: 1px solid var(--footer-border);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--footer-mute);
}

/* ---------- 14. Desktop One-Screen Fit & Rules (>= 961px) ---------- */
@media (min-width: 961px) {
  /* Zero top-of-section pill boxes on desktop (active page is bold in navbar) */
  main section .pill,
  .f-main .pill,
  .f-hero .pill { display: none; }

  .pg-swipe-cue { display: none; }

  /* Wheel: pure centered medallions on desktop (labels are on the 6 cards) */
  #wheel .seg text { display: none; }
  #wheel .seg .seg-med-g { transform: translateY(11px); }

  /* One-screen vertical centering across every page */
  #hero.cur {
    min-height: calc(100vh - 68px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 84px 0 22px;
  }
  #what.cur {
    min-height: calc(100vh - 68px);
    display: flex;
    align-items: center;
    padding: 86px 0 18px;
  }
  #what .head { display: none; }
  #what .journey, #what .questions { display: none; }
  #what .pg-rail { grid-column: 1 / -1; }

  #how.how-navy-sec.cur {
    min-height: calc(100vh - 68px);
    padding: 74px 0 24px;
  }

  #who.who-clean.cur {
    min-height: calc(100vh - 68px);
    display: flex;
    align-items: center;
    padding: 76px 0 16px;
  }
  #who .head { display: none; }

  #whom.cur {
    min-height: calc(100vh - 68px);
    display: flex;
    align-items: center;
    padding: 88px 0 20px;
  }
  #whom .head { display: none; }

  #contact.cur {
    min-height: calc(100vh - 68px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 84px 0 22px;
  }
  #contact .head { display: none; }
  #contact h2.contact-h2 {
    max-width: none;
    font-size: clamp(30px, 2.55vw, 37px);
    line-height: 1.14;
    white-space: nowrap;
  }
}

/* ---------- 15. Mobile Layout & Polish (<= 960px) ---------- */
@media (max-width: 960px) {
  main > section.cur { padding: 84px 0 34px; }
  .after { grid-template-columns: 1fr; }
  .journey { grid-template-columns: 1fr; gap: 20px; margin-top: 44px; padding-top: 34px; }
  .questions .grid { grid-template-columns: 1fr; }

  /* Hero */
  .h-nodes { grid-template-columns: 1fr; gap: 14px; }
  .horizon-line, .horizon-pulse, .h-dot { display: none; }
  .horizon-stage { padding: 26px 20px 24px; border-radius: 18px; }
  .horizon-track { padding-top: 0; }
  .h-node { padding: 8px 0 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.10); }
  .h-node:last-child { border-bottom: 0; }
  .hero-actions { gap: 12px 18px; }

  /* What we do — Mobile 3D Flip Wheel */
  #what .split { grid-template-columns: 1fr; gap: 18px; }
  #what .sticky { max-width: 100%; text-align: center; }
  #what .sticky .pill { display: inline-flex; margin: 0 auto 10px; }
  #what .sticky h2, #what .sticky .lead { text-align: center; margin-left: auto; margin-right: auto; }
  #what .stages { display: none; }

  .wheel-flip { width: 100%; max-width: 348px; margin: 14px auto 4px; perspective: 1200px; }
  .wf-inner { position: relative; width: 100%; min-height: 360px; transform-style: preserve-3d; transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1); }
  .wheel-flip.flipped .wf-inner { transform: rotateY(180deg); }
  .wf-face { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
  .wf-front { position: relative; width: 100%; }
  .wheel { width: 100%; max-width: 348px; margin: 0 auto; }
  .wf-hint { display: block; text-align: center; font-size: 12px; color: var(--mute); margin-top: 10px; }
  .wf-back {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transform: rotateY(180deg);
    background: radial-gradient(120% 110% at 85% 15%, #162B54 0%, #0B1630 68%, #071022 100%);
    color: #FFFFFF;
    border-radius: 22px;
    padding: 22px 22px 18px;
    border: 1px solid var(--dark-rail-link-border);
    box-shadow: 0 22px 46px rgba(11, 22, 48, 0.24);
    text-align: left;
    cursor: pointer;
  }
  .wf-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
  .wf-pill {
    display: inline-flex;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink);
    background: var(--onacc2);
  }
  #wfNum {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    overflow: hidden;
    background: #FFFFFF;
    border: 2px solid var(--flip-med-border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
    flex-shrink: 0;
  }
  .wf-title { font-family: var(--serif); font-size: 27px; line-height: 1.12; color: #FFFFFF; margin: 12px 0 8px; font-weight: 600; }
  .wf-desc { font-size: 14.5px; line-height: 1.58; color: rgba(235, 241, 248, 0.92); margin: 0 0 12px; flex: 1; }
  .wf-dots { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 4px 0 10px; }
  .wf-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(213, 223, 236, 0.32); transition: all 0.25s ease; display: block; }
  .wf-dots i.on { width: 18px; border-radius: 999px; background: #FFFFFF; }
  .wf-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid rgba(213, 223, 236, 0.18); font-size: 12.5px; }
  .wf-ret { color: #FFFFFF; font-weight: 500; }
  .wf-swipe { color: rgba(213, 223, 236, 0.72); font-size: 11.5px; letter-spacing: 0.04em; }

  /* How we work */
  #how.how-navy-sec.cur { padding: 84px 0 38px; min-height: auto; }
  .how-silver-stack { min-height: 360px; gap: 10px; }
  .hs-box { grid-template-columns: 1fr; gap: 6px; padding: 0 18px; border-radius: 14px; }
  .hs-box.hs-in { padding-top: 15px; padding-bottom: 15px; max-height: 240px; }
  .hs-box h3 { font-size: 19.5px; }
  .hs-box p { font-size: 13.2px; }

  /* Who we are */
  .wc-circle-stage { min-height: 330px; }
  .wc-switch { max-width: 100%; }
  .wc-sw-btn { padding: 6px 12px; font-size: 12px; }
  .wc-caption-bar { padding: 11px 14px; }

  /* For whom */
  #whom .head { display: none; }
  #whom .wrap > .pill { display: inline-flex; margin: 0 auto 8px; }
  #whom h2 { font-size: 1.85rem; line-height: 1.08; margin: 0 auto 14px; }
  #whom .flip-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 18px; }
  #whom .flip-card { height: 232px; min-height: 232px; }
  #whom .face { overflow: hidden; }
  #whom .face-front { padding: 20px 20px 18px; }
  #whom .face-back { padding: 16px 18px 14px; }
  #whom .whom-med { width: 52px; height: 52px; }
  #whom .whom-med-back { width: 40px; height: 40px; top: 14px; right: 14px; }
  #whom .face-back > div > div:first-child,
  #whom .face-back .b-title { padding-right: 48px; }
  #whom .b-meta { font-size: 10px; }
  #whom .b-title { font-size: 18px; line-height: 1.18; margin: 4px 0 6px; }
  #whom .b-desc { font-size: 12.6px; line-height: 1.45; }
  #whom .b-back { padding-top: 8px; font-size: 11.5px; }

  /* Founder (centered portrait on mobile!) */
  .f-main { display: block; padding-top: 78px; }
  .f-hero { grid-template-columns: 1fr; gap: 22px; }
  .f-portrait-col { justify-self: center; margin: 0 auto; width: 100%; max-width: 300px; order: -1; }
  .cadre-outer { padding: 8px; }
  .cadre-inner { height: auto; }
  .cadre-inner img { aspect-ratio: 3 / 4; height: auto; }

  /* Contact */
  .cpanel-v2 { grid-template-columns: 1fr; padding: 24px 18px; gap: 24px; }
  .book-v2 { padding: 20px 18px; }
  .book-v2-row { grid-template-columns: 1fr; }

  /* Rail & Footer */
  .pg-rail { margin-top: 16px; padding-top: 10px; }
  .pg-rail a { font-size: 12px; padding: 6px 11px; }
  footer .top { grid-template-columns: 1fr 1fr; gap: 28px; }
  footer .top > div:first-child { grid-column: span 2; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .head i, .head .ring.has::after, .wc-orbit-ring, .horizon-pulse { animation: none; }
  html.intro-running #field, main > section, body > footer, #word { transition: none; }
}

/* === Final Copy & Minimalist Arrow Polish === */
.pg-rail a.pg-arrow {
  width: 38px;
  height: 38px;
  padding: 0;
  justify-content: center;
  border-radius: 50%;
  font-size: 16px;
  line-height: 1;
}
.wc-sub {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-sub);
  max-width: 58ch;
  margin: 10px auto 14px;
  text-align: center;
}
.whom-sub {
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--ink-sub);
  margin: 8px auto 20px;
  text-align: center;
  letter-spacing: 0.01em;
}
@media (max-width: 960px) {
  .wc-sub { font-size: 13.5px; padding: 0 8px; }
  .whom-sub { font-size: 13.5px; margin: -6px 0 14px; }
  .pg-rail a.pg-arrow { width: 36px; height: 36px; font-size: 15px; }
}

/* === iOS-Safe Native HTML Wheel Medallions & Global Horizon Dot === */
.head .ring::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 9px;
  margin: -4.5px 0 0 -4.5px;
  border-radius: 50%;
  background: var(--dot-solid);
  box-shadow: 0 0 0 2px var(--dot-halo);
}
#what .wheel {
  position: relative;
}
.wheel-med-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.wheel-med-img {
  position: absolute;
  left: var(--mx);
  top: var(--my-mob);
  width: 11.4%;
  height: 11.4%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: #FFFFFF;
  border: 1.5px solid var(--medallion-ring);
  box-shadow: 0 2px 7px rgba(11, 22, 48, 0.14);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.wheel-med-img.on {
  border-color: var(--flip-med-border);
  box-shadow: 0 3px 10px rgba(11, 22, 48, 0.28);
}
@media (min-width: 961px) {
  .wheel-med-img {
    top: var(--my-desk);
    width: 11.8%;
    height: 11.8%;
  }
}

@media (min-width: 961px) {
  #who .wc-head h2 {
    max-width: none;
    white-space: nowrap;
    font-size: clamp(28px, 2.7vw, 39px);
  }
}

/* === All Desktop Titles on One Crisp Line & Founder 'i' Dot Alignment === */
.what-h2-top {
  margin-bottom: 18px;
}
.c-top-head {
  grid-column: 1 / -1;
}
@media (min-width: 961px) {
  #hero h1 {
    max-width: none !important;
    white-space: nowrap;
    font-size: clamp(28px, 3.05vw, 44px) !important;
  }
  #statement-sec h2 {
    max-width: none !important;
    white-space: nowrap;
    font-size: clamp(28px, 2.95vw, 42px) !important;
  }
  #what h2.what-h2-top {
    max-width: none !important;
    white-space: nowrap;
    font-size: clamp(28px, 2.85vw, 40px) !important;
    text-align: center;
    margin: 0 auto 18px;
  }
  #how .how-head, #how .hs-head { max-width: none !important; text-align: center; }
  #how h2 {
    max-width: none !important;
    white-space: nowrap;
    font-size: clamp(28px, 2.75vw, 40px) !important;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  #whom h2 {
    max-width: none !important;
    white-space: nowrap;
    font-size: clamp(30px, 3.05vw, 44px) !important;
    text-align: center;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  #contact h2.contact-h2 {
    max-width: none !important;
    white-space: nowrap;
    font-size: clamp(26px, 2.6vw, 38px) !important;
    margin-bottom: 4px;
  }
  .cpanel-v2 {
    row-gap: 18px;
  }
}
@media (max-width: 960px) {
  #what h2.what-h2-top {
    text-align: center;
    margin: 0 auto 14px;
  }
}

/* === Founder 'I am the i' Dot Dead-Center Over Manale's Head & #how Full-Width Center === */
@media (min-width: 961px) {
  .f-sec .head .ring {
    left: 78.2% !important;
  }
  .f-sec .head .sa {
    left: 0 !important;
    width: calc(78.2% - 20px) !important;
  }
  .f-sec .head .sb {
    left: calc(78.2% + 20px) !important;
    width: calc(21.8% - 20px) !important;
    right: auto !important;
  }
  #how .how-head,
  #how .wrap > header,
  #how .wrap > div:first-child {
    max-width: none !important;
  }
  #how h2 {
    width: 100% !important;
    max-width: none !important;
    text-align: center !important;
    white-space: nowrap !important;
  }
}
@media (max-width: 960px) {
  .f-sec .head .ring {
    left: 50% !important;
  }
  .f-sec .head .sa {
    left: 0 !important;
    width: calc(50% - 17px) !important;
  }
  .f-sec .head .sb {
    left: calc(50% + 17px) !important;
    width: calc(50% - 17px) !important;
    right: auto !important;
  }
}
/* === Hide Section Top Pills Everywhere (Desktop + Mobile) === */
#what .pill, #how .pill, #who .pill, #whom .pill, #contact .pill, .f-sec .pill, .what-pill-top {
  display: none !important;
}
