/* GameTrackDaily Arcade
   Static HTML + vanilla JS port of the Claude Design handoff.
   Brutalist arcade watch desk: sharp borders, platform colour stripes, calm copy.
*/

@import url("https://fonts.googleapis.com/css2?family=Anton&family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #08090c;
  --bg-2: #0e1014;
  --bg-3: #15181f;
  --ink: #f4efe7;
  --ink-2: rgba(244, 239, 231, 0.78);
  --ink-3: rgba(244, 239, 231, 0.5);
  --ink-4: rgba(244, 239, 231, 0.28);
  --line: rgba(244, 239, 231, 0.16);
  --line-strong: rgba(244, 239, 231, 0.4);

  --brand: #ff3a3a;
  --brand-2: #ff7a4a;
  --pc: #ffb43a;
  --xbox: #6bd45b;
  --ps: #3aa7ff;
  --browser: #cda6e8;

  --display: "Anton", "Arial Narrow", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --sans: "Space Grotesk", system-ui, sans-serif;
  --maxw: 1480px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 0;
  overflow-x: clip;
  background: var(--bg);
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  min-width: 0;
  margin: 0;
  overflow-x: hidden;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  z-index: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 58, 58, 0.1), transparent 45%),
    radial-gradient(circle at 80% 100%, rgba(58, 167, 255, 0.06), transparent 45%),
    radial-gradient(circle at 50% 50%, transparent 60%, rgba(0, 0, 0, 0.72) 100%);
}

body::after {
  z-index: 1;
  opacity: 0.07;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.45 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

body.scanlines .scanline-layer {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a,
summary,
[role="button"] {
  cursor: pointer;
}

button {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
}

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

::selection {
  background: var(--brand);
  color: #0a0a0c;
}

:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 100;
  padding: 10px 14px;
  transform: translateY(-160%);
  border: 2px solid var(--ink);
  background: var(--brand);
  color: #0a0a0c;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.skip-link:focus {
  transform: translateY(0);
}

.scanline-layer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  mix-blend-mode: screen;
  background: repeating-linear-gradient(180deg, transparent 0 2px, rgba(244, 239, 231, 0.05) 2px 3px);
}

.page-shell {
  position: relative;
  z-index: 2;
  min-height: 100vh;
}

.shell {
  width: min(var(--maxw), calc(100% - 48px));
  margin: 0 auto;
}

.marquee {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  max-width: 100%;
  overflow: hidden;
  overflow: clip;
  padding: 9px 0;
  border-bottom: 2px solid var(--ink);
  background: var(--bg);
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.marquee--brand {
  border-color: #0a0a0c;
  background: var(--brand);
  color: #0a0a0c;
}

.marquee__track {
  display: inline-flex;
  flex-shrink: 0;
  animation: marquee 70s linear infinite;
}

.is-tab-hidden .marquee__track,
.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__track span {
  flex-shrink: 0;
  padding: 0 22px;
}

.marquee__track .dot {
  color: var(--brand);
  padding-inline: 12px;
}

.marquee--brand .dot {
  color: #0a0a0c;
  opacity: 0.65;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  max-width: 100%;
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
  background: var(--bg);
}

.nav__brand {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 14px 22px;
  border-right: 2px solid var(--ink);
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.slash {
  color: var(--brand);
  padding-inline: 1px;
}

.nav__links {
  display: flex;
  min-width: 0;
  max-width: 100%;
}

.nav__link,
.nav__utility {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 16px 18px;
  border-right: 2px solid var(--ink);
  color: var(--ink-2);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: color 0.18s ease, background 0.18s ease;
}

.nav__link:hover,
.nav__utility:hover {
  color: var(--ink);
}

.nav__link[aria-current="page"] {
  background: var(--ink);
  color: var(--bg);
}

.nav__right {
  display: flex;
  min-width: 0;
}

.nav__utility {
  border-left: 2px solid var(--ink);
  border-right: 0;
}

.nav__live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 14px 22px;
  border-left: 2px solid var(--ink);
  background: var(--brand);
  color: #0a0a0c;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.nav__live::before,
.tag.live::before {
  content: "●";
  animation: pulse 1.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

.display {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.005em;
  line-height: 0.86;
  text-transform: uppercase;
  text-wrap: balance;
}

.display .acc,
.acc {
  color: var(--brand);
}

.eyebrow {
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.copy {
  color: var(--ink-2);
  line-height: 1.62;
}

.hero {
  padding: 38px 0 18px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: stretch;
}

.hero__stack {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
}

.hero-title {
  margin: 12px 0 0;
  font-size: clamp(3.4rem, 8vw, 6.4rem);
}

.hero-lede {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.6;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 40px;
  padding: 12px 18px;
  border: 2px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 0 var(--ink);
}

.btn--brand {
  border-color: var(--brand);
  background: var(--brand);
  color: #0a0a0c;
}

.btn--ghost {
  background: transparent;
}

.btn--small {
  min-height: 34px;
  padding: 8px 12px;
  font-size: 10px;
}

.arrow {
  transition: transform 0.18s ease;
}

.btn:hover .arrow,
.card-link:hover .arrow {
  transform: translateX(3px);
}

.card {
  position: relative;
  border: 2px solid var(--ink);
  background: var(--bg-2);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.18s ease;
}

.card:hover,
.card:focus-within {
  transform: translateY(-3px);
  border-color: var(--brand);
  box-shadow: 8px 8px 0 0 var(--brand);
}

.card--ours {
  border-color: var(--brand);
  background: color-mix(in oklab, var(--brand) 10%, var(--bg-2));
}

.card--ours::before {
  content: "OURS";
  position: absolute;
  top: -2px;
  right: -2px;
  z-index: 3;
  border: 2px solid var(--ink);
  background: var(--brand);
  color: #0a0a0c;
  padding: 4px 8px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  padding: 4px 10px;
  border: 1.5px solid var(--line-strong);
  background: rgba(244, 239, 231, 0.04);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.tag.brand,
.tag.is-active {
  border-color: var(--brand);
  background: var(--brand);
  color: #0a0a0c;
}

.tag.brand-ghost,
.tag.live {
  border-color: var(--brand);
  color: var(--brand);
  background: color-mix(in oklab, var(--brand) 12%, transparent);
}

.tag.dashed {
  border-style: dashed;
  color: var(--ink-3);
}

.pf {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.pf-dot {
  width: 10px;
  height: 10px;
  margin-right: 6px;
  border-radius: 1px;
  background: currentColor;
}

.pf--pc { color: var(--pc); }
.pf--xbox { color: var(--xbox); }
.pf--ps { color: var(--ps); }
.pf--browser { color: var(--browser); }
.pf--brand { color: var(--brand); }

.pf.boxed {
  min-height: 24px;
  padding: 3px 8px;
  border: 1.5px solid currentColor;
  background: color-mix(in oklab, currentColor 8%, transparent);
}

.pf.boxed .pf-dot {
  width: 6px;
  height: 6px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.launcher {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 5px;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bignum {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.85;
}

.countdown {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px;
  margin-top: 8px;
}

.countdown__num {
  font-size: clamp(4.4rem, 10vw, 11rem);
}

.countdown__unit {
  color: var(--brand);
  font-size: clamp(1.7rem, 3.2vw, 3.5rem);
}

.countdown__sec {
  color: var(--ink-3);
  font-size: clamp(2.6rem, 5vw, 5.8rem);
}

.countdown--compact {
  margin-top: 0;
  color: var(--brand);
  font-size: 18px;
}

.game-art {
  position: relative;
  min-height: var(--art-height, 200px);
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
  background:
    linear-gradient(135deg, color-mix(in oklab, var(--platform, var(--brand)) 40%, #0e1014), #11141c 54%, #06070a);
}

.game-art img {
  width: 100%;
  height: 100%;
  min-height: var(--art-height, 200px);
  object-fit: cover;
  filter: saturate(1.05) contrast(1.05) brightness(1.04);
}

.game-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(8, 9, 12, 0.58));
}

.game-art__label {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 2;
  background: var(--brand);
  color: #0a0a0c;
  padding: 4px 8px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section-head {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 20px;
  padding: 26px 0 14px;
  border-bottom: 2px solid var(--ink);
}

.section-head__no {
  flex: 0 0 auto;
  color: var(--brand);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.section-head__title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.section-head__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-left: auto;
}

.cols-2,
.cols-3,
.cols-4 {
  display: grid;
  gap: 0;
  border: 2px solid var(--ink);
}

.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.cols-2 > *,
.cols-3 > *,
.cols-4 > * {
  min-width: 0;
}

.cols-2 > *:not(:first-child),
.cols-3 > *:not(:first-child),
.cols-4 > *:not(:first-child) {
  border-left: 2px solid var(--ink);
}

.row-grid {
  display: grid;
  gap: 0;
  border: 2px solid var(--ink);
}

.row-grid > * + * {
  border-top: 2px solid var(--ink);
}

.metric {
  padding: 20px 22px;
}

.metric__value {
  margin-top: 6px;
  font-size: 64px;
}

.release-row,
.news-row,
.event-row,
.preview-row {
  display: grid;
  align-items: stretch;
  transition: background 0.18s ease;
}

.release-row:hover,
.news-row:hover,
.event-row:hover,
.preview-row:hover {
  background: rgba(244, 239, 231, 0.04);
}

.release-row {
  grid-template-columns: 44px 84px minmax(0, 1fr) minmax(150px, 0.9fr) minmax(160px, 220px) 60px;
}

.release-row.is-ours {
  background: color-mix(in oklab, var(--brand) 10%, transparent);
}

.cell {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 18px 22px;
  border-left: 2px solid var(--ink);
}

.cell:first-child {
  border-left: 0;
}

.stripe-cell {
  display: grid;
  place-items: center;
  color: var(--bg);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.date-block {
  display: flex;
  min-width: 76px;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg-2);
}

.date-block__day {
  font-size: 32px;
  line-height: 1;
}

.date-block__month {
  margin-top: 4px;
  color: var(--platform, var(--brand));
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
}

.row-title {
  margin: 0;
  font-size: 28px;
  line-height: 0.95;
}

.row-arrow {
  display: grid;
  place-items: center;
  border-left: 2px solid var(--ink);
  color: var(--platform, var(--brand));
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 800;
}

.grid-view {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 2px solid var(--ink);
}

.release-card,
.event-card,
.review-card,
.literacy-card,
.rail-card,
.roster-card {
  min-width: 0;
  padding: 22px;
  position: relative;
}

.release-card {
  min-height: 210px;
}

.release-card::before,
.event-card::before,
.review-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: var(--platform, var(--brand));
}

.release-card:not(:nth-child(3n + 1)),
.review-card:not(:nth-child(3n + 1)) {
  border-left: 2px solid var(--ink);
}

.release-card:nth-child(n + 4),
.review-card:nth-child(n + 4) {
  border-top: 2px solid var(--ink);
}

.filter-row,
.tabs-row,
.segmented {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.segmented {
  gap: 0;
  border: 2px solid var(--ink);
}

.segmented button {
  min-height: 40px;
  padding: 10px 14px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.segmented button + button {
  border-left: 2px solid var(--ink);
}

.segmented button.is-active {
  background: var(--ink);
  color: var(--bg);
}

.filter-button,
.tab-button {
  min-height: 40px;
  padding: 10px 14px;
  border: 2px solid currentColor;
  color: var(--filter, var(--ink));
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.filter-button[aria-pressed="true"],
.tab-button[aria-pressed="true"] {
  background: var(--filter, var(--ink));
  color: var(--bg);
}

.notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 16px;
  padding: 12px 14px;
  border: 1.5px dashed var(--line-strong);
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
}

.rail-header {
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--ink);
}

.rail-header__top {
  display: flex;
  gap: 14px;
  align-items: center;
}

.rail-swatch {
  width: 14px;
  height: 14px;
  background: var(--rail, var(--brand));
}

.rail-title {
  margin: 8px 0 0;
  color: var(--rail, var(--brand));
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.news-row {
  grid-template-columns: 12px 110px minmax(0, 1fr) minmax(140px, 220px) 80px;
}

.event-row {
  grid-template-columns: 12px 100px minmax(0, 1fr) minmax(150px, 1fr) minmax(150px, 220px) 120px;
}

.preview-row {
  grid-template-columns: 12px minmax(0, 1fr) minmax(160px, 1fr) minmax(150px, 220px) 60px;
}

.event-card {
  min-height: 240px;
  display: flex;
  flex-direction: column;
}

.event-card:not(:nth-child(3n + 1)) {
  border-left: 2px solid var(--ink);
}

.event-card:nth-child(n + 4) {
  border-top: 2px solid var(--ink);
}

.score-stamp {
  position: relative;
  display: grid;
  place-items: center;
  width: var(--stamp-size, 60px);
  height: var(--stamp-size, 60px);
  border: 2px solid var(--brand);
  background: var(--bg);
  transform: rotate(-4deg);
}

.score-stamp__score {
  color: var(--brand);
  font-size: calc(var(--stamp-size, 60px) * 0.55);
}

.score-stamp__suffix {
  position: absolute;
  right: 6px;
  bottom: 4px;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.18em;
}

.footer {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 28px;
  width: min(var(--maxw), calc(100% - 48px));
  margin: 52px auto 0;
  padding: 28px 0;
  border-top: 2px solid var(--ink);
}

.footer p,
.footer a {
  margin: 0;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
}

.footer a {
  color: var(--ink-2);
  transition: color 0.18s ease, transform 0.18s ease;
}

.footer a:hover {
  color: var(--brand);
  transform: translateX(3px);
}

.footer__brand {
  display: grid;
  grid-template-columns: minmax(210px, 0.42fr) minmax(0, 1fr);
  gap: 24px;
  align-items: end;
}

.footer__mark {
  color: var(--ink);
  font-size: clamp(1.25rem, 2.7vw, 2.7rem);
  font-weight: 800;
  letter-spacing: 0.12em;
}

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

.footer__brand p {
  max-width: 72ch;
  color: var(--ink-2);
}

.footer__estate {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1fr);
  gap: 24px;
  align-items: end;
  padding: 28px 0;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.footer__label,
.footer__links p,
.footer__copyright {
  color: var(--brand);
  font-weight: 800;
}

.footer__estate-title {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(3rem, 8vw, 6.2rem);
  letter-spacing: 0.005em;
  line-height: 0.86;
  text-transform: uppercase;
}

.footer__estate-title:hover {
  color: var(--brand);
  transform: none;
}

.footer__estate p {
  max-width: 74ch;
  color: var(--ink-2);
}

.footer__directory {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 2px solid var(--ink);
}

.footer__links {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
  padding: 18px;
}

.footer__links + .footer__links {
  border-left: 2px solid var(--ink);
}

.footer__links p {
  margin-bottom: 4px;
}

.footer__links a {
  min-height: 28px;
}

.footer__copyright {
  color: var(--ink-3);
}

.glitch {
  position: relative;
  display: inline-block;
}

.glitch:hover {
  animation: glitch-anim 0.4s steps(2) 1;
}

@keyframes glitch-anim {
  0% { text-shadow: 2px 0 var(--brand), -2px 0 var(--ps); }
  25% { text-shadow: -2px 0 var(--brand), 2px 0 var(--xbox); }
  50% { text-shadow: 2px 1px var(--ps), -2px -1px var(--pc); }
  75% { text-shadow: -1px 1px var(--brand), 1px -1px var(--xbox); }
  100% { text-shadow: none; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.rise {
  animation: rise 0.5s ease both;
}

.rise-stagger > * {
  animation: rise 0.5s ease both;
}

.rise-stagger > *:nth-child(1) { animation-delay: 0.04s; }
.rise-stagger > *:nth-child(2) { animation-delay: 0.08s; }
.rise-stagger > *:nth-child(3) { animation-delay: 0.12s; }
.rise-stagger > *:nth-child(4) { animation-delay: 0.16s; }
.rise-stagger > *:nth-child(5) { animation-delay: 0.20s; }
.rise-stagger > *:nth-child(6) { animation-delay: 0.24s; }
.rise-stagger > *:nth-child(7) { animation-delay: 0.28s; }
.rise-stagger > *:nth-child(8) { animation-delay: 0.32s; }

@view-transition {
  navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.32s;
}

.is-hidden {
  display: none !important;
}

@media (max-width: 1120px) {
  .nav {
    grid-template-columns: 1fr;
  }

  .nav__brand,
  .nav__links,
  .nav__right,
  .nav__link,
  .nav__utility,
  .nav__live {
    border-left: 0;
    border-right: 0;
  }

  .nav__links,
  .nav__right {
    max-width: 100%;
    overflow-x: auto;
    border-top: 2px solid var(--ink);
  }

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

  .cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cols-4 > *:nth-child(odd) {
    border-left: 0;
  }

  .cols-4 > *:nth-child(n + 3) {
    border-top: 2px solid var(--ink);
  }

  .release-row,
  .news-row,
  .event-row,
  .preview-row {
    grid-template-columns: 10px 1fr;
  }

  .release-row > .cell,
  .news-row > .cell,
  .event-row > .cell,
  .preview-row > .cell,
  .row-arrow {
    grid-column: 2;
    border-top: 2px solid var(--ink);
    border-left: 2px solid var(--ink);
  }

  .release-row > .cell:nth-child(2),
  .news-row > .cell:nth-child(2),
  .event-row > .cell:nth-child(2),
  .preview-row > .cell:nth-child(2) {
    border-top: 0;
  }

  .date-block {
    min-height: 78px;
  }

  .grid-view,
  .cols-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .release-card:not(:nth-child(3n + 1)),
  .review-card:not(:nth-child(3n + 1)),
  .event-card:not(:nth-child(3n + 1)) {
    border-left: 0;
  }

  .release-card:not(:nth-child(2n + 1)),
  .review-card:not(:nth-child(2n + 1)),
  .event-card:not(:nth-child(2n + 1)),
  .cols-3 > *:not(:nth-child(2n + 1)) {
    border-left: 2px solid var(--ink);
  }

  .release-card:nth-child(n + 3),
  .review-card:nth-child(n + 3),
  .event-card:nth-child(n + 3),
  .cols-3 > *:nth-child(n + 3) {
    border-top: 2px solid var(--ink);
  }
}

@media (max-width: 720px) {
  .shell,
  .footer {
    width: min(100% - 28px, var(--maxw));
  }

  .marquee {
    font-size: 10px;
  }

  .nav__brand,
  .nav__link,
  .nav__utility,
  .nav__live {
    min-height: 48px;
    padding: 12px 14px;
    font-size: 10px;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-title {
    font-size: clamp(3rem, 18vw, 4.8rem);
  }

  .countdown__num {
    font-size: clamp(3rem, 19vw, 5rem);
  }

  .countdown__unit {
    font-size: clamp(1.2rem, 8vw, 2rem);
  }

  .countdown__sec {
    font-size: clamp(2rem, 13vw, 3.2rem);
  }

  .section-head {
    display: grid;
    gap: 8px;
  }

  .section-head__meta {
    margin-left: 0;
  }

  .cols-2,
  .cols-3,
  .cols-4,
  .grid-view {
    grid-template-columns: 1fr;
  }

  .cols-2 > *,
  .cols-3 > *,
  .cols-4 > *,
  .grid-view > *,
  .release-card,
  .review-card,
  .event-card {
    border-left: 0 !important;
  }

  .cols-2 > * + *,
  .cols-3 > * + *,
  .cols-4 > * + *,
  .grid-view > * + * {
    border-top: 2px solid var(--ink);
  }

  .cell {
    padding: 16px;
  }

  .row-title {
    font-size: 24px;
  }

  .filter-row,
  .tabs-row,
  .action-row {
    align-items: stretch;
  }

  .filter-button,
  .tab-button,
  .btn {
    width: 100%;
  }

  .segmented {
    width: 100%;
  }

  .segmented button {
    flex: 1;
  }

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

  .footer__brand,
  .footer__estate,
  .footer__directory {
    grid-template-columns: 1fr;
  }

  .footer__links + .footer__links {
    border-top: 2px solid var(--ink);
    border-left: 0;
  }
}

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

  .marquee__track {
    animation: none !important;
  }
}
