@font-face {
  font-family: Fraunces;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/fraunces-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: Fraunces;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/fraunces-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/outfit-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/outfit-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/outfit-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/outfit-latin-700-normal.woff2") format("woff2");
}

:root {
  --bg: #eef4fb;
  --ink: #0c2344;
  --muted: #3a5270;
  --line: #c5d8ee;
  --card: #fbfdff;
  --blue: #1558c0;
  --blue-deep: #0c3d86;
  --blue-bright: #2f7ef7;
  --soft: #d7e7f8;
  --shadow: 0 18px 40px rgba(16, 58, 112, 0.08);
  --serif: "Fraunces", "Iowan Old Style", Palatino, "Palatino Linotype", serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --max: 1120px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 100% -8%, #d5e6fa 0%, transparent 60%),
    radial-gradient(700px 380px at -10% 12%, #e4eef9 0%, transparent 55%),
    var(--bg);
  line-height: 1.55;
}
img, svg { max-width: 100%; }
a { color: inherit; }
:focus-visible {
  outline: 3px solid var(--blue-bright);
  outline-offset: 3px;
}
::selection { background: #b9d4f5; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--blue-deep);
  color: white;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  z-index: 40;
}
.skip:focus { top: 0.6rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 1rem 1.5rem;
  padding: 0.85rem 1.25rem;
  background: rgba(238, 244, 251, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(197, 216, 238, 0.8);
}
.brand {
  font-weight: 650;
  text-decoration: none;
  letter-spacing: -0.02em;
}
.nav {
  display: flex;
  gap: 1.1rem;
  margin-left: auto;
}
.nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.nav a:hover { color: var(--blue-deep); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  background: var(--blue);
  color: white;
  text-decoration: none;
  font-weight: 620;
  letter-spacing: -0.01em;
  box-shadow: 0 8px 20px rgba(21, 88, 192, 0.22);
}
.btn:hover { background: var(--blue-deep); }
.btn-small {
  min-height: 44px;
  padding: 0.45rem 0.95rem;
  font-size: 0.92rem;
  box-shadow: none;
}
.btn-ghost {
  background: transparent;
  color: var(--blue-deep);
  border: 1.5px solid #b7cceb;
  box-shadow: none;
}
.btn-ghost:hover { background: white; }
.btn-light {
  background: white;
  color: var(--blue-deep);
  box-shadow: none;
}
.btn-light:hover { background: #e7f1fc; }

main { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 1rem;
}
.kicker {
  margin: 0 0 0.7rem;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 560; letter-spacing: -0.03em; line-height: 1.05; }
h1 {
  margin: 0;
  font-size: clamp(3.3rem, 8vw, 6.1rem);
  color: #08264d;
}
.lede, .section-lede {
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 42rem;
}
.lede { margin: 1.1rem 0 0; font-size: 1.22rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.6rem; }
.constellation { margin: 0; }
.constellation svg { display: block; width: 100%; height: auto; }

.band { padding: clamp(2.6rem, 6vw, 4.4rem) 0 0.4rem; }
h2 { margin: 0 0 0.9rem; font-size: clamp(2rem, 4vw, 3rem); color: #0b2d57; }

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1.1rem; padding: 0; list-style: none; }
.chips li {
  margin: 0;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: #e7f1fc;
  color: #0d4e9e;
  font-size: 0.86rem;
  font-weight: 650;
}
.about-copy { max-width: 42rem; }
.about-copy p { color: var(--muted); margin: 0 0 0.9rem; }

.venture-grid, .learn-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.4rem;
}
.venture-grid { grid-template-columns: 1fr 1fr; }
.venture, .learn-card, .team-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.venture { padding: 1.25rem 1.3rem 1.15rem; }
.venture-kicker {
  margin: 0 0 0.45rem;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.venture h3, .learn-card h3 { margin: 0 0 0.45rem; font-size: 1.55rem; }
.venture p:last-child, .learn-card > p { margin: 0; color: var(--muted); }

.learn {
  margin-top: 3rem;
  background: linear-gradient(180deg, #e7f1fb 0%, #d7e7f8 100%);
  border: 1px solid #c5d8ee;
  border-radius: 28px;
  padding: 1.6rem 1.2rem 1.3rem;
}
.learn .section-lede { color: #24456c; }
.learn-grid { grid-template-columns: repeat(6, 1fr); }
.learn-card {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.05rem 1.05rem 0.95rem;
  text-decoration: none;
  min-height: 100%;
}
.learn-card:nth-child(4),
.learn-card:nth-child(5) { grid-column: span 3; }
.learn-card:hover { border-color: #8eb4e3; transform: translateY(-2px); }
.learn-top { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.dot { width: 0.7rem; height: 0.7rem; border-radius: 50%; display: inline-block; }
.dot-budget { background: #1558c0; }
.dot-save { background: #2a7de1; }
.dot-credit { background: #3d67d4; }
.dot-invest { background: #1a6f9c; }
.dot-paper { background: #0c3d86; }
.roster-label { margin: 1.1rem 0 0.45rem; font-family: var(--sans); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); }
.roster { list-style: none; margin: 0 0 0.4rem; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.55rem; }
.roster li { display: flex; flex-direction: column; gap: 0.15rem; padding: 0.7rem 0.75rem; border: 1px solid var(--line); border-radius: 12px; background: #f7fbff; }
.who { font-weight: 650; letter-spacing: -0.02em; }
.role { color: var(--blue); font-size: 0.82rem; font-weight: 600; }
.status {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0d4e9e;
  background: #e5f0fc;
  border-radius: 999px;
  padding: 0.28rem 0.5rem;
}
.learn-card h3 { font-size: 1.35rem; }
.learn-meta {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: baseline;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}
.learn-go { color: var(--blue-deep); font-weight: 650; white-space: nowrap; }

.team-panel { padding: 1.3rem 1.35rem; }
.team-panel p { margin: 0 0 0.8rem; color: var(--muted); }
.text-link { color: var(--blue-deep); font-weight: 650; }

.cta {
  margin: 3.2rem 0 1rem;
  padding: clamp(2rem, 5vw, 3.2rem) 1.4rem;
  border-radius: 28px;
  background:
    radial-gradient(500px 180px at 100% 0%, rgba(90, 208, 230, 0.25), transparent 60%),
    linear-gradient(160deg, #124e9e, #0c3d86 55%, #082a5c);
  color: white;
}
.cta h2 { color: white; }
.cta p { max-width: 38rem; color: #d5e6f8; }
.kicker-light { color: #9fd0ff; }

.site-footer {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.4rem 0 2rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.site-footer a { color: var(--blue-deep); font-weight: 620; }

@media (max-width: 860px) {
  .hero, .venture-grid, .learn-grid { grid-template-columns: 1fr; }
  .learn-card, .learn-card:nth-child(4), .learn-card:nth-child(5) { grid-column: auto; }
  .site-header { flex-wrap: wrap; padding-bottom: 0.4rem; }
  .nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    gap: 0.25rem 1rem;
    overflow-x: auto;
    padding-bottom: 0.35rem;
  }
  .nav a { white-space: nowrap; }
  .btn-small { margin-left: auto; }
  h1 { font-size: clamp(3rem, 14vw, 4.4rem); }
}

@media (max-width: 420px) {
  .learn-meta { flex-direction: column; align-items: flex-start; }
  .roster { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}

.bb-wrap { width: min(44rem, calc(100% - 2rem)); margin: 0 auto; padding: 1.4rem 0 2.2rem; }
.bb-draft { margin: 0 0 1rem; padding: 0.75rem 0.9rem; border-radius: 14px; background: #e7f1fc; color: #0d4e9e; font-weight: 700; }
.bb-tips { margin: 0.4rem 0 1.2rem; padding-left: 1.2rem; }
.bb-tips li { margin: 0.35rem 0; }
.bb-figure { margin: 0 0 1.2rem; }
.bb-figure img { display: block; width: 100%; height: auto; border-radius: 16px; }
.bb-body p { color: var(--muted); }
.bb-links { padding-left: 1.1rem; }
.bb-archive { list-style: none; margin: 0; padding: 0; }
.bb-archive a { display: flex; flex-wrap: wrap; gap: 0.35rem 0.8rem; align-items: baseline; padding: 0.85rem 0; border-bottom: 1px solid var(--line); text-decoration: none; min-height: 44px; }
.bb-archive span { font-variant-numeric: tabular-nums; color: var(--blue); font-weight: 650; }
.bb-archive em { font-style: normal; color: #0d4e9e; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }
.bb-feature { margin-bottom: 1.6rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .learn-card { transition: none; }
  .learn-card:hover { transform: none; }
}

.proj-wrap { width: min(52rem, calc(100% - 2rem)); margin: 0 auto; padding: 1.2rem 0 1.4rem; }
.proj-back { margin: 0 0 1rem; }
.proj-title { font-size: clamp(2.6rem, 7vw, 4.2rem); }
.sim-notice { margin: 1rem 0 1.1rem; padding: 0.8rem 1rem; border-radius: 14px; background: #e7f1fc; border: 1px solid #b7cceb; color: #0b2d57; font-size: 1rem; }
.sim-notice strong { color: var(--blue-deep); margin-right: 0.25rem; }
.proj-desc p { color: var(--muted); margin: 0 0 0.85rem; font-size: 1.08rem; max-width: 46rem; }
.proj-how { margin: 0.2rem 0 0; color: var(--blue-deep); font-weight: 600; font-size: 0.98rem; }
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.4rem; }
.project-card { display: flex; flex-direction: column; gap: 0.5rem; padding: 1.25rem 1.3rem 1.15rem; background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); text-decoration: none; transition: transform 0.18s, border-color 0.18s; }
.project-card:hover { border-color: #8eb4e3; transform: translateY(-2px); }
.project-card h3 { margin: 0; font-size: 1.55rem; }
.project-card p { margin: 0; color: var(--muted); }
.project-card .project-note { font-size: 0.88rem; color: #0d4e9e; font-weight: 600; }
.project-card .learn-go { margin-top: auto; padding-top: 0.75rem; border-top: 1px solid var(--line); }
@media (max-width: 860px) { .project-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .project-card { transition: none; } .project-card:hover { transform: none; } }
