/*
   ASAP v2 - the Print Room
   Architecture mined from the riso and photocopier: two ink
   plates, paper grain, placard-scale condensed type,
   staple-and-fold section breaks. The home page hero is the
   exception, carried over from v1 (css/hero-tatreez.css).

   Type and colour follow ASAP's Graphic Design Style Guide: Anton for
   display, DM Sans for body, and the Standard Colour
   Scheme, which is reds on cream and nothing else. The two plates are
   both reds now, Vivid Red and Dark Red.

   Three tones here are not in the guide, because a website needs them
   and a social post does not. Each is mixed from two guide colours and
   measured: the two soft text tones (Maroon and Cream, 72 and 74 per
   cent) and the dark theme's deeper plate (a shade of Maroon). Bright
   Red is 3.38:1 on Cream, so it never carries body text on the light
   theme; it is the red text colour on the dark one, where it is 4.91:1.
*/

:root {
    --c-bg: #fff5e1;          /* Cream */
    --c-bg-2: #ffffff;        /* White */
    --c-ink: #380000;         /* Maroon */
    --c-head: #6d0000;        /* Dark Red, the guide's heading colour */
    --c-ink-soft: #70453f;
    --c-line: rgba(56, 0, 0, 0.22);
    --c-accent: #ca0013;      /* Vivid Red, the first plate */
    --c-accent-ink: #ca0013;
    --c-plate-2: #6d0000;     /* Dark Red, the second plate */
    --c-focus: #ca0013;
    --c-track: rgba(56, 0, 0, 0.12);

    --f-display: "Anton", "Arial Narrow", Impact, sans-serif;
    --f-body: "DM Sans", "Helvetica Neue", Arial, sans-serif;

    --grain: 0.3;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --c-bg: #380000;
        --c-bg-2: #2a0000;
        --c-ink: #fff5e1;
        --c-head: #fff5e1;
        --c-ink-soft: #cbb5a6;
        --c-line: rgba(255, 245, 225, 0.2);
        --c-accent: #ca0013;
        --c-accent-ink: #ff3131;
        --c-plate-2: #ff3131;
        --c-focus: #ff3131;
        --c-track: rgba(255, 245, 225, 0.12);
        --grain: 0.22;
    }
}
:root[data-theme="dark"] {
    --c-bg: #380000;
    --c-bg-2: #2a0000;
    --c-ink: #fff5e1;
    --c-head: #fff5e1;
    --c-ink-soft: #cbb5a6;
    --c-line: rgba(255, 245, 225, 0.2);
    --c-accent: #ca0013;
    --c-accent-ink: #ff3131;
    --c-plate-2: #ff3131;
    --c-focus: #ff3131;
    --c-track: rgba(255, 245, 225, 0.12);
    --grain: 0.22;
}

body {
    background: var(--c-bg);
    color: var(--c-ink);
    font-family: var(--f-body);
    font-size: 17px;
    line-height: 1.6;
}

/* Paper grain. Photocopier noise, laid over everything, never
   dense enough to touch contrast. */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 90;
    pointer-events: none;
    opacity: var(--grain);
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.34'/%3E%3C/svg%3E");
}
:root[data-theme="dark"] body::after { mix-blend-mode: screen; }

h1, h2, h3, .display {
    font-family: var(--f-display);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.005em;
    line-height: 0.9;
    color: var(--c-head);
}
/* A heading on a coloured ground takes that block's own text colour. */
.cta, .hero--tatreez { --c-head: currentColor; }

/* Header */
.hdr {
    position: sticky;
    top: 0;
    z-index: 60;
    background: var(--c-bg);
    border-bottom: 3px solid var(--c-ink);
}
.hdr__in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    min-height: 72px;
}
.hdr__brand { display: flex; align-items: center; min-height: 44px; flex: none; }

/* The logo
   The guide gives two versions: the standard one for a light ground and
   the outlined one, with its white edge, for a dark or red ground. Both
   are in the markup and the theme picks. The outlined file is drawn
   taller by the width of its edge, so the logo inside it lands the same
   size as the standard one (211 of 242px against 214 of 222px). */
.logo { display: block; width: auto; height: var(--logo-h, 56px); }
.logo--dark { display: none; height: calc(var(--logo-h, 56px) * 1.105); }
:root[data-theme="dark"] .logo--light { display: none; }
:root[data-theme="dark"] .logo--dark { display: block; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .logo--light { display: none; }
    :root:not([data-theme="light"]) .logo--dark { display: block; }
}
@media (max-width: 560px) { .hdr { --logo-h: 42px; } }
.ftr { --logo-h: 68px; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 15px 12px;
    min-width: 44px;
    text-align: center;
    transition: background 0.15s linear, color 0.15s linear;
}
.nav a:hover, .nav a[aria-current="page"] { background: var(--c-accent); color: #fff; }
.hdr__tools { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
    display: none;
    background: transparent;
    border: 3px solid var(--c-ink);
    padding: 9px 14px;
    font-family: var(--f-body);
    font-size: 0.66rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    min-height: 44px;
}
@media (max-width: 900px) {
    .nav {
        position: absolute;
        top: 100%; left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        background: var(--c-bg);
        border-bottom: 3px solid var(--c-ink);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s var(--e-out);
    }
    .nav.is-open { max-height: 400px; }
    .nav a { text-align: left; padding: 15px var(--gutter); border-bottom: 1px solid var(--c-line); }
    .nav-toggle { display: block; }
}

/* Hero
   The inner pages' hero (.hero--sub). The home page opens on v1's
   hero instead, in css/hero-tatreez.css.
*/
.hero { padding-block: clamp(var(--space-5), 7vw, var(--space-7)) var(--space-7); }
.hero__slug {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    font-size: 0.66rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--c-ink-soft);
    padding-bottom: var(--space-2);
    border-bottom: 3px solid var(--c-ink);
    margin-bottom: var(--space-4);
}

.hero__lede {
    margin-top: var(--space-5);
    max-width: 56ch;
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--c-ink-soft);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: var(--space-5); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 13px 22px;
    border: 3px solid var(--c-ink);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    background: transparent;
    color: var(--c-ink);
    transition: transform 0.12s linear, box-shadow 0.12s linear, background 0.12s linear, color 0.12s linear;
}
.btn:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--c-accent); }
.btn--solid { background: var(--c-accent); border-color: var(--c-ink); color: #fff; }
.btn--solid:hover { box-shadow: 6px 6px 0 var(--c-plate-2); }

/* Staple-and-fold sections */
.section { padding-block: var(--space-7); position: relative; }
.section + .section { border-top: 3px solid var(--c-ink); }
.section--plate { background: var(--c-bg-2); }

/* Tabs
   The two tabs on achievements.html: the WAI-ARIA tabs pattern with
   automatic activation, a measured sliding pill and a sticky bar.
   tabs.js is generic; only these rules are specific to this site. */
.tabs { margin-top: 8px; }
.tab-list {
    position: sticky;
    top: 104px;
    z-index: 20;
    display: flex;
    gap: 4px;
    padding: 5px;
    margin-bottom: var(--space-4);
    background: var(--c-bg);
    border: 2px solid var(--c-ink);
    border-radius: 999px;
}
.tab-pill {
    position: absolute;
    top: 5px;
    left: 0;
    height: calc(100% - 10px);
    background: var(--c-accent);
    border-radius: 999px;
    transition: left 0.4s var(--e-out), width 0.4s var(--e-out);
    pointer-events: none;
}
.tab-btn {
    position: relative;
    z-index: 1;
    flex: 1;
    min-height: 44px;
    padding: 0 var(--space-3);
    border: 0;
    background: transparent;
    font-family: var(--f-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--c-ink-soft);
    border-radius: 999px;
    transition: color 0.2s linear;
}
.tab-btn.is-active { color: #fff; }
.tab-btn:hover:not(.is-active) { color: var(--c-ink); }
.tab-btn:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }
.tab-panel {
    animation: tab-in 0.28s var(--e-out);
    /* WCAG 2.2 SC 2.4.11: the panel carries tabindex="0" (APG tabpanel pattern, so it is
       reachable by keyboard even with no focusable content yet), and without this the
       sticky header plus the sticky tab bar above it (104px + ~58px) would cover the
       panel the moment it receives focus and the browser scrolls it into view. Verified
       against the real measured heights, not guessed. */
    scroll-margin-top: 180px;
}
@keyframes tab-in {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    .tab-pill { transition: none; }
    .tab-panel { animation: none; }
}

/* Fold line, the crease down a folded flyer */
.section--fold::before {
    content: "";
    position: absolute;
    left: 50%; top: 0; bottom: 0;
    width: 1px;
    background: repeating-linear-gradient(to bottom, var(--c-line) 0 6px, transparent 6px 12px);
    pointer-events: none;
}
@media (max-width: 760px) { .section--fold::before { display: none; } }

.kicker {
    display: inline-block;
    background: var(--c-ink);
    color: var(--c-bg);
    padding: 5px 12px;
    font-size: 0.64rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: var(--space-3);
}
.section__head { max-width: 60ch; margin-bottom: var(--space-6); }
.section__head h2 { font-size: clamp(2.1rem, 7vw, 4.6rem); }
.section__head p { margin-top: var(--space-3); color: var(--c-ink-soft); }

/* Pull quote */
.pull {
    padding-block: var(--space-7);
    text-align: center;
}
.pull blockquote {
    font-family: var(--f-display);
    font-size: clamp(1.8rem, 6vw, 4rem);
    line-height: 0.98;
    text-transform: uppercase;
    max-width: 26ch;
    margin-inline: auto;
    color: var(--c-head);
}
.pull blockquote span { color: var(--c-accent-ink); }
.pull cite {
    display: block;
    margin-top: var(--space-4);
    font-family: var(--f-body);
    font-style: normal;
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--c-ink-soft);
}

/* Bill posters */
.posters {
    display: grid;
    /* Three across, not auto-fit. At four the cards were narrow enough to
       break body copy into three-word lines, and the section counts that
       matter here are five and six, which give 3+2 and 3+3 rather than a
       row of four and one card stranded on its own. */
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3);
}
@media (max-width: 900px) { .posters { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .posters { grid-template-columns: 1fr; } }
.poster {
    border: 3px solid var(--c-ink);
    padding: var(--space-4);
    background: var(--c-bg);
    position: relative;
    transition: transform 0.16s var(--e-out), box-shadow 0.16s var(--e-out);
}
.poster:nth-child(odd) { transform: rotate(-0.5deg); }
.poster:nth-child(even) { transform: rotate(0.45deg); }
.poster:hover { transform: rotate(0deg) translateY(-4px); box-shadow: 8px 8px 0 var(--c-accent); }
.poster__no {
    font-family: var(--f-display);
    font-size: 2.4rem;
    color: var(--c-accent-ink);
    line-height: 0.8;
}
.poster h3 { font-size: 1.3rem; margin: 14px 0 10px; }
.poster p { font-size: 0.88rem; color: var(--c-ink-soft); line-height: 1.65; }

/* Call to action */
.cta {
    padding-block: var(--space-8);
    background: var(--c-accent);
    color: #fff;
    border-top: 3px solid var(--c-ink);
    border-bottom: 3px solid var(--c-ink);
}
.cta h2 { font-size: clamp(2.3rem, 8vw, 5.5rem); }
.cta p { margin-top: var(--space-4); max-width: 52ch; color: rgba(255, 255, 255, 0.92); }
.cta .btn { border-color: #fff; color: #fff; }
.cta .btn:hover { background: #fff; color: #ca0013; box-shadow: 6px 6px 0 #380000; }

/* Footer */
.ftr { padding-block: var(--space-6) var(--space-4); }
.ftr__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-5);
    padding-bottom: var(--space-5);
    border-bottom: 3px solid var(--c-ink);
}
.ftr h3 { font-family: var(--f-body); font-size: 0.66rem; letter-spacing: 0.16em; color: var(--c-ink-soft); margin-bottom: var(--space-2); }
.ftr li { padding: 5px 0; font-size: 0.9rem; }
.ftr li a:hover { color: var(--c-accent-ink); }
.ftr__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    padding-top: var(--space-3);
    font-size: 0.64rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--c-ink-soft);
}

/*
   The rest of the site: contact form and FAQ
   Same print-room language: hard rules, no radius, ink on
   newsprint, the accent only where it means something.
*/

.form { max-width: 62ch; }
.form__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-3);
}
.form__field { display: grid; gap: 6px; margin-bottom: var(--space-3); }
.form__field label {
    font-family: var(--f-body);
    font-size: 0.66rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--c-ink-soft);
}
.form__field input,
.form__field select,
.form__field textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    background: var(--c-bg);
    color: var(--c-ink);
    border: 2px solid var(--c-ink);
    font-family: var(--f-body);
    font-size: 0.9rem;
}
.form__field textarea { min-height: 140px; resize: vertical; }
.form__field input:focus-visible,
.form__field select:focus-visible,
.form__field textarea:focus-visible {
    outline: 3px solid var(--c-accent);
    outline-offset: 2px;
}
/* The honeypot is for robots. display:none is what Netlify's own docs use,
   and it is what this needs to be: pushed off-screen instead, the input still
   had a 177x21 box, which is a real target under the 24px floor and failed
   the browser pass. Hidden outright, it is not a target at all and it is not
   in the accessibility tree either. */
.form__hp { display: none; }
.form__note {
    margin-top: var(--space-3);
    font-size: 0.72rem;
    color: var(--c-ink-soft);
}

.faqs { max-width: 74ch; border-top: 3px solid var(--c-ink); }
.faq { border-bottom: 1px solid var(--c-line); }
.faq > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    min-height: 56px;
    padding: 14px 2px;
    cursor: pointer;
    list-style: none;
    font-family: var(--f-display);
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.01em;
}
.faq > summary::-webkit-details-marker { display: none; }
.faq > summary::after {
    content: "+";
    font-family: var(--f-body);
    font-size: 1.1rem;
    color: var(--c-accent-ink);
}
.faq[open] > summary::after { content: "\2212"; }
.faq > summary:hover { color: var(--c-accent-ink); }
.faq > p {
    padding: 0 2px 18px;
    max-width: 62ch;
    color: var(--c-ink-soft);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* A poster card holding a mail link needs the button to sit at the bottom.
   An email address is one unbreakable token, so without an explicit wrap it
   pushes straight through the card's 3px border. */
.poster .btn {
    margin-top: var(--space-2);
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
    text-align: left;
    line-height: 1.4;
}

/* Clippings, the feed */
/* Pinned press clippings. The posters carry the red plate; these carry
   the green one, so the two card systems read as different plates of the
   same press rather than as two unrelated components. */
.clips {
    display: grid;
    /* Fixed at three across so six clippings make two full rows rather
       than four and a gap. */
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3);
}
@media (max-width: 900px) { .clips { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .clips { grid-template-columns: 1fr; } }
.clip {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border: 3px solid var(--c-ink);
    border-top-width: 10px;
    border-top-color: var(--c-plate-2);
    background: var(--c-bg);
    padding: var(--space-3);
    text-decoration: none;
    color: inherit;
    transition: transform 0.16s var(--e-out), box-shadow 0.16s var(--e-out);
}
.clip:nth-child(odd) { transform: rotate(-0.45deg); }
.clip:nth-child(even) { transform: rotate(0.5deg); }
.clip:hover,
.clip:focus-visible {
    transform: rotate(0deg) translateY(-4px);
    box-shadow: 8px 8px 0 var(--c-plate-2);
}
.clip__no {
    font-family: var(--f-body);
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    color: var(--c-ink-soft);
}
.clip__t {
    font-family: var(--f-display);
    font-size: 1.22rem;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.01em;
}
.clip__s { font-size: 0.84rem; color: var(--c-ink-soft); line-height: 1.55; }
.clip__go {
    margin-top: auto;
    padding-top: var(--space-2);
    font-family: var(--f-body);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--c-accent-ink);
}
.clips__foot { margin-top: var(--space-5); display: flex; flex-wrap: wrap; gap: 12px; }
/* A clipping with its poster */
.clip__img { display: block; aspect-ratio: 1 / 1; margin-bottom: 8px; overflow: hidden; border: 2px solid var(--c-ink); background: var(--c-bg-2); }
.clip__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* Where we stand: the three values as one rubber stamp, brought down once */
.stand-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(200px, 300px);
    gap: var(--space-5);
    align-items: end;
    margin-bottom: var(--space-6);
}
.stand-top .section__head { margin-bottom: 0; }
.stamp { display: block; width: 100%; height: auto; overflow: visible; }
.stamp__ink {
    transform-origin: 150px 150px;
    transform: rotate(-12deg) scale(1.3);
    opacity: 0;
    transition: transform 0.36s var(--e-out) 0.25s, opacity 0.16s linear 0.25s;
}
.stand-top.is-in .stamp__ink { transform: rotate(-12deg); opacity: 0.94; }
.stamp__ring { fill: none; stroke: var(--c-accent-ink); stroke-width: 3; }
.stamp__ring--rim { stroke-width: 9; }
.stamp__rim { font-family: var(--f-display); font-size: 25px; letter-spacing: 2.6px; fill: var(--c-accent-ink); }
.stamp__name { font-family: var(--f-display); font-size: 66px; text-anchor: middle; fill: var(--c-accent-ink); }
.stamp__est { font-family: var(--f-body); font-size: 14px; font-weight: 700; letter-spacing: 4px; text-anchor: middle; fill: var(--c-accent-ink); }
@media (max-width: 760px) {
    .stand-top { grid-template-columns: minmax(0, 1fr); gap: var(--space-3); }
    .stamp { max-width: 200px; }
}
@media (prefers-reduced-motion: reduce) {
    .stamp__ink { transform: rotate(-12deg); opacity: 0.94; transition: none; }
}

/* Tatreez: a row of cross-stitch stars between sections, and a stitched band
   over the footer. One ink, taken from the theme through a mask. */
.stitch-rule {
    width: 220px;
    height: 56px;
    margin: var(--space-5) auto;
    background: var(--c-accent-ink);
    -webkit-mask: url("../assets/tatreez-star.svg") left center / 56px 56px space;
    mask: url("../assets/tatreez-star.svg") left center / 56px 56px space;
}
.ftr::before {
    content: "";
    display: block;
    height: 20px;
    margin-bottom: var(--space-5);
    background: url("../assets/tatreez-band.svg") left center / auto 20px repeat-x;
}

/* Joining, a tear-off slip */
/* Perforation between the steps, the way a freshers' fair sign-up slip
   tears off the bottom of a sheet. */
.steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0;
    border: 3px solid var(--c-ink);
    background: var(--c-bg);
    /* Positioned, so the slip sits over the section's fold line. Without
       it the dashed crease ran through the middle step's copy. */
    position: relative;
}
.step {
    padding: var(--space-4);
    border-right: 2px dashed var(--c-line);
}
.step:last-child { border-right: 0; }
.step__no {
    display: block;
    font-family: var(--f-display);
    font-size: 2.4rem;
    line-height: 0.8;
    color: var(--c-plate-2);
}
.step h3 { font-size: 1.24rem; margin: 14px 0 10px; }
.step p { font-size: 0.9rem; color: var(--c-ink-soft); line-height: 1.65; }
.step a { color: var(--c-accent-ink); }

@media (max-width: 760px) {
    .step { border-right: 0; border-bottom: 2px dashed var(--c-line); }
    .step:last-child { border-bottom: 0; }
}

/* Stencilled masthead (about) */
/* The name set the way it would be cut into a stencil: letter, then the
   word it stands for. Decorative, so the markup carries aria-hidden and
   the h1 above it already says the name in full. */
.acronym {
    display: grid;
    gap: 0;
    border-top: 3px solid var(--c-ink);
}
.acronym__row {
    display: flex;
    align-items: baseline;
    gap: var(--space-3);
    padding: var(--space-2) 0;
    border-bottom: 3px solid var(--c-ink);
}
.acronym__l {
    font-family: var(--f-display);
    font-size: clamp(2.6rem, 9vw, 5.4rem);
    line-height: 0.85;
    color: var(--c-accent-ink);
    width: 1.2em;
    flex: none;
}
.acronym__w {
    font-family: var(--f-body);
    font-size: clamp(0.9rem, 2.4vw, 1.5rem);
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

/* Run sheet (milestones) */
/* A press run sheet: the year in the margin, the entry beside it. */
.run {
    list-style: none;
    display: grid;
    gap: 0;
    border-top: 2px solid var(--c-line);
}
.run__item {
    display: grid;
    grid-template-columns: minmax(88px, 130px) 1fr;
    gap: var(--space-4);
    padding: var(--space-4) 0;
    border-bottom: 2px solid var(--c-line);
}
.run__yr {
    font-family: var(--f-display);
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    line-height: 0.9;
    color: var(--c-accent-ink);
    font-variant-numeric: tabular-nums;
}
.run__item h3 { font-size: 1.24rem; margin-bottom: 10px; }
.run__item p { font-size: 0.92rem; color: var(--c-ink-soft); line-height: 1.7; max-width: 60ch; }

@media (max-width: 560px) {
    .run__item { grid-template-columns: 1fr; gap: var(--space-2); }
}

/* Urgent notice (contact) */
/* Overprinted the way a rush job gets stamped, rather than set as a full
   red field: the tag carries the colour and the body keeps ink contrast. */
.urgent {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-4);
    align-items: start;
    border: 3px solid var(--c-accent);
    background: var(--c-bg);
    padding: var(--space-4);
}
.urgent__tag {
    background: var(--c-accent);
    color: #fff;
    font-family: var(--f-body);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 6px 12px;
    transform: rotate(-2deg);
}
.urgent h2 { font-size: clamp(1.5rem, 4vw, 2.4rem); }
.urgent p { margin-top: var(--space-2); color: var(--c-ink-soft); max-width: 58ch; line-height: 1.7; }
/* Scoped away from .btn: a bare `.urgent a` outranks `.btn--solid` and was
   painting the solid button accent-on-accent, so its label vanished. */
.urgent a:not(.btn) { color: var(--c-accent-ink); }
.urgent__acts { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-3); }

@media (max-width: 640px) {
    .urgent { grid-template-columns: 1fr; }
    .urgent__tag { justify-self: start; }
}

/* Running prose */
/* Body copy on the inner pages. It used to borrow .riso__row, which is
   the three-column grid a chart row needs, so every paragraph was
   squeezed into a 148px label column. Prose gets its own block. */
.prose { display: block; max-width: 66ch; }
.prose p { line-height: 1.75; }
.prose p:last-child { margin-bottom: 0 !important; }
