/* ================================================================
   Ground Effect — design tokens + global styles
   ================================================================ */

:root {
  /* Palette — dark cinematic default */
  --ink: oklch(0.13 0.012 250);
  --ink-2: oklch(0.165 0.012 250);
  --ink-3: oklch(0.21 0.011 250);
  --line: oklch(0.30 0.008 250);
  --line-soft: oklch(0.24 0.008 250);
  --fg: oklch(0.97 0.005 80);
  --fg-2: oklch(0.78 0.008 250);
  --fg-3: oklch(0.55 0.010 250);
  --accent: oklch(0.80 0.13 75);   /* warm amber — overridable */
  --accent-ink: oklch(0.20 0.06 75);
  --signal: oklch(0.78 0.14 200);

  /* Type */
  --sans: "Geist", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --mono: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;

  /* Sizing */
  --pad-x: clamp(20px, 4vw, 64px);
  --pad-y: clamp(48px, 8vw, 140px);
  --max: 1480px;

  --radius: 2px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.7, 0, 0.3, 1);
}

:root { --logo-filter: invert(1); }
[data-theme="light"] {
  --logo-filter: none;
  --ink: oklch(0.97 0.006 85);
  --ink-2: oklch(0.94 0.006 85);
  --ink-3: oklch(0.90 0.006 85);
  --line: oklch(0.78 0.008 250);
  --line-soft: oklch(0.86 0.008 250);
  --fg: oklch(0.18 0.012 250);
  --fg-2: oklch(0.36 0.012 250);
  --fg-3: oklch(0.54 0.012 250);
  --accent-ink: oklch(0.97 0.005 80);
}

[data-density="tight"] {
  --pad-y: clamp(32px, 6vw, 96px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

html {
  background: var(--ink);
  color: var(--fg);
  font-family: var(--sans);
  font-feature-settings: "ss01", "ss02", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-synthesis: none;
}

body {
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img { display: block; max-width: 100%; }

::selection { background: var(--accent); color: var(--accent-ink); }

/* Scrollbars */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--ink-3); border-radius: 0; }
::-webkit-scrollbar-thumb:hover { background: var(--line); }

/* ============== Type primitives ============== */
.mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}

.serif-i {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}

h1, h2, h3, h4 {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 0.95;
  margin: 0;
}

p { margin: 0; }

/* ============== Layout ============== */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.shell {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.section {
  padding-top: var(--pad-y);
  padding-bottom: var(--pad-y);
  position: relative;
}

.divider {
  height: 1px;
  background: var(--line-soft);
  width: 100%;
}

/* ============== Nav ============== */
.nav {
  position: sticky;
  top: 0;
  z-index: 80;
  background: color-mix(in oklab, var(--ink) 80%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.nav.scrolled { border-bottom-color: var(--line-soft); }

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 18px;
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-links a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-2);
  position: relative;
  padding: 8px 0;
  white-space: nowrap;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--fg); }
.nav-links a.active { color: var(--fg); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--accent);
}

.nav-cta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  padding: 10px 18px;
  border-radius: 999px;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.nav-cta:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-burger {
  display: none;
  width: 40px;
  height: 40px;
  position: relative;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  z-index: 70;
}
.nav-burger span {
  display: block;
  position: absolute;
  left: 10px;
  width: 20px;
  height: 1.5px;
  background: var(--fg);
  transition: transform 0.3s var(--ease-out), opacity 0.2s ease;
  transform-origin: center;
}
.nav-burger span:nth-child(1) { top: 14px; }
.nav-burger span:nth-child(2) { top: 19px; }
.nav-burger span:nth-child(3) { top: 24px; }
.nav-burger.open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.nav-mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--ink);
  z-index: 60;
  display: flex;
  flex-direction: column;
  animation: pageIn 0.3s var(--ease-out);
}
.nav-mobile-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 100px var(--pad-x) 40px;
  overflow-y: auto;
}
.nav-mobile-links {
  display: flex;
  flex-direction: column;
}
.nav-mobile-links a {
  font-family: var(--sans);
  font-size: clamp(28px, 7vw, 40px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--fg);
  padding: 22px 0;
  border-bottom: 1px solid var(--line-soft);
  opacity: 0;
  transform: translateY(8px);
  animation: navItemIn 0.45s var(--ease-out) forwards;
}
.nav-mobile-links a .arr {
  float: right;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-3);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.nav-mobile-links a.active { color: var(--accent); }
.nav-mobile-foot {
  margin-top: auto;
  padding-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
@keyframes navItemIn {
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .nav-cta { display: none; }
}

/* ============== Footer ============== */
.footer {
  border-top: 1px solid var(--line-soft);
  padding: 80px var(--pad-x) 36px;
  background: var(--ink);
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-mark {
  font-size: clamp(54px, 10vw, 120px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.9;
}
.footer-mark .i { font-family: var(--serif); font-style: italic; font-weight: 400; }
.footer-col h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 18px;
  font-weight: 500;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--fg-2); }
.footer-col a:hover { color: var(--fg); }

.footer-bottom {
  max-width: var(--max);
  margin: 64px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-3);
}

@media (max-width: 760px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

/* ============== Buttons ============== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  transition: all 0.25s var(--ease-out);
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--fg);
  color: var(--ink);
}
.btn-primary:hover {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-ghost {
  border-color: var(--line);
  color: var(--fg);
}
.btn-ghost:hover {
  border-color: var(--fg);
}
.btn .arrow {
  width: 14px; height: 14px;
  position: relative;
  display: inline-block;
}
.btn .arrow::before, .btn .arrow::after {
  content: "";
  position: absolute;
  background: currentColor;
}
.btn .arrow::before {
  left: 0; right: 0; top: 50%;
  height: 1px;
  transform: translateY(-50%);
}
.btn .arrow::after {
  width: 6px; height: 6px;
  border-right: 1px solid currentColor;
  border-top: 1px solid currentColor;
  background: transparent;
  right: 1px; top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

/* ============== Reveal animation ============== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.in { opacity: 1; transform: translateY(0); }

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* Mask reveal — for big headlines */
.mask-line { display: block; overflow: hidden; padding-bottom: 0.15em; }
.mask-line > span {
  display: block;
  transform: translateY(110%);
  transition: transform 1.1s var(--ease-out);
}
.mask-line.in > span { transform: translateY(0); }

/* ============== Hero ============== */
.hero {
  position: relative;
  min-height: calc(100vh - 60px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 80px;
  padding-bottom: 60px;
  overflow: hidden;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  opacity: 0.85;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(54px, 10.5vw, 200px);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.045em;
}
.hero h1 .i { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; color: var(--accent); }
.hero h1 .accent { color: var(--accent); }

.hero-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: clamp(40px, 6vw, 96px);
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
}
.hero-meta-item .k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 12px;
}
.hero-meta-item .v {
  font-size: 17px;
  line-height: 1.4;
  color: var(--fg);
  font-weight: 500;
  letter-spacing: -0.01em;
}

@media (max-width: 760px) {
  .hero-meta { grid-template-columns: 1fr 1fr; gap: 24px; }
}

.hero-tag {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(32px, 6vw, 64px);
}
.hero-tag .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px color-mix(in oklab, var(--accent) 18%, transparent);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 22%, transparent); }
  50% { box-shadow: 0 0 0 12px color-mix(in oklab, var(--accent) 0%, transparent); }
}

/* ============== Marquee logos ============== */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 28px 0;
  position: relative;
}
.marquee::before, .marquee::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--ink), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--ink), transparent); }

.marquee-track {
  display: flex;
  gap: 80px;
  animation: marquee 40s linear infinite;
  width: max-content;
}
.marquee-item {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-2);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 80px;
}
.marquee-item::after {
  content: "";
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--fg-3);
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ============== Thesis (3-domain) ============== */
.thesis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.thesis-card {
  padding: 56px 36px;
  border-right: 1px solid var(--line-soft);
  position: relative;
  cursor: pointer;
  transition: background 0.4s var(--ease-out);
}
.thesis-card:last-child { border-right: 0; }
.thesis-card:hover { background: var(--ink-2); }
.thesis-card .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--fg-3);
  margin-bottom: 28px;
}
.thesis-card h3 {
  font-size: clamp(28px, 3vw, 44px);
  letter-spacing: -0.03em;
  font-weight: 500;
  margin-bottom: 20px;
  line-height: 1;
}
.thesis-card h3 .i { font-family: var(--serif); font-style: italic; font-weight: 400; }
.thesis-card p {
  color: var(--fg-2);
  font-size: 15px;
  line-height: 1.6;
  max-width: 38ch;
}
.thesis-card .ico {
  width: 88px; height: 88px;
  margin-bottom: 28px;
  position: relative;
}

@media (max-width: 760px) {
  .thesis-grid { grid-template-columns: 1fr; }
  .thesis-card { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .thesis-card:last-child { border-bottom: 0; }
}

/* ============== Section header ============== */
.sec-head {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 64px;
}
.sec-head .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent);
  text-transform: uppercase;
}
.sec-head h2 {
  font-size: clamp(40px, 6vw, 88px);
  letter-spacing: -0.035em;
  line-height: 0.95;
  font-weight: 500;
  text-wrap: balance;
}
.sec-head h2 .i { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); }

@media (max-width: 760px) {
  .sec-head { grid-template-columns: 1fr; gap: 16px; }
}

/* ============== Portfolio ============== */
.portfolio-list {
  border-top: 1px solid var(--line-soft);
}
.pf-row {
  display: grid;
  grid-template-columns: 80px 1.2fr 2fr 0.8fr 0.6fr 60px;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: center;
  cursor: pointer;
  position: relative;
  transition: padding 0.4s var(--ease-out);
}
.pf-row:hover { padding-left: 16px; padding-right: 16px; }
.pf-row::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  mix-blend-mode: multiply;
}
.pf-row .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--fg-3);
}
.pf-row .name {
  font-size: clamp(22px, 2.4vw, 34px);
  letter-spacing: -0.02em;
  font-weight: 500;
  line-height: 1;
}
.pf-row .name .i { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent-2); }
.pf-row .desc {
  color: var(--fg-2);
  font-size: 14px;
  line-height: 1.5;
  max-width: 50ch;
}
.pf-row .stage, .pf-row .year {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.pf-row .arrow-cell {
  display: flex;
  justify-content: flex-end;
}
.pf-row .arrow-cell svg {
  transition: transform 0.4s var(--ease-out);
}
.pf-row:hover .arrow-cell svg { transform: translateX(8px); }
.pf-row:hover .name { color: var(--accent); }

.pf-row-link {
  text-decoration: none;
  color: inherit;
  transition: background 0.2s;
}
.pf-row-link:hover { background: color-mix(in oklab, var(--ink) 70%, var(--accent) 6%); }
.pf-row-link:hover .name { color: var(--accent); }
.pf-arrow {
  color: var(--fg-3);
  align-self: center;
  font-size: 14px;
  padding-right: 12px;
  transition: transform 0.4s var(--ease-out), color 0.2s;
}
.pf-row-link:hover .pf-arrow { color: var(--accent); transform: translate(4px, -4px); }

@media (max-width: 880px) {
  .pf-row {
    grid-template-columns: 60px 1fr;
    gap: 12px;
    padding: 24px 0;
  }
  .pf-row .desc, .pf-row .stage, .pf-row .year, .pf-row .arrow-cell { display: none; }
}

/* ============== Team ============== */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.team-card {
  background: var(--ink);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 480px;
  position: relative;
  transition: background 0.4s var(--ease-out);
}
.team-card:hover { background: var(--ink-2); }
.team-portrait {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: var(--ink-3);
  position: relative;
  overflow: hidden;
}
.team-portrait .placeholder {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(135deg,
      transparent 0 12px,
      color-mix(in oklab, var(--fg) 5%, transparent) 12px 13px);
  display: flex;
  align-items: flex-end;
  padding: 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.team-card .name {
  font-size: clamp(26px, 2.6vw, 38px);
  letter-spacing: -0.025em;
  font-weight: 500;
  line-height: 1;
}
.team-card .name .i { font-family: var(--serif); font-style: italic; font-weight: 400; }
.team-card .role {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.team-card .bio {
  color: var(--fg-2);
  font-size: 14px;
  line-height: 1.6;
}
.team-card .creds {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}
.team-card .cred {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-2);
  border: 1px solid var(--line-soft);
  padding: 6px 10px;
  border-radius: 999px;
}

@media (max-width: 760px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* ============== Partner row ============== */
.partner-row-grid {
  display: grid;
  grid-template-columns: 120px 1fr 2fr auto;
  gap: 32px;
  padding: 48px 36px;
  align-items: center;
}
.partner-portrait {
  width: 100px;
  aspect-ratio: 1 / 1;
  margin-right: 0;
}
.partner-name {
  font-size: clamp(34px, 4vw, 56px);
  letter-spacing: -0.03em;
  line-height: 0.95;
  font-weight: 500;
}
.partner-bio {
  color: var(--fg-2);
  font-size: 16px;
  line-height: 1.6;
  max-width: 55ch;
}
.partner-link { display: flex; justify-content: flex-end; }
.partner-link-btn {
  border: 1px solid var(--line);
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--fg-2);
  white-space: nowrap;
  display: inline-block;
}

@media (max-width: 880px) {
  .partner-row-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 32px 24px;
    align-items: start;
  }
  .partner-portrait { width: 80px; }
  .partner-bio { max-width: none; }
  .partner-link { justify-content: flex-start; }
}

/* ============== Strategic Alliances ============== */
.alliance-featured {
  display: block;
  padding: 48px 40px;
  background: var(--ink-2);
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  transition: border-color 0.3s, background 0.3s;
  text-decoration: none;
}
.alliance-featured:hover { border-color: var(--accent); background: color-mix(in oklab, var(--ink-2) 80%, var(--accent) 8%); }
.alliance-featured-eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.alliance-featured-name {
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -0.03em;
  line-height: 1;
  font-weight: 500;
  margin-bottom: 24px;
}
.alliance-featured-arrow {
  font-family: var(--mono);
  font-size: 0.5em;
  color: var(--accent);
  margin-left: 16px;
  display: inline-block;
  transition: transform 0.4s var(--ease-out);
  vertical-align: middle;
}
.alliance-featured:hover .alliance-featured-arrow { transform: translate(6px, -6px); }
.alliance-featured-desc {
  color: var(--fg-2);
  font-size: 17px;
  line-height: 1.6;
  max-width: 70ch;
}

.alliance-row { text-decoration: none; transition: background 0.2s; }
.alliance-row:hover { background: color-mix(in oklab, var(--ink) 70%, var(--accent) 6%); }
.alliance-row:hover .name > span { color: var(--accent); }
.alliance-arrow {
  color: var(--fg-3);
  align-self: center;
  font-size: 14px;
  padding-right: 8px;
  transition: transform 0.4s var(--ease-out), color 0.2s;
}
.alliance-row:hover .alliance-arrow { color: var(--accent); transform: translate(4px, -4px); }

@media (max-width: 880px) {
  .alliance-featured { padding: 32px 24px; }
}

/* ============== Advisor row ============== */
.advisor-row-grid {
  display: grid;
  grid-template-columns: 200px 1.1fr 2.4fr;
  gap: 48px;
  padding: 56px 40px;
  align-items: start;
}
.advisor-portrait {
  width: 160px;
  aspect-ratio: 1 / 1;
}
.advisor-name {
  font-size: clamp(28px, 3vw, 44px);
  letter-spacing: -0.025em;
  line-height: 1.0;
  font-weight: 500;
}
.advisor-bio {
  color: var(--fg-2);
  font-size: 15px;
  line-height: 1.7;
  max-width: 64ch;
}

@media (max-width: 880px) {
  .advisor-row-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 32px 24px;
  }
  .advisor-portrait { width: 100px; }
  .advisor-bio { max-width: none; font-size: 14px; }
}

/* ============== Stats / numbers ============== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.stat {
  background: var(--ink);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 220px;
  justify-content: space-between;
}
.stat .label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.stat .val {
  font-size: clamp(56px, 7vw, 96px);
  letter-spacing: -0.045em;
  font-weight: 500;
  line-height: 0.9;
}
.stat .val .unit {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 0.55em;
  vertical-align: 0.18em;
  margin-left: 4px;
  color: var(--accent);
}
.stat .note {
  color: var(--fg-2);
  font-size: 13px;
  line-height: 1.5;
}
@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr 1fr; }
}

/* ============== Quote ============== */
.quote-section { padding: clamp(80px, 14vw, 200px) 0; }
.quote {
  max-width: 1100px;
  margin: 0 auto;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(32px, 4.6vw, 68px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.quote .accent { color: var(--accent); }
.quote-attr {
  margin-top: 36px;
  display: flex;
  gap: 16px;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.quote-attr .bar { width: 36px; height: 1px; background: var(--accent); }

/* ============== CTA section ============== */
.cta-block {
  padding: clamp(80px, 12vw, 160px) 0;
  position: relative;
  overflow: hidden;
}
.cta-block h2 {
  font-size: clamp(48px, 9vw, 160px);
  letter-spacing: -0.045em;
  line-height: 0.92;
  font-weight: 500;
  text-wrap: balance;
  margin-bottom: 48px;
}
.cta-block h2 .i { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); }
.cta-block .actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ============== Two-col copy ============== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.two-col .label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.two-col .body {
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--fg);
  font-weight: 400;
  text-wrap: pretty;
}
.two-col .body .i { font-family: var(--serif); font-style: italic; font-weight: 400; }
.two-col .body p + p { margin-top: 24px; }

@media (max-width: 760px) {
  .two-col { grid-template-columns: 1fr; gap: 24px; }
}

/* ============== Page header (sub-pages) ============== */
.page-header {
  padding-top: clamp(80px, 12vw, 160px);
  padding-bottom: clamp(60px, 8vw, 120px);
  border-bottom: 1px solid var(--line-soft);
  position: relative;
  overflow: hidden;
}
.page-header h1 {
  font-size: clamp(64px, 11vw, 200px);
  letter-spacing: -0.045em;
  line-height: 0.9;
  font-weight: 500;
  text-wrap: balance;
}
.page-header h1 .i { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); }
.page-header .lede {
  margin-top: 32px;
  max-width: 60ch;
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.5;
  color: var(--fg-2);
}
.page-header .crumbs {
  display: flex;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 32px;
}
.page-header .crumbs .sep { color: var(--line); }

/* ============== Page transition ============== */
.page-transition {
  animation: pageIn 0.6s var(--ease-out);
}
@keyframes pageIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============== Mini logo / mark ============== */
.ge-mark {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

/* ============== Misc ============== */
.kbd {
  font-family: var(--mono);
  font-size: 10px;
  border: 1px solid var(--line);
  padding: 2px 6px;
  border-radius: 3px;
  color: var(--fg-2);
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
