
  :root {
    --bg: #0f0f0f;
    --text: #e8e6e1;
    --dim: #8f8d88;
    --line: #262626;
    --accent: #c9782f;
    /* Supporting shades. Each has one job; nothing else may introduce a colour. */
    --open: #4a4744;        /* an open seat, a cleared value, a rule that is off */
    /* The classic-era class colors: the roster's class names and the seat board's filled seats. */
    --class-warrior: #c79c6e;
    --class-paladin: #f58cba;
    --class-hunter: #abd473;
    --class-rogue: #fff569;
    --class-priest: #ffffff;
    --class-shaman: #0070de;
    --class-mage: #69ccf0;
    --class-warlock: #9482c9;
    --class-druid: #ff7d0a;
    --track: #333130;       /* the unlit part of a progress track */
    --line-strong: #4a4a4a; /* the outline of a choice row */
    --placeholder: #6e6c67; /* placeholder text in a field */
    --raise: #141414;       /* a row under the pointer */
    --raise-accent: #161310;/* a chosen row */

    /*
     * Two faces of one family. Reading text is IBM Plex Sans. Titles, side-heads, and key
     * figures are IBM Plex Sans Condensed at one weight, in sentence case.
     */
    --font-body: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
    --font-display: 'IBM Plex Sans Condensed', 'IBM Plex Sans', 'Arial Narrow', Arial, sans-serif;

    /*
     * Type scale. Ten steps; every font-size on the site is one of these.
     * Fixed steps for reading text, fluid steps only for display sizes.
     */
    --text-note: 0.875rem;                          /* table notes, hints, group labels */
    --text-small: 0.9375rem;                        /* secondary text, navigation, labels */
    --text-body: 1.0625rem;                         /* reading text */
    --text-h3: 1.125rem;                            /* sub-headings */
    --text-lead: 1.25rem;                           /* emphasised values, card titles */
    --text-lede: clamp(1.25rem, 2vw, 1.625rem);     /* the paragraph under a page title */
    --text-figure: clamp(1.375rem, 2vw, 1.875rem);  /* raid times, answers, large numbers */
    --text-h2: clamp(1.625rem, 2.6vw, 2.25rem);     /* section titles, the application question */
    --text-h1: clamp(2.25rem, 4.5vw, 3.5rem);       /* part titles, the application title */
    --text-display: clamp(3rem, 8.4vw, 7rem);       /* page titles, in the display face only */

    /* Spacing scale, in quarter-rem steps. Every padding, margin, and gap uses one. */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --tally-gap: 3px;                               /* between cuts in a tally group (doc 02 §2b) */
    --space-block: clamp(2rem, 4vw, 3rem);          /* between parts of one section */
    --space-band: clamp(3rem, 5vw, 5rem);           /* above and below a band such as the team strip or a page head */
    --space-columns: clamp(2rem, 4vw, 4rem);        /* between side-by-side columns */
    --space-links: clamp(1.25rem, 2vw, 2rem);       /* between links in a row */
    --space-section: clamp(4rem, 8vw, 7rem);        /* between sections */

    /* Motion. One curve; an entrance is short and plays once. */
    --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);

    /* Reading measures. */
    --measure: 62ch;
    --measure-narrow: 44ch;
    --gutter: clamp(1.25rem, 5vw, 3rem);
    --max: min(88vw, 82rem);
    --cut: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='6' viewBox='0 0 400 6'><path fill='%23e8e6e1' d='M0 2.4 C40 1.6 70 3.4 110 2.2 S190 3.8 230 2.6 300 1.8 340 3.0 380 2.0 400 2.4 L400 3.6 C380 3.4 340 4.4 300 3.4 S230 4.4 190 4.8 110 3.4 70 4.6 40 3.6 0 3.6 Z'/></svg>");
    /* The same carved line in the accent: the underline of the one heading that is a statement. */
    --cut-accent: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='6' viewBox='0 0 400 6'><path fill='%23c9782f' d='M0 2.4 C40 1.6 70 3.4 110 2.2 S190 3.8 230 2.6 300 1.8 340 3.0 380 2.0 400 2.4 L400 3.6 C380 3.4 340 4.4 300 3.4 S230 4.4 190 4.8 110 3.4 70 4.6 40 3.6 0 3.6 Z'/></svg>");
    --stroke: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 16'><path fill='%23c9782f' d='M1.5 0 C4 5 7 10 11 16 C7 13 3.5 8 0 3 Z'/></svg>");
    --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.93  0 0 0 0 0.90  0 0 0 0 0.85  0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
    --wordmark: url("/images/p3-wordmark-small.webp");
    --pageprint: url("/images/p8-mark-band.webp");
    color-scheme: dark;
  }
  * { box-sizing: border-box; }
  /* Padding that puts a full-width block's content on the same edge as a centered .wrap or .m column.
     Percent, not vw: it resolves against the block's width, which excludes the scrollbar. */
  :root { --edge: calc(max(0px, (100% - var(--max)) / 2) + var(--gutter)); }
  /* Self-hosted Latin IBM Plex Sans; one variable face covers the approved 400–600 weights. */
  @font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-stretch: normal; font-weight: 400 600; font-display: swap; src: url("/fonts/ibm-plex-sans-latin.woff2") format("woff2"); }
  /* The display face: IBM Plex Sans Condensed, Latin, one weight. Titles, side-heads, and key figures only. */
  @font-face { font-family: 'IBM Plex Sans Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/ibm-plex-sans-condensed-700-latin.woff2") format("woff2"); }
  /* Ink on the block: a faint fixed grain over the whole page. The hero adds its own on top. */
  /* No blend mode: a fixed, full-viewport blended layer makes every paint on the
     page re-composite the whole viewport. Over this near-black ground, plain
     opacity is visually identical. */
  body::before { content: ""; position: fixed; inset: 0; z-index: 50; pointer-events: none; background: var(--grain); background-size: 240px 240px; opacity: 0.055; }
  /* Cut rules: the strong structural lines are one gouged stroke, not a hairline. Dim row lines stay hairlines. */
  body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: var(--text-body); line-height: 1.6; -webkit-font-smoothing: antialiased; }
  a { color: var(--text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; text-decoration-color: var(--dim); transition: color 150ms ease, text-decoration-color 150ms ease; }
  .guild { color: var(--accent); }
  a:hover { text-decoration-color: var(--accent); }
  a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
  /* Keyboard users jump past the top bar; the link is off the page until it has focus. */
  .skip { position: absolute; left: 50%; top: 0; z-index: 60; padding: var(--space-2) var(--space-4); background: var(--text); color: var(--bg); font-size: var(--text-small); font-weight: 600; text-decoration: none; transform: translate(-50%, -150%); }
  .skip:focus-visible { transform: translate(-50%, 0); outline-offset: 0; }
  h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.01em; text-wrap: balance; }
  /* One display voice for the whole site: sentence case, tight leading, no tracking. */
  .m .head h1, .team h2, .band h2, .sec h3.sub, .structure-block h2.sub, .roledetail h2, .rail-facts dd, .ident .def, .screen .q, .step-n, .opt .key { font-family: var(--font-display); font-weight: 700; letter-spacing: 0; }
  p { margin: 0; }
  /* No single word alone on a last line; titles and ledes break into even lines. */
  p, li, dd { text-wrap: pretty; }
  .lede, .ident .def { text-wrap: balance; }
  button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

  /* Hero: image at native size, anchored left; identity on the black field to the right */
  .hero { position: relative; min-height: clamp(460px, min(72vh, 42vw), 760px); overflow: hidden;
    display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: var(--space-columns);
    padding: var(--space-section) var(--edge) var(--space-band); }
  .hero .print { display: block; position: relative; width: clamp(14rem, 26vw, 31rem); }
  /* The print is cream ink on black. Screening it drops that black entirely,
     so the crest sits on the hero's own gradient with no square edge. */
  .hero .print img { display: block; width: 100%; height: auto; mix-blend-mode: screen; }
  .hero::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(54% 64% at 26% 46%, rgba(232,230,225,0.05) 0%, rgba(232,230,225,0.018) 45%, transparent 72%); }

  .hero .bar { position: absolute; top: 1.5rem; right: var(--edge); display: flex; z-index: 3; }
  .hero .nav { display: flex; gap: var(--space-links); font-size: var(--text-small); }
  .hero .nav a { color: var(--dim); text-decoration: none; position: relative; padding-bottom: var(--space-1); }
  .hero .nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -3px; height: 3px; background: var(--cut) left center / 200px 3px repeat-x; transition: right 220ms ease; }
  .hero .nav a:hover { color: var(--text); }
  .hero .nav a:hover::after { right: 0; }
  summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
  /* The strike is in the image: an animated print that starts black and plays once.
     Reduced motion gets the still print from the picture's first source. */

  /* Identity block: the first thing on the page, in the page's own type */
  .ident { position: relative; z-index: 3; max-width: 44rem; }
  .ident .ctx { font-size: var(--text-body); max-width: var(--measure-narrow); margin: var(--space-5) 0 0; }
  .ident .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  /* The name rides over the print's right edge, so the mark and the word read as one piece:
     the "ti" of tiger sits on the claws. The paragraphs below keep the column. */
  .ident { --word-overlap: clamp(6rem, 13vw, 12rem); }
  .ident .word { width: clamp(19rem, 35vw, 40rem); margin-left: calc(-1 * (var(--space-columns) + var(--word-overlap))); }
  .ident .word img { display: block; width: 100%; height: auto; }
  /* The definition is the page's statement: the display face, at title size. */
  .ident .def { margin-top: var(--space-6); font-size: var(--text-h1); line-height: 1.06; max-width: 24ch; }
  /* The team: 26 carved seats in five rows. A filled seat shows its class icon in the class colour; an open seat shows only its carving. */
  .team { padding: var(--space-8) 0 var(--space-4); position: relative; }
  .team h2 { font-size: var(--text-h2); line-height: 1; margin-bottom: var(--space-6); }
  .seat-carving-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
  .seat-board-rows { display: flex; flex-direction: column; gap: var(--space-4); padding-bottom: var(--space-5); }
  .seat-board-row { display: grid; grid-template-columns: calc(var(--space-20) + var(--space-8)) minmax(0, 1fr); column-gap: var(--space-8); align-items: start; }
  .seat-board-row + .seat-board-row { border-top: 1px solid var(--line); padding-top: var(--space-4); }
  .seat-board-row h3 { display: flex; align-items: center; gap: var(--space-2); margin: 0; min-height: var(--space-12); font-size: var(--text-small); font-weight: 500; letter-spacing: 0; }
  /* Each seat is a column wider than its carving, so the name under it has room; the carving sits in its centre. */
  .seat-board-cells { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-2); margin: 0; padding: 0; list-style: none; }
  .seat-board-cells li { position: relative; display: flex; flex-direction: column; align-items: center; width: 5.75rem; }
  .seat-cell { position: relative; display: grid; place-items: center; width: var(--space-16); height: var(--space-16); color: var(--text); background: var(--bg); text-decoration: none; }
  .seat-cell.open { color: var(--open); }
  .seat-carving { position: absolute; inset: 0; width: 100%; height: 100%; fill: currentColor; pointer-events: none; }
  .seat-icons { display: flex; flex-wrap: wrap; justify-content: center; align-content: center; gap: var(--tally-gap); width: calc(3 * var(--space-3) + 2 * var(--tally-gap)); }
  .seat-icons img { display: block; width: var(--space-10); height: var(--space-10); }
  /* A filled seat's icon in its class colour: the icon's alpha masks a block of the colour (the image itself is bone). Hover and focus turn it orange with the frame.
     The roster's class icon takes its colour from the same rules. */
  @supports (mask-image: none) or (-webkit-mask-image: none) {
    .seat-cell:not(.open) .seat-icons[data-class] { width: var(--space-10); height: var(--space-10); -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat; }
    .seat-cell:not(.open) .seat-icons[data-class] img { display: none; }
    .seat-cell:not(.open) .seat-icons[data-class="warrior"], .roster-class[data-class="warrior"] .roster-class-icon { background-color: var(--class-warrior); -webkit-mask-image: url(/images/classes/warrior.webp); mask-image: url(/images/classes/warrior.webp); }
    .seat-cell:not(.open) .seat-icons[data-class="paladin"], .roster-class[data-class="paladin"] .roster-class-icon { background-color: var(--class-paladin); -webkit-mask-image: url(/images/classes/paladin.webp); mask-image: url(/images/classes/paladin.webp); }
    .seat-cell:not(.open) .seat-icons[data-class="hunter"], .roster-class[data-class="hunter"] .roster-class-icon { background-color: var(--class-hunter); -webkit-mask-image: url(/images/classes/hunter.webp); mask-image: url(/images/classes/hunter.webp); }
    .seat-cell:not(.open) .seat-icons[data-class="rogue"], .roster-class[data-class="rogue"] .roster-class-icon { background-color: var(--class-rogue); -webkit-mask-image: url(/images/classes/rogue.webp); mask-image: url(/images/classes/rogue.webp); }
    .seat-cell:not(.open) .seat-icons[data-class="priest"], .roster-class[data-class="priest"] .roster-class-icon { background-color: var(--class-priest); -webkit-mask-image: url(/images/classes/priest.webp); mask-image: url(/images/classes/priest.webp); }
    .seat-cell:not(.open) .seat-icons[data-class="shaman"], .roster-class[data-class="shaman"] .roster-class-icon { background-color: var(--class-shaman); -webkit-mask-image: url(/images/classes/shaman.webp); mask-image: url(/images/classes/shaman.webp); }
    .seat-cell:not(.open) .seat-icons[data-class="mage"], .roster-class[data-class="mage"] .roster-class-icon { background-color: var(--class-mage); -webkit-mask-image: url(/images/classes/mage.webp); mask-image: url(/images/classes/mage.webp); }
    .seat-cell:not(.open) .seat-icons[data-class="warlock"], .roster-class[data-class="warlock"] .roster-class-icon { background-color: var(--class-warlock); -webkit-mask-image: url(/images/classes/warlock.webp); mask-image: url(/images/classes/warlock.webp); }
    .seat-cell:not(.open) .seat-icons[data-class="druid"], .roster-class[data-class="druid"] .roster-class-icon { background-color: var(--class-druid); -webkit-mask-image: url(/images/classes/druid.webp); mask-image: url(/images/classes/druid.webp); }
    .seat-cell:not(.open):is(:hover, :focus-visible) .seat-icons[data-class] { background-color: var(--accent); }
  }
  /* Hover and focus turn the whole seat orange: the frame through currentColor, the
     icon through a per-channel scale that maps its bone to the accent and keeps its cut. */
  .seat-cell { transition: color 160ms ease; }
  .seat-cell:is(:hover, :focus-visible) { color: var(--accent); }
  .seat-cell:focus-visible { outline: 1px solid var(--accent); outline-offset: 2px; }
  /* A filled seat's member name under it, as wide as the seat's column: the first word on one line, the
     rest on the next. A line that is too long ends in an ellipsis; a word is never split. */
  .seat-name { display: flex; flex-direction: column; width: 100%; margin-top: var(--space-1); color: var(--dim); font-size: var(--text-note); line-height: 1.25; text-align: center; overflow-wrap: normal; word-break: normal; hyphens: manual; transition: color 160ms ease; }
  .seat-name > span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .seat-board-cells li:has(.seat-cell:is(:hover, :focus-visible)) .seat-name { color: var(--accent); }
  /* A hidden hint takes no box, so a hint past the right edge does not widen the page. */
  .seat-hint { position: absolute; left: 0; top: calc(100% + var(--space-1)); z-index: 2; display: none; width: max-content; max-width: 16rem; padding: var(--space-1) var(--space-2); border: 1px solid var(--line); background: var(--bg); color: var(--text); font-size: var(--text-note); line-height: 1.4; white-space: normal; pointer-events: none; }
  .seat-board-cells li:not([data-hint-off]):has(.seat-cell:is(:hover, :focus-visible)) .seat-hint { display: block; }
  /* The four actionable things */
  .wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
  /* The landing below the hero: one content column with a label rail inside each section, and the
     essentials in a sticky rail beside it, so the times and Apply stay in view while the page is read. */
  .landing { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; column-gap: var(--space-columns); align-items: start; padding-bottom: var(--space-band); }
  .landing > .team { grid-column: 1 / -1; }
  /* The raid status band, directly under the hero: the raid nights, the next night, and the progress, each
     under one claw tick on a cut rule. Only the next night's tick is lit, as in the week below. */
  .landing > .status { grid-column: 1 / -1; padding: var(--space-block) 0 var(--space-8); background: var(--cut) left top / 400px 6px repeat-x; }
  .status-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--space-columns); row-gap: var(--space-6); margin: 0; }
  .status-facts > div { position: relative; padding-left: var(--space-5); }
  .status-facts > div::before { content: ""; position: absolute; left: 0; top: 3px; width: 11px; height: 16px; background: var(--text); -webkit-mask: var(--stroke) no-repeat center / contain; mask: var(--stroke) no-repeat center / contain; }
  .status-facts > .next::before { background: var(--accent); }
  .status-facts dt { margin-bottom: var(--space-2); color: var(--dim); font-size: var(--text-small); }
  .status-facts dd { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: var(--text-figure); line-height: 1.12; text-wrap: balance; }
  .status-facts dd.sub { margin-top: var(--space-2); font-family: var(--font-body); font-weight: 400; font-size: var(--text-small); line-height: 1.5; }
  .landing .col { min-width: 0; }
  /* The rail starts on the row below the team, level with the first section, under the same carved line. */
  .landing > .rail { position: sticky; top: var(--space-8); display: flex; flex-direction: column; gap: var(--space-5); padding-top: var(--space-block); background: var(--cut) left top / 400px 6px repeat-x; }
  .landing > .rail .how { margin: 0; font-size: var(--text-small); line-height: 1.5; }
  .landing > .rail .rail-facts div { display: block; padding: 0; border: 0; }
  .landing > .rail .rail-facts dt { color: var(--dim); font-size: var(--text-small); font-weight: 400; }
  .landing > .rail .rail-facts dd { margin: 0; font-size: var(--text-figure); line-height: 1.12; }
  /* Apply lives in the header on every page, in bone so it stands apart from the section links. */
  .sitenav a[href="/apply"], .hero .nav a[href="/apply"] { color: var(--text); }
  /* The banner's wall behind the right side of every page: the dry-brush streaks from the Discord
     banner as a dithered print, fixed to the viewport, fading into the page toward the text. No
     isolation on the pages: the hero print screens its black away against the body. */
  body::after { content: ""; position: fixed; top: 0; right: 0; bottom: 0; width: 46vw; z-index: -1; pointer-events: none; opacity: 0.3; image-rendering: pixelated; background: url("/images/p10-wall.webp") center / cover no-repeat;
    -webkit-mask-image: linear-gradient(to left, #000 30%, transparent 100%); mask-image: linear-gradient(to left, #000 30%, transparent 100%); }
  .band { display: grid; grid-template-columns: 12rem minmax(0, 1fr); column-gap: var(--space-8); padding: var(--space-block) 0; border-top: 1px solid var(--line); }
  /* The team's cut rule already separates it from the band below. */
  .landing .band { border-top: 0; background: var(--cut) left top / 400px 6px repeat-x; }
  /* Reading text in a band: paragraphs at reading measure, then the links. */
  .band .text { display: flex; flex-direction: column; gap: var(--space-4); max-width: var(--measure); }
  /* Side-heads: the section's name in the display face, in the label column. */
  .band h2 { font-size: var(--text-h2); line-height: 1.02; }
  .band.fit h2 { justify-self: start; align-self: start; padding-bottom: var(--space-3); background: var(--cut-accent) left bottom / 200px 6px repeat-x; }
  /* The week as a timeline: one tick per step on the cut rule; only raid night is lit. */
  .week { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
  .week li { position: relative; display: grid; grid-template-columns: 13.5rem minmax(0, 1fr); column-gap: var(--space-6); padding: var(--space-4) 0 var(--space-4) var(--space-5); border-top: 1px solid var(--line); }
  .week li:first-child { border-top: 0; padding-top: 0; }
  .week li::before { content: ""; position: absolute; left: 0; top: calc(var(--space-4) + 3px); width: 11px; height: 16px; background: var(--text); -webkit-mask: var(--stroke) no-repeat center / contain; mask: var(--stroke) no-repeat center / contain; }
  .week li:first-child::before { top: 3px; }
  .week li.raid::before { background: var(--accent); }
  .week .when { font-weight: 600; }
  .week .what { line-height: 1.5; max-width: var(--measure); }
  /* Before you apply: a cut rule above instead of the hairline, and the first sentence as a bold pull line. */
  .band.fit .pull { font-weight: 600; font-size: var(--text-lede); line-height: 1.35; }
  /* The real time the data behind a page last changed, small and dim, under the data. */
  .updated { margin: var(--space-4) 0 0; color: var(--dim); font-size: var(--text-note); }
  .updated:empty { display: none; }
  .more-link { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); padding-top: var(--space-2); font-size: var(--text-small); }
  .apply { display: inline-flex; align-items: center; gap: 0.7em; background: var(--text); color: var(--bg); font-weight: 600; font-size: var(--text-lead); padding: 0.9em 1.3em; text-decoration: none; transition: background-color 150ms ease, transform 150ms var(--ease-out); }
  /* The button carries the mark's three claw cuts; they move along their own line under the pointer. */
  .apply::after, .ok::after { content: ""; flex: none; width: 1.2em; height: 0.8em; background: currentColor; -webkit-mask: var(--stroke) repeat-x left center / 0.4em 100%; mask: var(--stroke) repeat-x left center / 0.4em 100%; transform: scaleX(-1); transition: transform 200ms var(--ease-out); }
  .apply:hover { background: var(--accent); color: var(--bg); }
  .apply:hover::after, .ok:hover::after { transform: scaleX(-1) translate(0.1em, 0.14em); }
  .apply:active, .ok:active, .nav-btn:active { transform: translateY(1px); }



  /* Section pages: one template. A linocut print across the top, mark and Back, heading, lede, seal, body. */
  [hidden] { display: none !important; }
  .m { max-width: var(--max); margin-inline: auto; padding: 0 var(--gutter) var(--space-section); display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; }
  .m > .top { grid-column: 1 / -1; position: relative; z-index: 2; }
  .m > .head, .m > .body { grid-column: 1; }
  /* The fact rail: the details a visitor acts on, beside the body, still while the page scrolls. */
  .m.has-rail { grid-template-columns: minmax(0, 1fr) 18rem; column-gap: var(--space-columns); }
  .m.has-rail > .rail { grid-column: 2; grid-row: 2 / span 2; position: sticky; top: var(--space-8); align-self: start; margin-top: var(--space-band); display: flex; flex-direction: column; gap: var(--space-6); padding-left: var(--space-6); border-left: 1px solid var(--line); }
  .rail-facts { margin: 0; display: flex; flex-direction: column; gap: var(--space-4); }
  .rail-facts dd { text-wrap: balance; }
  .m .rail-facts div, .m .rail-facts div:last-child { display: block; padding: 0; border: 0; }
  .m .rail-facts dt { color: var(--dim); font-size: var(--text-small); font-weight: 400; }
  .m .rail-facts dd { margin: 0; font-size: var(--text-lead); line-height: 1.2; }
  .rail .apply { align-self: flex-start; font-size: var(--text-body); }
  .rail-links { display: flex; flex-direction: column; gap: var(--space-2); font-size: var(--text-small); }
  .top { display: flex; justify-content: space-between; align-items: center; padding: var(--space-6) 0; font-size: var(--text-small); }
  .top a { color: var(--dim); text-decoration-color: var(--line); }
  .top a:hover { color: var(--text); }
  .top .wm { display: block; width: 8.5rem; aspect-ratio: 1280 / 430; background: var(--wordmark) center / contain no-repeat; }
  .top .wm:hover { opacity: 0.85; }
  /* Section pages carry the landing's section links; the current page keeps its cut underline. */
  .sitenav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: var(--space-2) var(--space-links); }
  .sitenav a { color: var(--dim); text-decoration: none; position: relative; padding-bottom: var(--space-1); white-space: nowrap; }
  .sitenav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -3px; height: 3px; background: var(--cut) left center / 200px 3px repeat-x; transition: right 220ms ease; }
  .sitenav a:hover, .sitenav a[aria-current="page"] { color: var(--text); }
  /* A section that is not open yet: the label greyed out, a small sign hanging from it on a string. */
  .soon { position: relative; color: var(--open); cursor: default; white-space: nowrap; padding-bottom: var(--space-1); }
  /* The sign is a small linocut print: bone ink with the words cut out, knife-cut edges, ink that did not take,
     two gouges, hung from a nail on two cords. The plate is a layer behind the words, so its clip spares the cords. */
  .soon-tag { position: absolute; left: 50%; top: calc(100% + var(--space-3)); isolation: isolate; padding: 0.3em 0.75em 0.25em; color: var(--bg); font-size: 0.76em; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.5; white-space: nowrap; transform: translateX(-50%) rotate(-3deg); transform-origin: 50% calc(-1 * var(--space-3)); animation: sign-sway 3.2s ease-in-out infinite alternate; pointer-events: none; }
  .soon-tag::after { content: ""; position: absolute; inset: 0; z-index: -1; background:
      url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='40'><filter id='i'><feTurbulence type='fractalNoise' baseFrequency='1.4 0.55' numOctaves='2' seed='7'/><feColorMatrix values='0 0 0 0 0.06  0 0 0 0 0.06  0 0 0 0 0.06  0 0 0 -2.2 1.25'/></filter><rect width='100%' height='100%' filter='url(%23i)'/></svg>"),
      url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 30' preserveAspectRatio='none'><path fill='%230f0f0f' d='M3 4.5 C20 3.6 34 5.2 52 4.1 L52 5 C34 6 20 4.6 3 5.4 Z M58 26.2 C70 25.4 84 26.8 97 25.8 L97 26.6 C84 27.6 70 26.3 58 27 Z'/></svg>") center / 100% 100% no-repeat,
      var(--text);
    clip-path: polygon(1% 9%, 18% 2%, 41% 6%, 63% 1%, 86% 5%, 99% 0%, 97% 34%, 100% 61%, 98% 96%, 77% 100%, 52% 95%, 29% 99%, 6% 96%, 0% 72%, 2% 41%); }
  .soon-tag::before { content: ""; position: absolute; left: 22%; right: 22%; bottom: calc(100% - 2px); height: calc(var(--space-3) + 2px); background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 14' preserveAspectRatio='none'><path d='M20 1.5 L1 13.5 M20 1.5 L39 13.5' stroke='%238f8d88' stroke-width='1' fill='none' vector-effect='non-scaling-stroke'/><circle cx='20' cy='1.5' r='1.5' fill='%23e8e6e1'/></svg>") center / 100% 100% no-repeat; }
  @keyframes sign-sway { from { transform: translateX(-50%) rotate(-3deg); } to { transform: translateX(-50%) rotate(2deg); } }
  @media (prefers-reduced-motion: reduce) { .soon-tag { animation: none; } }
  .visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .soon-banner { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-4); margin-bottom: var(--space-6); color: var(--dim); }
  .soon-sign { display: inline-block; padding: var(--space-1) var(--space-3); border: 1px solid var(--line-strong); color: var(--text); font-size: var(--text-small); transform: rotate(-2deg); }
  .table-scroll.is-soon { opacity: 0.4; }
  .sitenav a:hover::after, .sitenav a[aria-current="page"]::after { right: 0; }
  .m .close { color: var(--dim); font-size: var(--text-small); text-decoration: underline; text-underline-offset: 0.2em; text-decoration-color: var(--line); }
  .m .close:hover { color: var(--text); text-decoration-color: var(--accent); }
  .m .posting:target { outline: 1px solid var(--accent); outline-offset: 6px; }
  /* The page image fades toward the text and the bottom edge. */
  .m { position: relative; }
  .m .head, .m .body { position: relative; z-index: 1; }
  .m .head { padding: var(--space-band) 0 var(--space-band); }
  /* The page title is the largest thing on the page: the display face, set tight. */
  .m .head h1 { font-size: var(--text-display); line-height: 0.94; margin-bottom: var(--space-6); max-width: 13ch; }
  .m .head h1:last-child { margin-bottom: 0; }
  .m .lede { font-size: var(--text-lede); line-height: 1.4; color: var(--text); max-width: 34ch; }
  .m .body { max-width: 38rem; padding: 0; }
  /* A body of labelled sections takes the label column on top of the reading measure. */
  .m .body:has(> .sec) { max-width: 52rem; }
  .m .body p + p { margin-top: var(--space-4); }
  .m h3 { font-size: var(--text-body); display: flex; align-items: center; gap: var(--space-2); margin: var(--space-8) 0 var(--space-3); font-weight: 600; }
  .m h3 svg { width: 11px; height: 16px; }
  .m h3.sub { font-size: var(--text-h3); color: var(--text); font-weight: 600; margin: 0 0 var(--space-3); }
  .m h3.sub:not(:first-child) { margin-top: var(--space-10); }
  .m dl { margin: 0; }
  .m dl div { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: var(--space-4); padding: var(--space-3) 0; border-top: 1px solid var(--line); }
  .m dt { font-weight: 500; color: var(--text); }
  .m dl div:last-child { border-bottom: 1px solid var(--line); }
  .m dd { margin: 0; }
  .m dd .answer { margin: 0; padding-left: 1.1em; }
  .m dd .answer li + li { margin-top: var(--space-1); }
  .m table { width: 100%; border-collapse: collapse; font-size: var(--text-body); }
  /* Tables, one style everywhere: column heads are small dim labels over a cut rule, rows are hairlines. */
  .m thead th { text-align: left; color: var(--dim); font-size: var(--text-small); font-weight: 400; padding: 0 var(--space-3) var(--space-3) 0; vertical-align: bottom; background: var(--cut) left bottom / 400px 6px repeat-x; }
  .m tbody th { text-align: left; font-weight: 500; }
  .table-scroll { margin: -0.5rem calc(-1 * var(--gutter)); overflow-x: auto; }
  .table-scroll-inner { display: inline-block; min-width: 100%; padding: var(--space-2) var(--gutter); vertical-align: middle; }
  .table-scroll .table-populated { min-width: 36rem; }
  .table-scroll th, .table-scroll time { white-space: nowrap; }
  .table-scroll td { overflow-wrap: normal; }
  .table-scroll-hint { display: none; }
  .m td { padding: var(--space-3) var(--space-3) var(--space-3) 0; border-bottom: 1px solid var(--line); vertical-align: top; }
  /* Loot log: distinct kind marks using only the site's ink, line, and accent tokens. */
  .loot-kind { display: inline-block; padding: var(--space-1) var(--space-2); border: 1px solid var(--line-strong); color: var(--text); font-size: var(--text-note); font-weight: 500; line-height: 1.25; white-space: nowrap; }
  .loot-kind[data-kind="offspec"] { border-color: var(--line); color: var(--dim); font-weight: 400; }
  .loot-kind[data-kind="prized"] { border-color: var(--accent); background: var(--raise-accent); color: var(--accent); font-weight: 600; }
  .loot-kind[data-kind="assigned"] { border-color: var(--accent); background: var(--accent); color: var(--bg); font-weight: 600; }
  .loot-table .loot-date, .loot-table .loot-kind-cell { white-space: nowrap; }
  .loot-table tbody th { padding: var(--space-3) var(--space-4) var(--space-3) 0; border-bottom: 1px solid var(--line); vertical-align: top; white-space: normal; }
  .loot-table .loot-item { font-weight: 600; color: var(--text); }
  .loot-table .loot-reason { color: var(--dim); font-size: var(--text-small); }

  /* Officer prized loot review and Legendary assignments (/officers/prized). */
  .prized-wrap { max-width: 56rem; display: flex; flex-direction: column; gap: var(--space-10); }
  .prized-notice { padding: var(--space-3) var(--space-4); border-left: 2px solid var(--text); background: var(--raise); font-size: var(--text-small); line-height: 1.5; max-width: var(--measure); }
  .prized-notice.is-error { border-left-color: var(--accent); background: var(--raise-accent); }
  .prized-sec { background: var(--cut) left top / 400px 6px repeat-x; padding-top: var(--space-6); }
  .prized-sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--space-3) var(--space-6); margin-bottom: var(--space-3); }
  .prized-sec-head h2 { font-family: var(--font-display); font-weight: 700; font-size: var(--text-h2); line-height: 1.05; letter-spacing: 0; }
  .prized-sec-meta { color: var(--dim); font-size: var(--text-small); font-variant-numeric: tabular-nums; }
  .prized-sec-meta.is-locked { color: var(--accent); font-weight: 600; }
  .prized-copy { color: var(--dim); font-size: var(--text-small); max-width: var(--measure); margin-bottom: var(--space-5); }
  .prized-lock { padding: var(--space-4) var(--space-5); border: 1px solid var(--accent); border-left-width: 3px; background: var(--raise-accent); margin-bottom: var(--space-5); max-width: var(--measure); }
  .prized-lock strong { display: block; color: var(--accent); font-size: var(--text-body); margin-bottom: var(--space-1); }
  .prized-lock p { color: var(--text); font-size: var(--text-small); line-height: 1.5; }
  .prized-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
  .prized-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-3) var(--space-6); padding: var(--space-4) 0; border-bottom: 1px solid var(--line); }
  .prized-row-info { min-width: 0; flex: 1 1 16rem; }
  .prized-row-title { display: block; font-weight: 600; color: var(--text); }
  .prized-row-sub { display: block; color: var(--dim); font-size: var(--text-small); margin-top: var(--space-1); font-variant-numeric: tabular-nums; }
  .prized-row-actions { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; }
  .prized-row-actions form { margin: 0; }
  .prized-btn { display: inline-flex; align-items: center; justify-content: center; padding: var(--space-2) var(--space-4); border: 1px solid var(--line-strong); color: var(--text); font-size: var(--text-small); font-weight: 500; line-height: 1.25; white-space: nowrap; transition: border-color 140ms ease, background-color 140ms ease, color 140ms ease; }
  .prized-btn:hover { border-color: var(--text); background: var(--raise); }
  .prized-btn-accent { border-color: var(--accent); color: var(--accent); background: var(--raise-accent); }
  .prized-btn-accent:hover { background: var(--accent); color: var(--bg); }
  .prized-btn-primary { border-color: var(--text); background: var(--text); color: var(--bg); font-weight: 600; }
  .prized-btn-primary:hover { border-color: var(--accent); background: var(--accent); color: var(--bg); }
  .prized-btn-quiet { border-color: var(--line); color: var(--dim); }
  .prized-btn-quiet:hover { border-color: var(--line-strong); color: var(--text); }
  .prized-season { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; margin: 0; }
  .prized-select { padding: var(--space-2) var(--space-3); border: 1px solid var(--line-strong); background: var(--bg); color: var(--text); font: inherit; font-size: var(--text-small); line-height: 1.25; max-width: 100%; }
  .prized-select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
  .prized-btn:disabled { opacity: 0.4; cursor: not-allowed; pointer-events: none; }
  .prized-form input:disabled, .prized-form select:disabled { opacity: 0.45; cursor: not-allowed; }
  .prized-form { margin-top: var(--space-6); padding-top: var(--space-5); border-top: 1px solid var(--line); max-width: 40rem; }
  .prized-form h3 { margin: 0 0 var(--space-4); font-size: var(--text-h3); font-weight: 600; }
  .prized-form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-5); align-items: end; }
  .prized-form-inline { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: end; }
  .prized-form-inline .field { flex: 1 1 16rem; margin-bottom: 0; }
  .prized-form-grid .field { margin-bottom: 0; }
  .prized-form-submit { margin-top: var(--space-5); }
  .prized-empty { color: var(--dim); font-size: var(--text-small); padding: var(--space-3) 0; }

  /* Raider loot addon download, consent, and update guide (/addon). */
  .addon-wrap { max-width: 52rem; display: flex; flex-direction: column; gap: var(--space-10); }
  .addon-sec { background: var(--cut) left top / 400px 6px repeat-x; padding-top: var(--space-6); }
  .addon-sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--space-3) var(--space-6); margin-bottom: var(--space-3); }
  .addon-sec-head h2 { font-family: var(--font-display); font-weight: 700; font-size: var(--text-h2); line-height: 1.05; letter-spacing: 0; }
  .addon-version-tag { color: var(--dim); font-size: var(--text-small); font-variant-numeric: tabular-nums; }
  .addon-copy { color: var(--text); font-size: var(--text-body); line-height: 1.55; max-width: var(--measure); margin-bottom: var(--space-5); }
  .m .addon-topics { margin: 0; border-top: 1px solid var(--line); }
  .m .addon-topics .addon-topic { display: grid; grid-template-columns: 14rem minmax(0, 1fr); gap: var(--space-2) var(--space-6); padding: var(--space-4) 0; border-top: 0; border-bottom: 1px solid var(--line); }
  .m .addon-topics dt { font-weight: 600; color: var(--text); font-size: var(--text-body); line-height: 1.4; }
  .m .addon-topics dd { margin: 0; color: var(--text); font-size: var(--text-small); line-height: 1.6; max-width: var(--measure); overflow-wrap: anywhere; }
  .m .addon-topics dd code, .addon-note code { font-size: 0.92em; padding: 0.08em 0.35em; background: var(--raise); border: 1px solid var(--line); }
  .addon-download-sec { background-color: var(--raise); padding: var(--space-6); border: 1px solid var(--line-strong); border-top: 0; }
  .addon-download-primary { margin: var(--space-5) 0 var(--space-4); }
  .addon-download-primary a { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: var(--space-3) var(--space-6); background: var(--text); color: var(--bg); font-weight: 600; font-size: var(--text-body); text-decoration: none; transition: background-color 140ms ease, color 140ms ease, transform 140ms var(--ease-out); }
  .addon-download-primary a:hover { background: var(--accent); color: var(--bg); }
  .addon-download-primary a:active { transform: translateY(1px); }
  .addon-other-systems { margin-top: var(--space-4); color: var(--dim); font-size: var(--text-small); }
  .addon-other-systems p { margin: 0 0 var(--space-2); }
  .addon-other-systems ul { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); list-style: none; margin: 0; padding: 0; }
  .addon-other-systems a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 0.2em; display: inline-flex; align-items: center; min-height: 44px; }
  .addon-other-systems a:hover { text-decoration-color: var(--accent); }
  .addon-steps { margin: 0 0 var(--space-5); padding-left: var(--space-5); max-width: var(--measure); display: flex; flex-direction: column; gap: var(--space-2); font-size: var(--text-body); line-height: 1.55; }
  .addon-note { padding: var(--space-3) var(--space-4); border-left: 2px solid var(--accent); background: var(--raise-accent); max-width: var(--measure); font-size: var(--text-small); line-height: 1.55; }
  .addon-note p { margin: 0; }
  .m .addon-meta div { grid-template-columns: 11rem minmax(0, 1fr); }
  .m .note { color: var(--dim); font-size: var(--text-note); margin-top: var(--space-5); max-width: 38rem; }
  .m .roles { columns: 2; column-gap: var(--space-8); margin: 0; padding: 0; list-style: none; max-width: 30rem; }
  .m .roles li { display: flex; justify-content: space-between; gap: var(--space-4); padding: var(--space-2) 0; break-inside: avoid; border-bottom: 1px solid var(--line); }
  .m .roles li span { color: var(--dim); }
  .m .roles li.open span { color: var(--accent); font-weight: 600; }
  /* Section headings stay in the left column while the section scrolls. */
  /* Each section opens under a cut rule, as the landing's bands do. */
  .sec { display: grid; grid-template-columns: 12rem minmax(0, 38rem); column-gap: var(--space-8); align-items: start; margin-top: var(--space-block); padding-top: var(--space-block); background: var(--cut) left top / 400px 6px repeat-x; }
  .sec:first-child { margin-top: 0; }
  .m .sec h3.sub { position: sticky; top: 2rem; margin: 0; font-size: var(--text-figure); line-height: 1.05; }
  .sec .sec-body > p + p { margin-top: var(--space-4); }
  .sec dl { margin-top: 0; }
  /* A section already has a heading rail; a second term column would squeeze the text, so the term sits above it. */
  .sec dl div { grid-template-columns: minmax(0, 1fr); gap: var(--space-1); }
  /* The section's cut rule is the list's top line; the first term sits level with the side-head. */
  .sec dl div:first-child { border-top: 0; padding-top: 0; }
  .page-wide .m .body { max-width: none; }
  /* Full width is for layout, not for reading: tables and documents keep a measure. */
  .page-wide .m .table-scroll { max-width: 64rem; }
  .page-wide .m .body > p { max-width: 38rem; }
  .rolesplit { display: grid; grid-template-columns: 15.5rem minmax(0, 38rem); gap: var(--space-10); align-items: start; }
  .structure-block { margin-top: var(--space-section); max-width: 44rem; }
  /* Open roles overview: one hairline row per posting, grouped; the cuts are its open seats. */
  .rolelist a.all { padding-left: 0; color: var(--dim); font-size: var(--text-small); }
  .structure-block h2.sub { font-size: var(--text-figure); line-height: 1.1; margin: 0; }
  .rolelist { display: flex; flex-direction: column; background: var(--cut) left top / 400px 6px repeat-x; padding-top: var(--space-1); position: sticky; top: 2rem; }
  .rolelist .grp { font-size: var(--text-note); letter-spacing: 0.02em; color: var(--dim); padding: var(--space-4) 0 var(--space-2); }
  .rolelist .grp:first-child { padding-top: var(--space-2); }
  .structure { width: 100%; border-collapse: collapse; margin: var(--space-4) 0 0; font-size: var(--text-small); max-width: 38rem; }
  .structure th { text-align: left; font-weight: 600; padding: var(--space-3) var(--space-4) var(--space-3) 0; border-bottom: 1px solid var(--line); background: none; vertical-align: top; white-space: nowrap; }
  .structure td { padding: var(--space-3) 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--text); }
  .rolelist a { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-4); padding: var(--space-2) 0 var(--space-2) var(--space-4); text-decoration: none; color: var(--dim); position: relative; }
  .rolelist a span { display: block; font-weight: 600; color: var(--text); white-space: nowrap; }
  .rolelist a .n { font-weight: 400; color: var(--dim); font-variant-numeric: tabular-nums; font-size: var(--text-small); white-space: normal; text-align: right; }
  .rolelist a:hover span { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 0.2em; }
  .rolelist a.active::before { content: ""; position: absolute; left: -2px; top: 0.85rem; width: 9px; height: 14px; background: var(--stroke) no-repeat center / contain; }
  .roledetail { max-width: 38rem; }
  .roledetail .role[hidden] { display: none; }
  .roledetail h2 { font-size: var(--text-figure); line-height: 1.1; margin: var(--space-10) 0 var(--space-3); }
  .roledetail .where { color: var(--dim); font-size: var(--text-small); margin: 0 0 var(--space-4); }
  .more { margin-top: var(--space-5); border-top: 1px solid var(--line); }
  .more summary { cursor: pointer; padding: var(--space-3) 0; color: var(--dim); list-style: none; }
  .more summary::-webkit-details-marker { display: none; }
  .more summary::before { content: "+ "; color: var(--accent); }
  .more[open] summary::before { content: "\2212  "; }
  .more summary:hover { color: var(--text); }
  .more p { margin: 0 0 var(--space-4); color: var(--dim); }
  .roledetail .sum { margin: 0; }
  .roledetail h3 { display: block; font-size: var(--text-body); color: var(--text); margin: var(--space-5) 0 var(--space-1); font-weight: 600; }
  .roledetail p { margin: 0 0 var(--space-3); font-size: var(--text-body); }
  .m .postings { background: var(--cut) left top / 400px 6px repeat-x; padding-top: var(--space-1); }
  .m .posting { border-bottom: 1px solid var(--line); }
  .m .posting summary { display: flex; justify-content: space-between; gap: var(--space-4); padding: var(--space-3) 0; cursor: pointer; font-weight: 600; list-style: none; }
  .m .posting summary::-webkit-details-marker { display: none; }
  .m .posting summary .seat { color: var(--dim); font-weight: 400; text-align: right; font-size: var(--text-small); max-width: 55%; }
  .m .posting[open] summary { border-bottom: 1px solid var(--line); }
  .m .posting .sum { margin: var(--space-4) 0 0; }
  .m .posting h4 { font-size: var(--text-small); margin: var(--space-4) 0 var(--space-1); font-weight: 600; }
  .m .posting p { margin: 0 0 var(--space-3); font-size: var(--text-body); }
  .m .posting p:last-child { margin-bottom: var(--space-4); }

  /* Apply: the one form on the site (D17). Bone on black, a bottom rule per field, no boxes. */
  .form fieldset { border: 0; padding: 0; margin: 0 0 var(--space-10); min-width: 0; }
  .form legend { font-weight: 600; font-size: var(--text-h3); padding: 0; margin: 0 0 var(--space-4); }
  .field { display: flex; flex-direction: column; gap: var(--space-2); margin-bottom: var(--space-6); max-width: 34rem; }
  .field label { font-weight: 500; }
  .field .help { color: var(--dim); font-size: var(--text-small); line-height: 1.5; }
  .field input[type="text"], .field input[type="url"], .field select, .field textarea { font: inherit; color: var(--text); background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: var(--space-2) 0; width: 100%; }
  .field textarea { min-height: 7.5rem; resize: vertical; line-height: 1.5; }
  .field textarea[rows="2"], .field textarea[rows="3"] { min-height: 4.25rem; }
  .field select { appearance: none; -webkit-appearance: none; padding-right: var(--space-6); background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%238f8d88' stroke-width='1.2'/></svg>") right center / 12px 8px no-repeat; }
  .field select option { background: var(--bg); color: var(--text); }
  .field input:focus, .field select:focus, .field textarea:focus { outline: 1px solid var(--accent); outline-offset: 4px; border-bottom-color: var(--text); }
  .choice { display: flex; gap: var(--space-3); align-items: flex-start; margin: var(--space-2) 0; }
  .choice input { accent-color: var(--accent); margin: var(--space-1) 0 0; flex: none; }
  .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); max-width: 34rem; }
  .row2 .field { margin-bottom: 0; }
  .row2 + .field, .row2 + .row2 { margin-top: var(--space-6); }
  .form .after { color: var(--dim); font-size: var(--text-small); margin-top: var(--space-4); max-width: 34rem; line-height: 1.5; }
  @media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }

  /* Apply: a stage, one question at a time. Full viewport, the question in the display face, keyboard first.
     The progress is the page's top cut rule: the part that is done is in the accent. */
  .stage { position: relative; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; overflow: hidden; }
  .stage .bar { position: absolute; left: 0; top: 0; right: 0; height: 6px; background: var(--track); -webkit-mask: var(--cut) left center / 400px 6px repeat-x; mask: var(--cut) left center / 400px 6px repeat-x; }
  .stage .bar .fill { height: 100%; width: 0; background: var(--accent); transition: width 400ms ease; }
  .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .stage-top { display: flex; justify-content: space-between; align-items: center; width: 100%; max-width: var(--max); margin-inline: auto; padding: var(--space-6) var(--gutter) 0; position: relative; z-index: 2; }
  .stage-top .wm { display: block; width: 7.5rem; aspect-ratio: 1280 / 430; background: var(--wordmark) center / contain no-repeat; }
  .stage-print { position: absolute; top: -4vh; right: 0; width: min(44%, 720px); aspect-ratio: 1000 / 1035; opacity: 0.6; pointer-events: none; background: var(--pageprint) right top / contain no-repeat; -webkit-mask-image: linear-gradient(to left, #000 45%, transparent 100%), linear-gradient(to bottom, #000 60%, transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(to left, #000 45%, transparent 100%), linear-gradient(to bottom, #000 60%, transparent 100%); mask-composite: intersect; }
  /* The question column starts on the page's left edge, under the wordmark; the print keeps the right side. */
  .stage-wrap { flex: 1; display: flex; align-items: center; width: 100%; max-width: var(--max); margin-inline: auto; padding: var(--space-8) var(--gutter) var(--space-24); position: relative; z-index: 1; }
  .screen { width: 100%; max-width: 44rem; }
  .screen[hidden] { display: none; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  /* Where the applicant is, under one lit claw tick, as the raid status band labels its facts. */
  .screen .num { display: flex; align-items: center; gap: var(--space-2); margin-bottom: var(--space-3); color: var(--dim); font-size: var(--text-small); }
  .screen .num::before { content: ""; flex: none; width: 11px; height: 16px; background: var(--accent); -webkit-mask: var(--stroke) no-repeat center / contain; mask: var(--stroke) no-repeat center / contain; }
  .screen .q { font-size: var(--text-h2); line-height: 1.08; max-width: 34ch; margin: 0 0 var(--space-4); }
  .screen .q.big { font-size: var(--text-h1); line-height: 1.02; max-width: 18ch; margin-bottom: var(--space-5); }
  /* The help tells the applicant what a good answer holds, so it is reading text, not a note. */
  .screen .help { font-size: var(--text-body); line-height: 1.55; max-width: 34rem; margin-bottom: var(--space-6); }
  .screen .help.small { color: var(--dim); font-size: var(--text-small); }
  .screen .outcome { font-size: var(--text-lead); line-height: 1.5; white-space: pre-line; margin-bottom: var(--space-6); max-width: 34rem; }
  .screen .help.small a { overflow-wrap: anywhere; }
  .screen .saved { margin-top: var(--space-8); }
  .screen .field { margin-bottom: var(--space-4); }
  /* The answer is written on a cut rule; the rule is in the accent while the field has focus. */
  .screen textarea, .screen input.line { display: block; width: 100%; font: inherit; font-size: var(--text-lede); line-height: 1.45; color: var(--text); background: var(--cut) left bottom / 400px 6px repeat-x; border: 0; border-radius: 0; padding: var(--space-2) 0 var(--space-3); resize: none; field-sizing: content; min-height: 2.6em; max-height: 40vh; overflow: auto; }
  .screen input.line { max-width: 20rem; resize: none; }
  .screen input.line[type="number"] { max-width: 8rem; appearance: textfield; }
  .screen input.line::-webkit-inner-spin-button, .screen input.line::-webkit-outer-spin-button { appearance: none; margin: 0; }
  .screen textarea::placeholder, .screen input.line::placeholder { color: var(--placeholder); }
  .screen textarea:focus, .screen input.line:focus { outline: 0; background-image: var(--cut-accent); }
  .screen .hint { color: var(--dim); font-size: var(--text-note); }
  .screen .hint b { color: var(--text); font-weight: 500; }
  .opts { display: flex; flex-direction: column; gap: var(--space-3); max-width: 34rem; }
  .opts.compact { gap: var(--space-2); }
  @media (min-width: 900px) { .opts.compact.wide { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2) var(--space-3); max-width: 40rem; } }
  .screen .warn { margin: 0 0 var(--space-4); max-width: 34rem; line-height: 1.55; padding: var(--space-3) var(--space-4); border-left: 2px solid var(--accent); }
  .screen .link { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 0.2em; margin-top: var(--space-2); }
  .opts.compact .opt { padding: var(--space-2) var(--space-3); }
  .opts.compact .lbl { font-size: var(--text-body); }
  .opt { display: flex; align-items: center; gap: var(--space-4); padding: var(--space-3) var(--space-4); border: 1px solid var(--line-strong); cursor: pointer; transition: border-color 120ms ease, background 120ms ease; position: relative; }
  .opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
  /* The text beside the "Other" choice is a plain line inside the choice's own outline. */
  .screen .opt input.other { position: static; opacity: 1; width: auto; height: auto; flex: 1; min-width: 0; min-height: 0; font-size: var(--text-body); padding: 0; background: none; border-bottom: 1px solid var(--dim); }
  .screen .opt input.other:focus { border-bottom-color: var(--accent); }
  .opt .key { flex: none; width: 1.6rem; height: 1.6rem; display: grid; place-items: center; border: 1px solid var(--dim); color: var(--dim); font-size: var(--text-small); line-height: 1; }
  .opt .lbl { font-size: var(--text-body); line-height: 1.35; }
  .opt:hover { border-color: var(--dim); background: var(--raise); }
  .opt:hover .key { border-color: var(--text); color: var(--text); }
  .opt:has(input:checked) { border-color: var(--accent); background: var(--raise-accent); }
  .opt:has(input:checked) .key { background: var(--accent); border-color: var(--accent); color: var(--bg); }
  .opt:has(input:focus-visible) { outline: 1px solid var(--accent); outline-offset: 3px; }
  .opt.wide { max-width: 34rem; align-items: flex-start; }
  .opt.wide .key { margin-top: var(--space-1); }
  .screen .err { color: var(--text); font-size: var(--text-small); margin: 0 0 var(--space-4); max-width: 34rem; padding: var(--space-3) var(--space-4); border-left: 2px solid var(--accent); }
  .screen .notice { margin: 0 0 var(--space-4); max-width: 34rem; }
  .policy-agreement { display: flex; flex-direction: column; gap: var(--space-2); }
  .policy-links { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-6); }
  .policy-link { color: var(--dim); font-size: var(--text-small); }
  .screen .stop { margin: 0 0 var(--space-4); max-width: 34rem; line-height: 1.55; padding: var(--space-3) var(--space-4); border-left: 2px solid var(--accent); }
  .screen .stop button { margin-top: var(--space-3); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 0.2em; }
  .screen .actions { display: flex; align-items: center; gap: var(--space-4); margin-top: var(--space-6); }
  .ok { background: var(--text); color: var(--bg); font-weight: 600; font-size: var(--text-body); padding: 0.7em 1.2em; display: inline-flex; align-items: center; gap: 0.7em; text-decoration: none; transition: background-color 150ms ease, transform 150ms var(--ease-out); }
  .ok:hover { background: var(--accent); }
  /* The review: each answer is reading text under its question, and the list opens under a cut rule. */
  .answers { margin: 0 0 var(--space-8); padding-top: var(--space-5); max-width: 40rem; background: var(--cut) left top / 400px 6px repeat-x; }
  .answers div { padding: var(--space-4) 0; border-top: 1px solid var(--line); }
  .answers div:first-child { border-top: 0; padding-top: 0; }
  .answers dt { display: flex; justify-content: space-between; gap: var(--space-4); color: var(--dim); font-size: var(--text-small); }
  .answers dt a { font-size: var(--text-note); text-decoration-color: var(--line-strong); flex: none; }
  .answers dd { margin: var(--space-2) 0 0; line-height: 1.5; white-space: pre-line; }
  .stage-nav { position: absolute; right: max(var(--gutter), calc((100vw - var(--max)) / 2)); bottom: 1.5rem; display: flex; gap: var(--space-1); z-index: 2; }
  .nav-btn { width: 2.4rem; height: 2.4rem; display: grid; place-items: center; background: var(--text); color: var(--bg); text-decoration: none; font-size: var(--text-body); transition: background-color 150ms ease, transform 150ms var(--ease-out); }
  .nav-btn:hover { background: var(--accent); }
  .nav-btn[aria-disabled="true"] { opacity: 0.35; pointer-events: none; }
  /* The receipt's three steps: each number is a key figure, and the list opens under a cut rule. */
  .steps { list-style: none; margin: 0 0 var(--space-8); padding: var(--space-6) 0 0; max-width: 40rem; display: flex; flex-direction: column; gap: var(--space-5); background: var(--cut) left top / 400px 6px repeat-x; }
  .steps li { display: grid; grid-template-columns: var(--space-8) minmax(0, 1fr); gap: var(--space-3); align-items: start; }
  .step-n { color: var(--accent); font-size: var(--text-figure); line-height: 1; }
  .steps b { display: block; font-weight: 600; font-size: var(--text-h3); margin-bottom: var(--space-1); }
  .steps p { line-height: 1.55; margin: 0; }
  .screen.sent .actions { flex-wrap: wrap; gap: var(--space-4) var(--space-6); }
  .screen.sent .actions .hint { font-size: var(--text-small); }
  /* The receipt's state line tells the applicant what to do next, so it is reading text at reading measure. */
  .screen.sent .dim { color: var(--text); max-width: 34rem; margin-bottom: var(--space-6); }
  @media (prefers-reduced-motion: reduce) { .stage .bar .fill { transition: none; } }
  @media (max-width: 860px) { .stage-print { display: none; } .stage-wrap { align-items: flex-start; padding-top: var(--space-12); } }
  .dim { color: var(--dim); }

  /* The foot of every page: the mark, what the guild is, and every way onward, under one cut rule. */
  .foot { position: relative; z-index: 1; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
  .foot-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--space-columns); row-gap: var(--space-8); align-items: start; padding: var(--space-band) 0; background: var(--cut) left top / 400px 6px repeat-x; }
  .foot .wm { display: block; width: 8.5rem; aspect-ratio: 1280 / 430; margin-bottom: var(--space-4); background: var(--wordmark) left center / contain no-repeat; }
  .foot .wm:hover { opacity: 0.85; }
  .foot p { max-width: var(--measure-narrow); color: var(--dim); font-size: var(--text-small); line-height: 1.55; }
  .foot-nav { display: flex; gap: var(--space-columns); font-size: var(--text-small); }
  .foot-nav ul { display: flex; flex-direction: column; gap: var(--space-2); margin: 0; padding: 0; list-style: none; }
  .foot-nav a { color: var(--dim); text-decoration: none; white-space: nowrap; }
  .foot-nav a:hover { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); }
  .foot-nav a[href="/apply"] { color: var(--text); }

  /* Motion: the title rises once when a page opens, and each section rises once as it scrolls into view.
     The scroll part needs a view timeline; a browser without one shows the page still. */
  @keyframes reveal { from { opacity: 0; transform: translateY(1.25rem); } to { opacity: 1; transform: none; } }
  @media (prefers-reduced-motion: no-preference) {
    .m .head h1 { animation: rise 560ms var(--ease-out) both; }
    .m .head .lede { animation: rise 560ms var(--ease-out) 90ms both; }
    .ident .def { animation: rise 640ms var(--ease-out) 120ms both; }
    .ident .ctx { animation: rise 640ms var(--ease-out) 220ms both; }
    .screen .num, .screen .q { animation: rise 420ms var(--ease-out) both; }
    .screen .help { animation: rise 420ms var(--ease-out) 70ms both; }
    .screen .field, .screen .answers, .screen .steps, .screen .outcome { animation: rise 420ms var(--ease-out) 140ms both; }
    .screen .actions { animation: rise 420ms var(--ease-out) 210ms both; }
    @supports (animation-timeline: view()) {
      .landing .band, .sec, .structure-block { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0px entry 9rem; }
    }
  }

  @media (max-width: 860px) {
    /* The landing runs edge to edge on phones, with a one-unit gutter, without shadowing the tokens. */
    #p-home .wrap, #p-home .hero { max-width: none; padding-inline: var(--space-4); }
    .hero { min-height: 0; grid-template-columns: minmax(0, 1fr); row-gap: var(--space-8); justify-items: start;
      padding: var(--space-4) var(--edge) var(--space-10); }
    .ident { position: relative; top: auto; left: auto; right: auto; transform: none; padding: 0; max-width: none; }
    /* Stacked: the print at the top, the name pulled up over its lower claw tips, same one piece as on desktop. */
    .ident { --word-rise: clamp(4rem, 20vw, 6rem); margin-top: calc(-1 * var(--word-rise)); }
    .ident .word { width: min(100%, 26rem); margin-left: 0; }
    .hero .bar { position: static; grid-column: 1 / -1; padding: 0; flex-wrap: wrap; gap: var(--space-3) var(--space-5); justify-content: flex-start; }
    .hero .nav { flex-wrap: wrap; gap: var(--space-4); }
    .hero { row-gap: 0; }
    .hero .bar { margin-bottom: var(--space-6); }
    .hero .print { display: block; width: min(62vw, 17rem); }
    .hero .fade { height: 45%; }
    .hero img { position: static; width: 100%; height: auto; }
    body::after { display: none; }
    .landing { grid-template-columns: minmax(0, 1fr); }
    /* Stacked, the page keeps its order: the status band, the team, the sections, then Apply. */
    .landing > .rail { position: static; }
    .status-facts { column-gap: var(--space-6); }
    .week li { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-1); }
    .band { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-4); }
    .week { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); background: none; border-left: 1px solid var(--line); padding-left: var(--space-6); }
    .week li { padding-top: 0; }
    .week li::before { left: calc(-1 * var(--space-6) - 6px); top: var(--space-1); }
      .m dl div { grid-template-columns: 6.5rem minmax(0, 1fr); }
    .rolesplit { grid-template-columns: 1fr; gap: var(--space-12); }
    /* A shared posting link opens on the posting; the list of roles follows it. */
    .rolesplit .roledetail { order: -1; }
    .sec { grid-template-columns: 1fr; row-gap: var(--space-3); }
    .sec h3.sub { position: static; }
    .rolelist { position: static; }
    .m.has-rail { grid-template-columns: minmax(0, 1fr); }
    .m.has-rail > .rail { grid-column: 1; grid-row: auto; position: static; margin-top: var(--space-band); padding: var(--space-band) 0 0; border-left: 0; border-top: 1px solid var(--line); }
    /* Each row stacks its label above its seats; the seats wrap. */
    .seat-board-row { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-2); }
    /* Phones keep the smaller seat, so a row of six still fits across. */
    .seat-cell { width: var(--space-12); height: var(--space-12); }
    /* A seat is centred in its column; pull the list back so the first seat lines up with the label. */
    .seat-board-cells { margin-inline-start: calc((var(--space-12) - 5.75rem) / 2); }
    .seat-cell:not(.open) .seat-icons img { width: var(--space-8); height: var(--space-8); }
    .seat-cell:not(.open) .seat-icons[data-class] { width: var(--space-8); height: var(--space-8); }
    .seat-board-row h3 { min-height: 0; }
    .m .note, .top, .m .close,
    .rolelist .grp, .rolelist a .n, .screen .help.small, .screen .hint,
    .screen .err, .answers dt a, .answers dd { font-size: var(--text-body); }
    .nav-btn { width: 48px; height: 48px; }
    .opts.compact .opt { min-height: 48px; }
    .stage-top .wm, .top .wm { min-height: 48px; }
    .m .close, .stage-top > a:not(.wm), .rolelist a { min-height: 48px; display: flex; align-items: center; }
    .top { flex-wrap: wrap; row-gap: var(--space-1); }
    .sitenav { justify-content: flex-start; width: 100%; gap: 0 var(--space-5); }
    .sitenav a, .sitenav .soon { min-height: 44px; display: flex; align-items: center; }
    /* The section links wrap to two rows on phones, so the sign sits beside its label instead of hanging into the row below. */
    .soon { display: inline-flex; align-items: center; gap: var(--space-2); }
    .soon-tag { position: static; transform: rotate(-2deg); animation: none; }
    .soon-tag::before { display: none; }
    .sitenav a::after { bottom: 8px; }
    .screen .actions { flex-wrap: wrap; }
    .answers dd { overflow-wrap: anywhere; }
    .m .body:has(> .sec) { max-width: 38rem; }
    .foot-row { grid-template-columns: minmax(0, 1fr); }
    .foot-nav a { display: flex; align-items: center; min-height: 44px; }
    .foot-nav ul { gap: 0; }
  }
  @media (max-width: 680px) {
    .loot-scroll { margin-inline: 0; overflow-x: visible; }
    .loot-scroll .table-scroll-inner { display: block; padding: 0; }
    .loot-scroll .loot-table.table-populated { min-width: 0; }
    .loot-table.table-populated thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .loot-table.table-populated tbody { display: block; background: var(--cut) left top / 400px 6px repeat-x; padding-top: var(--space-1); }
    .loot-table.table-populated tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "item kind" "to date" "boss boss" "reason reason"; column-gap: var(--space-3); row-gap: var(--space-1); padding: var(--space-4) 0; border-bottom: 1px solid var(--line); align-items: baseline; }
    .loot-table.table-populated th, .loot-table.table-populated td { padding: 0; border-bottom: 0; white-space: normal; }
    .loot-table.table-populated .loot-item { grid-area: item; font-size: var(--text-body); }
    .loot-table.table-populated .loot-kind-cell { grid-area: kind; justify-self: end; }
    .loot-table.table-populated .loot-to { grid-area: to; font-size: var(--text-small); }
    .loot-table.table-populated .loot-date { grid-area: date; justify-self: end; color: var(--dim); font-size: var(--text-note); }
    .loot-table.table-populated .loot-boss { grid-area: boss; color: var(--dim); font-size: var(--text-note); }
    .loot-table.table-populated .loot-reason { grid-area: reason; margin-top: var(--space-1); font-size: var(--text-small); }
    .prized-form-grid { grid-template-columns: minmax(0, 1fr); }
    .prized-row-actions { width: 100%; }
    .prized-row-actions form { flex: 1 1 auto; }
    .prized-season { flex-wrap: nowrap; }
    .prized-select { min-height: 44px; flex: 1 1 auto; min-width: 0; }
    .prized-btn { min-height: 44px; width: 100%; }
    .prized-sec-head .prized-btn { width: auto; }
    .prized-season .prized-btn { width: auto; flex: 0 0 auto; }
    .m .addon-topics .addon-topic { grid-template-columns: minmax(0, 1fr); gap: var(--space-1); }
    .addon-download-sec { padding: var(--space-5) var(--space-4); }
    .addon-download-primary a { width: 100%; }
    .m .addon-meta div { grid-template-columns: minmax(0, 1fr); gap: var(--space-1); }
  }
  @media (max-width: 560px) {
    .table-scroll-hint:not([hidden]) { display: block; }
    .status-facts { grid-template-columns: minmax(0, 1fr); }
    /* Phones take a narrower seat column, so four seats fit across. */
    .seat-board-cells { column-gap: var(--space-1); }
    .seat-board-cells li { width: 5rem; }
    .seat-board-cells { margin-inline-start: calc((var(--space-12) - 5rem) / 2); }
    .structure tr { display: grid; grid-template-columns: minmax(0, 1fr); }
    .structure th { padding-bottom: var(--space-1); border-bottom: 0; }
    .structure td { padding-top: 0; }
  }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero .print img { animation: none; opacity: 1; }
    a, .apply, .apply::after, .ok, .ok::after, .nav-btn, .hero .nav a::after, .sitenav a::after, .opt, .addon-download-primary a { transition: none; }
  }
