:root {
  --ink: #070907;
  --paper: #e8eee2;
  --muted: #9ba397;
  --signal: #b8ff00;
  --signal-rgb: 184, 255, 0;
  --line: rgba(232, 238, 226, .17);
  --pad: clamp(1.2rem, 4vw, 4.5rem);
  --display: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  --mono: "Cascadia Mono", Consolas, "Courier New", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; color: var(--paper); background: var(--ink); font-family: var(--mono); font-size: 16px; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
::selection { background: var(--signal); color: var(--ink); }

.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 100; background: var(--signal); color: var(--ink); padding: .8rem 1rem; }
.skip-link:focus { top: 1rem; }
.noise { position: fixed; inset: 0; z-index: 50; pointer-events: none; opacity: .045; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E"); }
.scanline { position: fixed; inset: 0; z-index: 49; pointer-events: none; background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,.13) 51%); background-size: 100% 5px; opacity: .38; }

.topbar { height: 84px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 var(--pad); border-bottom: 1px solid var(--line); position: absolute; z-index: 20; width: 100%; }
.brand { display: flex; align-items: center; gap: .75rem; width: max-content; }
.brand-mark { font: 1.25rem/1 var(--display); color: var(--signal); letter-spacing: -.08em; border: 2px solid var(--signal); padding: .4rem .5rem; }
.brand-mark span { color: var(--paper); }
.brand-copy { font-size: .65rem; line-height: 1.05; letter-spacing: .12em; color: var(--muted); }
.transmission { display: flex; align-items: center; gap: .65rem; font-size: .68rem; letter-spacing: .1em; }
.transmission b { color: var(--signal); font-weight: 500; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 12px var(--signal); animation: pulse 1.3s steps(2) infinite; }
.frequency { color: var(--muted); border-left: 1px solid var(--line); padding-left: .65rem; }
nav { justify-self: end; display: flex; align-items: center; gap: 1.6rem; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
nav a { transition: color .2s; }
nav a:hover, nav a:focus-visible { color: var(--signal); }
.icon-link { border: 1px solid var(--line); width: 34px; height: 34px; display: grid; place-items: center; font-size: 1rem; }

.hero { min-height: 100svh; display: grid; grid-template-columns: .88fr 1.12fr; padding: 130px var(--pad) 70px; position: relative; isolation: isolate; border-bottom: 1px solid var(--line); }
.hero::before { content: "0911"; position: absolute; inset: auto auto -4vw -2vw; font: clamp(10rem, 28vw, 28rem)/.68 var(--display); color: transparent; -webkit-text-stroke: 1px rgba(184,255,0,.08); z-index: -1; letter-spacing: -.1em; }
.hero-copy { align-self: center; position: relative; z-index: 3; padding-right: clamp(1rem, 4vw, 4rem); }
.eyebrow { display: flex; gap: 1.5rem; color: var(--muted); font-size: .64rem; letter-spacing: .12em; margin: 0 0 1.5rem; }
.eyebrow span:first-child { color: var(--signal); }
h1, h2, h3 { font-family: var(--display); margin: 0; text-transform: uppercase; }
h1 { font-size: clamp(5.8rem, 13vw, 12rem); line-height: .72; letter-spacing: -.095em; }
h1 > span { color: var(--signal); text-shadow: 0 0 35px rgba(var(--signal-rgb), .2); }
.slash { display: inline-block; color: var(--paper); font-size: .45em; vertical-align: .4em; margin: 0 .03em; transform: rotate(-12deg); }
.lede { max-width: 38rem; font-size: clamp(.98rem, 1.25vw, 1.18rem); line-height: 1.7; color: #bbc3b6; margin: 2.2rem 0; }
.hero-actions, .final-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.button { min-height: 51px; padding: 0 1.25rem; display: inline-flex; align-items: center; justify-content: space-between; gap: 2rem; border: 1px solid var(--line); font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; transition: transform .2s, background .2s, color .2s, border-color .2s; }
.button:hover, .button:focus-visible { transform: translateY(-2px); border-color: var(--signal); }
.button-primary { color: var(--ink); background: var(--signal); border-color: var(--signal); min-width: 190px; }
.button-primary:hover, .button-primary:focus-visible { background: var(--paper); border-color: var(--paper); }
.button-ghost { background: rgba(7,9,7,.4); }
.ca-wrap { max-width: 590px; margin-top: 1.5rem; border: 1px solid var(--line); display: flex; align-items: stretch; justify-content: space-between; background: rgba(7,9,7,.66); }
.ca-wrap > div { padding: .85rem 1rem; min-width: 0; }
.micro { display: block; color: var(--muted); font-size: .58rem; letter-spacing: .12em; margin-bottom: .35rem; }
.ca-wrap code { color: var(--paper); font-size: .72rem; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 400px; }
.copy-button { width: 84px; border: 0; border-left: 1px solid var(--line); color: var(--signal); background: transparent; cursor: pointer; font-size: .67rem; letter-spacing: .09em; }
.copy-button i { display: inline-block; width: 8px; height: 8px; border: 1px solid var(--signal); margin-left: .35rem; box-shadow: 3px -3px 0 -1px var(--ink), 3px -3px 0 0 var(--signal); }

.hero-visual { min-width: 0; display: grid; align-content: center; position: relative; }
.signal-frame { position: relative; aspect-ratio: 16/9; overflow: hidden; border: 1px solid rgba(var(--signal-rgb), .3); box-shadow: 0 0 80px rgba(var(--signal-rgb), .07); background: #000; }
.signal-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,9,7,.58), transparent 42%); pointer-events: none; }
.signal-frame img { width: 100%; height: 100%; object-fit: cover; display: block; filter: contrast(1.18) saturate(.92); transform: scale(1.01); }
.signal-mask { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: .74; background: repeating-linear-gradient(0deg, rgba(0,0,0,.92) 0 2px, transparent 2px 8px), linear-gradient(108deg, transparent 0 31%, rgba(0,0,0,.92) 31% 48%, transparent 48% 54%, rgba(0,0,0,.8) 54% 66%, transparent 66%); mix-blend-mode: multiply; transition: opacity .12s linear; }
.frame-corners { position: absolute; inset: 12px; z-index: 4; background: linear-gradient(var(--signal),var(--signal)) left top/24px 1px no-repeat,linear-gradient(var(--signal),var(--signal)) left top/1px 24px no-repeat,linear-gradient(var(--signal),var(--signal)) right top/24px 1px no-repeat,linear-gradient(var(--signal),var(--signal)) right top/1px 24px no-repeat,linear-gradient(var(--signal),var(--signal)) left bottom/24px 1px no-repeat,linear-gradient(var(--signal),var(--signal)) left bottom/1px 24px no-repeat,linear-gradient(var(--signal),var(--signal)) right bottom/24px 1px no-repeat,linear-gradient(var(--signal),var(--signal)) right bottom/1px 24px no-repeat; opacity: .7; }
.frame-data { position: absolute; z-index: 5; inset: auto 1rem .85rem; display: flex; justify-content: space-between; font-size: .59rem; letter-spacing: .1em; color: var(--signal); }
.tuner { width: min(88%, 610px); justify-self: center; margin-top: -1px; padding: 1rem 1.2rem 1.1rem; border: 1px solid var(--line); background: rgba(7,9,7,.92); position: relative; z-index: 6; }
.tuner-head, .tuner-labels { display: flex; justify-content: space-between; align-items: center; font-size: .62rem; letter-spacing: .11em; }
.tuner-head output { color: var(--signal); }
.tuner input { appearance: none; width: 100%; height: 20px; margin: .8rem 0 .2rem; background: transparent; cursor: ew-resize; }
.tuner input::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, var(--signal) 0 var(--signal-pos, 24%), #30352e var(--signal-pos, 24%)); }
.tuner input::-moz-range-track { height: 2px; background: #30352e; }
.tuner input::-moz-range-progress { height: 2px; background: var(--signal); }
.tuner input::-webkit-slider-thumb { appearance: none; width: 12px; height: 24px; background: var(--signal); margin-top: -11px; border: 3px solid var(--ink); outline: 1px solid var(--signal); }
.tuner input::-moz-range-thumb { width: 8px; height: 20px; background: var(--signal); border-radius: 0; border: 3px solid var(--ink); outline: 1px solid var(--signal); }
.tuner-labels { color: #697066; font-size: .53rem; }
.tuner p { margin: .8rem 0 0; color: #aab2a5; font-size: .67rem; line-height: 1.5; min-height: 2em; }
.scroll-stamp { position: absolute; bottom: 2rem; left: var(--pad); display: flex; gap: 1rem; align-items: center; font-size: .56rem; color: var(--muted); letter-spacing: .12em; writing-mode: vertical-rl; }
.scroll-stamp i { height: 45px; width: 1px; background: linear-gradient(var(--signal), transparent); }

.manifesto, .archive, .protocol { padding: clamp(5rem, 10vw, 10rem) var(--pad); border-bottom: 1px solid var(--line); }
.section-index { display: grid; grid-template-columns: minmax(100px, 1fr) 3fr; font-size: .63rem; letter-spacing: .12em; color: var(--muted); margin-bottom: clamp(4rem, 8vw, 8rem); }
.section-index span:first-child { color: var(--signal); }
.statement { margin-left: 25%; }
.kicker { color: var(--signal); font-size: .66rem; letter-spacing: .16em; margin: 0 0 1.5rem; }
.statement h2 { font-size: clamp(3rem, 7vw, 7.6rem); letter-spacing: -.065em; line-height: .9; }
.statement h2 em { font-style: normal; color: transparent; -webkit-text-stroke: 1px var(--signal); }
.statement-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 6rem); margin-top: 4rem; color: #aab2a5; line-height: 1.8; }
.statement-grid p { margin: 0; }

.archive { background: var(--signal); color: var(--ink); }
.archive .section-index { color: rgba(7,9,7,.6); }
.archive .section-index span:first-child { color: var(--ink); }
.archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--ink); }
.fragment { min-height: 430px; padding: 1.4rem; display: flex; flex-direction: column; border-right: 1px solid var(--ink); position: relative; transition: background .25s, color .25s; cursor: crosshair; }
.fragment:last-child { border-right: 0; }
.fragment:is(:hover, :focus-visible, .active) { background: var(--ink); color: var(--signal); outline: none; }
.fragment-top { display: flex; justify-content: space-between; font-size: .62rem; letter-spacing: .08em; }
.wave { height: 125px; margin: 3rem 0; background: repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 7px); clip-path: polygon(0 48%,5% 42%,10% 60%,15% 25%,20% 78%,25% 45%,30% 52%,35% 32%,40% 68%,45% 46%,50% 56%,55% 18%,60% 83%,65% 42%,70% 62%,75% 30%,80% 71%,85% 45%,90% 55%,95% 39%,100% 50%,100% 53%,95% 48%,90% 61%,85% 51%,80% 75%,75% 36%,70% 68%,65% 47%,60% 88%,55% 24%,50% 62%,45% 52%,40% 73%,35% 38%,30% 58%,25% 51%,20% 84%,15% 31%,10% 66%,5% 48%,0 54%); }
.wave-2 { transform: scaleY(.72); }
.wave-3 { transform: scaleY(1.2); }
.fragment h3 { font-size: clamp(2rem, 3vw, 3.5rem); letter-spacing: -.04em; }
.fragment p { max-width: 28rem; font-size: .83rem; line-height: 1.7; }
.checksum { margin-top: auto; font-size: .58rem; opacity: .62; letter-spacing: .1em; }

.protocol { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 8vw, 10rem); background: #0a0d0a; }
.protocol-title-wrap { position: sticky; top: 3rem; align-self: start; }
.protocol h2 { font-size: clamp(3rem, 5.6vw, 6.3rem); line-height: .9; letter-spacing: -.06em; }
.protocol ol { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.protocol li { display: grid; grid-template-columns: 50px 1fr; gap: 1.5rem; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.protocol li > span { color: var(--signal); font-size: .68rem; }
.protocol b { font: 1.45rem/1.2 var(--display); text-transform: uppercase; }
.protocol li p { color: var(--muted); line-height: 1.7; margin: .8rem 0 0; }

.final-cta { min-height: 75svh; padding: 7rem var(--pad); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; position: relative; overflow: hidden; }
.final-cta h2 { font-size: clamp(4.5rem, 12vw, 12rem); line-height: .78; letter-spacing: -.08em; position: relative; }
.final-cta h2 span { color: var(--signal); }
.final-actions { margin-top: 3rem; justify-content: center; position: relative; }
.final-noise { position: absolute; white-space: nowrap; font: 14vw/1 var(--display); color: rgba(var(--signal-rgb),.025); transform: rotate(-8deg); }
footer { min-height: 100px; border-top: 1px solid var(--line); padding: 1.5rem var(--pad); display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 2rem; align-items: center; font-size: .6rem; letter-spacing: .08em; color: var(--muted); }
footer p { margin: 0; text-align: center; line-height: 1.6; }
footer span:last-child { text-align: right; }
.toast { position: fixed; z-index: 80; left: 50%; bottom: 2rem; transform: translate(-50%, 140%); background: var(--signal); color: var(--ink); border: 1px solid var(--ink); padding: .9rem 1.2rem; font-size: .69rem; font-weight: 600; letter-spacing: .08em; transition: transform .28s cubic-bezier(.2,.8,.2,1); }
.toast.show { transform: translate(-50%, 0); }

@keyframes pulse { 50% { opacity: .35; box-shadow: none; } }
@keyframes jitter { 0%,100%{transform:translate(0)} 25%{transform:translate(-2px,1px)} 50%{transform:translate(2px,-1px)} 75%{transform:translate(1px,2px)} }
body.tuning .signal-frame img { animation: jitter .13s steps(2) infinite; }

@media (max-width: 980px) {
  .topbar { grid-template-columns: 1fr 1fr; }
  .transmission { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 120px; gap: 3.5rem; }
  .hero-copy { padding-right: 0; }
  h1 { font-size: clamp(6rem, 24vw, 11rem); }
  .hero-visual { max-width: 820px; width: 100%; justify-self: center; }
  .scroll-stamp { display: none; }
  .statement { margin-left: 0; }
  .archive-grid { grid-template-columns: 1fr; }
  .fragment { min-height: 330px; border-right: 0; border-bottom: 1px solid var(--ink); }
  .fragment:last-child { border-bottom: 0; }
  .wave { margin: 2rem 0; height: 90px; }
}

@media (max-width: 680px) {
  .topbar { height: 72px; }
  nav { gap: .7rem; }
  nav a:not(.icon-link) { display: none; }
  .brand-copy { display: none; }
  .hero { padding-top: 104px; padding-bottom: 4rem; min-height: auto; }
  .eyebrow { flex-direction: column; gap: .35rem; }
  h1 { font-size: 29vw; }
  .lede { margin: 1.6rem 0; }
  .hero-actions .button { width: 100%; }
  .ca-wrap { margin-top: .75rem; }
  .ca-wrap code { max-width: calc(100vw - 9rem); }
  .hero-visual { gap: 0; }
  .signal-frame { aspect-ratio: 4/3; }
  .signal-frame img { object-position: 66% center; }
  .tuner { width: 94%; padding-inline: .9rem; }
  .manifesto, .archive, .protocol { padding-block: 5rem; }
  .section-index { grid-template-columns: 60px 1fr; margin-bottom: 3rem; }
  .statement h2 { font-size: 3rem; }
  .statement-grid { grid-template-columns: 1fr; gap: 1rem; margin-top: 2.5rem; }
  .protocol { grid-template-columns: 1fr; }
  .protocol-title-wrap { position: static; }
  .final-cta { min-height: 650px; }
  .final-cta h2 { font-size: 20vw; }
  .final-actions .button { width: 100%; }
  footer { grid-template-columns: 1fr; text-align: center; }
  footer span:last-child { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .001ms !important; }
}
