@import url("https://fonts.googleapis.com/css2?family=Anton&family=IBM+Plex+Mono:wght@400;600&family=Source+Serif+4:ital,wght@0,700;1,700&display=swap");

:root {
  --red: #b50916;
  --red-dark: #76040d;
  --yellow: #f4c542;
  --paper: #eee6d0;
  --ink: #17130f;
  --muted: #70675b;
  --line: rgba(23, 19, 15, 0.28);
  --display: "Anton", Impact, sans-serif;
  --serif: "Source Serif 4", Georgia, serif;
  --mono: "IBM Plex Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--mono);
}

body::before {
  position: fixed;
  z-index: 20;
  inset: 0;
  border: 8px solid var(--red);
  content: "";
  pointer-events: none;
}

.entry-gate {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--paper);
  background:
    radial-gradient(circle at 50% 42%, rgba(244, 197, 66, 0.14), transparent 28%),
    repeating-conic-gradient(from 0deg at 50% 50%, #a80713 0 12deg, #8c0610 12deg 24deg);
  transition: opacity 500ms ease, visibility 500ms ease;
}

.entry-gate.hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.entry-card {
  position: relative;
  width: min(100%, 650px);
  padding: clamp(34px, 7vw, 72px);
  border: 3px solid var(--paper);
  background: var(--red);
  box-shadow: 18px 18px 0 var(--yellow);
  text-align: center;
  transform: rotate(-1deg);
}

.entry-card::before,
.entry-card::after {
  position: absolute;
  width: 54px;
  height: 54px;
  border-color: var(--yellow);
  content: "";
}

.entry-card::before {
  top: 14px;
  left: 14px;
  border-top: 4px solid var(--yellow);
  border-left: 4px solid var(--yellow);
}

.entry-card::after {
  right: 14px;
  bottom: 14px;
  border-right: 4px solid var(--yellow);
  border-bottom: 4px solid var(--yellow);
}

.entry-star {
  display: block;
  margin-bottom: 20px;
  color: var(--yellow);
  font-size: 3.5rem;
  line-height: 1;
}

.entry-card .eyebrow {
  margin-bottom: 16px;
  color: var(--yellow);
}

.entry-card h2 {
  font-size: clamp(3.5rem, 9vw, 7rem);
}

.entry-card > p:not(.eyebrow) {
  max-width: 490px;
  margin: 24px auto;
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.5;
}

.entry-button {
  color: var(--ink);
  background: var(--yellow);
}

.entry-silent {
  display: block;
  margin: 18px auto 0;
  padding: 5px;
  border: 0;
  color: var(--paper);
  background: none;
  font: 600 0.72rem/1 var(--mono);
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.entry-card small {
  display: block;
  margin-top: 28px;
  opacity: 0.72;
  font-size: 0.62rem;
}

.music-control {
  position: fixed;
  z-index: 18;
  right: 22px;
  bottom: 22px;
  min-height: 45px;
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border: 2px solid var(--yellow);
  color: var(--paper);
  background: var(--ink);
  font-family: var(--mono);
  cursor: pointer;
  box-shadow: 5px 5px 0 var(--red);
}

.music-control.visible {
  display: flex;
}

.music-control span {
  color: var(--yellow);
  font-size: 1.3rem;
}

.music-control strong {
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.music-control.paused span {
  opacity: 0.5;
}

.grain {
  position: fixed;
  z-index: 19;
  inset: 0;
  opacity: 0.07;
  pointer-events: none;
  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='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

a {
  color: inherit;
}

.topbar {
  position: relative;
  z-index: 5;
  min-height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  padding: 16px clamp(24px, 5vw, 72px);
  border-bottom: 2px solid var(--ink);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--yellow);
  background: var(--red);
  border-radius: 50%;
  font-size: 1.25rem;
}

.topbar nav {
  display: flex;
  gap: 28px;
}

.topbar nav a {
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.edition {
  justify-self: end;
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(330px, 0.9fr);
  align-items: center;
  gap: clamp(28px, 6vw, 100px);
  overflow: hidden;
  padding: clamp(60px, 9vw, 130px) clamp(24px, 7vw, 110px);
}

.hero::before {
  position: absolute;
  top: 7%;
  right: -8%;
  width: 48vw;
  height: 48vw;
  min-width: 520px;
  min-height: 520px;
  border: 2px solid var(--red);
  border-radius: 50%;
  box-shadow:
    0 0 0 28px var(--paper),
    0 0 0 30px var(--red);
  content: "";
}

.hero-copy,
.hero-portrait {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 4px;
  background: currentColor;
  content: "";
}

h1,
h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  line-height: 0.93;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  font-size: clamp(4.8rem, 11vw, 10.5rem);
  letter-spacing: -0.035em;
}

h1 span {
  display: block;
  color: var(--red);
  -webkit-text-stroke: 1px var(--red-dark);
}

h2 {
  font-size: clamp(3rem, 6.2vw, 6.7rem);
}

.hero-lead {
  max-width: 690px;
  margin: 28px 0;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1.4;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border: 2px solid var(--ink);
  border-radius: 0;
  color: inherit;
  background: transparent;
  font: 600 0.78rem/1 var(--mono);
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translate(-3px, -3px);
  box-shadow: 5px 5px 0 var(--ink);
}

.button-primary {
  color: var(--paper);
  background: var(--red);
}

.button-light {
  color: var(--red);
  background: var(--paper);
}

.microcopy {
  max-width: 520px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.7rem;
}

.hero-portrait {
  width: min(100%, 560px);
  margin: 0 auto;
  transform: rotate(2.5deg);
}

.hero-portrait img,
.image-fallback {
  width: 100%;
  aspect-ratio: 4 / 5;
  display: block;
  object-fit: cover;
  border: 3px solid var(--ink);
  filter: grayscale(1) contrast(1.08);
}

.image-fallback {
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--paper);
  background:
    linear-gradient(135deg, transparent 46%, var(--yellow) 46% 54%, transparent 54%),
    var(--red);
  font: 400 clamp(2rem, 4vw, 4rem)/1 var(--display);
  text-align: center;
  text-transform: uppercase;
}

.hero-portrait figcaption {
  padding: 16px 18px;
  border: 3px solid var(--ink);
  border-top: 0;
  background: var(--yellow);
  font-family: var(--serif);
  font-weight: 700;
}

.hero-portrait figcaption span {
  display: block;
  margin-bottom: 6px;
  font: 600 0.68rem/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stamp {
  position: absolute;
  z-index: 3;
  right: clamp(18px, 3vw, 48px);
  bottom: 9%;
  width: 130px;
  height: 130px;
  display: grid;
  place-content: center;
  border: 4px double var(--red);
  border-radius: 50%;
  color: var(--red);
  font: 400 2rem/0.9 var(--display);
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-14deg);
}

.stamp small {
  font-size: 1.2rem;
}

.ticker {
  overflow: hidden;
  border-block: 3px solid var(--ink);
  color: var(--paper);
  background: var(--red);
}

.ticker-track {
  width: max-content;
  display: flex;
  animation: ticker 30s linear infinite;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 34px;
  padding: 16px 18px;
  font: 400 1.2rem/1 var(--display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ticker-item::after {
  color: var(--yellow);
  content: "★";
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

.section-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(44px, 8vw, 140px);
  padding: clamp(90px, 12vw, 180px) clamp(24px, 7vw, 110px);
}

.section-heading > p:last-child {
  max-width: 550px;
  font-family: var(--serif);
  font-size: 1.1rem;
  line-height: 1.55;
}

.manifesto-list {
  border-top: 2px solid var(--ink);
}

.manifesto-item {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 18px;
  padding: 28px 0;
  border-bottom: 2px solid var(--ink);
}

.manifesto-number {
  color: var(--red);
  font: 400 2.4rem/1 var(--display);
}

.manifesto-item h3 {
  margin: 0 0 8px;
  font: 400 1.65rem/1.1 var(--display);
  text-transform: uppercase;
}

.manifesto-item p {
  margin: 0;
  line-height: 1.55;
}

.quotes {
  padding: clamp(90px, 10vw, 150px) clamp(24px, 7vw, 110px);
  color: var(--paper);
  background: var(--ink);
}

.quotes .eyebrow {
  color: var(--yellow);
}

.compact {
  text-align: center;
}

.compact .eyebrow {
  justify-content: center;
}

.compact > p:last-child {
  margin-inline: auto;
  color: #bdb5a7;
  font-size: 0.8rem;
}

.quote-stage {
  max-width: 1150px;
  display: grid;
  grid-template-columns: 54px 1fr 54px;
  align-items: center;
  gap: 28px;
  margin: 60px auto 30px;
}

blockquote {
  margin: 0;
  text-align: center;
}

blockquote p {
  margin: 0;
  font: italic 700 clamp(2rem, 5vw, 5.5rem)/1.05 var(--serif);
}

blockquote footer {
  margin-top: 28px;
  color: var(--yellow);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.quote-arrow {
  width: 54px;
  height: 54px;
  border: 1px solid var(--paper);
  border-radius: 50%;
  color: var(--paper);
  background: transparent;
  font-size: 1.5rem;
  cursor: pointer;
}

.quote-arrow:hover {
  color: var(--ink);
  background: var(--yellow);
  border-color: var(--yellow);
}

.quote-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.quote-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid var(--paper);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.quote-dot.active {
  background: var(--yellow);
  border-color: var(--yellow);
}

.broadcast {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1.35fr);
  align-items: center;
  gap: clamp(38px, 7vw, 110px);
  padding: clamp(90px, 11vw, 170px) clamp(24px, 7vw, 110px);
  color: var(--paper);
  background: var(--red);
  border-top: 3px solid var(--yellow);
}

.broadcast h2 {
  max-width: 620px;
  margin-bottom: 28px;
}

.broadcast .eyebrow {
  color: var(--yellow);
}

.broadcast-copy > p:not(.eyebrow) {
  max-width: 520px;
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.5;
}

.broadcast-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 9px 13px;
  border: 1px solid var(--paper);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.broadcast-status i {
  width: 9px;
  height: 9px;
  background: var(--yellow);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(244, 197, 66, 0.2);
}

.broadcast-screen {
  position: relative;
  padding: 16px;
  border: 3px solid var(--paper);
  background: var(--ink);
  box-shadow: 15px 15px 0 var(--yellow);
  transform: rotate(1deg);
}

.broadcast-screen::after {
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  content: "";
  pointer-events: none;
}

.broadcast-screen video {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  background: #000;
  object-fit: cover;
}

.screen-label {
  position: absolute;
  z-index: 2;
  top: 28px;
  left: 28px;
  padding: 7px 9px;
  color: var(--paper);
  background: var(--red);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  pointer-events: none;
}

.dossier {
  align-items: center;
  background-image: linear-gradient(var(--line) 1px, transparent 1px);
  background-size: 100% 32px;
}

.photo-stack {
  position: relative;
  min-height: 660px;
}

.polaroid {
  position: absolute;
  width: min(75%, 390px);
  margin: 0;
  padding: 14px 14px 52px;
  background: #faf5e9;
  box-shadow: 10px 14px 0 rgba(23, 19, 15, 0.17);
}

.polaroid img,
.polaroid .image-fallback {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08);
}

.polaroid figcaption {
  position: absolute;
  bottom: 16px;
  left: 14px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
}

.polaroid-one {
  top: 0;
  left: 3%;
  transform: rotate(-7deg);
}

.polaroid-two {
  right: 2%;
  bottom: 0;
  transform: rotate(8deg);
}

.dossier-copy {
  padding: 38px;
  border: 2px solid var(--ink);
  background: var(--paper);
  box-shadow: 12px 12px 0 var(--red);
}

.dossier-copy h2 {
  margin-bottom: 42px;
  font-size: clamp(2.8rem, 5.2vw, 5.6rem);
}

.dossier-copy dl {
  margin: 0;
  border-top: 1px solid var(--line);
}

.dossier-row {
  display: grid;
  grid-template-columns: minmax(130px, 0.4fr) 1fr;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.dossier-row dt {
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.dossier-row dd {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
}

.classified {
  display: inline-flex;
  flex-direction: column;
  margin-top: 34px;
  padding: 10px 16px;
  border: 3px solid var(--red);
  color: var(--red);
  text-transform: uppercase;
  transform: rotate(-2deg);
}

.classified span {
  font-size: 0.6rem;
}

.classified strong {
  font: 400 1.45rem/1.1 var(--display);
}

.cta {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  padding: clamp(70px, 9vw, 130px) clamp(24px, 7vw, 110px);
  color: var(--paper);
  background: var(--red);
}

.cta .eyebrow {
  color: var(--yellow);
}

.cta h2 {
  font-size: clamp(4rem, 10vw, 9.5rem);
}

.cta p:last-child {
  max-width: 600px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 34px clamp(24px, 7vw, 110px);
  border-top: 3px solid var(--ink);
  font-size: 0.7rem;
  line-height: 1.5;
}

.footer p {
  max-width: 740px;
  margin: 0;
}

.toast {
  position: fixed;
  z-index: 30;
  right: 24px;
  bottom: 24px;
  padding: 14px 18px;
  color: var(--paper);
  background: var(--ink);
  border: 2px solid var(--yellow);
  font-size: 0.75rem;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: 180ms ease;
}

.toast.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  .topbar nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero::before {
    top: 52%;
    right: -30%;
  }

  .hero-portrait {
    max-width: 460px;
  }

  .section-grid {
    grid-template-columns: 1fr;
  }

  .broadcast {
    grid-template-columns: 1fr;
  }

  .photo-stack {
    min-height: 620px;
  }

  .cta,
  .footer {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  body::before {
    border-width: 5px;
  }

  .topbar {
    padding-inline: 18px;
  }

  .entry-card {
    box-shadow: 9px 9px 0 var(--yellow);
  }

  .music-control {
    right: 14px;
    bottom: 14px;
  }

  .edition {
    display: none;
  }

  .hero {
    padding-inline: 20px;
  }

  h1 {
    font-size: clamp(4rem, 22vw, 6.5rem);
  }

  .stamp {
    width: 96px;
    height: 96px;
    font-size: 1.45rem;
  }

  .quote-stage {
    grid-template-columns: 1fr 1fr;
  }

  .quote-stage blockquote {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .quote-arrow {
    margin: 0 auto;
  }

  .photo-stack {
    min-height: 500px;
  }

  .polaroid {
    width: 76%;
  }

  .dossier-copy {
    padding: 26px 20px;
    box-shadow: 7px 7px 0 var(--red);
  }

  .dossier-row {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .ticker-track {
    animation: none;
  }

  .button {
    transition: none;
  }
}
