/* Self-hosted fonts (OFL) — replaces fonts.googleapis.com */
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/oswald-400.woff2') format('woff2'); }
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/oswald-600.woff2') format('woff2'); }
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/oswald-700.woff2') format('woff2'); }

:root {
  --bg:        #0d1209;
  --surface:   #141a10;
  --border:    #1e2a18;
  --text:      #e4e8dc;
  --dim:       #7d8f73;
  --green:     #7aaa60;
  --green-dk:  #4a7030;
  --amber:     #c89040;
  --amber-dk:  #8a6020;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-snap-type: y proximity; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

a { color: var(--green); }

/* ── Brand mark ── */
.brand-mark {
  position: fixed; top: 1rem; left: 1rem; z-index: 50;
  font-family: 'Oswald', sans-serif; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--dim); text-decoration: none;
  padding: 0.7rem; margin: -0.7rem;
  display: inline-flex; align-items: center;
  transition: color 0.15s;
}
.brand-mark:hover { color: var(--green); }

/* ── Dot nav ── */
.dot-nav {
  position: fixed; top: 50%; right: 1.75rem; transform: translateY(-50%); z-index: 50;
  display: flex; flex-direction: column; gap: 0.9rem;
}
.dot-nav button {
  width: 1.4rem; height: 1.4rem; padding: 0; border: none; background: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.dot-nav button span {
  display: block; width: 0.45rem; height: 0.45rem; border-radius: 50%;
  background: var(--border); transition: background 0.25s, transform 0.25s;
}
.dot-nav button:hover span { background: var(--dim); }
.dot-nav button.is-active span { background: var(--green); transform: scale(1.6); }

@media (max-width: 720px) {
  .dot-nav { display: none; }
}

/* ── Slides ── */
.slide {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 6rem 1.5rem;
  border-bottom: 1px solid var(--border);
  scroll-snap-align: start;
  overflow: hidden;
}

.slide-num {
  position: absolute; top: 2.5rem; left: 2.5rem;
  font-family: 'Oswald', sans-serif; font-size: clamp(3rem, 10vw, 7rem); font-weight: 700;
  color: var(--surface); line-height: 1; z-index: 0; user-select: none;
}

.slide-inner { position: relative; z-index: 1; max-width: 720px; width: 100%; }

/* Section 1 — hero */
.slide-hero { background: radial-gradient(ellipse 70% 55% at 50% 35%, rgba(122, 170, 96, 0.14), transparent 70%); }
.slide-hero .slide-inner { text-align: center; }

.eyebrow { font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--dim); margin-bottom: 1.1rem; }

.mantra { display: flex; flex-direction: column; gap: 0.1rem; }
.mantra .line {
  font-family: 'Oswald', Impact, sans-serif; font-size: clamp(2.3rem, 9vw, 5rem); font-weight: 700;
  line-height: 1.02; letter-spacing: 0.01em; text-transform: uppercase; color: var(--green);
}
.mantra-sub { font-size: clamp(1rem, 2.6vw, 1.25rem); color: var(--dim); margin-top: 1.5rem; }
.mantra-link { margin-top: 0.9rem; font-size: 0.88rem; }
.mantra-link a { text-decoration: none; }
.mantra-link a:hover { text-decoration: underline; }

.scroll-cue { display: flex; justify-content: center; margin-top: 3rem; }
.scroll-cue span {
  display: block; width: 1px; height: 2.5rem; background: linear-gradient(var(--green-dk), transparent);
  animation: scroll-cue 1.8s ease-in-out infinite;
}
@keyframes scroll-cue { 0%, 100% { opacity: 0.3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(8px); } }

/* Statements & prose */
.statement {
  font-family: 'Oswald', sans-serif; font-size: clamp(1.5rem, 4.6vw, 2.4rem); font-weight: 600;
  line-height: 1.25; color: var(--text); margin-bottom: 1.75rem; max-width: 22ch;
}
.statement-lite { font-family: 'Oswald', sans-serif; font-weight: 600; color: var(--amber) !important; font-size: 1.15em; }

.prose { display: flex; flex-direction: column; gap: 1.1rem; margin-bottom: 1.75rem; }
.prose p { font-size: 1.02rem; color: var(--dim); line-height: 1.85; }
.prose p strong { color: var(--green); }

/* Section 3 — origin story + taxi card */
.origin-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
@media (min-width: 760px) { .origin-grid { grid-template-columns: 1.1fr 0.9fr; } }

.taxi-card-wrap { display: flex; justify-content: center; }
.taxi-card {
  background: #f3efdf; color: #1a1a1a; border: 3px solid #1a1a1a; border-radius: 4px;
  padding: 1.1rem; box-shadow: 0 0 0 6px #f3efdf, 0 14px 30px rgba(0,0,0,0.5);
  transform: rotate(-2deg); font-family: 'Oswald', Arial, sans-serif; text-align: center; max-width: 320px;
}
.taxi-card .inner { border: 2px solid #1a1a1a; padding: 1.1rem 0.8rem; }
.taxi-card .t1 { font-weight: 700; font-size: 1.3rem; letter-spacing: 0.02em; }
.taxi-card .t2 { font-weight: 600; font-size: 1rem; margin: 0.6rem 0 0.2rem; }
.taxi-card .t3 { font-weight: 700; font-size: 1.1rem; margin-bottom: 0.6rem; }
.taxi-card .t4 { font-size: 0.7rem; line-height: 1.5; color: #333; }

/* Section 4 — how it works, three beats */
.slide-tall { min-height: auto; padding-top: 8rem; padding-bottom: 8rem; }
.beats { display: flex; flex-direction: column; gap: 2rem; margin-top: 2.5rem; }
.beat { border-left: 3px solid var(--green-dk); padding-left: 1.5rem; }
.beat-word {
  display: block; font-family: 'Oswald', sans-serif; font-size: clamp(1.3rem, 3.6vw, 1.9rem); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.02em; color: var(--green); margin-bottom: 0.5rem;
}
.beat p { font-size: 0.98rem; color: var(--dim); line-height: 1.75; max-width: 52ch; }
.beat p span#unit { color: var(--text); }

/* Section 5 — stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
@media (max-width: 560px) { .stats { grid-template-columns: 1fr; } }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 1.4rem 1rem; text-align: center; }
.stat-num { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 2.2rem; color: var(--green); line-height: 1; }
.stat-label { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.72rem; color: var(--dim); margin-top: 0.5rem; }
.progress-wrap { margin-top: 0.5rem; }
.progress-bar { height: 12px; background: var(--border); border-radius: 8px; overflow: hidden; }
.progress-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--green-dk), var(--green)); transition: width 0.6s ease; }
.progress-meta { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--dim); margin-top: 0.5rem; }
.asof { font-size: 0.78rem; color: var(--dim); margin-top: 0.75rem; opacity: 0.75; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: 'Oswald', sans-serif; font-size: 0.88rem; font-weight: 600; letter-spacing: 0.03em;
  text-decoration: none; padding: 0.75rem 1.4rem; border-radius: 6px;
  transition: filter 0.15s, transform 0.1s, background 0.15s, border-color 0.15s;
  border: 1px solid transparent;
}
.btn:hover { filter: brightness(1.15); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-amber { background: var(--amber); color: #201607; }
.btn-venmo { background: #3d95ce; color: #fff; }

.give-note { font-size: 0.82rem; color: var(--dim); margin-top: 1rem; max-width: 46ch; line-height: 1.6; }
.give-note a { color: var(--green); }

/* ── Closing ── */
.closing { padding: 5rem 1.5rem 4rem; text-align: center; }
.closing-line {
  font-family: 'Oswald', sans-serif; font-size: clamp(1.6rem, 5vw, 2.4rem); font-weight: 600;
  color: var(--green); margin-bottom: 2rem;
}
.closing-meta { display: flex; gap: 1.25rem; justify-content: center; flex-wrap: wrap; font-size: 0.78rem; margin-bottom: 1.25rem; }
.closing-meta a { color: var(--dim); text-decoration: none; }
.closing-meta a:hover { color: var(--green); }
.closing-meta span { color: var(--dim); opacity: 0.6; }
.closing-crisis { font-size: 0.75rem; color: var(--dim); opacity: 0.7; }
.closing-crisis a { color: var(--dim); }

/* ── Scroll reveal ── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal[style*="--i"] { transition-delay: calc(var(--i, 0) * 0.12s); }
.beats .beat.reveal { transition-delay: calc(var(--i, 0) * 0.1s); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; scroll-snap-type: none; }
  .reveal, .scroll-cue span { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 620px) {
  .slide { padding: 5rem 1.25rem; }
  .slide-num { top: 1.5rem; left: 1.25rem; }
  .brand-mark { top: 1.25rem; left: 1.25rem; }
  .beat { padding-left: 1.1rem; }
  .taxi-card { max-width: 280px; }
}
