:root {
  --night:#102423; --deep:#091b1c; --ivory:#fbefcf; --gold:#edc58a; --ink:#232925; --paper:#f5ecd8;
  --line:#cabca3; --muted:#54564b; --edge:clamp(1.15rem,5vw,5.6rem); --max:78rem;
  --display:"Cormorant Garamond",Georgia,serif; --cond:"Barlow Condensed","Arial Narrow",sans-serif;
  --body:system-ui,-apple-system,"Segoe UI",sans-serif;
}
*,*::before,*::after {box-sizing:border-box}
html {background:var(--night);scroll-padding-top:1.2rem}
body {margin:0;font:1rem/1.55 var(--body);color:var(--ink);background:var(--paper)}
img {display:block;max-width:100%}
a {color:inherit;text-underline-offset:.23em;text-decoration-thickness:1px}
button {font:inherit;color:inherit;cursor:pointer}
:focus-visible {outline:3px solid #bd571d;outline-offset:4px}
.mast :focus-visible,.hero :focus-visible,.rooms :focus-visible,footer :focus-visible {outline-color:#fff1b9}
[hidden] {display:none!important}
.sr,.skip:not(:focus) {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.skip:focus {position:absolute;background:var(--paper);color:var(--night);padding:.8rem;z-index:5;top:.5rem;left:.5rem}
.wrap {width:min(calc(100% - 2 * var(--edge)),var(--max));margin-inline:auto}
h1,h2,h3,p,figure,ol,dl,dd {margin:0}
h1,h2,h3 {font-family:var(--display);font-weight:600;line-height:1.02;text-wrap:balance}
h2 {font-size:clamp(2.65rem,5.1vw,4.5rem);letter-spacing:-.047em}
.mast,footer {background:var(--night);color:var(--ivory)}
.bar,.brand,.mast nav,.footer-links,.hero-actions,.section-head,.list-foot {display:flex;align-items:center}
.bar {justify-content:space-between;gap:1.25rem;min-height:4.6rem}
.brand {gap:.65rem;text-decoration:none;font:600 1.1rem/1.1 var(--cond);text-transform:uppercase;letter-spacing:.14em}
.mast nav,.footer-links {gap:clamp(.85rem,2vw,2rem)}
.mast nav a,.footer-links a {text-decoration:none;padding:.6rem 0;font-size:.9375rem}
.mast nav a:hover,.footer-links a:hover,.list-foot a:hover {text-decoration:underline}
.label {display:flex;align-items:center;gap:.7rem;font:600 .9rem/1.25 var(--cond);letter-spacing:.17em;text-transform:uppercase}
.rule {display:inline-block;width:2.2rem;height:4px;border-block:1px solid currentColor}
.hero {background:var(--night);padding:0 clamp(.65rem,2.25vw,2.25rem) clamp(.7rem,2.1vw,2rem)}
.hero-frame {position:relative;isolation:isolate;max-width:102rem;margin:auto;min-height:clamp(30rem,39vw,40rem);display:flex;align-items:center;background:#112729;color:var(--ivory);border:1px solid #c39b5a}
.hero-frame::after {content:"";position:absolute;z-index:1;inset:5px;pointer-events:none;border:1px solid #e6c28269}
.hero-paint {position:absolute;z-index:-1;inset:0 0 0 34%;overflow:hidden}
.hero-paint img {width:100%;height:100%;object-fit:cover;object-position:53% 46%}
.hero-paint::after {content:"";position:absolute;inset:0;background:linear-gradient(90deg,#112729 0%,#112729f5 2%,#102626bb 13%,#10262638 30%,transparent 46%)}
.bill {position:relative;width:50%;padding:clamp(2.65rem,4.2vw,5rem) 0 clamp(2.75rem,4.2vw,5rem) max(2.25rem,calc((100% - var(--max)) / 2));margin-inline-start:clamp(.4rem,1vw,1.25rem)}
.bill .label {color:var(--gold);margin-bottom:1.45rem}
.bill h1 {font-size:clamp(4.1rem,7.55vw,8rem);letter-spacing:-.05em;line-height:.83}
.bill h1 em {color:var(--gold);font-weight:600}
.dek {margin-top:1.6rem;max-width:33ch;color:#f5ebd4;line-height:1.56;font-size:clamp(1rem,1.17vw,1.22rem);text-wrap:pretty}
.hero-actions {margin:1.65rem 0 .65rem;gap:1rem;flex-wrap:wrap}
.watch {display:inline-flex;align-items:center;justify-content:center;gap:.7rem;background:var(--gold);color:#142724;min-height:3rem;padding:.65rem 1.3rem;text-decoration:none;font-weight:700;border:1px solid #f5d4a3;border-radius:2px}
.watch:hover {background:#ffe1b0}
.play-icon,.mini-play {width:0;height:0;border-block:.32em solid transparent;border-left:.52em solid currentColor}
.film-info {font:600 .95rem var(--cond);letter-spacing:.05em;color:#e4d6b6}
.hero-listen,.under,.back {display:inline-block;text-underline-offset:.32em}
.hero-listen {margin:.25rem 0;font-size:.9375rem;color:#f4dfb3}
.programme,.rooms,.company {padding:clamp(3.2rem,5.8vw,6.5rem) 0}
.section-head {justify-content:space-between;align-items:flex-end;gap:1.3rem;margin-bottom:clamp(1.5rem,3.2vw,2.7rem)}
.section-head .label,.company .label,.book-intro .label {color:#70532e;margin-bottom:.75rem}
.under {font-size:1rem;padding-block:.5rem}
.recording-layout {display:grid;grid-template-columns:minmax(0,.83fr) minmax(0,1.17fr);gap:clamp(1.5rem,4vw,4.2rem);align-items:start}
.player {border:1px solid #4a5046;background:var(--night);color:var(--ivory);box-shadow:4px 4px 0 #d8ccb2}
.player>img {width:100%;height:auto;aspect-ratio:2.55;object-fit:cover;object-position:50% 47%;background:#182b2c}
.player-panel {padding:clamp(1rem,2vw,1.8rem)}
.player .label {color:var(--gold);font-size:.83rem}
.player h3 {font-size:clamp(2rem,3.2vw,3.2rem);margin:.3rem 0 .55rem}
#track-note {font-size:.96rem;line-height:1.5;max-width:46ch;color:#ecdfc4;min-height:3em}
audio {width:100%;height:44px;display:block;margin-top:1rem;color-scheme:light}
#audio-status:not(.sr) {font-size:.95rem;margin-top:.8rem}
.list ol {list-style:none;padding:0;border-top:3px double #8e8068}
.track {border-bottom:1px solid var(--line)}
.track-select {display:grid;grid-template-columns:2rem minmax(0,1fr) auto 1rem;align-items:center;gap:.7rem;text-decoration:none;padding:.75rem .8rem;min-height:4.3rem}
.track.current {background:#e6dbc2;box-shadow:inset 3px 0 #95672f}
.track-select:hover {background:#e9dfcb}
.track-num,.time,.list-foot,.track-name small {font:600 1rem/1.2 var(--cond);letter-spacing:.04em;color:#63573e}
.track-num {text-align:center}
.track-name {min-width:0}
.track-name strong {font:600 clamp(1.35rem,2.1vw,2rem)/1.05 var(--display);letter-spacing:-.025em;display:block}
.track-name small {display:block;margin-top:.3rem;font-weight:600;letter-spacing:.035em}
.mini-play {font-size:1.1rem;color:#655536;justify-self:center}
.playing .mini-play {height:.74em;width:.48em;border:0;border-inline:3px solid currentColor}
.list-foot {justify-content:space-between;gap:1rem;margin:.9rem .3rem}
.rooms {background:#102929;color:var(--ivory)}
.rooms .label {color:var(--gold)}
.rooms .section-head {margin-bottom:1.3rem}
.room-tabs {display:flex;gap:.35rem;flex-wrap:wrap;margin-bottom:1rem}
.room-tabs button {background:transparent;border:1px solid #70827c;color:#e8debf;min-height:43px;font:600 1.12rem/1 var(--cond);letter-spacing:.03em;padding:.58rem 1.15rem}
.room-tabs [aria-selected="true"] {background:#e8c695;color:#152927;border-color:#e8c695}
.room-tabs button:hover {border-color:#f7dbab}
.views {border-top:1px solid #a78450;padding-top:5px}
.room-view {display:grid;grid-template-columns:minmax(0,1.85fr) minmax(0,1fr);background:#183434}
.room-view img {aspect-ratio:2.2;object-fit:cover;width:100%;height:100%;min-height:13rem}
.room-view figcaption {display:flex;flex-direction:column;justify-content:center;padding:clamp(1.35rem,3.5vw,3.75rem);border-left:1px solid #7c765d}
.room-view h3,.credit h3 {font-size:clamp(2.2rem,3.3vw,3.8rem);letter-spacing:-.035em}
.room-view p {color:#e3e0cc;margin-top:.75rem;max-width:31ch}
.company-grid,.credit {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:clamp(1.5rem,5vw,5rem)}
.company dl>div {display:grid;grid-template-columns:4rem 1fr;gap:1rem;border-top:1px solid var(--line);padding:.75rem 0}
.company dt {font:600 1.8rem/1.15 var(--display)}
.company dd,.credit p {font-size:1rem;color:#494d43}
.credit {margin-top:2.6rem;padding-top:1.7rem;border-top:3px double #b8a581}
.credit h3 {font-size:2rem}
footer {border-top:3px double #b59a6c;padding-block:.6rem}
footer .brand {text-transform:none;letter-spacing:.025em}
.libretto main {padding-block:clamp(2.5rem,5vw,4.8rem)}
.book-intro h1 {font-size:clamp(4rem,7.5vw,7rem);letter-spacing:-.055em}
.book-intro>p:not(.label) {max-width:48ch;margin:1rem 0 .25rem}
.book-layout {display:grid;grid-template-columns:minmax(13rem,.75fr) minmax(0,2fr);gap:clamp(2rem,6vw,6rem);margin-top:2rem}
#contents {align-self:start;border-top:3px double #8a724c;padding-top:1.25rem;position:sticky;top:1rem}
#contents ol {padding-left:1.65rem;margin-top:.65rem}
#contents li {padding:.32rem .2rem}
.songbook {padding:0 0 2.5rem;margin-bottom:2.5rem;border-bottom:1px solid #b2a484}
.songhead {border-top:3px double #8a724c;padding-top:1.25rem}
.songhead h2 {font-size:clamp(2.8rem,5vw,4.2rem);margin:.55rem 0 .2rem}
.scene-note {font-family:var(--body);color:var(--muted);font-size:1rem;max-width:65ch;margin:.7rem 0 1.5rem}
.verse {font:600 clamp(1.28rem,1.65vw,1.55rem)/1.33 var(--display)}
.verse h3 {font:600 .91rem/1.2 var(--cond);letter-spacing:.1em;text-transform:uppercase;color:#71592f;margin:1.25rem 0 .4rem}
.verse .back {font:1rem var(--body);margin-top:1.8rem}
@media(max-width:850px) {
  .bill {width:53%;margin:0;padding-left:clamp(1.8rem,4.5vw,3.5rem)}
  .hero-paint {left:33%}
  .hero-frame {min-height:28rem}
  .recording-layout {grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:1.4rem}
  .track-select {padding:.75rem .45rem;gap:.4rem;grid-template-columns:1.7rem minmax(0,1fr) auto .75rem}
  .room-view {grid-template-columns:1.4fr 1fr}
}
@media(max-width:650px) {
  .bar {min-height:3.8rem;gap:.5rem}
  .mast nav {gap:.95rem}
  .mast nav a {font-size:.85rem}
  .brand {gap:.4rem;letter-spacing:.08em;font-size:1rem}
  .brand img {width:29px;height:29px}
  .hero-frame {display:block;min-height:auto}
  .hero-paint {position:relative;inset:auto;z-index:0;height:clamp(11.5rem,54vw,18rem)}
  .hero-paint img {object-position:center 43%}
  .hero-paint::after {background:linear-gradient(0deg,#112729,transparent 32%)}
  .bill {position:relative;width:auto;margin:-.5rem 0 0;padding:0 clamp(1.2rem,5.8vw,2.2rem) 1.7rem}
  .bill h1 {font-size:clamp(3.65rem,13vw,5.5rem);line-height:.87}
  .bill h1 br {display:none}
  .bill h1 em::before {content:" "}
  .bill .label {margin-bottom:.8rem}
  .dek {max-width:40ch;margin-top:1rem}
  .hero-actions {margin:1.2rem 0 .45rem}
  .section-head {align-items:flex-start;flex-direction:column;gap:.2rem}
  .recording-layout,.room-view,.company-grid,.credit,.book-layout {grid-template-columns:minmax(0,1fr)}
  .player>img {aspect-ratio:2.4}
  .track-name strong {font-size:1.55rem}
  .room-tabs {gap:.3rem}
  .room-tabs button {font-size:1.02rem;padding:.55rem .72rem}
  .room-view img {min-height:0;height:auto;aspect-ratio:16/9}
  .room-view figcaption {border-left:0;border-top:1px solid #7c765d}
  .room-view p {max-width:46ch}
  .credit {gap:.8rem}
  footer .bar {align-items:flex-start;flex-direction:column;justify-content:center;padding-block:.75rem;gap:.35rem}
  .footer-links {flex-wrap:wrap;gap:1.1rem}
  .book-layout {gap:1.6rem}
  #contents {position:static}
}
@media(max-width:365px) {
  .mast nav {gap:.55rem}
  .mast .brand img {width:24px;height:24px}
  .room-tabs button {padding:.55rem .5rem}
  .list-foot {gap:.4rem}
  .film-info {font-size:.88rem}
}
@media(prefers-reduced-motion:no-preference) {
  .room-view:not([hidden]) {animation:reveal .23s ease-out}
  @keyframes reveal {from {opacity:.74} to {opacity:1}}
}
@media print {
  .mast,footer,.under,.back,.book-intro a,#contents {display:none}
  body,.libretto main {background:white;color:black}
  .book-layout {display:block}
  .songbook {break-before:page}
  .songbook:first-child {break-before:auto}
  .verse h3 {break-after:avoid}
}
