/* Self-hosted for fieldguide. Regenerate with fetch_fonts.py. */
@font-face {
  font-family: 'Bitter';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/static/fonts/raxjHiqOu8IVPmn7epZnDMyKBvHf5D6c4Pz-UXByjeU.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bitter';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/static/fonts/raxjHiqOu8IVPmn7epZnDMyKBvHf5D6c4Pz-X3By.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bitter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/static/fonts/rax8HiqOu8IVPmn7cYxpPDk.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bitter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/static/fonts/rax8HiqOu8IVPmn7f4xp.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bitter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/static/fonts/rax8HiqOu8IVPmn7cYxpPDk.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bitter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/static/fonts/rax8HiqOu8IVPmn7f4xp.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bitter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/static/fonts/rax8HiqOu8IVPmn7cYxpPDk.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bitter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/static/fonts/rax8HiqOu8IVPmn7f4xp.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/static/fonts/qkB9XvYC6trAT55ZBi1ueQVIjQTD-JrIH2G7nytkHRyQ8p4wUjm6bnEr.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/static/fonts/qkB9XvYC6trAT55ZBi1ueQVIjQTD-JrIH2G7nytkHRyQ8p4wUje6bg.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fjalla One';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/static/fonts/Yq6R-LCAWCX3-6Ky7FAFrO96kigt.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fjalla One';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/static/fonts/Yq6R-LCAWCX3-6Ky7FAFrOF6kg.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* QSR Field Guide — a reader. The article is the page. Contents is a room you open. */

:root {
    --field: #f4f1ea;
    --leaf: #fff;
    --ink: #161410;
    --ink-soft: #5a554c;
    --line: #e4dfd4;
    --line-firm: #c9c2b3;
    --olive: #0b5c3a;
    --olive-soft: #e4efe8;
    --alert: #0b5c3a;
    --bar: #0b3d28;
    --gutter: clamp(1.1rem, 4vw, 2.4rem);
    --read: 40rem;
    --body: Bitter, "Iowan Old Style", Georgia, serif;
    --label: Karla, system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--field);
    color: var(--ink);
    font-family: var(--body);
    font-size: 18px;
    line-height: 1.62;
    overflow-x: clip;
}

body:has(.toc-go:checked) {
    overflow: hidden;
}

.skip {
    position: absolute;
    left: -9999px;
}

.skip:focus {
    left: 1rem;
    top: 1rem;
    z-index: 50;
    background: var(--olive);
    color: #fff;
    padding: 0.6rem 1rem;
}

a {
    color: var(--olive);
    text-underline-offset: 0.16em;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.toc-go {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.bar {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-height: 3.1rem;
    padding: 0.55rem var(--gutter);
    background: var(--bar);
    color: #f3efe4;
}

.bar-name {
    font-family: var(--label);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    text-decoration: none;
    color: #fff;
    white-space: nowrap;
}

.bar-sec {
    margin: 0;
    font-family: var(--label);
    font-size: 0.78rem;
    color: #c5d9cc;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bar-toc {
    margin-left: auto;
    font-family: var(--label);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    border: 1px solid #7aa48c;
    padding: 0.32rem 0.7rem;
    cursor: pointer;
}

.bar-toc:hover,
.toc-go:checked~.bar .bar-toc {
    background: #fff;
    color: var(--bar);
    border-color: #fff;
}

.toc-close-label {
    display: none;
}

.toc-go:checked~.bar .toc-open-label {
    display: none;
}

.toc-go:checked~.bar .toc-close-label {
    display: inline;
}

.toc {
    position: fixed;
    inset: 0;
    z-index: 30;
    background: #06281a;
    color: #f3efe4;
    overflow: auto;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

.toc-go:checked~.toc {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.toc-in {
    padding-top: 3.6rem;
}

.toc-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    max-width: 72rem;
    margin: 0 auto;
    padding: 1.2rem var(--gutter) 0.6rem;
}

.toc-top h2 {
    margin: 0;
    font-family: var(--body);
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: -0.02em;
}

.toc-x {
    font-family: var(--label);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    color: #c5d9cc;
}

.toc-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.6rem 2.2rem;
    max-width: 72rem;
    margin: 0 auto;
    padding: 0.6rem var(--gutter) 3rem;
}

.toc-col h3 {
    margin: 0 0 0.55rem;
    font-family: var(--label);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8fbfa3;
}

.toc-col.is-on h3 {
    color: #fff;
}

.toc-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.toc-col li+li {
    border-top: 1px solid #1c4a36;
}

.toc-col a {
    display: block;
    padding: 0.38rem 0;
    font-family: var(--label);
    font-size: 0.92rem;
    color: #d7e6dc;
    text-decoration: none;
}

.toc-col a:hover,
.toc-col a[aria-current="page"] {
    color: #fff;
}

.toc-col a[aria-current="page"] {
    font-weight: 700;
}

main {
    max-width: 46rem;
    margin: 0 auto;
    padding: 2rem var(--gutter) 0;
}

.entry-head {
    padding-bottom: 1.2rem;
}

.where {
    display: flex;
    gap: 0.7rem;
    margin: 0 0 0.55rem;
    font-family: var(--label);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--olive);
}

h1 {
    font-family: var(--body);
    font-weight: 800;
    font-size: clamp(1.85rem, 1.3rem + 2vw, 2.7rem);
    line-height: 1.12;
    letter-spacing: -0.025em;
    margin: 0;
    max-width: 22ch;
    text-wrap: balance;
}

.standfirst {
    font-size: 1.12rem;
    line-height: 1.45;
    color: var(--ink-soft);
    margin: 0.75rem 0 0;
    max-width: var(--read);
    text-wrap: pretty;
}

.along {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin: 1.15rem 0 0;
}

.along a {
    font-family: var(--label);
    font-size: 0.76rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--ink-soft);
    padding: 0.28rem 0.62rem;
    border: 1px solid var(--line-firm);
    background: #fff;
}

.along a:hover {
    border-color: var(--olive);
    color: var(--olive);
}

.along a[aria-current="page"] {
    background: var(--olive);
    color: #fff;
    border-color: var(--olive);
}

.prose {
    padding-top: 1.5rem;
}

.prose p,
.prose ul,
.prose ol,
.prose blockquote {
    max-width: var(--read);
}

.prose p {
    margin: 0 0 1.1em;
    text-wrap: pretty;
}

.prose h2 {
    font-family: var(--body);
    font-size: 1.28rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin: 2.3rem 0 0.7rem;
    scroll-margin-top: 4rem;
}

.prose h3 {
    font-family: var(--label);
    font-weight: 700;
    font-size: 0.95rem;
    margin: 1.7rem 0 0.4rem;
}

.prose ul,
.prose ol {
    margin: 0 0 1.2em;
    padding-left: 1.2em;
}

.prose li {
    margin: 0.32em 0;
}

.prose li::marker {
    color: var(--olive);
}

.prose blockquote {
    margin: 1.8rem 0;
    padding-left: 1.1rem;
    border-left: 4px solid var(--olive);
    font-style: italic;
    color: var(--ink-soft);
}

.prose strong {
    font-weight: 700;
}

figure {
    margin: 2rem 0;
    max-width: var(--read);
}

figure img {
    width: 100%;
}

figcaption {
    font-family: var(--label);
    font-size: 0.74rem;
    line-height: 1.4;
    color: var(--ink-soft);
    margin-top: 0.45rem;
}

.hero {
    max-width: none;
    margin: 1.4rem 0 0;
}

.hero img {
    aspect-ratio: 16 / 7;
    object-fit: cover;
}

.drawing {
    max-width: none;
}

.drawing img {
    width: min(100%, 26rem);
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    margin: 0 auto;
    padding: 1.2rem;
    background: #fff;
}

.checklist {
    margin: 2rem 0;
    padding: 1rem 1.1rem 1.05rem;
    background: #fff;
    border: 1px solid var(--line-firm);
}

.checklist>p:first-child {
    font-family: var(--label);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--olive);
    margin: 0 0 0.7rem;
    max-width: none;
}

.checklist ul {
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: none;
}

.checklist li {
    position: relative;
    padding-left: 1.4rem;
    margin: 0.45em 0;
    font-size: 0.98rem;
}

.checklist li::before {
    content: "→";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--olive);
    font-family: var(--label);
    font-weight: 700;
}

.warning {
    margin: 2rem 0;
    padding: 0.9rem 0 0.9rem 1rem;
    background: none;
    border-left: 4px solid var(--olive);
}

.warning>p:first-child {
    margin-top: 0;
}

.warning> :last-child {
    margin-bottom: 0;
}

.warning strong {
    color: var(--olive);
}

.entries {
    list-style: none;
    margin: 2rem 0;
    padding: 0;
    max-width: none;
}

.entries li {
    margin: 0;
    border-bottom: 1px solid var(--line);
}

.entries a {
    display: block;
    padding: 0.85rem 0;
    text-decoration: none;
    color: var(--ink);
}

.entries strong {
    display: block;
    font-family: var(--body);
    font-weight: 800;
    font-size: 1.05rem;
}

.entries em {
    display: block;
    font-style: italic;
    font-size: 0.92rem;
    color: var(--ink-soft);
    margin-top: 0.15rem;
}

.entries a:hover {
    color: var(--olive);
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.86rem;
    font-variant-numeric: tabular-nums;
    background: #fff;
    border: 1px solid var(--ink);
}

th {
    background: var(--ink);
    font-family: var(--label);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: left;
    color: #fff;
    padding: 0.5rem 0.7rem;
}

td {
    padding: 0.55rem 0.7rem;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

.asked {
    margin-top: 2.8rem;
    border-top: 1px solid var(--line-firm);
    padding-top: 1.2rem;
}

.asked h2 {
    font-family: var(--body);
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: -0.02em;
    margin: 0 0 1rem;
}

.asked dl {
    margin: 0;
}

.asked dt {
    font-family: var(--label);
    font-weight: 700;
    margin: 1rem 0 0.25rem;
}

.asked dt:first-child {
    margin-top: 0;
}

.asked dd {
    margin: 0;
    color: var(--ink-soft);
}

.onward {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-top: 2.4rem;
    border-top: 1px solid var(--line-firm);
}

.onward a {
    padding: 1rem 0;
    text-decoration: none;
    color: var(--ink);
}

.onward-next {
    text-align: right;
}

.onward span {
    display: block;
    font-family: var(--label);
    font-size: 0.66rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--olive);
    margin-bottom: 0.2rem;
}

.onward strong {
    font-family: var(--body);
    font-weight: 800;
    font-size: 1.02rem;
}

.foot {
    margin-top: 0;
}

.foot-in {
    max-width: 46rem;
    margin: 0 auto;
    padding: 1.6rem var(--gutter) 2.8rem;
    border-top: 1px solid var(--line-firm);
}

.foot-rule {
    margin: 0 0 0.8rem;
    font-size: 0.88rem;
    color: var(--ink-soft);
    max-width: 46rem;
}

.foot nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.2rem;
    font-family: var(--label);
    font-size: 0.78rem;
}

@media (max-width: 52rem) {
    .toc-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 44rem) {
    .bar-sec {
        display: none;
    }

    .toc-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .onward {
        grid-template-columns: 1fr;
    }

    .onward-next {
        text-align: left;
        border-top: 1px solid var(--line);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}


/* Forest on charcoal bands; the deeper mix keeps contrast on a white page. */
:root {
    --gold: #1f6b45;
    --gold-lift: #3d8f62;
    --gold-ink: #0b5c3a;
    --black: #14110c;
    --poster: "Fjalla One", "Arial Narrow", Impact, sans-serif;
}

/* ---------- editorial components: bands, posters, stats, plates ----------
   These components keep diagrams and comparisons consistent within the field guide. */

body {
    /* Bands bleed their background past the column with an over-wide pseudo
       element, which needs a clip that is not a scroll container, or a sticky
       header stops sticking. */
    overflow-x: clip;
}

.band {
    position: relative;
    isolation: isolate;
    margin: clamp(2.2rem, 5vw, 3.4rem) 0;
    padding: clamp(2.2rem, 5vw, 3.6rem) 0;
}

.band::before {
    content: "";
    position: absolute;
    inset: 0 -100vw;
    z-index: -1;
    background: var(--leaf);
    border-block: 1px solid var(--line);
}

.band.dark {
    color: #eae8e0;
}

.band.dark::before {
    background: var(--black);
    border-block: 0;
    border-top: 4px solid var(--gold);
}

.band.dark a {
    color: var(--gold);
}

.band.dark strong {
    color: #fff;
}

.band> :first-child {
    margin-top: 0;
}

.band> :last-child {
    margin-bottom: 0;
}

.eyebrow {
    font-family: var(--poster);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-ink);
    margin: 0 0 0.75rem;
}

.dark .eyebrow {
    color: var(--gold);
}

/* The poster heading: heavy condensed caps, with a gold clause inside it. */
.display,
.prose h2.display,
.prose h3.display {
    font-family: var(--poster);
    font-weight: 700;
    font-size: clamp(1.85rem, 1.2rem + 3.2vw, 3.3rem);
    line-height: 1;
    letter-spacing: 0.005em;
    text-transform: uppercase;
    margin: 0 0 1.1rem;
    text-wrap: balance;
    color: var(--ink);
}

.display b,
.display strong {
    color: var(--gold-ink);
    font-weight: inherit;
}

/* Two classes deep, because `.prose h2.display` above sets the light colour and
   would otherwise leave the non-gold half of the heading black on black. */
.band.dark .display {
    color: #fff;
}

.dark .display b,
.dark .display strong {
    color: var(--gold);
}

.band .lede {
    font-size: 1.06rem;
    font-style: normal;
    max-width: 42rem;
    margin: 0 0 1.4rem;
    color: inherit;
}

/* ---------- stat rows ---------- */

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
    gap: 1.6rem;
    margin: 2.2rem 0;
}

.stat {
    border-top: 4px solid var(--gold);
    padding-top: 0.85rem;
}

.stat b,
.stat strong {
    display: block;
    font-family: var(--poster);
    font-weight: 700;
    font-size: clamp(1.9rem, 1.3rem + 2.4vw, 2.9rem);
    line-height: 1;
    letter-spacing: 0.01em;
    color: var(--ink);
}

/* Needs both halves spelled out: `.band.dark strong` is more specific than
   `.stat strong` and would otherwise paint the number white. */
.dark .stat b,
.dark .stat strong {
    color: var(--gold);
}

.stat span {
    display: block;
    font-family: var(--poster);
    font-weight: 600;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-top: 0.5rem;
}

.stat p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--ink-soft);
    margin: 0.55rem 0 0;
}

.dark .stat span,
.dark .stat p {
    color: #a8a69c;
}

/* ---------- diagram plates ---------- */

/* The commissioned diagrams carry their own frame and dark ground, so they sit
   on a light panel rather than bleeding to the edge like a photograph. */
.plate {
    margin: 2.4rem 0;
    padding: clamp(0.85rem, 2.2vw, 1.5rem);
    background: #fff;
    border: 1px solid var(--ink);
    border-radius: 0;
    box-shadow: none;
}

.dark .plate {
    background: #131313;
    border-color: #2c2c2c;
    box-shadow: none;
}

.plate img {
    width: 100%;
    border-radius: 0;
}

.plate figcaption {
    border: 0;
    margin: 0;
    padding: 0.85rem 0.2rem 0.1rem;
    font-style: italic;
    font-size: 0.86rem;
    text-align: center;
    color: var(--ink-soft);
}

.dark .plate figcaption {
    color: #a8a69c;
}

/* A portrait diagram would otherwise run past a full screen height. */
.plate.tall img {
    max-height: 44rem;
    width: auto;
    margin: 0 auto;
}

/* ---------- split: artwork one side, argument the other ---------- */

.split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
    gap: clamp(1.3rem, 3.5vw, 2.6rem);
    align-items: center;
    margin: 2.2rem 0;
}

.split figure {
    margin: 0;
}

.split img {
    width: 100%;
}

.split>div> :first-child {
    margin-top: 0;
}

.split>div> :last-child {
    margin-bottom: 0;
}

/* ---------- pill button ---------- */

.pill {
    display: inline-block;
    font-family: var(--poster);
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    background: var(--gold);
    color: var(--black);
    text-decoration: none;
    padding: 0.8rem 1.55rem;
    border-radius: 999px;
}

.pill:hover {
    background: var(--gold-lift);
}

.band.dark .pill {
    color: var(--black);
}

/* ---------- press row ---------- */

.press {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: clamp(1.3rem, 4vw, 2.8rem);
    margin: 1.8rem 0;
}

.press img {
    height: 2.3rem;
    width: auto;
}

.dark .press img {
    filter: grayscale(1) brightness(1.9);
    opacity: 0.9;
}

/* ---------- card row ---------- */

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    gap: clamp(1.2rem, 3vw, 2.1rem);
    margin: 2.2rem 0;
}

.card {
    border-top: 4px solid var(--ink);
}

.card:nth-child(even) {
    border-top-color: var(--gold);
}

.dark .card {
    border-top-color: var(--gold);
}

.card h3 {
    font-family: var(--poster);
    font-weight: 700;
    font-size: 1.22rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin: 0.85rem 0 0.5rem;
    color: inherit;
}

.card p {
    font-size: 0.95rem;
    margin: 0 0 0.6rem;
}

.card p:last-child {
    margin-bottom: 0;
}

/* A gold-caps status line closes each comparison card. */
.card .status {
    font-family: var(--poster);
    font-weight: 600;
    font-size: 0.74rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-ink);
}

.dark .card .status {
    color: var(--gold);
}

/* ---------- league tables ---------- */

/* One Item of the disclosure document, every brand in the set, side by side.
   Wider than the reading column on purpose: this is the part of the page that
   is worth the horizontal room. */
.league {
    margin: 1.8rem 0 2.2rem;
    max-width: none;
    overflow-x: auto;
}

.league table {
    width: 100%;
    min-width: 34rem;
    border-collapse: collapse;
    font-family: var(--label);
    font-size: 0.88rem;
}

.league caption {
    caption-side: top;
    text-align: left;
    padding: 0 0 0.7rem;
    font-family: var(--label);
    font-size: 0.8rem;
    line-height: 1.45;
    color: var(--ink-soft);
    max-width: var(--read);
}

.league thead th {
    background: var(--ink);
    color: var(--field);
    text-align: left;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.5rem 0.65rem;
    white-space: nowrap;
}

.league tbody tr {
    border-bottom: 1px solid var(--line);
}

.league tbody tr:nth-child(even) {
    background: var(--leaf);
}

.league td,
.league tbody th {
    padding: 0.55rem 0.65rem;
    text-align: left;
    vertical-align: top;
    font-weight: 400;
}

.league tbody th {
    font-weight: 700;
    white-space: nowrap;
}

.league .lead-cell {
    font-family: var(--poster);
    font-size: 1.15rem;
    line-height: 1;
    color: var(--olive);
    white-space: nowrap;
}

.league .year {
    color: var(--ink-soft);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.league .yes,
.league .no {
    display: inline-block;
    padding: 0.08rem 0.45rem;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.league .yes {
    background: var(--olive-soft);
    color: var(--olive);
}

.league .no {
    background: transparent;
    color: var(--ink-soft);
    border: 1px solid var(--line-firm);
}