/* Layout: one 1200px column in a dark "devlog HUD" world; yellow is the only accent and marks everything you can act on. */
:root {
  --bg: #111214;
  --surface: #17181B;
  --card: #1E1F24;
  --line: #2E2F35;
  --text: #F3F1EA;
  --soft: #C9C6BD;
  --muted: #A9A7A0;
  --accent: #FFD23F;
  --accent-hover: #FFE173;
  --on-accent: #111214;
  --live: #4ADE80;
  --font-display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --font-body: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --radius: 10px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 800; text-wrap: balance; }
p { margin: 0; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: 1200px; margin: 0 auto; padding-inline: clamp(16px, 4vw, 32px); }

.label {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.tag {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--on-accent);
  padding: 4px 10px;
  border-radius: 4px;
  white-space: nowrap;
}
.tag-outline { background: transparent; color: var(--text); border: 1.5px solid #4A4B52; padding: 3px 10px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 17px;
  text-decoration: none;
  transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn svg { transition: transform .15s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn-ghost { border: 1.5px solid #3A3B42; color: var(--text); }
.btn-ghost:hover { border-color: var(--muted); color: var(--text); }
.btn-dark { background: var(--on-accent); color: var(--text); }
.btn-dark:hover { background: #2A2B31; color: var(--text); }
.btn-outline-dark { border: 1.5px solid var(--on-accent); color: var(--on-accent); }
.btn-outline-dark:hover { background: rgba(17, 18, 20, .08); color: var(--on-accent); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  padding-block: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; }
.brand:hover { color: var(--text); }
.brand-mark { width: 14px; height: 14px; background: var(--accent); flex: none; }
.brand-name { font-family: var(--font-mono); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; }
.site-nav .text-link { color: var(--text); text-decoration: none; font-size: 15px; padding: 12px 0; }
.site-nav .text-link:hover { color: var(--accent); }
.site-nav .btn { min-height: 44px; padding: 0 18px; font-size: 15px; }

/* Hero */
.hero .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
  align-items: center;
  padding-top: clamp(32px, 6vw, 72px);
  padding-bottom: clamp(64px, 9vw, 112px);
}
.hero-copy { flex: 999 1 540px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero h1 { font-size: clamp(44px, 6vw, 80px); line-height: 1.02; letter-spacing: -0.02em; }
.hero-lead { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.55; color: var(--soft); max-width: 36em; }
.hero .btn-row { padding-top: 8px; }

.fund {
  flex: 1 1 340px;
  min-width: 0;
  background: #1B1C20;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color .6s ease;
}
.fund.bump { border-color: var(--accent); }
.fund-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.fund-top .label { color: var(--muted); display: inline-flex; align-items: center; gap: 10px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #4A4B52; flex: none; }
.fund.is-live .live-dot { background: var(--live); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.fund-amount { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.fund-amount strong { font-family: var(--font-display); font-weight: 800; font-size: 56px; line-height: 1; font-variant-numeric: tabular-nums; }
.fund-amount span { font-size: 18px; color: var(--muted); }
.bar { height: 14px; background: #2A2B31; border-radius: 3px; overflow: hidden; }
.bar-fill {
  height: 100%;
  width: var(--pct, 1.5%);
  background: var(--accent);
  transition: width 1.2s cubic-bezier(.2, .7, .2, 1);
  animation: fill 1.4s cubic-bezier(.2, .7, .2, 1) .2s both;
}
@keyframes fill { from { width: 0; } }
.fund-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 12px; font-family: var(--font-mono); font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.goal { display: flex; flex-direction: column; gap: 12px; }
.goal + .goal { padding-top: 8px; }
.goal-top { display: flex; justify-content: space-between; gap: 12px; font-family: var(--font-mono); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-variant-numeric: tabular-nums; }
.goal-top span:last-child { color: var(--accent); }
.goal .fund-amount strong { font-size: 44px; }
.fund-meta a { color: var(--accent); text-decoration: none; font-weight: 700; }
.fund-meta a:hover { color: var(--accent-hover); text-decoration: underline; }
.fund dd a { color: var(--accent); text-decoration: none; font-weight: 600; }
.fund dd a:hover { color: var(--accent-hover); text-decoration: underline; }
.fund hr { border: 0; height: 1px; background: var(--line); margin: 0; }
.fund dl { margin: 0; display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.fund dl div { display: flex; justify-content: space-between; gap: 16px; }
.fund dt { color: var(--muted); }
.fund dd { margin: 0; font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }

/* Sections */
.section-head { display: flex; flex-direction: column; gap: 16px; max-width: 720px; }
.section-head h2, .about h2 { font-size: clamp(34px, 4vw, 52px); line-height: 1.08; letter-spacing: -0.015em; }

.deal { background: var(--surface); border-block: 1px solid #26272C; }
.deal .wrap { display: flex; flex-direction: column; gap: 48px; padding-block: clamp(72px, 9vw, 104px); }
.deal-cards { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.card {
  min-width: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.card-now { flex: 1 1 300px; }
.card-later { flex: 2 1 540px; }
.card h3 { font-size: 32px; line-height: 1.1; }
.card p { color: var(--soft); }
.dives { list-style: none; margin: 0; padding: 8px 0 0; display: flex; flex-wrap: wrap; gap: 28px 32px; }
.dives li { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.num { font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.dives strong { font-weight: 600; font-size: 18px; }
.dives span:last-child { color: var(--muted); font-size: 16px; }

.road .wrap { display: flex; flex-direction: column; gap: 48px; padding-block: clamp(72px, 9vw, 104px); }
.stops { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 28px 20px; }
.stops li { flex: 1 1 230px; min-width: 0; border-top: 4px solid #3A3B42; padding-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.stops li.current { border-top-color: var(--accent); }
.stops .num { color: var(--muted); }
.stops li.current .num { color: var(--accent); }
.stop-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.stop-top .tag { font-size: 11px; padding: 3px 8px; }
.stops h3 { font-size: 26px; line-height: 1.15; }
.stops p { color: var(--muted); font-size: 16px; }

.about .wrap { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-bottom: clamp(72px, 9vw, 104px); }
.photo {
  flex: 0 1 300px;
  min-width: 0;
  height: 340px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--surface);
  background-image: linear-gradient(#1C1D21 1px, transparent 1px), linear-gradient(90deg, #1C1D21 1px, transparent 1px);
  background-size: 34px 34px;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  text-align: center;
}
.photo-mark {
  width: 132px;
  height: 132px;
  background: var(--accent);
  color: var(--on-accent);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.photo-mark span { font-family: var(--font-display); font-weight: 800; font-size: 72px; line-height: 1; }
.photo-steps { display: flex; gap: 5px; }
.photo-steps i { width: 18px; height: 8px; background: var(--on-accent); opacity: .25; }
.photo-steps i.on { opacity: 1; }
.photo-note { font-family: var(--font-mono); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--soft); line-height: 1.6; }
.about-copy { flex: 999 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.about-copy p { font-size: 19px; color: var(--soft); max-width: 34em; }

.cta .wrap { padding-bottom: clamp(72px, 9vw, 104px); }
.cta-panel {
  background: var(--accent);
  color: var(--on-accent);
  border-radius: 14px;
  padding: clamp(32px, 6vw, 80px);
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.cta-panel :focus-visible { outline-color: var(--on-accent); }
.cta h2 { font-size: clamp(38px, 5vw, 64px); line-height: 1.04; letter-spacing: -0.02em; max-width: 14em; }
.cta p { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.55; color: #2B2716; max-width: 34em; }
.cta .btn-row { padding-top: 8px; }

.site-footer { border-top: 1px solid #26272C; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; padding-block: 28px; font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--soft); text-decoration: none; padding-block: 8px; }
.footer-links a:hover { color: var(--accent); }

@media (max-width: 560px) {
  .site-nav .text-link { display: none; }
  .photo { flex-basis: 100%; height: 260px; }
  .fund { padding: 24px; }
  .goal .fund-amount strong { font-size: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bar-fill { animation: none; transition: none; }
  .fund.is-live .live-dot { animation: none; }
  .btn, .btn svg { transition: none; }
  .btn:hover svg { transform: none; }
}
