/* ============================================================
   650 Fund — Design System v2
   Fonts:  Hanken Grotesk (display/body) · Inter (nav)
   ============================================================ */

:root {
  /* Color */
  --navy: #201C44;
  --navy-soft: #2E2A56;
  --orange: #E79C48;
  --orange-dark: #C77A1F;
  --ink: #111827;
  --muted: #4B5563;
  --mist: #6B7280;
  --line: #E5E7EB;
  --cream: #F7F6F2;
  --white: #FFFFFF;
  --white-88: rgba(255, 255, 255, 0.88);
  --white-72: rgba(255, 255, 255, 0.72);
  --white-12: rgba(255, 255, 255, 0.12);

  /* Spacing — 8pt scale */
  --s-1: 0.5rem;   /*  8 */
  --s-2: 1rem;     /* 16 */
  --s-3: 1.5rem;   /* 24 */
  --s-4: 2rem;     /* 32 */
  --s-5: 3rem;     /* 48 */
  --s-6: 4rem;     /* 64 */
  --s-7: 6rem;     /* 96 */

  /* Section vertical rhythm — fluid */
  --section-y: clamp(3.5rem, 8vw, 6rem);

  /* Layout */
  --container: 1200px;
  --container-pad: clamp(1.25rem, 4vw, 2.5rem);

  /* Radii */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;

  /* Focus ring */
  --focus: 0 0 0 3px rgba(231, 156, 72, 0.45);
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; }

/* Visible focus for keyboard users */
a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: var(--r-sm);
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* Section padding modifiers — replace ad-hoc inline styles */
.section--joined-top    { padding-top: 0 !important; }
.section--joined-bottom { padding-bottom: 0 !important; }
.section--tight         { padding-block: var(--s-5) !important; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(180%) blur(8px);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: var(--s-3);
}

.logo-link { display: flex; align-items: center; flex-shrink: 0; }
.logo-img  { height: 40px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.main-nav a {
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  font-size: 0.9375rem;
  font-weight: 450;
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.main-nav a:hover     { background: var(--cream); }
.main-nav a.active    { background: var(--navy); color: var(--white); }

/* Header auth buttons */
.nav-auth {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.btn-auth {
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--navy);
  color: var(--navy);
  white-space: nowrap;
  transition: background 0.18s, color 0.18s;
}
.btn-auth:hover { background: var(--cream); }

.btn-auth-solid { background: var(--navy); color: var(--white); }
.btn-auth-solid:hover,
.btn-auth-solid.active { background: var(--navy-soft); color: var(--white); }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.12s, box-shadow 0.18s;
  text-decoration: none;
  line-height: 1.1;
  white-space: nowrap;
}
.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

/* Orange — darkened bg for WCAG AA (5.0:1 against white) */
.btn-orange         { background: var(--orange-dark); color: var(--white); }
.btn-orange:hover   { background: #A8631A; }

.btn-ghost          { background: transparent; color: var(--white); border-color: var(--white-72); }
.btn-ghost:hover    { background: var(--white-12); }

.btn-sm             { font-size: 0.875rem; padding: 9px 18px; }

/* ============================================================
   TYPOGRAPHY — fluid scale
   ============================================================ */
.h1-hero {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: var(--s-4);
}

.h1-page {
  font-size: clamp(1.875rem, 3.4vw, 2.625rem);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.01em;
  margin-bottom: var(--s-3);
}

.section-headline,
.section-headline-light {
  font-size: clamp(1.5rem, 2.8vw, 2.125rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: var(--s-5);
  max-width: 30ch;
}

/* Supporting line directly under a section headline */
.section-sub {
  font-size: 1.0625rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 58ch;
  margin: calc(-1 * var(--s-4)) 0 var(--s-5);
}
.section-headline       { color: var(--ink); }
.section-headline-light { color: var(--white); }

/* ============================================================
   HERO  (home + fund ii)
   ============================================================ */
/* Inset rounded hero card (Übermorgen pattern): the hero floats on the
   page background instead of bleeding edge-to-edge */
.hero-cta {
  position: relative;
  min-height: clamp(420px, 58vh, 560px);
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-color: var(--navy);
  margin: var(--s-2) var(--s-2) 0;
  border-radius: var(--r-xl);
  overflow: hidden;
}

/* Inner-page hero variant — less vertical bulk than the homepage hero */
.hero-compact { min-height: clamp(320px, 42vh, 440px); }
.hero-compact .hero-content { padding-block: clamp(3rem, 6vw, 4.5rem); }

/* Atmospheric overlay: navy depth + a warm orange glow bleeding in from
   the top-right corner (Shorooq treatment, in 650 colors) */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 88% -15%, rgba(231, 156, 72, 0.38) 0%, rgba(231, 156, 72, 0.10) 38%, transparent 62%),
    linear-gradient(180deg, rgba(32, 28, 68, 0.30) 0%, rgba(26, 22, 56, 0.62) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 7rem) var(--container-pad);
  color: var(--white);
  width: 100%;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin-bottom: var(--s-4);
}

/* Tracked uppercase kicker above hero headlines */
.hero-kicker {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: var(--s-3);
}

/* Cream→orange gradient sweep on statement text (Town Hall pattern) */
.grad-text {
  background: linear-gradient(92deg, var(--white) 0%, #F3D9B4 45%, var(--orange) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Marker highlight on a key phrase (Artemis pattern, in 650 orange) */
.hl-marker {
  background: linear-gradient(100deg, rgba(231, 156, 72, 0.35) 0%, rgba(231, 156, 72, 0.55) 100%);
  border-radius: 6px;
  padding: 0.05em 0.18em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.hero-content.center    { text-align: center; }
.hero-content.left-text { text-align: left; max-width: 820px; }

.hero-body {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  font-weight: 400;
  color: var(--white-88);
  max-width: 640px;
  margin: 0 auto var(--s-5);
  line-height: 1.7;
}
.hero-content.left-text .hero-body { margin-left: 0; }

/* ============================================================
   PAGE HEADER  (inner pages)
   ============================================================ */
.page-header {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  background-color: var(--navy);
  padding-block: clamp(3.5rem, 8vw, 5.5rem);
  margin: var(--s-2) var(--s-2) 0;
  border-radius: var(--r-xl);
  overflow: hidden;
}

.page-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(32, 28, 68, 0.35) 0%, rgba(32, 28, 68, 0.60) 100%);
}

.page-header .container {
  position: relative;
  z-index: 1;
  color: var(--white);
  width: 100%; /* flex item would otherwise shrink-to-fit and float centered */
}

.page-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-bottom: var(--s-3);
}

.page-header p {
  font-size: 1rem;
  font-weight: 400;
  color: var(--white-88);
  max-width: 72ch;
  margin-bottom: var(--s-2);
  line-height: 1.7;
}

.page-header-solid {
  min-height: auto;
  background-image: none !important;
  padding-block: clamp(3rem, 6vw, 4.5rem);
  background:
    radial-gradient(110% 100% at 90% -20%, rgba(231, 156, 72, 0.28) 0%, transparent 55%),
    var(--navy);
}
.page-header-solid .page-header-overlay { display: none; }

/* ============================================================
   DARK CTA SECTIONS
   ============================================================ */
.cta-dark {
  background: var(--navy);
  color: var(--white);
  padding-block: var(--section-y);
}

.cta-has-bg {
  background-size: cover;
  background-position: center;
  position: relative;
}
.cta-has-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(32, 28, 68, 0.55) 0%, rgba(32, 28, 68, 0.75) 100%);
  pointer-events: none;
}
.cta-has-bg > * { position: relative; z-index: 1; }

.cta-content           { max-width: 820px; }
.cta-content.left-text { margin: 0; }

/* Full dark page block (fund i): rounded inset like the heroes,
   with the same warm corner glow */
.dark-page {
  margin: var(--s-2) var(--s-2) 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  background:
    radial-gradient(110% 80% at 90% -15%, rgba(231, 156, 72, 0.25) 0%, transparent 55%),
    var(--navy);
}

.cta-dark h1 {
  font-size: clamp(1.875rem, 3.4vw, 2.625rem);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: var(--s-3);
}

.cta-dark h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.125rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: var(--s-4);
}

.cta-dark p {
  font-size: 1.0625rem;
  font-weight: 400;
  color: var(--white-88);
  margin-bottom: var(--s-3);
  line-height: 1.75;
  max-width: 68ch;
}

.cta-dark .bullet-list {
  margin: var(--s-3) 0 var(--s-4);
  padding: 0;
}
.cta-dark .bullet-list li {
  color: var(--white-88);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}
.cta-dark .bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
}

/* ============================================================
   LIGHT SECTIONS  (service / values lists)
   ============================================================ */
.service-list { padding-block: var(--section-y); }

/* Sections go white; the cards themselves carry the tint
   (Übermorgen pattern: white page, tinted rounded cards) */
.bg-white   { background: var(--white); }
.bg-light   { background: var(--white); padding-block: var(--section-y); }
.bg-light-3 { background: var(--white); padding-block: var(--section-y); }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3);
}

.service-item h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--s-2);
  line-height: 1.3;
  letter-spacing: -0.005em;
}

.service-item p {
  font-size: 1rem;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: var(--s-3);
}

.service-item .btn { margin-top: auto; }

/* Tinted rounded card */
.service-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--cream);
  border-radius: var(--r-lg);
  padding: var(--s-4);
  transition: transform 0.2s ease;
}
.service-item:hover { transform: translateY(-2px); }

/* Editorial split row (Town Hall pattern): heading column left,
   prose column right */
.split-row {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 1.7fr;
  gap: var(--s-4) var(--s-6);
  align-items: start;
}
.split-row > h2,
.split-row > h1,
.split-row > div > h1 { margin-bottom: 0; }

/* Light box: cream rounded panel (for split-row content blocks) */
.light-box {
  background: var(--cream);
  border-radius: var(--r-xl);
  padding: clamp(2rem, 4vw, 3.5rem);
}
.light-box h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.125rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.light-box p {
  font-size: 1.0625rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: var(--s-3);
  max-width: 68ch;
}
.light-box .btn { margin-top: var(--s-2); }

/* ============================================================
   PILLARS  (fund ii — deck-style navy cards)
   ============================================================ */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3);
  margin-bottom: var(--s-3);
}

.pillar-card {
  background: var(--navy);
  border-radius: var(--r-md);
  padding: var(--s-4);
  border: 1px solid var(--navy-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pillar-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -16px rgba(32, 28, 68, 0.4);
}

.pillar-card h3 {
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: var(--s-2);
  letter-spacing: -0.005em;
}

.pillar-card p {
  font-size: 1rem;
  color: var(--white-88);
  line-height: 1.65;
}

/* ============================================================
   PROSE SECTION  (light long-form, e.g. fund ii thesis)
   ============================================================ */
.prose-section { padding-block: var(--section-y); }

.prose-content { max-width: 820px; }

.prose-content h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.125rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: var(--s-4);
}

.prose-content p {
  font-size: 1.0625rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: var(--s-3);
  max-width: 68ch;
}

.prose-content .btn { margin-top: var(--s-2); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section { padding-block: var(--section-y); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--s-6);
  align-items: start;
}

.contact-alt {
  font-size: 1rem;
  color: var(--muted);
  margin-top: var(--s-3);
}
.contact-alt a { color: var(--orange-dark); font-weight: 600; }

.contact-form { display: flex; flex-direction: column; gap: var(--s-3); }

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

.form-row label {
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
}

.form-row input,
.form-row textarea {
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--orange-dark);
  box-shadow: var(--focus);
}

.form-row textarea { resize: vertical; min-height: 140px; }

.contact-form .btn { align-self: flex-start; }

/* Honeypot — visually removed, still in the DOM for bots */
.form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-error {
  background: rgba(199, 122, 31, 0.1);
  border: 1px solid var(--orange-dark);
  color: var(--orange-dark);
  border-radius: var(--r-sm);
  padding: 12px 16px;
  font-size: 0.9375rem;
}

.form-success h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.125rem);
  font-weight: 500;
  color: var(--ink);
  margin-bottom: var(--s-3);
}
.form-success p { font-size: 1.0625rem; color: var(--muted); max-width: 58ch; line-height: 1.7; }
.form-success a { color: var(--orange-dark); font-weight: 600; }

/* ============================================================
   LP LOGIN
   ============================================================ */
.lp-login-section {
  padding-block: var(--section-y);
  background: var(--white);
}

.lp-login-card {
  max-width: 460px;
  margin: 0 auto;
  background:
    radial-gradient(120% 90% at 88% -15%, rgba(231, 156, 72, 0.30) 0%, transparent 60%),
    var(--navy);
  border-radius: var(--r-xl);
  padding: clamp(2rem, 5vw, 3.5rem);
  color: var(--white);
}

.lp-login-card h1 {
  font-size: clamp(1.5rem, 2.8vw, 1.875rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: var(--s-2);
}

.lp-login-sub {
  font-size: 0.9375rem;
  color: var(--white-72);
  line-height: 1.65;
  margin-bottom: var(--s-4);
}

.lp-login-form { display: flex; flex-direction: column; gap: var(--s-3); }

.lp-login-form .form-row label { color: var(--white-72); }

.lp-login-form .form-row input {
  background: var(--white-12);
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--white);
}
.lp-login-form .form-row input:focus { border-color: var(--orange); }

.lp-login-form .btn { align-self: stretch; margin-top: var(--s-1); }

.lp-login-card .form-error {
  background: rgba(231, 156, 72, 0.15);
  border-color: var(--orange);
  color: var(--white-88);
  margin-bottom: var(--s-3);
}
.lp-login-card .form-error a { color: var(--orange); font-weight: 600; }

.lp-login-note {
  margin-top: var(--s-4);
  font-size: 0.875rem;
  color: var(--white-72);
}
.lp-login-note a { color: var(--orange); font-weight: 600; }

/* ============================================================
   TEAM
   ============================================================ */
.team-section { padding-block: var(--section-y); }

.team-grid   { display: grid; gap: var(--s-4); }
/* Cap 2-up grids so their cards match the width of 3-up cards
   instead of ballooning to half the container */
.team-grid-2 { grid-template-columns: repeat(2, 1fr); max-width: 880px; }
.team-grid-3 { grid-template-columns: repeat(3, 1fr); }

.team-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.team-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -16px rgba(32, 28, 68, 0.18);
}

/* Circular portrait (matches the deck's team slides) instead of a
   full-width banner — keeps heads at human scale */
.team-photo-wrap {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--cream);
  margin: var(--s-4) 0 0 var(--s-3);
  flex-shrink: 0;
  border: 3px solid var(--cream);
}

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.team-info {
  padding: var(--s-3) var(--s-3) var(--s-3);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.team-info h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
  letter-spacing: -0.005em;
}

.team-info .role-tag {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--orange-dark);
  text-transform: uppercase;
  margin-bottom: var(--s-2);
}

.team-info p {
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: var(--s-2);
}

.team-info ul {
  margin: 0 0 var(--s-3) 0;
  padding: 0;
}

.team-info ul li {
  font-size: 0.875rem;
  color: var(--mist);
  padding: 2px 0;
  line-height: 1.55;
  padding-left: 14px;
  position: relative;
}
.team-info ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 1.5px;
  background: var(--orange);
}

.team-info .btn {
  margin-top: auto;
  align-self: flex-start;
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  letter-spacing: 0.01em;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.quotes-section { padding-block: var(--section-y); }

.quotes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-3);
}

blockquote {
  position: relative;
  padding: var(--s-3) var(--s-3) var(--s-3) calc(var(--s-3) + 8px);
  background: var(--white-12);
  border-radius: var(--r-md);
  border-left: 3px solid var(--orange);
}

blockquote p {
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--white-88);
  line-height: 1.7;
  margin-bottom: var(--s-2);
  font-style: italic;
}

blockquote cite {
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--orange);
  font-style: normal;
  text-transform: uppercase;
}

/* ============================================================
   FUND I  — Portfolio investments
   ============================================================ */
.investments-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-4);
}

/* Light tiles (fund i sits on a white section now) */
.investment-card {
  background: var(--cream);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.investment-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -16px rgba(32, 28, 68, 0.18);
}

.investment-img-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--navy-soft);
}

.investment-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.investment-info {
  padding: var(--s-3);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.investment-info h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--s-1);
  letter-spacing: -0.005em;
}

.investment-info p {
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: var(--s-3);
  flex: 1;
}

.investment-info .btn { align-self: flex-start; }

/* ============================================================
   FOOTNOTE
   ============================================================ */
.footnote {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--mist);
  padding: var(--s-3) 0;
  line-height: 1.55;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--cream);
  padding-block: var(--s-5);
  border-top: 1px solid var(--line);
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  flex-wrap: wrap;
}

.footer-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
  letter-spacing: -0.005em;
}

.footer-copy {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--mist);
}

.footer-right {
  display: flex;
  gap: var(--s-2);
  align-items: center;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  opacity: 0.55;
  transition: opacity 0.18s, transform 0.18s;
  padding: 6px;
  border-radius: var(--r-sm);
}
.social-link:hover { opacity: 1; transform: translateY(-1px); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .grid-3              { grid-template-columns: repeat(2, 1fr); }
  .team-grid-3         { grid-template-columns: repeat(2, 1fr); }
  .quotes-grid         { grid-template-columns: 1fr; }
  .investments-grid    { grid-template-columns: 1fr; }
  /* 3 pillars never wrap 2+1 — go straight to stacked */
  .pillar-grid         { grid-template-columns: 1fr; }
  .contact-grid        { grid-template-columns: 1fr; gap: var(--s-4); }
  .split-row           { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--s-2) var(--s-3) var(--s-3);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    gap: 0;
  }
  .main-nav.open  { display: flex; }
  .main-nav a     { padding: 12px 0; border-radius: 0; width: 100%; }
  .nav-toggle     { display: flex; }

  /* Compact auth pills so logo + pills + hamburger fit on one line */
  .header-inner   { gap: var(--s-2); }
  .btn-auth       { padding: 6px 12px; font-size: 0.75rem; }

  .grid-3, .team-grid-2, .team-grid-3 {
    grid-template-columns: 1fr;
  }

  .section-sub { margin-top: calc(-1 * var(--s-3)); }

  .hero-content.center       { text-align: left; }
  .hero-body                  { margin-left: 0; }

  .footer-inner               { flex-direction: column; align-items: flex-start; }
}

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