/* Fit Fest Birmingham
   Layout: dark festival-night page broken up by bright cyan, yellow and pink bands.
   Cutout people sit in their own layer above photo frames and cross section edges. */

:root {
  --night: #04000A;
  --night-2: #0C0614;
  --line: #2A2236;
  --cyan: #48C7F4;
  --cyan-deep: #0A8BBB;   /* cyan text on yellow, where #48C7F4 is too light; 3.08:1 on the yellow (was #0E8FBF, 2.9:1) */
  --yellow: #EFEB5F;
  --pink: #DB5BA1;
  --ink: #04000A;
  --white: #FFFFFF;
  --fog: #D2D2D2;
  --muted: #A8A5B3;

  --f-display: "Archivo", "Arial Black", system-ui, sans-serif;
  --f-body: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-script: "Yellowtail", "Brush Script MT", cursive;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(64px, 9vw, 112px);
  --radius: 6px;
  --header-h: 96px;
}

*, *::before, *::after { box-sizing: border-box; }
picture { display: contents; }
picture > source { display: none; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  background: var(--night);
  color: var(--fog);
  font-family: var(--f-body);
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
ul { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--yellow); color: var(--ink); padding: 10px 16px; font-weight: 700; border-radius: var(--radius);
}
.skip-link:focus { top: 16px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.section-yellow :focus-visible, .section-cyan :focus-visible, .section-pink :focus-visible { outline-color: var(--ink); }

/* ---------- Type ---------- */
.display {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 900;
  font-stretch: 125%;
  text-transform: uppercase;
  line-height: .92;
  letter-spacing: -.01em;
}
.h2 { font-size: clamp(34px, 5.2vw, 60px); }
.lede { font-size: clamp(16px, 1.4vw, 18px); max-width: 60ch; }
.t-white { color: var(--white); }
.t-cyan { color: var(--cyan); }
.t-cyan-deep { color: var(--cyan-deep); }
.t-yellow { color: var(--yellow); }
.t-pink { color: var(--pink); }
.t-ink { color: var(--ink); }

.eyebrow-plain {
  font-weight: 800; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--white);
}
.tag {
  font-weight: 800; font-size: 13px; line-height: 1.35; letter-spacing: .14em;
  text-transform: uppercase; color: var(--white); text-align: right; flex: none;
}
.tag-ink { color: var(--ink); }
.tick { display: block; width: 36px; height: 4px; margin-bottom: 14px; }
.tick-pink { background: var(--pink); }
.head-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.head-row > *, .hero-grid > *, .recap-grid > *, .venue-grid > *, .faq-grid > *, .signup-grid > *, .day > *, .vendors > * { min-width: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 800 13px/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; padding: 16px 22px; border-radius: 4px; border: 2px solid transparent;
  cursor: pointer; transition: transform .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 12px 16px; font-size: 12px; }
.btn-block { width: 100%; }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { box-shadow: 4px 4px 0 var(--pink); }
.btn-outline { border-color: var(--cyan); color: var(--white); background: transparent; }
.btn-outline:hover { background: var(--cyan); color: var(--ink); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { box-shadow: 4px 4px 0 var(--yellow); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header ---------- */
.site-header { position: absolute; inset: 0 0 auto 0; z-index: 30; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); padding-top: 12px; }
.brand img { width: 68px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 24px; }
.site-nav ul a {
  text-decoration: none; color: var(--white); font-weight: 800; font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  padding-block: 6px; background: linear-gradient(var(--cyan), var(--cyan)) left bottom / 0 2px no-repeat; transition: background-size .2s ease;
}
.site-nav ul a:hover, .site-nav ul a[aria-current="page"] { background-size: 100% 2px; }
.site-nav ul a[aria-current="page"] { color: var(--yellow); }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: calc(var(--header-h) + 24px); overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 50% at 75% 45%, rgba(219, 91, 161, .18), transparent 70%);
}
/* Background video: silent 15s loop, darkened so the headline always reads */
.hero-video { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: var(--night); }
.hero-video img, .hero-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-video::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(4,0,10,.79) 0%, rgba(4,0,10,.67) 36%, rgba(4,0,10,.35) 68%, rgba(4,0,10,.47) 100%),
    linear-gradient(180deg, rgba(4,0,10,.45) 0%, rgba(4,0,10,0) 28%, rgba(4,0,10,0) 72%, rgba(4,0,10,.77) 100%);
}
.hero { min-height: min(100svh, 1000px); display: flex; flex-direction: column; justify-content: center; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 780px); align-items: end; gap: 24px; }
.hero-copy { padding-bottom: clamp(48px, 7vw, 96px); display: grid; gap: 20px; position: relative; z-index: 6; }
.hero-title { font-size: clamp(54px, 8.6vw, 112px); display: grid; gap: .04em; margin-top: 4px; }
.hero-title span { display: block; }
.hero-title .t-cyan { text-shadow: 3px 3px 0 var(--ink); }
.hero-lede { font-size: clamp(18px, 1.7vw, 22px); color: var(--white); font-weight: 500; line-height: 1.4; }
.hero-meta { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: var(--white); }
.rule-pink { width: 28px; height: 3px; background: var(--pink); }

/* Taller on desktop: fills the screen down to the message strip, capped for very large or short screens */
.hero-art { position: relative; height: clamp(500px, min(62vw, calc(100svh - var(--header-h) - 70px)), 820px); }
.hero-frame, .hero-frame-outline {
  position: absolute; left: 4%; right: 0; top: 14%; bottom: 0;
  clip-path: polygon(14% 4%, 100% 0, 96% 100%, 0 100%);
}
.hero-frame { overflow: hidden; z-index: 1; }
/* Breakout: the cutout is the SAME photo as the frame, drawn at the same size and
   position in an unclipped twin box, so only the parts past the frame edge show. */
.hero-frame img, .hero-pop img { position: absolute; left: 0; bottom: 0; width: 100%; height: auto; max-width: none; }
.hero-pop { position: absolute; left: 4%; right: 0; top: 14%; bottom: 0; z-index: 3; pointer-events: none; }
.hero-pop img, .day-pop img, .vendors-pop img { filter: drop-shadow(0 18px 30px rgba(0,0,0,.45)); }
.hero-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,0,10,.25), rgba(4,0,10,.55)); }
.hero-frame-outline { z-index: 0; transform: translate(14px, -14px); background: var(--yellow); }
.deco-ring { position: absolute; z-index: 2; right: -40px; top: 6%; width: 190px; aspect-ratio: 1; border-radius: 50%; border: 3px solid var(--cyan); box-shadow: 0 0 0 14px transparent, 0 0 0 17px rgba(72,199,244,.55); }
.deco-tri { position: absolute; z-index: 4; right: 6%; top: 30%; width: 0; height: 0; border-left: 22px solid transparent; border-right: 22px solid transparent; border-bottom: 36px solid var(--pink); transform: rotate(18deg); }
.deco-dots { position: absolute; z-index: 0; left: 0; top: 4%; width: 120px; height: 90px; background-image: radial-gradient(var(--cyan) 2px, transparent 2.5px); background-size: 16px 16px; opacity: .55; }
.sticker {
  position: absolute; z-index: 6; left: 6%; top: 72%;
  background: var(--pink); color: var(--ink); font: italic 900 15px/1 var(--f-display); font-stretch: 125%;
  text-transform: uppercase; padding: 12px 16px; transform: rotate(-12deg); box-shadow: 4px 4px 0 var(--ink);
}
.cutout { position: absolute; pointer-events: none; user-select: none; filter: drop-shadow(0 18px 30px rgba(0,0,0,.45)); }
/* Hero: the cutout group stands in front of a darkened, softened crowd photo, sized so nobody is cropped */
.hero-frame .frame-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(3px) brightness(.55) saturate(.8); transform: scale(1.04); }
.hero-cutout { z-index: 5; bottom: 0; left: 50%; transform: translateX(-50%); height: 96%; width: auto; max-width: 100%; object-fit: contain; object-position: bottom; }

/* ---------- Strip ---------- */
.strip { background: var(--cyan); color: var(--ink); padding-block: 16px; position: relative; z-index: 4; }
.strip-text { display: flex; align-items: center; justify-content: center; gap: 20px; font-size: clamp(15px, 2vw, 24px); text-align: center; padding-inline: var(--gutter); }
.strip-line { flex: 0 1 60px; height: 3px; background: var(--ink); }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); position: relative; }
.section-dark { background: var(--night); }
.section-cyan { background: var(--cyan); color: var(--ink); }
.section-yellow { background: var(--yellow); color: var(--ink); }
.section-pink { background: var(--pink); color: var(--ink); }
.section-head { display: grid; gap: 16px; margin-bottom: 40px; }

/* Your day, your pace */
.pace-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.photo-card { position: relative; background: var(--night-2); border-radius: var(--radius); overflow: hidden; }
.photo-card-img { aspect-ratio: 4 / 3; overflow: hidden; }
.photo-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.photo-card:hover .photo-card-img img { transform: scale(1.04); }
.photo-card-body { padding: 0 20px 22px; margin-top: -28px; position: relative; display: grid; gap: 10px; }
.card-word { font-size: clamp(34px, 3.6vw, 46px); text-shadow: 3px 3px 0 var(--ink); }
.photo-card-body p { color: var(--white); font-size: 15px; max-width: 32ch; }

/* So much more than a workout */
.more { padding-bottom: calc(var(--section-y) + 40px); }
.more-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px 56px; align-items: end; margin-bottom: 48px; }
.more-head .h2 { font-size: clamp(36px, 5.4vw, 64px); }
.more-head p { font-size: 17px; font-weight: 500; max-width: 46ch; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature { padding: 28px 28px 32px; text-align: center; display: grid; justify-items: center; gap: 10px; border-color: rgba(4,0,10,.35); border-style: solid; border-width: 0; }
.feature:nth-child(-n+3) { border-bottom-width: 1.5px; }
.feature:not(:nth-child(3n)) { border-right-width: 1.5px; }
.feature h3 { font: italic 900 15px/1.2 var(--f-display); font-stretch: 125%; text-transform: uppercase; letter-spacing: .02em; }
.feature p { font-size: 15px; max-width: 28ch; font-weight: 500; }
.icon { width: 48px; height: 48px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s ease; }
.feature:hover .icon { transform: translateY(-3px) rotate(-4deg); }

/* Build your festival day */
.day { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 0; }
.day-photo { position: relative; min-height: 540px; container-type: size; --pop: 150px; }
.day-photo-frame, .day-pop { position: absolute; top: 0; bottom: 0; right: 0; width: min(100%, calc((100cqh + 220px) * .8)); }
.day-photo-frame { overflow: hidden; }
.day-photo-frame img, .day-pop img { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); height: auto; max-width: none; width: max(100%, calc((100cqh + var(--pop)) * .8)); }
.day-pop { z-index: 6; pointer-events: none; }
.day-photo-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,0,10,0) 60%, rgba(4,0,10,.9)); }
/* The instructor's raised arm rises out of the frame into the cyan band above.
   The band's extra bottom padding keeps that overlap clear of its text. */
.day-cutout { z-index: 6; bottom: 0; left: 8%; height: calc(100% + 150px); width: auto; max-width: none; }
.day-copy { padding: var(--section-y) var(--gutter); display: grid; gap: 28px; align-content: center; max-width: 620px; position: relative; z-index: 7; }
.day-list { display: grid; gap: 12px; }
.day-row {
  display: grid; grid-template-columns: 84px minmax(0, auto) minmax(0, 1fr) auto; align-items: center; gap: 16px;
  border: 1.5px solid var(--cyan); border-radius: 4px; padding: 8px 16px 8px 8px; transition: background-color .2s ease;
  color: inherit; text-decoration: none;
}
.day-row:hover { background: rgba(72,199,244,.08); }
.day-row img { width: 84px; height: 56px; object-fit: cover; border-radius: 2px; }
.day-word { font-size: clamp(22px, 2.4vw, 30px); min-width: 5.2ch; }
.day-desc { font-size: 15px; color: var(--white); }
.day-arrow { color: var(--white); font-size: 18px; }
.day-copy .btn { justify-self: start; }

/* Choose your fit */
.tickets .head-row { margin-bottom: 40px; }
.ticket-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 980px; }
.ticket { background: var(--night); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-rows: auto 1fr; box-shadow: 6px 6px 0 var(--cyan); transition: transform .25s ease; }
.ticket:nth-child(2) { box-shadow: 6px 6px 0 var(--pink); }
.ticket:hover { transform: translateY(-4px); }
.ticket-img { aspect-ratio: 16 / 10; overflow: hidden; }
.ticket-img img { width: 100%; height: 100%; object-fit: cover; }
.ticket-body { padding: 22px; display: grid; gap: 10px; align-content: start; }
.ticket-name { font-size: clamp(26px, 2.6vw, 34px); }
.ticket-body p { color: var(--white); margin-bottom: 10px; }

/* Recap */
.recap-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(48px, 5vw, 88px); align-items: center; }
/* The headline sizes to its own column, so "movement." never runs into the photos */
.recap-copy { container-type: inline-size; }
.recap-copy .h2 { font-size: clamp(30px, 11.5cqi, 58px); }
.recap-copy { display: grid; gap: 22px; }
.recap-copy p { max-width: 46ch; }
.recap-copy .btn { justify-self: start; }
.gallery { display: grid; grid-template-columns: 1.7fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; }
.gallery figure { position: relative; min-height: 0; overflow: hidden; border-radius: var(--radius); }
.gallery img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.g-main { grid-row: 1 / span 2; aspect-ratio: 4 / 3.4; }
.recap-kicker { font: italic 900 18px/1.2 var(--f-display); font-stretch: 125%; text-transform: uppercase; color: var(--yellow); }
.sponsors-2026 { margin-top: clamp(64px, 8vw, 104px); display: grid; gap: 36px; }
.sponsors-head { display: grid; gap: 0; }
.sponsors-title { font-size: clamp(26px, 3.4vw, 40px); }
/* Sponsor masonry: one dense 12-column grid; tile size steps down by tier */
.sponsor-masonry {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 52px;
  grid-auto-flow: row dense; gap: 10px;
}
.tile {
  position: relative; display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 0;
  background: var(--night-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14%; overflow: hidden; transition: border-color .2s ease, transform .2s ease;
}
.tile img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; opacity: .92; }
.tile:hover { transform: translateY(-2px); }
.tile-link { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.tile-link:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.tile:has(.tile-link) { cursor: pointer; }
.tile:hover img { opacity: 1; }
.tile-tag {
  position: absolute; top: 10px; left: 12px; font: 800 10px/1 var(--f-body);
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.t-title   { grid-column: span 6; grid-row: span 6; padding: 48px 14% 36px; border-color: rgba(239,235,95,.55); background: radial-gradient(80% 80% at 50% 50%, rgba(239,235,95,.08), var(--night-2)); }
.t-title .tile-tag { color: var(--yellow); font-size: 11px; top: 16px; left: 18px; }
.t-plat    { grid-column: span 3; grid-row: span 3; padding: 34px 12% 22px; border-color: rgba(72,199,244,.4); }
.t-plat-sm { grid-column: span 2; }
.t-plat .tile-tag { color: var(--cyan); }
.t-main    { grid-column: span 3; grid-row: span 2; padding: 30px 12% 14px; border-color: rgba(219,91,161,.4); }
.t-main-wide { grid-column: span 4; }
.t-main .tile-tag { color: var(--pink); }
.t-partner { grid-column: span 2; grid-row: span 2; padding: 18px 12%; }
.t-support { grid-column: span 2; grid-row: span 1; padding: 8px 14%; }
.t-support-wide { grid-column: span 4; }
.t-title:hover { border-color: var(--yellow); }
.t-plat:hover { border-color: var(--cyan); }
.t-main:hover { border-color: var(--pink); }
.t-partner:hover, .t-support:hover { border-color: var(--fog); }
.sponsor-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 14px; color: var(--muted); }
.lg-dot { width: 10px; height: 10px; border-radius: 2px; border: 1.5px solid; display: inline-block; margin-left: 8px; }
.lg-dot:first-child { margin-left: 0; }
.lg-title { border-color: var(--yellow); } .lg-plat { border-color: var(--cyan); } .lg-main { border-color: var(--pink); }
.lg-partner { border-color: var(--fog); } .lg-support { border-color: var(--line); background: var(--night-2); }

/* Vendors */
.vendors { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding-block: 0; }
.vendors-photo { position: relative; min-height: 520px; container-type: size; --vf-top: 120px; --vf-bottom: 48px; --vf-right: 14%; --pop: 60px; }
.vendors-frame, .vendors-pop { position: absolute; top: var(--vf-top); bottom: var(--vf-bottom); left: 0; right: var(--vf-right); }
.vendors-frame { overflow: hidden; clip-path: polygon(0 0, 100% 6%, 92% 100%, 0 100%); }
.vendors-frame img, .vendors-pop img { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); height: auto; max-width: none; width: max(100%, calc(100cqh - var(--vf-top) - var(--vf-bottom) + var(--pop))); }
.vendors-pop { z-index: 3; pointer-events: none; }
.vendor-cutout { z-index: 3; bottom: 0; right: -7%; height: 62%; width: auto; max-width: 66%; object-fit: contain; object-position: bottom right; }
.vendors-copy { padding: var(--section-y) var(--gutter); display: grid; gap: 20px; align-content: center; max-width: 640px; }
.partner-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 8px; }
.partner { border: 2px solid var(--ink); border-radius: var(--radius); padding: 20px; display: grid; gap: 10px; align-content: start; justify-items: start; }
.partner .icon { width: 40px; height: 40px; }
.partner h3 { font: italic 900 16px/1 var(--f-display); font-stretch: 125%; text-transform: uppercase; }
.partner p { font-size: 15px; font-weight: 500; margin-bottom: 6px; }

/* Sponsor strip */
.sponsor-strip { background: var(--night-2); border-block: 1px solid var(--line); padding-block: 28px; }
.sponsor-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.sponsor-title { font-size: clamp(20px, 2.4vw, 28px); }
.sponsor-logo { height: 72px; width: auto; justify-self: center; opacity: .95; }

/* Venue */
.venue-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.venue-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; }
.venue-photo img { width: 100%; height: 100%; object-fit: cover; }
.venue-copy { display: grid; gap: 18px; }
.venue .head-row { flex-direction: column; gap: 12px; }
.venue .tag { text-align: left; }
.venue .tag br { display: none; }
.venue-name { color: var(--white); font-weight: 800; font-size: 20px; }
.venue-copy .btn { justify-self: start; }

/* FAQ */
.faq { padding-top: 0; }
.faq-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.faq-list { display: grid; gap: 10px; }
.faq details { background: var(--night-2); border: 1px solid var(--line); border-radius: 4px; }
.faq details[open] { border-color: var(--cyan); }
.faq summary {
  list-style: none; cursor: pointer; padding: 16px 52px 16px 20px; position: relative;
  color: var(--white); font-weight: 600; font-size: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 24px; font-weight: 400; color: var(--cyan); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { padding: 0 20px 18px; }
.faq-a p { max-width: 62ch; }
.faq-a a { color: var(--cyan); }

/* Signup */
.signup { padding-block: clamp(56px, 7vw, 84px); }
.signup-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.signup .h2 { font-size: clamp(38px, 5.6vw, 66px); padding-right: 32px; border-right: 2px solid rgba(4,0,10,.4); }
.signup .h2 .t-white { text-shadow: 3px 3px 0 var(--ink); }
.signup-form-wrap { display: grid; gap: 16px; }
.signup-form-wrap > p { font-weight: 500; max-width: 46ch; }
.signup-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.signup-form input {
  font: 500 16px/1 var(--f-body); padding: 16px 18px; border: 2px solid var(--ink); border-radius: 4px;
  background: var(--white); color: var(--ink); min-width: 0;
}
.signup-form input::placeholder { color: #6E6A78; }
.form-status { grid-column: 1 / -1; font-weight: 600; font-size: 15px; min-height: 1.4em; }

/* Footer */
.site-footer { background: var(--night); padding-block: 40px 28px; border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 32px; }
.footer-inner .brand img { width: 64px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.footer-nav a { text-decoration: none; color: var(--white); font-weight: 800; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.footer-nav a:hover { color: var(--cyan); }
.social { display: flex; gap: 14px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1.5px solid var(--line); border-radius: 50%; color: var(--white); transition: border-color .2s ease, color .2s ease; }
.social a:hover { border-color: var(--cyan); color: var(--cyan); }
.social svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.social svg .fill { fill: currentColor; stroke: none; }
.footer-meta { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); line-height: 1.6; text-align: right; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.legal-links { display: flex; gap: 20px; }
.legal-links a { color: var(--muted); }
.legal-links a:hover { color: var(--cyan); }
.footer-base { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }


/* ---------- About + vertical video ---------- */
.about { background: var(--night-2); border-block: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.about-copy { display: grid; gap: 18px; }
.about-copy .eyebrow-plain { color: var(--cyan); }
.about-list { display: grid; gap: 10px; margin-top: 4px; }
.about-list li { position: relative; padding-left: 26px; color: var(--white); font-weight: 500; }
.about-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 12px; background: var(--pink); clip-path: polygon(0 0, 100% 0, 50% 100%); }
.reels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.reel { display: grid; gap: 10px; }
.reels-wrap { position: relative; min-width: 0; }
.swipe-cue { display: none; }
.reel-raised { margin-top: -32px; }
.reel-frame { aspect-ratio: 9 / 16; border-radius: 10px; overflow: hidden; background: #000; border: 2px solid var(--line); box-shadow: 8px 8px 0 rgba(72,199,244,.25); }
.reel:nth-child(2) .reel-frame { box-shadow: 8px 8px 0 rgba(239,235,95,.3); }
.reel:nth-child(3) .reel-frame { box-shadow: 8px 8px 0 rgba(219,91,161,.3); }
.reel-frame { position: relative; }
.reel-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.reel-play {
  position: absolute; inset: 0; margin: auto; width: 68px; height: 68px; border-radius: 50%;
  border: 0; padding: 0; cursor: pointer; background: var(--yellow); box-shadow: 4px 4px 0 var(--pink), 0 10px 30px rgba(0,0,0,.45);
  display: grid; place-items: center; transition: transform .2s ease, box-shadow .2s ease;
}
.reel-play span { width: 0; height: 0; margin-left: 6px; border-top: 13px solid transparent; border-bottom: 13px solid transparent; border-left: 21px solid var(--ink); }
.reel-play:hover { transform: scale(1.08); box-shadow: 6px 6px 0 var(--pink), 0 10px 30px rgba(0,0,0,.45); }
.reel-play:focus-visible { outline: 3px solid var(--white); outline-offset: 4px; }
.reel.is-playing .reel-play { display: none; }
.reel figcaption { font: italic 900 14px/1 var(--f-display); font-stretch: 125%; text-transform: uppercase; color: var(--white); }

/* ---------- Inner pages ---------- */
.page-hero { padding-top: calc(var(--header-h) + clamp(40px, 6vw, 80px)); padding-bottom: clamp(48px, 6vw, 80px); background: radial-gradient(60% 80% at 85% 0%, rgba(219,91,161,.16), transparent 70%), var(--night); }
.page-hero-compact { padding-bottom: 32px; }
.page-hero-inner { display: grid; gap: 18px; justify-items: start; max-width: 900px; }
.page-title { font-size: clamp(44px, 7.4vw, 96px); }
/* Phones: one long word (BIRMINGHAM, CONDITIONS.) overflowed 375px at 44px and scrolled the page sideways. 37.5px at 375. */
@media (max-width: 480px) { .page-title { font-size: clamp(30px, 10vw, 44px); } }
.page-hero .lede { color: var(--fog); font-size: clamp(17px, 1.5vw, 20px); max-width: 62ch; }
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.split-top { align-items: start; }
.split-copy { display: grid; gap: 18px; justify-items: start; }
.split-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 5 / 4; }
.split-photo img { width: 100%; height: 100%; object-fit: cover; }
.split-reel { max-width: 340px; justify-self: center; width: 100%; }
.note-tag { font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--yellow); }
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.pillar { padding: 8px 28px; display: grid; gap: 12px; align-content: start; border-left: 1.5px solid rgba(4,0,10,.35); }
.pillar:first-child { border-left: 0; padding-left: 0; }
.pillar { min-width: 0; }
.pillar-word { font-size: clamp(26px, 2.5vw, 36px); color: var(--ink); }
.pillar p { font-weight: 500; }
.ticket-explain { display: grid; gap: 0; width: 100%; }
.ticket-explain li { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: 20px; padding-block: 16px; border-top: 1px solid var(--line); align-items: baseline; }
.ticket-explain li:last-child { border-bottom: 1px solid var(--line); }
.ticket-explain .display { font-size: 20px; }
.pack-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }
.pack-card { background: var(--night); color: var(--fog); border-radius: var(--radius); padding: 28px; box-shadow: 6px 6px 0 var(--ink); display: grid; gap: 16px; align-content: start; }
.pack-card h3 { font: italic 900 20px/1 var(--f-display); font-stretch: 125%; text-transform: uppercase; color: var(--yellow); }
.check-list { display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 30px; color: var(--white); }
.check-list li::before { content: ""; position: absolute; left: 0; top: .3em; width: 16px; height: 9px; border-left: 3px solid var(--cyan); border-bottom: 3px solid var(--cyan); transform: rotate(-45deg); }
.how-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.how-grid li { background: rgba(4,0,10,.06); border: 1.5px solid rgba(4,0,10,.35); border-radius: var(--radius); padding: 18px; font-weight: 500; font-size: 15px; }
.how-grid strong { display: block; font: italic 900 15px/1.2 var(--f-display); font-stretch: 125%; text-transform: uppercase; margin-bottom: 6px; }
.lineup { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.stage { background: var(--night-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 18px; align-content: start; }
.stage-name { font-size: 26px; }
.stage-name small { display: block; font: 700 11px/1.4 var(--f-body); letter-spacing: .12em; color: var(--muted); margin-top: 6px; }
.slots { margin: 0; padding: 0; list-style: none; display: grid; }
.slots li { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 12px; padding-block: 12px; border-top: 1px solid var(--line); font-size: 15px; }
.slots time { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--white); font-size: 14px; }
.slots b { display: block; color: var(--white); font-weight: 700; }

/* ---------- Forms ---------- */
.form-wrap { max-width: 860px; }
.site-form { display: grid; gap: 24px; }
.site-form fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin: 0; display: grid; gap: 18px; min-width: 0; background: var(--night-2); }
.site-form legend { font: italic 900 18px/1 var(--f-display); font-stretch: 125%; text-transform: uppercase; color: var(--yellow); padding: 0 8px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field-narrow { max-width: 340px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field label, .q { font-weight: 600; color: var(--white); font-size: 15px; }
.q span { font-weight: 400; color: var(--muted); }
.site-form input[type="text"], .site-form input[type="email"], .site-form input[type="tel"], .site-form input[type="number"], .site-form select, .site-form textarea {
  font: 500 16px/1.4 var(--f-body); color: var(--white); background: var(--night); border: 1.5px solid var(--line); border-radius: 4px; padding: 13px 14px; width: 100%;
}
.site-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--cyan) 50%), linear-gradient(135deg, var(--cyan) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.site-form input:focus, .site-form select:focus, .site-form textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(72,199,244,.25); }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choices-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choice { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 4px; cursor: pointer; color: var(--fog); font-size: 15px; transition: border-color .2s ease; }
.choice:hover { border-color: var(--cyan); }
.choice input { accent-color: var(--cyan); width: 18px; height: 18px; margin: 0; flex: none; }
.choice:has(input:checked) { border-color: var(--cyan); color: var(--white); background: rgba(72,199,244,.08); }
.field-hint { color: var(--yellow); font-size: 14px; font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.site-form .btn { justify-self: start; }
.site-form .form-status { color: var(--yellow); }
.contact-info { display: grid; gap: 24px; }
.info-block { display: grid; gap: 8px; justify-items: start; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.info-label { font: 800 12px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); }
.info-value { font: italic 900 20px/1.2 var(--f-display); font-stretch: 125%; text-transform: uppercase; color: var(--white); }
.info-block a { color: var(--white); }

/* ---------- Legal ---------- */
.legal-section { padding-top: 24px; }
.prose { max-width: 72ch; display: grid; gap: 14px; }
.prose h2 { font: italic 900 22px/1.15 var(--f-display); font-stretch: 125%; text-transform: uppercase; color: var(--white); margin-top: 18px; }
.prose ul { list-style: disc; padding-left: 22px; display: grid; gap: 6px; }
.prose strong { color: var(--white); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 8px 0; width: 100%; }
.prose a { color: var(--cyan); }

@media (max-width: 1024px) {
  .about-grid, .split { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lineup { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .pillar:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 760px) {
  /* Swipeable strip: opens on the middle reel, with a slice of each neighbour showing */
  .reels {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-inline: calc(var(--gutter) * -1); padding: 4px 17vw 14px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .reels::-webkit-scrollbar { display: none; }
  .reel { flex: 0 0 66vw; scroll-snap-align: center; }
  .reel-raised { margin-top: 0; }
  /* Swipe cue: cyan wash from both edges plus a label, shown once when the strip scrolls into view */
  .swipe-cue {
    display: grid; place-items: center; position: absolute; inset: 0 calc(var(--gutter) * -1) 34px;
    pointer-events: none; opacity: 0; transition: opacity .45s ease;
    background: linear-gradient(90deg, rgba(72,199,244,.92) 0%, rgba(72,199,244,.35) 16%, rgba(72,199,244,0) 30%, rgba(72,199,244,0) 70%, rgba(72,199,244,.35) 84%, rgba(72,199,244,.92) 100%);
  }
  .swipe-cue.is-on { opacity: 1; }
  .swipe-pill {
    display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 999px;
    background: var(--cyan); color: var(--ink); font: italic 900 12px/1.1 var(--f-display); font-stretch: 125%;
    text-transform: uppercase; letter-spacing: .02em; box-shadow: 4px 4px 0 var(--ink); max-width: 86%; text-align: center;
  }
  .swipe-arrow { width: 0; height: 0; border-top: 6px solid transparent; border-bottom: 6px solid transparent; flex: none; }
  .swipe-arrow-l { border-right: 9px solid var(--ink); }
  .swipe-arrow-r { border-left: 9px solid var(--ink); }
  .swipe-cue.is-on .swipe-arrow-l { animation: nudge-l .9s ease-in-out infinite; }
  .swipe-cue.is-on .swipe-arrow-r { animation: nudge-r .9s ease-in-out infinite; }
  .reel figcaption { font-size: 13px; }
  .reel-play { width: 60px; height: 60px; }
  .reel-play span { border-top-width: 11px; border-bottom-width: 11px; border-left-width: 18px; }
  .pillars, .pack-grid, .field-row, .choices-grid { grid-template-columns: 1fr; }
  .pillar { border-left: 0; padding: 0; }
  .how-grid { grid-template-columns: 1fr; }
  .ticket-explain li { grid-template-columns: 1fr; gap: 6px; }
  .site-form fieldset { padding: 18px; }
}

@keyframes nudge-l { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-5px); } }
@keyframes nudge-r { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  .site-nav ul { gap: 22px; }
  .site-nav { gap: 22px; }
  .more-head { grid-template-columns: 1fr; }
  .day-cutout { left: 0; }
  .footer-inner { grid-template-columns: auto 1fr; }
  .footer-meta { text-align: left; }
}

/* ---------- Mobile nav ---------- */
@media (max-width: 1100px) {
  .nav-toggle {
    display: grid; place-items: center; width: 48px; height: 48px; border: 1.5px solid var(--line); border-radius: 4px;
    background: rgba(4,0,10,.6); cursor: pointer; position: relative; z-index: 2;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block; width: 22px; height: 2px; background: var(--white); position: relative; transition: transform .2s ease, background-color .2s ease;
  }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -7px; }
  .nav-toggle-bars::after { top: 7px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }
  .site-nav {
    position: absolute; left: var(--gutter); right: var(--gutter); top: calc(var(--header-h) - 4px);
    flex-direction: column; align-items: stretch; gap: 16px; padding: 20px;
    background: var(--night-2); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: 0 20px 40px rgba(0,0,0,.5);
  }
  .js .site-nav:not(.is-open) { display: none; }
  .site-nav ul { flex-direction: column; gap: 4px; }
  .site-nav ul a { display: block; padding: 10px 4px; font-size: 15px; }
}

/* ---------- Phones and small tablets ---------- */
@media (max-width: 760px) {
  :root { --header-h: 80px; }
  .brand img { width: 54px; }
  body { font-size: 17px; }
  .head-row { flex-direction: column; gap: 12px; }
  .tag { text-align: left; }
  .tag br { display: none; }

  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { padding-bottom: 8px; }
  .hero-title { font-size: 12.4vw; }
  /* On phones the art sits below the copy, so the cutout never covers text or buttons */
  .hero-art { height: clamp(380px, 110vw, 520px); margin-inline: calc(var(--gutter) * -0.5); }
  .hero-frame, .hero-frame-outline, .hero-pop { left: 6%; right: 4%; top: 18%; }
  .deco-ring { width: 120px; right: -30px; }
  .sticker { top: auto; bottom: 18%; left: 2%; font-size: 13px; }
  .hero-cutout { height: 96%; transform: translateX(-50%); }
  .hero-video::after { background: linear-gradient(180deg, rgba(4,0,10,.75) 0%, rgba(4,0,10,.63) 45%, rgba(4,0,10,.4) 75%, rgba(4,0,10,.7) 100%); }
  .hero { min-height: 88svh; }

  .strip-line { display: none; }

  .pace-grid, .ticket-grid { grid-template-columns: 1fr; }
  .photo-card-img { aspect-ratio: 16 / 10; }

  .more { padding-bottom: var(--section-y); }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature { padding: 22px 12px; border-width: 0 !important; }
  .feature:nth-child(odd) { border-right-width: 1.5px !important; }
  .feature:nth-child(-n+4) { border-bottom-width: 1.5px !important; }

  /* Instructor: arm still breaks the frame, but only inside its own section */
  .day { grid-template-columns: 1fr; }
  .day-photo { min-height: 0; aspect-ratio: 4 / 3.6; margin-top: 90px; --pop: 90px; }
  .day-photo-frame::after { background: linear-gradient(180deg, rgba(4,0,10,0) 55%, rgba(4,0,10,.95)); }
  .day-cutout { height: calc(100% + 90px); left: 50%; transform: translateX(-50%); }
  .day-copy { padding-top: 32px; }
  .day-row { grid-template-columns: 64px minmax(0, 1fr) auto; row-gap: 2px; }
  .day-row img { width: 64px; height: 48px; grid-row: span 2; }
  .day-word { grid-column: 2; }
  .day-desc { grid-column: 2; }
  .day-arrow { grid-column: 3; grid-row: 1 / span 2; }

  .recap-grid, .venue-grid, .faq-grid, .signup-grid { grid-template-columns: 1fr; gap: 32px; }
  .g-main { aspect-ratio: 4 / 3; }

  .sponsor-masonry { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 44px; gap: 8px; }
  .t-title { grid-column: span 6; grid-row: span 4; }
  .t-plat { grid-column: span 3; grid-row: span 3; }
  .t-main, .t-main-wide { grid-column: span 3; grid-row: span 2; }
  .sponsor-masonry > :nth-child(13) { grid-column: span 6; }
  .sponsor-masonry > :nth-child(6) { grid-column: span 6; } /* 5th platinum (Stretch Zone) takes a full row */
  .t-fill-m { grid-column: span 6 !important; }
  .t-partner { grid-column: span 2; grid-row: span 2; }
  .t-support, .t-support-wide { grid-column: span 2; grid-row: span 1; padding: 6px 12%; }
  .tile-tag { font-size: 9px; top: 8px; left: 9px; }
  .vendors { grid-template-columns: 1fr; }
  .vendors-photo { min-height: 0; aspect-ratio: 1 / 1; order: 2; }
  .vendors-photo { --vf-top: 64px; --vf-bottom: 0px; --vf-right: 22%; }
  .vendor-cutout { height: 78%; right: 0; max-width: 82%; }
  .vendors-copy { padding-bottom: 32px; }
  .partner-grid { grid-template-columns: 1fr; }

  .sponsor-inner { grid-template-columns: 1fr; justify-items: start; gap: 16px; }
  .sponsor-logo { justify-self: start; height: 60px; }

  .signup .h2 { border-right: 0; padding-right: 0; }
  .signup-form { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 400px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature { border-width: 0 0 1.5px 0 !important; }
  .feature:last-child { border-bottom-width: 0 !important; }
}

/* ---------- 2026 gallery: homepage strip, gallery page, lightbox ---------- */
.gal-strip-wrap { margin-top: clamp(40px, 5vw, 64px); }
.gal-strip { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 6px; scrollbar-width: none; }
.gal-strip::-webkit-scrollbar { display: none; }
.gs-item { flex: 0 0 auto; height: clamp(260px, 30vw, 420px); scroll-snap-align: start; border-radius: 6px; overflow: hidden; border: 2px solid var(--line); }
.gs-item img { height: 100%; width: auto; display: block; transition: transform .35s ease; }
.gs-item:hover img { transform: scale(1.04); }
.gal-strip-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 20px; flex-wrap: wrap; }
.gal-strip-nav { display: flex; gap: 10px; }
.gal-strip-btn { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--cyan); background: transparent; color: var(--white); font-size: 20px; cursor: pointer; }
.gal-strip-btn:hover { background: var(--cyan); color: var(--ink); }

.gal-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.gal-jump a { border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: 14px; font-weight: 700; color: var(--white); text-decoration: none; }
.gal-jump a:hover { border-color: var(--cyan); color: var(--cyan); }

/* Timeline: a line runs down the left rail, each chapter has a marker and a title that
   stays pinned beside its photos. Each chapter opens with one big lead photo. */
.gal-chapter { --gp: clamp(40px, 5vw, 72px); --rail: 22px; padding-block: var(--gp); scroll-margin-top: var(--header-h); }
.gal-chapter > .container { position: relative; display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); }
.gal-chapter > .container::before { content: ""; position: absolute; top: calc(var(--gp) * -1); bottom: calc(var(--gp) * -1); left: calc(var(--gutter) + var(--rail) / 2 - 1px); width: 2px; background: linear-gradient(var(--cyan), var(--pink)); opacity: .55; }
.gal-first > .container::before { top: 10px; }
.gal-last > .container::before { bottom: auto; height: 40px; }
.gal-head { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; padding-left: calc(var(--rail) + 22px); display: grid; gap: 8px; }
.gal-head::before { content: ""; position: absolute; left: 0; top: 6px; width: var(--rail); height: var(--rail); border-radius: 50%; background: var(--night); border: 3px solid var(--pink); box-shadow: 0 0 0 6px var(--night); }
.gal-chapter:nth-of-type(3n+2) .gal-head::before { border-color: var(--cyan); }
.gal-chapter:nth-of-type(3n) .gal-head::before { border-color: var(--yellow); }
.gal-num { font-size: clamp(40px, 5vw, 64px); line-height: .85; color: var(--pink); }
.gal-chapter:nth-of-type(3n+2) .gal-num { color: var(--cyan); }
.gal-chapter:nth-of-type(3n) .gal-num { color: var(--yellow); }
.gal-head .h2 { font-size: clamp(30px, 3.4vw, 46px); }
.gal-line { color: var(--fog); font-size: clamp(17px, 1.4vw, 19px); max-width: 32ch; margin: 0; }
.gal-grid { columns: 2 260px; column-gap: 16px; }
.gal-item { display: block; margin-bottom: 16px; break-inside: avoid; border-radius: 6px; overflow: hidden; cursor: zoom-in; }
.gal-grid .gal-item:first-child { column-span: all; }
.gal-grid .gal-item:first-child img { max-height: 78vh; object-fit: cover; }
.gal-item img { width: 100%; height: auto; display: block; transition: transform .35s ease; }
.gal-item:hover img { transform: scale(1.03); }
.gal-end-inner { display: grid; gap: 24px; justify-items: start; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(4,0,10,.92); }
.lightbox-stage { position: absolute; inset: 0; display: grid; place-items: center; padding: 56px 72px; }
.lightbox-stage img, .lightbox-stage video { max-width: 100%; max-height: calc(100vh - 140px); width: auto; height: auto; border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,.6); background: #000; }
.lightbox-stage video { aspect-ratio: 9 / 16; height: calc(100vh - 140px); }
.lightbox-cap { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; color: var(--fog); font-size: 14px; padding-inline: 72px; }
.lightbox-btn { position: absolute; z-index: 2; width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--white); background: rgba(4,0,10,.6); color: var(--white); font-size: 22px; cursor: pointer; display: grid; place-items: center; }
.lightbox-btn:hover { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.lightbox-close { top: 16px; right: 16px; }
.lightbox-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox.is-video .lightbox-prev, .lightbox.is-video .lightbox-next { display: none; }
@media (max-width: 760px) {
  .gal-chapter > .container { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .gal-head { position: relative; top: auto; }
  .gal-grid { padding-left: calc(var(--rail) + 22px); columns: 2 120px; column-gap: 10px; }
  .gal-item { margin-bottom: 10px; }
  .lightbox-stage { padding: 56px 8px 64px; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 8px; transform: none; width: 44px; height: 44px; }
  .lightbox-cap { bottom: 22px; padding-inline: 64px; font-size: 13px; }
}
