/* ==========================================================================
   The Energy Association — Desert Chapter
   Component layer. Colour and type come from tokens.css; nothing here should
   hard-code a hex value. If you find yourself typing '#', add a token instead.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

/* scroll-padding-top: anchor jumps and keyboard focus land BELOW the sticky
   masthead, not under it (WCAG 2.2 2.4.11 Focus Not Obscured). The height comes
   from nav.js, which measures the real bar; the fallback covers the frame before
   it runs. It replaces the per-element scroll-margin-top: 6rem rules, which would
   otherwise add to it. */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth;
       scroll-padding-top: calc(var(--masthead-h, 4.25rem) + 1rem); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--color-sand);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------------------------------------------------------------- type */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--color-ink);
  margin: 0;
  text-wrap: balance;
  font-weight: var(--weight-display-semi);
  letter-spacing: var(--tracking-display);
}
h1 { font-size: clamp(2.6rem, 7vw, var(--scale-step-6)); line-height: .98; font-weight: var(--weight-display-black); }
h2 { font-size: clamp(1.9rem, 4.4vw, var(--scale-step-4)); line-height: 1.08; }
h3 { font-size: var(--scale-step-2); line-height: 1.22; }
h4 { font-size: var(--scale-step-1); line-height: 1.3; font-family: var(--font-body); font-weight: var(--weight-body-bold); }

p { margin: 0; max-width: 64ch; }
strong, b { color: var(--color-ink); font-weight: var(--weight-body-bold); }
em { font-style: italic; }
small { font-size: var(--scale-step--1); }

a { color: var(--color-bolt); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--color-ink); }
/* An email address is one unbreakable word, and ours is 33 characters. At 320px
   it is wider than most columns it can sit in, and because `anywhere` (unlike
   `break-word`) also lowers the min-content width, it is what lets a grid or
   flex track shrink back inside the viewport instead of pushing the page
   sideways. Site-wide, because the address is printed from one configured value
   into a dozen templates and the domain is expected to change. */
a[href^="mailto:"] { overflow-wrap: anywhere; }
:focus-visible { outline: 2px solid var(--color-bolt); outline-offset: 3px; border-radius: var(--radius-sm); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: var(--weight-mono-medium);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-sun-ink);
  margin: 0;
}
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------- figures */
/* Money, counts and tallies. The display face is a Didone: its thin strokes go
   first, which makes "$11.11" ambiguous exactly where ambiguity is expensive.
   The brand system already names the mono face for labels, dates and member
   numbers — a price is the same kind of thing. Tabular figures also let a
   column of prices line up, which a proportional face never will.
   Apply .figure to any element whose content is primarily a number. */
.figure {
  font-family: var(--font-mono) !important;
  font-variant-numeric: tabular-nums;
  font-weight: var(--weight-mono-medium);
  letter-spacing: -.02em;
}

/* The Didone floor, as a utility. Below roughly 20px the hairlines stop
   rendering on most screens and the face reads as damaged rather than elegant.
   --scale-step-1 is 19.2px, so display text set at that step needs this. */
.display-min {
  font-size: max(1.25rem, var(--scale-step-1));
}
.lede {
  font-family: var(--font-display);
  /* A Didone's hairlines physically disappear below about 20px, so the floor
     here is 1.25rem rather than the 1.15rem it used to be. The brand rule says
     never below 20px and this rule was breaking it at 16.8px on a narrow
     viewport, which is where "hard to read" came from. */
  font-size: clamp(1.25rem, 2.5vw, 1.45rem);
  line-height: 1.45;
  color: var(--color-ink);
  max-width: 46ch;
}

/* A heading that has to exist for the document outline but must not read as a
   display heading — it is the sentence introducing a short list, and setting it
   at the h2 display scale would make the list look like a new chapter. Bodoni
   never goes below 20px on this site, so this drops to the body face instead of
   to a smaller Didone. */
.h-plain {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: var(--weight-body-regular, 400);
  line-height: 1.55;
  letter-spacing: normal;
  color: var(--color-ink);
}

/* -------------------------------------------------------------- layout */
.wrap { width: min(72rem, 100% - 2.5rem); margin-inline: auto; }
.wrap--narrow { width: min(44rem, 100% - 2.5rem); }
.stack { display: flex; flex-direction: column; }
.stack-2 { gap: var(--space-2); } .stack-3 { gap: var(--space-3); }
.stack-4 { gap: var(--space-4); } .stack-5 { gap: var(--space-5); }
.stack-6 { gap: var(--space-6); } .stack-7 { gap: var(--space-7); }
.section { padding-block: clamp(3rem, 8vw, var(--space-9)); }
.section--tight { padding-block: clamp(2rem, 5vw, var(--space-8)); }
.grid { display: grid; gap: var(--space-5); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.center { text-align: center; }
.center p, .center .lede { margin-inline: auto; }

/* ---------------------------------------------------------------- bolt */
.bolt { display: inline-block; vertical-align: -.12em; color: var(--color-bolt); }
.bolt svg { display: block; fill: currentColor; }
.rule {
  display: flex; align-items: center; gap: var(--space-3);
  color: var(--color-bolt);
}
.rule::before, .rule::after { content: ""; flex: 1; height: 1px; background: var(--color-haze); }
.rule--start::before { display: none; }

/* -------------------------------------------------------------- header */
.masthead {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--color-sand) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-haze);
}
.masthead__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-5); padding-block: var(--space-3);
}
.masthead__logo { display: flex; align-items: center; flex: 0 0 auto; }
.masthead__logo img { height: 2.5rem; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; }
.nav__group { display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; }
/* Her own rooms are a different kind of destination from the shop, so they get
   their own zone rather than eleven undifferentiated links in one row. */
.nav__group--mine {
  padding-left: var(--space-4);
  border-left: 1px solid var(--color-haze);
  gap: var(--space-3);
}
.nav__group--mine a { color: var(--color-ink); }
.nav__group--mine a:hover { color: var(--color-bolt); }
.nav a {
  font-size: .875rem; color: var(--color-dusk); text-decoration: none;
  padding-block: .25rem; border-bottom: 1px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--color-ink); border-bottom-color: var(--color-bolt); }
.nav__toggle { display: none; }

/* Work With Me: a <details> menu, so it opens without script and keyboard users
   get a real control. On wide screens the list floats under the summary; in the
   collapsed menu it is an indented list inline. */
.nav__menu { position: relative; }
.nav__menu > summary {
  list-style: none; cursor: pointer; font-size: .875rem; color: var(--color-dusk);
  padding-block: .25rem; border-bottom: 1px solid transparent;
}
.nav__menu > summary::-webkit-details-marker { display: none; }
/* A drawn chevron: the body face has no ▾ glyph and fell back to a dot. */
.nav__menu > summary::after {
  content: ""; display: inline-block; width: .38em; height: .38em; margin-left: .4em;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-.2em) rotate(45deg);
}
.nav__menu[open] > summary::after { transform: translateY(.05em) rotate(225deg); }
.nav__menu > summary:hover, .nav__menu[open] > summary { color: var(--color-ink); border-bottom-color: var(--color-bolt); }
.nav__menu-list {
  position: absolute; top: calc(100% + .5rem); left: -.75rem; z-index: 20;
  display: flex; flex-direction: column; gap: .35rem; min-width: 15rem;
  padding: .75rem; background: var(--color-sand);
  border: 1px solid var(--color-haze); border-radius: var(--radius-sm);
  box-shadow: 0 12px 30px -18px color-mix(in srgb, var(--color-ink) 45%, transparent);
}

/* 68rem, not 56rem. The inline nav needs 1085px to sit on one row (logo 260px,
   links 571px + 42px, plus gaps). Between 897px and 1084px it wrapped instead:
   three and four ragged rows, a 105-153px sticky bar on an iPad in landscape, with
   Gatherings and Sign in stranded alone. Below the width it fits, it collapses to
   the MENU toggle. Keep in step with the toggle's own block in a11y.css. */
@media (max-width: 68rem) {
  .masthead__inner { flex-wrap: wrap; }
  .nav { width: 100%; display: none; padding-bottom: var(--space-3); gap: var(--space-4); }
  .nav[data-open="true"] { display: flex; }
  .nav__group { width: 100%; flex-direction: column; align-items: flex-start; gap: var(--space-3); }
  .nav__menu-list { position: static; box-shadow: none; border: none; background: none; padding: .35rem 0 0 1rem; min-width: 0; }
  .nav__group--mine {
    padding-left: 0; padding-top: var(--space-3);
    border-left: none; border-top: 1px solid var(--color-haze);
  }
  .nav__toggle {
    display: inline-flex; align-items: center; gap: .5rem;
    background: none; border: 1px solid var(--color-haze); color: var(--color-ink);
    font-family: var(--font-mono); font-size: .7rem; letter-spacing: var(--tracking-mono-label);
    text-transform: uppercase; padding: .5rem .8rem; border-radius: var(--radius-sm); cursor: pointer;
  }
}

/* ------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-body); font-size: .95rem; font-weight: var(--weight-body-bold);
  line-height: 1; text-decoration: none; cursor: pointer;
  padding: .95rem 1.5rem; border-radius: var(--radius-sm);
  border: 1px solid transparent; transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn--primary { background: var(--color-bolt); color: var(--color-sand); }
.btn--primary:hover { background: var(--color-ink); color: var(--color-sand); }
.btn--ghost { border-color: var(--color-haze); color: var(--color-ink); background: transparent; }
.btn--ghost:hover { border-color: var(--color-bolt); color: var(--color-bolt); }
.btn--quiet { padding: .5rem 0; color: var(--color-dusk); background: none; }
.btn--quiet:hover { color: var(--color-ink); }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }

/* ------------------------------------------------------------- surface */
.panel {
  background: var(--color-shell);
  border: 1px solid var(--color-haze);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  display: flex; flex-direction: column; gap: var(--space-3);
}
.panel--raised { background: var(--color-dune); }
.panel--accent { border-top: 3px solid var(--color-bolt); }

/* The one dark move in the system. Used sparingly — the footer, the member
   card, one section on the home page — so the page carries weight somewhere
   and does not read as flat beige. */
.panel--deep, .on-deep, .section--deep {
  background: var(--color-deep);
  color: var(--color-deep-ink);
  border-color: color-mix(in srgb, var(--color-deep-ink) 18%, transparent);
}
.panel--deep h1, .panel--deep h2, .panel--deep h3, .panel--deep h4,
.on-deep h1, .on-deep h2, .on-deep h3, .on-deep h4,
.section--deep h1, .section--deep h2, .section--deep h3, .section--deep h4,
.panel--deep strong, .on-deep strong, .section--deep strong { color: var(--color-deep-ink); }
.panel--deep .eyebrow, .on-deep .eyebrow, .section--deep .eyebrow { color: var(--color-sun); }
.panel--deep a, .on-deep a, .section--deep a { color: var(--color-sun); }
.panel--deep a:hover, .on-deep a:hover, .section--deep a:hover { color: var(--color-deep-ink); }

/* --------------------------------------------------------- price cards */
.prices { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.price {
  background: var(--color-shell); border: 1px solid var(--color-haze);
  border-radius: var(--radius-md); padding: var(--space-5);
  display: flex; flex-direction: column; gap: var(--space-3);
}
.price--feature { border-color: var(--color-sun); background: linear-gradient(160deg, var(--color-dune), var(--color-shell)); }
.price__label { font-family: var(--font-mono); font-size: .7rem; letter-spacing: var(--tracking-mono-label); text-transform: uppercase; color: var(--color-sun-ink); }
/* Prices are DATA, not display. A Didone makes $11.11 ambiguous — the thin
   strokes on the 1s and the decimal point are the first thing to vanish — and
   the mono face is already specified in the brand system for exactly this:
   labels, dates, member numbers. Tabular figures also mean a column of prices
   lines up, which a proportional face will never do. */
.price__amount {
  font-family: var(--font-mono);
  font-size: clamp(1.75rem, 4vw, 2.15rem);
  color: var(--color-ink);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  font-weight: var(--weight-mono-medium);
  letter-spacing: -.02em;
}
.price__amount small { font-family: var(--font-body); font-size: .9rem; color: var(--color-dusk); font-weight: var(--weight-body-regular); letter-spacing: 0; }
.price__note { font-size: .88rem; color: var(--color-dusk); }
.price__total { font-family: var(--font-mono); font-size: .76rem; color: var(--color-sun-ink); }

/* ----------------------------------------------------------- long copy */
.prose { display: flex; flex-direction: column; gap: var(--space-4); max-width: 40rem; }
.prose h2 { margin-top: var(--space-4); }
.prose h3 { color: var(--color-bolt); margin-top: var(--space-3); }
.prose ul, .prose ol { margin: 0; padding-left: 1.2rem; display: flex; flex-direction: column; gap: .5rem; }
.prose li::marker { color: var(--color-sun-ink); }
.prose blockquote {
  margin: 0; padding-left: var(--space-4); border-left: 2px solid var(--color-bolt);
  font-family: var(--font-display); font-size: 1.25rem; line-height: 1.4; color: var(--color-ink);
}
.prose hr { border: none; border-top: 1px solid var(--color-haze); margin-block: var(--space-4); }
/* Bullets in her sales copy were sparkle emoji; the bolt replaced them. */
.prose ul.bolted { list-style: none; padding-left: 0; }
/* The bolt is positioned, not a grid column. As a grid, every inline child of an
   item became a cell of its own: an item that opened in bold put the rest of its
   sentence into the 1.1rem bolt column, one word per line. Same geometry as the
   grid it replaces: bolt at the left edge, text at 1.1rem + .7rem. */
.prose ul.bolted li { position: relative; padding-left: 1.8rem; }
.prose ul.bolted li::before {
  content: ""; position: absolute; left: 0; top: .28rem;
  width: .55rem; height: 1.1rem;
  background: var(--color-bolt);
  clip-path: polygon(72% 0, 26% 0, 6% 53%, 42% 53%, 26% 100%, 98% 41%, 58% 41%);
}

/* --------------------------------------------------------------- forms */
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-family: var(--font-mono); font-size: .68rem; letter-spacing: var(--tracking-mono-label); text-transform: uppercase; color: var(--color-sun-ink); }
.field input, .field textarea, .field select {
  font-family: var(--font-body); font-size: 1rem; color: var(--color-ink);
  background: var(--color-sand); border: 1px solid var(--color-haze);
  border-radius: var(--radius-sm); padding: .8rem .9rem; width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--color-bolt); outline: none; }
.field .hint { font-size: .82rem; color: var(--color-dusk); }
.field .error, .validation-message { font-size: .84rem; color: var(--color-bolt); }
.validation-summary-errors ul { margin: 0; padding-left: 1.1rem; color: var(--color-bolt); font-size: .9rem; }
.field input[type="checkbox"] { width: auto; }
.check { display: flex; gap: .6rem; align-items: start; font-size: .92rem; }

/* --------------------------------------------------------------- notes */
.note {
  border: 1px solid var(--color-haze); border-left: 3px solid var(--color-bolt);
  border-radius: var(--radius-sm); padding: var(--space-4);
  background: var(--color-shell); font-size: .93rem;
  display: flex; flex-direction: column; gap: .5rem;
}
.note--warn { border-left-color: var(--color-bolt); }
.note--good { border-left-color: var(--color-sage); }

/* --------------------------------------------------------------- table */
.table-scroll { overflow-x: auto; border: 1px solid var(--color-haze); border-radius: var(--radius-md); }
table.data { border-collapse: collapse; width: 100%; min-width: 34rem; font-size: .9rem; background: var(--color-shell); }
table.data th, table.data td { text-align: left; padding: .7rem .85rem; border-bottom: 1px solid var(--color-haze); vertical-align: top; }
table.data thead th {
  font-family: var(--font-mono); font-size: .64rem; letter-spacing: var(--tracking-mono-label);
  text-transform: uppercase; color: var(--color-sun-ink); background: var(--color-dune); white-space: nowrap;
}
table.data tbody tr:last-child td { border-bottom: none; }
table.data td.num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--color-ink); }
/* A cookie NAME is monospace but it is not a number, and .AspNetCore.Mvc.
   CookieTempDataProvider has nowhere to break. With nowrap it forced the privacy
   cookie table 208px wider than its scroll box at every desktop width — two whole
   columns, "How long" and "Category", permanently off screen, and the description
   column crushed to 118px, which blew one row to 451px tall. The column is fixed
   at 704px so a wider monitor never helped. */
#cookies table.data td.num { white-space: normal; overflow-wrap: anywhere; }

.tag {
  display: inline-block; font-family: var(--font-mono); font-size: .62rem;
  letter-spacing: var(--tracking-mono-label); text-transform: uppercase;
  padding: .18rem .45rem; border-radius: var(--radius-sm); border: 1px solid currentColor; white-space: nowrap;
}
.tag--good { color: var(--color-sage); } .tag--live { color: var(--color-bolt); }
.tag--off { color: var(--color-dusk); } .tag--bad { color: var(--color-bolt); }

/* -------------------------------------------------------------- footer */
.footer { background: var(--color-deep); color: var(--color-deep-ink); margin-top: var(--space-8); padding-block: var(--space-7) var(--space-6); }
/* When the page ends on the dark film band, that 72px gap is a full-bleed cream
   stripe between two surfaces of the identical colour — it reads as a rendering
   seam rather than as spacing. Measured on / and /gatherings: the last section and
   the footer are both rgb(42,29,36) with 72px of rgb(250,244,237) between them, and
   the edge is hard, not faded. Only those two of 28 public routes end on a dark
   section; on the other 26 the gap sits cream-on-cream and is invisible, which is
   why it is removed by adjacency rather than unconditionally. */
.film:last-child + .footer,
main:has(> .film:last-child) + .footer { margin-top: 0; }
.footer__tag { font-size: .95rem; color: var(--color-deep-ink); }
.footer__tag strong { color: var(--color-deep-ink); font-weight: var(--weight-body-bold); }
.footer__disclaimer { font-size: .8rem; line-height: 1.55; max-width: 52rem; color: color-mix(in srgb, var(--color-deep-ink) 70%, transparent); }
.footer__cols { display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); }
.footer h3 { font-family: var(--font-mono); font-size: .66rem; letter-spacing: var(--tracking-mono-label); text-transform: uppercase; color: var(--color-sun); font-weight: var(--weight-mono-medium); }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .45rem; }
.footer a { color: color-mix(in srgb, var(--color-deep-ink) 76%, transparent); text-decoration: none; font-size: .92rem; }
.footer a:hover { color: var(--color-deep-ink); }
.footer__base {
  margin-top: var(--space-6); padding-top: var(--space-4);
  border-top: 1px solid color-mix(in srgb, var(--color-deep-ink) 18%, transparent);
  display: flex; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap;
  font-family: var(--font-mono); font-size: .66rem; letter-spacing: .1em;
  /* --color-dusk is 3.02:1 on deep and fails AA. This mix is 5.89:1. */
  color: color-mix(in srgb, var(--color-deep-ink) 60%, transparent);
  text-transform: uppercase;
}

/* ---------------------------------------------------------- skip link */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--color-bolt); color: var(--color-sand);
  padding: .7rem 1rem; font-weight: var(--weight-body-bold);
}
.skip:focus { left: var(--space-4); top: var(--space-4); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* A .visually-hidden span inside a wide table pushed the WHOLE PAGE sideways.
   It is position:absolute with no offsets, so it sits at its static position —
   about 812px into an 876px table — and .table-scroll's overflow-x:auto did not
   clip it, because a scroll container is not a containing block for absolutely
   positioned descendants unless it is positioned itself.
   Measured on /admin/circle: document scrollWidth 813 at viewport widths 375,
   414 and 768, while every other console page matched its viewport exactly. */
.table-scroll { position: relative; }

/* ==========================================================================
   Status pages — 404, 500, 403.
   These render when something has already gone wrong, so they lean on tokens
   and layout primitives that are defined above rather than introducing
   anything of their own that could also be missing.
   ========================================================================== */
.status__path {
  font-family: var(--font-mono);
  font-size: .82rem;
  /* An address or a trace id has no spaces to break at, and must not be
     allowed to push the page sideways on a phone. */
  word-break: break-all;
  background: var(--color-dune);
  padding: .15em .4em;
  border-radius: var(--radius-1);
}

.status__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-2);
}
.status__list a {
  font-family: var(--font-display);
  font-size: 1.25rem;   /* the display face is unreadable below 20px */
  color: var(--color-ink);
  text-decoration: none;
  border-bottom: 1px solid var(--color-haze);
  padding-bottom: .2rem;
  display: inline-block;
}
.status__list a:hover { border-bottom-color: var(--color-bolt); color: var(--color-bolt); }

/* --------------------------------------------------------------------------
   Masthead wordmark.
   Replaces a baked lockup SVG that spelled out the old brand name. The mark is
   still the bolt — her only real piece of brand equity — and the words come
   from Site:Name, so the picture and the site cannot disagree again.
   -------------------------------------------------------------------------- */
.masthead__logo { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; }
.masthead__logo img { flex: 0 0 auto; }
.masthead__word { display: flex; flex-direction: column; gap: .1rem; line-height: 1; }
.masthead__name {
  font-family: var(--font-display);
  /* The display face is unreadable below 20px; this is the floor, not a choice. */
  font-size: 1.25rem;
  color: var(--color-ink);
  letter-spacing: -.005em;
}
.masthead__chapter {
  font-family: var(--font-mono);
  font-size: .54rem;
  letter-spacing: var(--tracking-mono-label);
  text-transform: uppercase;
  color: var(--color-dusk);
}
@media (max-width: 40rem) {
  /* The chapter line is the first thing to go when the bar gets tight — the
     name has to survive, the qualifier does not. */
  .masthead__chapter { display: none; }
  /* The NAME does not shrink. 1.1rem is 17.6px, and the display face is
     unreadable below 20px — that floor is the house rule, not a preference.
     Measured: the whole lockup occupies 243px of a 375px bar, so there was
     nothing to buy by shrinking it. The chapter line above is what gives way
     when the bar gets tight. */
}
