/* =========================================================
   Addis Ababa Fashion Week — home page
   Colours and fonts come from the AAFW design system (tokens.json v2).
   Layout and motion follow the structure of the reference site.
   ========================================================= */

:root {
  /* Colour — AAFW design system values */
  --c-dark: #0e0d0c;        /* tikur — main dark background */
  --c-dark-1: #1a1816;      /* ground-raised (Runway) — cards on dark */
  --c-dark-2: #3a3632;      /* hairline (Runway) — borders on dark */
  --c-dark-3: #5e5a54;      /* ink-muted (Daylight) — muted text, unlit words */
  --c-light: #f6f1e7;       /* shemma — main light background */
  --c-light-1: #ffffff;     /* ground-raised (Daylight) */
  --c-light-2: #cfc8ba;     /* hairline (Daylight) — borders on light */
  --c-light-3: #a8a196;     /* ink-muted (Runway) — muted text on dark */
  --c-accent: #f2b705;      /* adey — the signature accent */
  --c-accent-off: #f2b705;  /* adey, used for accent words on dark (the system allows no tints) */
  --c-red: #a8321f;         /* tilet */
  --c-green: #23473a;       /* entoto */
  --c-brown: #4a2c1d;       /* buna */

  /* Type — AAFW design system families */
  --f-sans: "Raleway", "Helvetica Neue", Arial, sans-serif;
  --f-serif: "Bodoni Moda", "Didot", "Bodoni MT", serif;

  /* Motion — single curve used everywhere */
  --ease: cubic-bezier(0.65, 0.05, 0, 1);
  --dur: 0.75s;

  /* Space */
  --gap: 1.25rem;
  --pad: 1.25rem;
  --radius-s: 0.5rem;
  --radius-m: 1rem;
  --radius-l: 3rem;
}

/* Fluid rem: the layout is designed at 1728px wide and scales as a whole
   between 992px and 1920px, like the reference. Phones get their own base. */
html { font-size: clamp(9.18px, calc(100vw / 1728 * 16), 17.78px); }
@media (max-width: 767px) { html { font-size: calc(100vw / 600 * 16); } }

*, *::before, *::after { box-sizing: border-box; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--c-light);
  color: var(--c-dark);
  font-family: var(--f-sans);
  font-size: 1rem;
  line-height: 1.35;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

/* ---------- Type scale ---------- */
.t-impact {
  font-family: var(--f-sans);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: -0.02em;
  font-size: 5.25rem;
  margin: 0;
}
.t-impact .s,
.serif {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: 1em;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.t-title { font-weight: 800; text-transform: uppercase; font-size: 2rem; line-height: 0.95; margin: 0; }
.t-eyebrow { font-weight: 700; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1; }
.t-body { font-size: 1.2rem; line-height: 1.35; max-width: 28rem; }
.t-quote { font-family: var(--f-serif); font-size: 1.9rem; line-height: 1.05; }
.t-quote b { font-family: var(--f-serif); font-weight: 600; color: var(--c-light); }
.c-accent { color: var(--c-accent); }
.c-accent-off { color: var(--c-accent-off); }

/* ---------- Highlight wipe (lime bar in the reference) ---------- */
.wipe { position: relative; display: inline-block; }
.wipe > span { opacity: 0; transition: opacity 0s linear 0.32s; }
.wipe::after {
  content: ""; position: absolute; inset: -0.12em -0.2em;
  background: var(--wipe-c, var(--c-accent)); transform: scaleX(0); transform-origin: left center;
}
.wipe.is-in > span { opacity: 1; transition-delay: calc(0.32s + var(--d, 0s)); }
.wipe.is-in::after { animation: wipe 0.7s var(--ease) var(--d, 0s) forwards; }
.wipe.from-center::after { transform-origin: center; }
@keyframes wipe {
  0% { transform: scaleX(0); transform-origin: left center; }
  48% { transform: scaleX(1); transform-origin: left center; }
  52% { transform: scaleX(1); transform-origin: right center; }
  100% { transform: scaleX(0); transform-origin: right center; }
}

/* ---------- Buttons with rolling text ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.7rem;
  height: 3.6rem; padding: 0 1.3rem; border-radius: 0.55rem;
  background: var(--c-accent); color: var(--c-dark);
  font-weight: 800; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.04em;
  transition: transform 0.4s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.roll { display: inline-block; overflow: hidden; height: 1.1em; line-height: 1.1em; vertical-align: middle; }
.roll > span { display: block; transition: transform var(--dur) var(--ease); }
.roll > span::after { content: attr(data-text); display: block; }
a:hover .roll > span, button:hover .roll > span { transform: translateY(-100%); }
.btn-icon { width: 1rem; height: 1rem; transition: transform 0.5s var(--ease); }
.btn:hover .btn-icon { transform: translateX(2px) rotate(-45deg); }
.btn-round {
  width: 4.4rem; height: 4.4rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--c-accent); color: var(--c-dark); transition: transform 0.5s var(--ease);
}
.btn-round:hover { transform: scale(1.08) rotate(-45deg); }
.btn-round svg { width: 1.4rem; }

/* ---------- Page backdrop + one continuous contour map ---------- */
/* The backdrop is fixed and carries the dark/light colour; the contour map is as tall as the
   page and scrolls with it, so the lines run unbroken behind every section. */
.backdrop { position: fixed; inset: 0; z-index: 0; background: var(--c-light); pointer-events: none; }
.bg-lines {
  position: fixed; top: 0; left: 0; width: 100%; height: 100vh; z-index: 0; overflow: hidden; pointer-events: none;
  color: var(--c-dark); opacity: 0.1; transition: color 0.8s var(--ease), opacity 0.8s var(--ease);
}
body.is-dark .bg-lines { color: var(--c-light); opacity: 0.07; }
.bg-lines svg { display: block; will-change: transform; }
.bg-lines path { fill: none; stroke: currentColor; stroke-width: 1.2; }
main, footer { position: relative; z-index: 1; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100; background: var(--c-dark); color: var(--c-light);
  clip-path: inset(0 0 0 0);
}
.loader-logo { position: absolute; left: 8vw; top: 50%; width: max(180px, 18rem); height: auto; aspect-ratio: 1000 / 314; transform: translateY(-50%); clip-path: inset(0% 100% 0% 0%); }
.loader-band { position: absolute; top: 0; right: 0; bottom: 0; width: 34vw; }
.loader-band i { transform: scaleY(0); transform-origin: bottom; }
.loader-count { position: absolute; bottom: 1.5rem; left: 8vw; font-variant-numeric: tabular-nums; color: var(--c-light-3); }

/* ---------- The band and the dot (brand graphics) ---------- */
/* Flat vertical bands of unequal width, flush, full height (after the tilet border) */
.band { display: flex; }
.band i { display: block; height: 100%; }
.band .b-tilet { flex: 3; } .band .b-adey { flex: 6; } .band .b-shemma { flex: 1.4; } .band .b-entoto { flex: 4; } .band .b-buna { flex: 2; }
.b-tilet { background: var(--c-red); color: var(--c-light); }
.b-adey { background: var(--c-accent); color: var(--c-dark); }
.b-shemma { background: var(--c-light); color: var(--c-dark); }
.b-entoto { background: var(--c-green); color: var(--c-light); }
.b-buna { background: var(--c-brown); color: var(--c-light); }
/* The dot grid, in Tikur on Adey: one size, a regular grid */
.dots { background-image: radial-gradient(circle, var(--c-dark) 0.5rem, transparent 0.53rem); background-size: 2rem 2rem; background-position: center; }
/* The dot as a full stop at the end of a title */
.dot { display: inline-block; width: 0.17em; height: 0.17em; margin-left: 0.06em; border-radius: 50%; background: var(--c-accent); vertical-align: baseline; }
/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: var(--pad); pointer-events: none; color: var(--c-dark);
  transition: color 0.6s var(--ease);
}
body.is-dark .nav { color: var(--c-light); }
.nav > * { pointer-events: auto; }
/* AAFW logo. Never below 120px wide (the design system's minimum). The two files are stacked
   and crossfade when the page switches between light and dark sections. */
.logo-link { display: grid; align-items: start; width: max(120px, 13rem); }
.brand-logo { grid-area: 1 / 1; width: 100%; height: auto; aspect-ratio: 1000 / 314; transition: opacity 0.6s var(--ease); }
.brand-logo--on-dark { opacity: 0; }
body.is-dark .brand-logo--on-light { opacity: 0; }
body.is-dark .brand-logo--on-dark { opacity: 1; }
.nav-right { display: flex; gap: 0.7rem; }
.nav-right .btn { transition: transform 0.4s var(--ease), background-color 0.4s var(--ease), color 0.4s var(--ease); }
body.is-accent .nav-right .btn { background: var(--c-dark); color: var(--c-accent); }
.nav-right .btn { height: 4.4rem; padding: 0 1.6rem; font-size: 1.5rem; border-radius: 0.65rem; }
.menu-btn {
  width: 4.4rem; height: 4.4rem; border-radius: 0.65rem; display: grid; place-items: center;
  background: var(--c-light); color: var(--c-dark); border: 1px solid rgba(14,13,12,.15);
}
.menu-btn i { display: block; width: 1.6rem; height: 2px; background: currentColor; transition: transform 0.6s var(--ease); }
.menu-btn i + i { margin-top: 0.45rem; width: 1rem; margin-left: 0.6rem; }
.menu-btn:hover i + i { transform: translateX(-0.6rem); }
.menu-btn span { display: grid; }

/* Menu overlay */
.menu {
  position: fixed; inset: 0; z-index: 60; background: var(--c-dark); color: var(--c-light);
  clip-path: inset(0 0 100% 0); transition: clip-path 0.9s var(--ease);
  display: grid; grid-template-columns: 1fr 1fr; padding: 6rem var(--pad) var(--pad);
}
.menu.is-open { clip-path: inset(0 0 0 0); }
.menu-links { display: flex; flex-direction: column; gap: 0.2rem; align-self: end; }
.menu-links a { font-size: 6rem; }
.menu-links a .roll { height: 0.95em; line-height: 0.95em; }
.menu-side { align-self: end; justify-self: end; text-align: right; display: grid; gap: 0.6rem; }
.menu-close { position: absolute; top: var(--pad); right: var(--pad); }
.menu-close .menu-btn { background: var(--c-accent); border: 0; }

/* =========================================================
   1. Intro: hero portrait → card, marquee, signature
   ========================================================= */
.intro { position: relative; height: 330vh; }
.intro-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.intro-bg { display: none; } /* the backdrop carries the hero's colour now */
.marquee-rows {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center;
  gap: 0.6rem; opacity: 0; white-space: nowrap; pointer-events: none;
}
.marquee-row { font-size: 10.5rem; line-height: 0.88; will-change: transform; }
.marquee-row.r1 { color: var(--c-accent-off); }
.marquee-row.r2 { color: var(--c-light-2); }
.hero-media { position: absolute; inset: 0; will-change: clip-path; }
/* The hero film: full screen, black and white, a touch darker so the nav and labels read over it */
.hero-media { background: var(--c-dark); }
.hero-media video,
.hero-media .hero-poster { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; filter: grayscale(1) contrast(1.08) brightness(0.82); }
/* Fallback portrait: always there underneath; the film fades in over it once it has frames */
.hero-media .hero-poster { object-position: 50% var(--focus-y, 50%); }
.hero-media video { opacity: 0; transition: opacity 1.2s var(--ease); }
.hero-media video.is-ready { opacity: 1; }
.hero-media canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-ui { position: absolute; inset: 0; pointer-events: none; }
.hero-ui > * { pointer-events: auto; }
/* "Next show" card: big enough to read at a glance over the film */
.next-show {
  position: absolute; left: var(--pad); bottom: var(--pad); width: max(220px, 17rem);
  background: var(--c-light); color: var(--c-dark); border-radius: var(--radius-s);
  padding: 1.4rem; display: flex; flex-direction: column; gap: 1.1rem;
  transition: transform 0.5s var(--ease);
}
.next-show:hover { transform: translateY(-4px); }
.next-show .t-eyebrow { font-size: max(11px, 0.85rem); letter-spacing: 0.12em; }
.next-show-top { display: flex; justify-content: space-between; align-items: center; color: var(--c-dark-3); }
.next-show-name { font-weight: 800; font-size: max(24px, 2.4rem); text-transform: uppercase; line-height: 0.95; }
.next-show-when { display: flex; align-items: center; gap: 0.9rem; padding-top: 1rem; border-top: 1px solid var(--c-light-2); }
.ns-day { font-family: var(--f-serif); font-size: max(48px, 4.6rem); line-height: 0.8; }
.ns-month { line-height: 1.25; white-space: nowrap; }
.next-show-venue { color: var(--c-dark); line-height: 1.3; }
.next-show-cta {
  display: flex; justify-content: space-between; align-items: center; padding: 0.9rem 1rem; border-radius: 0.45rem;
  background: var(--c-accent); color: var(--c-dark);
}
.next-show-cta svg { width: 1rem; height: 1rem; transition: transform 0.5s var(--ease); }
.next-show:hover .next-show-cta svg { transform: rotate(-45deg); }
.hero-tag { position: absolute; top: 46vh; color: var(--c-light); }
.hero-tag.l { left: var(--pad); }
.hero-tag.r { right: var(--pad); text-align: right; }
.hero-tag .t-title { font-size: 2.8rem; }
.hero-tag .t-eyebrow { display: block; margin-bottom: 0.4rem; }
.scroll-cue { position: absolute; right: var(--pad); bottom: var(--pad); display: flex; align-items: center; gap: 0.6rem; color: var(--c-light); }
.scroll-cue i { display: block; width: 1px; height: 3.6rem; background: currentColor; transform-origin: top; animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* =========================================================
   2. Statement
   ========================================================= */
.statement { position: relative; padding: 14rem var(--pad) 12rem; text-align: center; color: var(--c-light); }
.statement-badge { display: grid; justify-items: center; gap: 0.7rem; margin-bottom: 3rem; color: var(--c-light-3); }
.statement .t-impact { font-size: 7.6rem; max-width: 100rem; margin: 0 auto; line-height: 0.92; }
.statement .w { color: var(--c-dark-3); transition: none; }

/* =========================================================
   3. Sideways gallery (pinned horizontal scroll)
   ========================================================= */
.hgal { position: relative; }
.hgal-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.hgal-track { position: absolute; top: 0; left: 0; height: 100%; width: 410rem; will-change: transform; }
.hg-item { position: absolute; }
.hg-item .t-eyebrow { display: block; margin-bottom: 0.9rem; color: var(--c-light-3); }
.hg-item .frame { overflow: hidden; }
.hg-item img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.tint img { filter: grayscale(1) sepia(0.35) hue-rotate(-12deg) saturate(0.7) brightness(0.9) contrast(1.05); }
.hg-quote { color: var(--c-light-2); }
.hg-quote .t-quote { display: block; }
.hg-quote .t-quote .wipe { display: block; width: fit-content; }
.hg-text { max-width: 27rem; color: var(--c-dark-1); }
.hg-pill {
  position: absolute; left: 50%; bottom: -1rem; transform: translateX(-50%);
  display: flex; align-items: center; gap: 0.4rem; padding: 0.7rem 1.1rem; border-radius: 99px;
  background: var(--c-accent); color: var(--c-dark); white-space: nowrap;
}

/* =========================================================
   5. Designers grid (helmet "hall of fame" in the reference)
   ========================================================= */
.designers { position: relative; padding: 9rem var(--pad) 6rem; color: var(--c-light); }
.designers-head { display: flex; justify-content: space-between; align-items: start; margin-bottom: 4rem; }
.designers-head .t-impact { font-size: 8rem; line-height: 0.84; }
.designers-head .t-impact .s { display: block; color: var(--c-accent-off); }
.designers-head .t-body { color: var(--c-light-3); max-width: 28rem; }
.dgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.dgrid > :nth-child(4n+2), .dgrid > :nth-child(4n+4) { transform: translateY(6rem); }
.dcard {
  position: relative; background: var(--c-dark-1); border: 1px solid var(--c-dark-2); border-radius: var(--radius-m);
  padding: 1.4rem 1.4rem 1.2rem; display: grid; gap: 1.2rem; transition: border-color 0.5s var(--ease);
}
.dcard-arch { position: relative; aspect-ratio: 4 / 5; border-radius: 0.4rem; overflow: hidden; outline: 1px solid transparent; outline-offset: 0.35rem; transition: outline-color 0.5s var(--ease), outline-offset 0.6s var(--ease); }
.dcard-arch img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.dcard-arch .base { filter: grayscale(1) sepia(0.2) brightness(0.92); transition: transform 1s var(--ease); }
.dcard-arch .reveal { clip-path: inset(100% 0 0 0); transform: scale(1.12); transition: clip-path 0.8s var(--ease), transform 1.1s var(--ease); }
.dcard:hover { border-color: var(--c-accent); }
.dcard:hover .dcard-arch { outline-color: var(--c-accent); outline-offset: 0.2rem; }
.dcard:hover .reveal { clip-path: inset(0 0 0 0); transform: scale(1); }
.dcard:hover .base { transform: scale(1.06); }
.dcard-meta { display: flex; justify-content: space-between; align-items: center; }
.dcard-meta .t-eyebrow:first-child { font-size: 1.05rem; }
.dcard-arrow { width: 1.1rem; height: 1.1rem; color: var(--c-light-3); transition: transform 0.5s var(--ease), color 0.5s var(--ease); }
.dcard:hover .dcard-arrow { color: var(--c-accent); transform: rotate(-45deg); }
.chip { background: var(--c-accent); color: var(--c-dark); padding: 0.35rem 0.5rem; border-radius: 0.25rem; }
.designers-more { display: grid; justify-items: center; gap: 1.2rem; margin-top: 11rem; text-align: center; }
.designers-more .t-quote { color: var(--c-light-2); max-width: 30rem; }

/* =========================================================
   6. Tickets (store callout in the reference)
   ========================================================= */
.tickets { position: relative; padding: 9rem var(--pad); min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.tickets-copy { display: grid; gap: 1.6rem; align-content: start; }
.tickets-copy .t-impact { font-size: 9.4rem; line-height: 0.84; }
.tickets-copy .t-impact .s { display: block; }
.countdown { display: flex; gap: 2rem; font-weight: 700; font-size: 3.8rem; font-variant-numeric: tabular-nums; }
.countdown small { display: block; font-size: 0.8rem; font-weight: 700; color: var(--c-dark-3); letter-spacing: 0.08em; }
.tickets-collage { position: relative; height: 62rem; }

/* Passes as tickets: colour band, details, then a perforated tear-off stub.
   The half-circle notches at the perforation are real cut-outs (a CSS mask), so the page shows through. */
.passes { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.8rem; margin-top: 4rem; }
.pass {
  --stub: 13.5rem;            /* height of the tear-off stub */
  --notch: 1.1rem;            /* notch radius */
  position: relative; display: flex; flex-direction: column; background: var(--c-light-1); border-radius: 1rem;
  -webkit-mask:
    radial-gradient(circle var(--notch) at 0 calc(100% - var(--stub)), #0000 98%, #000) left / 51% 100% no-repeat,
    radial-gradient(circle var(--notch) at 100% calc(100% - var(--stub)), #0000 98%, #000) right / 51% 100% no-repeat;
          mask:
    radial-gradient(circle var(--notch) at 0 calc(100% - var(--stub)), #0000 98%, #000) left / 51% 100% no-repeat,
    radial-gradient(circle var(--notch) at 100% calc(100% - var(--stub)), #0000 98%, #000) right / 51% 100% no-repeat;
  transition: transform 0.5s var(--ease);
}
.pass:hover { transform: translateY(-6px) rotate(-0.6deg); }
.pass-band { min-height: 8.5rem; padding: 1.3rem 1.5rem; display: flex; justify-content: space-between; align-items: flex-end; border-radius: 1rem 1rem 0 0; }
.pass-band .t-eyebrow { font-size: 1.05rem; letter-spacing: 0.22em; }
.pass-band .pass-brand { font-size: 0.8rem; opacity: 0.85; }
.pass-body { padding: 1.6rem 1.5rem 1.8rem; display: flex; flex-direction: column; gap: 1.2rem; flex: 1; }
.pass-title { margin: 0; font-family: var(--f-serif); font-weight: 400; font-size: 2.7rem; line-height: 1; }
.pass-includes { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.55rem; font-size: 1.1rem; line-height: 1.3; color: var(--c-dark); }
.pass-includes li { display: flex; gap: 0.6rem; }
.pass-includes li::before { content: ""; flex: none; width: 0.45rem; height: 0.45rem; margin-top: 0.45rem; border-radius: 50%; background: currentColor; }
.pass-meta { margin: auto 0 0; display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 0.8rem; padding-top: 1.2rem; border-top: 1px solid var(--c-light-2); }
.pass-meta dt, .pass-label { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-dark-3); margin-bottom: 0.3rem; }
.pass-meta dd { margin: 0; font-weight: 700; font-size: 0.98rem; }
/* The stub, below a dashed perforation that runs between the two notches */
.pass-stub { height: var(--stub); padding: 1.4rem 1.5rem 1.3rem; display: flex; flex-direction: column; gap: 0.9rem; position: relative; }
.pass-stub::before { content: ""; position: absolute; top: 0; left: calc(var(--notch) + 0.6rem); right: calc(var(--notch) + 0.6rem); border-top: 2px dashed var(--c-light-2); }
.pass-stub-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; }
.pass-price { margin: 0; font-family: var(--f-serif); font-size: 1.7rem; line-height: 1.05; }
.pass-link { flex: none; font-size: 0.9rem; padding: 0.95rem 1.1rem; border-radius: 0.5rem; background: var(--c-dark); color: var(--c-light); transition: background-color 0.3s var(--ease), color 0.3s var(--ease); }
.pass-link:hover { background: var(--c-accent); color: var(--c-dark); }
.pass-barcode {
  height: 2.6rem; margin-top: auto; opacity: 0.85;
  background: repeating-linear-gradient(90deg,
    var(--c-dark) 0 2px, transparent 2px 4px, var(--c-dark) 4px 5px, transparent 5px 8px,
    var(--c-dark) 8px 11px, transparent 11px 12px, var(--c-dark) 12px 13px, transparent 13px 16px,
    var(--c-dark) 16px 17px, transparent 17px 19px, var(--c-dark) 19px 22px, transparent 22px 24px);
}
.pass-no { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.24em; color: var(--c-dark-3); }
.tc { position: absolute; overflow: hidden; border-radius: 0.3rem; }
.tc img { width: 100%; height: 100%; object-fit: cover; }
.tc.a { left: 9rem; top: 2rem; width: 36rem; height: 48rem; }
.tc.b { left: 0; top: 36rem; width: 17rem; height: 20rem; }
.tc.c { right: 0; top: 6rem; width: 21rem; height: 16rem; }
.tc-badge {
  position: absolute; right: 4rem; bottom: 4rem; background: var(--c-accent); color: var(--c-dark);
  padding: 1.2rem 1.4rem; transform: rotate(-6deg); font-weight: 800; font-size: 2.3rem; text-transform: uppercase; line-height: 0.9;
}

/* =========================================================
   7. Partners
   ========================================================= */
.partners { position: relative; padding: 7rem var(--pad) 8rem; overflow: hidden; }
.partners-head { position: relative; display: flex; justify-content: space-between; align-items: start; }
.partners-head .t-impact { font-size: 7rem; line-height: 0.86; position: relative; z-index: 1; }
.partners-head .t-impact .s { display: block; }
.partners-head .t-body { color: var(--c-dark-3); max-width: 28rem; }
.logo-marquee { margin-top: 6rem; overflow: hidden; border-top: 1px solid var(--c-light-2); border-bottom: 1px solid var(--c-light-2); }
.logo-track { display: flex; width: max-content; will-change: transform; }
.logo { display: flex; align-items: center; justify-content: center; width: 21rem; height: 9rem; color: var(--c-dark-3); border-right: 1px solid var(--c-light-2); white-space: nowrap; }
.logo:nth-child(4n+1) { font-family: var(--f-serif); font-size: 2.2rem; }
.logo:nth-child(4n+2) { font-weight: 800; font-size: 1.6rem; letter-spacing: 0.08em; }
.logo:nth-child(4n+3) { font-family: var(--f-serif); font-style: italic; font-size: 2rem; }
.logo:nth-child(4n+4) { font-weight: 300; font-size: 1.6rem; letter-spacing: 0.3em; }

/* =========================================================
   8. Socials
   ========================================================= */
.socials { position: relative; padding: 5rem var(--pad) 9rem; text-align: center; overflow: hidden; }
.socials-head { display: grid; justify-items: center; gap: 0.6rem; }
.socials-head .t-impact { font-size: 6.4rem; line-height: 0.86; }
.socials-head .t-impact .s { display: block; }
.fan { position: relative; height: 46rem; margin: 3rem auto 3rem; width: 100%; }
.fan-card {
  position: absolute; left: 50%; top: 3rem; width: 21rem; height: 36rem; margin-left: -10.5rem;
  border-radius: 2.4rem; overflow: hidden; background: var(--c-light-2);
  transform-origin: 50% 50%;
}
.fan-card img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.fan-card:hover { z-index: 20 !important; }
.social-links { display: flex; justify-content: center; gap: 2.4rem; }
.social-links.t-eyebrow { font-size: 1.05rem; }
.social-links a { position: relative; }
.social-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -0.25rem; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.6s var(--ease); }
.social-links a:hover::after { transform: scaleX(1); transform-origin: left; }

/* =========================================================
   9. Footer
   ========================================================= */
/* No background of its own: the yellow around the footer is the fixed page backdrop, which turns adey as you reach it */
.footer-wrap { position: relative; z-index: 1; padding: 0 var(--pad) var(--pad); }
.footer {
  position: relative; background: var(--c-dark); color: var(--c-light); border-radius: var(--radius-l);
  padding: 7rem 3rem 1.6rem; overflow: hidden; display: grid; gap: 2.4rem;
}
/* The page's contour map, seen through the footer panel (lined up with the lines outside it) */
.footer-lines { position: absolute; inset: 0; z-index: 1; pointer-events: none; color: var(--c-light); opacity: 0.07; }
/* City photo filling the footer panel, darkened so the type stays readable */
.footer > .footer-photo.footer-photo { position: absolute; inset: 0; z-index: 0; } /* doubled class: outranks the content rule below */
.footer-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; display: block; }
.footer-photo::after { content: ""; position: absolute; inset: 0; background: rgba(14, 13, 12, 0.78); }
.footer-lines svg { position: absolute; top: 0; left: 0; display: block; }
.footer-lines path { fill: none; stroke: currentColor; stroke-width: 1.2; }
.footer > :not(.footer-lines) { position: relative; z-index: 1; }
/* The band down the right side of the footer panel; the content keeps clear of it */
.footer { --band-w: 22%; padding-right: calc(var(--band-w) + 3rem) !important; }
.footer > .footer-band { position: absolute; top: 0; right: 0; bottom: 0; width: var(--band-w); z-index: 1; }
.footer-statement { text-align: center; position: relative; }
.footer-statement .t-impact { font-size: 8rem; line-height: 0.88; }
.footer-statement .t-impact .s { color: var(--c-accent-off); }
.footer-mid { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 2rem; margin-top: 6rem; }
.footer-col { display: grid; gap: 0.3rem; }
.footer-col.r { text-align: right; justify-items: end; }
.footer-col .t-eyebrow { color: var(--c-light-3); margin-bottom: 0.6rem; }
.footer-col a { font-weight: 800; font-size: 2.6rem; text-transform: uppercase; line-height: 1.05; }
.footer-col a:hover { color: var(--c-accent); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; color: var(--c-light-3); border-top: 1px solid var(--c-dark-2); padding-top: 1.2rem; }
.footer-bottom nav { display: flex; gap: 1.4rem; }
.footer-legal { display: flex; align-items: center; gap: 1.2rem; }
.footer-logo { width: max(120px, 11rem); height: auto; }
.footer-bottom a:hover { color: var(--c-light); }

/* ---------- Phones ---------- */
@media (max-width: 767px) {
  .menu-links a { font-size: 4.2rem; }
  .marquee-row { font-size: 6.6rem; }
  .hero-tag { display: none; }
  .next-show { width: 21rem; }
  .statement { padding: 9rem var(--pad) 8rem; }
  .statement .t-impact { font-size: 4.6rem; }
  .designers-head { display: grid; gap: 1.6rem; }
  .designers-head .t-impact { font-size: 5.8rem; }
  .dgrid { grid-template-columns: repeat(2, 1fr); }
  .dgrid > :nth-child(4n+2), .dgrid > :nth-child(4n+4) { transform: none; }
  .dgrid > :nth-child(2n) { transform: translateY(4rem); }
  .tickets { grid-template-columns: 1fr; gap: 4rem; }
  .passes { grid-template-columns: 1fr; gap: 2.4rem; margin-top: 0; }
  .pass { --stub: 12.5rem; }
  .tc-badge { display: none; } /* its drift would land on the pass cards */
  .loader-band { width: 100%; top: auto; height: 38vh; }
  .loader-logo { left: 50%; top: 34%; transform: translate(-50%, -50%); }  .tickets-copy .t-impact { font-size: 7rem; }
  .tickets-collage { height: 56rem; }
  .tc.a { left: 5rem; width: 30rem; height: 40rem; }
  .partners-head { display: grid; gap: 1.6rem; }
  .fan { height: 40rem; }
  .fan-card { width: 17rem; height: 29rem; margin-left: -8.5rem; border-radius: 1.6rem; }
  .footer { padding: 10rem 1.4rem 1.2rem !important; border-radius: 2rem; }
  /* On phones the band runs across the top of the panel instead */
  .footer > .footer-band { left: 0; bottom: auto; width: auto; height: 5rem; }
  .footer-statement .t-impact { font-size: 5rem; }
  .footer-col a { font-size: 2.2rem; }
  .footer-mid { grid-template-columns: 1fr 1fr; margin-top: 3rem; }
  .footer-bottom { flex-direction: column; gap: 0.8rem; }
  .footer-legal { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .wipe::after { display: none; }
  .wipe > span { opacity: 1; }
  .scroll-cue i { animation: none; }
}
