@font-face {
  font-family: "Jost";
  src: url("/assets/fonts/jost-latin-var.woff?v=1") format("woff");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #141A3C;
  --navy-2: #1E2652;
  --ink: #1A1F36;
  --muted: #565C78;
  --cream: #FBF7EF;
  --sand: #F3ECDD;
  --gold: #E8B34B;
  --gold-ink: #8A5F10;
  --line: #E2D9C6;
  --on-navy: #F3EFE6;
  --on-navy-muted: #B9BDD3;
  --radius: 14px;
  --wrap: 72rem;
  --sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --display: "Jost", var(--sans);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--cream); color: var(--ink); font: 1.0625rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; margin: 0 0 .5em; letter-spacing: 0; }
h1, h2 { font-weight: 600; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.7rem); font-weight: 700; max-width: 18ch; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 700; max-width: 24ch; }
h3 { font-size: 1.2rem; font-weight: 650; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
section[id], main[id] { scroll-margin-top: 6rem; }

.skip { position: absolute; left: -999px; top: .5rem; background: var(--gold); color: var(--navy); padding: .5rem 1rem; border-radius: 8px; z-index: 10; }
.skip:focus { left: .5rem; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 4px; box-shadow: 0 0 0 6px #E8B34B66; }
.site-header :focus-visible, .hero :focus-visible, .site-footer :focus-visible, .ai-panel :focus-visible, .venture-next :focus-visible, .lost :focus-visible { outline-color: var(--gold); box-shadow: none; }
.text-link { font-weight: 600; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* header */
.site-header { background: var(--navy); color: var(--on-navy); position: sticky; top: 0; z-index: 5; border-bottom: 1px solid #ffffff14; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: .9rem; }
.site-header .brand svg { width: 14.5rem; height: auto; }
.site-header nav { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.site-header nav a { text-decoration: none; font-size: .95rem; letter-spacing: .04em; color: var(--on-navy-muted); }
.site-header nav a:hover { color: var(--on-navy); }
@media (max-width: 44rem) {
  .site-header { position: static; }
  .header-inner { flex-direction: column; align-items: flex-start; gap: .7rem; }
  .site-header nav { gap: 1.1rem; }
}

/* hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 85% 10%, var(--navy-2) 0%, var(--navy) 60%); color: var(--on-navy); }
.sky { position: absolute; inset: 0; opacity: 1; pointer-events: none;
  background-image:
    radial-gradient(2px 2px at 12% 22%, #fff9 50%, transparent 51%),
    radial-gradient(1.6px 1.6px at 28% 68%, #fff8 50%, transparent 51%),
    radial-gradient(2px 2px at 44% 14%, #fff7 50%, transparent 51%),
    radial-gradient(1.6px 1.6px at 57% 82%, #fff8 50%, transparent 51%),
    radial-gradient(2px 2px at 66% 30%, #E8B34Bcc 50%, transparent 51%),
    radial-gradient(1.6px 1.6px at 74% 58%, #fff9 50%, transparent 51%),
    radial-gradient(2px 2px at 88% 76%, #fff7 50%, transparent 51%),
    radial-gradient(1.6px 1.6px at 93% 18%, #fff8 50%, transparent 51%),
    radial-gradient(1.6px 1.6px at 6% 86%, #fff7 50%, transparent 51%),
    radial-gradient(2px 2px at 36% 42%, #fff6 50%, transparent 51%); }
.hero-grid { position: relative; z-index: 1; display: grid; gap: 2rem; align-items: center; padding-block: clamp(2.5rem, 5vw, 4.5rem); }
@media (min-width: 60rem) { .hero-grid { grid-template-columns: 1fr 1fr; gap: 3rem; } }
@media (min-width: 100rem) { .hero-grid { width: min(100% - 4rem, 90rem); } }
.hero-copy { position: relative; z-index: 1; }
.hero .eyebrow { text-transform: uppercase; letter-spacing: .24em; font-size: .8rem; font-weight: 600; color: var(--gold); margin-bottom: 1.1rem; }
.hero .lede { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--on-navy-muted); max-width: 38rem; }
.hero-art { margin: 0; }
.hero-art img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 60% 50%; border-radius: var(--radius); border: 1px solid #ffffff26; box-shadow: 0 1.5rem 3rem #0006; }
.hero-art figcaption { margin-top: .9rem; font-size: .95rem; color: var(--on-navy-muted); }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

/* buttons */
.button { display: inline-block; text-decoration: none; font-weight: 600; letter-spacing: .02em; padding: .8rem 1.4rem; border-radius: 999px; border: 2px solid transparent; transition: background-color .15s, color .15s, border-color .15s; }
.button.primary { background: var(--gold); color: var(--navy); }
.button.primary:hover { background: #F2C468; }
.button.ghost { border-color: #ffffff8c; color: var(--on-navy); }
.button.ghost:hover { border-color: var(--on-navy); }
.button.ghost-dark { border-color: var(--navy); color: var(--navy); }
.button.ghost-dark:hover { background: var(--navy); color: var(--on-navy); }
.button.small { padding: .6rem 1.1rem; font-size: .95rem; }
.button.big { font-size: clamp(1rem, 2.2vw, 1.25rem); padding: 1rem 1.6rem; overflow-wrap: anywhere; }

/* bands */
.band { padding-block: clamp(3.5rem, 8vw, 6rem); }
.band.alt { background: var(--sand); }
.kicker { text-transform: uppercase; letter-spacing: .22em; font-size: .78rem; font-weight: 700; color: var(--gold-ink); margin-bottom: .8rem; }
.intro { color: var(--muted); max-width: 34rem; font-size: 1.1rem; }

/* ventures */
.venture { margin-top: 2.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; }
@media (min-width: 60rem) { .venture { grid-template-columns: 1fr 1fr; } }
.venture-art { display: block; }
.venture-art img { width: 100%; height: 100%; min-height: 14rem; aspect-ratio: 2 / 1; object-fit: cover; }
.venture-body { padding: 1.8rem 2rem 1.4rem; align-self: center; }
.venture h3 { font-size: 1.7rem; margin-bottom: .6rem; }
.venture h3 a { text-decoration: none; }
.venture h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.venture-links { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.4rem; margin-top: 1.2rem; }
.tag { display: inline-block; text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 700; color: var(--navy); background: #E8B34B33; padding: .25rem .6rem; border-radius: 999px; margin-bottom: .9rem; }
.venture-next { margin-top: 1.2rem; display: flex; align-items: center; gap: 1.2rem; background: var(--navy); color: var(--on-navy-muted); border-radius: var(--radius); padding: 1.1rem 1.6rem; }
.venture-next p { margin: 0; }
.venture-next strong { color: var(--on-navy); }
.next-mark { flex: 0 0 3rem; }
.next-mark svg { width: 100%; height: auto; }

/* how we work */
.facts-grid { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.facts-grid li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.5rem .5rem; border-top: 4px solid var(--gold); }
.facts-grid p { color: var(--muted); }
.ai-panel { margin-top: 1.5rem; background: var(--navy); color: var(--on-navy-muted); border-radius: var(--radius); padding: 1.6rem 1.8rem .6rem; border-left: 6px solid var(--gold); }
.ai-panel h3 { color: var(--on-navy); }
.ai-panel a { color: var(--on-navy); font-weight: 600; text-underline-offset: 3px; }

/* principles */
.split { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 60rem) { .split { grid-template-columns: 5fr 7fr; align-items: start; } }
.principles { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.principles li { border-left: 3px solid var(--gold); padding: .2rem 0 .2rem 1.2rem; }
.principles p { color: var(--muted); margin-bottom: .4rem; }
@media (min-width: 40rem) { .principles li:last-child:nth-child(odd) { grid-column: 1 / -1; } }
.principles a { color: var(--ink); font-weight: 600; }

/* founder */
.founder { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 60rem) { .founder { grid-template-columns: 7fr 5fr; } }
.founder-text p { max-width: 44rem; }
.pull { margin: 0 0 1.5rem; padding: 1.4rem 1.6rem; background: var(--navy); color: var(--on-navy); border-radius: var(--radius); border-left: 6px solid var(--gold); }
.pull p { font-family: var(--display); font-size: 1.2rem; line-height: 1.45; margin-bottom: .6rem; }
.pull footer { color: var(--on-navy-muted); font-size: .92rem; }
.pull footer::before { content: "\2014\00a0"; }
.pillars-title { font-size: .78rem; text-transform: uppercase; letter-spacing: .22em; color: var(--gold-ink); margin: 0 0 .8rem; }
.founder-facts { display: grid; grid-template-columns: 1fr; gap: .15rem; margin: 0; }
.founder-facts dt { font-weight: 700; color: var(--gold-ink); text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; padding-top: .2rem; }
.founder-facts dd { margin: 0 0 .7rem; color: var(--muted); }
.founder-facts a { font-weight: 600; text-underline-offset: 3px; }

/* contact */
.contact { background: var(--cream); }
.routes { list-style: none; padding: 0; margin: 2rem 0 1.5rem; display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.routes li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.5rem .4rem; display: flex; flex-direction: column; }
.routes li p:last-child { margin-top: auto; padding-top: .4rem; }
.routes p { color: var(--muted); }
.routes a:not(.button) { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }
.policy { color: var(--muted); font-size: .92rem; max-width: 46rem; }

/* prose pages */
.prose { max-width: 46rem; }
.prose h2 { font-size: 1.35rem; margin-top: 2rem; }
.prose .updated { color: var(--muted); }
.prose a { font-weight: 600; text-underline-offset: 3px; }

/* footer */
.site-footer { background: var(--navy); color: var(--on-navy-muted); padding-block: 2.2rem; font-size: .92rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
.site-footer .brand svg { width: 12rem; }
.site-footer nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.site-footer nav a { text-decoration: none; color: var(--on-navy); }
.site-footer nav a:hover { text-decoration: underline; }
.site-footer .fine { margin: 0; width: 100%; }

/* 404 */
.lost { min-height: 100vh; display: flex; flex-direction: column; background: var(--navy); }
.lost-hero { flex: 1; display: flex; align-items: center; padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .5rem; }
