@font-face {
  font-family: "Anton";
  src: url("/fonts/anton.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Oswald";
  src: url("/fonts/oswald.woff2") format("woff2");
  font-weight: 200 700;
  font-display: swap;
}

:root {
  --ink: #0a0a0b;
  --ink-2: #141416;
  --bone: #ece6da;
  --dim: #8b857b;
  --faint: #3a3836;
  --blood: #c8102e;
  --gutter: clamp(16px, 4vw, 48px);
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }

body {
  background:
    radial-gradient(120% 80% at 50% 45%, var(--ink-2) 0%, var(--ink) 60%, #050506 100%);
  background-color: var(--ink);
  color: var(--bone);
  font-family: "Oswald", "Arial Narrow", system-ui, sans-serif;
  font-weight: 400;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Film grain */
.grain {
  position: fixed;
  inset: -50%;
  pointer-events: none;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
  z-index: 3;
}
@keyframes grain {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-3%, 2%); }
  40%  { transform: translate(2%, -4%); }
  60%  { transform: translate(-4%, -1%); }
  80%  { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}

/* Crop marks */
.frame { position: fixed; inset: var(--gutter); pointer-events: none; z-index: 2; }
.mark { position: absolute; width: 22px; height: 22px; border-color: var(--faint); border-style: solid; border-width: 0; }
.tl { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.tr { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.bl { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.br { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }

.top, .bottom {
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: calc(var(--gutter) + 18px) calc(var(--gutter) + 22px);
  font-size: 12px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--dim);
}
.mono {
  font-family: "Anton", Impact, sans-serif;
  font-size: 18px;
  letter-spacing: .08em;
  color: var(--bone);
}
.meta { color: var(--dim); }
a { color: inherit; text-decoration: none; }
a:hover, a:focus-visible { color: #fff; }
a:focus-visible { outline: 1px solid var(--blood); outline-offset: 6px; }

/* Center stage */
.stage {
  position: relative;
  z-index: 4;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  padding: 0 var(--gutter);
}

.kicker {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: clamp(11px, 1.1vw, 13px);
  font-weight: 500;
  letter-spacing: .5em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: clamp(14px, 2.4vw, 28px);
  padding-left: .5em; /* balance trailing letter-spacing */
  opacity: 0;
  animation: rise .9s .2s cubic-bezier(.2,.7,.2,1) forwards;
}
.rule { width: clamp(24px, 5vw, 64px); height: 1px; background: var(--faint); }

.wordmark {
  font-family: "Anton", Impact, "Arial Narrow Bold", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  line-height: .86;
  letter-spacing: -.005em;
  font-size: clamp(64px, 17vw, 240px);
  display: flex;
  gap: .18em;
  color: var(--bone);
}
.wordmark span {
  display: inline-block;
  opacity: 0;
  transform: translateY(.18em);
  animation: rise 1.1s cubic-bezier(.2,.7,.2,1) forwards;
}
.w1 { animation-delay: .35s !important; }
.w2 {
  animation-delay: .5s !important;
  background: linear-gradient(100deg, var(--bone) 0%, var(--bone) 40%, #fff 50%, var(--bone) 60%, var(--bone) 100%);
  background-size: 300% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.wordmark .w2 { animation: rise 1.1s .5s cubic-bezier(.2,.7,.2,1) forwards, sheen 7s 2.2s ease-in-out infinite; }

.slash {
  width: min(62vw, 720px);
  height: 2px;
  margin-top: clamp(18px, 3vw, 36px);
  background: linear-gradient(90deg, transparent, var(--blood) 18%, var(--blood) 82%, transparent);
  transform: scaleX(0);
  transform-origin: left center;
  animation: cut 1.1s 1.1s cubic-bezier(.7,0,.2,1) forwards;
  box-shadow: 0 0 18px rgba(200, 16, 46, .45);
}

.status {
  margin-top: clamp(16px, 2.6vw, 30px);
  font-size: clamp(12px, 1.3vw, 15px);
  font-weight: 300;
  letter-spacing: .6em;
  padding-left: .6em;
  text-transform: uppercase;
  color: var(--bone);
  opacity: 0;
  animation: rise .9s 1.6s cubic-bezier(.2,.7,.2,1) forwards;
}

@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes cut { to { transform: scaleX(1); } }
@keyframes sheen {
  0%, 70% { background-position: 100% 0; }
  100%    { background-position: 0% 0; }
}

@media (max-width: 560px) {
  .wordmark { flex-direction: column; gap: 0; font-size: clamp(64px, 26vw, 140px); }
  .top, .bottom { font-size: 10px; letter-spacing: .24em; }
  .bottom { flex-direction: column; gap: 6px; }
  .kicker { letter-spacing: .4em; }
}

@media (prefers-reduced-motion: reduce) {
  .grain { animation: none; }
  .kicker, .wordmark span, .status { animation: none !important; opacity: 1; transform: none; }
  .slash { animation: none; transform: none; }
}
