/* The Long View (AGED CARE IN AUSTRALIA) — dusk on linen.
   Tokens verbatim from brand-kit/brand-kit.md (OKLCH source of truth, hex fallback).
   Serif-led broadsheet: Fraunces display, Literata body, Atkinson Hyperlegible UI.
   Accessibility is on-brand: generous base size, AAA body contrast, visible focus. */

/* ── Webfonts: self-hosted subset woff2 (fleet rail: no third-party requests) ── */
@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-var.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Literata";
  src: url("/assets/fonts/literata-var.woff2") format("woff2");
  font-weight: 200 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Literata";
  src: url("/assets/fonts/literata-italic-var.woff2") format("woff2");
  font-weight: 200 900; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("/assets/fonts/atkinson-regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("/assets/fonts/atkinson-bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ── Tokens ── */
:root {
  --ink: #221c20; --linen: #f9f5ee; --wool: #eee9e0;
  --mulberry: #6e2e4d; --mulberry-deep: #55223b; --mulberry-light: #deaec2; --mulberry-tint: #f3e6eb;
  --dusk: #355176; --dusk-deep: #283e5b; --dusk-light: #a6c1dd; --dusk-tint: #e3ebf3;
  --heather: #68516d; --heather-deep: #513f56; --heather-light: #cdb9d2; --heather-tint: #eee7ef;
  --rose: #844c56; --rose-deep: #693b43; --rose-light: #eab8c0; --rose-tint: #f7e6e9;

  --font-masthead: "Fraunces", Georgia, serif;
  --font-serif: "Literata", Georgia, serif;
  --font-sans: "Atkinson Hyperlegible", system-ui, sans-serif;

  --ground: var(--linen); --text: var(--ink); --surface: var(--wool);
  --rule: rgba(34, 28, 32, 0.22); --rule-soft: rgba(34, 28, 32, 0.12);
  --muted: #574d53;
  --link: var(--mulberry); --link-deep: var(--mulberry-deep);
  --cat-regulation: var(--dusk);        --cat-regulation-tint: var(--dusk-tint);
  --cat-quality: var(--mulberry);       --cat-quality-tint: var(--mulberry-tint);
  --cat-funding: var(--dusk-deep);      --cat-funding-tint: var(--dusk-tint);
  --cat-workforce: var(--heather);      --cat-workforce-tint: var(--heather-tint);
  --cat-providers: var(--mulberry-deep);--cat-providers-tint: var(--mulberry-tint);
  --cat-families: var(--rose);          --cat-families-tint: var(--rose-tint);
}
@supports (color: oklch(50% 0.1 0)) {
  :root {
    --ink: oklch(23.5% 0.012 340); --linen: oklch(97.2% 0.010 85); --wool: oklch(93.6% 0.013 80);
    --mulberry: oklch(40% 0.098 352); --mulberry-deep: oklch(33.5% 0.082 352);
    --mulberry-light: oklch(80% 0.062 352); --mulberry-tint: oklch(93.6% 0.016 352);
    --dusk: oklch(43% 0.070 255); --dusk-deep: oklch(36% 0.058 256);
    --dusk-light: oklch(80% 0.050 250); --dusk-tint: oklch(93.6% 0.014 252);
    --heather: oklch(47% 0.052 320); --heather-deep: oklch(39.5% 0.045 320);
    --heather-light: oklch(81% 0.042 320); --heather-tint: oklch(93.6% 0.012 320);
    --rose: oklch(48.5% 0.078 8); --rose-deep: oklch(41% 0.066 8);
    --rose-light: oklch(83% 0.058 8); --rose-tint: oklch(94% 0.019 8);
  }
}
/* Dark theme: the negative of the page, not a new palette (brand-kit rule).
   Linen text on ink ground; each ink swaps to its -light cut; tints become
   translucent light washes (no light-theme tint on the dark ground). */
@media (prefers-color-scheme: dark) {
  :root {
    --ground: var(--ink); --text: var(--linen); --surface: #2c2429;
    --rule: rgba(249, 245, 238, 0.28); --rule-soft: rgba(249, 245, 238, 0.14);
    --muted: #c4b8bd;
    --link: var(--mulberry-light); --link-deep: var(--rose-light);
    --cat-regulation: var(--dusk-light);   --cat-regulation-tint: rgba(166, 193, 221, 0.16);
    --cat-quality: var(--mulberry-light);  --cat-quality-tint: rgba(222, 174, 194, 0.16);
    --cat-funding: var(--dusk-light);      --cat-funding-tint: rgba(166, 193, 221, 0.16);
    --cat-workforce: var(--heather-light); --cat-workforce-tint: rgba(205, 185, 210, 0.16);
    --cat-providers: var(--mulberry-light);--cat-providers-tint: rgba(222, 174, 194, 0.16);
    --cat-families: var(--rose-light);     --cat-families-tint: rgba(234, 184, 192, 0.16);
  }
}

/* ── Reset + base ── */
* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--ground); color: var(--text);
  font-family: var(--font-serif); font-size: 1.1875rem; line-height: 1.65;
  font-optical-sizing: auto;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
a:hover, a:focus { color: var(--link-deep); }
:focus-visible { outline: 3px solid var(--dusk); outline-offset: 2px; }
@media (prefers-color-scheme: dark) { :focus-visible { outline-color: var(--dusk-light); } }
table, .data, .figures, .chip { font-variant-numeric: tabular-nums lining-nums; }

.skip {
  position: absolute; left: -999px; top: 0; z-index: 10;
  background: var(--mulberry); color: var(--linen);
  padding: 0.5rem 1rem; font-family: var(--font-sans);
}
.skip:focus { left: 0; color: var(--linen); }

.wrap { max-width: 71.25rem; margin: 0 auto; padding: 0 1.25rem; }

/* ── Header: centred broadsheet nameplate over the milestone rule ── */
.site-head { padding: 1.6rem 1.25rem 0; text-align: center; }
.site-head .plate img { width: min(24rem, 82vw); height: auto; }
.logo-dark { display: none; }
@media (prefers-color-scheme: dark) {
  .logo-light { display: none; } .logo-dark { display: inline; }
}
.site-nav { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin-top: 1.15rem; }
.site-nav ul {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0.25rem 2rem; padding: 0.55rem 0; max-width: 71.25rem; margin: 0 auto;
}
.site-nav a {
  font-family: var(--font-sans); font-weight: 700; font-size: 0.8125rem;
  letter-spacing: 0.115em; text-transform: uppercase;
  color: var(--text); text-decoration: none; padding: 0.2rem 0;
}
.site-nav a:hover, .site-nav a:focus { color: var(--link); text-decoration: underline; }
body[data-page="regulation"] .site-nav a[data-nav="regulation"],
body[data-page="quality-and-safety"] .site-nav a[data-nav="quality-and-safety"],
body[data-page="funding-and-pricing"] .site-nav a[data-nav="funding-and-pricing"],
body[data-page="workforce"] .site-nav a[data-nav="workforce"],
body[data-page="for-families"] .site-nav a[data-nav="for-families"] {
  color: var(--link); border-bottom: 2px solid var(--link);
}

main { padding: 2rem 0 3.5rem; }

/* ── Kickers + category inks ── */
.kicker, .kicker a {
  font-family: var(--font-sans); font-weight: 700; font-size: 0.8125rem;
  letter-spacing: 0.115em; text-transform: uppercase;
  color: var(--cat, var(--mulberry)); text-decoration: none;
}
.kicker { margin-bottom: 0.45rem; }
.kicker a:hover, .kicker a:focus { text-decoration: underline; color: var(--cat, var(--mulberry)); }
[data-cat="regulation"] { --cat: var(--cat-regulation); --cat-tint: var(--cat-regulation-tint); }
[data-cat="quality-and-safety"] { --cat: var(--cat-quality); --cat-tint: var(--cat-quality-tint); }
[data-cat="funding-and-pricing"] { --cat: var(--cat-funding); --cat-tint: var(--cat-funding-tint); }
[data-cat="workforce"] { --cat: var(--cat-workforce); --cat-tint: var(--cat-workforce-tint); }
[data-cat="providers"] { --cat: var(--cat-providers); --cat-tint: var(--cat-providers-tint); }
[data-cat="for-families"] { --cat: var(--cat-families); --cat-tint: var(--cat-families-tint); }

/* ── Front page ── */
.front-lead {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: 2.25rem; padding-bottom: 1.9rem; border-bottom: 1px solid var(--rule);
}
.lead-story .lead-art { display: block; margin-bottom: 1rem; }
.lead-story .lead-art img { display: block; width: 100%; }
.lead-story h2 {
  font-family: var(--font-masthead); font-weight: 620; font-size: clamp(1.7rem, 3.4vw, 2.35rem);
  line-height: 1.14; letter-spacing: -0.005em; margin: 0.2rem 0 0.7rem;
}
.lead-story h2 a, .story-card h3 a { color: var(--text); text-decoration: none; }
.lead-story h2 a:hover, .lead-story h2 a:focus,
.story-card h3 a:hover, .story-card h3 a:focus { color: var(--link); text-decoration: underline; }
.lead-story .standfirst { font-size: 1.125rem; line-height: 1.55; }
.front-rail { display: flex; flex-direction: column; gap: 1.6rem; }
.front-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.9rem; padding-top: 1.9rem;
}
.story-card { border-top: 3px solid var(--cat, var(--mulberry)); padding-top: 0.7rem; }
.story-card h3 {
  font-family: var(--font-masthead); font-weight: 600; font-size: 1.28rem;
  line-height: 1.22; margin-bottom: 0.45rem;
}
.story-card p { font-size: 1rem; line-height: 1.5; }
.date { font-family: var(--font-sans); font-size: 0.8125rem; color: var(--muted); margin-top: 0.5rem; }
.lead-story .date { margin-top: 0.7rem; }

/* ── Section fronts + simple pages ── */
.crumbs {
  list-style: none; display: flex; flex-wrap: wrap; gap: 0.3rem;
  font-family: var(--font-sans); font-size: 0.8125rem; color: var(--muted);
  margin-bottom: 1.2rem;
}
.crumbs li:not(:first-child)::before { content: "/"; margin-right: 0.3rem; color: var(--rule); }
.crumbs a { color: var(--muted); }
.section-hero { margin-bottom: 1.4rem; }
.section-hero img { display: block; width: 100%; }
.section-head, .page-head { max-width: 46rem; margin-bottom: 2rem; }
.section-head h1, .page-head h1 {
  font-family: var(--font-masthead); font-weight: 620; font-size: clamp(1.9rem, 4vw, 2.6rem);
  line-height: 1.12; margin: 0.25rem 0 0.75rem;
}
.section-head .explainer, .page-head .standfirst { font-size: 1.15rem; line-height: 1.55; color: var(--text); }
.section-list {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
  gap: 1.9rem;
}

/* ── Article ── */
.article { max-width: 46rem; margin: 0 auto; }
.strip-art { margin-bottom: 1.3rem; }
.strip-art img { display: block; width: 100%; }
.article-head h1 {
  font-family: var(--font-masthead); font-weight: 620; font-size: clamp(1.85rem, 4.4vw, 2.65rem);
  line-height: 1.12; letter-spacing: -0.005em; margin: 0.3rem 0 0.9rem;
}
.article-head .standfirst { font-size: 1.22rem; line-height: 1.55; }
.dateline {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.7rem 1.1rem;
  font-family: var(--font-sans); font-size: 0.8125rem; color: var(--muted);
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule-soft);
  padding: 0.6rem 0; margin: 1.3rem 0 1.8rem;
}
.article-body > p, .article-body > ul, .article-body > ol { margin-bottom: 1.15rem; }
.article-body > ul, .article-body > ol { padding-left: 1.4rem; }
.article-body li { margin-bottom: 0.45rem; }
.article-body h2 {
  font-family: var(--font-masthead); font-weight: 600; font-size: 1.55rem;
  line-height: 1.2; margin: 2.1rem 0 0.8rem;
}
.article-body h3 {
  font-family: var(--font-sans); font-weight: 700; font-size: 1.02rem;
  letter-spacing: 0.02em; margin: 1.6rem 0 0.6rem;
}
.article-body strong { font-weight: 700; }
.article-body cite, .doc-title { font-style: italic; }

/* Source chip: 1px mulberry border, linen fill; furniture, never a badge. */
.chip {
  display: inline-block; font-family: var(--font-sans); font-weight: 700;
  font-size: 0.72rem; letter-spacing: 0.09em; text-transform: uppercase;
  border: 1px solid var(--link); color: var(--text); background: var(--ground);
  border-radius: 2px; padding: 0.12rem 0.5rem; text-decoration: none;
}
a.chip:hover, a.chip:focus { background: var(--mulberry-tint); color: var(--text); }
@media (prefers-color-scheme: dark) { a.chip:hover, a.chip:focus { background: rgba(222, 174, 194, 0.16); } }

/* Methodology note: wool block, hairline ink rules top and bottom. */
.method {
  background: var(--surface); border-top: 1px solid var(--text); border-bottom: 1px solid var(--text);
  padding: 1.1rem 1.25rem; margin: 1.8rem 0;
  font-family: var(--font-sans); font-size: 0.9rem; line-height: 1.55;
}
.method h2, .method h3 {
  font-family: var(--font-sans); font-weight: 700; font-size: 0.8125rem;
  letter-spacing: 0.115em; text-transform: uppercase; margin: 0 0 0.5rem;
}
.method p + p { margin-top: 0.6rem; }

/* Key-numbers rail (stat tiles; not a chart) */
.stat-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 1px; background: var(--rule-soft); border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule); margin: 1.6rem 0;
}
.stat { background: var(--ground); padding: 0.9rem 1rem; }
.stat .n {
  font-family: var(--font-sans); font-weight: 700; font-size: 1.7rem; line-height: 1.1;
  font-variant-numeric: tabular-nums lining-nums; display: block; color: var(--cat, var(--text));
}
.stat .l { font-family: var(--font-sans); font-size: 0.8125rem; color: var(--muted); display: block; margin-top: 0.25rem; line-height: 1.35; }

/* Charts: authored inline SVG, page tokens, Atkinson labels. On narrow screens
   the drawing keeps a legible min-width and scrolls sideways rather than
   shrinking its labels below readability (older-reader bar). */
.chart { margin: 1.8rem 0; overflow-x: auto; }
.chart svg { display: block; width: 100%; height: auto; min-width: 34rem; }
.chart .axis-label, .chart .tick-label, .chart .bar-label, .chart .series-label {
  font-family: var(--font-sans); fill: var(--muted); font-size: 12.5px;
}
.chart .bar-label, .chart .series-label { fill: var(--text); }
.chart .series-label { font-weight: 700; }
.chart .gridline { stroke: var(--rule-soft); stroke-width: 1; }
.chart .baseline { stroke: var(--rule); stroke-width: 1; }
.chart figcaption, .figure-caption {
  font-family: var(--font-sans); font-size: 0.85rem; color: var(--muted);
  margin-top: 0.55rem; line-height: 1.5;
}
.c-mulberry { fill: var(--cat-quality); } .s-mulberry { stroke: var(--cat-quality); }
.c-dusk { fill: var(--cat-regulation); } .s-dusk { stroke: var(--cat-regulation); }
.c-heather { fill: var(--cat-workforce); } .s-heather { stroke: var(--cat-workforce); }
.c-rose { fill: var(--cat-families); } .s-rose { stroke: var(--cat-families); }
.c-tint { fill: var(--cat-tint, var(--mulberry-tint)); }
.c-muted { fill: var(--muted); }

/* Tables: on narrow screens the table keeps a legible min-width and the
   wrapper scrolls sideways; headers never crush into each other. */
.table-scroll { overflow-x: auto; margin: 1.6rem 0; }
.table-scroll table { min-width: 36rem; }
table {
  border-collapse: collapse; width: 100%;
  font-family: var(--font-sans); font-size: 0.92rem; line-height: 1.45;
}
caption, .table-caption {
  text-align: left; font-weight: 700; font-size: 0.8125rem;
  letter-spacing: 0.115em; text-transform: uppercase; padding-bottom: 0.5rem;
}
/* .table-caption sits ABOVE .table-scroll (not inside the table) so a wide table
   that scrolls sideways on mobile does not drag its caption off the visible edge.
   A <caption> inherits the table's width; a block sibling wraps to the viewport. */
.table-caption { display: block; margin: 0; }
th, td { text-align: left; padding: 0.5rem 0.9rem 0.5rem 0; border-bottom: 1px solid var(--rule-soft); vertical-align: top; }
thead th { border-bottom: 1px solid var(--text); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; }
td.num, th.num { text-align: right; padding-right: 0; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 1px solid var(--rule); }

/* Sources list */
.sources { border-top: 1px solid var(--rule); margin-top: 2.4rem; padding-top: 1.1rem; }
.sources h2 {
  font-family: var(--font-sans); font-weight: 700; font-size: 0.8125rem;
  letter-spacing: 0.115em; text-transform: uppercase; margin-bottom: 0.7rem;
}
.sources ol { list-style: decimal; padding-left: 1.4rem; font-family: var(--font-sans); font-size: 0.9rem; line-height: 1.55; }
.sources li { margin-bottom: 0.45rem; overflow-wrap: break-word; }

/* Correction line */
.correction-note {
  font-family: var(--font-sans); font-size: 0.85rem; color: var(--muted);
  margin-top: 1.6rem;
}

/* ── Ad slot: exists from birth, empty by default ── */
.ad-slot {
  border: 1px dashed var(--rule); padding: 1rem; margin: 2rem 0; text-align: center;
}
.ad-label {
  font-family: var(--font-sans); font-size: 0.72rem; letter-spacing: 0.115em;
  text-transform: uppercase; color: var(--muted);
}

/* ── Forms (tips page) ── */
.tip-forms { display: grid; gap: 2.4rem; max-width: 46rem; }
.form-block { border-top: 3px solid var(--mulberry); padding-top: 1rem; }
@media (prefers-color-scheme: dark) { .form-block { border-top-color: var(--mulberry-light); } }
.form-block h2 { font-family: var(--font-masthead); font-weight: 600; font-size: 1.5rem; margin-bottom: 0.6rem; }
.form-block > p { margin-bottom: 1rem; }
.form-block form > div { margin-bottom: 1rem; }
label { font-family: var(--font-sans); font-weight: 700; font-size: 0.92rem; display: block; margin-bottom: 0.3rem; }
input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%; font-family: var(--font-sans); font-size: 1rem; color: var(--text);
  background: var(--ground); border: 1px solid var(--rule); border-radius: 3px;
  padding: 0.6rem 0.7rem;
}
textarea { min-height: 8.5rem; resize: vertical; }
input:focus, textarea:focus { border-color: var(--link); outline: 2px solid var(--link); outline-offset: 0; }
input[type="file"] { font-family: var(--font-sans); font-size: 0.92rem; }
.meta { font-family: var(--font-sans); font-size: 0.85rem; color: var(--muted); margin-top: 0.35rem; }
.hp { position: absolute; left: -999rem; }
.btn {
  font-family: var(--font-sans); font-weight: 700; font-size: 1rem;
  background: var(--mulberry); color: var(--linen); border: 0; border-radius: 3px;
  padding: 0.65rem 1.4rem; cursor: pointer;
}
.btn:hover, .btn:focus { background: var(--mulberry-deep); }
@media (prefers-color-scheme: dark) {
  .btn { background: var(--mulberry-light); color: var(--ink); }
  .btn:hover, .btn:focus { background: var(--rose-light); }
}
.form-msg { font-family: var(--font-sans); font-weight: 700; margin-top: 0.8rem; }
.form-msg.ok { color: var(--dusk); } .form-msg.err { color: var(--rose); }
@media (prefers-color-scheme: dark) { .form-msg.ok { color: var(--dusk-light); } .form-msg.err { color: var(--rose-light); } }

/* ── Prose pages (about etc.) ── */
.prose { max-width: 46rem; }
.prose > p, .prose > ul, .prose > ol { margin-bottom: 1.15rem; }
.prose > ul, .prose > ol { padding-left: 1.4rem; }
.prose h2 { font-family: var(--font-masthead); font-weight: 600; font-size: 1.5rem; margin: 2rem 0 0.7rem; }

/* ── Sponsored-content disclosure (kernel/sponsored-content-convention.md) ──
   Class names are the fleet-wide contract; the styling is this masthead's own.
   Driven off --link/--ground/--text so it re-themes with the page rather than
   pinning a raw palette colour that would go unreadable in the other theme. */
.disclosure-banner {
  border: 1px solid var(--link); border-left: 4px solid var(--link);
  background: color-mix(in oklab, var(--link) 10%, var(--ground));
  color: var(--text);
  padding: 0.9rem 1.1rem; margin: 0 0 1.6rem;
  font-family: var(--font-sans); font-size: 0.85rem; line-height: 1.55;
}
.disclosure-label {
  display: block; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: color-mix(in oklab, var(--link) 55%, var(--text));
  margin-bottom: 0.4rem;
}
.disclosure-banner p { margin: 0.3rem 0; }
.disclosure-banner p:first-of-type { margin-top: 0; }
.disclosure-banner p:last-of-type { margin-bottom: 0; }
.disclosure-banner a { color: color-mix(in oklab, var(--link) 55%, var(--text)); font-weight: 600; }

/* ── Footer: ink ground in both themes; reversed lockup ── */
.site-foot { background: var(--ink); color: var(--linen); margin-top: 2rem; }
@media (prefers-color-scheme: dark) { .site-foot { border-top: 1px solid var(--rule); } }
.site-foot .wrap { padding-top: 2.5rem; padding-bottom: 2rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2.2rem; }
.foot-plate img { width: min(17.75rem, 74vw); height: auto; }
.credo { font-size: 0.98rem; line-height: 1.6; margin-top: 0.9rem; max-width: 30rem; }
.site-foot h2 {
  font-family: var(--font-sans); font-weight: 700; font-size: 0.8125rem;
  letter-spacing: 0.115em; text-transform: uppercase; margin-bottom: 0.7rem;
  color: var(--mulberry-light);
}
.site-foot ul { list-style: none; }
.site-foot li { margin-bottom: 0.45rem; }
.site-foot a { color: var(--linen); }
.site-foot a:hover, .site-foot a:focus { color: var(--mulberry-light); }
.foot-base {
  border-top: 1px solid rgba(249, 245, 238, 0.25); margin-top: 2.2rem; padding-top: 1.3rem;
  font-family: var(--font-sans); font-size: 0.88rem; line-height: 1.6;
}
.foot-base p + p { margin-top: 0.6rem; }

/* ── Responsive ── */
@media (max-width: 56rem) {
  .front-lead { grid-template-columns: 1fr; gap: 1.9rem; }
  .front-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 36rem) {
  body { font-size: 1.125rem; }
  .front-grid { grid-template-columns: 1fr; }
  .site-nav ul { gap: 0.25rem 1.1rem; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
