:root {
  color-scheme: light;
  --paper: #f6f5f2;
  --paper-deep: #eae9e5;
  --ink: #1b1b1b;
  --ink-muted: #62605a;
  --line: #c8c6bf;
  --accent: #8a5b10;
  --accent-soft: #f0e0bd;
  --accent-foreground: #ffffff;
  --dark: #101112;
  --dark-line: #393a3c;
  --light-text: #efede8;
  --dark-accent: #c7a66b;
  --dark-muted: #b4b0a8;
  --measure: 1300px;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #18191b;
  --paper-deep: #202123;
  --ink: #efede8;
  --ink-muted: #aaa7a1;
  --line: #424347;
  --accent: #c7a66b;
  --accent-soft: #332c20;
  --accent-foreground: #18191b;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
::selection { background: var(--accent); color: var(--accent-foreground); }
.site-shell { overflow: clip; }
.container { width: min(calc(100% - 80px), var(--measure)); margin-inline: auto; }
.skip-link { position: fixed; left: 20px; top: -80px; z-index: 100; background: var(--ink); color: var(--paper); padding: 12px 18px; }
.skip-link:focus { top: 14px; }
.eyebrow, .hero-topline, .hero-bottom, .hero-index, .site-nav, .footer-note, .footer-links, .archive-date, .archive-count, .sidebar-index, .toc, .back-link, .article-label, .article-meta, .template-field > span, .section-heading-side, .archive-all, .template-source { font-family: "Courier New", Courier, monospace; font-size: 11px; font-weight: 700; letter-spacing: .07em; line-height: 1.45; }
.eyebrow { margin: 0; text-transform: uppercase; }
.eyebrow-line { display: inline-block; width: 24px; height: 1px; margin: 0 10px 4px 0; background: var(--accent); }
.heading-period, .hero-stop { color: var(--accent); }

/* A restrained masthead: the content is the identity. */
.site-header { border-bottom: 1px solid var(--ink); }
.header-inner { min-height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 13px; width: max-content; }
.brand-mark { display: flex; width: 35px; height: 35px; align-items: center; justify-content: center; border: 1px solid var(--ink); border-radius: 50%; font-family: Georgia, serif; font-size: 30px; font-weight: 700; line-height: 1; padding-bottom: 4px; position: relative; }
.brand-mark span { color: var(--accent); position: absolute; right: -5px; top: -5px; font-family: Arial, sans-serif; font-size: 14px; }
.brand-name { font-size: 16px; font-weight: 800; letter-spacing: -.06em; white-space: nowrap; }
.brand-slash { color: var(--accent); padding: 0 4px; font-weight: 400; }
.brand-section { font-weight: 400; }
.site-nav { display: flex; align-items: center; gap: 35px; text-transform: uppercase; }
.site-nav a { padding: 30px 0 28px; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--accent); }
.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 16px; }
.theme-toggle, .header-github { display: grid; width: 34px; height: 34px; place-items: center; border: 0; color: var(--ink); background: transparent; cursor: pointer; }
.theme-toggle svg, .header-github svg { width: 18px; height: 18px; }
.theme-toggle:hover, .header-github:hover { color: var(--accent); }

/* Cover page */
.hero-topline { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 20px 0; color: var(--ink-muted); }
.hero-topline b { color: var(--accent); font-weight: 700; margin-left: 14px; }
.hero-composition { display: grid; grid-template-columns: 85px minmax(0, 1fr) 170px; min-height: 650px; border-bottom: 1px solid var(--ink); }
.hero-index { display: flex; flex-direction: column; align-items: flex-start; border-right: 1px solid var(--line); padding: 31px 12px 30px 0; color: var(--ink-muted); }
.hero-index-number { color: var(--accent); font-size: 30px; letter-spacing: -.1em; line-height: 1; }
.hero-index-caption { margin-top: 26px; font-size: 10px; }
.hero-index-rule { display: block; width: 1px; flex: 1; background: var(--line); margin: 32px 0 24px 6px; }
.hero-index-vertical { writing-mode: vertical-rl; transform: rotate(180deg); margin-left: 0; white-space: nowrap; }
.hero-main { position: relative; padding: 74px 0 70px 63px; }
.hero-main > .eyebrow { color: var(--ink-muted); }
.hero-main h1 { margin: 55px 0 0; font-size: clamp(77px, 10.5vw, 158px); font-weight: 700; line-height: .91; letter-spacing: -.087em; }
.hero-main h1 > span { display: block; white-space: nowrap; }
.hero-main h1 .hero-offset { padding-left: .35em; }
.hero-main h1 .hero-last { padding-left: 1.02em; }
.hero-main h1 em { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.105em; }
.hero-summary { display: grid; grid-template-columns: 34px minmax(0, 310px) 1fr; align-items: end; gap: 18px; margin-top: 72px; padding-right: 10px; }
.summary-arrow { color: var(--accent); font-size: 31px; line-height: 1; }
.hero-summary p { color: var(--ink-muted); font-size: 15px; line-height: 1.55; margin: 0; }
.hero-summary a { justify-self: end; border-bottom: 1px solid var(--ink); padding-bottom: 8px; font-family: "Courier New", monospace; font-size: 11px; font-weight: 700; letter-spacing: .07em; white-space: nowrap; }
.hero-summary a span { margin-left: 30px; color: var(--accent); font-size: 16px; }
.hero-summary a:hover { color: var(--accent); border-color: var(--accent); }
.hero-stamp { border-left: 1px solid var(--line); padding: 64px 0 0 20px; display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.stamp-ring { display: grid; place-items: center; width: 116px; height: 116px; border: 1px solid var(--accent); border-radius: 50%; transform: rotate(13deg); }
.stamp-ring::before, .stamp-ring::after { content: ""; display: block; position: absolute; background: var(--accent); }
.stamp-ring::before { width: 150px; height: 1px; }
.stamp-ring::after { width: 1px; height: 150px; }
.stamp-ring > span { z-index: 1; background: var(--paper); color: var(--accent); padding: 6px; text-align: center; font-family: Georgia, serif; font-size: 29px; line-height: .9; }
.stamp-caption { padding-bottom: 38px; font-family: Georgia, serif; font-size: 38px; line-height: .92; letter-spacing: -.07em; text-align: right; color: var(--accent); }
.hero-bottom { display: flex; justify-content: space-between; align-items: center; padding: 18px 0 22px; color: var(--ink-muted); }
.hero-bottom strong { color: var(--accent); font-weight: 700; margin-left: 12px; }
.hero-bottom > span:last-child span { font-size: 17px; color: var(--accent); margin-left: 18px; }

/* Ruled index pages */
.section-writeups { padding: 140px 0 156px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; padding-bottom: 23px; border-bottom: 1px solid var(--ink); }
.section-heading .eyebrow { color: var(--accent); margin-bottom: 26px; }
.section-heading h2 { margin: 0; font-size: clamp(44px, 6vw, 82px); letter-spacing: -.07em; line-height: .95; font-weight: 700; }
.section-heading-side { color: var(--ink-muted); text-align: right; }
.ledger-empty { display: grid; grid-template-columns: 25% minmax(0, 1fr) 130px; min-height: 370px; border-bottom: 1px solid var(--ink); }
.ledger-empty-index { padding: 28px 0; border-right: 1px solid var(--line); color: var(--line); font-size: clamp(75px, 12vw, 170px); line-height: 1; letter-spacing: -.11em; font-weight: 700; writing-mode: vertical-rl; }
.ledger-empty-index span { color: var(--accent); }
.ledger-empty-content { max-width: 700px; padding: 60px 45px 60px 75px; }
.ledger-empty-content .eyebrow { color: var(--accent); }
.ledger-empty-content h3 { font-family: Georgia, serif; font-size: clamp(34px, 4vw, 55px); font-weight: 400; line-height: 1.05; letter-spacing: -.045em; margin: 21px 0; }
.ledger-empty-content p { max-width: 550px; color: var(--ink-muted); font-size: 16px; line-height: 1.65; margin: 0 0 31px; }
.ledger-empty-content a, .archive-all { display: inline-flex; align-items: center; gap: 30px; border-bottom: 1px solid var(--ink); padding-bottom: 8px; }
.ledger-empty-content a { font-family: "Courier New", monospace; font-size: 11px; font-weight: 700; letter-spacing: .07em; }
.ledger-empty-content a span, .archive-all span { color: var(--accent); font-size: 16px; }
.ledger-empty-content a:hover, .archive-all:hover { color: var(--accent); border-color: var(--accent); }
.ledger-empty-mark { border-left: 1px solid var(--line); display: grid; place-items: center; font-size: 105px; color: var(--accent); }
.archive-all { margin-top: 28px; }
.archive-list { border-top: 1px solid var(--ink); }
.home-archive { border-top: 0; }
.archive-item { display: grid; grid-template-columns: 24% 1fr 65px; gap: 24px; align-items: start; padding: 31px 0; border-bottom: 1px solid var(--line); transition: padding-left .2s ease, color .2s; }
.archive-item:hover { padding-left: 12px; color: var(--accent); }
.archive-date { color: var(--ink-muted); padding-top: 9px; }
.archive-title { font-size: clamp(24px, 3.4vw, 43px); font-weight: 700; letter-spacing: -.055em; line-height: 1.1; }
.archive-title small { display: block; margin-top: 11px; color: var(--ink-muted); font-family: Arial, sans-serif; font-size: 14px; font-weight: 400; letter-spacing: 0; line-height: 1.5; }
.archive-arrow { justify-self: end; color: var(--accent); font-size: 28px; }

/* Four numbered principles read like an index, without cards. */
.principles-section { background: var(--paper-deep); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.principles-inner { display: grid; grid-template-columns: 43% 1fr; }
.principles-intro { padding: 100px 10% 100px 0; border-right: 1px solid var(--line); }
.principles-intro .eyebrow { color: var(--accent); }
.principles-intro h2 { margin: 60px 0 30px; font-family: Georgia, serif; font-size: clamp(48px, 5vw, 74px); font-weight: 400; line-height: 1.02; letter-spacing: -.06em; }
.principles-intro > p:last-child { max-width: 360px; color: var(--ink-muted); font-size: 16px; line-height: 1.65; }
.principles-list { padding-left: 50px; }
.principle { display: grid; grid-template-columns: 75px 1fr 30px; gap: 22px; align-items: baseline; padding: 40px 0 33px; border-bottom: 1px solid var(--line); }
.principle:last-child { border-bottom: 0; }
.principle > span:first-child { font: 700 12px "Courier New", monospace; color: var(--accent); }
.principle > span:last-child { font-size: 20px; justify-self: end; color: var(--accent); }
.principle h3 { margin: 0 0 9px; font-size: 26px; font-weight: 700; letter-spacing: -.05em; }
.principle p { margin: 0; color: var(--ink-muted); font-size: 14px; line-height: 1.5; }

.closing-cta { background: var(--dark); color: var(--light-text); }
.closing-inner { padding-top: 115px; padding-bottom: 75px; }
.closing-inner .eyebrow { color: var(--dark-accent); }
.closing-inner h2 { margin: 60px 0 85px; font-size: clamp(66px, 10.2vw, 150px); font-weight: 700; line-height: .93; letter-spacing: -.085em; }
.closing-inner h2 em { font-family: Georgia, serif; font-weight: 400; color: var(--dark-accent); }
.closing-bottom { display: flex; justify-content: space-between; align-items: end; gap: 30px; border-top: 1px solid var(--dark-line); padding-top: 22px; }
.closing-bottom p { max-width: 260px; margin: 0; color: var(--dark-muted); font-size: 14px; line-height: 1.5; }
.closing-bottom a { border-bottom: 1px solid var(--dark-accent); padding-bottom: 7px; font: 700 11px "Courier New", monospace; letter-spacing: .07em; white-space: nowrap; }
.closing-bottom a span { margin-left: 55px; color: var(--dark-accent); font-size: 16px; }
.closing-bottom a:hover { color: var(--dark-accent); }
.closing-cta a:focus-visible, .site-footer a:focus-visible { outline-color: var(--dark-accent); }

/* Inner pages */
.page-hero { display: grid; grid-template-columns: 180px 1fr; column-gap: 48px; padding-top: 75px; padding-bottom: 80px; border-bottom: 1px solid var(--ink); }
.page-hero > .eyebrow { grid-row: span 2; color: var(--accent); padding-top: 13px; }
.page-hero h1 { margin: 0; font-size: clamp(68px, 10vw, 145px); line-height: .94; letter-spacing: -.09em; }
.page-hero h1 em { font-family: Georgia, serif; font-weight: 400; }
.page-hero > p:last-child { grid-column: 2; max-width: 680px; margin: 35px 0 0; color: var(--ink-muted); font-size: clamp(18px, 2vw, 23px); line-height: 1.45; letter-spacing: -.02em; }
.archive-section { padding-top: 26px; padding-bottom: 170px; }
.archive-count { display: flex; justify-content: space-between; padding-bottom: 20px; color: var(--ink-muted); }
.archive-empty { display: grid; justify-items: start; grid-template-columns: 150px minmax(0, 660px); column-gap: 60px; padding: 80px 0 120px; }
.archive-empty-glyph { grid-row: span 4; align-self: start; color: var(--accent); font-size: 145px; line-height: .7; }
.archive-empty .eyebrow { color: var(--accent); }
.archive-empty h2 { margin: 24px 0 20px; font-family: Georgia, serif; font-size: clamp(42px, 5.5vw, 70px); font-weight: 400; letter-spacing: -.06em; line-height: 1.02; }
.archive-empty > p:not(.eyebrow) { max-width: 590px; color: var(--ink-muted); font-size: 17px; line-height: 1.65; }
.archive-empty .button { margin-top: 20px; }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 30px; padding: 16px 19px; min-width: 190px; font: 700 11px "Courier New", monospace; letter-spacing: .06em; text-transform: uppercase; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-3px); }
.button-primary { background: var(--ink); color: var(--paper); }
.button-primary:hover { background: var(--accent); color: var(--accent-foreground); }
.button span { font-size: 18px; }
.content-section { display: grid; grid-template-columns: 180px minmax(0, 780px); gap: 48px; padding-top: 80px; padding-bottom: 160px; }
.content-sidebar { color: var(--ink-muted); }
.sidebar-index { display: block; color: var(--accent); }
.sidebar-rule { display: block; height: 1px; width: 55px; background: var(--accent); margin-top: 20px; }
.toc { display: flex; flex-direction: column; gap: 13px; margin-top: 40px; text-transform: uppercase; }
.toc a:hover { color: var(--accent); }
.prose { font-size: 17px; line-height: 1.74; color: var(--ink); }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin: 64px 0 18px; font-size: clamp(32px, 4vw, 48px); font-weight: 700; line-height: 1.1; letter-spacing: -.06em; scroll-margin-top: 30px; }
.prose h3 { margin: 45px 0 12px; font-size: 25px; letter-spacing: -.04em; }
.prose p { margin: 0 0 22px; }
.prose a { border-bottom: 1px solid var(--accent); color: var(--ink); }
.prose a:hover { color: var(--accent); }
.prose ul, .prose ol { margin: 0 0 27px; padding-left: 26px; }
.prose li { padding-left: 5px; margin-bottom: 9px; }
.prose li::marker { color: var(--accent); }
.prose blockquote { border-left: 3px solid var(--accent); padding: 10px 0 10px 25px; margin: 35px 0; color: var(--ink-muted); font-family: Georgia, serif; font-size: 21px; line-height: 1.5; }
.prose blockquote p { margin: 0; }
.prose pre { overflow-x: auto; padding: 24px; background: var(--dark); color: var(--light-text); font: 14px/1.6 "Courier New", monospace; }
.prose code { font-family: "Courier New", monospace; font-size: .86em; background: var(--paper-deep); padding: 2px 5px; }
.prose pre code { background: none; padding: 0; color: inherit; }
.prose table { width: 100%; border-collapse: collapse; margin: 30px 0; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 12px; border: 1px solid var(--line); }
.prose th { background: var(--paper-deep); }
.prose img { display: block; max-width: 100%; height: auto; }
.article-figure { margin: 36px 0; }
.prose .article-figure > a { display: block; border: 0; }
.article-figure img { width: 100%; border: 1px solid var(--line); }
.article-figure figcaption { margin-top: 12px; color: var(--ink-muted); font-size: 13px; line-height: 1.6; }
.prose .table-scroll { overflow-x: auto; margin: 30px 0; }
.prose .table-scroll table { margin: 0; min-width: 460px; }
.table-scroll:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.template-intro { display: flex; justify-content: space-between; align-items: center; gap: 35px; padding-top: 34px; }
.template-callout { display: flex; gap: 22px; max-width: 850px; }
.template-callout-icon { display: grid; flex: 0 0 40px; width: 40px; height: 40px; place-items: center; border-radius: 50%; background: var(--accent); color: var(--accent-foreground); font-size: 20px; }
.template-callout strong { display: block; margin-bottom: 6px; font-size: 15px; }
.template-callout p { margin: 0; color: var(--ink-muted); font-size: 14px; line-height: 1.55; }
.template-source { white-space: nowrap; border-bottom: 1px solid var(--accent); padding-bottom: 7px; }
.template-source span { color: var(--accent); }
.template-source:hover { color: var(--accent); }
.template-field { display: grid; grid-template-columns: 120px 1fr; border-top: 1px solid var(--line); padding: 14px 0; }
.template-field:last-of-type { border-bottom: 1px solid var(--line); }
.template-field > span { color: var(--accent); text-transform: uppercase; padding-top: 4px; }
.template-field p { margin: 0; }
.template-end { border-top: 1px solid var(--ink); margin-top: 75px; padding-top: 25px; }
.template-end .eyebrow { color: var(--accent); }
.template-end p { font-family: Georgia, serif; font-size: 30px; line-height: 1.2; letter-spacing: -.04em; margin: 20px 0; }
.template-end > a { display: inline-block; font: 700 11px "Courier New", monospace; letter-spacing: .07em; padding-bottom: 4px; }
.not-found { padding-top: 150px; padding-bottom: 170px; }
.not-found .eyebrow { color: var(--accent); }
.not-found h1 { max-width: 850px; margin: 35px 0 20px; font-size: clamp(56px, 8vw, 115px); letter-spacing: -.08em; line-height: .95; }
.not-found p { color: var(--ink-muted); font-size: 18px; margin-bottom: 30px; }

/* Future Markdown posts */
.article-top { padding-top: 58px; padding-bottom: 78px; border-bottom: 1px solid var(--ink); }
.back-link { display: inline-block; color: var(--ink-muted); margin-bottom: 90px; }
.back-link:hover { color: var(--accent); }
.article-label { color: var(--accent); display: flex; align-items: center; gap: 8px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.article-top h1 { max-width: 1050px; margin: 27px 0; font-size: clamp(55px, 7.8vw, 105px); line-height: .98; letter-spacing: -.08em; }
.article-deck { max-width: 780px; color: var(--ink-muted); font-family: Georgia, serif; font-size: clamp(24px, 3vw, 34px); line-height: 1.3; letter-spacing: -.03em; }
.article-meta { display: flex; gap: 12px; color: var(--ink-muted); margin-top: 32px; text-transform: uppercase; }
.article-body-wrap { display: grid; grid-template-columns: minmax(0, 800px) minmax(180px, 1fr); gap: 95px; padding-top: 80px; }
.article-body { min-width: 0; }
.article-aside { font-size: 14px; line-height: 1.6; color: var(--ink-muted); }
.aside-rule { display: block; width: 60px; height: 1px; background: var(--accent); margin-bottom: 22px; }
.article-aside .eyebrow { color: var(--accent); }
.article-aside a { border-bottom: 1px solid var(--accent); color: var(--ink); }
.article-end { padding-top: 90px; padding-bottom: 130px; }
.article-end a { border-bottom: 1px solid var(--ink); padding-bottom: 7px; font: 700 11px "Courier New", monospace; letter-spacing: .07em; }
.article-end a:hover { color: var(--accent); border-color: var(--accent); }

/* Colophon */
.site-footer { background: var(--dark); color: var(--light-text); border-top: 1px solid var(--dark-line); }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 50px; padding-top: 63px; padding-bottom: 27px; }
.footer-brand { font-size: 30px; font-weight: 800; letter-spacing: -.08em; }
.footer-brand span { color: var(--dark-accent); margin-left: 5px; font-size: 20px; }
.footer-inner p { max-width: 270px; margin: 16px 0 0; color: var(--dark-muted); font-size: 13px; line-height: 1.5; }
.footer-links { display: grid; grid-template-columns: repeat(2, 90px); gap: 18px 25px; text-transform: uppercase; align-content: start; }
.footer-links a:hover { color: var(--dark-accent); }
.footer-note { grid-column: 1 / -1; border-top: 1px solid var(--dark-line); color: var(--dark-muted); padding-top: 22px; margin-top: 35px; font-weight: 400; }

@media (max-width: 1100px) {
  .hero-composition { grid-template-columns: 60px minmax(0, 1fr) 110px; min-height: 580px; }
  .hero-main { padding-left: 40px; }
  .hero-main h1 { font-size: clamp(75px, 10vw, 120px); }
  .hero-stamp { padding-left: 10px; }
  .stamp-ring { width: 85px; height: 85px; }
  .stamp-ring::before { width: 110px; }
  .stamp-ring::after { height: 110px; }
  .stamp-ring > span { font-size: 22px; }
  .stamp-caption { font-size: 27px; }
  .hero-summary { grid-template-columns: 28px 1fr; }
  .hero-summary a { grid-column: 2; justify-self: start; margin-top: 13px; }
}

@media (max-width: 780px) {
  .container { width: min(calc(100% - 40px), var(--measure)); }
  .header-inner { min-height: 70px; grid-template-columns: 1fr auto; gap: 12px; }
  .brand-name { font-size: 15px; }
  .site-nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; border-top: 1px solid var(--line); gap: 18px; }
  .site-nav a { padding: 14px 0 12px; }
  .header-actions { grid-column: 2; grid-row: 1; }
  .hero-topline > span:last-child { display: none; }
  .hero-composition { grid-template-columns: 42px minmax(0, 1fr); min-height: auto; }
  .hero-index { padding-top: 24px; }
  .hero-index-number { font-size: 19px; }
  .hero-index-caption { display: none; }
  .hero-index-rule { margin-left: 4px; }
  .hero-main { padding: 60px 0 66px 24px; }
  .hero-main h1 { font-size: clamp(53px, 11.5vw, 90px); margin-top: 80px; }
  .hero-main h1 .hero-offset { padding-left: .12em; }
  .hero-main h1 .hero-last { padding-left: .24em; }
  .hero-summary { margin-top: 75px; }
  .hero-stamp { display: none; }
  .section-writeups { padding: 100px 0; }
  .ledger-empty { grid-template-columns: 80px minmax(0, 1fr); }
  .ledger-empty-index { font-size: 75px; }
  .ledger-empty-content { padding: 48px 0 56px 30px; }
  .ledger-empty-mark { display: none; }
  .principles-inner { grid-template-columns: 1fr; }
  .principles-intro { padding: 80px 0 55px; border-right: 0; border-bottom: 1px solid var(--line); }
  .principles-intro h2 { margin-top: 40px; }
  .principles-list { padding-left: 0; padding-bottom: 20px; }
  .page-hero { grid-template-columns: 1fr; padding-top: 65px; padding-bottom: 60px; }
  .page-hero > .eyebrow { grid-row: auto; padding: 0; margin-bottom: 38px; }
  .page-hero > p:last-child { grid-column: 1; }
  .content-section { grid-template-columns: 1fr; gap: 45px; padding-top: 55px; padding-bottom: 100px; }
  .content-sidebar { display: none; }
  .template-intro { align-items: start; flex-direction: column; }
  .article-body-wrap { grid-template-columns: 1fr; gap: 55px; }
  .article-aside { border-top: 1px solid var(--line); padding-top: 25px; }
  .article-end { padding-top: 50px; }
}

@media (max-width: 520px) {
  .container { width: calc(100% - 30px); }
  .brand-mark { width: 31px; height: 31px; font-size: 26px; }
  .brand { gap: 8px; }
  .brand-name { font-size: 14px; }
  .site-nav { font-size: 10px; }
  .header-actions { gap: 3px; }
  .hero-composition { grid-template-columns: 30px minmax(0, 1fr); }
  .hero-main { padding: 55px 0 53px 12px; }
  .hero-main > .eyebrow { font-size: 9px; }
  .eyebrow-line { width: 13px; margin-right: 4px; }
  .hero-main h1 { font-size: clamp(42px, 12vw, 61px); margin-top: 68px; }
  .hero-main h1 .hero-offset { padding-left: 0; }
  .hero-main h1 .hero-last { padding-left: 0; }
  .hero-summary { grid-template-columns: 20px 1fr; gap: 12px; margin-top: 70px; }
  .hero-summary p { font-size: 14px; }
  .hero-summary a { font-size: 10px; }
  .hero-bottom { gap: 20px; font-size: 9px; }
  .hero-bottom strong { display: block; margin: 4px 0 0; }
  .hero-bottom > span:last-child { white-space: nowrap; }
  .section-heading h2 { font-size: 47px; }
  .section-heading-side { font-size: 9px; }
  .ledger-empty { grid-template-columns: 1fr; }
  .ledger-empty-index { writing-mode: initial; border-right: 0; border-bottom: 1px solid var(--line); padding: 20px 0 10px; font-size: 64px; }
  .ledger-empty-content { padding: 36px 0 60px; }
  .ledger-empty-content h3 { font-size: 37px; }
  .principle { grid-template-columns: 42px 1fr 20px; gap: 10px; padding: 30px 0; }
  .principle h3 { font-size: 22px; }
  .closing-inner { padding-top: 83px; }
  .closing-inner h2 { font-size: 58px; margin: 55px 0 65px; }
  .closing-bottom { display: block; }
  .closing-bottom a { display: inline-block; margin-top: 25px; }
  .closing-bottom a span { margin-left: 15px; }
  .page-hero h1 { font-size: 65px; }
  .archive-empty { display: block; padding: 50px 0 90px; }
  .archive-empty-glyph { font-size: 90px; margin-bottom: 25px; }
  .archive-item { grid-template-columns: 1fr 25px; gap: 7px; }
  .archive-date { grid-column: 1 / -1; padding: 0; }
  .archive-arrow { grid-column: 2; grid-row: 2; }
  .archive-title { grid-column: 1; grid-row: 2; }
  .template-callout { gap: 13px; }
  .template-callout-icon { flex-basis: 30px; width: 30px; height: 30px; }
  .template-source { white-space: normal; }
  .template-field { grid-template-columns: 1fr; gap: 8px; }
  .article-top { padding-top: 35px; }
  .back-link { margin-bottom: 60px; }
  .article-top h1 { font-size: 54px; }
  .article-meta { flex-wrap: wrap; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-note { margin-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
