/* Article pages: /owners and /writing/*. Same tokens and type as the home page. */
:root { --ink: #14274E; --paper: #F8F6F0; --head-h: 71px; }
html { scroll-padding-top: var(--head-h); }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: 'Newsreader', serif; overflow-x: hidden; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { opacity: 0.7; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.sans { font-family: 'Archivo', sans-serif; }
.label { font-family: 'Archivo', sans-serif; font-weight: 600; font-size: 12px; letter-spacing: 0.18em; }
.cap { font-family: 'Archivo', sans-serif; font-size: 11px; letter-spacing: 0.16em; }
p { margin: 0; }
nav { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 28px; }
nav .links { display: flex; flex-wrap: wrap; gap: 22px; font-weight: 600; font-size: 12px; letter-spacing: 0.12em; }
nav a { text-decoration: none; }
.brand img { display: block; height: 38px; width: auto; }
.site-head { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.site-head.scrolled { border-bottom-color: var(--ink); }
.site-head nav { padding-top: 16px; padding-bottom: 16px; }
.site-head .brand { flex-shrink: 0; }
@media (max-width: 699px) {
  .site-head nav { flex-wrap: nowrap; gap: 18px; }
  .site-head nav .links { flex-wrap: nowrap; overflow-x: auto; gap: 16px; white-space: nowrap; scrollbar-width: none; }
  .site-head nav .links::-webkit-scrollbar { display: none; }
}

.article { max-width: 720px; margin: 0 auto; padding: 12vh 0 96px; }
.article h1 { margin: 18px 0 0; font-family: 'Archivo', sans-serif; font-weight: 900; text-transform: uppercase; font-size: clamp(48px, 8vw, 104px); line-height: 0.88; letter-spacing: -0.035em; word-spacing: 0.12em; }
.article .dek { margin-top: 24px; padding-bottom: 36px; border-bottom: 1px solid var(--ink); font-size: 26px; line-height: 1.35; font-style: italic; }
.article .prose { display: flex; flex-direction: column; gap: 22px; padding-top: 40px; font-size: 21px; line-height: 1.6; }
.article h2 { margin: 36px 0 0; font-family: 'Archivo', sans-serif; font-weight: 900; text-transform: uppercase; font-size: 30px; line-height: 1; letter-spacing: -0.01em; word-spacing: 0.1em; }
.article blockquote { margin: 8px 0; padding-left: 22px; border-left: 1px solid var(--ink); font-style: italic; font-size: 23px; line-height: 1.5; }
.article .sign { display: flex; flex-direction: column; gap: 4px; margin-top: 12px; }
.article .sign strong { font-weight: 500; }
.three { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); border-top: 1px solid var(--ink); margin: 8px 0; }
.three div { padding: 22px 20px 22px 0; display: flex; flex-direction: column; gap: 8px; border-bottom: 1px solid var(--ink); }
.three .t { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 15px; letter-spacing: 0.04em; text-transform: uppercase; }
.three .d { font-size: 18px; line-height: 1.45; opacity: 0.78; }

footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 24px; padding: 48px 0 80px; border-top: 1px solid var(--ink); }
footer .mark { display: inline-flex; align-items: center; gap: 12px; }
footer .mark img { display: block; height: 28px; width: auto; }

/* Signup for A Long Horizon. beehiiv's loader puts the form (an iframe) after the paragraph. */
.article .subscribe { display: flex; flex-direction: column; gap: 14px; margin: 40px 0 8px; padding: 32px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); scroll-margin-top: calc(var(--head-h) + 24px); }
.article .subscribe h2 { margin: 0; }
.article .subscribe p { font-size: 19px; line-height: 1.5; }

/* Long-form pieces: maps, captions, lists, and the draft notes block. */
.article .draft { margin-top: 10px; opacity: 0.7; }
.article h3 { margin: 16px 0 0; font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 17px; letter-spacing: 0.04em; text-transform: uppercase; }
.article blockquote p { margin: 0; }
.article blockquote cite { display: block; margin-top: 10px; font-style: normal; }
.article figure { margin: 12px 0; display: flex; flex-direction: column; gap: 12px; }
.article figure img { display: block; width: 100%; height: auto; border: 1px solid var(--ink); }
.article figcaption { line-height: 1.6; }
.article ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }
.article ul.small, .article .note { font-size: 17px; line-height: 1.55; }
.article .notes { margin-top: 64px; border-top: 1px solid var(--ink); }
.article .notes h2 { margin-top: 0; }
.article figure.narrow img { max-width: 440px; }
.article figure.gallery .row { display: flex; gap: 12px; align-items: flex-start; }
.article figure.gallery .row img { width: 0; min-width: 0; }
/* Numbered notes: superscript link, hover preview on wide screens, list at the end. */
.article .fn { position: relative; font-family: 'Archivo', sans-serif; font-size: 0.6em; font-weight: 700; vertical-align: super; line-height: 0; font-style: normal; }
.article .fn a { text-decoration: none; padding: 0 2px; }
.article .fn-pop { display: none; position: absolute; left: -12px; bottom: 1.6em; z-index: 10; width: min(340px, 80vw); padding: 12px 14px; background: var(--paper); border: 1px solid var(--ink); font-family: 'Newsreader', serif; font-weight: 400; font-size: 16px; line-height: 1.45; letter-spacing: 0; vertical-align: baseline; }
@media (hover: hover) { .article .fn:hover .fn-pop, .article .fn:focus-within .fn-pop { display: block; } }
.article .endnotes { margin: 0; padding-left: 26px; display: flex; flex-direction: column; gap: 10px; font-size: 17px; line-height: 1.55; }
.article .endnotes a { text-decoration: none; }
.article .endnotes li:target { outline: 1px solid var(--ink); outline-offset: 6px; }
