/* Abnormaal — NoArt-minimal layout, ABNØRMAAL canvas */
@import url("colors_and_type.css");

:root {
  --ink: var(--color-amethyst);
  --paper: var(--color-snow);
  --paper-pure: #ffffff;
  --accent: var(--color-red-ochre);
  --hot: var(--color-spicy-orange);
  --hairline: rgba(42, 0, 78, 0.16);
  --hairline-strong: rgba(42, 0, 78, 0.45);
  --muted: rgba(42, 0, 78, 0.62);
  --on-dark: var(--color-snow);
  --on-dark-muted: rgba(255, 247, 245, 0.62);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Lenia Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--accent); color: var(--paper); }
a { color: inherit; text-decoration: none; }

.squid { font-family: "SquidBoy", "Lenia Sans", sans-serif; font-weight: 400; }
.shell { max-width: 1440px; margin: 0 auto; padding: 0 96px; }
@media (max-width: 900px) {
  .shell { padding: 0 28px; }
}

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transform: translateY(0);
  transition: background 280ms cubic-bezier(0.2,0.8,0.2,1),
              backdrop-filter 280ms cubic-bezier(0.2,0.8,0.2,1),
              border-color 280ms cubic-bezier(0.2,0.8,0.2,1),
              box-shadow 280ms cubic-bezier(0.2,0.8,0.2,1),
              transform 320ms cubic-bezier(0.2,0.8,0.2,1);
}
.nav.is-hidden {
  transform: translateY(-105%);
}
.nav.is-open.is-hidden {
  /* Drawer is open — keep the bar pinned even if user starts scrolling. */
  transform: translateY(0);
}
.nav.is-scrolled {
  background: color-mix(in oklab, var(--paper) 70%, transparent);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: color-mix(in oklab, var(--ink) 12%, transparent);
}
body[data-mode="dark"] .nav.is-scrolled {
  background: color-mix(in oklab, var(--ink) 60%, transparent);
  border-bottom-color: color-mix(in oklab, var(--paper) 14%, transparent);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 48px 22px 32px;
  position: relative;
  max-width: 1440px; margin: 0 auto;
  gap: 32px;
}
.nav-logo { display: inline-flex; align-items: center; height: 32px; position: relative; }
.nav-logo img { display: block; height: 32px; width: auto; }
.nav-logo-img { transition: opacity 220ms cubic-bezier(0.2,0.8,0.2,1); }
.nav-logo-img--dark {
  position: absolute; inset: 0;
  opacity: 0;
}
.nav.is-scrolled .nav-logo-img--light { opacity: 0; }
.nav.is-scrolled .nav-logo-img--dark { opacity: 1; }
.nav-links {
  display: flex; gap: 28px;
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.02em;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
@media (max-width: 900px) {
  .nav-links { position: static; transform: none; }
}
.nav-links a {
  position: relative; padding: 4px 0;
  transition: color 220ms cubic-bezier(0.2,0.8,0.2,1);
}
.nav-links a:hover { color: var(--accent); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--ink);
}
.nav-cta {
  position: relative;
  font-family: inherit;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--ink); color: var(--paper);
  border: 1px solid var(--ink);
  padding: 0;
  cursor: pointer;
  transition: transform 180ms cubic-bezier(0.2,0.8,0.2,1),
              border-color 180ms cubic-bezier(0.2,0.8,0.2,1);
  display: inline-flex; align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.nav-cta-inner {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px;
}
.nav-cta-arrow {
  display: block;
  transition: transform 220ms cubic-bezier(0.2,0.8,0.2,1);
}
/* Colorful brand glow — uses the three accent hues from the palette
   (ochre → amethyst → indigo). Hidden until hover. */
.nav-cta--colorful .nav-cta-glow {
  position: absolute; inset: -2px;
  background: linear-gradient(110deg,
    var(--color-red-ochre) 0%,
    var(--color-spicy-orange) 20%,
    var(--color-indigo) 45%,
    var(--color-amethyst) 65%,
    var(--color-red-ochre) 85%,
    var(--color-spicy-orange) 100%);
  background-size: 300% 100%;
  background-position: 0% 50%;
  filter: blur(10px);
  opacity: 0;
  transition: opacity 380ms cubic-bezier(0.2,0.8,0.2,1);
  pointer-events: none;
}
.nav-cta--colorful:hover .nav-cta-glow {
  opacity: 0.95;
  animation: nav-cta-flow 3.2s linear infinite;
}
@keyframes nav-cta-flow {
  from { background-position: 0% 50%; }
  to   { background-position: 200% 50%; }
}
.nav-cta--colorful:hover .nav-cta-arrow { transform: translate(2px, -2px); }
.nav-cta:hover {
  border-color: transparent;
}
.nav-cta:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* When nav is transparent (top of page) and sitting over the dark hero,
   keep the white textured logo as-is, flip the CTA so it reads on dark. */
.nav-logo img { filter: none; }
.nav:not(.is-scrolled) .nav-links { color: var(--on-dark); }
.nav:not(.is-scrolled) .nav-links a.active::after { background: var(--on-dark); }
.nav:not(.is-scrolled) .nav-cta {
  background: transparent;
  color: var(--on-dark);
  border-color: rgba(255,247,245,0.55);
}
.nav:not(.is-scrolled) .nav-cta:hover {
  border-color: transparent;
}

/* Pages whose top section is on a LIGHT surface (no dark hero):
   the unscrolled nav should already read as if it were scrolled — dark logo,
   ink-coloured links — so it's legible on cream paper. */
body[data-nav-surface="light"] .nav:not(.is-scrolled) .nav-logo-img--light { opacity: 0; }
body[data-nav-surface="light"] .nav:not(.is-scrolled) .nav-logo-img--dark { opacity: 1; }
body[data-nav-surface="light"] .nav:not(.is-scrolled) .nav-links { color: var(--ink); }
body[data-nav-surface="light"] .nav:not(.is-scrolled) .nav-links a.active::after { background: var(--ink); }
body[data-nav-surface="light"] .nav:not(.is-scrolled) .nav-burger {
  color: var(--ink);
  border-color: rgba(42,0,78,0.45);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--on-dark);
  overflow: hidden;
  border-bottom: 1px solid var(--ink);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url("assets/backgrounds/bg-social-7.png");
  background-size: cover;
  background-position: center;
  opacity: 0.55;
  mix-blend-mode: screen;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(42,0,78,0.0) 0%, rgba(42,0,78,0.4) 60%, var(--ink) 100%),
    linear-gradient(90deg, rgba(42,0,78,0.7) 0%, rgba(42,0,78,0.2) 50%, rgba(42,0,78,0.7) 100%);
}
/* Subtle film-grain overlay — sits above hero-bg, below hero-inner */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.10;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 240px 240px;
  background-repeat: repeat;
}
.hero-inner {
  position: relative; z-index: 2;
  padding: 120px 0 56px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.hero-eyebrow {
  display: flex; align-items: center; gap: 18px;
  font-size: 11px; letter-spacing: 0.22em; font-weight: 600;
  color: var(--on-dark); opacity: 0.9;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,247,245,0.2);
}
.hero-eyebrow .dot {
  width: 7px; height: 7px; background: var(--accent);
  border-radius: 50%; animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}
.hero-eyebrow .squid {
  font-size: 14px; letter-spacing: 0;
  color: var(--accent);
  margin-left: auto;
  opacity: 1;
}

/* Centered festival logo */
.hero-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 48px;
  padding: 48px 0;
  min-height: 0;
}
.hero-festival-logo {
  display: block;
  width: 100%;
  max-width: 1100px;
  height: auto;
  object-fit: contain;
}

/* Info row at bottom of hero */
.hero-info {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  position: relative;
  z-index: 2;
  gap: 40px;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255,247,245,0.25);
}
.hero-info-item .label {
  font-size: 10px; letter-spacing: 0.22em; font-weight: 600;
  color: var(--on-dark-muted);
  margin-bottom: 10px;
  text-transform: uppercase;
}
.hero-info-item .value {
  font-family: "Lenia Sans";
  font-size: 22px; font-weight: 500; color: var(--on-dark);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.hero-info-item .value sup {
  font-size: 0.55em; font-weight: 400;
  vertical-align: super;
  margin-left: 1px;
}
.hero-info-item .value em {
  font-style: italic; font-weight: 400;
  color: var(--accent);
}
.hero-info-divider {
  width: 1px; height: 44px;
  background: rgba(255,247,245,0.25);
}

/* ---------- hero CTAs ---------- */
.hero-actions {
  display: flex; gap: 18px; align-items: center;
  flex-wrap: wrap; justify-content: center;
}
.hero-btn {
  position: relative;
  display: inline-flex; align-items: center;
  font-family: inherit;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 0;
  text-decoration: none;
  cursor: pointer;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid;
  transition: transform 220ms cubic-bezier(0.2,0.8,0.2,1), border-color 220ms;
}
.hero-btn-inner {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 18px 28px;
}
.hero-btn--primary {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
}
.hero-btn--primary .hero-btn-glow {
  position: absolute; inset: -2px;
  background: linear-gradient(110deg,
    var(--color-red-ochre) 0%,
    var(--color-spicy-orange) 20%,
    var(--color-indigo) 45%,
    var(--color-amethyst) 65%,
    var(--color-red-ochre) 85%,
    var(--color-spicy-orange) 100%);
  background-size: 300% 100%;
  background-position: 0% 50%;
  filter: blur(10px);
  opacity: 0;
  transition: opacity 380ms cubic-bezier(0.2,0.8,0.2,1);
  pointer-events: none;
}
.hero-btn--primary:hover .hero-btn-glow {
  opacity: 0.95;
  animation: nav-cta-flow 3.2s linear infinite;
}
.hero-btn--primary:hover { border-color: transparent; }
.hero-btn--ghost {
  color: var(--on-dark);
  background: transparent;
  border-color: rgba(255,247,245,0.55);
}
.hero-btn--ghost:hover {
  background: var(--on-dark);
  color: var(--ink);
  border-color: var(--on-dark);
}
.hero-btn svg { transition: transform 220ms cubic-bezier(0.2,0.8,0.2,1); }
.hero-btn:hover svg { transform: translate(2px, -2px); }

/* ---------- travel & location ---------- */
.travel-section { background: var(--paper); }
.travel-frame {
  margin: 0 0 56px;
  border-radius: 6px;
  overflow: hidden;
}
.travel-drone {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.travel-copy {
  max-width: 100%;
  margin: 0;
  text-align: left;
}
.travel-display {
  font-family: "SquidBoy"; font-weight: 400;
  font-size: clamp(40px, 5.6vw, 72px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 28px;
  text-wrap: balance;
}
.travel-display br { display: none; }
.travel-body-text {
  font-family: "Lenia Sans"; font-weight: 400;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 32px;
  text-wrap: pretty;
  max-width: 820px;
}
.travel-closer {
  font-family: "Lenia Sans"; font-weight: 400;
  font-size: clamp(24px, 2.4vw, 36px);
  line-height: 1.3;
  color: var(--accent);
  margin: 0;
  text-wrap: balance;
}
.travel-closer em { font-style: italic; }

@media (max-width: 900px) {
  .travel-frame { margin-bottom: 36px; }
  .travel-display {
    font-size: 38px;
    margin-bottom: 24px;
    line-height: 1.1;
  }
  /* Mobile: keep stacked lines via the <br /> tags */
  .travel-display br { display: inline; }
  .travel-body-text { font-size: 17px; margin-bottom: 28px; }
  .travel-closer { font-size: 26px; }
}

@media (min-width: 901px) {
  /* Desktop: 'Not a park. Not a meadow. Not a stadium.' on one line.
     Shrink size so it fits within the shell width. */
  .travel-display {
    font-size: clamp(32px, 3.6vw, 48px);
    line-height: 1.2;
    white-space: nowrap;
  }
  .travel-heading .phrase {
    display: inline-block;
    margin-right: 0.35em;
  }
  .travel-heading .phrase:last-child { margin-right: 0; }
}

/* ---------- subpages: shared eyebrow / hero ---------- */
.subpage-eyebrow {
  display: flex; align-items: center; gap: 18px;
  font-size: 11px; letter-spacing: 0.22em; font-weight: 600;
  color: var(--on-dark);
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,247,245,0.2);
  margin-bottom: 56px;
}
.subpage-eyebrow .dot {
  width: 7px; height: 7px; background: var(--accent);
  border-radius: 50%; animation: pulse 1.6s infinite;
}
.subpage-eyebrow .num.squid {
  font-size: 16px; letter-spacing: 0;
  color: var(--accent);
  text-transform: none;
}
.subpage-eyebrow .squid:last-child {
  font-size: 14px; letter-spacing: 0;
  color: var(--accent);
  margin-left: auto;
  text-transform: none;
}

/* ---------- legal pages (privacy, terms) ---------- */
.legal-page {
  background: var(--paper);
  color: var(--ink);
  padding: 88px 0 96px;
}
.legal-shell {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}
.legal-eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: 0.22em; font-weight: 600;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 24px;
}
.legal-eyebrow .num {
  font-size: 18px; letter-spacing: 0;
  color: var(--accent);
}
.legal-title {
  font-family: var(--display-font, "SquidBoy", serif);
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
  text-transform: none;
  color: var(--ink);
}
.legal-meta {
  font-size: 13px;
  color: rgba(42, 0, 78, 0.6);
  margin: 0 0 56px;
  letter-spacing: 0.02em;
}
.legal-page section {
  margin-bottom: 40px;
}
.legal-page h2 {
  font-family: var(--display-font, "SquidBoy", serif);
  font-size: clamp(20px, 2.4vw, 24px);
  line-height: 1.2;
  letter-spacing: 0;
  margin: 0 0 14px;
  text-transform: none;
  color: var(--ink);
  font-weight: 600;
}
.legal-page h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  margin: 20px 0 10px;
  color: rgba(42, 0, 78, 0.75);
}
.legal-page p {
  font-family: var(--body-font, "LeniaSans", system-ui, sans-serif);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 12px;
  color: var(--ink);
}
.legal-page ul {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}
.legal-page ul li {
  font-size: 15px;
  line-height: 1.55;
  padding: 4px 0 4px 18px;
  position: relative;
  color: var(--ink);
}
.legal-page ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent);
}
.legal-page a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
.legal-page a:hover { text-decoration-thickness: 2px; }

.legal-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 20px;
  margin: 16px 0;
  background: rgba(42, 0, 78, 0.04);
  border-left: 2px solid var(--accent);
  font-size: 14px;
  line-height: 1.5;
}
.legal-card strong {
  font-weight: 700;
  margin-bottom: 4px;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 4px;
  font-size: 14px;
}
.legal-table th,
.legal-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(42, 0, 78, 0.12);
  vertical-align: top;
  line-height: 1.45;
}
.legal-table th {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(42, 0, 78, 0.6);
  border-bottom: 2px solid var(--ink);
}
.legal-table td:first-child {
  font-weight: 600;
  width: 48%;
}

@media (min-width: 769px) {
  .legal-page { padding: 120px 0 140px; }
  .legal-page h2 { font-size: 26px; margin-bottom: 16px; }
  .legal-page p, .legal-page ul li { font-size: 16px; }
}

/* ---------- about page ---------- */
.about-page {
  background: var(--paper);
  color: var(--ink);
  padding: 96px 0 120px;
  position: relative;
}
.about-page .shell {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.about-page .subpage-eyebrow {
  margin-bottom: 36px;
  color: var(--ink);
}
.about-page .subpage-eyebrow .squid:last-child {
  margin-left: 0;
}
.about-page .subpage-eyebrow .dot {
  background: var(--accent);
}
.about-title {
  font-size: clamp(64px, 11vw, 128px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  margin: 0 0 40px;
  color: var(--ink);
  text-transform: none;
}
.about-figure {
  margin: 0 0 48px;
  width: 100%;
}
.about-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  border: 1px solid rgba(42, 0, 78, 0.12);
}
.about-prose {
  max-width: 760px;
  margin: 0 auto;
}
.about-body {
  font-family: var(--body-font, "LeniaSans", system-ui, sans-serif);
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.55;
  margin: 0 0 24px;
  color: var(--ink);
}
.about-pull {
  font-family: var(--display-font, "SquidBoy", serif);
  font-size: clamp(20px, 4.4vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 36px 0;
  color: var(--ink);
  text-transform: none;
  white-space: nowrap;
}
@media (max-width: 380px) {
  .about-pull { font-size: 18px; }
}
.about-pull em {
  font-style: italic;
}
.about-closer {
  font-family: var(--display-font, "SquidBoy", serif);
  font-size: clamp(32px, 5.6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 36px 0 48px;
  text-transform: none;
}
.about-closer .accent {
  color: var(--accent);
}
.about-divider {
  height: 1px;
  background: rgba(42, 0, 78, 0.18);
  margin: 0 0 36px;
  width: 80px;
}
.about-festival {
  margin-bottom: 0;
  font-style: normal;
}

@media (min-width: 769px) {
  .about-page { padding: 120px 0 160px; }
  .about-page .subpage-eyebrow { margin-bottom: 48px; }
  .about-title { margin-bottom: 56px; }
  .about-figure { margin-bottom: 72px; }
  .about-figure img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }
  .about-pull { margin: 48px 0; }
  .about-closer { margin: 48px 0 64px; }
  .about-divider { margin-bottom: 48px; }
}

/* ---------- lineup page ---------- */
.lineup-hero {
  position: relative;
  background: var(--ink);
  color: var(--on-dark);
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--ink);
}
.lineup-hero-inner {
  position: relative; z-index: 1;
  padding: 200px 96px 96px !important;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.lineup-tba-mark {
  font-family: "SquidBoy"; font-weight: 400;
  font-size: clamp(120px, 18vw, 280px);
  line-height: 0.85;
  letter-spacing: -0.01em;
  margin: 0 0 24px;
  color: var(--on-dark);
  text-wrap: balance;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: normal;
}
.lineup-tba-mark span { display: block; }
.lineup-tba-mark em {
  display: block;
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}
.lineup-tba-sub {
  font-family: "Lenia Sans";
  font-size: 22px; line-height: 1.4;
  color: var(--on-dark); opacity: 0.9;
  margin: 0 0 64px;
  max-width: 640px;
  font-weight: 400;
  text-wrap: pretty;
}
.lineup-tba-sub em {
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
}

.lineup-cta {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.lineup-cta-note {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(255,247,245,0.7);
}
@media (max-width: 768px) {
  .lineup-cta { width: 100%; align-items: stretch; margin-top: 32px; }
  .lineup-cta .hero-btn { width: 100%; justify-content: center; }
  .lineup-cta-note { font-size: 12px; text-align: center; }
}

/* ---------- countdown ---------- */
.countdown {
  margin-top: auto;
  padding-top: 40px;
  border-top: 1px solid rgba(255,247,245,0.25);
}
.countdown-label {
  font-size: 11px; letter-spacing: 0.22em; font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.countdown-grid {
  display: flex; align-items: flex-end; gap: 16px;
  flex-wrap: wrap;
}
.countdown-cell {
  display: flex; flex-direction: column;
  align-items: flex-start;
  min-width: 140px;
}
.countdown-cell .num {
  font-family: "Lenia Sans";
  font-weight: 300;
  font-size: clamp(72px, 10vw, 144px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--on-dark);
  font-variant-numeric: tabular-nums;
}
.countdown-cell .unit {
  font-size: 12px; letter-spacing: 0.22em; font-weight: 700;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  margin-top: 8px;
}
.countdown-sep {
  font-family: "Lenia Sans";
  font-weight: 200;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 1;
  color: var(--accent);
  padding-bottom: 28px;
}
.countdown-target {
  margin-top: 18px;
  font-size: 18px;
  letter-spacing: 0;
}
.countdown.is-expired .countdown-cell .num { color: var(--accent); }

@media (max-width: 900px) {
  .countdown-grid {
    gap: 8px;
    flex-wrap: nowrap;
    width: 100%;
  }
  .countdown-cell {
    min-width: 0;
    flex: 1 1 0;
  }
  .countdown-cell .num {
    font-size: 28px !important;
    letter-spacing: -0.02em;
  }
  .countdown-cell .unit {
    font-size: 9px;
    letter-spacing: 0.12em;
    margin-top: 6px;
  }
  .countdown-sep { display: none; }
  /* Override per-section sizes */
  .event-lineup .countdown-cell .num { font-size: 32px !important; }
  .event-lineup .countdown-cell { min-width: 0; }
  .event-lineup .countdown-sep { display: none; }
}

/* ---------- tickets page ---------- */
.tickets-page {
  position: relative;
  background: var(--ink);
  color: var(--on-dark);
  overflow: hidden;
  min-height: 100vh;
  border-bottom: 1px solid var(--ink);
}
.tickets-inner {
  position: relative; z-index: 1;
  padding: 120px 0 96px;
}
.tickets-page--embed {
  background: var(--ink);
  color: var(--on-dark);
  min-height: 70vh;
  border-bottom: 1px solid var(--ink);
}
.tickets-embed-shell {
  position: relative; z-index: 1;
  padding-top: 160px;
  padding-bottom: 120px;
  min-height: 60vh;
}
#celebratix-ticket-widget {
  width: 100%;
  min-height: 480px;
  background: transparent;
  color: var(--on-dark);
  border-radius: 0;
  padding: 0;
  box-sizing: border-box;
  margin-top: 24px;
}
@media (max-width: 720px) {
  .tickets-embed-shell { padding-top: 160px; padding-bottom: 80px; }
  #celebratix-ticket-widget { margin-top: 48px; }
}
@media (max-width: 480px) {
  .tickets-embed-shell { padding-top: 160px; padding-bottom: 64px; }
  #celebratix-ticket-widget { margin-top: 56px; }
}
.tickets-headline {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 64px;
}
.tickets-headline h1 {
  font-family: "Lenia Sans";
  font-weight: 300;
  font-size: clamp(72px, 10vw, 160px);
  line-height: 0.9;
  letter-spacing: -0.035em;
  color: var(--on-dark);
  margin: 0;
}
.tickets-headline h1 em {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}
.tickets-headline p {
  font-family: "Lenia Sans";
  font-size: 18px; line-height: 1.5;
  color: var(--on-dark); opacity: 0.85;
  margin: 0;
  text-wrap: pretty;
}

.tickets-grid {
  display: flex; flex-direction: column;
  border-top: 1px solid rgba(255,247,245,0.25);
}
.ticket-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 32px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255,247,245,0.15);
  transition: background 220ms;
}
.ticket-row.tone-live:hover { background: rgba(255,247,245,0.04); }
.ticket-cell.ticket-tier {
  font-size: 26px; font-weight: 400;
  color: var(--accent);
}
.ticket-cell.ticket-price {
  font-family: "Lenia Sans";
  font-weight: 400;
  font-size: 36px;
  letter-spacing: -0.02em;
  color: var(--on-dark);
}
.ticket-cell.ticket-state {
  font-size: 13px; letter-spacing: 0.22em; font-weight: 700;
  text-transform: uppercase;
}
.ticket-cell.ticket-state.gone { color: var(--on-dark-muted); text-decoration: line-through; }
.ticket-cell.ticket-state.hot  { color: var(--accent); }
.ticket-cell.ticket-state.live { color: var(--on-dark); }
.ticket-cell.ticket-state.soft { color: var(--on-dark-muted); }
.ticket-cell.ticket-action { display: flex; justify-content: flex-end; }
.ticket-buy {
  font-family: inherit;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--paper);
  padding: 14px 22px;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 10px;
  transition: all 220ms cubic-bezier(0.2,0.8,0.2,1);
}
.ticket-buy:hover { background: var(--accent); border-color: var(--accent); color: var(--paper); }
.ticket-disabled {
  font-size: 12px; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  font-weight: 700;
}
.tickets-fineprint {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,247,245,0.25);
  display: flex; justify-content: space-between; gap: 24px;
  font-size: 12px; letter-spacing: 0.18em; font-weight: 600;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .tickets-headline { grid-template-columns: 1fr; gap: 24px; }
  .ticket-row { grid-template-columns: 1fr 1fr; row-gap: 12px; }
  .ticket-cell.ticket-action { grid-column: 1 / -1; justify-content: flex-start; }
}

@media (max-width: 900px) {
  .hero { min-height: auto; }
  .hero-inner { padding: 110px 0 48px; }
  .hero-stage { padding: 56px 0; }
  .hero-info {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hero-info-divider { display: none; }
  .hero-info-item .value { font-size: 18px; }
}

.hero-chain {
  position: absolute;
  right: -80px; bottom: -80px;
  width: 360px; height: 360px;
  background: var(--accent);
  -webkit-mask: url("assets/icons/shape-black.png") center/contain no-repeat;
          mask: url("assets/icons/shape-black.png") center/contain no-repeat;
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
}

/* ---------- sticky bar with date strip ---------- */
.date-strip {
  background: var(--accent);
  color: var(--paper);
  padding: 14px 0;
  border-bottom: 1px solid var(--ink);
}
.date-strip-inner {
  display: flex; justify-content: space-between; align-items: center;
  max-width: 1440px; margin: 0 auto; padding: 0 96px;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
}
.date-strip .squid {
  font-size: 16px; letter-spacing: 0; text-transform: none; font-weight: 400;
}

/* ---------- section header ---------- */
.section {
  padding: 120px 0;
  position: relative;
  z-index: 1;
  border-bottom: 1px solid var(--hairline);
}
.section.dark {
  background: var(--ink); color: var(--on-dark);
  border-bottom: 1px solid var(--ink);
}
.section.dark .section-header { border-color: rgba(255,247,245,0.25); }
.section.dark .section-label { color: var(--on-dark-muted); }
.section.dark .section-title { color: var(--on-dark); }

.section-header {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 56px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--hairline);
}
.section-label {
  font-size: 11px; letter-spacing: 0.22em; font-weight: 600;
  color: var(--muted); text-transform: uppercase;
  display: flex; align-items: center; gap: 14px;
}
.section-label .num {
  font-family: "SquidBoy"; font-weight: 400;
  color: var(--accent); font-size: 16px; letter-spacing: 0;
}
.section-title {
  font-family: "Lenia Sans"; font-weight: 500;
  font-size: 14px; color: var(--ink);
  letter-spacing: -0.005em;
}

/* ---------- featured event ---------- */
.event-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0;
  border: 2px solid var(--ink);
  position: relative;
  background: var(--paper);
  min-width: 0;
}
.event-card-left {
  padding: 48px 48px 40px;
  border-right: 2px solid var(--ink);
  display: flex; flex-direction: column;
  gap: 24px;
  min-width: 0;
}
.event-edition {
  font-family: "SquidBoy"; font-weight: 400;
  font-size: 22px; color: var(--accent);
  letter-spacing: 0;
}
.event-logo {
  display: flex;
  align-items: flex-start;
  margin-top: -4px;
  margin-bottom: 8px;
  text-decoration: none;
  color: inherit;
  width: 100%;
  min-width: 0;
}
.event-logo-mark {
  display: block;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 3850 / 1036;
  background-color: var(--ink);
  -webkit-mask: url("assets/logos/festival-logo-white.png") left center / contain no-repeat;
          mask: url("assets/logos/festival-logo-white.png") left center / contain no-repeat;
}
.event-name {
  font-family: "Lenia Sans"; font-weight: 700;
  font-size: clamp(56px, 7vw, 112px);
  line-height: 0.92;
  letter-spacing: -0.035em;
  margin: 0;
  color: var(--ink);
}
.event-name em {
  font-style: italic; font-weight: 400;
  color: var(--accent);
}
.event-lineup {
  margin-top: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline-strong);
}
.event-lineup .lineup-label {
  font-size: 11px; letter-spacing: 0.2em; font-weight: 600;
  color: var(--muted); text-transform: uppercase;
  margin-bottom: 12px;
}
.event-lineup .lineup-list {
  display: flex; flex-wrap: wrap;
  font-size: 16px; font-weight: 500;
  line-height: 1.6;
}
.event-lineup .lineup-list .name { white-space: nowrap; }
.event-lineup .lineup-list .name.headliner { font-weight: 800; font-size: 18px; }
.event-lineup .lineup-list .sep { color: var(--accent); margin: 0 12px; font-weight: 400; }

.event-lineup .lineup-tba {
  display: flex; align-items: baseline; gap: 18px;
  padding: 8px 0 4px;
}
.event-lineup .lineup-tba .tba-mark {
  font-size: 64px;
  line-height: 0.95;
  letter-spacing: 0.06em;
  color: var(--accent);
}
.event-lineup .lineup-tba .tba-text {
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

/* Alphabetical line-up names + see-full CTA (new) */
.event-lineup .lineup-names {
  font-family: "SquidBoy", "Lenia Sans", sans-serif;
  font-size: 32px;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: var(--accent);
  padding: 12px 0 4px;
  text-align: left;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  width: 100%;
  max-width: 100%;
}
.event-lineup .lineup-item {
  display: inline-flex;
  align-items: baseline;
  gap: 16px;
  white-space: nowrap;
}
.event-lineup .lineup-name {
  white-space: nowrap;
}
.event-lineup .lineup-sep {
  color: var(--accent);
  font-size: 24px;
  user-select: none;
}
.event-lineup .lineup-see-full {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-family: "Lenia Sans", sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  transition: opacity 180ms ease;
}
.event-lineup .lineup-see-full:hover {
  text-decoration: underline;
  opacity: 0.85;
}
@media (max-width: 900px) {
  .event-lineup .lineup-names { font-size: 22px; gap: 6px 12px; }
  .event-lineup .lineup-item { gap: 12px; }
  .event-lineup .lineup-sep { font-size: 18px; }
  .event-lineup .lineup-see-full { font-size: 12px; }
}

/* Sold-out tier */
.ticket-tier--sold {
  opacity: 0.7;
  pointer-events: none;
  cursor: not-allowed;
  border-color: color-mix(in oklab, var(--accent) 60%, transparent) !important;
  position: relative;
}
.ticket-tier--sold .ticket-tier-price {
  text-decoration: line-through;
  opacity: 0.5;
}
.ticket-tier-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--accent);
  color: #ffffff;
  font-family: "Lenia Sans", sans-serif;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 4px 10px;
  line-height: 1;
  z-index: 2;
  white-space: nowrap;
}

.event-card-right {
  padding: 0;
  display: flex; flex-direction: column;
  background: var(--ink);
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
}
.event-card-right .bg {
  position: absolute; inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url("assets/backgrounds/bg-social-3.png") center/cover;
  opacity: 0.4;
}
.event-card-right .bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(42,0,78,0.4), rgba(42,0,78,0.85));
}
.event-card-right > * { position: relative; z-index: 2; }
.event-meta-stack {
  padding: 32px 40px;
  flex: 0 0 auto;
  display: flex; flex-direction: column;
}
.meta-row {
  display: flex; justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,247,245,0.2);
  font-size: 14px;
}
.meta-row:last-of-type { border-bottom: none; }
.meta-row .k {
  color: var(--on-dark-muted);
  letter-spacing: 0.14em; font-size: 11px;
  font-weight: 600; text-transform: uppercase;
  align-self: center;
}
.meta-row .v { font-weight: 600; color: var(--on-dark); }
.meta-row .v.hot { color: var(--hot); }
.meta-row .v.gone { color: var(--on-dark-muted); text-decoration: line-through; }
.meta-row .v.soon {
  color: var(--on-dark-muted);
  font-weight: 600;
  letter-spacing: 0.14em;
  font-size: 11px;
  text-transform: uppercase;
  align-self: center;
}
.event-cta {
  background: var(--accent); color: var(--paper);
  border: none;
  margin-top: auto;
  padding: 22px 32px;
  font-family: inherit;
  font-size: 14px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 2px solid var(--ink);
  transition: all 180ms;
}
.event-cta:hover { background: var(--hot); }
.event-cta .arrow { transition: transform 220ms; font-family: "SquidBoy"; font-size: 22px; }
.event-cta:hover .arrow { transform: translateX(6px); }
.event-cta.is-disabled,
.event-cta.is-disabled:hover {
  background: var(--ink);
  color: var(--on-dark-muted);
  cursor: not-allowed;
  border-top: 2px solid var(--ink);
}
.event-cta.is-disabled .arrow { color: var(--on-dark-muted); transform: none; }

/* ---------- ticket tier grid (2x2, on dark featured panel) ---------- */
.ticket-tier-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 0 40px;
  margin-bottom: 24px;
}
.ticket-tier {
  background: rgba(255,247,245,0.06);
  border: 1px solid rgba(255,247,245,0.12);
  text-decoration: none;
  cursor: pointer;
  transition: background 180ms, border-color 180ms, transform 120ms;
  padding: 22px;
  display: flex; flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.ticket-tier-name {
  font-family: "Lenia Sans"; font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--on-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ticket-tier-price {
  font-family: "Lenia Sans"; font-weight: 400;
  font-size: 36px;
  line-height: 1;
  color: rgba(255,247,245,0.55);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.ticket-tier-status {
  font-family: "Lenia Sans"; font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,247,245,0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: auto;
}
/* Active state — when tickets go on sale, flip [data-status="on-sale"] */
.ticket-tier[data-status="on-sale"] .ticket-tier-price { color: var(--accent); }
.ticket-tier[data-status="on-sale"] .ticket-tier-status { color: var(--on-dark); }
.ticket-tier:hover {
  background: rgba(255,247,245,0.12);
  border-color: rgba(255,247,245,0.28);
}
.ticket-tier:active { transform: scale(0.98); }

/* Tickets CTA — accent paars, full link */
.event-cta--tickets {
  background: #2A004E;
  color: #fff;
  text-decoration: none;
}
.event-cta--tickets:hover { background: #1F0038; color: #fff; }

@media (max-width: 768px) {
  .ticket-tier-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 0 24px;
    margin-bottom: 24px;
  }
  .ticket-tier {
    padding: 14px;
    gap: 8px;
  }
  .ticket-tier-name {
    font-size: 11px;
    letter-spacing: 0.03em;
  }
  .ticket-tier-price {
    font-size: 24px;
  }
  .ticket-tier-status {
    font-size: 10px;
    letter-spacing: 0.03em;
  }
}
/* Mid-breakpoint: featured-event right panel gets narrow between
   ~768px and ~1100px viewport (panel ~320–460px → tiles ~150–215px).
   Tighten typography & padding so tier names fit on one line. */
@media (min-width: 769px) and (max-width: 1100px) {
  .ticket-tier-grid {
    gap: 10px;
    padding: 0 24px;
  }
  .ticket-tier {
    padding: 14px 14px 16px;
    gap: 8px;
  }
  .ticket-tier-name {
    font-size: 11px;
    letter-spacing: 0.03em;
  }
  .ticket-tier-price {
    font-size: 26px;
  }
  .ticket-tier-status {
    font-size: 10px;
    letter-spacing: 0.03em;
  }
}

/* ---------- hero info line + DJ marquee ---------- */
.hero-info-line {
  position: relative;
  z-index: 2;
  text-align: center;
  font-family: "Lenia Sans", sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-dark);
  margin-top: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.hero-info-line .hero-info-dot {
  color: color-mix(in oklab, var(--on-dark) 45%, transparent);
}

/* ---------- dual hero marquees (house + techno) ---------- */
.hero-marquees {
  position: relative;
  z-index: 2;
  border-top: 1px solid color-mix(in oklab, var(--accent) 60%, transparent);
  border-bottom: 1px solid color-mix(in oklab, var(--accent) 60%, transparent);
}
.hero-marquee {
  position: relative;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.22);
  height: 64px;
  display: flex;
  align-items: center;
}
.hero-marquee--house {
  border-bottom: 1px solid rgba(214, 39, 0, 0.3);
}
.hero-marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  white-space: nowrap;
  will-change: transform;
}
.hero-marquee-track--ltr {
  animation: hero-marquee-scroll-ltr 34s linear infinite;
  animation-delay: -7s;
}
.hero-marquee-track--rtl {
  animation: hero-marquee-scroll-rtl 34s linear infinite;
  animation-delay: -7s;
}
.hero-marquee:hover .hero-marquee-track { animation-play-state: paused; }
.hero-dj-name {
  font-family: "SquidBoy", "Lenia Sans", sans-serif;
  color: var(--on-dark);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: color 180ms ease;
  flex-shrink: 0;
  font-size: 22px;
}
.hero-dj-name:hover,
.hero-dj-name:focus-visible { color: var(--accent); outline: none; }
.hero-dj-name-part { display: inline; }
.hero-dj-name-b2b {
  display: inline;
  font-family: "Lenia Sans", sans-serif;
  font-weight: 700;
  font-size: 0.55em;
  color: var(--accent);
  vertical-align: middle;
  margin: 0 5px;
  letter-spacing: 0.08em;
}
.hero-dj-x {
  font-family: "SquidBoy", sans-serif;
  color: var(--accent);
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
}
.hero-marquee-logo {
  position: absolute;
  top: 0; bottom: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  padding: 0 24px;
  pointer-events: none;
}
.hero-marquee-logo--left {
  left: 0;
  background: linear-gradient(to right,
    color-mix(in oklab, var(--ink) 88%, black 12%) 0%,
    color-mix(in oklab, var(--ink) 88%, black 12%) 70%,
    transparent 100%);
  padding-right: 36px;
}
.hero-marquee-logo--right {
  right: 0;
  background: linear-gradient(to left,
    color-mix(in oklab, var(--ink) 88%, black 12%) 0%,
    color-mix(in oklab, var(--ink) 88%, black 12%) 70%,
    transparent 100%);
  padding-left: 36px;
}
.hero-marquee-logo img {
  height: 32px;
  width: auto;
  display: block;
}
.hero-marquee-logo img.viper-marquee-logo {
  height: 56px;
  max-width: 70px;
  margin: -12px 0;
  object-fit: contain;
}

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

@media (max-width: 900px) {
  .hero-info-line {
    font-size: 14px;
    gap: 12px;
    margin-top: 20px;
    letter-spacing: 0.12em;
  }
  .hero-marquee { height: 48px; }
  .hero-marquee-track { gap: 22px; }
  .hero-dj-name { font-size: 18px; }
  .hero-dj-x { font-size: 18px; }
  .hero-marquee-logo { padding: 0 16px; }
  .hero-marquee-logo--left { padding-right: 28px; }
  .hero-marquee-logo--right { padding-left: 28px; }
  .hero-marquee-logo img { height: 24px; }
  .hero-marquee-logo img.viper-marquee-logo { height: 44px; max-width: 56px; margin: -10px 0; }
  .hero-marquee-track--ltr,
  .hero-marquee-track--rtl { animation-delay: -4s; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-marquee-track { animation: none; }
}


/* ---------- manifesto ---------- */
.manifesto {
  background: var(--paper);
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
}
.manifesto-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 120px 28px;
  text-align: left;
}
.manifesto-eyebrow {
  font-family: "Lenia Sans", sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  margin: 0 0 32px;
}
.manifesto-body {
  font-family: "Lenia Sans", sans-serif;
  font-weight: 400;
  font-size: 23px;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 32px;
  text-wrap: pretty;
}
.manifesto-close {
  font-family: "Lenia Sans", sans-serif;
  font-weight: 500;
  font-size: 30px;
  line-height: 1.3;
  color: var(--accent);
  margin: 0;
  letter-spacing: -0.01em;
}
.manifesto-close .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(60px);
  will-change: transform, opacity;
  margin-right: 0.28em;
}
.manifesto-close .word:last-child { margin-right: 0; }

.travel-heading .phrase {
  display: block;
  opacity: 0;
  transform: translateY(60px);
  will-change: transform, opacity;
}
@media (min-width: 901px) {
  .travel-heading .phrase {
    display: inline-block;
    margin-right: 0.35em;
  }
  .travel-heading .phrase:last-child { margin-right: 0; }
  .travel-display {
    font-size: clamp(32px, 3.6vw, 48px);
    line-height: 1.2;
    white-space: nowrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  .travel-heading .phrase {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .manifesto-close .word {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 720px) {
  .manifesto-inner { padding: 80px 24px; }
  .manifesto-body { font-size: 19px; line-height: 1.5; }
  .manifesto-close { font-size: 20px; white-space: nowrap; }
}

/* ---------- marquee ---------- */
.marquee {
  background: var(--accent);
  color: var(--paper);
  padding: 22px 0;
  overflow: hidden;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  position: relative;
}
.marquee-track {
  display: flex; align-items: center; gap: 32px; white-space: nowrap;
  animation: marquee 42s linear infinite;
  width: max-content;
}
.marquee-item {
  display: inline-flex; align-items: center; gap: 32px;
  font-family: "SquidBoy"; font-weight: 400;
  font-size: 44px; letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
}
.marquee-item .marquee-text {
  font-family: "SquidBoy"; font-weight: 400;
  font-size: 44px; letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
  display: inline-block;
  padding-top: 4px; /* optical baseline against the X icon */
}
.marquee-item .star {
  width: 28px; height: 28px;
  background: var(--paper);
  -webkit-mask: url("assets/icons/shape-black.png") center/contain no-repeat;
          mask: url("assets/icons/shape-black.png") center/contain no-repeat;
  flex-shrink: 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- about ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}
.about-mark {
  position: relative;
  aspect-ratio: 1;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.about-mark::before {
  content: ""; position: absolute; inset: 0;
  background: url("assets/backgrounds/bg-social-5.png") center/cover;
  opacity: 0.65;
  mix-blend-mode: screen;
}
.about-mark img {
  width: 60%; height: 60%; object-fit: contain;
  position: relative; z-index: 1;
  filter: brightness(0) invert(1);
}
.about-mark .stamp {
  position: absolute; top: 16px; right: 16px;
  width: 80px; height: 80px;
  background: var(--paper);
  -webkit-mask: url("assets/icons/est-2023-black.png") center/contain no-repeat;
          mask: url("assets/icons/est-2023-black.png") center/contain no-repeat;
  z-index: 2;
}
.about-body {
  font-size: 26px;
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: pretty;
}
.about-body p { margin: 0 0 24px; }
.about-body p:last-child { margin-bottom: 0; }
.about-body .accent { color: var(--accent); font-style: italic; font-weight: 500; }
.about-body .squid {
  font-family: "SquidBoy"; font-weight: 400;
  font-size: 32px; color: var(--accent); letter-spacing: 0;
}
.about-stats {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 2px solid var(--ink);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.stat .num {
  font-family: "Lenia Sans"; font-weight: 800;
  font-size: 64px; line-height: 1;
  letter-spacing: -0.04em; color: var(--ink);
}
.stat .num em { color: var(--accent); font-style: normal; }
.stat .label {
  margin-top: 12px;
  font-size: 11px; letter-spacing: 0.2em;
  font-weight: 600; color: var(--muted);
  text-transform: uppercase;
}
.stat .label.squid {
  font-family: "SquidBoy"; font-weight: 400;
  font-size: 16px; letter-spacing: 0;
  text-transform: none; color: var(--accent);
}

/* ---------- archive: timeline (past editions) ---------- */
.archive-section { background: var(--paper); }

.timeline {
  list-style: none;
  margin: 0; padding: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 0;
  align-items: stretch;
}

/* The vertical rail + dot */
.timeline-rail {
  position: relative;
  display: flex;
  justify-content: center;
}
.timeline-rail::before {
  content: "";
  position: absolute;
  top: 0; bottom: -56px;
  left: 50%;
  width: 2px;
  margin-left: -1px;
  background: var(--ink);
  opacity: 0.35;
}
.timeline-item:last-child .timeline-rail::before { bottom: 50%; }
.timeline-dot {
  position: absolute;
  top: 16px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  z-index: 1;
}
.timeline-dot-num {
  font-family: "SquidBoy"; font-weight: 400;
  font-size: 16px;
  color: var(--ink);
  line-height: 1;
}
.timeline-dot--terminus {
  width: 56px; height: 56px;
  background: var(--ink);
  border-color: var(--ink);
}
.timeline-dot--terminus .timeline-dot-num {
  color: var(--paper);
  font-size: 18px;
}

/* Card */
.timeline-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--paper);
  border: 1px solid var(--hairline-strong);
  overflow: hidden;
  transition: transform 220ms cubic-bezier(.2,.8,.2,1), box-shadow 220ms;
}
.timeline-card--linked { cursor: pointer; }
.timeline-card--static { cursor: default; }
.timeline-card--linked:hover {
  transform: translate(-4px, -4px);
  box-shadow: 6px 6px 0 0 var(--ink);
}
.timeline-card--static:hover .timeline-photo img { transform: none; }
.timeline-play {
  position: absolute;
  bottom: 12px; right: 12px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px 8px 10px;
  background: var(--accent);
  color: var(--paper);
  font-family: "Lenia Sans", sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  z-index: 2;
  transition: transform 220ms cubic-bezier(.2,.8,.2,1);
}
.timeline-play svg { display: block; }
.timeline-card--linked:hover .timeline-play { transform: translateY(-2px); }
.timeline-photo {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--ink);
}
.timeline-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 600ms cubic-bezier(.2,.8,.2,1);
}
.timeline-card--linked:hover .timeline-photo img { transform: scale(1.04); }
.timeline-flag {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--accent);
  color: var(--paper);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 10px;
}
.timeline-meta {
  padding: 18px 20px 22px;
  display: flex; flex-direction: column; gap: 4px;
}
.timeline-date {
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.timeline-name {
  font-family: "Lenia Sans"; font-weight: 700;
  font-size: 22px;
  line-height: 1.1;
  margin: 4px 0 2px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.timeline-venue {
  font-family: "Lenia Sans"; font-weight: 400;
  font-size: 14px;
  line-height: 1.4;
  color: var(--muted);
}

/* Terminus (final destination) */
.timeline-terminus {
  background: var(--ink);
  color: var(--paper);
  padding: 36px 28px 32px;
  position: relative;
  overflow: hidden;
}
.timeline-terminus-eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.timeline-terminus-title {
  font-family: "SquidBoy"; font-weight: 400;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: var(--paper);
  margin: 0 0 22px;
  text-wrap: balance;
}
.timeline-terminus-meta {
  font-family: "Lenia Sans"; font-weight: 400;
  font-size: 14px;
  color: var(--on-dark-muted);
  display: flex; flex-wrap: wrap; gap: 8px;
  align-items: baseline;
  margin-bottom: 24px;
  line-height: 1.4;
}
.timeline-terminus-meta .dot { opacity: 0.5; }
.timeline-terminus-cta {
  display: inline-flex; align-items: center; gap: 14px;
  background: var(--accent);
  color: var(--paper);
  padding: 14px 22px;
  font-family: "Lenia Sans"; font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 180ms;
}
.timeline-terminus-cta:hover { background: var(--hot); }
.timeline-terminus-cta .arrow {
  font-family: "SquidBoy"; font-size: 20px;
  transition: transform 220ms;
}
.timeline-terminus-cta:hover .arrow { transform: translateX(6px); }

/* Desktop: alternating zigzag — equal cards, central rail, true overlap */
@media (min-width: 769px) {
  .timeline {
    display: block;
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 0;
    position: relative;
  }
  /* ONE continuous central line — exact 50% of .timeline */
  .timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    margin-left: -1px;
    background: var(--ink);
    opacity: 0.35;
    z-index: 0;
  }

  /* Hide per-item rail-line on desktop */
  .timeline-rail::before { display: none; }

  /* 2-column grid — central axis = exact midpoint between columns */
  .timeline-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 80px;
    position: relative;
    margin-top: -180px;
    align-items: start;
  }
  .timeline-item:first-child { margin-top: 0; }

  /* Card sizing — fill the column up to a max */
  .timeline-card,
  .timeline-terminus {
    width: 100%;
    max-width: 420px;
    position: relative;
    z-index: 1;
  }
  /* Odd (01,03,05) → left col, right-aligned */
  .timeline-item:nth-child(odd) .timeline-card,
  .timeline-item:nth-child(odd) .timeline-terminus {
    grid-column: 1;
    justify-self: end;
  }
  /* Even (02,04,06) → right col, left-aligned */
  .timeline-item:nth-child(even) .timeline-card,
  .timeline-item:nth-child(even) .timeline-terminus {
    grid-column: 2;
    justify-self: start;
  }

  .timeline-photo { aspect-ratio: 4 / 3; }

  /* Rail-dot: absolute at exact 50% of timeline-item */
  .timeline-rail {
    position: absolute;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    height: auto;
    z-index: 2;
    display: block;
  }
  .timeline-dot { position: static; }

  /* Horizontal connector line from rail to card */
  .timeline-card::before,
  .timeline-terminus::before {
    content: "";
    position: absolute;
    top: 38px;
    width: 40px;
    height: 2px;
    background: var(--ink);
    opacity: 0.35;
    z-index: 0;
  }
  .timeline-item:nth-child(odd) .timeline-card::before,
  .timeline-item:nth-child(odd) .timeline-terminus::before {
    right: -40px;
  }
  .timeline-item:nth-child(even) .timeline-card::before,
  .timeline-item:nth-child(even) .timeline-terminus::before {
    left: -40px;
  }

  .timeline-terminus { padding: 32px 28px 28px; }
  .timeline-terminus-title { font-size: clamp(36px, 4vw, 56px); }
}
.archive-card {
  cursor: pointer;
  display: flex; flex-direction: column;
  gap: 16px;
}
.archive-thumb {
  aspect-ratio: 4 / 5;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  border: 2px solid var(--ink);
  transition: transform 320ms cubic-bezier(0.2,0.8,0.2,1);
}
.archive-thumb::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(42,0,78,0.0) 0%, rgba(42,0,78,0.5) 70%, rgba(42,0,78,0.85) 100%);
  z-index: 1;
}
.archive-card:hover .archive-thumb { transform: translate(-4px, -4px); box-shadow: 4px 4px 0 0 var(--ink); }
.archive-thumb-inner {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 20px;
  z-index: 2;
  color: var(--paper);
}
.archive-edition {
  font-family: "SquidBoy"; font-weight: 400;
  font-size: 22px; color: var(--paper);
  letter-spacing: 0;
}
.archive-thumb-title {
  font-family: "Lenia Sans"; font-weight: 800;
  font-size: 32px; line-height: 0.95;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}
.archive-tone {
  margin-top: 8px;
  font-size: 11px; letter-spacing: 0.18em;
  font-weight: 600; opacity: 0.85;
}
.archive-meta {
  display: flex; justify-content: space-between;
  align-items: baseline;
  font-size: 13px;
}
.archive-meta .name { font-weight: 600; letter-spacing: -0.005em; color: var(--ink); }
.archive-meta .date {
  color: var(--accent);
  font-family: "SquidBoy"; font-weight: 400;
  font-size: 16px; letter-spacing: 0;
}

/* ---------- mailing ---------- */
.section.mailing-section { background: var(--ink); color: var(--on-dark); border-bottom: 1px solid var(--ink); }
.section.mailing-section .section-header { border-color: rgba(255,247,245,0.25); }
.section.mailing-section .section-label { color: var(--on-dark-muted); }
.section.mailing-section .section-title { color: var(--on-dark); }

.mailing-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: end;
  position: relative;
}
.mailing-title {
  font-family: "Lenia Sans"; font-weight: 700;
  font-size: clamp(48px, 6.5vw, 100px);
  line-height: 0.92;
  letter-spacing: -0.035em;
  margin: 0;
  color: var(--on-dark);
}
.mailing-title em { font-style: italic; font-weight: 400; color: var(--accent); }
.mailing-left { display: flex; flex-direction: column; gap: 32px; }
.mailing-left .countdown { align-self: stretch; margin-top: 0; padding-top: 32px; }
.event-lineup .countdown { margin-top: 24px; padding-top: 24px; border-top-color: rgba(0,0,0,0.15); }
.event-lineup .countdown-label { color: var(--ink); }
.event-lineup .countdown-cell .num { color: var(--ink); font-size: 56px; }
.event-lineup .countdown-cell { min-width: 84px; }
.event-lineup .countdown-cell .unit { color: rgba(0,0,0,0.55); }
.event-lineup .countdown-sep { color: var(--ink); font-size: 56px; padding-bottom: 16px; }
.countdown-cta {
  display: inline-block; margin-top: 18px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; text-decoration: none;
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 4px;
}
.mailing-form { display: flex; flex-direction: column; gap: 16px; }
.mailing-form .row {
  display: flex;
  border-bottom: 2px solid var(--on-dark);
  padding-bottom: 12px;
  align-items: center;
  gap: 12px;
}
.mailing-form input {
  flex: 1;
  border: none; outline: none; background: transparent;
  font-family: inherit; font-size: 22px;
  color: var(--on-dark);
  padding: 8px 0;
}
.mailing-form input::placeholder { color: var(--on-dark-muted); }
.mailing-form button {
  background: var(--accent); color: var(--paper);
  border: none;
  padding: 14px 22px;
  font-family: inherit;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  cursor: pointer;
  transition: background 180ms;
}
.mailing-form button:hover { background: var(--hot); }
.mailing-fine {
  font-size: 13px;
  color: var(--on-dark-muted);
  display: flex; gap: 16px; align-items: center;
  flex-wrap: wrap;
}
.mailing-fine .squid {
  font-family: "SquidBoy"; font-weight: 400;
  font-size: 16px; color: var(--accent);
  letter-spacing: 0;
}
.mailing-success {
  color: var(--accent);
  font-weight: 700; font-size: 15px;
  letter-spacing: 0.16em; text-transform: uppercase;
}

/* ---------- footer ---------- */
.footer {
  background: var(--ink);
  color: var(--on-dark);
  padding: 96px 0 32px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: ""; position: absolute;
  bottom: -120px; right: -120px;
  width: 480px; height: 480px;
  background: var(--accent);
  -webkit-mask: url("assets/icons/shape-black.png") center/contain no-repeat;
          mask: url("assets/icons/shape-black.png") center/contain no-repeat;
  opacity: 0.12;
  z-index: 0;
  pointer-events: none;
}
.footer-wordmark {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin-bottom: 56px;
  filter: brightness(0) invert(1);
  object-fit: contain;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,247,245,0.25);
  position: relative; z-index: 1;
}
.footer-tag {
  font-size: 18px; line-height: 1.4;
  font-weight: 400;
  max-width: 320px;
  color: var(--on-dark);
}
.footer-tag em { color: var(--accent); font-style: italic; }
.footer-stamp-row { margin-top: 24px; display: flex; gap: 16px; align-items: center; }
.footer-stamp {
  width: 72px; height: 72px;
  background: var(--on-dark);
  -webkit-mask: url("assets/icons/est-2023-black.png") center/contain no-repeat;
          mask: url("assets/icons/est-2023-black.png") center/contain no-repeat;
}
.footer-stamp-text {
  font-size: 12px;
  color: var(--on-dark);
  letter-spacing: 0.16em; text-transform: uppercase;
}
.footer-col h4 {
  font-size: 11px; letter-spacing: 0.22em; font-weight: 600;
  color: var(--on-dark-muted); text-transform: uppercase;
  margin: 0 0 18px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; transition: color 180ms; color: var(--on-dark); }
.footer-col a:hover { color: var(--accent); }
.footer-socials {
  display: flex;
  gap: 14px;
  margin-top: 4px;
}
.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid rgba(255,247,245,0.25);
  border-radius: 50%;
  color: var(--on-dark);
  transition: color 180ms, border-color 180ms, transform 180ms;
}
.footer-social:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px;
  font-size: 12px; color: var(--on-dark-muted);
  letter-spacing: 0.1em;
  position: relative; z-index: 1;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom .signoff {
  font-family: "SquidBoy"; font-weight: 400;
  font-size: 22px; color: var(--accent);  letter-spacing: 0; text-transform: none;
}
.footer-privacy {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-dark-muted, rgba(255,247,245,0.65));
  text-decoration: none;
  transition: color 180ms;
}
.footer-privacy:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-legal-links {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.footer-legal-links span[aria-hidden] {
  color: var(--on-dark-muted, rgba(255,247,245,0.5));
  font-size: 12px;
}

/* ---------- tweak overrides ---------- */
body[data-accent="amethyst"] { --accent: var(--color-amethyst); }
body[data-accent="ochre"] { --accent: var(--color-red-ochre); }
body[data-accent="indigo"] { --accent: var(--color-indigo); }

body[data-mode="light"] { --paper: var(--color-snow); }
body[data-mode="dark"] {
  --paper: #100020;
  --ink: var(--color-snow);
  --hairline: rgba(255,247,245,0.18);
  --hairline-strong: rgba(255,247,245,0.4);
  --muted: rgba(255,247,245,0.62);
}
body[data-mode="dark"] .nav-logo .nav-logo-img--light,
body[data-mode="dark"] .footer-wordmark { filter: brightness(0) invert(1); }
body[data-mode="dark"] .nav.is-scrolled .nav-logo .nav-logo-img--light { filter: brightness(0) invert(1); opacity: 1; }
body[data-mode="dark"] .nav.is-scrolled .nav-logo .nav-logo-img--dark { opacity: 0; }
body[data-mode="dark"] .nav-cta { background: var(--paper); color: var(--color-amethyst); border-color: var(--paper); }
body[data-mode="dark"] .nav-cta:hover { background: var(--accent); color: var(--paper); border-color: var(--accent); }

body[data-marquee="off"] .marquee { display: none; }

body[data-squid="off"] .squid,
body[data-squid="off"] .accent-squid { font-family: "Lenia Sans" !important; font-weight: 600 !important; }

/* ===== Hamburger + drawer (always present, only visible ≤900px) ===== */
.nav-burger {
  display: none;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid currentColor;
  cursor: pointer;
  padding: 0;
  position: relative;
  color: var(--ink);
  flex-shrink: 0;
  transition: color 220ms, border-color 220ms;
}
.nav:not(.is-scrolled) .nav-burger { color: var(--on-dark); border-color: rgba(255,247,245,0.6); }
.nav-burger span {
  position: absolute;
  left: 12px; right: 12px; height: 1.5px;
  background: currentColor;
  transition: transform 260ms cubic-bezier(0.2,0.8,0.2,1), top 260ms, opacity 200ms;
}
.nav-burger span:nth-child(1) { top: 16px; }
.nav-burger span:nth-child(2) { top: 26px; }
.nav.is-open .nav-burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav.is-open .nav-burger span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.nav-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(86vw, 380px);
  background: var(--ink);
  color: var(--on-dark);
  transform: translateX(100%);
  transition: transform 320ms cubic-bezier(0.2,0.8,0.2,1);
  z-index: 60;
  pointer-events: none;
  display: flex; flex-direction: column;
}
.nav-drawer.is-open { transform: translateX(0); pointer-events: auto; }
.nav-drawer-inner {
  flex: 1;
  padding: 100px 36px 40px;
  display: flex; flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}
.nav-drawer-inner a {
  font-family: "Lenia Sans";
  font-size: 28px; font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--on-dark);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,247,245,0.12);
  text-decoration: none;
  transition: color 200ms;
}
.nav-drawer-inner a:hover { color: var(--accent); }
.nav-drawer-cta {
  margin-top: 32px;
  display: inline-flex !important;
  align-items: center; justify-content: space-between;
  background: var(--accent);
  color: var(--paper) !important;
  padding: 18px 22px !important;
  border: 1px solid var(--accent) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.nav-drawer-cta:hover { background: var(--paper); color: var(--accent) !important; border-color: var(--paper) !important; }

.nav-drawer-scrim {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  border: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 320ms;
  z-index: 55;
  cursor: pointer;
}
.nav-drawer-scrim.is-open { opacity: 1; pointer-events: auto; }

/* ===== Mobile breakpoint ===== */
@media (max-width: 900px) {
  /* Nav */
  .nav-inner { padding: 16px 20px; gap: 16px; }
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .nav-cta-circle { width: 64px; height: 64px; }
  .nav-cta-circle-inner { width: 28px; height: 28px; }
  .nav-cta-circle-text > span { inset: 6px; transform-origin: 50% 26px; font-size: 9px; }

  /* Shell + sections */
  .shell { padding: 0 20px; }
  .section { padding: 64px 0; }
  .section-header { margin-bottom: 40px; }

  /* Hero */
  .hero { min-height: 100vh; }
  .hero-stage { gap: 32px; padding: 32px 0; }
  .hero-festival-logo { width: 100%; max-width: 100%; }
  .hero-actions { gap: 12px; width: 100%; }
  .hero-btn { flex: 1 1 auto; }
  .hero-btn-inner { padding: 16px 20px; justify-content: center; width: 100%; }

  /* Featured event card → 1 column */
  .event-card { grid-template-columns: 1fr; min-width: 0; }
  .event-card-left, .event-card-right { padding: 32px 24px; min-width: 0; }
  .event-card-left {
    border-right: none;
    border-bottom: 2px solid var(--ink);
  }
  .event-logo { width: 100%; min-width: 0; }
  .event-logo-mark { width: 100%; max-width: 100%; }
  .event-name {
    font-size: clamp(48px, 12vw, 96px);
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: normal;
  }
  .event-card-right { min-height: 320px; }
  .event-meta-stack .meta-row { font-size: 14px; }

  /* Archive → 1 column */
  .archive-grid { grid-template-columns: 1fr; gap: 24px; }
  .archive-thumb { min-height: 320px; }

  /* About grid → stacks */
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-mark { aspect-ratio: 16/10; }

  /* Mailing → 1 column */
  .mailing-inner { grid-template-columns: 1fr; gap: 36px; }
  .mailing-title { font-size: clamp(56px, 14vw, 96px); }

  /* Footer → 2 columns */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .footer-grid > *:first-child { grid-column: 1 / -1; }

  /* Section titles a touch smaller */
  .section-title { font-size: clamp(40px, 9vw, 64px); }
  .section-label { font-size: 11px; }

  /* Tickets page */
  .tickets-inner { padding: 100px 0 56px; }
  .ticket-row { padding: 18px 0; }

  /* Lineup page — mobile fix */
  .lineup-hero { min-height: auto; }
  .lineup-hero-inner { padding: 140px 24px 56px !important; }
  .lineup-tba-mark {
    font-size: clamp(48px, 14vw, 64px) !important;
    line-height: 0.9;
    letter-spacing: -0.01em;
    margin: 0 0 20px;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: none;
  }
  .lineup-tba-mark span,
  .lineup-tba-mark em { display: block; }
  .lineup-tba-sub {
    font-size: 16px !important;
    line-height: 1.5;
    margin-bottom: 40px;
    max-width: 100%;
  }

  /* About page — mobile body padding & sizing */
  .about-grid > div { min-width: 0; max-width: 100%; }
  .about-body {
    font-size: 18px !important;
    line-height: 1.5;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: anywhere;
  }
  .about-body p { margin-bottom: 18px; max-width: 100%; }
  .about-body .squid { font-size: 24px; }
  .about-stats {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 36px;
  }
  .about-stats .stat:nth-child(3) { grid-column: 1 / -1; }
  .stat .num { font-size: 44px; }
  .stat .label { font-size: 10px; }
}

/* ---------- nav circular CTA (rotating text) ---------- */
.nav-cta-circle {
  cursor: pointer;
  border: none;
  background: #2A004E;
  color: #fff;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  display: grid;
  place-content: center;
  text-decoration: none;
  transition: background 300ms cubic-bezier(0.2,0.8,0.2,1),
              transform 200ms cubic-bezier(0.2,0.8,0.2,1);
  font-weight: 700;
  flex-shrink: 0;
}
.nav-cta-circle:hover {
  background: #D62700;
  transform: scale(1.06);
}

.nav-cta-circle-text {
  position: absolute;
  inset: 0;
  animation: nav-cta-circle-rotate 9s linear infinite;
}
.nav-cta-circle-text > span {
  position: absolute;
  inset: 8px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  color: #fff;
  /* 24 chars → 360/24 = 15deg */
  transform: rotate(calc(15deg * var(--index)));
  transform-origin: 50% 34px; /* radius from center to text baseline */
}

.nav-cta-circle-inner {
  position: relative;
  width: 36px;
  height: 36px;
  overflow: hidden;
  background: #fff;
  color: #2A004E;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-cta-circle:hover .nav-cta-circle-inner {
  color: #D62700;
}
.nav-cta-circle-icon {
  position: absolute;
  transition: transform 300ms cubic-bezier(0.2,0.8,0.2,1);
}
.nav-cta-circle-icon--copy {
  transform: translate(-150%, 150%);
}
.nav-cta-circle:hover .nav-cta-circle-icon:first-child {
  transform: translate(150%, -150%);
}
.nav-cta-circle:hover .nav-cta-circle-icon--copy {
  transition: transform 300ms cubic-bezier(0.2,0.8,0.2,1) 100ms;
  transform: translate(0, 0);
}

@keyframes nav-cta-circle-rotate {
  to { rotate: 360deg; }
}

/* On the transparent nav over the dark hero we want the circle to read
   well — keep amethyst base, but on hover keep the same red-ochre. */
.nav:not(.is-scrolled) .nav-cta-circle { background: #2A004E; }
.nav:not(.is-scrolled) .nav-cta-circle:hover { background: #D62700; }

/* ===========================================================
   Mobile pass — 99% of traffic. Phone-first overrides.
   =========================================================== */
@media (max-width: 768px) {
  /* General: shell padding consistent */
  .shell { padding: 0 24px; }
  .section { padding: 80px 0; }

  /* ---- Section header: stack eyebrow + display title ---- */
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 36px;
    padding-bottom: 20px;
  }
  .section-label {
    font-size: 11px;
    letter-spacing: 0.2em;
    line-height: 1;
  }
  .section-title {
    font-family: "Lenia Sans"; font-weight: 500;
    font-size: 24px;
    line-height: 1.2;
    color: var(--ink);
    text-wrap: balance;
  }
  .section.dark .section-title { color: var(--on-dark); }

  /* ---- Hero: nav circle smaller, no overlap on wordmark ---- */
  .nav-inner { padding: 14px 20px; gap: 12px; }
  .nav-cta-circle { width: 56px !important; height: 56px !important; }
  .nav-cta-circle-inner { width: 24px !important; height: 24px !important; }
  .nav-cta-circle-text > span {
    inset: 5px !important;
    transform-origin: 50% 22px !important;
    font-size: 8px !important;
  }
  .nav-logo, .nav-logo img { height: 28px !important; }

  /* Hero spacing + actions stacked, equal width */
  .hero-inner { padding: 100px 0 48px; }
  .hero-stage { gap: 28px; padding: 24px 0; }
  .hero-eyebrow {
    flex-wrap: wrap; gap: 10px;
    font-size: 10px; letter-spacing: 0.16em;
    padding-bottom: 16px; margin-bottom: 20px;
  }
  .hero-eyebrow .squid { margin-left: 0; font-size: 13px; }
  .hero-festival-logo { width: 100%; }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .hero-btn {
    width: 100%;
    flex: 1 1 auto;
  }
  .hero-btn-inner {
    width: 100%;
    padding: 18px 20px;
    justify-content: center;
    min-height: 48px;
  }

  /* Hero info row → vertical stack, label/value */
  .hero-info {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-top: 24px;
    margin-top: 32px;
  }
  .hero-info-divider { display: none; }
  .hero-info-item .label {
    font-size: 10px; letter-spacing: 0.18em;
    margin-bottom: 6px;
  }
  .hero-info-item .value { font-size: 18px; line-height: 1.3; }

  /* ---- Manifesto: tight eyebrow, padded body, breathing close ---- */
  .manifesto-inner {
    padding: 80px 24px;
    max-width: 100%;
  }
  .manifesto-eyebrow { margin-bottom: 20px; }
  .manifesto-body {
    font-size: 19px; line-height: 1.55;
    margin-bottom: 32px;
  }
  .manifesto-close {
    font-size: 19px;
    line-height: 1.3;
    white-space: nowrap;
    margin-top: 0;
    margin-bottom: 0;
  }
  .manifesto { padding-bottom: 0; }

  /* ---- Featured event card: meta as 2-col label / value ---- */
  .event-card { grid-template-columns: 1fr; min-width: 0; }
  .event-card-left {
    padding: 32px 24px;
    border-right: none;
    border-bottom: 2px solid var(--ink);
    gap: 16px;
    min-width: 0;
  }
  .event-logo { width: 100%; min-width: 0; }
  .event-logo-mark { width: 100%; max-width: 100%; }
  .event-name {
    font-size: clamp(44px, 13vw, 60px) !important;
    line-height: 0.95;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: normal;
  }
  .event-card-right { padding: 0; min-height: auto; }
  .event-meta-stack { padding: 8px 24px 24px; }
  .meta-row {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 16px;
    padding: 18px 0;
    align-items: baseline;
  }
  .meta-row .k {
    font-size: 11px;
    letter-spacing: 0.16em;
    align-self: baseline;
  }
  .meta-row .v {
    text-align: right;
    font-size: 14px;
    line-height: 1.3;
  }
  .event-cta {
    padding: 18px 24px;
    font-size: 13px;
    letter-spacing: 0.14em;
    min-height: 56px;
  }

  /* ---- Tickets page: tier rows ---- */
  .tickets-headline { grid-template-columns: 1fr; gap: 20px; }
  .tickets-headline h1 { font-size: clamp(40px, 11vw, 56px); }
  .ticket-row {
    grid-template-columns: 1fr 1fr;
    column-gap: 16px;
    row-gap: 8px;
    padding: 20px 0;
  }
  .ticket-cell.ticket-tier { font-size: 18px; }

  /* ---- Marquee: smaller, slower ---- */
  .marquee { padding: 18px 0; }
  .marquee-item { font-size: 28px; gap: 18px; }
  .marquee-item .marquee-text { font-size: 36px; }
  .marquee-item .squid { font-size: 22px; }
  .marquee-item .star { width: 20px; height: 20px; }
  .marquee-track { gap: 24px; animation-duration: 60s; }

  /* ---- Travel section ---- */
  .travel-frame { margin-bottom: 32px; }

  /* ---- About / archive / mailing ---- */
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .archive-grid { grid-template-columns: 1fr; gap: 28px; }
  .archive-thumb { min-height: 280px; }
  .mailing-section { padding-bottom: 80px; }
  .mailing-inner { grid-template-columns: 1fr; gap: 32px; }
  .mailing-title { font-size: 38px !important; line-height: 1.05; }

  /* Mailing form: stack input + button */
  .mailing-form .row {
    flex-direction: column;
    align-items: stretch;
    border-bottom: none;
    gap: 12px;
  }
  .mailing-form input {
    border-bottom: 2px solid var(--on-dark);
    padding: 16px 0;
    font-size: 16px;
    width: 100%;
    flex: none;
  }
  .mailing-form button {
    width: 100%;
    min-height: 56px;
    padding: 16px 24px;
    font-size: 13px;
    letter-spacing: 0.16em;
    white-space: nowrap;
  }
  .mailing-fine {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    font-size: 13px;
    line-height: 1.5;
  }

  /* ---- Footer ---- */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer-grid > *:first-child { grid-column: 1 / -1; }

  /* ---- Date strip ---- */
  .date-strip-inner {
    flex-wrap: wrap; gap: 6px 14px;
    font-size: 10px; letter-spacing: 0.12em;
    padding: 10px 20px;
  }

  /* ---- Touch targets ---- */
  a, button { min-height: auto; }
  .nav-cta, .hero-btn, .event-cta, .mailing-form button {
    min-height: 48px;
  }

  /* No horizontal scroll insurance — use 'clip' so position:sticky still works on descendants */
  body, html { overflow-x: clip; }
}



/* ===========================================================
   Mobile-only hero refinements + drawer fix
   =========================================================== */
@media (max-width: 768px) {
  /* Hero: pad festival logo + small wordmark away from edges */
  .hero-inner { padding-left: 24px; padding-right: 24px; }
  /* Decorative chain shape stays small + low opacity, never over info */
  .hero-chain {
    width: 200px !important; height: 200px !important;
    right: -100px !important; bottom: -100px !important;
    opacity: 0.2 !important;
  }
  .hero-stage { padding-left: 0; padding-right: 0; }
  .hero-festival-logo { width: 100% !important; max-width: 100% !important; }
  .hero-eyebrow { padding-left: 0; padding-right: 0; }

  /* Hero info → tidy stacked block, hairlines between, padded */
  .hero-info {
    display: block !important;
    grid-template-columns: none !important;
    padding: 0;
    margin-top: 24px;
    border-top: 1px solid rgba(255,247,245,0.25);
  }
  .hero-info-divider { display: none; }
  .hero-info-item {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,247,245,0.25);
  }
  .hero-info-item:last-of-type { border-bottom: none; }
  .hero-info-item .label {
    font-size: 10px;
    letter-spacing: 0.18em;
    margin-bottom: 6px;
    color: rgba(255,247,245,0.7);
  }
  .hero-info-item .value {
    font-size: 17px;
    font-weight: 500;
    color: var(--on-dark);
    line-height: 1.3;
  }

  /* Hero CTAs: 2-up, 48% each, no arrows on mobile (cleaner) */
  .hero-actions {
    flex-direction: row !important;
    flex-wrap: nowrap;
    width: 100%;
    gap: 12px;
  }
  .hero-btn {
    flex: 1 1 0;
    width: auto !important;
    min-width: 0;
  }
  .hero-btn-inner {
    width: 100%;
    padding: 16px 18px !important;
    min-height: 54px;
    justify-content: center;
    text-align: center;
  }
  .hero-btn svg { display: none; }

  /* ===== MobileMenu — full-viewport overlay rebuild ===== */
  /* (handled by .mobile-menu rules below; keep nothing here) */

  /* Burger button stays clear, on top */
  .nav { z-index: 70; }
  .nav-burger { z-index: 80; position: relative; }
  .nav.is-open .nav-burger {
    color: var(--on-dark) !important;
    border-color: rgba(255,247,245,0.6) !important;
  }
  /* Hide tickets circle while drawer is open to clean up the top-right */
  .nav.is-open .nav-cta-circle { opacity: 0; pointer-events: none; }
}

/* ===== MobileMenu overlay (works at all widths; only burger triggers it on mobile) ===== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: var(--color-amethyst, #2A004E);
  z-index: 9999;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  animation: mobileMenuFade 200ms ease-out;
}
@keyframes mobileMenuFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.mobile-menu-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: transparent; border: none;
  color: #fff7f5;
  cursor: pointer;
  z-index: 1;
}
.mobile-menu-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 88px 24px 40px;
  gap: 4px;
}
.mobile-menu-nav a {
  font-family: "Lenia Sans", sans-serif;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #fff7f5;
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,247,245,0.14);
}
.mobile-menu-nav a:last-of-type { border-bottom: none; }
.mobile-menu-cta {
  margin-top: 24px;
  display: inline-flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--color-red-ochre, #D62700);
  color: #fff7f5 !important;
  border: none !important;
  padding: 18px 24px !important;
  font-size: 13px !important;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  min-height: 56px;
  border-radius: 0;
}
