/* =========================================================
   Thank You, Jensen — styles
   ========================================================= */

@property --ring-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

:root {
  --bg: #050605;
  --bg-2: #0a0d09;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.15);
  --ink: #f3f5ef;
  --ink-2: #c8cec1;
  --muted: #8f998a;
  --green: #76b900;
  --green-2: #a3e635;
  --green-glow: rgba(118, 185, 0, 0.38);

  --serif: "Instrument Serif", "Iowan Old Style", "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --gutter: clamp(16px, 4.5vw, 56px);
  --max: 1200px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

/* film grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--green); color: #050605; }

a { color: inherit; }
img { display: block; max-width: 100%; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--green-2); outline-offset: 3px; }

.skip {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 300;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--green);
  color: #050605;
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { top: 16px; }

/* icons */
.i, .i-heart {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
[aria-pressed="true"] .i-heart { fill: currentColor; }

/* =========================================================
   Top bar
   ========================================================= */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px var(--gutter);
  padding-top: max(14px, env(safe-area-inset-top));
  border-bottom: 1px solid transparent;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}
.topbar.is-scrolled {
  background: rgba(5, 6, 5, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1;
  white-space: nowrap;
}
.wordmark em { font-style: italic; color: var(--green-2); }
.wordmark__heart { width: 16px; height: 16px; color: var(--green); fill: currentColor; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  font: 500 14px/1 var(--mono);
  cursor: pointer;
  transition: border-color 0.3s, background-color 0.3s, color 0.3s, transform 0.2s;
}
.pill .i-heart { width: 16px; height: 16px; color: var(--green-2); }
.pill:hover { border-color: rgba(118, 185, 0, 0.55); }
.pill:active { transform: scale(0.96); }
.pill[aria-pressed="true"] {
  color: var(--green-2);
  border-color: rgba(118, 185, 0, 0.45);
  background: rgba(118, 185, 0, 0.09);
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 128px var(--gutter) 112px;
  overflow: hidden;
}

.cores {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 62% 46%, #000 18%, transparent 78%);
  mask-image: radial-gradient(ellipse 85% 75% at 62% 46%, #000 18%, transparent 78%);
}

.hero__glow {
  position: absolute;
  z-index: -1;
  right: -12%;
  top: 50%;
  width: min(980px, 130vw);
  aspect-ratio: 1;
  transform: translateY(-50%);
  background: radial-gradient(closest-side, rgba(118, 185, 0, 0.24), rgba(118, 185, 0, 0.07) 52%, transparent 72%);
  pointer-events: none;
}

.hero__inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}

.eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  row-gap: 6px;
  margin: 0 0 30px;
  font: 500 12.5px/1.6 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow b { font-weight: 500; white-space: nowrap; }
.eyebrow span { color: var(--green); padding: 0 0.6em; }

.hero__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3.9rem, 10.5vw, 9.5rem);
  line-height: 0.88;
  letter-spacing: -0.028em;
}
.hero__title em {
  font-style: italic;
  padding-right: 0.08em;
  background: linear-gradient(100deg, #ffffff 0%, #eaf7cf 28%, var(--green-2) 62%, var(--green) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sheen 9s ease-in-out infinite alternate;
}
@keyframes sheen {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

.hero__lead {
  max-width: 33em;
  margin: 34px 0 0;
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.7;
  color: var(--ink-2);
}
.hero__lead strong { color: var(--ink); font-weight: 600; }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}
.actions--center { justify-content: center; }

.tally {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 15px;
}
.tally strong {
  font: 500 15px/1 var(--mono);
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: live 2.2s ease-out infinite;
}
@keyframes live {
  0% { box-shadow: 0 0 0 0 rgba(118, 185, 0, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(118, 185, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(118, 185, 0, 0); }
}

/* entrance */
.rise { animation: rise 1.1s var(--ease) both; }
.rise-1 { animation-delay: 0.05s; }
.rise-2 { animation-delay: 0.15s; }
.rise-3 { animation-delay: 0.3s; }
.rise-4 { animation-delay: 0.45s; }
.rise-5 { animation-delay: 0.6s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(26px); filter: blur(8px); }
  to { opacity: 1; transform: none; filter: none; }
}

/* portrait */
.portrait {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 460px;
  margin: 0;
  perspective: 1100px;
}
.portrait__card {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 50% 50% 30px 30px / 40% 40% 30px 30px;
  transform-style: preserve-3d;
  transition: transform 0.7s var(--ease);
  will-change: transform;
}
.portrait__card::before {
  /* soft green rim light */
  content: "";
  position: absolute;
  inset: 6% -6% -8%;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(closest-side, rgba(118, 185, 0, 0.45), transparent 75%);
  filter: blur(40px);
  opacity: 0.8;
}
.portrait__ring {
  position: absolute;
  inset: -1.5px;
  z-index: 2;
  padding: 1.5px;
  border-radius: inherit;
  background: conic-gradient(
    from var(--ring-angle),
    rgba(163, 230, 53, 0) 0deg,
    rgba(163, 230, 53, 0) 190deg,
    rgba(163, 230, 53, 0.95) 300deg,
    rgba(163, 230, 53, 0) 360deg
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: ring 7s linear infinite;
  pointer-events: none;
}
@keyframes ring { to { --ring-angle: 360deg; } }

.portrait__frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  background: #0c100a;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.07), 0 50px 120px -40px rgba(0, 0, 0, 0.9);
}
.portrait__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  filter: contrast(1.04) saturate(0.96);
}
.portrait__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 58%, rgba(5, 6, 5, 0.78)),
    radial-gradient(120% 60% at 50% 0%, rgba(118, 185, 0, 0.08), transparent 60%);
  pointer-events: none;
}
.portrait__fallback {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  background:
    radial-gradient(circle at 50% 38%, rgba(118, 185, 0, 0.32), transparent 58%),
    linear-gradient(180deg, #11170d, #060806);
}
.portrait__fallback span {
  font: italic 400 clamp(6rem, 13vw, 10rem)/1 var(--serif);
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(214, 245, 160, 0.7);
  text-shadow: 0 0 60px rgba(118, 185, 0, 0.45);
}
.portrait.is-empty .portrait__frame img { display: none; }
.portrait.is-empty .portrait__fallback { display: grid; }

.portrait figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  z-index: 3;
  text-align: center;
  font: 500 11.5px/1 var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(243, 245, 239, 0.82);
}

/* scroll cue */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 10px;
  text-decoration: none;
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  animation: rise 1.1s var(--ease) 0.9s both;
}
.scroll-cue i {
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--green), transparent);
  transform-origin: top;
  animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue {
  0% { transform: scaleY(0); opacity: 1; }
  60% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 56px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  font: 600 16px/1 var(--sans);
  letter-spacing: -0.005em;
  cursor: pointer;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.35s var(--ease), background-color 0.3s, border-color 0.3s, color 0.3s;
}
.btn:active { transform: scale(0.97); }
.btn--lg { height: 62px; padding: 0 32px; font-size: 17px; }

.btn--like {
  border-color: transparent;
  background: var(--green);
  color: #071000;
  box-shadow: 0 14px 40px -12px var(--green-glow), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn--like:hover {
  background: #84cc16;
  transform: translateY(-1px);
  box-shadow: 0 20px 56px -14px rgba(118, 185, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn--like[aria-pressed="true"] {
  background: rgba(118, 185, 0, 0.1);
  border-color: rgba(118, 185, 0, 0.5);
  color: var(--green-2);
  box-shadow: none;
}
.btn--like[aria-pressed="true"]:hover { background: rgba(118, 185, 0, 0.16); }

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
}

.is-popping .i-heart { animation: pop 0.65s var(--ease); }
@keyframes pop {
  0% { transform: scale(1); }
  30% { transform: scale(1.45); }
  60% { transform: scale(0.88); }
  100% { transform: scale(1); }
}
.nudge { animation: nudge 1.3s var(--ease) 2; }
@keyframes nudge {
  0%, 100% { box-shadow: 0 0 0 0 rgba(118, 185, 0, 0); border-color: var(--line-2); }
  50% { box-shadow: 0 0 0 8px rgba(118, 185, 0, 0.16); border-color: rgba(118, 185, 0, 0.6); }
}

/* =========================================================
   Stats
   ========================================================= */
.stats-wrap { padding: 0 var(--gutter); }
.stats {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: 44px 28px;
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num {
  display: block;
  font: 400 clamp(2.9rem, 5vw, 4.4rem)/1 var(--serif);
  letter-spacing: -0.02em;
}
.stat__num .accent { color: var(--green-2); }
.stat__label {
  display: block;
  max-width: 19em;
  margin-top: 14px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.5;
}

/* =========================================================
   Sections
   ========================================================= */
.section { padding: clamp(96px, 13vw, 176px) var(--gutter); }
.section--tight-top { padding-top: clamp(40px, 6vw, 80px); }
.wrap { max-width: var(--max); margin: 0 auto; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 26px;
  font: 500 12.5px/1 var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-2);
}
.kicker::before { content: ""; width: 26px; height: 1px; background: currentColor; }

.h2 {
  max-width: 15ch;
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 6.2vw, 5.25rem);
  line-height: 1;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
.h2 em { font-style: italic; color: var(--muted); }

.section__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px 48px;
  margin-bottom: clamp(48px, 7vw, 96px);
}
.section__note {
  max-width: 24em;
  margin: 0;
  color: var(--muted);
}

/* timeline */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--line);
}
.tl {
  display: grid;
  grid-template-columns: minmax(150px, 300px) minmax(0, 1fr);
  gap: clamp(16px, 4vw, 64px);
  align-items: baseline;
  padding: clamp(28px, 4vw, 46px) 0;
  border-top: 1px solid var(--line);
}
.tl__year {
  font: 400 clamp(3.2rem, 7.5vw, 6rem)/0.9 var(--serif);
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
  transition: color 0.8s var(--ease), -webkit-text-stroke-color 0.8s var(--ease), text-shadow 0.8s var(--ease);
}
.tl.is-active .tl__year,
.tl--final .tl__year {
  color: var(--green-2);
  -webkit-text-stroke-color: transparent;
  text-shadow: 0 0 48px rgba(118, 185, 0, 0.35);
}
.tl h3 {
  margin: 0 0 10px;
  font: 600 clamp(1.25rem, 2vw, 1.55rem)/1.25 var(--sans);
  letter-spacing: -0.015em;
}
.tl p { max-width: 36em; margin: 0; color: var(--muted); }
.tl--final h3 { color: var(--green-2); }

/* cards */
.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  padding: clamp(28px, 4vw, 48px);
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008));
  transition: border-color 0.4s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 0%), rgba(118, 185, 0, 0.15), transparent 62%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.card:hover { border-color: rgba(118, 185, 0, 0.32); }
.card:hover::before { opacity: 1; }
.card__index {
  font: 500 12px/1.4 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-2);
}
.card h3 {
  margin: 0 0 16px;
  padding-top: 64px;
  font: 400 clamp(2rem, 3.4vw, 2.85rem)/1.04 var(--serif);
  letter-spacing: -0.015em;
}
.card p { max-width: 32em; margin: 0; color: var(--muted); }

/* people */
.people { text-align: center; overflow: hidden; }
.people .h2 { margin: 0 auto; max-width: 17ch; }
.people__lead {
  max-width: 40em;
  margin: 34px auto 0;
  color: var(--ink-2);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.7;
}

.marquee {
  display: grid;
  gap: 14px;
  margin-top: clamp(56px, 8vw, 104px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__row {
  display: flex;
  width: max-content;
  animation: marquee 70s linear infinite;
}
.marquee__row--rev { animation-direction: reverse; animation-duration: 80s; }
.marquee:hover .marquee__row { animation-play-state: paused; }
.marquee__group {
  display: flex;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  padding-right: 32px;
  font: italic 400 clamp(1.6rem, 3.2vw, 2.7rem)/1.3 var(--serif);
  color: var(--ink-2);
  white-space: nowrap;
}
.marquee__row--rev .marquee__item { color: var(--muted); }
.marquee__item::after {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--green);
  transform: rotate(45deg);
  box-shadow: 0 0 16px rgba(118, 185, 0, 0.6);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* quotes */
.quotes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 48px;
}
.quote {
  margin: 0;
  padding: clamp(28px, 4vw, 44px) 0 clamp(36px, 5vw, 56px);
  border-top: 1px solid var(--line-2);
}
.quote blockquote {
  margin: 0;
  font: 400 clamp(1.8rem, 3.3vw, 2.7rem)/1.1 var(--serif);
  letter-spacing: -0.012em;
  text-wrap: balance;
}
.quote blockquote::before {
  content: "\201C";
  display: block;
  height: 0.55em;
  margin-bottom: 0.1em;
  font-size: 2.3em;
  line-height: 1;
  color: var(--green);
}
.quote figcaption {
  margin-top: 22px;
  font: 500 12px/1.6 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* letter */
.letter__paper {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(32px, 6.5vw, 80px);
  border-radius: 32px;
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(118, 185, 0, 0.09), transparent 60%),
    rgba(255, 255, 255, 0.02);
}
.letter__paper p {
  margin: 0 0 1em;
  font: 400 clamp(1.42rem, 2.3vw, 1.75rem)/1.45 var(--serif);
  color: var(--ink-2);
}
.letter__paper .letter__hello {
  margin-bottom: 0.8em;
  font-size: clamp(2.3rem, 4.4vw, 3.2rem);
  font-style: italic;
  line-height: 1.05;
  color: var(--ink);
}
.letter__paper .letter__sign {
  margin: 1.8em 0 0;
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-style: italic;
  line-height: 1.1;
  color: var(--green-2);
}
.letter__sign span {
  display: block;
  margin-top: 14px;
  font: 500 12px/1.6 var(--mono);
  font-style: normal;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* cta */
.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  text-align: center;
  padding-bottom: clamp(120px, 15vw, 210px);
}
.cta::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  bottom: -38%;
  width: min(1300px, 170vw);
  aspect-ratio: 2 / 1;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(118, 185, 0, 0.3), rgba(118, 185, 0, 0.07) 55%, transparent 76%);
  pointer-events: none;
}
.cta .h2 { margin: 0 auto; max-width: none; }
.cta__count { margin: clamp(40px, 6vw, 72px) 0 0; }
.cta__num {
  display: block;
  font: 400 clamp(4.8rem, 16vw, 12rem)/0.92 var(--serif);
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #ffffff 10%, #d7efab 62%, var(--green) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cta__label {
  display: block;
  margin-top: 16px;
  font: 500 12.5px/1.4 var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.cta .actions { margin-top: clamp(36px, 5vw, 56px); }
.cta__hint { margin: 22px 0 0; color: var(--muted); font-size: 14.5px; }

/* footer */
.footer {
  padding: 52px var(--gutter) calc(56px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
}
.footer p { max-width: 48em; margin: 6px auto; }
.footer .footer__brand {
  margin-bottom: 14px;
  font-family: var(--serif);
  font-size: 24px;
  color: var(--ink);
}
.footer a { color: var(--ink-2); }

/* =========================================================
   Share sheet, toast, sparks
   ========================================================= */
.sheet {
  width: min(460px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 28px;
  background: #0b0e0a;
  color: var(--ink);
  box-shadow: 0 40px 120px -20px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(118, 185, 0, 0.08);
}
.sheet[open] { animation: sheet-in 0.4s var(--ease); }
.sheet::backdrop {
  background: rgba(2, 3, 2, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
@keyframes sheet-in {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.sheet__inner { padding: 28px; }
.sheet__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.sheet__head h2 { margin: 0; font: 400 34px/1.05 var(--serif); }
.sheet__head p { margin: 6px 0 0; color: var(--muted); font-size: 14.5px; }
.sheet__close {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.2s;
}
.sheet__close:hover { background: rgba(255, 255, 255, 0.07); }
.sheet__close .i { width: 18px; height: 18px; }

.share-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.share-opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 15px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: border-color 0.25s, background-color 0.25s;
}
.share-opt::after { content: "\2197"; color: var(--muted); transition: color 0.25s, transform 0.25s var(--ease); }
.share-opt:hover { border-color: rgba(118, 185, 0, 0.45); background: rgba(118, 185, 0, 0.07); }
.share-opt:hover::after { color: var(--green-2); transform: translate(2px, -2px); }

.copy {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  padding: 6px;
  border-radius: 16px;
  border: 1px solid var(--line-2);
  background: rgba(0, 0, 0, 0.35);
}
.copy input {
  flex: 1;
  min-width: 0;
  padding: 0 10px;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--ink-2);
  font: 400 13.5px var(--mono);
}
.copy button {
  height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  background: var(--green);
  color: #071000;
  font-weight: 600;
  font-size: 14.5px;
  cursor: pointer;
  white-space: nowrap;
}
.copy button:hover { background: #84cc16; }
.native-share {
  width: 100%;
  height: 46px;
  margin-top: 10px;
  border-radius: 14px;
  border: 1px dashed var(--line-2);
  background: transparent;
  color: var(--ink-2);
  font-size: 14.5px;
  cursor: pointer;
}
.native-share:hover { border-color: rgba(118, 185, 0, 0.5); color: var(--ink); }

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom));
  z-index: 150;
  width: max-content;
  max-width: calc(100vw - 32px);
  padding: 14px 22px;
  border-radius: 20px;
  border: 1px solid rgba(118, 185, 0, 0.38);
  background: rgba(14, 18, 12, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.75);
  color: var(--ink);
  font-size: 14.5px;
  text-align: center;
  opacity: 0;
  transform: translate(-50%, 16px);
  pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

.spark {
  position: fixed;
  z-index: 140;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-2);
  box-shadow: 0 0 12px rgba(163, 230, 53, 0.85);
  pointer-events: none;
}
.spark--white { background: #fff; box-shadow: 0 0 10px rgba(255, 255, 255, 0.8); }
.spark--heart {
  width: auto;
  height: auto;
  background: none;
  box-shadow: none;
  color: var(--green-2);
  font-size: 15px;
  line-height: 1;
}

/* scroll reveal (only when JS is running) */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: 0.08s; }
.js .reveal-d2 { transition-delay: 0.16s; }
.js .reveal-d3 { transition-delay: 0.24s; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 900px) {
  .hero { padding-top: 104px; padding-bottom: 96px; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 40px; text-align: center; }
  .hero__lead { margin-left: auto; margin-right: auto; }
  .portrait { order: -1; justify-self: center; max-width: 300px; }
  .actions, .tally, .eyebrow { justify-content: center; }
  .eyebrow { margin-bottom: 24px; }
  .section__head { grid-template-columns: minmax(0, 1fr); }
  .scroll-cue { display: none; }
  .cores {
    -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 30%, #000 18%, transparent 78%);
    mask-image: radial-gradient(ellipse 90% 60% at 50% 30%, #000 18%, transparent 78%);
  }
  .hero__glow { right: auto; left: 50%; top: 22%; transform: translate(-50%, -50%); }
}

@media (max-width: 760px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding: 30px 0 30px 20px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; padding-right: 16px; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .cards, .quotes { grid-template-columns: minmax(0, 1fr); }
  .card { min-height: 0; }
  .card h3 { padding-top: 40px; }
  .tl { grid-template-columns: minmax(0, 1fr); gap: 10px; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .wordmark { font-size: 19px; }
  .portrait { max-width: 240px; }
  .portrait figcaption { bottom: 18px; font-size: 10px; letter-spacing: 0.1em; }
  .actions .btn { flex: 1 1 100%; }
  .btn--lg { height: 58px; }
  .sheet__inner { padding: 22px; }
  .stat__label { font-size: 13.5px; }
}

@media (hover: none) {
  .marquee:hover .marquee__row { animation-play-state: running; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
  }
  .marquee { -webkit-mask-image: none; mask-image: none; padding: 0 var(--gutter); }
  .marquee__row { width: auto; justify-content: center; }
  .marquee__group { flex-wrap: wrap; justify-content: center; }
  .marquee__group[aria-hidden="true"] { display: none; }
  .marquee__item { white-space: normal; }
}
