/* Rebuild of the Wix layout: black page, fixed photo backdrop, gray nav bar,
   980px centered column. Fonts: Barlow (stands in for DIN Next Light) and
   Jost (stands in for Futura Book), both self-hosted. */
@font-face { font-family: "Barlow"; src: url("/fonts/barlow-300.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/fonts/barlow-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/fonts/barlow-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Jost"; src: url("/fonts/jost-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Jost"; src: url("/fonts/jost-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --black: #000;
  --white: #fff;
  --nav: rgb(118, 118, 118);
  --switch: #f3f3f3;
  --line: #3a3a3a;
  --field-border: rgb(55, 59, 77);
  --muted: #9a9a9a;
  --col: 980px;
  --nav-h: 63px;
  --din: "Barlow", "DIN Next", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --futura: "Jost", "Futura", "Hiragino Sans", "Yu Gothic", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--black); color: var(--white); font: 300 16px/1.6 var(--din); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid #8fb3ff; outline-offset: 3px; }
.col { width: min(100% - 32px, var(--col)); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; background: #fff; color: #116dff; padding: 8px 14px; z-index: 100; }
.skip:focus { top: 12px; }

/* Fixed photo behind the whole page; black sections cover it, some bands let it show */
.backdrop { position: fixed; inset: 0; z-index: -1; background: #111 url("/assets/img/hero.jpg") center / cover no-repeat;
  /* own compositing layer: stops iOS Safari tearing the fixed layer while scrolling */
  transform: translateZ(0); backface-visibility: hidden; }
.reveal { background:
    linear-gradient(180deg, #000 0%, rgba(0,0,0,.94) 7%, rgba(0,0,0,.78) 14%, rgba(0,0,0,.54) 22%,
      rgba(0,0,0,.28) 31%, rgba(0,0,0,.09) 38%, rgba(0,0,0,0) 45%, rgba(0,0,0,0) 55%,
      rgba(0,0,0,.09) 62%, rgba(0,0,0,.28) 69%, rgba(0,0,0,.54) 78%, rgba(0,0,0,.78) 86%,
      rgba(0,0,0,.94) 93%, #000 100%),
    linear-gradient(90deg, #000 0%, #000 55%, rgba(0,0,0,.35) 78%, rgba(0,0,0,0) 100%); }
.solid { background: var(--black); display: flow-root; }
/* Section heights land on fractional pixels, so at dpr 2-3 the rounding can leave a
   hairline through which the fixed backdrop shows. Overlap the blocks by 1px. */
main > * { margin-top: -1px; }

/* ---------- Nav bar ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h); background: var(--nav); z-index: 50; }
.site-header .inner { position: relative; height: 100%; display: flex; align-items: center; justify-content: center; }
.nav-list { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; }
.nav-list a { display: block; padding: 6px 10px; text-decoration: none; font: 300 18px/1 var(--din); text-transform: uppercase; letter-spacing: .02em; color: #fff; }
.nav-list a:hover, .nav-list a[aria-current="page"] { color: #dcdcdc; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.nav-list a.nav-cta { margin-left: 6px; padding: 7px 16px; border: 1px solid #fff; color: #fff; }
.nav-list a.nav-cta:hover { background: #fff; color: #3a3a3a; text-decoration: none; }
.lang { position: absolute; left: calc(50% + 300px); top: 50%; transform: translateY(-50%); display: flex; background: var(--switch); border: 1px solid #e8e8e8; }
.lang a { display: flex; align-items: center; gap: 8px; padding: 10px 12px; font: 400 12px/1 system-ui, sans-serif; color: #222; text-decoration: none; }
.lang a[aria-current="true"] { background: #fff; }
.lang svg { width: 26px; height: 17px; border: 1px solid #ddd; }
.nav-toggle { display: none; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); background: none; border: 0; padding: 10px; cursor: pointer; color: #fff; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px 0; transition: transform .2s, opacity .2s; }

/* ---------- Title band ---------- */
.masthead { padding: calc(var(--nav-h) + 30px) 16px 34px; text-align: center; }
.masthead .name { margin: 0; font: 300 51px/1.15 var(--din); letter-spacing: .25em; text-transform: uppercase; padding-left: .25em; }
.masthead .role { margin: 4px 0 0; font: 400 29px/1.2 var(--futura); letter-spacing: .2em; text-transform: uppercase; padding-left: .2em; }
html[lang="ja"] .masthead .name { letter-spacing: .18em; }
.hero-cta { display: inline-block; margin-top: 22px; padding: 13px 40px; border: 2px solid #fff; color: #fff; text-decoration: none; font: 400 15px/1 var(--din); letter-spacing: .22em; text-transform: uppercase; transition: background .2s, color .2s; }
.hero-cta:hover, .hero-cta:focus-visible { background: #fff; color: #000; }

/* ---------- Sections ---------- */
.section-title { margin: 0; padding: 40px 0 34px; text-align: center; font: 300 45px/1.1 var(--din); letter-spacing: .1em; text-transform: uppercase; }
.feature { display: block; }
.feature img { width: 100%; aspect-ratio: 980 / 405; object-fit: cover;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.08) 5%, rgba(0,0,0,.28) 10%, rgba(0,0,0,.56) 16%, rgba(0,0,0,.82) 22%, rgba(0,0,0,.95) 27%, #000 32%, #000 68%, rgba(0,0,0,.95) 73%, rgba(0,0,0,.82) 78%, rgba(0,0,0,.56) 84%, rgba(0,0,0,.28) 90%, rgba(0,0,0,.08) 95%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.08) 5%, rgba(0,0,0,.28) 10%, rgba(0,0,0,.56) 16%, rgba(0,0,0,.82) 22%, rgba(0,0,0,.95) 27%, #000 32%, #000 68%, rgba(0,0,0,.95) 73%, rgba(0,0,0,.82) 78%, rgba(0,0,0,.56) 84%, rgba(0,0,0,.28) 90%, rgba(0,0,0,.08) 95%, rgba(0,0,0,0) 100%); }

.projects { --tile: 102px; --gap: 6px; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); list-style: none; margin: 0; padding: 0 0 10px; }
.projects li { flex: 0 0 var(--tile); }
.p-art { display: block; aspect-ratio: 1; overflow: hidden; background: #111; }
.projects img { width: 100%; height: 100%; object-fit: cover; }
.p-card { display: grid; place-items: center; padding: 6px; border: 1px solid var(--line); text-align: center; font: 300 10px/1.3 var(--din); letter-spacing: .04em; text-transform: uppercase; color: #d2d2d2; overflow-wrap: break-word; }
.p-name { display: block; margin-top: 5px; font: 300 11px/1.3 var(--din); letter-spacing: .02em; overflow-wrap: break-word; }
.p-meta { display: block; margin-top: 1px; font: 300 9px/1.35 var(--din); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }

.clients { display: flex; flex-wrap: wrap; justify-content: center; gap: 56px 12px; list-style: none; margin: 0; padding: 10px 0 60px; text-align: center; }
.clients li { flex: 0 0 calc((100% - 48px) / 5); }
.clients a, .clients div { display: flex; flex-direction: column; align-items: center; text-decoration: none; }
.clients .logo { display: grid; place-items: center; margin-bottom: 2px; }
.clients img { width: 122px; height: 122px; object-fit: contain; }
.clients .c-card { width: 122px; height: 122px; padding: 8px; border: 1px solid var(--line); font: 300 11px/1.3 var(--din); letter-spacing: .06em; text-transform: uppercase; color: #d2d2d2; overflow-wrap: break-word; }
.clients strong { font: 300 20px/1.4 var(--din); }
.clients span { font: 300 13px/1.6 var(--din); }

.cta-band { min-height: 247px; display: grid; place-items: center; padding: 60px 16px; }
.cta { display: inline-block; min-width: min(404px, 100%); padding: 12.6px 30px; text-align: center; background: #000; border: 3px solid rgb(40, 38, 38); color: #fff; text-decoration: none; font: 700 29px/1.2 var(--futura); transition: background .2s, color .2s; }
.cta:hover { background: #fff; color: #000; }

.mosaic { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; grid-auto-flow: dense; list-style: none; margin: 0; padding: 0 0 60px; }
.mosaic li { aspect-ratio: 1; overflow: hidden; background: #111; }
.mosaic li.feat { grid-column: span 2; grid-row: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.mosaic li:hover img { transform: scale(1.04); }

.bio { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); margin-bottom: 10px; }
.bio-text { padding: 4px 14px 30px; font-size: 15px; line-height: 1.65; }
.bio-text p { margin: 0 0 1.4em; }
.bio-photo img { width: 100%; height: auto; aspect-ratio: 490 / 641; object-fit: cover; }
html[lang="ja"] .bio-text { font-size: 15px; line-height: 1.85; }
.expander { display: none; }

.contact { width: min(100% - 32px, 632px); margin: 0 auto; padding-bottom: 60px; }
.form { display: grid; grid-template-columns: 1fr 1fr; max-width: 560px; margin: 0 auto; }
.form input, .form textarea { width: 100%; height: 66px; background: #fff; color: #222; border: 2px solid var(--field-border); border-radius: 0; margin: 0 -2px -2px 0; padding: 0 18px; font: 400 15px var(--din); }
.form textarea { grid-column: 1 / -1; height: 126px; padding-top: 14px; resize: vertical; }
.form input::placeholder, .form textarea::placeholder { color: #9a9a9a; font-style: italic; }
.form input:focus, .form textarea:focus { outline: none; border-color: #116dff; position: relative; z-index: 1; }
.form-foot { grid-column: 1 / -1; display: flex; justify-content: flex-end; align-items: flex-start; gap: 16px; }
.form-status { margin: 12px 0 0; font-size: 14px; color: #ccc; flex: 1; }
.form-status.err { color: #ff8a80; }
.submit { width: 186px; height: 52px; margin-top: 2px; border: 0; background: var(--nav); color: #fff; font: 400 15px var(--din); cursor: pointer; }
.submit:hover { background: #8a8a8a; }
.submit:disabled { opacity: .6; cursor: default; }
.hp { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: rgba(0,0,0,.9); padding: 34px 16px 30px; text-align: center; }
.social { display: flex; justify-content: center; gap: 8px; list-style: none; margin: 0 0 16px; padding: 0; }
.social a { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #9b9b9b; color: #000; }
.social a:hover { background: #fff; }
.social svg { width: 13px; height: 13px; fill: currentColor; }
.copy { display: inline-block; font-size: 11px; color: #aaa; padding: 10px 0; border-top: 1px solid #666; border-bottom: 1px solid #666; min-width: 186px; }

/* ---------- Testimonials ---------- */
.quotes { max-width: 760px; margin: 0 auto; padding: 0 0 60px; text-align: center; }
.q-track { display: grid; }
.quote { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s .6s; }
.quote.is-active { opacity: 1; visibility: visible; transition: opacity .6s ease; }
.quote blockquote { margin: 0; }
.quote blockquote p { margin: 0; font: 300 italic 24px/1.5 var(--din); }
.quote blockquote p::before { content: "\201C"; }
.quote blockquote p::after { content: "\201D"; }
html[lang="ja"] .quote blockquote p { font-style: normal; font-size: 20px; line-height: 1.8; }
html[lang="ja"] .quote blockquote p::before { content: "「"; }
html[lang="ja"] .quote blockquote p::after { content: "」"; }
.quote figcaption { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 22px; }
.q-photo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.q-who { display: flex; flex-direction: column; align-items: flex-start; text-align: left; line-height: 1.4; }
.q-who strong { font: 400 17px var(--din); letter-spacing: .06em; text-transform: uppercase; }
.q-who strong a { text-decoration: none; border-bottom: 1px solid #666; }
.q-who span { font-size: 14px; color: #bdbdbd; }
.q-who em { font-size: 14px; color: var(--muted); font-style: normal; }
.quote figcaption:not(:has(.q-photo)) .q-who { align-items: center; text-align: center; }
.q-controls { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 30px; }
.q-prev, .q-next { width: 40px; height: 40px; display: grid; place-items: center; background: none; border: 1px solid #555; border-radius: 50%; color: #fff; cursor: pointer; }
.q-prev:hover, .q-next:hover { border-color: #fff; }
.q-prev svg, .q-next svg { width: 16px; height: 16px; }
.q-dots { display: flex; gap: 4px; }
.q-dot { width: 24px; height: 24px; padding: 0; background: none; border: 0; cursor: pointer; display: grid; place-items: center; }
.q-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #666; transition: background .2s, transform .2s; }
.q-dot[aria-current="true"]::before { background: #fff; transform: scale(1.2); }

/* ---------- Music page ---------- */
.reel { width: 100%; height: 1560px; border: 0; display: block; background: #000; }
.section-title.sub { font-size: 34px; padding-top: 70px; }
.albums { display: flex; flex-direction: column; gap: 56px; padding-bottom: 40px; }
.album { display: grid; grid-template-columns: 300px 1fr; gap: 36px; align-items: start; scroll-margin-top: calc(var(--nav-h) + 20px); }
.album-cover img, .cover-blank { width: 100%; aspect-ratio: 1; object-fit: cover; background: #151515; }
.album-cover { position: sticky; top: calc(var(--nav-h) + 20px); }
.album-title { margin: 0; font: 300 30px/1.2 var(--din); letter-spacing: .08em; text-transform: uppercase; }
.album-meta { margin: 6px 0 0; color: var(--muted); font-size: 14px; letter-spacing: .04em; }
.album-desc { margin: 14px 0 0; color: #d6d6d2; font-size: 15px; }
.album-links { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 16px 0 0; padding: 0; }
.album-links a { display: inline-block; padding: 6px 14px; border: 1px solid #666; font-size: 13px; letter-spacing: .06em; text-decoration: none; }
.album-links a:hover { border-color: #fff; }
.tracklist { list-style: none; margin: 20px 0 0; padding: 0; border-top: 1px solid var(--line); }
.tracklist li { border-bottom: 1px solid var(--line); }
.track { width: 100%; display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; min-height: 46px; padding: 8px 6px; background: none; border: 0; color: #fff; font: 300 16px/1.35 var(--din); text-align: left; cursor: pointer; }
.track:hover { background: rgba(255,255,255,.05); }
.t-no { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.t-dur { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.track.is-current { background: rgba(255,255,255,.08); }
.track.is-current .t-no { font-size: 0; }
.track.is-current .t-no::before { content: "\25B6"; font-size: 11px; color: #fff; }
.track.is-current.is-paused .t-no::before { content: "\275A\275A"; font-size: 9px; letter-spacing: -1px; }

.player { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: rgba(20,20,20,.97); border-top: 1px solid #333; padding-bottom: env(safe-area-inset-bottom); }
.player[hidden] { display: none; }
.player-inner { max-width: var(--col); margin: 0 auto; display: grid; grid-template-columns: 44px auto 1fr; gap: 16px; align-items: center; padding: 10px 16px; }
.p-cover { width: 44px; height: 44px; object-fit: cover; background: #222; }
.p-cover[src=""] { visibility: hidden; }
.p-ctrls { display: flex; align-items: center; gap: 4px; }
.p-ctrls button { width: 40px; height: 40px; display: grid; place-items: center; background: none; border: 0; color: #fff; cursor: pointer; border-radius: 50%; }
.p-ctrls .p-play { width: 44px; height: 44px; border: 1px solid #fff; }
.p-ctrls svg { width: 16px; height: 16px; fill: currentColor; }
.p-now { min-width: 0; }
.p-title { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-bar { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.p-seek { flex: 1; accent-color: #fff; min-width: 0; }
body.has-player { padding-bottom: 72px; }

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  /* Mobile nav: full-width bar, hamburger left, language switch right,
     menu drops down under the bar with a dimmed backdrop behind it. */
  :root { --nav-h: 56px; }
  .nav-toggle { display: block; left: 4px; width: 48px; height: 48px; padding: 12px; }
  .nav-toggle span { width: 24px; }
  .lang { left: auto; right: 10px; }
  .lang a { padding: 8px 8px; gap: 6px; }
  .lang svg { width: 22px; height: 14px; }
  .site-header nav { position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0; pointer-events: none; }
  .site-header nav::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.6); opacity: 0; transition: opacity .2s; }
  .nav-list { position: relative; flex-direction: column; gap: 0; background: var(--nav); padding: 4px 0 10px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility 0s .2s; box-shadow: 0 10px 24px rgba(0,0,0,.35); }
  .nav-list li + li { border-top: 1px solid rgba(255,255,255,.14); }
  .nav-list a { display: flex; align-items: center; min-height: 52px; padding: 0 24px; font-size: 17px; letter-spacing: .08em; }
  .nav-list a[aria-current="page"] { text-decoration: none; color: #fff; font-weight: 500; box-shadow: inset 3px 0 0 #fff; }
  .nav-list a.nav-cta { margin-left: 0; padding: 0 24px; border: 0; }
  .hero-cta { margin-top: 18px; padding: 12px 30px; font-size: 13px; letter-spacing: .18em; }
  .nav-open .site-header nav { pointer-events: auto; }
  .nav-open .site-header nav::before { opacity: 1; }
  .nav-open .nav-list { transform: none; opacity: 1; visibility: visible; transition: opacity .2s, transform .2s; }
  .nav-open { overflow: hidden; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .masthead { padding-top: calc(var(--nav-h) + 26px); }
  .masthead .name { font-size: clamp(22px, 6.4vw, 51px); }
  .masthead .role { font-size: clamp(16px, 4.2vw, 29px); }
  .section-title { font-size: clamp(30px, 8vw, 45px); padding: 34px 0 24px; }
  .clients { gap: 40px 12px; }
  .clients li { flex-basis: calc((100% - 12px) / 2); }
  .mosaic { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .bio { grid-template-columns: 1fr; }
  .bio-photo { order: -1; }
  .bio-photo img { aspect-ratio: auto; }
  .reveal { background: linear-gradient(180deg, #000 0%, rgba(0,0,0,.93) 9%, rgba(0,0,0,.84) 18%,
      rgba(0,0,0,.74) 30%, rgba(0,0,0,.62) 50%, rgba(0,0,0,.7) 70%, rgba(0,0,0,.84) 82%,
      rgba(0,0,0,.93) 91%, #000 100%); }
  .cta-band { min-height: 240px; }
  .cta { font-size: 20px; }
  .reel { height: 1700px; }
  .album { grid-template-columns: 1fr; gap: 18px; }
  .album-cover { position: static; max-width: 340px; }
  .quote blockquote p { font-size: 20px; }
  html[lang="ja"] .quote blockquote p { font-size: 17px; }
  .player-inner { grid-template-columns: auto 1fr; gap: 10px; padding: 8px 12px; }
  .p-cover { display: none; }
}
@media (max-width: 520px) {
  .form { grid-template-columns: 1fr; }
  .form textarea { grid-column: auto; }
  .submit { width: 100%; }
  .form-foot { flex-direction: column-reverse; }
}
html[lang="ja"] .clients span { font-size: 11.5px; letter-spacing: 0; }
@media (max-width: 360px) {
  .lang svg { display: none; }
  .lang a { padding: 8px 10px; }
}

/* ---------- Mobile: sideways browsing ----------
   Projects, Clients and Sessions are long lists. Stacking them vertically made
   the phone page 7557px. Here they scroll sideways instead: every item is kept,
   but each costs one or two rows of height rather than thirteen. */
@media (max-width: 900px) {
  .section-title { font-size: 30px; padding: 30px 0 22px; letter-spacing: .08em; }

  .rail { display: grid; grid-auto-flow: column; justify-content: start;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    margin-inline: -16px; padding-inline: 16px; padding-bottom: 14px;
    scrollbar-width: thin; scrollbar-color: #4a4a4a transparent; }
  .rail::-webkit-scrollbar { height: 4px; }
  .rail::-webkit-scrollbar-thumb { background: #4a4a4a; border-radius: 2px; }
  .rail > li { scroll-snap-align: start; }

  /* two rows of tiles, swiped sideways */
  .projects { grid-template-rows: repeat(2, auto); grid-auto-columns: 118px; gap: 10px 8px; }
  .projects > li { flex: none; width: auto; }
  .p-name { font-size: 12px; margin-top: 6px; }
  .p-meta { font-size: 10px; }
  .p-card { font-size: 11px; }

  /* one row of client logos */
  .clients { grid-auto-columns: 138px; gap: 0 14px; padding-top: 6px; }
  .clients > li { flex: none; width: auto; }
  .clients strong { font-size: 16px; }
  .clients span { font-size: 12px; }

  /* one row of session photos, all the same size */
  .mosaic { grid-auto-columns: 240px; gap: 8px; }
  .mosaic > li, .mosaic > li.feat { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 3; }
}

/* ---------- Mobile: bio and sessions ---------- */
@media (max-width: 900px) {
  /* Portrait was a full-width square; 4:3 gives the copy a fairer share. */
  .bio-photo img { aspect-ratio: 4 / 3; }

  /* Copy starts clamped with a fade, and the button reveals the rest. */
  .bio-text { max-height: 190px; overflow: hidden;
    -webkit-mask-image: linear-gradient(180deg, #000 60%, rgba(0,0,0,.25) 88%, rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(180deg, #000 60%, rgba(0,0,0,.25) 88%, rgba(0,0,0,0) 100%); }
  .bio-text.open { max-height: none; -webkit-mask-image: none; mask-image: none; }
  .bio-more { display: block; width: calc(100% - 28px); margin: 0 14px 18px; padding: 11px 0;
    background: none; border: 1px solid var(--line); color: #dcdcdc; cursor: pointer;
    font: 300 13px/1 var(--din); letter-spacing: .16em; text-transform: uppercase; }
  .bio-more:hover, .bio-more:focus-visible { border-color: #fff; color: #fff; }

  /* Two rows halves the swipe: 10 photos over 5 columns, not 10.
     grid-template-columns must be cleared or the desktop track list wins
     and grid-auto-columns is ignored. */
  .mosaic { grid-template-columns: none; grid-template-rows: repeat(2, auto); grid-auto-columns: 168px; }
}

/* ---------- Conversion pass: opening, selected work, credits, reel ---------- */
.tagline { margin: 18px auto 0; max-width: 620px; font: 300 20px/1.45 var(--din); letter-spacing: .04em; color: #e6e6e6; }
.intro { margin: 12px auto 0; max-width: 620px; font: 300 15px/1.7 var(--din); color: #b9b9b9; }
html[lang="ja"] .tagline { font-size: 18px; letter-spacing: .02em; }
html[lang="ja"] .intro { line-height: 1.9; }

/* Eight works that have artwork, given room to actually be seen. */
.selected { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; list-style: none; margin: 0; padding: 0 0 50px; }
.selected li { flex: 0 0 calc((100% - 42px) / 4); }
.selected .p-art { display: block; aspect-ratio: 1; overflow: hidden; background: #111; }
.selected img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.selected li:hover img { transform: scale(1.03); }
.p-role { display: block; margin-top: 3px; font: 400 12px/1.35 var(--din); letter-spacing: .05em; color: #e2e2e2; }
.selected .p-name { font-size: 15px; margin-top: 10px; }
.selected .p-meta { font-size: 11px; }

/* The rest of the list, as a credit list rather than empty tiles. */
.credits { columns: 3; column-gap: 34px; list-style: none; margin: 0; padding: 0 0 60px; }
.credits li { break-inside: avoid; padding: 9px 0; border-bottom: 1px solid #1f1f1f; }
.c-title { display: block; font: 300 16px/1.3 var(--din); letter-spacing: .02em; }
.c-role { display: block; margin-top: 2px; font: 400 12px/1.35 var(--din); letter-spacing: .05em; color: #e2e2e2; }
.c-meta { display: block; margin-top: 1px; font: 300 11px/1.35 var(--din); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }

/* Reel on the home page: enough to hear something without leaving. */
.home-reel { width: 100%; height: 540px; border: 0; display: block; background: #000; margin-bottom: 60px; }

@media (max-width: 900px) {
  .tagline { font-size: 17px; margin-top: 14px; }
  .intro { font-size: 14px; line-height: 1.65; }
  /* .selected carries .rail, but its own display:flex would win; restate as grid. */
  .selected { display: grid; grid-template-columns: none; grid-auto-columns: 150px; gap: 10px; }
  .selected > li { flex: none; width: auto; }
  .selected .p-name { font-size: 13px; margin-top: 7px; }
  .p-role { font-size: 11px; }

  /* 29 credits stacked is 2200px of scrolling, so start clamped. */
  .credits { columns: 1; padding-bottom: 10px; max-height: 430px; overflow: hidden;
    -webkit-mask-image: linear-gradient(180deg, #000 68%, rgba(0,0,0,.25) 90%, rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(180deg, #000 68%, rgba(0,0,0,.25) 90%, rgba(0,0,0,0) 100%); }
  .credits.open { max-height: none; -webkit-mask-image: none; mask-image: none; }
  .c-title { font-size: 15px; }
  .c-role, .c-meta { display: inline; }
  .c-role::after { content: " \00b7 "; color: var(--muted); }
  .home-reel { height: 620px; margin-bottom: 40px; }

  .expander { display: block; width: 100%; margin: 0 0 34px; padding: 11px 0;
    background: none; border: 1px solid var(--line); color: #dcdcdc; cursor: pointer;
    font: 300 13px/1 var(--din); letter-spacing: .16em; text-transform: uppercase; }
  .expander:hover, .expander:focus-visible { border-color: #fff; color: #fff; }
  .bio-more { width: calc(100% - 28px); margin: 0 14px 18px; }
}
