/* ------------------------------------------------------------------
   BisonTongue — HERO SPLIT layouts
   Where the subject tabs (Weather / Wildfire / Climate) live.

   The problem: subject selection sat in the left pane while the
   parameters it drives (sea surface, wind shear, track) sat in the
   right pane's rail — one instrument split across the layout.

   Three alternatives, switched from the Hero panel. Default is the
   shipped arrangement, so no attribute means no change.

   The tabs keep #index and their role="tab" markup wherever they go,
   so app.js's tab handling and keyboard nav are untouched.
   ------------------------------------------------------------------ */

/* with the tabs gone, the left pane's remaining copy should sit centred
   rather than hanging from where the tabs used to be */
/* base = the signed-off "spread": copy holds the top, button holds the
   bottom. No attribute needed, so nothing can remove it. */
.pane-l{ justify-content:flex-start; }
.pane-l .index{ margin-bottom:0; }
.pane-l .cta{ margin-top:auto; }
html[data-hero-lpane="float"]  .pane-l{ justify-content:center; }
html[data-hero-lpane="float"]  .pane-l .cta{ margin-top:0; }
html[data-hero-lpane="top"]    .pane-l .cta{ margin-top:0; }
html[data-hero-lpane="bottom"] .pane-l{ justify-content:flex-end; }
html[data-hero-lpane="bottom"] .pane-l .cta{ margin-top:0; }

/* ============ 1 · RAIL — the subject joins the parameter rail ============
   Everything that drives the render lives on one line, reading left to
   right: what you're looking at, then the conditions it's under. */
.railsub{ display:flex; flex-direction:column; gap:7px; flex:0 0 auto; }
html[data-hero-layout="rail"] #index{ flex-direction:row; border:1px solid var(--rule); }
html[data-hero-layout="rail"] .index__btn{
  border-left:1px solid var(--rule);
  font-family:var(--mono); font-size:var(--fs-m2); font-weight:500;
  letter-spacing:var(--tr-mi); text-transform:uppercase;
  padding:7px 10px; line-height:1; gap:0;
  color:var(--forest-mid);
}
html[data-hero-layout="rail"] #index .index__btn:first-child{ border-left:0; }
html[data-hero-layout="rail"] .index__btn:hover{ background:var(--rule-2); color:var(--forest); }
html[data-hero-layout="rail"] .index__btn[aria-selected="true"]{ background:var(--ochre); color:var(--ground); }
html[data-hero-layout="rail"] .index__btn .n,
html[data-hero-layout="rail"] .index__btn .sq{ display:none; }
html[data-hero-layout="rail"] #controls{ gap:22px; }

/* ============ 2 · STAGETOP — a tab strip across the render ============
   Subject on top, render in the middle, parameters underneath. Reads
   as an instrument panel: the thing you're looking at is labelled at
   the top of the thing itself. */
.stagetabs{ display:flex; align-items:stretch; border-bottom:1px solid var(--rule); }
html[data-hero-layout="stagetop"] .stagetabs #index{ flex-direction:row; }
html[data-hero-layout="stagetop"] .index__btn{
  padding:0 18px; height:44px; line-height:1; gap:8px;
  font-size:var(--fs-b2); font-weight:600; letter-spacing:var(--tr-t);
  border-right:1px solid var(--rule);
  color:var(--sage-ink);
}
html[data-hero-layout="stagetop"] .index__btn:hover{ color:var(--forest); }
html[data-hero-layout="stagetop"] .index__btn[aria-selected="true"]{
  color:var(--forest); box-shadow:inset 0 -2px 0 var(--ochre);
}
html[data-hero-layout="stagetop"] .index__btn .n{ color:var(--char); font-size:var(--fs-m2); }
html[data-hero-layout="stagetop"] .index__btn .sq{ display:none; }
html[data-hero-layout="stagetop"] .stage__tag{ top:14px; }

/* ============ 3 · PANEL — one instrument block under the render ============
   Subject and parameters bounded together below the stage, subject
   given the leading column so the hierarchy is explicit: pick the
   subject, then tune the conditions. */
.hpanel{ display:grid; grid-template-columns:minmax(0,.26fr) minmax(0,1fr); border-top:1px solid var(--rule); }
html[data-hero-layout="panel"] .hpanel > #index{
  border-right:1px solid var(--rule);
  padding:14px 18px; gap:2px; justify-content:center;
}
html[data-hero-layout="panel"] .index__btn{
  font-size:var(--fs-b2); line-height:1.7; gap:9px;
}
html[data-hero-layout="panel"] .index__btn[aria-selected="true"] .sq{ background:var(--ochre); }
html[data-hero-layout="panel"] #controls{ border-top:0; }

@media (max-width: 980px){
  .hpanel{ grid-template-columns:1fr; }
  html[data-hero-layout="panel"] .hpanel > #index{ border-right:0; border-bottom:1px solid var(--rule); }
}

/* ==================================================================
   LEFT PANE BALANCE
   With the subject tabs moved onto the render, the left column lost
   the thing that anchored its top edge and the copy was left floating
   in the middle of a tall empty column.

   --hl-tabh matches the tab strip so the copy can sit level with the
   top of the render rather than the top of the pane.
   ================================================================== */
:root{ --hl-tabh: 44px; }
/* only the stagetop layout puts a strip above the render, so only it needs
   the offset that keeps the left column level with the field */
html[data-hero-layout="stagetop"][data-hero-lpane="top"] .pane-l,
html[data-hero-layout="stagetop"][data-hero-lpane="spread"] .pane-l{
  padding-top:calc(var(--lp-pt) + var(--hl-tabh));
}

.pane-l__foot{ display:none; color:var(--sage-ink); }

html[data-hero-lpane="top"] .pane-l{ justify-content:flex-start; }




html[data-hero-lpane="spread"] .pane-l__foot{
  display:block; margin-top:22px; height:0;
  border-top:1px solid var(--rule);
}

/* ============ 4 · OVERLAY — the tabs sit on the render itself ============
   No strip above the field. A rounded track floats at the top-left of
   the stage; the active subject rides on an elevated pill that slides
   between positions. Hovering an inactive one previews the pill as a
   soft outline.

   The track is tinted a step off the ground so the pill reads as
   lifted — pill and track both at --ground would be invisible.
   ================================================================== */
html[data-hero-layout="overlay"] .stage > #index{
  position:absolute; top:16px; left:20px; z-index:3;
  flex-direction:row; align-items:stretch;
  padding:4px; border-radius:999px;
  background:color-mix(in srgb, var(--rule-2) 62%, var(--ground));
  border:1px solid color-mix(in srgb, var(--rule) 62%, var(--ground));
  box-shadow:inset 0 1px 2px color-mix(in srgb, var(--forest) 5%, transparent);
}

/* the elevated pill */
.index__ind{
  position:absolute; top:var(--tgl-pad,4px); bottom:var(--tgl-pad,4px); left:0; width:0;
  border-radius:999px; pointer-events:none; z-index:0; opacity:0;
  background:var(--ground);
  border:1px solid color-mix(in srgb, var(--rule) 78%, var(--ground));
  box-shadow:
    0 1px 1px color-mix(in srgb, var(--forest) 6%, transparent),
    0 6px 14px -4px color-mix(in srgb, var(--forest) 16%, transparent);
  transition:transform .34s cubic-bezier(.4,0,.2,1),
             width .34s cubic-bezier(.4,0,.2,1),
             opacity .2s ease;
}
.index__ind.is-ready{ opacity:1; }

html[data-hero-layout="overlay"] .index__btn{
  position:relative; z-index:1; background:transparent;
  border-radius:999px; border:0;
  font-family:var(--mono); font-size:var(--fs-m2); font-weight:500;
  letter-spacing:var(--tr-mi); text-transform:uppercase;
  padding:7px 13px; line-height:1; gap:0;
  color:var(--sage-ink);
  transition:color .18s ease, box-shadow .18s ease;
}
html[data-hero-layout="overlay"] .index__btn[aria-selected="true"]{ color:var(--forest); }

/* hairline dividers between items, inset so the pill clears them */
html[data-hero-layout="overlay"] .index__btn + .index__btn::before{
  content:''; position:absolute; left:-1px; top:5px; bottom:5px; width:1px;
  background:color-mix(in srgb, var(--rule) 80%, var(--ground));
  transition:opacity .18s ease;
}

/* hovering an inactive item previews the pill as a soft outline */
html[data-hero-layout="overlay"] .index__btn:not([aria-selected="true"]):hover{
  color:var(--forest-mid);
  box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--rule) 88%, var(--ground));
}
html[data-hero-layout="overlay"] .index__btn:not([aria-selected="true"]):hover::before,
html[data-hero-layout="overlay"] .index__btn:not([aria-selected="true"]):hover + .index__btn::before{ opacity:0; }

html[data-hero-layout="overlay"] .index__btn .n,
html[data-hero-layout="overlay"] .index__btn .sq{ display:none; }

@media (prefers-reduced-motion: reduce){
  .index__ind{ transition:opacity .2s ease; }
}

/* ==================================================================
   LEFT PANE — everything the left-pane panel can drive
   Scoped to .pane-l so the shared .cta / .cta-note rules used in the
   footer and elsewhere are untouched. Defaults are the shipped
   values, so opening the panel changes nothing.
   ================================================================== */
:root{
  --lp-pt: 14px;                /* signed off 2026-08-20 */
  --lp-pr: 32px;                /* signed off 2026-08-20 */
  --lp-pb: 18px;                /* signed off 2026-08-20 */
  --lp-pl: 46px;                /* signed off 2026-08-20 */
  --lp-bg: var(--ground);
  --lp-divw: 1px;
  --lp-align: center;           /* signed off 2026-08-20 */
  --lp-text: left;              /* signed off 2026-08-20 */

  --lp-copy-size: 16px;         /* signed off 2026-08-20 */
  --lp-copy-lead: 1.6;
  --lp-copy-meas: 40ch;
  --lp-copy-mt: 34px;           /* signed off 2026-08-20 */
  --lp-copy-mb: 34px;           /* signed off 2026-08-20 */
  --lp-copy-c: var(--forest-mid);
  --lp-copy-align: left;         /* the copy sets its own alignment, so it can
                                    read left while the note reads centred */
  --lp-copy-self: flex-start;

  --lp-cta-w: 560px;            /* signed off 2026-08-20 */
  --lp-cta-h: 58px;
  --lp-cta-size: 12px;

  --lp-note-mt: 15px;           /* signed off 2026-08-20 */
  --lp-note-size: 10px;         /* signed off 2026-08-20 */
  --lp-note-c: #53654e;         /* signed off 2026-08-20 */
  --lp-note-align: center;

  --lp-rule-mt: 16px;           /* signed off 2026-08-20 */
  --lp-rule-w: 1px;
  --lp-rule-c: var(--rule);
}

.pane-l{
  padding:var(--lp-pt) var(--lp-pr) var(--lp-pb) var(--lp-pl);
  background:var(--lp-bg);
  border-right:var(--lp-divw) solid var(--hs-div);
  align-items:var(--lp-align);
  text-align:var(--lp-text);
}
.pane-l__copy{
  font-size:var(--lp-copy-size);
  line-height:var(--lp-copy-lead);
  max-width:var(--lp-copy-meas);
  margin:var(--lp-copy-mt) 0 var(--lp-copy-mb);
  color:var(--lp-copy-c);
  text-align:var(--lp-copy-align);
  align-self:var(--lp-copy-self);
}
/* Pinned by default: an auto bottom margin absorbs the free space, so the copy
   rides the top while everything after it stays wherever the balance put it.
   Auto margins beat justify-content, so this holds for every balance. */
.pane-l__copy{ margin-top:0; margin-bottom:auto; }
html[data-lp-copy="flow"] .pane-l__copy{ margin-top:var(--lp-copy-mt); margin-bottom:var(--lp-copy-mb); }
/* size only — shape and colour are owned by Tweaks > Buttons, whose
   html[data-tw-btn] .cta rule is more specific than this one */
.pane-l .cta{
  max-width:var(--lp-cta-w);
  height:var(--lp-cta-h); line-height:var(--lp-cta-h);
  font-size:var(--lp-cta-size);
}
.pane-l .cta-note{
  margin-top:var(--lp-note-mt);
  font-size:var(--lp-note-size);
  color:var(--lp-note-c);
  /* matched to the button so centring lands under the button, not the pane */
  max-width:var(--lp-cta-w);
  width:100%;
  text-align:var(--lp-note-align);
}
html[data-lp-rule="on"] .pane-l__foot{
  display:block; height:0;
  margin-top:var(--lp-rule-mt);
  border-top:var(--lp-rule-w) solid var(--lp-rule-c);
}

/* ==================================================================
   PARAMETER RAIL — same toggle language as the subject tabs
   The env groups (sea surface, wind shear, track…) were square
   segmented controls with a filled active state, which read as a
   different control family from the subject pills sitting on the
   render directly above them. Same treatment now: tinted track,
   elevated pill, soft outline on hover, hairline dividers.
   ================================================================== */
.controls .seg{
  --tgl-pad: 3px;
  position:relative;
  padding:var(--tgl-pad); border-radius:999px;
  background:color-mix(in srgb, var(--rule-2) 62%, var(--ground));
  border:1px solid color-mix(in srgb, var(--rule) 62%, var(--ground));
  box-shadow:inset 0 1px 2px color-mix(in srgb, var(--forest) 5%, transparent);
}
.controls .seg button{
  position:relative; z-index:1;
  background:transparent; border:0; border-radius:999px;
  padding:6px 11px; color:var(--sage-ink);
  transition:color .18s ease, box-shadow .18s ease;
}
/* beat .seg button[aria-pressed="true"] in style.css, which fills with ochre */
.controls .seg button[aria-pressed="true"],
.controls .seg button[aria-pressed="true"]:hover{
  background:transparent; color:var(--forest);
}
.controls .seg button + button::before{
  content:''; position:absolute; left:-1px; top:4px; bottom:4px; width:1px;
  background:color-mix(in srgb, var(--rule) 80%, var(--ground));
  transition:opacity .18s ease;
}
.controls .seg button:not([aria-pressed="true"]):hover{
  color:var(--forest-mid);
  box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--rule) 88%, var(--ground));
}
.controls .seg button:not([aria-pressed="true"]):hover::before,
.controls .seg button:not([aria-pressed="true"]):hover + button::before{ opacity:0; }


/* ==================================================================
   STAGE TAG
   Its right edge lines up with the nav's button — both inset by the
   page gutter — rather than sitting at an unrelated 20px.
   ================================================================== */
:root{ --stage-tag-right: var(--gutter); --stage-tag-top: 16px; }
.stage__tag{ right:var(--stage-tag-right); top:var(--stage-tag-top); }

/* ==================================================================
   FIELD TINT — colour cutting through the characters
   All three clip a gradient to the glyphs, so the colour lands on the
   typed characters themselves and the field keeps --char everywhere
   the effect isn't. None of them recolour the image.

   Coverage rule: for the non-repeating gradients the background is
   300% wide and background-position stays inside 0-100%. Outside that
   the gradient stops covering the element and, with text-fill
   transparent, the uncovered glyphs disappear — which reads as a white
   block sweeping across.
   ================================================================== */
:root{
  --wx-tint-c: #0f6b2f;      /* signed off 2026-08-20 */
  --wx-tint-w: 12;           /* how wide the colour runs, in % of the sweep */
  --wx-sweep-dur: 36s;
}

/* --- 1 · SLASH — a hard-edged diagonal cut, fast, with long pauses ---
   Steep angle, tight band, and an easing that idles at both ends and
   crosses the field almost instantly. Water thrown across the frame
   rather than a wash drifting over it. */
html[data-wx-tint="slash"] [data-subject="weather"] .render{
  background-image:linear-gradient(74deg,
    var(--char) 0%,
    var(--char) calc(50% - var(--wx-tint-w) * 1%),
    var(--wx-tint-c) calc(50% - var(--wx-tint-w) * 0.34%),
    var(--wx-tint-c) calc(50% + var(--wx-tint-w) * 0.34%),
    var(--char) calc(50% + var(--wx-tint-w) * 1%),
    var(--char) 100%);
  background-size:300% 100%;
  animation:wx-slash var(--wx-sweep-dur) cubic-bezier(.85,0,.15,1) infinite;
}
@keyframes wx-slash{ from{ background-position:100% 0; } to{ background-position:0% 0; } }

/* --- 2 · SCAN — thin lines shuttering down through the field ---
   A repeating gradient, so it tiles and coverage is never an issue.
   Reads as a shutter passing over the characters, a few rows at a
   time, rather than one edge crossing them. */
html[data-wx-tint="scan"] [data-subject="weather"] .render{
  background-image:repeating-linear-gradient(178deg,
    var(--char) 0px,
    var(--char) calc(var(--wx-tint-w) * 2px),
    var(--wx-tint-c) calc(var(--wx-tint-w) * 2px + 1px),
    var(--wx-tint-c) calc(var(--wx-tint-w) * 2px + 3px),
    var(--char) calc(var(--wx-tint-w) * 2px + 4px),
    var(--char) calc(var(--wx-tint-w) * 4px));
  animation:wx-scan var(--wx-sweep-dur) linear infinite;
}
@keyframes wx-scan{
  from{ background-position:0 0; }
  to  { background-position:0 calc(var(--wx-tint-w) * 4px); }
}

/* --- 3 · CORE — colour pooled where the storm is densest ---
   A radial centred on the eye, breathing on the same slow clock as the
   render. The colour follows the data instead of travelling over it:
   dense glyphs carry it, the sparse outer field stays neutral. */
html[data-wx-tint="core"] [data-subject="weather"] .render{
  background-image:radial-gradient(circle at 50% 46%,
    var(--wx-tint-c) 0%,
    var(--wx-tint-c) calc(var(--wx-tint-w) * 1%),
    var(--char) calc(var(--wx-tint-w) * 3.4%),
    var(--char) 100%);
  background-size:100% 100%;
  background-position:center;
  animation:wx-core var(--wx-sweep-dur) ease-in-out infinite alternate;
}
@keyframes wx-core{ from{ background-size:78% 78%; } to{ background-size:132% 132%; } }

html:not([data-wx-tint="none"]) [data-subject="weather"] .render{
  background-repeat:repeat;
  -webkit-background-clip:text; background-clip:text;
  -webkit-text-fill-color:transparent;
}
/* ---- four more ways colour moves through the characters -------------------
   These sit after the shared scaffold above so they can override its
   background-repeat. Every one of them keeps the painted area at 100% or
   larger: a background smaller than its box leaves glyphs uncovered, and an
   uncovered glyph is transparent, not black — that is what put a white shape
   drifting across the field earlier. */

/* Drift — two soft pools of colour wandering past each other, like light
   coming through moving water. The only effect with no hard edge. */
html:not([data-wx-tint]) [data-subject="weather"] .render,
html[data-wx-tint="drift"] [data-subject="weather"] .render{
  background-repeat:no-repeat, no-repeat, repeat;
  background-image:
    radial-gradient(closest-side, var(--wx-tint-c), transparent),
    radial-gradient(closest-side, var(--wx-tint-c), transparent),
    linear-gradient(var(--char), var(--char));
  background-size:
    calc(20% + var(--wx-tint-w) * 1.6%) calc(24% + var(--wx-tint-w) * 1.8%),
    calc(24% + var(--wx-tint-w) * 1.8%) calc(18% + var(--wx-tint-w) * 1.2%),
    100% 100%;
  animation:wx-drift var(--wx-sweep-dur) ease-in-out infinite alternate;
}
@keyframes wx-drift{
  from{ background-position:14% 26%, 80% 72%, 0 0; }
  to  { background-position:52% 64%, 34% 22%, 0 0; }
}

/* Edge — the storm's core stays the base colour and the colour lives out at
   the rim, breathing in and out. The inverse of Core. */
html[data-wx-tint="edge"] [data-subject="weather"] .render{
  background-image:radial-gradient(circle at 50% 46%,
    var(--char) 0%,
    var(--char) calc(30% + var(--wx-tint-w) * 1.1%),
    var(--wx-tint-c) calc(52% + var(--wx-tint-w) * 1.4%),
    var(--wx-tint-c) 100%);
  animation:wx-edge var(--wx-sweep-dur) ease-in-out infinite alternate;
}
@keyframes wx-edge{ from{ background-size:130% 130%; } to{ background-size:98% 98%; } }

/* Pulse — concentric rings reading out from the eye. Breathes on alternate
   rather than looping, so there is no seam where the rings reset. */
html[data-wx-tint="pulse"] [data-subject="weather"] .render{
  background-image:repeating-radial-gradient(circle at 50% 46%,
    var(--char) 0,
    var(--char) calc(var(--wx-tint-w) * 0.42%),
    var(--wx-tint-c) calc(var(--wx-tint-w) * 0.56%),
    var(--wx-tint-c) calc(var(--wx-tint-w) * 0.7%),
    var(--char) calc(var(--wx-tint-w) * 0.9%));
  animation:wx-pulse var(--wx-sweep-dur) ease-in-out infinite alternate;
}
@keyframes wx-pulse{ from{ background-size:100% 100%; } to{ background-size:172% 172%; } }

/* Split — a waterline. Colour below, base colour above, the boundary riding
   up and down at a slight angle. */
html[data-wx-tint="split"] [data-subject="weather"] .render{
  background-image:linear-gradient(184deg,
    var(--char) 0%,
    var(--char) calc(50% - var(--wx-tint-w) * 0.7%),
    var(--wx-tint-c) calc(50% + var(--wx-tint-w) * 0.7%),
    var(--wx-tint-c) 100%);
  animation:wx-split var(--wx-sweep-dur) ease-in-out infinite alternate;
}
@keyframes wx-split{
  from{ background-position:0 -14%; } to{ background-position:0 16%; }
}

@supports not ((-webkit-background-clip:text) or (background-clip:text)){
  html:not([data-wx-tint="none"]) [data-subject="weather"] .render{ -webkit-text-fill-color:currentColor; background-image:none; }
}
@media (prefers-reduced-motion: reduce){
  html:not([data-wx-tint="none"]) [data-subject="weather"] .render{ animation:none; }
}

/* ==================================================================
   STAGE TAG
   Its right edge lines up with the nav's button — both inset by the
   page gutter — rather than sitting at an unrelated 20px.
   ================================================================== */
:root{ --stage-tag-right: var(--gutter); --stage-tag-top: 16px; }
.stage__tag{ right:var(--stage-tag-right); top:var(--stage-tag-top); }

/* ==================================================================
   SEND SHIP
   The action button borrows the environment segments' pill track so the
   rail reads as one family. It carries no aria-pressed, so it already
   inherits their hover outline — only the pressed state is new.
   ================================================================== */
.controls .seg--action button{ color:var(--forest-mid); }
.controls .seg--action button:active{
  background:color-mix(in srgb, var(--ground) 88%, var(--rule));
  box-shadow:inset 0 1px 2px color-mix(in srgb, var(--forest) 12%, transparent);
}

/* ==================================================================
   FIRE INK
   The wildfire tab draws in a warm ink rather than the sage used for
   weather and climate. Sparse warm characters on the light ground is
   most of what makes a field read as fire at all — a green flame reads
   as foliage. A literal, not var(--ochre): the ochre token is itself
   editable from the tweak bar.
   ================================================================== */
:root{ --fire-ink: #C0501B; }
[data-subject="wildfire"] .render{
  color:var(--fire-ink);
  -webkit-text-fill-color:var(--fire-ink);
}

/* The fleet's own layer, sitting exactly on the field's grid. It mirrors
   .render's box and takes its font-size from the same build(), so the two
   never drift apart. Its colour is independent of the field's. */
:root{ --ship-c: #8E4419; }
.render__ships{
  position:absolute; top:0; left:0; right:0;
  margin:0; padding:0;
  font-family:var(--mono); font-weight:400; line-height:var(--lh-f);
  white-space:pre;
  color:var(--ship-c);
  -webkit-text-fill-color:var(--ship-c);   /* clear the field's clip-to-text */
  background:none;
  pointer-events:none;
  z-index:1;
}

/* Instrument overlay (fire tab): satellite, lock-on tags, north + scale.
   Same box and metrics as the ships layer; drawn in the label ink so it reads
   as the instrument, not as fire. */
.render__over{
  position:absolute; top:0; left:0; right:0;
  margin:0; padding:0;
  font-family:var(--mono); font-weight:400; line-height:var(--lh-f);
  white-space:pre;
  color:var(--forest-mid);
  -webkit-text-fill-color:var(--forest-mid);
  background:none;
  pointer-events:none;
  z-index:1;
}

/* The satellite (fire tab). Its own element so it can run larger than the
   field's type; left/top/font-size set per frame by build(). The transform
   puts the body (the last 5 chars) on the anchor, trail trailing behind. */
.render__sat{
  position:absolute; margin:0; padding:0;
  font-family:var(--mono); font-weight:400; line-height:1;
  white-space:pre;
  color:var(--sage-ink);                    /* softened from --forest 2026-10-28 */
  -webkit-text-fill-color:var(--sage-ink);
  opacity:.7;                               /* and lighter again — "less stark" */
  background:none;
  transform:translate(calc(-100% + 2.5ch), -50%);
  pointer-events:none;
  z-index:2;
}

/* The nag, sitting under the stage tag and sharing its right edge. */
.stage__nag{
  position:absolute; z-index:2;
  right:var(--stage-tag-right);
  top:calc(var(--stage-tag-top) + 30px);
  background:var(--ground);
  border:1px solid color-mix(in srgb, var(--ochre) 46%, var(--rule));
  color:var(--ochre-d, var(--ochre));
  padding:5px 9px;
  opacity:0; transform:translateY(-4px);
  transition:opacity .22s ease, transform .22s ease;
  pointer-events:none;
}
.stage__nag.is-on{ opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){
  .stage__nag{ transition:none; }
}
