/* Apothecary Ledger theme. See agent/design-guidelines.md */
:root {
  color-scheme: light;
  --bg: #f1e6d2; --surface: #fbf5e9; --surface-2: #e9dcc2; --ink: #2c1f16; --muted: #6b5a48; --rule: #d9c8a8;
  --link: #8a4a1e; --focus: #c1602f;
  --panel: #201510; --panel-2: #2b1e17; --panel-ink: #f1e6d2; --panel-muted: #b6a288;
  --plum: #5c3a2e; --terracotta: #c1602f; --brass: #8a6f2e;
  --display: "DM Serif Display", Georgia, "Times New Roman", serif;
  --serif: "Vollkorn", Georgia, "Times New Roman", serif;
  --mono: "Courier Prime", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --wrapw: 72rem;
  --r: 10px;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #201510; --surface: #2a1c15; --surface-2: #241811; --ink: #f0e4d3; --muted: #b6a58e; --rule: #3c2c22;
  --link: #e2a173; --focus: #d9793f;
  --panel: #160e0a; --panel-2: #20140e;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #201510; --surface: #2a1c15; --surface-2: #241811; --ink: #f0e4d3; --muted: #b6a58e; --rule: #3c2c22;
    --link: #e2a173; --focus: #d9793f;
    --panel: #160e0a; --panel-2: #20140e;
  }
}

/* topic tones: --c fill, --c-ink text on fill, --c-text text on page */
.t-terracotta { --c: #c1602f; --c-ink: #fff2e8; --c-text: #a34f26; }
.t-plum       { --c: #5c3a2e; --c-ink: #f6ece4; --c-text: #5c3a2e; }
.t-brass      { --c: #8a6f2e; --c-ink: #2a2107; --c-text: #6e5824; }
:root[data-theme="dark"] .t-terracotta { --c-text: #e6885a; }
:root[data-theme="dark"] .t-plum       { --c-text: #c99f8c; }
:root[data-theme="dark"] .t-brass      { --c-text: #c9ac5c; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .t-terracotta { --c-text: #e6885a; }
  :root:not([data-theme="light"]) .t-plum       { --c-text: #c99f8c; }
  :root:not([data-theme="light"]) .t-brass      { --c-text: #c9ac5c; }
}

@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  html { scroll-behavior: smooth; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); color: var(--ink); font: 400 1.05rem/1.68 var(--serif); overflow-x: hidden; transition: background-color .25s, color .25s; padding-bottom: env(safe-area-inset-bottom); }
main { flex: 1; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--terracotta); color: #fff2e8; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0; font-weight: 400; letter-spacing: -.005em; text-wrap: balance; }
p { text-wrap: pretty; }
.wrap { width: min(var(--wrapw), 100% - 2rem); margin-inline: auto; padding-inline: env(safe-area-inset-left) env(safe-area-inset-right); }
.short { display: none; }
.sec-title { font-size: clamp(1.55rem, 3vw, 2.2rem); text-align: center; }

/* ---------- shop strip ---------- */
.shopbar { background: var(--panel); color: var(--panel-ink); font: 500 .84rem/1.4 var(--serif); border-bottom: 1px solid rgba(255,255,255,.08); }
.shopbar-in { width: min(var(--wrapw), 100% - 2rem); margin-inline: auto; padding: .5rem 0; display: flex; gap: .9rem; align-items: baseline; justify-content: center; white-space: nowrap; overflow: hidden; }
.shopbar-in > span { overflow: hidden; text-overflow: ellipsis; color: var(--panel-muted); }
.shopbar a { color: #e2a173; font-weight: 700; text-decoration: none; }
.shopbar a:hover { text-decoration: underline; }
.shopbar a span { display: inline-block; transition: transform .15s; }
.shopbar a:hover span { transform: translateX(3px); }

/* ---------- masthead: plain letterhead, same on every page, no colour block ---------- */
.bar { background: var(--bg); border-bottom: 1px solid var(--ink); position: relative; }
.bar::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--rule); }
.bar-in { width: min(var(--wrapw), 100% - 2rem); margin-inline: auto; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .5rem 2rem; padding: 1.1rem 0; }
.brand { color: var(--ink); text-decoration: none; }
.logo { display: inline-flex; align-items: center; gap: .55rem; }
.logo-mark { width: 1.7rem; height: 1.7rem; flex: none; transition: transform .3s ease; }
.brand:hover .logo-mark { transform: translateY(-2px); }
.lm-glass { stroke: var(--plum); }
.lm-fill { fill: var(--terracotta); }
.lm-tick { stroke: var(--brass); stroke-width: 1.2; }
.brand-name { font: italic 400 1.4rem/1 var(--display); letter-spacing: -.005em; }
.brand-name em { font-style: italic; color: var(--terracotta); padding-right: .08em; }
.bar nav { display: flex; justify-content: flex-end; align-items: center; gap: 0; font: 400 .92rem/1.2 var(--serif); white-space: nowrap; }
.bar nav a { color: var(--muted); text-decoration: none; padding: .3rem .55rem; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s; }
.bar nav a:not(:first-child)::before { content: "·"; margin-right: .55rem; color: var(--rule); }
.bar nav a:hover { color: var(--ink); }
.bar nav a[aria-current] { color: var(--ink); border-color: var(--terracotta); }
.theme-toggle { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid var(--rule); background: var(--surface); color: var(--ink); cursor: pointer; transition: transform .2s, border-color .2s; }
.theme-toggle:hover { border-color: var(--terracotta); }
.theme-toggle svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.theme-toggle .i-moon { fill: currentColor; stroke: none; }
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }

@media (max-width: 52rem) {
  .long { display: none; } .short { display: inline; }
  .bar-in { grid-template-columns: 1fr auto; padding: .8rem 0 .5rem; }
  .bar nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; margin-inline: -.2rem; gap: 0; overflow-x: auto; scrollbar-width: none; font-size: .84rem; padding-top: .3rem; }
  .bar nav::-webkit-scrollbar { display: none; }
  .brand-name { font-size: 1.2rem; }
}

/* ---------- shared bits ---------- */
.kicker { margin: 0 0 .5rem; font: 600 .72rem/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--c-text, var(--muted)); }
.meta { margin: .8rem 0 0; font: 400 .76rem/1.3 var(--mono); color: var(--muted); letter-spacing: .01em; }
.desc { margin: .5rem 0 0; color: var(--muted); font-size: .97rem; line-height: 1.5; }
.btn { font: 700 .92rem/1 var(--serif); cursor: pointer; border: 1.5px solid var(--ink); background: none; color: var(--ink); padding: .85rem 1.3rem; border-radius: 8px; transition: background .15s, color .15s, transform .15s; }
.btn:hover { background: var(--ink); color: var(--bg); transform: translateY(-2px); }
.empty { color: var(--muted); font-family: var(--serif); text-align: center; }

.btn-shop, .btn-ghost, .btn-dark { display: inline-flex; align-items: center; gap: .6rem; font: 700 1rem/1 var(--serif); text-decoration: none; padding: 1.05rem 1.5rem; border-radius: 8px; transition: transform .2s, box-shadow .2s, background-color .2s, border-color .2s; }
.btn-shop span, .btn-dark span, .read-link span { display: inline-block; transition: transform .2s; }
.btn-shop:hover span, .btn-dark:hover span { transform: translateX(4px); }
.btn-shop { background: var(--terracotta); color: #fff2e8; box-shadow: 0 12px 28px -14px rgba(193,96,47,.55); }
.btn-shop:hover { transform: translateY(-3px); background: #a34f26; }
.btn-ghost { color: var(--ink); border: 1.5px solid var(--rule); background: none; }
.btn-ghost:hover { border-color: var(--terracotta); color: var(--terracotta); }
.btn-dark { background: var(--ink); color: var(--bg); box-shadow: 0 14px 30px -16px rgba(0,0,0,.5); }
.btn-dark:hover { transform: translateY(-3px); }

/* ---------- home: hero -- a single centred title page, same paper as the rest of the site ---------- */
.hero { border-bottom: 1px solid var(--rule); }
.hero-in { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 40rem; margin-inline: auto; padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(2.5rem, 6vw, 4rem); }
.dateline { display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 1.3rem; font: 400 .78rem/1 var(--mono); color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.dateline::before { content: ""; width: 1.6rem; height: 2px; background: var(--terracotta); }
.hero h1 { font-size: clamp(2rem, 5.2vw, 3.2rem); font-weight: 400; line-height: 1.12; letter-spacing: -.01em; max-width: 22ch; }
.hero-sub { margin: 1.4rem 0 0; font-size: clamp(1.02rem, 1.7vw, 1.15rem); line-height: 1.6; color: var(--muted); max-width: 34rem; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-top: 2.1rem; }
.hero-art { width: 100%; max-width: 10rem; height: auto; overflow: visible; margin-top: 2.5rem; }
@media (max-width: 30rem) { .btn-shop, .btn-ghost { width: 100%; justify-content: center; } }

.ha-glass { stroke: var(--muted); }
.ha-fill { fill: var(--terracotta); opacity: .85; }
.ha-tick { stroke: var(--rule); stroke-width: 1.4; }
.ha-label { font: 700 15px var(--mono); fill: var(--ink); }
.ha-ratio { font: 400 15px var(--serif); font-style: italic; fill: var(--muted); }

/* ---------- home: table of contents (replaces coloured topic tiles) ---------- */
.toc-topics { padding: clamp(2.5rem, 6vw, 4rem) 0 1rem; }
.toc-list { list-style: none; margin: 1.8rem auto 0; padding: 0; max-width: 30rem; counter-reset: none; }
.toc-list li { border-bottom: 1px solid var(--rule); }
.toc-list li a { display: flex; align-items: baseline; gap: .7rem; padding: .85rem .1rem; text-decoration: none; color: var(--ink); }
.toc-num { flex: none; width: 2rem; font: italic 400 1.15rem/1 var(--display); color: var(--c-text); }
.toc-name { font: 400 1.12rem/1.2 var(--display); }
.toc-leader { flex: 1; border-bottom: 1px dotted var(--rule); transform: translateY(-.35em); margin: 0 .3rem; }
.toc-count { flex: none; font: 400 .84rem/1 var(--mono); color: var(--muted); }
.toc-list li a:hover .toc-name { color: var(--c-text); }

/* ---------- home: shop -- an apothecary wax seal, not a banner ---------- */
.seal-shop { text-align: center; padding: clamp(2.5rem, 6vw, 4rem) 0; }
.seal { display: inline-grid; place-items: center; text-decoration: none; }
.seal-ring { width: 8.5rem; height: 8.5rem; border-radius: 50%; border: 3px double var(--terracotta); display: grid; place-items: center; padding: 0 1rem; color: var(--terracotta); transform: rotate(-4deg); transition: transform .25s ease; }
.seal:hover .seal-ring { transform: rotate(-4deg) scale(1.05); }
.seal-label { font: 700 .92rem/1.25 var(--display); text-transform: uppercase; letter-spacing: .04em; text-align: center; }
.seal-copy { margin: 1.3rem auto 0; max-width: 28rem; color: var(--muted); }
.end-shop { border-top: 1px solid var(--rule); margin-top: 3rem; }

/* ---------- ledger list: the single-column recipe-card index used everywhere posts are listed ---------- */
.list.ledger { max-width: 46rem; margin-inline: auto; background-image: repeating-linear-gradient(to bottom, transparent, transparent 2.65rem, var(--rule) 2.65rem, var(--rule) calc(2.65rem + 1px)); background-position: 0 .1rem; }
.entry { position: relative; display: flex; gap: 1.1rem; align-items: baseline; padding: .95rem 0; }
.entry[hidden] { display: none; }
.entry-num { flex: none; width: 2.3rem; text-align: right; font: italic 400 1.1rem/1 var(--display); color: var(--c-text); align-self: flex-start; margin-top: .15rem; }
.entry-body { flex: 1; min-width: 0; }
.entry-body h2, .entry-body h3 { font-size: 1.15rem; font-weight: 400; line-height: 1.3; position: relative; }
.entry-body h2 a, .entry-body h3 a { color: var(--ink); text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: .12em; transition: text-decoration-color .2s; }
.entry-body h2 a::after, .entry-body h3 a::after { content: ""; position: absolute; inset: -.5rem -1rem -.5rem -3.4rem; }
.entry:hover .entry-body h2 a, .entry:hover .entry-body h3 a { text-decoration-color: var(--c, var(--terracotta)); }
.entry .kicker { color: var(--c-text); }

/* ---------- library, search, filters ---------- */
.library { padding: 3rem 0 1.5rem; }
.lib-head { display: flex; flex-direction: column; align-items: center; gap: 1rem; text-align: center; }
.search { width: 100%; max-width: 26rem; }
.search input { width: 100%; font: 500 1rem var(--serif); color: var(--ink); background: var(--surface) no-repeat .95rem 50% / 1.1rem url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23889890' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m20 20-4.5-4.5'/%3E%3C/svg%3E"); border: 1.5px solid var(--rule); border-radius: 8px; padding: .85rem 1rem .85rem 2.7rem; transition: border-color .15s, box-shadow .15s; }
.search input::placeholder { color: var(--muted); }
.search input:focus { outline: none; border-color: var(--terracotta); box-shadow: 0 0 0 4px rgba(193,96,47,.16); }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.filters button { display: inline-flex; align-items: center; gap: .45rem; font: 600 .86rem/1 var(--serif); background: var(--surface); border: 1.5px solid var(--rule); padding: .5rem .8rem .5rem .55rem; border-radius: 20px; color: var(--ink); cursor: pointer; transition: border-color .15s, background-color .15s, color .15s; }
.filters [data-chip="all"] { padding-left: .9rem; }
.filters button > span { font: 500 .78em/1 var(--mono); color: var(--muted); }
.filters button:hover { border-color: var(--c, var(--ink)); }
.filters button[aria-pressed="true"] { background: var(--c, var(--ink)); border-color: var(--c, var(--ink)); color: var(--c-ink, var(--bg)); }
.filters button[aria-pressed="true"] > span { color: inherit; opacity: .75; }
.more { margin: 2rem 0; text-align: center; }

/* ---------- category + archive headers: a chapter heading, not a colour block ---------- */
.page-head { text-align: center; padding: clamp(2.25rem, 5vw, 3.5rem) 0 1.75rem; margin-bottom: .5rem; border-bottom: 1px solid var(--rule); }
.page-num { margin: 0 0 .4rem; font: italic 400 1.3rem/1 var(--display); color: var(--c-text); }
.page-head h1 { font-size: clamp(1.8rem, 4.6vw, 2.8rem); font-weight: 400; letter-spacing: -.008em; line-height: 1.1; }
.page-head p { color: var(--muted); margin: .8rem auto 0; font-size: 1.02rem; max-width: 32rem; }
.library .page-head { padding-top: clamp(2rem, 5vw, 3.25rem); margin-bottom: 1.5rem; }
.library:has(> .page-head:first-child) { padding-top: 0; }

/* ---------- article (kept calm) ---------- */
.art { display: grid; grid-template-columns: minmax(0, 1fr); padding-bottom: 1rem; }
.art-head { position: relative; isolation: isolate; padding: clamp(2rem, 5vw, 3.5rem) 0 2rem; border-bottom: 1px solid var(--rule); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font: 500 .78rem/1.4 var(--mono); color: var(--muted); margin: 0 0 1.2rem; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumb-cat { display: inline-flex; align-items: center; gap: .4rem; color: var(--c-text) !important; font-weight: 700; }
.crumb-cat b { font: italic 400 1em/1 var(--display); }
.art-head h1 { font-size: clamp(1.7rem, 4.2vw, 2.8rem); font-weight: 400; line-height: 1.12; letter-spacing: -.006em; max-width: 22ch; }
.art-lede { font-size: clamp(1.05rem, 1.8vw, 1.2rem); line-height: 1.5; font-style: italic; color: var(--muted); margin: 1.1rem 0 0; max-width: 44rem; }
.art-meta { font: 400 .76rem/1.4 var(--mono); color: var(--muted); margin: 1.2rem 0 0; }
.toc { display: none; }
@media (min-width: 68rem) {
  .art { grid-template-columns: 15rem minmax(0, 44rem); column-gap: 4rem; justify-content: center; }
  .art-head { grid-column: 1 / -1; }
  .toc { display: block; grid-column: 1; grid-row: 2 / span 2; align-self: start; position: sticky; top: 1.5rem; padding-top: 2.4rem; font: 500 .84rem/1.35 var(--serif); }
  .toc p { margin: 0 0 .8rem; font: 600 .68rem/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
  .toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--rule); counter-reset: s; }
  .toc li { counter-increment: s; }
  .toc a { display: flex; gap: .6rem; padding: .4rem 0 .4rem .9rem; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; transition: color .15s, border-color .15s; }
  .toc a::before { content: counter(s, decimal-leading-zero); font: 500 .74rem/1.6 var(--mono); opacity: .7; }
  .toc a:hover { color: var(--ink); }
  .toc a[aria-current] { color: var(--c-text); border-left-color: var(--c); }
  .prose, .post-tools { grid-column: 2; }
}

.prose { font-size: 1.05rem; line-height: 1.75; overflow-wrap: anywhere; padding-top: 1rem; max-width: 44rem; }
@media (min-width: 48rem) { .prose { font-size: 1.1rem; } }
.prose p, .prose ul, .prose ol { margin: 1.1em 0; }
.prose h2 { font-size: clamp(1.32rem, 2.4vw, 1.7rem); margin: 2.2em 0 .3em; scroll-margin-top: 1rem; font-weight: 400; }
.prose h2::before { content: ""; display: block; width: 2.2rem; height: 4px; border-radius: 2px; background: var(--c); margin-bottom: .7rem; }
.prose h3 { font-size: 1.12rem; margin: 1.9em 0 .2em; font-weight: 400; }
.prose h2 + p, .prose h3 + p { margin-top: .5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .35em 0; padding-left: .2em; }
.prose li::marker { color: var(--c-text); font-weight: 700; }
.prose strong { font-weight: 700; }
.prose a { color: var(--link); }
.prose blockquote { margin: 1.8em 0; padding: 1rem 1.25rem; border-radius: 10px; background: color-mix(in srgb, var(--c) 10%, var(--surface)); border-left: 4px solid var(--c); font-style: italic; }
.prose blockquote p { margin: .3em 0; }
.prose hr { border: 0; border-top: 1px solid var(--rule); margin: 2.5em 0; }
.prose code { font: .85em var(--mono); background: var(--surface-2); padding: .12em .35em; border-radius: 5px; }
.table-wrap { overflow-x: auto; margin: 1.8em 0; border: 1px solid var(--rule); border-radius: 12px; background: var(--surface); }
.prose table { width: 100%; border-collapse: collapse; font: 400 .89rem/1.45 var(--serif); font-variant-numeric: tabular-nums; }
.prose th { text-align: left; font: 600 .68rem/1.2 var(--mono); text-transform: uppercase; letter-spacing: .08em; padding: .8rem .9rem; background: var(--ink); color: var(--bg); white-space: nowrap; }
.prose thead tr { box-shadow: inset 0 -3px 0 var(--c); }
.prose td { padding: .7rem .9rem; border-top: 1px solid var(--rule); vertical-align: top; }
.prose tbody tr:nth-child(even) td { background: var(--surface-2); }

.post-tools { display: flex; flex-wrap: wrap; gap: .5rem; margin: 2.5rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--rule); }
.post-tools a { font: 600 .84rem/1 var(--serif); color: var(--ink); text-decoration: none; padding: .6rem .85rem; border: 1.5px solid var(--rule); border-radius: 8px; transition: border-color .15s; }
.post-tools a:hover { border-color: var(--c); }

.related { padding-top: 3rem; }
.related h2 { font-size: clamp(1.3rem, 2.6vw, 1.75rem); font-weight: 400; text-align: center; margin-bottom: .5rem; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-block: 2rem 3rem; }
.pager a { display: block; padding: 1.1rem 1.25rem; border: 1px solid var(--rule); border-radius: var(--r); background: var(--surface); color: var(--ink); text-decoration: none; font: 700 1rem/1.3 var(--serif); transition: border-color .2s, transform .2s; }
.pager a:hover { border-color: var(--terracotta); transform: translateY(-2px); }
.pager span { display: block; font: 500 .68rem/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: .5rem; }
.pager .next { text-align: right; }
@media (max-width: 36rem) { .pager { grid-template-columns: 1fr; } .pager .next { text-align: left; } }

/* ---------- footer: the colophon / back cover ---------- */
.foot { position: relative; margin-top: 3rem; padding: 3rem 0 2rem; color: var(--panel-muted); font: 400 .92rem/1.5 var(--serif); background: var(--panel); }
.foot::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--terracotta) 0 34%, var(--plum) 34% 67%, var(--brass) 67%); }
.foot-in { width: min(var(--wrapw), 100% - 2rem); margin-inline: auto; display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; justify-content: space-between; align-items: flex-end; }
.foot p { margin: 0; max-width: 26rem; }
.foot-brand { margin-bottom: .7rem !important; color: var(--panel-ink); }
.foot-brand .brand-name { font-size: 1.7rem; color: var(--panel-ink); }
.foot-brand .brand-name em { color: #e2a173; }
.foot nav { display: flex; flex-wrap: wrap; gap: .5rem 1.3rem; }
.foot nav a { display: inline-flex; align-items: center; gap: .45rem; color: var(--panel-ink); text-decoration: none; font-weight: 600; }
.foot nav a i { width: .6rem; height: .6rem; border-radius: 2px; background: var(--c); }
.foot nav a span { font: 400 .78rem var(--mono); color: var(--panel-muted); }
.foot nav a:hover { text-decoration: underline; text-decoration-color: var(--c); }
.foot-copy { width: min(var(--wrapw), 100% - 2rem); margin: 2rem auto 0 !important; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.1); font: 400 .76rem/1 var(--mono); max-width: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
