:root {
  --ink: #000005;
  --paper: #f2f3f5;
  --body: #c9cad2;
  --dim: #85868f;
  /* Raised from #4a4b52, which sat at ~2.4:1 on the ink and failed AA. */
  --dimmer: #7a7b85;
  --accent: #c3ec2e;
  --rule: rgba(242, 243, 245, 0.16);
  --rule-soft: rgba(242, 243, 245, 0.08);

  --display: "Anton", "Arial Narrow", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --text: "Inter", system-ui, sans-serif;

  --gutter: clamp(20px, 4vw, 56px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
}

/* Fine scanlines, sitting above everything at a near-invisible alpha —
   ties the type and the background into one surface. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.014) 0 1px,
    transparent 1px 3px
  );
}

/* One focus treatment for every interactive element. Offset puts the ring
   on the ink even when the control itself is filled with the accent. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--accent);
  color: var(--ink);
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
  padding: 12px 18px;
  text-decoration: none;
}

.skip:focus {
  left: 0;
}

/* ── ambience ───────────────────────────────────────────────
   Three oversized, soft-edged gradients drifting on long, mutually
   prime periods so the composite never visibly loops. Only transform
   and opacity animate, so this stays on the compositor — no repaints.
   Softness comes from the gradient falloff, not filter: blur(), which
   would be far more expensive to animate.                            */

.ambience {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  display: block;
  border-radius: 50%;
  will-change: transform, opacity;
}

.orb-1 {
  width: 78vmax;
  height: 78vmax;
  top: -26vmax;
  left: -18vmax;
  background: radial-gradient(
    circle at center,
    rgba(163, 219, 60, 0.085),
    rgba(163, 219, 60, 0) 62%
  );
  animation: drift-1 52s ease-in-out infinite alternate;
}

.orb-2 {
  width: 62vmax;
  height: 62vmax;
  top: 22vmax;
  right: -22vmax;
  background: radial-gradient(
    circle at center,
    rgba(70, 132, 118, 0.075),
    rgba(70, 132, 118, 0) 64%
  );
  animation: drift-2 67s ease-in-out infinite alternate;
}

.orb-3 {
  width: 54vmax;
  height: 54vmax;
  bottom: -24vmax;
  left: 28vmax;
  background: radial-gradient(
    circle at center,
    rgba(195, 236, 46, 0.045),
    rgba(195, 236, 46, 0) 66%
  );
  animation: drift-3 83s ease-in-out infinite alternate;
}

/* Modest travel plus a little scale. Perceptible if you watch the page
   for a few seconds, calm enough to ignore while reading. */
@keyframes drift-1 {
  from { transform: translate3d(0, 0, 0) scale(1); opacity: 0.8; }
  to   { transform: translate3d(7vw, 4vh, 0) scale(1.11); opacity: 1; }
}

@keyframes drift-2 {
  from { transform: translate3d(0, 0, 0) scale(1.04); opacity: 1; }
  to   { transform: translate3d(-5.5vw, -4.5vh, 0) scale(1); opacity: 0.72; }
}

@keyframes drift-3 {
  from { transform: translate3d(0, 0, 0) scale(1); opacity: 0.8; }
  to   { transform: translate3d(4.5vw, -3vh, 0) scale(1.13); opacity: 1; }
}

/* Fine film grain, stepped so it flickers like emulsion rather than
   sliding. Tile repeats; only transform animates. */
.grain {
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.024;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 14s steps(4) infinite;
  will-change: transform;
}

@keyframes grain {
  0%   { transform: translate3d(0, 0, 0); }
  25%  { transform: translate3d(-2%, 1.5%, 0); }
  50%  { transform: translate3d(1.5%, -2%, 0); }
  75%  { transform: translate3d(-1.5%, -1%, 0); }
  100% { transform: translate3d(2%, 1%, 0); }
}

/* Content sits above the ambience. The masthead keeps its own higher
   z-index (set below) so it stays over the page while sticky. */
main,
.colophon {
  position: relative;
  z-index: 1;
}

.shell {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ── shared editorial furniture ─────────────────────────── */

.kicker,
.rubric,
.herometa,
.terms,
.sound,
.facts,
.masthead-nav a,
.colophon-inner,
.field span,
.submit,
.cta,
.note {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.66rem;
}

.rubric {
  display: flex;
  align-items: baseline;
  gap: 0.9em;
  color: var(--dim);
  font-weight: 400;
  margin: 0 0 clamp(26px, 3.6vw, 46px);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
}

.folio {
  color: var(--accent);
}

.statement {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(1.8rem, 5.2vw, 3.8rem);
  line-height: 0.96;
  letter-spacing: -0.01em;
  margin: 0;
  max-width: 24ch;
}

.statement-sm {
  font-size: clamp(1.5rem, 3.4vw, 2.4rem);
  margin-bottom: 20px;
}

.prose {
  color: var(--body);
  font-size: 1.05rem;
  max-width: 56ch;
  margin: 0;
}

/* ── masthead ───────────────────────────────────────────── */

.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 0, 5, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}

.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 58px;
}

.kicker {
  color: var(--paper);
}

.masthead-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 30px);
}

.masthead-nav a {
  color: var(--dim);
  text-decoration: none;
  transition: color 0.18s ease;
}

.masthead-nav a:hover {
  color: var(--accent);
}

/* Tickets stays a distinct target at every width — it is the one link
   that has to survive on a phone coming in from Instagram. */
/* Qualified with the parent so it outranks `.masthead-nav a`, which is
   more specific than a bare class and would otherwise force the link grey
   and make the hover state accent-on-accent. */
.masthead-nav a.nav-tickets {
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 9px 16px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.masthead-nav a.nav-tickets:hover {
  background: var(--accent);
  color: var(--ink);
}

@media (max-width: 560px) {
  .masthead-nav a:not(.nav-tickets) { display: none; }
}

/* ── titlepiece ─────────────────────────────────────────── */

.titlepiece {
  padding: clamp(36px, 5vw, 76px) 0 clamp(28px, 4vw, 44px);
}

.wordmark-box {
  container-type: inline-size;
}

.wordmark {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.82;
  letter-spacing: -0.012em;
  margin: 0;
  white-space: nowrap;
  /* Measured: "INITIALIZE" in Anton is 3.384em wide at this tracking, so
     100/3.384 ≈ 29.5cqw fills the column. 29.2 leaves a sliver of slack.
     The vw value is the fallback where cqw is unsupported. */
  font-size: min(28vw, 22rem);
  font-size: 29.2cqw;
}

.herometa {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px clamp(18px, 3vw, 40px);
  margin: clamp(20px, 3vw, 34px) 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--rule);
  color: var(--paper);
}

.edition {
  color: var(--accent);
}

.cta-row {
  margin-top: clamp(22px, 3vw, 32px);
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 16px 34px;
  background: var(--accent);
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--accent);
  transition: background 0.18s ease, color 0.18s ease;
}

.cta:hover {
  background: transparent;
  color: var(--accent);
}

.terms {
  color: var(--dim);
  margin: 16px 0 0;
  letter-spacing: 0.14em;
}

/* ── spreads ────────────────────────────────────────────── */

.spread {
  padding: clamp(44px, 6vw, 88px) 0;
}

.spread-rule {
  border-top: 1px solid var(--rule-soft);
}

/* ── lineup ─────────────────────────────────────────────── */

/* No text-transform here on purpose: MEAKIN, ANML × PRTY and by dusk are
   supplied with deliberate casing and are rendered exactly as given. */
.bill {
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.005em;
}

.bill li {
  font-size: clamp(1.85rem, 6vw, 3.5rem);
  padding: 0.14em 0 0.18em;
  border-bottom: 1px solid var(--rule-soft);
}

.bill li:first-child {
  font-size: clamp(2.2rem, 7.4vw, 4.3rem);
}

.sound {
  color: var(--accent);
  margin: 22px 0 0;
}

/* ── info ───────────────────────────────────────────────── */

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(28px, 5vw, 72px);
  margin: 0;
  letter-spacing: 0.12em;
}

.fact {
  display: grid;
  grid-template-columns: minmax(6.5em, auto) 1fr;
  gap: 0.7em;
  align-items: baseline;
  padding: 15px 0;
  border-bottom: 1px solid var(--rule-soft);
}

.fact dt {
  color: var(--dim);
}

.fact dt::after {
  content: " —";
}

.fact dd {
  margin: 0;
  color: var(--paper);
}

@media (max-width: 700px) {
  .facts { grid-template-columns: minmax(0, 1fr); }
}

/* ── contact ────────────────────────────────────────────── */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

@media (max-width: 820px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
}

.maillink {
  font-family: var(--mono);
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  font-size: 0.9rem;
  word-break: break-all;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field span {
  color: var(--dim);
}

.field input,
.field textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  color: var(--paper);
  font-family: var(--text);
  font-size: 1rem;
  padding: 10px 2px;
  border-radius: 0;
  resize: vertical;
  transition: border-color 0.18s ease;
}

.field input:focus,
.field textarea:focus {
  border-bottom-color: var(--accent);
}

.submit {
  align-self: flex-start;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--paper);
  border-radius: 0;
  min-height: 52px;
  padding: 15px 42px;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.submit:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.note {
  color: var(--dim);
  margin: 0;
  min-height: 1.2em;
  letter-spacing: 0.12em;
}

/* ── colophon ───────────────────────────────────────────── */

.colophon {
  border-top: 1px solid var(--rule);
  padding: 26px 0;
}

.colophon-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px clamp(18px, 3vw, 36px);
  color: var(--dimmer);
}

.colophon-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px clamp(16px, 2.6vw, 30px);
}

.colophon-links a {
  color: var(--dim);
  text-decoration: none;
  transition: color 0.18s ease;
}

.colophon-links a:hover {
  color: var(--accent);
}

@media (max-width: 620px) {
  .colophon-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Freeze all motion for anyone who asks for it — the aura stays as a
   static glow, which is the whole effect minus the drift. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
