/* A・BU・RA — 案A「シネマ」 */
:root {
  --ink: #0b0b0a;
  --ink-2: #121210;
  --paper: #ece8e1;
  --mute: rgba(236, 232, 225, .72);
  --dim: rgba(236, 232, 225, .56);
  --line: rgba(236, 232, 225, .18);
  --serif-en: "Cormorant Garamond", "Times New Roman", serif;
  --serif-ja: "Noto Serif JP", "Hiragino Mincho ProN", serif;
  --sans: "Noto Sans JP", "Hiragino Sans", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --pad: clamp(20px, 5vw, 72px);
  --hdr: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--ink); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.95;
  letter-spacing: .04em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
::selection { background: var(--paper); color: var(--ink); }
:focus-visible { outline: 1px solid var(--paper); outline-offset: 4px; }
.sr, .sr-svg { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: 12px; z-index: 100; padding: 10px 14px; background: var(--paper); color: var(--ink); font-size: 13px; transform: translateY(-200%); transition: transform .3s; }
.skip:focus { transform: none; }
[lang="en"] { letter-spacing: .01em; }
p { text-wrap: pretty; word-break: auto-phrase; }
.work__count, .cases li::before, .ftr__copy, .roll__fest span, .work__meta { font-variant-numeric: lining-nums; }
.dot { font-family: var(--sans); font-weight: 300; font-size: .42em; letter-spacing: 0; vertical-align: .32em; margin: 0 .34em; display: inline-block; }

/* film grain */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none;
  background: url(/assets/img/grain.png);
  opacity: .085; mix-blend-mode: overlay;
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 17% { transform: translate(-3%, 2%); } 33% { transform: translate(2%, -4%); }
  50% { transform: translate(-4%, -1%); } 67% { transform: translate(3%, 3%); } 83% { transform: translate(-1%, 4%); } 100% { transform: translate(0, 0); }
}

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px;
  padding: 14px 26px 13px; min-width: 196px;
  border: 1px solid rgba(236, 232, 225, .5);
  font-size: 13px; font-weight: 400; line-height: 1.4; letter-spacing: .14em;
  overflow: hidden; isolation: isolate;
  transition: color .6s var(--ease), border-color .6s var(--ease);
}
.btn .en { font-family: var(--serif-en); font-style: italic; font-size: 14px; letter-spacing: .04em; color: var(--dim); transition: color .6s var(--ease); }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--paper);
  transform: scaleX(0); transform-origin: right; transition: transform .7s var(--ease);
}
.btn:hover, .btn:focus-visible { color: var(--ink); border-color: var(--paper); }
.btn:hover .en, .btn:focus-visible .en { color: rgba(11, 11, 10, .7); }
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); transform-origin: left; }
.btn--solid { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--solid .en { color: rgba(11, 11, 10, .66); }
.btn--solid::before { background: var(--ink); }
.btn--solid:hover, .btn--solid:focus-visible { color: var(--paper); }
.btn--solid:hover .en, .btn--solid:focus-visible .en { color: var(--dim); }
.btn--line { min-width: 0; padding: 12px 22px 11px; }
.btn--lg { min-width: 260px; padding: 18px 30px 17px; font-size: 14px; }
.btn .handle { font-family: var(--serif-en); font-size: 15px; letter-spacing: .02em; margin-left: .3em; }

/* ---------- header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--hdr);
  display: flex; align-items: center; gap: 28px; padding: 0 var(--pad);
  transition: background-color .8s var(--ease), opacity 1.6s var(--ease), transform 1.6s var(--ease);
}
.hdr.is-scrolled { background: rgba(11, 11, 10, .72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hdr__logo { font-family: var(--serif-en); font-weight: 400; font-size: 19px; letter-spacing: .3em; white-space: nowrap; margin-right: auto; }
.hdr__logo .dot { font-size: .5em; margin: 0 .6em 0 0; vertical-align: .3em; }
.hdr__nav ul { display: flex; gap: 30px; }
.hdr__nav a { display: inline-flex; align-items: baseline; gap: 8px; font-size: 12px; letter-spacing: .2em; color: var(--mute); padding: 6px 0; position: relative; transition: color .5s; }
.hdr__nav a .en { font-family: var(--serif-en); font-style: italic; font-size: 14px; letter-spacing: .04em; }
.hdr__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.hdr__nav a:hover, .hdr__nav a:focus-visible { color: var(--paper); }
.hdr__nav a:hover::after, .hdr__nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.hdr__nav-contact { display: none; }
.hdr__cta { display: inline-flex; align-items: baseline; gap: 10px; padding: 9px 18px; border: 1px solid rgba(236, 232, 225, .5); font-size: 12px; letter-spacing: .18em; transition: background-color .5s, color .5s; }
.hdr__cta .en { font-family: var(--serif-en); font-style: italic; font-size: 14px; letter-spacing: .04em; }
.hdr__cta:hover, .hdr__cta:focus-visible { background: var(--paper); color: var(--ink); }
.hdr__menu { display: none; }
.hdr.is-menu { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }

/* ---------- opening ---------- */
.opening { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: #000; }
.opening__panels { position: absolute; inset: 0; display: flex; gap: 6px; }
.panel { position: relative; flex: 1 1 0; overflow: hidden; background: #000; }
.panel__video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.panel__cap {
  position: absolute; left: 50%; bottom: calc(7.5vh + 18px); transform: translateX(-50%);
  font-family: var(--serif-ja); font-size: 11px; letter-spacing: .16em; color: rgba(236, 232, 225, .86); white-space: nowrap;
  text-shadow: 0 0 10px rgba(0,0,0,.9), 0 0 2px rgba(0,0,0,.8);
}
.opening__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 55% at 50% 50%, rgba(0,0,0,.55), rgba(0,0,0,.15) 70%, rgba(0,0,0,0) 100%),
    linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.05) 30%, rgba(0,0,0,.1) 65%, rgba(0,0,0,.6));
}
.opening__bars .bar { position: absolute; left: 0; right: 0; height: 50.5%; background: #000; z-index: 2; }
.bar--t { top: 0; transform: translateY(calc(-100% + 7.5vh)); }
.bar--b { bottom: 0; transform: translateY(calc(100% - 7.5vh)); }
.opening__inner {
  position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: var(--hdr) var(--pad) 12vh;
}
.opening__title {
  font-family: var(--serif-en); font-weight: 300; font-size: clamp(54px, 9.4vw, 156px); line-height: 1;
  letter-spacing: .26em; margin-right: -.26em; white-space: nowrap;
  text-shadow: 0 0 40px rgba(0,0,0,.35);
}
.opening__title .t { display: inline-block; }
.opening__title .dot { font-size: .34em; margin: 0 .76em 0 0; vertical-align: .62em; letter-spacing: 0; }
.opening__credit { margin-top: clamp(26px, 4.4vh, 46px); display: grid; gap: 6px; }
.opening__credit-ja { font-family: var(--serif-ja); font-weight: 400; font-size: clamp(13px, 1.15vw, 16px); letter-spacing: .3em; }
.opening__credit-ja .x { font-family: var(--serif-en); margin: 0 .6em; letter-spacing: 0; opacity: .7; }
.opening__credit-en { font-family: var(--serif-en); font-style: italic; font-size: clamp(13px, 1.1vw, 16px); color: var(--mute); letter-spacing: .06em; }
.opening__line { margin-top: clamp(22px, 3.6vh, 40px); display: grid; gap: 4px; }
.opening__line-ja { font-family: var(--serif-ja); font-weight: 300; font-size: clamp(13px, 1.05vw, 15px); letter-spacing: .32em; color: var(--mute); }
.opening__line-en { font-family: var(--serif-en); font-style: italic; font-size: clamp(13px, 1vw, 15px); color: var(--dim); }
.opening__actions { margin-top: clamp(28px, 4.6vh, 48px); display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.opening__cue { position: absolute; z-index: 4; left: 50%; bottom: 0; height: 7.5vh; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; font-family: var(--serif-en); font-style: italic; font-size: 13px; letter-spacing: .2em; color: var(--dim); }
.opening__cue i { display: block; width: 48px; height: 1px; background: rgba(236,232,225,.25); position: relative; overflow: hidden; }
.opening__cue i::after { content: ""; position: absolute; inset: 0; background: var(--paper); transform: translateX(-100%); animation: cue 2.8s var(--ease-io) infinite; }
@keyframes cue { 0% { transform: translateX(-100%); } 55% { transform: translateX(0); } 100% { transform: translateX(100%); } }

/* opening sequence (only when JS is on and motion allowed) */
.js:not(.reduce) .bar--t { transform: translateY(0); }
.js:not(.reduce) .bar--b { transform: translateY(0); }
.js:not(.reduce) .panel { opacity: 0; }
.js:not(.reduce) .panel__video { transform: scale(1.14); }
.js:not(.reduce) .opening__title .t { opacity: 0; filter: blur(12px); transform: translateY(.06em); }
.js:not(.reduce) .opening__credit,
.js:not(.reduce) .opening__line,
.js:not(.reduce) .opening__actions,
.js:not(.reduce) .opening__cue,
.js:not(.reduce) .panel__cap { opacity: 0; }
.js:not(.reduce) .hdr { opacity: 0; transform: translateY(-10px); }

.js.is-open .bar--t { transform: translateY(calc(-100% + 7.5vh)); transition: transform 2.6s var(--ease-io) .5s; }
.js.is-open .bar--b { transform: translateY(calc(100% - 7.5vh)); transition: transform 2.6s var(--ease-io) .5s; }
.js.is-open .panel { opacity: 1; transition: opacity 2.4s var(--ease) var(--d, .2s); }
.js.is-open .panel--c { --d: .2s; }
.js.is-open .panel--l { --d: 1.1s; }
.js.is-open .panel--r { --d: 1.5s; }
.js.is-open .panel__video { transform: scale(1.03); transition: transform 9s cubic-bezier(.25, .1, .25, 1) .2s; }
.js.is-open .opening__title .t { opacity: 1; filter: blur(0); transform: none; transition: opacity 2s var(--ease) var(--d), filter 2.2s var(--ease) var(--d), transform 2.4s var(--ease) var(--d); }
.js.is-open .t1 { --d: 1.7s; } .js.is-open .t2 { --d: 2.0s; } .js.is-open .t3 { --d: 2.15s; } .js.is-open .t4 { --d: 2.45s; } .js.is-open .t5 { --d: 2.6s; }
.js.is-open .opening__credit { opacity: 1; transition: opacity 1.8s var(--ease) 3.3s; }
.js.is-open .opening__line { opacity: 1; transition: opacity 1.8s var(--ease) 3.9s; }
.js.is-open .opening__actions, .js.is-open .opening__cue, .js.is-open .panel__cap { opacity: 1; transition: opacity 1.6s var(--ease) 4.4s; }
.js.is-open .hdr { opacity: 1; transform: none; transition: opacity 1.6s var(--ease) 4.4s, transform 1.6s var(--ease) 4.4s, background-color .8s var(--ease); }

/* ---------- section heads ---------- */
.sec-head { position: relative; z-index: 2; max-width: 1240px; margin: 0 auto; padding: 0 var(--pad); }
.sec-head__no { font-family: var(--serif-en); font-style: italic; font-size: 15px; letter-spacing: .12em; color: var(--dim); font-variant-numeric: lining-nums; }
.sec-head__title { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 22px; font-weight: 400; }
.sec-head__title .ja { font-family: var(--serif-ja); font-weight: 400; font-size: clamp(26px, 2.8vw, 40px); letter-spacing: .2em; line-height: 1.4; }
.sec-head__title .en { font-family: var(--serif-en); font-style: italic; font-weight: 300; font-size: clamp(24px, 2.6vw, 38px); color: var(--mute); letter-spacing: .02em; }
.sec-head__lead { margin-top: 18px; font-size: 14px; color: var(--mute); display: grid; gap: 2px; }
.sec-head__lead .en { font-family: var(--serif-en); font-style: italic; font-size: 16px; }
.sec-head--center { text-align: center; }
.sec-head--center .sec-head__title { justify-content: center; }

/* ---------- works ---------- */
.works { position: relative; padding: 18vh 0 10vh; }
.works__bg { position: sticky; top: 0; height: 100vh; height: 100lvh; margin-bottom: -100vh; margin-bottom: -100lvh; overflow: hidden; z-index: 0; }
.bgl { position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s var(--ease); }
.bgl.is-active { opacity: 1; }
.bgl::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,11,10,.9), rgba(11,11,10,.74) 50%, rgba(11,11,10,.9)), linear-gradient(180deg, rgba(11,11,10,.7), rgba(11,11,10,0) 22%, rgba(11,11,10,0) 78%, rgba(11,11,10,.9)); }
.bgl__strip {
  position: absolute; top: 0; left: 0; height: 100%; width: max(100vw, 281.25vh);
  background-image: var(--pc); background-size: 100% 100%; background-repeat: no-repeat;
  filter: saturate(.7) brightness(.72);
  animation: drift 70s linear infinite alternate;
}
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(min(0px, calc(100vw - 281.25vh))); } }
.works .sec-head { margin-bottom: 12vh; }
.work {
  position: relative; z-index: 1; max-width: 1240px; margin: 0 auto; padding: 8vh var(--pad);
  min-height: 100vh; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: center;
}
.work--flip { grid-template-columns: minmax(0, 1fr) auto; }
.work--flip .work__screen { order: 2; }
.work__screen {
  position: relative; height: min(78vh, 780px); aspect-ratio: 9 / 16; background: #000;
  box-shadow: 0 40px 120px rgba(0,0,0,.65), 0 0 0 1px rgba(236,232,225,.08);
}
.work__screen video { width: 100%; height: 100%; object-fit: cover; }
.work__count { position: absolute; top: 0; left: calc(100% + 18px); writing-mode: vertical-rl; font-family: var(--serif-en); font-style: italic; font-size: 14px; letter-spacing: .2em; color: var(--dim); }
.work--flip .work__count { left: auto; right: calc(100% + 18px); }
.work__body { max-width: 520px; }
.work--flip .work__body { justify-self: end; }
.work__meta { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 12px; letter-spacing: .14em; color: var(--mute); }
.work__meta span + span::before { content: "／"; margin: 0 .7em; opacity: .5; }
.work__title { margin-top: 18px; display: grid; gap: 4px; font-weight: 400; }
.work__title .ja { font-family: var(--serif-ja); font-weight: 400; font-size: clamp(30px, 3.4vw, 50px); letter-spacing: .08em; line-height: 1.35; }
.work__title .en { font-family: var(--serif-en); font-style: italic; font-weight: 300; font-size: clamp(22px, 2.2vw, 32px); color: var(--mute); letter-spacing: .02em; }
.work__title--long .ja { font-size: clamp(24px, 2.4vw, 34px); letter-spacing: .06em; }
.work__title small { font-size: .6em; letter-spacing: .1em; margin-left: .2em; }
.work__title--long .en { font-size: clamp(19px, 1.7vw, 24px); }
.work__awards { margin-top: 24px; display: grid; gap: 6px; padding-left: 16px; border-left: 1px solid var(--line); font-size: 12.5px; letter-spacing: .08em; line-height: 1.7; color: var(--paper); }
.work__note { margin-top: 22px; font-size: 13px; color: var(--mute); display: grid; gap: 4px; padding-left: 16px; border-left: 1px solid var(--line); line-height: 1.8; }
.work__note [lang="en"] { font-family: var(--serif-en); font-style: italic; font-size: 15px; line-height: 1.5; }
.work__syn { margin-top: 26px; display: grid; gap: 12px; }
.work__syn p { font-size: 14.5px; line-height: 2; }
.work__syn [lang="en"] { font-family: var(--serif-en); font-size: 17px; line-height: 1.55; color: var(--mute); }
.work__credits { margin-top: 28px; display: grid; gap: 12px; }
.work__credits div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: baseline; padding-top: 12px; border-top: 1px solid var(--line); }
.work__credits dt { font-size: 11.5px; letter-spacing: .16em; color: var(--mute); display: grid; }
.work__credits dt span, .work__credits dd span { font-family: var(--serif-en); font-style: italic; font-size: 13.5px; letter-spacing: .02em; color: var(--dim); }
.work__credits dd { font-family: var(--serif-ja); font-size: 16px; letter-spacing: .2em; display: grid; line-height: 1.6; }
.work__links { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- scenes (fixed-bg sections) ---------- */
.scene { position: relative; clip-path: inset(0 0 0 0); padding: 22vh 0; min-height: 100vh; display: flex; align-items: center; }
.scene__bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.scene__bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.7) brightness(.62); }
.scene__bg::after { content: ""; position: absolute; inset: 0; background: rgba(11, 11, 10, .66); }
.scene__inner { position: relative; z-index: 1; width: 100%; }

/* awards = end roll */
.awards .scene__bg::after { background: radial-gradient(ellipse 45% 75% at 50% 50%, rgba(11,11,10,.86), rgba(11,11,10,.68)); }
.roll { margin: 12vh auto 0; max-width: 820px; padding: 0 var(--pad); display: grid; gap: 14vh; text-align: center; }
.laurel { display: flex; align-items: center; justify-content: center; gap: 4px; color: rgba(236, 232, 225, .78); }
.laurel svg { width: 46px; height: 116px; flex: none; }
.laurel__r { transform: scaleX(-1); }
.laurel__txt { min-width: 220px; padding: 0 6px; }
.roll__prize { font-family: var(--serif-ja); font-weight: 400; font-size: clamp(26px, 2.8vw, 38px); letter-spacing: .24em; margin-right: -.24em; line-height: 1.4; }
.roll__prize--s { font-size: clamp(20px, 2.1vw, 28px); letter-spacing: .16em; margin-right: -.16em; }
.roll__prize-en { font-family: var(--serif-en); font-style: italic; font-size: clamp(17px, 1.5vw, 21px); color: var(--mute); margin-top: 4px; }
.roll__fest { margin-top: 26px; font-size: 13px; letter-spacing: .2em; line-height: 1.9; }
.roll__fest span { display: block; font-family: var(--serif-en); font-style: italic; font-size: 16px; letter-spacing: .04em; color: var(--mute); margin-top: 2px; }
.roll__work { margin-top: 14px; font-family: var(--serif-ja); font-size: 15px; letter-spacing: .14em; color: var(--mute); }
.roll__work i { font-family: var(--serif-en); font-size: 17px; letter-spacing: .02em; margin-left: .4em; }

/* about */
.about .scene__bg img { object-position: 30% 50%; }
.about__grid { max-width: 1240px; margin: 10vh auto 0; padding: 0 var(--pad); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.acro { display: grid; gap: clamp(6px, 1.4vh, 14px); }
.acro__row { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; align-items: baseline; column-gap: 2px; }
.acro__row b { font-family: var(--serif-en); font-weight: 400; font-size: clamp(64px, 8.4vw, 132px); line-height: .95; letter-spacing: .02em; }
.acro__rest { font-family: var(--serif-en); font-weight: 300; font-style: italic; font-size: clamp(34px, 4.4vw, 70px); line-height: 1; color: var(--mute); }
.acro__ja { grid-column: 1 / -1; font-family: var(--serif-ja); font-size: 12px; letter-spacing: .3em; color: var(--dim); margin-top: 2px; }
.about__text { display: grid; gap: 18px; max-width: 520px; }
.about__text p { font-size: 14.5px; line-height: 2.05; }
.en-body { font-family: var(--serif-en); font-size: 17.5px !important; line-height: 1.6 !important; color: var(--mute); letter-spacing: .01em; }
.about__run { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12.5px !important; color: var(--mute); display: grid; gap: 2px; }
.about__run span { font-family: var(--serif-en); font-style: italic; font-size: 15px; }

/* people = credits */
.people .scene__bg img { object-position: 70% 40%; }
.people .scene__bg::after { background: radial-gradient(ellipse 55% 70% at 50% 45%, rgba(11,11,10,.86), rgba(11,11,10,.7)); }
.credits { margin: 12vh auto 0; max-width: 980px; padding: 0 var(--pad); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 8vw, 120px); text-align: center; }
.credit__role { font-size: 12px; letter-spacing: .32em; color: var(--mute); display: grid; gap: 2px; }
.credit__role span { font-family: var(--serif-en); font-style: italic; font-size: 15px; letter-spacing: .06em; color: var(--dim); }
.credit__name { margin-top: 18px; font-family: var(--serif-ja); font-weight: 400; font-size: clamp(30px, 3.2vw, 44px); letter-spacing: .32em; margin-right: -.32em; line-height: 1.3; display: grid; }
.credit__name span { font-family: var(--serif-en); font-style: normal; font-weight: 300; font-size: clamp(17px, 1.5vw, 21px); letter-spacing: .24em; margin-top: 10px; color: var(--mute); text-transform: uppercase; }
.credit__bio { margin: 22px auto 0; max-width: 380px; font-size: 13.5px; line-height: 2; color: var(--mute); text-align: left; }
.credit__bio[lang="en"] { margin-top: 8px; font-family: var(--serif-en); font-size: 16px; line-height: 1.55; color: var(--dim); }

/* together */
.scene__bg--strip { overflow: hidden; }
.scene__bg--strip .bgl__strip { animation-duration: 80s; }
.scene__bg--strip::after { background: linear-gradient(90deg, rgba(11,11,10,.92), rgba(11,11,10,.72) 55%, rgba(11,11,10,.86)); }
.together__grid { max-width: 1240px; margin: 9vh auto 0; padding: 0 var(--pad); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px clamp(40px, 7vw, 120px); }
.together__lead { grid-column: 1 / -1; font-family: var(--serif-ja); font-size: clamp(17px, 1.6vw, 22px); letter-spacing: .14em; display: grid; gap: 4px; }
.together__lead span { font-family: var(--serif-en); font-style: italic; font-size: clamp(17px, 1.5vw, 21px); color: var(--mute); letter-spacing: .02em; }
.cases { display: grid; gap: 30px; counter-reset: c; }
.cases li { position: relative; padding: 22px 0 0 54px; border-top: 1px solid var(--line); counter-increment: c; display: grid; gap: 8px; }
.cases li::before { content: "0" counter(c); position: absolute; left: 0; top: 18px; font-family: var(--serif-en); font-style: italic; font-size: 22px; color: var(--dim); }
.cases p { font-size: 14.5px; line-height: 2; }
.cases p[lang="en"] { font-family: var(--serif-en); font-size: 16.5px; line-height: 1.55; color: var(--mute); }
.together__close { align-self: end; display: grid; gap: 12px; justify-items: start; padding-top: 22px; border-top: 1px solid var(--line); }
.together__close p { font-size: 14.5px; line-height: 2; }
.together__close p[lang="en"] { font-family: var(--serif-en); font-size: 16.5px; line-height: 1.55; color: var(--mute); }
.together__close .btn { margin-top: 14px; }

/* contact */
.scene__bg--tri { display: flex; gap: 6px; }
.scene__bg--tri img { flex: 1 1 0; min-width: 0; height: 100%; object-fit: cover; filter: saturate(.7) brightness(.55); }
.contact .scene__bg::after { background: radial-gradient(ellipse 55% 60% at 50% 50%, rgba(11,11,10,.86), rgba(11,11,10,.7)); }
.contact__inner { max-width: 880px; margin: 0 auto; padding: 0 var(--pad); text-align: center; }
.contact__text { margin: 9vh auto 0; max-width: 680px; display: grid; gap: 14px; text-align: left; }
.contact__text p { font-size: 14.5px; line-height: 2; }
.contact__text strong { font-weight: 500; color: var(--paper); border-bottom: 1px solid rgba(236,232,225,.45); }
.contact__text .en-body strong { font-weight: 500; }
.contact__actions { margin-top: 7vh; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.contact__note { font-size: 12px; letter-spacing: .1em; color: var(--mute); display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 2px 12px; }
.contact__note span { font-family: var(--serif-en); font-style: italic; font-size: 14px; letter-spacing: .02em; color: var(--dim); }

/* footer */
.ftr { position: relative; z-index: 2; background: var(--ink); padding: 16vh var(--pad) 48px; text-align: center; display: grid; gap: 16px; justify-items: center; border-top: 1px solid rgba(236,232,225,.08); }
.ftr__mark { font-family: var(--serif-en); font-weight: 300; font-size: clamp(30px, 3.4vw, 46px); letter-spacing: .3em; margin-right: -.3em; }
.ftr__mark .dot { font-size: .4em; margin: 0 .75em 0 0; vertical-align: .55em; }
.ftr__run { margin-top: 10px; font-size: 12.5px; color: var(--mute); display: grid; gap: 4px; }
.ftr__run-ja { letter-spacing: .14em; }
.ftr__run-en { font-family: var(--serif-en); font-style: italic; font-size: 15px; }
.ftr__run a { color: var(--paper); border-bottom: 1px solid rgba(236,232,225,.35); padding-bottom: 2px; transition: border-color .4s; }
.ftr__run a:hover { border-color: var(--paper); }
.ftr__links a { font-size: 12.5px; letter-spacing: .14em; border-bottom: 1px solid rgba(236,232,225,.35); padding-bottom: 3px; transition: border-color .4s; }
.ftr__links a span[lang] { font-family: var(--serif-en); font-style: italic; font-size: 14px; margin-left: .5em; }
.ftr__links a:hover { border-color: var(--paper); }
.ftr__copy { margin-top: 18px; font-size: 11px; letter-spacing: .16em; color: var(--dim); }

/* ---------- reveal ---------- */
.js:not(.reduce) [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1.6s var(--ease), transform 1.8s var(--ease); }
.js:not(.reduce) .work__screen[data-reveal] { transform: translateY(40px) scale(.985); clip-path: inset(8% 0 8% 0); transition: opacity 1.6s var(--ease), transform 2s var(--ease), clip-path 2s var(--ease); }
.js:not(.reduce) [data-reveal].is-in { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
.js:not(.reduce) .work__body [data-reveal]:nth-child(2) { transition-delay: .1s; }
.js:not(.reduce) .work__body [data-reveal]:nth-child(3) { transition-delay: .2s; }
.js:not(.reduce) .work__body [data-reveal]:nth-child(4) { transition-delay: .3s; }
.js:not(.reduce) .work__body [data-reveal]:nth-child(5) { transition-delay: .4s; }
.js:not(.reduce) .work__body [data-reveal]:nth-child(6) { transition-delay: .5s; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hdr__nav ul { gap: 20px; }
  .hdr__nav a .ja { display: none; }
}
@media (max-width: 900px) {
  :root { --hdr: 58px; }
  body { font-size: 14.5px; }
  .hdr { gap: 12px; }
  .hdr__logo { font-size: 17px; }
  .hdr__cta { display: none; }
  .hdr__menu {
    display: inline-flex; align-items: center; gap: 12px; padding: 10px 0 10px 12px; background: none; border: 0; color: var(--paper);
    font-family: var(--serif-en); font-style: italic; font-size: 15px; letter-spacing: .1em; cursor: pointer;
  }
  .hdr__menu-lines { width: 26px; height: 7px; position: relative; }
  .hdr__menu-lines::before, .hdr__menu-lines::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: currentColor; transition: transform .5s var(--ease); }
  .hdr__menu-lines::before { top: 0; } .hdr__menu-lines::after { bottom: 0; }
  .hdr.is-menu .hdr__menu-lines::before { transform: translateY(3px) rotate(20deg); }
  .hdr.is-menu .hdr__menu-lines::after { transform: translateY(-3px) rotate(-20deg); }
  .hdr__nav {
    position: fixed; inset: 0; z-index: -1; background: rgba(11, 11, 10, .97);
    display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility 0s .6s;
  }
  .hdr.is-menu .hdr__nav { opacity: 1; visibility: visible; transition: opacity .6s var(--ease); }
  .hdr__nav ul { flex-direction: column; gap: 26px; text-align: center; }
  .hdr__nav-contact { display: block; }
  .hdr__nav a { flex-direction: column; align-items: center; gap: 0; font-family: var(--serif-ja); font-size: 18px; letter-spacing: .3em; color: var(--paper); }
  .hdr__nav a .ja { display: inline; }
  .hdr__nav a .en { font-size: 16px; color: var(--mute); }

  .opening__panels { gap: 0; }
  .panel--l, .panel--r { display: none; }
  .panel__video { object-position: 50% 50%; }
  .panel__cap { bottom: calc(7.5vh + 12px); font-size: 10.5px; }
  .opening__inner { justify-content: flex-start; padding-top: calc(var(--hdr) + 15vh); }
  .opening__title { font-size: clamp(46px, 14.6vw, 80px); letter-spacing: .2em; margin-right: -.2em; }
  .opening__credit-ja { letter-spacing: .16em; font-size: 13px; }
  .opening__credit-en { font-size: 13px; max-width: 300px; margin: 0 auto; line-height: 1.5; }
  .opening__line-ja { letter-spacing: .2em; font-size: 13px; }
  .opening__actions { margin-top: auto; margin-bottom: 4vh; }
  .opening__actions .btn { min-width: 150px; padding: 12px 18px 11px; }
  .opening__shade { background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.15) 30%, rgba(0,0,0,.2) 60%, rgba(0,0,0,.72)); }

  .works { padding-top: 14vh; }
  .bgl__strip { width: 100%; background-image: var(--sp); background-size: cover; background-position: center; animation: none; }
  .bgl::after { background: rgba(11,11,10,.78); }
  .work, .work--flip { display: block; min-height: 0; padding: 0 0 16vh; }
  .work__screen { width: 100%; height: auto; aspect-ratio: 9 / 16; max-height: none; box-shadow: none; }
  .work__count { left: auto; right: 14px; top: 14px; writing-mode: horizontal-tb; font-size: 13px; color: rgba(236,232,225,.85); text-shadow: 0 1px 6px rgba(0,0,0,.6); }
  .work--flip .work__count { right: 14px; }
  .work__body, .work--flip .work__body { max-width: none; padding: 32px var(--pad) 0; }
  .work__credits div { grid-template-columns: 1fr; gap: 4px; }

  .scene { padding: 16vh 0; }
  .about__grid, .together__grid, .credits { grid-template-columns: 1fr; }
  .acro__row b { font-size: 76px; }
  .acro__rest { font-size: 40px; }
  .roll { gap: 10vh; }
  .laurel svg { width: 36px; height: 92px; }
  .laurel__txt { min-width: 0; }
  .scene__bg--tri img:not(:nth-child(2)) { display: none; }
  .contact__actions .btn { width: 100%; }
  .scene__bg--strip .bgl__strip { width: 100%; background-image: var(--sp); background-size: cover; animation: none; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .panel__video { transform: none; }
}
