/* Alberto Pizzo — landing page
   White paper, navy type, antique-gold hairlines.
   Over the film: white type.  Below it: white paper, navy headings, hairline rules.
   (Until 2026-11-30 the paper was ecru, the blue a bright ink blue, and two grounds were bordeaux.)
   No arrow glyphs or arrow icons anywhere on the page. */

:root {
  --paper: #ffffff;
  --blue: #192b5c; /* navy: headings, links, buttons and the dark bands */
  --blue-soft: #243a74; /* the same navy one step lighter: tone-on-tone lettering, hover */
  --ink: #1e2a52; /* running text: the same navy, a shade quieter */
  --light: #ffffff; /* type over the film and on navy */
  --night: #14151d;
  /* The one accent: antique gold (see the notes above the programme pages). */
  --gold: #b79b73;
  --gold-ink: #86693f; /* the same gold, deep enough for small type on white */
  --line: rgba(183, 155, 115, 0.62); /* hairlines are antique gold */

  --latin: "Cormorant Garamond", "Times New Roman", Times, serif;
  --mincho: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", YuMincho, serif;
  --gothic: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", YuGothic, "Noto Sans JP", sans-serif;

  --header-h: 64px;
  --gutter: clamp(20px, 5vw, 56px);
  --hero-pad-b: calc(22px + env(safe-area-inset-bottom, 0px));
  /* Where the film is anchored when the screen crops it. The still uses the same value, so the
     picture does not shift when playback starts. Centred sideways: in the wide shot his back is
     close to the left edge, in the close shots the fingertips reach the right one. Where the
     screen is squarer than the film, keep the top (his face in the profile shot) — the bottom
     sits under the type anyway. */
  --film-pos: 50% 8%;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
}

/* Until the page has finished loading, nothing eases between states. WebKit can resolve styles once
   before the stylesheets arrive; without this, buttons would fade in from the browser's default
   colours as the page opens. site.js removes the class after load. */
.is-loading *,
.is-loading *::before,
.is-loading *::after {
  transition: none !important;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--gothic);
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* Break Japanese lines between phrases where the browser can (falls back to normal breaking). */
  line-break: strict;
  word-break: auto-phrase;
  /* WebKit measures Japanese text character by character but paints it kerned, which leaves small
     gaps wherever a line is made of several inline pieces. Kerning stays on for the Latin type. */
  font-kerning: none;
}
[lang="en"] { font-kerning: normal; }

a { color: inherit; }

/* A phrase that stays in one piece when its line has to break (headings and short lines; for
   browsers that cannot break Japanese between phrases on their own). The markup puts a <wbr>
   between phrases. Not inline-block: WebKit measures such boxes without kerning and leaves gaps. */
.ph { white-space: nowrap; }

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

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

.skip-link {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--blue);
  color: var(--paper);
  font-size: 14px;
  text-decoration: none;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

/* ───────────────────────── Header ───────────────────────── */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) var(--gutter) 0;
  color: var(--light);
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}

.wordmark {
  font-family: var(--latin);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  /* The name is already on the opening screen; the wordmark appears once that has scrolled away. */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.cta {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid currentColor;
  font-family: var(--mincho);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  /* Dark enough to stay readable where the monochrome film is bright behind it (lid, ceiling lights). */
  background: rgba(20, 21, 29, 0.36);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background-color 0.25s ease, color 0.25s ease;
}
.cta:hover { background: var(--light); color: var(--night); }

.site-header.is-solid {
  color: var(--blue);
  background: rgba(255, 255, 255, 0.965);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
}
.site-header.is-solid .wordmark { opacity: 1; visibility: visible; }
.site-header.is-solid .cta { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header.is-solid .cta:hover { background: var(--blue); color: var(--paper); }

/* Persistent sound control (only used once in-site playback is switched on). */
.bgm-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid currentColor;
  background: rgba(20, 21, 29, 0.36);
  color: inherit;
  font: 500 16px/1 var(--latin);
  letter-spacing: 0.14em;
  cursor: pointer;
}
.bgm-chip[hidden] { display: none; }
.site-header.is-solid .bgm-chip { background: transparent; }
.bgm-chip .icon-pause { display: none; }
:root[data-bgm="playing"] .bgm-chip .icon-pause { display: block; }
:root[data-bgm="playing"] .bgm-chip .icon-play { display: none; }

/* On a phone there is no room for wordmark + sound control + contact link: the wordmark yields. */
@media (max-width: 460px) {
  .site-header.has-bgm .wordmark { display: none; }
}
/* Narrow phones: the contact link keeps its type size. Its spacing gives way first (360px-wide
   screens), then the wordmark (320px-wide ones). */
@media (max-width: 370px) {
  .cta {
    padding: 0 13px;
    letter-spacing: 0.06em;
  }
}
@media (max-width: 349px) {
  .wordmark { display: none; }
}

/* Small level meter shown inside the listen button while the music plays. */
.icon-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
}
.icon-bars i {
  width: 2px;
  height: 4px;
  background: currentColor;
}
:root[data-bgm="playing"] .icon-bars i { animation: bars 0.9s ease-in-out infinite alternate; }
:root[data-bgm="playing"] .icon-bars i:nth-child(2) { animation-delay: -0.3s; }
:root[data-bgm="playing"] .icon-bars i:nth-child(3) { animation-delay: -0.6s; }
@keyframes bars {
  from { height: 3px; }
  to { height: 14px; }
}

/* ───────────────────────── Opening screen ─────────────────────────
   Phone / portrait: the vertical film fills the screen; white type sits on the floor
   at the bottom, clear of the face and the instrument.
   Wide screens: an open programme — title page on the left, the film as a tall plate on the right. */

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  height: 100vh;
  height: 100svh;
  min-height: 360px;
  overflow: hidden;
  background: var(--night);
  color: var(--light);
}

.stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  /* The still is the film's own first frame, laid out exactly like the film (cover, same anchor),
     so the picture is already there and simply starts to move. */
  background: var(--night) url("../img/hero-mobile-poster.webp") var(--film-pos) / cover no-repeat;
}

.stage__video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--film-pos);
}
/* An iPhone that will not start a film by itself (Low Power Mode) lays its own large play glyph over the
   picture. The still underneath is already the film's first frame, the page has its own button, and the
   first touch anywhere starts the film (site.js) — so that glyph is not shown. One rule each: a browser
   that does not know one of these names would otherwise drop them all. Not yet seen on a real iPhone. */
.stage__video::-webkit-media-controls-start-playback-button { display: none !important; -webkit-appearance: none; }
.stage__video::-webkit-media-controls-panel { display: none !important; -webkit-appearance: none; }
.stage__video::-webkit-media-controls { display: none !important; -webkit-appearance: none; }

.stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* The shade at the top sits under the button (top right) and thins out towards the left, where a
     face can stand in the close shots; the one at the bottom carries the type. */
  background:
    radial-gradient(88% 22% at 100% 0, rgba(12, 13, 24, 0.6) 0, rgba(12, 13, 24, 0.34) 45%, rgba(12, 13, 24, 0) 100%),
    linear-gradient(to bottom, rgba(12, 13, 24, 0.2) 0, rgba(12, 13, 24, 0.06) 10%, rgba(12, 13, 24, 0) 18%),
    linear-gradient(to top, rgba(12, 13, 24, 0.9) 0, rgba(12, 13, 24, 0.66) 20%, rgba(12, 13, 24, 0.22) 38%, rgba(12, 13, 24, 0) 50%);
}

.hero__title {
  position: relative;
  z-index: 1;
  align-self: end;
  min-width: 0;
  padding: 0 var(--gutter) var(--hero-pad-b);
}

.hero__name {
  margin: 0;
  font-family: var(--latin);
  font-size: clamp(44px, 15.2vw, 76px);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.005em;
  white-space: nowrap;
  text-shadow: 0 1px 18px rgba(12, 13, 24, 0.35);
}

/* Each word of the name is its own piece, so the opening titles can bring them in one after the other. */
.hero__word,
.hero__word-in { display: inline-block; }

.hero__role {
  margin: 8px 0 0;
  font-family: var(--latin);
  font-size: clamp(19px, 5.6vw, 26px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.listen {
  margin-top: 16px;
  padding-top: 13px;
  border-top: 1px solid rgba(183, 155, 115, 0.9);
}

.listen__caption {
  margin: 0 0 11px;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.08em;
  opacity: 0.9;
}

.listen__button {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 52px;
  max-width: calc(100% - 58px); /* leaves room for the film's pause button on the same row */
  padding: 0 20px 0 8px;
  border: 1px solid var(--light);
  border-radius: 0;
  background: var(--light);
  color: var(--blue);
  font-family: var(--mincho);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.listen__button:hover { background: var(--blue); border-color: var(--blue); color: var(--light); }

.listen__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border: 1px solid currentColor;
  border-radius: 50%;
}
.listen__icon .icon-bars { display: none; }
:root[data-bgm="playing"] .listen__icon .icon-note { display: none; }
:root[data-bgm="playing"] .listen__icon .icon-bars { display: inline-flex; }

.listen__label [lang="en"] {
  margin-right: 0.12em;
  font-family: var(--latin);
  font-size: 1.16em;
  font-weight: 600;
  letter-spacing: 0.1em;
}

/* Pause / play for the film. Same corner of the opening screen in every layout. */
.stage__toggle {
  position: absolute;
  z-index: 2;
  right: var(--gutter);
  bottom: calc(var(--hero-pad-b) + 4px);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  background: rgba(20, 21, 29, 0.32);
  color: var(--light);
  cursor: pointer;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background-color 0.25s ease, color 0.25s ease;
}
.stage__toggle[hidden] { display: none; }
.stage__toggle:hover { background: var(--light); color: var(--night); }
.stage__toggle .icon-pause { display: none; }
.hero[data-video="playing"] .stage__toggle .icon-pause { display: block; }
.hero[data-video="playing"] .stage__toggle .icon-play { display: none; }

/* Short phone screens: keep name, film and sound button inside the first screen. */
@media (max-height: 560px) {
  .hero__name { font-size: clamp(38px, 12.5vw, 56px); }
  .hero__role { margin-top: 4px; font-size: 18px; }
  .listen { margin-top: 10px; padding-top: 10px; }
  .listen__caption { display: none; }
  .listen__button { min-height: 46px; }
}

/* ── Wide screens: title page + plate ── */
@media (min-aspect-ratio: 1/1) and (min-width: 700px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) auto;
    background: var(--paper);
    color: var(--blue);
  }

  .stage {
    position: relative;
    inset: auto;
    grid-column: 2;
    grid-row: 1;
    height: 100%;
    aspect-ratio: 4 / 5;
    max-width: 56vw;
    --film-pos: 50% 50%;
    background-image: url("../img/hero-desktop-poster.webp");
  }
  .stage::after {
    background: linear-gradient(to bottom, rgba(12, 13, 24, 0.46) 0, rgba(12, 13, 24, 0.14) 12%, rgba(12, 13, 24, 0) 22%);
  }

  .hero__title {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    justify-self: center;
    padding: var(--header-h) clamp(28px, 4.5vw, 72px) 24px;
  }

  .hero__name {
    font-size: clamp(60px, min(9.2vw, 19svh), 172px);
    line-height: 0.9;
    letter-spacing: -0.012em;
    text-shadow: none;
  }
  .hero__word { display: block; }

  .hero__role {
    margin-top: clamp(14px, 2.2svh, 26px);
    padding-top: clamp(12px, 2svh, 22px);
    border-top: 1px solid var(--line);
    color: var(--ink);
    font-size: clamp(22px, min(2.3vw, 4.4svh), 38px);
  }

  .listen {
    margin-top: clamp(22px, 5svh, 52px);
    padding-top: 0;
    border-top: 0;
  }
  .listen__caption {
    margin-bottom: 12px;
    color: var(--ink);
    font-size: clamp(13.5px, 0.95vw, 15.5px);
    letter-spacing: 0.1em;
    opacity: 1;
  }
  .listen__button {
    min-height: clamp(56px, 4.1vw, 68px);
    max-width: none;
    padding: 0 clamp(20px, 1.6vw, 28px) 0 11px;
    border-color: var(--blue);
    background: var(--blue);
    color: var(--paper);
    font-size: clamp(16px, 1.15vw, 18.5px);
  }
  .listen__button:hover { background: var(--blue-soft); border-color: var(--blue-soft); color: var(--paper); }

  .stage__toggle { right: 24px; bottom: 24px; }
}

/* Wide but very short (a phone held sideways): one line, smaller steps. */
@media (min-aspect-ratio: 1/1) and (min-width: 700px) and (max-height: 520px) {
  .hero__name { font-size: clamp(40px, 13svh, 64px); }
  .hero__word { display: inline-block; }
  .listen { margin-top: 16px; }
  .listen__caption { display: none; }
  .listen__button { min-height: 48px; }
  .stage__toggle { right: 16px; bottom: 16px; }
}

/* A quiet entrance for the type; the film itself never fades in. */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  /* Opening titles: the name rises word by word through a mask, the role settles into its spacing,
     the sound button follows. The film itself never fades in. */
  .hero__word { animation: unmask 2s both; }
  .hero__word-in { animation: name-rise 1.5s cubic-bezier(0.2, 0.7, 0.2, 1) 0.1s both; }
  .hero__word + .hero__word .hero__word-in { animation-delay: 0.28s; }
  .hero__role { animation: settle 1.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.6s both; }
  .listen { animation: rise 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) 0.9s both; }
  @keyframes unmask {
    from, 99% { clip-path: inset(-0.2em -0.12em -0.04em -0.12em); }
    to { clip-path: none; }
  }
  @keyframes name-rise {
    from { transform: translateY(125%); }
    to { transform: none; }
  }
  @keyframes settle {
    from { opacity: 0; letter-spacing: 0.24em; }
    to { opacity: 1; }
  }
  @keyframes rise {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
  }
}

/* "Reduce Motion" on the visitor's device (iPhone: 設定 › アクセシビリティ › 動作 › 視差効果を減らす).
   What that setting asks to be spared is travel, so nothing rises, slides, spreads, sharpens or follows
   the scroll. Everything that would have, dissolves in instead — in the same order, at the same pace.
   The film still plays: it is the subject of the page, slow and silent, with its pause button on the
   first screen. (Until 2026-11-30 this block switched every animation and the film off; on a phone with
   the setting on, the page then looked as if it had stopped working.) */
@media (prefers-reduced-motion: reduce) {
  /* Opening titles: the same sequence, as dissolves. */
  .hero__word-in { animation: dissolve 1.6s ease 0.1s both; }
  .hero__word + .hero__word .hero__word-in { animation-delay: 0.3s; }
  .hero__role { animation: dissolve 1.8s ease 0.6s both; }
  .listen { animation: dissolve 1.4s ease 0.9s both; }
  @keyframes dissolve {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  /* While the music plays, its level bars stand still. */
  :root[data-bgm="playing"] .icon-bars i { height: 8px; animation: none; }
  :root[data-bgm="playing"] .icon-bars i:nth-child(2) { height: 13px; }
  :root[data-bgm="playing"] .icon-bars i:nth-child(3) { height: 6px; }

  /* Everywhere: only opacity and colour take time. Position, size, spacing, blur and clipping are put
     where they end at once — for the blocks below the film that is while they are still invisible
     (see "Motion" at the end of this file). */
  *,
  *::before,
  *::after {
    transition-property: opacity, visibility, color, background-color, border-color, outline-color,
      text-decoration-color, fill, stroke, box-shadow !important;
  }
}

/* ───────────────────────── Programme pages (below the film) ─────────────────────────
   White paper and navy are the ground and the voice. One more colour comes in, with one job:
     antique gold  hairlines, chapter numbers and the italic Latin words
   Colour changes are whole bands, not accents sprinkled everywhere: film (monochrome) → navy →
   white → navy → white → navy → white → navy. Nothing on the page is red or pink.
   From 880px up, every chapter hangs on one line five twelfths in from the left.
   No arrows anywhere: a link is an underline that inks in, a control is a ring. */

::selection {
  background: var(--blue);
  color: var(--paper);
}

main,
.site-footer {
  --cols: minmax(0, 5fr) minmax(0, 7fr);
  --col-gap: clamp(44px, 6.5vw, 96px);
}

.section {
  padding: clamp(84px, 12vw, 172px) var(--gutter) clamp(92px, 13vw, 184px);
  background: var(--paper);
}
.section__inner {
  max-width: 1180px;
  margin: 0 auto;
}

/* A hairline in antique gold. Where motion is on, it is drawn from its left end (or from its centre). */
.rule {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform-origin: 0 50%;
}
.rule--center { transform-origin: 50% 50%; }
.rule--short {
  flex: none;
  width: 36px;
}

/* Chapter opening: a gold number, one large italic word, a gold rule, then the Japanese title. */
.chapter {
  margin: 0 0 clamp(44px, 7vw, 96px);
}
.chapter__no {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 0 clamp(10px, 1.3vw, 18px);
  color: var(--gold-ink);
  font-family: var(--latin);
  font-size: clamp(19px, 1.7vw, 24px);
  font-weight: 500;
  font-variant-numeric: lining-nums;
  line-height: 1;
  letter-spacing: 0.3em;
}
.chapter__no::after {
  content: "";
  width: clamp(30px, 3.2vw, 46px);
  height: 1px;
  background: var(--gold);
}
.chapter__word {
  /* The box is the mask the word rises through: its lower edge is the gold rule. Padding keeps the
     italic's ascenders, descenders and overhang inside it. */
  margin: -0.16em 0 0 -0.05em;
  padding: 0.16em 0.12em 0.2em 0.05em;
  overflow: hidden;
  color: var(--gold);
  font-family: var(--latin);
  font-size: clamp(60px, 10.6vw, 136px);
  font-style: italic;
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.chapter__word-in { display: inline-block; }
.chapter__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px var(--col-gap);
  align-items: baseline;
  padding-top: clamp(16px, 1.8vw, 22px);
}
.chapter__title {
  margin: 0;
  color: var(--blue);
  font-family: var(--mincho);
  font-size: clamp(19px, 2.1vw, 25px);
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.2em;
}
.chapter__lead {
  max-width: 34em;
  margin: 0;
  font-size: 16px;
  line-height: 2.1;
}
@media (min-width: 880px) {
  .chapter__row { grid-template-columns: var(--cols); }
}

/* Heading inside a chapter: an italic word in gold and its Japanese title, on one gold rule. */
.subhead {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 18px;
  margin: clamp(52px, 6.5vw, 84px) 0 0;
  color: var(--blue);
  font-family: var(--mincho);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.2em;
}
.subhead [lang="en"] {
  color: var(--gold);
  font-family: var(--latin);
  font-size: clamp(30px, 3.2vw, 38px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0;
}
.subhead .rule {
  flex: none;
  margin-top: 10px;
}

/* A link is an underline: a faint rule that inks in from the left, in whatever colour the text has. */
.text-link {
  padding-bottom: 3px;
  color: var(--blue);
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.06em;
  text-decoration: none;
  background:
    linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat,
    linear-gradient(rgba(25, 43, 92, 0.4), rgba(25, 43, 92, 0.4)) 0 100% / 100% 1px no-repeat;
  background:
    linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat,
    linear-gradient(color-mix(in srgb, currentColor 42%, transparent), color-mix(in srgb, currentColor 42%, transparent)) 0 100% / 100% 1px no-repeat;
  transition: background-size 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.text-link:focus-visible { background-size: 100% 1px, 100% 1px; }
@media (hover: hover) {
  .text-link:hover { background-size: 100% 1px, 100% 1px; }
}

/* The one control shape below the film: a ring with a play (or pause) mark. */
.ring {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border: 1px solid currentColor;
  border-radius: 50%;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.ring svg { display: block; }
.ring .icon-play { margin-left: 2px; }
.ring .icon-pause { display: none; }

/* A window a word rises through. clip-path, not overflow, so the text keeps its own baseline. */
.mask {
  display: inline-block;
  clip-path: inset(-0.22em -0.12em -0.08em -0.12em);
}
.mask__in { display: inline-block; }

/* ── Prelude: the one line, on navy ── */

.prelude {
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  min-height: clamp(440px, 80vh, 780px);
  min-height: clamp(440px, 80svh, 780px);
  padding: clamp(88px, 12vw, 160px) var(--gutter) clamp(150px, 21vw, 280px);
  background: var(--blue);
  color: var(--light);
  text-align: center;
}
.prelude__inner {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: clamp(26px, 3.4vw, 46px);
}
.prelude .rule { width: clamp(56px, 7vw, 100px); }
.prelude__phrase {
  margin: 0;
  font-family: var(--mincho);
  font-size: clamp(27px, 5.2vw, 68px);
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: 0.22em;
  text-indent: 0.22em; /* balances the trailing letter-space so the line centres optically */
}
.prelude__phrase .ph { display: inline-block; }
/* A phrase far larger than the screen, tone on tone, that slides as the page is scrolled. */
.prelude__drift {
  position: absolute;
  left: 3vw;
  bottom: -0.16em;
  margin: 0;
  color: var(--blue-soft);
  font-family: var(--latin);
  font-size: clamp(104px, 23vw, 340px);
  font-style: italic;
  font-weight: 400;
  line-height: 0.8;
  letter-spacing: -0.02em;
  white-space: nowrap;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
}
.prelude__drift span {
  display: inline-block;
  transform: translate3d(calc(var(--p, 0) * -34%), 0, 0);
  will-change: transform;
}

/* ── ① Works ── */

.piece {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 30px var(--col-gap);
  padding: clamp(48px, 7vw, 100px) 0;
}
.piece:first-of-type { padding-top: 0; }
.piece + .piece { border-top: 1px solid var(--line); }
.piece__media,
.piece__text { min-width: 0; }

.piece__label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
}
.piece__kind {
  color: var(--gold-ink);
  font-family: var(--latin);
  font-size: 20px;
  font-style: italic;
  line-height: 1.3;
}
.piece__title {
  margin: 10px 0 0 -0.02em;
  color: var(--blue);
  font-family: var(--latin);
  font-size: clamp(52px, 14vw, 84px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
}
.piece__title small {
  display: block;
  margin: 12px 0 0 -0.42em; /* the opening bracket carries half a width of space of its own */
  font-family: var(--mincho);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.14em;
}
.piece__sub {
  margin: 18px 0 0;
  color: var(--ink);
  font-family: var(--mincho);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: 0.08em;
}
.piece__note {
  max-width: 37em;
  margin: 8px 0 0;
  font-size: 15.5px;
  line-height: 2.05;
  text-wrap: pretty;
}

/* Credits of a piece, ruled like the small print of a programme. */
.facts {
  max-width: 520px;
  margin: 24px 0 0;
  border-top: 1px solid var(--line);
}
.facts__row {
  display: grid;
  grid-template-columns: 7.5em minmax(0, 1fr);
  align-items: baseline;
  padding: 13px 0 12px;
  border-bottom: 1px solid var(--line);
}
.facts__row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.facts dt {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.14em;
}
.facts dd {
  margin: 0;
  color: var(--blue);
  font-size: 15px;
  line-height: 1.8;
}
.facts dd[lang="en"] {
  font-family: var(--latin);
  font-size: 21px;
  line-height: 1.35;
  letter-spacing: 0.02em;
}

@media (min-width: 880px) {
  .piece {
    grid-template-columns: var(--cols);
    align-items: center;
  }
  .piece--film .piece__media { order: 2; }
  .piece__title { font-size: clamp(46px, 5.6vw, 84px); }
}

/* Players: a still "plate" first; the real player is only fetched when the visitor asks for it. */
.player { position: relative; }
.player__open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.player__open[hidden],
.player__frame[hidden] { display: none; }
.player__frame {
  display: grid;
  gap: 8px;
}
.player__frame iframe {
  display: block;
  width: 100%;
  border: 0;
  background: var(--night);
}
.player--spotify .player__frame { max-width: 480px; }
.player--spotify .player__frame iframe {
  height: 352px;
  border-radius: 12px;
}
.player--youtube .player__frame iframe {
  height: auto;
  aspect-ratio: 16 / 9;
}
.player__close {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 2px;
  border: 0;
  background: none;
  color: var(--blue);
  font: 500 14px/1 var(--gothic);
  letter-spacing: 0.08em;
  cursor: pointer;
}
.player__close::before {
  content: "\00d7";
  font-size: 17px;
  line-height: 1;
}

/* SKY: a typographic sleeve — navy, ruled and lettered in gold. */
.plate {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  justify-items: center;
  align-items: center;
  max-width: 480px;
  aspect-ratio: 1;
  padding: clamp(34px, 10vw, 50px) clamp(24px, 6vw, 40px) clamp(30px, 8.5vw, 42px);
  background: var(--blue);
  color: var(--light);
  text-align: center;
  /* Before it appears the title is set wider than it ends up; on a 320px screen that reached 6px past
     the plate and let the whole page slide sideways. Clipped sideways only, and with "clip" rather than
     "hidden": "hidden" would stop the plate from growing taller than a square when its content needs it. */
  overflow-x: clip;
  transition: background-color 0.4s ease;
}
.plate::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid var(--gold);
  opacity: 0.85;
  pointer-events: none;
}
.plate__mark {
  color: var(--gold);
  font-family: var(--latin);
  font-size: 13.5px;
  font-weight: 600;
  font-variant-numeric: lining-nums;
  line-height: 1.9;
  letter-spacing: 0.24em;
  text-indent: 0.24em; /* balances the trailing letter-space so the lines centre optically */
  text-transform: uppercase;
}
.plate__title {
  font-family: var(--latin);
  font-size: clamp(88px, 27vw, 156px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.1em;
  text-indent: 0.1em;
}
.plate__by {
  font-family: var(--latin);
  font-size: 21px;
  font-style: italic;
  line-height: 1.3;
  letter-spacing: 0.03em;
}
.plate__action {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  font-family: var(--mincho);
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.16em;
}
:root[data-bgm="playing"] .player[data-mode="bgm"] .ring .icon-pause { display: block; }
:root[data-bgm="playing"] .player[data-mode="bgm"] .ring .icon-play { display: none; }
@media (min-width: 880px) {
  .plate__title { font-size: clamp(96px, 11.5vw, 156px); }
}

/* Mediterraneo: the video's own still in monochrome until it is played. */
.film {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--night);
  color: var(--light);
}
.film__still {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.06) brightness(0.94);
  transition: transform 1.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.film::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 13, 24, 0.78), rgba(12, 13, 24, 0.12) 52%, rgba(12, 13, 24, 0.2));
}
.film__action {
  position: absolute;
  z-index: 1;
  left: clamp(14px, 2.4vw, 26px);
  bottom: clamp(12px, 2.2vw, 24px);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mincho);
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.16em;
}
.film .ring { background: rgba(20, 21, 29, 0.3); }

@media (hover: hover) {
  .plate:hover { background: var(--blue-soft); }
  .plate:hover .ring {
    border-color: var(--light);
    background: var(--light);
    color: var(--blue);
  }
  .film:hover .film__still { transform: scale(1.03); }
  .film:hover .ring {
    border-color: var(--light);
    background: var(--light);
    color: var(--night);
  }
}

.works__notice {
  max-width: 44em;
  margin: clamp(28px, 4vw, 44px) 0 0;
  padding-top: clamp(20px, 2.6vw, 28px);
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.9;
  text-wrap: pretty; /* no last line of two or three characters */
  opacity: 0.85;
}

/* ── Coda: the afterglow of the works, on navy ── */

.coda {
  padding: clamp(76px, 10.5vw, 136px) var(--gutter);
  background: var(--blue);
  color: var(--light);
  text-align: center;
}
.coda__inner {
  display: grid;
  justify-items: center;
  gap: clamp(20px, 2.6vw, 30px);
  max-width: 1180px;
  margin: 0 auto;
}
.coda__phrase {
  margin: 0;
  font-family: var(--mincho);
  font-size: clamp(21px, 3.3vw, 40px);
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.2em;
  text-indent: 0.2em;
}
.coda .rule { width: clamp(48px, 6vw, 84px); }
.coda__link { margin: 0; }
.coda .text-link { color: var(--light); }

/* ── ② Biography ── */

.bio__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px var(--col-gap);
}
.bio__portrait {
  max-width: 460px;
  margin: 0;
  /* Its own ground, so the multiply below gives the same tone whether or not the figure is mid-transition. */
  isolation: isolate;
  background: var(--paper);
}
.bio__frame { overflow: hidden; }
.bio__portrait img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 10%;
  /* Shown in monochrome like the film; multiply lets the studio white take the paper's tone. */
  filter: grayscale(1) contrast(1.05);
  mix-blend-mode: multiply;
}
.bio__portrait figcaption {
  /* Role and name: on one line where there is room; otherwise the name starts a line of its own. */
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.1em;
  margin-top: 14px;
  color: var(--gold-ink);
  font-family: var(--mincho);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.24em;
}

.bio__body { min-width: 0; }
.bio__profile p {
  max-width: 37em;
  margin: 0 0 1.1em;
  font-size: 16.5px;
  line-height: 2.2;
}
.bio__profile p:last-child { margin-bottom: 0; }
.bio__profile .bio__statement {
  max-width: none;
  margin-bottom: 22px;
  color: var(--blue);
  font-family: var(--mincho);
  font-size: clamp(22px, 2.6vw, 33px);
  font-weight: 500;
  line-height: 1.75;
  letter-spacing: 0.1em;
}

@media (min-width: 880px) {
  .bio__grid {
    grid-template-columns: var(--cols);
    align-items: center;
  }
  /* The caption runs down the outer edge of the portrait. */
  .bio__portrait {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    max-width: none;
  }
  .bio__portrait img {
    aspect-ratio: 2 / 3;
    object-position: 50% 0;
  }
  .bio__portrait figcaption {
    margin: 0;
    writing-mode: vertical-rl;
    line-height: 1;
    letter-spacing: 0.34em;
  }
}

/* ── Honours: the four credentials, a full band of navy ruled in gold ── */

.honours {
  padding: clamp(80px, 11vw, 152px) var(--gutter) clamp(72px, 10vw, 136px);
  background: var(--blue);
  color: var(--light);
}
.honours .subhead {
  margin-top: 0;
  color: var(--light);
}
.credits {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  column-gap: var(--col-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}
.credit {
  position: relative;
  padding: clamp(26px, 3vw, 38px) 0 clamp(28px, 3.2vw, 42px);
}
.credit::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
  transform-origin: 0 50%;
}
.credit__label {
  margin: 0;
  color: var(--gold);
  font-family: var(--latin);
  font-size: 20px;
  font-style: italic;
  line-height: 1.45;
}
.credit__title {
  margin: 6px 0 0;
  font-family: var(--mincho);
  font-size: clamp(19px, 1.75vw, 22px);
  font-weight: 500;
  line-height: 1.75;
  letter-spacing: 0.06em;
}
.credit__text {
  max-width: 34em;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  line-height: 2;
}
.credit__links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  margin: 12px 0 0;
}
.honours .text-link { color: var(--light); }
@media (min-width: 880px) {
  .credits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ── Recent works ── */

.recent__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0 var(--col-gap);
  align-items: start;
}
.recent .subhead { margin-top: 0; }
.chrono { margin: 0; }
.chrono__row {
  display: grid;
  grid-template-columns: 4.4em minmax(0, 1fr);
  align-items: baseline;
  padding: 18px 0 16px;
  border-bottom: 1px solid var(--line);
}
.chrono dt {
  color: var(--gold-ink);
  font-family: var(--latin);
  font-size: 24px;
  font-weight: 500;
  font-variant-numeric: lining-nums;
  line-height: 1.3;
  letter-spacing: 0.02em;
}
.chrono dd {
  margin: 0;
  color: var(--ink);
  font-family: var(--mincho);
  font-size: 16.5px;
  font-weight: 500;
  line-height: 1.85;
  letter-spacing: 0.05em;
}
.chrono__note {
  display: block;
  font-family: var(--gothic);
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 0;
}
/* A work's title stays in one piece when the line has to break. */
.chrono cite,
.credit__title cite {
  font-style: normal;
  white-space: nowrap;
}
.chrono dd .text-link {
  display: inline-block;
  margin-top: 4px;
  font-family: var(--gothic);
  font-weight: 400;
}
@media (min-width: 880px) {
  .recent__grid { grid-template-columns: var(--cols); }
  /* The heading stands in the left column; the list opens on a gold rule of its own. */
  .recent .subhead {
    flex-direction: column;
    gap: 6px;
  }
  .recent .subhead .rule { display: none; }
  .recent .chrono { border-top: 1px solid var(--gold); }
  .recent .chrono__row { grid-template-columns: 6.5em minmax(0, 1fr); }
}

/* ── ③ Contact ── */

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(36px, 6vw, 52px) var(--col-gap);
}
/* A still from the film: on phones it runs edge to edge, on wide screens it stays beside the form. */
.contact__plate {
  overflow: hidden;
  margin: 0 calc(var(--gutter) * -1);
  background: var(--night);
}
.contact__plate img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: var(--plate-pos, 50% 50%);
}
.contact__main {
  min-width: 0;
  container: col / inline-size;
}
@media (min-width: 600px) {
  .contact__plate img { aspect-ratio: 16 / 9; }
}
@media (min-width: 880px) {
  .contact__grid {
    grid-template-columns: var(--cols);
    align-items: start;
  }
  .contact__plate {
    position: sticky;
    top: calc(var(--header-h) + 32px);
    margin: 0;
  }
  .contact__plate img {
    aspect-ratio: 4 / 5;
    max-height: calc(100vh - var(--header-h) - 64px);
    max-height: calc(100svh - var(--header-h) - 64px);
  }
}

/* Three kinds of work. Each row is one target that leads to the form with its kind chosen. */
.services {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--gold);
}
.service {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0 28px;
  padding: 24px 0 22px;
  border-bottom: 1px solid var(--line);
}
.service::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 -14px;
  background: var(--blue); /* a breath of navy behind the row under the pointer */
  opacity: 0;
  transition: opacity 0.35s ease;
}
.service__en {
  margin: 0;
  color: var(--gold-ink);
  font-family: var(--latin);
  font-size: 19px;
  font-style: italic;
  line-height: 1.4;
}
.service__title {
  margin: 2px 0 0;
  color: var(--blue);
  font-family: var(--mincho);
  font-size: clamp(21px, 2.2vw, 26px);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.12em;
}
.service__text {
  max-width: 32em;
  margin: 6px 0 0;
  font-size: 15px;
  line-height: 1.95;
}
.service__link {
  justify-self: start;
  margin-top: 14px;
  padding-bottom: 5px;
  color: var(--blue);
  font-family: var(--mincho);
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.14em;
  text-decoration: none;
  background:
    linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat,
    linear-gradient(rgba(25, 43, 92, 0.4), rgba(25, 43, 92, 0.4)) 0 100% / 100% 1px no-repeat;
  transition: background-size 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.service__link::after {
  content: "";
  position: absolute;
  inset: 0;
}
@media (hover: hover) {
  .service:hover::before { opacity: 0.07; }
  .service:hover .service__link { background-size: 100% 1px, 100% 1px; }
}
@supports selector(:has(a)) {
  .service:has(.service__link:focus-visible) {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
  }
  .service__link:focus-visible { outline: none; }
}

.inquiry {
  margin-top: clamp(56px, 7vw, 92px);
  scroll-margin-top: calc(var(--header-h) + 28px);
}
.inquiry .subhead { margin-top: 0; }

/* A field no visitor sees or reaches: only programs that fill in every field write in it, and the server
   drops whatever arrives with it filled. Kept off the page rather than display:none, which such programs skip. */
.inquiry__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  margin: 0;
  overflow: hidden;
}

.choice {
  min-width: 0;
  margin: 30px 0 0;
  padding: 0;
  border: 0;
}
.choice legend { padding: 0; }
.field label,
.choice__legend {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-family: var(--mincho);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.1em;
}
.field__req {
  padding: 0 7px;
  border: 1px solid currentColor;
  color: var(--gold-ink);
  font-family: var(--gothic);
  font-size: 12.5px;
  line-height: 1.7;
  letter-spacing: 0.1em;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.chip {
  position: relative;
  display: inline-flex;
}
.chip input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(30, 42, 82, 0.42);
  color: var(--ink);
  font-family: var(--mincho);
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.1em;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.chip input:checked + span {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--paper);
}
.chip input:focus-visible + span {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
.choice[aria-invalid="true"] .chip span { border-color: #b3261e; }
@media (hover: hover) {
  .chip input:not(:checked):hover + span {
    border-color: var(--blue);
    color: var(--blue);
  }
}

.inquiry__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px 32px;
  margin-top: 28px;
}
.field {
  display: grid;
  gap: 6px;
  margin: 0;
}
.field input,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 2px;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  background-color: transparent;
  color: var(--ink);
  font: 400 16px/1.6 var(--gothic); /* 16px keeps iOS from zooming the page on focus */
  -webkit-appearance: none;
  appearance: none;
}
.field textarea {
  min-height: 168px;
  padding: 12px 14px;
  border: 1px solid rgba(30, 42, 82, 0.42);
  resize: vertical;
}
.field ::placeholder { color: rgba(30, 42, 82, 0.66); }
.field input:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
.field [aria-invalid="true"] { border-color: #b3261e; }

/* The last call to act. */
.inquiry__actions { margin: 36px 0 0; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 60px;
  padding: 0 40px;
  border: 1px solid var(--blue);
  border-radius: 0;
  background: var(--blue);
  color: var(--light);
  font-family: var(--mincho);
  font-size: 17px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.16em;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}
@media (hover: hover) {
  .button:not(:disabled):hover {
    background: transparent;
    color: var(--blue);
  }
}
/* While the entries are on their way the button waits, so it cannot be pressed twice. */
.button:disabled {
  opacity: 0.62;
  cursor: progress;
}
.inquiry__result {
  margin: 18px 0 0;
  padding: 14px 18px;
  border: 1px solid var(--blue);
  color: var(--blue);
  font-size: 15px;
  line-height: 1.9;
}
.inquiry__result[hidden] { display: none; }

/* Rows open into two columns wherever their own column is wide enough (phones stay stacked). */
@container col (min-width: 540px) {
  .service {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding: 28px 0 26px;
  }
  .service__en,
  .service__title,
  .service__text { grid-column: 1; }
  .service__link {
    grid-column: 2;
    grid-row: 1 / span 3;
    margin-top: 0;
  }

  .inquiry__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field--wide { grid-column: 1 / -1; }
  .button {
    width: auto;
    min-width: 300px;
  }
}

/* ───────────────────────── Footer: the back cover ───────────────────────── */

.site-footer {
  overflow: hidden;
  padding: clamp(64px, 9vw, 128px) var(--gutter) calc(26px + env(safe-area-inset-bottom, 0px));
  background: var(--blue);
  color: var(--light);
}
.site-footer__inner {
  max-width: 1180px;
  margin: 0 auto;
}
.site-footer p { margin: 0; }
.site-footer__name {
  margin-left: -0.04em;
  font-family: var(--latin);
  font-size: clamp(54px, 13.4vw, 196px);
  font-weight: 500;
  line-height: 0.88;
  letter-spacing: -0.015em;
  white-space: nowrap;
}
.site-footer__name span {
  display: inline-block;
  /* Arrives from a little to the right as the back cover is scrolled to, like a closing credit. */
  transform: translate3d(calc((1 - var(--p, 1)) * 9%), 0, 0);
  will-change: transform;
}
.site-footer .site-footer__role {
  margin-top: clamp(12px, 1.6vw, 22px);
  color: var(--gold);
  font-family: var(--latin);
  font-size: clamp(20px, 2.4vw, 34px);
  font-style: italic;
  line-height: 1.2;
}
.site-footer .rule { margin-top: clamp(44px, 6.5vw, 92px); }
.site-footer__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px 32px;
  padding-top: 18px;
}
.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer__links a {
  display: inline-block;
  padding-bottom: 3px;
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.08em;
  text-decoration: none;
  background:
    linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.45)) 0 100% / 100% 1px no-repeat;
  transition: background-size 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.site-footer__links a[lang="en"] {
  font-family: var(--latin);
  font-size: 19.5px;
  line-height: 1.35;
  letter-spacing: 0.04em;
}
.site-footer__links a:focus-visible { background-size: 100% 1px, 100% 1px; }
@media (hover: hover) {
  .site-footer__links a:hover { background-size: 100% 1px, 100% 1px; }
}
/* ───────────────────────── Motion ─────────────────────────
   Quiet, slow and once only, like opening titles and closing credits. site.js switches it on with a
   class on <html> and marks each block .is-in as it is scrolled to — so without script, or in print,
   everything is simply there. Nothing here holds the page or changes how it scrolls.
   With "Reduce Motion" on the visitor's device the same blocks arrive in the same order, but each only
   dissolves in where it stands (the last rules of this section, and the note above "Programme pages").
   Kinds, each used where it suits the words:
     rise      a word rises through a mask                      (Programme, SKY, the profile's first lines)
     line      a gold hairline is drawn, then the title follows (every chapter and heading)
     expand    letter-spacing settles into place                (Biography, SKY on its sleeve)
     focus     blurred words come into focus                    (the prelude's line, Contact)
     stagger   letters or rows arrive one after another         (Mediterraneo, the coda, the lists)
     drift     very large words slide with the scroll           (the prelude, the back cover; see site.js) */

.has-reveal [data-reveal] {
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.2s var(--ease), transform 1.2s var(--ease);
}
.has-reveal [data-reveal="fade"] { transform: none; }
.has-reveal [data-reveal].is-in {
  opacity: 1;
  transform: none;
}
/* A scene does not move as a block: its parts are choreographed below. */
.has-reveal [data-reveal="scene"] {
  opacity: 1;
  transform: none;
  transition: none;
}

/* line */
.has-reveal .rule {
  transform: scaleX(0);
  transition: transform 1.5s cubic-bezier(0.65, 0, 0.2, 1) var(--d, 0s);
}
.has-reveal .is-in .rule { transform: none; }

/* rise */
.has-reveal .mask__in {
  transform: translateY(150%);
  transition: transform 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0s);
}
.has-reveal .is-in .mask__in { transform: none; }

/* stagger: letters (site.js wraps them in .ch and numbers them with --i) */
.ch { display: inline-block; }
.has-reveal [data-split] .ch {
  opacity: 0;
  transition: opacity 1.1s ease, transform 1.3s cubic-bezier(0.2, 0.7, 0.2, 1), filter 1.3s ease;
  transition-delay: calc(var(--d, 0s) + var(--i, 0) * var(--step, 50ms));
}
.has-reveal [data-split="rise"] .ch { transform: translateY(0.5em); }
.has-reveal [data-split="ripple"] .ch {
  transform: translateY(0.55em);
  filter: blur(5px);
}
.has-reveal .is-in [data-split] .ch {
  opacity: 1;
  transform: none;
  filter: none;
}

/* Chapter openings: number and rule first, then the word, then the Japanese title and lead. */
.has-reveal .chapter__no,
.has-reveal .chapter__title,
.has-reveal .chapter__lead {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 1.2s ease, transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.has-reveal .chapter__title { transition-delay: 1.05s; }
.has-reveal .chapter__lead { transition-delay: 1.25s; }
.has-reveal .chapter.is-in .chapter__no,
.has-reveal .chapter.is-in .chapter__title,
.has-reveal .chapter.is-in .chapter__lead {
  opacity: 1;
  transform: none;
}
.has-reveal .chapter__word-in {
  transition: transform 1.5s cubic-bezier(0.2, 0.7, 0.2, 1) 0.45s, opacity 1.5s ease 0.45s,
    letter-spacing 2.2s cubic-bezier(0.2, 0.7, 0.2, 1) 0.45s, filter 1.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.45s;
}
/* I Programme — rises out of the rule */
.has-reveal .chapter--rise .chapter__word-in { transform: translateY(150%); }
/* II Biography — the letters draw together */
.has-reveal .chapter--expand .chapter__word-in {
  opacity: 0;
  letter-spacing: 0.34em;
}
/* III Contact — comes into focus (not masked: the blur must be free to spread) */
.chapter--focus .chapter__word { overflow: visible; }
.has-reveal .chapter--focus .chapter__word-in {
  opacity: 0;
  filter: blur(22px);
}
.has-reveal .chapter.is-in .chapter__word-in {
  opacity: 1;
  transform: none;
  letter-spacing: inherit;
  filter: none;
}

/* Headings inside a chapter */
.has-reveal .subhead {
  opacity: 0;
  transition: opacity 1.2s ease;
}
.has-reveal .subhead.is-in,
.has-reveal .is-in .subhead { opacity: 1; }

/* Prelude — the line comes into focus, phrase after phrase */
.has-reveal .prelude__phrase .ph {
  opacity: 0;
  filter: blur(18px);
  transform: translateY(12px);
  transition: opacity 1.8s ease, filter 2.2s cubic-bezier(0.2, 0.7, 0.2, 1), transform 2.2s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: 0.5s;
}
.has-reveal .prelude__phrase .ph:last-child { transition-delay: 1.1s; }
.has-reveal .prelude.is-in .prelude__phrase .ph {
  opacity: 1;
  filter: none;
  transform: none;
}
.has-reveal .prelude__drift {
  opacity: 0;
  transition: opacity 2.4s ease 0.8s;
}
.has-reveal .prelude.is-in .prelude__drift { opacity: 1; }

/* Works — the sleeve and the still settle, the title follows, then the small print */
.has-reveal .piece__media,
.has-reveal .piece__label,
.has-reveal .piece__title small,
.has-reveal .piece__sub,
.has-reveal .piece__note,
.has-reveal .piece .facts {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 1.2s ease, transform 1.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.has-reveal .piece__label { transition-delay: 0.3s; }
.has-reveal .piece .rule { --d: 0.3s; }
.has-reveal .piece .mask__in { --d: 0.5s; }
.has-reveal .piece [data-split] { --d: 0.5s; }
.has-reveal .piece__title small { transition-delay: 1s; }
.has-reveal .piece__sub { transition-delay: 0.9s; }
.has-reveal .piece__note { transition-delay: 1.05s; }
.has-reveal .piece .facts { transition-delay: 1.2s; }
.has-reveal .piece--film .piece__sub { transition-delay: 1.15s; }
.has-reveal .piece.is-in .piece__media,
.has-reveal .piece.is-in .piece__label,
.has-reveal .piece.is-in .piece__title small,
.has-reveal .piece.is-in .piece__sub,
.has-reveal .piece.is-in .piece__note,
.has-reveal .piece.is-in .facts {
  opacity: 1;
  transform: none;
}
/* SKY on its sleeve: wide open, then drawn into place */
.has-reveal .plate__title {
  opacity: 0;
  letter-spacing: 0.36em;
  text-indent: 0.36em;
  transition: opacity 1.6s ease 0.35s, letter-spacing 2.4s cubic-bezier(0.2, 0.7, 0.2, 1) 0.35s,
    text-indent 2.4s cubic-bezier(0.2, 0.7, 0.2, 1) 0.35s;
}
.has-reveal .piece.is-in .plate__title {
  opacity: 1;
  letter-spacing: 0.1em;
  text-indent: 0.1em;
}

/* Coda — the phrase ripples in, softly */
.has-reveal .coda [data-split] { --step: 60ms; }
.has-reveal .coda .rule { --d: 0.9s; }
.has-reveal .coda__link {
  opacity: 0;
  transition: opacity 1.4s ease 1.3s;
}
.has-reveal .coda.is-in .coda__link { opacity: 1; }

/* Biography — the portrait is uncovered from the top; the first lines rise one after the other */
.has-reveal .bio__portrait img {
  clip-path: inset(0 0 100% 0);
  transform: scale(1.06);
  transition: clip-path 1.7s cubic-bezier(0.65, 0, 0.2, 1), transform 2.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.has-reveal .bio__portrait.is-in img {
  clip-path: inset(0);
  transform: none;
}
.has-reveal .bio__portrait figcaption {
  opacity: 0;
  transition: opacity 1.4s ease 1.2s;
}
.has-reveal .bio__portrait.is-in figcaption { opacity: 1; }
.has-reveal .bio__statement .mask:last-child .mask__in { --d: 0.22s; }
.has-reveal .bio__profile p:not(.bio__statement) {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 1.2s ease 0.7s, transform 1.3s cubic-bezier(0.2, 0.7, 0.2, 1) 0.7s;
}
.has-reveal .bio__profile p:not(.bio__statement):last-child { transition-delay: 0.9s; }
.has-reveal .bio__profile.is-in p {
  opacity: 1;
  transform: none;
}

/* Honours and lists — rows arrive in turn, each on its own gold rule */
.has-reveal .credit,
.has-reveal .chrono__row,
.has-reveal .service {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 1.1s ease, transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: calc(var(--row, 0) * 140ms);
}
.has-reveal .chrono__row { transition-delay: calc(var(--row, 0) * 70ms); }
.has-reveal .is-in .credit,
.has-reveal .is-in .chrono__row,
.has-reveal .is-in .service {
  opacity: 1;
  transform: none;
}
.has-reveal .credit::after {
  transform: scaleX(0);
  transition: transform 1.4s cubic-bezier(0.65, 0, 0.2, 1);
  transition-delay: calc(0.2s + var(--row, 0) * 140ms);
}
.has-reveal .is-in .credit::after { transform: none; }
:is(.credit, .chrono__row, .service):nth-child(2) { --row: 1; }
:is(.credit, .chrono__row, .service):nth-child(3) { --row: 2; }
:is(.credit, .chrono__row, .service):nth-child(4) { --row: 3; }
:is(.credit, .chrono__row, .service):nth-child(5) { --row: 4; }
:is(.credit, .chrono__row, .service):nth-child(6) { --row: 5; }

/* Contact — the still is uncovered from the left */
.has-reveal .contact__plate img {
  clip-path: inset(0 100% 0 0);
  transform: scale(1.06);
  transition: clip-path 1.7s cubic-bezier(0.65, 0, 0.2, 1), transform 2.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.has-reveal .contact__plate.is-in img {
  clip-path: inset(0);
  transform: none;
}

/* Back cover — the name rises, the rule is drawn, the credits follow */
.has-reveal .site-footer__name span {
  opacity: 0;
  transition: opacity 1.6s ease;
}
.has-reveal .site-footer.is-in .site-footer__name span { opacity: 1; }
.has-reveal .site-footer__role,
.has-reveal .site-footer__row {
  opacity: 0;
  transition: opacity 1.4s ease 0.7s;
}
.has-reveal .site-footer .rule { --d: 0.5s; }
.has-reveal .site-footer__row { transition-delay: 1.2s; }
.has-reveal .site-footer.is-in .site-footer__role,
.has-reveal .site-footer.is-in .site-footer__row { opacity: 1; }

/* Reduced motion. Most entrances above already fade as they move, and with the movement taken out
   (only opacity may take time — see the note above "Programme pages") the fade is what remains.
   These are the ones that only move: a hairline that is drawn, a word that rises through its mask, a
   picture that is uncovered. Left alone they would jump into view; here they dissolve in instead, with
   the timing they already have. */
@media (prefers-reduced-motion: reduce) {
  .has-reveal .rule,
  .has-reveal .mask__in,
  .has-reveal .chapter--rise .chapter__word-in,
  .has-reveal .bio__portrait img,
  .has-reveal .contact__plate img,
  .has-reveal .credit::after { opacity: 0; }
  .has-reveal .is-in .rule,
  .has-reveal .is-in .mask__in,
  .has-reveal .chapter.is-in .chapter__word-in,
  .has-reveal .bio__portrait.is-in img,
  .has-reveal .contact__plate.is-in img { opacity: 1; }
  .has-reveal .is-in .credit::after { opacity: 0.6; } /* its own strength, as set on .credit::after */
}

@media print {
  .site-header,
  .stage__toggle,
  .skip-link { display: none; }
  .hero { height: auto; min-height: 0; }
  .has-reveal *,
  .has-reveal *::before,
  .has-reveal *::after {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    clip-path: none !important;
    transition: none !important;
  }
  .contact__plate { position: static; }
}
