:root {
  --ink: #050505;
  --paper: #eee7da;
  --blood: #d3140d;
  --ember: #ff4a0a;
  --ash: #a59c91;
  --line: rgba(255, 231, 210, .2);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  color: var(--paper);
  background: #070504;
  font-family: "Barlow Condensed", Impact, sans-serif;
  overflow-x: hidden;
  cursor: crosshair;
}

button, a { font: inherit; }
a { color: inherit; text-decoration: none; }

#embers {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 20;
  pointer-events: none;
}

.grain {
  position: fixed;
  inset: -50%;
  z-index: 19;
  pointer-events: none;
  opacity: .14;
  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='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
  animation: grain .18s steps(2) infinite;
  mix-blend-mode: overlay;
}

.cursor-glow {
  position: fixed;
  width: 420px;
  aspect-ratio: 1;
  z-index: 2;
  pointer-events: none;
  border-radius: 50%;
  translate: -50% -50%;
  background: radial-gradient(circle, rgba(255, 45, 0, .13), transparent 66%);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 94px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 10px clamp(18px, 4vw, 64px);
  border-bottom: 1px solid rgba(255,255,255,.09);
  background: linear-gradient(#070504dc, transparent);
  backdrop-filter: blur(3px);
}

.brand { width: 66px; filter: drop-shadow(0 0 14px rgba(232,20,8,.5)); }
.brand img { width: 100%; height: auto; display: block; }
.issue { margin: 0; text-transform: uppercase; letter-spacing: .22em; font-size: .72rem; color: var(--ash); }
.issue strong { color: var(--paper); }
.sound-toggle {
  justify-self: end;
  border: 0;
  color: var(--paper);
  background: transparent;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .68rem;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.sound-dot { width: 7px; aspect-ratio: 1; border-radius: 50%; background: #67605a; box-shadow: 0 0 0 4px rgba(255,255,255,.04); }
.sound-toggle[aria-pressed="true"] .sound-dot { background: var(--ember); box-shadow: 0 0 14px var(--ember); }

.hero {
  min-height: 100svh;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 68% 45%, rgba(255, 58, 0, .3), transparent 22%),
    linear-gradient(110deg, #080706 8%, #17100c 48%, #080403 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    repeating-linear-gradient(118deg, transparent 0 70px, rgba(255,255,255,.018) 71px 72px),
    linear-gradient(90deg, rgba(0,0,0,.72), transparent 48%, rgba(0,0,0,.12));
}

.sky-burst {
  position: absolute;
  width: 68vw;
  height: 68vw;
  right: -13vw;
  top: -18vw;
  border-radius: 50%;
  opacity: .6;
  background: repeating-conic-gradient(from 12deg, rgba(218,20,9,.75) 0 5deg, transparent 6deg 16deg);
  mask: radial-gradient(circle, #000 0, transparent 68%);
  animation: turn 75s linear infinite;
}

.city { position: absolute; inset: auto -2% 0; height: 42%; z-index: 0; transform-origin: bottom; }
.city::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #080706;
  clip-path: polygon(0 100%,0 36%,4% 36%,4% 16%,8% 16%,8% 44%,12% 44%,12% 29%,17% 29%,17% 50%,20% 50%,20% 9%,25% 9%,25% 39%,29% 39%,29% 18%,34% 18%,34% 52%,39% 52%,39% 31%,44% 31%,44% 5%,49% 5%,49% 42%,53% 42%,53% 25%,58% 25%,58% 47%,63% 47%,63% 12%,69% 12%,69% 37%,74% 37%,74% 21%,79% 21%,79% 51%,85% 51%,85% 29%,90% 29%,90% 16%,95% 16%,95% 43%,100% 43%,100% 100%);
}
.city-back { opacity: .38; transform: scale(1.08); filter: blur(2px); bottom: 10%; }
.city-front { filter: drop-shadow(0 -12px 35px rgba(232,43,0,.18)); }
.city-front::after {
  content: "";
  position: absolute;
  inset: 30% 0 0;
  opacity: .45;
  background-image: radial-gradient(circle, #e93a08 0 1px, transparent 1.8px);
  background-size: 29px 24px;
  mask: linear-gradient(#000, transparent 70%);
}

.hero-copy {
  position: relative;
  z-index: 8;
  width: min(760px, 58vw);
  padding: clamp(160px, 22vh, 260px) 0 90px clamp(24px, 8vw, 130px);
}
.eyebrow, .chapter {
  color: #f07a50;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: .4em;
  font-size: clamp(.72rem, 1.1vw, .9rem);
}
h1 {
  margin: 18px 0 0;
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(5rem, 11.6vw, 12rem);
  line-height: .76;
  letter-spacing: -.045em;
  text-transform: uppercase;
  filter: drop-shadow(6px 8px 0 #000);
}
h1 span { display: block; }
h1 .red { color: var(--blood); font-size: 1.12em; transform: skew(-7deg); transform-origin: left; }
.hero-line {
  margin: 20px 0 32px;
  text-transform: uppercase;
  font-size: clamp(1.3rem, 2.4vw, 2.2rem);
  font-style: italic;
  font-weight: 900;
  letter-spacing: .13em;
}

.enter-button, .primary-action {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 34px;
  border: 1px solid #ee3e21;
  background: #c51a10;
  color: #fff;
  padding: 17px 23px;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: .14em;
  cursor: pointer;
  box-shadow: 8px 8px 0 rgba(0,0,0,.65);
  clip-path: polygon(0 0, 94% 0, 100% 30%, 100% 100%, 6% 100%, 0 76%);
  transition: transform .2s, filter .2s;
}
.enter-button:hover, .primary-action:hover { transform: translate(-2px,-3px); filter: brightness(1.25); }
.enter-button i { font-size: 1.5rem; font-style: normal; }

.antihero-wrap {
  position: absolute;
  z-index: 5;
  right: clamp(-110px, -4vw, -30px);
  bottom: -12%;
  width: min(55vw, 750px);
  height: 110%;
  filter: drop-shadow(-30px 12px 35px rgba(0,0,0,.85));
}
.antihero {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 17%;
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%, 0 14%);
  filter: saturate(.82) contrast(1.13);
  animation: breathe 6s ease-in-out infinite;
}
.antihero-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #070504 0, transparent 26%), linear-gradient(0deg, #070504 0, transparent 25%);
  pointer-events: none;
}
.antihero-aura { position: absolute; inset: 12% 5% 28%; background: #ff2a00; filter: blur(80px); opacity: .19; animation: pulse 3s ease-in-out infinite; }
.impact-word {
  position: absolute;
  z-index: 1;
  right: -2vw;
  top: 13vh;
  color: transparent;
  -webkit-text-stroke: 2px rgba(238,44,10,.13);
  font: 900 clamp(7rem, 18vw, 19rem)/1 Anton, sans-serif;
  transform: rotate(-8deg);
}
.scroll-cue {
  position: absolute;
  z-index: 9;
  bottom: 26px;
  left: clamp(24px, 8vw, 130px);
  display: flex;
  align-items: center;
  gap: 14px;
  color: #938c84;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .65rem;
}
.scroll-cue span { width: 38px; height: 1px; background: #a82c18; animation: scan 1.8s infinite; }

.manifesto {
  min-height: 100vh;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #090807;
  border-block: 2px solid #221612;
}
.panel {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 9vw 4vw;
  overflow: hidden;
  border-right: 2px solid #211815;
  background:
    linear-gradient(0deg, rgba(0,0,0,.88), transparent),
    repeating-linear-gradient(145deg, rgba(255,255,255,.025) 0 1px, transparent 1px 9px);
  transition: flex .4s, background-color .4s;
}
.panel::before { content: ""; position: absolute; width: 100%; height: 45%; inset: auto 0 0; background: radial-gradient(circle at 50% 100%, rgba(214,31,8,.2), transparent 70%); }
.panel:hover { background-color: #160a07; }
.panel p { position: relative; margin: 0; text-transform: uppercase; font: 900 clamp(2.2rem, 4vw, 5rem)/.95 "Barlow Condensed"; }
.panel strong { color: var(--blood); font-family: Anton, sans-serif; font-weight: 400; }
.panel-number { position: absolute; top: 12vh; right: 3vw; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.18); font: 900 9rem/1 Anton; }
.panel-center { transform: skew(-3deg); background-color: #0e0a08; }
.panel-center > * { transform: skew(3deg); }
.slash { position: absolute; width: 5px; height: 65%; top: 18%; left: 25%; background: var(--blood); box-shadow: 0 0 30px var(--blood); transform: rotate(24deg) !important; }

.reveal-section {
  min-height: 100svh;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  padding: 110px 24px 70px;
  background:
    radial-gradient(circle at center, rgba(153,20,4,.32), transparent 29%),
    repeating-conic-gradient(from 8deg at 50% 50%, #0a0706 0 7deg, #100806 7deg 9deg);
}
.reveal-section::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,#050505 0,transparent 30% 70%,#050505 100%); }
.logo-shock { position: absolute; width: 60vw; aspect-ratio: 1; border-radius: 50%; border: 2px solid rgba(239,47,10,.16); box-shadow: 0 0 120px rgba(255,38,0,.2), inset 0 0 120px rgba(255,38,0,.08); animation: shock 3s ease-out infinite; }
.chapter, .wordmark, .actions, .status { position: relative; z-index: 2; }
.chapter { margin-bottom: 26px; }
.wordmark { width: min(1040px, 86vw); height: auto; filter: drop-shadow(0 22px 30px #000) drop-shadow(0 0 25px rgba(243,34,5,.35)); }
.actions { display: flex; align-items: center; gap: 28px; margin-top: -25px; }
.secondary-action { text-transform: uppercase; font-weight: 900; letter-spacing: .15em; border-bottom: 1px solid #7f2b1d; padding: 12px 4px; }
.status { margin-top: 70px; color: #857b71; text-transform: uppercase; letter-spacing: .22em; font-size: .68rem; }
.status span { display: inline-block; width: 6px; aspect-ratio: 1; margin-right: 8px; border-radius: 50%; background: #d52d14; box-shadow: 0 0 12px #ff3918; animation: pulse 1.5s infinite; }

.flash { position: fixed; inset: 0; z-index: 100; pointer-events: none; background: #ffdfae; opacity: 0; mix-blend-mode: screen; }
.flash.go { animation: flash .55s ease-out; }
.reveal { opacity: 0; transform: translateY(26px); animation: reveal .75s cubic-bezier(.2,.8,.2,1) forwards; }
.hero-copy .reveal:nth-child(2) { animation-delay: .17s; }
.hero-copy .reveal:nth-child(3) { animation-delay: .34s; }
.hero-copy .reveal:nth-child(4) { animation-delay: .5s; }

@keyframes reveal { to { opacity: 1; transform: none; } }
@keyframes breathe { 50% { transform: scale(1.018) translateY(-5px); } }
@keyframes pulse { 50% { opacity: .5; } }
@keyframes scan { 50% { width: 66px; background: var(--ember); } }
@keyframes shock { 0% { transform: scale(.72); opacity: 0; } 30% { opacity: .7; } 100% { transform: scale(1.35); opacity: 0; } }
@keyframes turn { to { transform: rotate(360deg); } }
@keyframes grain { 0% { transform: translate(2%, -3%); } 25% { transform: translate(-4%, 1%); } 50% { transform: translate(3%, 4%); } 75% { transform: translate(-2%, -4%); } }
@keyframes flash { 0% { opacity: 0; } 8% { opacity: .9; } 35% { opacity: .18; } 100% { opacity: 0; } }

@media (max-width: 800px) {
  .site-header { height: 74px; grid-template-columns: 1fr auto; }
  .brand { width: 50px; }
  .issue { display: none; }
  .hero { min-height: 900px; }
  .hero-copy { width: 100%; padding: 130px 22px 0; }
  .hero-copy .reveal { opacity: 1; transform: none; animation: none; }
  h1 { font-size: clamp(4.6rem, 23vw, 7.5rem); }
  .hero-line { max-width: 70%; }
  .enter-button { position: absolute; top: 510px; left: 22px; z-index: 12; }
  .antihero-wrap { width: 95vw; height: 70%; right: -26vw; bottom: -5%; opacity: .84; }
  .antihero-wrap::after { background: linear-gradient(90deg,#070504 0,transparent 45%),linear-gradient(0deg,#070504 0,transparent 32%); }
  .city { height: 30%; }
  .scroll-cue { left: 22px; }
  .manifesto { grid-template-columns: 1fr; }
  .panel { min-height: 54vh; border-right: 0; border-bottom: 2px solid #211815; padding: 80px 28px 45px; }
  .panel-center { transform: none; }
  .panel-center > * { transform: none; }
  .panel p { font-size: clamp(2.6rem, 12vw, 4rem); }
  .panel-number { font-size: 6rem; top: 36px; }
  .wordmark { width: 115vw; max-width: none; }
  .actions { flex-direction: column; margin-top: -8px; gap: 12px; }
  .logo-shock { width: 110vw; }
}

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