/* OJI Entertainment — Direction A · SPOTLIGHT
   The stage is dark. You hold the light.
   The wordmark is Space Grotesk 600: every page that loads this file must ask for that weight in its font link. */

:root {
  --stage: #07080f;
  --navy: #0d0f1e;
  --paper: #f3f0ea;
  --red: #ff2d20;
  --lamp: #ffd9a0;
  --dim: rgba(243, 240, 234, .68);
  --hair: rgba(243, 240, 234, .14);
  --pad: clamp(20px, 5vw, 72px);
  --hdr: 76px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --display: 'Anton', 'Noto Sans JP', Impact, sans-serif;
  --text: 'Space Grotesk', 'Noto Sans JP', system-ui, -apple-system, sans-serif;
  --hole: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 12' preserveAspectRatio='none'%3E%3Crect x='5' y='.5' width='14' height='11' rx='2.4' fill='%23f3f0ea'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 12px); }
body {
  margin: 0; background: var(--stage); color: var(--paper);
  font: 400 18px/1.55 var(--text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
html.lang-ja body { line-height: 1.8; font-feature-settings: "palt"; }
img, svg, canvas { display: block; }
h1, h2, h3, p, dl, dd, ol, ul { margin: 0; padding: 0; }
ol, ul { list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--lamp); outline-offset: 3px; }
::selection { background: var(--red); color: var(--stage); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 300; background: var(--paper); color: var(--stage); padding: 12px 18px; font-weight: 700; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1560px; margin: 0 auto; padding-inline: var(--pad); }
.sec { padding-block: clamp(84px, 11vw, 160px); }

.display { font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: .92; letter-spacing: .005em; }
html.lang-ja .display { font-family: 'Noto Sans JP', sans-serif; font-weight: 900; line-height: 1.12; letter-spacing: -.01em; }
.h-xl { font-size: clamp(64px, 10.4vw, 176px); }
.h-lg { font-size: clamp(48px, 6.6vw, 112px); }
html.lang-ja .h-xl { font-size: clamp(48px, 7.6vw, 128px); }
html.lang-ja .h-lg { font-size: clamp(34px, 4.4vw, 72px); line-height: 1.2; }
.sec-lead { font-size: clamp(17px, 1.45vw, 21px); color: var(--dim); max-width: 30em; }

/* The red square full stop. Put .sq on a section heading (never on a talent name, the logo or a button label) and it ends
   with the hero's red square: Anton's own full stop, so it takes its size and baseline from the heading's font size.
   Japanese headings get the same square. Leave the full stop out of the heading text itself. Screen readers skip it. */
.sq::after { content: '.'; content: '.' / ''; color: var(--red); font-family: 'Anton', Impact, sans-serif; font-weight: 400; font-style: normal; line-height: 0; }
html.lang-ja .sq::after { font-size: 1.3em; vertical-align: -.07em; }   /* kana and kanji fill more of the em: a little larger, on their foot */
/* One accent word in red inside a line (Selected work): same font, only the colour changes. */
.acc { font-style: normal; color: var(--red); }

/* ── buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 2px; border: 1px solid transparent;
  font: 700 15px/1 var(--text); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  transition: transform .18s var(--ease), background-color .2s, color .2s, border-color .2s, box-shadow .3s;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
html.lang-ja .btn { letter-spacing: .06em; }
.btn:active { transform: scale(.96); }
.btn-xl { min-height: 60px; padding: 0 32px; font-size: 16px; }
.btn-red { background: var(--red); color: var(--stage); }
.btn-red:hover { background: #ff4a3d; box-shadow: 0 0 0 6px rgba(255, 45, 32, .18); }
.btn-paper { background: var(--paper); color: var(--stage); }
.btn-paper:hover { background: #fff; box-shadow: 0 0 0 6px rgba(243, 240, 234, .16); }
.btn-line { border-color: rgba(243, 240, 234, .5); color: var(--paper); }
.btn-line:hover { background: var(--paper); color: var(--stage); border-color: var(--paper); }
.btn-line[aria-pressed="true"] { background: var(--paper); color: var(--stage); border-color: var(--paper); }

/* ── logo lockup: the comp-card logo. Em-based so the intro, the header and the footer share one drawing.
   The mark is .8em tall; the word is .61 of that, Space Grotesk 600, tracked .13em, and sits .33 of the mark away. ── */
.logo { display: inline-flex; align-items: center; gap: .264em; line-height: 1; color: var(--paper); text-decoration: none; white-space: nowrap; }
.logo-mark { color: var(--red); display: block; }
.logo-mark svg { height: .8em; width: auto; }
.logo-word { font: 600 .488em/1 'Space Grotesk', system-ui, sans-serif; letter-spacing: .13em; text-transform: uppercase; margin-right: -.13em; position: relative; top: .035em; }
.ftr .logo { font-size: clamp(34px, 3.2vw, 44px); }

/* ── header ──────────────────────────────────────────────────────────────── */
.hdr { position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--hdr); transition: background-color .35s, box-shadow .35s; }
.hdr.solid { background: rgba(7, 8, 15, .9); box-shadow: 0 1px 0 var(--hair); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.hdr-in { height: 100%; max-width: 1560px; margin: 0 auto; padding-inline: var(--pad); display: flex; align-items: center; gap: 34px; }
.hdr-logo { font-size: 36px; margin-right: auto; }
.hdr-logo .mk-o { transition: fill .25s; }
.hdr-logo:hover .mk-o { animation: lampOn .7s steps(1, end); }
@keyframes lampOn { 0% { fill: #fff; } 18% { fill: var(--red); } 30% { fill: #fff; } 46% { fill: var(--red); } }
.nav { display: flex; gap: 34px; }
.nav a { white-space: nowrap; font: 500 14px/1 var(--text); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--dim); padding: 14px 0; position: relative; transition: color .2s; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover { color: var(--paper); }
.nav a:hover::after { transform: scaleX(1); }
/* the language dropdown (lang.css / lang.js) sits between the menu and Book talent */
.hdr-lm .lm-btn { color: var(--dim); }
.hdr-lm .lm-btn:hover, .hdr-lm.is-open .lm-btn { color: var(--paper); }
.hdr-book { min-height: 46px; padding: 0 22px; }
.burger { display: none; width: 46px; height: 46px; position: relative; margin-right: -10px; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--paper); transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 55; background: var(--stage); padding: calc(var(--hdr) + 28px) var(--pad) 40px; display: flex; flex-direction: column; justify-content: space-between; opacity: 0; transition: opacity .3s; }
.menu[hidden] { display: none; }
.menu.open { opacity: 1; }
.menu-nav { display: flex; flex-direction: column; }
.menu-nav a { font: 400 clamp(48px, 15vw, 72px)/1.08 var(--display); text-transform: uppercase; text-decoration: none; padding: 8px 0; border-bottom: 1px solid var(--hair); transform: translateY(18px); opacity: 0; transition: transform .6s var(--ease), opacity .5s; }
html.lang-ja .menu-nav a { font: 900 clamp(32px, 9.4vw, 48px)/1.4 'Noto Sans JP', sans-serif; }
.menu.open .menu-nav a { transform: none; opacity: 1; }
.menu.open .menu-nav a:nth-child(2) { transition-delay: .05s; }
.menu.open .menu-nav a:nth-child(3) { transition-delay: .1s; }
.menu.open .menu-nav a:nth-child(4) { transition-delay: .15s; color: var(--red); }
/* in the phone menu the dropdown sits bottom left: a bigger button, and its list opens upwards from the left edge */
.menu-lm .lm-btn { height: 50px; padding: 0 14px 0 16px; font-size: 16px; gap: 10px; }
.menu-lm .lm-list { left: 0; right: auto; transform-origin: 0 100%; }

/* ── hero ────────────────────────────────────────────────────────────────── */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; background: var(--stage); cursor: pointer; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.wall { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s; }
.hero.live .wall { opacity: 1; }
.row { display: flex; will-change: transform; }
.wt { flex: none; height: 100%; overflow: hidden; box-shadow: inset 0 0 0 1px var(--stage); background: var(--navy); }   /* a wall tile (.tile is the number tiles) */
.wt img { width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; pointer-events: none; }
.dark { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-shade { position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(to bottom, rgba(7, 8, 15, 0) calc(var(--mt, 60%) - 110px), rgba(7, 8, 15, .7) calc(var(--mt, 60%) + 70px), rgba(7, 8, 15, .95) 100%),
  linear-gradient(to bottom, rgba(7, 8, 15, .72) 0%, rgba(7, 8, 15, 0) 16%); }

.hero-copy { position: absolute; left: var(--pad); right: var(--pad); bottom: clamp(64px, 8vh, 80px); pointer-events: none; }
.hero-copy a { pointer-events: auto; }
.mega { font-size: clamp(64px, 10vw, 196px); margin-left: -.02em; }
html.lang-ja .mega { font-size: clamp(44px, 8vw, 132px); line-height: 1.14; margin-left: 0; }
.ln { display: block; overflow: hidden; padding-top: .05em; margin-top: -.05em; }
.ln > span { display: block; transform: translateY(108%); transition: transform 1.15s var(--ease); }
.ln:nth-child(2) > span { transition-delay: .09s; }
.hero.on .ln > span { transform: none; }
.hero-side { position: absolute; right: 0; bottom: .6vw; width: min(390px, 27.5vw); opacity: 0; transform: translateY(16px); transition: opacity .9s .35s, transform 1s var(--ease) .35s; }
.hero.on .hero-side { opacity: 1; transform: none; }
.lead { font-size: clamp(17px, 1.3vw, 20px); color: rgba(243, 240, 234, .86); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero .cta-row .btn { padding-inline: 16px; }

.cap { position: absolute; left: 0; top: 0; z-index: 2; display: flex; align-items: center; gap: 16px; min-height: 52px; text-align: left; pointer-events: none; padding: 8px 10px 9px 14px; background: rgba(7, 8, 15, .82); border-left: 3px solid var(--red); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .3s, background-color .2s; will-change: transform; -webkit-tap-highlight-color: transparent; }
.cap.show { opacity: 1; pointer-events: auto; }
.cap:hover { background: rgba(7, 8, 15, .96); }
.cap-t { display: block; }
.cap b { display: block; font: 400 26px/1.05 var(--display); text-transform: uppercase; letter-spacing: .012em; white-space: nowrap; }
html.lang-ja .cap b { font-family: 'Anton', 'Noto Sans JP', sans-serif; }
.cap-t span { display: block; font-size: 15px; line-height: 1.3; color: rgba(243, 240, 234, .84); margin-top: 4px; white-space: nowrap; }
.cap-go { flex: none; width: 32px; height: 32px; padding: 8px; border-radius: 50%; background: var(--paper); fill: none; stroke: var(--stage); stroke-width: 2.6; transition: background-color .2s, transform .3s var(--ease); }
.cap:hover .cap-go { background: var(--red); transform: translate(2px, -2px); }
.cap:active .cap-go { transform: scale(.88); }
.hint { position: absolute; right: var(--pad); top: calc(var(--hdr) + 22px); font-size: 15px; color: rgba(243, 240, 234, .82); text-shadow: 0 1px 10px rgba(7, 8, 15, .95), 0 0 2px rgba(7, 8, 15, .9); pointer-events: none; opacity: 0; transition: opacity .8s; }
.hint.show { opacity: 1; }

/* ── numbers ─────────────────────────────────────────────────────────────── */
/* the homepage band: the shared red tiles (tiles.css / tiles.js), centred, flowing straight out of the hero */
.stats { position: relative; padding-block: 0 clamp(34px, 4.4vw, 72px); }   /* the tiles bring their own 30px of air */

/* ── selected work: film credits. The role small and to the left, the name large (categories only, no client names) ── */
.work { border-top: 1px solid var(--hair); }
.work.sec { padding-block: clamp(72px, 8vw, 124px); }
.work-in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.cred-list { display: grid; gap: clamp(16px, 1.7vw, 26px); padding-top: clamp(6px, .9vw, 14px); }
.cd { display: grid; grid-template-columns: clamp(246px, 17.4vw, 262px) minmax(0, 1fr); gap: clamp(18px, 2.2vw, 38px); align-items: baseline; }
.cd-role { text-align: right; white-space: nowrap; font: 500 15px/1.3 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
html.lang-ja .cd-role { letter-spacing: .08em; }
.cd-name { font-size: clamp(30px, 3.4vw, 46px); line-height: 1; font-weight: 400; }
html.lang-ja .cd-name { font-size: clamp(23px, 2.5vw, 34px); line-height: 1.3; font-weight: 900; }
html.js .cd { opacity: 0; transform: translateY(26px); transition: opacity .7s, transform .9s var(--ease); }   /* the credits come up, then stay */
html.js .cred-list.in .cd { opacity: 1; transform: none; }
.cred-list.in .cd:nth-child(2) { transition-delay: .07s; } .cred-list.in .cd:nth-child(3) { transition-delay: .14s; } .cred-list.in .cd:nth-child(4) { transition-delay: .21s; }
.cred-list.in .cd:nth-child(5) { transition-delay: .28s; } .cred-list.in .cd:nth-child(6) { transition-delay: .35s; } .cred-list.in .cd:nth-child(7) { transition-delay: .42s; }

/* ── roster ──────────────────────────────────────────────────────────────── */
.roster { border-top: 1px solid var(--hair); padding-block: clamp(76px, 9.5vw, 144px) clamp(72px, 9vw, 132px); overflow: hidden; overflow: clip; }
.ros-head { position: relative; z-index: 2; display: grid; gap: clamp(22px, 2.6vw, 40px); }   /* its dropdown opens over the strips */
.ros-foot { display: flex; justify-content: center; margin-top: clamp(34px, 3.6vw, 56px); }
.ros-all { min-width: min(100%, 340px); }

/* the talent film strip (roster/strip.js): C's contact sheet in A's world. Black-and-white frames that turn to colour when looked at. */
.tf-sheet { --fh: clamp(190px, 21.5vw, 310px); --fw: calc(var(--fh) * .75); --fgap: 10px; --reb: 40px; --cell: calc(var(--fw) + var(--fgap));
  --tilt: -2deg; position: relative; display: grid; gap: 14px; width: 106vw; margin: clamp(34px, 3.8vw, 60px) 0 0 -3vw; transform: rotate(var(--tilt)); }
.tf-sheet::before { content: ''; position: absolute; inset: -70px 0; z-index: 0; pointer-events: none; filter: blur(22px);   /* a light table in a dark room: lets black film read on a black page */
  background: radial-gradient(58% 62% at 50% 50%, rgba(255, 217, 160, .2), rgba(255, 217, 160, .075) 52%, rgba(255, 217, 160, 0) 78%); }
.tf-strip { position: relative; z-index: 1; overflow: hidden; overflow: clip; cursor: grab; touch-action: pan-y; -webkit-user-select: none; user-select: none;
  background: linear-gradient(180deg, #2a2927 0, #141416 11%, #0a0a0d 50%, #141416 89%, #2a2927 100%);
  box-shadow: inset 0 1px 0 rgba(255, 217, 160, .34), inset 0 -1px 0 rgba(255, 217, 160, .26), 0 0 0 1px rgba(0, 0, 0, .7), 0 34px 60px -30px #000; }
.tf-strip.s0 { transform: rotate(.3deg); }
.tf-strip.s1 { transform: rotate(-.22deg); }
.tf-strip.drag { cursor: grabbing; }
.tf-track { position: relative; display: flex; gap: var(--fgap); width: max-content; padding: var(--reb) 0; will-change: transform; }
.tf-track::before, .tf-track::after { content: ''; position: absolute; left: 0; right: 0; height: 12px; background: var(--hole) 0 0 / calc(var(--cell) / 8) 100% repeat-x; opacity: .92; filter: drop-shadow(0 0 5px rgba(255, 217, 160, .6)); }
.tf-track::before { top: 22px; }
.tf-track::after { bottom: 22px; }
.tf { position: relative; flex: none; width: var(--fw); height: var(--fh); }
.tf-ph { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 2px; overflow: hidden; background: #1a1b22; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.tf-strip.drag .tf-ph { cursor: grabbing; }
.tf-blank .blank-frame { display: block; width: 100%; height: 100%; border-radius: 2px; }   /* an unused frame padding out a short list */
.tf-ph img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.06) brightness(.9); transition: filter .35s; pointer-events: none; -webkit-user-drag: none; }
.tf-ph::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s; mix-blend-mode: soft-light;   /* a small pool of light */
  background: radial-gradient(110% 80% at 50% 28%, rgba(255, 226, 180, .42), rgba(255, 226, 180, 0) 66%); }
.tf-ph:focus-visible { outline: 2px solid var(--lamp); outline-offset: 2px; }
.tf.on .tf-ph img, .tf.lit .tf-ph img, .tf-ph:focus-visible img, .tf-ph:active img { filter: none; }
.tf.lit .tf-ph::after, .tf-ph:focus-visible::after { opacity: 1; }
.tf-add { position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; border-radius: 2px; display: grid; place-items: center; background: rgba(7, 8, 15, .66); border: 1px solid rgba(243, 240, 234, .5); opacity: 0; transform: scale(.88); transition: opacity .25s, transform .25s var(--ease), background-color .2s, border-color .2s; }
.tf-add svg { width: 18px; height: 18px; fill: none; stroke: var(--paper); stroke-width: 2.2; stroke-linecap: square; transition: transform .3s var(--ease), opacity .2s; }
.tf-add .i-ok { position: absolute; opacity: 0; transform: scale(.4); stroke: var(--stage); stroke-width: 2.8; }
.tf-add:hover { background: var(--paper); border-color: var(--paper); }
.tf-add:hover .i-plus { stroke: var(--stage); }
.tf-add:active { transform: scale(.86); }
.tf.lit .tf-add, .tf.on .tf-add { opacity: 1; transform: none; }
.tf.on .tf-add { background: var(--red); border-color: var(--red); }   /* shortlisted: a red square in the corner */
.tf.on .tf-add .i-plus { opacity: 0; transform: rotate(90deg) scale(.4); }
.tf.on .tf-add .i-ok { opacity: 1; transform: none; }
@media (hover: hover) {
  .tf:hover .tf-ph img { filter: none; }
  .tf:hover .tf-ph::after { opacity: 1; }
  .tf:hover .tf-add { opacity: 1; transform: none; }
}
.tf-p { position: absolute; left: 2px; font: 600 13px/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 217, 160, .55); white-space: pre; pointer-events: none; }   /* film-edge print */
.tf-pt { top: calc(5px - var(--reb)); }
.tf-pb { bottom: calc(5px - var(--reb)); right: 2px; overflow: hidden; text-overflow: ellipsis; color: rgba(255, 217, 160, .72); }
.tf.on .tf-pb, .tf.lit .tf-pb { color: var(--paper); }
@media (hover: hover) { .tf:hover .tf-pb { color: var(--paper); } }

/* the roster controls, on the homepage and the roster page (roster/filters.js): All · Category ▾ (· Location ▾) · search */
.chip { min-height: 46px; padding: 0 20px; border: 1px solid rgba(243, 240, 234, .26); border-radius: 2px; font: 500 14px/1 var(--text); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); transition: color .2s, background-color .2s, border-color .2s, transform .18s var(--ease); }
.chip:hover { color: var(--paper); border-color: var(--paper); }
.chip:active { transform: scale(.95); }
.chip[aria-pressed="true"], .chip.on { background: var(--paper); color: var(--stage); border-color: var(--paper); }
html.lang-ja .chip { letter-spacing: .06em; }
.filters { position: relative; z-index: 5; display: flex; align-items: center; gap: 10px; }   /* a dropdown opens over whatever follows */
.filters .chip { flex: none; display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding-inline: 20px; white-space: nowrap; text-decoration: none; }
.dd { position: relative; flex: 0 1 auto; min-width: 0; }
.filters .dd-btn { flex: 0 1 auto; max-width: 100%; min-width: 0; }
.dd-v { overflow: hidden; text-overflow: ellipsis; }
.dd-chev { flex: none; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; transition: transform .35s var(--ease); }
.dd-btn[aria-expanded="true"] { color: var(--paper); border-color: var(--paper); }
.dd-btn[aria-expanded="true"] .dd-chev { transform: rotate(180deg); }
.dd-btn.set, .dd-btn.set[aria-expanded="true"] { background: var(--paper); color: var(--stage); border-color: var(--paper); }   /* a choice is made: the button carries it */
/* the dropdown: a dark card of big names with red counts; a red square marks the current one */
.dd-list { position: absolute; left: 0; top: calc(100% + 8px); z-index: 40; min-width: 340px; margin: 0; padding: 8px; list-style: none;
  background: var(--navy); border: 1px solid rgba(243, 240, 234, .24); box-shadow: 0 34px 80px rgba(0, 0, 0, .66), 0 0 0 1px rgba(0, 0, 0, .5);
  opacity: 0; transform: translateY(-8px); transition: opacity .18s, transform .35s var(--ease); }
.dd-list[hidden] { display: none; }
.dd-list:focus { outline: none; }
.dd.open .dd-list { opacity: 1; transform: none; }
.dd-opt { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 12px 14px 11px; border-radius: 2px; cursor: pointer; transition: background-color .15s; -webkit-tap-highlight-color: transparent; }
.dd-opt + .dd-opt { box-shadow: 0 -1px 0 var(--hair); }
.dd-mark { width: 11px; height: 11px; background: var(--red); transform: scale(0); transition: transform .3s var(--ease); }
.dd-opt[aria-selected="true"] .dd-mark { transform: none; }
.dd-name { font-size: 29px; line-height: 1.04; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.lang-ja .dd-name { font-size: 21px; line-height: 1.35; }
.dd-n { font: 400 21px/1 'Anton', Impact, sans-serif; letter-spacing: .02em; color: var(--red); font-variant-numeric: tabular-nums; }
.dd-opt:hover, .dd-opt:focus { background: rgba(243, 240, 234, .08); outline: none; }
.dd-opt:focus-visible { box-shadow: inset 0 0 0 2px var(--lamp); }
.dd-opt:active .dd-name { transform: translateX(2px); }
.dd-opt[aria-disabled="true"] { opacity: .3; cursor: default; }
.dd-opt[aria-disabled="true"]:hover { background: none; }
.fl-search { position: relative; display: block; flex: 1 1 220px; max-width: 380px; }
.fl-search svg { position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; margin-top: -9px; fill: none; stroke: var(--dim); stroke-width: 2; pointer-events: none; }
.fl-search input { width: 100%; height: 50px; padding: 0 14px 0 46px; border: 1px solid rgba(243, 240, 234, .26); border-radius: 2px; background: transparent; color: var(--paper); font: 400 16px/1 var(--text); transition: border-color .2s, background-color .2s; -webkit-appearance: none; appearance: none; }
.fl-search input::placeholder { color: var(--dim); }
.fl-search input:hover { border-color: rgba(243, 240, 234, .6); }
.fl-search input:focus { outline: none; border-color: var(--lamp); background: rgba(243, 240, 234, .05); }
.fl-search input::-webkit-search-cancel-button { -webkit-appearance: none; }

/* roster page: grid and cards */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(30px, 3vw, 48px) clamp(12px, 1.6vw, 26px); }
.card { position: relative; }
.card[hidden] { display: none; }
.card-ph { display: block; position: relative; width: 100%; aspect-ratio: 3 / 4; overflow: hidden; background: var(--navy); }
.card-ph img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1) brightness(.86); transform: scale(1.001); transition: filter .5s, transform 1.2s var(--ease); }
.card-ph .glow { position: absolute; inset: 0; background: radial-gradient(clamp(160px, 17vw, 280px) circle at var(--px, 50%) var(--py, 32%), rgba(255, 226, 180, .34), rgba(255, 226, 180, 0) 68%); mix-blend-mode: soft-light; opacity: 0; transition: opacity .45s; }
.card-ph .veil { position: absolute; inset: 0; background: radial-gradient(clamp(190px, 21vw, 340px) circle at var(--px, 50%) var(--py, 32%), rgba(7, 8, 15, 0) 30%, rgba(7, 8, 15, .5) 100%); opacity: 0; transition: opacity .45s; }
.card h3 { font: 400 clamp(22px, 2.1vw, 31px)/1.08 var(--display); letter-spacing: .012em; text-transform: uppercase; margin-top: 14px; display: inline; background: linear-gradient(var(--red), var(--red)) 0 100% / 0 2px no-repeat; transition: background-size .5s var(--ease); padding-bottom: 3px; }
html.lang-ja .card h3 { font-family: 'Anton', 'Noto Sans JP', sans-serif; }
.card-meta { padding-top: 14px; }
.card-meta p { font-size: 15px; color: var(--dim); margin-top: 7px; }
@media (hover: hover) {
  .card:hover .card-ph img, .card-ph:focus-visible img { filter: none; transform: scale(1.035); }
  .card:hover .glow, .card:hover .veil { opacity: 1; }
  .card:hover h3 { background-size: 100% 2px; }
}
.card.on .card-ph img, .card.lit .card-ph img, .card-ph:focus-visible img { filter: none; }
.add { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border-radius: 50%; background: rgba(7, 8, 15, .5); border: 1px solid rgba(243, 240, 234, .42); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); display: grid; place-items: center; transition: background-color .25s, border-color .25s, transform .25s var(--ease); }
.add svg { width: 18px; height: 18px; fill: none; stroke: var(--paper); stroke-width: 2; stroke-linecap: square; transition: transform .35s var(--ease); }
.add .i-ok { position: absolute; opacity: 0; transform: scale(.4); stroke: var(--stage); stroke-width: 2.4; }
.add:hover { background: var(--paper); border-color: var(--paper); }
.add:hover .i-plus { stroke: var(--stage); }
.add:active { transform: scale(.88); }
.add[aria-pressed="true"] { background: var(--red); border-color: var(--red); }
.add[aria-pressed="true"] .i-plus { opacity: 0; transform: rotate(90deg) scale(.4); }
.add[aria-pressed="true"] .i-ok { opacity: 1; transform: none; }
.none { font-size: 20px; color: var(--dim); padding: 40px 0; }

/* ── trust ───────────────────────────────────────────────────────────────── */
.trust { border-top: 1px solid var(--hair); }
.t-row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(20px, 5vw, 96px); align-items: center; padding-block: clamp(28px, 3.4vw, 52px); border-top: 1px solid var(--hair); opacity: var(--lit, .28); transition: opacity .25s linear; }
.t-row:first-child { border-top: 0; padding-top: 0; }
.t-row:last-child { padding-bottom: 0; }
.t-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .3em; align-items: start; font-size: clamp(38px, 5.5vw, 92px); }
html.lang-ja .t-head { font-size: clamp(28px, 3.7vw, 60px); }
.t-row h3 { font-size: 1em; }
html.lang-ja .t-row h3 { line-height: 1.22; }
.t-row p { font-size: clamp(17px, 1.45vw, 21px); color: rgba(243, 240, 234, .84); max-width: 26em; }
/* the tick: the O of the mark with a heavy check, drawn when the line is lit */
.tick { display: block; width: .73em; height: .73em; margin-top: .075em; }
html.lang-ja .tick { width: .9em; height: .9em; margin-top: .16em; }
.tick svg { width: 100%; height: 100%; overflow: visible; }
.tk-ring { fill: none; stroke: rgba(243, 240, 234, .7); stroke-width: 3; transition: opacity .3s; }
.tk-disc { fill: var(--red); transform-box: fill-box; transform-origin: 50% 50%; transform: scale(0); transition: transform .5s var(--ease); }
.tk-chk { fill: none; stroke: var(--stage); stroke-width: 8; stroke-linecap: butt; stroke-linejoin: miter; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .3s cubic-bezier(.4, 0, .2, 1); }
.t-row.lit .tk-ring { opacity: 0; }
.t-row.lit .tk-disc { transform: none; }
.t-row.lit .tk-chk { stroke-dashoffset: 0; transition-delay: .18s; }

/* ── flow: a film strip under a projector ─────────────────────────────────
   .is-row (the no-JS default, reduced motion, very short screens) = a scroll-snap row.
   .is-pin = the section is tall, the scene sticks, and the page's own scroll moves the strip sideways. */
.flow { --rw: clamp(380px, 38vw, 560px); --rh: clamp(230px, 36vh, 330px); --rh: clamp(230px, 36svh, 330px); --bp: 64px; --gap: 16px; --lampgap: clamp(34px, 7vh, 92px);
  border-top: 1px solid var(--hair); background: var(--navy); overflow: hidden; overflow: clip; }
.flow-scene { display: flex; flex-direction: column; }
.flow-scene:focus-visible { outline-offset: -4px; }
.flow-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px 40px; flex-wrap: wrap; }
.proj { position: relative; margin-top: clamp(30px, 4vw, 60px); }
.film-wrap { position: relative; padding-top: var(--lampgap); }
/* a light table seen in a dark room: it is what lets a black strip read on a black page */
.film-glow { position: absolute; left: -6vw; right: -6vw; top: calc(var(--lampgap) - 110px); bottom: -110px; z-index: 0; pointer-events: none; filter: blur(22px);
  background: radial-gradient(56% 60% at 50% 50%, rgba(255, 217, 160, .24), rgba(255, 217, 160, .09) 50%, rgba(255, 217, 160, 0) 76%); }
.film-tilt { position: relative; z-index: 1; margin-inline: -4vw; transform: rotate(-2deg); }
.reel { position: relative; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
  background: linear-gradient(180deg, #2a2927 0, #141416 13%, #0a0a0c 50%, #141416 87%, #2a2927 100%);
  box-shadow: inset 0 1px 0 rgba(255, 217, 160, .34), inset 0 -1px 0 rgba(255, 217, 160, .26), 0 0 0 1px rgba(0, 0, 0, .7), 0 40px 70px -34px #000; }
.reel::-webkit-scrollbar { display: none; }
.reel.drag { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.reel-track { position: relative; display: flex; gap: var(--gap); width: max-content; padding: var(--bp) calc(50% - var(--rw) / 2); }
.reel-track::before, .reel-track::after { content: ''; position: absolute; left: 0; right: 0; height: 15px; background: var(--hole) 0 0 / 31px 100% repeat-x; opacity: .94; filter: drop-shadow(0 0 5px rgba(255, 217, 160, .6)); }
.reel-track::before { top: 30px; }
.reel-track::after { bottom: 30px; }
.rf { --lit: 0; position: relative; flex: none; width: var(--rw); min-height: var(--rh); padding: clamp(24px, 2.6vw, 40px); scroll-snap-align: center; display: flex; flex-direction: column; justify-content: flex-end;
  background: #15161d; border-radius: 3px; color: rgba(243, 240, 234, .5); transform: scale(calc(1 + var(--lit) * .035)); -webkit-user-select: none; user-select: none; }
.rf::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: var(--paper); opacity: var(--lit); box-shadow: 0 0 90px 4px rgba(255, 217, 160, .36); }   /* the projected slide */
.rf > h3, .rf > p { position: relative; transition: color .25s; }
.rf h3 { font-size: clamp(34px, 3.4vw, 54px); }
html.lang-ja .rf h3 { font-size: clamp(25px, 2.5vw, 38px); line-height: 1.3; }
.rf p { font-size: clamp(17px, 1.3vw, 19px); margin-top: 14px; max-width: 24em; }
.rf.lit { color: var(--stage); }
.rf.lit p { color: rgba(7, 8, 15, .84); }
.rf-blank { flex: none; width: var(--rw); border-radius: 3px; }   /* before the first step and after the last: unused frames (blank.css) */
.rf-blank.blank-frame { opacity: .3; }   /* kept below the unlit steps, so the eye stays on the lit one */
.ep { position: absolute; left: 4px; font: 600 13px/1 var(--text); letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 217, 160, .55); white-space: nowrap; pointer-events: none; }   /* film-edge print */
.ep-t { top: calc(9px - var(--bp)); }
.ep-b { bottom: calc(9px - var(--bp)); left: auto; right: 4px; }
.proj-lamp { position: absolute; left: 50%; top: 0; z-index: 3; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #fff1d6; box-shadow: 0 0 0 5px rgba(255, 217, 160, .14), 0 0 28px 7px rgba(255, 217, 160, .5); pointer-events: none; }
.proj-beam { position: absolute; left: 50%; top: 6px; bottom: var(--bp); z-index: 2; width: calc(var(--rw) * 1.1); margin-left: calc(var(--rw) * -.55); pointer-events: none; mix-blend-mode: screen; filter: blur(14px); }
.proj-beam::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(255, 217, 160, .36), rgba(255, 217, 160, .12) 56%, rgba(255, 217, 160, .03) 100%); clip-path: polygon(48.8% 0, 51.2% 0, 100% 100%, 0 100%); }
.flow-prog { display: none; justify-content: center; gap: 8px; margin-top: clamp(14px, 2.6vh, 30px); }
.flow-prog i { width: clamp(26px, 3.2vw, 50px); height: 3px; border-radius: 2px; background: rgba(243, 240, 234, .2); transition: background-color .3s; }
.flow-prog i.on { background: var(--lamp); }

.flow.is-row .rf { transition: transform .5s var(--ease); }
.flow.is-row .rf::before { transition: opacity .5s; }
.flow.is-row .rf.on { --lit: 1; }
/* A touch screen (a.js adds .is-swipe). The strip is tilted, and a tilted native scroller keeps a finger's upward swipe
   for itself, so the page would not scroll from the strip. Here nothing native scrolls it: the browser keeps every up
   and down swipe for the page (touch-action), and a.js moves the strip on a sideways swipe. */
.flow.is-swipe .reel { overflow: hidden; scroll-snap-type: none; touch-action: pan-y; }

.flow.is-pin { padding-block: 0; height: calc(100vh + (var(--n, 5) - 1) * 60vh + 36vh); height: calc(100svh + (var(--n, 5) - 1) * 60svh + 36svh); scroll-margin-top: calc(-1 * (var(--hdr) + 12px)); }
.flow.is-pin .flow-scene { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; padding-top: calc(var(--hdr) + clamp(12px, 3vh, 34px)); padding-bottom: clamp(12px, 2.6vh, 28px); }
.flow.is-pin .h-lg { font-size: clamp(40px, 5vw, 84px); }
html.lang-ja .flow.is-pin .h-lg { font-size: clamp(30px, 3.6vw, 58px); }
.flow.is-pin .proj { flex: 1; min-height: 0; margin-top: 0; display: flex; flex-direction: column; justify-content: center; }
.flow.is-pin .reel { overflow: hidden; scroll-snap-type: none; touch-action: pan-y; }
.flow.is-pin .reel-track { padding-inline: 62vw; will-change: transform; }   /* film leader on both sides */
.flow.is-pin .flow-prog { display: flex; }
@media (max-height: 760px) { .tray.in.away-flow { transform: translateY(24px); opacity: 0; pointer-events: none; } }   /* the tray would sit on the strip */
@media (max-height: 720px) {
  .flow { --lampgap: 26px; --bp: 56px; }
  .reel-track::before { top: 26px; }
  .reel-track::after { bottom: 26px; }
}
.reel-nav { display: flex; gap: 12px; padding-bottom: 6px; }
.rb { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(243, 240, 234, .5); display: grid; place-items: center; transition: background-color .2s, border-color .2s, opacity .2s, transform .18s var(--ease); }
.rb svg { width: 20px; height: 20px; fill: none; stroke: var(--paper); stroke-width: 2.2; }
.rb:hover:not(:disabled) { background: var(--paper); border-color: var(--paper); }
.rb:hover:not(:disabled) svg { stroke: var(--stage); }
.rb:active:not(:disabled) { transform: scale(.9); }
.rb:disabled { opacity: .28; cursor: default; }

/* ── brief ───────────────────────────────────────────────────────────────── */
.brief { border-top: 1px solid var(--hair); }
.brief-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
.brief-copy .sec-lead { margin-top: 26px; }
.picked[hidden] { display: none; }
.picked-h { font: 500 17px/1.3 var(--text); color: var(--dim); margin-bottom: 14px; }
.picked-list { display: flex; flex-wrap: wrap; gap: 10px; }
.pick { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 4px 0 5px; border: 1px solid rgba(243, 240, 234, .26); border-radius: 999px; font-size: 15px; }
.pick img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.pick button { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; transition: background-color .2s; }
.pick button:hover { background: rgba(243, 240, 234, .14); }
.pick svg { width: 14px; height: 14px; fill: none; stroke: var(--paper); stroke-width: 2; }
.form { background: var(--navy); border: 1px solid var(--hair); padding: clamp(22px, 3.2vw, 48px); display: grid; gap: 18px; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fld { display: block; }
.fld span { display: block; font-size: 15px; color: var(--dim); margin-bottom: 8px; }
.fld input, .fld textarea { width: 100%; height: 56px; padding: 0 16px; background: var(--stage); color: var(--paper); border: 1px solid rgba(243, 240, 234, .24); border-radius: 2px; font: 400 18px/1.4 var(--text); transition: border-color .2s, box-shadow .2s; }
.fld textarea { height: auto; min-height: 176px; padding: 14px 16px; resize: vertical; }
.fld ::placeholder { color: rgba(243, 240, 234, .46); }
.fld [aria-invalid="true"] { border-color: var(--red); }
.fld input:hover, .fld textarea:hover { border-color: rgba(243, 240, 234, .5); }
.fld input:focus, .fld textarea:focus { outline: none; border-color: var(--lamp); box-shadow: 0 0 0 3px rgba(255, 217, 160, .2); }
.form .btn { width: 100%; margin-top: 6px; }
.proto { font-size: 17px; color: var(--lamp); }
.proto.bad { color: #ff6a5f; }
.more-t { justify-self: start; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 17px; color: var(--paper); transition: color .2s; }
.more-t span { background: linear-gradient(rgba(243, 240, 234, .45), rgba(243, 240, 234, .45)) 0 100% / 100% 1px no-repeat; padding-bottom: 3px; }
.more-t:hover span { background-image: linear-gradient(var(--red), var(--red)); background-size: 100% 2px; }
.more-t svg { width: 18px; height: 18px; fill: none; stroke: var(--red); stroke-width: 2.4; transition: transform .35s var(--ease); }
.more-t[aria-expanded="true"] svg { transform: rotate(45deg); }
.more-box { display: grid; gap: 18px; }
.more-box[hidden] { display: none; }
.or { margin-top: 22px; font-size: 17px; color: var(--dim); }
.or a { color: var(--paper); text-decoration: none; background: linear-gradient(var(--red), var(--red)) 0 100% / 100% 2px no-repeat; padding-bottom: 3px; white-space: nowrap; }
.or a:hover { color: #fff; }

/* ── closing ─────────────────────────────────────────────────────────────── */
.closing { border-top: 1px solid var(--hair); padding-block: clamp(90px, 12vw, 180px) clamp(80px, 10vw, 150px); overflow: hidden; }
.close-mega { position: relative; font-size: clamp(70px, 13.6vw, 250px); }
html.lang-ja .close-mega { font-size: clamp(64px, 13vw, 220px); }
.close-mega .cm { display: block; }
.close-mega .cm-dim { color: rgba(243, 240, 234, .13); }
.close-mega .cm-lit { position: absolute; inset: 0; color: var(--paper);
  -webkit-mask-image: radial-gradient(circle var(--r, 320px) at var(--mx, 30%) var(--my, 50%), #000 0%, rgba(0, 0, 0, .78) 38%, transparent 100%);
  mask-image: radial-gradient(circle var(--r, 320px) at var(--mx, 30%) var(--my, 50%), #000 0%, rgba(0, 0, 0, .78) 38%, transparent 100%); }
.close-cta { margin-top: clamp(36px, 4vw, 64px); }

/* ── shortlist tray ──────────────────────────────────────────────────────── */
.tray { position: fixed; right: 18px; bottom: 18px; z-index: 70; display: flex; align-items: center; gap: 14px; padding: 8px 8px 8px 10px; background: rgba(13, 15, 30, .94); border: 1px solid rgba(243, 240, 234, .22); border-radius: 999px; box-shadow: 0 18px 50px rgba(0, 0, 0, .55); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transform: translateY(24px); opacity: 0; transition: transform .5s var(--ease), opacity .35s; }
.tray[hidden] { display: none; }
.tray.in { transform: none; opacity: 1; }
.tray.in.away { transform: translateY(24px); opacity: 0; pointer-events: none; }
html.menu-open .tray { display: none; }
.tray-faces { display: flex; padding-left: 8px; }
.tray-faces img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; margin-left: -10px; border: 2px solid var(--navy); }
.tray-n { font-size: 16px; white-space: nowrap; }
.tray-n b { font: 400 22px/1 'Anton', sans-serif; color: var(--red); margin-right: 4px; }
.tray-send { min-height: 46px; border-radius: 999px; padding: 0 22px; font-size: 14px; }
.tray-x { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; transition: background-color .2s; }
.tray-x:hover { background: rgba(243, 240, 234, .14); }
.tray-x svg { width: 16px; height: 16px; fill: none; stroke: var(--paper); stroke-width: 2; }

/* ── quick view ──────────────────────────────────────────────────────────── */
.qv { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; }
.qv[hidden] { display: none; }
.qv-back { position: absolute; inset: 0; background: rgba(3, 4, 9, .84); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); opacity: 0; transition: opacity .35s; }
.qv-panel { position: relative; width: min(1120px, 92vw); height: min(760px, 88vh); display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1fr); background: var(--stage); border: 1px solid var(--hair); box-shadow: 0 40px 120px rgba(0, 0, 0, .7); opacity: 0; transform: translateY(26px) scale(.985); transition: opacity .35s, transform .6s var(--ease); overflow: hidden; }
.qv.open .qv-back { opacity: 1; }
.qv.open .qv-panel { opacity: 1; transform: none; }
.qv-ph { position: relative; overflow: hidden; background: var(--navy); }
.qv-ph img { width: 100%; height: 100%; object-fit: cover; clip-path: circle(0% at 50% 36%); transition: clip-path 1s var(--ease) .12s; }
.qv.open .qv-ph img { clip-path: circle(125% at 50% 36%); }
.qv-body { padding: clamp(24px, 4vw, 60px); overflow: auto; display: flex; flex-direction: column; }
.qv-name { font-size: clamp(44px, 5.2vw, 84px); padding-right: 44px; }
html.lang-ja .qv-name { font-family: 'Anton', 'Noto Sans JP', sans-serif; font-weight: 400; line-height: 1; }
.qv-cats { margin-top: 14px; font-size: 18px; color: var(--dim); }
.qv-dl { margin-top: 28px; display: grid; grid-template-columns: auto 1fr; border-top: 1px solid var(--hair); }
.qv-dl dt, .qv-dl dd { padding: 13px 0; border-bottom: 1px solid var(--hair); }
.qv-dl dt { font-size: 15px; color: var(--dim); padding-right: 32px; padding-top: 16px; }
.qv-dl dd { font-size: 19px; }
.qv-act { display: flex; gap: 12px; margin-top: auto; padding-top: 32px; }
.qv-act .btn { flex: 1; padding-inline: 14px; }
.qv-links { display: flex; flex-wrap: wrap; gap: 0 32px; margin-top: 18px; }
.qv-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 16px; color: var(--dim); text-decoration: none; padding: 8px 0; transition: color .2s; }
.qv-link:hover { color: var(--paper); }
.qv-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.qv-x { position: absolute; top: 14px; right: 14px; z-index: 3; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(7, 8, 15, .6); border: 1px solid rgba(243, 240, 234, .3); transition: background-color .2s, transform .3s var(--ease); }
.qv-x:hover { background: var(--paper); transform: rotate(90deg); }
.qv-x:hover svg { stroke: var(--stage); }
.qv-x svg { width: 18px; height: 18px; fill: none; stroke: var(--paper); stroke-width: 2; }

/* ── intro ───────────────────────────────────────────────────────────────── */
.intro { position: fixed; inset: 0; z-index: 200; background: var(--stage); display: grid; place-items: center; overflow: hidden; }
.intro[hidden] { display: none; }
.intro-lamp { position: absolute; left: 50%; top: 9vh; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: var(--lamp); box-shadow: 0 0 0 6px rgba(255, 217, 160, .14), 0 0 40px 12px rgba(255, 217, 160, .5); opacity: 0; }
.intro-cone { position: absolute; left: 50%; top: 9vh; width: min(120vmin, 1100px); height: 62vh; margin-left: calc(min(120vmin, 1100px) / -2); background: linear-gradient(to bottom, rgba(255, 217, 160, .3), rgba(255, 217, 160, .07) 62%, rgba(255, 217, 160, 0)); clip-path: polygon(49.4% 0, 50.6% 0, 84% 100%, 16% 100%); filter: blur(18px); opacity: 0; transform-origin: 50% 0; }
.intro-logo { font-size: clamp(36px, 7.6vw, 104px); position: relative; transform-origin: 0 0; will-change: transform; }
.intro-logo .logo-mark svg { overflow: visible; }
.intro-logo .mk-o, .intro-logo .mk-j, .intro-logo .mk-i { opacity: 0; transform-box: fill-box; transform-origin: 50% 50%; }
.intro-logo .logo-word i { display: inline-block; font-style: normal; }
.intro-pool { position: absolute; border-radius: 50%; background: radial-gradient(circle, rgba(255, 246, 228, .62) 0, rgba(255, 228, 186, .26) 32%, rgba(255, 217, 160, 0) 68%); opacity: 0; pointer-events: none; }
html.intro-on { overflow: hidden; }
html.halt { overflow: hidden; }   /* a.js: stops a flick's momentum on the film-strip scene for a moment (touch) */
html.intro-on .hdr-logo { visibility: hidden; }

/* ── moving between pages ────────────────────────────────────────────────
   Browsers with cross-document View Transitions: a calm cross-fade while the header stays put; the roster heading and the
   film strip carry across (roster/move.js names those two only when they are on screen on both pages).
   Other browsers: roster/move.js lowers a curtain (body::after) before a same-site link leaves, and lifts it on arrival. */
@view-transition { navigation: auto; }
.hdr { view-transition-name: hdr; }
::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation-duration: .38s; animation-timing-function: cubic-bezier(.4, 0, .2, 1); }
::view-transition-old(ros-h), ::view-transition-new(ros-h) { height: 100%; object-fit: none; object-position: 0 0; }   /* the words never stretch */
body::after { content: ''; position: fixed; inset: 0; z-index: 400; background: var(--stage); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .3s ease, visibility 0s linear .3s; }
html.curtain body::after { opacity: 1; visibility: visible; transition: opacity .22s ease; }

/* ── reveal ──────────────────────────────────────────────────────────────── */
html.js .rv { opacity: 0; transform: translateY(30px); transition: opacity .9s, transform 1.1s var(--ease); }
html.js .rv.in { opacity: 1; transform: none; }
html.js .tf-sheet.rv { transform: rotate(var(--tilt)) translateY(30px); }   /* a strip that comes up keeps its tilt */
html.js .tf-sheet.rv.in { transform: rotate(var(--tilt)); }
html.js .card { opacity: 0; transform: translateY(26px); transition: opacity .7s, transform .9s var(--ease); }
html.js .card.in { opacity: 1; transform: none; }

/* ── tablet ──────────────────────────────────────────────────────────────── */
@media (max-width: 1180px) {
  .hero-side { position: static; width: auto; max-width: 520px; margin-top: 22px; }
  .hero .cta-row .btn { padding-inline: 24px; }
  .nav { gap: 24px; }
}
@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .work-in { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 1180px) {
  .mega { font-size: min(13.4vw, 13.5vh); }        /* short landscape screens: keep room for two rows of faces */
  html.lang-ja .mega { font-size: min(10.6vw, 11vh); }
}
@media (min-width: 761px) and (max-width: 1180px) and (max-height: 820px) {
  .hero .lead { display: none; }                    /* short landscape tablets: the lead gives its room to the faces */
  .hero-side { margin-top: 6px; }
}
@media (max-width: 900px) {
  .nav, .hdr .hdr-lm, .hdr-book { display: none; }
  .burger { display: block; }
}

/* ── phone ───────────────────────────────────────────────────────────────── */
@media (max-width: 760px) {
  :root { --hdr: 62px; }
  body { font-size: 16px; }
  .nav, .hdr .hdr-lm, .hdr-book { display: none; }
  .burger { display: block; }
  .hdr-logo { font-size: 28px; }
  .mega { font-size: 13.2vw; }                      /* two lines, so two whole rows of faces stay clear above it */
  html.lang-en .mega .ln > span { white-space: nowrap; }
  html.lang-ja .mega { font-size: 14.4vw; }
  .hero-copy { bottom: 76px; }
  .lead { font-size: 16px; }
  .cta-row { gap: 10px; margin-top: 20px; }
  .hero .cta-row .btn { flex: 1; padding-inline: 10px; font-size: 14px; letter-spacing: .08em; }
  .cap { min-height: 48px; gap: 12px; padding: 6px 8px 7px 11px; }
  .cap b { font-size: 20px; }
  .cap-t span { font-size: 14px; margin-top: 3px; }
  .cap-go { width: 30px; height: 30px; }
  .hint { right: auto; left: var(--pad); top: calc(var(--hdr) + 10px); font-size: 14px; }
}
/* short phones: the lead gives its room to the faces, so two rows still sit clear and the buttons stay on screen */
@media (max-width: 760px) and (max-height: 700px) {
  .hero .lead { display: none; }
  .hero .cta-row { margin-top: 16px; }
}
@media (max-width: 760px) {
  .stats { padding-block: 0 34px; }
  /* the roster controls: the buttons share a line, the search sits under them, a dropdown opens across the whole row */
  .filters { flex-wrap: wrap; gap: 8px 6px; }
  .filters .chip { min-height: 48px; padding-inline: 12px; gap: 6px; font-size: 13px; letter-spacing: .04em; }
  .dd { position: static; }
  .dd-list { left: 0; right: 0; top: 56px; min-width: 0; }
  .dd-name { font-size: 26px; }
  html.lang-ja .dd-name { font-size: 19px; }
  .fl-search { flex: 1 1 100%; max-width: none; }
  .tf-sheet { --fh: 47vw; --reb: 36px; gap: 11px; width: 112vw; margin-left: -6vw; }
  .tf-track::before { top: 20px; } .tf-track::after { bottom: 20px; }
  .tf-track::before, .tf-track::after { height: 11px; }
  .tf-add { top: 6px; right: 6px; }
  .ros-all { width: 100%; }
  .work-in { grid-template-columns: 1fr; gap: 30px; }
  .cd { grid-template-columns: 1fr; gap: 5px; }
  .cd-role { order: 2; text-align: left; white-space: normal; font-size: 14px; }
  .cd-name { font-size: 7.4vw; }
  html.lang-ja .cd-name { font-size: 5.8vw; }
  .work .h-lg { font-size: 14vw; }
  html.lang-ja .work .h-lg { font-size: 10vw; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card h3 { font-size: 22px; }
  .card-meta p { font-size: 14px; }
  .t-row { grid-template-columns: 1fr; gap: 12px; }
  .t-head { font-size: 11.6vw; }
  html.lang-ja .t-head { font-size: 8vw; }
  .brief-in { grid-template-columns: 1fr; }
  .flow { --rw: 80vw; --rh: clamp(230px, 34vh, 300px); --rh: clamp(230px, 34svh, 300px); --bp: 56px; --gap: 10px; --lampgap: clamp(26px, 5vh, 54px); }
  .film-tilt { margin-inline: -7vw; }
  .reel-track::before { top: 26px; }
  .reel-track::after { bottom: 26px; }
  .rf { padding: 22px 22px 24px; }
  .rf h3 { font-size: 9.2vw; }
  html.lang-ja .rf h3 { font-size: 6.8vw; }
  .ep { letter-spacing: .16em; }
  .flow.is-pin .h-lg { font-size: clamp(34px, 10.4vw, 46px); }
  html.lang-ja .flow.is-pin .h-lg { font-size: clamp(26px, 7.6vw, 34px); }
  .flow.is-pin .flow-head { gap: 14px 24px; }
  .flow.is-pin .rb { width: 46px; height: 46px; }
  .tray.in.away-flow { transform: translateY(24px); opacity: 0; pointer-events: none; }
  .qv-links { margin-top: 14px; }
  .f2 { grid-template-columns: 1fr; }
  .close-mega { font-size: 14vw; }
  html.lang-ja .close-mega { font-size: 17vw; }
  .closing .btn { flex: 1; padding-inline: 12px; }
  .tray { left: 12px; right: 12px; bottom: 68px; justify-content: space-between; gap: 8px; }
  .tray-faces img:nth-child(n+4) { display: none; }
  .tray-send { padding: 0 14px; font-size: 13px; letter-spacing: .06em; min-height: 44px; }
  .tray-faces img { width: 36px; height: 36px; }
  .tray-n span { display: none; }
  .tray-x { width: 38px; height: 38px; }
  .menu { padding-bottom: 92px; }
  .qv { place-items: end stretch; }
  .qv-panel { display: block; width: 100%; height: 100dvh; overflow: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; border: 0; }
  .qv-ph { width: 100%; aspect-ratio: 4 / 4.2; max-height: 50vh; }
  .qv-body { overflow: visible; padding: 24px var(--pad) 96px; }
  .qv-name { font-size: 13vw; }
  .qv-act { flex-direction: column; margin-top: 28px; padding-top: 0; }
  .qv-x { position: fixed; }
}

/* ── reduced motion ──────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  html.js .rv, html.js .card, html.js .cd { opacity: 1; transform: none; }
  html.js .tf-sheet.rv { transform: rotate(var(--tilt)); }
  .ln > span { transform: none; }
  .hero-side { opacity: 1; transform: none; }
}

/* The film strip on a phone (2026-11-21, Alex on his iPhone: "a bit slow and laggy … do we need the arrows there?").
   A swipe moves the strip there, so the arrows (for a mouse) go. A phone's GPU pays for every blur and blend on each
   frame of the swipe: the look stays, the costly layers get lighter. Wider screens are untouched. */
@media (max-width: 760px) {
  .flow.is-row .flow-prog { display: flex; }   /* the row (every touch screen since 2026-11-26) shows where you are in the strip */
  .reel-nav { display: none; }
  .reel-track { will-change: transform; }
  .reel-track::before, .reel-track::after { filter: none; }
  .proj-beam { mix-blend-mode: normal; filter: blur(8px); opacity: .85; }
  .film-glow { filter: blur(12px); }
  .rf::before { box-shadow: 0 0 34px 2px rgba(255, 217, 160, .32); }
}

