:root {
  --bg: #0a0a0a;
  --fg: #f2f2ee;
  --muted: #6b6b66;
  --line: #222220;
  --accent: #d7101c;
  --display: "Anybody", "Arial Black", Arial, sans-serif;
  --text: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --pad: clamp(20px, 4vw, 48px);
}

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

html, body { height: 100%; }

body {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--display);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* subtle film grain */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.top,
.bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--pad);
  font-family: var(--text);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* logo: a red redaction bar held between two brackets — "to be filled in" */
.mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--fg);
  text-decoration: none;
}

.mark-icon {
  width: 42px;
  height: 28px;
  display: block;
  overflow: visible;
}

.mark-bar {
  fill: var(--accent);
  transform-box: fill-box;
  transform-origin: left;
  transform: scaleX(0);
  animation: grow 0.6s 0.3s cubic-bezier(0.7, 0, 0.2, 1) forwards;
}

.mark:hover .mark-bar { animation: blink 0.24s steps(1) 3; transform: none; }

.mark-word {
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 150%;
  font-size: 20px;
  letter-spacing: 0.02em;
  line-height: 1;
}

.meta,
.date { color: var(--muted); }

.stage {
  align-self: center;
  padding: 0 var(--pad);
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--text);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: clamp(16px, 2vw, 28px);
  opacity: 0;
  animation: rise 0.9s 0.1s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

.bar {
  width: 36px;
  height: 2px;
  background: var(--accent);
}

.title {
  font-weight: 900;
  font-stretch: 150%;
  text-transform: uppercase;
  line-height: 0.84;
  letter-spacing: -0.035em;
  font-size: clamp(68px, 16vw, 250px);
}

.title .line {
  display: block;
  opacity: 0;
  transform: translateY(40px);
  animation: rise 1s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

.title .line:nth-child(2) { animation-delay: 0.15s; }

/* "redacted" bar behind TBA — the name is yet to be revealed */
.strike {
  position: relative;
  width: fit-content;
  color: var(--bg);
  -webkit-text-stroke: 3px var(--fg);
}

.strike::after {
  content: "";
  position: absolute;
  left: -0.04em;
  right: -0.04em;
  top: 50%;
  height: 0.12em;
  background: var(--accent);
  transform: translateY(-50%) scaleX(0);
  transform-origin: left;
  animation: wipe 0.8s 0.9s cubic-bezier(0.7, 0, 0.2, 1) forwards;
}

.countdown {
  display: flex;
  align-items: flex-start;
  gap: clamp(10px, 2.4vw, 32px);
  margin-top: clamp(40px, 6vw, 80px);
  padding-top: clamp(20px, 2.5vw, 32px);
  border-top: 1px solid var(--line);
  opacity: 0;
  animation: rise 0.9s 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

.unit {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.num {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 112%;
  font-size: clamp(32px, 6vw, 72px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  min-width: 1.5em; /* keeps the row from shifting as digits change */
}

.lbl {
  font-family: var(--text);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.sep {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(32px, 6vw, 72px);
  line-height: 1;
  color: var(--line);
}

.reveal {
  margin-top: 24px;
  font-family: var(--text);
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.is-live .strike { color: var(--fg); }

.contact {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--fg);
  background: var(--accent);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 125%;
  font-size: clamp(14px, 1.4vw, 18px);
  letter-spacing: 0.02em;
  padding: 18px 26px;
  box-shadow: 0 0 0 0 var(--fg);
  transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.contact span {
  display: inline-block;
  transition: transform 0.2s;
}

.contact:hover,
.contact:focus-visible {
  background: var(--fg);
  color: var(--bg);
  transform: translate(-4px, -4px);
  box-shadow: 4px 4px 0 0 var(--accent);
  outline: none;
}

.contact:active { transform: none; box-shadow: 0 0 0 0 var(--accent); }

.contact:hover span,
.contact:focus-visible span { transform: translateX(4px); }

@keyframes rise {
  to { opacity: 1; transform: none; }
}

@keyframes wipe {
  to { transform: translateY(-50%) scaleX(1); }
}

@keyframes grow {
  to { transform: scaleX(1); }
}

@keyframes blink {
  0% { opacity: 0; }
  50% { opacity: 1; }
}

@media (max-width: 560px) {
  .contact { padding: 14px 18px; gap: 10px; }
  .mark-icon { width: 36px; height: 24px; }
  .mark-word { font-size: 17px; }
  .sep { display: none; }
  .countdown { justify-content: space-between; }
  .strike { -webkit-text-stroke-width: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
  }
}
