/* aussiestoreguides.com — "the printed catalogue, set for distance"
   Bespoke build from DESIGN.md (Faire reference): warm cream paper canvas,
   a humanist serif (PT Serif) for editorial headlines against a near-weightless
   sans (Manrope 200/400), an achromatic interactive system whose only filled
   element is the matte black CTA, and one pale butter yellow used exclusively
   as a short 3px decorative rule. Exactly two radii: 4px rectangles, 40px
   pills. No shadows, no gradients — depth comes from hairlines and the dark
   eucalypt band. */

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url('/fonts/manrope-200.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/manrope-400.woff2') format('woff2');
}
@font-face {
  font-family: 'PT Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/pt-serif-400.woff2') format('woff2');
}

:root {
  /* Colors — DESIGN.md tokens */
  --cream: #fbf8f6;      /* page canvas */
  --white: #ffffff;      /* card surfaces */
  --ink: #000000;        /* headlines, borders on dark UI, the one filled CTA */
  --charcoal: #333333;   /* body copy, secondary text, field borders */
  --smoke: #6c6a6a;      /* muted metadata */
  --ash: #dadada;        /* hairlines, card frames */
  --butter: #f1f29f;     /* decorative 3px rule ONLY — never bg/border/text */
  --gum: #253730;        /* inverted band: deep desaturated eucalypt */

  /* Type */
  --font-sans: 'Manrope', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: 'PT Serif', Georgia, 'Times New Roman', serif;
  --text-caption: 0.875rem;   /* 14px */
  --text-body: 1rem;          /* 16px */
  --text-sub: 1.125rem;       /* 18px */
  --text-h-sm: 1.375rem;      /* 22px */
  --text-h: 1.75rem;          /* 28px */
  --text-h-lg: 1.875rem;      /* 30px */
  --text-display: clamp(2.1rem, 1.1rem + 3.4vw, 3.25rem); /* → 52px */
  --track-ui: 0.009em;        /* slight positive tracking, loosening as size shrinks */
  --track-small: 0.011em;

  /* Shape — the two-radius law */
  --r-rect: 4px;
  --r-pill: 40px;

  /* Layout */
  --page-w: 1280px;
  --measure: 740px;

  /* Motion — network law */
  --dur-1: 130ms;
  --dur-2: 220ms;
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
}

/* ── Base ─────────────────────────────────────────────── */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--text-body);
  letter-spacing: var(--track-ui);
  line-height: 1.5;
  color: var(--charcoal);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3 { font-family: var(--font-serif); font-weight: 400; color: var(--ink); line-height: 1.25; letter-spacing: 0; margin: 0 0 .5em; }
h1 { font-size: var(--text-display); line-height: 1.23; }
h2 { font-size: var(--text-h-lg); line-height: 1.27; }
h3 { font-size: var(--text-h-sm); }
p { margin: 0 0 1em; }
a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--ash); transition: text-decoration-color var(--dur-1) var(--ease); }
a:hover { text-decoration-color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
img { max-width: 100%; height: auto; }

.wrap { max-width: var(--page-w); margin-inline: auto; padding-inline: 48px; }

/* Shared-view compatibility (network law): src/views (author page,
   legal/_page.php) and partials wrap content in
   .section > .container(.container-narrow). These MUST exist as centered
   max-width columns or those pages render unstyled. */
.section { padding: 88px 0; }
.container { max-width: var(--page-w); margin-inline: auto; padding-inline: 48px; }
.container-narrow { max-width: calc(var(--measure) + 96px); }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--white); color: var(--ink); padding: 10px 16px; z-index: 200; border: 1px solid var(--ink); border-radius: 0 0 var(--r-rect) 0; }
.skip-link:focus { left: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* The signature mark: a short 3px butter rule beneath (or above) a serif
   heading. Decorative only — DESIGN.md forbids butter anywhere functional. */
.rule-butter { display: block; width: 56px; height: 3px; background: var(--butter); margin: 14px 0 0; }
.rule-butter--above { margin: 0 0 14px; }

/* Small catalogue label: thin caps, tracked out */
.cat-label {
  display: block;
  font-size: var(--text-caption);
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--smoke);
  margin: 0 0 14px;
}

/* ── Buttons — achromatic system ──────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .45rem;
  font: 400 var(--text-caption)/1 var(--font-sans);
  letter-spacing: var(--track-ui);
  padding: 12px 23px;
  border-radius: var(--r-rect);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--dur-1) var(--ease), color var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease);
}
.btn--solid { background: var(--ink); color: var(--white); }
.btn--solid:hover { background: var(--charcoal); }
.btn--solid .arr { display: inline-block; transition: transform var(--dur-2) var(--ease); }
.btn--solid:hover .arr { transform: translateX(3px); }
.btn--line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--line:hover { background: var(--white); }
/* On the dark band */
.btn--paper { background: var(--white); color: var(--ink); }
.btn--paper:hover { background: var(--cream); }

/* Pill: reserved for navigational / filter elements (the two-radius law) */
.pill {
  display: inline-flex; align-items: center;
  font: 400 var(--text-caption)/1 var(--font-sans);
  letter-spacing: var(--track-ui);
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--charcoal);
  border-radius: var(--r-pill);
  padding: 11px 23px;
  text-decoration: none;
  transition: background var(--dur-1) var(--ease), color var(--dur-1) var(--ease);
}
.pill:hover { background: var(--ink); color: var(--white); }
.pill.is-here { background: var(--ink); color: var(--white); }

/* ── Promo strip (Faire-style slim top line) ──────────── */
.strip {
  font-size: var(--text-caption);
  letter-spacing: var(--track-small);
  text-align: center;
  color: var(--ink);
  background: var(--cream);
  border-bottom: 1px solid var(--ash);
  padding: 9px 16px;
}

/* ── Masthead ─────────────────────────────────────────── */
.masthead { background: var(--cream); position: sticky; top: 0; z-index: 100; border-bottom: 1px solid transparent; transition: border-color var(--dur-2) var(--ease); }
.masthead.is-stuck { border-bottom-color: var(--ash); }
.masthead-in { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-block: 18px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand svg { display: block; }
.brand-w { font-size: 15px; font-weight: 400; letter-spacing: .22em; text-transform: uppercase; white-space: nowrap; }
.navlinks { display: flex; align-items: center; gap: 12px; }
.burger { display: none; }
.drawer { display: none; }

/* ── Hero: editorial asymmetry over the cream canvas ──── */
.hero { padding: 88px 0 72px; }
.hero-in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: center; }
.hero h1 { margin: 0; }
.hero-sub {
  font-weight: 200;
  font-size: var(--text-sub);
  line-height: 1.55;
  color: var(--charcoal);
  max-width: 52ch;
  margin: 22px 0 30px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-note { font-size: var(--text-caption); letter-spacing: var(--track-small); color: var(--smoke); margin: 18px 0 0; }

/* The catalogue plate: hero's crafted SVG scene in a thin white frame */
.plate { background: var(--white); border: 1px solid var(--ash); border-radius: var(--r-rect); padding: 4px; margin: 0; }
.plate svg { display: block; width: 100%; height: auto; border-radius: 2px; }

/* ── Section heads ────────────────────────────────────── */
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { margin-bottom: 0; }
.section-head p { color: var(--smoke); margin: 14px 0 0; }

/* ── Value shelf: hairline-framed catalogue entries ───── */
.shelf { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.shelf-item { background: var(--white); border: 1px solid var(--ash); border-radius: var(--r-rect); padding: 28px; }
.shelf-item h3 { margin: 14px 0 10px; }
.shelf-item p { font-size: var(--text-caption); letter-spacing: var(--track-small); line-height: 1.6; color: var(--charcoal); margin: 0; }

/* ── Card grid: article listings as catalogue tiles ───── */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--ash);
  border-radius: var(--r-rect);
  padding: 4px;
  text-decoration: none;
  color: inherit;
  transition: border-color var(--dur-1) var(--ease);
}
.card:hover { border-color: var(--charcoal); }
.card-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 2px; display: block; }
.card--noimg .card-tx { padding-top: 24px; }
.card-tx { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card-date { font-size: var(--text-caption); letter-spacing: var(--track-small); color: var(--smoke); margin: 0 0 8px; }
.card-t { font-family: var(--font-serif); font-size: var(--text-h-sm); line-height: 1.35; color: var(--ink); margin: 0 0 8px; }
.card-d { font-size: var(--text-caption); letter-spacing: var(--track-small); line-height: 1.6; color: var(--charcoal); margin: 0 0 14px; }
.card-go { margin-top: auto; font-size: var(--text-caption); letter-spacing: var(--track-small); color: var(--ink); text-decoration: underline; text-decoration-color: var(--ash); text-underline-offset: 3px; }
.card:hover .card-go { text-decoration-color: var(--ink); }
.cards-more { margin-top: 32px; }

/* ── Inverted eucalypt band ───────────────────────────── */
.band { background: var(--gum); color: var(--white); padding: 88px 0; }
.band h2 { color: var(--white); font-size: clamp(1.6rem, 1rem + 2vw, 2.375rem); line-height: 1.27; max-width: 24ch; margin: 0; }
.band p { color: var(--cream); font-weight: 200; max-width: 56ch; margin: 20px 0 28px; }
.band a:not(.btn) { color: var(--white); text-decoration-color: var(--butter); text-decoration-thickness: 2px; }
.band a:not(.btn):hover { text-decoration-color: var(--white); }
.band .rule-butter { margin-top: 20px; }

/* ── Newsletter ───────────────────────────────────────── */
.nl { border-top: 1px solid var(--ash); padding: 88px 0; }
.nl-in { max-width: calc(var(--measure) + 96px); margin-inline: auto; padding-inline: 48px; }
.nl-in h2 { margin: 0; }
.nl-sub { color: var(--smoke); max-width: 52ch; margin: 16px 0 26px; }
.nl-form { display: flex; gap: 10px; flex-wrap: wrap; max-width: 520px; }
.nl-form .field {
  flex: 1 1 240px; min-width: 0;
  font: 400 var(--text-body)/1.4 var(--font-sans);
  letter-spacing: var(--track-ui);
  color: var(--ink);
  padding: 11px 14px;
  border: 1px solid var(--charcoal);
  border-radius: var(--r-rect);
  background: var(--white);
}
.nl-form .field::placeholder { color: var(--smoke); }
.nl-form .field[aria-invalid="true"] { border-color: #b3261e; }
.nl-consent { flex-basis: 100%; display: flex; gap: 8px; align-items: flex-start; font-size: var(--text-caption); letter-spacing: var(--track-small); color: var(--smoke); }
.nl-consent input { margin-top: 3px; accent-color: var(--ink); }
.nl-consent input[aria-invalid="true"] { outline: 2px solid #b3261e; outline-offset: 1px; }
.newsletter-ok { font-weight: 400; color: var(--ink); }

/* ── Footer ───────────────────────────────────────────── */
.foot { border-top: 1px solid var(--ash); padding: 64px 0 40px; font-size: var(--text-caption); letter-spacing: var(--track-small); }
.foot-top { display: flex; gap: 48px; flex-wrap: wrap; justify-content: space-between; }
.foot-note { max-width: 380px; color: var(--smoke); line-height: 1.65; }
.foot-note b { display: block; color: var(--ink); font-weight: 400; letter-spacing: .22em; text-transform: uppercase; font-size: 13px; margin-bottom: 12px; }
.foot-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.foot-col { display: grid; gap: 9px; align-content: start; }
.foot-col h2 { font-family: var(--font-sans); font-size: var(--text-caption); font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin: 0 0 4px; }
.foot-col a { text-decoration: none; color: var(--smoke); }
.foot-col a:hover { color: var(--ink); }
.foot-base { color: var(--smoke); margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--ash); }

/* ── Cookie banner: flat white card, hairline black frame ─ */
.cookie {
  position: fixed; inset-inline: 16px; bottom: 16px;
  max-width: 520px; margin-inline: auto;
  background: var(--white); border: 1px solid var(--ink); border-radius: var(--r-rect);
  padding: 18px 20px;
  display: none;
  z-index: 150;
  font-size: var(--text-caption);
  letter-spacing: var(--track-small);
  color: var(--charcoal);
}
.cookie.is-visible { display: block; }
.cookie p { margin: 0 0 12px; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-actions .btn { flex: 1 1 0; justify-content: center; }
.cookie-actions .btn--line { border-color: var(--charcoal); }

/* ── Breadcrumb ───────────────────────────────────────── */
.breadcrumb-list {
  list-style: none; display: flex; flex-wrap: wrap; gap: 8px;
  padding: 0; margin: 0 0 28px;
  font-size: var(--text-caption); letter-spacing: var(--track-small); color: var(--smoke);
}
.breadcrumb-list a { color: inherit; text-decoration: none; }
.breadcrumb-list a:hover { color: var(--ink); }
.breadcrumb-list li + li::before { content: '·'; margin-right: 8px; color: var(--ash); }

/* ── Page headers (inner pages) ───────────────────────── */
.pagehead { padding: 72px 0 8px; }
.pagehead h1 { margin-bottom: 0; }
.pagehead .lede { font-weight: 200; font-size: var(--text-sub); color: var(--charcoal); line-height: 1.55; max-width: 54ch; margin: 18px 0 0; }
.page-list { padding: 48px 0 96px; }

/* ── Article ──────────────────────────────────────────── */
.art { padding: 56px 0 96px; }
/* Owner law: content column centered on the page, TOC as a LEFT rail. The
   empty right balance column mirrors the rail so the measure sits centered. */
.art-shell {
  display: grid;
  grid-template-columns: 230px minmax(0, var(--measure)) 230px;
  column-gap: 56px;
  justify-content: center;
}
.art-top { grid-column: 2; grid-row: 1; min-width: 0; }
.art-body { grid-column: 2; grid-row: 2; min-width: 0; }
.art-shell .toc { grid-column: 1; grid-row: 2; }
.art-head h1 { margin: 0; }
.standfirst { font-weight: 200; font-size: var(--text-sub); line-height: 1.55; color: var(--charcoal); margin: 20px 0 0; max-width: 58ch; }
.byline { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 16px 0; margin-top: 26px; border-top: 1px solid var(--ash); border-bottom: 1px solid var(--ash); }
.byline img { width: 40px; height: 40px; border-radius: var(--r-pill); }
.byline-who { display: grid; line-height: 1.35; }
.byline-who a { font-weight: 400; color: var(--ink); text-decoration: none; font-size: var(--text-caption); letter-spacing: var(--track-small); }
.byline-who a:hover { text-decoration: underline; text-underline-offset: 3px; }
.byline-role { font-size: var(--text-caption); letter-spacing: var(--track-small); color: var(--smoke); }
.byline-meta { margin-left: auto; font-size: var(--text-caption); letter-spacing: var(--track-small); color: var(--smoke); text-align: right; line-height: 1.6; }
.art-cover { margin: 34px 0 0; background: var(--white); border: 1px solid var(--ash); border-radius: var(--r-rect); padding: 4px; }
.art-cover img { width: 100%; height: auto; border-radius: 2px; display: block; }
.art-body .prose { margin-top: 34px; }

/* TOC: the catalogue index, left rail */
.toc { position: sticky; top: 96px; align-self: start; font-size: var(--text-caption); letter-spacing: var(--track-small); }
.toc h2 { font-family: var(--font-sans); font-size: var(--text-caption); font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin: 34px 0 0; }
.toc h2::after { content: ''; display: block; width: 40px; height: 3px; background: var(--butter); margin: 10px 0 14px; }
.toc-list { list-style: none; margin: 0; padding: 0; }
.toc-list li { border-top: 1px solid var(--ash); }
.toc-list li:last-child { border-bottom: 1px solid var(--ash); }
.toc-list a {
  display: block; color: var(--smoke); text-decoration: none;
  padding: 8px 2px;
  transition: color var(--dur-1) var(--ease);
}
.toc-list a:hover { color: var(--ink); }

/* Prose */
.prose { max-width: var(--measure); font-size: 1.0625rem; line-height: 1.7; }
.prose h2 { margin: 2em 0 .6em; }
.prose h3 { margin: 1.7em 0 .5em; }
.prose p { margin: 0 0 1.2em; }
.prose a { overflow-wrap: anywhere; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--smoke); }
.prose blockquote {
  margin: 1.6em 0; padding: 16px 22px;
  background: var(--white); border: 1px solid var(--ash); border-left: 3px solid var(--charcoal);
  border-radius: var(--r-rect);
  font-size: 1rem;
}
.prose blockquote p:last-child { margin-bottom: 0; }
.prose img { background: var(--white); border: 1px solid var(--ash); border-radius: var(--r-rect); padding: 4px; }
.prose code { font-size: .9em; background: var(--white); border: 1px solid var(--ash); border-radius: var(--r-rect); padding: 1px 6px; }
.prose pre { background: var(--gum); color: var(--cream); border-radius: var(--r-rect); padding: 18px 20px; overflow-x: auto; font-size: .88rem; }
.prose pre code { background: none; border: 0; padding: 0; color: inherit; }
.prose hr { border: 0; border-top: 1px solid var(--ash); margin: 2.5em 0; }
.prose .table-scroll { overflow-x: auto; margin: 0 0 1.2em; background: var(--white); border: 1px solid var(--ash); border-radius: var(--r-rect); }
.prose table { border-collapse: collapse; width: 100%; font-size: var(--text-caption); letter-spacing: var(--track-small); }
.prose th { font-family: var(--font-sans); font-weight: 400; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); text-align: left; background: var(--cream); }
.prose th, .prose td { padding: 10px 14px; border-bottom: 1px solid var(--ash); vertical-align: top; }
.prose tr:last-child td { border-bottom: 0; }
.legal-updated { font-size: var(--text-caption); letter-spacing: var(--track-small); color: var(--smoke); }

/* Related: catalogue index rows */
.related { max-width: var(--measure); margin-top: 72px; }
.related h2 { font-size: var(--text-h-sm); margin: 0; }
.related .rule-butter { margin-bottom: 20px; }
.related-list { list-style: none; margin: 0; padding: 0; }
.related-list li { border-top: 1px solid var(--ash); }
.related-list li:last-child { border-bottom: 1px solid var(--ash); }
.related-list a {
  display: block; padding: 14px 2px; text-decoration: none;
  color: var(--ink); font-family: var(--font-serif);
  transition: color var(--dur-1) var(--ease);
}
.related-list a:hover { color: var(--charcoal); }
.related-list .meta { display: block; font-family: var(--font-sans); font-size: var(--text-caption); letter-spacing: var(--track-small); color: var(--smoke); margin-top: 3px; }

/* ── About: author callout repin (partial themes off themeColor = black,
   which already suits the achromatic system; square the corners) ── */
.about-author { border-radius: var(--r-rect) !important; border-color: var(--ash) !important; box-shadow: none !important; }
.about-author:hover { border-color: var(--charcoal) !important; box-shadow: none !important; }

/* ── 404 ──────────────────────────────────────────────── */
.err { padding: 120px 0 140px; }
.err-in { max-width: calc(var(--measure) + 96px); margin-inline: auto; padding-inline: 48px; }
.err-code { font-size: var(--text-caption); letter-spacing: .22em; text-transform: uppercase; color: var(--smoke); margin: 0 0 18px; }
.err h1 { margin: 0; }
.err p { color: var(--smoke); max-width: 44ch; margin: 18px 0 28px; }

/* ── Reveal on scroll (JS adds .is-in; no-JS stays visible) ─ */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity var(--dur-2) var(--ease), transform var(--dur-2) var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1380px) {
  .art-shell { grid-template-columns: minmax(0, var(--measure)); }
  .art-top, .art-body, .art-shell .toc { grid-column: 1; grid-row: auto; }
  .toc { position: static; background: var(--white); border: 1px solid var(--ash); border-radius: var(--r-rect); padding: 18px 20px; margin-top: 34px; }
  .toc h2 { margin-top: 0; }
  .toc-list { column-count: 2; column-gap: 32px; }
  .toc-list li { break-inside: avoid; }
  .art-body .prose { margin-top: 24px; }
}
@media (max-width: 1024px) {
  .wrap, .container { padding-inline: 24px; }
  .container-narrow { max-width: calc(var(--measure) + 48px); }
  .nl-in, .err-in { padding-inline: 24px; }
  .hero-in { grid-template-columns: 1fr; gap: 48px; }
  .cards, .shelf { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .section { padding: 64px 0; }
  .hero { padding: 64px 0 56px; }
  .navlinks { display: none; }
  .burger {
    display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center;
    background: none; border: 1px solid var(--charcoal); border-radius: var(--r-rect); cursor: pointer; color: var(--ink);
  }
  .burger i { display: block; width: 18px; height: 1px; background: currentColor; box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor; }
  .drawer { display: none; border-top: 1px solid var(--ash); background: var(--cream); }
  .drawer.is-open { display: block; }
  .drawer-in { display: grid; gap: 6px; padding-block: 16px; }
  .drawer-in a { text-decoration: none; color: var(--ink); padding: 12px 8px; border-radius: var(--r-rect); }
  .drawer-in a:hover { background: var(--white); }
  .drawer-in .btn { justify-content: center; margin-top: 8px; }
}
@media (max-width: 640px) {
  .cards, .shelf { grid-template-columns: 1fr; }
  .byline-meta { margin-left: 0; text-align: left; flex-basis: 100%; }
  .toc-list { column-count: 1; }
  .foot-cols { gap: 36px; }
  .brand-w { letter-spacing: .14em; font-size: 13px; }
}

/* ── Reduced motion — network law ─────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .btn--solid:hover .arr { transform: none; }
}
