/* Self-hosted fonts (SIL Open Font License), Latin + Latin Extended subsets from Google Fonts, fetched 8 Oct 2026.
   Hanken Grotesk is variable: one file covers 400 and 500. */
@font-face { font-family: 'Hanken Grotesk'; font-style: italic; font-weight: 400; font-display: swap;
  src: url(fonts/hanken-grotesk-italic-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Hanken Grotesk'; font-style: italic; font-weight: 400; font-display: swap;
  src: url(fonts/hanken-grotesk-italic-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url(fonts/hanken-grotesk-normal-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url(fonts/hanken-grotesk-normal-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Zen Old Mincho'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(fonts/zen-old-mincho-normal-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Zen Old Mincho'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(fonts/zen-old-mincho-normal-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Namiko Gahier-Ogawa — one stylesheet for every page.
   Ink on paper, and one colour per production, taken from its own photograph like a lighting gel
   (build.py → gel(): --gel for bands and swatches, --gel-ink for small text, --tint for the page wash).
   Display: Zen Old Mincho (Latin of a Japanese Mincho face) · Text: Hanken Grotesk — both self-hosted, see fonts.css. */

:root {
  --paper: #fbfbf9;
  --ink: #161616;
  --graphite: #6f6f6c;
  --rule: #e1e1dc;
  --display: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", Georgia, serif;
  --text: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1280px;
  --fade: 450ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
img[style*="--w"] { max-width: min(100%, var(--w)); max-height: var(--h); }  /* never shown larger than the file */
p, ul, ol, dl, figure, blockquote, h1, h2, h3 { margin: 0; }
ul, ol { padding: 0; list-style: none; }
i { font-style: italic; }

a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--rule); transition: text-decoration-color .2s; }
a:hover { text-decoration-color: currentColor; }
a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 1px; }
.arrow { font-size: .75em; margin-left: .2em; position: relative; top: -.05em; }
::selection { background: var(--ink); color: var(--paper); }

/* ---------------------------------------------------------------- frame */
.masthead, main, .footer { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.masthead {
  display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 32px;
  padding-top: clamp(20px, 3.2vw, 40px); padding-bottom: 8px;
}
.name { font: 400 clamp(21px, 2vw, 25px)/1.2 var(--display); text-decoration: none; letter-spacing: .005em; }
.nav { display: flex; gap: clamp(18px, 2.4vw, 32px); font-size: 15px; }
.nav a { text-decoration: none; color: var(--graphite); }
.nav a:hover, .nav a[aria-current] { color: var(--ink); }
.nav a[aria-current] { text-decoration: underline; text-decoration-color: currentColor; text-underline-offset: 6px; }
main { padding-bottom: clamp(64px, 10vw, 140px); }
.footer {
  display: flex; flex-wrap: wrap; gap: 6px 28px;
  padding-top: 20px; padding-bottom: 40px; border-top: 1px solid var(--rule);
  font-size: 14px; color: var(--graphite);
}
.label {
  font: 500 12px/1.4 var(--text); letter-spacing: .09em; text-transform: uppercase; color: var(--graphite);
}
.page-title { font: 400 clamp(40px, 5.4vw, 68px)/1.05 var(--display); letter-spacing: -.01em; margin-bottom: .6em; }

/* ---------------------------------------------------------------- home: the list cues the stage */
.tagline { color: var(--graphite); font-size: 15px; margin-bottom: clamp(40px, 7vw, 96px); }
.home { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.index .label { margin-bottom: 18px; }
.rows { border-top: 1px solid rgba(22, 22, 22, .12); }
.rows li { border-bottom: 1px solid rgba(22, 22, 22, .12); }
.row {
  display: grid; grid-template-columns: 6.2rem minmax(0, 1fr); column-gap: 12px; row-gap: 2px;
  padding: 16px 0 15px; text-decoration: none; transition: opacity var(--fade);
}
.row-year { grid-row: 1 / span 2; font-size: 14px; color: var(--graphite); padding-top: .5em; font-variant-numeric: tabular-nums; }
.row-title { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .45em; font: 400 clamp(22px, 2.2vw, 28px)/1.2 var(--display); }
.row-composer { font: 400 15px/1.3 var(--text); color: var(--graphite); white-space: nowrap; }
@media (max-width: 899px) { .row-composer { flex-basis: 100%; margin: 2px 0; } }
.row-company, .row-role { font-size: 14px; color: var(--graphite); }
.row-company { grid-column: 2; }
.row-role { grid-column: 2; }
.row-company::after { content: ""; }
@media (min-width: 1100px) {
  .row { grid-template-columns: 6.2rem minmax(0, 1fr) auto; }
  .row-company { grid-column: 2; }
  .row-role { grid-column: 3; grid-row: 1 / span 2; padding-top: .5em; text-align: right; }
}
/* house lights: when one production is pointed at, the others dim */
@media (hover: hover) {
  .rows:hover .row:not(:hover), .rows:has(.row:focus-visible) .row:not(:focus-visible) { opacity: .32; }
}
.more { margin-top: 22px; font-size: 15px; color: var(--graphite); }

/* the stage: every cover is stacked at the top of the panel, one is lit at a time */
.stage { position: sticky; top: 28px; margin-top: 41px; display: grid; }
.cue { grid-area: 1 / 1; opacity: 0; transition: opacity var(--fade) ease; pointer-events: none; }
.cue.is-on { opacity: 1; }
.cue img { width: 100%; height: auto; max-height: min(calc(100vh - 280px), var(--h)); object-fit: contain; object-position: left top; }
.cue figcaption { margin-top: 12px; font-size: 13px; line-height: 1.45; color: var(--graphite); }

@media (max-width: 899px) {
  .home { grid-template-columns: 1fr; }
  .stage { order: -1; position: static; margin-top: 0; }
  .cue { opacity: 1; }
  .cue:not(.is-on) { display: none; }
  .cue img { max-height: min(75vh, var(--h)); }
  .cue figcaption { margin-top: 10px; }
  .tagline { margin-bottom: 28px; }
}

/* ---------------------------------------------------------------- work page */
.work-head { padding-top: clamp(40px, 7vw, 96px); margin-bottom: clamp(36px, 5vw, 64px); max-width: 52rem; }
.work-title { font: 400 clamp(44px, 7.4vw, 96px)/1 var(--display); letter-spacing: -.015em; }
.work-sub { font: 400 clamp(20px, 2.4vw, 28px)/1.3 var(--display); color: var(--graphite); margin-top: .35em; }
.work-composer { font-size: 19px; margin-top: 22px; }
.work-facts { margin-top: 4px; }
.work-place { color: var(--graphite); font-size: 15px; margin-top: 2px; }
.intro, .award { margin-top: 18px; max-width: 36em; }
.award { font-size: 15px; color: var(--graphite); }

.lead img, .shot img { background: #ecece8; }
.lead img { width: auto; max-height: min(86vh, var(--h)); }
.lead-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: clamp(16px, 2vw, 28px); }
.more-photos { margin-top: clamp(56px, 8vw, 112px); }
.shots { columns: 2; column-gap: clamp(16px, 2vw, 28px); }
.shot { break-inside: avoid; margin-bottom: clamp(16px, 2vw, 28px); }
.credit { font-size: 14px; color: var(--graphite); }
@media (max-width: 760px) { .shots { columns: 1; } }

.programme { margin-top: clamp(56px, 8vw, 112px); border-top: 1px solid var(--rule); }
.block { display: grid; grid-template-columns: 13rem minmax(0, 1fr); gap: 12px 32px; padding: 22px 0 26px; border-bottom: 1px solid var(--rule); }
.block .label { padding-top: .3em; }
.block-body { max-width: 46rem; }
.pairs > div { display: grid; grid-template-columns: minmax(9rem, 16rem) minmax(0, 1fr); gap: 0 24px; padding: 2px 0; }
.pairs dt { color: var(--graphite); }
.pairs dd { margin: 0; }
.plain li + li { margin-top: 2px; }
.links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.block-body > p + p { margin-top: .6em; }

.quote + .quote { margin-top: 30px; }
.quote blockquote p { font: 400 clamp(18px, 1.7vw, 21px)/1.6 var(--display); hanging-punctuation: first; }
.quote figcaption { margin-top: 8px; font-size: 14px; color: var(--graphite); }
.stars { letter-spacing: .08em; font-size: 12px; color: var(--ink); white-space: nowrap; }
.ratings { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 4px 26px; }
.ratings:first-child { margin-top: 0; }
.also { margin-top: 18px; font-size: 15px; color: var(--graphite); }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: clamp(48px, 7vw, 96px); }
.pager a { text-decoration: none; display: flex; flex-direction: column; gap: 4px; }
.pager .next { text-align: right; align-items: flex-end; }
.pager .t { font: 400 clamp(22px, 2.4vw, 30px)/1.2 var(--display); }
.pager a:hover .t { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }

@media (max-width: 760px) {
  .block { grid-template-columns: 1fr; gap: 10px; }
  .pairs > div { grid-template-columns: 1fr; padding: 4px 0; }
  .pairs dt { font-size: 14px; }
}

/* ---------------------------------------------------------------- about */
.about-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); padding-top: clamp(40px, 7vw, 96px); align-items: start; }
.portrait { position: sticky; top: 28px; }
.portrait figcaption, .second figcaption { margin-top: 10px; font-size: 13px; color: var(--graphite); }
.bio p { max-width: 36em; }
.bio p + p { margin-top: 1em; }
.links-inline { margin-top: 1.4em !important; font-size: 15px; }

.chronology, .background { margin-top: clamp(72px, 10vw, 140px); }
.chronology > .label, .background > .label { display: block; margin-bottom: 18px; }
.chron-year { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 4px 24px; padding: 16px 0; border-top: 1px solid var(--rule); }
.chron-year h3 { font: 400 15px/1.6 var(--text); color: var(--graphite); font-variant-numeric: tabular-nums; }
.chron-year ul { max-width: 46rem; }
.chron-year li + li { margin-top: .55em; }
.chron-year li a:not([target]) { text-decoration-color: currentColor; }
.background { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.background > .label { grid-column: 1 / -1; margin-bottom: 0; }
.background-body p { max-width: 36em; }
.background-body p + p { margin-top: 1em; }
.second { position: sticky; top: 28px; }

@media (max-width: 899px) {
  .about-head, .background { grid-template-columns: 1fr; }
  .portrait, .second { position: static; max-width: 420px; }
  .chron-year { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------- press */
.press { padding-top: clamp(40px, 7vw, 96px); }
.press-group { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 16px clamp(32px, 5vw, 80px); padding: 32px 0 40px; border-top: 1px solid var(--rule); }
.press-work { font-weight: 400; }
.press-work a { text-decoration: none; }
.press-work .t { display: block; font: 400 clamp(24px, 2.4vw, 30px)/1.2 var(--display); }
.press-work a:hover .t { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.press-meta { display: block; margin-top: 6px; font: 400 14px/1.5 var(--text); color: var(--graphite); }
.press-body { max-width: 46rem; }
@media (max-width: 899px) { .press-group { grid-template-columns: 1fr; } }

.notfound { padding-top: 96px; }

/* ---------------------------------------------------------------- gels: each production's colour */
/* home: a swatch per row; pointing at a production washes the page in its tint (site.js sets --wash) */
body { background: var(--wash, var(--paper)); transition: background-color 700ms ease; }
.row-year { display: flex; align-items: baseline; gap: 10px; white-space: nowrap; }
.row-year::before { content: ""; flex: none; width: 10px; height: 10px; background: var(--gel); transform: translateY(1px); }
.row .t { transition: color var(--fade); }
.row:hover .t, .row:focus-visible .t { color: var(--gel-ink); }

/* production and about pages open on a full-width band of the colour; a pale colour (gel-light) takes dark text */
.has-gel { --on-gel: var(--paper); --on-gel-soft: rgba(251, 251, 249, .72); }
.has-gel.gel-light { --on-gel: var(--ink); --on-gel-soft: rgba(22, 22, 22, .62); }
.has-gel .masthead, .has-gel .work-head, .has-gel .about-head {
  background: var(--gel); box-shadow: 0 0 0 100vmax var(--gel); clip-path: inset(0 -100vmax); color: var(--on-gel);
}
.has-gel .masthead .nav a { color: var(--on-gel-soft); }
.has-gel .masthead .nav a:hover, .has-gel .masthead .nav a[aria-current] { color: var(--on-gel); }
.has-gel .work-head { margin-bottom: 0; padding-bottom: clamp(96px, 12vw, 170px); max-width: none; }
.has-gel .work-head > * { max-width: 52rem; }
.has-gel .work-sub, .has-gel .work-place, .has-gel .award { color: var(--on-gel-soft); }
.has-gel .lead { position: relative; margin-top: calc(-1 * clamp(64px, 9vw, 130px)); }
.has-gel .label { color: var(--gel-ink); }
.has-gel a { text-decoration-color: color-mix(in srgb, var(--gel-ink) 45%, transparent); }
.has-gel .about-head { padding-bottom: clamp(56px, 8vw, 110px); }
.has-gel .about-head a { color: var(--on-gel); text-decoration-color: var(--on-gel-soft); }
.has-gel .portrait figcaption { color: var(--on-gel-soft); }

/* press: each production's title in its colour */
.press-work .t { color: var(--gel-ink, var(--ink)); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
