/* Exponent Venture Group website
   Brand: navy, paper, teal, orange. Montserrat for text, Goudy Old Style for the wordmark.
   Source of truth for colours and type: the EVG brand kit (Brand folder / EVG design system). */

:root {
  --navy: #13233A;
  --navy-line: #2E4260;
  --paper: #F5F3EE;
  --white: #FFFFFF;
  --teal: #0F766E;
  --teal-strong: #0E9F94;
  --teal-light: #7DD3C8;
  --teal-tint: #CFE5E1;
  --orange: #C2410C;
  --orange-light: #E07B4A;
  --text: #3C4858;
  --slate: #5B6B80;
  --on-navy: #C9D3DE;
  --on-navy-body: #E6ECF2;
  --rule: #D5D0C4;
  --error: #A8261D;

  /* Theme-dependent roles (light) */
  --bg: #F5F3EE;
  --surface: #FFFFFF;
  --ink: #13233A;
  --accent: #0F766E;

  --sans: Montserrat, "Segoe UI", Arial, sans-serif;
  --wordmark: "Goudy Old Style", "Sorts Mill Goudy", Georgia, serif;
  --max: 1240px;
  --pad: 32px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { color: var(--ink); font-weight: 600; text-wrap: balance; }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--pad); }
.section { padding-block: 96px; }
.section.white { background: var(--surface); border-block: 1px solid var(--rule); }
.navy { background: var(--navy); color: var(--on-navy); }
.navy h1, .navy h2, .navy h3 { color: var(--paper); }

.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: var(--accent); }
.navy .eyebrow { color: var(--teal-light); }
.h2 { font-size: 40px; line-height: 1.15; }
.lead { font-size: 24px; line-height: 1.45; font-weight: 500; color: var(--ink); }
.lead .hl { color: var(--orange); }
.stack { display: flex; flex-direction: column; gap: 12px; }
.prose { display: flex; flex-direction: column; gap: 20px; max-width: 700px; }
.prose p { text-wrap: pretty; }
.split { display: flex; flex-wrap: wrap; gap: 32px 80px; }
.split > :first-child { flex: 1 1 300px; min-width: 0; }
.split > :last-child { flex: 2 1 560px; min-width: 0; }

/* Buttons */
.btn { display: inline-block; font-weight: 600; font-size: 16px; padding: 16px 28px; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; line-height: 1.3; }
.btn-orange { background: var(--orange); color: var(--paper); }
.btn-orange:hover { background: #A3360A; color: var(--paper); }
.btn-paper { background: var(--paper); color: var(--navy); }
.btn-paper:hover { background: var(--white); color: var(--navy); }
.text-link { color: var(--teal-light); font-weight: 600; text-decoration: none; border-bottom: 1.5px solid var(--teal-light); padding-bottom: 2px; }
.text-link:hover { color: var(--paper); border-color: var(--paper); }

/* Header */
.site-header { background: var(--navy); border-bottom: 1px solid #22344F; }
.site-header .wrap { padding-block: 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 40px; }
.wordmark { font-family: var(--wordmark); font-size: 30px; line-height: 1; color: var(--paper); text-decoration: none; white-space: nowrap; }
.wordmark:hover { color: var(--paper); }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 32px; }
.site-nav a { color: var(--on-navy); text-decoration: none; font-size: 15px; font-weight: 500; padding-block: 4px; border-bottom: 1.5px solid transparent; }
.site-nav a:hover { color: var(--paper); }
.site-nav a[aria-current="page"] { color: var(--paper); border-bottom-color: var(--teal-light); }
.site-nav a.nav-cta { color: var(--paper); font-weight: 600; border: 1.5px solid var(--teal-light); padding: 10px 20px; }
.site-nav a.nav-cta:hover { background: var(--teal-light); color: var(--navy); }

/* Home hero */
.hero .wrap { padding-block: 88px 96px; display: flex; flex-wrap: wrap; align-items: center; gap: 56px 64px; }
.hero-text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-size: clamp(44px, 6vw, 68px); line-height: 1.04; letter-spacing: -1px; }
.hero-sub { font-size: 20px; line-height: 1.55; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding-top: 8px; }
.hero-art { flex: 1 1 420px; min-width: 0; display: flex; justify-content: flex-end; }
.dots { width: 100%; max-width: 540px; height: auto; display: block; }
.dots circle { r: 8px; }
.dots .o { r: 6px; fill: none; stroke: #3A4D68; stroke-width: 1.5; }
.dots .f { fill: var(--teal-strong); }
.dots .t { fill: var(--teal-light); }
.dots .a { fill: var(--orange-light); }
@media (prefers-reduced-motion: no-preference) {
  .dots .f, .dots .t, .dots .a { animation: rise .7s ease-out both; animation-delay: calc(var(--i, 0) * 35ms); }
  @keyframes rise { from { opacity: 0; } to { opacity: 1; } }
}

/* Page head (inner pages) */
.page-head .wrap { padding-block: 80px 88px; display: flex; flex-direction: column; gap: 18px; }
.page-head h1 { font-size: clamp(38px, 5vw, 56px); line-height: 1.08; letter-spacing: -0.5px; }
.page-head p.sub { font-size: 20px; line-height: 1.55; max-width: 640px; }

/* Credentials strip */
.facts { border-bottom: 1px solid var(--rule); }
.facts .wrap { padding-block: 44px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px 40px; }
.fact { display: flex; flex-direction: column; gap: 4px; }
.fact b { font-size: 40px; line-height: 1.1; font-weight: 700; color: var(--ink); }
.fact b.teal { color: var(--accent); }
.fact span { font-size: 15px; line-height: 1.45; color: var(--slate); }
.fact .label { font-size: 15px; font-weight: 600; color: var(--ink); padding-top: 6px; }
.fact .names { font-size: 17px; line-height: 1.5; color: var(--text); }

/* Practice grid */
.practices { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px; margin-top: 48px; }
.practice { border-left: 3px solid var(--teal); padding-left: 24px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.practice h3 { font-size: 21px; line-height: 1.3; }
.practice p { font-size: 16px; }
.practice a { font-size: 15px; font-weight: 600; }

/* Approach */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 48px; }
.step { display: flex; flex-direction: column; gap: 14px; padding: 32px 28px; }
.step .disc { width: 64px; height: 64px; border-radius: 50%; background: var(--teal); color: var(--paper); display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 700; }
.step .disc.orange { background: var(--orange); }
.step h3 { font-size: 24px; line-height: 1.25; }
.step p { font-size: 16px; }
.step.feature { background: var(--navy); border-radius: 20px; }
.step.feature .disc { background: var(--teal-strong); }
.step.feature h3 { color: var(--paper); }
.step.feature p { color: var(--on-navy-body); }

/* Engagement models */
.models { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 48px; }
.model { border-top: 1px solid var(--rule); padding: 20px 0 24px; display: flex; flex-direction: column; gap: 6px; }
.model h3 { font-size: 18px; }
.model p { font-size: 15px; color: var(--slate); }

/* Statement band */
.statement { font-size: 26px; line-height: 1.45; font-weight: 500; color: var(--paper); max-width: 720px; }
.statement .hl { color: var(--orange-light); }

/* Services detail */
.service { display: flex; flex-wrap: wrap; gap: 16px 80px; padding-block: 48px; border-top: 1px solid var(--rule); scroll-margin-top: 24px; }
.service:first-child { border-top: 0; padding-top: 0; }
.service h2 { flex: 1 1 300px; min-width: 0; font-size: 28px; line-height: 1.2; }
.service .prose { flex: 2 1 560px; min-width: 0; }

/* Founder */
.portrait { width: 220px; height: 220px; border-radius: 50%; object-fit: cover; display: block; margin-bottom: 8px; box-shadow: 0 0 0 6px var(--bg), 0 0 0 7px var(--teal); }
.white .portrait { box-shadow: 0 0 0 6px var(--surface), 0 0 0 7px var(--teal); }
.creds { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.creds li { border-top: 1px solid var(--rule); padding: 14px 0; display: flex; flex-direction: column; gap: 2px; }
.creds b { font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--slate); }

/* Contact */
.contact-grid { display: flex; flex-wrap: wrap; gap: 48px 80px; }
.details { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.details h2 { font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--slate); margin-bottom: 6px; }
.details address { font-style: normal; color: var(--ink); }
.form { flex: 2 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 18px; background: var(--surface); border: 1px solid var(--rule); padding: 40px; }
.form h2 { font-size: 28px; }
.form .row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 18px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.form input, .form textarea { font: inherit; font-weight: 500; color: var(--ink); background: var(--bg); border: 1px solid var(--rule); border-bottom: 2px solid var(--slate); padding: 12px 14px; width: 100%; border-radius: 0; }
.form input:focus, .form textarea:focus { outline: none; border-bottom-color: var(--accent); background: var(--surface); color: var(--ink); }
.form input::placeholder, .form textarea::placeholder { color: var(--text); opacity: .8; }
.form .form-intro { color: var(--ink); font-weight: 500; }
.form textarea { min-height: 160px; resize: vertical; }
.form .hp { position: absolute; left: -9999px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.form-status { font-size: 15px; min-height: 1.5em; }
.form-status.ok { color: var(--accent); font-weight: 600; }
.form-status.err { color: var(--error); }

/* Footer */
.site-footer .wrap { padding-block: 80px 40px; display: flex; flex-direction: column; gap: 56px; }
.footer-cta { display: flex; flex-wrap: wrap; gap: 32px 80px; align-items: flex-end; justify-content: space-between; }
.footer-cta > div { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.footer-cta p { font-size: 18px; }
.footer-base { border-top: 1px solid var(--navy-line); padding-top: 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 48px; font-size: 15px; }
.footer-base > div { display: flex; flex-direction: column; gap: 8px; }
.footer-base a { color: var(--teal-light); }
.footer-base a:hover { color: var(--paper); }
.footer-base .wordmark, .footer-base .wordmark:hover { font-size: 26px; color: var(--paper); text-decoration: none; }
.footer-base .copy { align-self: flex-end; }
.site-footer.compact .wrap { padding-top: 48px; }

@media (max-width: 640px) {
  :root { --pad: 20px; }
  .section { padding-block: 64px; }
  .h2 { font-size: 32px; }
  .lead { font-size: 20px; }
  .statement { font-size: 21px; }
  .form { padding: 24px; }
  .hero .wrap { padding-block: 56px 64px; }
}

/* ---------- Dark mode ---------- */
:root[data-theme="dark"] {
  --bg: #0F1A24;
  --surface: #15232F;
  --ink: #F5F3EE;
  --text: #C9D3DE;
  --slate: #9AA5B1;
  --rule: #2E4260;
  --accent: #7DD3C8;
  --error: #F2A29B;
  color-scheme: dark;
}
:root[data-theme="dark"] a:hover { color: var(--paper); }
:root[data-theme="dark"] .navy { background: #13233A; }
:root[data-theme="dark"] .site-header, :root[data-theme="dark"] .hero, :root[data-theme="dark"] .site-footer { background: #0B141D; }

.mode-btn { display: inline-flex; align-items: center; gap: 8px; background: transparent; border: 1.5px solid #3A4D68; color: var(--on-navy); font: 600 13px var(--sans); padding: 8px 12px; border-radius: 999px; cursor: pointer; }
.mode-btn:hover { border-color: var(--teal-light); color: var(--paper); }
.mode-btn svg { width: 16px; height: 16px; }
.mode-btn .sun { display: none; }
:root[data-theme="dark"] .mode-btn .sun { display: block; }
:root[data-theme="dark"] .mode-btn .moon { display: none; }

/* ---------- Home v2 ---------- */
.diff { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); margin-top: 40px; }
.diff > div { padding: 40px; display: flex; flex-direction: column; gap: 20px; }
.diff .get { background: var(--navy); }
.diff .get h3 { color: var(--paper); font-size: 22px; }
.diff .leave { background: var(--surface); border: 1px solid var(--rule); }
.diff .leave h3 { font-size: 22px; }
.diff ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.diff li { display: flex; gap: 14px; align-items: flex-start; }
.diff li::before { content: ""; flex: none; width: 12px; height: 12px; border-radius: 50%; margin-top: 8px; }
.diff .get li { color: var(--on-navy-body); }
.diff .get li b { color: var(--paper); }
.diff .get li::before { background: var(--teal-light); }
.diff .get li.hl::before { background: var(--orange-light); }
.diff .leave li::before { border: 1.5px solid var(--slate); box-sizing: border-box; }
.diff-note { margin-top: 24px; font-size: 15px; color: var(--slate); }

.band { position: relative; height: 380px; overflow: hidden; background: var(--navy); }
.band img { width: 100%; height: 100%; object-fit: cover; display: block; }
.band.tall { height: clamp(300px, 43vw, 620px); }
.band .caption { position: absolute; left: 0; right: 0; bottom: 0; padding-block: 32px; background: linear-gradient(to top, rgba(19,35,58,.85), rgba(19,35,58,0)); }
.band .caption p { font-size: clamp(26px, 3.5vw, 36px); line-height: 1.15; font-weight: 600; color: var(--paper); }

.help { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; margin-top: 48px; }
.help-card { border-top: 3px solid var(--teal); padding: 24px 4px 8px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.help-card h3 { font-size: 22px; line-height: 1.3; }
.help-card p { font-size: 16px; }
.help-card .tags { font-size: 13px; font-weight: 600; color: var(--slate); }
.help-feature { grid-column: 1 / -1; background: var(--navy); display: flex; flex-wrap: wrap; overflow: hidden; }
.help-feature .txt { flex: 1 1 420px; max-width: 820px; min-width: 0; padding: 40px; display: flex; flex-direction: column; gap: 14px; }
.help-feature h3 { font-size: 26px; line-height: 1.25; color: var(--paper); }
.help-feature p { font-size: 16px; color: var(--on-navy-body); }
.help-feature .tags { font-size: 13px; font-weight: 600; color: var(--on-navy); }
.help-feature img { flex: 2 1 260px; min-width: 0; min-height: 260px; width: 100%; object-fit: cover; display: block; }
@media (min-width: 1000px) { .help { grid-template-columns: repeat(3, minmax(0, 1fr)); } .help-feature { grid-column: span 2; } }

.method-top { display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: center; }
.method-top > div { flex: 1 1 460px; min-width: 0; max-width: 760px; display: flex; flex-direction: column; gap: 12px; }
.method-top img { flex: 1 1 360px; min-width: 0; width: 100%; max-width: 520px; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.flow { display: flex; flex-wrap: wrap; align-items: stretch; gap: 16px; margin-top: 48px; }
.flow > div { min-width: 0; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.flow .lbl { font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; }
.flow .data { flex: 1 1 240px; background: var(--surface); border: 1px solid var(--rule); }
.flow .data .lbl { color: var(--slate); }
.flow .data p:last-child { color: var(--ink); }
.flow .model { flex: 1 1 240px; background: var(--teal); }
.flow .model .lbl { color: var(--teal-tint); }
.flow .model p:last-child { color: var(--paper); }
.flow .decide { flex: 1.4 1 320px; background: var(--navy); }
.flow .decide .lbl { color: var(--teal-light); }
.flow .arrow { flex: none; align-self: center; font-size: 28px; color: var(--accent); padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { font-size: 14px; font-weight: 600; color: var(--navy); background: var(--paper); padding: 6px 12px; }
.chips span.hl { color: var(--paper); background: var(--orange); }
.mini-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 24px; border-top: 1px solid var(--rule); padding-top: 32px; margin-top: 48px; }
.mini-steps > div { display: flex; gap: 16px; align-items: flex-start; }
.mini-steps .disc { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--teal); color: var(--paper); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.mini-steps .disc.orange { background: var(--orange); }
.mini-steps .disc.navy { background: #1D3150; }
.mini-steps h3 { font-size: 19px; }
.mini-steps p { font-size: 15px; margin-top: 4px; }

.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; margin-top: 48px; }
.quote-card { text-decoration: none; background: var(--surface); border: 1px solid var(--rule); padding: 32px; display: flex; flex-direction: column; gap: 20px; color: var(--text); }
.quote-card:hover { border-color: var(--accent); color: var(--text); }
.quote-card blockquote { margin: 0; font-size: 22px; line-height: 1.4; font-weight: 600; color: var(--ink); }
.quote-card blockquote .hl { color: var(--orange); }
:root[data-theme="dark"] .quote-card blockquote .hl { color: var(--orange-light); }
.quote-card .src { margin-top: auto; border-top: 1px solid var(--rule); padding-top: 16px; display: flex; flex-direction: column; gap: 4px; }
.quote-card .src b { font-size: 15px; color: var(--ink); }
.quote-card .src span { font-size: 14px; color: var(--slate); }
.quote-card .src em { font-style: normal; font-size: 14px; font-weight: 600; color: var(--accent); margin-top: 6px; }

.founder-row { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: center; }
.founder-row .portrait { width: 200px; height: 200px; flex: none; margin: 0; }
.founder-row > div { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 14px; max-width: 760px; }

/* ---------- Scroll indicator and jump buttons ---------- */
.scroll-track { position: fixed; top: 0; right: 0; width: 4px; height: 100vh; z-index: 50; background: rgba(19,35,58,.06); opacity: 0; transition: opacity .3s; pointer-events: none; }
.scroll-track.show { opacity: 1; }
.scroll-fill { width: 100%; height: 0; background: rgba(15,118,110,.55); box-shadow: 0 0 8px rgba(15,118,110,.35); border-radius: 0 0 2px 2px; }
:root[data-theme="dark"] .scroll-track { background: rgba(255,255,255,.06); }
:root[data-theme="dark"] .scroll-fill { background: rgba(125,211,200,.6); box-shadow: 0 0 8px rgba(125,211,200,.35); }
.jump { position: fixed; right: 16px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 51; display: flex; flex-direction: column; gap: 8px; }
.jump-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(19,35,58,.55); color: #F5F3EE; display: flex; align-items: center; justify-content: center; cursor: pointer; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); box-shadow: 0 4px 14px rgba(19,35,58,.18); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .25s, transform .25s, visibility .25s, background .2s; }
.jump-btn.show { opacity: 1; visibility: visible; transform: none; }
.jump-btn:hover { background: rgba(15,118,110,.85); }
.jump-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: reduce) { .jump-btn, .scroll-track { transition: none; } }

/* ---------- Privacy page ---------- */
.policy { max-width: 760px; display: flex; flex-direction: column; gap: 18px; }
.policy h2 { font-size: 24px; margin-top: 22px; }
.policy ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.policy .updated { font-size: 15px; color: var(--slate); }
.footer-base .legal { font-size: 14px; }
.form-note { font-size: 14px; color: var(--ink); font-weight: 500; }
