/* 05 · The Chase player: black page, the picture's edges feathered and blurred into the black (rounded, vignetted),
   a thin rounded-rectangle play bar under it with mono labels. */
:root {
  --ink: rgba(244, 240, 234, 0.86);
  --muted: rgba(244, 240, 234, 0.5);
  --line: rgba(244, 240, 234, 0.55);
  --bar-h: 48px;
  --ctl-h: 44px;
  --pad: clamp(12px, 2vw, 32px);
  --font: "Helvetica Neue", Helvetica, Arial, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, "Liberation Mono", monospace;
  --ratio: 1.7472; /* 2516 : 1440 */
}
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
html { -webkit-text-size-adjust: 100%; background: #000; }
body { margin: 0; overflow-x: hidden; overflow-y: auto; background: #000; /* 2026-11-23: scrolls to the gallery below */ color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

/* ---------- top bar ---------- */
.bar { height: var(--bar-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 0 var(--pad); }
.back { justify-self: start; display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: 0.22em; color: var(--muted); white-space: nowrap; transition: color 0.25s ease; }
.back:hover, .back:focus-visible { color: var(--ink); }
.back svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.bar-title { font-size: 12px; letter-spacing: 0.3em; color: var(--muted); white-space: nowrap; }
.bar-title b { margin-left: 0.8em; font-weight: 400; color: var(--ink); letter-spacing: 0.34em; }
.bar-mark { justify-self: end; font-size: 11px; letter-spacing: 0.22em; color: var(--muted); white-space: nowrap; }

/* ---------- stage: the picture as large as the window allows, with the play bar under it ---------- */
.stage {
  height: calc(100% - var(--bar-h)); display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; padding: 0 var(--pad) var(--pad);
}
.stage:fullscreen { height: 100%; background: #000; padding: var(--pad); }
.screen {
  position: relative; margin: 0; flex: none;
  width: min(100%, calc((100dvh - var(--bar-h) - var(--ctl-h) - 14px - var(--pad)) * var(--ratio)));
  aspect-ratio: 2516 / 1440; border-radius: 4.5% / 7.8%; overflow: hidden; background: #000; cursor: pointer;
  /* the outer boundary is feathered too, so the frame has no hard line */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 2.2%, #000 97.8%, transparent 100%), linear-gradient(180deg, transparent 0, #000 3.6%, #000 96.4%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 2.2%, #000 97.8%, transparent 100%), linear-gradient(180deg, transparent 0, #000 3.6%, #000 96.4%, transparent 100%);
  mask-composite: intersect;
}
.stage:fullscreen .screen { width: min(100%, calc((100dvh - var(--ctl-h) - 14px - 2 * var(--pad)) * var(--ratio))); }
.film {
  display: block; width: 100%; height: 100%; object-fit: cover; background: #000;
  /* feathered edges: the picture fades into the black on all four sides */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%), linear-gradient(180deg, transparent 0, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%), linear-gradient(180deg, transparent 0, #000 10%, #000 90%, transparent 100%);
  mask-composite: intersect;
}
/* blurred edges: a small, blurred copy of the current frame (canvas) lies under the feathered picture, so the edges
   melt into a soft blur and then into the black (vignette rim on top); the centre stays sharp */
.glow {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
  filter: blur(22px) saturate(1.05); transform: scale(1.04); opacity: 0.9;
}
.film { position: relative; }
/* 2026-11-23: the looping C03 clip behind the opening card, with the same feathered edges as the film */
.intro-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%), linear-gradient(180deg, transparent 0, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%), linear-gradient(180deg, transparent 0, #000 10%, #000 90%, transparent 100%);
  mask-composite: intersect;
  opacity: 0; transition: opacity 0.7s ease;
}
.is-intro .intro-bg { opacity: 1; }
.screen-edge {
  position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  box-shadow: inset 0 0 4.5vw 1.4vw rgba(0, 0, 0, 0.95);
  background: radial-gradient(ellipse 72% 70% at 50% 50%, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.6) 100%);
}
.big-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  padding: 10px 18px; font-family: var(--mono); font-size: 13px; letter-spacing: 0.14em; color: rgba(244, 240, 234, 0.82);
  transition: opacity 0.35s ease;
}
.is-playing .big-play, .is-intro .big-play { opacity: 0; pointer-events: none; }

/* ---------- opening card over the picture (H05 type: gold lettering, ivory wide caps, Times-style italic) ---------- */
.screen { container-type: inline-size; }
.intro {
  position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 6cqw 8cqw; text-align: center; color: #fbf8ee; cursor: default;
  background: radial-gradient(ellipse 70% 68% at 50% 50%, rgba(14, 8, 5, 0.66) 0%, rgba(10, 6, 4, 0.78) 62%, rgba(0, 0, 0, 0.9) 100%);
  opacity: 0; visibility: hidden; transition: opacity 0.7s ease, visibility 0s 0.7s;
}
.is-intro .intro { opacity: 1; visibility: visible; transition: opacity 0.7s ease; }
.intro-kicker {
  font-family: "Archivo", var(--font); font-stretch: 125%; font-weight: 500; font-size: max(9px, 1.02cqw);
  letter-spacing: 0.32em; padding-left: 0.32em; color: #fbf8ee;
}
.intro-title { margin: 2.2cqw 0 0; line-height: 0; }
.intro-title img { width: 46cqw; height: auto; filter: drop-shadow(0 0.25cqw 0.6cqw rgba(0, 0, 0, 0.55)); }
.intro-genre {
  margin-top: 2cqw; font-family: "Archivo", var(--font); font-stretch: 125%; font-weight: 600; font-size: max(9px, 0.98cqw);
  letter-spacing: 0.36em; padding-left: 0.36em; color: #fbf8ee;
}
/* 2026-11-23: spacing re-set after the tagline and the note were removed */
.intro-watch {
  margin-top: 3.6cqw; display: inline-flex; align-items: center; gap: 0.9em;
  padding: 1.05em 2.2em 1em; border: 1px solid #f2a60c; color: #f2a60c; background: rgba(10, 6, 4, 0.35);
  font-family: "Archivo", var(--font); font-stretch: 125%; font-weight: 600; font-size: max(10px, 0.98cqw); letter-spacing: 0.3em;
  transition: background 0.3s ease, color 0.3s ease;
}
.intro-watch svg { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.6; }
.intro-watch:hover, .intro-watch:focus-visible { background: #f2a60c; color: #1a0f08; }
.intro-watch:focus-visible { outline: 1px solid #f2a60c; outline-offset: 4px; }
/* 2026-11-23: secondary CTA and contribution credit, quieter than the title and WATCH THE FILM */
.intro-seq {
  margin-top: 1.6cqw; display: inline-flex; align-items: center; gap: 0.7em; padding: 0.55em 0.2em 0.45em;
  border-bottom: 1px solid rgba(242, 166, 12, 0.45); color: rgba(242, 166, 12, 0.86); background: none;
  font-family: "Archivo", var(--font); font-stretch: 125%; font-weight: 500; font-size: max(9px, 0.82cqw); letter-spacing: 0.26em;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.intro-seq svg { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.5; }
.intro-seq:hover, .intro-seq:focus-visible { color: #f2a60c; border-color: #f2a60c; }
.intro-seq:focus-visible { outline: 1px solid #f2a60c; outline-offset: 4px; }
.intro-credit { margin-top: 2.8cqw; display: grid; gap: 0.6cqw; justify-items: center; }
.credit-kicker {
  font-family: "Archivo", var(--font); font-stretch: 125%; font-weight: 600; font-size: max(8px, 0.72cqw);
  letter-spacing: 0.34em; padding-left: 0.34em; color: rgba(242, 166, 12, 0.8);
}
.credit-role { font-family: "Tinos", Georgia, serif; font-style: italic; font-size: max(12px, 1.3cqw); line-height: 1.25; color: #fbf8ee; }
.credit-desc { font-family: "Tinos", Georgia, serif; font-size: max(10px, 0.95cqw); line-height: 1.4; color: rgba(251, 248, 238, 0.74); }
@container (max-width: 640px) {
  .intro { padding: 4cqw 5cqw; }
  .intro-title img { width: 62cqw; }
  .intro-genre { display: none; }
  .intro-watch { margin-top: 4cqw; }
}

/* ---------- play bar: a thin rounded-rectangle frame with a knob, mono labels ---------- */
.controls {
  width: min(100%, var(--screen-w, 100%)); height: var(--ctl-h); flex: none;
  display: flex; align-items: center; gap: 16px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; color: var(--muted);
}
.ctl { flex: none; padding: 6px 2px; color: var(--muted); transition: color 0.2s ease; }
.ctl:hover, .ctl:focus-visible { color: var(--ink); }
.ctl-play { min-width: 5.2em; text-align: left; }
.ctl-time { flex: none; font-variant-numeric: tabular-nums; white-space: nowrap; }
.track {
  position: relative; flex: 1; height: 20px; border: 1px solid var(--line); border-radius: 999px;
  cursor: pointer; touch-action: none; outline: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
}
.track:focus-visible { border-color: rgba(244, 240, 234, 0.95); box-shadow: 0 0 0 3px rgba(244, 240, 234, 0.12); }
.track-fill {
  position: absolute; left: 3px; top: 3px; bottom: 3px; width: calc((100% - 6px) * var(--p, 0));
  border-radius: 999px; background: rgba(244, 240, 234, 0.1);
}
.track-knob {
  position: absolute; top: 50%; left: calc(3px + (100% - 6px - 12px) * var(--p, 0)); width: 12px; height: 12px; margin-top: -6px;
  border-radius: 50%; background: radial-gradient(circle at 38% 35%, #f6f2ec 0, #b9b4ad 55%, #6f6b66 100%);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5), 0 0 8px rgba(244, 240, 234, 0.25);
}
@media (max-width: 640px) {
  .bar-mark { display: none; }
  .controls { gap: 10px; font-size: 10.5px; }
  .ctl-time .t-sep, .ctl-time .t-dur, .ctl-full { display: none; }
}
@media (prefers-reduced-motion: reduce) { .big-play { transition: none; } }

/* ---------- 2026-11-23: gallery under the film (layout of the Gentle Monster "2025 Bold Collection" story page) ---------- */
.gallery { padding-top: clamp(48px, 9vh, 120px); }
.g-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.g-tile { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #0b0a0a; }
.g-wide { grid-column: span 2; }
.g-space { height: clamp(80px, 14vh, 180px); }
.g-space--end { height: 6vh; }
.g-film { position: relative; margin: 0; }
.g-film video { display: block; width: 100%; height: 100%; object-fit: cover; background: #0b0a0a; }
.g-film--wide { width: 70%; aspect-ratio: 16 / 9; margin: 0 auto; } /* 2026-11-23: 30 % smaller, centred */
/* 2026-11-23: Jewelry_AD framed like the reference (Gentle Monster vertical film): 88 % of the screen height with
   6 % above and below (56 px / 809 px / 53 px on a 918 px screen) */
.g-film--tall { width: min(100%, calc(88vh * 9 / 16)); aspect-ratio: 9 / 16; margin: 0 auto; }
.g-space--tall { height: 6vh; }
/* 2026-11-23: MUWI title card above the MILANO_actor film (monochrome, in the page's type) */
.g-intro { width: min(100% - 2 * var(--pad), 720px); margin: 0 auto clamp(40px, 6vh, 72px); text-align: center; color: #f4f0ea; }
.gi-kicker {
  font-family: "Archivo", var(--font); font-stretch: 125%; font-weight: 500; font-size: clamp(9px, 0.8vw, 12px);
  letter-spacing: 0.32em; padding-left: 0.32em; color: rgba(244, 240, 234, 0.62);
}
.gi-title {
  margin: clamp(14px, 1.6vw, 24px) 0 0; font-family: "Archivo", var(--font); font-stretch: 125%; font-weight: 800;
  font-size: clamp(52px, 8vw, 128px); line-height: 0.92; letter-spacing: 0.06em; padding-left: 0.06em; color: #f4f0ea;
}
.gi-sub {
  margin-top: clamp(12px, 1.3vw, 20px); font-family: "Archivo", var(--font); font-stretch: 125%; font-weight: 600;
  font-size: clamp(10px, 0.95vw, 14px); letter-spacing: 0.36em; padding-left: 0.36em; color: #f4f0ea;
}
.gi-tagline { margin-top: clamp(16px, 1.8vw, 28px); font-family: "Tinos", Georgia, serif; font-style: italic; font-size: clamp(17px, 1.7vw, 26px); line-height: 1.3; color: #f4f0ea; }
.gi-body { margin-top: clamp(12px, 1.1vw, 16px); font-family: "Tinos", Georgia, serif; font-size: clamp(13px, 1vw, 16px); line-height: 1.65; color: rgba(244, 240, 234, 0.72); }
.gi-tagline + .gi-body { margin-top: clamp(18px, 1.8vw, 26px); }
.g-intro--tight { margin-bottom: 0; }
#second-skin .gi-title { font-size: clamp(46.8px, 7.2vw, 115.2px); } /* 2026-11-23: SECOND SKIN 10 % smaller */ /* the 6 vh space after it sets the gap to the film */
.gi-title + .gi-tagline { margin-top: clamp(18px, 2vw, 32px); }

/* 2026-11-23: control bar on the two films, in the style of the film's own bar: PAUSE | seek track | SOUND ON */
.g-film::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 96px; pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.55));
}
.g-ctl {
  position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; display: flex; align-items: center; gap: 14px;
  font-family: var(--mono); font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; color: var(--ink);
}
.g-btn { flex: none; padding: 6px 2px; color: var(--ink); text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7); transition: color 0.2s ease; }
.g-btn:hover, .g-btn:focus-visible { color: #fff; }
.g-play { min-width: 4.4em; text-align: left; }
.g-sound { min-width: 7.4em; text-align: right; }
.g-sound[aria-pressed="true"] { color: #f2a60c; }
.g-track {
  position: relative; flex: 1; height: 20px; border: 1px solid var(--line); border-radius: 999px;
  cursor: pointer; touch-action: none; outline: none; background: rgba(0, 0, 0, 0.18);
}
.g-track:focus-visible { border-color: rgba(244, 240, 234, 0.95); }
.g-fill { position: absolute; left: 3px; top: 3px; bottom: 3px; width: calc((100% - 6px) * var(--p, 0)); border-radius: 999px; background: rgba(244, 240, 234, 0.1); }
.g-knob {
  position: absolute; top: 50%; left: calc(3px + (100% - 6px - 12px) * var(--p, 0)); width: 12px; height: 12px; margin-top: -6px;
  border-radius: 50%; background: radial-gradient(circle at 38% 35%, #f6f2ec 0, #b9b4ad 55%, #6f6b66 100%);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5), 0 0 8px rgba(244, 240, 234, 0.25);
}
@media (max-width: 640px) {
  .g-grid { grid-template-columns: repeat(2, 1fr); }
  .g-wide { grid-column: span 2; }
  .g-film--wide { width: 100%; }
  .g-ctl { left: 10px; right: 10px; gap: 10px; font-size: 10.5px; }
}

/* 2026-11-23: phones: the credit and VIEW MY SEQUENCE sit under the play bar (the picture is too short for them) */
.m-credit { display: none; }
@media (max-width: 640px) {
  .intro .intro-seq, .intro .intro-credit { display: none; }
  .m-credit { display: grid; justify-items: center; gap: 14px; width: 100%; flex: none; text-align: center; }
  .m-credit .intro-seq { margin-top: 0; font-size: 10px; }
  .m-credit .intro-credit { margin-top: 0; gap: 5px; }
  .m-credit .credit-kicker { font-size: 9px; }
  .m-credit .credit-role { font-size: 15px; }
  .m-credit .credit-desc { font-size: 12px; }
  .stage:fullscreen .m-credit { display: none; }
}
