/* ==========================================================================
   AMIR ACADEMY — Design System
   Single source of truth. Replaces the old template stack
   (bootstrap.min.css, style.css, and 11 plugin stylesheets).
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --c-bg: #0b0b0d;
  --c-surface: #131316;
  --c-surface-2: #1b1b20;
  --c-border: #26262c;
  --c-red: #e02b34;
  --c-red-hover: #f03d46;
  --c-red-deep: #a31820;
  --c-text: #f4f4f5;
  --c-text-muted: #a7a7b0;
  --c-text-faint: #71717a;

  /* Type */
  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-hero: clamp(2.75rem, 8vw, 5.5rem);
  --fs-h2: clamp(1.9rem, 4vw, 3rem);
  --fs-h3: clamp(1.35rem, 2.5vw, 1.75rem);
  --fs-h4: 1.125rem;
  --fs-body: 1rem;
  --fs-lg: 1.125rem;
  --fs-sm: 0.875rem;
  --fs-xs: 0.8125rem;

  /* Space */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --section-y: clamp(4rem, 9vw, 7rem);
  --container: 1200px;
  --container-narrow: 800px;

  /* Shape & depth */
  --radius: 12px;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --shadow-card: 0 6px 24px rgb(0 0 0 / 0.35);
  --shadow-pop: 0 16px 48px rgb(0 0 0 / 0.5);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 160ms;
  --t-med: 320ms;

  /* Layout */
  --header-h: 72px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul[class], ol[class] { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-wrap: balance;
  text-transform: uppercase;
}
h1 { font-size: var(--fs-hero); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); letter-spacing: 0.04em; }
p { max-width: 65ch; }

::selection { background: var(--c-red); color: #fff; }

:focus-visible {
  outline: 2px solid var(--c-red-hover);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--c-red); color: #fff; padding: var(--sp-3) var(--sp-5);
  border-radius: 0 0 var(--radius) 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- Layout helpers ---------- */
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2.5rem, var(--container-narrow)); }
.section { padding-block: var(--section-y); }
.section--alt { background: var(--c-surface); }

.section-head { max-width: 720px; margin-bottom: var(--sp-7); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center p { margin-inline: auto; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--c-red-hover);
  margin-bottom: var(--sp-3);
}
.section-head p { color: var(--c-text-muted); font-size: var(--fs-lg); margin-top: var(--sp-4); }

.grid { display: grid; gap: var(--sp-5); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

/* Centered wrap grid: incomplete last rows center instead of left-aligning
   (use for card sets that don't divide evenly, e.g. 5 programs in 3 columns) */
.grid--center { display: flex; flex-wrap: wrap; justify-content: center; }
.grid--center > * { width: calc((100% - 2 * var(--sp-5)) / 3); }
@media (max-width: 900px) {
  .grid--center > * { width: calc((100% - var(--sp-5)) / 2); }
}
@media (max-width: 600px) {
  .grid--center > * { width: 100%; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 0.85em 1.9em;
  border-radius: var(--radius-pill);
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
  min-height: 48px;
}
.btn:active { transform: scale(0.97); }
.btn--primary { background: var(--c-red); color: #fff; }
.btn--primary:hover { background: var(--c-red-hover); }
.btn--ghost { border: 1.5px solid var(--c-border); color: var(--c-text); }
.btn--ghost:hover { border-color: var(--c-red); color: var(--c-red-hover); }
.btn--lg { font-size: 1.1rem; padding: 1em 2.4em; }

/* ---------- Header / nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.site-header.is-scrolled,
.site-header.nav-open {
  background: rgb(11 11 13 / 0.85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--c-border);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5); }
.brand { display: flex; align-items: center; gap: var(--sp-3); }
.brand img { height: 40px; width: auto; }
.brand span {
  font-family: var(--font-display); font-weight: 600; font-size: 1.25rem;
  letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap;
}
.nav-list { display: flex; align-items: center; gap: var(--sp-5); }
.nav-list a {
  font-size: var(--fs-sm); font-weight: 500; letter-spacing: 0.02em;
  color: var(--c-text-muted);
  padding: var(--sp-2) 0;
  border-bottom: 2px solid transparent;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.nav-list a:hover { color: var(--c-text); }
.nav-list a[aria-current="page"] { color: var(--c-text); border-bottom-color: var(--c-red); }
.nav-cta { margin-left: var(--sp-4); }
.nav-list a.nav-cta {
  padding: 0.7em 1.6em;
  border-bottom: none;
  color: #fff;
  font-size: var(--fs-sm);
}
.nav-list a.nav-cta:hover { color: #fff; }

.nav-toggle { display: none; width: 48px; height: 48px; position: relative; z-index: 60; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; position: absolute; left: 12px;
  width: 24px; height: 2px; background: var(--c-text);
  transition: transform var(--t-med) var(--ease), opacity var(--t-fast);
}
.nav-toggle span { top: 23px; }
.nav-toggle span::before { left: 0; top: -7px; }
.nav-toggle span::after { left: 0; top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 991px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: 50;
    background: rgb(11 11 13 / 0.97);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--c-border);
    padding: var(--sp-5) var(--sp-5) var(--sp-6);
    transform: translateY(-115%);
    transition: transform var(--t-med) var(--ease);
    visibility: hidden;
  }
  .nav-open .site-nav { transform: translateY(0); visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list a {
    display: block; padding: var(--sp-4) var(--sp-2);
    font-size: var(--fs-lg); border-bottom: 1px solid var(--c-border);
  }
  .nav-list a[aria-current="page"] { border-bottom-color: var(--c-border); color: var(--c-red-hover); }
  .nav-cta { margin: var(--sp-5) 0 0; width: 100%; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: flex; align-items: center;
  padding-top: var(--header-h);
  isolation: isolate;
  overflow: hidden;
}
.hero__media, .hero__media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -2;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgb(11 11 13 / 0.92) 20%, rgb(11 11 13 / 0.55) 60%, rgb(11 11 13 / 0.35)),
              linear-gradient(to top, var(--c-bg), transparent 35%);
}
.hero__content { padding-block: var(--sp-8); }
.hero .eyebrow { font-size: 1rem; }
.hero p { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--c-text-muted); margin-top: var(--sp-4); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-4); margin-top: var(--sp-6); }

/* Sub-page hero (shorter) */
.hero--page { min-height: min(52vh, 480px); }

/* ---------- Cards ---------- */
.card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--t-med) var(--ease), border-color var(--t-med) var(--ease),
              box-shadow var(--t-med) var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: #3a3a42; box-shadow: var(--shadow-card); }
.card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-med) var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { padding: var(--sp-5); }
.card__body h3, .card__body h4 { margin-bottom: var(--sp-2); }
.card__body p { color: var(--c-text-muted); font-size: var(--fs-sm); }
.card__link {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  margin-top: var(--sp-4);
  font-weight: 600; font-size: var(--fs-sm); color: var(--c-red-hover);
}
.card__link::after { content: "→"; transition: transform var(--t-fast) var(--ease); }
.card:hover .card__link::after { transform: translateX(4px); }

/* Stat strip */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: var(--sp-5); text-align: center; }
.stat__num {
  font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700; color: var(--c-red-hover); line-height: 1;
}
.stat__label { color: var(--c-text-muted); font-size: var(--fs-sm); margin-top: var(--sp-2); text-transform: uppercase; letter-spacing: 0.1em; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--sp-3); }
/* Fixed-count variant: always-complete rows for 6-photo sets (3 -> 2 -> 2 cols) */
.gallery-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .gallery-grid--3 { grid-template-columns: repeat(2, 1fr); } }
.gallery-grid a {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 1; background: var(--c-surface-2);
}
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-med) var(--ease), opacity var(--t-med); }
.gallery-grid a:hover img { transform: scale(1.05); }
.gallery-grid a::after {
  content: ""; position: absolute; inset: 0;
  background: rgb(224 43 52 / 0); transition: background var(--t-fast);
}
.gallery-grid a:hover::after { background: rgb(224 43 52 / 0.15); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 90;
  display: none; align-items: center; justify-content: center;
  background: rgb(0 0 0 / 0.92); padding: var(--sp-5);
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; width: auto; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-pop); }
.lightbox__close, .lightbox__prev, .lightbox__next {
  position: absolute; z-index: 91;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgb(255 255 255 / 0.08); color: #fff; font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--t-fast);
}
.lightbox__close:hover, .lightbox__prev:hover, .lightbox__next:hover { background: var(--c-red); }
.lightbox__close { top: var(--sp-5); right: var(--sp-5); }
.lightbox__prev { left: var(--sp-5); top: 50%; transform: translateY(-50%); }
.lightbox__next { right: var(--sp-5); top: 50%; transform: translateY(-50%); }

/* ---------- Schedule / tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--c-border); border-radius: var(--radius-lg); }
table.schedule { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); min-width: 560px; }
.schedule th {
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.08em;
  font-weight: 600; text-align: left;
  background: var(--c-surface-2); padding: var(--sp-4);
}
.schedule td { padding: var(--sp-4); border-top: 1px solid var(--c-border); color: var(--c-text-muted); }
.schedule td strong { color: var(--c-text); }

/* ---------- Pricing ---------- */
.price-card { display: flex; flex-direction: column; text-align: center; padding: var(--sp-6); overflow: visible; margin-top: 0.8rem; }
.price-card--featured { border-color: var(--c-red); position: relative; }
.price-card__badge {
  position: absolute; top: -0.8rem; left: 50%; transform: translateX(-50%);
  background: var(--c-red); color: #fff; font-size: var(--fs-xs); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  padding: 0.3em 1em; border-radius: var(--radius-pill);
}
.price-card__amount { font-family: var(--font-display); font-size: 3rem; font-weight: 700; line-height: 1; margin: var(--sp-4) 0 var(--sp-1); }
.price-card__period { color: var(--c-text-faint); font-size: var(--fs-sm); }
.price-card ul { margin: var(--sp-5) 0; display: grid; gap: var(--sp-3); color: var(--c-text-muted); font-size: var(--fs-sm); }
.price-card .btn { margin-top: auto; }

/* ---------- Forms ---------- */
.field { display: grid; gap: var(--sp-2); margin-bottom: var(--sp-4); }
.field label { font-size: var(--fs-sm); font-weight: 600; }
.field input, .field textarea, .field select {
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  color: var(--c-text);
  padding: var(--sp-3) var(--sp-4);
  font: inherit;
  min-height: 48px;
  transition: border-color var(--t-fast);
  width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--c-red); outline: none; }
.field input::placeholder, .field textarea::placeholder { color: var(--c-text-faint); }
.form-status { margin-top: var(--sp-4); font-size: var(--fs-sm); }
.form-status.is-error { color: var(--c-red-hover); }
.form-status.is-success { color: #4ade80; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; isolation: isolate; overflow: hidden;
  text-align: center; padding-block: var(--section-y);
  background: linear-gradient(135deg, var(--c-red-deep), var(--c-red));
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgb(255 255 255 / 0.85); margin: var(--sp-4) auto 0; font-size: var(--fs-lg); }
.cta-band .btn { margin-top: var(--sp-6); background: #fff; color: var(--c-red-deep); }
.cta-band .btn:hover { background: var(--c-bg); color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-surface); border-top: 1px solid var(--c-border); padding: var(--sp-8) 0 var(--sp-5); }
.site-footer .grid { gap: var(--sp-7); }
.site-footer h4 { margin-bottom: var(--sp-4); color: var(--c-text); }
.site-footer p, .site-footer li { color: var(--c-text-muted); font-size: var(--fs-sm); }
.site-footer ul { display: grid; gap: var(--sp-2); }
.site-footer a:hover { color: var(--c-red-hover); }
.footer-social { display: flex; gap: var(--sp-3); margin-top: var(--sp-4); }
.footer-social a {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--c-border);
  display: flex; align-items: center; justify-content: center;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.footer-social a:hover { border-color: var(--c-red); background: var(--c-red); color: #fff; }
.footer-bottom {
  margin-top: var(--sp-7); padding-top: var(--sp-5);
  border-top: 1px solid var(--c-border);
  display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: space-between;
  color: var(--c-text-faint); font-size: var(--fs-xs);
}

/* ---------- Media / video ---------- */
.media-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--c-border); }
.map-embed { border: 0; width: 100%; height: 420px; display: block; filter: grayscale(0.6) contrast(1.05); }

/* Split section (text + image) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-8); align-items: center; }
.split__text p { color: var(--c-text-muted); margin-top: var(--sp-4); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: var(--sp-6); } }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(24px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 90ms; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 180ms; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 270ms; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 360ms; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 450ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
}

/* ---------- Wow pass: motion & depth ---------- */

/* Cross-page fade (View Transitions API — ignored by unsupporting browsers) */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 220ms; }

/* Hero entrance + slow zoom */
@keyframes rise { from { opacity: 0; transform: translateY(28px); } }
.hero__content > * { animation: rise 700ms var(--ease) backwards; }
.hero__content > *:nth-child(1) { animation-delay: 100ms; }
.hero__content > *:nth-child(2) { animation-delay: 220ms; }
.hero__content > *:nth-child(3) { animation-delay: 340ms; }
.hero__content > *:nth-child(4) { animation-delay: 460ms; }
@keyframes hero-zoom { to { transform: scale(1.07); } }
.hero__media img { animation: hero-zoom 14s ease-out forwards; }

/* Scroll cue */
.scroll-cue {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgb(255 255 255 / 0.35);
  border-radius: var(--radius-pill);
}
.scroll-cue::before {
  content: ""; position: absolute; top: 8px; left: 50%; margin-left: -2px;
  width: 4px; height: 8px; border-radius: 2px; background: var(--c-red-hover);
  animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0; }
  100% { opacity: 0; }
}
@media (max-width: 600px) { .scroll-cue { display: none; } }

/* Discipline marquee */
.marquee {
  overflow: hidden; padding-block: var(--sp-4);
  background: var(--c-surface); border-block: 1px solid var(--c-border);
}
.marquee__track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.marquee__track span {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.3rem, 3vw, 2rem); letter-spacing: 0.08em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgb(255 255 255 / 0.3);
  padding-right: 0.5em;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* Primary button shine + lift */
.btn--primary { position: relative; overflow: hidden; }
.btn--primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 20%, rgb(255 255 255 / 0.28), transparent 80%);
  transform: translateX(-130%);
  transition: transform 650ms var(--ease);
}
.btn--primary:hover::after { transform: translateX(130%); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgb(224 43 52 / 0.4); }
.btn--ghost:hover { transform: translateY(-2px); }

/* Coach grid: grayscale -> color (hover-capable devices only; touch gets color) */
@media (hover: hover) and (pointer: fine) {
  .team-grid .card__media img {
    filter: grayscale(1) contrast(1.06);
    transition: filter var(--t-med) var(--ease), transform var(--t-med) var(--ease);
  }
  .team-grid .card:hover .card__media img { filter: grayscale(0); }
}

/* Featured pricing glow */
.price-card--featured { box-shadow: 0 0 70px rgb(224 43 52 / 0.16); }

/* CTA band texture */
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(-45deg, rgb(255 255 255 / 0.05) 0 2px, transparent 2px 16px);
}
.cta-band .container { position: relative; }

/* Lightbox: zoom-in + counter */
.lightbox.is-open img { animation: lb-in 260ms var(--ease); }
@keyframes lb-in { from { opacity: 0; transform: scale(0.96); } }
.lightbox__count {
  position: absolute; bottom: var(--sp-5); left: 50%; transform: translateX(-50%);
  color: rgb(255 255 255 / 0.7); font-size: var(--fs-sm); letter-spacing: 0.08em;
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .scroll-cue { display: none; }
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.text-muted { color: var(--c-text-muted); }
.mt-4 { margin-top: var(--sp-4); }
.mt-6 { margin-top: var(--sp-6); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}
