:root {
  --font-display: 'Playfair Display', serif;
  --font-body: 'Source Sans 3', sans-serif;
  --font-mono: 'Source Code Pro', ui-monospace, monospace;
  --paper: #f5f1e9;
  --paper-deep: #ebe4d7;
  --surface: #fffdf8;
  --surface-soft: #e8eee9;
  --ink: #17242c;
  --muted: #627079;
  --line: #d6d3ca;
  --blue: #123b58;
  --blue-deep: #0b293f;
  --gold: #b88535;
  --gold-soft: #ead9b9;
  --coral: #a84d3e;
  --shadow: 0 16px 38px rgba(19, 43, 54, .08);
  --shell: min(88vw, 1320px);
  --radius: 2px;
  color-scheme: light;
}

html[data-theme="dark"], html.dark {
  --paper: #101a20;
  --paper-deep: #17252d;
  --surface: #182830;
  --surface-soft: #21353a;
  --ink: #f2eee5;
  --muted: #afbab7;
  --line: #39505a;
  --blue: #91b7ca;
  --blue-deep: #d7e7e7;
  --gold: #e2b86e;
  --gold-soft: #584a32;
  --coral: #e48d7c;
  --shadow: 0 18px 42px rgba(0, 0, 0, .24);
  color-scheme: dark;
}

* { box-sizing: border-box; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 3%, rgba(184, 133, 53, .08), transparent 24rem),
    linear-gradient(180deg, var(--paper) 0%, var(--paper) 76%, var(--paper-deep) 100%);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  overflow-x: hidden;
}
body::before {
  content: "";
  display: block;
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image: linear-gradient(rgba(18, 59, 88, .025) 1px, transparent 1px);
  background-size: 100% 8px;
  z-index: -1;
}
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; }

.site-shell, .main-shell { width: var(--shell); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--paper) 92%, transparent); }
.utility-bar {
  min-height: 2rem;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.utility-links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.utility-links a { text-decoration: none; }
.utility-links a:hover { color: var(--blue); }
.brand-row {
  min-height: 7rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 0 1rem;
}
.brand-lockup { display: flex; align-items: center; gap: .9rem; text-decoration: none; }
.brand-mark { width: 3rem; height: 3rem; flex: 0 0 3rem; }
.wordmark { display: flex; flex-direction: column; line-height: 1; }
.wordmark strong { color: var(--blue); font-family: var(--font-body); font-size: clamp(1.45rem, 2.5vw, 2rem); letter-spacing: -.055em; }
.wordmark em { margin-top: .4rem; color: var(--muted); font-family: var(--font-display); font-size: .82rem; }
.header-tools { display: flex; align-items: center; gap: .6rem; margin-left: auto; }
.search-form { display: flex; align-items: center; border-bottom: 1px solid var(--ink); }
.search-form input { width: 9rem; border: 0; outline: 0; background: transparent; color: var(--ink); padding: .45rem .25rem; font-size: .85rem; }
.search-form button { border: 0; background: transparent; color: var(--blue); padding: .35rem; font-size: 1.15rem; }
.theme-toggle, .ripple-d1b4 {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--blue);
  min-width: 2.35rem;
  height: 2.35rem;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
}
.theme-toggle { font-size: 1.15rem; }
.theme-toggle::before { content: "◐"; }
.ripple-d1b4 { display: none; border-radius: var(--radius); font-size: 1.25rem; }
.ripple-d1b4::before { content: "☰"; }
.primary-nav { display: flex; gap: 1.6rem; align-items: center; border-top: 1px solid var(--line); }
.primary-nav a { padding: .8rem 0 .72rem; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .92rem; border-bottom: 2px solid transparent; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--blue); border-bottom-color: var(--gold); }
.topic-nav { border-top: 1px solid var(--line); display: flex; gap: 1.2rem; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.topic-nav::-webkit-scrollbar { display: none; }
.topic-nav a { padding: .58rem 0 .64rem; color: var(--muted); font-size: .82rem; text-decoration: none; }
.topic-nav a:hover { color: var(--blue); }

.main-shell { padding: 2.1rem 0 4.5rem; }
.zephyr-9ab2 { display: grid; grid-template-columns: minmax(0, 1fr) 11.5rem; gap: 1.55rem; align-items: start; }
.zephyr-9ab2:has([data-pearl3e][hidden]) { grid-template-columns: minmax(0, 1fr); }
[data-pearl3e][hidden] { display: none; }
.lantern-5178 { position: sticky; top: 1rem; border-top: 3px solid var(--gold); padding-top: .75rem; }
.lantern-5178 h2 { margin: 0 0 .7rem; font-family: var(--font-display); font-size: 1rem; }
.lantern-5178 ol { padding: 0; margin: 0; list-style: none; }
.lantern-5178 li { padding: .55rem 0; border-bottom: 1px solid var(--line); font-size: .82rem; }
.lantern-5178 a { text-decoration: none; }
.lantern-5178 a:hover { color: var(--coral); }

.eyebrow, .section-kicker, .flint-4378, .nickel-15dd { color: var(--gold); font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.page-intro { border-bottom: 1px solid var(--line); margin-bottom: 1.5rem; padding-bottom: 1.3rem; }
.page-intro h1 { max-width: 15ch; margin: .25rem 0 .5rem; color: var(--blue); font-family: var(--font-display); font-size: clamp(2.1rem, 4.5vw, 4rem); line-height: 1.02; letter-spacing: -.04em; }
.page-intro p { max-width: 45rem; margin: 0; color: var(--muted); font-size: 1.08rem; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; border-top: 2px solid var(--blue); padding-top: .65rem; margin-bottom: 1rem; }
.section-heading h2 { margin: 0; color: var(--blue); font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 2.15rem); letter-spacing: -.035em; }
.section-heading a { color: var(--coral); font-size: .85rem; font-weight: 600; text-decoration: none; }

/* Home desk */
.home-desk { display: grid; gap: 2.4rem; }
.desk-band { display: grid; gap: 1.35rem; align-items: stretch; }
.fold-a { grid-template-columns: 1.42fr 1fr; }
.fold-b { grid-template-columns: .9fr 1fr .74fr; }
.latest-ledger { grid-template-columns: .87fr 1.13fr; }
.thematic-band { grid-template-columns: 1fr 1fr; }
.discovery-band { grid-template-columns: .62fr 1.38fr; }
.closing-desk { grid-template-columns: .8fr 1.1fr .8fr; }
.desk-column { min-width: 0; display: flex; flex-direction: column; min-height: 0; }
.desk-column > .section-heading { flex: 0 0 auto; }
.lead-column { background: var(--surface); border: 1px solid var(--line); padding: .85rem; box-shadow: var(--shadow); }
.lead-feed { display: flex; flex-direction: column; gap: .9rem; flex: 1 1 auto; min-height: 0; overflow: hidden; }
.lead-feed .maple-2e92:first-child { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(13rem, .97fr); gap: 1.1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.lead-feed .maple-2e92:first-child .quiet-9678 { grid-column: 1; grid-row: 1 / span 2; aspect-ratio: 1.18; }
.lead-feed .maple-2e92:first-child .cobalt-128a { grid-column: 2; }
.lead-feed .maple-2e92:first-child h3 { font-size: clamp(1.45rem, 2.2vw, 2.25rem); line-height: 1.06; }
.lead-feed .maple-2e92 h3 { margin: .3rem 0 .35rem; }
.lead-feed .maple-2e92 p { margin: .3rem 0 0; }
.nested-stories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.nested-stories .maple-2e92 { display: flex; flex-direction: column; }
.nested-stories .quiet-9678 { aspect-ratio: 1.45; order: -1; }
.nested-stories h3 { font-size: 1.04rem; }
.rail-column { border-left: 1px solid var(--line); padding-left: 1.15rem; }
.rail-feed { display: flex; flex-direction: column; gap: .15rem; overflow: hidden; }
.rail-feed .maple-2e92 { padding: .72rem 0 .85rem; border-bottom: 1px solid var(--line); }
.rail-feed .maple-2e92 .quiet-9678 { display: none; }
.maple-2e92 h3 { margin: .25rem 0; font-family: var(--font-display); font-size: 1.17rem; line-height: 1.16; letter-spacing: -.018em; }
.maple-2e92 p { margin: .25rem 0 0; color: var(--muted); font-size: .9rem; line-height: 1.38; }
.maple-2e92 a:not(.quiet-9678) { text-decoration: none; }
.maple-2e92 a:not(.quiet-9678):hover { color: var(--coral); }
.flint-4378 { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem .75rem; }
.quiet-9678 { display: block; position: relative; overflow: hidden; background: var(--paper-deep); }
.quiet-9678 img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.solace-0f90 { margin: 0; padding: 1rem; color: var(--muted); border: 1px dashed var(--line); font-size: .9rem; }

.fold-b { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1.15rem 0; }
.fold-b .maple-2e92 { min-width: 0; }
.mini-feed { display: flex; flex-direction: column; gap: .9rem; overflow: hidden; }
.mini-feed .maple-2e92:first-child { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: .8rem; }
.mini-feed .quiet-9678 { grid-row: 1 / span 2; aspect-ratio: 1.05; }
.mini-feed .maple-2e92:nth-child(n+2) .quiet-9678 { display: none; }
.mini-feed h3 { font-size: 1.02rem; }
.analysis-feed { display: flex; flex-direction: column; gap: 0; overflow: hidden; }
.analysis-feed .maple-2e92 { padding: .66rem 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 5.25rem minmax(0, 1fr); gap: .8rem; }
.analysis-feed .quiet-9678 { grid-row: 1 / span 3; aspect-ratio: .92; }
.analysis-feed h3 { font-size: .96rem; margin-top: .1rem; }
.analysis-feed p { display: none; }
.explainer-cell { background: var(--surface-soft); padding: 1.15rem; border-top: 4px solid var(--gold); }
.explainer-cell .section-heading { border-top: 0; padding-top: 0; }
.explainer-feed { display: flex; flex-direction: column; gap: .5rem; overflow: hidden; }
.explainer-feed .maple-2e92 { border-bottom: 1px solid color-mix(in srgb, var(--blue) 25%, transparent); padding-bottom: .55rem; }
.explainer-feed .quiet-9678 { display: none; }
.explainer-feed h3 { font-size: 1rem; }

.ledger-feed { overflow: hidden; }
.ledger-left .maple-2e92 { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 1rem; padding-bottom: .9rem; margin-bottom: .9rem; border-bottom: 1px solid var(--line); }
.ledger-left .quiet-9678 { grid-row: 1 / span 3; aspect-ratio: 1.08; }
.ledger-left h3 { font-size: 1.18rem; }
.ledger-right .maple-2e92 { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: .75rem; padding: .55rem 0; border-bottom: 1px solid var(--line); }
.ledger-right .quiet-9678 { grid-row: 1 / span 3; aspect-ratio: 1; }
.ledger-right h3 { font-size: .97rem; }
.ledger-right p { font-size: .8rem; }

.theme-panel { background: var(--surface); border: 1px solid var(--line); padding: 1rem; }
.theme-panel.critique { border-top: 4px solid var(--coral); }
.theme-panel.explain { border-top: 4px solid var(--blue); background: color-mix(in srgb, var(--surface-soft) 72%, var(--surface)); }
.theme-panel .section-heading { border-top: 0; padding-top: 0; }
.theme-feed { display: flex; flex-direction: column; gap: .65rem; overflow: hidden; }
.theme-feed .maple-2e92 { border-bottom: 1px solid var(--line); padding-bottom: .65rem; }
.theme-feed .maple-2e92:first-child { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: .85rem; }
.theme-feed .maple-2e92:first-child .quiet-9678 { grid-row: 1 / span 3; aspect-ratio: 1.08; }
.theme-feed .maple-2e92:nth-child(n+2) .quiet-9678 { display: none; }
.theme-feed h3 { font-size: 1rem; }
.theme-feed .maple-2e92:first-child h3 { font-size: 1.24rem; }

.newsletter-panel { background: var(--blue); color: #f7f1e5; padding: 1.25rem; display: flex; flex-direction: column; }
.newsletter-panel .section-kicker, .newsletter-panel h2 { color: var(--gold-soft); }
.newsletter-panel h2 { margin: .2rem 0 .45rem; font-family: var(--font-display); font-size: 1.65rem; line-height: 1.05; }
.newsletter-panel p { color: #dce5e4; margin: 0 0 .8rem; font-size: .92rem; }
.newsletter-points { display: grid; gap: .3rem; margin: 0 0 1rem; padding: 0; list-style: none; font-size: .82rem; }
.newsletter-points li::before { content: "↳"; color: var(--gold); margin-right: .45rem; }
.signup-form { display: flex; gap: .4rem; margin-top: auto; }
.signup-form input { min-width: 0; width: 100%; border: 1px solid rgba(255,255,255,.35); color: #fff; background: rgba(255,255,255,.1); padding: .6rem .65rem; }
.signup-form input::placeholder { color: #c5d1ce; }
.signup-form button, .button { border: 0; background: var(--gold); color: var(--blue-deep); padding: .63rem .75rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.signup-status { min-height: 1.3em; color: var(--gold-soft); font-size: .78rem; margin: .55rem 0 0; }
.newsletter-more { border-top: 1px solid rgba(255,255,255,.25); margin-top: 1rem; padding-top: .8rem; font-size: .82rem; }
.newsletter-more a { color: #fff; text-decoration: none; }
.discovery-feed { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; overflow: hidden; }
.discovery-feed .maple-2e92 { border-bottom: 1px solid var(--line); padding-bottom: .7rem; }
.discovery-feed .quiet-9678 { aspect-ratio: 1.55; margin-bottom: .45rem; }
.discovery-feed h3 { font-size: 1rem; }

.visual-band { background: var(--blue-deep); color: #f8f1e5; padding: 1.2rem; }
.visual-band .section-heading { border-color: var(--gold); }
.visual-band .section-heading h2 { color: #f8f1e5; }
.visual-feed { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1.18fr; gap: .75rem; overflow: hidden; }
.visual-feed .maple-2e92 { min-width: 0; position: relative; min-height: 17rem; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding: .8rem; background: #183c50; }
.visual-feed .quiet-9678 { position: absolute; inset: 0; z-index: 0; height: 100%; opacity: .62; }
.visual-feed .quiet-9678::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 25%, rgba(7, 22, 31, .9)); }
.visual-feed .cobalt-128a { position: relative; z-index: 1; }
.visual-feed .flint-4378, .visual-feed h3, .visual-feed p { color: #fff; }
.visual-feed p { display: none; }
.visual-feed h3 { font-size: 1.05rem; margin: .25rem 0 0; }

.closing-desk { padding-top: 1rem; }
.closing-rail { border-top: 2px solid var(--blue); }
.closing-feed { display: flex; flex-direction: column; overflow: hidden; }
.closing-feed .maple-2e92 { padding: .6rem 0; border-bottom: 1px solid var(--line); }
.closing-feed .quiet-9678 { display: none; }
.closing-feed h3 { font-size: .98rem; margin: 0; }
.closing-middle .maple-2e92 { display: grid; grid-template-columns: 5rem minmax(0, 1fr); gap: .7rem; }
.closing-middle .quiet-9678 { display: block; grid-row: 1 / span 3; aspect-ratio: 1; }
.closing-middle h3 { font-size: 1.03rem; }

/* Archive and content pages */
.archive-tools { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 1rem; margin-bottom: 1.35rem; }
.plume-6d2d { display: flex; border-bottom: 2px solid var(--blue); }
.plume-6d2d input { flex: 1; min-width: 0; border: 0; background: transparent; padding: .7rem .1rem; color: var(--ink); outline: none; }
.plume-6d2d button { border: 0; background: transparent; color: var(--blue); font-weight: 700; }
.filter-list { display: flex; justify-content: flex-end; gap: .45rem; flex-wrap: wrap; }
.filter-list a { border: 1px solid var(--line); padding: .38rem .55rem; color: var(--muted); text-decoration: none; font-size: .76rem; }
.filter-list a:hover { color: var(--blue); border-color: var(--blue); }
.maple-d188 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 1.25rem; align-items: stretch; }
.maple-d188 .maple-2e92 { display: flex; flex-direction: column; height: 100%; background: var(--surface); border: 1px solid var(--line); padding: .75rem; }
.maple-d188 .quiet-9678 { aspect-ratio: 1.55; order: -1; margin: -.75rem -.75rem .75rem; }
.maple-d188 .maple-2e92 .cobalt-128a { display: flex; flex-direction: column; flex: 1; }
.maple-d188 .maple-2e92 h3 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; font-size: 1.25rem; }
.maple-d188 .maple-2e92 p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin-top: auto; padding-top: .35rem; }

.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 14rem; gap: 2rem; align-items: start; }
.content-grid:has([data-pearl3e][hidden]) { grid-template-columns: minmax(0, 1fr); }
.guide-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.guide-card, .principle-card, .calculator-card, .faq-card { background: var(--surface); border: 1px solid var(--line); padding: 1.25rem; }
.guide-card { border-top: 4px solid var(--blue); }
.guide-card h2, .principle-card h2, .calculator-card h2, .faq-card h2 { margin: .1rem 0 .65rem; color: var(--blue); font-family: var(--font-display); font-size: 1.55rem; line-height: 1.1; }
.guide-card p, .principle-card p, .faq-card p { color: var(--muted); }
.step-list { display: grid; gap: 1rem; counter-reset: step; padding: 0; list-style: none; }
.step-list li { counter-increment: step; position: relative; padding-left: 2.45rem; }
.step-list li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: .05rem; color: var(--gold); font-family: var(--font-mono); font-size: .78rem; }
.step-list strong { display: block; color: var(--ink); }
.step-list span { color: var(--muted); font-size: .91rem; }
.definition-list { display: grid; gap: .7rem; }
.definition-list div { border-bottom: 1px solid var(--line); padding-bottom: .7rem; }
.definition-list dt { color: var(--blue); font-weight: 700; }
.definition-list dd { margin: .18rem 0 0; color: var(--muted); font-size: .9rem; }
.calculator-card { background: var(--surface-soft); margin-top: 1.5rem; }
.calc-form { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: .75rem; align-items: end; }
.calc-form label { display: grid; gap: .3rem; color: var(--muted); font-size: .78rem; }
.calc-form input { width: 100%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); padding: .6rem; }
.calc-result { color: var(--blue); font-family: var(--font-display); font-size: 1.4rem; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.principle-card { min-height: 12rem; }
.principle-card .number { color: var(--gold); font-family: var(--font-mono); }
.callout { border-left: 4px solid var(--gold); background: var(--surface-soft); padding: 1rem 1.2rem; margin: 1.5rem 0; }
.callout strong { color: var(--blue); }
.faq-list { display: grid; gap: .8rem; }
.faq-list details { border-bottom: 1px solid var(--line); padding: .7rem 0; }
.faq-list summary { color: var(--blue); font-weight: 700; cursor: pointer; }
.faq-list p { margin-bottom: .15rem; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 11.5rem; gap: 1.6rem; align-items: start; }
.article-layout:has([data-pearl3e][hidden]) { grid-template-columns: minmax(0, 1fr); }
.article-page { max-width: 54rem; }
.byline { display: grid; grid-template-columns: 3rem 1fr; column-gap: .7rem; align-items: center; margin: 0 0 1.2rem; padding: .8rem 0; border-block: 1px solid var(--line); }
.byline img { width: 3rem; height: 3rem; object-fit: cover; border-radius: 50%; grid-row: span 2; }
.byline strong { color: var(--blue); }
.byline p { margin: 0; color: var(--muted); font-size: .82rem; }
.basin-4016 h1 { max-width: 16ch; margin: .35rem 0 .75rem; color: var(--blue); font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 4.5rem); line-height: 1.03; letter-spacing: -.045em; }
.cedar-c8d3 { max-width: 42rem; color: var(--muted); font-size: 1.2rem; }
.ripple-bd3c { margin: 1.5rem 0; }
.ripple-bd3c img { width: 100%; max-height: 33rem; object-fit: cover; }
.prose { max-width: 45rem; }
.prose p, .prose li { font-family: var(--font-body); font-size: 1.1rem; line-height: 1.75; }
.prose p { margin: 0 0 1.25rem; }
.prose h2, .prose h3 { color: var(--blue); font-family: var(--font-display); line-height: 1.15; margin: 2rem 0 .65rem; }
.prose h2 { font-size: 1.8rem; }
.prose a { color: var(--coral); text-decoration-thickness: .08em; text-underline-offset: .15em; }

.not-found { min-height: 43vh; display: grid; place-items: center; text-align: center; padding: 3rem 0; }
.not-found-inner { max-width: 38rem; }
.not-found .code { color: var(--gold); font-family: var(--font-mono); font-size: .8rem; letter-spacing: .1em; }
.not-found h1 { margin: .3rem 0 .7rem; color: var(--blue); font-family: var(--font-display); font-size: clamp(2.5rem, 6vw, 5rem); line-height: 1; }
.not-found p { color: var(--muted); font-size: 1.1rem; }

.site-footer { border-top: 1px solid var(--line); background: var(--blue-deep); color: #e6ece9; padding: 2.3rem 0 1.2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .85fr .95fr .9fr; gap: 2rem; }
.site-footer h2, .site-footer h3 { margin: 0 0 .65rem; color: var(--gold-soft); font-family: var(--font-display); }
.site-footer h2 { font-size: 1.6rem; }
.site-footer h3 { font-size: 1rem; }
.site-footer p, .site-footer li, .site-footer a { color: #c5d1ce; font-size: .85rem; }
.site-footer p { max-width: 25rem; }
.site-footer ul { padding: 0; margin: 0; list-style: none; }
.site-footer li { margin: .35rem 0; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-note { border-top: 1px solid rgba(255,255,255,.16); margin-top: 1.6rem; padding-top: .8rem; color: #a9bbb9; font-size: .72rem; }

@media (max-width: 980px) {
  :root { --shell: min(92vw, 800px); }
  .primary-nav { gap: 1rem; }
  .fold-a, .latest-ledger, .discovery-band { grid-template-columns: 1fr; }
  .fold-a .rail-column { border-left: 0; border-top: 1px solid var(--line); padding: 1rem 0 0; }
  .fold-b, .thematic-band { grid-template-columns: 1fr 1fr; }
  .fold-b > :last-child { grid-column: 1 / -1; }
  .closing-desk { grid-template-columns: 1fr 1fr; }
  .closing-desk > :last-child { grid-column: 1 / -1; }
  .visual-feed { grid-template-columns: repeat(2, 1fr); }
  .content-grid { grid-template-columns: minmax(0, 1fr); }
  .content-grid .lantern-5178 { display: none; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  :root { --shell: min(92vw, 560px); }
  .utility-bar { font-size: .59rem; }
  .utility-links { gap: .65rem; }
  .brand-row { min-height: 5.7rem; padding: .85rem 0; }
  .brand-mark { width: 2.55rem; height: 2.55rem; flex-basis: 2.55rem; }
  .wordmark strong { font-size: 1.42rem; }
  .wordmark em { font-size: .7rem; }
  .header-tools { gap: .35rem; }
  .search-form { order: 3; position: absolute; left: 4vw; right: 4vw; top: 9.1rem; background: var(--paper); z-index: 2; display: none; }
  .search-form.is-visible { display: flex; }
  .search-form input { width: 100%; }
  .ripple-d1b4 { display: inline-grid; }
  .primary-nav { display: none; flex-direction: column; align-items: stretch; gap: 0; padding: .35rem 0 .6rem; }
  .primary-nav.summit-27e7 { display: flex; }
  .primary-nav a { padding: .6rem 0; }
  .topic-nav { gap: .9rem; }
  .main-shell { padding-top: 1.4rem; }
  .zephyr-9ab2, .article-layout { grid-template-columns: minmax(0, 1fr); }
  .zephyr-9ab2 .lantern-5178, .article-layout .lantern-5178 { display: none; }
  .page-intro h1 { font-size: 2.55rem; }
  .lead-feed .maple-2e92:first-child { display: block; }
  .lead-feed .maple-2e92:first-child .quiet-9678 { margin-bottom: .7rem; }
  .nested-stories, .fold-b, .thematic-band, .closing-desk { grid-template-columns: 1fr; }
  .fold-b > :last-child, .closing-desk > :last-child { grid-column: auto; }
  .mini-feed .maple-2e92:first-child { grid-template-columns: 6.5rem minmax(0, 1fr); }
  .discovery-feed { grid-template-columns: 1fr; }
  .visual-feed { grid-template-columns: repeat(2, 1fr); }
  .visual-feed .maple-2e92 { min-height: 13rem; }
  .archive-tools { grid-template-columns: 1fr; }
  .filter-list { justify-content: flex-start; }
  .guide-layout, .principles { grid-template-columns: 1fr; }
  .calc-form { grid-template-columns: 1fr 1fr; }
  .calc-form button { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.2rem; }
}
@media (max-width: 420px) {
  .footer-grid { grid-template-columns: 1fr; }
  .visual-feed { grid-template-columns: 1fr 1fr; }
  .signup-form { flex-direction: column; }
  .calc-form { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
.prose-link { color: var(--coral); text-decoration-thickness: .08em; text-underline-offset: .15em; }


::view-transition-old(root), ::view-transition-new(root) { animation-duration: .22s; }
