/* player.css: the AyP Sound film player (the hero's tilted glass slab, which is also the carousel of our films).
   Uses only the :root tokens declared in site.css (never redeclared here; var() fallbacks only).
   Nothing in here blurs. Every surface reads without blur. One accent: the light-rose disc
   and the dusty-rose selected flag. */

:where(.hero-stage){perspective:1600px}

/* ---------- the slab: picture, flags and line on one tilted glass plane ---------- */
.slab{
  position:relative;isolation:isolate;
  padding:14px 14px 18px;border-radius:var(--r-slab,26px);
  background:var(--g-sheen),var(--g-fill-slab);
  border:1px solid var(--g-border,rgb(237 218 219 / .18));
  box-shadow:var(--g-rim),var(--g-depth),var(--g-catch);
  transform:rotateX(var(--rx,4deg)) rotateY(var(--ry,-11deg));
  transform-style:flat;transform-origin:40% 50%;will-change:transform;
  -webkit-tap-highlight-color:transparent;
}
/* touch, tablets and narrow windows: faces the viewer, a little tilt back until JS takes over */
@media (pointer:coarse),(pointer:none),(max-width:1023px){
  .slab{transform:rotateX(var(--rx,6deg)) rotateY(var(--ry,0deg))}
}
@media (max-width:699px){ .slab{padding:10px 10px 14px} }
/* the specular sheen follows the pose (player.js writes --sx / --sy); it sits under the content, over the fill */
.slab.glass::after{
  background:
    radial-gradient(70% 58% at var(--sx,30%) var(--sy,-8%), rgb(255 255 255 / .22), rgb(255 255 255 / .06) 42%, rgb(255 255 255 / 0) 70%),
    radial-gradient(55% 45% at calc(100% - var(--sx,30%)) 108%, rgb(var(--rose-lt-rgb,237 218 219) / .10), rgb(var(--rose-lt-rgb,237 218 219) / 0) 70%),
    linear-gradient(calc(var(--holo,210deg) - 120deg), rgb(var(--rose-lt-rgb,237 218 219) / .06), rgb(145 163 180 / .05) 45%, rgb(var(--rose-lt-rgb,237 218 219) / .05));
}
/* the browser cannot blur (player.js adds .no-blur): the lower band gets its own navy so the flags and the line read */
.slab.no-blur{background:var(--g-sheen),var(--g-fill-slab),rgb(12 18 27 / .55)}

/* ---------- the picture ---------- */
.player-frame{
  position:relative;isolation:isolate;overflow:hidden;
  aspect-ratio:16/9;border-radius:var(--r-media,14px);
  background:var(--navy-1,#0A111A);
  box-shadow:0 1px 0 rgb(255 255 255 / .06),0 18px 36px -20px rgb(2 5 9 / .85);
  cursor:pointer;touch-action:manipulation;-webkit-user-select:none;user-select:none;
  -webkit-tap-highlight-color:transparent;container-type:inline-size;
}
.player-frame::after{ /* the 1 px light inner edge, over the picture */
  content:"";position:absolute;inset:0;z-index:3;border-radius:inherit;pointer-events:none;
  box-shadow:inset 0 0 0 1px rgb(255 255 255 / .14);
}
.player-video,.player-freeze{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;background:transparent}
.player-video.is-spare{z-index:-1;pointer-events:none}
.player-freeze{z-index:1;opacity:0;pointer-events:none;transition:opacity .12s linear}
.player-freeze.is-on{opacity:1;transition:none}
/* a faint glass reflection that slides with the tilt (--gx); light only, never a dark overlay */
.player-glare{position:absolute;inset:0;z-index:2;overflow:hidden;border-radius:inherit;pointer-events:none;transition:opacity var(--t-med,.5s) var(--ease,ease)}
.player-glare::before{
  content:"";position:absolute;top:-25%;bottom:-25%;left:-35%;width:70%;
  background:linear-gradient(104deg, rgb(255 255 255 / 0) 16%, rgb(255 255 255 / .10) 44%, rgb(255 255 255 / .03) 58%, rgb(255 255 255 / 0) 76%);
  transform:translateX(calc(var(--gx, 0) * 1%));
}
.is-playing .player-glare{opacity:.3}
.player-spin{
  position:absolute;left:50%;top:50%;z-index:4;width:34px;height:34px;margin:-17px 0 0 -17px;border-radius:50%;
  border:2px solid rgb(var(--rose-lt-rgb,237 218 219) / .22);border-top-color:var(--rose-lt,#EDDADB);
  opacity:0;pointer-events:none;transition:opacity .2s;
}
.player-spin.is-on{opacity:1;animation:ayp-spin .9s linear infinite}
@keyframes ayp-spin{to{transform:rotate(1turn)}}

/* ---------- play with sound: in the lower-left corner, so it never covers a face or a product on any film's poster
   (in the middle it hid the faces, razors, the N°5 label and the car). The control strip only shows once the pill is gone. ---------- */
.play-pill{
  position:absolute;left:14px;bottom:14px;z-index:5;
  display:inline-flex;align-items:center;gap:12px;height:52px;padding:0 20px 0 6px;margin:0;
  border-radius:var(--r-pill,999px);border:1px solid rgb(255 255 255 / .28);
  background:var(--g-sheen),var(--g-fill-onpic);
  box-shadow:var(--g-rim),0 14px 34px -14px rgb(2 5 9 / .75);
  color:var(--text,#EDF2F7);font:500 16px/1 "Space Grotesk","SG Fallback",system-ui,sans-serif;letter-spacing:-.005em;
  white-space:nowrap;cursor:pointer;
  transition:transform var(--t-fast,.25s) var(--ease,ease),border-color var(--t-fast,.25s) var(--ease,ease),box-shadow var(--t-fast,.25s) var(--ease,ease);
}
.play-pill[hidden]{display:none}
/* the play disc is a see-through rose GLASS MARBLE: bright crescent shine on top, glowing rim; pressing shrinks it and the glow grows.
   (Backup look Juan approved, 2026-10-17: the PEARL dome —
   background:radial-gradient(circle at 34% 28%,#fff 0,#FBF1F1 14%,#EDDADB 38%,#D5B1B2 72%,#B98E90 100%);
   box-shadow:inset 0 -3px 6px rgb(120 70 74/.35),inset 0 2px 2px rgb(255 255 255/.8),0 6px 14px -3px rgb(2 5 9/.7),0 2px 3px rgb(2 5 9/.45),0 0 18px -4px rgb(213 177 178/.6);
   pressed: transform:translateY(2px) scale(.96) — swap these in and drop the ::before shine.) */
.pp-disc{
  position:relative;overflow:hidden;
  display:grid;place-items:center;width:40px;height:40px;border-radius:50%;color:#fff;
  background:radial-gradient(circle at 50% 120%, rgb(237 218 219 / .95) 0, rgb(213 177 178 / .75) 40%, rgb(150 105 110 / .55) 75%, rgb(60 40 50 / .5) 100%);
  border:1px solid rgb(255 255 255 / .45);
  box-shadow:inset 0 0 10px rgb(255 255 255 / .25),0 8px 18px -6px rgb(2 5 9 / .8),0 0 22px -2px rgb(213 177 178 / .7);
  transition:transform .14s ease,box-shadow .14s ease;
}
.pp-disc::before{content:"";position:absolute;left:14%;right:14%;top:5%;height:42%;border-radius:50%;
  background:linear-gradient(rgb(255 255 255 / .85),rgb(255 255 255 / 0));pointer-events:none}
.pp-disc svg{position:relative;width:18px;height:18px;margin-left:2px;filter:drop-shadow(0 1px 2px rgb(60 30 40 / .6))}
.play-pill:active .pp-disc{transform:scale(.92);
  box-shadow:inset 0 0 14px rgb(255 255 255 / .35),0 3px 8px -4px rgb(2 5 9 / .8),0 0 30px 0 rgb(213 177 178 / .9)}
@media (hover:hover) and (pointer:fine){
  .play-pill:hover{transform:translateY(-1px);border-color:rgb(255 255 255 / .42);box-shadow:var(--g-rim),0 18px 40px -14px rgb(2 5 9 / .8),var(--g-catch)}
  .play-pill:hover .pp-disc{transform:scale(1.05)}
}
.play-pill:active{transform:scale(.98)}
@media (max-width:699px){ .play-pill{left:10px;bottom:10px;height:44px;padding:0 14px 0 4px;gap:8px;font-size:15px} .pp-disc{width:36px;height:36px} }

/* ---------- the control strip (after the first play) ---------- */
.controls{
  position:absolute;left:10px;right:10px;bottom:10px;z-index:5;
  display:none;align-items:center;gap:2px;padding:3px 6px 3px 3px;
  border-radius:var(--r-pill,999px);border:1px solid rgb(255 255 255 / .16);
  background:var(--g-sheen),var(--g-fill-onpic);
  box-shadow:var(--g-rim),0 10px 26px -12px rgb(2 5 9 / .75);
  opacity:0;transform:translateY(6px);pointer-events:none;
  transition:opacity .3s var(--ease,ease),transform .3s var(--ease,ease);
}
.is-started .controls{display:flex}
.ui-on .controls{opacity:1;transform:none;pointer-events:auto}
.ctl{
  flex:none;display:grid;place-items:center;width:40px;height:40px;padding:0;margin:0;border:0;border-radius:50%;
  background:transparent;color:var(--text,#EDF2F7);cursor:pointer;transition:background-color var(--t-fast,.25s);
}
.ctl svg{width:20px;height:20px}
/* icons are never the target of a press: the button is (the mute icon is swapped inside its own click) */
.ctl svg,.pp-disc svg,.car-arrow svg{pointer-events:none}
@media (hover:hover) and (pointer:fine){ .ctl:hover{background:rgb(255 255 255 / .10)} }
.ctl-time{flex:none;padding:0 6px 0 2px;color:var(--text-2,#C9D3DD);font:500 15px/1 "Space Grotesk","SG Fallback",system-ui,sans-serif;font-variant-numeric:tabular-nums;white-space:nowrap}
.ctl-scrub{
  --p:0%;flex:1 1 auto;min-width:0;height:40px;margin:0 8px;padding:0;
  -webkit-appearance:none;appearance:none;background:transparent;cursor:pointer;
}
.ctl-scrub::-webkit-slider-runnable-track{height:4px;border-radius:2px;background:linear-gradient(90deg,var(--rose-lt,#EDDADB) 0 var(--p),var(--grey-2,#5F7484) var(--p) 100%)}
.ctl-scrub::-webkit-slider-thumb{
  -webkit-appearance:none;appearance:none;width:14px;height:14px;margin-top:-5px;border:0;border-radius:50%;
  background:var(--rose-lt,#EDDADB);box-shadow:0 0 0 3px rgb(var(--rose-rgb,213 177 178) / .22),0 2px 6px rgb(0 0 0 / .45);
}
.ctl-scrub::-moz-range-track{height:4px;border-radius:2px;background:var(--grey-2,#5F7484)}
.ctl-scrub::-moz-range-progress{height:4px;border-radius:2px;background:var(--rose-lt,#EDDADB)}
.ctl-scrub::-moz-range-thumb{width:14px;height:14px;border:0;border-radius:50%;background:var(--rose-lt,#EDDADB)}
@container (max-width:400px){ .controls{gap:0;left:8px;right:8px;bottom:8px;padding:2px 3px 2px 2px} .ctl-scrub{margin:0 7px} .ctl-time{padding:0 2px 0 0} }
@container (max-width:300px){ .ctl-time{display:none} }

/* ---------- the flags: glass chips on the same plane; no edge fade, no sideways scroll ---------- */
.flags{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin:14px 0 0;padding:0 8px}
.chip{
  position:relative;display:inline-flex;align-items:center;justify-content:center;gap:8px;
  height:44px;min-width:44px;padding:0 10px;margin:0;
  border-radius:var(--r-chip,12px);border:1px solid rgb(var(--rose-lt-rgb,237 218 219) / .18);
  background:var(--g-sheen),var(--g-fill-nest);
  box-shadow:inset 0 1px 0 rgb(255 255 255 / .18),0 6px 14px -10px rgb(2 5 9 / .7);
  color:var(--text,#EDF2F7);font:500 15px/1 "Space Grotesk","SG Fallback",system-ui,sans-serif;letter-spacing:-.005em;
  cursor:pointer;-webkit-tap-highlight-color:transparent;
  transition:background-color var(--t-fast,.25s) var(--ease,ease),border-color var(--t-fast,.25s) var(--ease,ease),box-shadow var(--t-fast,.25s) var(--ease,ease),transform var(--t-fast,.25s) var(--ease,ease);
}
.chip img{display:block;flex:none;width:24px;height:16px;border-radius:3px;box-shadow:0 0 0 1px rgb(255 255 255 / .24);opacity:.88;transition:opacity var(--t-fast,.25s)}
.chip-name{display:none;white-space:nowrap}
@media (min-width:600px){ .chip[aria-pressed="true"] .chip-name{display:inline} }
@media (hover:hover) and (pointer:fine){
  .chip:hover{background:var(--g-sheen),var(--g-fill-hi);border-color:var(--g-border-hi,rgb(237 218 219 / .34));transform:translateY(-1px)}
  .chip:hover img{opacity:1}
}
.chip:active{transform:scale(.98)}
.chip[aria-pressed="true"]{
  background:var(--g-sheen),var(--g-sel-fill);border-color:var(--g-sel-border);
  box-shadow:var(--g-rim),var(--g-sel-glow);color:var(--g-sel-text,#F8EEEE);
}
.chip[aria-pressed="true"] img{opacity:1}
.chip[aria-disabled="true"]{opacity:.4;cursor:default}
@media (max-width:699px){ .flags{gap:4px;padding:0 4px} .chip{min-width:40px;padding:0 8px} }
/* phones: every film's flags stay on ONE row (up to 7 languages at 320 px), so the row height never changes between films
   and the carousel arrows under it never move under a finger. The chips give up side padding instead of wrapping.
   --n = the number of languages (player.js); 26 px = the flag + the chip's border */
@supports (width:1cqi){
  @media (max-width:699px){
    .flags{flex-wrap:nowrap;container-type:inline-size}
    .chip{flex:0 1 auto;min-width:0;padding:0 clamp(3px, calc((100cqi - var(--n,7) * 26px - (var(--n,7) - 1) * 4px) / (2 * var(--n,7))), 8px)}
  }
}

.player-line{margin:12px 0 0;padding:0 8px;text-align:center;text-wrap:balance;color:var(--text-2,#C9D3DD);font:400 15px/1.35 "Space Grotesk","SG Fallback",system-ui,sans-serif}
/* the line and the lit flag's name keep a soft navy halo, so they read where a bright strand passes behind the glass */
.player-line,.chip-name{text-shadow:0 0 14px rgb(7 11 16 / .8),0 0 3px rgb(7 11 16 / .7)}

.play-pill:focus-visible,.ctl:focus-visible,.ctl-scrub:focus-visible,.chip:focus-visible,.car-arrow:focus-visible{outline:2px solid var(--rose-lt,#EDDADB);outline-offset:3px}
.car-dot:focus-visible{outline:2px solid var(--rose-lt,#EDDADB);outline-offset:-2px;border-radius:8px}
.play-pill:focus:not(:focus-visible),.ctl:focus:not(:focus-visible),.ctl-scrub:focus:not(:focus-visible),.chip:focus:not(:focus-visible),.car-arrow:focus:not(:focus-visible),.car-dot:focus:not(:focus-visible){outline:none}
/* on the picture the light ring gets a dark halo under it, so it stays visible over a bright frame */
.play-pill:focus-visible{box-shadow:var(--g-rim),0 14px 34px -14px rgb(2 5 9 / .75),0 0 0 5px rgb(7 11 16 / .7)}
.ctl:focus-visible{box-shadow:0 0 0 5px rgb(7 11 16 / .7)}
/* the flags and the carousel deck are added after load: keep their rows free from the first paint, so nothing jumps
   (flags 14 + 44 + line gap 12 = 70; deck 12 + 44 = 56) */
html.js #hero-player:not(.is-ready) .player-line{margin-top:70px;margin-bottom:56px}
/* touch: every control at least 44 px */
@media (pointer:coarse){ .ctl{width:44px;height:44px} .ctl-scrub{height:44px} }

.player-live{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}

/* ---------- the carousel: previous / next on the glass, the film's name over one dot per film ---------- */
.car-deck{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:8px;margin:12px 0 0;padding:0 4px}
.car-arrow{
  display:grid;place-items:center;width:44px;height:44px;padding:0;margin:0;border-radius:50%;
  border:1px solid rgb(var(--rose-lt-rgb,237 218 219) / .18);
  background:var(--g-sheen),var(--g-fill-nest);
  box-shadow:inset 0 1px 0 rgb(255 255 255 / .18),0 6px 14px -10px rgb(2 5 9 / .7);
  color:var(--text,#EDF2F7);cursor:pointer;-webkit-tap-highlight-color:transparent;
  transition:background-color var(--t-fast,.25s) var(--ease,ease),border-color var(--t-fast,.25s) var(--ease,ease),transform var(--t-fast,.25s) var(--ease,ease);
}
.car-arrow svg{width:20px;height:20px}
@media (hover:hover) and (pointer:fine){
  .car-arrow:hover{background:var(--g-sheen),var(--g-fill-hi);border-color:var(--g-border-hi,rgb(237 218 219 / .34));transform:translateY(-1px)}
}
.car-arrow:active{transform:scale(.96)}
.car-mid{display:flex;flex-direction:column;align-items:center;gap:2px;min-width:0}
.car-name{
  max-width:100%;margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:center;
  color:var(--text-2,#C9D3DD);font:500 14px/1.25 "Space Grotesk","SG Fallback",system-ui,sans-serif;letter-spacing:-.005em;
  text-shadow:0 0 14px rgb(7 11 16 / .8),0 0 3px rgb(7 11 16 / .7);
}
.car-via{margin-left:.2em;color:var(--grey,#91A3B4);font-weight:400}
.car-via:empty{display:none}
@media (max-width:419px){ .car-via{display:none} }
/* the smallest phones: a touch tighter, so "Wilkinson Sword · Waiter" is never cut to "· Wai…" (the deck keeps its height) */
@media (max-width:359px){ .car-deck{gap:4px;padding:0} .car-name{font-size:13px;letter-spacing:-.01em} }
.car-dots{display:flex;align-items:center;justify-content:center}
.car-dot{
  position:relative;display:grid;place-items:center;width:20px;height:26px;padding:0;margin:0;border:0;
  background:none;cursor:pointer;-webkit-tap-highlight-color:transparent;
  transition:width .4s var(--ease,ease);
}
.car-dot i{
  position:relative;display:block;width:6px;height:6px;border-radius:3px;overflow:hidden;
  background:rgb(var(--rose-lt-rgb,237 218 219) / .34);box-shadow:0 0 0 1px rgb(7 11 16 / .25);
  transition:width .4s var(--ease,ease),background-color var(--t-fast,.25s);
}
@media (hover:hover) and (pointer:fine){ .car-dot:hover i{background:rgb(var(--rose-lt-rgb,237 218 219) / .62)} }
/* the lit dot: a short rose bar that fills with the film's progress while it plays (player.js writes --car-p) */
.car-dot[aria-current="true"]{width:36px}
.car-dot[aria-current="true"] i{width:24px;background:rgb(var(--rose-rgb,213 177 178) / .32)}
.car-dot[aria-current="true"] i::after{
  content:"";position:absolute;inset:0;border-radius:inherit;background:var(--rose,#D5B1B2);
  transform-origin:0 50%;transform:scaleX(var(--car-p,1));transition:transform .3s linear;
}
@media (pointer:coarse){ .car-dot{height:30px} .car-mid{gap:0} }
/* swipe on the picture moves between films; the page still scrolls up and down */
.slab[aria-roledescription="carousel"] .player-frame{touch-action:pan-y pinch-zoom}
/* the still of the film you just left, fading off over the next one's poster */
.car-veil{
  position:absolute;inset:0;z-index:1;display:block;width:100%;height:100%;object-fit:cover;pointer-events:none;
  opacity:1;transition:opacity .55s var(--ease,ease),transform .55s var(--ease,ease);
}
.car-veil.is-out{opacity:0;transform:translateX(calc(var(--dir,1) * -3%))}
.is-fs .car-veil{object-fit:contain}
.is-fs .car-deck{flex:none;width:min(100%,520px);margin-inline:auto}

/* ---------- full screen: flat, the picture letterboxed, the flags under it ---------- */
.slab:fullscreen{
  transform:none!important;display:flex;flex-direction:column;justify-content:center;
  width:100%;height:100%;max-width:none;margin:0;padding:16px 16px 20px;border:0;border-radius:0;
  background:var(--navy-0,#070B10);box-shadow:none;
}
.slab:-webkit-full-screen{
  transform:none!important;display:flex;flex-direction:column;justify-content:center;
  width:100%;height:100%;max-width:none;margin:0;padding:16px 16px 20px;border:0;border-radius:0;
  background:var(--navy-0,#070B10);box-shadow:none;
}
.slab.is-fs::before,.slab.is-fs::after{display:none}
.is-fs .player-frame{flex:1 1 auto;min-height:0;width:100%;aspect-ratio:auto;border-radius:10px;background:#000}
.is-fs .player-video,.is-fs .player-freeze{object-fit:contain}
.is-fs .player-glare,.is-fs .player-line{display:none}
.is-fs .flags{justify-content:center;flex:none}

/* ---------- reduced motion: one fixed pose, no easing ---------- */
@media (prefers-reduced-motion:reduce){
  .slab{transform:rotateX(3deg) rotateY(-6deg);will-change:auto}
  .player-freeze,.controls,.chip,.play-pill,.pp-disc,.player-glare,.car-arrow,.car-dot,.car-dot i,.car-dot i::after{transition:none}
  .car-veil{transition:opacity .2s linear}
  .car-veil.is-out{transform:none}
  .player-spin.is-on{animation-duration:2.4s}
}
@media (prefers-reduced-motion:reduce) and (pointer:coarse),(prefers-reduced-motion:reduce) and (max-width:1023px){
  .slab{transform:none}
}

/* ---------- landscape phones and other short screens: the whole slab (picture, one row of flags, the line) fits one screen ---------- */
@media (max-height:560px){
  .slab{padding:10px}
  .flags{gap:4px;padding:0;margin-top:10px}
  .chip{min-width:40px;padding:0 6px}
  .chip[aria-pressed="true"] .chip-name{display:none}
  .player-line{margin-top:8px}
  .car-deck{margin-top:8px}
  html.js #hero-player:not(.is-ready) .player-line{margin-top:62px;margin-bottom:52px}
  /* the carousel deck adds 52 px to the slab (site.css sizes the stage for picture + flags + line: 147 px) */
  .hero-stage{width:min(100%, calc((100svh - 199px) * 16 / 9 + 20px))}
}

/* =====================================================================================================================
   Touch screens: the films as 3D cards you swipe (SiteWork/carousel3d/SPEC.md). player.js adds .is-cf to the slab (and
   .has-cf to its stage) only where (hover:none) and (pointer:coarse) matches, so a computer with a mouse or a trackpad
   never sees any of this. The film in front is the real player; the films before and after it are poster cards that
   peek in from both screen edges, turned away. The row has the perspective; every card is a flat element with its own
   transform (no preserve-3d, no filter or blur on anything that moves). The cards never overlap.
   ===================================================================================================================== */
.slab.is-cf{
  --cf-w:min(80vw, 600px);--cf-r:16px; /* the front card: 80 % of the screen (314 px on a 393 px phone, 256 px at 320) */
  padding:0;border:0;border-radius:0;background:none;box-shadow:none;transform:none;will-change:auto;
  -webkit-backdrop-filter:none;backdrop-filter:none;
}
.slab.is-cf::before,.slab.is-cf::after{content:none}
@media (min-width:700px){ .slab.is-cf{--cf-r:20px} }
/* two columns (a sideways tablet): the card is 80 % of its column */
@media (min-width:1024px){ .slab.is-cf{--cf-w:min(80%, 600px)} }
/* one column: the stage takes the full width, so the row can run to both screen edges */
@media (max-width:1023px){ .hero-stage.has-cf{max-width:none} }

/* the row: full bleed to the screen edges on one column (the hero's overflow-x:clip cuts the cards at the edge) */
.cf-row{
  position:relative;z-index:2;perspective:var(--cf-p,880px);perspective-origin:50% 50%;
  margin-inline:calc(-1 * var(--pad-l,16px)) calc(-1 * var(--pad-r,16px));padding:6px 0 0;
  touch-action:pan-y pinch-zoom;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;
}
/* two columns: the row stays inside its column and fades out softly at both sides */
@media (min-width:1024px){
  .cf-row{margin-inline:0;overflow-x:clip;
    -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 7%,#000 93%,transparent 100%);
            mask-image:linear-gradient(90deg,transparent 0,#000 7%,#000 93%,transparent 100%)}
}

/* every card (the front one is the real player frame): 16:9, centred */
.is-cf .player-frame,.cf-card{
  width:var(--cf-w);aspect-ratio:16/9;border-radius:var(--cf-r);
  transform-origin:50% 50%;-webkit-backface-visibility:hidden;backface-visibility:hidden;
}
.is-cf .player-frame{
  margin-inline:auto;
  box-shadow:0 1px 0 rgb(255 255 255 / .07),0 26px 44px -22px rgb(2 5 9 / .95),0 38px 70px -38px rgb(var(--rose-rgb,213 177 178) / .42);
}
/* the front card's light rim, rose and silver: still (never repainted while the card moves), no blur */
.is-cf .player-frame::before{
  content:"";position:absolute;inset:0;z-index:7;border-radius:inherit;padding:1px;pointer-events:none;
  background:conic-gradient(from 210deg,rgb(var(--rose-lt-rgb,237 218 219) / .62),rgb(145 163 180 / .22),
             rgb(255 255 255 / .55),rgb(var(--rose-rgb,213 177 178) / .45),rgb(145 163 180 / .18),rgb(var(--rose-lt-rgb,237 218 219) / .62));
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;
          mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0);
}
.cf-card{
  position:absolute;top:6px;left:calc(50% - var(--cf-w) / 2);
  overflow:hidden;isolation:isolate;background:var(--navy-1,#0A111A);
  box-shadow:inset 0 0 0 1px rgb(255 255 255 / .10),0 22px 34px -20px rgb(2 5 9 / .95);
  cursor:pointer;will-change:transform;
}
.cf-card img,.cf-still{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;pointer-events:none;-webkit-user-drag:none;user-select:none}
.cf-card img{opacity:0;transition:opacity .45s var(--ease,ease)}
.cf-card img.is-in{opacity:1}
.cf-card img.is-now{transition:none}
/* the film you just left, as it looked; its poster takes over a moment later */
.cf-still{z-index:1;transition:opacity .45s var(--ease,ease)}
.cf-still.is-off{opacity:0}
.cf-card::after{ /* the 1 px light edge, over the picture */
  content:"";position:absolute;inset:0;z-index:3;border-radius:inherit;pointer-events:none;
  box-shadow:inset 0 0 0 1px rgb(255 255 255 / .12);
}
/* a soft, still band of light on the side cards */
.cf-sheen{
  position:absolute;inset:-20% -40%;z-index:2;pointer-events:none;
  background:linear-gradient(104deg,rgb(255 255 255 / 0) 30%,rgb(255 255 255 / .08) 47%,rgb(255 255 255 / .02) 56%,rgb(255 255 255 / 0) 70%);
}
/* the shade: dims a card as it turns away; lighter on the edge that faces the front, darker on the far edge */
.cf-shade{
  --s:1;position:absolute;inset:0;z-index:6;border-radius:inherit;pointer-events:none;opacity:0;will-change:opacity;
  background:linear-gradient(calc(var(--s) * 90deg),
    rgb(var(--rose-lt-rgb,237 218 219) / .10) 0,rgb(7 11 16 / .30) 9%,rgb(7 11 16 / .62) 55%,rgb(7 11 16 / .80) 100%);
}
/* SPEC 13: a playing film in a turned card keeps its rounded corners on a real iPhone too. The clip sits on the picture
   layers themselves, never on the frame (that would cut the card's own shadow and rose glow). Full screen is flat and
   has its own corners */
.is-cf .player-frame > video,.is-cf .player-frame > .car-veil,.is-cf .player-frame > .player-freeze,
.is-cf .player-frame > .player-glare,.cf-still{clip-path:inset(0 round var(--cf-r))}
.is-cf.is-fs .player-frame > video,.is-cf.is-fs .player-frame > .car-veil,.is-cf.is-fs .player-frame > .player-freeze,
.is-cf.is-fs .player-frame > .player-glare{clip-path:none}
/* the control strip steps aside while a finger swipes */
.is-cf.is-dragging .controls{opacity:0!important;pointer-events:none!important;transition:none}
/* the veil is the incoming film's poster: no slide, a short fade */
.is-cf .car-veil{transition:opacity .2s linear}
.is-cf .car-veil.is-out{transform:none}

/* ---------- the console: the glass base under the front card (flags, line, name, dots, hint). It never moves in 3D, so
   the glass blur (site.css .glass) still works on iPhone; the navy in the fill makes it read without blur too ---------- */
.cf-console{
  position:relative;z-index:1;
  width:calc(var(--cf-w) - 24px);margin:-30px auto 0;padding:44px 8px 14px; /* 12 px narrower than the card on each side */
  /* no glass panel any more (Juan, 2026-10-17): the flags, the line, the dots and the hint sit straight on the moving
     background. The spacing stays the same, so nothing jumps when the deck mounts */
  background:none;border:0;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;
}
.cf-console::before,.cf-console::after{content:none}
/* without the panel the line and the name keep a soft navy halo, so they read where a bright strand passes behind */
.cf-console .player-line{text-shadow:0 0 12px rgb(7 11 16 / .85),0 0 3px rgb(7 11 16 / .7)}
.cf-console.holo::before{opacity:.75}
.cf-console .flags{margin:0}
/* every film's flags stay on ONE row on the console at every width: it is narrower than today's slab (312 px on a sideways
   iPhone, ~425 px on a sideways iPad), and Honda's 7 must not wrap there and make the player grow. As on phones today, the
   chips give up side padding instead of wrapping (today's gap and largest padding per screen: 6 / 10 px; phones 4 / 8;
   short screens 4 / 6 with a 40 px chip where it fits). The lit flag's name shows only where the whole row fits with it
   (upright tablets) */
@supports (width:1cqi){
  .is-cf .cf-console .flags{flex-wrap:nowrap;container-type:inline-size}
  .is-cf .cf-console .chip{flex:0 1 auto;min-width:0;padding:0 clamp(3px, calc((100cqi - var(--n,7) * 26px - (var(--n,7) - 1) * 6px) / (2 * var(--n,7))), 10px)}
  @media (max-width:699px){
    .is-cf .cf-console .chip{padding:0 clamp(3px, calc((100cqi - var(--n,7) * 26px - (var(--n,7) - 1) * 4px) / (2 * var(--n,7))), 8px)}
  }
  @media (max-height:560px){
    .is-cf .cf-console .chip{min-width:min(40px, calc((100cqi - (var(--n,7) - 1) * 4px) / var(--n,7)));
      padding:0 clamp(3px, calc((100cqi - var(--n,7) * 26px - (var(--n,7) - 1) * 4px) / (2 * var(--n,7))), 6px)}
  }
  @container (max-width:479.98px){ .is-cf .cf-console .chip-name{display:none} }
}
.cf-console .player-line{margin:12px 0 0;padding:0 6px}
.car-deck.is-cf-deck{display:block;margin:10px 0 0;padding:0}
.is-cf-deck .car-mid{gap:0}
/* the name keeps only its close halo on the console: the soft 14 px one was cut by the name's own box into a faint dark
   rectangle, and the console's navy already gives the contrast */
.is-cf-deck .car-name{max-width:100%;text-shadow:0 0 3px rgb(7 11 16 / .7)}
/* previous / next: for screen readers and keyboards only. On keyboard focus they show as round glass arrows at both
   ends of the hint row, and the hint steps aside */
.is-cf-deck .car-arrow{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}
.is-cf-deck .car-arrow:focus-visible{width:44px;height:44px;margin:0;overflow:visible;clip:auto;clip-path:none;bottom:2px;z-index:2;
  border:1px solid rgb(var(--rose-lt-rgb,237 218 219) / .18)}
.is-cf-deck .car-prev:focus-visible{left:2px}
.is-cf-deck .car-next:focus-visible{right:2px}
.cf-console:has(.car-arrow:focus-visible) .cf-hint{visibility:hidden}

/* the hint: Juan's words, small and calm, at the bottom of the player. Not a control */
.cf-hint{
  display:flex;align-items:center;justify-content:center;gap:10px;margin:4px 0 0;padding:0;
  color:var(--grey,#91A3B4);font:500 12.5px/1 "Space Grotesk","SG Fallback",system-ui,sans-serif;letter-spacing:.015em;white-space:nowrap;
  text-shadow:0 0 10px rgb(7 11 16 / .8);pointer-events:none;transition:opacity .6s var(--ease,ease);
}
.cf-hint span{display:inline-flex;align-items:center;gap:5px}
.cf-hint svg{display:block;width:11px;height:11px;flex:none;color:var(--rose-lt,#EDDADB);opacity:.75}
.cf-hint i{display:block;flex:none;width:3px;height:3px;border-radius:50%;background:var(--grey-2,#5F7484)}
.cf-hint .cf-hl,.cf-hint .cf-hr{transition:transform .5s var(--ease,ease)}
.cf-hint.is-nudge .cf-hl{transform:translateX(-3px)}
.cf-hint.is-nudge .cf-hr{transform:translateX(3px)}
.cf-hint.is-quiet{opacity:.55}
@media (max-width:359px){
  .cf-console{padding-inline:6px}
  .cf-console .player-line{font-size:13.5px;letter-spacing:-.005em;padding:0}
}

/* landscape phones and other short screens: the whole player fits one screen, 8 px to spare (204 px = the row's 6 + the
   console's 188.5 below the card's tuck + 8; e.g. 852x393: a 336x189 card, a 383 px player) */
@media (max-height:560px){
  .slab.is-cf{--cf-w:min(calc((100svh - 204px) * 16 / 9), 64vw)}
  .cf-console{padding-top:40px}
  .cf-console .player-line{margin-top:8px}
  .car-deck.is-cf-deck{margin-top:6px}
}
/* the smallest phones held sideways (568x320, a 164 px line): the hint closes up a little, so the whole line, chevrons
   and the separator dot included, stays on the glass */
@media (max-height:340px){
  .cf-hint{gap:4px;letter-spacing:0;font-size:12px}
  .cf-hint span{gap:3px}
}

/* ---------- full screen: no side cards, no hint, the picture flat and letterboxed, the flags under it as today ---------- */
.slab.is-cf.is-fs{padding:16px 16px 20px;background:var(--navy-0,#070B10)}
.is-cf.is-fs .cf-card,.is-cf.is-fs .cf-hint{display:none}
.is-cf.is-fs .cf-row{display:flex;flex-direction:column;flex:1 1 auto;min-height:0;perspective:none;margin:0;padding:0}
.slab.is-cf.is-fs .player-frame{transform:none!important;flex:1 1 auto;min-height:0;width:100%;aspect-ratio:auto;margin:0;border-radius:10px}
.is-cf.is-fs .cf-console{flex:none;width:auto;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
.is-cf.is-fs .cf-console::before,.is-cf.is-fs .cf-console::after{display:none}

/* ---------- reduced motion: no turning, no nudge; the hint and the posters change without fading ---------- */
@media (prefers-reduced-motion:reduce){
  .cf-card img,.cf-still,.cf-hint,.cf-hint .cf-hl,.cf-hint .cf-hr{transition:none}
}

/* ---------- before player.js runs on a touch screen: the same front card and the room the console will take, so the
   picture does not move or resize when the deck mounts. Front card 6 px from the top (the row's padding); under it the
   line sits where the console puts it: -30 tuck + 1 border + 44 padding + 44 flags + 12 = 71 px; then the slab's own
   bottom padding keeps the rest: name 10 + 17.5, dots 30, hint 4 + 12.5, padding 14, border 1 = 89 px (a padding, not
   the line's margin, which would fall through the slab's edge). If the player gives up (player.js adds .cf-off: the film
   list did not load), none of this applies and the page's own film keeps today's glass slab ---------- */
@media (hover:none) and (pointer:coarse){
  html.js #hero-player:not(.is-ready):not(.cf-off){
    --cf-w:min(80vw, 600px);--cf-r:16px;
    padding:6px 0 89px;border:0;border-radius:0;background:none;box-shadow:none;transform:none;
    -webkit-backdrop-filter:none;backdrop-filter:none;
  }
  html.js #hero-player:not(.is-ready):not(.cf-off)::before,html.js #hero-player:not(.is-ready):not(.cf-off)::after{content:none}
  html.js #hero-player:not(.is-ready):not(.cf-off) .player-frame{width:var(--cf-w);margin-inline:auto;border-radius:var(--cf-r)}
  html.js #hero-player:not(.is-ready):not(.cf-off) .player-line{width:calc(var(--cf-w) - 42px);margin:71px auto 0;padding:0 6px}
  /* Safari before 16 has no overflow:clip: the cards past the screen edge must still never scroll the page sideways */
  @supports not (overflow:clip){ .hero{overflow:hidden} }
}
@media (hover:none) and (pointer:coarse) and (min-width:700px){ html.js #hero-player:not(.is-ready):not(.cf-off){--cf-r:20px} }
@media (hover:none) and (pointer:coarse) and (min-width:1024px){ html.js #hero-player:not(.is-ready):not(.cf-off){--cf-w:min(80%, 600px)} }
@media (hover:none) and (pointer:coarse) and (max-width:359px){
  html.js #hero-player:not(.is-ready):not(.cf-off){padding-bottom:87.75px}
  html.js #hero-player:not(.is-ready):not(.cf-off) .player-line{width:calc(var(--cf-w) - 38px);padding:0;font-size:13.5px;letter-spacing:-.005em}
}
@media (hover:none) and (pointer:coarse) and (max-height:560px){
  html.js #hero-player:not(.is-ready):not(.cf-off){--cf-w:min(calc((100svh - 204px) * 16 / 9), 64vw);padding-bottom:85px}
  html.js #hero-player:not(.is-ready):not(.cf-off) .player-line{margin-top:63px;margin-bottom:0}
}

/* =====================================================================================================================
   Computers: the jukebox (player.js adds .is-jb next to .is-cf where the pointer is a mouse or a trackpad). The films
   that come next stand stacked behind the front film, up and to the right; the front film slides off to the left.
   The front card sits a little left of centre so the stack has room on the right. --jb-top (written by player.js from
   the card's width) is the room the stack needs above the front card.
   ===================================================================================================================== */
.slab.is-cf.is-jb{--cf-w:76%;--cf-r:18px}
.is-jb .cf-row{padding-top:var(--jb-top,64px);margin-inline:0;overflow-x:clip;cursor:grab;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 3%);mask-image:linear-gradient(90deg,transparent 0,#000 3%)}
.is-jb .player-frame,.is-jb .cf-card{transform-origin:0 50%}
.is-jb.is-dragging .cf-row{cursor:grabbing}
.is-jb .player-frame{margin-left:4%;margin-right:auto}
.is-jb .cf-card{top:var(--jb-top,64px);left:4%}
.is-jb .cf-console{width:auto;margin:-30px 20% 0 4%}
.is-jb .cf-card:hover .cf-sheen{opacity:1.6}
/* the stacked films read as separate cards: a clear rose-silver rim that sits above the dimming, a lit top edge, and a
   dark gap shadow that parts each card from the one in front of it */
.is-jb .cf-card{box-shadow:0 0 0 1px rgb(2 5 9 / .55),-14px 18px 30px -16px rgb(2 5 9 / .9),0 0 28px -10px rgb(var(--rose-rgb,213 177 178) / .28)}
.is-jb .cf-card::after{z-index:7;
  box-shadow:inset 0 0 0 1px rgb(var(--rose-lt-rgb,237 218 219) / .42),inset 0 1px 0 0 rgb(255 255 255 / .38),inset 1px 0 0 0 rgb(255 255 255 / .16)}
.is-jb .player-frame{box-shadow:0 0 0 1px rgb(2 5 9 / .6),0 1px 0 rgb(255 255 255 / .07),-10px 30px 50px -22px rgb(2 5 9 / .95),0 38px 70px -38px rgb(var(--rose-rgb,213 177 178) / .5)}

/* computers (.is-desk): the same carousel as the phone (no stacked cards since 2026-10-17); the mouse drags it */
.is-desk .cf-row{cursor:grab}
.is-desk.is-dragging .cf-row{cursor:grabbing}
