/* triplehelixventures.com
   Bright, optimistic, alive. A grainy field of colour, very large quiet type,
   headings marked up by hand, pixel glyphs as markers.
   Every colour comes from the palette tokens below, so the whole page can be
   re-skinned by changing one block. */

@font-face {
  font-family: "Geist Variable"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(/fonts/geist-latin-wght-normal.woff2) format("woff2-variations");
}
@font-face {
  font-family: "Geist Mono Variable"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(/fonts/geist-mono-latin-wght-normal.woff2) format("woff2-variations");
}

:root {
  --bg: #f4f4f1; --ink: #0c0c10; --ink-2: #43444c; --ink-3: #6f7078; --line: #dcdbd5; --card: #fff; --bad: #c4183c;
  --sans: "Geist Variable", "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono Variable", "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --pad: clamp(20px, 5vw, 80px); --max: 1360px; --top: 68px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  /* palette "electric": cobalt, cyan, violet, with an acid-lime spark */
  --hero-base: #2a3cff;
  --h1: #18c6ff; --h2: #6b3bff; --h3: #dcff3a; --h4: #22e6b8; --h5: #0a168a;  /* hero colour fields */
  --shade: rgba(8, 16, 110, 0.4);                                             /* shadow behind hero text */
  --a1: #1f3bff; --a2: #0090b0; --a3: #7a3cff; --a4: #4f8a00;                 /* accents, legible as large type */
  --t1: 31 59 255; --t2: 0 184 217; --t3: 122 60 255; --t4: 34 230 184; --t5: 200 240 46; /* card tints, r g b */
  --spectrum: linear-gradient(100deg, #00a8d6 0%, #1f3bff 48%, #7a3cff 100%);
  --glow-1: #55cdff; --glow-2: #93b2ff;                                       /* wash behind the form */
  --strip: linear-gradient(90deg, #22e6b8, #18c6ff 25%, #1f3bff 50%, #7a3cff 75%, #dcff3a);
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light; background: var(--bg); scroll-behavior: smooth; scroll-padding-top: calc(var(--top) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ol, ul, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
canvas, svg { display: block; }
::selection { background: var(--a1); color: #fff; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 18px; background: var(--ink); color: #fff; border-radius: 999px; font-size: 14px; text-decoration: none; }
.skip:focus { top: 12px; }

/* pixel glyphs: small clusters of squares, one per section */
.px { --u: 7px; display: inline-block; flex: none; width: var(--u); height: var(--u); background: currentColor; margin-right: calc(var(--u) * 2 + 14px); }
.px-0 { --u: 5px; margin: 0 0 0 4px; vertical-align: 0.9em; box-shadow: 5px -5px 0 currentColor; }
.px-1 { box-shadow: 7px -7px 0 currentColor, 14px 0 0 currentColor; }
.px-2 { box-shadow: 7px 0 0 currentColor, 7px -7px 0 currentColor, 14px -14px 0 currentColor; }
.px-3 { box-shadow: 14px 0 0 currentColor, 7px 7px 0 currentColor; }
.px-4 { box-shadow: 7px -7px 0 currentColor, 14px -7px 0 currentColor, 14px 0 0 currentColor; }
.px-5 { box-shadow: 7px 7px 0 currentColor, 14px 0 0 currentColor, 14px -7px 0 currentColor; }
.px-6 { box-shadow: 7px 0 0 currentColor, 14px -7px 0 currentColor, 14px 7px 0 currentColor; }

/* ───────── top ───────── */
.top { position: fixed; inset: 0 0 auto 0; z-index: 40; height: var(--top); color: #fff; transition: background 0.3s, color 0.3s; }
.top.scrolled { color: var(--ink); background: rgba(244, 244, 241, 0.84); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.top-in { height: 100%; display: flex; align-items: center; gap: clamp(18px, 2.8vw, 40px); }
.brand { font: 500 clamp(22px, 2vw, 27px) / 1 var(--sans); letter-spacing: -0.045em; text-decoration: none; white-space: nowrap; }
.nav { margin-left: auto; display: flex; gap: clamp(18px, 2.8vw, 40px); }
.nav a { font-size: 15px; text-decoration: none; padding: 8px 0; opacity: 0.92; }
.nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.cta { font-size: 15px; text-decoration: none; border: 1.2px solid currentColor; border-radius: 999px; padding: 8px 17px; transition: background 0.2s, color 0.2s; }
.cta:hover { background: #fff; color: var(--ink); }
.top.scrolled .cta:hover { background: var(--ink); color: #fff; }

/* ───────── hero ───────── */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(620px, 100svh, 1080px); display: grid; place-items: center; text-align: center;
  color: #fff; background: var(--hero-base);
}
.aurora { position: absolute; inset: -12%; z-index: -3; filter: blur(72px) saturate(1.1); }
.aurora i { position: absolute; border-radius: 50%; animation: drift 22s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { left: 0; top: 16%; width: 40%; height: 64%; background: var(--h1); }
.aurora i:nth-child(2) { left: 28%; top: 4%; width: 46%; height: 78%; background: var(--h2); animation-duration: 27s; animation-direction: alternate-reverse; }
.aurora i:nth-child(3) { right: 9%; top: 4%; width: 21%; height: 36%; background: var(--h3); animation-duration: 19s; }
.aurora i:nth-child(4) { right: 6%; top: 40%; width: 30%; height: 50%; background: var(--h4); animation-duration: 31s; animation-direction: alternate-reverse; }
.aurora i:nth-child(5) { left: 16%; bottom: -18%; width: 68%; height: 40%; background: var(--h5); animation-duration: 24s; }
#morph { position: absolute; left: 50%; top: 0; z-index: -2; width: min(92vw, 860px); height: 100%; transform: translateX(-50%); animation: fade 1.8s ease both; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: url(/grain.svg); opacity: 0.55; mix-blend-mode: soft-light; pointer-events: none; }

.hero-in { position: relative; padding-top: var(--top); padding-bottom: 24px; }
/* a soft shadow behind the words, so they hold against whatever the helix has become */
.hero-in::before { content: ""; position: absolute; z-index: -1; inset: 8% -6% -6%; background: radial-gradient(closest-side, rgba(8, 14, 104, 0.4), rgba(8, 14, 104, 0)); pointer-events: none; }
h1 { font: 500 clamp(38px, 6.1vw, 92px) / 1.02 var(--sans); letter-spacing: -0.042em; text-wrap: balance; text-shadow: 0 2px 40px var(--shade); animation: rise 1.1s var(--ease) 0.05s both; }
.hero-in p { margin: clamp(18px, 2.4vw, 28px) auto 0; max-width: 52ch; font-size: clamp(16px, 1.3vw, 18.5px); line-height: 1.45; text-shadow: 0 1px 3px rgba(8, 14, 104, 0.45), 0 1px 20px var(--shade); animation: rise 1.1s var(--ease) 0.18s both; }

.btn {
  display: inline-block; font: 450 16px/1 var(--sans); color: #fff; background: transparent;
  border: 1.2px solid currentColor; border-radius: 999px; padding: 13px 24px; text-decoration: none; cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s var(--ease);
}
.btn:hover { background: #fff; color: var(--ink); transform: translateY(-1px); }
.btn[disabled] { opacity: 0.55; cursor: progress; }

/* ───────── sections ───────── */
.sec { position: relative; isolation: isolate; overflow-x: clip; background: var(--bg); padding-top: clamp(84px, 11vw, 168px); }
.sec-head { margin-bottom: clamp(32px, 5vw, 64px); }
.sec-strands .sec-head { margin-bottom: clamp(4px, 1vw, 14px); }
.eyebrow { display: flex; align-items: center; font: 450 13px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: clamp(18px, 2vw, 26px); }
h2 { position: relative; font: 400 clamp(40px, 7.3vw, 112px) / 0.98 var(--sans); letter-spacing: -0.048em; max-width: 13ch; text-wrap: balance; }
/* headings are marked up by hand (notes.js): a circled word, an underline, an
   arrow and a short note, drawn in as the heading scrolls into view */
.wd { display: inline-block; white-space: nowrap; }
.wd .base { display: inline-block; width: 0; height: 0; vertical-align: baseline; }
.note-svg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; color: var(--a1); }
.mode .note-svg { color: var(--ink); }
.note-svg path { fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 0.9s var(--ease); }
.note-svg text { font: 500 16px/1 var(--mono); letter-spacing: 0; word-spacing: 0; fill: currentColor; opacity: 0; transition: opacity 0.5s 1.2s; }
.note-svg.in path { stroke-dashoffset: 0; }
.note-svg.in text { opacity: 1; }
h2.note-below { padding-bottom: 34px; }       /* room for a note written under the heading */
.mode h3.note-below { padding-bottom: 38px; }

.lead p { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.45; color: var(--ink-2); max-width: 56ch; }
.lead p:first-child { color: var(--ink); }
.lead p + p { margin-top: 0.9em; }
.lead + * { margin-top: clamp(40px, 5vw, 72px); }
@media (min-width: 1000px) { .sec-body { padding-left: 21px; } }

/* the three strands */
.mode { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: clamp(24px, 4vw, 64px); align-items: end; padding: clamp(22px, 2.6vw, 34px) 0; border-top: 1px solid var(--line); }
.mode:last-child { border-bottom: 1px solid var(--line); }
.mode-meta { grid-column: 1; display: flex; gap: 20px; font: 450 12px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-3); }
.mode h3 { position: relative; grid-column: 1; font: 400 clamp(44px, 6vw, 88px) / 1 var(--sans); letter-spacing: -0.05em; margin-top: 12px; }
.mode p:last-child { grid-column: 2; grid-row: 1 / span 2; font-size: clamp(16px, 1.3vw, 18px); color: var(--ink-2); max-width: 54ch; }
.strand-1 h3 { color: var(--a1); }
.strand-2 h3 { color: var(--a2); }
.strand-3 h3 { color: var(--a3); }
.kicker em { background: var(--spectrum); -webkit-background-clip: text; background-clip: text; color: transparent; }

.beliefs { margin-top: clamp(56px, 7vw, 104px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 5vw, 72px) clamp(32px, 6vw, 96px); }
.beliefs li::before { content: ""; display: block; width: 56px; height: 5px; margin-bottom: 20px; background: var(--a1); }
.beliefs li:nth-child(2)::before { background: var(--a2); }
.beliefs li:nth-child(3)::before { background: var(--a3); }
.beliefs li:nth-child(4)::before { background: var(--a4); }
.num { font: 450 12px/1 var(--mono); letter-spacing: 0.06em; color: var(--ink-3); }
.beliefs h3 { font: 500 clamp(24px, 2.4vw, 34px) / 1.08 var(--sans); letter-spacing: -0.035em; margin: 12px 0 10px; }
.beliefs p { color: var(--ink-2); max-width: 44ch; }

.kicker { margin-top: clamp(64px, 8vw, 120px); max-width: 24ch; font: 450 clamp(28px, 4vw, 58px) / 1.04 var(--sans); letter-spacing: -0.042em; text-wrap: balance; }
.kicker em { font-style: normal; }

/* founders */
.traits li { display: grid; grid-template-columns: 5ch minmax(0, 1fr); gap: 0 12px; align-items: baseline; padding: clamp(20px, 2.4vw, 30px) 0; border-top: 1px solid var(--line); }
.traits li:last-child { border-bottom: 1px solid var(--line); }
.traits li > div { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 8px clamp(24px, 4vw, 64px); align-items: baseline; }
.traits h3 { font: 450 clamp(26px, 3vw, 42px) / 1.05 var(--sans); letter-spacing: -0.04em; }
.traits p { color: var(--ink-2); max-width: 52ch; }
.tags { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.tags li { font-size: 14.5px; padding: 9px 17px; border: 1.5px solid transparent; border-radius: 999px; background: linear-gradient(var(--bg), var(--bg)) padding-box, var(--spectrum) border-box; }

/* offer: tinted cards */
.offers { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.offers li { --t: var(--t1); grid-column: span 2; position: relative; overflow: hidden; border-radius: 20px; padding: clamp(22px, 2.4vw, 32px); min-height: 230px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; background: #fff; }
.offers li:nth-child(n + 4) { grid-column: span 3; }
.offers li:nth-child(2) { --t: var(--t2); }
.offers li:nth-child(3) { --t: var(--t3); }
.offers li:nth-child(4) { --t: var(--t4); }
.offers li:nth-child(5) { --t: var(--t5); }
.offers li::before { content: ""; position: absolute; inset: 0; opacity: 0.9; background: radial-gradient(ellipse 90% 80% at 100% 0%, rgb(var(--t) / 0.46), transparent 62%), url(/grain.svg); }
.offers li > * { position: relative; }
.offers h3 { font: 450 clamp(26px, 2.6vw, 38px) / 1.05 var(--sans); letter-spacing: -0.04em; margin-bottom: 10px; }
.offers p { color: var(--ink-2); max-width: 40ch; }

/* ───────── pitch ───────── */
.sec-pitch { margin-top: clamp(84px, 11vw, 168px); padding-bottom: clamp(64px, 8vw, 120px); text-align: center; background: radial-gradient(ellipse 85% 46% at 50% 0%, var(--glow-1) 0%, var(--glow-2) 34%, rgba(244, 244, 241, 0) 76%), var(--bg); }
.sec-pitch::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url(/grain.svg); opacity: 0.5; mix-blend-mode: soft-light; pointer-events: none; -webkit-mask-image: linear-gradient(#000 30%, transparent 70%); mask-image: linear-gradient(#000 30%, transparent 70%); }
.sec-pitch .eyebrow { justify-content: center; flex-direction: column; gap: 16px; }
.sec-pitch .eyebrow .px { margin: 0 14px 0 0; }
.sec-pitch h2 { margin-inline: auto; max-width: 16ch; font-size: clamp(38px, 5.8vw, 86px); }
.sec-pitch .lead p { margin-inline: auto; color: var(--ink); }
.sec-pitch .sec-body { padding-left: 0; }
.pitch { text-align: left; margin-inline: auto; max-width: 900px; background: var(--card); border-radius: 26px; padding: clamp(22px, 3.4vw, 48px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 26px; box-shadow: 0 30px 80px -30px rgb(var(--t1) / 0.4); }
.wide { grid-column: 1 / -1; }
.f label, .lbl { display: block; font: 450 12px/1.3 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-2); margin-bottom: 9px; }
.f label i { font-style: normal; text-transform: none; letter-spacing: 0; color: var(--ink-3); margin-left: 6px; }
.f input[type="text"], .f input[type="email"], .f input[type="url"], .f textarea {
  display: block; width: 100%; font: 400 17px/1.4 var(--sans); color: var(--ink);
  background: var(--bg); border: 1.5px solid transparent; border-radius: 14px; padding: 13px 16px;
  -webkit-appearance: none; appearance: none; transition: border-color 0.2s, background 0.2s;
}
.f textarea { resize: vertical; min-height: 7em; }
.f input:focus, .f textarea:focus { outline: none; background: #fff; border-color: var(--ink); }
.f [aria-invalid="true"] { border-color: var(--bad); }
.err { margin-top: 7px; font-size: 14px; color: var(--bad); }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.opt span { display: block; font-size: 15px; padding: 9px 17px; border-radius: 999px; background: var(--bg); border: 1.5px solid transparent; transition: background 0.15s, color 0.15s; }
.opt:hover span { border-color: var(--ink-3); }
.opt input:checked + span { background: var(--ink); color: #fff; }
.opt input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.f-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; }
.pitch .btn { color: #fff; background: var(--ink); border-color: var(--ink); }
.pitch .btn:hover { background: var(--a1); border-color: var(--a1); color: #fff; }
.form-status { font-size: 15.5px; color: var(--ink-2); }
.form-status.ok { color: var(--ink); font-weight: 500; }
.form-status.bad { color: var(--bad); }
.fine { margin: 22px auto 0; font-size: 13.5px; color: var(--ink-2); max-width: 60ch; }

/* ───────── footer ───────── */
.foot { position: relative; background: #0b0b10; color: #f1f1ee; padding: clamp(64px, 8vw, 110px) 0 32px; }
.foot::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 7px; background: var(--strip); }
.foot-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 36px clamp(24px, 5vw, 80px); }
.foot .brand { font-size: clamp(44px, 6.4vw, 96px); letter-spacing: -0.055em; line-height: 0.95; }
.foot .px-0 { --u: 9px; box-shadow: 9px -9px 0 currentColor; margin-left: 8px; }
.foot-tag { margin-top: 18px; color: rgba(255, 255, 255, 0.66); }
.legal { font: 400 13.5px/1.55 var(--mono); }
.legal > div { display: grid; grid-template-columns: 11ch minmax(0, 1fr); gap: 0 16px; padding: 11px 0; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.legal dt { text-transform: uppercase; letter-spacing: 0.06em; font-size: 12px; color: rgba(255, 255, 255, 0.6); padding-top: 1px; }
.legal dd { overflow-wrap: anywhere; }
.legal a { text-underline-offset: 4px; }
.disclaimer { grid-column: 2; font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, 0.62); max-width: 64ch; }
.colophon { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: clamp(28px, 4vw, 56px); font: 400 12.5px/1.5 var(--mono); color: rgba(255, 255, 255, 0.6); }

/* ───────── motion ───────── */
.reveal { transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.pre { opacity: 0; transform: translateY(20px); }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes drift { from { transform: translate(-4%, -3%) scale(1); } to { transform: translate(5%, 4%) scale(1.12); } }

/* ───────── responsive ───────── */
@media (max-width: 1000px) {
  .note-svg text { font-size: 13.5px; }
  .note-svg path { stroke-width: 2.2; }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .cta { margin-left: auto; }
  .mode, .traits li > div { grid-template-columns: 1fr; }
  .mode p:last-child { grid-column: 1; grid-row: auto; margin-top: 14px; }
  .beliefs, .pitch { grid-template-columns: 1fr; }
  .offers { grid-template-columns: 1fr; }
  .offers li, .offers li:nth-child(n + 4) { grid-column: auto; min-height: 0; }
  .foot-in { grid-template-columns: 1fr; }
  .disclaimer { grid-column: auto; }
  .legal > div { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal.pre { opacity: 1; transform: none; }
}
