/* ============================================================
   Cubcoats — Landing
   Standalone. No build step.
   ============================================================ */

:root{
  /* Straight from the Cubcoats brand guide, page 13.
     Neutral palette */
  --secret-cubhouse:#50576A;
  --cubcoats-cheer:#FFB89A;
  --after-dark:#666565;
  /* Storybook palette */
  --windy-woods:#156A6F;
  --magic-meadow:#5691A1;
  --crystal-caves:#99C6EE;
  --sing-song-sea:#5C88DA;
  --misty-mountain:#8162AA;

  /* roles */
  --ink:#50576A;
  --ink-2:#3E4455;
  --night:#2F3442;
  --paper:#F7F9FC;
  --cream:#FDF4EE;

  --soft-blue:#99C6EE;
  --deep-blue:#5C88DA;
  --accent:#FFB89A;

  /* Guide, page 12: Riya Black for main headlines, Little Explorer for
     call-outs, Montserrat for body. Montserrat is never a main headline. */
  --font-head:"Riya Black","Chalkboard SE","Chalkboard","Chewy",ui-rounded,system-ui,cursive;
  --font-callout:"Little Explorer","Montserrat",ui-rounded,system-ui,sans-serif;
  --font-body:"Montserrat","Avenir Next",system-ui,-apple-system,sans-serif;
  --font-cartoon:var(--font-head);

  --pad:clamp(1.25rem,4vw,4rem);
  --maxw:78rem;

  --ease:cubic-bezier(.22,1,.36,1);
  --ease-rail:cubic-bezier(.76,0,.24,1);
  --edge-w:clamp(84px,8vw,132px);
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body,h1,h2,h3,p,figure,form,ol,li{margin:0}
ol{padding:0;list-style:none}
img,svg,video{display:block;max-width:100%}
[hidden]{display:none!important}
button,input,textarea{font:inherit;color:inherit}
button{border:0;background:none;cursor:pointer}

body{
  font-family:var(--font-body);
  background:var(--paper);color:var(--ink);
  overflow-x:hidden;-webkit-font-smoothing:antialiased;
}
body.is-locked{overflow:hidden}

.wrap{width:100%;max-width:var(--maxw);margin-inline:auto;padding-inline:var(--pad)}

.eyebrow{
  font-size:clamp(.68rem,1.4vw,.78rem);font-weight:600;
  letter-spacing:.22em;text-transform:uppercase;color:var(--accent);margin-bottom:1.1rem;
}
.eyebrow--light{color:rgba(255,255,255,.72)}

.h2{
  font-family:var(--font-cartoon);
  font-size:clamp(2.1rem,6vw,4.4rem);line-height:1.02;letter-spacing:-.01em;
  text-wrap:balance;
}
.h2--light{color:#fff}

.lede{
  margin-top:1.35rem;max-width:46ch;
  font-size:clamp(1rem,1.9vw,1.16rem);line-height:1.66;
  color:color-mix(in srgb,var(--ink) 70%,transparent);text-wrap:pretty;
}
.lede--light{color:rgba(255,255,255,.76)}

.reveal{
  opacity:0;transform:translateY(26px);
  transition:opacity .82s var(--ease),transform .82s var(--ease);
  transition-delay:calc(var(--d,0)*90ms);
}
.reveal.in{opacity:1;transform:none}

/* ---------- chrome ---------- */
.progress{position:fixed;inset:0 0 auto 0;height:3px;z-index:120;background:rgba(38,48,75,.09)}
.progress__bar{
  display:block;height:100%;width:0;
  background:linear-gradient(90deg,var(--accent),var(--cubcoats-cheer),var(--magic-meadow));
  transition:width .12s linear;
}

/* Always present, never sliding away. Clear over the hero, picks up a bar once
   real content is underneath, so nothing ever reads as overlap. */
.head{
  position:fixed;top:0;left:0;right:0;z-index:110;
  display:flex;align-items:center;justify-content:space-between;gap:1.5rem;
  min-height:clamp(70px,8vh,86px);
  padding-block:.7rem;padding-inline:var(--pad);
  transition:background .4s ease,box-shadow .4s ease,min-height .4s ease;
}
.head__brand{display:flex;align-items:center;flex:0 0 auto;text-decoration:none}
/* One mark, painted through a mask, so it is always the same shape and the
   colour simply follows the section behind the header. */
.head__mark{
  display:block;
  width:clamp(112px,11vw,158px);
  aspect-ratio:1000/172;
  background-color:var(--ink);
  -webkit-mask:url("../img/art/logo-white.webp") center/contain no-repeat;
  mask:url("../img/art/logo-white.webp") center/contain no-repeat;
  transition:background-color .35s ease;
}
.head[data-tone="dark"] .head__mark{background-color:var(--crystal-caves);filter:drop-shadow(0 2px 10px rgba(46,52,66,.45))}

.sr{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;
}

.head.is-solid{
  min-height:clamp(64px,7vh,76px);
  background:rgba(252,250,245,.9);
  backdrop-filter:blur(16px) saturate(170%);-webkit-backdrop-filter:blur(16px) saturate(170%);
  box-shadow:0 1px 0 rgba(38,48,75,.08),0 12px 34px rgba(38,48,75,.07);
}
.head.is-solid[data-tone="dark"]{
  background:rgba(92,136,218,.82);
  box-shadow:0 1px 0 rgba(255,255,255,.08),0 12px 34px rgba(0,0,0,.3);
}
.head.is-solid[data-tone="dark"] .head__mark{background-color:#fff;filter:none}

.nav{display:none;align-items:center;gap:clamp(1.1rem,2.2vw,2rem)}
@media(min-width:900px){.nav{display:flex}}
.nav__link{
  position:relative;text-decoration:none;
  font-size:.86rem;font-weight:500;color:var(--ink);
  padding-block:.3rem;transition:color .25s ease;
}
.nav__link::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:2px;border-radius:2px;
  background:var(--accent);transform:scaleX(0);transform-origin:left;
  transition:transform .3s var(--ease);
}
.nav__link:hover::after{transform:scaleX(1)}
.head[data-tone="dark"] .nav__link{color:#fff;text-shadow:0 1px 10px rgba(0,0,0,.55),0 1px 2px rgba(0,0,0,.4)}
.nav__cta{
  padding:.6rem 1.15rem;border-radius:999px;
  background:var(--crystal-caves);color:#2F3442;
  font-size:.75rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;
  transition:background .25s ease,transform .25s var(--ease);
}
.nav__cta:hover{background:var(--sing-song-sea);color:#fff;transform:translateY(-1px)}
.head[data-tone="dark"] .nav__cta{background:var(--crystal-caves);color:#2F3442}
.head[data-tone="dark"] .nav__cta:hover{background:#fff;color:var(--sing-song-sea)}

.burger{
  display:grid;gap:5px;padding:.6rem;border-radius:.6rem;
}
@media(min-width:900px){.burger{display:none}}
.burger span{display:block;width:22px;height:2px;border-radius:2px;background:var(--ink);transition:transform .3s var(--ease),opacity .2s ease}
.head[data-tone="dark"] .burger span{background:#fff}
.burger[aria-expanded="true"] span:first-child{transform:translateY(3.5px) rotate(45deg)}
.burger[aria-expanded="true"] span:last-child{transform:translateY(-3.5px) rotate(-45deg)}
/* The open drawer is light even while the story beneath it is dark. */
.head.menu-open .head__mark,.head.menu-open .burger span{background-color:var(--ink)}

.drawer{
  position:fixed;top:0;left:0;right:0;z-index:105;
  display:grid;gap:.2rem;
  padding:calc(clamp(58px,7vh,74px) + 1rem) var(--pad) 1.4rem;
  background:rgba(252,250,245,.97);
  backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);
  box-shadow:0 18px 40px rgba(38,48,75,.14);
  transform:translateY(-102%);transition:transform .45s var(--ease);
}
.drawer.is-open{transform:none}
.drawer__link{
  text-decoration:none;color:var(--ink);font-size:1.05rem;font-weight:500;
  padding:.75rem .2rem;border-bottom:1px solid rgba(38,48,75,.08);
}
.drawer__cta{
  margin-top:.9rem;justify-self:start;padding:.75rem 1.3rem;border-radius:999px;
  background:var(--ink);color:#fff;font-size:.75rem;font-weight:600;
  letter-spacing:.1em;text-transform:uppercase;
}

/* soft cartoon blobs used on the light sections */
.blob{position:absolute;z-index:0;border-radius:50%;filter:blur(70px);pointer-events:none}
.blob--a{width:38vw;height:38vw;left:-8vw;top:-6vw;background:rgba(168,216,248,.5)}
.blob--b{width:32vw;height:32vw;right:-6vw;top:18vw;background:rgba(248,168,183,.42)}
.blob--c{display:none}

.layer{position:relative;isolation:isolate}

/* ============================================================
   1 · HERO
   ============================================================ */
.hero{
  min-height:100svh;display:grid;place-items:center;
  padding:clamp(6rem,14vh,9rem) var(--pad) clamp(5rem,10vh,7rem);
  overflow:hidden;background:var(--crystal-caves);
}
.collage{
  position:absolute;inset:-14% -12%;z-index:0;
  display:grid;grid-template-columns:repeat(4,1fr);gap:2px;
  transform:rotate(-3deg) scale(1.26);will-change:transform;
}
@media(min-width:720px){.collage{grid-template-columns:repeat(6,1fr)}}
@media(min-width:1240px){.collage{grid-template-columns:repeat(8,1fr)}}
.col{display:flex;flex-direction:column;gap:2px;animation:drift linear infinite}
.col--down{animation-direction:reverse}
.col img{width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:0;filter:brightness(1.08) saturate(1.04)}
@keyframes drift{from{transform:translateY(0)}to{transform:translateY(-50%)}}

.hero__veil{
  position:absolute;inset:0;z-index:1;
  background:
    radial-gradient(52% 40% at 50% 46%,rgba(46,52,66,.42) 0%,rgba(46,52,66,.16) 60%,rgba(46,52,66,0) 84%),
    linear-gradient(180deg,rgba(46,52,66,.24) 0%,rgba(46,52,66,0) 18%,rgba(46,52,66,0) 84%,rgba(46,52,66,.2) 100%);
}
.hero__inner{position:relative;z-index:2;text-align:center;max-width:60rem}
.hero__title{
  font-family:var(--font-cartoon);
  font-size:clamp(3rem,13vw,10.5rem);line-height:.9;letter-spacing:-.02em;color:#fff;
  -webkit-text-stroke:2px rgba(46,52,66,.48);paint-order:stroke fill;
  text-shadow:0 3px 0 rgba(46,52,66,.52),0 14px 34px rgba(20,29,52,.56);
}
.line{display:block}
.word{
  display:inline-block;opacity:0;transform:translateY(.5em) rotate(-3deg);
  animation:wordIn .95s var(--ease) forwards;animation-delay:calc(.18s + var(--d)*.13s);
}
.word--pop{
  color:#99C6EE;
}
@keyframes wordIn{to{opacity:1;transform:none}}
.hero__sub{
  margin:clamp(1.4rem,3vw,2.1rem) auto 0;max-width:54ch;
  font-size:clamp(.98rem,1.8vw,1.16rem);line-height:1.7;
  color:rgba(255,255,255,.78);text-wrap:pretty;
}
.heroFade{opacity:0;transform:translateY(20px);animation:fadeUp .9s var(--ease) forwards;animation-delay:calc(.3s + var(--d,0)*.13s)}
@keyframes fadeUp{to{opacity:1;transform:none}}

.cue{
  position:absolute;left:50%;bottom:clamp(1.6rem,4vh,2.6rem);z-index:3;
  translate:-50% 0;display:grid;justify-items:center;gap:.7rem;
  color:rgba(255,255,255,.6);text-decoration:none;
  font-size:.68rem;letter-spacing:.2em;text-transform:uppercase;font-weight:500;
}
.cue__line{width:1px;height:clamp(28px,4.5vh,42px);background:linear-gradient(rgba(255,255,255,0),rgba(255,255,255,.85));animation:cueSlide 2.1s ease-in-out infinite}
@keyframes cueSlide{0%,100%{transform:scaleY(.45);opacity:.5}50%{transform:scaleY(1);opacity:1}}
.cue:hover{color:#fff}

/* the film, tucked into the hero corner */
.peek{
  position:relative;z-index:4;
  margin:clamp(1.8rem,4.5vh,3.2rem) auto 0;
  display:inline-flex;align-items:center;gap:.9rem;
  padding:.6rem 1.15rem .6rem .6rem;border-radius:999px;
  background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.22);
  backdrop-filter:blur(14px) saturate(150%);-webkit-backdrop-filter:blur(14px) saturate(150%);
  color:#fff;text-align:left;
  opacity:0;transform:translateY(18px);
  animation:fadeUp .75s var(--ease) .45s forwards;
  transition:background .3s ease,transform .35s var(--ease),border-color .3s ease;
}
.peek:hover{background:rgba(255,255,255,.18);border-color:rgba(255,255,255,.4);transform:translateY(-3px)}
.peek__vid{
  width:clamp(56px,6vw,74px);aspect-ratio:1;border-radius:999px;
  object-fit:cover;background:#0C1120;
}
.peek__ring{
  position:absolute;left:.6rem;top:50%;translate:0 -50%;
  width:clamp(56px,6vw,74px);aspect-ratio:1;border-radius:999px;
  border:2px solid rgba(255,255,255,.5);
  animation:peekPing 2.6s ease-out infinite;pointer-events:none;
}
@keyframes peekPing{0%{transform:scale(1);opacity:.7}70%,100%{transform:scale(1.42);opacity:0}}
.peek__play{
  position:absolute;left:.6rem;top:50%;translate:0 -50%;
  width:clamp(56px,6vw,74px);aspect-ratio:1;
  display:grid;place-items:center;pointer-events:none;
}
.peek__play svg{width:22px;height:22px;fill:#fff;filter:drop-shadow(0 2px 6px rgba(0,0,0,.6))}
.peek__meta{display:grid;gap:.12rem}
.peek__kicker{font-family:var(--font-cartoon);font-size:.95rem;letter-spacing:.02em}
.peek__sub{font-size:.66rem;letter-spacing:.14em;text-transform:uppercase;opacity:.62}
@media(max-width:620px){
  .peek{
    left:50%;right:auto;translate:-50% 0;bottom:5.6rem;
    width:16.5rem;max-width:calc(100% - 1rem);
    gap:.65rem;padding:.55rem .9rem .55rem .55rem;
  }
  .peek__vid,.peek__ring,.peek__play{width:58px}
  .peek__meta{min-width:0}
  .peek__kicker{font-size:.98rem;white-space:nowrap}
  .peek__sub{font-size:.66rem;white-space:nowrap}
  .cue{display:none}
}

/* ============================================================
   2 · PROOF
   ============================================================ */
/* Light, cartoonic. The numbers carry the weight, not a dark panel. */
.proof{padding:clamp(5.5rem,14vh,9rem) 0;background:var(--paper);overflow:hidden}
.proof .wrap{position:relative;z-index:1}

.stats{display:grid;gap:clamp(1rem,2vw,1.6rem);margin-top:clamp(2.6rem,6vw,4rem);grid-template-columns:1fr}
@media(min-width:820px){.stats{grid-template-columns:repeat(3,1fr);align-items:end}}

.stat{
  position:relative;display:grid;gap:.55rem;align-content:start;
  padding:clamp(1.6rem,3vw,2.2rem);
  border-radius:1.75rem;background:#fff;
  border:2px solid var(--tone,rgba(38,48,75,.08));
  box-shadow:0 18px 46px rgba(38,48,75,.09);
  transition:transform .5s var(--ease),box-shadow .5s var(--ease);
}
.stat:hover{transform:translateY(-6px);box-shadow:0 30px 66px rgba(38,48,75,.14)}
.stat--sky{--tone:#A8D8F8;--ink-tone:#2E7FB8;background:linear-gradient(170deg,#F2FAFF 0%,#fff 62%)}
.stat--fox{--tone:#F47465;--ink-tone:#D6503F;background:linear-gradient(170deg,#FFF3F1 0%,#fff 62%)}
.stat--mint{--tone:#59C7C9;--ink-tone:#2E9A9C;background:linear-gradient(170deg,#F0FBFB 0%,#fff 62%)}
@media(min-width:820px){.stat--lead{transform:translateY(-1.8rem)}
  .stat--lead:hover{transform:translateY(-2.4rem)}}

.stat__tag{
  justify-self:start;padding:.42rem .9rem;border-radius:999px;
  background:var(--tone);color:#fff;
  font-size:.63rem;font-weight:600;letter-spacing:.18em;text-transform:uppercase;
}
.stat__pre{font-size:.94rem;font-weight:500;color:color-mix(in srgb,var(--ink) 55%,transparent);margin-bottom:-.55rem}
.stat__num{
  font-family:var(--font-cartoon);
  font-size:clamp(3rem,7.4vw,5rem);line-height:.9;letter-spacing:-.02em;
  color:var(--ink-tone);display:flex;align-items:baseline;gap:.02em;
}
.stat__cur{font-size:.58em;opacity:.72}
.stat__suf{font-size:.56em}

.stat__chart{display:flex;align-items:flex-end;gap:.42rem;height:clamp(64px,7.5vw,88px);margin-top:.5rem}
.stat__chart i{
  flex:1;height:0;border-radius:.4rem .4rem .18rem .18rem;
  background:color-mix(in srgb,var(--tone) 34%,#fff);
  transition:height 1.05s var(--ease);
}
.stat__chart i:last-child{background:var(--tone)}
.stat.in .stat__chart i{height:var(--h)}
.stat__chart i:nth-child(1){transition-delay:.30s}
.stat__chart i:nth-child(2){transition-delay:.38s}
.stat__chart i:nth-child(3){transition-delay:.46s}
.stat__chart i:nth-child(4){transition-delay:.54s}
.stat__chart i:nth-child(5){transition-delay:.62s}
.stat__chart i:nth-child(6){transition-delay:.70s}
.stat__chart i:nth-child(7){transition-delay:.78s}

.proof__note{
  margin-top:clamp(2.6rem,6vw,4rem);max-width:64ch;
  font-size:clamp(.95rem,1.65vw,1.06rem);line-height:1.72;
  color:color-mix(in srgb,var(--ink) 64%,transparent);text-wrap:pretty;
}

/* ============================================================
   3 · CAST
   ============================================================ */
.cast{
  padding:clamp(5rem,13vh,8rem) 0 clamp(3.5rem,8vh,5rem);
  background:#fff;overflow:hidden;
}
.cast__head{
  position:relative;z-index:1;
  display:grid;gap:2rem;align-items:end;
  margin-bottom:clamp(2.4rem,5vw,3.4rem);
}
@media(min-width:900px){.cast__head{grid-template-columns:1fr auto}}
.cast__nav{display:flex;gap:.7rem}
.navbtn{
  width:3.4rem;height:3.4rem;border-radius:999px;display:grid;place-items:center;
  background:#fff;border:2px solid rgba(38,48,75,.12);color:var(--ink);
  box-shadow:0 4px 12px rgba(38,48,75,.07);
  transition:background .25s ease,transform .25s var(--ease),opacity .25s ease;
}
.navbtn svg{width:22px;height:22px;stroke:currentColor;stroke-width:2.2}
.navbtn:hover{background:var(--ink);color:#fff;transform:translateY(-2px)}
.navbtn[disabled]{opacity:.3;pointer-events:none}

/* A paged rail: whole cards only, never a sliced one at the edge. */
.railwrap{position:relative;z-index:1;--gap:clamp(.7rem,1.2vw,1rem);--per:4}
@media(max-width:1180px){.railwrap{--per:3}}
@media(max-width:860px){.railwrap{--per:2}}
/* A small slice of the following card makes the horizontal swipe obvious on phones. */
@media(max-width:560px){.railwrap{--per:1}}

.rail{
  overflow-x:auto;overflow-y:hidden;
  scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;
  scrollbar-width:none;scroll-behavior:smooth;
}
.rail::-webkit-scrollbar{display:none}
.rail.is-drag{scroll-snap-type:none;scroll-behavior:auto;cursor:grabbing}
.rail__track{
  display:grid;grid-auto-flow:column;
  /* exactly --per cards fill the rail, so nothing is ever half shown */
  grid-auto-columns:calc((100% - (var(--per) - 1) * var(--gap)) / var(--per));
  gap:var(--gap);
  padding-block:1rem 1.6rem;
}

.cub{
  scroll-snap-align:start;position:relative;
  border-radius:1.6rem;overflow:hidden;
  background:linear-gradient(168deg,var(--tint) 0%,var(--tint2) 100%);
  /* Keep the hover focused on the character; a drop shadow made the card
     look like it was floating above the rail. */
  box-shadow:none;
  transition:transform .55s var(--ease);
}
.cub:hover,.cub:focus-within{transform:translateY(-10px);box-shadow:none}

.cub__stage{position:relative;aspect-ratio:300/430;overflow:hidden}
.cub__halo{
  position:absolute;left:50%;top:56%;translate:-50% -50%;
  width:88%;aspect-ratio:1;border-radius:999px;
  background:radial-gradient(circle,rgba(255,255,255,.6) 0%,transparent 68%);
  opacity:.55;transition:opacity .55s ease,transform .8s var(--ease);
}
.cub:hover .cub__halo{opacity:.9;transform:translate(-50%,-50%) scale(1.08)}
.cub__stage img{
  position:absolute;left:0;right:0;bottom:-2.5%;width:100%;height:102.5%;
  object-fit:contain;object-position:bottom;
  padding:3% 7% 0;
  transition:opacity .55s var(--ease),transform .7s var(--ease);
}
.cub__photo{filter:drop-shadow(0 10px 14px rgba(20,26,44,.14))}
.cub__toon{
  opacity:0;transform:scale(.84) rotate(-5deg);
  /* Keep the flipped character on the same baseline as the photo rather
     than floating in the centre of the stage. */
  object-position:center bottom;padding:12% 15% 0;filter:none;
}
.cub:hover .cub__photo,.cub:focus-within .cub__photo,.cub.is-turned .cub__photo{opacity:0;transform:scale(1.06)}
.cub:hover .cub__toon,.cub:focus-within .cub__toon,.cub.is-turned .cub__toon{opacity:1;transform:none}
.cub.is-turned .cub__halo{opacity:.9;transform:translate(-50%,-50%) scale(1.08)}
.cub.is-turned{transform:translateY(-10px);box-shadow:none}

.cub__foot{
  position:relative;padding:.85rem 1rem 1rem;
  background:linear-gradient(180deg,rgba(255,255,255,.55) 0%,rgba(255,255,255,.88) 100%);
  backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);
}
.cub__name{font-family:var(--font-cartoon);font-size:1.45rem;line-height:1;color:var(--ink)}
.cub__species{font-size:.8rem;font-weight:500;color:color-mix(in srgb,var(--ink) 58%,transparent);margin-top:.18rem}
.cub__trait{
  margin-top:.7rem;display:inline-flex;align-items:center;gap:.42rem;
  padding:.32rem .68rem;border-radius:999px;background:rgba(38,48,75,.07);
  font-size:.6rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--ink);
}
.cub__dot{width:7px;height:7px;border-radius:99px;background:var(--tint2)}

/* page dots, quieter than a scrollbar */
.dots{display:flex;justify-content:center;gap:.5rem;margin-top:.4rem}
.dots button{
  width:8px;height:8px;padding:0;border-radius:999px;
  background:rgba(38,48,75,.18);transition:width .35s var(--ease),background .3s ease;
}
.dots button[aria-selected="true"]{width:26px;background:var(--accent)}

/* ============================================================
   4 · ISLAND  (shown whole, never cropped)
   ============================================================ */
/* Full screen, artwork left at full brightness. Only the copy corner gets a
   scrim, so the map itself is never dimmed. */
.island{
  min-height:100svh;display:grid;
  background:#BEE3EF;overflow:hidden;
}
.island__art{
  grid-area:1/1;width:100%;height:100%;
  object-fit:cover;object-position:center;
}
.island__panel{
  grid-area:1/1;position:relative;
  align-self:start;justify-self:start;
  width:min(100%,44rem);
  padding:calc(clamp(70px,8vh,86px) + clamp(1.5rem,4vh,3rem)) clamp(1.4rem,4vw,4rem) clamp(2rem,5vh,3rem);
}
.island__scrim{
  position:absolute;inset:0 -20% -60% -10%;z-index:0;pointer-events:none;
  background:radial-gradient(74% 84% at 26% 22%,rgba(10,28,42,.84) 0%,rgba(10,28,42,.54) 46%,rgba(10,28,42,0) 78%);
}
.island__copy{position:relative;z-index:1}
.island__title{
  font-family:var(--font-cartoon);color:#fff;
  font-size:clamp(2rem,5.4vw,3.9rem);line-height:1.02;letter-spacing:-.01em;
  text-shadow:0 12px 40px rgba(0,0,0,.5);
}
.island__lede{
  margin-top:1.15rem;max-width:40ch;
  font-size:clamp(.96rem,1.8vw,1.12rem);line-height:1.66;
  color:rgba(255,255,255,.86);text-wrap:pretty;
  text-shadow:0 4px 18px rgba(0,0,0,.5);
}
@media(max-width:760px){
  .island{min-height:88svh}
  .island__art{object-position:58% center}
  .island__panel{width:100%}
  .island__scrim{inset:0 -20% -60% -20%}
}

/* ============================================================
   5 · UNZIP  (the transformation film)
   ============================================================ */
.unzip{min-height:100svh;display:grid;place-items:center;overflow:hidden;background:#12161F}
.unzip__vid{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
.unzip__veil{
  position:absolute;inset:0;z-index:1;
  background:
    radial-gradient(90% 70% at 50% 50%,rgba(10,14,22,.28) 0%,rgba(10,14,22,.72) 78%),
    linear-gradient(180deg,rgba(10,14,22,.72) 0%,transparent 24%,transparent 66%,rgba(10,14,22,.86) 100%);
}
/* Ported straight from the hero treatment on cubcoats.com: the words smoke in
   from opposite corners, first one, then a hold, then the other. */
.unzip__inner{position:absolute;inset:0;z-index:2;pointer-events:none}
.unzip__a,.unzip__b{
  position:absolute;z-index:10;
  font-family:var(--font-cartoon);font-weight:400;letter-spacing:.005em;
  color:#fff;text-transform:uppercase;white-space:nowrap;line-height:1;
  font-size:clamp(2.4rem,8.5vw,7.5rem);
  -webkit-text-stroke:3px rgba(38,48,75,.55);paint-order:stroke fill;
  text-shadow:
    0 0 26px rgba(255,255,255,.6),
    0 6px 0 rgba(38,48,75,.4),
    0 18px 36px rgba(38,48,75,.45);
  opacity:0;will-change:transform,opacity,filter;
}
.unzip__a{top:12%;left:6%;transform-origin:left center}
.unzip__b{bottom:12%;right:6%;transform-origin:right center}

@keyframes smokeIn{
  from{opacity:0;filter:blur(28px);transform:scale(.7) rotate(var(--r0))}
  to  {opacity:1;filter:blur(0);  transform:scale(1)  rotate(var(--r1))}
}
.unzip__a{--r0:-3deg;--r1:-2deg}
.unzip__b{--r0:3deg;--r1:2deg}
.unzip.show-a .unzip__a{animation:smokeIn 1.1s cubic-bezier(.16,1,.3,1) forwards}
.unzip.show-b .unzip__b{animation:smokeIn 1.1s cubic-bezier(.16,1,.3,1) forwards}
@keyframes zipA{to{opacity:1;transform:translate(0,0) rotate(-2deg)}}
@keyframes zipB{to{opacity:1;transform:translate(0,0) rotate(1.5deg)}}

/* ============================================================
   6 · ADULT
   ============================================================ */
.adult{padding:clamp(5.5rem,14vh,9rem) 0;background:var(--paper)}
.adult__grid{display:grid;gap:clamp(2.4rem,5vw,4rem);align-items:center}
@media(min-width:900px){.adult__grid{grid-template-columns:1fr .9fr}}
.beats{margin-top:1.9rem;display:grid;gap:1rem}
.beat{display:flex;gap:1rem;align-items:baseline}
.beat__no{
  font-family:var(--font-cartoon);font-size:.9rem;
  color:color-mix(in srgb,var(--ink) 34%,transparent);
}
.beat__txt{font-size:clamp(1.02rem,2vw,1.3rem);line-height:1.5;font-weight:500;color:color-mix(in srgb,var(--ink) 74%,transparent)}
.beat--hot .beat__txt{color:var(--accent);font-weight:600}
.beat--hot .beat__no{color:var(--accent);opacity:.6}
.adult__ellen{margin-top:2.2rem;max-width:220px}
.adult__ellen img{width:100%;height:auto;border-radius:.6rem}
.adult__media{
  border-radius:1.5rem;overflow:hidden;background:#fff;
  border:1px solid rgba(38,48,75,.08);box-shadow:0 26px 70px rgba(38,48,75,.14);
}
.adult__media img{width:100%;height:auto}

/* ============================================================
   7 · WILD
   ============================================================ */
/* The map runs edge to edge with no dead space above it; the copy sits in the
   empty Pacific and the sign-up rides the map's lower edge. */
.wild{position:relative;background:var(--paper);overflow:hidden;padding-bottom:clamp(6.5rem,11vw,9rem)}
.wild__map{position:relative;width:100%}
.wild__plot{position:relative}
.wild__plot img{width:100%;height:auto;display:block}

.wild__copy{
  position:absolute;left:clamp(1rem,3.5vw,4rem);top:5%;
  width:min(23ch,24%);z-index:2;
}
.wild__copy .eyebrow{margin-bottom:.7rem}
.wild__copy .h2{font-size:clamp(1.5rem,2.7vw,2.5rem);line-height:1.04;text-shadow:0 2px 0 rgba(242,239,231,.8)}
.wild__copy .lede{margin-top:.6rem;font-size:clamp(.78rem,.95vw,.9rem);line-height:1.5;max-width:28ch}
.wild__chip{
  margin-top:.8rem;display:inline-flex;align-items:center;gap:.5rem;
  padding:.42rem .85rem;border-radius:999px;
  background:rgba(255,255,255,.92);border:1px solid rgba(38,48,75,.1);
  font-size:.6rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--ink);
  box-shadow:0 8px 22px rgba(38,48,75,.1);
}
.map__dot{width:7px;height:7px;border-radius:99px;background:var(--accent);animation:blink 2.2s ease-in-out infinite}
@keyframes blink{0%,100%{opacity:1}50%{opacity:.28}}

/* one horizontal bar, centred so it clears Australia, low enough to clear Brazil */
.drop{
  /* Centre within the visible map, excluding the fixed contact rail. */
  position:absolute;left:calc((100% - var(--edge-w)) / 2);bottom:clamp(1.5rem,3vw,2.5rem);translate:-50% 0;
  width:min(62rem,calc(100% - var(--edge-w) - 4rem));
  z-index:3;display:grid;gap:.65rem;
  padding:1.15rem clamp(1.1rem,2vw,1.6rem) 1.25rem;
  border-radius:1.35rem;
  background:rgba(255,255,255,.9);
  border:1px solid rgba(255,255,255,.95);
  box-shadow:0 26px 70px rgba(38,48,75,.2);
  backdrop-filter:blur(20px) saturate(160%);-webkit-backdrop-filter:blur(20px) saturate(160%);
}
.drop__title{
  font-size:.62rem;font-weight:600;letter-spacing:.2em;text-transform:uppercase;
  color:color-mix(in srgb,var(--ink) 52%,transparent);
}
.drop__row{display:grid;gap:.75rem;align-items:end;grid-template-columns:1fr}
@media(min-width:800px){.drop__row{grid-template-columns:repeat(3,1fr) auto}}
.drop .fld__lbl{font-size:.56rem}
.drop .fld input{padding:.7rem .85rem;font-size:.9rem;border-radius:.7rem}
.drop .btn{margin-top:0;padding:.8rem 1.5rem;font-size:.66rem;white-space:nowrap}
.drop .formmsg{font-size:.76rem;min-height:0}

/* The map rests on tiny illustrated Cubs. Their animated WebP is only mounted
   when a visitor hovers or focuses one, so the whole map never dances at once. */
.pin{
  position:absolute;left:var(--x);top:var(--y);z-index:1;
  width:clamp(30px,2.5vw,48px);aspect-ratio:1;
  translate:-50% -50%;display:grid;place-items:center;padding:0;
  border:2px solid #fff;border-radius:999px;
  background:rgba(255,255,255,.94);box-shadow:0 5px 14px rgba(20,40,70,.26);
  cursor:pointer;transition:box-shadow .25s ease,transform .25s var(--ease),background .25s ease;
}
.pin::before{
  content:"";position:absolute;top:68%;left:50%;z-index:-1;width:2px;height:clamp(10px,1.1vw,18px);
  background:var(--sing-song-sea);transform:translateX(-50%);border-radius:999px;
}
.pin__still{width:86%;height:86%;object-fit:contain;filter:drop-shadow(0 2px 2px rgba(20,40,70,.18));transition:opacity .2s ease}
.pin__motion{
  position:absolute;left:50%;bottom:-12%;width:clamp(76px,7vw,128px);height:clamp(76px,7vw,128px);
  translate:-50% 0;display:grid;place-items:end center;pointer-events:auto;
  opacity:0;transform:scale(.72);transform-origin:center bottom;
  transition:opacity .2s ease,transform .35s var(--ease);
}
.pin__motion img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 9px 12px rgba(20,40,70,.22))}
.pin.is-playing,.pin:focus-visible{z-index:4;background:#fff;box-shadow:0 8px 22px rgba(20,40,70,.32);outline:none}
.pin.is-playing .pin__still{opacity:0}
.pin.is-playing .pin__motion{opacity:1;transform:scale(1)}
.pin:focus-visible{outline:3px solid var(--accent);outline-offset:3px}



@media(max-width:900px){
  .wild{padding-bottom:0}
  .wild__map{display:grid}
  .wild__plot{order:1}
  .wild__copy{position:static;order:2;width:auto;padding-inline:var(--pad);margin-top:1.8rem}
  .wild__copy .h2{font-size:clamp(1.9rem,7vw,2.6rem)}
  .drop{
    position:static;order:3;translate:none;width:auto;
    margin:1.5rem var(--pad) 1.5rem;padding:1.25rem;
  }
  .drop .fld input{padding:.8rem .9rem;font-size:.95rem}
  .drop .btn{padding:.9rem 1rem;font-size:.68rem;width:100%}
}

/* ---------- cards + forms ---------- */
.card{
  padding:clamp(1.6rem,3vw,2.2rem);border-radius:1.5rem;background:#fff;
  border:1px solid rgba(38,48,75,.08);box-shadow:0 24px 64px rgba(38,48,75,.12);
}
.card--form{display:grid;gap:.95rem;align-content:start}
.card__title{font-family:var(--font-cartoon);font-size:clamp(1.3rem,2.4vw,1.7rem);line-height:1.1;color:var(--ink)}
.card__sub{font-size:.92rem;line-height:1.55;color:color-mix(in srgb,var(--ink) 58%,transparent);margin-top:-.45rem}

.fld{display:grid;gap:.4rem}
.fld__lbl{font-size:.64rem;font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:color-mix(in srgb,var(--ink) 50%,transparent)}
.fld input,.fld textarea{
  width:100%;padding:.9rem 1.05rem;border-radius:.85rem;
  background:#FBFAF7;border:1px solid rgba(38,48,75,.15);font-size:.98rem;color:var(--ink);
  transition:border-color .22s ease,box-shadow .22s ease,background .22s ease;resize:vertical;
}
.fld input:focus,.fld textarea:focus{outline:none;background:#fff;border-color:var(--accent);box-shadow:0 0 0 4px rgba(244,116,101,.15)}
.fld input[aria-invalid="true"],.fld textarea[aria-invalid="true"]{border-color:var(--accent);background:#FFF6F5}
.fld--dark .fld__lbl{color:rgba(255,255,255,.56)}
.fld--dark input,.fld--dark textarea{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.2);color:#fff}
.fld--dark input:focus,.fld--dark textarea:focus{background:rgba(255,255,255,.12);border-color:var(--cubcoats-cheer);box-shadow:0 0 0 4px rgba(255,185,104,.18)}
.fld--wide{grid-column:1/-1}

.btn{
  margin-top:.4rem;padding:1rem 1.6rem;border-radius:.85rem;
  background:var(--ink);color:#fff;
  font-size:.74rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;
  transition:transform .25s var(--ease),background .25s ease,box-shadow .25s ease;
  box-shadow:0 12px 30px rgba(38,48,75,.2);
}
.btn:hover{transform:translateY(-2px);background:var(--accent);box-shadow:0 18px 40px rgba(244,116,101,.3)}
.btn--light{background:var(--cubcoats-cheer);color:var(--ink);box-shadow:0 12px 30px rgba(255,185,104,.26);justify-self:start}
.btn--light:hover{background:#fff;box-shadow:0 18px 40px rgba(255,255,255,.22)}
.formmsg{min-height:1.2em;font-size:.86rem;font-weight:500;color:var(--accent)}
.contact__form .formmsg{grid-column:1/-1;color:var(--cubcoats-cheer)}

/* ============================================================
   footer
   ============================================================ */
.foot{background:var(--night);padding:clamp(1.6rem,3.6vh,2.3rem) 0}
.foot__in{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem;
  padding-right:calc(var(--pad) + var(--edge-w));
}
.foot__logo{width:clamp(104px,10vw,138px);height:auto;opacity:.85}
.foot__credit{font-size:.85rem;color:rgba(255,255,255,.5)}
.foot__credit a{color:#fff;font-weight:600;text-decoration:none;border-bottom:1px solid rgba(255,255,255,.3);transition:border-color .25s ease,color .25s ease}
.foot__credit a:hover{color:var(--cubcoats-cheer);border-color:var(--cubcoats-cheer)}

/* ============================================================
   edge arrow + contact panel
   ============================================================ */
.edge{
  /* Keep this action rail beneath the fixed header. */
  position:fixed;top:0;right:0;z-index:100;
  width:var(--edge-w);height:100svh;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1.4rem;
  background:linear-gradient(180deg,var(--ink) 0%,#1A2138 100%);color:#fff;
  transform:translateX(100%);
  transition:transform .6s var(--ease),width .35s var(--ease),background .35s ease;
  box-shadow:-18px 0 50px rgba(26,33,56,.24);
}
.edge.is-ready{transform:translateX(0)}
.edge:hover{width:calc(var(--edge-w) + 26px);background:linear-gradient(180deg,var(--accent) 0%,#E0604F 100%)}
.edge__label{writing-mode:vertical-rl;font-family:var(--font-cartoon);font-size:clamp(.95rem,1.5vw,1.2rem);letter-spacing:.06em;text-transform:uppercase}
.edge__arrow{display:block;width:58%;color:#fff}
.edge__arrow svg{width:100%;height:auto;stroke:currentColor;stroke-width:2.4;animation:nudge 2.2s ease-in-out infinite}
@keyframes nudge{0%,100%{transform:translateX(0)}50%{transform:translateX(20%)}}

.edge--back{
  right:auto;left:0;transform:none;position:absolute;
  background:linear-gradient(180deg,rgba(255,255,255,.1) 0%,rgba(255,255,255,.04) 100%);
  border-right:1px solid rgba(255,255,255,.14);box-shadow:none;
}
.edge--back:hover{width:calc(var(--edge-w) + 26px);background:rgba(255,255,255,.16)}
.edge__arrow--back svg{animation:nudgeBack 2.2s ease-in-out infinite}
@keyframes nudgeBack{0%,100%{transform:translateX(0)}50%{transform:translateX(-20%)}}

/* The contact view is an overlay, not a page-layout transition. Keeping the
   story and header fixed in place prevents scroll-bar reflow and white flashes. */
body.contact-open .edge:not(.edge--back){transform:translateX(100%)}

.contact{
  position:fixed;inset:0;z-index:200;transform:translateX(100%);
  transition:transform .72s var(--ease);
  background:
    radial-gradient(52% 62% at 88% 26%,rgba(244,116,101,.22),transparent 66%),
    radial-gradient(46% 54% at 74% 88%,rgba(255,185,104,.16),transparent 64%),
    linear-gradient(150deg,var(--ink) 0%,#151C31 55%,#10162A 100%);
  overflow-y:auto;overscroll-behavior:contain;pointer-events:none;
}
.contact.is-open{transform:translateX(0);pointer-events:auto}
.contact::after{
  content:"";position:absolute;top:0;right:0;bottom:0;width:34%;
  background:url("../img/collage/c06.webp") center/cover no-repeat;
  opacity:.16;filter:saturate(.5);
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 55%);
  mask-image:linear-gradient(90deg,transparent,#000 55%);
  pointer-events:none;
}
@media(max-width:900px){.contact::after{display:none}}
.contact__inner{
  position:relative;z-index:1;
  min-height:100svh;display:flex;flex-direction:column;justify-content:center;gap:.4rem;
  padding:clamp(4rem,10vh,6rem) var(--pad) clamp(3rem,8vh,5rem);
  padding-left:calc(var(--edge-w) + var(--pad));max-width:62rem;
}
.contact__title{font-family:var(--font-cartoon);color:#fff;font-size:clamp(2.3rem,6.4vw,4.8rem);line-height:1;letter-spacing:-.01em;text-wrap:balance}
.contact__lede{margin-top:1.3rem;max-width:48ch;font-size:clamp(1rem,1.9vw,1.14rem);line-height:1.66;color:rgba(255,255,255,.72);text-wrap:pretty}
.contact__form{display:grid;gap:.95rem;margin-top:clamp(2.2rem,5vw,3rem);grid-template-columns:1fr}
@media(min-width:760px){.contact__form{grid-template-columns:repeat(3,1fr)}}
.contact__foot{
  display:flex;align-items:center;gap:1rem;
  /* Use the remaining panel space so the brand row rests at the bottom. */
  margin-top:auto;padding-top:1.6rem;
  border-top:1px solid rgba(255,255,255,.12);
  color:rgba(255,255,255,.5);font-size:.78rem;letter-spacing:.05em;
}
.contact__foot img{width:clamp(96px,10vw,136px);height:auto;opacity:.9}

/* ============================================================
   film lightbox
   ============================================================ */
.box{
  position:fixed;inset:0;z-index:300;display:grid;place-items:center;
  padding:clamp(1rem,4vw,3rem);
  background:rgba(9,12,20,.9);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  opacity:0;visibility:hidden;transition:opacity .4s ease,visibility .4s ease;
}
.box.is-open{opacity:1;visibility:visible}
.box__frame{
  width:min(100%,68rem);border-radius:1.2rem;overflow:hidden;
  background:#000;box-shadow:0 40px 120px rgba(0,0,0,.6);
  transform:scale(.95);transition:transform .5s var(--ease);
}
.box.is-open .box__frame{transform:none}
.box__frame video{width:100%;height:auto;aspect-ratio:16/9;background:#000}
.box__close{
  position:absolute;top:clamp(1rem,3vw,2rem);right:clamp(1rem,3vw,2rem);
  width:3rem;height:3rem;border-radius:999px;display:grid;place-items:center;
  background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.28);color:#fff;
  transition:background .25s ease,transform .25s var(--ease);
}
.box__close:hover{background:rgba(255,255,255,.26);transform:scale(1.06)}
.box__close svg{width:20px;height:20px;stroke:currentColor;stroke-width:2.2}

/* ============================================================
   responsive
   ============================================================ */
@media(max-width:760px){
  :root{--edge-w:0px}
  .cast__head{grid-template-columns:1fr}
  .cast__nav{display:none}

  /* Keep the long-form story compact and consistent on a phone. */
  .proof,.cast,.adult{padding-block:3.75rem}
  .cast__head{margin-bottom:2rem}

  /* Keep the transformation film in its native widescreen frame on phones.
     A viewport-height container with `cover` was cutting off its sides. */
  .unzip{min-height:0;aspect-ratio:16/9}
  .unzip__vid{object-fit:contain}

  /* The contact rail is fixed at the bottom on phones, so reserve its space
     instead of letting it cover the final footer line. */
  .foot{
    padding-top:1.5rem;
    padding-bottom:calc(1.5rem + 60px + env(safe-area-inset-bottom,0px));
  }

  /* a side rail is wrong on a phone, so it lies down as a bar */
  .edge{
    top:auto;bottom:0;left:0;right:0;
    width:100%;height:auto;min-height:60px;
    flex-direction:row;gap:.9rem;
    transform:translateY(110%);
    box-shadow:0 -14px 34px rgba(26,33,56,.26);
    padding-bottom:env(safe-area-inset-bottom,0);
  }
  .edge.is-ready{transform:none}
  .edge:hover{width:100%}
  .edge__label{writing-mode:horizontal-tb;font-size:1rem}
  .edge__arrow{width:44px}
  body.contact-open .edge:not(.edge--back){transform:translateY(110%)}

  .edge--back{
    position:absolute;top:0;bottom:auto;left:0;right:0;
    width:100%;height:auto;min-height:56px;
    flex-direction:row;transform:none;
    border-right:0;border-bottom:1px solid rgba(255,255,255,.14);
  }
  .edge--back:hover{width:100%}
  .contact__inner{padding-top:calc(56px + 2rem);padding-left:var(--pad)}
}

@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
  .col{animation:none}
  .reveal,.heroFade{opacity:1;transform:none}
  .word,.unzip__a,.unzip__b,.peek{opacity:1;transform:none}
}

/* ============================================================
   YouTube facade (the link the deck points to on the Coming soon slide)
   Loads nothing until it is clicked.
   ============================================================ */
.tube{position:relative;border-radius:1.5rem;overflow:hidden;background:#000;aspect-ratio:16/9}
.tube img,.tube iframe{width:100%;height:100%;border:0;display:block}
.tube__poster{object-fit:cover;transition:transform .7s var(--ease),filter .4s ease}
.tube:hover .tube__poster{transform:scale(1.04);filter:brightness(.86)}
.tube__play{
  position:absolute;inset:0;display:grid;place-items:center;width:100%;height:100%;
}
.tube__play::before{
  content:"";position:absolute;width:clamp(64px,7vw,86px);aspect-ratio:1;border-radius:999px;
  background:var(--accent);box-shadow:0 10px 30px rgba(0,0,0,.35);
  transition:transform .35s var(--ease),background .3s ease;
}
.tube__play svg{
  position:relative;width:clamp(24px,2.6vw,32px);fill:#fff;
  /* The triangle itself is weighted to the right inside its SVG viewbox. */
  margin:0;transform:translateX(-8.333%);
}
.tube:hover .tube__play::before{transform:scale(1.08);background:#fff}
.tube:hover .tube__play svg{fill:var(--ink)}
.tube__play:focus-visible::before{outline:3px solid #fff;outline-offset:4px}

/* The original clip has embedding disabled by its owner, so this opens it on YouTube. */
.tube{display:block;text-decoration:none}
.tube__tag{
  position:absolute;left:1rem;bottom:1rem;
  display:inline-flex;align-items:center;gap:.45rem;
  padding:.48rem .9rem;border-radius:999px;
  background:rgba(255,255,255,.92);color:var(--ink);
  font-size:.63rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase;
  box-shadow:0 8px 22px rgba(0,0,0,.28);
}

/* ============================================================
   Coming soon, laid out the way the deck places it
   ============================================================ */
.adult__head{max-width:46rem;margin-bottom:clamp(2.2rem,5vw,3.2rem)}
.adult__grid{display:grid;gap:clamp(1.2rem,2.6vw,2rem);align-items:start;grid-template-columns:1fr}
@media(min-width:900px){.adult__grid{grid-template-columns:1.62fr 1fr}}

.beatcard{display:grid;gap:1rem}
.beatcard > img,.beatcard .tube{
  border-radius:1.5rem;overflow:hidden;width:100%;
  border:1px solid rgba(38,48,75,.08);
  box-shadow:0 22px 60px rgba(38,48,75,.14);
}
.beatcard > img{aspect-ratio:1/1;object-fit:cover;background:#fff}
.beatcard--wide > img{aspect-ratio:16/9}
.beatcard__cap{
  display:flex;gap:.85rem;align-items:baseline;
  font-size:clamp(1rem,1.9vw,1.22rem);line-height:1.45;font-weight:500;
  color:color-mix(in srgb,var(--ink) 74%,transparent);
}
.beatcard__cap--hot{color:var(--accent);font-weight:600}
.beatcard__no{
  font-family:var(--font-cartoon);font-size:.85rem;
  color:color-mix(in srgb,var(--ink) 32%,transparent);
}
.beatcard__cap--hot .beatcard__no{color:var(--accent);opacity:.55}

/* link-shaped play control */
.tube__play{background:transparent;padding:0;cursor:pointer}
.box__yt{width:100%;aspect-ratio:16/9;background:#000}
.box__yt iframe{width:100%;height:100%;border:0;display:block}
.box__note{
  padding:.9rem 1.1rem;background:#0F1420;color:rgba(255,255,255,.7);
  font-size:.82rem;line-height:1.5;text-align:center;
}
.box__note a{color:var(--cubcoats-cheer);font-weight:600}

.beatcard__link{
  color:var(--accent);font-weight:600;text-decoration:none;
  border-bottom:1.5px solid rgba(244,116,101,.4);transition:border-color .25s ease;
  white-space:nowrap;
}
.beatcard__link:hover{border-color:var(--accent)}


/* Coming soon holds one line */
.h2--oneline{text-wrap:nowrap;font-size:clamp(1.5rem,4.1vw,3.6rem)}
@media(max-width:560px){.h2--oneline{text-wrap:balance;font-size:clamp(1.6rem,7vw,2.4rem)}}


/* ============================================================
   Hero: THE MAGIC, the loop, then IS BACK underneath
   ============================================================ */
.hero__title--low{margin-top:clamp(1rem,2.5vh,2rem)}
.peek{
  position:relative;z-index:4;
  margin:clamp(1rem,2.6vh,2rem) auto 0;
  display:inline-flex;align-items:center;gap:.9rem;
}

/* Unzip: about a third smaller, and "your" rides above "imagination" */
.unzip__a,.unzip__b{font-size:clamp(1.7rem,5.8vw,5rem)}
.unzip__b{display:grid;justify-items:end;line-height:.92}
.unzip__b em{font-style:normal;display:block;font-size:.62em}

/* Adult Cubcoats: equal horizontal cards, with a lightweight looping teaser.
   The full 1080p film is requested only after pressing play. */
@media(min-width:900px){.adult__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.adult-media{
  position:relative;aspect-ratio:16/9;overflow:hidden;border-radius:1.5rem;background:#1A2031;
  border:1px solid rgba(80,87,106,.1);box-shadow:0 22px 60px rgba(80,87,106,.16);
}
.adult-media__preview{width:100%;height:100%;object-fit:cover;transition:transform .7s var(--ease),filter .4s ease}
.adult-media:hover .adult-media__preview,.adult-media:focus-within .adult-media__preview{transform:scale(1.035);filter:brightness(.84)}
.adult-media__trigger{position:absolute;inset:0;display:grid;place-items:center;padding:0;cursor:pointer}
.adult-media__play{
  display:grid;place-items:center;width:clamp(62px,6vw,78px);aspect-ratio:1;border-radius:999px;
  background:var(--crystal-caves);color:var(--ink);box-shadow:0 10px 28px rgba(18,29,55,.34);
  transition:transform .3s var(--ease),background .25s ease;
}
.adult-media__play svg{width:clamp(24px,2.4vw,30px);fill:currentColor;transform:translateX(8%)}
.adult-media__trigger:hover .adult-media__play,.adult-media__trigger:focus-visible .adult-media__play{transform:scale(1.08);background:#fff}
.adult-media__trigger:focus-visible{outline:3px solid #fff;outline-offset:-8px}
.adult-media__tag{
  position:absolute;left:1rem;bottom:1rem;padding:.48rem .86rem;border-radius:999px;
  background:rgba(255,255,255,.92);color:var(--ink);font-size:.63rem;font-weight:600;
  letter-spacing:.15em;text-transform:uppercase;box-shadow:0 8px 22px rgba(20,40,70,.2);
}

/* A hint of the next Cub is intentionally visible on phone-sized rails. */
@media(max-width:560px){.railwrap{--per:1.16}}
