/*
Theme Name: Dollelm Atelier
Version: 2.9.0
Text Domain: dollelm
*/
:root {--cloth:#F5F1EF;--wood:#9B5A26;--brass:#928652;--wing:#156B79;--letter:#251c16;--velvet:#201815}
* {box-sizing:border-box}
body {margin:0;background:var(--cloth);color:var(--letter);font:1.0625rem/1.63 Georgia,serif}
a {color:#105563;text-underline-offset:.2em}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible {outline:3px solid #078094;outline-offset:4px}
img {max-width:100%;height:auto;display:block}
h1,h2,h3 {line-height:1.12;margin:0 0 .65em;overflow-wrap:anywhere}
h1 {font-size:clamp(2.15rem,4.5vw,4.4rem);letter-spacing:-.04em}
h2 {font-size:clamp(1.45rem,3vw,2.3rem)}
h3 {font-size:1.27rem}
p {margin:0 0 1.15em}
figure {margin:0}
figcaption,time {font:.875rem/1.5 system-ui,sans-serif;color:#514236}
button,input,textarea {font:inherit}
.wing-skip {position:absolute;top:0;left:1rem;background:white;z-index:3;padding:.5rem;transform:translateY(-120%)}
.wing-skip:focus {transform:none}
.call-board {display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:.8rem 1.2rem;padding:.6rem clamp(1rem,3.5vw,3rem);border-bottom:1px solid #c9b8a8}
.call-board nav,.floor-directory,.fly-footer nav {display:flex;flex-wrap:wrap;gap:.55rem 1.45rem;font:650 .875rem/1.4 system-ui,sans-serif}
.call-board nav:last-child {justify-content:flex-end}
.hung-brand {width:clamp(7.5rem,14vw,10.7rem);justify-self:center}
#playing-space {min-height:65vh}
.stage-opening {position:relative;display:grid;isolation:isolate;place-items:end start;min-height:min(64vh,36rem);background:var(--velvet);color:#fff7ec}
.stage-opening figure {position:absolute;inset:0;z-index:-2;overflow:hidden}
.stage-opening figure img {width:100%;height:100%;object-fit:cover;object-position:50% 47%}
.stage-opening::after {content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(10deg,rgba(25,14,9,.95),rgba(25,14,9,.55) 28%,transparent 75%);pointer-events:none}
.material-study {position:absolute;inset:0}
.material-study[hidden] {display:none}
.stage-introduction {padding:1rem clamp(1rem,6vw,6rem) 2rem;width:min(49rem,100%)}
.stage-introduction button,.wing-letter button {border:0;background:var(--wing);color:white;padding:.65rem 1rem;cursor:pointer}
.stage-introduction button {border:1px solid #c6e1df;background:#152e31}
.floor-directory {justify-content:center;align-items:center;border-bottom:1px solid #bfb3a7;padding:.9rem 1rem}
.stage-prose,.wing-letter,.prompt-index {max-width:46rem;padding-inline:1rem;margin:2.3rem auto 3.6rem}
.stage-prose h2 {margin-top:1.5em}
.stage-document {margin-top:3rem}
.stage-document aside {border-top:2px solid var(--brass);margin-top:2rem}
.work-title,.stage-dates>h1 {max-width:79rem;margin:2.5rem auto 1rem;padding:0 clamp(1rem,4vw,2.25rem)}
.stage-depths section {padding:2rem clamp(1rem,4vw,2.25rem);border-top:1px solid #dbccbd}
.stage-depths section:nth-child(2) {background:#e4d8c8}
.stage-depths section>h2,.depth-entries {max-width:76rem;margin-inline:auto}
.depth-entries {display:grid;grid-template-columns:minmax(0,2.2fr) minmax(0,1fr) minmax(0,1fr);gap:1.1rem}
.depth-entries article img {aspect-ratio:2.4;object-fit:cover;width:100%;margin-bottom:.65rem}
.depth-entries article p {font-size:.95rem}
.stage-dates nav {max-width:79rem;margin:auto;padding:0 1rem}
.stage-dates ol {display:flex;gap:1.25rem;list-style:none;overflow-x:auto;padding:1rem .4rem;margin:0}
.stage-dates li {flex:0 0 clamp(9.4rem,22vw,17rem);border-top:3px solid var(--wood)}
.stage-dates li a {display:grid;gap:.35rem;padding:.55rem .7rem;background:#eee3d8;min-height:5rem}
.stage-dates li time {font-weight:700}
.rehearsal-leaf {margin:0 auto 2rem;max-width:83rem;padding:2rem 1rem 0}
.rehearsal-leaf header {max-width:54rem;margin:0 auto 1rem}
.rehearsal-leaf figure {max-width:54rem;margin:auto;background:#ebe1d5}
.rehearsal-leaf figure img {width:100%}
.rehearsal-leaf figcaption {padding:.5rem .7rem}
.stage-set {margin:2rem auto 3.4rem;max-width:75rem;padding:0 1rem}
.stage-cue-heading {border-block:1px solid #a4856d;padding:.8rem 0 1rem;margin:0 0 1.5rem}
.stage-cue-heading h1 {margin:0 0 .35rem;max-width:20ch}
.cue-desk {display:grid;grid-template-columns:minmax(13rem,1fr) minmax(0,2.2fr);gap:clamp(1rem,4vw,3rem);align-items:start}
.cue-wing {position:sticky;top:1rem;display:grid;gap:1rem}
.cue-wing nav {border-left:4px solid #1a5961;background:#ece1d5;padding:.75rem .8rem .75rem 0}
.cue-wing ol {margin:0;padding-left:2rem;font-size:.875rem}
.cue-wing li+li {margin-top:.35rem}
.cue-wing figure {margin:0;background:#ece1d5}
.cue-wing figure img {width:100%;aspect-ratio:1.6;object-fit:cover}
.cue-wing figcaption {font-size:.84rem;padding:.45rem .65rem}
.cue-desk .stage-prose {padding:0;margin:0;max-width:67ch}
@media(max-width:760px) {
    .cue-desk {grid-template-columns:1fr}
    .cue-wing {position:static;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:.6rem}
    .cue-wing nav {padding:.5rem .4rem .5rem 0}
    .cue-wing ol {padding-left:1.55rem;font-size:.81rem}
    .cue-wing figcaption {font-size:.79rem}
}
.stage-note header {display:grid;grid-template-columns:1fr auto;align-items:baseline}
.stage-note header p,.stage-note header time {font-family:system-ui,sans-serif;font-size:.875rem}
.stage-note header h1 {grid-row:2;grid-column:1/-1}
.wing-letter .stage-prose {padding:0;margin:0 0 1.5rem}
.wing-letter form {padding:1.2rem;background:#fff9f0;border-left:4px solid var(--wood)}
.wing-return {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:1rem}
.wing-letter label {display:block;font:650 .9375rem/1.4 system-ui,sans-serif;margin-bottom:.3rem}
.wing-letter input:not([type=hidden]),.wing-letter textarea {width:100%;padding:.5rem;border:1px solid #7d6857;background:white;color:#251c16;margin-bottom:.9rem}
.wing-letter textarea {display:block;resize:vertical}
.prompt-index>ol {padding-left:1.45rem}
.prompt-index>ol>li {margin-bottom:1rem;border-top:1px solid var(--brass);padding-top:.7rem}
.prompt-index ul {padding-left:1.1rem}
.fly-footer {background:#ece1d7;border-top:1px solid #c9b8a8;padding:1.25rem clamp(1rem,3.5vw,3rem);display:flex;justify-content:space-between;align-items:baseline;gap:1rem;font:.875rem/1.5 system-ui,sans-serif}
.fly-footer p {margin:0}
@media(max-width:760px) {
 .call-board {grid-template-columns:1fr 1fr;column-gap:1rem;align-items:start}
 .hung-brand {grid-column:1/-1;grid-row:1}
 .stage-opening {min-height:56vh}
 .stage-introduction {padding-bottom:1.1rem}
 .floor-directory,.fly-footer nav {justify-content:flex-start}
 .depth-entries {grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 .depth-entries article:first-child {grid-column:1/-1}
 .wing-return,.fly-footer {display:block}
 .fly-footer nav {margin-top:.7rem}
}
