/* =====================================================================
   REBEL NATION CARNIVAL — ICE WALKERS 2026
   Combined build: Codex angular identity + Claude cinematic intro
   Type: Anton (display) / Sora (body) / Space Mono (labels)
   ===================================================================== */
:root {
  --ink: #05070a;
  --night: #101820;
  --ice: #b8f8ff;
  --aqua: #00c2d7;
  --teal: #027a89;
  --flare: #ff744d;
  --powder: #f5fbff;
  --chrome: #d7e5eb;
  --gold: #f5c04c;
  --max: 1180px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --f-display: "Anton", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  --f-body: "Sora", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --f-mono: "Space Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  color: var(--powder);
  background: var(--ink);
  font-family: var(--f-body);
  font-weight: 300;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font-family: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--flare); color: #fff; }

/* =====================================================================
   PRELOADER (cinematic intro from Claude build)
   ===================================================================== */
.preloader {
  position: fixed; inset: 0; z-index: 9999; background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s ease, visibility .6s;
}
.preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader__frost {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 50% 40%, rgba(0, 194, 215, .22), transparent 70%),
    radial-gradient(40% 40% at 80% 80%, rgba(255, 116, 77, .12), transparent 70%);
}
.preloader__inner { position: relative; text-align: center; padding: 0 24px; }
.preloader__logo {
  width: clamp(150px, 22vw, 240px); margin: 0 auto 30px;
  filter: invert(1) drop-shadow(0 0 30px rgba(184, 248, 255, .5));
  opacity: 0; transform: scale(.9); animation: plLogo .9s var(--ease) .1s forwards;
}
@keyframes plLogo { to { opacity: 1; transform: scale(1); } }
.preloader__line {
  display: flex; flex-wrap: wrap; gap: .55em; justify-content: center;
  font-family: var(--f-mono); font-size: clamp(.6rem, 1.6vw, .8rem);
  letter-spacing: .3em; text-transform: uppercase; color: rgba(245, 251, 255, .6); margin-bottom: 34px;
}
.preloader__line span { opacity: 0; transform: translateY(10px); animation: plWord .5s var(--ease) forwards; }
.preloader__line span:nth-child(1) { animation-delay: .3s; }
.preloader__line span:nth-child(2) { animation-delay: .4s; }
.preloader__line span:nth-child(3) { animation-delay: .5s; }
.preloader__line span:nth-child(4) { animation-delay: .6s; }
.preloader__line span:nth-child(5) { animation-delay: .7s; }
.preloader__line span:nth-child(6) { animation-delay: .8s; }
@keyframes plWord { to { opacity: 1; transform: none; } }
.preloader__bar { width: min(300px, 70vw); height: 2px; background: rgba(255, 255, 255, .12); margin: 0 auto; overflow: hidden; }
.preloader__bar span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--ice), var(--aqua), var(--flare));
  box-shadow: 0 0 14px var(--aqua);
}
.preloader__count { font-family: var(--f-mono); font-size: .8rem; letter-spacing: .2em; color: var(--ice); margin-top: 14px; }
.preloader__count i { font-style: normal; opacity: .5; }

/* =====================================================================
   ATMOSPHERE — grain, particles, cursor glow
   ===================================================================== */
.grain {
  position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: 0.09;
  background-image:
    repeating-radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.35) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.09) 0 1px, transparent 1px 7px);
  mix-blend-mode: soft-light;
}
.fx-canvas { position: fixed; inset: 0; z-index: 3; pointer-events: none; }

/* =====================================================================
   HEADER
   ===================================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px clamp(18px, 4vw, 54px);
  transition: background 260ms ease, padding 260ms ease, border-color 260ms ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  padding-block: 10px; background: rgba(5, 7, 10, 0.78);
  border-color: rgba(184, 248, 255, 0.18); backdrop-filter: blur(20px);
}
.brand-mark {
  width: clamp(108px, 12vw, 168px); padding: 8px 12px; background: rgba(245, 251, 255, 0.95);
  clip-path: polygon(0 0, 92% 0, 100% 50%, 92% 100%, 0 100%, 8% 50%);
  transition: width 260ms ease, padding 260ms ease;
}
.brand-mark img { width: 100%; height: auto; }
.site-header.is-scrolled .brand-mark { width: clamp(82px, 7vw, 112px); padding: 5px 9px; }

.nav-links {
  display: flex; align-items: center; gap: clamp(14px, 2vw, 30px);
  text-transform: uppercase; font-family: var(--f-mono); font-size: 0.72rem;
  letter-spacing: 0.16em; font-weight: 700;
}
.nav-links a { text-decoration: none; opacity: 0.82; transition: opacity 180ms ease, color 180ms ease; }
.nav-links a:hover { color: var(--ice); opacity: 1; }
.nav-cta {
  padding: 13px 20px; color: var(--ink); background: var(--ice);
  box-shadow: 0 12px 30px rgba(0, 194, 215, .28);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%, 12px 50%);
  transition: background 200ms ease, transform 200ms ease;
}
.nav-cta:hover { background: #fff; transform: translateY(-1px); }
.menu-toggle { display: none; }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: center;
  padding: 112px clamp(18px, 5vw, 72px) 64px; overflow: hidden; isolation: isolate;
}
.hero::before, .hero::after { content: ""; position: absolute; z-index: -1; pointer-events: none; }
.hero::before {
  inset: 0;
  background:
    radial-gradient(72% 80% at 16% 28%, rgba(0, 194, 215, 0.16), transparent 60%),
    radial-gradient(60% 70% at 94% 82%, rgba(255, 116, 77, 0.10), transparent 60%);
}
.hero::after {
  width: 40vw; height: 40vw; right: -14vw; bottom: -18vw;
  border: 2px solid rgba(184, 248, 255, 0.16); transform: rotate(18deg);
  box-shadow: 0 0 70px rgba(0, 194, 215, 0.18);
}
.hero-grid {
  width: 100%; max-width: var(--max); margin: 0 auto; display: grid;
  grid-template-columns: 1.04fr 0.84fr; gap: clamp(28px, 5vw, 70px); align-items: center;
}
.hero-content { position: relative; z-index: 2; }
.hero-logo {
  width: clamp(180px, 24vw, 320px); margin-bottom: 20px;
  filter: invert(1) drop-shadow(0 6px 28px rgba(184, 248, 255, .3));
  animation: heroLogoIn 1s var(--ease) both;
}
.hero-figure {
  position: relative; z-index: 2; margin: 0; height: min(76vh, 700px); overflow: hidden;
  clip-path: polygon(0 4%, 100% 0, 94% 100%, 6% 96%);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5); border: 1px solid rgba(184, 248, 255, 0.14);
  animation: heroFigIn 1.1s var(--ease) both;
}
.hero-figure img { width: 100%; height: 100%; object-fit: cover; object-position: center 16%; filter: saturate(1.06) contrast(1.04); }
.packages-media img { width: 100%; height: 100%; object-fit: cover; }
@keyframes heroFigIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes heroLogoIn { from { opacity: 0; transform: translateY(20px) scale(.96); } to { opacity: 1; transform: none; } }

.kicker, .section-label, .ice-copy span, .gallery-heading span {
  margin: 0 0 14px; color: var(--ice); text-transform: uppercase;
  font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.24em; font-weight: 700;
}
h1, h2 {
  margin: 0; font-family: var(--f-display); text-transform: uppercase;
  line-height: 0.9; letter-spacing: 0; overflow-wrap: break-word; font-weight: 400;
}
h1 { max-width: 13ch; font-size: clamp(3.4rem, 9vw, 8.4rem); text-shadow: 0 8px 40px rgba(0, 0, 0, 0.55); }
h2 { font-size: clamp(2.7rem, 7vw, 6rem); }
p { font-size: clamp(1rem, 1.4vw, 1.16rem); }
.hero-copy { max-width: 560px; margin: 22px 0 0; color: rgba(245, 251, 255, 0.86); font-size: clamp(1.05rem, 1.8vw, 1.4rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.button {
  position: relative; display: inline-flex; min-height: 50px; align-items: center; justify-content: center;
  padding: 15px 24px; text-decoration: none; text-transform: uppercase;
  font-family: var(--f-mono); font-size: 0.76rem; letter-spacing: 0.13em; font-weight: 700;
  overflow: hidden; transition: transform 200ms ease;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%, 16px 50%);
}
.button:hover { transform: translateY(-2px); }
.button::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-115%) skewX(-22deg);
  background: rgba(255, 255, 255, 0.32); transition: transform 520ms var(--ease);
}
.button:hover::after { transform: translateX(115%) skewX(-22deg); }
.button-primary { color: var(--ink); background: var(--ice); box-shadow: 0 18px 50px rgba(0, 194, 215, 0.28); }
.button-ghost { color: var(--powder); border: 1px solid rgba(245, 251, 255, 0.52); background: rgba(5, 7, 10, 0.28); }

.hero-proof { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 10px; max-width: 980px; margin-top: 60px; }
.hero-proof span {
  padding: 9px 14px; border: 1px solid rgba(184, 248, 255, 0.24); color: rgba(245, 251, 255, 0.84);
  background: rgba(5, 7, 10, 0.34); text-transform: uppercase;
  font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.15em; font-weight: 700;
}
.hero-scroll {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 9px; text-decoration: none;
  font-family: var(--f-mono); font-size: 0.58rem; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(245, 251, 255, .6);
}
.hero-scroll i { width: 1px; height: 44px; background: linear-gradient(var(--ice), transparent); position: relative; overflow: hidden; }
.hero-scroll i::after { content: ""; position: absolute; top: -50%; left: 0; width: 100%; height: 50%; background: var(--ice); animation: scrolldot 1.8s var(--ease) infinite; }
@keyframes scrolldot { to { top: 100%; } }
@media (max-width: 640px) { .hero-scroll { display: none; } }

/* =====================================================================
   INTRO TICKER
   ===================================================================== */
.intro-strip {
  display: flex; gap: 5vw; padding: 16px 0; overflow: hidden;
  border-block: 1px solid rgba(184, 248, 255, 0.18); background: var(--powder); color: var(--ink);
}
.intro-strip p {
  flex: 0 0 auto; margin: 0; animation: ticker 22s linear infinite;
  text-transform: uppercase; font-family: var(--f-display);
  font-size: clamp(1.6rem, 4vw, 4rem); line-height: 1;
}

/* =====================================================================
   SECTION SHELL
   ===================================================================== */
.section-shell { max-width: var(--max); margin: 0 auto; padding: clamp(78px, 12vw, 150px) clamp(18px, 4vw, 34px); }
.section-label { color: var(--ice); }

/* MOVEMENT */
.movement { position: relative; }
.movement-grid { display: grid; grid-template-columns: 1fr minmax(260px, 430px); gap: clamp(28px, 5vw, 70px); align-items: center; }
.movement-copy p { max-width: 610px; color: rgba(245, 251, 255, 0.72); }
.movement-photo {
  position: relative; min-height: 560px; overflow: hidden;
  clip-path: polygon(0 7%, 100% 0, 92% 100%, 8% 94%); box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}
.movement-photo img, .merch-image img { width: 100%; height: 100%; object-fit: cover; }
.movement-stats {
  grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: rgba(184, 248, 255, 0.18); border: 1px solid rgba(184, 248, 255, 0.18); margin-top: clamp(8px, 2vw, 24px);
}
.movement-stats article { min-height: 170px; padding: clamp(20px, 3vw, 34px); background: rgba(16, 24, 32, 0.84); }
.movement-stats strong {
  display: block; margin-bottom: 18px; color: var(--ice); font-family: var(--f-display);
  font-size: clamp(2rem, 4vw, 4rem); line-height: 0.9; text-transform: uppercase; font-weight: 400;
}
.movement-stats span, .story-panel p, .packages-content p, .merch-copy p, .faq-title p, .faq-list p, .site-footer p {
  color: rgba(245, 251, 255, 0.72);
}

/* ICE BREAK */
.ice-break { position: relative; min-height: 62svh; display: grid; place-items: center; overflow: hidden; background: var(--powder); color: var(--ink); }
.ice-break::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("../assets/logo-ice-overlay.jpg"); background-size: cover; background-position: center;
  opacity: 0.45; filter: saturate(0.7) contrast(1.2);
}
.ice-copy { position: relative; z-index: 2; text-align: center; mix-blend-mode: multiply; }
.ice-copy span { color: var(--teal); }
.ice-copy h2 { font-size: clamp(4rem, 18vw, 17rem); }
.ice-marquee {
  position: absolute; inset: auto 0 6vh; display: flex; gap: 36px; white-space: nowrap; transform: rotate(-2deg);
  color: rgba(5, 7, 10, 0.82); font-family: var(--f-display); font-size: clamp(2.4rem, 7vw, 7rem);
}
.ice-marquee span { animation: ticker 26s linear infinite reverse; }

/* JOUVERT */
.story-track { display: grid; grid-template-columns: minmax(0, 0.88fr) minmax(260px, 0.72fr) minmax(0, 0.88fr); gap: clamp(16px, 3vw, 28px); align-items: stretch; }
.story-panel {
  display: flex; min-height: 520px; flex-direction: column; justify-content: flex-end;
  padding: clamp(24px, 4vw, 44px); color: var(--ink); background: var(--ice);
  clip-path: polygon(0 0, 100% 8%, 92% 100%, 0 94%);
}
.story-panel.is-dark { color: var(--powder); background: #111920; clip-path: polygon(8% 8%, 100% 0, 100% 94%, 0 100%); }
.story-count { margin-bottom: 18px; color: var(--teal); text-transform: uppercase; font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.2em; font-weight: 700; }
.story-panel.is-dark .story-count { color: var(--ice); }
.story-panel h2 { font-size: clamp(2.3rem, 4.5vw, 4.6rem); }
.story-panel p { color: rgba(5, 7, 10, 0.72); }
.story-panel.is-dark p { color: rgba(245, 251, 255, 0.68); }
.story-image { min-height: 620px; margin: 0; overflow: hidden; clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%); }
.story-image img { width: 100%; height: 100%; object-fit: cover; }

/* PACKAGES */
.packages { position: relative; display: grid; min-height: 92svh; grid-template-columns: 1fr 1fr; isolation: isolate; background: var(--night); }
.packages-media { min-height: 680px; overflow: hidden; }
.packages-content { display: flex; max-width: 660px; flex-direction: column; justify-content: center; padding: clamp(38px, 6vw, 90px); }
.packages-content h2 { font-size: clamp(3rem, 6.5vw, 6.4rem); }
.package-lines { display: grid; gap: 1px; margin-top: 30px; border: 1px solid rgba(184, 248, 255, 0.22); background: rgba(184, 248, 255, 0.22); }
.package-lines a {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 22px clamp(18px, 3vw, 34px); text-decoration: none; background: rgba(5, 7, 10, 0.42);
  transition: background 220ms ease, color 220ms ease;
}
.package-lines a:hover { color: var(--ink); background: var(--ice); }
.package-lines span { text-transform: uppercase; font-family: var(--f-mono); letter-spacing: 0.12em; font-size: 0.8rem; font-weight: 700; }
.package-lines strong { font-family: var(--f-display); font-weight: 400; font-size: clamp(2rem, 5vw, 4rem); line-height: 0.9; letter-spacing: .02em; }
.fine-print { max-width: 480px; font-size: 0.9rem; color: rgba(245, 251, 255, .6); }

/* MERCH */
.merch-layout { display: grid; grid-template-columns: 0.7fr 1fr 0.7fr; gap: clamp(18px, 4vw, 54px); align-items: center; }
.merch-image { height: min(58vw, 620px); min-height: 420px; overflow: hidden; clip-path: polygon(0 0, 100% 6%, 88% 100%, 8% 94%); }
.merch-image.offset { transform: translateY(80px); clip-path: polygon(12% 7%, 100% 0, 100% 94%, 0 100%); }
.merch-copy h2 { font-size: clamp(2.8rem, 6.5vw, 6.4rem); }
.text-link {
  display: inline-flex; margin-top: 18px; color: var(--ice); text-transform: uppercase; text-decoration: none;
  font-family: var(--f-mono); letter-spacing: 0.14em; font-size: 0.76rem; font-weight: 700; border-bottom: 1px solid currentColor; padding-bottom: 3px;
}

/* GALLERY */
.gallery { padding: clamp(74px, 10vw, 120px) 0; background: var(--powder); color: var(--ink); overflow: hidden; }
.gallery-heading { max-width: var(--max); margin: 0 auto 34px; padding: 0 clamp(18px, 4vw, 34px); }
.gallery-heading span { color: var(--teal); }
.photo-river { display: grid; grid-template-columns: repeat(6, minmax(180px, 1fr)); gap: clamp(10px, 1.5vw, 18px); width: min(1680px, calc(100% - 28px)); margin: 0 auto; }
.g-shot { padding: 0; border: 0; background: none; cursor: pointer; position: relative; overflow: hidden; line-height: 0; display: block; }
.photo-river img { width: 100%; aspect-ratio: 0.78; object-fit: cover; filter: saturate(1.05) contrast(1.04); transition: transform 700ms var(--ease); }
.g-shot:nth-child(even) { transform: translateY(48px); }
.g-shot::after {
  content: "\2197"; position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(5, 7, 10, .55); color: var(--ice); opacity: 0; transform: scale(.6); transition: opacity .3s, transform .3s;
}
.g-shot:hover img { transform: scale(1.06); }
.g-shot:hover::after { opacity: 1; transform: scale(1); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 0.75fr 1.15fr; gap: clamp(28px, 7vw, 90px); align-items: start; }
.faq-title h2 { font-size: clamp(2.8rem, 6.5vw, 6.4rem); }
.faq-list { border-top: 1px solid rgba(184, 248, 255, 0.2); }
details { border-bottom: 1px solid rgba(184, 248, 255, 0.2); padding: 24px 0; }
summary {
  cursor: pointer; list-style: none; color: var(--powder); font-family: var(--f-display);
  text-transform: uppercase; font-size: clamp(1.5rem, 3.2vw, 3rem); line-height: 0.98;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--ice); font-family: var(--f-body); font-weight: 300; transition: transform .3s ease; }
details[open] summary::after { transform: rotate(45deg); }
details p { max-width: 620px; margin-top: 14px; }

/* FINAL CTA */
.final-cta { position: relative; min-height: 88svh; display: grid; place-items: center; padding: clamp(70px, 9vw, 120px) clamp(18px, 5vw, 72px); overflow: hidden; text-align: center; }
.final-cta::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(0deg, rgba(5, 7, 10, 0.96), rgba(5, 7, 10, 0.58)), radial-gradient(circle at 50% 50%, transparent 0 18%, rgba(5, 7, 10, 0.86) 70%);
}
.final-cta img {
  position: absolute; inset: 50% auto auto 50%; width: min(1120px, 110vw); height: auto; opacity: 0.11;
  filter: invert(1) saturate(0) brightness(1.4); transform: translate(-50%, -50%) rotate(-3deg);
}
.final-content { position: relative; z-index: 2; max-width: 940px; }
.final-content h2 { color: var(--powder); font-size: clamp(3.4rem, 10vw, 10rem); text-shadow: 0 18px 70px rgba(0, 0, 0, 0.72); }
.final-content .hero-actions { justify-content: center; }

/* FOOTER */
.site-footer { display: grid; grid-template-columns: minmax(130px, 220px) 1fr auto; gap: clamp(24px, 5vw, 72px); align-items: center; padding: 34px clamp(18px, 5vw, 72px); border-top: 1px solid rgba(184, 248, 255, 0.18); background: var(--ink); }
.footer-brand { display: block; }
.site-footer img { width: 100%; padding: 10px; background: var(--powder); clip-path: polygon(0 0, 94% 0, 100% 50%, 94% 100%, 0 100%, 6% 50%); }
.site-footer a { display: block; width: fit-content; margin-top: 6px; text-decoration: none; transition: color .2s ease; }
.site-footer > div > a:hover { color: var(--ice); }
.socials { display: flex; gap: 18px; flex-wrap: wrap; text-transform: uppercase; font-family: var(--f-mono); letter-spacing: 0.12em; font-size: 0.72rem; font-weight: 700; }
.socials a { margin-top: 0; }

/* =====================================================================
   LIGHTBOX
   ===================================================================== */
.lightbox {
  position: fixed; inset: 0; z-index: 8000; background: rgba(5, 7, 10, 0.95); backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden;
  transition: opacity .4s, visibility .4s; padding: 5vw;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 90vw; max-height: 88vh; box-shadow: 0 30px 100px rgba(0, 0, 0, .7); transform: scale(.94); transition: transform .4s var(--ease); }
.lightbox.open img { transform: scale(1); }
.lightbox__close { position: absolute; top: 22px; right: 28px; font-size: 2.4rem; line-height: 1; color: var(--powder); width: 50px; height: 50px; background: none; border: 0; cursor: pointer; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); font-size: 2.6rem; color: var(--powder); width: 60px; height: 60px; background: none; border: 0; cursor: pointer; opacity: .7; transition: opacity .3s, color .3s; }
.lightbox__nav:hover { opacity: 1; color: var(--ice); }
.lightbox__nav--prev { left: 2vw; } .lightbox__nav--next { right: 2vw; }

/* =====================================================================
   REVEAL
   ===================================================================== */
.js .reveal { opacity: 0; transform: translateY(44px); transition: opacity 800ms var(--ease), transform 900ms var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes ticker { to { transform: translateX(calc(-100% - 5vw)); } }

/* =====================================================================
   ABOUT
   ===================================================================== */
.about-grid { display: grid; grid-template-columns: 1fr minmax(280px, 460px); gap: clamp(28px, 5vw, 72px); align-items: center; }
.about-copy h2 { font-size: clamp(2.4rem, 5vw, 4.4rem); max-width: 16ch; }
.about-copy p { max-width: 56ch; margin-top: 22px; color: rgba(245, 251, 255, 0.74); }
.about-copy strong { color: var(--ice); font-weight: 600; }
.about-copy .text-link { margin-top: 24px; }
.about-photo { position: relative; min-height: 480px; overflow: hidden; clip-path: polygon(0 6%, 100% 0, 92% 100%, 8% 95%); box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }

/* =====================================================================
   COSTUMES PREVIEW + PRODUCT CARDS (shared with store)
   ===================================================================== */
.costumes { max-width: var(--max); margin: 0 auto; padding: clamp(40px, 8vw, 90px) clamp(18px, 4vw, 34px) clamp(78px, 12vw, 140px); text-align: center; }
.costumes-head { max-width: 640px; margin: 0 auto clamp(36px, 5vw, 56px); }
.costumes-head h2 { font-size: clamp(2.6rem, 6vw, 5rem); }
.costumes-head p { margin-top: 16px; color: rgba(245, 251, 255, 0.7); }
.costumes-all { margin-top: clamp(36px, 5vw, 54px); }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); text-align: left; }
.product-grid--store { grid-template-columns: repeat(3, 1fr); max-width: var(--max); margin: 0 auto; }

.product-card {
  position: relative; display: flex; flex-direction: column; background: var(--night);
  border: 1px solid rgba(184, 248, 255, 0.14); overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 92%, calc(100% - 22px) 100%, 0 100%);
  transition: transform 350ms var(--ease), border-color 350ms ease;
}
.product-card:hover { transform: translateY(-6px); border-color: rgba(184, 248, 255, 0.4); }
.product-card__media { position: relative; display: block; aspect-ratio: 0.82; overflow: hidden; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.06); }
.product-card__tag {
  position: absolute; top: 14px; left: 14px; z-index: 2; padding: 7px 12px;
  background: rgba(5, 7, 10, 0.7); color: var(--ice); text-transform: uppercase;
  font-family: var(--f-mono); font-size: 0.6rem; letter-spacing: 0.16em; font-weight: 700;
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.product-card__tag--gold { color: var(--ink); background: var(--gold); }
.product-card__body { display: flex; flex-direction: column; gap: 6px; padding: clamp(18px, 2vw, 24px); flex: 1; }
.product-card__body h3 { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 0.95; letter-spacing: 0.01em; }
.product-card__meta { font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(245, 251, 255, 0.5); }
.product-card__buy {
  margin-top: auto; padding-top: 16px; display: inline-flex; align-items: center; gap: 8px;
  color: var(--ice); text-decoration: none; text-transform: uppercase;
  font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.12em; font-weight: 700;
  transition: gap 200ms ease, color 200ms ease;
}
.product-card__buy::after { content: "\2192"; transition: transform 200ms ease; }
.product-card__buy:hover { color: #fff; }
.product-card__buy:hover::after { transform: translateX(4px); }
.product-card__buy--solid {
  align-self: flex-start; margin-top: 14px; padding: 12px 18px; color: var(--ink); background: var(--ice);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%, 12px 50%);
}
.product-card__buy--solid::after { content: ""; }
.product-card--feature { border-color: rgba(245, 192, 76, 0.4); }
.product-card--cta {
  display: grid; place-items: center; text-align: center; background: linear-gradient(160deg, rgba(0, 194, 215, 0.12), rgba(16, 24, 32, 0.9));
  border-style: dashed; border-color: rgba(184, 248, 255, 0.3);
}
.product-card__cta-inner { padding: clamp(28px, 4vw, 44px); }
.product-card__cta-inner h3 { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.product-card__cta-inner p { margin: 14px 0 24px; color: rgba(245, 251, 255, 0.7); font-size: 0.96rem; }

/* =====================================================================
   STORE PAGE
   ===================================================================== */
.store-hero { position: relative; padding: clamp(120px, 16vh, 180px) clamp(18px, 5vw, 72px) clamp(30px, 5vw, 50px); overflow: hidden; }
.store-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 90% at 20% 0%, rgba(0, 194, 215, 0.18), transparent 60%), radial-gradient(60% 80% at 90% 10%, rgba(255, 116, 77, 0.1), transparent 60%); }
.store-hero__inner { max-width: var(--max); margin: 0 auto; }
.store-hero h1 { font-size: clamp(3rem, 9vw, 7rem); }
.store-hero__copy { max-width: 54ch; margin-top: 18px; color: rgba(245, 251, 255, 0.74); }

.store-filters { display: flex; flex-wrap: wrap; gap: 10px; max-width: var(--max); margin: 0 auto clamp(28px, 4vw, 40px); padding: 0 clamp(18px, 5vw, 72px); }
.store-filters__chip {
  padding: 9px 16px; border: 1px solid rgba(184, 248, 255, 0.24); color: rgba(245, 251, 255, 0.7);
  text-transform: uppercase; font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.14em; font-weight: 700;
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 50%, calc(100% - 9px) 100%, 0 100%, 9px 50%);
}
.store-filters__chip.is-active { color: var(--ink); background: var(--ice); border-color: transparent; }

.store-grid-shell { padding: 0 clamp(18px, 5vw, 72px) clamp(50px, 8vw, 90px); }
.store-grid-shell .product-grid--store { max-width: var(--max); }

.store-help {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; max-width: var(--max);
  margin: 0 auto clamp(70px, 10vw, 120px); background: rgba(184, 248, 255, 0.16);
  border: 1px solid rgba(184, 248, 255, 0.16); width: calc(100% - clamp(36px, 10vw, 144px));
}
.store-help__item { background: var(--night); padding: clamp(24px, 3vw, 38px); }
.store-help__item h4 { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ice); margin: 0 0 12px; }
.store-help__item p { margin: 0; color: rgba(245, 251, 255, 0.7); font-size: 0.94rem; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 980px) {
  .menu-toggle { position: relative; z-index: 61; display: grid; width: 46px; height: 46px; place-items: center; border: 1px solid rgba(245, 251, 255, 0.36); background: rgba(5, 7, 10, 0.36); color: var(--powder); cursor: pointer; }
  .site-header { padding: 14px 18px; }
  /* No backdrop-filter on mobile: a filtered header would become the containing
     block for the position:fixed mobile menu and collapse it into the bar on scroll. */
  .site-header.is-scrolled { padding-block: 8px; background: rgba(5, 7, 10, 0.94); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .site-header .brand-mark, .site-header.is-scrolled .brand-mark { width: 92px; padding: 5px 8px; }
  .menu-toggle span { width: 20px; height: 2px; background: currentColor; transition: transform 220ms ease; }
  .menu-open .menu-toggle span:first-child { transform: translateY(5px) rotate(45deg); }
  .menu-open .menu-toggle span:last-child { transform: translateY(-5px) rotate(-45deg); }
  .nav-links {
    position: fixed; inset: 0; z-index: 60; flex-direction: column; justify-content: center; gap: 26px;
    background: rgba(5, 7, 10, 0.96); backdrop-filter: blur(18px); transform: translateX(100%);
    transition: transform 360ms var(--ease); font-size: 1.1rem;
    overflow-y: auto; padding: max(80px, env(safe-area-inset-top)) 18px max(32px, env(safe-area-inset-bottom));
  }
  .menu-open .nav-links { transform: translateX(0); }
  .nav-cta { padding: 16px 26px; }
  .hero { align-items: start; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { height: 52vh; min-height: 360px; order: -1; }
  .about-grid, .movement-grid, .story-track, .packages, .merch-layout, .faq-grid, .site-footer { grid-template-columns: 1fr; }
  .about-photo, .movement-photo, .story-image, .packages-media, .merch-image { min-height: 420px; }
  .movement-stats { grid-template-columns: 1fr; }
  .story-panel { min-height: 380px; }
  .packages-content { max-width: none; }
  .merch-image.offset, .g-shot:nth-child(even) { transform: none; }
  .photo-river { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-grid, .product-grid--store { grid-template-columns: repeat(2, 1fr); }
  .store-help { grid-template-columns: 1fr; }
  .socials { flex-wrap: wrap; }
  .site-footer { text-align: left; }
}

@media (max-width: 640px) {
  .hero { min-height: auto; padding-top: 100px; padding-bottom: 44px; }
  .hero::before { background: radial-gradient(82% 60% at 50% 16%, rgba(0, 194, 215, 0.14), transparent 60%); }
  .hero-figure { height: 58vh; min-height: 320px; }
  .hero-logo { width: clamp(150px, 50vw, 230px); }
  .hero-proof { margin-top: 28px; }
  .button { width: 100%; }
  .photo-river { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid, .product-grid--store { grid-template-columns: 1fr; }
  .packages-media { min-height: 360px; }
  .site-footer img { max-width: 190px; }
}

/* =====================================================================
   CARNIVAL ENERGY — the heat layer over the ice
   (Trinidad-rooted mas soul: J'ouvert, soca, fete, the road)
   ===================================================================== */
:root {
  --hot: #ff2f7e;   /* fete magenta  */
  --sun: #ffb627;   /* soca gold     */
  --lime: #21d488;  /* riddim green  */
  --grape: #7b3ff2; /* mas purple    */
  --fete: linear-gradient(90deg, #ff2f7e, #ff744d, #ffb627, #21d488, #00c2d7, #7b3ff2);
}

/* festival ribbon pinned at the very top */
.heat-line {
  position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 70; pointer-events: none;
  background: var(--fete); background-size: 250% 100%; animation: heatflow 7s linear infinite;
}
@keyframes heatflow { to { background-position: 250% 0; } }

/* live countdown to the road */
.countdown { display: flex; flex-wrap: wrap; align-items: flex-end; gap: clamp(8px, 1.6vw, 16px); margin-top: 34px; }
.cd-unit { display: flex; flex-direction: column; align-items: center; min-width: 58px; }
.cd-unit span {
  font-family: var(--f-display); font-weight: 400; font-size: clamp(2.3rem, 5vw, 3.8rem);
  line-height: 0.86; color: var(--powder); font-variant-numeric: tabular-nums;
}
.cd-unit i { margin-top: 7px; font-style: normal; font-family: var(--f-mono); font-size: 0.56rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sun); }
.cd-sep { font-family: var(--f-display); font-size: clamp(1.8rem, 4vw, 3rem); line-height: 0.86; color: var(--hot); align-self: center; }
.cd-label { flex-basis: 100%; margin: 14px 0 0; font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(245, 251, 255, 0.62); }
.cd-label b { color: var(--ice); font-weight: 700; }

/* soca marquee — scrolling carnival vocabulary */
.beat-strip { position: relative; overflow: hidden; padding: 15px 0; background: var(--ink); border-block: 1px solid rgba(255, 255, 255, 0.1); }
.beat-strip::before, .beat-strip::after { content: ""; position: absolute; top: 0; bottom: 0; width: 12vw; z-index: 2; pointer-events: none; }
.beat-strip::before { left: 0; background: linear-gradient(90deg, var(--ink), transparent); }
.beat-strip::after { right: 0; background: linear-gradient(270deg, var(--ink), transparent); }
.beat-strip__inner { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.beat-track { display: flex; align-items: center; gap: clamp(1.8rem, 4vw, 3rem); padding-right: clamp(1.8rem, 4vw, 3rem); white-space: nowrap; }
.beat-track span {
  font-family: var(--f-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(1.4rem, 3.4vw, 2.8rem); line-height: 1; letter-spacing: 0.01em; color: var(--powder);
}
.beat-track span.c1 { color: var(--hot); }
.beat-track span.c2 { color: var(--sun); }
.beat-track span.c3 { color: var(--lime); }
.beat-track span.c4 { color: var(--aqua); }
.beat-track b { color: var(--flare); font-weight: 400; padding: 0 0.2em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* THE ROAD — section intro */
.road .section-label { color: var(--sun); }
.road > h2 { margin-bottom: clamp(30px, 4vw, 52px); }
.road .story-panel { background: var(--ice); }
.road .story-panel.is-dark { background: linear-gradient(160deg, #16060f, #1a0a06); }
.road .story-panel.is-dark .story-count { color: var(--hot); }
.road .story-image { position: relative; }
.road .story-image::after {
  content: "On de road · Play mas"; position: absolute; left: 0; right: 0; bottom: 0;
  padding: 30px 22px 18px; font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--powder);
  background: linear-gradient(0deg, rgba(5, 7, 10, 0.86), transparent);
}

/* real Antigua Carnival 2026 dates */
.dates-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: clamp(34px, 5vw, 58px); background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.12); }
.dates-strip div { background: var(--night); padding: clamp(20px, 3vw, 32px); }
.dates-strip b { display: block; margin-bottom: 8px; font-family: var(--f-display); font-weight: 400; font-size: clamp(1.6rem, 3.6vw, 2.9rem); line-height: 0.92; color: var(--sun); }
.dates-strip span { font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.13em; text-transform: uppercase; color: rgba(245, 251, 255, 0.66); }

/* hot accent on the final call */
.final-cta::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; z-index: 3;
  background: var(--fete); background-size: 250% 100%; animation: heatflow 7s linear infinite;
}

/* =====================================================================
   COLOR PUSH — louder carnival, ice costumes stay cool for contrast
   ===================================================================== */
/* warmer, multi-colour hero atmosphere */
.hero::before {
  background:
    radial-gradient(66% 74% at 14% 26%, rgba(0, 194, 215, 0.20), transparent 60%),
    radial-gradient(56% 64% at 92% 30%, rgba(255, 47, 126, 0.20), transparent 60%),
    radial-gradient(60% 70% at 88% 88%, rgba(255, 182, 39, 0.16), transparent 60%),
    radial-gradient(60% 70% at 20% 92%, rgba(123, 63, 242, 0.20), transparent 62%);
}

/* marquee becomes a full fete-gradient banner with bold dark text */
.beat-strip { background: var(--fete); background-size: 220% 100%; animation: heatflow 14s linear infinite; border-block: 2px solid rgba(5, 7, 10, 0.35); }
.beat-strip::before, .beat-strip::after { display: none; }
.beat-strip .beat-track span { color: #0a0710 !important; }
.beat-strip .beat-track b { color: rgba(255, 255, 255, 0.9); }

/* THE ROAD — J'ouvert in deep mas-purple, last lap in hot magenta→sun */
.road .story-panel { color: var(--powder); background: linear-gradient(158deg, #2c1052, #15082c); }
.road .story-panel .story-count { color: var(--lime); }
.road .story-panel h2 { color: #fff; }
.road .story-panel p { color: rgba(245, 251, 255, 0.78); }
.road .story-panel.is-dark { color: #fff; background: linear-gradient(150deg, #ff2f7e, #ff5a2e 62%, #ffb627); }
.road .story-panel.is-dark .story-count { color: #2c1052; }
.road .story-panel.is-dark p { color: rgba(255, 255, 255, 0.92); }

/* a hot CTA button */
.button-hot { color: #fff; background: linear-gradient(120deg, var(--hot), var(--flare) 70%, var(--sun)); box-shadow: 0 18px 50px rgba(255, 47, 126, 0.42); }

/* final call washed in carnival colour */
.final-cta {
  background:
    radial-gradient(82% 92% at 50% 26%, rgba(255, 47, 126, 0.55), transparent 60%),
    radial-gradient(70% 80% at 84% 88%, rgba(123, 63, 242, 0.5), transparent 60%),
    radial-gradient(64% 74% at 14% 86%, rgba(255, 182, 39, 0.4), transparent 60%),
    var(--ink);
}
.final-cta::before { background: linear-gradient(0deg, rgba(5, 7, 10, 0.84), rgba(5, 7, 10, 0.28)); }
.final-cta .kicker { color: var(--sun); }

/* section-label colour rhythm */
.costumes .section-label { color: var(--hot); }
.faq .section-label { color: var(--sun); }

@media (max-width: 640px) {
  .dates-strip { grid-template-columns: 1fr; }
  .cd-unit { min-width: 50px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .fx-canvas, .grain { display: none; }
  .hero-media, .packages-media, [data-parallax] { transform: none !important; }
  .beat-strip__inner { animation: none !important; }
}
