/* ==========================================================
   EXPEDITION THEME — documentary / montage look for reveal.js
   All assets local. No network required.
   ========================================================== */

@font-face { font-family: "Bebas Neue"; src: url("../fonts/bebas-neue-400.woff2") format("woff2"); font-weight: 400; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-400.woff2") format("woff2"); font-weight: 400; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-600.woff2") format("woff2"); font-weight: 600; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-800.woff2") format("woff2"); font-weight: 800; }
@font-face { font-family: "Special Elite"; src: url("../fonts/special-elite-400.woff2") format("woff2"); font-weight: 400; }
@font-face { font-family: "Sen"; src: url("../fonts/sen-600.woff2") format("woff2"); font-weight: 600; }

:root {
  --ink: #07090a;
  --ink-2: #0f1416;
  --ink-3: #182024;
  --paper: #f2ede2;
  --muted: #8d978f;
  --mint: #5ff0cf;        /* from the title artwork */
  --amber: #f2a93b;       /* field-marker / warning-tape accent */
  --red: #ff3b30;         /* REC dot */
  --display: "Bebas Neue", "Oswald", Impact, sans-serif;
  --body: "Montserrat", "Gill Sans", "Helvetica Neue", sans-serif;
  --type: "Special Elite", "Courier New", monospace;
}

html, body, .reveal-viewport { background: var(--ink); }

.reveal {
  font-family: var(--body);
  color: var(--paper);
  font-size: 32px;
}
.reveal .slides { text-align: left; }
.reveal .slides > section,
.reveal .slides > section > section {
  width: 1920px; height: 1080px;
  padding: 0 !important;
  top: 0 !important;
  overflow: hidden;
}
.reveal h1, .reveal h2, .reveal h3 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 0.88;
  margin: 0;
  text-transform: uppercase;
  color: var(--paper);
}
.reveal p { margin: 0; line-height: 1.45; }

/* ---------- full-bleed image layer with Ken Burns ---------- */
.bg {
  position: absolute; inset: -4%;
  background-size: cover; background-position: center;
  /* placeholder gradient; deck.js swaps in Images/<key>.* when the file exists */
  background-image: radial-gradient(ellipse at 30% 40%, #1f3a38 0%, #0d1719 45%, #050707 100%);
  filter: saturate(0.9) contrast(1.08);
  transform-origin: var(--origin, 50% 50%);
}
.present .bg { animation: kenburns 22s ease-out forwards; }
.present .bg.pan { animation: panright 26s linear forwards; }
@keyframes kenburns { from { transform: scale(1.0); } to { transform: scale(1.14); } }
@keyframes panright { from { transform: scale(1.1) translateX(-2.5%); } to { transform: scale(1.1) translateX(2.5%); } }

/* cinematic darkening so text always reads */
.shade { position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5,7,7,.88) 0%, rgba(5,7,7,.35) 55%, rgba(5,7,7,.15) 100%),
    radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,.7) 100%); }
.shade.full { background: rgba(5,7,7,.6); }
.shade.bottom { background: linear-gradient(0deg, rgba(5,7,7,.95) 0%, rgba(5,7,7,.2) 55%, transparent 100%),
    radial-gradient(ellipse at center, transparent 45%, rgba(0,0,0,.6) 100%); }

/* placeholder label — hidden automatically once the image loads */
.ph-label {
  position: absolute; right: 150px; bottom: 150px;
  font-family: var(--type); font-size: 20px; color: var(--muted);
  border: 1px dashed rgba(141,151,143,.5); padding: 10px 16px;
  letter-spacing: .05em; z-index: 3;
}
.has-img > .ph-label, .has-img ~ .ph-label { display: none; }

/* ---------- content frame ---------- */
.frame { position: absolute; inset: 150px 150px 150px 150px; z-index: 4; display: flex; flex-direction: column; }
.frame.center { align-items: center; justify-content: center; text-align: center; }
.frame.bottom { justify-content: flex-end; }

.kicker {
  font-family: var(--type); font-size: 26px; color: var(--mint);
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 28px;
  display: flex; align-items: center; gap: 18px;
}
.kicker::before { content: ""; width: 60px; height: 2px; background: var(--mint); }
.frame.center .kicker::after { content: ""; width: 60px; height: 2px; background: var(--mint); }

.mega  { font-size: 260px; }
.huge  { font-size: 190px; }
.big   { font-size: 130px; }
.mid   { font-size: 96px; }
.mint  { color: var(--mint) !important; }
.amber { color: var(--amber) !important; }
.lede  { font-size: 38px; max-width: 1100px; color: #d8d4ca; margin-top: 36px; font-weight: 400; }
.type  { font-family: var(--type); }

/* ---------- chapter cards ---------- */
.chapter-num {
  font-family: var(--display); font-size: 620px; line-height: .8;
  position: absolute; right: 120px; bottom: 60px; z-index: 2;
  color: transparent; -webkit-text-stroke: 2px rgba(95,240,207,.35);
}
.present .chapter-num { animation: drift 14s ease-out forwards; }
@keyframes drift { from { transform: translateY(40px); opacity: 0; } 20% { opacity: 1; } to { transform: translateY(0); opacity: 1; } }

.tape {
  display: inline-block; background: var(--amber); color: var(--ink);
  font-family: var(--display); font-size: 40px; letter-spacing: .12em;
  padding: 6px 22px 2px; transform: rotate(-2deg); margin-bottom: 30px;
  align-self: flex-start;
}

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; margin-top: 80px; }
.stat { border-top: 3px solid var(--mint); padding-top: 30px; }
.stat .n { font-family: var(--display); font-size: 200px; line-height: .85; color: var(--paper); }
.stat .n small { font-size: 90px; color: var(--mint); }
.stat .l { font-family: var(--type); font-size: 26px; color: var(--muted); margin-top: 14px; text-transform: uppercase; letter-spacing: .08em; }

/* ---------- split layout ---------- */
.split { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; }
.split .media { position: relative; overflow: hidden; }
.split .copy { position: relative; padding: 150px 150px 150px 110px; display: flex; flex-direction: column; justify-content: center; background: var(--ink-2); }
.split.flip { direction: rtl; } .split.flip > * { direction: ltr; }
.split.flip .copy { padding: 150px 110px 150px 150px; }

/* ---------- field notes (polaroid + typewriter) ---------- */
.polaroid {
  position: absolute; background: var(--paper); padding: 22px 22px 80px;
  box-shadow: 0 30px 60px rgba(0,0,0,.6); z-index: 4;
}
.polaroid .pic { position: relative; overflow: hidden; width: 100%; height: 100%; background: #222; }
.polaroid .pic .bg { inset: 0; }
.polaroid .cap { position: absolute; left: 0; right: 0; bottom: 22px; text-align: center; font-family: var(--type); color: #333; font-size: 26px; }
.polaroid .ph-label { right: 20px; bottom: 20px; }
.notes { font-family: var(--type); font-size: 34px; line-height: 1.6; color: #e5e0d4; list-style: none; padding: 0; margin: 40px 0 0; }
.notes li { margin-bottom: 18px; padding-left: 52px; position: relative; }
.notes li::before { content: "▸"; position: absolute; left: 0; color: var(--amber); }

/* ---------- montage grid ---------- */
.montage { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 1fr); gap: 6px; background: #000; }
.montage .tile { position: relative; overflow: hidden; opacity: 0; }
.montage .tile.wide { grid-column: span 2; }
.montage .tile .bg { inset: 0; }
.montage .tile .ph-label { right: 20px; bottom: 20px; font-size: 16px; }
.present .montage .tile { animation: cut .5s steps(1) forwards; }
.present .montage .tile:nth-child(1) { animation-delay: .1s; }
.present .montage .tile:nth-child(2) { animation-delay: .45s; }
.present .montage .tile:nth-child(3) { animation-delay: .8s; }
.present .montage .tile:nth-child(4) { animation-delay: 1.15s; }
.present .montage .tile:nth-child(5) { animation-delay: 1.5s; }
.present .montage .tile:nth-child(6) { animation-delay: 1.85s; }
@keyframes cut { to { opacity: 1; } }
.montage-title { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); z-index: 6; text-align: center; pointer-events: none; }
.montage-title h2 { font-size: 220px; background: var(--ink); display: inline-block; padding: 20px 50px 0; opacity: 0; }
.present .montage-title h2 { animation: cut .5s steps(1) 2.6s forwards; }

/* ---------- map / route ---------- */
.route { position: absolute; inset: 0; z-index: 3; }
.route path.trail { fill: none; stroke: var(--amber); stroke-width: 5; stroke-dasharray: 14 14; }
.route .grid line { stroke: rgba(95,240,207,.08); stroke-width: 1; }
.present .route path.trail { animation: march 1.2s linear infinite; }
@keyframes march { to { stroke-dashoffset: -28; } }
.route circle.wp { fill: var(--ink); stroke: var(--mint); stroke-width: 5; }
.route circle.pulse { fill: none; stroke: var(--mint); stroke-width: 3; transform-box: fill-box; transform-origin: center; }
.present .route circle.pulse { animation: ping 2s ease-out infinite; }
@keyframes ping { from { transform: scale(1); opacity: .9; } to { transform: scale(3.2); opacity: 0; } }
.route text { font-family: var(--type); font-size: 26px; fill: var(--paper); letter-spacing: .06em; }
.route text.d { font-family: var(--display); font-size: 54px; fill: var(--mint); }

/* ---------- timeline / log ---------- */
.log { margin-top: 70px; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.log::before { content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 2px; background: repeating-linear-gradient(90deg, var(--muted) 0 12px, transparent 12px 24px); }
.log .e { position: relative; padding-top: 70px; padding-right: 40px; }
.log .e::before { content: ""; position: absolute; top: 10px; left: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); border: 4px solid var(--mint); }
.log .e.now::before { background: var(--amber); border-color: var(--amber); box-shadow: 0 0 0 10px rgba(242,169,59,.2); }
.log .when { font-family: var(--display); font-size: 64px; color: var(--mint); }
.log .e.now .when { color: var(--amber); }
.log .what { font-family: var(--type); font-size: 26px; color: #d6d1c6; margin-top: 10px; line-height: 1.4; }

/* ---------- roadmap waypoints ---------- */
.waypoints { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; margin-top: 70px; }
.wpt { background: rgba(15,20,22,.82); border: 1px solid rgba(95,240,207,.25); padding: 44px; backdrop-filter: blur(6px); }
.wpt .id { font-family: var(--type); color: var(--amber); font-size: 24px; letter-spacing: .1em; }
.wpt h3 { font-size: 72px; margin: 14px 0 18px; }
.wpt p { font-size: 28px; color: #cfcabe; }

/* ---------- crew ---------- */
.crew { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-top: 70px; }
.crew .m .pic { position: relative; aspect-ratio: 5/4; overflow: hidden; background: var(--ink-3); filter: grayscale(1) contrast(1.1); }
.crew .m .pic .bg { inset: 0; }
.crew .m .pic .ph-label { right: 14px; bottom: 14px; font-size: 15px; }
.crew .m .nm { font-family: var(--display); font-size: 52px; margin-top: 20px; }
.crew .m .rl { font-family: var(--type); font-size: 22px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }

/* ---------- quote ---------- */
.reveal .quote { font-family: var(--display); font-size: 150px; line-height: .92; text-transform: uppercase; max-width: 1500px; }
.quote .q { color: var(--mint); }
.attrib { font-family: var(--type); font-size: 30px; color: var(--muted); margin-top: 40px; letter-spacing: .08em; }

/* ---------- end credits ---------- */
.credits { position: absolute; left: 0; right: 0; top: 100%; text-align: center; z-index: 4; }
.present .credits { animation: roll 28s linear forwards; }
@keyframes roll { to { transform: translateY(calc(-100% - 1180px)); } }
.credits .role { font-family: var(--type); font-size: 24px; color: var(--muted); letter-spacing: .14em; text-transform: uppercase; margin-top: 60px; }
.credits .who { font-family: var(--display); font-size: 64px; }

/* ---------- reveal-in on present ---------- */
.rise { opacity: 0; transform: translateY(30px); }
.present .rise { animation: rise .9s cubic-bezier(.2,.7,.2,1) forwards; }
.present .rise.d1 { animation-delay: .25s; } .present .rise.d2 { animation-delay: .5s; }
.present .rise.d3 { animation-delay: .75s; } .present .rise.d4 { animation-delay: 1s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* typewriter */
.typewriter { overflow: hidden; white-space: nowrap; border-right: 4px solid var(--mint); width: 0; display: inline-block; }
.present .typewriter { animation: typing 2.4s steps(var(--chars, 40)) .4s forwards, caret .8s step-end infinite; }
@keyframes typing { to { width: calc(var(--chars, 40) * 1ch); } }
@keyframes caret { 50% { border-color: transparent; } }

/* =========== documentary overlay (outside .slides) =========== */
.doc-overlay { position: fixed; inset: 0; pointer-events: none; z-index: 30; }

/* letterbox bars */
.letterbox::before, .letterbox::after {
  content: ""; position: absolute; left: 0; right: 0; height: 6.5vh; background: #000;
  transition: height .8s cubic-bezier(.7,0,.2,1);
}
.letterbox::before { top: 0; } .letterbox::after { bottom: 0; }
body.no-bars .letterbox::before, body.no-bars .letterbox::after { height: 0; }

/* film grain */
.grain { position: absolute; inset: -50%; opacity: .11; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain .6s steps(6) infinite; }
@keyframes grain {
  0% { transform: translate(0,0); } 20% { transform: translate(-3%,2%); } 40% { transform: translate(2%,-3%); }
  60% { transform: translate(-2%,-1%); } 80% { transform: translate(3%,3%); } 100% { transform: translate(0,0); } }

/* flicker */
.flicker { position: absolute; inset: 0; background: #fff; opacity: 0; mix-blend-mode: overlay; }
body.cut .flicker { animation: flash .35s ease-out; }
@keyframes flash { 0% { opacity: .35; } 100% { opacity: 0; } }

/* HUD */
.hud { position: absolute; font-family: var(--type); color: rgba(242,237,226,.75); font-size: clamp(10px, 1.05vw, 20px); letter-spacing: .1em; text-transform: uppercase; transition: opacity .6s; }
.hud.tl { top: calc(6.5vh + 2vh); left: 3vw; display: flex; align-items: center; gap: .8em; }
.hud.tr { top: calc(6.5vh + 2vh); right: 3vw; text-align: right; }
.hud.bl { bottom: calc(6.5vh + 2vh); left: 3vw; }
.hud.br { bottom: calc(6.5vh + 2vh); right: 3vw; }
.rec { width: .8em; height: .8em; border-radius: 50%; background: var(--red); animation: blink 1.2s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }
.corners { position: absolute; inset: calc(6.5vh + 1vh) 1.5vw; }
.corners i { position: absolute; width: 2.2vw; height: 2.2vw; border-color: rgba(242,237,226,.45); border-style: solid; border-width: 0; }
.corners i:nth-child(1) { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.corners i:nth-child(2) { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.corners i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.corners i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }
body.clean .hud, body.clean .corners { opacity: 0; }

/* progress bar restyle */
.reveal .progress { height: 4px; color: var(--mint); z-index: 31; }
.reveal .controls { color: var(--mint); z-index: 32; }
.reveal .slide-number { font-family: var(--type); background: transparent; color: var(--muted); z-index: 32; }

/* print / pdf: kill animation so every element is visible */
.print-pdf .rise, .print-pdf .montage .tile, .print-pdf .montage-title h2 { opacity: 1 !important; transform: none !important; animation: none !important; }
.print-pdf .typewriter { width: auto !important; animation: none !important; border: 0; }
.print-pdf .credits { top: 20%; animation: none !important; }

body.hud-off .hud, body.hud-off .corners { opacity: 0; }

/* slide 18: title holds, then gives way to the credit roll */
.present .credits { animation-delay: 3s; }
.present .fade-late { animation: fadeout 1.2s ease 4s forwards; }
@keyframes fadeout { to { opacity: 0; } }
.print-pdf .fade-late { animation: none !important; }

/* opacity-only entrance, for elements that carry their own transform */
.appear { opacity: 0; }
.present .appear { animation: fadein 1s ease forwards; }
.present .appear.d1 { animation-delay: .25s; }
@keyframes fadein { to { opacity: 1; } }
.print-pdf .appear { opacity: 1 !important; animation: none !important; }

/* ?still in the URL: skip animations (handy for checking layouts / exporting) */
.still .rise, .still .appear, .still .montage .tile, .still .montage-title h2, .still .typewriter, .still .chapter-num { animation-delay: -60s !important; }
.still .credits { animation: none !important; }
.still .fade-late { animation: none !important; }

/* ==========================================================
   SLIDE 02 · WHY PI EXISTS: Earth + signal montage
   ========================================================== */
.s-signals .space { position: absolute; inset: 0;
  background:
    radial-gradient(circle at 1335px 560px, rgba(70,140,220,.18) 0, rgba(95,240,207,.05) 300px, transparent 620px),
    radial-gradient(ellipse at 30% 50%, #0d1416 0%, #06090a 70%); }

.s-signals .sig-field { position: absolute; inset: 0; width: 1920px; height: 1080px; z-index: 2; pointer-events: none; }
.s-signals .sig-field.emit { z-index: 4; }

/* the globe: the full Artemis II frame, faded into the slide with a radial mask */
.s-signals .globe { position: absolute; left: 873px; top: 285px; width: 966px; height: 644px; z-index: 3;
  transform-origin: 462px 275px;
  -webkit-mask-image: radial-gradient(circle at 462px 275px, #000 285px, transparent 470px);
          mask-image: radial-gradient(circle at 462px 275px, #000 285px, transparent 470px); }
.s-signals .globe img { display: block; width: 100%; height: 100%; }
.present.s-signals .globe { animation: fadein 1.4s ease forwards, breathe 7s ease-in-out 1.4s infinite; }
@keyframes breathe { 50% { transform: scale(1.015); } }

/* radiating rings: soft swells vs fast bursts */
.s-signals .ring { fill: none; transform-box: fill-box; transform-origin: center; opacity: 0; }
.s-signals .ring.soft { stroke: var(--mint); stroke-width: 1.5; }
.s-signals .ring.fast { stroke: var(--amber); stroke-width: 2.5; }
.present.s-signals .ring.soft { animation: swell 6.6s cubic-bezier(.25,.6,.4,1) infinite; }
.present.s-signals .ring.fast { animation: burst 3.4s ease-out infinite; }
@keyframes swell { 0% { transform: scale(1); opacity: .45; } 100% { transform: scale(2.6); opacity: 0; } }
/* a quick triple-beep, then silence */
@keyframes burst { 0% { transform: scale(1); opacity: .9; } 22% { transform: scale(1.55); opacity: 0; } 100% { transform: scale(1.55); opacity: 0; } }

.s-signals .orbit { fill: none; stroke: rgba(242,237,226,.12); stroke-width: 1.5; stroke-dasharray: 3 12; }
.present.s-signals .orbit { animation: spin 90s linear infinite; transform-box: fill-box; transform-origin: center; }
.present.s-signals .orbit.o2 { animation-duration: 140s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

/* surface emitters, each at its own cadence (--t) */
.s-signals .em { --c: var(--mint); }
.s-signals .em .dot { fill: var(--c); }
.s-signals .em .ping { fill: none; stroke: var(--c); stroke-width: 2.5; transform-box: fill-box; transform-origin: center; opacity: 0; }
.present.s-signals .em .ping { animation: ping var(--t) ease-out infinite; }
.present.s-signals .em .dot { animation: beep var(--t) step-end infinite; }
@keyframes beep { 0% { opacity: 1; } 15% { opacity: .35; } }
.s-signals .leader { stroke: rgba(242,237,226,.3); stroke-width: 1.5; stroke-dasharray: 4 6; fill: none; }

/* channel tiles: the montage */
.s-signals .chan { position: absolute; width: 290px; z-index: 5; opacity: 0;
  background: rgba(8,12,13,.88); border: 1px solid rgba(95,240,207,.3); padding: 14px 16px 12px; }
.present.s-signals .chan { animation: cut .4s steps(1) forwards; }
.s-signals .chan .hd { display: flex; justify-content: space-between; font-family: var(--type); font-size: 17px; color: var(--paper); letter-spacing: .06em; text-transform: uppercase; }
.s-signals .chan .rate { color: var(--mint); }
.s-signals .chan .st { font-family: var(--type); font-size: 15px; color: var(--amber); letter-spacing: .14em; text-transform: uppercase; margin-top: 8px; }
.present.s-signals .chan .st { animation: blink 1.6s step-end infinite; }
.s-signals .chan svg { display: block; width: 100%; height: 70px; margin-top: 10px; overflow: hidden; }
.s-signals .chan path { fill: none; stroke: var(--mint); stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.s-signals .chan path.amber-line { stroke: var(--amber); }
.present.s-signals .scroll { animation: scrollx 6s linear infinite; }
.present.s-signals .scroll.fast { animation-duration: 1.6s; }
@keyframes scrollx { to { transform: translateX(-300px); } }

.s-signals .bars { display: flex; align-items: flex-end; gap: 7px; height: 70px; margin-top: 10px; }
.s-signals .bars i { flex: 1; height: 100%; background: var(--mint); transform-origin: bottom; transform: scaleY(.3); opacity: .85; }
.present.s-signals .bars i { animation: eq var(--d) ease-in-out infinite alternate; }
@keyframes eq { 0% { transform: scaleY(.12); } 100% { transform: scaleY(1); } }

.s-signals .matrix { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; margin-top: 12px; height: 62px; }
.s-signals .matrix i { border-radius: 50%; background: var(--mint); opacity: .15; width: 14px; height: 14px; justify-self: center; }
.present.s-signals .matrix i { animation: glow var(--d) ease-in-out infinite; }
@keyframes glow { 0%, 100% { opacity: .12; } 50% { opacity: 1; box-shadow: 0 0 10px var(--mint); } }

.reveal .s-signals .sig-head { font-family: var(--display); font-size: 116px; line-height: .92; text-transform: uppercase; }
.s-signals .lede { font-size: 34px; max-width: 640px; }

.still .s-signals .chan, .print-pdf .s-signals .chan { animation-delay: -60s !important; }
.print-pdf .s-signals .chan { opacity: 1; }

/* photo credit under the globe */
.s-signals .credit { position: absolute; left: 1185px; width: 300px; top: 858px; z-index: 5; text-align: center;
  font-family: var(--type); font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* ==========================================================
   SLIDE 03 · WIT STRATEGY ALIGNMENT: one row per WIT section
   ========================================================== */
.s-wit .space { position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(95,240,207,.035) 0 1px, transparent 1px 90px),
    repeating-linear-gradient(90deg, rgba(95,240,207,.035) 0 1px, transparent 1px 90px),
    radial-gradient(ellipse at 70% 40%, #10191b 0%, #06090a 75%); }
.s-wit .frame { top: 150px; bottom: 120px; }
.s-wit .kicker { margin-bottom: 14px; }
.reveal .s-wit .wit-title { font-size: 74px; }

.s-wit .wit { margin-top: 20px; border-top: 2px solid var(--mint); }
.s-wit .wit-head { display: grid; grid-template-columns: 470px 1fr; padding: 8px 0;
  font-family: var(--type); font-size: 18px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  border-bottom: 1px solid rgba(242,237,226,.15); }
.s-wit .row { display: grid; grid-template-columns: 470px 1fr; align-items: center;
  padding: 13px 0; border-bottom: 1px solid rgba(242,237,226,.12); }

.s-wit .sec { display: flex; align-items: baseline; gap: 18px; padding-right: 30px; }
.s-wit .sec b { font-family: var(--display); font-weight: 400; font-size: 46px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--mint); }
.s-wit .sec span { font-family: var(--display); font-size: 40px; white-space: nowrap; line-height: 1; letter-spacing: .02em; text-transform: uppercase; }
.s-wit .sec i { font-style: normal; font-family: var(--type); font-size: 20px; color: var(--amber); margin-left: auto; white-space: nowrap; }

.s-wit .pi { list-style: none; margin: 0; padding: 0; }
.s-wit .pi li { position: relative; padding-left: 30px; font-size: 24px; line-height: 1.34; color: #ddd8cd; }
.s-wit .pi li + li { margin-top: 4px; }
.s-wit .pi li::before { content: "▸"; position: absolute; left: 0; color: var(--mint); }
.s-wit .pi em { font-style: normal; color: var(--mint); }
.s-wit .pi.lev li::before { content: none; }
.s-wit .pi.lev li { padding-left: 0; }
.s-wit .tag { display: inline-block; font-family: var(--type); font-size: 16px; letter-spacing: .12em; text-transform: uppercase;
  background: var(--mint); color: var(--ink); padding: 3px 10px 1px; margin-right: 14px; vertical-align: 3px; }
.s-wit .tag.dim { background: transparent; color: var(--muted); border: 1px solid var(--muted); }

/* capacities: six domains in a 3 × 2 grid */
.s-wit .caps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.s-wit .cap { background: rgba(15,20,22,.85); border-left: 3px solid var(--mint); padding: 8px 14px 9px; }
.s-wit .cap h4 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 28px; line-height: 1; letter-spacing: .03em; text-transform: uppercase; color: var(--mint); }
.s-wit .cap p { font-size: 19px; line-height: 1.25; color: #cfcabe; margin-top: 4px; }
.s-wit .cap.gap { border-left-color: var(--amber); background: repeating-linear-gradient(135deg, rgba(242,169,59,.07) 0 10px, transparent 10px 20px), rgba(15,20,22,.85); }
.s-wit .cap.gap h4, .s-wit .cap.gap p { color: var(--amber); }
.s-wit .cap.open { border: 1px dashed var(--muted); border-left: 3px dashed var(--muted); background: transparent; }
.s-wit .cap.open h4 { color: var(--paper); }
.s-wit .cap.open p { color: var(--muted); font-family: var(--type); }

/* ==========================================================
   SLIDE 04 · THE SPINE: 4-phase accordion (click or keys 1–4)
   ========================================================== */
.s-spine .space { position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 30%, #11191b 0%, #06090a 70%); }
.s-spine .frame { top: 118px; bottom: 110px; }
.s-spine .kicker { margin-bottom: 10px; }
.s-spine .spine-top { display: flex; align-items: baseline; gap: 40px; }
.reveal .s-spine .spine-title { font-size: 64px; }
.s-spine .spine-route { font-family: var(--type); font-size: 24px; color: var(--paper); letter-spacing: .06em; text-transform: uppercase; }
.s-spine .spine-route i { font-style: normal; color: var(--amber); padding: 0 6px; }
.s-spine .spine-frame { font-family: var(--type); font-size: 16px; color: var(--muted); letter-spacing: .04em; margin-top: 8px; }
.s-spine .spine-frame span { color: var(--mint); }

.s-spine .spine { position: relative; margin-top: 12px; }
/* the dashed route line running through the four waypoints */
.s-spine .spine::before { content: ""; position: absolute; left: 31px; top: 30px; bottom: 30px; width: 0;
  border-left: 3px dashed rgba(242,169,59,.55); }

.s-spine .ph { position: relative; }
.s-spine .ph + .ph { margin-top: 8px; }
.s-spine .ph-hd { all: unset; box-sizing: border-box; cursor: pointer; width: 100%;
  display: grid; grid-template-columns: 64px auto 1fr 40px; align-items: center; gap: 0 24px;
  padding: 6px 18px 6px 0; border-bottom: 1px solid rgba(242,237,226,.12); transition: background .3s; }
.s-spine .ph-hd:hover { background: rgba(95,240,207,.05); }
.s-spine .ph-hd:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }
.s-spine .wp { position: relative; z-index: 1; justify-self: center; transition: all .45s; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); border: 3px solid var(--mint); font-family: var(--display); font-size: 32px; color: var(--mint); padding-top: 3px; box-sizing: border-box; }
.s-spine .nm { transition: font-size .45s; font-family: var(--display); font-size: 56px; line-height: 1; text-transform: uppercase; color: var(--paper); padding-top: 6px; }
.s-spine .sub { font-family: var(--type); font-size: 20px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.s-spine .chev { width: 18px; height: 18px; border-right: 3px solid var(--mint); border-bottom: 3px solid var(--mint);
  transform: rotate(45deg); transition: transform .4s; justify-self: center; margin-top: -8px; }

.s-spine .ph.open .wp { background: var(--amber); border-color: var(--amber); color: var(--ink); box-shadow: 0 0 0 10px rgba(242,169,59,.18); }
.s-spine .ph.open .nm { color: var(--amber); }
.s-spine .ph.open .chev { transform: rotate(-135deg); margin-top: 8px; }

/* the dropdown body: grid-rows 0fr → 1fr gives a smooth height animation */
.s-spine .ph-bd { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s cubic-bezier(.3,.7,.2,1); }
.s-spine .ph.open .ph-bd { grid-template-rows: 1fr; }
.s-spine .ph-in { overflow: hidden; min-height: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding-left: 88px; }
.s-spine .ph.open .ph-in { padding-top: 12px; padding-bottom: 8px; }

.s-spine .note { background: rgba(15,20,22,.9); border-top: 3px solid var(--mint); padding: 13px 18px 12px; opacity: 0; transform: translateY(14px);
  transition: opacity .4s, transform .4s; }
.s-spine .ph.open .note { opacity: 1; transform: none; }
.s-spine .ph.open .note:nth-child(2) { transition-delay: .12s; }
.s-spine .ph.open .note:nth-child(3) { transition-delay: .24s; }
.s-spine .note h4 { margin: 0 0 8px; font-family: var(--display); font-weight: 400; font-size: 27px; line-height: 1.02; letter-spacing: .02em; text-transform: uppercase; color: var(--mint); }
.s-spine .note p { font-size: 18px; line-height: 1.36; color: #dcd7cc; }
.s-spine .note .cr { font-family: var(--type); font-size: 15px; line-height: 1.3; color: var(--muted); margin-top: 8px; letter-spacing: .02em; }

/* while one phase is open, the others shrink to a compact strip so everything fits */
.s-spine .spine.has-open .ph:not(.open) .wp { width: 42px; height: 42px; font-size: 22px; border-width: 2px; }
.s-spine .spine.has-open .ph:not(.open) .nm { font-size: 34px; }
.s-spine .spine.has-open .ph:not(.open) .sub { font-size: 16px; }
.s-spine .spine.has-open .ph .ph-hd { padding-top: 3px; padding-bottom: 3px; }
.s-spine .spine.has-open .ph.open .wp { width: 56px; height: 56px; font-size: 28px; }
.s-spine .spine.has-open .ph.open .nm { font-size: 48px; }
.s-spine .spine.has-open .ph + .ph { margin-top: 4px; }

/* ==========================================================
   SLIDE 05 · PI ACROSS THE EARTHKIND PROGRAMS
   montage of life → two program panels with PI in between
   ========================================================== */
.s-programs .mosaic { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(3, 1fr);
  gap: 4px; background: #000; }
.s-programs .mosaic .t { position: relative; overflow: hidden; opacity: 0; }
.s-programs .mosaic .t i { position: absolute; inset: 0; background-size: cover; background-position: center; }
.s-programs .mosaic .t.w2 { grid-column: span 2; }
.s-programs .mosaic .t.h2 { grid-row: span 2; }
.s-programs .mosaic .t.engr i { filter: invert(1) sepia(.4) hue-rotate(120deg) brightness(.85); }   /* white engraving → dark plate */
.present.s-programs .mosaic .t { animation: cut .3s steps(1) forwards; animation-delay: calc(var(--i) * .13s); }
.present.s-programs .mosaic .t i { animation: kenburns 18s ease-out forwards; }

/* after the montage plays, it dims so the panels read */
.s-programs .mosaic-shade { position: absolute; inset: 0; background: rgba(5,8,8,.0);
  box-shadow: inset 0 0 300px rgba(0,0,0,.8); }
.present.s-programs .mosaic-shade { animation: dimdown 1.2s ease 2s forwards; }
@keyframes dimdown { to { background: rgba(5,8,8,.62); } }

.s-programs .frame { top: 128px; bottom: 112px; }
.s-programs .kicker { margin-bottom: 8px; text-shadow: 0 2px 12px #000; }
.reveal .s-programs .prog-title { font-size: 76px; text-shadow: 0 4px 30px rgba(0,0,0,.9); }

.s-programs .prog-grid { display: grid; grid-template-columns: 1fr 240px 1fr; gap: 0 28px; margin-top: 18px; flex: 1; min-height: 0; align-items: start; }
.panel-in { opacity: 0; transform: translateY(24px); }
.present .panel-in { animation: rise .9s cubic-bezier(.2,.7,.2,1) forwards; }

.s-programs .prog { background: rgba(8,12,13,.9); border-top: 3px solid var(--mint); padding: 20px 26px 18px; backdrop-filter: blur(6px); }
.s-programs .who { font-family: var(--display); font-size: 54px; line-height: 1; text-transform: uppercase; color: var(--paper); }
.s-programs .role { font-family: var(--type); font-size: 20px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.s-programs .role span { color: var(--mint); }
.s-programs .intro { font-size: 19px; line-height: 1.4; color: #d8d3c8; margin-top: 12px; }

.s-programs .acc { margin-top: 12px; border-top: 1px solid rgba(242,237,226,.14); }
.s-programs .ac { border-bottom: 1px solid rgba(242,237,226,.14); }
.s-programs .ac-hd { all: unset; box-sizing: border-box; cursor: pointer; width: 100%; display: grid; grid-template-columns: 34px 1fr 24px; align-items: center; gap: 12px; padding: 8px 4px; }
.s-programs .ac-hd:hover { background: rgba(95,240,207,.06); }
.s-programs .ac-hd:focus-visible { outline: 2px solid var(--mint); }
.s-programs .ac-hd b { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--mint); display: grid; place-items: center;
  font-family: var(--display); font-weight: 400; font-size: 18px; color: var(--mint); padding-top: 2px; box-sizing: border-box; }
.s-programs .ac-hd span { font-family: var(--display); font-size: 30px; line-height: 1.05; text-transform: uppercase; letter-spacing: .02em; color: var(--paper); padding-top: 3px; }
.s-programs .ac-hd em { font-style: normal; color: var(--muted); font-size: 24px; }
.s-programs .chev { width: 11px; height: 11px; border-right: 2px solid var(--mint); border-bottom: 2px solid var(--mint); transform: rotate(45deg); transition: transform .35s; margin-top: -6px; }
.s-programs .ac.open .chev { transform: rotate(-135deg); margin-top: 6px; }
.s-programs .ac.open .ac-hd b { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.s-programs .ac.open .ac-hd span { color: var(--amber); }
.s-programs .ac-bd { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s cubic-bezier(.3,.7,.2,1); }
.s-programs .ac.open .ac-bd { grid-template-rows: 1fr; }
.s-programs .ac-bd p { overflow: hidden; min-height: 0; font-size: 19px; line-height: 1.42; color: #dcd7cc; padding-left: 50px; }
.s-programs .ac.open .ac-bd p { padding-bottom: 12px; }

.s-programs .back { margin-top: 14px; font-size: 18px; line-height: 1.4; color: var(--paper);
  border-left: 3px solid var(--amber); padding: 6px 0 6px 16px; background: rgba(242,169,59,.07); }
.s-programs .back span { display: block; font-family: var(--type); font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); margin-bottom: 2px; }

/* centre hub: what flows each way */
.s-programs .hub { align-self: center; display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
.s-programs .flow { position: relative; height: 34px; display: flex; align-items: center; }
.s-programs .flow span { position: relative; z-index: 1; font-family: var(--type); font-size: 16px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--mint); background: rgba(8,12,13,.92); padding: 4px 10px; margin: 0 auto; white-space: nowrap; }
.s-programs .flow.back-flow span { color: var(--amber); }
.s-programs .flow::before { content: ""; position: absolute; left: -28px; right: -28px; top: 50%; border-top: 2px dashed currentColor; color: rgba(95,240,207,.6); }
.s-programs .flow.back-flow::before { color: rgba(242,169,59,.6); }
.s-programs .node { align-self: center; width: 130px; height: 130px; border-radius: 50%; display: grid; place-items: center; margin: 10px 0;
  background: radial-gradient(circle, rgba(95,240,207,.25), rgba(8,12,13,.95) 70%); border: 3px solid var(--mint); box-shadow: 0 0 40px rgba(95,240,207,.35); }
.s-programs .node b { font-family: var(--display); font-weight: 400; font-size: 64px; color: var(--paper); padding-top: 6px; }
.present.s-programs .node { animation: nodepulse 3s ease-in-out infinite; }
@keyframes nodepulse { 50% { box-shadow: 0 0 70px rgba(95,240,207,.6), 0 0 0 14px rgba(95,240,207,.08); } }

.still .s-programs .mosaic .t, .still .panel-in, .still .s-programs .mosaic-shade { animation-delay: -60s !important; }
.print-pdf .panel-in { opacity: 1 !important; transform: none !important; animation: none !important; }
.print-pdf .s-programs .mosaic .t { opacity: 1 !important; animation: none !important; }
.print-pdf .s-programs .mosaic-shade { background: rgba(5,8,8,.62); animation: none !important; }

/* ==========================================================
   SLIDE 06 · 3 PATHS, ONE ROAD: Three Horizons chart
   ========================================================== */
.s-horizons { --h1: var(--mint); --h2: var(--amber); --h3: #ff7a5c; }
.s-horizons .space { position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(242,237,226,.03) 0 1px, transparent 1px 60px),
    radial-gradient(ellipse at 75% 30%, #121a1c 0%, #06090a 70%); }
.s-horizons .frame { top: 96px; bottom: 120px; }
.s-horizons .kicker { margin-bottom: 8px; }
.reveal .s-horizons .hz-title { font-size: 84px; }

.s-horizons .hz-chart { display: block; width: 1620px; height: 400px; margin-top: 96px; overflow: visible; }
.s-horizons .zone { fill: transparent; }
.s-horizons .zone.z1 { fill: rgba(95,240,207,.035); }
.s-horizons .zone.z2 { fill: rgba(242,169,59,.035); }
.s-horizons .zone.z3 { fill: rgba(255,122,92,.035); }
.s-horizons .divider { stroke: rgba(242,237,226,.25); stroke-width: 2; stroke-dasharray: 6 8; }
.s-horizons .axis { stroke: rgba(242,237,226,.55); stroke-width: 3; }
.s-horizons .axis-head, .s-horizons .road-head { fill: rgba(242,237,226,.7); }
.s-horizons .road { stroke: rgba(242,237,226,.7); stroke-width: 4; stroke-dasharray: 18 12; }
.present.s-horizons .road { animation: march 1.4s linear infinite; }
.s-horizons .ax { font-family: var(--type); font-size: 20px; letter-spacing: .12em; text-transform: uppercase; fill: var(--muted); }
.s-horizons .hl { font-family: var(--display); font-size: 40px; letter-spacing: .04em; text-transform: uppercase; }
.s-horizons .hl.h1, .s-horizons .cl.h1 { fill: var(--h1); }
.s-horizons .hl.h2, .s-horizons .cl.h2 { fill: var(--h2); }
.s-horizons .hl.h3, .s-horizons .cl.h3 { fill: var(--h3); }
.s-horizons .cl { font-family: var(--type); font-size: 21px; letter-spacing: .06em; text-transform: uppercase; opacity: 0; }

/* curves draw on one after another */
.s-horizons .curve { fill: none; stroke-width: 7; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.s-horizons .curve.c1 { stroke: var(--h1); filter: drop-shadow(0 0 10px rgba(95,240,207,.5)); }
.s-horizons .curve.c2 { stroke: var(--h2); filter: drop-shadow(0 0 10px rgba(242,169,59,.5)); }
.s-horizons .curve.c3 { stroke: var(--h3); filter: drop-shadow(0 0 10px rgba(255,122,92,.5)); }
.present.s-horizons .curve { animation: draw 1.1s cubic-bezier(.4,0,.2,1) forwards; }
.present.s-horizons .curve.c1 { animation-delay: .6s; }
.present.s-horizons .curve.c2 { animation-delay: 1.6s; }
.present.s-horizons .curve.c3 { animation-delay: 2.6s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.s-horizons .wpt { opacity: 0; }
.s-horizons .wpt .pt { fill: var(--ink); stroke-width: 4; }
.s-horizons .wpt text { font-family: var(--display); font-size: 20px; }
.s-horizons .wpt .pulse { fill: none; stroke-width: 3; transform-box: fill-box; transform-origin: center; }
.s-horizons .m1 .pt, .s-horizons .m1 .pulse { stroke: var(--h1); } .s-horizons .m1 text { fill: var(--h1); }
.s-horizons .m2 .pt, .s-horizons .m2 .pulse { stroke: var(--h2); } .s-horizons .m2 text { fill: var(--h2); }
.s-horizons .m3 .pt, .s-horizons .m3 .pulse { stroke: var(--h3); } .s-horizons .m3 text { fill: var(--h3); }
.present.s-horizons .wpt, .present.s-horizons .cl { animation: fadein .5s ease forwards; }
.present.s-horizons .m1, .present.s-horizons .cl.h1 { animation-delay: 1.3s; }
.present.s-horizons .m2, .present.s-horizons .cl.h2 { animation-delay: 2.3s; }
.present.s-horizons .m3, .present.s-horizons .cl.h3 { animation-delay: 3.3s; }
.present.s-horizons .wpt .pulse { animation: ping 2.2s ease-out infinite; }
.present.s-horizons .m2 .pulse { animation-duration: 3s; }
.present.s-horizons .m3 .pulse { animation-duration: 4.2s; }

/* initiative cards under each zone (zones start at x = 60 inside the chart) */
.s-horizons .hz-cards { display: grid; grid-template-columns: 500px 520px 520px; margin: 0 0 0 60px; }
.s-horizons .hzc { padding: 14px 24px 16px; border-top: 4px solid; background: rgba(10,14,15,.85); }
.s-horizons .hzc.h1 { border-color: var(--h1); } .s-horizons .hzc.h2 { border-color: var(--h2); } .s-horizons .hzc.h3 { border-color: var(--h3); margin-right: 0; }
.s-horizons .hzc .tag { font-family: var(--type); font-size: 18px; letter-spacing: .14em; text-transform: uppercase; }
.s-horizons .hzc.h1 .tag { color: var(--h1); } .s-horizons .hzc.h2 .tag { color: var(--h2); } .s-horizons .hzc.h3 .tag { color: var(--h3); }
.reveal .s-horizons .hzc h3 { font-size: 40px; line-height: .95; margin-top: 4px; white-space: nowrap; }
.s-horizons .hzc p { font-size: 24px; color: #d6d1c6; margin-top: 6px; }

.still .s-horizons .curve, .still .s-horizons .wpt, .still .s-horizons .cl { animation-delay: -60s !important; }
.print-pdf .s-horizons .curve { stroke-dashoffset: 0; animation: none !important; }
.print-pdf .s-horizons .wpt, .print-pdf .s-horizons .cl { opacity: 1; animation: none !important; }

/* ==========================================================
   SLIDES 07–10 · HORIZON 1: UTAH AVALANCHE CENTER EXPERIMENT
   shared: snowy ridgeline along the bottom edge + UAC logo
   ========================================================== */
.s-uac { --coral: #ff7a5c; }
.s-uac .space { position: absolute; inset: 0; background: radial-gradient(ellipse at 60% 20%, #141d22 0%, #070a0c 70%); }
.s-uac .uac-ridge { position: absolute; left: 0; right: 0; bottom: 0; height: 360px; z-index: 1; pointer-events: none;
  background: url("../Images/uac/ridge-alpenglow.jpg") center -330px / 1920px auto no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, transparent 12%, rgba(0,0,0,.35) 38%, #000 72%);
          mask-image: linear-gradient(to bottom, transparent 0, transparent 12%, rgba(0,0,0,.35) 38%, #000 72%);
  opacity: .9; }
.s-uac-open .uac-ridge { height: 430px; background-position: center -270px; }
.present.s-uac .uac-ridge { animation: ridgein 1.6s ease-out forwards; }
@keyframes ridgein { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: .9; } }

.s-uac .uac-logo-sm { position: absolute; right: 150px; top: 140px; width: 170px; z-index: 5; filter: drop-shadow(0 6px 18px rgba(0,0,0,.6)); }
.s-uac .frame { z-index: 4; }

/* opener */
.s-uac-open .uac-logo { width: 230px; margin: 6px 0 18px -6px; filter: drop-shadow(0 8px 24px rgba(0,0,0,.6)); }
.reveal .s-uac-open .uac-title { font-size: 112px; line-height: .9; }
.s-uac-open .lede { font-family: var(--type); color: var(--paper); margin-top: 24px; }
.s-uac-open .collage { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.s-uac-open .print { position: absolute; margin: 0; width: 330px; padding: 12px 12px 40px; background: #f4f0e6;
  box-shadow: 0 24px 50px rgba(0,0,0,.65); transform: rotate(var(--r)); }
.s-uac-open .print img { display: block; width: 100%; height: 400px; object-fit: cover; }
.s-uac-open .print .tape { position: absolute; top: -14px; left: 50%; width: 120px; height: 32px; margin-left: -60px;
  background: rgba(242,169,59,.55); transform: rotate(calc(var(--r) * -1.4)); box-shadow: 0 2px 4px rgba(0,0,0,.2); }

/* seed + spend */
.reveal .s-uac .uac-h { font-size: 96px; }
.s-uac .seed { display: flex; align-items: center; gap: 40px; margin-top: 18px; }
.s-uac .seed-n { font-family: var(--display); font-size: 230px; line-height: .8; color: var(--mint); padding-top: 18px; }
.s-uac .seed-t { font-family: var(--display); font-size: 64px; line-height: .95; text-transform: uppercase; }
.s-uac .seed-t span { color: var(--muted); }
.s-uac .spend { margin-top: 44px; }
.s-uac .spend-hd { display: flex; justify-content: space-between; font-family: var(--type); font-size: 20px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.s-uac .spend-hd b { color: var(--paper); font-weight: 400; }
.s-uac .bar { display: flex; height: 54px; gap: 4px; }
.s-uac .bar .sg { width: var(--w); transform-origin: left; }
.s-uac .s1 { --c: var(--mint); } .s-uac .s2 { --c: var(--amber); } .s-uac .s3 { --c: var(--coral); } .s-uac .s4 { --c: var(--paper); }
.s-uac .bar .sg { background: var(--c); }
.s-uac .bar .s4 { background: repeating-linear-gradient(135deg, rgba(242,237,226,.16) 0 10px, transparent 10px 20px); outline: 2px dashed rgba(242,237,226,.5); outline-offset: -2px; }
.present.s-uac .bar .sg { animation: grow .9s cubic-bezier(.3,.7,.2,1) both; }
.present.s-uac .bar .s1 { animation-delay: .9s; } .present.s-uac .bar .s2 { animation-delay: 1.2s; }
.present.s-uac .bar .s3 { animation-delay: 1.5s; } .present.s-uac .bar .s4 { animation-delay: 1.8s; }
@keyframes grow { from { transform: scaleX(0); } }
.s-uac .legend { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 16px; }
.s-uac .lg { border-left: 6px solid var(--c); padding-left: 12px; box-sizing: border-box; white-space: nowrap; }
.s-uac .lg b { display: block; font-family: var(--display); font-weight: 400; font-size: 46px; line-height: 1; color: var(--c); }
.s-uac .lg span { font-family: var(--type); font-size: 17px; letter-spacing: .06em; text-transform: uppercase; color: #cfcabe; }
.s-uac .lg.s3 { overflow: visible; }

/* the test */
.reveal .s-uac .uac-q { font-size: 92px; line-height: .95; }
.s-uac .merge { position: absolute; left: 1290px; top: 300px; width: 480px; z-index: 4; display: flex; flex-direction: column; align-items: stretch; }
.s-uac .merge .in, .s-uac .merge .out { background: rgba(10,14,16,.88); border: 1px solid rgba(242,237,226,.2); border-left: 4px solid var(--amber); padding: 14px 20px; }
.s-uac .merge .in.sat { border-left-color: var(--mint); }
.s-uac .merge .out { border: 2px dashed var(--paper); }
.s-uac .merge .lbl { display: block; font-family: var(--type); font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.s-uac .merge b { display: block; font-family: var(--display); font-weight: 400; font-size: 46px; line-height: 1; text-transform: uppercase; margin-top: 4px; }
.s-uac .merge .sub { display: block; font-size: 19px; color: #cfcabe; margin-top: 2px; }
.s-uac .merge .plus { align-self: center; font-family: var(--display); font-size: 56px; line-height: 1; color: var(--paper); margin: 4px 0; }
.s-uac .merge .arrow { align-self: center; width: 4px; height: 56px; margin: 8px 0 14px; background: repeating-linear-gradient(to bottom, var(--paper) 0 8px, transparent 8px 14px); position: relative; }
.s-uac .merge .arrow::after { content: ""; position: absolute; left: 50%; bottom: -12px; margin-left: -12px; border: 12px solid transparent; border-top: 14px solid var(--paper); border-bottom: 0; }

/* status climb */
.s-uac .climb { position: absolute; inset: 0; z-index: 3; }
.s-uac .climb .trail-done { fill: none; stroke: var(--mint); stroke-width: 6; }
.s-uac .climb .trail-next { fill: none; stroke: var(--amber); stroke-width: 5; stroke-dasharray: 14 12; }
.present.s-uac .climb .trail-next { animation: march 1.2s linear infinite; }
.s-uac .wp circle { fill: var(--ink); stroke-width: 5; }
.s-uac .wp.done circle { fill: var(--mint); stroke: var(--mint); }
.s-uac .wp.done .tick { fill: none; stroke: var(--ink); stroke-width: 4; }
.s-uac .wp.now circle { fill: var(--amber); stroke: var(--amber); }
.s-uac .wp.now .pulse { fill: none; transform-box: fill-box; transform-origin: center; }
.present.s-uac .wp.now .pulse { animation: ping 1.8s ease-out infinite; }
.s-uac .wp.goal circle { stroke: var(--paper); }
.s-uac .wp.goal .flag { fill: var(--coral); stroke: var(--paper); stroke-width: 4; }
.s-uac .wcard { position: absolute; z-index: 4; width: 440px; background: rgba(10,14,16,.9); border-top: 4px solid; padding: 14px 22px 16px; }
.s-uac .wcard.done { border-color: var(--mint); width: 360px; }
.s-uac .wcard.now { border-color: var(--amber); }
.s-uac .wcard.goal { border-color: var(--coral); width: 480px; }
.s-uac .wcard .st { font-family: var(--type); font-size: 17px; letter-spacing: .1em; text-transform: uppercase; }
.s-uac .wcard.done .st { color: var(--mint); } .s-uac .wcard.now .st { color: var(--amber); } .s-uac .wcard.goal .st { color: var(--coral); }
.s-uac .wcard h4 { margin: 6px 0 0; font-family: var(--display); font-weight: 400; font-size: 50px; line-height: .95; text-transform: uppercase; color: var(--paper); }
.s-uac .wcard p { font-size: 20px; color: #cfcabe; margin-top: 6px; }
.s-uac .wcard.done { width: 420px; }
.s-uac .wcard .wl { margin: 10px 0 0; padding: 0; list-style: none; }
.s-uac .wcard .wl li { position: relative; padding-left: 22px; font-size: 21px; line-height: 1.32; color: #cfcabe; margin-top: 6px; }
.s-uac .wcard .wl li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 8px; height: 8px; background: currentColor; opacity: .6; }
.s-uac .wcard.done .wl li::before { background: var(--mint); opacity: 1; }

.still .s-uac .uac-ridge, .still .s-uac .bar .sg { animation-delay: -60s !important; }
.print-pdf .s-uac .uac-ridge { animation: none !important; }
.print-pdf .s-uac .bar .sg { animation: none !important; }

/* keep the camera HUD readable over bright photos */
.hud { text-shadow: 0 1px 3px rgba(0,0,0,.9), 0 0 12px rgba(0,0,0,.6); }

/* ==========================================================
   SLIDE 11 · WHY H1 MATTERS: the $10K key
   ========================================================== */
.s-key .why { list-style: none; margin: 46px 0 0; padding: 0; }
.s-key .why li { display: grid; grid-template-columns: 110px 1fr; align-items: start; padding: 22px 0; border-top: 1px solid rgba(242,237,226,.15); }
.s-key .why li:last-child { border-bottom: 1px solid rgba(242,237,226,.15); }
.s-key .why b { font-family: var(--display); font-weight: 400; font-size: 84px; line-height: .85; color: transparent; -webkit-text-stroke: 2px var(--mint); }
.s-key .why p { font-family: var(--display); font-size: 62px; line-height: 1; text-transform: uppercase; color: var(--paper); }

.s-key .keylock { position: absolute; left: 1010px; top: 230px; width: 760px; height: 520px; z-index: 4; overflow: visible; }
.s-key .lock .body { fill: rgba(10,14,16,.92); stroke: var(--amber); stroke-width: 6; transition: stroke .4s; }
.s-key .lock .shackle { fill: none; stroke: var(--amber); stroke-width: 16; stroke-linecap: round; }
.s-key .lock .hole { fill: var(--amber); }
.s-key .key .bow { fill: var(--amber); }
.s-key .key .bow-in { fill: none; stroke: var(--ink); stroke-width: 3; stroke-dasharray: 4 6; }
.s-key .key .amt { font-family: var(--display); font-size: 46px; fill: var(--ink); }
.s-key .key .shaft { fill: var(--amber); }
.s-key .key .teeth { fill: var(--amber); stroke: none; }
.s-key .key { transform-box: view-box; }

/* sequence: key slides in → turns → shackle lifts → lock + H2 go mint */
.present.s-key .key { animation: keyin 1s cubic-bezier(.3,.7,.2,1) .9s both, keyturn .35s ease-in-out 2s both; }
@keyframes keyin { from { transform: translateX(-90px); opacity: 0; } to { transform: translateX(118px); opacity: 1; } }
@keyframes keyturn { from { transform: translateX(118px) scaleY(1); } 50% { transform: translateX(118px) scaleY(.2); } to { transform: translateX(118px) scaleY(1); } }
.s-key .key { transform-origin: 0 292px; transform: translateX(118px); }
.s-key .shackle { transform-box: fill-box; transform-origin: 100% 100%; }
.present.s-key .shackle { animation: unlock .6s cubic-bezier(.3,1.4,.4,1) 2.4s forwards; }
@keyframes unlock { to { transform: translateY(-36px); stroke: var(--mint); } }
.present.s-key .lock .body { animation: lockgo .4s ease 2.5s forwards; }
@keyframes lockgo { to { stroke: var(--mint); } }

.s-key .chips .c1 { fill: rgba(10,14,16,.92); stroke: var(--mint); stroke-width: 3; }
.s-key .chips .c2 { fill: rgba(10,14,16,.92); stroke: rgba(242,237,226,.3); stroke-width: 3; stroke-dasharray: 8 6; }
.present.s-key .chips .c2 { animation: h2on .5s ease 2.9s forwards; }
@keyframes h2on { to { stroke: var(--amber); stroke-dasharray: none; fill: rgba(242,169,59,.14); } }
.s-key .chips .ct { font-family: var(--display); font-size: 32px; letter-spacing: .02em; text-transform: uppercase; }
.s-key .chips .t1 { fill: var(--mint); } .s-key .chips .t2 { fill: var(--paper); }
.s-key .chips .arw { stroke: var(--paper); stroke-width: 3; stroke-dasharray: 6 5; } .s-key .chips .arw-h { fill: var(--paper); }
.s-key .chips .pc { font-family: var(--type); font-size: 15px; letter-spacing: .12em; text-transform: uppercase; fill: var(--muted); }

.still .s-key .key, .still .s-key .shackle, .still .s-key .lock .body, .still .s-key .chips .c2 { animation-delay: -60s !important; }
.print-pdf .s-key .key, .print-pdf .s-key .shackle, .print-pdf .s-key .lock .body, .print-pdf .s-key .chips .c2 { animation: none !important; }

/* ==========================================================
   SLIDE 12 · HORIZON 2: MULTIMODAL TRAINING DATASET
   ========================================================== */
.s-h2 .space { position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(242,169,59,.03) 0 1px, transparent 1px 80px),
    repeating-linear-gradient(90deg, rgba(242,169,59,.03) 0 1px, transparent 1px 80px),
    radial-gradient(ellipse at 30% 30%, #17150f 0%, #07090a 70%); }
.s-h2 .frame { top: 140px; }
.s-h2 .kicker { margin-bottom: 10px; }
.reveal .s-h2 .h2-title { font-size: 104px; }
.s-h2 .h2-goal { font-size: 28px; line-height: 1.35; color: var(--paper); margin-top: 16px; max-width: 1620px; }
.s-h2 .h2-goal span { font-family: var(--type); font-size: 18px; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); margin-right: 18px; vertical-align: 4px; }

.s-h2 .geo { position: absolute; inset: 0; z-index: 3; }
.s-h2 .ccf { position: absolute; left: 150px; top: 452px; width: 305px; height: 92px; background: #fff; border-radius: 6px;
  display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.s-h2 .ccf img { width: 220px; }
.s-h2 .page { position: absolute; left: 150px; width: 305px; height: 80px; box-sizing: border-box; padding: 14px 16px;
  background: rgba(14,16,18,.92); border: 1px solid rgba(242,237,226,.18); border-left: 4px solid var(--amber); }
.s-h2 .page i { display: block; height: 7px; background: rgba(242,237,226,.28); border-radius: 4px; margin-bottom: 8px; width: 70%; }
.s-h2 .page i.s { width: 45%; }
.s-h2 .page .chip { position: absolute; right: 12px; top: 22px; display: flex; align-items: center; gap: 8px; background: rgba(242,169,59,.16);
  border: 1px solid var(--amber); padding: 4px 10px 3px 4px; font-family: var(--type); font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--amber); }
.s-h2 .page .chip b, .s-h2 .sat .pin { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 400; font-size: 17px; padding-top: 2px; box-sizing: border-box; }
.s-h2 .page .chip b { background: var(--amber); color: var(--ink); }

.s-h2 .links { position: absolute; inset: 0; width: 1920px; height: 1080px; }
.s-h2 .links path { fill: none; stroke: var(--amber); stroke-width: 3; stroke-dasharray: 8 8; opacity: 0; }
.present.s-h2 .links path { animation: fadein .6s ease 1.8s forwards, march 1.4s linear infinite; }
.s-h2 .links text { font-family: var(--type); font-size: 18px; letter-spacing: .1em; text-transform: uppercase; fill: var(--amber); opacity: 0; }
.present.s-h2 .links text { animation: fadein .6s ease 1.8s forwards; }

.s-h2 .sat { position: absolute; left: 760px; top: 452px; width: 390px; height: 390px; border: 3px solid var(--mint); box-shadow: 0 20px 50px rgba(0,0,0,.6); overflow: hidden; }
.s-h2 .sat .img { position: absolute; inset: 0; background: url("../Images/life/land-nasa.jpg") center / cover; }
.present.s-h2 .sat .img { animation: kenburns 20s ease-out forwards; }
.s-h2 .sat .pin { position: absolute; background: var(--mint); color: var(--ink); box-shadow: 0 0 0 6px rgba(95,240,207,.3); }
.s-h2 .sat .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 12px; background: rgba(7,9,10,.82);
  font-family: var(--type); font-size: 16px; letter-spacing: .12em; text-transform: uppercase; color: var(--mint); }

.s-h2 .h2-side { position: absolute; left: 1230px; top: 452px; width: 540px; z-index: 4; display: flex; flex-direction: column; gap: 14px; }
.s-h2 .lbl { display: block; font-family: var(--type); font-size: 16px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.s-h2 .res { background: rgba(14,16,18,.9); border-top: 3px solid var(--paper); padding: 14px 20px 16px; }
.s-h2 .res p { font-size: 23px; line-height: 1.38; color: #e2ddd2; margin-top: 4px; }
.s-h2 .res b { font-weight: 600; }
.s-h2 .ask { display: flex; align-items: baseline; gap: 20px; border-top: 3px solid var(--amber); padding-top: 8px; }
.s-h2 .ask b { font-family: var(--display); font-weight: 400; font-size: 96px; line-height: .9; color: var(--amber); }
.s-h2 .demo p { font-size: 23px; line-height: 1.35; color: #e2ddd2; }
.s-h2 .demo { border-left: 3px dashed var(--mint); padding-left: 16px; }
/* pins sit above the link lines */
.s-h2 .sat { z-index: 1; } .s-h2 .links { z-index: 2; pointer-events: none; }
.still .s-h2 .links path, .still .s-h2 .links text { animation-delay: -60s !important; }
.print-pdf .s-h2 .links path, .print-pdf .s-h2 .links text { opacity: 1; animation: none !important; }

/* ==========================================================
   SLIDE 13 · HORIZON 3: NATURAL GENERAL INTELLIGENCE
   ========================================================== */
.s-h3 { --coral: #ff7a5c; }
.s-h3 .bg { inset: -3%; filter: saturate(.85) brightness(.9); }
.s-h3 .h3-shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(5,8,6,.84) 0%, rgba(5,8,6,.66) 60%, rgba(5,8,6,.4) 100%),
  radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,.6) 100%); }
.s-h3 .coral { color: var(--coral); }
.s-h3 a { color: inherit; text-decoration: none; }
.s-h3 .frame { top: 140px; bottom: 112px; }
.s-h3 .kicker { margin-bottom: 8px; }
.reveal .s-h3 .h3-title { font-size: 96px; }
.s-h3 .h3-title a:hover { color: var(--coral); }
.s-h3 .h3-title .ext { font-style: normal; font-family: var(--body); font-size: 40px; color: var(--coral); vertical-align: 40px; margin-left: 10px; }
.s-h3 .h3-lede { font-size: 27px; line-height: 1.4; color: #e6e1d6; margin-top: 12px; max-width: 1620px; }
.s-h3 .h3-lede a, .s-h3 .h3-data a { color: var(--coral); border-bottom: 2px solid rgba(255,122,92,.6); }
.s-h3 .h3-lede a:hover, .s-h3 .h3-data a:hover { border-bottom-color: var(--coral); background: rgba(255,122,92,.12); }

/* one-to-one: paper ↔ experiment */
.s-h3 .corr { margin-top: 24px; }
.s-h3 .corr .hd, .s-h3 .corr .row { display: grid; grid-template-columns: 1fr 90px 1fr; align-items: center; }
.s-h3 .corr .hd { font-family: var(--type); font-size: 17px; letter-spacing: .14em; text-transform: uppercase; padding-bottom: 8px; }
.s-h3 .corr .hd span:first-child { color: var(--coral); } .s-h3 .corr .hd span:last-child { color: var(--mint); }
.s-h3 .corr .row { border-top: 1px solid rgba(242,237,226,.2); padding: 12px 0; background: rgba(5,8,6,.35); }
.s-h3 .corr .row:last-child { border-bottom: 1px solid rgba(242,237,226,.16); }
.s-h3 .corr p { font-size: 24px; line-height: 1.3; text-shadow: 0 1px 6px rgba(0,0,0,.7); }
.s-h3 .corr .pp { color: #f0ebe0; border-left: 4px solid var(--coral); padding-left: 16px; }
.s-h3 .corr .ex { color: #f0ebe0; border-left: 4px solid var(--mint); padding-left: 16px; }
.s-h3 .corr .eq { position: relative; height: 2px; margin: 0 14px; background: repeating-linear-gradient(90deg, var(--paper) 0 6px, transparent 6px 11px); }
.s-h3 .corr .eq::before, .s-h3 .corr .eq::after { content: ""; position: absolute; top: -6px; width: 14px; height: 14px; border-radius: 50%; }
.s-h3 .corr .eq::before { left: -8px; background: var(--coral); } .s-h3 .corr .eq::after { right: -8px; background: var(--mint); }

.s-h3 .h3-data { margin-top: 22px; background: rgba(8,12,10,.82); border-left: 4px solid var(--amber); padding: 14px 20px 14px; }
.s-h3 .h3-data p { font-size: 24px; color: var(--paper); }
.s-h3 .ds { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
.s-h3 .ds em { font-style: normal; font-family: var(--type); font-size: 15px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.s-h3 .ds span { font-family: var(--type); font-size: 16px; letter-spacing: .06em; color: var(--paper); border: 1px solid rgba(242,237,226,.35); padding: 4px 10px 3px; }

/* ==========================================================
   SLIDE 14 · FUNDING PATHWAY: station-plot backdrop + steps
   ========================================================== */
.s-fund { --coral: #ff7a5c; }
.s-fund .space { position: absolute; inset: 0; background: radial-gradient(ellipse at 75% 35%, #12191b 0%, #06090a 70%); }
.s-fund .wx { position: absolute; right: 60px; top: 60px; width: 760px; height: 760px; opacity: .13;
  background: url("../Images/funding/station-plot.png") center / contain no-repeat; }
.present.s-fund .wx { animation: wxin 2s ease forwards, drift2 30s ease-in-out infinite alternate; }
@keyframes wxin { from { opacity: 0; } to { opacity: .13; } }
@keyframes drift2 { to { transform: rotate(-3deg) scale(1.04); } }

.s-fund .frame { top: 140px; bottom: 112px; }
.s-fund .kicker { margin-bottom: 8px; }
.reveal .s-fund .fund-title { font-size: 100px; }

/* rising steps: each stage sits higher than the last */
.s-fund .steps { display: grid; grid-template-columns: 1fr 70px 1fr 70px 1fr; align-items: end; margin-top: 30px; height: 330px; }
.s-fund .st { background: rgba(10,14,16,.9); border-top: 5px solid var(--c); padding: 16px 24px 18px; box-sizing: border-box; display: flex; flex-direction: column; justify-content: flex-end; }
.s-fund .st.s1 { --c: var(--mint); height: 200px; }
.s-fund .st.s2 { --c: var(--amber); height: 265px; }
.s-fund .st.s3 { --c: var(--coral); height: 330px; }
.s-fund .st .lbl { font-family: var(--type); font-size: 17px; letter-spacing: .14em; text-transform: uppercase; color: var(--c); }
.s-fund .st b { font-family: var(--display); font-weight: 400; font-size: 86px; line-height: .95; color: var(--paper); margin-top: 4px; }
.s-fund .st p { font-size: 23px; color: #cfcabe; margin-top: 4px; }
.s-fund .ar { align-self: center; height: 0; border-top: 3px dashed rgba(242,237,226,.55); position: relative; margin: 0 10px; top: 30px; }
.s-fund .ar::after { content: ""; position: absolute; right: -4px; top: -10px; border: 8px solid transparent; border-left: 12px solid rgba(242,237,226,.75); border-right: 0; }

.s-fund .fd-hd { font-family: var(--type); font-size: 19px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 44px; }
.s-fund .funders { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 12px; }
.s-fund .fd { background: rgba(10,14,16,.86); border: 1px solid rgba(242,237,226,.16); border-left: 4px solid var(--paper); padding: 18px 20px 22px; }
.s-fund .fd h4 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 42px; line-height: 1; text-transform: uppercase; color: var(--paper); }
.s-fund .fd p { font-size: 22px; line-height: 1.3; color: #d6d1c6; margin-top: 6px; }
.still .s-fund .wx { animation-delay: -60s !important; }
.print-pdf .s-fund .wx { animation: none !important; }

/* ==========================================================
   SLIDE 15 · WHAT'S NEXT & HOW TO HELP (light slide)
   ========================================================== */
.s-next { --ink-d: #10191b; --teal: #0b8a73; --amb: #b5650a; --cor: #c9472a; color: var(--ink-d); }
.s-next .wash { position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(246,243,236,.9) 0%, rgba(246,243,236,.74) 45%, rgba(246,243,236,.42) 100%); }
.s-next .frame { top: 140px; bottom: 112px; }
.s-next .kicker { color: var(--teal); margin-bottom: 8px; }
.s-next .kicker::before { background: var(--teal); }
.reveal .s-next .nx-title { font-size: 100px; color: var(--ink-d); }
.s-next .nx-title span { color: var(--teal); }
.s-next .nx-sub { font-size: 28px; color: #2b3436; margin-top: 8px; }

.s-next .nx-grid { display: grid; grid-template-columns: 640px 1fr; gap: 40px; margin-top: 30px; }
.s-next .nx-h { font-family: var(--type); font-size: 19px; letter-spacing: .14em; text-transform: uppercase; color: #3d4749; margin-bottom: 12px; }

.s-next .nx-miles { background: rgba(255,255,255,.78); backdrop-filter: blur(8px); padding: 20px 26px 16px; box-shadow: 0 14px 40px rgba(16,25,27,.14); }
.s-next .nx-miles ol { list-style: none; margin: 0; padding: 0 0 0 26px; position: relative; }
.s-next .nx-miles ol::before { content: ""; position: absolute; left: 7px; top: 10px; bottom: 16px; border-left: 3px dashed rgba(16,25,27,.3); }
.s-next .nx-miles li { position: relative; padding: 0 0 14px 18px; }
.s-next .nx-miles li::before { content: ""; position: absolute; left: -26px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--ink-d); }
.s-next .nx-miles li.now::before { background: var(--amb); border-color: var(--amb); box-shadow: 0 0 0 6px rgba(181,101,10,.18); }
.s-next .nx-miles li.key::before { background: var(--teal); border-color: var(--teal); }
.s-next .nx-miles .when { display: block; font-family: var(--type); font-size: 16px; letter-spacing: .12em; text-transform: uppercase; color: var(--amb); }
.s-next .nx-miles li.key .when { color: var(--teal); }
.s-next .nx-miles b { display: block; font-family: var(--display); font-weight: 400; font-size: 36px; line-height: 1; text-transform: uppercase; color: var(--ink-d); margin-top: 2px; }
.s-next .nx-miles li.key b { color: var(--teal); }
.s-next .nx-miles em { font-style: normal; font-size: 17px; color: #4a5456; }

.s-next .nx-asks { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: auto 1fr; gap: 0 18px; }
.s-next .nx-asks .nx-h { grid-column: 1 / -1; }
.s-next .ask { background: rgba(255,255,255,.82); backdrop-filter: blur(8px); border-top: 6px solid var(--c); padding: 20px 22px 22px; box-shadow: 0 14px 40px rgba(16,25,27,.14);
  display: flex; flex-direction: column; }
.s-next .ask.a1 { --c: var(--teal); } .s-next .ask.a2 { --c: var(--amb); } .s-next .ask.a3 { --c: var(--cor); }
.s-next .ask b { font-family: var(--display); font-weight: 400; font-size: 64px; line-height: .85; color: transparent; -webkit-text-stroke: 2px var(--c); }
.s-next .ask h4 { margin: 12px 0 0; font-family: var(--display); font-weight: 400; font-size: 48px; line-height: .95; text-transform: uppercase; color: var(--ink-d); }
.s-next .ask p { font-size: 22px; line-height: 1.35; color: #2b3436; margin-top: 10px; }
.s-next .ask .tags { margin-top: auto; padding-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.s-next .ask .tags i { font-style: normal; font-family: var(--type); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--c); border: 1.5px solid var(--c); padding: 3px 8px 2px; }

/* HUD + controls switch to dark ink on light slides */
body.light .hud { color: rgba(16,25,27,.82); text-shadow: 0 1px 2px rgba(255,255,255,.7); }
body.light .corners i { border-color: rgba(16,25,27,.45); }
body.light .grain { opacity: .06; }

/* ==========================================================
   SLIDE 18 · THANK YOU
   ========================================================== */
.s-thanks .space { position: absolute; inset: 0; background: radial-gradient(ellipse at center, #13201f 0%, #06090a 70%); }
.reveal .s-thanks .ty { font-size: 300px; line-height: .9; }

/* slide 05 v2: loose collage instead of a grid. Feathered edges, varied opacity, subject-centred masks */
.s-programs .mosaic { display: block; gap: 0; background: radial-gradient(ellipse at 50% 50%, #0d1514 0%, #050707 80%); }
.s-programs .mosaic .t { position: absolute; overflow: hidden; opacity: 0;
  -webkit-mask-image: radial-gradient(ellipse var(--rx) var(--ry) at var(--mx) var(--my), #000 52%, rgba(0,0,0,.55) 74%, transparent 100%);
          mask-image: radial-gradient(ellipse var(--rx) var(--ry) at var(--mx) var(--my), #000 52%, rgba(0,0,0,.55) 74%, transparent 100%); }
.s-programs .mosaic .t i { background-size: cover; }
.s-programs .mosaic .t.cut { -webkit-mask-image: none; mask-image: none; }
.s-programs .mosaic .t.cut i { background-size: contain; background-repeat: no-repeat; }
.present.s-programs .mosaic .t { animation: pieceIn .9s ease forwards; animation-delay: calc(var(--i) * .14s); }
@keyframes pieceIn { from { opacity: 0; } to { opacity: var(--op, 1); } }
.print-pdf .s-programs .mosaic .t { opacity: var(--op, 1) !important; }

/* ==========================================================
   HORIZON COLOUR SYSTEM (slides 06 →)
   H1 = mint · H2 = amber · H3 = coral, used consistently
   ========================================================== */
:root { --h1: #5ff0cf; --h2: #f2a93b; --h3: #ff7a5c; --h1-lt: #b8fbec; --h1-dk: #2bb896; }

/* bar inside the top letterbox */
.hbar { position: absolute; left: 0; right: 0; top: 0; height: 6.5vh; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px;
  opacity: 0; transition: opacity .6s; z-index: 2; }
body.has-hbar .hbar { opacity: 1; }
body.no-bars .hbar { opacity: 0; }
.hb { position: relative; display: flex; align-items: center; justify-content: center; color: var(--c); }
.hb.h1 { --c: var(--h1); } .hb.h2 { --c: var(--h2); } .hb.h3 { --c: var(--h3); }
.hb::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: .5vh; background: var(--c); opacity: .25; transition: all .5s; }
.hb span { font-family: var(--type); font-size: clamp(9px, .95vw, 18px); letter-spacing: .12em; text-transform: uppercase; opacity: .35; transition: opacity .5s; white-space: nowrap; }
.hb b { font-family: var(--display); font-weight: 400; font-size: 1.45em; letter-spacing: .04em; margin-right: .5em; vertical-align: -.08em; }
/* the slide's horizon lights up; "all" lights all three evenly */
body[data-h="1"] .hb.h1, body[data-h="2"] .hb.h2, body[data-h="3"] .hb.h3 { background: color-mix(in srgb, var(--c) 22%, #000); }
body[data-h="1"] .hb.h1::after, body[data-h="2"] .hb.h2::after, body[data-h="3"] .hb.h3::after { height: 1vh; opacity: 1; box-shadow: 0 0 2vh var(--c); }
body[data-h="1"] .hb.h1 span, body[data-h="2"] .hb.h2 span, body[data-h="3"] .hb.h3 span { opacity: 1; }
body[data-h="all"] .hb::after { opacity: .9; height: .7vh; }
body[data-h="all"] .hb span { opacity: .85; }

/* each horizon slide carries its colour: kicker + a glow from the top edge */
.reveal section[data-h="1"] { --hz: var(--h1); }
.reveal section[data-h="2"] { --hz: var(--h2); }
.reveal section[data-h="3"] { --hz: var(--h3); }
.reveal section[data-h="1"] .kicker, .reveal section[data-h="2"] .kicker, .reveal section[data-h="3"] .kicker { color: var(--hz); }
.reveal section[data-h="1"] .kicker::before, .reveal section[data-h="2"] .kicker::before, .reveal section[data-h="3"] .kicker::before { background: var(--hz); }
.reveal section[data-h="1"]::after, .reveal section[data-h="2"]::after, .reveal section[data-h="3"]::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 340px; z-index: 2; pointer-events: none;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--hz) 26%, transparent) 0%, transparent 100%); }

/* ---- H1 slides (07–11): mint family only ---- */
.h1-lt { color: var(--h1-lt) !important; }
.s-uac-open .print .tape { background: rgba(236,226,196,.62); }                 /* neutral masking tape */
.s-uac .s1 { --c: var(--h1); } .s-uac .s2 { --c: var(--h1-dk); } .s-uac .s3 { --c: var(--h1-lt); } .s-uac .s4 { --c: var(--paper); }
.s-uac .merge .in { border-left-color: var(--h1-lt); }
.s-uac .merge .in.sat { border-left-color: var(--h1); }
.s-uac .climb .trail-next { stroke: var(--h1); opacity: .75; }
.s-uac .wp.now circle { fill: var(--paper); stroke: var(--paper); }
.s-uac .wp.now .pulse { stroke: var(--h1); }
.s-uac .wp.goal circle { stroke: var(--h1); }
.s-uac .wp.goal .flag { fill: var(--h1); stroke: var(--paper); }
.s-uac .wcard.now { border-color: var(--paper); } .s-uac .wcard.now .st { color: var(--paper); }
.s-uac .wcard.goal { border-color: var(--h1); } .s-uac .wcard.goal .st { color: var(--h1); }
/* slide 11: the $10K key is H1 (mint); the lock it opens is H2 (amber) */
.s-key .key .bow, .s-key .key .shaft, .s-key .key .teeth, .s-key .lock .hole { fill: var(--h1); }
.s-key .lock .body { stroke: var(--paper); }
.s-key .lock .shackle { stroke: var(--paper); }
@keyframes unlock { to { transform: translateY(-36px); stroke: var(--h2); } }
@keyframes lockgo { to { stroke: var(--h2); } }

/* ---- H2 slide (12): amber, louder ---- */
.s-h2 .sat { border-color: var(--h2); }
.s-h2 .sat .pin { background: var(--h2); box-shadow: 0 0 0 6px rgba(242,169,59,.3); }
.s-h2 .sat .cap { color: var(--h2); }
.s-h2 .res { border-top-color: var(--h2); }
.s-h2 .demo { border-left-color: var(--h2); }

/* ---- H3 slide (13): coral ---- */
.s-h3 .h3-data { border-left-color: var(--h3); }

/* ---- slide 15 (light): milestones + tags coloured by horizon ---- */
.s-next { --h1-ink: #0b8a73; --h2-ink: #b5650a; --h3-ink: #c9472a; }
.s-next .nx-miles li.hz1 .when { color: var(--h1-ink); }
.s-next .nx-miles li.hz1::before { border-color: var(--h1-ink); }
.s-next .nx-miles li.now.hz1::before { background: var(--h1-ink); border-color: var(--h1-ink); box-shadow: 0 0 0 6px rgba(11,138,115,.2); }
.s-next .nx-miles li.hz2 .when { color: var(--h2-ink); }
.s-next .nx-miles li.hz2::before { border-color: var(--h2-ink); }
.s-next .nx-miles li.key .when, .s-next .nx-miles li.key b { color: var(--ink-d); }
.s-next .nx-miles li.key::before { background: var(--ink-d); border-color: var(--ink-d); }
.s-next .ask { --c: var(--ink-d) !important; }
.s-next .ask .tags i.hz1 { color: var(--h1-ink); border-color: var(--h1-ink); background: rgba(11,138,115,.1); }
.s-next .ask .tags i.hz2 { color: var(--h2-ink); border-color: var(--h2-ink); background: rgba(181,101,10,.1); }
.s-next .ask .tags i.hz3 { color: var(--h3-ink); border-color: var(--h3-ink); background: rgba(201,71,42,.1); }

/* ==========================================================
   SLIDE 01 · TITLE on a dark, textured ground
   ========================================================== */
.s-title .t-ground { position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 74%, rgba(70,150,220,.28) 0, rgba(95,240,207,.10) 280px, transparent 620px),
    radial-gradient(ellipse at 50% 35%, rgba(95,240,207,.07) 0, transparent 60%),
    radial-gradient(ellipse at center, #0f1719 0%, #070a0b 75%); }
.s-title .t-topo { position: absolute; inset: -3%; background: url("../Images/topo.png") center / cover; opacity: .16;
  -webkit-mask-image: radial-gradient(ellipse at 50% 55%, rgba(0,0,0,.35) 20%, #000 75%);
          mask-image: radial-gradient(ellipse at 50% 55%, rgba(0,0,0,.35) 20%, #000 75%); }
.present.s-title .t-topo { animation: kenburns 30s ease-out forwards; }
.s-title .t-art { position: absolute; inset: 0; background: url("../Images/title-cutout.png") center / contain no-repeat;
  filter: drop-shadow(0 0 1px rgba(242,237,226,.35)) drop-shadow(0 0 24px rgba(95,240,207,.12)); }
.present.s-title .t-art { animation: titleIn 2.2s ease-out both; }
@keyframes titleIn { from { opacity: 0; transform: scale(1.03); } to { opacity: 1; transform: none; } }

/* ?export: clean static frames (no grain/flash, no on-screen controls) */
.export .grain, .export .flicker, .export .reveal .controls, .export .reveal .progress { display: none !important; }

/* ==========================================================
   SLIDE 08 · DATASETS: logo wall by status, ↓ one slide per org group
   Status runs on one mint ramp (not the H1/H2/H3 colours):
   in use = solid mint · testing = mint ring · under analysis = dashed ·
   reviewed = grey · considered = faint
   ========================================================== */
.s-data { --st-use: var(--mint); --st-test: var(--h1-lt); --st-anl: var(--paper); --st-rev: #8d978f; --st-con: #5b645e; }
.s-data .space { position: absolute; inset: 0; background: radial-gradient(ellipse at 60% 20%, #141d22 0%, #070a0c 70%); }
.s-data .frame { top: 130px; bottom: 200px; }
.s-data .kicker { margin-bottom: 10px; }
.reveal .s-data .dt-title { font-size: 92px; }
.reveal .s-data .dt-h { font-size: 84px; }
.s-data .dt-sub { font-family: var(--type); font-size: 24px; color: #cfcabe; margin-top: 10px; }

.s-data .wall { margin-top: 50px; display: flex; flex-direction: column; gap: 14px; }
.s-data .wr { display: grid; grid-template-columns: 250px 1fr; align-items: center; gap: 18px; }
.s-data .wl-lab { display: flex; align-items: center; gap: 14px; border-left: 4px solid var(--c); padding-left: 14px; height: 100%; }
.s-data .wl-lab b { font-family: var(--display); font-weight: 400; font-size: 64px; line-height: .8; color: var(--c); padding-top: 6px; min-width: 62px; }
.s-data .wl-lab span { font-family: var(--display); font-size: 32px; line-height: .95; text-transform: uppercase; color: var(--paper); }
.s-data .wl-lab em { display: block; font-style: normal; font-family: var(--type); font-size: 15px; letter-spacing: .04em; text-transform: none; color: var(--muted); margin-top: 4px; }
.s-data .wr.use { --c: var(--st-use); } .s-data .wr.test { --c: var(--st-test); } .s-data .wr.anl { --c: var(--st-anl); }
.s-data .wr.rev { --c: var(--st-rev); } .s-data .wr.con { --c: var(--st-con); }
.s-data .wt { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* logo tile: paper card so every logo keeps its own colours */
.s-data .lg { display: grid; place-items: center; overflow: hidden; width: 158px; height: 92px; padding: 12px 14px; box-sizing: border-box;
  background: var(--paper); border-radius: 4px; box-shadow: 0 6px 18px rgba(0,0,0,.45); font-style: normal; }
.s-data .lg img { width: 100%; height: 100%; min-height: 0; object-fit: contain; display: block; }
.s-data .lg span { font-family: var(--display); font-size: 30px; line-height: .9; color: var(--ink); text-align: center; text-transform: uppercase; letter-spacing: .02em; }
.s-data .wr.use .lg { outline: 3px solid var(--st-use); outline-offset: 3px; }
.s-data .wr.test .lg { width: 120px; height: 76px; padding: 10px; }
.s-data .wr.test .lg span { font-size: 26px; }
.s-data .wr.anl .lg { width: 150px; height: 84px; outline: 2px dashed rgba(242,237,226,.7); outline-offset: 3px; }
.s-data .nm { font-style: normal; font-family: var(--body); font-weight: 600; font-size: 19px; color: #c4c9c2; padding: 6px 12px; border: 1px solid rgba(141,151,143,.55); border-radius: 3px; }
.s-data .wr.con .wt { display: block; font-family: var(--type); font-size: 20px; color: #8d978f; }
.s-data .wr.con .more { color: var(--mint); }
.s-data .dt-down { margin-top: auto; font-family: var(--type); font-size: 22px; letter-spacing: .06em; color: var(--muted); text-transform: uppercase; }
.s-data .dt-down b { color: var(--mint); font-weight: 400; }

/* drill-down: one row per org, category chips coloured by status */
.s-data-sub .legend { position: absolute; right: 0; top: 18px; display: flex; gap: 10px; }
.s-data .c { font-style: normal; display: inline-flex; align-items: center; gap: 10px; font-size: 20px; color: var(--paper);
  padding: 7px 14px 7px 12px; border-radius: 3px; background: rgba(242,237,226,.06); border: 1px solid rgba(242,237,226,.14); white-space: nowrap; }
.s-data .c::before { content: ""; width: 14px; height: 14px; border-radius: 50%; box-sizing: border-box; flex: none; }
.s-data .c.use::before { background: var(--st-use); box-shadow: 0 0 10px var(--st-use); }
.s-data .c.test::before { border: 3px solid var(--st-test); }
.s-data .c.anl::before { border: 2px dashed var(--st-anl); }
.s-data .c.rev::before { background: var(--st-rev); }
.s-data .c.con::before { border: 2px solid var(--st-con); }
.s-data .c.rev, .s-data .c.con { color: #aab1aa; }
.s-data .c em { font-style: normal; font-family: var(--type); font-size: 15px; color: var(--muted); }
.s-data-sub .legend .c { font-size: 16px; padding: 5px 10px; }
.s-data .orgs { margin-top: 30px; display: flex; flex-direction: column; border-top: 1px solid rgba(242,237,226,.14); }
.s-data .org { display: grid; grid-template-columns: 560px 1fr; align-items: center; gap: 24px; padding: 11px 0; border-bottom: 1px solid rgba(242,237,226,.14); }
.s-data .org-id { display: flex; align-items: center; gap: 20px; }
.s-data .lg.sm { width: 118px; height: 64px; padding: 8px 10px; flex: none; box-shadow: none; }
.s-data .lg.sm span { font-size: 21px; }
.s-data .org h4 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 38px; line-height: .95; text-transform: uppercase; color: var(--paper); }
.s-data .org p { font-family: var(--type); font-size: 17px; color: var(--muted); margin-top: 4px; }
.s-data .chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* the long list */
.s-data .longlist { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.s-data .lc { border-top: 3px solid var(--st-con); background: rgba(242,237,226,.04); padding: 18px 22px 22px; }
.s-data .lc h4 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 40px; text-transform: uppercase; color: var(--paper); }
.s-data .lc p { font-size: 22px; color: #cfcabe; margin-top: 8px; line-height: 1.45; }
.s-data .orgs.dense { margin-top: 22px; }
.s-data .orgs.dense .org { padding: 6px 0; }
.s-data .orgs.dense .lg.sm { height: 56px; }
.s-data .orgs.dense .org h4 { font-size: 34px; }

/* slide 06: the cards' coloured top rules sit on the chart baseline and meet at the horizon dividers */
.s-horizons .hzc + .hzc { box-shadow: inset 1px 0 0 rgba(242,237,226,.12); }

/* Spacing rule (all slides): content, including any small caption text, ends at least 200px above the slide's bottom edge (y ≤ 880 of 1080). */

/* ==========================================================
   SLIDE 09 · HOW THE DATA COMES TOGETHER
   Exploded stack: each layer is a 485×480 texture on the same
   50 m grid, so the planes register by construction. Layers drop
   in bottom-up (--d), then a mint column pierces the stack.
   ========================================================== */
.s-overlay .space { position: absolute; inset: 0; background: radial-gradient(ellipse at 68% 55%, #142128 0%, #070a0c 70%); }
.s-overlay .frame { right: auto; width: 640px; top: 150px; }
.reveal .s-overlay .ov-title { font-size: 88px; }
.s-overlay .ov-t { font-size: 25px; color: #d6d1c6; margin-top: 26px; line-height: 1.45; }
.s-overlay .ov-stage { position: absolute; left: 850px; top: 200px; width: 620px; height: 760px; perspective: 2400px; z-index: 3; }
.s-overlay .ov-scene { position: absolute; left: 60px; top: 230px; width: 485px; height: 480px; transform-style: preserve-3d;
  transform: rotateX(60deg) rotateZ(-36deg); }
.s-overlay .pl { position: absolute; inset: 0; transform-style: preserve-3d; transform: translateZ(var(--z)); opacity: 0;
  border: 1px solid rgba(242,237,226,.28); background: rgba(242,237,226,.035); }
.s-overlay .pl img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.s-overlay .pl.base img.sky { mix-blend-mode: multiply; opacity: .85; }
.s-overlay .pl:not(.base) img { opacity: .9; }
.present.s-overlay .pl { animation: ovdrop 1.1s cubic-bezier(.2,.75,.25,1) var(--d) forwards; }
@keyframes ovdrop { from { opacity: 0; transform: translateZ(calc(var(--z) + 420px)); } to { opacity: 1; transform: translateZ(var(--z)); } }
/* the column: stands up from one cell of the terrain through every plane */
.s-overlay .beam { position: absolute; left: 300px; top: 210px; width: 10px; height: 430px; margin-left: -5px; transform-origin: 50% 0;
  transform: rotateX(90deg) scaleY(0); background: linear-gradient(to bottom, var(--mint), #b8fbec); box-shadow: 0 0 34px 6px rgba(95,240,207,.7); }
.present.s-overlay .beam { animation: ovbeam 1s ease-out 4.6s forwards; }
@keyframes ovbeam { to { transform: rotateX(90deg) scaleY(1); } }
/* labels: plain 2D, lined up with each plane's projected right corner */
.s-overlay .ov-labels { position: absolute; left: 1520px; top: 0; z-index: 4; }
.s-overlay .ov-lab { position: absolute; left: 0; top: calc(722px - var(--k) * 49px); white-space: nowrap; opacity: 0; transform: translateX(-20px);
  display: flex; align-items: baseline; gap: 12px; border-left: 3px solid var(--mint); padding-left: 14px; }
.s-overlay .ov-lab b { font-family: var(--display); font-weight: 400; font-size: 29px; text-transform: uppercase; color: var(--paper); letter-spacing: .02em; }
.s-overlay .ov-lab span { font-family: var(--type); font-size: 18px; color: var(--muted); }
.s-overlay .ov-lab.base { border-left-color: var(--paper); }
.present.s-overlay .ov-lab { animation: ovlab .7s ease-out var(--d) forwards; }
@keyframes ovlab { to { opacity: 1; transform: none; } }
.still .s-overlay .pl, .still .s-overlay .ov-lab, .still .s-overlay .beam { animation-delay: -60s !important; }
.print-pdf .s-overlay .pl { opacity: 1 !important; animation: none !important; }
.print-pdf .s-overlay .ov-lab { opacity: 1 !important; transform: none !important; animation: none !important; }
.print-pdf .s-overlay .beam { transform: rotateX(90deg) !important; animation: none !important; }

/* ==========================================================
   SLIDE 10 · UAC TODAY vs OUR RUNS, with the biome inset
   ========================================================== */
.s-cmp .space { position: absolute; inset: 0; background: radial-gradient(ellipse at 40% 20%, #141d22 0%, #070a0c 70%); }
.s-cmp .frame { top: 130px; right: 590px; }
.s-cmp .kicker { margin-bottom: 10px; }
.reveal .s-cmp .cmp-title { font-size: 84px; }
.s-cmp .cmp { margin-top: 26px; display: flex; flex-direction: column; }
.s-cmp .cr { display: grid; grid-template-columns: 170px 1fr 1fr; gap: 18px; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(242,237,226,.12); }
.s-cmp .cr.hd { padding: 0 0 10px; border-bottom: 2px solid rgba(242,237,226,.3); font-family: var(--type); font-size: 20px; letter-spacing: .1em; text-transform: uppercase; }
.s-cmp .cr.hd .cu { flex-direction: row; align-items: center; gap: 10px; color: var(--muted); }
.s-cmp .cr.hd .cu img { height: 34px; }
.s-cmp .cr.hd .cp { color: var(--mint); }
.s-cmp .cl { font-family: var(--type); font-size: 18px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.s-cmp .cu, .s-cmp .cp { display: flex; flex-direction: column; gap: 3px; }
.s-cmp .cu b, .s-cmp .cp b { font-family: var(--display); font-weight: 400; font-size: 42px; line-height: .95; text-transform: uppercase; letter-spacing: .01em; }
.s-cmp .cu b { color: #c9cdc6; }
.s-cmp .cp b { color: var(--mint); }
.s-cmp .cu span, .s-cmp .cp span { font-size: 18px; color: #b9bdb6; line-height: 1.3; }
.s-cmp .cp { border-left: 3px solid var(--mint); padding-left: 16px; }
.s-cmp .cr.hd .cp { border-left-color: transparent; }
.s-cmp .biome { position: absolute; right: 150px; top: 278px; width: 380px; z-index: 4; background: rgba(10,14,16,.85);
  border-top: 4px solid var(--h2); padding: 18px 20px 20px; }
.s-cmp .biome .bk { font-family: var(--type); font-size: 18px; letter-spacing: .1em; text-transform: uppercase; color: var(--h2); }
.s-cmp .biome img { display: block; width: 100%; height: 300px; object-fit: cover; margin-top: 12px; }
.s-cmp .biome .bt { font-size: 21px; color: #dcd7cc; margin-top: 14px; line-height: 1.4; }
.s-cmp .biome .bc { font-family: var(--type); font-size: 15px; color: var(--muted); margin-top: 10px; }
.s-cmp .cmp-fn { font-family: var(--type); font-size: 16px; line-height: 1.45; color: var(--muted); margin-top: 14px; max-width: 1150px; }

/* ==========================================================
   SLIDE 05 · PROGRAMS AS PODS on the PI backbone
   (replaces the accordion detail; two pods still to be named)
   ========================================================== */
.s-programs .align-msg { font-family: var(--display); font-size: 58px; line-height: 1; text-transform: uppercase; color: var(--paper);
  margin-top: 26px; text-shadow: 0 4px 30px rgba(0,0,0,.9); }
.s-programs .align-msg b { font-weight: 400; color: var(--amber); }
.s-programs .pods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 44px; }
.s-programs .pod { background: rgba(8,12,13,.9); border-top: 3px solid var(--mint); padding: 18px 24px 20px; backdrop-filter: blur(6px); }
.s-programs .pod.tbd { border-top: 3px dashed rgba(242,237,226,.45); background: rgba(8,12,13,.72); }
.s-programs .pod .who { font-size: 46px; }
.s-programs .pod.tbd .who { color: #aab1aa; }
.s-programs .pod-links { display: block; width: 100%; height: 90px; overflow: visible; }
.s-programs .pod-links path { fill: none; stroke: var(--mint); stroke-width: 2.5; stroke-dasharray: 6 8; opacity: .8; vector-effect: non-scaling-stroke; }
.s-programs .pod-links path.tbd { stroke: rgba(242,237,226,.5); }
.s-programs .spine-bar { display: flex; align-items: center; gap: 26px; background: rgba(8,12,13,.92); border: 2px solid var(--mint);
  box-shadow: 0 0 40px rgba(95,240,207,.25); padding: 12px 30px; }
.s-programs .spine-bar b { font-family: var(--display); font-weight: 400; font-size: 64px; line-height: 1; color: var(--mint); padding-top: 6px; }
.s-programs .spine-bar span { font-size: 26px; color: var(--paper); }
.s-programs .spine-down { align-self: center; width: 3px; height: 34px; background: var(--mint); }
.s-programs .planet-model { align-self: center; text-align: center; background: var(--mint); color: var(--ink); padding: 14px 40px 16px; border-radius: 4px; }
.s-programs .planet-model span { display: block; font-family: var(--display); font-size: 46px; line-height: 1; text-transform: uppercase; padding-top: 4px; }
.s-programs .planet-model em { display: block; font-style: normal; font-size: 20px; margin-top: 4px; }

/* ==========================================================
   SLIDE 11 · UAC: THE TEST, with field photos (from UAC-Imgs)
   ========================================================== */
.s-uac .field-bg { position: absolute; right: 0; top: 0; bottom: 0; width: 900px; background-size: cover; background-position: center 40%;
  opacity: .22; filter: grayscale(.3);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 55%);
          mask-image: linear-gradient(to right, transparent 0, #000 55%); }
.s-uac .field-row { position: absolute; left: 150px; top: 586px; width: 1080px; height: 270px; z-index: 4; display: flex; gap: 14px; align-items: flex-start; }
.s-uac .fp { position: relative; margin: 0; flex: 1; background: #f4f0e6; padding: 8px 8px 44px; box-shadow: 0 16px 34px rgba(0,0,0,.6); transform: rotate(var(--r)); }
.s-uac .fp img { display: block; width: 100%; height: 180px; object-fit: cover; }
.s-uac .fp figcaption { position: absolute; left: 8px; right: 8px; bottom: 7px; font-family: var(--type); font-size: 13px; line-height: 1.2; color: #333; text-align: center; }
.s-uac .fp .tape { position: absolute; top: -10px; left: 50%; width: 70px; height: 22px; margin-left: -35px; background: rgba(236,226,196,.62); transform: rotate(calc(var(--r) * -1.5)); }


/* photo credit line (slides using UAC photos); sits just above the 200px bottom space */
.photo-credit { position: absolute; right: 150px; top: 850px; z-index: 6; margin: 0;
  font-family: var(--type); font-size: 16px; letter-spacing: .1em; text-transform: uppercase; color: rgba(242,237,226,.7);
  text-shadow: 0 1px 4px rgba(0,0,0,.8); }

/* slide 12 (Why the UAC experiment matters): point 02 is about H2, so it carries the H2 orange */
.s-key .why b.h2-num { -webkit-text-stroke-color: var(--h2); }
.s-key .why .h2-txt { color: var(--h2); }
/* slide 12: H1 → H2 chips sized to fit "Multimodal Training Dataset" */
.s-key .chips .ct { font-size: 27px; }

/* ==========================================================
   SLIDE 13 · THE NETWORK: one key → a networked Earth
   data-now   = the current beat (drives the camera moves)
   data-stage = every beat reached so far (keeps lit nodes lit)
   Beats: intro → us (auto) → world → hazards → earth (→ / click)
   ========================================================== */
.s-net { --ease: cubic-bezier(.65,0,.2,1); --zoom: 1.6s; }
.s-net .space { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 55%, #0f191b 0%, #050708 75%); }
.s-net .cam { position: absolute; inset: 0; transition: transform var(--zoom) var(--ease); }
.s-net .sc { position: absolute; transition: transform var(--zoom) var(--ease), opacity 1.1s ease; }
.s-net .net-head { z-index: 6; pointer-events: none; }
.s-net .kicker { margin-bottom: 6px; }
.reveal .s-net .net-title { font-size: 64px; }
.s-net .net-caps { position: relative; height: 40px; margin-top: 10px; }
.s-net .cap { position: absolute; left: 0; top: 0; margin: 0; font-family: var(--type); font-size: 24px; letter-spacing: .08em; text-transform: uppercase; color: var(--paper);
  opacity: 0; transform: translateY(8px); transition: opacity .6s, transform .6s; white-space: nowrap; display: flex; align-items: center; gap: 14px; }
.s-net[data-now="intro"] .c-us, .s-net[data-now="us"] .c-us, .s-net[data-now="world"] .c-world,
.s-net[data-now="hazards"] .c-haz, .s-net[data-now="earth"] .c-earth { opacity: 1; transform: none; transition-delay: .5s; }
.s-net .cap em { font-style: normal; color: var(--mint); font-size: 18px; }
.s-net .meter { display: inline-block; width: 220px; height: 12px; border: 1px solid rgba(95,240,207,.6); position: relative; }
.s-net .meter i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: linear-gradient(90deg, #2bb896, var(--mint)); }
.s-net[data-stage~="world"] .meter i { animation: meterUp 3.2s ease-out 1.6s forwards; }
@keyframes meterUp { to { width: 100%; } }
.s-net .fpo-note { position: absolute; right: 150px; top: 850px; margin: 0; z-index: 6; font-family: var(--type); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.s-net .net-step { display: none; }


/* beat 2 · US */
.s-net .sc-us, .s-net .sc-world { left: 0; top: 0; width: 1920px; height: 1080px; }
.s-net .land { fill: rgba(95,240,207,.05); stroke: rgba(95,240,207,.35); stroke-width: 2; stroke-linejoin: round; }
.s-net .sc-world .land { stroke-width: 1.5; }
.s-net .inset rect { fill: none; stroke: rgba(242,237,226,.25); stroke-dasharray: 4 5; } .s-net .inset .ins { font-family: var(--type); font-size: 13px; letter-spacing: .14em; fill: var(--muted); }
.s-net .sc-us { transform-origin: 665px 500px; transform: translate(295px, 40px) scale(6); opacity: 1; }   /* intro: close in on the UAC logo */
.s-net[data-now="us"] .sc-us { transform: none; opacity: 1; }
.s-net[data-now="world"] .sc-us, .s-net[data-now="hazards"] .sc-us, .s-net[data-now="earth"] .sc-us { transform: translate(-163px, -38px) scale(.216); opacity: 0; }
.s-net .hub .disc { fill: #f4f0e6; } .s-net .hub .halo { fill: none; stroke: var(--h2); stroke-width: 3; transform-box: fill-box; transform-origin: center; }
.present.s-net .hub .halo { animation: ping 2.2s ease-out infinite; }

/* FPO logo nodes: grey, then into colour */
.s-net .nd circle { fill: #252b2c; stroke: #59615f; stroke-width: 2; }
.s-net .nd text { font-family: var(--display); font-size: 9px; letter-spacing: .02em; text-anchor: middle; fill: #8d978f; }
.s-net .sc-world .nd text { font-size: 11px; }
.s-net .ln { fill: none; stroke: rgba(95,240,207,.55); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 1; }
.s-net .sc-world .ln { stroke-width: 1.6; }
.s-net[data-stage~="us"] .sc-us .ln { animation: draw .7s ease forwards; animation-delay: calc(1.9s + var(--i) * .16s); }
.s-net[data-stage~="us"] .sc-us .nd circle { animation: nodeOn .5s ease forwards; animation-delay: calc(2.2s + var(--i) * .16s); }
.s-net[data-stage~="us"] .sc-us .nd text { animation: nodeTxt .5s ease forwards; animation-delay: calc(2.2s + var(--i) * .16s); }
@keyframes nodeOn { to { fill: var(--c); stroke: #f4f0e6; } }
@keyframes nodeTxt { to { fill: #0b0f10; } }

/* beat 3 · world */
.s-net .sc-world { transform-origin: 502px 462px; transform: translate(163px, 38px) scale(4.634); opacity: 0; }
.s-net[data-now="world"] .sc-world, .s-net[data-now="hazards"] .sc-world { transform: none; opacity: 1; }
.s-net[data-now="earth"] .sc-world { transform-origin: 960px 560px; transform: scale(.35); opacity: 0; }
.s-net .hubw circle { fill: var(--mint); stroke: #f4f0e6; stroke-width: 2; } .s-net .hubw text { font-family: var(--display); font-size: 14px; text-anchor: middle; fill: var(--ink); }
.s-net[data-stage~="world"] .sc-world .ln { animation: draw .8s ease forwards; animation-delay: calc(1.5s + var(--i) * .22s); }
.s-net[data-stage~="world"] .sc-world .nd circle { animation: nodeOn .5s ease forwards; animation-delay: calc(1.9s + var(--i) * .22s); }
.s-net[data-stage~="world"] .sc-world .nd text { animation: nodeTxt .5s ease forwards; animation-delay: calc(1.9s + var(--i) * .22s); }

/* beat 4 · lateral pan to other hazards */
.s-net .sc-haz { left: 0; top: 0; width: 3200px; height: 1080px; opacity: 0; }
.s-net[data-now="hazards"] .cam { transform: translateX(-1150px); }
.s-net[data-now="hazards"] .sc-haz { opacity: 1; }
.s-net[data-now="earth"] .sc-haz { transform-origin: 2110px 560px; transform: scale(.35); opacity: 0; }
.s-net .spine { fill: var(--mint); }
.s-net .hn .hb { fill: #1c2122; stroke: #4a5250; stroke-width: 3; }
.s-net .hn .ic * { fill: none; stroke: #5c6462; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.s-net .hn .hl { font-family: var(--display); font-size: 30px; letter-spacing: .03em; text-transform: uppercase; text-anchor: middle; fill: #6b7270; }
.s-net[data-stage~="hazards"] .sc-haz .ln { animation: draw .7s ease forwards; animation-delay: calc(1.5s + var(--i) * .2s); }
.s-net[data-stage~="hazards"] .hn .hb { animation: hzOn .5s ease forwards; animation-delay: calc(1.8s + var(--i) * .2s); }
.s-net[data-stage~="hazards"] .hn .ic * { animation: hzIc .5s ease forwards; animation-delay: calc(1.8s + var(--i) * .2s); }
.s-net[data-stage~="hazards"] .hn .hl { animation: hzTx .5s ease forwards; animation-delay: calc(1.8s + var(--i) * .2s); }
@keyframes hzOn { to { stroke: var(--c); fill: color-mix(in srgb, var(--c) 16%, #0b0f10); } }
@keyframes hzIc { to { stroke: var(--c); } }
@keyframes hzTx { to { fill: var(--paper); } }

/* beat 5 · the networked Earth */
.s-net .sc-earth { position: absolute; inset: 0; z-index: 4; opacity: 0; transform: scale(1.7); transform-origin: 960px 575px; transition: transform var(--zoom) var(--ease), opacity 1.2s ease .3s; pointer-events: none; }
.s-net[data-now="earth"] .sc-earth { opacity: 1; transform: none; }
.s-net .earth { position: absolute; left: 571px; top: 344px; width: 812px; height: 541px;
  -webkit-mask-image: radial-gradient(circle at 388px 231px, #000 205px, transparent 300px); mask-image: radial-gradient(circle at 388px 231px, #000 205px, transparent 300px); }
.s-net .earth img { width: 100%; height: 100%; display: block; }
.s-net .net { position: absolute; inset: 0; width: 1920px; height: 1080px; }
.s-net .ch { fill: none; stroke: rgba(95,240,207,.32); stroke-width: 1.5; opacity: 0; }
.s-net .sp { stroke: rgba(242,237,226,.25); stroke-width: 1.2; stroke-dasharray: 3 5; opacity: 0; }
.s-net .en circle { fill: var(--c); stroke: #f4f0e6; stroke-width: 2; }
.s-net .en { opacity: 0; }
.s-net[data-stage~="earth"] .en { animation: fadein .4s ease forwards; animation-delay: calc(1.2s + var(--i) * .07s); }
.s-net[data-stage~="earth"] .ch, .s-net[data-stage~="earth"] .sp { animation: fadein .8s ease forwards; animation-delay: calc(1.6s + var(--i) * .05s); }

/* exports / ?still: show the finished network */
.print-pdf .s-net .sc, .print-pdf .s-net .cam, .print-pdf .s-net .sc-earth { transition: none !important; }
/* slide 12: keep the title on one line (it runs above the key graphic, which starts lower) */
.reveal .s-key .key-title { white-space: nowrap; }
.s-net[data-stage~="us"] .sc-us .ln, .s-net[data-stage~="us"] .sc-us .nd circle, .s-net[data-stage~="us"] .sc-us .nd text { animation-duration: .45s; }

/* slide 13: from beat 4 (hazards) the network hands over to H2. Every teal accent fades to the H2 orange */
.s-net .land, .s-net .ln, .s-net .spine, .s-net .hubw circle, .s-net .ch, .s-net .net-title .mint, .s-net .kicker,
.s-net .cap em, .s-net .meter, .s-net .meter i, .s-net .hub .halo { transition: stroke 1.4s ease, fill 1.4s ease, color 1.4s ease, border-color 1.4s ease, background 1.4s ease; }
.reveal .s-net[data-stage~="hazards"] { --hz: var(--h2); }
.s-net[data-stage~="hazards"] .land { fill: rgba(242,169,59,.05); stroke: rgba(242,169,59,.38); }
.s-net[data-stage~="hazards"] .ln { stroke: rgba(242,169,59,.6); }
.s-net[data-stage~="hazards"] .spine, .s-net[data-stage~="hazards"] .hubw circle { fill: var(--h2); }
.s-net[data-stage~="hazards"] .hub .halo { stroke: var(--h2); }
.s-net[data-stage~="hazards"] .ch { stroke: rgba(242,169,59,.35); }
.s-net[data-stage~="hazards"] .net-title .mint, .s-net[data-stage~="hazards"] .cap em { color: var(--h2) !important; }
.s-net[data-stage~="hazards"] .meter { border-color: rgba(242,169,59,.6); }
.s-net[data-stage~="hazards"] .meter i { background: linear-gradient(90deg, #b8741a, var(--h2)); }

/* slide 8: labels sit at the vertical centre of their own layer (measured), regular weight, 25% smaller */
.s-overlay .ov-lab { top: calc(var(--y) - 10.5px); align-items: baseline; padding-left: 11px; gap: 10px; }
.s-overlay .ov-lab b { font-family: var(--body); font-weight: 400; font-size: 17.6px; text-transform: none; letter-spacing: 0; }
.s-overlay .ov-lab span { font-size: 10.8px; }
.s-overlay .ov-lab b { color: #a7ada8; }   /* slide 8: grey labels */
/* slide 10: credit sits 30px under the left-most print, left-aligned with it */
.s-uac .field-row ~ .photo-credit { left: 142px; right: auto; top: 855px; }

/* slide 6: the ladder, from a reading to a decision */
.s-opt .frame { bottom: auto; }
.reveal .s-opt .uac-h { font-size: 96px; }
.s-opt h4 { font-family: var(--display); font-size: 40px; letter-spacing: .02em; color: var(--paper); margin: 0 0 8px; text-transform: uppercase; }
.s-opt p { font-family: var(--body); color: #cfc9bd; font-size: 22px; line-height: 1.4; margin: 0; }
.ladder { position: absolute; left: 150px; right: 150px; top: 420px; height: 520px; }
.ladder .step { position: absolute; width: 360px; left: calc(var(--i) * 400px); bottom: calc(80px + var(--i) * 100px); padding: 22px 24px 26px;
  background: rgba(15,20,22,.85); border: 1px solid rgba(95,240,207,.25); border-top: 3px solid var(--mint); }
.ladder .step .n { font-family: var(--type); color: var(--mint); font-size: 18px; letter-spacing: .2em; }
.ladder .step.s4 { border-top-color: var(--paper); }
.ladder .step.s4 .n { color: var(--paper); }
.ladder .person { position: absolute; right: -70px; bottom: 30px; width: 44px; fill: none; stroke: var(--paper); stroke-width: 3; stroke-linecap: round; }
.ladder .person circle { fill: var(--paper); }
.s-opt p.ladder-cap { position: absolute; left: 0; bottom: 0; font-family: var(--type); color: var(--mint); font-size: 28px; }

/* slide 8: thesis under the title */
.s-horizons .hz-thesis { font-family: var(--body); font-size: 28px; line-height: 1.35; color: #e2ddd2; max-width: 1500px; margin-top: 14px; }
.s-horizons .hz-thesis .amber { color: var(--h2); font-weight: 600; }
.s-horizons .hz-chart { margin-top: 8px; }

/* slide 10: the vision line under the title, caption under the pages, Sentinel-2 tile, space + logomark on the Earthkind box */
.s-h2 .h2-vision { font-size: 64px; line-height: 1.12; margin-top: 22px; max-width: 1620px; }
.s-h2 .h2-vision span { display: block; margin: 0 0 10px; vertical-align: baseline; }
.s-h2 .h2-vision b { font-weight: 600; }
.s-h2 .geo, .s-h2 .h2-side { transform: translateY(80px); }
.s-h2 .pages-cap { position: absolute; left: 150px; top: 840px; width: 520px; white-space: nowrap; font-family: var(--type); font-size: 16px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.s-h2 .sat .img { background-image: url("../Images/h1-biomes-wasatch.png"); background-size: cover; background-position: center; }
.s-h2 .demo.ek { margin-top: 50px; }
.s-h2 .ek-mark { width: 72px; height: 72px; margin-top: 18px; background: center / contain no-repeat; opacity: .95; }
.s-h2 .ek-mark:not(.has-img) { border: 1px dashed rgba(242,169,59,.5); position: relative; }
.s-h2 .ek-mark:not(.has-img)::after { content: "Images/logos/earthkind-mark.png"; position: absolute; left: 84px; top: 26px; white-space: nowrap; font-family: var(--type); font-size: 13px; color: var(--muted); }

/* slide 13: the stake, above the list */
.s-key .stake-lead { font-family: var(--type); font-size: 27px; line-height: 1.4; color: var(--paper); max-width: 1180px; margin: 18px 0 6px; }

/* How you can help: asks only, full width */
.s-next .nx-grid.asks-only { grid-template-columns: 1fr; }

/* ==========================================================
   HORIZON 3 · ANIMATED INDEX OF LIKE PLACES
   Place A's datasets draw into the index (1.2-2.8s); a look-alike
   place appears (3s), the fingerprint arc links them (3.5s), and the
   shelved rows flow across to it (4.3-5.6s).
   ========================================================== */
.s-h3 .h3v { position: absolute; inset: 0; width: 1920px; height: 1080px; z-index: 3; }
.s-h3 .h3v .cd { fill: rgba(6,9,8,.84); stroke: rgba(242,237,226,.22); stroke-width: 1.5; }
.s-h3 .h3v .cd.ix { stroke: var(--coral); stroke-width: 2; }
.s-h3 .h3v .lb { font-family: var(--type); font-size: 19px; letter-spacing: .12em; text-transform: uppercase; fill: var(--paper); }
.s-h3 .h3v .pt { font-family: var(--type); font-size: 15px; letter-spacing: .1em; text-transform: uppercase; fill: var(--muted); }
.s-h3 .h3v .pt.hd { fill: var(--coral); }
.s-h3 .h3v .nm { font-family: var(--body); font-size: 22px; fill: #f0ebe0; }
.s-h3 .h3v .fl { font-family: var(--type); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; fill: var(--muted); }
.s-h3 .h3v .fp rect { fill: var(--mint); }
.s-h3 .h3v .fp.fb rect { fill: var(--coral); }
.s-h3 .h3v .empty { fill: none; stroke: rgba(242,237,226,.3); stroke-width: 1.5; stroke-dasharray: 6 6; }
.s-h3 .h3v .few { font-family: var(--type); font-size: 16px; letter-spacing: .1em; text-transform: uppercase; fill: var(--muted); }
.s-h3 .h3v .ln { fill: none; stroke-width: 2; opacity: .75; stroke-dasharray: 1; stroke-dashoffset: 1; }
.s-h3 .h3v .arc { fill: none; stroke: var(--amber); stroke-width: 3; stroke-dasharray: 1; stroke-dashoffset: 1; }
.s-h3 .h3v .arc-lb { font-family: var(--type); font-size: 20px; letter-spacing: .12em; text-transform: uppercase; fill: var(--amber); }
.s-h3 .h3-credit { position: absolute; right: 150px; top: 425px; z-index: 4; font-family: var(--type); font-size: 15px; letter-spacing: .06em; color: var(--muted); }
.s-h3 .h3-credit a { color: var(--coral); }

.s-h3 .h3v .a-card, .s-h3 .h3v .idx, .s-h3 .h3v .rw, .s-h3 .h3v .b-card, .s-h3 .h3v .bl, .s-h3 .h3v .arc-lb, .s-h3 .h3-credit { opacity: 0; }
.present.s-h3 .h3v .a-card { animation: fadein .6s ease .5s forwards; }
.present.s-h3 .h3v .idx { animation: fadein .6s ease .9s forwards; }
.present.s-h3 .h3v .ln.in { animation: draw .7s ease calc(1.2s + var(--i) * .18s) forwards; }
.present.s-h3 .h3v .rw { animation: fadein .4s ease calc(1.5s + var(--i) * .18s) forwards; }
.present.s-h3 .h3v .b-card { animation: fadein .6s ease 3s forwards; }
.present.s-h3 .h3v .arc { animation: draw 1s ease 3.5s forwards; }
.present.s-h3 .h3v .arc-lb { animation: fadein .6s ease 4s forwards; }
.present.s-h3 .h3v .ln.out { animation: draw .7s ease calc(4.3s + var(--i) * .15s) forwards; }
.present.s-h3 .h3v .bl { animation: fadein .4s ease calc(4.7s + var(--i) * .15s) forwards; }
.present.s-h3 .h3-credit { animation: fadein .6s ease 6s forwards; }
.present.s-h3 .h3v .few { animation: fadeout .4s ease 4.6s forwards; }
.still .s-h3 .h3v *, .still .s-h3 .h3-credit { animation-delay: -60s !important; }

/* ==========================================================
   HORIZON 2 · RIGHT SIDE: PLANET + EARTHKIND PODS DROP PINS
   Mirrors the Common Crawl side. Planet (sky blue) at 2.2s,
   the Earthkind pods (green) from 3.2s.
   ========================================================== */
.s-h2 { --sky: #7cc8ff; --leaf: #9fe870; }
.s-h2 .src-logo { position: absolute; left: 1310px; width: 460px; height: 70px; box-sizing: border-box; border-radius: 6px; display: flex; align-items: center; justify-content: center; gap: 16px; opacity: 0; }
.s-h2 .pl-logo { top: 452px; background: #fff; }
.s-h2 .pl-logo img { height: 42px; }
.s-h2 .ek-logo { top: 652px; background: #1d211c; border: 1px solid rgba(222,216,184,.35); }
.s-h2 .ek-logo img { height: 46px; }
.s-h2 .ek-logo span { font-family: "Sen", var(--body); font-weight: 600; font-size: 30px; color: #ded8b8; letter-spacing: .01em; }
.s-h2 .days { position: absolute; left: 1310px; top: 532px; width: 460px; display: flex; gap: 11px; }
.s-h2 .day { position: relative; flex: 1; height: 62px; border: 2px solid var(--sky); background: url("../Images/life/land-nasa.jpg") 42% 45% / 220%; opacity: 0; }
.s-h2 .day span { position: absolute; left: 6px; bottom: 4px; font-family: var(--type); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: rgba(7,9,10,.75); padding: 1px 5px; }
.s-h2 .learn b, .s-h2 .pod b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 400; font-size: 17px; padding-top: 2px; box-sizing: border-box; color: var(--ink); }
.s-h2 .learn { white-space: nowrap; position: absolute; left: 1310px; top: 604px; width: 460px; height: 32px; box-sizing: border-box; display: flex; align-items: center; gap: 12px; padding: 0 12px 0 4px; background: rgba(124,200,255,.12); border: 1px solid rgba(124,200,255,.55); font-size: 20px; color: var(--paper); opacity: 0; }
.s-h2 .learn b { background: var(--sky); }
.s-h2 .learn em { margin-left: auto; font-style: normal; font-family: var(--type); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--sky); }
.s-h2 .src-cap { position: absolute; left: 1310px; top: 618px; font-family: var(--type); font-size: 15px; letter-spacing: .1em; text-transform: uppercase; color: var(--sky); opacity: 0; }
.s-h2 .pod { position: absolute; left: 1310px; width: 460px; height: 32px; box-sizing: border-box; display: flex; align-items: center; gap: 12px; padding: 0 12px 0 4px; background: rgba(159,232,112,.12); border: 1px solid rgba(159,232,112,.55); font-size: 20px; color: var(--paper); opacity: 0; }
.s-h2 .pod b { background: var(--leaf); }
.s-h2 .pod em { margin-left: auto; font-style: normal; font-family: var(--type); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--leaf); }
.s-h2 .sat .pin.pp { background: var(--sky); box-shadow: 0 0 0 6px rgba(124,200,255,.3); opacity: 0; }
.s-h2 .sat .pin.pe { background: var(--leaf); box-shadow: 0 0 0 6px rgba(159,232,112,.3); opacity: 0; }
.s-h2 .links path.pl { stroke: var(--sky); }
.s-h2 .links path.ekl { stroke: var(--leaf); }

.present.s-h2 .pl-logo { animation: fadein .5s ease 2.2s forwards; }
.present.s-h2 .day { animation: fadein .4s ease calc(2.4s + var(--i) * .2s) forwards; }
.present.s-h2 .learn { animation: fadein .5s ease 2.9s forwards; }
.present.s-h2 .links path.pl { animation: fadein .6s ease 2.9s forwards, march 1.4s linear infinite; }
.present.s-h2 .sat .pin.pp { animation: fadein .4s ease 3.1s forwards; }
.present.s-h2 .ek-logo { animation: fadein .5s ease 3.4s forwards; }
.present.s-h2 .pod { animation: fadein .4s ease calc(3.6s + var(--i) * .2s) forwards; }
.present.s-h2 .links path.ekl { animation: fadein .6s ease calc(4.1s + var(--i) * .2s) forwards, march 1.4s linear infinite; }
.present.s-h2 .sat .pin.pe { animation: fadein .4s ease calc(4.3s + var(--i) * .2s) forwards; }
.still .s-h2 .src-logo, .still .s-h2 .day, .still .s-h2 .learn, .still .s-h2 .pod, .still .s-h2 .sat .pin { animation-delay: -60s !important; }

/* Comparison tables without the biome inset (H2 backups: Amazon.ia, NGI paper) */
.s-cmp.wide .frame { right: 150px; }
.s-cmp.wide .cr { grid-template-columns: 220px 1fr 1fr; gap: 28px; padding: 16px 0; }
.s-cmp.wide .cu span, .s-cmp.wide .cp span { font-size: 21px; }
.s-cmp .cmp-lead { font-size: 27px; line-height: 1.4; color: #e2ddd2; margin-top: 10px; max-width: 1560px; }
.s-cmp .cmp-lead b { font-weight: 600; }

/* Narration badge (N): shown only while recorded narration is on */
.doc-overlay .hud.narr { left: 50%; bottom: calc(6.5vh + 2vh); transform: translateX(-50%); color: var(--amber); display: none; }
body.narrating .doc-overlay .hud.narr { display: block; animation: blink 1.6s step-end infinite; }

/* H2 left side: compact page rows, GDELT card, and the Amazon.ia line under the lede */
.s-h2 .page.sm { height: 52px; padding: 11px 16px; }
.s-h2 .page.sm .chip { top: 12px; }
.s-h2 .ccf.gd { flex-direction: column; gap: 2px; }
.s-h2 .ccf { overflow: hidden; }
.s-h2 .ccf.gd b { font-family: var(--display); font-weight: 400; font-size: 44px; line-height: .9; letter-spacing: .06em; color: #24384a; }
.s-h2 .ccf.gd span { font-family: var(--type); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: #5b6670; }
.s-h2 .h2-diff { font-family: var(--type); font-size: 20px; letter-spacing: .06em; color: var(--amber); margin-top: 18px; }
/* H3: the NGI line sits above the animation, left-aligned with the text */
.s-h3 .h3-credit { left: 150px; right: 150px; top: 418px; font-size: 19px; color: #e6e1d6; }
.s-h3 .h3-credit span { color: var(--muted); }

/* ==========================================================
   SLIDE 3 · A COMMON CRAWL FOR EARTH DATA
   The citation curve draws on (0.6-2.8s) while the counter climbs to
   7,598; GPT-3's 2020 marker lands at 2.6s. A faint crawl-grid drifts behind.
   ========================================================== */
.s-cc .cc-web { position: absolute; inset: 0; z-index: 1; opacity: .5; pointer-events: none;
  background-image: radial-gradient(rgba(95,240,207,.35) 1.5px, transparent 1.6px), linear-gradient(rgba(95,240,207,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(95,240,207,.06) 1px, transparent 1px);
  background-size: 48px 48px, 48px 48px, 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at 72% 50%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse at 72% 50%, #000 0%, transparent 70%); }
.present.s-cc .cc-web { animation: ccdrift 30s linear infinite; }
@keyframes ccdrift { to { background-position: 48px 96px, 48px 96px, 48px 96px; } }
.s-cc .frame { z-index: 3; top: 140px; }
.reveal .s-cc .cc-title { font-size: 104px; line-height: .92; }
.s-cc .cc-steps { list-style: none; margin: 34px 0 0; padding: 0; }
.s-cc .cc-steps li { display: grid; grid-template-columns: 112px 1fr; align-items: baseline; padding: 14px 0; border-top: 1px solid rgba(242,237,226,.15); }
.s-cc .cc-steps b { font-family: var(--display); font-weight: 400; font-size: 40px; color: transparent; -webkit-text-stroke: 1.5px var(--mint); letter-spacing: .04em; }
.s-cc .cc-steps p { font-size: 26px; line-height: 1.3; color: var(--paper); }
.s-cc .cc-mirror { font-family: var(--type); font-size: 21px; color: var(--paper); margin-top: 22px; }
.s-cc .cc-marin { display: flex; align-items: center; gap: 18px; margin-top: 30px; padding: 14px 18px; background: rgba(6,9,8,.7); border-left: 4px solid #DFCFB8; }
.s-cc .cc-marin img { width: 64px; height: 64px; flex: none; }
.s-cc .cc-marin p { font-size: 21px; line-height: 1.35; color: #e6e1d6; }
.s-cc .cc-marin b { color: #DFCFB8; font-weight: 600; }
.s-cc .cc-chart { position: absolute; left: 935px; top: 180px; width: 780px; transform: scale(1.2); transform-origin: top left; z-index: 3; box-sizing: border-box; padding: 22px 24px 14px; background: rgba(6,9,8,.82); border: 1px solid rgba(95,240,207,.35); box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.s-cc .cc-head { display: flex; align-items: center; gap: 16px; }
.s-cc .cc-head img { height: 40px; background: #fff; padding: 6px 12px; border-radius: 4px; }
.s-cc .cc-head span { font-family: var(--type); font-size: 18px; letter-spacing: .1em; text-transform: uppercase; color: var(--paper); }
.s-cc .cc-count { display: flex; align-items: baseline; gap: 16px; margin-top: 10px; }
.s-cc .cc-count b { font-family: var(--display); font-weight: 400; font-size: 96px; line-height: 1; color: var(--mint); text-shadow: 0 0 30px rgba(95,240,207,.35); }
.s-cc .cc-count span { font-family: var(--type); font-size: 16px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.s-cc .cc-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.s-cc .gl { stroke: rgba(242,237,226,.1); stroke-width: 1; }
.s-cc .gx, .s-cc .gy { font-family: var(--type); font-size: 15px; fill: var(--muted); }
.s-cc .ar { fill: rgba(95,240,207,.12); opacity: 0; }
.s-cc .ln { fill: none; stroke: var(--mint); stroke-width: 4; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.s-cc .pt { fill: var(--mint); opacity: 0; }
.s-cc .gpt line { stroke: var(--amber); stroke-width: 1.5; stroke-dasharray: 4 5; }
.s-cc .gpt text { font-family: var(--type); font-size: 15px; letter-spacing: .04em; fill: var(--amber); }
.s-cc .gpt, .s-cc .end { opacity: 0; }
.s-cc .end { fill: none; stroke: var(--mint); stroke-width: 3; transform-box: fill-box; transform-origin: center; }
.s-cc .cc-src { font-family: var(--type); font-size: 13px; color: var(--muted); margin-top: 6px; }
.present.s-cc .ln { animation: draw 2.2s cubic-bezier(.45,0,.3,1) .6s forwards; }
.present.s-cc .ar { animation: fadein 1s ease 2.2s forwards; }
.present.s-cc .pt { animation: fadein .3s ease calc(.6s + var(--i) * .18s) forwards; }
.present.s-cc .gpt { animation: fadein .6s ease 2.6s forwards; }
.present.s-cc .end { animation: fadein .3s ease 2.8s forwards, ping 2s ease-out 2.8s infinite; }
.still .s-cc .ln, .still .s-cc .ar, .still .s-cc .pt, .still .s-cc .gpt, .still .s-cc .end { animation-delay: -60s !important; }
