@font-face {
  font-family: "Anton";
  src: url("fonts/Anton-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("fonts/Montserrat-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("fonts/Montserrat-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0b0b0f;
  --bg-2: #121219;
  --paper: #f4efe3;
  --muted: #a8a296;
  --line: #2b2b35;
  --yellow: #f5c542;
  --red: #ff5a4e;
  --cyan: #61d7ff;
  --violet: #9a7bff;
  --green: #8ee08a;
  --shadow: 8px 8px 0 #000;
  --display: "Anton", Impact, sans-serif;
  --body: "Montserrat", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(245, 197, 66, 0.10), transparent 28rem),
    radial-gradient(circle at 92% 18%, rgba(97, 215, 255, 0.08), transparent 24rem),
    var(--bg);
  color: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.18;
  background:
    repeating-linear-gradient(
      to bottom,
      transparent 0,
      transparent 3px,
      rgba(255, 255, 255, 0.035) 4px
    ),
    repeating-linear-gradient(
      to right,
      transparent 0,
      transparent 5px,
      rgba(0, 0, 0, 0.10) 6px
    );
  mix-blend-mode: soft-light;
}

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--yellow);
  color: #000;
  padding: 12px 18px;
  z-index: 100;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

.preview-banner {
  position: relative;
  z-index: 50;
  padding: 10px 20px;
  background: var(--yellow);
  color: var(--bg);
  border-bottom: 2px solid #000;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px max(20px, calc((100vw - 1180px) / 2));
  background: rgba(11, 11, 15, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: var(--display);
  font-size: 28px;
  letter-spacing: 0.04em;
  line-height: 1;
}

.brand-icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: var(--yellow);
  color: #000;
  font-family: var(--body);
  font-size: 13px;
  letter-spacing: -2px;
  border: 2px solid #000;
  box-shadow: 3px 3px 0 var(--red);
  transform: rotate(-3deg);
}

.brand-text span {
  color: var(--yellow);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--paper);
}

.nav-cta {
  padding: 10px 14px;
  border: 1px solid var(--yellow);
  color: var(--yellow) !important;
  background: transparent;
}

.nav-cta:hover {
  background: var(--yellow);
  color: #000 !important;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: 60px;
  padding-block: 84px 64px;
}

.eyebrow,
.kicker {
  margin: 0 0 14px;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(58px, 8vw, 112px);
  line-height: 0.92;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero h1 span {
  color: var(--yellow);
  text-shadow: 4px 4px 0 rgba(255, 90, 78, 0.55);
}

.lede {
  max-width: 640px;
  margin: 28px 0 0;
  font-size: clamp(17px, 1.6vw, 21px);
  color: #d9d3c6;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 20px;
  border: 2px solid #000;
  background: var(--yellow);
  color: #000;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 5px 5px 0 var(--red);
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--red);
}

.button-ghost {
  background: transparent;
  color: var(--paper);
  border-color: var(--line);
  box-shadow: none;
}

.button-ghost:hover,
.button-ghost:focus-visible {
  border-color: var(--paper);
  box-shadow: none;
}

.fineprint {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.hero-art {
  position: relative;
  transform: rotate(1.2deg);
}

.tv {
  border: 4px solid #000;
  background: #1c1c22;
  padding: 18px 18px 12px;
  border-radius: 10px;
  box-shadow: 12px 12px 0 #000;
}

.tv-screen {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  color: var(--paper);
  background:
    radial-gradient(circle at 50% 40%, rgba(245, 197, 66, 0.28), transparent 42%),
    linear-gradient(160deg, #16333d 0%, #0c1f2a 48%, #1c1330 100%);
  border: 3px solid #000;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.65);
}

.tv-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 3px,
    rgba(255, 255, 255, 0.08) 4px
  );
  opacity: 0.55;
}

.screen-top,
.screen-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.screen-top span {
  color: var(--red);
}

.screen-word {
  position: relative;
  z-index: 1;
  text-align: center;
  font-family: var(--display);
  font-size: clamp(58px, 7vw, 92px);
  line-height: 0.86;
  color: var(--paper);
  text-shadow: 4px 4px 0 #000, 0 0 26px rgba(245, 197, 66, 0.45);
}

.screen-word em {
  color: var(--yellow);
  font-style: normal;
}

.tv-controls {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 12px;
}

.tv-controls span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #3b3b45;
  border: 1px solid #000;
}

.tv-controls span:first-child {
  background: var(--red);
}

.tape-label {
  margin: 18px 0 0 30px;
  padding: 10px 14px;
  width: max-content;
  max-width: 100%;
  background: var(--paper);
  color: #111;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 2px solid #000;
  transform: rotate(-2deg);
  box-shadow: 4px 4px 0 var(--violet);
}

.meter {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
  margin-top: 18px;
}

.meter div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 24px 22px;
  border-right: 1px solid var(--line);
}

.meter div:last-child {
  border-right: 0;
}

.meter strong {
  font-family: var(--display);
  font-size: 44px;
  font-weight: 400;
  line-height: 1;
  color: var(--yellow);
}

.meter span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.meter-off {
  display: block;
  padding: 18px 0;
}

.meter-off p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

section {
  scroll-margin-top: 90px;
}

.about,
.prompts,
.feed,
.vault,
.play {
  padding-block: 78px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-heading h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-wrap: balance;
}

.section-heading p:not(.kicker) {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.section-heading.split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
}

.section-note {
  max-width: 720px;
  margin: -18px 0 34px;
  color: var(--muted);
  font-size: 14px;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.live-badge span {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--green);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.about-grid article {
  border-top: 2px solid var(--yellow);
  padding-top: 18px;
}

.about-grid h3 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.about-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.prompt-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.prompt-card {
  position: relative;
  padding: 28px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--bg-2);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 160ms ease, border-color 160ms ease;
}

.prompt-card:nth-child(1) { border-top: 4px solid var(--red); }
.prompt-card:nth-child(2) { border-top: 4px solid var(--cyan); }
.prompt-card:nth-child(3) { border-top: 4px solid var(--violet); }
.prompt-card:nth-child(4) { border-top: 4px solid var(--green); }

.prompt-card:hover {
  transform: translateY(-4px);
  border-color: #4a4a58;
}

.prompt-card.is-picked {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

.shuffle {
  flex-shrink: 0;
  min-height: 44px;
  padding: 10px 16px;
  font-size: 11px;
}

.prompt-number {
  position: absolute;
  right: 18px;
  top: 8px;
  font-family: var(--display);
  font-size: 82px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px #343440;
  pointer-events: none;
}

.prompt-card .kicker {
  margin-bottom: 10px;
}

.prompt-card h3 {
  margin: 0 0 10px;
  max-width: 430px;
  font-family: var(--display);
  font-size: 34px;
  font-weight: 400;
  line-height: 1.02;
  text-transform: uppercase;
}

.prompt-card p:not(.kicker) {
  margin: 0 0 20px;
  max-width: 440px;
  color: var(--muted);
  font-size: 14px;
}

.text-link {
  margin-top: auto;
  display: inline-block;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(245, 197, 66, 0.4);
  padding-bottom: 2px;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--paper);
  border-color: var(--paper);
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.post-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-2);
  border: 1px solid var(--line);
}

.post-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #191922;
  border-bottom: 1px solid var(--line);
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.02);
  transition: transform 300ms ease;
}

.post-card:hover .post-image img {
  transform: scale(1.03);
}

.post-image-text {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 45%, rgba(245, 197, 66, 0.20), transparent 45%),
    repeating-linear-gradient(135deg, #15151d 0 12px, #191923 12px 24px);
}

.post-image-text span {
  font-family: var(--display);
  font-size: 38px;
  color: var(--yellow);
  text-transform: uppercase;
  text-align: center;
  padding: 20px;
  text-shadow: 3px 3px 0 #000;
}

.post-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  flex: 1;
}

.post-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.post-caption {
  margin: 0;
  white-space: pre-line;
  color: #e5dfd3;
  font-size: 14px;
  line-height: 1.55;
}

.post-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.post-stats span {
  padding: 4px 7px;
  border: 1px solid var(--line);
}

.vault-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.vault-card {
  margin: 0;
  background: var(--bg-2);
  border: 1px solid var(--line);
}

.vault-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
  filter: saturate(0.86) contrast(1.04);
}

.vault-card figcaption {
  padding: 20px;
}

.vault-card .kicker {
  display: block;
  margin-bottom: 8px;
}

.vault-card p {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: 25px;
  line-height: 1.05;
  text-transform: uppercase;
}

.vault-card small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.play-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.play-grid article {
  padding: 24px;
  background: var(--bg-2);
  border: 1px solid var(--line);
}

.play-grid h3 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 27px;
  font-weight: 400;
  text-transform: uppercase;
}

.play-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-block: 30px 90px;
  padding: 42px;
  background: var(--yellow);
  color: #000;
  border: 3px solid #000;
  box-shadow: 10px 10px 0 var(--red);
}

.cta .kicker {
  color: #5b4300;
  margin-bottom: 6px;
}

.cta h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 400;
  line-height: 0.96;
  text-transform: uppercase;
}

.cta .button {
  flex-shrink: 0;
  background: #000;
  color: var(--paper);
  border-color: #000;
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.35);
}

.cta .button:hover,
.cta .button:focus-visible {
  box-shadow: 7px 7px 0 rgba(0, 0, 0, 0.45);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 24px;
  padding: 44px max(20px, calc((100vw - 1180px) / 2)) 32px;
  border-top: 1px solid var(--line);
  background: #08080b;
}

.footer-brand strong {
  font-family: var(--display);
  font-size: 30px;
  letter-spacing: 0.04em;
}

.footer-brand p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.footer-links {
  display: flex;
  gap: 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--yellow);
}

.copyright {
  grid-column: 1 / -1;
  margin: 20px 0 0;
  color: #67635c;
  font-size: 10px;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 42px;
    padding-block: 56px 40px;
  }

  .hero-art {
    max-width: 560px;
    margin-inline: auto;
    width: 100%;
  }

  .about-grid,
  .post-grid,
  .vault-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .play-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .meter {
    grid-template-columns: repeat(2, 1fr);
  }

  .meter div:nth-child(2) {
    border-right: 0;
  }

  .meter div:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

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

@media (max-width: 700px) {
  .site-header {
    flex-wrap: wrap;
    gap: 12px;
    padding-block: 14px;
  }

  .site-nav {
    width: 100%;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
    font-size: 11px;
  }

  .site-nav a {
    white-space: nowrap;
  }

  .nav-cta {
    margin-left: auto;
  }

  .hero h1 {
    font-size: clamp(52px, 15vw, 78px);
  }

  .prompt-grid,
  .about-grid,
  .post-grid,
  .vault-grid,
  .play-grid {
    grid-template-columns: 1fr;
  }

  .section-heading.split {
    flex-direction: column;
    align-items: flex-start;
  }

  .meter strong {
    font-size: 36px;
  }

  .cta {
    padding: 28px 22px;
    margin-bottom: 60px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
