/* ==========================================================================
   OUTLAWS — Design System
   A K-pop performance crew & academy. Blush pink energy, charcoal precision.
   ========================================================================== */

/* ---- Reset ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.15; text-wrap: balance; }
p { text-wrap: pretty; }

/* ---- Design tokens ------------------------------------------------------ */
:root {
  /* Brand colors (from logo) */
  --blush: #F8DDE3;
  --pastel-pink: #F6C9D5;
  --magenta: #D71967;
  --deep-pink: #B81154;
  --cream: #FFF7F4;
  --charcoal: #202124;
  --yellow: #FFF07A;

  /* Derived surfaces */
  --charcoal-soft: #2C2D30;
  --charcoal-line: rgba(255,255,255,0.12);
  --white: #FFFFFF;
  --ink-on-light: var(--charcoal);
  --ink-on-dark: #FFF7F4;
  --muted-on-light: #5B5B5E;
  --muted-on-dark: #C7C4C8;

  /* Gradients */
  --gradient-blush: linear-gradient(135deg, var(--blush) 0%, var(--pastel-pink) 100%);
  --gradient-magenta: linear-gradient(120deg, var(--magenta) 0%, var(--deep-pink) 100%);
  --gradient-glow: radial-gradient(circle, rgba(255,240,122,0.35) 0%, rgba(255,240,122,0) 70%);

  /* Typography */
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-sans: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --fs-xs: clamp(0.78rem, 0.75rem + 0.15vw, 0.85rem);
  --fs-sm: clamp(0.88rem, 0.85rem + 0.15vw, 0.95rem);
  --fs-base: clamp(1rem, 0.97rem + 0.15vw, 1.05rem);
  --fs-md: clamp(1.15rem, 1.1rem + 0.3vw, 1.35rem);
  --fs-lg: clamp(1.4rem, 1.25rem + 0.8vw, 1.9rem);
  --fs-xl: clamp(1.9rem, 1.5rem + 2vw, 2.75rem);
  --fs-2xl: clamp(2.4rem, 1.8rem + 3vw, 3.75rem);
  --fs-3xl: clamp(2.9rem, 2rem + 4.5vw, 5rem);

  /* Spacing */
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* Shape / motion */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --shadow-soft: 0 12px 32px rgba(32, 1, 20, 0.10);
  --shadow-card: 0 8px 24px rgba(32, 1, 20, 0.08);
  --shadow-glow: 0 0 0 1px rgba(215,25,103,0.12), 0 18px 40px rgba(215,25,103,0.18);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 84px;
  --header-h-scrolled: 64px;
  --container-w: 1240px;

  color-scheme: light;
}

/* ---- Layout helpers ----------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}
.section { padding-block: var(--space-2xl); position: relative; }
.section--tight { padding-block: var(--space-xl); }
.section--dark { background: var(--charcoal); color: var(--ink-on-dark); }
.section--blush { background: var(--gradient-blush); color: var(--ink-on-light); }
.section--cream { background: var(--cream); }
.section-head { max-width: 62ch; margin-bottom: var(--space-lg); position: relative; }
.section-head--center { max-width: 68ch; margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--font-sans); font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; font-size: var(--fs-xs); color: var(--deep-pink);
  margin-bottom: var(--space-sm);
}
.section--dark .eyebrow { color: var(--yellow); }
.eyebrow::before {
  content: ""; width: 8px; height: 8px; background: currentColor;
  clip-path: polygon(50% 0%, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0% 50%, 39% 39%);
}
h1, .h1 { font-family: var(--font-display); font-size: var(--fs-3xl); letter-spacing: -0.01em; }
h2, .h2 { font-family: var(--font-display); font-size: var(--fs-2xl); letter-spacing: -0.01em; }
h3, .h3 { font-family: var(--font-display); font-size: var(--fs-xl); }
h4, .h4 { font-family: var(--font-display); font-size: var(--fs-md); }
.lede { font-size: var(--fs-md); color: var(--muted-on-light); max-width: 58ch; }
.section--dark .lede { color: var(--muted-on-dark); }
.text-muted { color: var(--muted-on-light); }
.section--dark .text-muted { color: var(--muted-on-dark); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Skip link */
.skip-link {
  position: fixed; top: -60px; left: 1rem; z-index: 999;
  background: var(--charcoal); color: var(--ink-on-dark);
  padding: 0.75rem 1.25rem; border-radius: var(--radius-sm);
  font-weight: 700; transition: top 0.2s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

/* Focus visibility */
:focus-visible {
  outline: 3px solid var(--deep-pink);
  outline-offset: 3px;
  border-radius: 4px;
}
.section--dark :focus-visible { outline-color: var(--yellow); }

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 48px; padding: 0.85em 1.6em;
  font-family: var(--font-sans); font-weight: 700; font-size: var(--fs-sm);
  letter-spacing: 0.01em; border-radius: var(--radius-pill);
  border: 2px solid transparent; white-space: nowrap;
  transition: transform 0.18s var(--ease-out), box-shadow 0.18s var(--ease-out), background-color 0.18s var(--ease-out), color 0.18s var(--ease-out);
  isolation: isolate; overflow: hidden;
}
.btn:active { transform: translateY(1px) scale(0.98); }
.btn-primary { background: var(--deep-pink); color: var(--white); box-shadow: var(--shadow-glow); }
.btn-primary:hover { background: var(--magenta); transform: translateY(-2px); }
.btn-secondary { background: transparent; border-color: var(--charcoal); color: var(--charcoal); }
.btn-secondary:hover { background: var(--charcoal); color: var(--ink-on-dark); transform: translateY(-2px); }
.section--dark .btn-secondary { border-color: var(--ink-on-dark); color: var(--ink-on-dark); }
.section--dark .btn-secondary:hover { background: var(--ink-on-dark); color: var(--charcoal); }
.btn-ghost { background: rgba(255,255,255,0.08); color: var(--ink-on-dark); border-color: var(--charcoal-line); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,0.16); transform: translateY(-2px); }
.btn-yellow { background: var(--yellow); color: var(--charcoal); }
.btn-yellow:hover { background: #fff4a3; transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn-sm { min-height: 40px; padding: 0.6em 1.1em; font-size: var(--fs-xs); }

/* star-flash click feedback */
.btn .flash {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle, rgba(255,240,122,0.9) 0%, rgba(255,240,122,0) 60%);
  opacity: 0; z-index: -1;
}
.btn.is-flashing .flash { animation: btnFlash 0.5s var(--ease-out); }
@keyframes btnFlash {
  0% { opacity: 0.9; transform: scale(0.4); }
  100% { opacity: 0; transform: scale(1.6); }
}
@media (prefers-reduced-motion: reduce) {
  .btn.is-flashing .flash { animation: none; }
}

.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* ---- Header -------------------------------------------------------------- */
.site-header {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 200;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255,247,244,0.85);
  backdrop-filter: blur(10px) saturate(1.2);
  border-bottom: 1px solid rgba(32,1,20,0.06);
  transition: height 0.3s var(--ease-out), background-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.site-header.is-scrolled {
  height: var(--header-h-scrolled);
  background: rgba(255,247,244,0.92);
  box-shadow: 0 6px 24px rgba(32,1,20,0.08);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: 0.65rem; font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; }
.brand img { width: 44px; height: 44px; border-radius: 50%; transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out); }
.site-header.is-scrolled .brand img { width: 36px; height: 36px; }
.brand-sub { display: block; font-family: var(--font-sans); font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-on-light); font-weight: 600; }

.main-nav { display: none; }
.main-nav ul { display: flex; align-items: center; gap: 1.6rem; }
.main-nav a {
  font-size: 0.92rem; font-weight: 600; color: var(--charcoal); position: relative; padding: 0.3rem 0;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--magenta); transition: right 0.25s var(--ease-out);
}
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { right: 0; }
.main-nav a[aria-current="page"] { color: var(--deep-pink); }

.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.nav-toggle {
  display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center;
  background: transparent; border: none; border-radius: var(--radius-sm);
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 22px; height: 2px; background: var(--charcoal);
  position: relative; transition: transform 0.25s var(--ease-out), opacity 0.2s;
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* Mobile slide-out nav */
.mobile-nav-scrim {
  position: fixed; inset: 0; background: rgba(32,1,20,0.45); z-index: 220;
  opacity: 0; pointer-events: none; transition: opacity 0.25s var(--ease-out);
}
.mobile-nav-scrim.is-open { opacity: 1; pointer-events: auto; }
.mobile-nav {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 221;
  width: min(86vw, 380px);
  background: var(--charcoal); color: var(--ink-on-dark);
  padding: max(1.25rem, env(safe-area-inset-top)) 1.5rem 1.5rem;
  transform: translateX(100%);
  transition: transform 0.32s var(--ease-out);
  overflow-y: auto;
  display: flex; flex-direction: column;
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-lg); }
.mobile-nav-close {
  width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.08);
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.3rem; border: none; color: var(--ink-on-dark);
}
.mobile-nav ul { display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-nav a {
  display: block; padding: 0.9rem 0.25rem; font-size: 1.15rem; font-family: var(--font-display); font-weight: 600;
  border-bottom: 1px solid var(--charcoal-line);
}
.mobile-nav .btn-row { margin-top: var(--space-lg); flex-direction: column; }
.mobile-nav .btn { width: 100%; }

@media (min-width: 900px) {
  .main-nav { display: block; }
  .nav-toggle, .mobile-nav, .mobile-nav-scrim { display: none; }
}

/* ---- Hero ---------------------------------------------------------------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  color: var(--ink-on-dark); overflow: hidden; padding-top: var(--header-h);
  background: var(--charcoal);
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(32,1,20,0.55) 0%, rgba(32,1,20,0.35) 35%, rgba(32,1,20,0.92) 100%);
}
.hero-glow {
  position: absolute; z-index: 1; inset: -20% -20% auto auto; width: 60vw; height: 60vw;
  background: var(--gradient-glow); filter: blur(10px); pointer-events: none;
}
.hero-content { position: relative; z-index: 2; padding-block: var(--space-2xl) var(--space-xl); width: 100%; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 0.6rem; font-size: var(--fs-xs); letter-spacing: 0.16em;
  text-transform: uppercase; font-weight: 700; color: var(--yellow); margin-bottom: var(--space-sm);
}
.hero h1 { font-size: clamp(3.2rem, 8vw + 1rem, 8rem); line-height: 0.95; margin-bottom: var(--space-sm); }
.hero .hero-tagline { font-family: var(--font-display); font-style: italic; font-size: var(--fs-lg); color: var(--pastel-pink); margin-bottom: var(--space-sm); }
.hero p.lede { color: rgba(255,247,244,0.88); font-size: var(--fs-md); margin-bottom: var(--space-lg); max-width: 46ch; }
.scroll-indicator {
  position: absolute; left: 50%; bottom: var(--space-md); transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  font-size: var(--fs-xs); letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,247,244,0.75);
}
.scroll-indicator .line { width: 1px; height: 34px; background: linear-gradient(180deg, currentColor, transparent); animation: scrollLine 1.8s ease-in-out infinite; }
@keyframes scrollLine { 0% { opacity: 0.2; } 50% { opacity: 1; } 100% { opacity: 0.2; } }
@media (prefers-reduced-motion: reduce) { .scroll-indicator .line { animation: none; opacity: 0.6; } }

/* ---- Intro animation (opening sequence) ---------------------------------- */
.intro-overlay {
  position: fixed; inset: 0; z-index: 500; background: var(--blush);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s var(--ease-out), visibility 0.5s;
  pointer-events: none; /* never blocks clicks to the real page underneath */
}
.intro-overlay[hidden] { display: none; }
.intro-overlay.is-fading { opacity: 0; }
.intro-stage { position: relative; width: 220px; height: 220px; }
.intro-ring {
  position: absolute; inset: 0; border-radius: 50%; fill: none;
  stroke: var(--yellow); stroke-width: 2; stroke-linecap: round;
}
.intro-ring circle {
  stroke-dasharray: 545; stroke-dashoffset: 545;
  animation: introRing 0.7s var(--ease-out) forwards;
}
.intro-heart {
  position: absolute; inset: 0; fill: none; stroke: var(--magenta); stroke-width: 3;
  stroke-dasharray: 340; stroke-dashoffset: 340; opacity: 0;
  animation: introHeart 0.6s var(--ease-out) forwards 0.55s;
}
.intro-wings { position: absolute; inset: 0; opacity: 0; animation: introFadeIn 0.4s ease-out forwards 1s; }
.intro-wing-l, .intro-wing-r { fill: var(--magenta); transform-origin: center; }
.intro-wing-l { transform: translateX(6px); animation: introWingL 0.5s var(--ease-out) forwards 1s; }
.intro-wing-r { transform: translateX(-6px); animation: introWingR 0.5s var(--ease-out) forwards 1s; }
.intro-spark { position: absolute; inset: 0; opacity: 0; fill: var(--yellow); animation: introSpark 0.4s var(--ease-out) forwards 1.4s; }
.intro-logo {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  opacity: 0; animation: introFadeIn 0.4s ease-out forwards 1.7s;
}
.intro-logo img { width: 150px; height: 150px; border-radius: 50%; box-shadow: var(--shadow-glow); }

@keyframes introRing { to { stroke-dashoffset: 0; } }
@keyframes introHeart { 0% { opacity: 0; stroke-dashoffset: 340; } 30% { opacity: 1; } to { opacity: 1; stroke-dashoffset: 0; } }
@keyframes introFadeIn { to { opacity: 1; } }
@keyframes introWingL { to { opacity: 1; transform: translateX(-4px); } }
@keyframes introWingR { to { opacity: 1; transform: translateX(4px); } }
@keyframes introSpark { 0% { opacity: 0; transform: scale(0.2); } 50% { opacity: 1; transform: scale(1.15); } 100% { opacity: 0.9; transform: scale(1); } }

@media (prefers-reduced-motion: reduce) {
  .intro-overlay { animation: none; transition: opacity 0.3s ease-out; }
  .intro-ring circle, .intro-heart, .intro-wings, .intro-wing-l, .intro-wing-r, .intro-spark, .intro-logo { animation: none !important; opacity: 1 !important; stroke-dashoffset: 0 !important; transform: none !important; }
}

/* ---- Motifs: hearts, wings, sparkles, rings ------------------------------- */
.heart-mask {
  clip-path: path("M100,180 C20,120 0,70 0,40 C0,10 25,-5 50,5 C70,13 90,35 100,55 C110,35 130,13 150,5 C175,-5 200,10 200,40 C200,70 180,120 100,180 Z");
  aspect-ratio: 1 / 0.9;
}
.glow-ring {
  position: absolute; border-radius: 50%; border: 1px solid rgba(255,240,122,0.55);
  pointer-events: none;
}
.spark {
  position: absolute; width: 18px; height: 18px; pointer-events: none;
  background: radial-gradient(circle, var(--yellow) 0%, rgba(255,240,122,0) 70%);
  clip-path: polygon(50% 0%, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0% 50%, 39% 39%);
  opacity: 0; transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.in-view .spark { opacity: 1; transform: scale(1) rotate(20deg); }
.section-head .spark { top: -0.4em; left: -1.6em; width: 14px; height: 14px; }

.wing-divider {
  height: 64px; width: 100%; overflow: hidden; line-height: 0;
}
.wing-divider svg { width: 100%; height: 100%; display: block; }

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---- Cards --------------------------------------------------------------- */
.grid { display: grid; gap: var(--space-md); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: var(--white); border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-card); transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.card:hover, .card:focus-within { transform: translateY(-6px); box-shadow: var(--shadow-glow); }

.member-card { text-align: center; padding: var(--space-md); position: relative; }
.member-card .portrait-wrap {
  position: relative; width: 128px; height: 128px; margin: 0 auto var(--space-sm);
}
.member-card .portrait-wrap img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
  border: 3px solid var(--pastel-pink);
}
.member-card .portrait-wrap::after {
  content: ""; position: absolute; inset: -8px; border-radius: 50%;
  border: 1px solid rgba(215,25,103,0.35);
}
.member-card h3 { font-size: var(--fs-md); margin-bottom: 0.1rem; }
.member-card .role { color: var(--deep-pink); font-weight: 700; font-size: var(--fs-sm); margin-bottom: 0.5rem; }
.member-card .meta-list { text-align: left; font-size: var(--fs-xs); color: var(--muted-on-light); display: grid; gap: 0.3rem; margin-bottom: 0.75rem; }
.member-card .quote { font-family: var(--font-display); font-style: italic; font-size: var(--fs-sm); color: var(--charcoal); }
.member-card .card-details {
  display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s var(--ease-out);
}
.member-card .card-details > div { overflow: hidden; }
.member-card.is-open .card-details { grid-template-rows: 1fr; }
.member-card .reveal-toggle {
  margin-top: 0.75rem; font-size: var(--fs-xs); font-weight: 700; color: var(--deep-pink);
  min-height: 44px; width: 100%; background: transparent; border: none;
}

.perf-card { display: flex; flex-direction: column; }
.perf-card .thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.perf-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease-out); }
.perf-card:hover .thumb img { transform: scale(1.05); }
.perf-card .thumb .play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
}
.perf-card .thumb .play span {
  width: 56px; height: 56px; border-radius: 50%; background: rgba(255,247,244,0.9);
  display: flex; align-items: center; justify-content: center; color: var(--deep-pink); font-size: 1.1rem;
  box-shadow: var(--shadow-soft);
}
.perf-card .tag {
  position: absolute; top: 0.75rem; left: 0.75rem; background: var(--deep-pink); color: var(--white);
  font-size: var(--fs-xs); font-weight: 700; padding: 0.3em 0.8em; border-radius: var(--radius-pill);
}
.perf-card .body { padding: var(--space-sm) var(--space-md) var(--space-md); flex: 1; display: flex; flex-direction: column; gap: 0.4rem; }
.perf-card h3 { font-size: var(--fs-md); }
.perf-card .artist { color: var(--deep-pink); font-weight: 600; font-size: var(--fs-sm); }
.perf-card .meta { font-size: var(--fs-xs); color: var(--muted-on-light); }
.perf-card .dancers { font-size: var(--fs-xs); color: var(--muted-on-light); }
.perf-card .card-actions { margin-top: auto; display: flex; gap: 0.5rem; padding-top: 0.5rem; }

.event-card { padding: var(--space-md); display: flex; gap: var(--space-sm); }
.event-card .date-badge {
  flex: none; width: 64px; height: 64px; border-radius: var(--radius-sm); background: var(--gradient-blush);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
}
.event-card .date-badge .day { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; line-height: 1; }
.event-card .date-badge .mon { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; color: var(--deep-pink); }
.event-card .body { flex: 1; display: flex; flex-direction: column; gap: 0.3rem; }
.event-card h3 { font-size: var(--fs-md); }
.event-card .meta-row { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; font-size: var(--fs-xs); color: var(--muted-on-light); }
.badge {
  display: inline-flex; align-items: center; gap: 0.3em; font-size: var(--fs-xs); font-weight: 700;
  padding: 0.25em 0.75em; border-radius: var(--radius-pill); background: var(--blush); color: var(--deep-pink);
}
.badge--dark { background: var(--charcoal); color: var(--ink-on-dark); }
.badge--available { background: #E4F5E9; color: #1E7A45; }
.badge--limited { background: #FFF1DA; color: #A15C00; }
.badge--full { background: #F5E4E4; color: #A11E1E; }

.testimonial-card { padding: var(--space-md); }
.testimonial-card .stars { color: var(--yellow); background: var(--charcoal); display: inline-flex; padding: 0.2rem 0.5rem; border-radius: var(--radius-pill); margin-bottom: 0.6rem; font-size: 0.8rem; }
.testimonial-card blockquote { font-family: var(--font-display); font-size: var(--fs-md); font-style: italic; margin-bottom: 0.75rem; }
.testimonial-card .attrib { font-size: var(--fs-xs); color: var(--muted-on-light); font-weight: 700; }

/* Stat counters */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: var(--space-md); text-align: center; }
.stat { display: none; }
.stat.has-value { display: block; }
.stat .num { font-family: var(--font-display); font-size: var(--fs-2xl); color: var(--deep-pink); font-variant-numeric: tabular-nums; }
.stat .label { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted-on-light); font-weight: 700; }

/* Pathway cards (Watch/Learn/Book) */
.pathway-card {
  padding: var(--space-lg) var(--space-md); border-radius: var(--radius-lg); position: relative; overflow: hidden;
  color: var(--ink-on-dark); background: var(--charcoal); min-height: 280px; display: flex; flex-direction: column;
}
.pathway-card::before {
  content: ""; position: absolute; inset: 0; opacity: 0.9;
  background: radial-gradient(120% 100% at 100% 0%, rgba(215,25,103,0.35), transparent 60%);
}
.pathway-card > * { position: relative; z-index: 1; }
.pathway-card .icon { width: 44px; height: 44px; margin-bottom: var(--space-sm); }
.pathway-card h3 { font-size: var(--fs-lg); margin-bottom: 0.5rem; }
.pathway-card p { color: var(--muted-on-dark); margin-bottom: var(--space-md); flex: 1; }

/* Filter bar */
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: var(--space-lg); }
.filter-chip {
  min-height: 44px; padding: 0.5em 1.2em; border-radius: var(--radius-pill); border: 2px solid var(--charcoal);
  background: transparent; font-weight: 700; font-size: var(--fs-sm);
}
.filter-chip[aria-pressed="true"] { background: var(--charcoal); color: var(--ink-on-dark); }

.search-field { position: relative; margin-bottom: var(--space-md); }
.search-field input {
  width: 100%; min-height: 52px; padding: 0.75em 1.25em; border-radius: var(--radius-pill);
  border: 2px solid var(--pastel-pink); background: var(--white); font-size: var(--fs-base);
}
.search-field input:focus { border-color: var(--magenta); }

/* ---- Forms --------------------------------------------------------------- */
.form-grid { display: grid; gap: var(--space-md); }
.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 700; font-size: var(--fs-sm); }
.field .hint { font-size: var(--fs-xs); color: var(--muted-on-light); }
.field input, .field select, .field textarea {
  min-height: 52px; padding: 0.75em 1em; border: 2px solid #E7D7DA; border-radius: var(--radius-sm);
  background: var(--white); font-size: 1rem; width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--magenta); }
.field input:invalid[data-touched="true"], .field textarea:invalid[data-touched="true"] { border-color: #C4302B; }
.field .error-msg { display: none; font-size: var(--fs-xs); color: #C4302B; font-weight: 600; }
.field.has-error .error-msg { display: block; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #C4302B; }
.checkbox-field { display: flex; align-items: flex-start; gap: 0.6rem; }
.checkbox-field input { width: 22px; height: 22px; min-height: 22px; flex: none; margin-top: 0.15rem; accent-color: var(--deep-pink); }
.checkbox-field label { font-weight: 500; font-size: var(--fs-sm); }
.radio-card-group { display: grid; gap: 0.6rem; }
.radio-card {
  display: flex; align-items: center; gap: 0.75rem; padding: 0.9rem 1rem; border: 2px solid #E7D7DA;
  border-radius: var(--radius-sm); cursor: pointer;
}
.radio-card:has(input:checked) { border-color: var(--magenta); background: var(--blush); }
.radio-card input { width: 20px; height: 20px; min-height: 20px; accent-color: var(--deep-pink); }
.form-status { margin-top: var(--space-sm); padding: 1rem 1.25rem; border-radius: var(--radius-sm); font-weight: 600; display: none; }
.form-status.is-success { display: block; background: #E4F5E9; color: #1E7A45; }
.form-status.is-error { display: block; background: #F5E4E4; color: #A11E1E; }
fieldset { border: none; }
legend { font-family: var(--font-display); font-size: var(--fs-lg); margin-bottom: var(--space-sm); padding: 0; }

/* ---- Footer ---------------------------------------------------------------- */
.site-footer { background: var(--charcoal); color: var(--ink-on-dark); padding-block: var(--space-2xl) calc(var(--space-lg) + 70px); }
@media (min-width: 700px) { .site-footer { padding-block: var(--space-2xl) var(--space-lg); } }
.footer-grid { display: grid; gap: var(--space-lg); grid-template-columns: 1.3fr repeat(3, 1fr); }
.footer-brand { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 0.75rem; }
.footer-brand img { width: 40px; height: 40px; border-radius: 50%; }
.site-footer h4 { font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: 0.1em; color: var(--yellow); margin-bottom: 0.9rem; }
.site-footer ul { display: grid; gap: 0.55rem; }
.site-footer a { color: var(--muted-on-dark); font-size: var(--fs-sm); }
.site-footer a:hover { color: var(--ink-on-dark); }
.footer-social { display: flex; gap: 0.6rem; margin-top: 0.9rem; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
}
.footer-bottom {
  margin-top: var(--space-xl); padding-top: var(--space-md); border-top: 1px solid var(--charcoal-line);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  font-size: var(--fs-xs); color: var(--muted-on-dark);
}
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-newsletter { background: rgba(255,255,255,0.05); border-radius: var(--radius-md); padding: var(--space-md); }
.footer-newsletter form { display: flex; gap: 0.5rem; margin-top: 0.75rem; flex-wrap: wrap; }
.footer-newsletter input[type="email"] {
  flex: 1; min-width: 180px; min-height: 48px; padding: 0.7em 1em; border-radius: var(--radius-pill);
  border: none; background: rgba(255,255,255,0.1); color: var(--ink-on-dark);
}
.footer-newsletter input::placeholder { color: var(--muted-on-dark); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---- Sticky mobile action bar ---------------------------------------------- */
.mobile-action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 190;
  display: flex; background: var(--white); border-top: 1px solid rgba(32,1,20,0.08);
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -8px 24px rgba(32,1,20,0.08);
  transition: transform 0.25s var(--ease-out);
}
.mobile-action-bar.is-hidden { transform: translateY(110%); }
.mobile-action-bar a {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.2rem;
  min-height: 60px; font-size: 0.72rem; font-weight: 700; color: var(--charcoal);
}
.mobile-action-bar a.is-primary { background: var(--deep-pink); color: var(--white); }
.mobile-action-bar svg { width: 20px; height: 20px; }
@media (min-width: 900px) { .mobile-action-bar { display: none; } }

/* ---- Cookie consent --------------------------------------------------------- */
.cookie-banner {
  position: fixed; left: 0.75rem; right: 0.75rem; bottom: 0.75rem; z-index: 300;
  max-width: 560px; margin-inline: auto; background: var(--charcoal); color: var(--ink-on-dark);
  border-radius: var(--radius-md); padding: var(--space-md); box-shadow: var(--shadow-soft);
  transform: translateY(140%); transition: transform 0.4s var(--ease-out);
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner p { font-size: var(--fs-sm); color: var(--muted-on-dark); margin-bottom: var(--space-sm); }
.cookie-banner .btn-row { flex-wrap: wrap; }
.cookie-prefs-list { display: grid; gap: 0.6rem; margin: var(--space-sm) 0; }
.cookie-prefs-list label { display: flex; justify-content: space-between; gap: 1rem; font-size: var(--fs-sm); }

/* ---- Utility sections -------------------------------------------------------- */
.split { display: grid; gap: var(--space-xl); align-items: center; }
@media (min-width: 900px) { .split--media-right { grid-template-columns: 1fr 1fr; } .split--media-left { grid-template-columns: 1fr 1fr; } }
.media-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); }
.media-frame img, .media-frame video { width: 100%; }
.ring-decor { position: absolute; border: 1px solid rgba(215,25,103,0.3); border-radius: 50%; pointer-events: none; }

.page-hero {
  background: var(--gradient-blush); padding-top: calc(var(--header-h) + var(--space-xl));
  padding-bottom: var(--space-xl); position: relative; overflow: hidden;
}
.page-hero .eyebrow { color: var(--deep-pink); }
.breadcrumb { font-size: var(--fs-xs); color: var(--muted-on-light); margin-bottom: 0.75rem; }
.breadcrumb a { text-decoration: underline; }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
th, td { text-align: left; padding: 0.85rem 1rem; border-bottom: 1px solid rgba(32,1,20,0.08); }
th { font-family: var(--font-sans); text-transform: uppercase; font-size: var(--fs-xs); letter-spacing: 0.06em; color: var(--muted-on-light); }

.accordion-item { border-bottom: 1px solid rgba(32,1,20,0.1); }
.accordion-trigger {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.1rem 0; text-align: left; background: none; border: none; font-weight: 700; font-size: var(--fs-md);
  font-family: var(--font-display); min-height: 44px;
}
.accordion-trigger .plus { transition: transform 0.25s var(--ease-out); font-size: 1.3rem; color: var(--deep-pink); flex: none; }
.accordion-trigger[aria-expanded="true"] .plus { transform: rotate(45deg); }
.accordion-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s var(--ease-out); }
.accordion-panel > div { overflow: hidden; }
.accordion-panel.is-open { grid-template-rows: 1fr; }
.accordion-panel p { padding-bottom: 1.1rem; color: var(--muted-on-light); }

.timeline { position: relative; padding-left: 2rem; display: grid; gap: var(--space-lg); }
.timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: var(--pastel-pink); }
.timeline-item { position: relative; }
.timeline-item::before {
  content: ""; position: absolute; left: -2rem; top: 4px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--magenta); box-shadow: 0 0 0 4px var(--blush);
}
.timeline-item .year { font-family: var(--font-display); color: var(--deep-pink); font-size: var(--fs-md); }

.value-card { text-align: center; padding: var(--space-md); }
.value-card .glyph {
  width: 56px; height: 56px; margin: 0 auto var(--space-sm); border-radius: 50%; background: var(--gradient-blush);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1.4rem; color: var(--deep-pink);
}

.tag-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.progress-steps { display: grid; gap: var(--space-md); counter-reset: step; }
.progress-steps li { position: relative; padding-left: 3rem; }
.progress-steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0; width: 2.2rem; height: 2.2rem; border-radius: 50%;
  background: var(--deep-pink); color: var(--white); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700;
}

/* Media kit / download box */
.download-box {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: var(--space-md) var(--space-lg); border-radius: var(--radius-md); background: var(--charcoal); color: var(--ink-on-dark);
}

/* Vote cards */
.vote-card { padding: var(--space-md); text-align: center; }
.vote-card.is-voted { border: 2px solid var(--deep-pink); }
.vote-progress { height: 8px; border-radius: var(--radius-pill); background: var(--blush); overflow: hidden; margin: 0.6rem 0; }
.vote-progress span { display: block; height: 100%; background: var(--gradient-magenta); width: 0%; transition: width 0.6s var(--ease-out); }

/* Segment picker (newsletter) */
.segment-grid { display: grid; gap: 0.6rem; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); }

/* Responsive type scale down for very small screens handled by clamp() already */

@media (max-width: 599px) {
  .section { padding-block: var(--space-xl); }
  .btn-row .btn { width: 100%; }
}

@media print {
  .site-header, .mobile-nav, .mobile-nav-scrim, .cookie-banner, .mobile-action-bar, .site-footer, .skip-link, .no-print { display: none !important; }
  body { background: #fff; color: #000; }
  .page-hero, .section--dark, .section--blush { background: none !important; color: #000 !important; }
}
