/* ========== EHV TOKENS ========== */
:root {
  /* palettes set on <body> via data-palette */
  --bg: #F7F5F0;
  --bg-alt: #EFEBE2;
  --ink: #0B1F36;
  --ink-2: #2A3F58;
  --ink-3: #5C6B82;
  --rule: rgba(11, 31, 54, 0.12);
  --rule-strong: rgba(11, 31, 54, 0.22);
  --primary: #0A2540;
  --primary-ink: #F7F5F0;
  --accent: #1B7CD9;
  --accent-ink: #FFFFFF;
  --accent-2: #B4C26A;

  /* density */
  --pad-section: clamp(64px, 8vw, 112px);
  --pad-x: clamp(24px, 5vw, 88px);
  --gap: 32px;
  --rad: 4px;

  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --sans: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}
body[data-palette="navy"] {
  --bg: #F7F5F0; --bg-alt: #EFEBE2;
  --ink: #0B1F36; --ink-2: #2A3F58; --ink-3: #5C6B82;
  --rule: rgba(11,31,54,0.12); --rule-strong: rgba(11,31,54,0.22);
  --primary: #0A2540; --primary-ink: #F7F5F0;
  --accent: #1B7CD9; --accent-ink: #FFFFFF;
  --accent-2: #B4C26A;
}
body[data-palette="ink"] {
  --bg: #0B1220; --bg-alt: #131C2E;
  --ink: #F4F2EC; --ink-2: #C5CCD8; --ink-3: #8995A8;
  --rule: rgba(244,242,236,0.12); --rule-strong: rgba(244,242,236,0.24);
  --primary: #F4F2EC; --primary-ink: #0B1220;
  --accent: #2E96F2; --accent-ink: #0B1220;
  --accent-2: #B4C26A;
}
body[data-palette="clinical"] {
  --bg: #FAFAF7; --bg-alt: #F0EFE8;
  --ink: #0E2A1E; --ink-2: #2C4A3B; --ink-3: #5F7568;
  --rule: rgba(14,42,30,0.12); --rule-strong: rgba(14,42,30,0.22);
  --primary: #0E2A1E; --primary-ink: #FAFAF7;
  --accent: #B4C26A; --accent-ink: #0e1f0a;
  --accent-2: #1B7CD9;
}
body[data-density="compact"] {
  --pad-section: 64px;
  --gap: 20px;
}
body[data-density="spacious"] {
  --pad-section: 144px;
  --gap: 40px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ===== TYPE ===== */
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
.mono { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -0.02em; line-height: 1.05; }
.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(56px, 9vw, 144px);
  line-height: 0.96;
  letter-spacing: -0.025em;
}
.display em { font-style: italic; color: var(--ink-2); }
.h2 {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
}
.h3 {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.lead {
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 60ch;
}

/* ===== LAYOUT ===== */
.shell { padding-inline: var(--pad-x); }
.section { padding-block: var(--pad-section); border-top: 1px solid var(--rule); }
.section.no-rule { border-top: none; }
.grid12 { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.cluster { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.stack { display: flex; flex-direction: column; gap: 24px; }

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--pad-x);
  background: var(--bg);
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  position: relative;
  padding: 6px 0;
  transition: color 0.15s ease;
}
.nav-link:hover { color: var(--ink); }
.nav-link.active { color: var(--ink); }
.nav-link.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -19px;
  height: 2px; background: var(--ink);
}

/* ===== LOGO ===== */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}
.logo-img {
  height: 32px;
  width: auto;
  display: block;
  mix-blend-mode: multiply;
}
body[data-palette="ink"] .logo-img {
  filter: invert(1) hue-rotate(180deg) brightness(1.05);
}
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  padding: 0;
  margin-left: 8px;
}
.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--bg);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn-pill-arrow {
  width: 18px; height: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--bg);
  color: var(--ink);
  font-size: 11px;
}
.btn-ghost .btn-pill-arrow { background: var(--ink); color: var(--bg); }
.btn-ghost:hover .btn-pill-arrow { background: var(--bg); color: var(--ink); }

/* ===== HERO VARIANTS ===== */
.hero {
  padding-block: 0 clamp(56px, 7vw, 120px);
  position: relative;
  overflow: hidden;
}

/* Atmospheric SVG textures — subtle backgrounds for hero sections */
.hero-tex {
  position: relative;
}
.hero-tex::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.8;
}
.hero-tex > * { position: relative; z-index: 1; }

/* Topographic curves — Home (alt) */
.hero-tex-topo::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 600' fill='none' stroke='%23121826' stroke-width='0.8' opacity='0.15'><path d='M0 80 Q200 40 400 90 T800 70'/><path d='M0 140 Q200 100 400 150 T800 130'/><path d='M0 200 Q200 160 400 210 T800 190'/><path d='M0 260 Q200 220 400 270 T800 250'/><path d='M0 320 Q200 280 400 330 T800 310'/><path d='M0 380 Q200 340 400 390 T800 370'/><path d='M0 440 Q200 400 400 450 T800 430'/><path d='M0 500 Q200 460 400 510 T800 490'/><path d='M0 560 Q200 520 400 570 T800 550'/></svg>");
  background-size: 100% 100%;
  background-position: right top;
  background-repeat: no-repeat;
}

/* Molecular lattice — Home */
.hero-tex-lattice::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600' fill='none' stroke='%23121826' stroke-width='0.9' opacity='0.18'><g><line x1='100' y1='120' x2='200' y2='180'/><line x1='200' y1='180' x2='300' y2='120'/><line x1='300' y1='120' x2='400' y2='180'/><line x1='400' y1='180' x2='500' y2='120'/><line x1='200' y1='180' x2='200' y2='300'/><line x1='400' y1='180' x2='400' y2='300'/><line x1='100' y1='360' x2='200' y2='300'/><line x1='200' y1='300' x2='300' y2='360'/><line x1='300' y1='360' x2='400' y2='300'/><line x1='400' y1='300' x2='500' y2='360'/><line x1='100' y1='360' x2='200' y2='420'/><line x1='200' y1='420' x2='300' y2='360'/><line x1='300' y1='360' x2='400' y2='420'/><line x1='400' y1='420' x2='500' y2='360'/><line x1='200' y1='420' x2='200' y2='540'/><line x1='400' y1='420' x2='400' y2='540'/></g><g fill='%23121826' stroke='none' opacity='0.9'><circle cx='100' cy='120' r='3.5'/><circle cx='200' cy='180' r='3.5'/><circle cx='300' cy='120' r='3.5'/><circle cx='400' cy='180' r='3.5'/><circle cx='500' cy='120' r='3.5'/><circle cx='200' cy='300' r='3.5'/><circle cx='400' cy='300' r='3.5'/><circle cx='100' cy='360' r='3.5'/><circle cx='300' cy='360' r='3.5'/><circle cx='500' cy='360' r='3.5'/><circle cx='200' cy='420' r='3.5'/><circle cx='400' cy='420' r='3.5'/><circle cx='200' cy='540' r='3.5'/><circle cx='400' cy='540' r='3.5'/></g></svg>");
  background-size: auto 110%;
  background-position: right -40px center;
  background-repeat: no-repeat;
  mask-image: linear-gradient(to left, black 20%, transparent 90%);
  -webkit-mask-image: linear-gradient(to left, black 20%, transparent 90%);
}

/* Half-tone dot field — Approach */
.hero-tex-dots::before {
  background-image: radial-gradient(circle, rgba(18, 24, 38, 0.18) 1px, transparent 1.4px);
  background-size: 18px 18px;
  background-position: 0 0;
  mask-image: linear-gradient(to right, transparent 0%, black 60%, black 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 60%, black 100%);
}

/* Blueprint grid — Founders */
.hero-tex-grid::before {
  background-image:
    linear-gradient(rgba(18, 24, 38, 0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 24, 38, 0.10) 1px, transparent 1px);
  background-size: 48px 48px, 48px 48px;
  background-position: -1px -1px;
  mask-image: radial-gradient(ellipse at 80% 50%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 80% 50%, black 0%, transparent 70%);
}

/* Hairline diagonal — Team */
.hero-tex-hatch::before {
  background-image: repeating-linear-gradient(
    -45deg,
    transparent 0,
    transparent 14px,
    rgba(18, 24, 38, 0.07) 14px,
    rgba(18, 24, 38, 0.07) 15px
  );
  mask-image: linear-gradient(to bottom right, transparent 30%, black 100%);
  -webkit-mask-image: linear-gradient(to bottom right, transparent 30%, black 100%);
}

/* Editorial column rules — Insights */
.hero-tex-columns::before {
  background-image: linear-gradient(90deg, rgba(18, 24, 38, 0.08) 1px, transparent 1px);
  background-size: 25% 100%;
  mask-image: linear-gradient(to bottom, transparent 0%, black 30%, black 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 30%, black 100%);
}

/* Concentric arcs — News */
.hero-tex-arcs::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600' fill='none' stroke='%23121826' stroke-width='1' opacity='0.12'><circle cx='600' cy='300' r='80'/><circle cx='600' cy='300' r='150'/><circle cx='600' cy='300' r='220'/><circle cx='600' cy='300' r='290'/><circle cx='600' cy='300' r='360'/><circle cx='600' cy='300' r='430'/><circle cx='600' cy='300' r='500'/></svg>");
  background-size: 100% 100%;
  background-position: right center;
  background-repeat: no-repeat;
}
.hero-watermark-bg {
  position: absolute;
  top: 50%;
  right: -2vw;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(280px, 32vw, 460px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: color-mix(in oklab, var(--ink) 6%, transparent);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.hero-watermark > * { position: relative; z-index: 1; }
.hero-watermark > .hero-watermark-bg { z-index: 0; }
.hero-eyebrow-row {
  display: flex; justify-content: space-between;
  align-items: end;
  border-top: 1px solid var(--rule);
  padding-top: 14px;
  margin-bottom: 48px;
}

/* Variant A — editorial display */
.heroA-display {
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 108px);
  line-height: 0.88;
  letter-spacing: -0.035em;
  font-weight: 400;
}
.heroA-display em { font-style: italic; color: var(--ink-2); }
.heroA-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 88px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}
.heroA-meta-item .num {
  font-family: var(--serif);
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.heroA-meta-item .lbl {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 12px;
}

/* Variant B — split with portfolio rail */
.heroB { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 64px; align-items: end; }
.heroB-title {
  font-family: var(--serif);
  font-size: clamp(56px, 8vw, 124px);
  line-height: 0.96;
  letter-spacing: -0.025em;
}
.heroB-title em { font-style: italic; }
.heroB-rail {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--rule);
}
.heroB-row {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
}
.heroB-row .idx { font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.heroB-row .nm { font-size: 16px; font-weight: 500; }
.heroB-row .desc { font-size: 13px; color: var(--ink-3); grid-column: 2; margin-top: 2px; }
.heroB-row .badge {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  padding: 4px 8px;
  border: 1px solid var(--rule-strong);
  border-radius: 3px;
  color: var(--ink-2);
}
.heroB-row .badge.acq { background: var(--accent); color: var(--accent-ink); border-color: transparent; }

/* Variant C — manifesto with mark */
.heroC { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: stretch; min-height: 70vh; }
.heroC-left { display: flex; flex-direction: column; justify-content: space-between; }
.heroC-quote {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  text-wrap: pretty;
}
.heroC-quote em { font-style: italic; color: var(--ink-2); }
.heroC-right {
  background: var(--primary);
  color: var(--primary-ink);
  border-radius: 4px;
  padding: 56px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.heroC-right .markBig {
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.95;
}
.heroC-right .markBig::after {
  content: "";
  position: absolute;
  left: -90px;
  top: 40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--accent-2);
}
.heroC-right .markRing {
  position: absolute;
  right: 28px; bottom: 28px;
  width: 180px; height: 180px;
  border-radius: 50%;
  border: 1.5px solid color-mix(in oklab, var(--primary-ink) 30%, transparent);
}
.heroC-right h2 {
  font-family: var(--serif);
  font-size: 44px;
  line-height: 1.02;
  font-weight: 400;
  letter-spacing: -0.02em;
  position: relative; z-index: 1;
}
.heroC-stats {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  padding-top: 28px;
  border-top: 1px solid color-mix(in oklab, var(--primary-ink) 18%, transparent);
}
.heroC-stats .num { font-family: var(--serif); font-size: 48px; line-height: 1; }
.heroC-stats .lbl { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.7; margin-top: 8px; }

/* ===== THESIS / FEATURE BLOCKS ===== */
.section-heading {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
  margin-bottom: 64px;
  align-items: end;
}
.thesis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}
.thesis-card {
  padding: 40px 32px 48px 0;
  border-right: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: 16px;
}
.thesis-glyph { width: 56px; height: 56px; color: var(--ink); margin-bottom: 4px; }
.thesis-card:last-child { border-right: none; padding-right: 0; }
.thesis-card .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink-3);
}
.thesis-card h3 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.08;
}
.thesis-card p { color: var(--ink-2); margin: 0; max-width: 38ch; }

/* ===== PORTFOLIO ===== */
.port-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.port-chip {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--rule-strong);
  font-size: 13px;
  background: transparent;
  color: var(--ink-2);
  transition: all 0.15s ease;
}
.port-chip:hover { border-color: var(--ink); color: var(--ink); }
.port-chip.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.port-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule);
}
.port-card {
  padding: 32px 28px 36px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: 12px;
  position: relative;
  background: var(--bg);
  transition: background 0.15s ease;
  min-height: 240px;
}
.port-card:nth-child(4n) { border-right: none; }
.port-card:hover { background: var(--bg-alt); }
.port-card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.port-card { position: relative; overflow: hidden; }
.port-hover {
  position: absolute;
  inset: 0;
  background: var(--bg-alt);
  color: var(--ink);
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}
.port-card-link:hover .port-hover,
.port-card-link:focus-visible .port-hover { opacity: 1; }
.port-hover-name {
  font-family: var(--font-serif, "Instrument Serif", Georgia, serif);
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  color: var(--ink);
}
.port-hover-desc {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-2);
  flex: 1;
}
.port-hover-cta {
  font-family: var(--font-mono, "JetBrains Mono", ui-monospace, monospace);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.port-card .lockup {
  height: 140px;
  display: flex;
  align-items: center;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 8px;
}
/* fixed-container normalization: gives each logo a stable
   coordinate space so scale/translateY transforms are
   self-contained and don't affect surrounding layout.
   Note: no stacking-context properties (contain, isolation)
   here — they would trap mix-blend-mode and prevent white
   logo backgrounds from blending into the card. */
.logo-frame {
  position: relative;
  width: 100%;
  overflow: visible;
  height: 100%;
  display: flex;
  align-items: center;
}
.port-logo {
  max-height: 48px;
  max-width: 70%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: left center;
  mix-blend-mode: multiply;
}
.port-logo.port-logo-lg {
  max-height: 68px;
  max-width: 85%;
}
.port-logo.port-logo-xl {
  max-height: 120px;
  max-width: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.port-logo.port-logo-2xl {
  max-height: 150px;
  max-width: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
@media (prefers-color-scheme: dark) {
  .port-logo { mix-blend-mode: normal; }
}
.team-portrait[style*="url"]::after { display: none; }
.team-portrait[style*="url"] { background-blend-mode: multiply; background-color: var(--bg); }
.port-card .lockup .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 10px;
  box-shadow: 14px 0 0 var(--accent-2);
  margin-right: 24px;
}
.port-card .name {
  font-size: 16px; font-weight: 600; color: var(--ink);
}
.port-card .desc {
  font-size: 14px; color: var(--ink-2); line-height: 1.45; margin: 0;
  flex: 1;
}
.port-card .meta-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 12px; font-size: 11px; color: var(--ink-3);
  font-family: var(--mono); letter-spacing: 0.1em; text-transform: uppercase;
}
.port-badge {
  position: absolute;
  top: 22px;
  right: -50px;
  transform: rotate(45deg);
  width: 180px;
  text-align: center;
  font-family: var(--mono); font-size: 10px;
  padding: 6px 0; letter-spacing: 0.18em; text-transform: uppercase;
  background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
  z-index: 2;
  pointer-events: none;
}
.port-badge.active { background: transparent; color: var(--ink-3); border: 1px solid var(--rule-strong); }

/* ===== TEAM ===== */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.team-grid.team-grid-row4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .team-grid.team-grid-row4 { grid-template-columns: repeat(2, 1fr); } }
.team-grid.team-grid-tight { grid-template-columns: repeat(4, 1fr); }
.team-grid.team-grid-pharma {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  background: var(--bg);
}
.team-grid.team-grid-pharma .team-card {
  flex: 0 0 calc(25% - 1px);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.team-grid.team-grid-pharma .team-card:nth-child(4n) { border-right: none; }
.team-grid.team-grid-pharma .team-card:last-child { border-right: none; }
.team-grid.team-grid-tight .team-card { padding: 24px 20px; min-height: 240px; gap: 14px; }
.team-grid.team-grid-tight .team-portrait { width: 100px; height: 100px; }
.team-grid.team-grid-tight .nm { font-size: 20px; }
.team-grid.team-grid-tight .role { font-size: 11px; }
@media (max-width: 1100px) { .team-grid.team-grid-tight { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px) { .team-grid.team-grid-tight { grid-template-columns: repeat(2, 1fr); } }
.team-card {
  background: var(--bg);
  padding: 32px;
  display: flex; flex-direction: column; gap: 16px;
  min-height: 320px;
}
.team-portrait {
  width: 140px;
  height: 140px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: linear-gradient(180deg, color-mix(in oklab, var(--primary) 18%, var(--bg)), color-mix(in oklab, var(--primary) 4%, var(--bg)));
  background-color: var(--bg);
  background-size: cover;
  background-position: center top;
  background-blend-mode: multiply;
  position: relative;
  overflow: hidden;
  flex: none;
}
.team-portrait::after {
  content: attr(data-initials);
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: 48px;
  color: color-mix(in oklab, var(--primary) 35%, var(--bg));
  letter-spacing: -0.04em;
}
.team-card .nm { font-family: var(--serif); font-size: 28px; font-weight: 400; letter-spacing: -0.015em; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.team-card .li-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: color-mix(in oklab, var(--primary) 10%, transparent);
  color: var(--primary);
  text-decoration: none;
  transition: background 120ms ease, color 120ms ease;
  flex: none;
  position: relative;
  top: 1px;
}
.team-card .li-link:hover {
  background: var(--primary);
  color: #fff;
}
.team-card .role { font-size: 13px; color: var(--ink-3); font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.12em; }
.team-card .bio { font-size: 14px; color: var(--ink-2); line-height: 1.5; }

/* Managing partner bio click popup */
.team-card--hoverable { position: relative; }
.team-bio-overlay {
  position: absolute;
  top: 48px;
  left: 48px;
  right: -8px;
  bottom: -8px;
  background: oklch(0.96 0.005 220);
  color: var(--ink);
  padding: 16px 18px 14px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0,0,0,0.14), 0 2px 8px rgba(0,0,0,0.08);
  border: 1px solid var(--rule);
  z-index: 10;
}
.team-bio-overlay--open { opacity: 1; pointer-events: auto; }
.team-bio-overlay-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 22px;
  line-height: 1;
  color: var(--ink-3);
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
}
.team-bio-overlay-close:hover { background: var(--rule); color: var(--ink); }
.team-bio-overlay-inner { display: flex; flex-direction: column; gap: 10px; height: 100%; }
.team-bio-overlay .role { color: var(--ink-3); font-size: 11px; }
.team-bio-overlay-name {
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: -0.015em;
  line-height: 1.1;
  color: var(--ink);
}
.team-bio-overlay-text {
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-2);
  flex: 1;
  margin: 0;
}
.team-bio-overlay-li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-family: var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  text-decoration: none;
  margin-top: 4px;
}
.team-bio-overlay-li:hover { text-decoration: underline; }

/* ===== FOOTER ===== */
.footer {
  background: var(--primary);
  color: var(--primary-ink);
  padding: var(--pad-section) var(--pad-x) 32px;
  position: relative;
}
.footer-display {
  font-family: var(--serif);
  font-size: clamp(56px, 9vw, 144px);
  line-height: 0.94;
  letter-spacing: -0.03em;
  margin-bottom: 64px;
}
.footer-display em { font-style: italic; opacity: 0.7; }
.footer-cols { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 48px; padding-top: 40px; border-top: 1px solid color-mix(in oklab, var(--primary-ink) 20%, transparent); }
.footer-cols h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.6; margin-bottom: 16px; font-weight: 500; }
.footer-cols a, .footer-cols div { font-size: 15px; color: var(--primary-ink); opacity: 0.85; display: block; padding: 4px 0; }
.footer-cols a:hover { opacity: 1; }
.footer-bottom {
  display: flex; justify-content: space-between; margin-top: 80px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; opacity: 0.55;
}

/* ===== APPROACH PAGE ===== */
.approach-numbered {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}
.approach-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  padding: 40px 32px 40px 0;
  gap: 24px;
  border-bottom: 1px solid var(--rule);
}
.approach-row:nth-child(odd) { border-right: 1px solid var(--rule); padding-right: 40px; }
.approach-row .num { font-family: var(--serif); font-size: 56px; line-height: 1; color: var(--accent); font-style: italic; position: relative; }
.approach-row .num::before { content: ""; display: block; width: 9px; height: 9px; border-radius: 50%; background: currentColor; margin-bottom: 14px; }
.approach-row .num::after { content: ""; display: block; width: 1px; height: 80px; background: var(--rule); margin-left: 4px; margin-top: 14px; }
.approach-row:nth-child(even) .num { color: var(--accent-2); }
.approach-row h4 { font-family: var(--serif); font-size: 28px; font-weight: 400; line-height: 1.1; margin-bottom: 12px; letter-spacing: -0.015em; }
.approach-row p { color: var(--ink-2); margin: 0; max-width: 42ch; }

/* ===== ENTREPRENEURS ===== */
.entrepreneur-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: stretch;
  padding-bottom: var(--pad-section);
}
.entr-card {
  background: var(--bg-alt);
  border: 1px solid var(--rule);
  padding: 48px 40px;
  border-radius: 4px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.entr-card h3 { font-family: var(--serif); font-size: 32px; font-weight: 400; letter-spacing: -0.015em; line-height: 1.1; }
.checklist { display: flex; flex-direction: column; justify-content: space-between; gap: 12px; margin-top: 24px; flex: 1; }
.entr-card > div:first-child { flex-shrink: 0; }
.checklist-item {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 15px;
  color: var(--ink-2);
}
.checklist-item:last-child { border-bottom: none; }
.check-label { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); }
.check-mark {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  font-weight: 600;
}
.checklist-item:nth-child(even) .check-mark {
  background: var(--accent-2);
  color: #0e1f0a;
}

.pitch-form {
  background: var(--primary);
  color: var(--primary-ink);
  padding: 56px;
  border-radius: 4px;
  display: flex; flex-direction: column; gap: 20px;
}
.pitch-form label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.7; display: block; margin-bottom: 6px; }
.pitch-form input, .pitch-form textarea, .pitch-form select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid color-mix(in oklab, var(--primary-ink) 30%, transparent);
  padding: 8px 0;
  color: var(--primary-ink);
  font: inherit;
  font-size: 16px;
  outline: none;
  transition: border-color 0.15s ease;
}
.pitch-form input:focus, .pitch-form textarea:focus, .pitch-form select:focus {
  border-color: var(--accent);
}
.pitch-form textarea { resize: vertical; min-height: 60px; }
.pitch-form select option { color: var(--ink); }
.pitch-form .btn {
  background: var(--accent); color: var(--accent-ink); border-color: var(--accent);
  align-self: flex-start;
}
.pitch-checklist {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.pitch-checklist li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: baseline;
  padding: 16px 0;
  border-top: 1px solid color-mix(in oklab, var(--primary-ink) 18%, transparent);
}
.pitch-checklist li:last-child { border-bottom: 1px solid color-mix(in oklab, var(--primary-ink) 18%, transparent); }
.pitch-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  opacity: 0.55;
}
.pitch-checklist li > div { display: flex; flex-direction: column; gap: 4px; }
.pitch-checklist strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.pitch-checklist span {
  font-size: 14.5px;
  line-height: 1.5;
  opacity: 0.78;
}
.pitch-mail-cta {
  margin-top: 8px;
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.01em;
  padding: 18px 20px;
  border: 1px solid color-mix(in oklab, var(--primary-ink) 25%, transparent);
  border-radius: 6px;
  background: color-mix(in oklab, var(--primary-ink) 6%, transparent);
  word-break: break-all;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

/* Deck upload */
.deck-drop {
  display: block;
  cursor: pointer;
  border: 1px dashed color-mix(in oklab, var(--primary-ink) 30%, transparent);
  border-radius: 6px;
  padding: 18px 18px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.deck-drop:hover {
  border-color: var(--accent);
  background: color-mix(in oklab, var(--accent) 5%, transparent);
}
.deck-drop input[type="file"] { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.deck-drop-inner { display: flex; align-items: center; gap: 14px; }
.deck-drop-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 4px;
  background: color-mix(in oklab, var(--primary-ink) 8%, transparent);
  color: var(--primary-ink);
}
.deck-drop-filled .deck-drop-icon { background: var(--accent); color: var(--accent-ink); }
.deck-drop-text { min-width: 0; }
.deck-drop-title { font-size: 14px; font-weight: 500; }
.deck-drop-filename { font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.deck-drop-meta { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; opacity: 0.7; margin-top: 4px; text-transform: none; }
.deck-drop-remove {
  background: none; border: 0; padding: 0; color: inherit;
  font: inherit; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em;
  text-decoration: underline; cursor: pointer; opacity: 0.9;
}
.deck-drop-remove:hover { color: var(--accent); opacity: 1; }

/* ===== FAQ ===== */
.faq-list {
  border-top: 1px solid var(--rule);
}
.faq-item {
  border-bottom: 1px solid var(--rule);
}
.faq-q {
  width: 100%;
  display: grid;
  grid-template-columns: 60px 1fr 32px;
  align-items: start;
  gap: 24px;
  background: none;
  border: none;
  padding: 32px 0;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: var(--ink);
  transition: padding 0.2s ease;
}
.faq-q:hover { padding-inline: 12px; }
.faq-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--ink-3);
  text-transform: uppercase;
  padding-top: 8px;
}
.faq-q-text {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.faq-toggle {
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1;
  color: var(--accent);
  text-align: right;
  padding-top: 4px;
  font-weight: 300;
}
.faq-item.open .faq-q-text { color: var(--accent); }
.faq-a {
  display: grid;
  grid-template-columns: 60px 1fr 32px;
  gap: 24px;
  padding: 0 0 40px;
}
.faq-a p {
  grid-column: 2;
  color: var(--ink-2);
  max-width: 64ch;
  font-size: 17px;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 880px) {
  .faq-q { grid-template-columns: 40px 1fr 24px; gap: 12px; }
  .faq-q-text { font-size: 20px; }
  .faq-a { grid-template-columns: 40px 1fr 24px; gap: 12px; }
}
/* ===== AMBIENT PHOTO TREATMENTS ===== */
.hero-photo-band {
  position: relative;
  isolation: isolate;
  padding-block: 96px;
  overflow: hidden;
}
.hero-photo-band-img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 40%;
  filter: grayscale(0.4) contrast(1.05) brightness(0.8);
  opacity: 0.75;
  z-index: -1;
}
.hero-photo-band::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--bg) 0%, transparent 30%, transparent 70%, var(--bg) 100%);
  z-index: -1;
  pointer-events: none;
}
.hero-photo-band-inner { max-width: 60ch; }
.hero-photo-band .eyebrow { color: var(--accent); }
.hero-photo-band-h {
  font-family: var(--serif); font-size: clamp(32px, 4vw, 48px);
  font-weight: 400; letter-spacing: -0.02em; line-height: 1.05;
  margin-top: 16px;
}
.hero-photo-band-inner p {
  margin-top: 20px; max-width: 56ch; line-height: 1.55; color: var(--ink-2);
}
.hero-photo-band--micro .hero-photo-band-img,
.hero-photo-band--portrait .hero-photo-band-img {
  filter: none;
  opacity: 1;
  display: block;
}
.hero-photo-band--micro .hero-photo-band-img svg,
.hero-photo-band--portrait .hero-photo-band-img > * { opacity: 0.55; }
.portrait-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2px;
  height: 100%;
  width: 100%;
}
.portrait-tile { background: var(--surface); }
.portrait-tile svg { width: 100%; height: 100%; display: block; }
@media (max-width: 880px) {
  .portrait-grid { grid-template-columns: repeat(3, 1fr); }
}
.micro-caption {
  margin-top: 24px !important;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-3) !important;
  text-transform: uppercase;
  padding-top: 16px;
  border-top: 1px dashed var(--rule);
  max-width: 60ch;
}

.approach-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: stretch;
}
.approach-split-img {
  min-height: 360px;
  background-size: cover;
  background-position: center;
  filter: grayscale(1) contrast(1.05) brightness(0.9);
  border: 1px solid var(--rule);
}
.approach-split-text { display: flex; flex-direction: column; justify-content: center; }
.approach-split-h {
  font-family: var(--serif); font-size: clamp(28px, 3vw, 40px);
  font-weight: 400; letter-spacing: -0.02em; line-height: 1.1;
  margin-top: 16px;
}
.approach-split-text p {
  margin-top: 20px; line-height: 1.6; color: var(--ink-2); max-width: 50ch;
}
@media (max-width: 880px) {
  .approach-split { grid-template-columns: 1fr; gap: 32px; }
}
/* ===== NEWS ===== */
.news-list { border-top: 1px solid var(--rule); }

.insight-hero-gfx {
  background: var(--cream-warm);
  padding: 40px 32px;
  margin: 32px 0 16px;
  border: 1px solid var(--rule);
}
.news-row { color: inherit; text-decoration: none;
  display: grid;
  grid-template-columns: 140px 1fr 200px 32px;
  gap: 32px;
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
  align-items: center;
  cursor: pointer;
  transition: padding 0.2s ease;
}
.news-row:hover { padding-inline: 12px; }
.news-row .date { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--ink-3); text-transform: uppercase; }
.news-row .headline { font-family: var(--serif); font-size: 24px; line-height: 1.15; letter-spacing: -0.015em; }
.news-row .tag { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; color: var(--ink-3); text-transform: uppercase; text-align: right; }
.news-row .arrow { font-size: 20px; color: var(--ink-3); }

.news-year-divider {
  position: relative;
  padding: 48px 0 24px;
  border-bottom: 1px solid var(--rule);
}
.news-year {
  font-family: var(--serif);
  font-size: 96px;
  line-height: 1;
  font-style: italic;
  color: var(--ink-3);
  letter-spacing: -0.03em;
  opacity: 0.35;
  display: block;
}
.news-list > .news-year-divider:first-child { padding-top: 24px; }

.news-row .headline { position: relative; padding-left: 18px; }
.news-row .headline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink-3);
}
.news-row .headline.pip-fund::before { background: var(--accent); }
.news-row .headline.pip-milestone::before { background: var(--accent-2); }
.news-row .headline.pip-exit::before { background: #1f8a5b; }
.news-row .headline.pip-press::before { background: var(--ink-2); }

/* utility */
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.muted { color: var(--ink-3); }
.divider-rule { height: 1px; background: var(--rule); margin: 32px 0; }

/* ticker */
.ticker {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
  padding: 16px 0;
  background: var(--bg);
  display: flex;
  gap: 64px;
  white-space: nowrap;
}
.ticker-track {
  display: flex; gap: 64px;
  animation: ticker 50s linear infinite;
  flex: none;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.ticker-track .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); align-self: center; }
.ticker-track .item:nth-child(even) .dot { background: var(--accent-2); }
.ticker-track .item { display: inline-flex; align-items: center; gap: 16px; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* responsive */
@media (max-width: 1100px) {
  .heroA-meta { grid-template-columns: repeat(2, 1fr); }
  .heroB { grid-template-columns: 1fr; gap: 48px; }
  .heroC { grid-template-columns: 1fr; min-height: auto; }
  .thesis-grid { grid-template-columns: 1fr; }
  .thesis-card { border-right: none; border-bottom: 1px solid var(--rule); padding-right: 0; padding-bottom: 32px; }
  .thesis-card:last-child { border-bottom: none; }
  .port-grid { grid-template-columns: repeat(2, 1fr); }
  .port-card:nth-child(4n) { border-right: 1px solid var(--rule); }
  .port-card:nth-child(2n) { border-right: none; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .approach-numbered { grid-template-columns: 1fr; }
  .approach-row:nth-child(odd) { border-right: none; padding-right: 0; }
  .entrepreneur-hero { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-links.mobile-open { display: flex; flex-direction: column; gap: 8px; position: absolute; top: 100%; right: var(--pad-x); padding: 20px 24px; background: var(--bg); border: 1px solid var(--rule); border-radius: 4px; min-width: 220px; box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
  .nav-links.mobile-open .nav-link { padding: 8px 0; font-size: 16px; }
  .nav-links.mobile-open .nav-link.active::after { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 700px) {
  .port-grid { grid-template-columns: 1fr; }
  .port-card { border-right: none !important; }
  .team-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .news-row { grid-template-columns: 1fr; gap: 8px; }
  .news-row .arrow { display: none; }
  .section-heading { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .home-quote-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
}

.connect-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 0;
  border: 1px solid var(--rule);
  background: var(--rule);
  min-height: 580px;
}
.connect-info {
  background: var(--bg);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.connect-block { display: flex; flex-direction: column; gap: 10px; }
.connect-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.connect-address {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.connect-lede {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
}
.connect-mail {
  font-size: 16px;
  font-weight: 500;
  color: var(--primary);
  text-decoration: none;
  align-self: flex-start;
}
.connect-mail:hover { text-decoration: underline; }
.connect-dir {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  text-decoration: none;
  align-self: flex-start;
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.connect-dir:hover { text-decoration: underline; }
.connect-map {
  background: var(--surface, #fff);
  position: relative;
  min-height: 580px;
}
.connect-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(35%) contrast(0.95);
}
@media (max-width: 900px) {
  .connect-grid { grid-template-columns: 1fr; min-height: 0; }
  .connect-map { min-height: 420px; }
}


/* ===== INSIGHTS ===== */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 0;
  border-top: 1px solid var(--rule);
}
.insight-card {
  display: flex; flex-direction: column;
  padding: 32px 28px 28px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  color: inherit; text-decoration: none;
  background: transparent;
  transition: background 0.15s ease;
  min-height: 280px;
}
.insight-card:hover { background: color-mix(in oklab, var(--ink) 4%, transparent); }
.insight-card-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.voice-pill {
  display: inline-block;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase; font-weight: 600;
  padding: 4px 10px; border-radius: 999px;
  border: 1px solid currentColor;
}
.voice-analytical { color: var(--accent); }
.voice-contrarian { color: #c14545; }
.voice-explainer { color: #6a8a3a; }
.insight-card-title {
  font-family: var(--serif); font-size: 26px; font-weight: 400;
  letter-spacing: -0.015em; line-height: 1.15;
  margin: 0 0 14px;
}
.insight-card-dek { opacity: 0.75; font-size: 15px; line-height: 1.5; margin: 0 0 auto; }
.insight-card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; }
.insight-card-foot .mono { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; opacity: 0.7; }
.insight-card-foot .arrow { opacity: 0.5; transition: transform 0.15s, opacity 0.15s; }
.insight-card:hover .arrow { transform: translateX(4px); opacity: 1; }

/* article */
.insight-article { max-width: 760px; margin: 0 auto; padding-top: 80px; padding-bottom: 96px; }
.insight-title {
  font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em;
  font-size: clamp(36px, 5vw, 56px); line-height: 1.05;
  margin: 24px 0 18px;
}
.insight-dek { font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.4; opacity: 0.8; margin: 0 0 32px; }
.insight-byline { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.6; padding-bottom: 32px; border-bottom: 1px solid var(--rule); }
.insight-body { font-size: 18px; line-height: 1.65; padding-top: 32px; }
.insight-body p { margin: 0 0 20px; }
.insight-body p:last-child { margin-bottom: 0; }
.insight-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--rule); flex-wrap: wrap; gap: 16px; }
