/* ==========================================================================
   Real media: hero video, section backgrounds, gallery marquee, reels,
   girls band, camps mosaic, polaroids, photo stack, FAQ photo, CTA video
   ========================================================================== */
/* hero video */
.hero-bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 40%; opacity: 0; transition: opacity 1.2s ease; }
.hero-bg video.is-playing { opacity: 1; }
.hero-bg img { position: absolute; inset: 0; }

/* section backgrounds */
.stats, .visit { position: relative; overflow: hidden; isolation: isolate; }
.stats-bg, .section-bg { position: absolute; inset: -12% 0; width: 100%; height: 124%; object-fit: cover; z-index: -2; opacity: 0.28; filter: saturate(0.6); }
.stats::before, .visit::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20,18,20,0.96), rgba(20,18,20,0.75) 60%, rgba(20,18,20,0.55)); }
.visit::before { background: linear-gradient(180deg, rgba(20,18,20,0.92), rgba(20,18,20,0.82)); }
.stat b, .stat > span { position: relative; }

/* beyond-class photo thumbs */
.mini-card .thumb.photo img { object-fit: cover; }

/* photo gallery: two rows scrolling in opposite directions */
.gallery { position: relative; background: var(--ink); color: var(--paper); padding: clamp(56px, 7vw, 96px) 0 clamp(64px, 8vw, 112px); overflow: hidden; isolation: isolate; }
.gallery::before { content: ""; position: absolute; left: -10%; right: -10%; top: 46%; height: 34%; background: var(--red); transform: rotate(-3deg); z-index: -1; opacity: 0.95; }
.gallery::after { content: ""; position: absolute; inset: 0; z-index: -2; background: url("../img/pattern-dark.webp") center/cover; opacity: 0.08; mix-blend-mode: screen; }
.gallery-head { display: grid; gap: 20px; align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
@media (min-width: 800px) { .gallery-head { grid-template-columns: 1fr auto; } }
.gallery-head h2 { font-size: var(--text-h2); margin-top: 16px; }
.gallery-head .btn-outline { color: var(--white); border-color: rgba(255,255,255,0.35); }
.gallery-head .btn-outline:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.gallery-rows { display: grid; gap: 22px; }
.g-row { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.g-row.reverse { animation-direction: reverse; animation-duration: 70s; }
.gallery:hover .g-row { animation-play-state: paused; }
.g-row ul { display: flex; gap: 18px; padding-right: 18px; }
.g-card { position: relative; flex: 0 0 auto; height: clamp(200px, 24vw, 300px); border-radius: 16px; overflow: hidden; background: var(--ink-800); box-shadow: 0 24px 50px -24px rgba(0,0,0,0.8); border: 1px solid rgba(255,255,255,0.08); transition: transform 0.5s var(--ease-out), box-shadow 0.5s; }
.g-card.l { aspect-ratio: 4 / 3; }
.g-card.p { aspect-ratio: 3 / 4; }
.g-card:nth-child(odd) { transform: rotate(-1.5deg) translateY(6px); }
.g-card:nth-child(even) { transform: rotate(1.5deg) translateY(-6px); }
.g-card:hover { transform: rotate(0) translateY(-10px) scale(1.04); box-shadow: 0 40px 70px -24px rgba(0,0,0,0.9); z-index: 2; }
.g-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.g-card:hover img { transform: scale(1.08); }
.g-card span { position: absolute; left: 12px; bottom: 12px; padding: 7px 12px; border-radius: 8px; background: rgba(20,18,20,0.85); color: var(--white); font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; backdrop-filter: blur(4px); }
.g-card span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.g-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.45)); pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .g-row { animation: none; } }

/* reels */
.reels { overflow: hidden; }
.reel-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (min-width: 900px) { .reel-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; padding-bottom: 32px; } .reel-grid .phone:nth-child(even) { translate: 0 32px; } }
.phone { margin: 0; position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 9 / 16; background: #000; border: 6px solid #2a2628; box-shadow: 0 30px 60px -30px rgba(0,0,0,0.9), inset 0 0 0 1px rgba(255,255,255,0.08); transition: transform 0.5s var(--ease-out); }
.phone:hover { transform: translateY(-8px) scale(1.02); }
.phone::before { content: ""; position: absolute; top: 10px; left: 50%; width: 36%; height: 18px; translate: -50%; background: #2a2628; border-radius: 12px; z-index: 2; }
.phone video { width: 100%; height: 100%; object-fit: cover; display: block; }
.phone figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 16px; background: linear-gradient(transparent, rgba(0,0,0,0.85)); color: var(--white); display: grid; gap: 2px; }
.phone figcaption b { font-family: var(--font-display); font-size: 1.35rem; text-transform: uppercase; letter-spacing: 0.04em; }
.phone figcaption span { font-size: 0.8rem; font-weight: 700; color: rgba(255,255,255,0.7); letter-spacing: 0.08em; text-transform: uppercase; }
.phone::after { content: ""; position: absolute; right: 14px; top: 14px; width: 10px; height: 10px; border-radius: 50%; background: var(--red); z-index: 2; animation: live 1.8s infinite; }

/* girls band */
.band-girls { overflow: hidden; position: relative; }
.band-girls::before { content: ""; position: absolute; width: 60vw; height: 60vw; max-width: 720px; max-height: 720px; border-radius: 50%; background: var(--red-700); opacity: 0.55; right: -20vw; top: -30vw; }
.band-grid { display: grid; gap: 32px; align-items: center; padding-block: clamp(48px, 7vw, 96px); position: relative; }
@media (min-width: 900px) { .band-grid { grid-template-columns: 0.9fr 1.1fr; gap: 64px; } }
.band-photo { aspect-ratio: 1; border-radius: 50%; overflow: hidden; width: min(100%, 520px); justify-self: center; box-shadow: 0 40px 80px -30px rgba(0,0,0,0.6); border: 8px solid rgba(255,255,255,0.15); }
.band-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.band-copy h2 { font-size: var(--text-h2); margin-top: 16px; }
.band-copy .lead { color: rgba(255,255,255,0.88); margin-top: 18px; }
.band-list { margin-top: 20px; display: grid; gap: 10px; font-weight: 700; }
.band-list li { display: flex; align-items: center; gap: 12px; }
.band-list li::before { content: ""; width: 10px; height: 10px; background: var(--white); transform: rotate(45deg); flex: 0 0 auto; }
.band-copy .btn { margin-top: 26px; }

/* camps mosaic */
.camps { background: var(--paper-100); }
.mosaic { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; gap: 14px; }
.tile.big { grid-column: span 2; }
@media (min-width: 760px) { .mosaic { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 18px; } .tile.big { grid-column: span 2; grid-row: span 2; } .tile.tall { grid-row: span 2; } }
.tile { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; background: var(--paper-200); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.tile:hover img { transform: scale(1.07); }
.tile span { position: absolute; left: 14px; bottom: 14px; padding: 8px 12px; background: rgba(20,18,20,0.85); color: var(--white); border-radius: 8px; font-family: var(--font-display); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.9rem; transform: translateY(6px); opacity: 0; transition: transform 0.35s var(--ease-out), opacity 0.35s; }
.tile:hover span, .tile:focus-visible span { transform: none; opacity: 1; }
@media (hover: none) { .tile span { opacity: 1; transform: none; } }
.camps .visit-cta { margin-top: 36px; }

/* polaroids */
.polaroid { position: absolute; margin: 0; width: 34%; min-width: 120px; padding: 6px 6px 8px; background: var(--white); color: var(--ink); border-radius: 6px; box-shadow: 0 24px 50px -24px rgba(0,0,0,0.7); rotate: 6deg; z-index: 3; transition: rotate 0.4s var(--ease-out), transform 0.4s var(--ease-out); }
.polaroid:hover { rotate: 0deg; transform: scale(1.04); }
.polaroid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px; }
.polaroid figcaption { font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; text-align: center; margin-top: 6px; }
.master-figure .polaroid { right: -4%; top: 2%; }
.polaroid.tl { left: -14px; top: -18px; rotate: -5deg; }
@media (max-width: 700px) { .polaroid { width: 40%; } .master-figure .polaroid { right: 0; top: 8%; } }

/* reviews side */
.reviews-side { display: grid; justify-items: end; gap: 16px; }
.photo-stack { display: flex; padding-left: 20px; }
.photo-stack img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 3px solid var(--paper); margin-left: -20px; box-shadow: 0 10px 20px -10px rgba(0,0,0,0.5); transition: transform 0.3s var(--ease-out); }
.photo-stack img:hover { transform: translateY(-6px) scale(1.08); z-index: 1; position: relative; }
@media (max-width: 700px) { .reviews-side { justify-items: start; } }

/* faq photo */
.faq-photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; margin-top: 8px; box-shadow: 0 30px 60px -30px rgba(20,18,20,0.5); }
.faq-photo img { width: 100%; height: 100%; object-fit: cover; }
.faq-photo .photo-badge { bottom: 16px; left: 16px; top: auto; }

/* cta video */
.cta-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: 0.22; filter: saturate(0.5); }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, rgba(20,18,20,0.7), rgba(20,18,20,0.4)); }

@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(224,36,44,0.6); } 70% { box-shadow: 0 0 0 10px rgba(224,36,44,0); } 100% { box-shadow: 0 0 0 0 rgba(224,36,44,0); } }

@media (prefers-reduced-motion: reduce) {
  .gallery-marquee, .phone::after { animation: none !important; }
  .hero-bg video { display: none; }
}

/* girls band: reserve button + video play link side by side */
.band-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; margin-top: 26px; }
.band-copy .band-actions .btn { margin-top: 0; }
.play-stack { text-align: left; line-height: 1.1; }
.play-stack .play-text { display: flex; flex-direction: column; gap: 4px; }
.play-stack small { display: block; font-family: var(--font-body); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.02em; text-transform: none; opacity: 0.85; }
.surface-red .play-link:hover .play-btn { background: var(--white); border-color: var(--white); color: var(--red); }
