/* ============================================================================
   THE LITERARY PAGES — shared bones, no colour.

   WHO USES THIS: the Ukudala hub (/nessa-carey/) and the work pages under it.
   NOT /caged-light/. That page keeps its own inline <style> block, untouched.
   This file was EXTRACTED FROM it — same scale, same rhythm, same patterns —
   but swapping it in would have meant reflowing a live page that is printed on
   submission material currently in front of award assessors, to gain nothing a
   reader could see. Derived from, not imposed on. If that page is ever opened
   for other reasons, this is the file to fold it into.

   WHY NOT styles.css: these pages link no site chrome by design. They are
   centred literary layouts and the site's navigation and type scale would
   overwhelm them. That was a decision, not an oversight.

   ------------------------------------------------------------------------
   THE COLOUR CONTRACT. This file names no colour. Every page sets the tokens
   below in its own :root and that is the ONLY thing that differs between them.

     --bg        page ground              --ink       body text
     --bg2       recessed ground          --cream     headings, emphasis
     --accent    the one light            --muted     secondary text
     --accent-2  the one hover            --muted2    captions, status, meta
     --line      hairlines                --line-strong  section-opening hairline
     --maxw      measure                  --muted3    quietest tone on THIS ground
     --display / --body   faces           --quote-rule  pull-quote left border

   --muted3 AND --line-strong ARE PER-PAGE AND CANNOT BE SHARED LITERALS. Measured:
   #6F6459 is 4.81:1 on the hub's cream — fine — and 3.23:1 on the ink footer ground,
   which fails. The dark grounds need #A79C8F or brighter. One hex cannot serve both, and
   that is the whole reason this is a token rather than a value in this file.

   --quote-rule exists for the same reason at 1px: --accent at a hairline reads muddy on
   cream and full-strength on dark, so the pull-quote's border colour is a page decision.

   THE SYSTEM RULE, and there is only one:

     STAGE WORKS ARE LIT LIKE A THEATRE. PROSE WORKS ARE SET LIKE A PAGE.

   Play pages take a dark ground and a single accent light, and each play's
   accent comes from the lighting note in its own script — not from taste, so
   that every future work has a non-arbitrary answer to "what colour is this
   one". Short fiction and the novel, when they get pages, invert: cream ground,
   ink type, same typography, same spacing, opposite ground. Inverting is a
   token block, not a rewrite — that is the entire reason this file exists.
   Do not add a second rule.
   ============================================================================ */

*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto;}}

body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:var(--body);
  font-size:17px;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
}

a{color:var(--accent);text-decoration:none;}
a:hover{color:var(--accent-2);}
a:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:2px;}

.wrap{width:100%;max-width:var(--maxw);margin:0 auto;padding-inline:1.4rem;}
.wrap--prose{max-width:var(--measure-prose);}

/* ---------- Pattern tokens ------------------------------------------------
   Colour-free, so they live here rather than on a page. --line-strong,
   --muted3 and --quote-rule are the exceptions and are set per page. */
:root{
  --measure-prose:620px;
  --rule:1px solid var(--line);
  --rule-strong:1px solid var(--line-strong, var(--line));
  --accent-underline:2px solid var(--accent);
  --label:500 11px/1 var(--body);
  --space-section:96px;
}
@media (max-width:700px){ :root{ --space-section:40px; } }

/* THE LABEL. One definition for section heads, kickers, speaker names and the
   "working title" words, because they were four ad hoc rules that had already
   started to drift apart on letter-spacing. */
.label{
  font:var(--label);letter-spacing:.22em;text-transform:uppercase;
  color:var(--accent);margin:0 0 1.4rem;
}
.label .label-note{
  color:var(--muted);letter-spacing:.02em;text-transform:none;
  font-size:14px;font-weight:300;margin-left:1.1rem;
}

/* ---------- .title-lockup -------------------------------------------------
   A TITLE IN MIGRATION, NOT A RENAME. The play presents as Ukuzwa; entries,
   a poster, a title sequence and a podcast episode are all lodged as Caged
   Light. An assessor holding a submission has the English name and no other,
   so it stays attached, at reading size, permanently.

   NOT BRACKETS. "Ukuzwa (Caged Light)" tells a reader that ukuzwa MEANS caged
   light, which it does not. "formerly Caged Light" reads retired. Caged Light
   at 10px is findable by search but not by eye. All three fail.

   THE UNDERLINE IS THE MECHANISM and it is exclusive: nothing else on this
   site is underlined, so the eye lands on it. It never disappears — not on
   hover, not at 390px, not in the muted episode state.

   TWO HARD FLOORS: the English never drops below 13px and never loses the
   underline, at any placement or breakpoint. Sizes below are 38–42% of the
   Zulu title at each step, which is what keeps it a second title rather than
   a caption. */
.title-lockup{display:block;}
.title-lockup .tl-zulu{
  display:block;font-family:var(--display);font-weight:400;
  color:var(--cream);line-height:1;
}
.title-lockup .tl-en{
  font:500 15px/1 var(--body);letter-spacing:.09em;text-transform:uppercase;
  color:var(--ink);
  border-bottom:var(--accent-underline);padding-bottom:3px;
  white-space:nowrap;
}
/* "working title" always PRECEDES the English, never wraps around it. */
.title-lockup .tl-wt{
  font:500 10px/1 var(--body);letter-spacing:.16em;text-transform:uppercase;
  color:var(--muted);margin-right:.55rem;
}
.title-lockup .tl-line{display:flex;align-items:baseline;flex-wrap:wrap;gap:.15rem .35rem;}

/* Step: hero — play page. */
.title-lockup--hero .tl-zulu{font-size:clamp(3.4rem,8vw,104px);letter-spacing:.03em;}
.title-lockup--hero .tl-line{margin-top:1.5rem;gap:.3rem 1rem;}
.title-lockup--hero .tl-en{font-size:clamp(1.25rem,2.6vw,30px);padding-bottom:8px;letter-spacing:.1em;}
.title-lockup--hero .tl-wt{font-size:11px;letter-spacing:.2em;}

/* Step: row — hub works row. */
.title-lockup--row .tl-zulu{font-size:clamp(1.5rem,3.2vw,34px);line-height:1.1;}
.title-lockup--row .tl-line{margin-top:.5rem;}
.title-lockup--row .tl-en{font-size:15px;padding-bottom:3px;}

/* Step: compact — episode row, and every step at 390. */
.title-lockup--compact .tl-zulu{font-size:30px;line-height:1.05;}
.title-lockup--compact .tl-line{margin-top:.45rem;}
.title-lockup--compact .tl-en{font-size:13px;padding-bottom:2px;}
.title-lockup--compact .tl-wt{font-size:9px;}

@media (max-width:700px){
  /* Stacked, because the row is narrow. 13px is the floor and this is it. */
  .title-lockup .tl-line{gap:.5rem;}
  .title-lockup--hero .tl-en,
  .title-lockup--row .tl-en{font-size:13px;padding-bottom:2px;}
  .title-lockup--hero .tl-line{margin-top:1rem;}
}

h1,h2,h3{
  font-family:var(--display);font-weight:500;line-height:1.08;
  color:var(--cream);letter-spacing:.01em;margin:0;
}

.kicker{
  font-family:var(--body);
  text-transform:uppercase;letter-spacing:.32em;font-size:.7rem;font-weight:600;
  color:var(--accent);margin:0 0 1.1rem;
}

/* ---------- Masthead ------------------------------------------------------
   The hub and the work pages share one head treatment. /caged-light/ has a
   trailer in its hero and does not; that is the only structural difference
   between them, and it is why this is .masthead and not .hero. */
.masthead{
  padding:clamp(3rem,7vw,5.5rem) 0 clamp(2.2rem,5vw,3.5rem);
  text-align:center;
  border-bottom:1px solid var(--line);
}
.masthead .eyebrow{
  text-transform:uppercase;letter-spacing:.4em;font-size:.72rem;font-weight:600;
  color:var(--accent);margin:0 0 1.4rem;
}
.masthead h1{
  font-size:clamp(3.5rem,9vw,116px);
  font-weight:300;line-height:.92;
  letter-spacing:.06em;
}
/* Play pages sit a step down from the hub, and are Title case not caps. */
.masthead--play h1{font-size:clamp(3rem,8vw,104px);letter-spacing:.03em;}
.masthead .name{
  margin:1.1rem 0 0;
  font-family:var(--body);
  text-transform:uppercase;letter-spacing:.28em;font-size:.74rem;font-weight:600;
  color:var(--muted);
}
.masthead .say{
  margin:.7rem 0 0;font-family:var(--display);font-style:italic;
  font-size:1.15rem;color:var(--muted);
}

/* THE GLOSS. A Zulu word set under an English title, at caption weight.
   NOT brackets: "Caged Light (Ukuzwa)" tells a reader ukuzwa MEANS caged light,
   which it does not. Set loose underneath, it is free to mean its own thing
   alongside the title. Same treatment on every page so the site speaks one way. */
.gloss{
  margin:1.5rem auto 0;max-width:46ch;
  font-size:.82rem;line-height:1.7;color:var(--muted2);
}
.gloss em{font-style:italic;color:var(--muted);}

/* ---------- Sections ------------------------------------------------------
   Was ad hoc per section; --space-section is one number now. */
section{padding:var(--space-section) 0;border-bottom:var(--rule);}

.masthead-lede{
  margin:1.6rem auto 0;max-width:52ch;
  font-size:17px;line-height:1.7;color:var(--ink);
}

/* THE FRAMING PAIR — passage left, the writer's own sentence right. It follows
   the objects, so it reads as a note on what you have just been offered. */
.framing{
  display:grid;grid-template-columns:1fr 1fr;gap:80px;
  align-items:start;margin:clamp(2.5rem,6vw,4.5rem) 0 0;
}
.framing-passage{
  font-family:var(--display);font-weight:300;
  font-size:clamp(1.2rem,2.2vw,25px);line-height:1.55;color:var(--ink);margin:0;
}
.framing .pullquote{margin:0;font-size:22px;line-height:1.6;}
@media (max-width:820px){
  .framing{grid-template-columns:1fr;gap:2rem;}
}
.section-title{font-size:clamp(2rem,5vw,3rem);margin:0 0 1.6rem;}
.lede{
  font-family:var(--display);font-size:clamp(1.5rem,3.4vw,2.1rem);
  line-height:1.3;color:var(--cream);max-width:30ch;
}
.prose p{color:var(--muted);font-size:1.08rem;max-width:60ch;}
.prose p + p{margin-top:1rem;}
.prose .lede{color:var(--cream);margin-bottom:1.6rem;}

.pullquote{
  font-family:var(--display);font-style:italic;font-size:1.5rem;line-height:1.35;
  color:var(--accent-soft,var(--muted));
  border-left:2px solid var(--quote-rule, var(--accent));
  padding:.2rem 0 .2rem 1.3rem;margin:1.8rem 0;max-width:52ch;
}
.pullquote cite{
  display:block;font-style:normal;font-family:var(--body);font-size:.8rem;
  letter-spacing:.06em;text-transform:uppercase;color:var(--muted2);margin-top:.6rem;
}

/* ONWARD. One line at the foot of an About section pointing along the cycle.
   Deliberately not a button — it is a sentence that happens to be a link. */
.onward{
  margin:2rem 0 0;font-family:var(--display);font-style:italic;
  font-size:1.05rem;color:var(--muted);
}

/* ---------- The cycle ------------------------------------------------------
   The centre of the hub. Set larger than the works rows and in the display
   face, because a reader who takes nothing else from the page should take
   this: the works are one family, and they are listed in the story's sequence. */
.cycle p{
  font-family:var(--display);font-size:clamp(1.15rem,2.4vw,1.45rem);
  line-height:1.45;color:var(--ink);max-width:54ch;
}
.cycle p + p{margin-top:1.1rem;}
.cycle .cycle-head{color:var(--cream);font-size:clamp(1.5rem,3.4vw,2.1rem);line-height:1.25;}
.cycle em{font-style:italic;}

/* ---------- .object-card --------------------------------------------------
   THE OBJECTS ARE THE INDEX, NOT AN ILLUSTRATION OF IT. They used to be three
   drawings sitting above a list that then repeated the same three titles. The
   repetition was never the fault — a reader arriving at a portfolio wants both
   the invitation and the list — the fault was that the second pass added
   nothing. Now the objects open the page and carry the way in; the rows below
   carry form, length and state, which the cards deliberately do not.

   WHY THE WHOLE CARD IS THE LINK: three line drawings cannot carry navigation
   on their own. Nobody can tell which lamp is which play, and a reader who
   guesses wrong on a portfolio site does not guess twice.

   NUMERALS ONLY. NO RAIL, NO ARROWS, NO LINE BETWEEN THE CARDS. Asked how the
   three plays connect, Nessa answered: "The web of family relationships across
   the three plays is a loose weave, as I was not always present, too young and
   some just aren't my stories to tell." A chronology rail under three family
   plays reads as descent however the caption is worded — a line joining three
   cards about one family IS a genealogy to anyone who arrives and does not read
   the caption, and most don't. I, II, III carry the sequence at zero risk. If
   the ordering ever needs to be explicit it is a sentence in the framing
   passage, not a graphic. */
.object-cards{
  display:grid;grid-template-columns:repeat(3,1fr);gap:56px;
  list-style:none;margin:0;padding:0;
}
.object-card > a{display:block;color:inherit;}
.object-card .oc-top{
  display:flex;align-items:flex-end;justify-content:space-between;
  height:150px;margin:0 0 1.1rem;
}
/* height:auto, and each viewBox is cropped to its own artwork — otherwise the
   drawings float at a third of the size inside a box sized for the tallest. */
.object-card svg{width:112px;height:auto;display:block;color:var(--accent);}
.object-card .oc-num{
  font-family:var(--display);font-weight:300;font-size:56px;line-height:1;
  color:var(--ink);opacity:.22;
}
.object-card .oc-rule{border-top:var(--rule);display:block;}
.object-card .oc-title{
  display:block;font-family:var(--display);font-size:40px;line-height:1;
  letter-spacing:.02em;color:var(--cream);margin:1.2rem 0 0;
}
.object-card .oc-gloss{
  display:block;font-size:14px;line-height:1.6;color:var(--muted);margin:.5rem 0 0;
}
.object-card .oc-gloss em{font-style:italic;}
.object-card .oc-desc{
  display:block;font-size:16px;line-height:1.65;color:var(--ink);margin:.6rem 0 0;
}
.object-card .oc-go{
  display:block;font:var(--label);letter-spacing:.16em;text-transform:uppercase;
  color:var(--accent);margin:1rem 0 0;
}
/* No transform, no shadow, no card background — these pages have no cards
   anywhere else and should not grow one now. */
.object-card > a:hover .oc-rule{border-top-color:var(--line-strong,var(--line));}
.object-card > a:hover .oc-title{color:var(--accent);}
.object-card .title-lockup--row .tl-zulu{font-size:40px;letter-spacing:.02em;}

/* ---------- .work-row -----------------------------------------------------
   What the object cards deliberately withhold: form, length, state. */
.works{list-style:none;margin:2.2rem 0 0;padding:0;border-top:var(--rule-strong);}
.work-row{border-bottom:var(--rule);}
.work-row > a,.work-row > .wr-inner{
  display:grid;grid-template-columns:96px 1fr 300px 120px;gap:40px;
  align-items:baseline;padding:30px 0;color:inherit;
}
.wr-num{
  font-family:var(--display);font-weight:300;font-size:30px;line-height:1;
  color:var(--ink);opacity:.22;
}
.wr-form-label{font:var(--label);letter-spacing:.16em;text-transform:uppercase;color:var(--muted);}
.wr-title{font-family:var(--display);font-size:34px;line-height:1.1;color:var(--cream);}
.wr-meta{font-size:14px;line-height:1.6;color:var(--ink);opacity:.85;}
.wr-go{
  font:var(--label);letter-spacing:.16em;text-transform:uppercase;
  color:var(--accent);text-align:right;
}
.work-row > a:hover .wr-title{color:var(--accent);}
.work-row > a:hover .tl-zulu{color:var(--accent);}

/* DALARING IS A STATE, NOT A WORK: no numeral, no rule under it, no link. */
.dalaring-line{
  display:grid;grid-template-columns:96px 1fr 420px;gap:40px;
  align-items:baseline;padding:30px 0;color:var(--muted);
}
.dalaring-line .wr-title{color:var(--muted);font-size:30px;}

@media (max-width:700px){
  /* Three full-width bands, not a squeezed three-column grid and NOT a
     horizontal scroller — a scroller hides the third play. */
  .object-cards{grid-template-columns:1fr;gap:0;}
  .object-card{border-bottom:var(--rule);}
  /* EXPLICIT ROWS AND COLUMNS. Without them the description became a grid item
     in the 44px arrow column and wrapped one word per line. */
  .object-card > a{
    display:grid;
    grid-template-columns:46px 1fr 44px;
    grid-template-rows:auto auto;
    gap:4px 18px;align-items:center;padding:18px 0;
  }
  .object-card .oc-top{grid-column:1;grid-row:1 / 3;height:auto;margin:0;display:block;}
  .object-card svg{width:46px;height:auto;}
  .object-card .oc-num,.object-card .oc-rule,.object-card .oc-gloss{display:none;}
  .object-card .oc-title,
  .object-card .title-lockup{grid-column:2;grid-row:1;margin:0;}
  .object-card .oc-title{font-size:26px;}
  .object-card .oc-desc{grid-column:2;grid-row:2;font-size:14px;margin:0;}
  .object-card .oc-go{
    grid-column:3;grid-row:1 / 3;
    margin:0;font-size:0;
    min-width:44px;min-height:44px;display:flex;align-items:center;justify-content:flex-end;
  }
  .object-card .oc-go::after{content:"\2192";font-size:18px;}
  .object-card .title-lockup--row .tl-zulu{font-size:26px;}

  /* Micro-labels come up to 12px at this width. §2 and §5 specify 9–11px for
     these, and §7 says nothing below 12px — the two cannot both hold, so
     reading-scale wins for anything that is not size-locked to the lockup
     ratio. .tl-en stays at its 13px floor; .tl-wt is the one exception, at
     10px, because raising it would crowd the English it introduces. */
  .label,.oc-go::after,.wr-form-label,.ep-no{font-size:12px;}
  .title-lockup .tl-wt{font-size:10px;}

  /* Rows keep numeral, title and form; the description column drops.
     EXPLICIT ROWS AND COLUMNS, for the same reason as the object cards above:
     with only .wr-meta placed, auto-placement dropped "Read →" into the meta
     cell and the two overlapped. Every child is placed. */
  .work-row > a,.work-row > .wr-inner{
    grid-template-columns:52px 1fr 44px;
    grid-template-rows:auto auto;
    gap:2px 14px;padding:22px 0;align-items:center;
  }
  .wr-num,.wr-form-label{grid-column:1;grid-row:1 / 3;}
  .wr-title{grid-column:2;grid-row:1;font-size:26px;}
  .wr-meta{grid-column:2;grid-row:2;font-size:12px;margin-top:.25rem;}
  .wr-go{grid-column:3;grid-row:1 / 3;font-size:0;min-width:44px;min-height:44px;display:flex;align-items:center;justify-content:flex-end;}
  .wr-go::after{content:"\2192";font-size:18px;}
  .dalaring-line{grid-template-columns:52px 1fr;grid-template-rows:auto auto;gap:2px 14px;padding:22px 0;}
  .dalaring-line .wr-form-label{grid-column:1;grid-row:1 / 3;}
  .dalaring-line .wr-title{grid-column:2;grid-row:1;}
  .dalaring-line .wr-meta{grid-column:2;grid-row:2;}
}

/* A plainer list for works without pages — no rules, no hover, no promise of
   a link that isn't there. */
.plain{list-style:none;margin:1.6rem 0 0;padding:0;max-width:60ch;}
.plain li + li{margin-top:1.1rem;}
.plain .work-title{font-size:clamp(1.15rem,2.4vw,1.4rem);}

/* ---------- .playwright — quote-led ---------------------------------------
   THE CAPTION IS THE POINT OF THIS SECTION. "Nessa as a teenager, planning to
   swim home, across the Indian Ocean, from Fremantle to Durban" is the best
   sentence on the site and it spent a year as a 12px italic photo credit. It is
   body copy that happens to sit near a photograph, so it is NOT marked up as a
   figure/figcaption — that pattern is exactly how it ended up at credit size in
   the first place, and the markup would invite the next person to shrink it
   again. Never below 22px, at any breakpoint.

   Quote-led over portrait-led, on Matt's call: the sentence arrives before the
   faces, so a reader meets the writing first. */
.playwright{background:var(--bg2);}
.playwright .caption-writing{
  font-family:var(--display);font-style:italic;font-weight:300;
  font-size:clamp(22px,3vw,34px);line-height:1.35;color:var(--ink);
  margin:34px 0 0;max-width:30ch;
}
.playwright .caption-attrib{
  display:flex;align-items:center;gap:16px;margin:22px 0 0;
  font:500 12px/1 var(--body);letter-spacing:.14em;text-transform:uppercase;color:var(--muted);
}
.playwright .caption-attrib::before{
  content:"";width:44px;height:0;border-top:2px solid var(--accent);flex:none;
}
/* NOT A 1fr 1fr GRID AT 230px, WHICH IS WHAT THE ARTBOARD SPECIFIES.
   The artboard used grey placeholders, and placeholders have no aspect ratio. Both
   real photographs are PORTRAIT — 768x1024 and 280x392 — so two 477x230 landscape
   boxes with object-fit:cover cropped the adult portrait to a pair of hands and the
   teenager to a mouth. Correct on the canvas, unusable with the actual assets.
   Natural width at a fixed height instead: no crop, faces intact, still a pair side
   by side. This is the one measured value in the handoff I have not honoured, and
   the reason is that honouring it removed the subject from the photograph. */
.playwright .portraits{
  display:flex;gap:26px;align-items:flex-end;margin:34px 0 0;flex-wrap:wrap;
}
.playwright .portraits img{
  height:clamp(240px,30vw,360px);width:auto;display:block;
  border:1px solid var(--line);
}
.playwright .bio-open{
  font-family:var(--display);font-weight:300;font-size:18px;line-height:1.7;
  color:var(--ink);margin:34px 0 0;max-width:var(--measure-prose);
}
.playwright .bio p{
  font-size:16px;line-height:1.8;color:var(--muted);max-width:var(--measure-prose);
  margin:1rem 0 0;
}
.playwright .pullquote{margin:1.8rem 0 0;font-size:20px;max-width:var(--measure-prose);}

@media (max-width:700px){
  /* Caption first and still at reading size; portraits STACKED, because two
     190px-wide portraits side by side on a phone are worthless. */
  .playwright .caption-writing{font-size:22px;line-height:1.45;max-width:none;margin-top:26px;}
  /* Stacked and full-bleed to the margin — two 190px-wide portraits side by side
     on a phone are worthless. */
  .playwright .portraits{flex-direction:column;gap:18px;}
  .playwright .portraits img{height:auto;width:100%;max-width:none;}
}

/* ---------- .player ------------------------------------------------------
   A REAL <audio> ELEMENT, restyled. No library, no third-party player, no embed
   — the file is served from this origin and nothing else is fetched. The scrub
   is a native range input rather than a div with key handlers, because that is
   keyboard-operable and announced correctly for free, and a hand-rolled slider
   is the kind of thing that works until someone tries it with a keyboard. */
.player{
  display:flex;align-items:center;gap:26px;flex-wrap:wrap;
  border:1px solid var(--line);background:var(--bg2);
  padding:22px 28px;margin:1.8rem 0 0;
}
.player audio{display:none;}
.pl-play{
  flex:none;width:52px;height:52px;border-radius:50%;
  border:1px solid var(--accent);background:transparent;color:var(--accent);
  cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0;
}
.pl-play:hover{background:color-mix(in srgb, var(--accent) 10%, transparent);}
.pl-play:focus-visible{outline:2px solid var(--accent);outline-offset:3px;}
.pl-play svg{width:16px;height:18px;display:block;}
.pl-mid{flex:1 1 240px;min-width:180px;}
.pl-range{
  -webkit-appearance:none;appearance:none;width:100%;height:10px;
  background:transparent;cursor:pointer;display:block;
}
.pl-range::-webkit-slider-runnable-track{height:2px;background:var(--line);}
.pl-range::-moz-range-track{height:2px;background:var(--line);}
.pl-range::-moz-range-progress{height:2px;background:var(--accent);}
.pl-range::-webkit-slider-thumb{
  -webkit-appearance:none;width:2px;height:10px;background:var(--accent);
  border:0;border-radius:0;margin-top:-4px;
}
.pl-range::-moz-range-thumb{width:2px;height:10px;background:var(--accent);border:0;border-radius:0;}
.pl-range:focus-visible{outline:2px solid var(--accent);outline-offset:4px;}
.pl-time{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums;margin-top:.4rem;display:block;}
.pl-meta{display:flex;align-items:center;gap:20px;}
.pl-speed,.pl-dl{
  font:var(--label);letter-spacing:.16em;text-transform:uppercase;color:var(--accent);
  background:none;border:0;padding:0;cursor:pointer;
}
.pl-speed:focus-visible,.pl-dl:focus-visible{outline:2px solid var(--accent);outline-offset:3px;}

/* ---------- .transcript --------------------------------------------------
   Collapsed by default. Native <details>, so the keyboard and the screen reader
   get the right behaviour without a line of script.

   THE BODY IS AT A READING MEASURE, NOT THE FULL 980. This is the correction the
   artboard revision made and it is the difference between the section looking
   manageable and being manageable. */
.transcript{border-top:var(--rule);border-bottom:var(--rule);margin:1.8rem 0 0;}
.transcript > summary{
  list-style:none;cursor:pointer;padding:20px 0;
  display:flex;align-items:baseline;gap:16px;
}
.transcript > summary::-webkit-details-marker{display:none;}
.transcript > summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px;}
.transcript .ts-title{font-family:var(--display);font-size:22px;color:var(--cream);}
.transcript .ts-count{font-size:13px;color:var(--muted);}
.transcript .ts-chev{margin-left:auto;color:var(--accent);font-size:14px;}
.transcript[open] .ts-chev{transform:rotate(180deg);}
.transcript .ts-inner{padding:0 0 34px;}

/* THE EDITORIAL NOTE. Required first child; it corrects a claim made in the
   recording and travels wherever the transcript travels. */
.editorial-note{
  background:var(--bg2);border-left:2px solid var(--accent);
  padding:20px 26px;margin:0 0 34px;max-width:var(--measure-prose);
}
.editorial-note .en-head{
  font:var(--label);letter-spacing:.22em;text-transform:uppercase;
  color:var(--accent);margin:0 0 .7rem;
}
.editorial-note p{font-size:14px;line-height:1.75;color:var(--ink);margin:0;}

/* NO TIMESTAMPS — they add noise and go stale the moment the audio is re-cut. */
.t-body{
  display:grid;grid-template-columns:110px 1fr;gap:8px 30px;
  max-width:820px;align-items:baseline;
}
.t-who{
  font:500 11px/1.9 var(--body);letter-spacing:.1em;text-transform:uppercase;
  color:var(--muted);
}
.t-say p{font-size:16px;line-height:1.85;color:var(--ink);margin:0 0 1.1rem;}
.t-say blockquote{
  font-family:var(--display);font-style:italic;font-size:18px;line-height:1.5;
  color:var(--muted);border-left:2px solid var(--line);
  padding:.2rem 0 .2rem 1.2rem;margin:1rem 0;
}

@media (max-width:700px){
  .player{gap:16px;padding:18px 20px;}
  .pl-play{width:48px;height:48px;}
  .transcript > summary{padding:16px 0;min-height:48px;}
  /* Speaker name above the paragraph — 110px of name column is not affordable. */
  .t-body{grid-template-columns:1fr;gap:2px;}
  .t-who{margin-top:1.1rem;}
}

/* ---------- Episodes -------------------------------------------------------
   A live row is a link. A coming row is not, and carries no date: a
   series with more to come reads as momentum, a missed date reads as a stalled
   project — and it is never quite worth fixing until it has been wrong for six
   months. Muted colour, no badge, no countdown. */
.eps{list-style:none;margin:1.8rem 0 0;padding:0;}
.eps li{border-top:1px solid var(--line);padding:1.1rem 0;}
.eps li:last-child{border-bottom:1px solid var(--line);}
.ep-no{
  display:block;font-size:.72rem;text-transform:uppercase;letter-spacing:.16em;
  color:var(--muted2);margin:0 0 .3rem;
}
.ep-title{font-family:var(--display);font-size:1.35rem;line-height:1.2;color:var(--cream);}
.eps li.coming .ep-title{color:var(--muted);}
.ep-state{display:block;margin:.3rem 0 0;font-size:.8rem;color:var(--muted2);font-style:italic;}

/* ---------- Cast, staging, extract ---------- */
.cast{list-style:none;margin:1.4rem 0 0;padding:0;max-width:64ch;}
/* A grid, not an inline-block with a min-width. The names are wildly different lengths
   — "June" against "Neighbours, officials" — and a min-width lets the long ones run into
   the description with no gap at all. The column holds; the name wraps inside it. */
.cast li{
  display:grid;grid-template-columns:11rem 1fr;gap:0 1.2rem;
  padding:.62rem 0;border-bottom:1px solid var(--line);
  color:var(--muted);font-size:.98rem;
}
.cast li:first-child{border-top:1px solid var(--line);}
.cast .who{
  font-family:var(--body);font-weight:600;font-size:.76rem;
  text-transform:uppercase;letter-spacing:.13em;color:var(--accent);
  line-height:1.5;padding-top:.12em;
}
@media (max-width:640px){
  .cast li{grid-template-columns:1fr;gap:.25rem;}
}

.notes{list-style:none;margin:1.4rem 0 0;padding:0;max-width:62ch;}
.notes li{padding-left:1.15rem;position:relative;color:var(--muted);}
.notes li + li{margin-top:.8rem;}
.notes li::before{content:"—";position:absolute;left:0;color:var(--muted2);}

/* THE EXTRACT. Set as script, not as a quote block: speaker names in the small
   caps the transcript already uses, stage directions in italic muted. */
.extract{
  margin:1.6rem 0 0;max-width:62ch;
  border-left:2px solid var(--line);padding-left:clamp(1rem,3vw,1.6rem);
}
.extract .turn{margin:0 0 1.1rem;}
.extract .speaker{
  display:block;font-family:var(--body);font-weight:600;font-size:.74rem;
  text-transform:uppercase;letter-spacing:.14em;color:var(--accent);margin-bottom:.25rem;
}
.extract .turn p{margin:0;color:var(--ink);}
.extract .sd{
  margin:0 0 1.1rem;font-family:var(--display);font-style:italic;
  color:var(--muted);font-size:1.02rem;
}
.extract .paren{font-style:italic;color:var(--muted);}
.extract-note{font-size:.8rem;color:var(--muted2);font-style:italic;margin:1.2rem 0 0;}

/* ---------- Disclosure -----------------------------------------------------
   Lifted from the Caged Light transcript, where it is exactly right: thirty-odd
   glossary terms are the most characterful thing in the Umoya script and the
   worst possible thing to make a reader scroll past to reach the work. */
.toggle{
  display:inline-block;margin-bottom:1.6rem;cursor:pointer;
  font-family:var(--body);font-weight:600;font-size:.8rem;letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--accent);border:1px solid var(--line);border-radius:999px;
  padding:.5rem 1.1rem;background:transparent;
}
.toggle:hover{border-color:var(--accent);}
.toggle:focus-visible{outline:2px solid var(--accent);outline-offset:3px;}

.glossary{list-style:none;margin:0;padding:0;max-width:64ch;
  columns:2;column-gap:2.4rem;}
.glossary li{
  break-inside:avoid;padding:.42rem 0;color:var(--muted);font-size:.92rem;line-height:1.5;
}
.glossary .term{color:var(--cream);font-style:italic;}
@media (max-width:640px){.glossary{columns:1;}}

/* ---------- The prose inversion ------------------------------------------
   NO NEW TOKEN NAMES. A prose page is a token set, not a component layer, and
   that is the proof the one system rule actually holds: stage works are lit like
   a theatre, prose works are set like a page. Same faces, same scale, same
   spacing, opposite ground.

   Two rules the inversion genuinely needs and no dark page has:

   1. A NARROWER MEASURE. 980px is for scanning a list of works; 620px is for
      reading a story. --measure-prose already exists for this.
   2. A SMALL-CAPS OPENING LINE, NOT A DROP CAP. A drop cap would make it a
      magazine; small caps make it fiction, and it degrades to plain caps
      wherever font-variant-caps is unsupported instead of leaving a hole where
      a letter should be.

   Everything else here is layout for those two, and nothing sets a colour. */
.prose-page .prose-head{
  padding:clamp(3rem,7vw,5.5rem) 0 0;text-align:left;
}
.prose-page .prose-title{
  font-family:var(--display);font-weight:300;
  font-size:clamp(2.6rem,7vw,76px);line-height:1;letter-spacing:.02em;
  color:var(--cream);margin:1.1rem 0 0;
}
.prose-page .byline{
  margin:1.1rem 0 0;font-size:14px;letter-spacing:.02em;color:var(--muted);
}
.prose-page .story{margin:clamp(2rem,5vw,3rem) 0 0;}
.prose-page .story p{
  font-family:var(--display);font-weight:300;
  font-size:21px;line-height:1.85;color:var(--ink);margin:0 0 1.3rem;
}
.prose-page .story p.opening::first-line{
  font-variant-caps:small-caps;letter-spacing:.06em;
}
/* THE ONLY ORNAMENT ON THE PAGE: rule–dot–rule, in currentColor, so it inverts
   for free if this ever runs on a dark ground. No second one. */
.prose-page .break{
  display:block;margin:2.4rem auto;color:var(--muted2);width:70px;height:10px;
}
.prose-page .extract-note{
  margin:2.4rem 0 0;padding:20px 26px;background:var(--bg2);
  border-left:2px solid var(--accent);max-width:var(--measure-prose);
}
/* font-family reset explicitly: .story p sets the display face at 21px and this
   block sits inside .story, so at equal specificity it inherited the serif and
   read as part of the fiction rather than as a note about it. */
.prose-page .extract-note p{
  font-family:var(--body);font-style:normal;font-size:14px;line-height:1.75;
  color:var(--ink);margin:0;
}
.prose-page .extract-note .en-head{
  font:var(--label);letter-spacing:.22em;text-transform:uppercase;
  color:var(--accent);margin:0 0 .7rem;
}
.prose-page footer{background:var(--bg2);border-top:var(--rule);margin-top:clamp(3rem,7vw,5.5rem);}

@media (max-width:700px){
  .prose-page .story p{font-size:18px;line-height:1.8;}
}

/* ---------- Footer ---------- */
footer{padding:2.6rem 0 3rem;border-bottom:none;text-align:center;}
footer p{margin:.2rem 0;font-size:.85rem;color:var(--muted2);}
footer .back{font-size:.85rem;letter-spacing:.04em;}
footer .rights{max-width:56ch;margin:1.1rem auto 0;font-size:.78rem;}
/* The acknowledgement is set smaller and narrower than the site standard for
   the same reason /caged-light/ sets it that way: these are centred literary
   layouts with no site chrome, and the standard block would overwhelm a page
   whose whole design is restraint. The words are the shared ones, unchanged,
   and they are injected — never hand-edited. See scripts/sync-acknowledgement.mjs. */
footer .ack{max-width:60ch;margin:1.4rem auto 1.1rem;font-size:.72rem;line-height:1.65;opacity:.78;}

@media (max-width:720px){
  body{font-size:16px;}
  .objects{gap:1.4rem;}
}

/* ==========================================================================
   THE 390 STATE — last in the file on purpose.
   Media queries carry no extra specificity, so an earlier @media block loses to
   a later plain rule. Several of these were already set further up and were
   being overridden by the component definitions that follow them. Consolidated
   here, at the end, where they win.
   ========================================================================== */
@media (max-width:700px){

  /* THE 12px FLOOR. §7 says nothing below 12px; §2 and §5 specify 9–11px for
     micro-labels. Both cannot hold, so reading scale wins for anything not
     size-locked to the lockup ratio. The two exceptions are declared, not
     accidental: .tl-en is at its 13px hard floor, and .tl-wt stays at 10px
     because raising it crowds the English it introduces. */
  /* NOTE .oc-go / .wr-go ARE NOT IN THIS LIST AND MUST NOT BE ADDED.
     They are font-size:0 with an arrow drawn by ::after — the label is hidden
     and the glyph is the control at this width. Putting them in the 12px floor
     switched the word "READ" back on beside the arrow, which is what shipped on
     29 Aug and is what this comment exists to stop happening twice. Their ::after
     is sized on its own rule below. */
  .label,.wr-form-label,.ep-no,
  .pl-speed,.pl-dl,.en-head,.t-who,
  footer .ack,footer p{font-size:12px;}
  .ep-state,.ts-count{font-size:13px;}

  /* TAP TARGETS. The play control is 48px; everything else that is a control
     gets 44. The scrub was a 10px-tall slider — technically operable, actually
     unhittable with a thumb — so the input is 44px of hit area with the 2px
     line still drawn inside it. */
  .pl-range{height:44px;}
  .pl-range::-webkit-slider-thumb{margin-top:-4px;}
  .pl-speed,.pl-dl{
    min-height:44px;display:inline-flex;align-items:center;
  }
  .pl-meta{gap:24px;}

  /* Margins to 24px, from the 1.4rem the wrap carries elsewhere. */
  .wrap{padding-inline:24px;}
}
