/* Impact Strategic Partners — shared styles */
@font-face {
  font-family: 'Fraunces';
  src: url('Fraunces-300.woff2') format('woff2');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('Fraunces-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'ISP Garamond';
  src: url('CormorantGaramond-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'ISP Garamond';
  src: url('CormorantGaramond-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}

:root {
  color-scheme: dark;
  --navy: #132245;
  --navy-2: #16264A;
  --panel: #18294F;
  --deep: #0B1530;
  --ice: #B8D4E8;
  --frost: #D4DDE4;
  --muted: #93A9C6;
  --rule: rgba(184, 212, 232, 0.16);
  --error: #E8A9A9;
  --display: 'Fraunces', Georgia, serif;
  --body: 'ISP Garamond', 'Cormorant Garamond', Garamond, Georgia, serif;
  --italic: 'Cormorant Garamond', 'ISP Garamond', Georgia, serif;
  --wrap: min(1180px, 86vw);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--navy); }
body {
  min-height: 100vh;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%) var(--navy);
  color: var(--frost);
  font-family: var(--body);
  font-weight: 600;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
main { flex: 1; }
a { color: inherit; }
:focus-visible { outline: 1px solid rgba(184, 212, 232, 0.7); outline-offset: 4px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 300; background: var(--navy); padding: 8px 14px; }

/* ---------- navigation ---------- */
.topnav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 150;
  display: flex; align-items: center; justify-content: flex-end;
  padding: 24px 48px;
  background: rgba(11, 21, 48, 0.96);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 0.5px solid var(--rule);
  transition: padding .45s ease;
}
body.scrolled .topnav, body.inner .topnav { padding-top: 16px; padding-bottom: 16px; }
.links { display: flex; gap: 36px; }
.links a, .menu a {
  font-family: var(--body); font-weight: 500; font-synthesis: none;
  font-size: 16px; letter-spacing: 0.6px;
  color: var(--ice); text-decoration: none; position: relative; padding: 4px 0;
  transition: color .3s ease;
}
.links a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 0.5px; width: 0;
  background: var(--frost); transition: width .45s var(--ease);
}
.links a:hover, .links a[aria-current="page"] { color: var(--frost); }
.links a:hover::after, .links a[aria-current="page"]::after { width: 100%; }

.menu-btn {
  display: none; background: none; border: none; cursor: pointer; padding: 10px; margin-right: -10px;
  position: relative; z-index: 210;
}
.menu-btn span { display: block; width: 24px; height: 1px; background: var(--frost); margin: 6px 0;
  transition: transform .45s var(--ease), opacity .3s; }
body.menu-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
body.menu-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.menu {
  position: fixed; inset: 0; z-index: 200; background: var(--deep);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility 0s linear .4s;
}
body.menu-open .menu { opacity: 1; visibility: visible; transition: opacity .4s ease; }
.menu a { font-family: var(--display); font-weight: 300; font-size: 23.5px; color: var(--frost); }
.menu a[aria-current="page"] { color: var(--ice); }

/* ---------- home hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 110px 24px 80px; text-align: center;
}
.hero-mark { width: 50vw; max-width: 620px; position: relative; }
.hero-mark svg { width: 100%; height: auto; display: block; }
.hero-line {
  margin-top: 14px;
  font-family: var(--italic); font-style: italic; font-weight: 500;
  font-size: clamp(19px, 1.5vw, 27px); letter-spacing: 0.6px; color: var(--ice);
  opacity: 0; animation: fadeUp .8s 2.3s ease forwards;
}
.lf, .rt { opacity: 0; transform-origin: 260px 130px; animation: linesIn .9s .3s cubic-bezier(.4,0,.4,1) forwards; }
.lf { transform: translateX(-180px); }
.rt { transform: translateX(180px); }
.ct { transform-origin: 260px 130px; transform: scale(0); animation: dotIn .5s 1.1s cubic-bezier(.2,.9,.3,1.5) forwards; }
.wv { transform-origin: 260px 130px; transform: scale(0); opacity: 0; animation: waveOut 1s cubic-bezier(.2,.7,.2,1) forwards; }
.wv-1 { animation-delay: 1.15s; } .wv-2 { animation-delay: 1.3s; } .wv-3 { animation-delay: 1.45s; }
.hero-mark .wv-3 { stroke-width: 1.4; stroke-opacity: .55; }
.hero-mark .wv-2 { stroke-width: 1.7; stroke-opacity: .75; }
.hero-mark .wv-1 { stroke-width: 2.1; }
.hero-mark .lf, .hero-mark .rt { stroke-width: 2.1; }
.hero-mark .ct { r: 4; }
.wm { opacity: 0; animation: fadeUp .7s 1.65s ease forwards; }
.sp-text { opacity: 0; animation: fadeUp .6s 1.95s ease forwards; }
.home .topnav .links, .home .menu-btn { opacity: 0; animation: fadeUp .8s 2.4s ease forwards; }
/* home intro waits until the logo font has loaded, so the lettering never jumps */
.home .hero *, .home .topnav .links, .home .menu-btn { animation-play-state: paused; }
.home.fonts-ready .hero *, .home.fonts-ready .topnav .links, .home.fonts-ready .menu-btn { animation-play-state: running; }
@keyframes linesIn { to { transform: translateX(0); opacity: 1; } }
@keyframes dotIn { to { transform: scale(1); } }
@keyframes waveOut { to { transform: scale(1); opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- inner page header ---------- */
.page-head { padding: clamp(150px, 14vw, 200px) 0 clamp(36px, 4vw, 64px); }
.wrap { width: var(--wrap); margin: 0 auto; }
.eyebrow {
  font-family: var(--body); font-weight: 600; font-size: clamp(12px, 0.85vw, 14px);
  letter-spacing: 4.4px; text-transform: uppercase; color: var(--ice);
  display: flex; align-items: center; gap: 16px; margin-bottom: 26px;
}
.eyebrow::before { content: ''; width: 44px; height: 0.5px; background: var(--ice); flex: 0 0 44px; }
h1 {
  font-family: var(--display); font-weight: 300; font-size: clamp(36px, 4vw, 64px);
  line-height: 1.15; color: var(--frost); letter-spacing: 0.3px;
}
.page-head .lead {
  margin-top: 22px; max-width: 760px;
  font-family: var(--italic); font-style: italic; font-weight: 500;
  font-size: clamp(19px, 1.45vw, 25px); line-height: 1.6; color: var(--ice);
}

/* ---------- sections ---------- */
.section { padding: clamp(48px, 5vw, 92px) 0; border-top: 0.5px solid var(--rule); }
.section:first-of-type { border-top: none; }
.grid-2 { display: grid; grid-template-columns: minmax(200px, 300px) 1fr; gap: clamp(28px, 5vw, 90px); }
h2 {
  font-family: var(--display); font-weight: 300; font-size: clamp(24.5px, 2.15vw, 38px);
  line-height: 1.25; color: var(--frost);
}
h3 {
  font-family: var(--display); font-weight: 300; font-size: clamp(20px, 1.55vw, 27px);
  line-height: 1.3; color: var(--frost);
}
h4 {
  font-family: var(--display); font-weight: 400; font-size: clamp(16.5px, 1.17vw, 20px);
  line-height: 1.35; color: var(--frost);
}
.prose p, p.body {
  font-family: var(--body); font-weight: 600;
  font-size: clamp(16.5px, 1.25vw, 21.5px); line-height: 1.8; color: var(--frost);
  max-width: 820px;
}
.prose p + p { margin-top: 22px; }
.prose .intro-list { margin-top: 20px; }

/* criteria / expertise rows */
.rows { list-style: none; margin: 26px 0; border-top: 0.5px solid var(--rule); max-width: 880px; }
.rows li {
  display: flex; gap: 24px; align-items: baseline;
  padding: 17px 0; border-bottom: 0.5px solid var(--rule);
  font-family: var(--body); font-weight: 600; font-size: clamp(16px, 1.2vw, 20.5px); line-height: 1.65;
}
.rows .n { flex: 0 0 34px; font-family: var(--italic); font-style: italic; font-weight: 500; color: var(--ice); font-size: 15px; letter-spacing: 1px; }
.rows .k { flex: 0 0 230px; font-family: var(--display); font-weight: 400; color: var(--frost); }
.rows .v { flex: 1; color: var(--frost); opacity: .88; }
.rows.simple .v { opacity: 1; }

/* investment routes */
.routes { display: grid; gap: 0; border-top: 0.5px solid var(--rule); }
.route { display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: clamp(30px, 3vw, 48px) 0; border-bottom: 0.5px solid var(--rule); }
.route .num { font-family: var(--italic); font-style: italic; font-weight: 500; color: var(--ice); font-size: 18px; padding-top: 6px; letter-spacing: 1px; }
.route h3 { margin-bottom: 14px; }
.route-note { margin-top: clamp(26px, 3vw, 44px); padding-left: 82px; }
.subs { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; margin-top: 26px; }
.sub { padding-top: 18px; border-top: 0.5px solid var(--rule); }
.sub h4 { margin-bottom: 10px; }
.sub p { font-size: clamp(16px, 1.17vw, 19.5px) !important; line-height: 1.8 !important; }

/* founders */
.founders { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 48px); }
.founder {
  padding: clamp(30px, 3vw, 50px);
  border: 0.5px solid rgba(184, 212, 232, 0.18);
  background: linear-gradient(180deg, rgba(24, 41, 79, 0.75) 0%, rgba(18, 32, 63, 0.75) 100%);
}
.founder h3 { font-size: clamp(24px, 1.9vw, 32.5px); margin-bottom: 8px; }
.founder .role {
  font-family: var(--body); font-weight: 600; font-size: 13px; letter-spacing: 3px;
  text-transform: uppercase; color: var(--ice); margin-bottom: 26px;
  padding-bottom: 22px; border-bottom: 0.5px solid var(--rule);
}
.founder p { font-size: clamp(16px, 1.17vw, 19.5px) !important; line-height: 1.8 !important; }

/* philosophy */
.strap {
  font-family: var(--italic); font-style: italic; font-weight: 500;
  font-size: clamp(21.5px, 1.9vw, 32.5px); line-height: 1.4; color: var(--ice);
  margin-bottom: 28px; max-width: 760px;
}

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(36px, 6vw, 100px); align-items: start; }
.contact-copy .cta-line { margin-top: 26px; font-family: var(--display); font-weight: 300; font-size: clamp(20px, 1.5vw, 26px); color: var(--frost); }
.contact-alt { margin-top: 30px; padding-top: 22px; border-top: 0.5px solid var(--rule);
  font-size: 16px; line-height: 1.7; color: var(--muted); }
.contact-alt a { color: var(--frost); text-decoration: none; border-bottom: 0.5px solid rgba(184,212,232,.45); }

form { width: 100%; }
.field { margin-bottom: 24px; }
.field label { display: block; font-family: var(--body); font-weight: 600; font-size: 12.5px;
  letter-spacing: 2.6px; text-transform: uppercase; color: var(--ice); margin-bottom: 6px; }
.field label .req { color: var(--frost); letter-spacing: 0; margin-left: 2px; }
.field label .opt { text-transform: none; letter-spacing: 0.4px; font-size: 13px; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; border: none; border-bottom: 0.5px solid rgba(184, 212, 232, 0.4);
  border-radius: 0; color: var(--frost); font-family: var(--body); font-weight: 600;
  font-size: 18px; padding: 10px 0; outline: none; transition: border-color .25s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ice) 50%), linear-gradient(135deg, var(--ice) 50%, transparent 50%);
  background-position: calc(100% - 12px) 55%, calc(100% - 7px) 55%;
  background-size: 5px 5px; background-repeat: no-repeat; padding-right: 26px;
}
.field select option { background: var(--navy); color: var(--frost); }
.field textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--frost); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-bottom-color: var(--error); }
.field .err { display: none; margin-top: 6px; font-size: 14px; color: var(--error); }
.field.invalid .err { display: block; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.submit {
  margin-top: 10px; background: transparent; color: var(--frost);
  border: 0.5px solid rgba(212, 221, 228, 0.7); padding: 15px 34px; cursor: pointer;
  font-family: var(--body); font-weight: 600; font-size: 13px; letter-spacing: 3px; text-transform: uppercase;
  transition: background .25s, color .25s;
}
.submit:hover:not([disabled]) { background: var(--frost); color: var(--navy); }
.submit[disabled] { opacity: .45; cursor: default; }
.form-note { margin-top: 18px; font-size: 14.5px; line-height: 1.65; color: var(--muted); max-width: 560px; }
.form-note a { color: var(--ice); text-decoration: none; border-bottom: 0.5px solid rgba(184,212,232,.4); }
.status { margin-top: 18px; min-height: 22px; font-size: 16px; line-height: 1.6; }
.status.ok { color: var(--frost); }
.status.err { color: var(--error); }
.thanks { display: none; padding: 34px; border: 0.5px solid rgba(184, 212, 232, 0.3); }
.thanks h3 { margin-bottom: 12px; }
form.sent { display: none; }
form.sent + .thanks { display: block; }

.people { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 36px; margin-top: 34px; padding-top: 28px; border-top: 0.5px solid var(--rule); }
.person h4 { margin-bottom: 8px; }
.prose .pc, .pc { font-size: clamp(15px, 1.05vw, 17px); line-height: 1.75; }
.pc a { color: var(--frost); text-decoration: none; border-bottom: 0.5px solid rgba(184,212,232,.4); transition: border-color .3s; }
.pc a:hover { border-color: var(--frost); }

/* ---------- footer ---------- */
footer { position: relative; z-index: 2; border-top: 0.5px solid rgba(184, 212, 232, 0.18); background: var(--deep); padding: clamp(34px, 3vw, 52px) 0 clamp(40px, 3.4vw, 60px); }
footer .wrap { font-size: clamp(13px, 0.9vw, 15.5px); line-height: 2; letter-spacing: 0.3px; color: var(--muted); }
footer a { color: var(--muted); text-decoration: none; transition: color .3s; }
footer a:hover { color: #EDF2F7; }


/* ---------- legal pages ---------- */
.legal-date { margin-top: 14px; font-family: var(--italic); font-style: italic; font-weight: 500; font-size: clamp(15px, 1.05vw, 17px); color: var(--muted); }
.legal-num { font-family: var(--italic); font-style: italic; font-weight: 500; font-size: 18px; letter-spacing: 1px; color: var(--ice); margin-bottom: 8px; }
.prose.legal strong { font-weight: 600; color: var(--ice); }
.legal-list { list-style: none; margin: 18px 0 22px; max-width: 820px; }
.legal-list li { position: relative; padding-left: 22px; font-family: var(--body); font-weight: 600; font-size: clamp(16.5px, 1.25vw, 21.5px); line-height: 1.7; color: var(--frost); }
.legal-list li + li { margin-top: 10px; }
.legal-list li::before { content: ''; position: absolute; left: 0; top: 0.85em; width: 10px; height: 0.5px; background: var(--ice); }
.prose.legal .legal-list:first-child { margin-top: 0; }
.prose.legal a { color: var(--ice); }
.legal-page .section { padding: clamp(36px, 3.6vw, 64px) 0; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .topnav { padding: 16px 22px; }
  body.scrolled .topnav, body.inner .topnav { padding: 12px 22px; }
  .links { display: none; }
  .menu-btn { display: block; }
    .hero-mark { width: 86vw; max-width: 420px; }
  /* the mark is drawn smaller on phones, so its strokes are thickened to match desktop */
  .hero-mark .wv-3 { stroke-width: 1.7; stroke-opacity: .6; }
  .hero-mark .wv-2 { stroke-width: 2.0; stroke-opacity: .8; }
  .hero-mark .wv-1 { stroke-width: 2.3; }
  .hero-mark .lf, .hero-mark .rt { stroke-width: 2.4; }
  .hero-mark .ct { r: 4.2; }
  .hero-line { margin-top: 22px; font-size: 18px; }
  .grid-2, .contact-grid, .founders, .subs, .row-2 { grid-template-columns: 1fr; }
  .people { grid-template-columns: 1fr; }
  .fc { display: block; }
  .fsep { display: none; }
  .grid-2 { gap: 18px; }
  .route { grid-template-columns: 1fr; gap: 6px; }
  .route .num { padding-top: 0; }
  .route-note { padding-left: 0; }
  .rows li { flex-wrap: wrap; gap: 4px 14px; }
  .rows .k { flex: 1 1 auto; }
  .rows .v { flex: 0 0 100%; padding-left: 48px; }
  .rows.simple li { flex-wrap: nowrap; }
  .rows.simple .v { flex: 1; padding-left: 0; }
  .field input, .field select, .field textarea { font-size: 16px; }
}
@media (max-width: 380px) {
  .hero-line { font-size: 16.5px; white-space: nowrap; }
}
@media (max-height: 820px) and (min-width: 901px) {
  .hero-mark { width: 38vw; max-width: 460px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
}
