/* MACHINA website. Built only from design/tokens.css: no new colours, no new fonts,
   no rounded corners, no soft shadows. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-ui); }
a { color: var(--ink); text-decoration: none; }

:focus-visible { outline: 2px solid var(--vermilion); outline-offset: 3px; }
img, svg { display: block; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--ink); color: var(--paper); padding: 10px 14px; z-index: 10; }

.wrap { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter) 64px; }
.lbl { font-family: var(--font-ui); font-size: var(--label); letter-spacing: var(--label-tracking); text-transform: uppercase; font-weight: 600; }
.lbl-sm { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; }
.red { color: var(--vermilion); }
.muted { color: var(--muted); }
.opinion { font-family: var(--font-display); font-style: italic; font-weight: 500; }
.display { font-family: var(--font-display); }

/* Top bar */
.topbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding: 16px 0; border-bottom: var(--rule); font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; }
.topbar nav { display: flex; gap: 20px; flex-wrap: wrap; }

/* Masthead */
.mast { text-align: center; padding: 28px 0 18px; border-bottom: var(--rule-double); }
.mast .name { display: inline-block; font-family: var(--font-display); font-weight: 600; font-size: var(--masthead); line-height: 0.86; letter-spacing: var(--masthead-tracking); }
.mast .sig { font-family: var(--font-display); font-style: italic; font-size: 26px; margin-top: 14px; }
.mast.small { padding: 18px 0 12px; }
.mast.small .name { font-size: 64px; line-height: 1; }

.verticals-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 36px; padding: 14px 0; border-bottom: var(--rule); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; }
.verticals-nav a[aria-current] { color: var(--vermilion); }

/* Lead + The Day */
.front { display: flex; flex-wrap: wrap; gap: 40px; padding: 40px 0; border-bottom: var(--rule); }
.lead { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.plate { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.plate .frame { aspect-ratio: 3 / 2; background: var(--paper-deep); border: var(--rule); overflow: hidden; }
.plate figcaption { font-size: 12px; color: var(--muted); }
.h-lead { margin: 0; font-family: var(--font-display); font-weight: 500; font-style: italic; font-size: var(--h1-lead); line-height: 1.04; letter-spacing: -0.01em; }
.standfirst-lead { margin: 0; font-family: var(--font-display); font-size: 21px; line-height: 1.45; color: var(--ink-2); max-width: 720px; }
.meta { font-size: 13px; color: var(--muted); }
.meta a { text-decoration: underline; text-underline-offset: 3px; color: var(--ink); }

.day { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; border-left: var(--rule); padding-left: 28px; }
.day-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 12px; border-bottom: var(--rule); gap: 12px; }
.day-head .t { font-family: var(--font-display); font-style: italic; font-size: 34px; }
.day-head .s { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.day-item { display: flex; flex-direction: column; gap: 6px; padding: 16px 0; border-bottom: 1px solid var(--rule-soft); }
.day-item:last-child { border-bottom: 0; }
.day-item .h { font-family: var(--font-display); font-size: var(--headline-day); line-height: 1.25; }
.day-item .src { font-size: 12.5px; color: var(--muted); }

/* The Source band */
.source-band { margin: 40px 0; background: var(--ink); color: var(--paper); display: flex; flex-wrap: wrap; gap: 32px; padding: 36px 40px; align-items: center; }
.source-band .t { flex: 1 1 220px; display: flex; flex-direction: column; gap: 8px; }
.source-band .t b { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: 40px; line-height: 1; }
.source-band .t span { font-size: 13px; color: var(--on-dark-muted); line-height: 1.5; }
.source-band blockquote { flex: 999 1 480px; margin: 0; border-left: 3px solid var(--vermilion); padding: 4px 0 4px 24px; display: flex; flex-direction: column; gap: 10px; }
.source-band q { quotes: none; font-family: var(--font-display); font-size: 26px; line-height: 1.35; }
.hl-dark { background: var(--highlight-on-dark); padding: 0 4px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.source-band cite { font-style: normal; font-size: 13px; color: var(--on-dark-muted); }
.btn-paper { flex: 0 0 auto; color: var(--ink); background: var(--paper); padding: 14px 22px; font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.btn-paper:hover { color: var(--ink); background: var(--paper-deep); }
.btn-ink { display: inline-block; color: var(--paper); background: var(--ink); padding: 14px 22px; font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; border: 0; font-family: var(--font-ui); cursor: pointer; }
.btn-ink:hover { color: var(--paper); background: var(--ink-2); }

/* Five verticals grid */
.vgrid { border-top: var(--rule); display: grid; grid-template-columns: repeat(5, 1fr); }
.vgrid article { padding: 24px 20px 28px; border-left: var(--rule); border-bottom: var(--rule); display: flex; flex-direction: column; gap: 12px; }
.vgrid article:first-child { border-left: 0; padding-left: 0; }
.vgrid article:last-child { padding-right: 0; }
.vgrid .vn { font-family: var(--font-display); font-style: italic; font-size: var(--vertical-name); }
.vgrid .h { font-family: var(--font-display); font-size: var(--headline-list); line-height: 1.25; }
.vgrid .f { font-size: 12.5px; color: var(--muted); }

/* Lists of pieces */
.section-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.section-head .t { font-family: var(--font-display); font-style: italic; font-size: 34px; }
.section-head .s { font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.also { padding: 36px 0 8px; border-bottom: var(--rule); display: flex; flex-direction: column; gap: 18px; }
.list4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 32px; }
.item { display: flex; flex-direction: column; gap: 6px; padding: 16px 0; border-top: 1px solid var(--rule-soft); }
.item .h { font-family: var(--font-display); font-size: var(--headline-day); line-height: 1.25; }
.item .k { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; }
.badge { display: inline-block; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; border: 1px solid var(--vermilion); color: var(--vermilion); padding: 3px 7px; align-self: flex-start; }

/* Ledger strip */
.ledger-strip { padding: 36px 0; border-bottom: var(--rule); display: flex; flex-direction: column; gap: 18px; }
.ledger-row { display: grid; grid-template-columns: 1.2fr 2.4fr 0.8fr 0.9fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--rule-soft); align-items: baseline; }
.ledger-row .who { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; }
.ledger-row .what { font-family: var(--font-display); font-style: italic; font-size: 19px; line-height: 1.3; }
.ledger-row .when { font-size: 13px; color: var(--muted); }
.stamp { display: inline-block; border: 1.5px solid currentColor; padding: 4px 8px; font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; justify-self: start; }
.stamp.missed { color: var(--vermilion); }
.stamp.partly { color: var(--ochre); }
.stamp.contested, .stamp.unproven { color: var(--muted); }
.stamp.kept { color: var(--jade); }

/* Big Interview + newsletter */
.bottom { display: flex; flex-wrap: wrap; gap: 32px; padding: 40px 0; border-bottom: var(--rule); }
.interview { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.video { aspect-ratio: 16 / 9; background: var(--jade); position: relative; display: flex; align-items: center; justify-content: center; }
.video .play { width: 84px; height: 84px; border: 2px solid var(--paper); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.video .vl { position: absolute; left: 20px; bottom: 16px; color: var(--paper); font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; }
.interview .h { margin: 0; font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: var(--h2); line-height: 1.12; }
.letter-box { flex: 1 1 300px; align-self: flex-start; border: var(--rule); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.letter-box .t { font-family: var(--font-display); font-style: italic; font-size: 32px; line-height: 1.1; }
.letter-box p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; }
.field input { font: inherit; font-size: 15px; padding: 12px 12px; border: var(--rule); background: transparent; color: var(--ink); border-radius: 0; }
.form-note { font-size: 13px; color: var(--vermilion); min-height: 1em; }

/* Footer */
.foot { display: flex; flex-wrap: wrap; gap: 32px 56px; padding: 44px 0 0; }
.foot .brand { flex: 1 1 220px; display: flex; flex-direction: column; gap: 12px; }
.foot .brand .n { font-family: var(--font-display); font-weight: 600; font-size: 44px; letter-spacing: -0.03em; line-height: 1; }
.foot .brand .s { font-family: var(--font-display); font-style: italic; font-size: 18px; }
.foot .refuse { flex: 999 1 560px; display: flex; flex-direction: column; gap: 14px; }
.foot .refuse ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px 28px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.foot-links { width: 100%; display: flex; flex-wrap: wrap; gap: 10px 24px; padding-top: 20px; border-top: 1px solid var(--rule-soft); font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; }
.foot-links .note { margin-left: auto; color: var(--muted); text-transform: none; letter-spacing: 0; }

/* Article */
.a-head { max-width: 940px; margin: 0 auto; padding: 56px 0 40px; text-align: center; display: flex; flex-direction: column; gap: 22px; align-items: center; }
.a-head .k { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; }
.a-head h1 { margin: 0; font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: var(--h1-article); line-height: 1.02; letter-spacing: -0.015em; }
.a-head .sf { margin: 0; font-family: var(--font-text); font-size: 23px; line-height: 1.45; color: var(--ink-2); max-width: 760px; }
.a-head .m { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; }
.review-note { max-width: 700px; margin: 0 auto 32px; border: 1px solid var(--vermilion); padding: 14px 18px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.review-note b { color: var(--vermilion); letter-spacing: 0.12em; text-transform: uppercase; font-size: 12px; margin-right: 8px; }
.a-plate { margin: 0 auto 48px; max-width: 1180px; }
.body { max-width: 700px; margin: 0 auto; font-family: var(--font-text); font-size: var(--body); line-height: var(--body-leading); display: flex; flex-direction: column; gap: 22px; }
.body p, .body ul, .body ol, .body table { margin: 0; }
.body a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--vermilion); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.body a:hover { color: var(--vermilion); }
.body > p:first-child::first-letter { float: left; font-family: var(--font-display); font-weight: 600; font-size: 88px; line-height: 0.8; padding: 8px 10px 0 0; color: var(--vermilion); }
.body h2 { margin: 18px 0 0; font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: var(--h2); line-height: 1.15; }
.body ul, .body ol { padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }
.body strong { font-weight: 600; }
.table-wrap { overflow-x: auto; margin: 0 -8px; }
.body table { border-collapse: collapse; font-family: var(--font-ui); font-size: 14px; line-height: 1.45; width: 100%; min-width: 620px; }
.body th { text-align: left; font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; border-bottom: var(--rule); padding: 8px; }
.body td { border-bottom: 1px solid var(--rule-soft); padding: 10px 8px; vertical-align: top; }
mark.verify { background: var(--highlight); color: var(--ink); padding: 0 4px; font-family: var(--font-ui); font-size: 0.75em; font-weight: 600; letter-spacing: 0.04em; }

.box-source { background: var(--ink); color: var(--paper); padding: 24px 28px; display: flex; flex-direction: column; gap: 12px; font-family: var(--font-ui); }
.box-source .t { font-family: var(--font-display); font-style: italic; font-size: 24px; }
.box-source q { quotes: none; font-family: var(--font-display); font-size: 25px; line-height: 1.4; }
.box-source cite { font-style: normal; font-size: 13.5px; color: var(--on-dark-muted); line-height: 1.5; }
.box-source a, .box-money a, .box-sentence a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: currentColor; }
.box-sentence { background: var(--vermilion); color: var(--paper); padding: 26px 28px; display: flex; flex-direction: column; gap: 10px; }
.box-sentence .lbl { color: var(--paper); }
.box-sentence div { font-family: var(--font-display); font-size: 22px; line-height: 1.4; }
.box-sentence p { margin: 0; }
.box-money { background: var(--jade); color: var(--paper); padding: 28px 30px; display: flex; flex-direction: column; gap: 20px; font-family: var(--font-ui); }
.box-money .hd { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--paper); padding-bottom: 10px; gap: 12px; flex-wrap: wrap; }
.box-money .hd b { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: 30px; }
.box-money .figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px 24px; }
.box-money .fig { display: flex; flex-direction: column; gap: 6px; }
.box-money .fig .n { font-family: var(--font-display); font-size: 40px; line-height: 1.02; }
.box-money .fig .d { font-size: 14px; line-height: 1.45; }
.box-money ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 15.5px; line-height: 1.55; border-top: 1px solid rgba(242, 237, 227, 0.4); padding-top: 16px; }
.box-money ul b { font-weight: 600; }
.box-unknown { border-top: var(--rule); border-bottom: var(--rule); padding: 22px 0; display: flex; flex-direction: column; gap: 10px; }
.box-unknown .t { font-family: var(--font-display); font-style: italic; font-size: 30px; line-height: 1.15; }
.box-unknown p { margin: 0; }

.reads { max-width: 1180px; margin: 64px auto 0; border-top: var(--rule); padding-top: 28px; display: flex; flex-wrap: wrap; gap: 24px 48px; }
.reads .t { flex: 1 1 260px; display: flex; flex-direction: column; gap: 8px; }
.reads .t b { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: 38px; line-height: 1.05; }
.reads .t span { font-size: 14px; color: var(--muted); line-height: 1.5; }
.reads ol { flex: 999 1 560px; margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 12px; font-size: 16px; line-height: 1.5; }
.reads a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--vermilion); }
.cta-dark { max-width: 1180px; margin: 56px auto 0; background: var(--ink); color: var(--paper); padding: 40px; display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; }
.cta-dark span { flex: 999 1 520px; font-family: var(--font-display); font-style: italic; font-size: 40px; line-height: 1.1; }
.related { max-width: 1180px; margin: 56px auto 0; display: flex; flex-direction: column; gap: 12px; }

/* Vertical and index pages */
.page-head { padding: 48px 0 32px; border-bottom: var(--rule); display: flex; flex-wrap: wrap; gap: 20px 48px; align-items: flex-end; justify-content: space-between; }
.page-head h1 { margin: 0; font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: clamp(64px, 11vw, 150px); line-height: 0.9; letter-spacing: -0.02em; }
.page-head p { margin: 0; max-width: 460px; font-family: var(--font-display); font-size: 21px; line-height: 1.45; color: var(--ink-2); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 40px 32px; padding: 40px 0; border-bottom: var(--rule); }
.card { display: flex; flex-direction: column; gap: 12px; }
.card .frame { aspect-ratio: 3 / 2; border: var(--rule); overflow: hidden; background: var(--paper-deep); }
.card .h { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 27px; line-height: 1.12; }
.card p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); }

/* The Source page */
.docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 48px 40px; padding: 48px 10px 56px 0; border-bottom: var(--rule); }
.doc { background: var(--paper-light); border: var(--rule); box-shadow: var(--hard-shadow); padding: 26px 26px 22px; display: flex; flex-direction: column; gap: 16px; }
.doc .top { display: flex; justify-content: space-between; gap: 12px; font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.doc .lines { display: flex; flex-direction: column; gap: 8px; }
.doc .lines i { display: block; height: 6px; background: var(--rule-soft); }
.doc q { quotes: none; font-family: var(--font-display); font-size: 22px; line-height: 1.4; }
.hl { background: var(--highlight); padding: 1px 4px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.doc cite { font-style: normal; font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.doc cite a { text-decoration: underline; text-underline-offset: 2px; }
.doc .go { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; border-top: 1px solid var(--rule-soft); padding-top: 12px; }

/* Prose pages (about, letter) */
.prose { max-width: 760px; margin: 0 auto; padding: 48px 0 24px; font-family: var(--font-text); font-size: 21px; line-height: 1.62; display: flex; flex-direction: column; gap: 22px; }
.prose p { margin: 0; }
.prose h2 { margin: 26px 0 0; font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 36px; line-height: 1.15; }
.prose .big { font-family: var(--font-display); font-style: italic; font-size: 34px; line-height: 1.25; }
.prose ul, .prose ol { margin: 0; padding-left: 24px; display: flex; flex-direction: column; gap: 8px; }
.prose a { text-decoration: underline; text-decoration-color: var(--vermilion); text-underline-offset: 3px; }
.vtable { width: 100%; border-collapse: collapse; font-family: var(--font-ui); font-size: 15px; line-height: 1.45; }
.vtable th { text-align: left; font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: 24px; padding: 12px 16px 12px 0; border-top: 1px solid var(--rule-soft); vertical-align: top; width: 130px; }
.vtable td { padding: 16px 0; border-top: 1px solid var(--rule-soft); color: var(--ink-2); }
.placeholder { background: var(--paper-deep); border-left: 3px solid var(--ochre); padding: 16px 20px; font-family: var(--font-ui); font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.compare { display: grid; grid-template-columns: 1fr 1fr; border-top: var(--rule); font-size: 16px; }
.compare div { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--rule-soft); font-family: var(--font-ui); color: var(--muted); }
.compare div:nth-child(2n) { padding-left: 16px; border-left: 1px solid var(--rule-soft); font-family: var(--font-display); font-style: italic; font-size: 20px; color: var(--ink); }
.compare .h { font-size: 11.5px !important; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; font-family: var(--font-ui) !important; font-style: normal !important; color: var(--ink) !important; }

/* The Day page */
.day-page { display: flex; flex-wrap: wrap; gap: 40px; padding: 40px 0; border-bottom: var(--rule); }
.day-page ol { flex: 999 1 600px; list-style: none; margin: 0; padding: 0; counter-reset: d; }
.day-page li { counter-increment: d; display: grid; grid-template-columns: 72px 1fr; gap: 4px 20px; padding: 22px 0; border-bottom: 1px solid var(--rule-soft); }
.day-page li::before { content: counter(d); grid-row: span 3; font-family: var(--font-display); font-weight: 600; font-size: 64px; line-height: 0.9; color: var(--vermilion); }
.day-page li .h { font-family: var(--font-display); font-size: 28px; line-height: 1.22; }
.day-page aside { flex: 1 1 300px; }

/* Studio (Instagram) */
.studio-intro { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px 40px; padding: 32px 0; border-bottom: var(--rule); font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.studio-intro b { display: block; font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: 24px; color: var(--ink); margin-bottom: 6px; }
.set { padding: 36px 0; border-bottom: var(--rule); display: flex; flex-direction: column; gap: 18px; }
.set-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px 24px; flex-wrap: wrap; }
.set-head .h { font-family: var(--font-display); font-style: italic; font-size: 28px; line-height: 1.15; }
.strip { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; }
.thumb { flex: 0 0 auto; scroll-snap-align: start; display: flex; flex-direction: column; gap: 8px; }
.thumb .scaler { width: 270px; height: 337.5px; overflow: hidden; position: relative; border: 1px solid var(--rule-soft); }
.thumb .scaler > .slide { transform: scale(0.25); transform-origin: 0 0; position: absolute; left: 0; top: 0; }
.thumb .dl { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; }
.thumb .dl a { text-decoration: underline; text-underline-offset: 3px; }
.caption { display: flex; flex-direction: column; gap: 8px; }
.caption textarea { font-family: var(--font-ui); font-size: 14px; line-height: 1.5; padding: 12px; border: var(--rule); background: var(--paper-light); color: var(--ink); min-height: 150px; resize: vertical; border-radius: 0; width: 100%; }
.caption .row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.btn-line { font-family: var(--font-ui); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; background: transparent; border: var(--rule); padding: 9px 14px; cursor: pointer; color: var(--ink); border-radius: 0; }
.btn-line:hover { background: var(--ink); color: var(--paper); }

/* Responsive */
@media (max-width: 1080px) {
  .vgrid { grid-template-columns: repeat(2, 1fr); }
  .vgrid article, .vgrid article:first-child, .vgrid article:last-child { padding: 22px 18px 24px; border-left: 0; }
  .vgrid article:nth-child(2n) { border-left: var(--rule); }
  .vgrid article:nth-child(2n+1) { padding-left: 0; }
}
@media (max-width: 760px) {
  :root { --gutter: 16px; --h2: 30px; --body: 19px; }
  .mast .sig { font-size: 21px; }
  .mast.small .name { font-size: 46px; }
  .topbar { font-size: 11px; gap: 8px 16px; }
  .topbar .mock { display: none; }
  .verticals-nav { gap: 6px 20px; font-size: 12px; }
  .day { border-left: 0; padding-left: 0; border-top: var(--rule); padding-top: 20px; }
  .source-band { padding: 26px 22px; }
  .source-band q { font-size: 21px; }
  .vgrid { grid-template-columns: 1fr; }
  .vgrid article, .vgrid article:nth-child(n) { padding: 20px 0; border-left: 0; }
  .ledger-row { grid-template-columns: 1fr; gap: 6px; }
  .a-head { padding: 36px 0 28px; }
  .a-head .sf { font-size: 19px; }
  .body > p:first-child::first-letter { font-size: 70px; }
  .box-source, .box-money, .box-sentence { margin: 0 -4px; padding: 22px 20px; }
  .box-source q { font-size: 21px; }
  .cta-dark { padding: 28px 22px; }
  .cta-dark span { font-size: 30px; }
  .docs { grid-template-columns: 1fr; }
  .doc { box-shadow: 6px 6px 0 var(--ink); }
  .prose { font-size: 19px; }
  .compare { grid-template-columns: 1fr; }
  .compare div:nth-child(2n) { padding-left: 0; border-left: 0; }
  .foot-links .note { margin-left: 0; }
  .day-page li { grid-template-columns: 44px 1fr; }
  .day-page li::before { font-size: 42px; }
  .day-page li .h { font-size: 22px; }
}

/* Wordmark: lower optical size gives thicker hairlines; tracking loosened so serifs don't touch. */
.mast .name, .foot .brand .n { font-variation-settings: 'opsz' 24; letter-spacing: -0.02em; }

/* ---------- Smoothness ---------- */
/* Page to page: a short cross-fade instead of a white flash (Chrome, Edge, Safari 18.2+). */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 180ms; animation-timing-function: ease-out; }
html { scroll-behavior: smooth; }

/* Hover: nothing turns grey any more. Labels go vermilion, headlines get a fine vermilion underline. */
a, .btn-ink, .btn-paper, .btn-line { transition: color 0.2s ease, background-color 0.2s ease, text-decoration-color 0.25s ease; }
.mast .name:hover, .foot .brand .n:hover { color: var(--ink); }
.topbar a:hover, .verticals-nav a:hover, .foot-links a:hover, .lbl a:hover, .go:hover { color: var(--vermilion); }
.h-lead a, a.h, .item .h, .day-head a.t, .section-head a.t, .vgrid a.vn, .reads a, .meta a {
  text-decoration-line: underline; text-decoration-thickness: 1px; text-underline-offset: 0.14em; text-decoration-color: transparent;
}
.meta a, .reads a { text-decoration-color: var(--rule-soft); }
.h-lead a:hover, a.h:hover, .item:hover .h, .day-head a.t:hover, .section-head a.t:hover, .vgrid a.vn:hover, .reads a:hover, .meta a:hover {
  color: inherit; text-decoration-color: var(--vermilion);
}
.item { transition: none; }
.item:hover { color: var(--ink); }

/* Plates breathe a little on hover. */
.frame { display: block; }
.frame svg { transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
a.frame:hover svg { transform: scale(1.025); }

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
