/* ============================================================
   ESSENCE SPORTS
   ============================================================
   Brand identity carried over from the v1 demo — Cameron's own
   logo, blue and lime. The palette below is lifted verbatim from
   that build's stylesheet, not re-picked by eye, so the site
   matches the wordmark and anything else already in his hands.

   Layout is the v2 structure: the hero answers the parent's real
   questions (when, where, how much) above the fold, then proof,
   then price, then venues.
   ============================================================ */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}

:root{
  --blue:#0e6bff;
  --blue-dk:#0a4fce;
  --lime:#c9e23f;
  --lime-dk:#aac71f;
  --ink:#14213a;
  --muted:#5b6b86;
  --paper:#ffffff;
  --wash:#f2f6ff;
  --coral:#ff6b5c;
  --purple:#8b5cf6;
  --sun:#ffb020;
  --line:rgba(20,33,58,.10);
  --radius:22px;
  --shadow:0 24px 60px -22px rgba(14,107,255,.35);
  --shadow-sm:0 10px 26px -14px rgba(20,33,58,.28);
  --display:'Baloo 2',system-ui,sans-serif;
  --body:'Nunito',system-ui,-apple-system,sans-serif;
  --wrap:1180px;
  --safe-t:env(safe-area-inset-top,0px);
  --safe-b:env(safe-area-inset-bottom,0px);
  --ease:cubic-bezier(.16,1,.3,1);
}

html{-webkit-text-size-adjust:100%}
body{background:var(--paper);color:var(--ink);font:17px/1.65 var(--body);
  -webkit-font-smoothing:antialiased;overflow-x:hidden}
img{max-width:100%;display:block}
a{color:inherit}
.wrap{width:min(var(--wrap),100% - 2.5rem);margin-inline:auto}
.num{font-variant-numeric:tabular-nums}

.rv{opacity:0;transform:translateY(22px)}
@media (prefers-reduced-motion:reduce){
  .rv{opacity:1!important;transform:none!important}
  *,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;
    animation-iteration-count:1!important}
}
.no-js .rv{opacity:1;transform:none}

/* ---------- header ---------- */
.hd{position:sticky;top:0;z-index:60;background:rgba(255,255,255,.96);
  border-bottom:1px solid var(--line);padding:calc(.6rem + var(--safe-t)) 0 .6rem}
.hd-in{display:flex;align-items:center;gap:1.4rem}
.hd .brand{display:flex;align-items:center;min-height:44px;text-decoration:none}
.hd .brand img{height:34px;width:auto}
.hd nav{margin-left:auto;display:flex;gap:1.5rem;align-items:center}
.hd nav a{text-decoration:none;font-weight:700;font-size:.95rem;color:var(--muted);
  transition:color .18s}
.hd nav a:hover{color:var(--blue)}
.hd .call{display:inline-flex;align-items:center;min-height:44px;padding:.55rem 1.15rem;
  border-radius:999px;background:var(--blue);color:#fff;text-decoration:none;
  font-weight:800;font-size:.95rem;white-space:nowrap;box-shadow:var(--shadow-sm)}
@media(max-width:880px){ .hd nav a:not(.call){display:none} }

/* ---------- buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:54px;
  padding:.9rem 1.7rem;border-radius:999px;text-decoration:none;font-weight:800;
  font-size:1.02rem;transition:transform .14s var(--ease);font-family:var(--body)}
.btn:active{transform:scale(.97)}
.btn-pri{background:var(--blue);color:#fff;box-shadow:var(--shadow)}
.btn-lime{background:var(--lime);color:var(--ink)}
.btn-ghost{background:transparent;color:var(--ink);box-shadow:inset 0 0 0 2px var(--line)}
.cta-row{display:flex;gap:.7rem;flex-wrap:wrap}

/* ---------- hero ---------- */
.hero{padding:clamp(2.6rem,6vw,4.6rem) 0 clamp(2.2rem,5vw,3.6rem);
  background:linear-gradient(180deg,var(--wash),var(--paper))}
.eyebrow{display:inline-flex;align-items:center;gap:.5rem;background:var(--lime);
  color:var(--ink);font-weight:800;font-size:.82rem;letter-spacing:.04em;
  text-transform:uppercase;padding:.45rem .9rem;border-radius:999px;margin-bottom:1.1rem}
.hero h1{font-family:var(--display);font-weight:800;letter-spacing:-.01em;line-height:1;
  font-size:clamp(2.5rem,7.6vw,5.4rem);max-width:15ch;margin-bottom:1.1rem}
.hero h1 em{font-style:normal;color:var(--blue)}
.hero .lede{font-size:clamp(1.04rem,2vw,1.28rem);max-width:47ch;color:var(--muted);
  margin-bottom:1.9rem}
.hero .lede b{color:var(--ink);font-weight:800}

.hero-grid{display:grid;gap:1.6rem}
@media(min-width:940px){
  .hero-grid{grid-template-columns:1.15fr .85fr;align-items:center;gap:2.6rem}
}

/* times card — confirmed opening times only */
.times{background:var(--paper);border-radius:var(--radius);box-shadow:var(--shadow);
  overflow:hidden;border:1px solid var(--line)}
.times-hd{background:var(--blue);color:#fff;padding:1rem 1.3rem;
  display:flex;align-items:baseline;gap:.7rem;flex-wrap:wrap}
.times-hd b{font-family:var(--display);font-size:1.1rem;font-weight:700}
.times-hd span{font-size:.85rem;opacity:.85}
.trow{display:grid;grid-template-columns:auto 1fr auto;gap:1rem;align-items:center;
  padding:.9rem 1.3rem;border-bottom:1px solid var(--line)}
.trow:last-child{border-bottom:0}
.trow .t{font-weight:800;font-size:1rem;white-space:nowrap;color:var(--blue)}
.trow .l{font-weight:600}
.trow .n{font-size:.8rem;color:var(--muted);text-align:right;white-space:nowrap}
.trow.opt{background:var(--wash)}
.trow.opt .t{color:var(--muted)}

/* ---------- sections ---------- */
section{padding:clamp(3rem,6.5vw,5.4rem) 0}
.band{background:var(--wash)}
.sec-hd{margin-bottom:2.4rem;max-width:62ch}
.sec-hd h2{font-family:var(--display);font-weight:800;letter-spacing:-.01em;line-height:1.06;
  font-size:clamp(1.9rem,4.8vw,3.1rem);margin-bottom:.6rem}
.sec-hd h2 em{font-style:normal;color:var(--blue)}
.sec-hd p{color:var(--muted);font-size:1.05rem}

/* ---------- photos ---------- */
.shots{display:grid;gap:1rem;grid-template-columns:1fr}
.shot{border-radius:var(--radius);overflow:hidden;background:var(--wash);
  box-shadow:var(--shadow-sm)}
.shot img{width:100%;height:100%;object-fit:cover;aspect-ratio:4/3}
.shot.tall img{aspect-ratio:3/4}
@media(min-width:760px){
  .shots{grid-template-columns:repeat(3,1fr)}
  .shot.wide{grid-column:span 2}
}

/* ---------- trust ---------- */
.trust{display:grid;gap:1rem}
.tcard{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);
  padding:1.5rem;box-shadow:var(--shadow-sm)}
.tcard .ic{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;
  margin-bottom:.9rem;background:var(--blue)}
.tcard:nth-child(2) .ic{background:var(--coral)}
.tcard:nth-child(3) .ic{background:var(--purple)}
.tcard h3{font-family:var(--display);font-size:1.16rem;font-weight:700;margin-bottom:.3rem}
.tcard p{font-size:.96rem;color:var(--muted)}
@media(min-width:760px){ .trust{grid-template-columns:repeat(3,1fr)} }
.note{margin-top:1.4rem;font-size:.93rem;color:var(--muted);
  border-left:4px solid var(--lime);padding-left:1rem;max-width:62ch}

/* ---------- prices ---------- */
.prices{display:grid;gap:1rem}
.price{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);
  padding:1.7rem;box-shadow:var(--shadow-sm)}
.price.feat{background:var(--blue);color:#fff;box-shadow:var(--shadow);border-color:transparent}
.price .amt{font-family:var(--display);font-weight:800;font-size:clamp(2.5rem,6vw,3.3rem);
  line-height:1;margin-bottom:.25rem}
.price .per{font-weight:700;font-size:.9rem;color:var(--muted);margin-bottom:.8rem}
.price.feat .per{color:rgba(255,255,255,.8)}
.price p{font-size:.96rem;color:var(--muted)}
.price.feat p{color:rgba(255,255,255,.88)}
.price .flag{display:inline-block;background:var(--lime);color:var(--ink);font-weight:800;
  font-size:.72rem;letter-spacing:.05em;text-transform:uppercase;padding:.28rem .6rem;
  border-radius:999px;margin-bottom:.7rem}
@media(min-width:760px){ .prices{grid-template-columns:repeat(3,1fr)} }
.sib{margin-top:1.3rem;font-size:.97rem;color:var(--muted)}
.sib a{color:var(--blue);font-weight:700}

/* ---------- venues ---------- */
.venues{display:grid;gap:1rem}
.ven{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);
  padding:1.6rem;box-shadow:var(--shadow-sm);border-top:5px solid var(--blue)}
.ven.prov{border-top-color:var(--sun);background:#FFFDF6}
.ven h3{font-family:var(--display);font-size:1.25rem;font-weight:700;margin:.7rem 0 .15rem}
.ven .pc{font-size:.9rem;color:var(--muted);margin-bottom:.8rem}
.ven .dates{font-weight:800;margin-bottom:.4rem}
.ven p{color:var(--muted);font-size:.95rem}
.tag{display:inline-block;font-size:.72rem;letter-spacing:.05em;text-transform:uppercase;
  padding:.3rem .65rem;border-radius:999px;font-weight:800}
.tag.ok{background:var(--lime);color:var(--ink)}
.tag.tbc{background:var(--sun);color:var(--ink)}
@media(min-width:760px){ .venues{grid-template-columns:1fr 1fr} }

/* ---------- after school ---------- */
.facts{display:grid;gap:1rem}
.fact{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);
  padding:1.5rem;box-shadow:var(--shadow-sm);display:grid;grid-template-columns:auto 1fr;
  gap:1.1rem;align-items:start}
.fact .badge{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;
  background:var(--lime);color:var(--ink);font-family:var(--display);font-weight:800;
  font-size:1.2rem;line-height:1}
.fact:nth-child(2) .badge{background:var(--sun)}
.fact h3{font-family:var(--display);font-size:1.15rem;font-weight:700;margin-bottom:.2rem}
.fact p{color:var(--muted);font-size:.96rem}
@media(min-width:820px){ .facts{grid-template-columns:1fr 1fr} }

/* ---------- splits ---------- */
.splits{display:grid;gap:1rem}
.split{border-radius:var(--radius);padding:2rem;color:#fff;box-shadow:var(--shadow-sm)}
.split.a{background:var(--blue)}
.split.b{background:var(--ink)}
.split h3{font-family:var(--display);font-size:clamp(1.5rem,3.2vw,2rem);font-weight:800;
  margin-bottom:.55rem}
.split p{color:rgba(255,255,255,.86);margin-bottom:1.3rem;font-size:1rem}
.split a{display:inline-flex;align-items:center;min-height:48px;padding:.65rem 1.3rem;
  border-radius:999px;background:var(--lime);color:var(--ink);text-decoration:none;
  font-weight:800;font-size:.97rem}
@media(min-width:760px){ .splits{grid-template-columns:1fr 1fr} }

/* ---------- contact ---------- */
.contact{background:var(--blue);color:#fff;border-radius:var(--radius);
  padding:clamp(2rem,5vw,3.4rem);box-shadow:var(--shadow)}
.contact h2{font-family:var(--display);font-size:clamp(1.9rem,4.8vw,3rem);font-weight:800;
  line-height:1.06;margin-bottom:.7rem;max-width:18ch}
.contact p{color:rgba(255,255,255,.88);max-width:48ch;margin-bottom:1.7rem}
.contact .btn-pri{background:#fff;color:var(--blue);box-shadow:none}
.contact .btn-ghost{color:#fff;box-shadow:inset 0 0 0 2px rgba(255,255,255,.5)}
/* Same reason as .contact: --ink on a dark band is invisible. */
.film .btn-ghost{color:#fff;box-shadow:inset 0 0 0 2px rgba(255,255,255,.5)}

/* ---------- footer ---------- */
footer{padding:2.6rem 0 calc(2.6rem + var(--safe-b));border-top:1px solid var(--line);
  font-size:.92rem;color:var(--muted)}
.ft-in{display:flex;gap:1.2rem;flex-wrap:wrap;align-items:center}
.ft-in a{color:var(--muted);font-weight:600}
.ft-in .sp{margin-left:auto}

.skip{position:absolute;left:-9999px;background:var(--ink);color:#fff;
  padding:.75rem 1.25rem;border-radius:0 0 10px 0;z-index:200;text-decoration:none}
.skip:focus{left:0;top:0;display:inline-flex;align-items:center;min-height:44px}
:focus-visible{outline:3px solid var(--blue);outline-offset:2px}

/* Phone overrides LAST — a media query placed above the rules it overrides
   does nothing, which has bitten this project three times. */
@media(max-width:560px){
  .wrap{width:min(var(--wrap),100% - 2rem)}
  .trow{grid-template-columns:auto 1fr;gap:.8rem;padding:.85rem 1.05rem}
  .trow .n{display:none}
  .times-hd{padding:.9rem 1.05rem}
  .fact{grid-template-columns:auto 1fr;gap:.9rem;padding:1.2rem}
  .fact .badge{width:46px;height:46px;font-size:1.05rem}
  /* Inline text links measure ~20px tall, which is a miss on a phone —
     and the footer is where a parent looks for the number. */
  .ft-in{gap:.3rem 1.2rem}
  .ft-in a{display:inline-flex;align-items:center;min-height:44px}
  .ft-in .sp{margin-left:0;flex-basis:100%}
}

/* ============================================================
   TEAM · SCHOOLS · COACHES
   ============================================================
   All new class names. Nothing reused from the home page —
   sharing a name like .card across pages is exactly how the
   Compass outcome sheet ended up 1900px off screen.
   ============================================================ */

/* ---------- meet the team ---------- */
.team{display:grid;gap:1.6rem}
@media(min-width:820px){ .team{grid-template-columns:repeat(3,1fr);gap:1.8rem} }
.mate{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);
  overflow:hidden;box-shadow:var(--shadow-sm);display:flex;flex-direction:column}
/* The three headshots arrived at wildly different sizes and crops — one
   landscape snap, two studio portraits. A fixed ratio plus cover makes them
   read as one set without upscaling anything. */
.mate-photo{width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;object-position:50% 22%;
  background:var(--wash);display:block}
/* height:auto is load-bearing. The <img> carries width/height attributes (good
   for CLS), and those act as presentational hints. Without height:auto BOTH
   dimensions are definite, aspect-ratio is ignored entirely, and the three
   headshots render at three different heights — 518px, 1673px, 1448px — which
   destroys the grid. */
.mate-body{padding:1.4rem;display:flex;flex-direction:column;flex:1}
.mate .role{display:inline-block;align-self:flex-start;background:var(--lime);color:var(--ink);
  font-weight:800;font-size:.68rem;letter-spacing:.08em;text-transform:uppercase;
  padding:.3rem .6rem;border-radius:999px;margin-bottom:.7rem}
.mate h3{font-family:var(--display);font-weight:800;font-size:1.4rem;margin-bottom:.15rem}
.mate .yrs{font-weight:700;font-size:.9rem;color:var(--blue);margin-bottom:.7rem}
.mate p{color:var(--muted);font-size:.96rem;margin-bottom:.7rem}
.mate p:last-child{margin-bottom:0}

/* ---------- schools: the offer grid ---------- */
.offers{display:grid;gap:1.1rem}
@media(min-width:760px){ .offers{grid-template-columns:repeat(3,1fr)} }
.offer{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);
  padding:1.6rem;box-shadow:var(--shadow-sm);border-top:5px solid var(--blue)}
.offer:nth-child(2){border-top-color:var(--lime)}
.offer:nth-child(3){border-top-color:var(--coral)}
.offer h3{font-family:var(--display);font-weight:800;font-size:1.3rem;margin-bottom:.4rem}
.offer p{color:var(--muted);font-size:.96rem}
.offer .tagline{display:block;font-weight:700;color:var(--ink);font-size:.9rem;margin-bottom:.5rem}

/* ---------- a simple checklist ---------- */
.ticks{display:grid;gap:.8rem;margin-top:.4rem}
.ticks li{list-style:none;display:grid;grid-template-columns:auto 1fr;gap:.8rem;
  align-items:start;color:var(--muted);font-size:.98rem}
.ticks .tk{width:24px;height:24px;border-radius:50%;background:var(--lime);
  display:grid;place-items:center;flex:0 0 auto;margin-top:.15rem}
.ticks b{color:var(--ink)}

/* ---------- coaches: what we ask / what you get ---------- */
.twocol{display:grid;gap:1.6rem}
@media(min-width:820px){ .twocol{grid-template-columns:1fr 1fr;gap:2.4rem} }
.panelbox{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);
  padding:1.7rem;box-shadow:var(--shadow-sm)}
.panelbox h3{font-family:var(--display);font-weight:800;font-size:1.3rem;margin-bottom:1rem}

/* ---------- marked slot (used where an asset is still to come) ---------- */
.await{background:repeating-linear-gradient(45deg,var(--wash),var(--wash) 12px,#e6edfb 12px,#e6edfb 24px);
  border-radius:var(--radius);display:grid;place-items:center;text-align:center;padding:2rem;
  aspect-ratio:4/5}
.await span{background:var(--paper);border:1px solid var(--blue);border-radius:999px;
  padding:.6rem 1rem;font-size:.76rem;font-weight:800;letter-spacing:.06em;
  text-transform:uppercase;color:var(--blue);max-width:24ch;line-height:1.5}

@media(max-width:560px){
  .mate-body{padding:1.15rem}
  .offer{padding:1.3rem}
  .panelbox{padding:1.3rem}
}

/* ============================================================
   SCROLL-THROUGH SEQUENCE — "a day at camp"
   ============================================================
   The signature move from MASTER-WEBSITE-PROMPT.md. Frames are
   Cameron's own photographs of one real week, cross-fading as
   you scroll, with the day's stages lighting up beneath.
   ============================================================ */
.dayscroll{position:relative}
.ds-rail{height:800vh}                        /* (frames+1) x 100vh */
.ds-stick{position:sticky;top:0;height:100svh;display:grid;
  grid-template-rows:1fr auto;overflow:hidden;background:var(--ink)}
.ds-frames{position:relative;width:100%;height:100%}
.ds-frames figure{position:absolute;inset:0;opacity:0;margin:0;will-change:opacity,transform}
.ds-frames img{width:100%;height:100%;object-fit:cover}
.ds-cap{position:absolute;left:0;right:0;bottom:0;padding:2.4rem 0 1.6rem;
  background:linear-gradient(180deg,rgba(20,33,58,0),rgba(20,33,58,.82) 55%);
  color:#fff;pointer-events:none}
.ds-cap h3{font-family:var(--display);font-weight:800;font-size:clamp(1.5rem,4.4vw,2.4rem);
  line-height:1.06;margin-bottom:.25rem}
.ds-cap p{color:rgba(255,255,255,.85);font-size:.98rem;max-width:44ch}
.ds-hud{background:var(--paper);border-top:1px solid var(--line);
  padding:.95rem 0 calc(.95rem + var(--safe-b))}
.ds-hud-in{display:flex;align-items:center;gap:1.2rem}
.ds-steps{display:flex;gap:1.1rem;flex-wrap:wrap;flex:1;margin:0;padding:0}
.ds-steps li{list-style:none;font-size:.76rem;letter-spacing:.08em;text-transform:uppercase;
  font-weight:800;color:var(--muted);opacity:.4;transition:opacity .25s,color .25s}
.ds-steps li.on{opacity:1;color:var(--blue)}
.ds-count{font-family:var(--display);font-weight:800;font-size:1.05rem;color:var(--blue);
  white-space:nowrap;font-variant-numeric:tabular-nums}
/* Reduced motion: the rail collapses to a readable grid of the same photos. */
@media (prefers-reduced-motion:reduce){
  .ds-rail{height:auto}
  .ds-stick{position:static;height:auto;display:block;background:none}
  .ds-frames{height:auto;display:grid;gap:1rem;grid-template-columns:1fr}
  .ds-frames figure{position:static;opacity:1!important;transform:none!important}
  .ds-frames img{height:auto;aspect-ratio:16/10;border-radius:var(--radius)}
  .ds-cap{position:static;background:var(--ink);border-radius:var(--radius);
    padding:1.1rem 1.2rem;margin-top:-.4rem}
}

/* ---------- FAQ ---------- */
.faq{display:grid;gap:.7rem;max-width:60rem}
.faq details{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);
  box-shadow:var(--shadow-sm);overflow:hidden}
.faq summary{cursor:pointer;list-style:none;padding:1.15rem 1.4rem;font-weight:800;
  font-family:var(--display);font-size:1.08rem;display:flex;align-items:center;
  justify-content:space-between;gap:1rem;min-height:56px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:'+';font-size:1.5rem;color:var(--blue);line-height:1;flex:0 0 auto}
.faq details[open] summary::after{content:'–'}
.faq details[open] summary{border-bottom:1px solid var(--line)}
.faq .ans{padding:1.15rem 1.4rem;color:var(--muted);font-size:.99rem}
.faq .ans a{color:var(--blue);font-weight:700}

/* ---------- sticky mobile call bar ---------- */
.callbar{position:fixed;left:0;right:0;bottom:0;z-index:70;display:none;
  padding:.7rem 1rem calc(.7rem + var(--safe-b));
  background:var(--ink);border-top:1px solid rgba(255,255,255,.14)}
.callbar a{display:flex;align-items:center;justify-content:center;gap:.55rem;min-height:52px;
  border-radius:999px;background:var(--lime);color:var(--ink);text-decoration:none;
  font-weight:800;font-size:1.02rem}
@media(max-width:820px){
  .callbar{display:block}
  body{padding-bottom:5.2rem}   /* so the bar never covers the footer */
}

@media(max-width:560px){
  .ds-rail{height:600vh}        /* shorter runway on a phone */
  .ds-steps{gap:.75rem}
  .ds-steps li{font-size:.66rem;letter-spacing:.05em}
  .ds-cap{padding:2rem 0 1.2rem}
}

/* ============================================================
   THE FILM — Cameron's promo
   ============================================================
   This is a 35-second film with a soundtrack, not wallpaper. So it is
   NOT autoplayed: it shows a poster and a play button, costs zero bytes
   until a parent chooses to watch, and because pressing play is a user
   gesture it is allowed to start WITH SOUND — which is the whole point
   of a promo. Native controls take over once it is running, so scrubbing,
   volume and fullscreen are all real and none of it is hand-rolled.

   The two small clips beside it are the opposite job: silent, tiny, and
   autoplaying, to give the section motion without costing anyone 5MB.
   ============================================================ */
/* `.venues{display:grid}` outranks the browser's own [hidden] rule, so an
   empty hidden club list still rendered — zero height, but its margin was
   still pushing the section open by 26px. Both halves matter: kill the
   display, and only carry the margin when the list actually has clubs in it. */
#clubList[hidden]{display:none}
#clubList:not([hidden]){margin-bottom:1.6rem}

.film{background:var(--ink);color:#fff}
.film-grid{display:grid;gap:2rem;align-items:center}
@media(min-width:900px){
  .film-grid{grid-template-columns:1fr minmax(290px,360px);gap:3.4rem}
}
/* Video first on a phone — it is the thing worth seeing. On a wide screen
   the copy leads and the film sits to the right. */
.film-stage{order:-1}
@media(min-width:900px){ .film-stage{order:0} }

.film-frame{position:relative;aspect-ratio:9/16;width:100%;max-width:360px;
  margin-inline:auto;border-radius:var(--radius);overflow:hidden;background:#0a1020;
  box-shadow:0 40px 80px -34px rgba(0,0,0,.9)}
.film-frame video,.film-frame .film-poster{width:100%;height:100%;object-fit:cover;display:block}
.film-frame .film-poster{position:absolute;inset:0;z-index:1}
.film-frame video{position:absolute;inset:0;z-index:0;background:#0a1020}
.film-frame.playing .film-poster{opacity:0;pointer-events:none}
.film-frame.playing video{z-index:2}
.film-frame .film-poster{transition:opacity .3s ease}

.film-play{position:absolute;inset:0;z-index:3;width:100%;height:100%;border:0;
  cursor:pointer;color:#fff;font:inherit;display:grid;place-items:center;
  background:linear-gradient(180deg,rgba(10,16,32,.12),rgba(10,16,32,.6))}
.film-frame.playing .film-play{display:none}
.film-play .pill{display:inline-flex;align-items:center;gap:.6rem;background:var(--lime);
  color:var(--ink);font-weight:800;font-size:1rem;padding:.85rem 1.35rem;border-radius:999px;
  box-shadow:0 14px 34px -10px rgba(0,0,0,.75)}
.film-play .dur{display:block;margin-top:.75rem;font-size:.85rem;font-weight:600;
  color:rgba(255,255,255,.92);text-shadow:0 1px 6px rgba(0,0,0,.7)}

.film-copy h2{font-family:var(--display);font-weight:800;line-height:1.04;
  font-size:clamp(2rem,5vw,3.2rem);margin-bottom:.7rem}
.film-copy h2 em{font-style:normal;color:var(--lime)}
.film-copy p{color:rgba(255,255,255,.84);font-size:1.06rem;margin-bottom:1rem;max-width:48ch}
.film-copy .tagline{display:inline-block;background:var(--lime);color:var(--ink);
  font-weight:800;font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;
  padding:.3rem .7rem;border-radius:999px;margin-bottom:1rem}

/* the two silent ambient clips */
.film-peek{display:grid;grid-template-columns:1fr 1fr;gap:.9rem;margin-top:1.7rem;max-width:400px}
.peek{position:relative;aspect-ratio:9/16;border-radius:14px;overflow:hidden;background:#0a1020}
.peek video,.peek img{width:100%;height:100%;object-fit:cover;display:block}
.peek img{position:absolute;inset:0;z-index:1}
.peek video{position:absolute;inset:0;z-index:2;opacity:0;transition:opacity .6s ease}
.peek video.on{opacity:1}
.film-peek-cap{font-size:.85rem;color:rgba(255,255,255,.62);margin-top:.6rem}

@media (prefers-reduced-motion:reduce){
  .peek video{transition:none}
  .film-frame .film-poster{transition:none}
}
@media(max-width:560px){
  .film-frame{max-width:300px}
  .film-copy p{font-size:1rem}
  .film-peek{max-width:300px;margin-inline:auto}
}
