:root {
  /* Daylight Guatemala City: sky-washed whites, navy ink, the helmet's blue,
     firefighter red for alerts. Dark only inside the phone and on photos. */
  color-scheme: light;
  --bg: #f2f7f9;
  --bg-2: #e6f0f4;
  --panel: rgba(255, 255, 255, .72);
  --tint: rgba(14, 42, 58, .05);
  --glass: rgba(255, 255, 255, .66);
  --line: rgba(14, 42, 58, .11);
  --ink: #0e2a3a;
  --muted: #4f6b7a;
  --kicker: #0a83b5;
  --blue: #079ed4;
  --blue-2: #4392d5;
  --lime: #d8f36a;
  --red: #ef3b36;
  --green: #2fbf71;
  --sans: "Barlow", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
em { font-style: normal; color: var(--kicker); }
h1, h2, h3, h4, .title, .num-card b, .stat-pill b, .marquee span { font-family: var(--display); }
h1, h2, .title { text-wrap: balance; }
.wrap { width: min(1062px, calc(100% - 32px)); margin: 0 auto; }

.grain {
  position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: .035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%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");
}

/* ---------- Island nav ---------- */
.island {
  position: fixed; top: calc(12.6px + env(safe-area-inset-top, 0px)); left: 50%; transform: translateX(-50%); z-index: 50;
  display: flex; align-items: center; gap: 16.2px;
  padding: 6.3px 7.2px 6.3px 14.4px; border-radius: 899.1px;
  background: var(--glass); border: 1px solid var(--line);
  backdrop-filter: blur(16.2px) saturate(1.4); -webkit-backdrop-filter: blur(16.2px) saturate(1.4);
  box-shadow: 0 9px 36px rgba(14, 42, 58, .12);
  transition: padding .5s var(--ease), gap .5s var(--ease);
  max-width: calc(100% - 21.6px);
}
.island-brand { display: flex; align-items: center; gap: 7.2px; text-decoration: none; font-weight: 800; letter-spacing: .08em; font-size: 11.7px; }
.island-brand img { width: 23.4px; height: auto; }
.island-links { display: flex; gap: 2px; }
.island-links a {
  text-decoration: none; font-size: 11.7px; font-weight: 600; color: var(--muted);
  padding: 6.3px 9.9px; border-radius: 899.1px; transition: color .25s, background .25s;
}
.island-links a:hover, .island-links a.active { color: var(--ink); background: var(--tint); }
.lang { display: flex; background: var(--tint); border-radius: 899.1px; padding: 2.7px; }
.lang button {
  border: 0; background: none; color: var(--muted); font: 700 9.9px var(--sans); letter-spacing: .06em;
  padding: 5.4px 9px; border-radius: 899.1px; cursor: pointer; transition: background .3s, color .3s;
}
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }

/* ---------- Story / stage ---------- */
.story { position: relative; height: 720vh; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: linear-gradient(180deg, #a9d8ef 0%, #d4ecf6 46%, #eef5f2 62%); }
#truck { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.stage-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 40% at 70% 18%, rgba(255, 244, 214, .55), transparent 70%);
}
.horizon {
  position: absolute; left: 0; right: 0; bottom: 0; height: 30%; pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--bg) 92%);
}
.progress { position: absolute; left: 50%; bottom: 19.8px; transform: translateX(-50%); width: 108px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.progress span { display: block; height: 100%; width: 100%; background: var(--blue); transform-origin: left; transform: scaleX(0); }

.chapter {
  position: absolute; z-index: 2; max-width: 396px;
  opacity: 0; transform: translateY(27px); filter: blur(7.2px);
  transition: opacity .7s var(--ease), transform .7s var(--ease), filter .7s var(--ease);
  pointer-events: none;
}
.chapter.is-on { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.c-left { left: max(21.6px, 5.4vw); top: 50%; translate: 0 -50%; }
.c-right { right: max(21.6px, 5.4vw); top: 50%; translate: 0 -50%; }
.chapter h2 { font-size: clamp(30.6px, 3.51vw, 50.4px); line-height: 1; letter-spacing: -.005em; margin: 9px 0 12.6px; font-weight: 700; }
.chapter p { font-weight: 500; }
.chapter p { color: var(--muted); font-size: 14.8px; margin: 0; }
.chapter { text-shadow: 0 1px 16.2px rgba(242, 247, 249, .95); }
.chapter:not(.c-hero) { padding: 24px 26px; border-radius: 14px; background: rgba(255, 255, 255, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(14, 42, 58, .14); text-shadow: none; max-width: 420px; }
.chapter[data-chapter="4"] { top: 12vh; translate: none; max-width: 360px; }
.c-hero { left: 0; right: 0; top: 11vh; max-width: none; text-align: center; padding: 0 18px; }
.hero-title { font-size: clamp(45px, 7.74vw, 115.2px); line-height: .9; letter-spacing: -.01em; margin: 12.6px 0 18px; font-weight: 800; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .accent em { color: #c8121c; }
.lede { max-width: 540px; margin: 0 auto !important; font-size: 16.7px !important; font-weight: 500; color: var(--ink) !important; }
.c-hero::before { content: ""; position: absolute; z-index: -1; left: 50%; top: -6vh; width: min(990px, 86.4vw); height: 125%; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(242, 247, 249, .92), rgba(242, 247, 249, .7) 55%, transparent); pointer-events: none; }
.kicker { font: 700 12.6px var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--kicker); margin: 0; }
.scroll-cue { position: absolute; left: 50%; top: 74vh; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 9px; }
.scroll-cue span { width: 19.8px; height: 32.4px; border: 1.5px solid var(--line); border-radius: 10.8px; position: relative; }
.scroll-cue span::after { content: ""; position: absolute; left: 50%; top: 6.3px; width: 2.7px; height: 6.3px; margin-left: -1.5px; border-radius: 2px; background: var(--ink); animation: wheel 1.6s infinite var(--ease); }
.scroll-cue b { font: 600 11.7px var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(9px); } }

.stat-pill { margin-top: 19.8px; display: flex; gap: 12.6px; align-items: center; padding: 12.6px 16.2px; border-radius: 16.2px; background: var(--panel); border: 1px solid var(--line); backdrop-filter: blur(9px); }
.stat-pill b { font-size: 48.6px; line-height: 1; font-weight: 800; color: var(--blue); }
.stat-pill span { font-size: 12.2px; color: var(--ink); line-height: 1.4; }
.letters { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 7px; }
.letters li { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; color: var(--ink); }
.letters b { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px; background: var(--ink); color: #fff; font: 800 18px var(--display); }
.letters li:first-child b { background: #c8121c; }
@keyframes pop { from { opacity: 0; transform: translateY(12.6px) scale(.8); } to { opacity: 1; transform: none; } }
.triage-row { display: flex; gap: 7.2px; margin-top: 19.8px; }
.t { font: 700 12.6px var(--display); letter-spacing: .08em; padding: 9px 14.4px; border-radius: 899.1px; }
.t.red { background: rgba(239, 59, 54, .12); color: #c4231e; box-shadow: 0 0 0 1px rgba(239, 59, 54, .4), 0 0 27px rgba(239, 59, 54, .25); }
.t.green { background: rgba(47, 191, 113, .14); color: #16804a; box-shadow: 0 0 0 1px rgba(47, 191, 113, .35); }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 19.8px 0; background: var(--bg); position: relative; z-index: 2; }
.marquee-track { display: flex; gap: 30.6px; width: max-content; animation: marq 38s linear infinite; }
.marquee span { font-size: clamp(30.6px, 4.5vw, 63px); font-weight: 700; letter-spacing: .01em; text-transform: uppercase; white-space: nowrap; }
.marquee span::first-letter { color: var(--blue); }
.marquee i { font-style: normal; color: rgba(14, 42, 58, .25); font-size: 36px; align-self: center; font-weight: 300; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- Shared section bits ---------- */
section:not(.story) { position: relative; z-index: 2; }
.title { font-size: clamp(34.2px, 4.5vw, 63px); line-height: .98; letter-spacing: -.005em; margin: 12.6px 0 16.2px; font-weight: 700; }
.sub { color: var(--muted); font-size: 15.8px; max-width: 504px; margin: 0; }
.reveal { transition: transform 1s var(--ease), opacity 1s var(--ease); }
.js-motion .reveal:not(.in) { transform: translateY(23.4px); opacity: .35; }
.reveal.in { transform: none; opacity: 1; }

/* ---------- Numbers ---------- */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12.6px; padding: 99px 0 36px; }
.num-card { padding: 23.4px 19.8px; border-radius: 12.6px; background: var(--panel); border: 1px solid var(--line); box-shadow: 0 9px 27px rgba(14, 42, 58, .05); }
.num-card b { display: block; font-size: clamp(54px, 5.76vw, 82.8px); line-height: 1; font-weight: 800; letter-spacing: -.01em; border-bottom: 2.7px solid var(--blue); padding-bottom: 9px; width: max-content; min-width: 1.2em; color: var(--ink); font-variant-numeric: tabular-nums; }
.num-card span { display: block; margin-top: 12px; color: var(--muted); font-size: 15px; }
.num-card:nth-child(2) { transition-delay: .08s; } .num-card:nth-child(3) { transition-delay: .16s; } .num-card:nth-child(4) { transition-delay: .24s; }

/* ---------- Aims ---------- */
.aims { padding: 99px 0; }
.aims-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 54px; align-items: start; }
.aims-intro { position: static; }
.stack { display: grid; gap: 16px; }
.stack-card {
  padding: 30.6px; border-radius: 15.3px; min-height: 0;
  background: #ffffff; border: 1px solid var(--line);
  box-shadow: 0 12px 34px rgba(14, 42, 58, .08);
  transform-origin: top center;
}
.stack-card:nth-child(2) { background: #f7fbfd; }
.stack-card:nth-child(3) { background: #eef7fb; }
.stack-no { font: 700 13.5px var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--kicker); }
.stack-card h3 { font-size: clamp(27px, 2.52vw, 37.8px); letter-spacing: -.005em; line-height: 1.05; margin: 16.2px 0 10.8px; }
.stack-card p { color: var(--muted); margin: 0; font-size: 14.4px; }
.tags { display: flex; flex-wrap: wrap; gap: 7.2px; margin-top: 23.4px; }
.tags span { font-size: 11.2px; font-weight: 600; padding: 6.3px 10.8px; border-radius: 899.1px; border: 1px solid var(--line); color: var(--ink); }

/* ---------- App ---------- */
.app { padding: 108px 0; background: radial-gradient(70% 60% at 20% 50%, rgba(7, 158, 212, .12), transparent 70%); }
.app-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 63px; align-items: center; }
.phone-col { display: flex; flex-direction: column; align-items: center; }
.phone, .t-photo-cap, .team-photo figcaption {
  --ink: #eef6fa; --muted: #a9c2cf; --line: rgba(255, 255, 255, .14); --tint: rgba(255, 255, 255, .07); --kicker: #d8f36a;
  color: var(--ink);
}
.phone {
  position: relative; width: 270px; height: 558px; border-radius: 46.8px; padding: 12.6px;
  background: linear-gradient(145deg, #1f2f39, #0b151c); border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 45px 108px rgba(0, 0, 0, .55), inset 0 0 0 2px rgba(0, 0, 0, .6);
}
.screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: #fff; }
.dyn {
  position: absolute; z-index: 3; top: 21.6px; left: 50%; transform: translateX(-50%);
  width: 93.6px; height: 27px; border-radius: 18px; background: #000;
  display: flex; align-items: center; justify-content: center; gap: 9px; padding: 0 10.8px; overflow: hidden;
  transition: width .7s var(--ease), height .7s var(--ease), border-radius .7s var(--ease), opacity .4s; opacity: 0;
}
.dyn-dot { width: 8.1px; height: 8.1px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10.8px var(--red); flex: none; opacity: 0; transition: opacity .3s; }
.dyn-body { opacity: 0; transition: opacity .3s; white-space: nowrap; display: flex; flex-direction: column; align-items: center; text-align: center; line-height: 1.25; }
.dyn-body b { font-size: 11.2px; }
.dyn-body span { font-size: 9.5px; color: var(--muted); }
.dyn.open { opacity: 1;  width: 226.8px; height: 52.2px; border-radius: 14.4px; }
.dyn.open .dyn-dot, .dyn.open .dyn-body { opacity: 1; transition-delay: .25s; }
.mono { font-family: var(--mono); }
.scr { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; padding: 0; display: block; opacity: 0; transform: translateY(14.4px) scale(.98); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.scr.is-on { opacity: 1; transform: none; }
.scr-k { font: 600 9.9px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0; }
.scr-q-t { font-size: 22.5px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; margin: 3.6px 0 16.2px; }
.yn { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.yn span { text-align: center; padding: 14.4px 0; border-radius: 14.4px; background: var(--tint); font-weight: 700; }
.yn span.on { background: var(--green); color: #04150c; }
.dots { display: flex; gap: 5.4px; margin-top: auto; justify-content: center; }
.d { width: 21.6px; height: 3.6px; border-radius: 3.6px; background: var(--tint); }
.d.on { background: var(--blue); }
.chips { display: flex; gap: 7.2px; margin-bottom: 12.6px; }
.chip { flex: 1; text-align: center; font: 700 10.8px var(--mono); padding: 10.8px 0; border-radius: 12.6px; background: var(--tint); color: var(--muted); }
.chip.red.on { background: rgba(239, 59, 54, .2); color: #ff8c87; box-shadow: inset 0 0 0 1.5px var(--red); }
.big { display: grid; place-items: center; height: 135px; border-radius: 14.4px; font: 700 30.6px var(--mono); letter-spacing: .1em; }
.big.red { background: radial-gradient(circle at 50% 40%, #ff5a54, #b3221e); box-shadow: 0 18px 54px rgba(239, 59, 54, .45); }
.scr-s { align-items: center; justify-content: center; text-align: center; padding-top: 54px; }
.sent-ring { width: 108px; height: 108px; border-radius: 50%; border: 2px solid var(--blue); position: relative; margin-bottom: 9px; }
.sent-ring::before, .sent-ring::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--blue); animation: ring 2s infinite var(--ease); }
.sent-ring::after { animation-delay: 1s; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.9); opacity: 0; } }
.sent { font-size: 19.8px; font-weight: 700; letter-spacing: -.02em; margin: 5.4px 0 0; }
.code { font-size: 36px; color: #d8f36a; margin: 2px 0 5.4px; letter-spacing: .08em; }
.caption { font-size: 10.8px; color: var(--muted); margin: 14.4px 0 0; }
.feature-list { display: grid; gap: 10.8px; margin-top: 30.6px; }
.feature { display: grid; grid-template-columns: 41.4px 1fr; gap: 14.4px; padding: 16.2px; border-radius: 18px; border: 1px solid var(--line); background: var(--panel); transition: border-color .3s, transform .3s var(--ease); }
.feature:hover { border-color: rgba(7, 158, 212, .5); transform: translateX(3.6px); }
.f-ic { width: 41.4px; height: 41.4px; display: grid; place-items: center; border-radius: 12.6px; background: rgba(7, 158, 212, .14); color: #0a83b5; font: 600 11.7px var(--mono); }
.feature h4 { margin: 2px 0 3.6px; font-size: 18.9px; letter-spacing: 0; }
.feature p { margin: 0; color: var(--muted); font-size: 13.1px; }

/* ---------- Registry bento ---------- */
.registry { padding: 108px 0; }
.reg-head { display: flex; justify-content: space-between; align-items: end; gap: 36px; margin-bottom: 36px; }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 207px; gap: 12.6px; }
.tile { border-radius: 14.4px; border: 1px solid var(--line); background: var(--panel); box-shadow: 0 9px 27px rgba(14, 42, 58, .05); padding: 21.6px; overflow: hidden; position: relative; }
.tile h4 { margin: 0 0 5.4px; font-size: 20.7px; letter-spacing: 0; }
.tile p { margin: 0; color: var(--muted); font-size: 12.6px; }
.t-photo { grid-column: span 2; grid-row: span 2; padding: 0; }
.t-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.6s var(--ease); }
.t-photo.in img { transform: scale(1); }
.t-photo-cap { position: absolute; left: 12.6px; right: 12.6px; bottom: 12.6px; padding: 12.6px 16.2px; border-radius: 16.2px; background: rgba(6, 20, 29, .62); backdrop-filter: blur(10.8px); display: flex; flex-direction: column; }
.t-photo-cap span { font-size: 11.7px; color: var(--muted); }
.t-xabcde { grid-column: span 2; }
.seq { display: flex; gap: 7.2px; margin-top: 19.8px; }
.seq span { flex: 1; text-align: center; padding: 12.6px 0; border-radius: 12.6px; font-weight: 800; background: var(--tint); border: 1px solid var(--line); position: relative; }
.t-xabcde.in .seq span { animation: seqOn .5s var(--ease) both; }
.seq span:nth-child(1) { animation-delay: .3s !important; } .seq span:nth-child(2) { animation-delay: .55s !important; } .seq span:nth-child(3) { animation-delay: .8s !important; }
.seq span:nth-child(4) { animation-delay: 1.05s !important; } .seq span:nth-child(5) { animation-delay: 1.3s !important; } .seq span:nth-child(6) { animation-delay: 1.55s !important; }
@keyframes seqOn { to { background: rgba(7, 158, 212, .22); border-color: rgba(7, 158, 212, .6); color: #075f86; } }
.t-body { grid-row: span 2; display: flex; flex-direction: column; }
.mini-body { margin-top: auto; height: 198px; align-self: center; }
.mini-body > * { fill: rgba(14, 42, 58, .07); stroke: rgba(14, 42, 58, .2); stroke-width: .6; }
.mini-body .hit { fill: var(--red); stroke: none; animation: hit 2.2s infinite; transform-box: fill-box; transform-origin: center; }
.mini-body .h2 { animation-delay: 1.1s; }
@keyframes hit { 0%, 100% { opacity: .5; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.25); } }
.t-times { grid-row: span 2; display: flex; flex-direction: column; }
.bars { list-style: none; padding: 0; margin: 16.2px 0 auto; display: grid; gap: 11.7px; }
.bars li { display: grid; gap: 5.4px; font-size: 11.7px; color: var(--ink); }
.bars i { display: block; height: 7.2px; border-radius: 7.2px; background: linear-gradient(90deg, var(--blue), var(--lime)); transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease); }
.t-times.in .bars i { transform: scaleX(var(--w)); }
.bars li:nth-child(2) i { transition-delay: .1s; } .bars li:nth-child(3) i { transition-delay: .2s; } .bars li:nth-child(4) i { transition-delay: .3s; } .bars li:nth-child(5) i { transition-delay: .4s; }
.hint { font-size: 10.8px !important; margin-top: 12.6px !important; }
.t-offline { grid-column: span 2; }
.pulse-dot { width: 10.8px; height: 10.8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(47, 191, 113, .6); animation: pulse 2s infinite; margin-bottom: 16.2px; }
@keyframes pulse { 70% { box-shadow: 0 0 0 14.4px rgba(47, 191, 113, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 191, 113, 0); } }

/* ---------- Timeline ---------- */
.timeline { padding: 100px 0 40px; }
.tl-pin { display: flex; flex-direction: column; }
.tl-head { margin-bottom: 30.6px; }
.tl-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px max(16px, calc((100vw - 1062px) / 2)) 18px; scrollbar-width: thin; overscroll-behavior-x: contain; }
.tl-card { scroll-snap-align: start; }
.tl-card { flex: none; width: 288px; min-height: 225px; padding: 25.2px; border-radius: 14.4px; border: 1px solid var(--line); background: var(--panel); position: relative; }
.tl-card::before { content: ""; position: absolute; top: 27px; right: 23.4px; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--muted); }
.tl-card.done::before { background: var(--green); border-color: var(--green); box-shadow: 0 0 12.6px rgba(47, 191, 113, .5); }
.tl-card.next { background: linear-gradient(155deg, rgba(7, 158, 212, .25), rgba(7, 158, 212, .05)); }
.tl-date { font: 700 13.5px var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--kicker); }
.tl-card h4 { font-size: 25.2px; letter-spacing: 0; margin: 48.6px 0 7.2px; line-height: 1.1; }
.tl-card p { margin: 0; color: var(--muted); font-size: 13.1px; }

/* ---------- Closing / footer ---------- */
.closing { padding: 135px 0 126px; text-align: center; background: radial-gradient(50% 60% at 50% 40%, rgba(7, 158, 212, .18), transparent 70%); }
.closing-inner { display: flex; flex-direction: column; align-items: center; }
.closing-helmet { width: 108px; height: auto; filter: drop-shadow(0 18px 36px rgba(7, 158, 212, .45)); animation: float 5s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px) rotate(-3deg); } }
.closing-title { font-size: clamp(39.6px, 6.12vw, 90px); line-height: .95; letter-spacing: -.005em; margin: 30.6px 0 18px; font-weight: 700; max-width: 900px; }
.closing .sub { margin: 0 auto; }
.footer { border-top: 1px solid var(--line); padding: 36px 0; position: relative; z-index: 2; background: var(--bg); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 27px; flex-wrap: wrap; }
.footer-logo { width: 270px; opacity: .9; filter: brightness(0) saturate(100%) invert(14%) sepia(30%) saturate(1200%) hue-rotate(170deg); }
.footer-meta { display: flex; gap: 21.6px; font-size: 11.7px; color: var(--muted); }
.footer-meta a { text-decoration: none; color: var(--ink); }

/* ---------- Team ---------- */
.team { padding: 108px 0 36px; }
.team-head { display: flex; justify-content: space-between; align-items: end; gap: 36px; margin-bottom: 32.4px; }
.team-photo { margin: 0; position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; max-width: 100%; }
.team-photo img { width: 100%; height: 112%; object-fit: cover; object-position: 50% 42%; will-change: transform; }
.team-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6, 20, 29, .55), transparent 40%); pointer-events: none; }
.team-photo figcaption { position: absolute; z-index: 1; left: 19.8px; bottom: 18px; display: flex; align-items: center; gap: 9px; font: 600 12.6px var(--display); letter-spacing: .04em; color: var(--ink); padding: 9px 14.4px; border-radius: 899.1px; background: rgba(6, 20, 29, .5); backdrop-filter: blur(9px); border: 1px solid var(--line); }
.pin { width: 7.2px; height: 7.2px; border-radius: 50%; background: #d8f36a; box-shadow: 0 0 10.8px rgba(216, 243, 106, .7); }
@media (max-width: 864px) { .team-head { flex-direction: column; align-items: start; gap: 10.8px; } }
@media (max-width: 576px) { .team-photo { aspect-ratio: 4 / 3.4; border-radius: 12.6px; } .team-photo figcaption { left: 10.8px; right: 10.8px; bottom: 10.8px; font-size: 9.9px; } }

/* ---------- Responsive ---------- */
@media (max-width: 864px) {
  .island-links { display: none; }
  .numbers { grid-template-columns: repeat(2, 1fr); }
  .aims-grid, .app-grid { grid-template-columns: 1fr; gap: 36px; }
  .aims-intro { position: static; }
  .reg-head { flex-direction: column; align-items: start; gap: 10.8px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .t-photo { grid-column: span 2; }
  .t-xabcde, .t-offline { grid-column: span 2; }
}
@media (max-width: 576px) {
  .chapter { left: 12px !important; right: 12px !important; max-width: none !important; top: calc(76px + env(safe-area-inset-top, 0px)) !important; bottom: auto !important; translate: none !important; padding: 14px 16px !important; border-radius: 12px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); border: 1px solid var(--line); }
  .chapter[data-chapter="4"] { top: auto !important; bottom: calc(44px + env(safe-area-inset-bottom, 0px)) !important; }
  .chapter .kicker { font-size: 12px; }
  .chapter .stat-pill { margin-top: 10px; padding: 8px 12px; }
  .chapter .stat-pill b { font-size: 34px; }
  .chapter .stat-pill span { font-size: 12px; }
  .letters { gap: 4px; margin-top: 10px; grid-template-columns: 1fr 1fr; }
  .letters li { font-size: 12.5px !important; gap: 8px; }
  .letters b { width: 24px !important; height: 24px !important; font-size: 14px !important; }
  .triage-row { margin-top: 10px; }
  .c-hero { top: 13vh !important; bottom: auto; background: none !important; border: 0 !important; backdrop-filter: none !important; padding: 0 !important; }
  .chapter h2 { font-size: 23px; margin: 6px 0 8px; }
  .chapter p { font-size: 13.5px; line-height: 1.45; }
  .letters li { font-size: 14px; } .letters b { width: 28px; height: 28px; font-size: 16px; }
  .stat-pill b { font-size: 32.4px; }
  .numbers { padding-top: 63px; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .tile, .t-photo, .t-xabcde, .t-offline { grid-column: auto; grid-row: auto; }
  .t-photo { height: 288px; }
  .t-body .mini-body { height: 144px; margin-top: 14.4px; }
  .phone { transform: scale(.88); margin: -36px 0; }
  .tl-card { width: 243px; }
  .stack-card { padding: 23.4px; min-height: 234px; }
  .footer-logo { width: 216px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
}

.phone-steps { list-style: none; padding: 0; margin: 19.8px 0 0; display: flex; gap: 7.2px; flex-wrap: wrap; justify-content: center; }
.phone-steps li { display: flex; align-items: center; gap: 7.2px; padding: 6.3px 10.8px 6.3px 6.3px; border-radius: 899.1px; border: 1px solid var(--line); background: var(--panel); font-size: 12.6px; font-weight: 600; color: var(--muted); transition: background .4s, color .4s, border-color .4s; }
.phone-steps b { width: 19.8px; height: 19.8px; border-radius: 50%; display: grid; place-items: center; font: 700 11.7px var(--display); background: var(--tint); color: var(--ink); }
.phone-steps li.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.phone-steps li.is-on b { background: #c8121c; color: #fff; }

/* ---------- Registry: photo + context ---------- */
.reg-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 54px; align-items: center; }
.reg-photo { grid-column: auto !important; grid-row: auto !important; margin: 0; padding: 0; height: 460px; position: relative; overflow: hidden; border-radius: 16px; }
.reg-copy { display: grid; gap: 16px; min-width: 0; }
.reg-copy .title { margin: 4px 0 4px; }
@media (max-width: 960px) { .reg-grid { grid-template-columns: 1fr; gap: 30px; } .reg-photo { height: 320px; } }

.ipad { margin: 0; display: grid; gap: 12px; min-width: 0; }
.ipad-screen { padding: 14px; border-radius: 26px; background: linear-gradient(145deg, #2a3a44, #0f1a21); box-shadow: 0 40px 90px rgba(14, 42, 58, .28), inset 0 0 0 2px rgba(255, 255, 255, .08); }
.ipad-screen img { width: 100%; height: auto; aspect-ratio: auto; border-radius: 13px; display: block; background: #fff; }
.ipad figcaption { font-size: 13px; color: var(--muted); text-align: center; }
@media (max-width: 640px) { .ipad-screen { padding: 8px; border-radius: 16px; } .ipad-screen img { border-radius: 9px; } }

/* ---------- Why it matters ---------- */
.why { padding: 90px 0 70px; }
.brand-block { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; margin: 0 0 76px; padding-bottom: 56px; border-bottom: 1px solid var(--line); }
.brand-helmet { width: 96px; height: auto; filter: drop-shadow(0 12px 22px rgba(7, 158, 212, .3)); }
.brand-name { margin: 0; font: 800 clamp(30px, 3.6vw, 46px)/1 var(--display); color: var(--ink); letter-spacing: .01em; }
.brand-name span { color: var(--blue); }
.acronym { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 1000px; }
.acronym li { display: flex; align-items: center; gap: 2px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); font: 600 clamp(16px, 1.5vw, 20px)/1 var(--display); color: var(--muted); }
.acronym b { width: 30px; height: 30px; margin-right: 6px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.why-grid > div { min-width: 0; }
.pillars { display: grid; gap: 14px; }
.pillar { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 20px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.pillar-ic { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--ink); color: #fff; font: 800 20px var(--display); }
.pillar h3 { margin: 2px 0 4px; font-size: 22px; }
.pillar p { margin: 0; color: var(--muted); font-size: 15px; }
/* ---------- Outcomes ---------- */
.outcomes { padding: 100px 0 40px; }
.out-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 26px; }
.out-card { padding: 26px 28px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.out-card h3 { margin: 0 0 14px; font-size: 24px; }
.out-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.out-card li { position: relative; padding-left: 22px; color: var(--muted); font-size: 15.5px; }
.out-card li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 2px; background: var(--blue); }
@media (max-width: 960px) { .why-grid, .out-grid { grid-template-columns: 1fr; gap: 28px; } .brand-block { margin-bottom: 44px; padding-bottom: 40px; } }

.stack-card { border-top: 5px solid var(--blue); }
.stack-card:nth-child(1) { border-top-color: #c8121c; }
.stack-card:nth-child(3) { border-top-color: #0e2a3a; }
.stack-card .stack-no { color: var(--kicker); }
