/* Home base / 1.0. Shared foundation for owner-built interfaces. */
:root{--hb-paper:#f7f5ee;--hb-surface:#fffef9;--hb-ink:#233d34;--hb-muted:#64746b;--hb-line:#dddeda;--hb-green:#28634c;--hb-sage:#e4edde;--hb-peach:#f7e4d8;--hb-lilac:#ece6f4;--hb-danger:#a53d30;--hb-focus:#b6673e;--hb-radius:14px;--hb-font:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;--hb-display:Georgia,'Times New Roman',serif;--hb-space-1:4px;--hb-space-2:8px;--hb-space-3:12px;--hb-space-4:16px;--hb-space-6:24px;--hb-space-8:32px;--hb-space-12:48px}
html{scroll-padding-top:20px}body{font-family:var(--hb-font);font-size:15px;line-height:1.55}button,input,textarea,select{font-family:inherit}button,input:not([type=checkbox]):not([type=radio]):not([type=range]),select{min-height:44px}button,a,input,textarea,select,summary{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid var(--hb-focus);outline-offset:3px}h1,h2,h3,p{overflow-wrap:anywhere}img,video,canvas{max-width:100%}pre{max-width:100%;overflow:auto}dialog{max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);overflow:auto}details>summary{cursor:pointer;min-height:44px}button:disabled{cursor:not-allowed}::selection{background:#d4e3ca;color:#233d34}
@media(max-width:600px){input,textarea,select{font-size:16px}header,nav,footer{flex-wrap:wrap}h1{font-size:clamp(30px,8vw,42px)}.layout,.sources{grid-template-columns:minmax(0,1fr)}main{min-width:0}dialog{margin:auto}table{max-width:100%}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

*, *::before, *::after { box-sizing: border-box; }
:root {
  --ink: #242019;
  --secondary: #5e554a;
  --rule: #d6cfc3;
  --accent: #932c22;
}
body { margin: 0; background: var(--hb-paper); color: var(--ink); font-size: 1rem; }
a { color: inherit; text-underline-offset: .24em; }
a:hover { color: var(--accent); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3, .brand { font-family: var(--hb-display); font-weight: 500; line-height: 1.06; }
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -.025em; }
img { display: block; height: auto; }
[hidden] { display: none !important; }
.wrap { width: min(69rem, 100% - 3rem); margin-inline: auto; }
.skip { position: absolute; inset: .75rem auto auto .75rem; z-index: 2; background: var(--hb-surface); padding: .75rem; transform: translateY(-200%); }
.skip:focus { transform: none; }
.mast { background: var(--hb-surface); border-bottom: 3px solid var(--accent); }
.mast-inner, .foot .wrap, .edition-heading, .profile { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem 1.5rem; }
.mast-inner { padding-block: 1rem; }
.brand { font-size: clamp(1.75rem, 5vw, 2.75rem); text-decoration: none; letter-spacing: -.05em; }
nav, .actions { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1rem; }
nav a, .link { display: inline-flex; align-items: center; min-height: 44px; }
.mast nav a { text-decoration: none; }
.mast nav a:hover, .mast nav a[aria-current] { text-decoration: underline; }
nav a { font-size: .95rem; }
.front, .section { padding-block: clamp(1.5rem, 5vw, 3rem); }
.edition-heading { border-bottom: 1px solid var(--rule); padding-bottom: .75rem; }
.edition-heading h1 { font-size: clamp(1.625rem, 4vw, 2.25rem); }
.lead { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: 2rem; padding-block: clamp(1.5rem, 5vw, 3rem); border-bottom: 1px solid var(--rule); align-items: center; }
.lead-copy h2 { margin: .75rem 0 1rem; font-size: clamp(2.5rem, 7vw, 5rem); letter-spacing: -.055em; }
.lead-copy h2 a, .story h2 a { text-decoration: none; }
.lead-copy h2 a:hover, .story h2 a:hover { text-decoration: underline; }
.lead-copy > p:not(.post-meta) { color: var(--secondary); max-width: 44ch; font-size: 1.125rem; }
.lead-copy .button { margin-top: 1.25rem; }
.lead-image { display: block; position: relative; text-decoration: none; }
.lead-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.lead-image figcaption { color: var(--secondary); font-size: .875rem; padding-top: .5rem; }
.post-meta { font-size: .875rem; color: var(--secondary); font-variant-numeric: tabular-nums; }
.story { display: grid; grid-template-columns: 14rem 1fr; align-items: baseline; gap: .5rem 1rem; padding-block: 1.25rem; border-bottom: 1px solid var(--rule); }
.story h2 { font-size: clamp(1.375rem, 4vw, 1.875rem); }
.profile { padding-block: 1.5rem; border-top: 1px solid var(--rule); }
.profile h2 { font-size: 1.5rem; }
.profile p { color: var(--secondary); margin-top: .5rem; }
.profile-links { display: grid; gap: .25rem; }
.profile-links nav { justify-content: flex-end; }
.foot { border-top: 1px solid var(--rule); color: var(--secondary); padding-block: .5rem; }
.foot .wrap { min-height: 44px; }
.button { border: 1px solid var(--rule); background: var(--hb-surface); color: var(--ink); border-radius: 8px; padding: .5rem 1rem; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; text-decoration: none; font-size: .95rem; font-weight: 600; cursor: pointer; }
.button.primary { background: var(--accent); border-color: var(--accent); color: white; }
.button:hover { box-shadow: inset 0 0 0 1px currentColor; }
.reading { max-width: 46rem; min-height: 45vh; }
.reading header { border-bottom: 1px solid var(--rule); padding-bottom: 1.5rem; margin-bottom: 1.5rem; }
.reading h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); margin-top: .75rem; }
.reading h2, .reading h3 { margin: 1.75rem 0 .75rem; }
.reading p { margin-bottom: 1rem; }
.reading header p { margin-bottom: 0; }
.reading .lede { font-size: 1.2rem; color: var(--secondary); margin-top: 1rem; }
.reading > img { width: 100%; max-height: 28rem; object-fit: cover; margin-bottom: 1.5rem; }
.reading .actions { margin-top: 1rem; }
.prose { font-family: var(--hb-display); font-size: 1.1875rem; line-height: 1.7; overflow-wrap: anywhere; }
.prose li > p { margin: 0; }
.prose blockquote { border-left: 3px solid var(--accent); margin-inline: 0; padding-inline-start: 1.25rem; color: var(--secondary); }
@media (max-width: 680px) {
  .wrap { width: calc(100% - 2rem); }
  .mast-inner { padding-block: .5rem; }
  .lead { grid-template-columns: 1fr; gap: 1.25rem; }
  .lead-image img { aspect-ratio: 16 / 9; object-position: center 40%; }
  .story { grid-template-columns: 1fr; }
  .profile-links nav { justify-content: flex-start; }
}
