:root {
  --ink: #160d24;
  --ink-soft: #4a315d;
  --cream: #fff8fb;
  --pink: #ff8ebf;
  --pink-bright: #ffbadb;
  --lilac: #b98dff;
  --cyan: #68e6ea;
  --glass: rgba(255, 247, 253, 0.18);
  --glass-strong: rgba(255, 250, 253, 0.62);
  --line: rgba(255, 255, 255, 0.36);
  --shadow: 0 30px 80px rgba(51, 17, 75, 0.2);
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  color: var(--ink);
  background: #d9b8ef;
  font-family: "Outfit", sans-serif;
  font-weight: 400;
  overflow-x: hidden;
  touch-action: pan-y;
  --hero-chrome: 0;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
main > section[id] { scroll-margin-top: 92px; }
a:focus-visible,
button:focus-visible,
input:focus-visible { outline: 2px solid #9d67d3; outline-offset: 4px; }
.skip-link { position: fixed; left: 18px; top: -80px; z-index: 100; padding: 12px 16px; background: white; border-radius: 999px; transition: top .2s ease; }
.skip-link:focus { top: 18px; }

.site-header {
  position: fixed;
  z-index: 30;
  top: 18px;
  left: 50%;
  width: min(1160px, calc(100% - 36px));
  min-height: 64px;
  padding: 8px 10px 8px 16px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 26px;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 22px;
  background: rgba(255, 247, 253, .42);
  box-shadow: 0 14px 50px rgba(58, 27, 77, .13), inset 0 1px 0 rgba(255,255,255,.58);
  backdrop-filter: blur(22px) saturate(1.2);
  transform: translateX(-50%);
  transition: background .3s ease, box-shadow .3s ease, top .3s ease;
}
.site-header.scrolled { top: 10px; background: rgba(255, 247, 253, .68); box-shadow: 0 18px 50px rgba(58, 27, 77, .17); }
.brand { display: inline-flex; align-items: center; gap: 10px; width: fit-content; min-height: 44px; font-family: "Cormorant Garamond", serif; font-weight: 600; font-size: 24px; letter-spacing: -.02em; }
.brand img { width: 38px; height: 38px; border-radius: 50%; box-shadow: 0 8px 20px rgba(43, 20, 60, .2); }
.site-header nav { display: flex; align-items: center; gap: 30px; font-size: 12px; letter-spacing: .08em; }
.site-header nav a { position: relative; min-width: 44px; min-height: 44px; padding: 12px 0; display: inline-flex; align-items: center; justify-content: center; }
.site-header nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 6px; height: 1px; background: var(--ink); transition: right .25s ease; }
.site-header nav a:hover::after, .site-header nav a:focus-visible::after { right: 0; }
.site-header nav a.active::after { right: 0; }
.header-signal { justify-self: end; display: inline-flex; align-items: center; gap: 16px; min-height: 46px; padding: 0 8px 0 19px; border: 1px solid rgba(255,255,255,.5); border-radius: 15px; background: rgba(255,255,255,.5); font-size: 11px; text-transform: uppercase; letter-spacing: .13em; white-space: nowrap; }
.header-signal b { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 11px; background: var(--ink); color: white; font-size: 14px; }
.mobile-nav { display: none; }

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  padding: 150px max(5vw, 28px) 80px;
  display: grid;
  grid-template-columns: minmax(340px, .9fr) minmax(520px, 1.35fr);
  align-items: center;
  gap: 2vw;
  overflow: hidden;
  background: linear-gradient(115deg, rgba(255,236,248,.16), rgba(197,159,255,.06)), url("/assets/nebula-pastel.jpg") center/cover fixed;
}
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 22% 48%, rgba(255,255,255,.5), transparent 32%), linear-gradient(90deg, rgba(249,230,247,.74) 0%, rgba(249,230,247,.26) 42%, rgba(112,73,148,.03) 68%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none; background: linear-gradient(to bottom, transparent 78%, rgba(242,213,239,.38)); }
.hero-atmosphere { position: absolute; z-index: -1; width: 46vw; aspect-ratio: 1; left: var(--glow-x, 72%); top: var(--glow-y, 44%); border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.34), rgba(255,159,213,.16) 36%, transparent 68%); filter: blur(10px); transform: translate(-50%, -50%); transition: left .18s ease-out, top .18s ease-out; }
.hero-copy { position: relative; z-index: 8; width: 100%; min-width: 0; max-width: 610px; padding-left: clamp(0px, 3vw, 44px); }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 24px; color: #71508d; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .32em; }
.eyebrow span { width: 34px; height: 1px; background: linear-gradient(90deg, #9d67d3, #ff9fc8); }
h1 { margin: 0; font-family: "Cormorant Garamond", serif; font-size: clamp(72px, 8.3vw, 132px); font-weight: 500; line-height: .77; letter-spacing: -.065em; text-wrap: balance; }
h1 em { color: #8d4caa; font-weight: 400; }
.hero-lede { max-width: 500px; margin: 34px 0 0; color: rgba(37, 18, 50, .72); font-size: clamp(15px, 1.25vw, 18px); font-weight: 300; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 34px; }
.primary-cta { min-height: 56px; padding: 0 24px; display: inline-flex; align-items: center; gap: 34px; border: 1px solid rgba(255,255,255,.55); border-radius: 18px; background: rgba(31,14,43,.9); color: #fff; box-shadow: 0 16px 42px rgba(68,29,85,.24), inset 0 1px rgba(255,255,255,.16); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .17em; transition: transform .25s ease, box-shadow .25s ease; }
.primary-cta:hover { transform: translateY(-3px); box-shadow: 0 22px 48px rgba(68,29,85,.3), inset 0 1px rgba(255,255,255,.16); }
.text-cta { padding: 14px 0; display: inline-flex; gap: 12px; border-bottom: 1px solid rgba(52,23,68,.28); font-family: "Cormorant Garamond", serif; font-size: 17px; font-style: italic; white-space: nowrap; }
.hero-facts { display: flex; gap: 8px; margin: 38px 0 0; }
.hero-facts div { min-width: 104px; padding: 11px 14px; border: 1px solid rgba(255,255,255,.42); border-radius: 14px; background: rgba(255,255,255,.2); backdrop-filter: blur(12px); }
.hero-facts dt { color: rgba(44,22,60,.55); font-size: 8px; text-transform: uppercase; letter-spacing: .18em; }
.hero-facts dd { margin: 5px 0 0; font-family: "Cormorant Garamond", serif; font-size: 20px; }

.hero-system { position: relative; z-index: 6; width: 100%; height: min(76vh, 760px); min-height: 560px; display: grid; place-items: center; perspective: 1200px; }
.crt-wrap { position: relative; z-index: 5; width: min(47vw, 560px); transform: translate3d(var(--mx, 0), var(--my, 0), 0) rotate(-1.8deg); filter: drop-shadow(0 48px 42px rgba(69, 27, 87, .28)); transition: transform .18s ease-out; }
.crt { width: 100%; }
.crt-status { position: absolute; left: 50%; bottom: 2%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.34); border-radius: 999px; background: rgba(23,11,33,.7); color: rgba(255,255,255,.88); backdrop-filter: blur(12px); font-size: 8px; text-transform: uppercase; letter-spacing: .17em; white-space: nowrap; }
.crt-status span { width: 6px; height: 6px; border-radius: 50%; background: #74f5e9; box-shadow: 0 0 14px #74f5e9; }
.orbit { position: absolute; left: 50%; top: 50%; border: 1px solid rgba(98,65,127,.28); border-radius: 50%; transform: translate(-50%, -50%) rotate(-12deg); }
.orbit::before { content: ""; position: absolute; width: 8px; height: 8px; right: 12%; top: 12%; border-radius: 50%; background: #fff; box-shadow: 0 0 24px 8px rgba(255,255,255,.6); }
.orbit-one { width: 72%; aspect-ratio: 1.55; }
.orbit-two { width: 94%; aspect-ratio: 1.55; opacity: .75; }
.orbit-three { width: 116%; aspect-ratio: 1.55; opacity: .46; }
.scan-ring { position: absolute; left: 50%; top: 74%; width: 58%; aspect-ratio: 3.4; border: 1px solid rgba(95,231,238,.7); border-radius: 50%; transform: translate(-50%, -50%); box-shadow: 0 0 28px rgba(95,231,238,.25), inset 0 0 20px rgba(95,231,238,.15); animation: scan 3.5s ease-in-out infinite; }
.puffie { position: absolute; z-index: 7; object-fit: contain; filter: drop-shadow(0 22px 22px rgba(63,27,81,.2)); transform: translate3d(var(--mx, 0), var(--my, 0), 0); transition: transform .2s ease-out; animation: drift 5s ease-in-out infinite; }
.puffie-bloom { width: clamp(125px, 14vw, 210px); left: 0; top: 2%; animation-delay: -.8s; }
.puffie-sprout { width: clamp(130px, 14vw, 220px); right: 0; top: 9%; animation-delay: -2s; }
.puffie-rose { width: clamp(120px, 13vw, 205px); left: 2%; bottom: -1%; animation-delay: -3.2s; }
.puffie-witch { width: clamp(120px, 13vw, 205px); right: 2%; bottom: -3%; animation-delay: -1.5s; }
.scroll-cue { position: absolute; z-index: 8; left: 50%; bottom: 24px; display: flex; align-items: center; gap: 10px; margin: 0; color: rgba(46,25,59,.58); font-size: 8px; text-transform: uppercase; letter-spacing: .24em; transform: translateX(-50%); }
.scroll-cue span { width: 24px; height: 1px; background: currentColor; }
.scroll-progress { position: fixed; z-index: 45; right: 0; top: 0; width: 2px; height: 100%; background: rgba(255,255,255,.2); }
.scroll-progress span { display: block; width: 100%; height: var(--progress, 0%); background: linear-gradient(#ffafd3, #6fe9eb); box-shadow: 0 0 16px #fff; }
.section-shell { position: relative; isolation: isolate; padding: 130px max(6vw, 28px); overflow: hidden; }
.section-shell h2 { margin: 0; font-family: "Cormorant Garamond", serif; font-size: clamp(64px, 7vw, 112px); font-weight: 500; line-height: .88; letter-spacing: -.055em; text-wrap: balance; }
.section-shell h2 em { color: #ca87ea; font-weight: 400; }
.eyebrow.light { color: #c9a8e8; }
.eyebrow.light span { background: linear-gradient(90deg, #dd9cff, #71e8e8); }
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .85s cubic-bezier(.2,.65,.25,1), transform .85s cubic-bezier(.2,.65,.25,1); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

.story-section {
  min-height: 1650px;
  color: #fff7ff;
  background: #12091d;
}
.story-section::before {
  content: "";
  position: absolute;
  inset: calc(0px - var(--story-overlap, 0px)) 0 0;
  z-index: -2;
  background: linear-gradient(rgba(18,9,29,.96), rgba(18,9,29,.94)), url("/assets/nebula-pastel-2x.webp") center/cover fixed;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 var(--story-overlap, 0px), #000 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 var(--story-overlap, 0px), #000 100%);
}
.story-section::after { content: ""; position: absolute; z-index: -1; left: 50%; top: 31%; width: min(78vw, 1000px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(193,126,239,.18), rgba(91,223,228,.07) 32%, transparent 67%); transform: translate(-50%, -50%); }
.section-intro { position: relative; z-index: 3; max-width: 1040px; margin: 0 auto; text-align: center; }
.section-intro .eyebrow { justify-content: center; }
.section-intro > p:last-child { max-width: 680px; margin: 32px auto 0; color: rgba(255,247,255,.62); font-size: 17px; font-weight: 300; line-height: 1.85; }
.story-orbit { position: relative; width: min(1120px, 94vw); min-height: 850px; margin: 90px auto 0; }
.story-orbit::before, .story-orbit::after { content: ""; position: absolute; left: 50%; top: 50%; border: 1px solid rgba(218,171,242,.16); border-radius: 50%; transform: translate(-50%, -50%) rotate(-8deg); }
.story-orbit::before { width: 72%; aspect-ratio: 1.65; }
.story-orbit::after { width: 106%; aspect-ratio: 1.8; }
.story-core { position: absolute; z-index: 2; left: 50%; top: 50%; width: 230px; aspect-ratio: 1; padding: 30px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; background: radial-gradient(circle at 50% 35%, rgba(223,172,255,.22), rgba(9,5,16,.8) 70%); box-shadow: 0 0 90px rgba(180,109,233,.13), inset 0 0 42px rgba(255,255,255,.04); transform: translate(-50%, -50%); text-align: center; }
.story-core span { color: #c9a8e8; font-size: 9px; letter-spacing: .24em; }
.story-core strong { margin-top: 8px; font-family: "Cormorant Garamond", serif; font-size: 34px; font-weight: 500; }
.story-core small { margin-top: 7px; color: rgba(255,255,255,.4); font-size: 9px; text-transform: uppercase; letter-spacing: .17em; }
.artifact-card { position: absolute; z-index: 4; width: 250px; min-height: 330px; padding: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,.14); border-radius: 28px; background: linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.035)); box-shadow: 0 32px 80px rgba(0,0,0,.28), inset 0 1px rgba(255,255,255,.16); backdrop-filter: blur(18px); }
.artifact-card::before { content: ""; position: absolute; inset: 38% -30% -30%; z-index: -1; background: radial-gradient(circle, rgba(209,132,251,.26), transparent 62%); }
.artifact-card > span { display: block; color: #ceb0e8; font-size: 8px; text-transform: uppercase; letter-spacing: .22em; }
.artifact-card img { width: 100%; height: 245px; object-fit: contain; filter: drop-shadow(0 24px 28px rgba(0,0,0,.22)); transition: transform .45s ease; }
.artifact-card:hover img { transform: translateY(-8px) rotate(2deg) scale(1.035); }
.artifact-card p { margin: 3px 7px 4px; color: rgba(255,255,255,.54); font-family: "Cormorant Garamond", serif; font-size: 16px; font-style: italic; line-height: 1.35; }
.artifact-bloom { left: 2%; top: 2%; transform: rotate(-4deg); }
.artifact-sprout { right: 0; top: 4%; transform: rotate(4deg); }
.artifact-rose { left: 10%; bottom: 0; transform: rotate(3deg); }
.artifact-witch { right: 8%; bottom: -2%; transform: rotate(-3deg); }
.artifact-card.reveal.in-view { transform: translateY(0) rotate(var(--card-rotate, 0deg)); }
.artifact-bloom { --card-rotate: -4deg; }
.artifact-sprout { --card-rotate: 4deg; }
.artifact-rose { --card-rotate: 3deg; }
.artifact-witch { --card-rotate: -3deg; }
.story-whisper { margin: 90px 0 0; text-align: center; font-family: "Cormorant Garamond", serif; font-size: clamp(36px, 4vw, 64px); }
.story-whisper em { color: #d49af2; font-weight: 400; }

.world-marquee { overflow: hidden; border-block: 1px solid rgba(80,43,104,.16); background: rgba(255,247,253,.6); }
.world-marquee > div { width: max-content; padding: 21px 0; color: rgba(43,21,56,.58); font-size: 10px; text-transform: uppercase; letter-spacing: .24em; animation: marquee 22s linear infinite; }
.world-marquee span { margin-left: 10px; }

.offering-section { min-height: 1250px; background: linear-gradient(180deg, #edd2f2 0%, #f7e7f3 44%, #d9c0ef 100%); }
.offering-section::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .46; background: linear-gradient(rgba(247,231,243,.22), rgba(223,192,240,.5)), url("/assets/nebula-pastel.jpg") center/cover fixed; mix-blend-mode: soft-light; }
.offering-head { width: min(1100px, 100%); margin: 0 auto; display: grid; grid-template-columns: 1.45fr .55fr; align-items: end; gap: 8vw; }
.offering-head h2 { font-size: clamp(62px, 7vw, 110px); }
.offering-head > p { margin: 0 0 10px; color: rgba(46,23,60,.62); font-size: 15px; font-weight: 300; line-height: 1.75; }
.supply-stage { position: relative; width: min(760px, 88vw); aspect-ratio: 1.85; margin: 110px auto 86px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.56); border-radius: 50%; background: radial-gradient(ellipse, rgba(255,255,255,.52), rgba(250,218,242,.11) 58%, transparent 72%); box-shadow: inset 0 0 70px rgba(255,255,255,.28), 0 40px 100px rgba(87,50,115,.12); text-align: center; }
.supply-stage::before, .supply-stage::after { content: ""; position: absolute; inset: -16%; border: 1px solid rgba(93,63,121,.2); border-radius: 50%; }
.supply-stage::after { inset: -34%; opacity: .45; }
.supply-stage p { margin: 0; color: rgba(50,25,65,.52); font-size: 9px; text-transform: uppercase; letter-spacing: .3em; }
.supply-stage strong { margin: -5px 0 -12px; font-family: "Cormorant Garamond", serif; font-size: clamp(110px, 15vw, 220px); font-weight: 500; letter-spacing: -.065em; }
.supply-stage > span { font-family: "Cormorant Garamond", serif; font-size: 18px; font-style: italic; }
.supply-halo { position: absolute; inset: 10%; border-radius: 50%; background: radial-gradient(circle, rgba(111,238,238,.18), rgba(255,144,196,.18) 40%, transparent 68%); filter: blur(28px); animation: halo 5s ease-in-out infinite; }
.offering-grid { width: min(1060px, 100%); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; border: 1px solid rgba(255,255,255,.56); border-radius: 26px; background: rgba(255,249,253,.37); box-shadow: var(--shadow), inset 0 1px rgba(255,255,255,.6); backdrop-filter: blur(24px); }
.offering-grid div { min-height: 190px; padding: 30px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid rgba(92,52,116,.12); }
.offering-grid div:last-child { border-right: 0; }
.offering-grid dt { color: rgba(47,22,61,.48); font-size: 8px; text-transform: uppercase; letter-spacing: .25em; }
.offering-grid dd { margin: 15px 0 5px; font-family: "Cormorant Garamond", serif; font-size: clamp(30px, 3vw, 42px); line-height: 1; }
.offering-grid small { color: rgba(47,22,61,.5); font-size: 9px; letter-spacing: .05em; }
.chain-card dd { display: flex; align-items: center; gap: 10px; }
.chain-card i { width: 13px; height: 13px; border: 1px solid #362145; border-radius: 50%; box-shadow: inset 0 0 0 3px rgba(54,33,69,.14); }

.signal-section { min-height: 1350px; display: grid; grid-template-columns: .72fr 1.28fr; align-items: center; gap: clamp(52px, 8vw, 130px); color: #fff7ff; background: #10081a; }
.signal-section::before { content: ""; position: absolute; inset: 0; z-index: -2; opacity: .2; background: url("/assets/nebula-pastel.jpg") center/cover fixed; filter: saturate(.75); }
.signal-section::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 68% 45%, rgba(71,229,230,.15), transparent 28%), linear-gradient(90deg, #10081a 8%, rgba(16,8,26,.92) 46%, rgba(16,8,26,.74)); }
.signal-copy { max-width: 550px; }
.signal-copy > p:not(.eyebrow) { margin: 30px 0 0; color: rgba(255,247,255,.56); font-size: 15px; line-height: 1.8; }
.signal-steps { margin: 45px 0 0; padding: 0; display: grid; list-style: none; }
.signal-steps li { min-height: 94px; display: grid; grid-template-columns: 38px 1fr; align-items: center; gap: 20px; border-top: 1px solid rgba(255,255,255,.1); }
.signal-steps li:last-child { border-bottom: 1px solid rgba(255,255,255,.1); }
.signal-steps li > span { width: 34px; height: 34px; display: grid; place-items: center; justify-self: start; border: 1px solid rgba(255,255,255,.68); border-radius: 11px; background: linear-gradient(145deg, rgba(255,255,255,.09), rgba(196,155,229,.03)); box-shadow: inset 0 1px rgba(255,255,255,.12), 0 8px 22px rgba(0,0,0,.16); color: #f3dcff; font-size: 11px; font-weight: 600; line-height: 1; letter-spacing: .08em; }
.signal-steps strong, .signal-steps small { display: block; }
.signal-steps strong { font-family: "Cormorant Garamond", serif; font-size: 21px; font-weight: 500; }
.signal-steps small { margin-top: 4px; color: rgba(255,255,255,.38); font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.terminal-shell { position: relative; width: min(680px, 100%); margin: auto; padding: 16px; border: 1px solid rgba(255,255,255,.26); border-radius: 34px; background: linear-gradient(145deg, #ddc9b2, #aa8f79); box-shadow: 0 48px 100px rgba(0,0,0,.4), inset 0 2px rgba(255,255,255,.42), inset 0 -8px 22px rgba(62,34,28,.23); transform: perspective(1100px) rotateY(-4deg) rotateX(2deg); }
.terminal-shell::before { content: ""; position: absolute; inset: -25%; z-index: -1; background: radial-gradient(circle, rgba(77,237,235,.16), transparent 56%); filter: blur(16px); }
.terminal-bar { min-height: 52px; padding: 0 14px; display: flex; align-items: center; gap: 10px; color: rgba(29,22,24,.65); font-family: monospace; font-size: 11px; }
.terminal-bar span { width: 8px; height: 8px; border-radius: 50%; background: #69ff75; box-shadow: 0 0 12px rgba(105,255,117,.8); }
.terminal-bar b { font-weight: 600; letter-spacing: .12em; }
.terminal-bar small { margin-left: auto; }
.terminal-body { min-height: 690px; padding: clamp(24px, 4vw, 48px); overflow: hidden; border: 5px solid rgba(39,24,28,.76); border-radius: 21px; background: radial-gradient(circle at 50% 0, rgba(31,120,127,.26), transparent 45%), repeating-linear-gradient(0deg, rgba(255,255,255,.022), rgba(255,255,255,.022) 1px, transparent 1px, transparent 4px), #052e36; box-shadow: inset 0 0 60px rgba(0,0,0,.55), 0 2px rgba(255,255,255,.32); color: #83f2ef; font-family: "Courier New", monospace; text-shadow: 0 0 9px rgba(101,239,236,.36); }
.terminal-command { margin: 0; color: rgba(131,242,239,.62); font-size: 13px; letter-spacing: .08em; }
.terminal-status { min-height: 58px; margin: 14px 0 25px; color: #bdffcf; font-size: 14px; font-weight: 700; line-height: 1.55; }
.terminal-status span { animation: blink .85s step-end infinite; }
.terminal-checks { display: grid; gap: 8px; }
.terminal-checks label { min-height: 44px; display: flex; align-items: center; gap: 13px; cursor: pointer; font-size: 11px; letter-spacing: .04em; }
.terminal-checks input { appearance: none; width: 22px; height: 22px; margin: 0; border: 1px solid #78e6e3; background: transparent; }
.terminal-checks input:checked { background: #78e6e3; box-shadow: inset 0 0 0 5px #07363e; }
.terminal-checks u { color: #ffe09a; text-underline-offset: 4px; }
.terminal-field { margin-top: 17px; display: grid; gap: 8px; }
.terminal-field > span { color: rgba(131,242,239,.58); font-size: 10px; letter-spacing: .1em; }
.terminal-field input { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid rgba(131,242,239,.4); border-radius: 0; outline: 0; background: rgba(0,0,0,.2); color: #c6fffd; font-family: inherit; font-size: 13px; }
.terminal-field input:focus { border-color: #83f2ef; box-shadow: 0 0 0 2px rgba(131,242,239,.13); }
.terminal-field input:focus-visible { outline-color: #83f2ef; outline-offset: 2px; }
.terminal-button { width: 100%; min-height: 52px; margin-top: 25px; border: 1px solid #83f2ef; background: rgba(131,242,239,.09); color: #a8fffc; font-family: inherit; font-size: 12px; font-weight: 700; letter-spacing: .08em; cursor: pointer; transition: background .2s ease, color .2s ease; }
.terminal-button:hover, .terminal-button:focus-visible { background: #83f2ef; color: #062e35; }
.terminal-note { display: block; margin-top: 13px; color: rgba(131,242,239,.43); font-size: 9px; text-align: center; }

.winners-section { min-height: 1100px; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 5vw; background: linear-gradient(145deg, rgba(248,232,244,.74), rgba(212,186,236,.56)), url("/assets/nebula-pastel.jpg") center/cover fixed; }
.winners-copy { max-width: 660px; }
.winners-copy > p:not(.eyebrow) { max-width: 520px; margin: 30px 0 34px; color: rgba(47,23,61,.63); font-size: 16px; line-height: 1.8; }
.winner-system { position: relative; min-height: 680px; display: grid; place-items: center; }
.winner-rings { position: absolute; width: 90%; aspect-ratio: 1; border: 1px solid rgba(75,45,98,.24); border-radius: 50%; }
.winner-rings::before, .winner-rings::after { content: ""; position: absolute; inset: 13%; border: inherit; border-radius: inherit; }
.winner-rings::after { inset: 28%; }
.winner-crt { position: relative; z-index: 3; width: min(520px, 72%); filter: drop-shadow(0 45px 40px rgba(79,38,97,.25)); animation: drift 6s ease-in-out infinite; }
.winner-puff { position: absolute; z-index: 4; width: min(180px, 25%); filter: drop-shadow(0 22px 24px rgba(66,29,83,.23)); }
.winner-puff-one { left: 0; top: 6%; transform: rotate(-8deg); }
.winner-puff-two { right: 0; bottom: 5%; transform: rotate(8deg); }
.winner-empty { position: absolute; z-index: 5; left: 50%; bottom: 7%; transform: translateX(-50%); min-height: 40px; padding: 0 16px; display: flex; align-items: center; gap: 9px; border: 1px solid rgba(255,255,255,.54); border-radius: 999px; background: rgba(255,250,253,.5); box-shadow: 0 12px 32px rgba(67,31,84,.12); backdrop-filter: blur(16px); color: rgba(46,23,59,.65); font-size: 9px; text-transform: uppercase; letter-spacing: .13em; white-space: nowrap; }
.winner-empty span { width: 7px; height: 7px; border-radius: 50%; background: #ff87bd; box-shadow: 0 0 12px #ff87bd; animation: blink 1.2s ease infinite; }

footer { min-height: 250px; padding: 54px max(6vw, 28px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; border-top: 1px solid rgba(255,255,255,.2); background: #10081a; color: rgba(255,255,255,.65); }
.footer-brand { color: white; }
footer p { justify-self: center; margin: 0; font-family: "Cormorant Garamond", serif; font-size: 19px; font-style: italic; }
footer > a:not(.brand) { min-height: 44px; padding: 0 8px; display: inline-flex; align-items: center; justify-self: end; font-size: 10px; letter-spacing: .12em; }
footer small { grid-column: 1 / -1; color: rgba(255,255,255,.3); font-size: 8px; text-align: center; text-transform: uppercase; letter-spacing: .22em; }
.keeper-link { color: #d4b56a; text-decoration: none; letter-spacing: .18em; }

@keyframes drift { 0%, 100% { margin-top: 0; } 50% { margin-top: -14px; } }
@keyframes scan { 0%, 100% { opacity: .45; transform: translate(-50%, -50%) scale(.92); } 50% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); } }
@keyframes blink { 0%, 48% { opacity: 1; } 49%, 100% { opacity: .2; } }
@keyframes halo { 0%, 100% { transform: scale(.88); opacity: .65; } 50% { transform: scale(1.08); opacity: 1; } }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (max-width: 960px) {
  .hero { padding-top: 126px; grid-template-columns: minmax(0, 1fr); align-content: start; }
  .hero-copy { max-width: 690px; padding-left: 0; }
  h1 { font-size: clamp(76px, 14vw, 118px); }
  .hero-system { height: 650px; min-height: 0; margin-top: -30px; }
  .crt-wrap { width: min(72vw, 540px); }
  .puffie-bloom, .puffie-rose { left: 2%; }
  .puffie-sprout, .puffie-witch { right: 2%; }
  .section-shell { padding-block: 110px; }
  .story-section { min-height: 1580px; }
  .story-orbit { min-height: 830px; }
  .artifact-card { width: 220px; min-height: 305px; }
  .artifact-card img { height: 220px; }
  .offering-head { grid-template-columns: 1fr; gap: 28px; }
  .offering-head > p { max-width: 560px; }
  .supply-stage { margin-top: 100px; }
  .offering-grid div { padding: 24px 20px; }
  .signal-section { grid-template-columns: 1fr; }
  .signal-copy { max-width: 700px; }
  .terminal-shell { transform: none; }
  .winners-section { grid-template-columns: 1fr; }
  .winner-system { min-height: 650px; }
  footer { grid-template-columns: 1fr auto; }
  footer p { display: none; }
}

@media (max-width: 760px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .mobile-nav { position: fixed; z-index: 38; left: 10px; right: 10px; bottom: 10px; min-height: 66px; padding: 5px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; border: 1px solid rgba(255,255,255,.3); border-radius: 20px; background: rgba(24,12,34,.78); box-shadow: 0 16px 50px rgba(26,10,37,.35), inset 0 1px rgba(255,255,255,.12); backdrop-filter: blur(22px) saturate(1.2); }
  .mobile-nav a { min-height: 54px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border-radius: 15px; color: rgba(255,255,255,.54); font-size: 9px; letter-spacing: .04em; }
  .mobile-nav a small { color: rgba(215,175,240,.72); font-size: 7px; letter-spacing: .15em; }
  .mobile-nav a.active { background: rgba(255,255,255,.12); color: #fff; }
  footer { padding-bottom: 106px; }
}

@media (max-width: 620px) {
  .site-header { top: 10px; width: calc(100% - 20px); min-height: 58px; padding: 6px 7px 6px 11px; border-radius: 18px; }
  .brand { font-size: 20px; }
  .brand img { width: 36px; height: 36px; }
  .header-signal { min-width: 44px; min-height: 44px; padding: 0; justify-content: center; }
  .header-signal span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .header-signal b { width: 36px; height: 36px; }
  .hero { min-height: 100svh; padding: 112px 18px 58px; background-attachment: scroll; }
  .hero::before { background: radial-gradient(circle at 28% 27%, rgba(255,255,255,.5), transparent 35%), linear-gradient(180deg, rgba(249,230,247,.72), rgba(249,230,247,.08) 70%); }
  .eyebrow { margin-bottom: 18px; }
  h1 { font-size: clamp(64px, 21vw, 90px); line-height: .8; }
  .hero-lede { margin-top: 24px; font-size: 14px; line-height: 1.65; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 10px; margin-top: 24px; }
  .primary-cta { justify-content: space-between; min-height: 54px; }
  .hero-actions .primary-cta { width: 100%; min-width: 0; gap: 16px; }
  .text-cta { width: fit-content; min-height: 44px; align-items: center; }
  .hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 22px; }
  .hero-facts div { min-width: 0; padding: 10px; }
  .hero-facts dd { font-size: 17px; }
  .hero-system { height: 430px; margin-top: -16px; }
  .crt-wrap { width: min(92vw, 390px); }
  .puffie { width: 104px; }
  .puffie-bloom { top: -1%; left: -8%; }
  .puffie-sprout { top: 2%; right: -7%; }
  .puffie-rose { left: -8%; bottom: 0; }
  .puffie-witch { right: -7%; bottom: -1%; }
  .orbit-one { width: 88%; }
  .orbit-two { width: 118%; }
  .orbit-three { width: 146%; }
  .scan-ring { top: 76%; width: 70%; }
  .scroll-cue { display: none; }
  .section-shell { padding: 90px 18px; }
  .section-shell h2 { font-size: clamp(50px, 15vw, 68px); }
  .section-intro { text-align: left; }
  .section-intro .eyebrow { justify-content: flex-start; }
  .section-intro > p:last-child { margin: 24px 0 0; font-size: 14px; }
  .story-section { min-height: 0; }
  .story-section::before, .offering-section::before, .signal-section::before, .winners-section { background-attachment: scroll; }
  .story-orbit { width: 100%; min-height: 0; margin-top: 58px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .story-orbit::before, .story-orbit::after, .story-core { display: none; }
  .artifact-card { position: relative; inset: auto; width: 100%; min-height: 258px; padding: 12px; border-radius: 20px; transform: none !important; }
  .artifact-card img { height: 185px; }
  .artifact-card p { margin-inline: 2px; font-size: 13px; }
  .story-whisper { margin-top: 66px; font-size: 38px; }
  .world-marquee > div { padding-block: 17px; font-size: 8px; }
  .offering-section { min-height: 0; }
  .offering-head { gap: 20px; }
  .offering-head h2 { font-size: clamp(52px, 16vw, 70px); }
  .offering-head > p { font-size: 14px; }
  .supply-stage { width: 96%; margin: 72px auto 56px; }
  .supply-stage::after { display: none; }
  .supply-stage strong { font-size: 27vw; }
  .supply-stage strong { margin: 6px 0 10px; line-height: .76; }
  .supply-stage > span { font-size: 13px; line-height: 1.2; }
  .offering-grid { grid-template-columns: 1fr 1fr; border-radius: 20px; }
  .offering-grid div { min-height: 150px; padding: 18px; border-bottom: 1px solid rgba(92,52,116,.12); }
  .offering-grid div:nth-child(2) { border-right: 0; }
  .offering-grid div:nth-child(n+3) { border-bottom: 0; }
  .offering-grid dd { font-size: 28px; }
  .signal-section { min-height: 0; gap: 58px; }
  .signal-copy > p:not(.eyebrow) { font-size: 14px; }
  .signal-steps { margin-top: 32px; }
  .terminal-shell { width: calc(100% + 8px); margin-left: -4px; padding: 8px; border-radius: 24px; }
  .terminal-body { min-height: 620px; padding: 22px 16px; border-width: 4px; border-radius: 17px; }
  .terminal-command, .terminal-status { font-size: 12px; }
  .terminal-checks label { font-size: 10px; }
  .winners-section { min-height: 0; gap: 36px; }
  .winners-copy > p:not(.eyebrow) { font-size: 14px; }
  .winner-system { min-height: 440px; }
  .winner-crt { width: 78%; }
  .winner-puff { width: 29%; }
  .winner-empty { bottom: 0; }
  footer { min-height: 300px; padding: 40px 20px 106px; grid-template-columns: 1fr; justify-items: center; text-align: center; }
  footer > a:not(.brand) { justify-self: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-atmosphere, [data-depth] { transform: none !important; }
}

/* Cinematic Puffieverse OS introduction */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.os-intro {
  --machine-scale: 1;
  --machine-y: 0px;
  --machine-rotate: -1.2deg;
  --orbit-scale: .88;
  --orbit-opacity: .34;
  --orbit-three-opacity: .18;
  --scan-energy: 0;
  --screen-glow: 9px;
  --boot-shift: 0px;
  --line-scan: 0;
  --scan-y: 8px;
  --line-cosmos: 0;
  --cosmos-y: 8px;
  --bar-opacity: 0;
  --bar-fill: 0%;
  --access-opacity: 0;
  --payoff-y: 22px;
  --intro-exit: 0;
  position: relative;
  z-index: 1;
  height: 540svh;
  background: #e7c8ef;
}

.os-sticky {
  position: sticky;
  top: 0;
  isolation: isolate;
  height: 100svh;
  min-height: 640px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at var(--light-x, 58%) var(--light-y, 42%), rgba(255,255,255,.48), transparent 28%),
    linear-gradient(180deg, rgba(252,232,247,.14), rgba(125,77,158,.08)),
    url("/assets/nebula-pastel.jpg") center/cover;
}

.os-sticky::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -4;
  background:
    radial-gradient(circle at 50% 50%, transparent 36%, rgba(85,45,112,.14) 100%),
    linear-gradient(90deg, rgba(249,226,244,.18), transparent 35%, transparent 65%, rgba(216,176,238,.15));
}

.os-sticky::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255,255,255,.08), transparent 18%, transparent 78%, rgba(84,42,108,.16));
  opacity: calc(.7 - var(--intro-exit));
}

.nebula-depth,
.os-local-light {
  position: absolute;
  pointer-events: none;
}

.nebula-depth { inset: -8%; z-index: -3; }
.nebula-back {
  opacity: .48;
  background:
    radial-gradient(circle at 23% 24%, rgba(255,255,255,.72) 0 1px, transparent 2px),
    radial-gradient(circle at 78% 28%, rgba(255,255,255,.65) 0 1px, transparent 2px),
    radial-gradient(circle at 68% 75%, rgba(255,255,255,.5) 0 1px, transparent 2px);
  background-size: 92px 92px, 137px 137px, 173px 173px;
  transform: translate3d(var(--nebula-back-x, 0), var(--nebula-back-y, 0), 0) scale(1.06);
}
.nebula-front {
  z-index: 16;
  top: 68%;
  opacity: .74;
  background:
    radial-gradient(ellipse at 12% 100%, rgba(255,246,252,.9), transparent 35%),
    radial-gradient(ellipse at 88% 100%, rgba(224,206,251,.86), transparent 38%),
    linear-gradient(to top, rgba(227,205,245,.46), transparent 56%);
  filter: blur(8px);
  transform: translate3d(var(--nebula-front-x, 0), var(--nebula-front-y, 0), 0) scale(1.08);
}
.os-local-light {
  z-index: -1;
  left: var(--light-x, 58%);
  top: var(--light-y, 42%);
  width: min(56vw, 860px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.4), rgba(255,144,205,.15) 36%, transparent 67%);
  filter: blur(14px);
  transform: translate(-50%, -50%);
}

.os-caption {
  position: absolute;
  z-index: 13;
  top: clamp(104px, 12vh, 132px);
  left: max(4vw, 32px);
  display: grid;
  gap: 8px;
  color: rgba(49,24,64,.58);
  text-transform: uppercase;
}
.os-caption span { font-size: 8px; font-weight: 600; letter-spacing: .28em; }
.os-caption strong { font-family: "Cormorant Garamond", serif; font-size: 20px; font-style: italic; font-weight: 500; letter-spacing: 0; text-transform: none; }

.scene-rail {
  position: absolute;
  z-index: 13;
  left: max(3.5vw, 26px);
  top: 50%;
  width: 94px;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 15px;
  list-style: none;
  transform: translateY(-50%);
}
.scene-rail::before { content: ""; position: absolute; left: 12px; top: 11px; bottom: 11px; width: 1px; background: rgba(52,25,68,.16); }
.scene-rail li { position: relative; min-height: 28px; padding-left: 34px; display: flex; align-items: center; color: rgba(46,22,60,.34); font-size: 8px; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; transition: color .35s ease; }
.scene-rail li span { position: absolute; left: 0; width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid rgba(52,25,68,.17); border-radius: 50%; background: rgba(255,255,255,.2); font-size: 7px; transition: border-color .35s ease, background .35s ease, box-shadow .35s ease; }
.os-intro[data-scene="boot"] [data-step="boot"],
.os-intro[data-scene="scan"] [data-step="scan"],
.os-intro[data-scene="cosmos"] [data-step="cosmos"],
.os-intro[data-scene="access"] [data-step="access"] { color: #24102f; }
.os-intro[data-scene="boot"] [data-step="boot"] span,
.os-intro[data-scene="scan"] [data-step="scan"] span,
.os-intro[data-scene="cosmos"] [data-step="cosmos"] span,
.os-intro[data-scene="access"] [data-step="access"] span { border-color: rgba(53,238,231,.84); background: rgba(20,35,43,.86); color: #9efffb; box-shadow: 0 0 18px rgba(67,235,230,.28); }

.os-machine {
  position: relative;
  z-index: 8;
  width: min(76vw, 900px);
  height: min(88svh, 850px);
  display: grid;
  place-items: center;
  perspective: 1400px;
}
.machine-orbit,
.signal-sweep { position: absolute; left: 50%; top: 53%; border-radius: 50%; transform: translate(-50%, -50%) scale(var(--orbit-scale)); }
.machine-orbit { border: 1px solid rgba(73,45,98,.22); opacity: var(--orbit-opacity); transition: opacity .15s linear; }
.machine-orbit::before { content: ""; position: absolute; top: 8%; right: 16%; width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.9); box-shadow: 0 0 24px 8px rgba(255,255,255,.48); }
.machine-orbit-one { width: 66%; aspect-ratio: 1.48; rotate: -7deg; }
.machine-orbit-two { width: 91%; aspect-ratio: 1.62; rotate: 8deg; }
.machine-orbit-three { width: 116%; aspect-ratio: 1.76; rotate: -2deg; opacity: var(--orbit-three-opacity); }
.signal-sweep { top: 72%; width: 56%; aspect-ratio: 3.4; border: 1px solid rgba(74,235,235,.68); box-shadow: 0 0 28px rgba(74,235,235,.2), inset 0 0 22px rgba(74,235,235,.16); opacity: var(--scan-energy); }

.crt-stage {
  position: relative;
  z-index: 6;
  width: min(58vw, 650px);
  transform: translate3d(0, var(--machine-y), 0) rotate(var(--machine-rotate)) scale(var(--machine-scale));
  transform-origin: 50% 58%;
  filter: drop-shadow(0 56px 48px rgba(69,27,87,.3));
  will-change: transform;
}
.intro-crt { width: 100%; position: relative; z-index: 2; }
.os-screen {
  position: absolute;
  z-index: 3;
  left: 8.65%;
  top: 12.15%;
  width: 56.7%;
  height: 50.1%;
  overflow: hidden;
  border-radius: 9% 10% 9% 10%;
  clip-path: polygon(3% 0, 98% 6%, 95% 100%, 0 87%);
  background:
    radial-gradient(circle at 50% 10%, rgba(0,123,128,.26), transparent 58%),
    repeating-linear-gradient(0deg, rgba(155,255,250,.035), rgba(155,255,250,.035) 1px, transparent 1px, transparent 4px),
    #022f35;
  box-shadow: inset 0 0 34px rgba(0,0,0,.66), 0 0 var(--screen-glow) rgba(80,245,239,.42);
  color: #5ff8f4;
  font-family: "Courier New", monospace;
  text-shadow: 0 0 8px rgba(91,250,245,.58);
  transform: perspective(600px) rotateX(-1deg);
}
.screen-scanlines { position: absolute; inset: 0; z-index: 8; pointer-events: none; opacity: .26; background: linear-gradient(to bottom, transparent 0 48%, rgba(144,255,250,.08) 50%, transparent 52%); background-size: 100% 7px; }
.screen-line { position: absolute; left: 13%; right: 9%; margin: 0; font-size: clamp(10px, 1.25vw, 16px); font-weight: 700; line-height: 1; letter-spacing: -.045em; white-space: nowrap; }
.screen-boot { top: 17%; transform: translateY(var(--boot-shift)); }
.screen-scan { top: 38%; opacity: var(--line-scan); transform: translateY(var(--scan-y)); }
.screen-cosmos { top: 53%; opacity: var(--line-cosmos); transform: translateY(var(--cosmos-y)); }
.screen-progress { position: absolute; left: 13%; right: 11%; top: 64%; height: 13%; display: flex; align-items: center; border: 2px solid currentColor; opacity: var(--bar-opacity); }
.screen-progress::before { content: ""; position: absolute; inset: 3px; background: rgba(91,248,244,.08); }
.screen-progress span { position: relative; z-index: 2; width: var(--bar-fill); height: calc(100% - 6px); margin-left: 3px; background: linear-gradient(90deg, #38dcdd, #7bfff8); box-shadow: 0 0 13px rgba(91,248,244,.65); }
.screen-progress b { position: absolute; right: 0; top: calc(100% + 6px); font-size: clamp(6px, .58vw, 8px); font-weight: 400; letter-spacing: .04em; }
.screen-access { top: 83.5%; color: #c3ffda; font-size: clamp(8px, .94vw, 13px); opacity: var(--access-opacity); }
.screen-access span { animation: blink .86s step-end infinite; }
.machine-state { position: absolute; z-index: 9; left: 50%; bottom: 1.5%; min-height: 34px; padding: 0 13px; display: flex; align-items: center; gap: 9px; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; background: rgba(29,13,40,.72); color: rgba(255,255,255,.84); box-shadow: 0 12px 30px rgba(37,14,48,.2); backdrop-filter: blur(15px); transform: translateX(-50%); font-size: 8px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; transition: opacity .3s ease; }
.machine-state span { width: 7px; height: 7px; border-radius: 50%; background: #77f5ed; box-shadow: 0 0 14px rgba(119,245,237,.86); }

.intro-payoff {
  position: absolute;
  z-index: 14;
  right: max(4vw, 32px);
  bottom: max(6vh, 46px);
  width: min(420px, 32vw);
  opacity: var(--access-opacity);
  transform: translateY(var(--payoff-y));
  pointer-events: none;
}
.intro-payoff > p { display: flex; align-items: center; gap: 9px; margin: 0 0 14px; color: rgba(47,23,61,.6); font-size: 8px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.intro-payoff > p span { width: 7px; height: 7px; border-radius: 50%; background: #3af2df; box-shadow: 0 0 15px #3af2df; }
.intro-payoff strong { display: block; margin-bottom: 20px; font-family: "Cormorant Garamond", serif; font-size: clamp(28px, 2.5vw, 40px); font-weight: 500; line-height: .94; letter-spacing: -.04em; }
.intro-payoff strong em { color: #9456b4; font-weight: 400; }
.intro-payoff .primary-cta { pointer-events: auto; }
.os-intro[data-scene="access"] .intro-payoff { pointer-events: auto; }

.intro-scroll-cue { position: absolute; z-index: 14; left: 50%; bottom: 24px; margin: 0; display: flex; align-items: center; gap: 10px; color: rgba(47,23,61,.48); font-size: 8px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; transform: translateX(-50%); opacity: calc(1 - var(--line-cosmos)); }
.intro-scroll-cue span { width: 26px; height: 1px; overflow: hidden; background: currentColor; }
.intro-scroll-cue span::after { content: ""; display: block; width: 46%; height: 100%; background: #6eeae6; animation: cue 1.8s ease-in-out infinite; }

.puffie-ensemble { position: fixed; inset: 0; z-index: 18; pointer-events: none; overflow: hidden; }
.flight-puff { position: absolute; left: 50%; top: 50%; width: clamp(118px, 13vw, 205px); opacity: var(--puff-opacity, 0); filter: blur(var(--puff-blur, 0px)) drop-shadow(0 24px 24px rgba(65,27,82,.24)); transform: translate3d(calc(-50% + var(--puff-x, 0px)), calc(-50% + var(--puff-y, 0px)), 0) rotate(var(--puff-r, 0deg)) scale(var(--puff-scale, .8)); transform-origin: center; will-change: transform, opacity, filter; }
.flight-bloom { width: clamp(124px, 13.5vw, 214px); }
.flight-sprout { width: clamp(128px, 14vw, 220px); }
.flight-rose { width: clamp(120px, 13vw, 204px); }
.flight-witch { width: clamp(120px, 13vw, 204px); }

@keyframes cue { 0% { transform: translateX(-110%); } 55%, 100% { transform: translateX(230%); } }

@media (max-width: 960px) {
  .os-intro { height: 200svh; }
  .os-sticky { min-height: 620px; }
  .os-machine { width: min(88vw, 780px); height: min(82svh, 780px); }
  .crt-stage { width: min(76vw, 620px); }
  .scene-rail { left: 22px; }
  .intro-payoff { width: min(330px, 40vw); }
}

@media (max-width: 760px) {
  .os-caption { top: 94px; left: 18px; }
  .scene-rail { display: none; }
  .intro-payoff { right: 18px; bottom: 92px; width: min(330px, calc(100% - 36px)); text-align: right; }
  .intro-payoff > p { justify-content: flex-end; }
  .intro-payoff .primary-cta { width: 100%; justify-content: space-between; }
  .intro-scroll-cue { bottom: 92px; }
}

@media (max-width: 620px) {
  .os-intro { height: 170svh; }
  .os-sticky { min-height: 600px; }
  .os-caption strong { font-size: 17px; }
  .os-machine { width: 112vw; height: 78svh; min-height: 590px; }
  .crt-stage { width: min(109vw, 468px); }
  .machine-orbit-one { width: 76%; }
  .machine-orbit-two { width: 102%; }
  .machine-orbit-three { width: 124%; }
  .screen-line { font-size: clamp(9px, 3.2vw, 13px); }
  .screen-access { font-size: clamp(7px, 2.65vw, 11px); }
  .screen-progress { border-width: 1px; }
  .machine-state { bottom: 2%; min-height: 30px; font-size: 7px; }
  .os-intro[data-scene="access"] .machine-state { opacity: 0; }
  .intro-scroll-cue { bottom: 88px; width: 100%; justify-content: center; }
  .intro-payoff { bottom: 102px; }
  .intro-payoff strong { font-size: 32px; }
  .flight-puff { width: clamp(88px, 27vw, 112px); }
  .flight-bloom, .flight-sprout { width: clamp(92px, 29vw, 118px); }
}

@media (prefers-reduced-motion: reduce) {
  .os-intro { height: auto; min-height: 100svh; --line-scan: 1; --line-cosmos: 1; --bar-opacity: 1; --bar-fill: 100%; --access-opacity: 1; --scan-energy: 1; --boot-shift: -7px; }
  .os-sticky { position: relative; min-height: 100svh; }
  .intro-scroll-cue, .scene-rail { display: none; }
  .puffie-ensemble { position: absolute; height: 100svh; inset: 0 0 auto; }
  .flight-puff { opacity: .76; filter: drop-shadow(0 24px 24px rgba(65,27,82,.2)); }
  .flight-bloom { --puff-x: -34vw; --puff-y: -16vh; --puff-r: -7deg; --puff-scale: .8; }
  .flight-sprout { --puff-x: 34vw; --puff-y: -12vh; --puff-r: 6deg; --puff-scale: .82; }
  .flight-rose { --puff-x: -34vw; --puff-y: 28vh; --puff-r: 6deg; --puff-scale: .76; }
  .flight-witch { --puff-x: 34vw; --puff-y: 28vh; --puff-r: -6deg; --puff-scale: .78; }
}

/* Screen-first camera journey. The single CRT and its mapped screen remain one object. */
.site-header,
.mobile-nav,
.scroll-progress {
  opacity: var(--hero-chrome, 1);
  transition: background .3s ease, box-shadow .3s ease, top .3s ease;
}
.hero-immersed .site-header,
.hero-immersed .mobile-nav {
  pointer-events: none;
  visibility: hidden;
}

.os-intro {
  --screen-left: 0px;
  --screen-top: 0px;
  --screen-width: 100vw;
  --screen-height: 100svh;
  --boot-top: 50%;
  --frame-opacity: 0;
  --frame-scale: 1.08;
  --gasket-opacity: 0;
  --gasket-scale: 0;
  --world-reveal: 0;
  --frame-halo: 0;
  --access-burst: 0;
  --glass-reflection: 0;
  --glass-sweep-x: -74%;
  --beam-y: 18%;
  --beam-opacity: 0;
  --handoff: 0;
  --machine-float-y: 0px;
  --machine-float-scale: 1;
  --screen-plane: matrix3d(1,0,0,0, 0,1,0,0, 0,0,1,0, 0,0,0,1);
  --screen-radius: 0%;
  height: 240svh;
  background: #022f35;
}

.os-sticky {
  min-height: 100svh;
  background:
    radial-gradient(circle at var(--light-x, 58%) var(--light-y, 42%), rgba(255,255,255,.48), transparent 28%),
    linear-gradient(180deg, rgba(252,232,247,.14), rgba(125,77,158,.08)),
    url("/assets/nebula-pastel-2x.webp") center/cover;
}
.os-sticky::before { opacity: var(--world-reveal); }
.os-sticky::after {
  opacity: var(--world-reveal);
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,.06),
    transparent 52%,
    rgba(45,22,61,calc(.1 + var(--handoff) * .16)) 76%,
    rgba(18,9,29,calc(.74 + var(--handoff) * .22)) 100%
  );
}

.screen-immersion {
  display: none;
}

.nebula-depth,
.os-local-light { opacity: var(--world-reveal); }
.nebula-front { z-index: 12; }

.os-caption,
.scene-rail,
.intro-payoff,
.intro-scroll-cue { display: none; }

.os-machine {
  z-index: 8;
  width: 100%;
  height: 100%;
  min-height: 0;
  opacity: 1;
  perspective: none;
  transform: translate3d(0, var(--machine-float-y), 0) scale(var(--machine-float-scale));
  transform-origin: 50% 54%;
  will-change: transform;
}
.machine-orbit { opacity: var(--orbit-opacity); }
.signal-sweep { opacity: calc(var(--scan-energy) * var(--world-reveal)); }

.crt-stage {
  isolation: isolate;
  width: min(66vw, 760px);
  transform: translate3d(0, 0, 0) scale(var(--frame-scale));
  transform-origin: 50% 50%;
  filter:
    drop-shadow(0 54px 46px rgba(69,27,87,calc(.08 + var(--world-reveal) * .26)))
    drop-shadow(0 0 42px rgba(70,241,238,calc(var(--world-reveal) * .16)));
}
.crt-stage::before,
.crt-stage::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.crt-stage::before {
  z-index: -1;
  inset: 1% -8% -4%;
  border-radius: 46%;
  opacity: var(--frame-halo);
  background:
    radial-gradient(ellipse at 48% 52%, rgba(255,255,255,.42), transparent 48%),
    radial-gradient(ellipse at 30% 72%, rgba(81,241,238,.3), transparent 54%),
    radial-gradient(ellipse at 73% 70%, rgba(255,104,198,.24), transparent 51%);
  filter: blur(28px);
  transform: scale(calc(.9 + var(--frame-halo) * .16));
}
.crt-stage::after {
  z-index: 1;
  left: 16%;
  right: 6%;
  bottom: -1%;
  height: 9%;
  border-radius: 50%;
  opacity: calc(var(--frame-halo) * .72);
  background: linear-gradient(90deg, rgba(43,237,239,.52), rgba(255,87,198,.42));
  filter: blur(17px);
  transform: perspective(500px) rotateX(66deg) scaleX(1.05);
}
.intro-crt {
  display: block;
  width: 100%;
  height: auto;
  opacity: var(--frame-opacity);
  filter: saturate(calc(.94 + var(--world-reveal) * .08));
}

.screen-gasket {
  position: absolute;
  z-index: 8;
  left: var(--screen-left);
  top: var(--screen-top);
  width: var(--screen-width);
  height: var(--screen-height);
  border-radius: var(--screen-radius);
  clip-path: inset(0 round var(--screen-radius));
  opacity: var(--gasket-opacity);
  background:
    linear-gradient(145deg, rgba(255,240,218,.26), transparent 8% 88%, rgba(218,173,139,.16)),
    linear-gradient(135deg, #281c1d, #0b090b 48%, #211515);
  box-shadow:
    0 14px 34px rgba(9,7,12,.38),
    0 0 0 1px rgba(255,229,198,.22),
    0 0 12px rgba(255,231,204,.11),
    inset 0 0 0 2px rgba(0,0,0,.5),
    inset 0 0 18px rgba(0,0,0,.78);
  transform: var(--screen-plane);
  transform-origin: 0 0;
  will-change: left, top, width, height, transform, opacity;
}

.os-screen {
  position: absolute;
  z-index: 9;
  left: var(--screen-left);
  top: var(--screen-top);
  width: var(--screen-width);
  height: var(--screen-height);
  container-type: inline-size;
  overflow: hidden;
  border: 1px solid rgba(0,7,9,.86);
  border-radius: var(--screen-radius);
  clip-path: inset(0 round var(--screen-radius));
  background: transparent;
  box-shadow:
    0 0 calc(10px + var(--access-burst) * 36px) rgba(87,251,247,calc(.1 + var(--access-burst) * .26)),
    0 0 0 1px rgba(239,214,184,.1),
    inset 14px 0 22px rgba(0,3,5,.26),
    inset -10px 0 20px rgba(0,3,5,.16),
    inset 0 12px 24px rgba(0,3,5,.24),
    inset 0 -18px 28px rgba(0,2,4,.34),
    inset 0 0 0 1px rgba(180,255,251,.1);
  color: #67fffa;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, "Courier New", monospace;
  text-shadow: 0 0 5px rgba(91,250,245,.48), 0 0 18px rgba(91,250,245,.13);
  transform: var(--screen-plane);
  transform-origin: 0 0;
  backface-visibility: hidden;
  will-change: left, top, width, height, transform, border-radius;
}
.os-screen::before,
.os-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.os-screen::before {
  z-index: 1;
  opacity: 1;
  background:
    linear-gradient(112deg, rgba(182,255,251,.065), transparent 20%, transparent 72%, rgba(0,5,7,.24)),
    radial-gradient(ellipse at 50% -8%, rgba(0,151,155,.26), transparent 58%),
    radial-gradient(ellipse at 50% 48%, transparent 42%, rgba(0,4,6,.54) 100%),
    repeating-linear-gradient(0deg, rgba(155,255,250,.028), rgba(155,255,250,.028) 1px, transparent 1px, transparent 4px),
    linear-gradient(120deg, #053c42, #022b31 55%, #011d23);
  box-shadow:
    inset 0 0 36px rgba(0,0,0,.48),
    inset 0 0 110px rgba(0,5,8,.42),
    inset 0 0 2px rgba(199,255,252,.34),
    0 0 var(--screen-glow) rgba(80,245,239,.42);
}
.os-screen::after {
  z-index: 7;
  opacity: .24;
  background:
    linear-gradient(112deg, rgba(214,255,253,.12), transparent 20%, transparent 72%, rgba(0,0,0,.18)),
    radial-gradient(circle at 17% 31%, rgba(159,255,250,.32) 0 .35px, transparent .8px),
    radial-gradient(circle at 71% 67%, rgba(159,255,250,.24) 0 .35px, transparent .9px);
  background-size: 100% 100%, 11px 13px, 17px 19px;
}
.screen-scanlines {
  opacity: .2;
  background-size: 100% 5px;
}
.screen-scanlines::before,
.screen-scanlines::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.screen-scanlines::before {
  z-index: 1;
  left: -8%;
  right: -8%;
  top: var(--beam-y);
  height: clamp(18px, 7cqw, 88px);
  opacity: var(--beam-opacity);
  background: linear-gradient(180deg, transparent, rgba(117,255,250,.02) 18%, rgba(117,255,250,.28) 50%, rgba(117,255,250,.02) 82%, transparent);
  filter: blur(clamp(2px, .45cqw, 6px));
  mix-blend-mode: screen;
  transform: translateY(-50%);
}
.screen-scanlines::after {
  z-index: 2;
  inset: -24% -42%;
  opacity: calc(var(--glass-reflection) * .26);
  background: linear-gradient(108deg, transparent 42%, rgba(225,255,253,.42) 49%, rgba(255,255,255,.08) 53%, transparent 60%);
  mix-blend-mode: screen;
  transform: translateX(var(--glass-sweep-x)) rotate(-3deg);
}
.screen-line {
  font-size: clamp(9px, 5.2cqw, 58px);
  font-weight: 650;
  letter-spacing: -.035em;
  text-rendering: geometricPrecision;
}
.screen-boot {
  top: var(--boot-top);
  left: 0;
  right: 0;
  text-align: center;
  transform: translateY(-50%);
}
.screen-scan,
.screen-cosmos,
.screen-access { left: 12.5%; right: 8%; }
.screen-progress {
  left: 12.5%;
  right: 10%;
  height: clamp(12px, 7.5cqw, 82px);
  border-width: clamp(1px, .18cqw, 3px);
}
.screen-progress::before { inset: clamp(2px, .35cqw, 5px); }
.screen-progress span {
  height: calc(100% - clamp(4px, .7cqw, 10px));
  margin-left: clamp(2px, .35cqw, 5px);
}
.screen-progress b { font-size: clamp(6px, 1.15cqw, 14px); }
.screen-access { font-size: clamp(7px, 3.7cqw, 46px); }
.screen-line,
.screen-progress { z-index: 3; }
.screen-boot { opacity: 1; }
.machine-state { display: none; }

@media (max-width: 960px) {
  .os-intro { height: 200svh; }
  .os-machine { width: 100%; height: 100%; }
  .crt-stage { width: min(86vw, 690px); }
}

@media (max-width: 760px) {
  .site-header,
  .mobile-nav,
  .scroll-progress { opacity: var(--hero-chrome, 1); }
}

@media (max-width: 620px) {
  .os-intro { height: 170svh; }
  .os-sticky { min-height: 100svh; }
  .os-machine { width: 100%; height: 100%; min-height: 0; }
  .crt-stage { width: min(104vw, 470px); }
}

@media (prefers-reduced-motion: reduce) {
  body { --hero-chrome: 1; }
  .os-intro {
    --frame-opacity: 1;
    --frame-scale: 1;
    --gasket-opacity: 1;
    --gasket-scale: .035;
    --world-reveal: 1;
    --frame-halo: .64;
    --glass-reflection: 0;
    --beam-opacity: 0;
    --handoff: 1;
  }
  .screen-immersion { display: none; }
  .puffie-ensemble { display: none; }
}

/* Continuous story scenes */
.cinematic-section {
  --scene-lift: 0px;
  --supply-scale: 1;
  --supply-blur: 0px;
  --ring-turn: 0deg;
  --ring-turn-reverse: 0deg;
  --console-scale: 1;
  --console-y: 0px;
  --console-opacity: 1;
  --portal-scale: 1;
  --portal-turn: 0deg;
}

.story-section.cinematic-section {
  --story-overlap: clamp(72px, 12svh, 120px);
  --note-opacity: 0;
  --note-x: 0px;
  --note-y: 0px;
  --note-blur: 0px;
  --note-scale: 1;
  height: 140svh;
  min-height: 0;
  padding: 0;
  overflow: visible;
  background: transparent;
  box-shadow: 0 -120px 180px rgba(18,9,29,.24);
}
.story-sticky {
  position: sticky;
  top: 0;
  isolation: isolate;
  box-sizing: border-box;
  height: 100svh;
  min-height: 100svh;
  padding: clamp(104px, 12vh, 132px) max(6vw, 28px) 42px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
}
.story-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .34;
  background-image:
    linear-gradient(rgba(211,173,235,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(211,173,235,.08) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: radial-gradient(circle at 50% 50%, black, transparent 74%);
  transform: perspective(800px) rotateX(62deg) translateY(38%);
  transform-origin: 50% 100%;
}
.story-intro {
  max-width: 900px;
  transform: translateY(var(--scene-lift));
}
.story-intro.in-view { transform: translateY(var(--scene-lift)); }
.story-intro h2 { font-size: clamp(58px, 6.6vw, 104px); }
.story-intro > p:last-child { max-width: 620px; }
.story-orbit {
  align-self: center;
  width: min(1120px, 94vw);
  min-height: 40svh;
  margin: 4px auto 0;
}
.story-orbit::before { width: 62%; aspect-ratio: 1.62; }
.story-orbit::after { width: 98%; aspect-ratio: 1.82; }
.story-core {
  width: 210px;
  opacity: .9;
}
.story-core.reveal,
.story-core.reveal.in-view { transform: translate(-50%, -50%); }
.artifact-note {
  position: absolute;
  z-index: 5;
  width: min(250px, 22vw);
  min-height: 118px;
  padding: 19px 21px 18px 23px;
  overflow: visible;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 5px 24px 5px 24px;
  background:
    linear-gradient(90deg, var(--note-accent, #c894ed) 0 2px, transparent 2px),
    radial-gradient(circle at 18% 0%, var(--note-glow, rgba(200,148,237,.18)), transparent 54%),
    linear-gradient(145deg, rgba(255,255,255,.105), rgba(255,255,255,.025));
  box-shadow: 0 26px 66px rgba(0,0,0,.24), inset 0 1px rgba(255,255,255,.14), 0 0 0 1px rgba(0,0,0,.08);
  backdrop-filter: blur(20px);
  opacity: var(--note-opacity);
  filter: blur(var(--note-blur));
  transform: translate3d(var(--note-x), var(--note-y), 0) scale(var(--note-scale));
  transform-origin: center;
  transition: border-color .25s ease, box-shadow .25s ease;
  will-change: transform, opacity, filter;
}
.artifact-note.reveal,
.artifact-note.reveal.in-view { opacity: var(--note-opacity); transform: translate3d(var(--note-x), var(--note-y), 0) scale(var(--note-scale)); }
.artifact-note:nth-of-type(even) {
  padding: 19px 23px 18px 21px;
  border-radius: 24px 5px 24px 5px;
  background:
    linear-gradient(270deg, var(--note-accent, #72e5e4) 0 2px, transparent 2px),
    radial-gradient(circle at 82% 0%, var(--note-glow, rgba(114,229,228,.16)), transparent 54%),
    linear-gradient(215deg, rgba(255,255,255,.105), rgba(255,255,255,.025));
}
.artifact-note::before {
  content: "";
  position: absolute;
  left: 20px;
  top: -1px;
  width: 54px;
  height: 1px;
  background: linear-gradient(90deg, var(--note-accent, #c894ed), transparent);
  box-shadow: 0 0 16px var(--note-glow, rgba(200,148,237,.28));
}
.artifact-note:nth-of-type(even)::before { left: auto; right: 20px; transform: scaleX(-1); }
.artifact-note::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 7px;
  background:
    radial-gradient(circle at 100% 50%, var(--note-accent, #72e5e4) 0 1.5px, transparent 2px),
    linear-gradient(90deg, rgba(104,230,234,.72), transparent) 0 50% / 100% 1px no-repeat;
}
.artifact-note > span { display: inline-flex; align-items: center; min-height: 18px; padding: 0 8px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; color: #ead7f6; background: rgba(6,4,12,.2); font-size: 8px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.artifact-note strong { display: block; margin-top: 11px; font-family: "Cormorant Garamond", serif; font-size: 20px; font-weight: 500; letter-spacing: -.01em; }
.artifact-note p { margin: 6px 0 0; color: rgba(255,255,255,.48); font-size: 11px; line-height: 1.5; }
.note-bloom { --note-accent: #d497f2; --note-glow: rgba(212,151,242,.25); left: 4%; top: 2%; }
.note-bloom::after { right: -50px; top: 50%; }
.note-sprout { --note-accent: #70e5e3; --note-glow: rgba(112,229,227,.22); right: 3%; top: 5%; }
.note-sprout::after { left: -50px; top: 50%; transform: rotate(180deg); }
.note-rose { --note-accent: #ff9ec8; --note-glow: rgba(255,158,200,.22); left: 9%; bottom: 0; }
.note-rose::after { right: -50px; top: 50%; }
.note-witch { --note-accent: #cba4ff; --note-glow: rgba(203,164,255,.23); right: 8%; bottom: 2%; }
.note-witch::after { left: -50px; top: 50%; transform: rotate(180deg); }
.story-whisper {
  position: relative;
  z-index: 6;
  align-self: end;
  margin: 0;
}
.chapter-meter {
  position: absolute;
  right: max(4vw, 28px);
  bottom: 28px;
  width: 150px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 11px;
  color: rgba(255,255,255,.36);
  font-size: 7px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.chapter-meter::before { content: ""; grid-column: 1; height: 1px; background: rgba(255,255,255,.18); }
.chapter-meter span { position: absolute; left: 0; width: var(--story-meter, 0%); height: 1px; background: #71e8e8; box-shadow: 0 0 12px rgba(113,232,232,.65); }
.chapter-meter b { grid-column: 2; grid-row: 1; font-weight: 500; }

.offering-section.cinematic-section {
  --supply-scale: .82;
  --supply-blur: 14px;
  --ring-turn: -18deg;
  min-height: 0;
}
.supply-stage[data-supply-stage] {
  transform: scale(var(--supply-scale));
  filter: blur(var(--supply-blur));
  will-change: transform, filter;
}
.supply-stage[data-supply-stage].reveal.in-view { transform: scale(var(--supply-scale)); }
.supply-stage[data-supply-stage]::before { transform: rotate(var(--ring-turn)); }
.supply-stage[data-supply-stage]::after { transform: rotate(var(--ring-turn-reverse)); }
.supply-halo { transform: rotate(var(--ring-turn)); }
.supply-stage [data-supply-count] { filter: blur(var(--supply-blur)); }
.supply-orbit-labels { position: absolute; inset: -18%; border-radius: 50%; }
.supply-orbit-labels span { position: absolute; color: rgba(49,24,64,.43); font-size: 7px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.supply-orbit-labels span:nth-child(1) { left: 8%; top: 45%; }
.supply-orbit-labels span:nth-child(2) { right: 9%; top: 30%; }
.supply-orbit-labels span:nth-child(3) { left: 29%; bottom: 5%; }
.supply-orbit-labels span:nth-child(4) { right: 25%; top: 2%; }

.signal-section.cinematic-section {
  min-height: 0;
  padding: 0;
  display: block;
  overflow: visible;
}
.signal-section.cinematic-section::after {
  background:
    radial-gradient(circle at 50% 100%, transparent 0 92px, rgba(117,238,237,.3) 93px 94px, transparent 95px 164px, rgba(220,158,244,.18) 165px 166px, transparent 167px 244px, rgba(117,238,237,.1) 245px 246px, transparent 247px),
    radial-gradient(ellipse at 50% 100%, rgba(106,229,232,.16), transparent 38%),
    radial-gradient(circle at 68% 45%, rgba(71,229,230,.15), transparent 28%),
    linear-gradient(90deg, #10081a 8%, rgba(16,8,26,.92) 46%, rgba(16,8,26,.74));
}
.signal-sticky {
  position: relative;
  top: 0;
  box-sizing: border-box;
  height: auto;
  min-height: 0;
  padding: 116px max(6vw, 28px) 64px;
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  align-items: center;
  gap: clamp(52px, 8vw, 130px);
  overflow: hidden;
}
.signal-sticky .signal-copy { transform: translateY(var(--scene-lift)); }
.signal-sticky .signal-copy.in-view { transform: translateY(var(--scene-lift)); }
.signal-sticky .terminal-shell {
  opacity: var(--console-opacity);
  transform: perspective(1100px) translateY(var(--console-y)) rotateY(-4deg) rotateX(2deg) scale(var(--console-scale));
  transform-origin: 50% 55%;
  will-change: transform, opacity;
}
.terminal-shell::after {
  content: "";
  position: absolute;
  inset: 16px;
  z-index: 3;
  border-radius: 21px;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.08) 48%, transparent 58%);
  transform: translateX(var(--console-shine, -120%));
}

.winners-section.cinematic-section {
  --portal-scale: .8;
  --portal-turn: -12deg;
  min-height: 1120px;
  background:
    linear-gradient(180deg, #10081a 0, rgba(58,31,73,.94) 28px, rgba(224,202,237,.84) 96px, rgba(238,220,243,.72) 240px, rgba(219,194,237,.58) 100%),
    url("/assets/nebula-pastel.jpg") center/cover;
  box-shadow: inset 0 1px rgba(255,255,255,.24);
}
.winners-section.cinematic-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 0;
  width: min(760px, 76vw);
  aspect-ratio: 2.3;
  border-radius: 0 0 50% 50%;
  background:
    radial-gradient(ellipse at 50% 0, rgba(255,255,255,.42), transparent 18%),
    repeating-radial-gradient(ellipse at 50% 0, transparent 0 45px, rgba(99,217,224,.13) 46px 47px, transparent 48px 78px),
    radial-gradient(ellipse at 50% 0, rgba(205,144,238,.16), transparent 66%);
  filter: blur(.2px);
  pointer-events: none;
  transform: translateX(-50%);
}
.winner-portal {
  position: relative;
  min-height: 680px;
  display: grid;
  place-items: center;
  transform: scale(var(--portal-scale));
  transform-origin: center;
}
.winner-portal.reveal.in-view { transform: scale(var(--portal-scale)); }
.portal-rings {
  position: absolute;
  width: min(620px, 88%);
  aspect-ratio: 1;
  border: 1px solid rgba(74,45,97,.26);
  border-radius: 50%;
  transform: rotate(var(--portal-turn));
  box-shadow: 0 0 80px rgba(112,224,231,.12), inset 0 0 80px rgba(255,158,210,.12);
}
.portal-rings::before,
.portal-rings::after,
.portal-rings span {
  content: "";
  position: absolute;
  border: 1px solid rgba(74,45,97,.2);
  border-radius: 50%;
}
.portal-rings::before { inset: 12%; }
.portal-rings::after { inset: 28%; border-color: rgba(95,230,234,.26); }
.portal-rings span:nth-child(1) { inset: -8%; border-style: dashed; opacity: .55; }
.portal-rings span:nth-child(2) { inset: 40%; background: radial-gradient(circle, rgba(255,255,255,.52), rgba(100,231,234,.17) 25%, transparent 68%); border: 0; box-shadow: 0 0 90px rgba(255,255,255,.38); }
.portal-rings span:nth-child(3) { left: 50%; top: -4px; width: 8px; height: 8px; background: white; box-shadow: 0 0 24px 8px rgba(255,255,255,.55); }
.portal-core {
  position: relative;
  z-index: 2;
  width: min(340px, 52%);
  aspect-ratio: 1;
  padding: 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 50%;
  background: rgba(255,250,253,.34);
  box-shadow: inset 0 0 60px rgba(255,255,255,.36), 0 30px 80px rgba(75,39,97,.16);
  backdrop-filter: blur(18px);
  text-align: center;
}
.portal-core > span { color: rgba(46,23,59,.48); font-size: 8px; letter-spacing: .22em; text-transform: uppercase; }
.portal-core strong { margin-top: 14px; font-family: "Cormorant Garamond", serif; font-size: clamp(34px, 4vw, 55px); font-weight: 500; line-height: .9; }
.portal-core small { margin-top: 13px; color: rgba(46,23,59,.48); font-size: 8px; letter-spacing: .16em; text-transform: uppercase; }
.winner-portal .winner-empty { bottom: 7%; }

@media (max-width: 960px) {
  .story-section.cinematic-section { height: 140svh; min-height: 0; }
  .story-sticky { padding-inline: 32px; }
  .artifact-note { width: 220px; }
  .signal-section.cinematic-section { min-height: 0; }
  .signal-sticky { position: relative; height: auto; min-height: 0; padding-inline: 32px; grid-template-columns: 1fr; align-content: start; align-items: start; gap: 50px; }
  .signal-sticky .signal-copy { max-width: 720px; }
  .signal-sticky .terminal-shell { transform: translateY(var(--console-y)) scale(var(--console-scale)); }
  .winners-section.cinematic-section { min-height: 1060px; }
}

@media (min-width: 621px) and (max-width: 960px) {
  .story-core { width: 190px; }
  .note-rose { left: 3%; }
  .note-witch { right: 4%; }
  .offering-section.cinematic-section { padding-bottom: 100px; }
}

@media (min-width: 621px) and (max-width: 729px) {
  .story-core { display: none; }
}

@media (max-width: 620px) {
  .story-section.cinematic-section { --story-overlap: 72px; height: auto; min-height: 0; }
  .story-sticky {
    position: relative;
    height: auto;
    min-height: 0;
    padding: 92px 18px 100px;
    display: block;
  }
  .story-intro { text-align: left; }
  .story-intro h2 { font-size: clamp(50px, 15vw, 66px); }
  .story-orbit {
    min-height: 460px;
    margin-top: 56px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-content: space-between;
    gap: 10px;
  }
  .story-orbit::before,
  .story-orbit::after,
  .story-core { display: none; }
  .artifact-note {
    position: relative;
    inset: auto;
    width: 100%;
    min-height: 154px;
    padding: 16px;
  }
  .artifact-note:nth-of-type(3),
  .artifact-note:nth-of-type(4) { align-self: end; }
  .artifact-note::after { display: none; }
  .artifact-note strong { font-size: 17px; }
  .story-whisper { margin-top: 48px; font-size: 38px; text-align: left; }
  .chapter-meter { right: 18px; bottom: 28px; }

  .offering-section.cinematic-section { min-height: 0; }
  .supply-orbit-labels { inset: -24%; }
  .supply-orbit-labels span:nth-child(1) { left: 2%; }
  .supply-orbit-labels span:nth-child(2) { right: 0; }

  .signal-section.cinematic-section { min-height: 0; }
  .signal-sticky {
    position: relative;
    height: auto;
    min-height: 0;
    padding: 92px 18px;
    align-content: start;
    align-items: start;
    gap: 58px;
  }
  .signal-sticky .signal-copy,
  .signal-sticky .signal-copy.in-view { transform: none; }
  .signal-sticky .terminal-shell,
  .signal-sticky .terminal-shell.reveal.in-view { opacity: 1; transform: none; }

  .winners-section.cinematic-section { min-height: 900px; }
  .winner-portal { min-height: 470px; }
  .portal-rings { width: 112%; }
  .portal-core { width: 65%; padding: 20px; }
  .portal-core strong { font-size: 34px; }
  .winner-portal .winner-empty { bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .story-section.cinematic-section,
  .signal-section.cinematic-section { height: auto; min-height: 0; }
  .story-sticky,
  .signal-sticky { position: relative; min-height: 100svh; }
  .artifact-note,
  .artifact-note.reveal,
  .artifact-note.reveal.in-view { opacity: 1; filter: none; transform: none; }
  .supply-stage[data-supply-stage],
  .supply-stage[data-supply-stage].reveal.in-view,
  .signal-sticky .terminal-shell,
  .winner-portal,
  .winner-portal.reveal.in-view { filter: none; opacity: 1; transform: none; }
  .chapter-meter span { width: 100%; }
}

footer .footer-brand {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 0;
}
.terminal-note.live {
  color: #9efffb !important;
  opacity: 1;
}
.terminal-task {
  display: grid;
  gap: 8px;
}
.winner-lookup {
  width: 100%;
  margin-top: 16px;
  display: grid;
  gap: 10px;
}
.winner-lookup input {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(74, 45, 97, 0.28);
  border-radius: 999px;
  background: rgba(255, 250, 253, 0.72);
  color: #160d24;
  font-family: "Outfit", sans-serif;
  font-size: 13px;
}
.winner-lookup button {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  background: #1f0e2b;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.terminal-checks a { color: inherit; }

.os-intro {
  height: 100svh !important;
  min-height: 100svh !important;
  --frame-opacity: 1;
  --world-reveal: 1;
  --frame-halo: 0.55;
  --gasket-opacity: 0;
  --line-scan: 1;
  --line-cosmos: 1;
  --bar-opacity: 1;
  --bar-fill: 100%;
  --access-opacity: 1;
  --scan-energy: 0.7;
}
.os-sticky {
  position: relative !important;
  height: 100svh !important;
  min-height: 100svh !important;
}
.crt-stage {
  position: relative !important;
}
.os-screen,
.screen-gasket {
  left: 10.5% !important;
  top: 15.5% !important;
  width: 53.5% !important;
  height: 44.5% !important;
  transform: none !important;
  position: absolute !important;
}
.intro-crt {
  opacity: 1 !important;
}
.screen-boot,
.screen-scan,
.screen-cosmos,
.screen-progress,
.screen-access {
  opacity: 1 !important;
}
.os-sticky {
  position: relative !important;
  height: 100svh !important;
  min-height: 100svh !important;
}
.story-section.cinematic-section {
  height: auto !important;
  min-height: 0 !important;
}
.story-sticky {
  position: relative !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 92px max(6vw, 28px) 72px;
}
.intro-scroll-cue { display: none !important; }

@media (max-width: 1100px) {
  .hero,
  .story-section::before,
  .offering-section::before,
  .signal-section::before,
  .winners-section,
  .winners-section.cinematic-section {
    background-attachment: scroll !important;
  }
}

@media (max-width: 760px) {
  html { scroll-behavior: auto; }
  .os-intro { height: 100svh !important; }
  .story-section.cinematic-section {
    height: auto !important;
    min-height: 0 !important;
  }
  .story-section::before {
    background-image:
      linear-gradient(rgba(18, 9, 29, .96), rgba(18, 9, 29, .94)),
      url("/assets/nebula-sm.webp");
  }
  .site-header,
  .mobile-nav {
    backdrop-filter: blur(10px);
  }
  .artifact-note,
  .artifact-note.reveal,
  .artifact-note.reveal.in-view,
  .supply-stage[data-supply-stage],
  .supply-stage[data-supply-stage].reveal.in-view,
  .supply-stage [data-supply-count] {
    filter: none !important;
  }
  .flight-puff {
    will-change: transform, opacity;
    filter: drop-shadow(0 18px 16px rgba(65, 27, 82, .22));
  }
  .os-screen,
  .screen-gasket {
    will-change: transform;
  }
  .offering-section::before {
    mix-blend-mode: normal;
  }
  .crt-stage {
    filter: drop-shadow(0 28px 24px rgba(69, 27, 87, .28));
  }
}

