/* ============================================================================
   Monolith — an architectural design review. A brutalist-editorial system: concrete
   off-white paper, near-black ink, HEAVY black rules and hairlines, oversized flush-left
   Archivo Black display, Space Mono labels/coordinates, ONE reserved signal-red accent.
   The signature layout is "The Index" — a ruled, tabular contents ledger (no card soup).
   Deliberately NO gradients, glass or soft shadows: structure, grid and type instead.
   Every colour is a token so a per-site variant can retint without touching structure.
   ========================================================================== */
:root {
  --mo-accent: #e5361f;          /* signal red — used sparingly (marks, active, rules) */
  --mo-accent-ink: #b8260f;
  --mo-ink: #0b0b0c;             /* near-black */
  --mo-ink-2: #35353a;
  --mo-ink-3: #6a6a72;
  --mo-ink-4: #9d9da6;
  --mo-paper: #f3f2ec;           /* concrete off-white */
  --mo-surface: #ffffff;
  --mo-wash: #e7e6de;            /* alt-section tint */
  --mo-fill: #dcdbd1;            /* placeholder concrete */
  --mo-line: #d3d2c8;            /* hairline */
  --mo-line-strong: #0b0b0c;     /* the heavy black rule */
  --mo-display: "Archivo Black", "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mo-body: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mo-mono: "Space Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --mo-maxw: 1240px;
  --mo-gut: 30px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--mo-ink); background: var(--mo-paper);
  font-family: var(--mo-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.mo-wrap { max-width: var(--mo-maxw); margin: 0 auto; padding: 0 var(--mo-gut); }
.mono { font-family: var(--mo-mono); }

/* placeholder concrete block — a faint blueprint grid, an architectural tell */
.mo-ph { display: block; width: 100%; height: 100%; background: var(--mo-fill); position: relative; overflow: hidden; }
.mo-ph::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(11,11,12,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(11,11,12,.06) 1px, transparent 1px);
  background-size: 30px 30px; background-position: -1px -1px;
}
.mo-ph.t2 { background: #e2e0d5; } .mo-ph.t3 { background: #dedcd0; } .mo-ph.t4 { background: #d8d7cd; }
.mo-ph.ink { background: var(--mo-ink); }
.mo-ph.ink::after { background-image: linear-gradient(rgba(255,255,255,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.09) 1px, transparent 1px); }

/* ---------- top issue bar ---------- */
.mo-topbar { border-bottom: 1px solid var(--mo-line-strong); background: var(--mo-ink); color: #f3f2ec; }
.mo-topbar .mo-wrap { display: flex; align-items: center; justify-content: space-between; height: 34px; gap: 16px; }
.mo-topbar span { font-family: var(--mo-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.mo-topbar .mo-tb-mid { color: rgba(243,242,236,.6); overflow: hidden; text-overflow: ellipsis; }
.mo-topbar .mo-tb-r { color: var(--mo-accent); }

/* ---------- masthead ---------- */
.mo-mast { border-bottom: 3px solid var(--mo-line-strong); background: var(--mo-paper); position: sticky; top: 0; z-index: 40; }
.mo-mast-in { display: flex; align-items: center; gap: 26px; height: 78px; }
.mo-brand { display: flex; align-items: center; gap: 12px; font-family: var(--mo-display); font-size: 30px; letter-spacing: -0.02em; text-transform: uppercase; color: var(--mo-ink); line-height: 1; }
.mo-brand .mo-logo { width: 30px; height: 30px; }
.mo-nav { margin-left: auto; display: flex; align-items: stretch; gap: 0; }
.mo-nav a { display: flex; align-items: center; padding: 0 15px; height: 78px; font-family: var(--mo-mono); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--mo-ink-2); border-left: 1px solid var(--mo-line); position: relative; transition: color .14s, background .14s; }
.mo-nav a:hover { color: var(--mo-ink); background: var(--mo-wash); }
.mo-nav a.is-active { color: var(--mo-ink); }
.mo-nav a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--mo-accent); }
.mo-mast-cta { margin-left: 8px; }
.mo-btn { display: inline-flex; align-items: center; gap: 9px; font-family: var(--mo-mono); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; padding: 12px 20px; border: 2px solid var(--mo-line-strong); background: var(--mo-ink); color: #fff; cursor: pointer; border-radius: 0; transition: background .15s, color .15s, transform .1s; }
.mo-btn:hover { background: var(--mo-accent); border-color: var(--mo-accent); }
.mo-btn:active { transform: translateY(1px); }
.mo-btn-ghost { background: transparent; color: var(--mo-ink); }
.mo-btn-ghost:hover { background: var(--mo-ink); color: #fff; border-color: var(--mo-ink); }

/* ---------- shared bits ---------- */
.mo-kicker { display: inline-block; font-family: var(--mo-mono); font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--mo-ink); }
.mo-kicker .ac, .mo-kicker.ac { color: var(--mo-accent); }
.mo-byline { font-family: var(--mo-mono); font-size: 12px; letter-spacing: .03em; color: var(--mo-ink-3); text-transform: uppercase; }
.mo-byline b { color: var(--mo-ink); font-weight: 700; }
.mo-more { font-family: var(--mo-mono); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--mo-ink); display: inline-flex; align-items: center; gap: 8px; }
.mo-more .ar { transition: transform .2s cubic-bezier(.22,.7,.24,1); }
.mo-more:hover { color: var(--mo-accent); }
.mo-more:hover .ar { transform: translateX(4px); }

/* ---------- section frame ---------- */
.mo-sec { padding: 60px 0; }
.mo-sec.wash { background: var(--mo-wash); }
.mo-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding-bottom: 16px; margin-bottom: 4px; border-bottom: 3px solid var(--mo-line-strong); }
.mo-sec-head h2 { font-family: var(--mo-display); font-size: clamp(24px, 3.2vw, 40px); letter-spacing: -0.02em; text-transform: uppercase; margin: 0; line-height: .95; display: flex; align-items: baseline; gap: 16px; }
.mo-sec-head .mo-idx { font-family: var(--mo-mono); font-size: 15px; font-weight: 700; color: var(--mo-accent); letter-spacing: 0; }

/* ---------- hero ---------- */
.mo-hero { padding: 0; border-bottom: 3px solid var(--mo-line-strong); }
.mo-hero-top { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--mo-line-strong); }
.mo-hero-top .mo-mono { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--mo-ink-3); }
.mo-hero-top .l { color: var(--mo-ink); font-weight: 700; }
.mo-hero-grid { display: grid; grid-template-columns: 96px 1.12fr 0.88fr; }
.mo-hero-spine { border-right: 1px solid var(--mo-line-strong); padding: 34px 0 34px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; min-height: 440px; }
.mo-spine-num { font-family: var(--mo-display); font-size: 46px; line-height: .8; color: var(--mo-ink); }
.mo-spine-num::after { content: ""; display: block; width: 26px; height: 5px; background: var(--mo-accent); margin: 14px auto 0; }
.mo-spine-label { font-family: var(--mo-mono); font-size: 12px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--mo-ink-3); writing-mode: vertical-rl; transform: rotate(180deg); }
.mo-hero-main { padding: 40px 44px 40px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--mo-line-strong); }
.mo-hero-main .mo-eyebrow { margin-bottom: 22px; display: flex; align-items: center; gap: 12px; }
.mo-hero-main .mo-eyebrow .ln { flex: 1; height: 2px; background: var(--mo-ink); }
.mo-hero-main h1 { font-family: var(--mo-display); font-size: clamp(40px, 5.4vw, 72px); line-height: .95; letter-spacing: -0.028em; text-transform: uppercase; margin: 0; }
.mo-hero-main h1 a { display: inline; background-image: linear-gradient(var(--mo-accent), var(--mo-accent)); background-size: 0% 6px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .32s cubic-bezier(.22,.7,.24,1); }
.mo-hero-main h1 a:hover { background-size: 100% 6px; }
.mo-hero-main .mo-dek { font-size: clamp(17px, 1.5vw, 19px); color: var(--mo-ink-2); margin: 26px 0 0; max-width: 46ch; line-height: 1.5; }
.mo-hero-main .mo-hero-meta { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--mo-line); }
.mo-hero-fig { overflow: hidden; }
.mo-hero-fig .mo-ph, .mo-hero-fig img { width: 100%; height: 100%; min-height: 440px; object-fit: cover; }

/* ---------- The Index — ruled tabular contents (the signature) ---------- */
.mo-ledger { border-top: 3px solid var(--mo-line-strong); }
.mo-led-row { display: grid; grid-template-columns: 58px 132px 1fr 168px 34px; align-items: center; gap: 22px; padding: 22px 8px 22px 0; border-bottom: 1px solid var(--mo-line); position: relative; transition: padding-left .2s cubic-bezier(.22,.7,.24,1); }
.mo-led-row::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--mo-accent); transition: width .2s cubic-bezier(.22,.7,.24,1); }
.mo-led-row:hover { padding-left: 20px; }
.mo-led-row:hover::before { width: 5px; }
.mo-led-num { font-family: var(--mo-mono); font-size: 15px; font-weight: 700; color: var(--mo-ink-4); }
.mo-led-row:hover .mo-led-num { color: var(--mo-accent); }
.mo-led-cat { font-family: var(--mo-mono); font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--mo-ink-3); }
.mo-led-title { font-family: var(--mo-display); font-size: clamp(19px, 1.9vw, 25px); line-height: 1.08; letter-spacing: -0.018em; text-transform: uppercase; color: var(--mo-ink); }
.mo-led-title:hover { color: var(--mo-accent); }
.mo-led-by { font-family: var(--mo-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--mo-ink-3); text-align: right; }
.mo-led-arrow { font-family: var(--mo-body); font-weight: 800; font-size: 20px; color: var(--mo-ink-4); text-align: right; transition: transform .2s cubic-bezier(.22,.7,.24,1), color .16s; }
.mo-led-row:hover .mo-led-arrow { color: var(--mo-ink); transform: translateX(5px); }
/* ledger with thumbnails (used on the blog/archive — thumbnails are mandatory there) */
.mo-ledger.thumbs .mo-led-row { grid-template-columns: 52px 108px 118px 1fr 150px 30px; }
.mo-led-thumb { width: 108px; aspect-ratio: 4/3; overflow: hidden; border: 1.5px solid var(--mo-line-strong); background: var(--mo-fill); }
.mo-led-thumb .mo-ph, .mo-led-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.22,.7,.24,1); }
.mo-led-row:hover .mo-led-thumb .mo-ph, .mo-led-row:hover .mo-led-thumb img { transform: scale(1.06); }
@media (max-width: 820px) {
  .mo-led-row { grid-template-columns: 40px 1fr 26px; gap: 14px; }
  .mo-ledger.thumbs .mo-led-row { grid-template-columns: 34px 76px 1fr 24px; }
  .mo-led-cat, .mo-led-by { display: none; }
}

/* ---------- Selected works — image tiles with overlaid numbers ---------- */
.mo-works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 3px solid var(--mo-line-strong); border-left: 1px solid var(--mo-line-strong); }
.mo-work { display: flex; flex-direction: column; border-right: 1px solid var(--mo-line-strong); border-bottom: 1px solid var(--mo-line-strong); }
.mo-work-fig { position: relative; aspect-ratio: 4/3; overflow: hidden; border-bottom: 1px solid var(--mo-line-strong); }
.mo-work-fig .mo-ph, .mo-work-fig img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.22,.7,.24,1); }
.mo-work:hover .mo-work-fig .mo-ph, .mo-work:hover .mo-work-fig img { transform: scale(1.05); }
.mo-work-no { position: absolute; top: 0; left: 0; font-family: var(--mo-display); font-size: 15px; color: #fff; background: var(--mo-ink); padding: 8px 12px; letter-spacing: .02em; }
.mo-work-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.mo-work-body .mo-kicker .ac { color: var(--mo-accent); }
.mo-work-body h3 { font-family: var(--mo-display); font-size: 20px; line-height: 1.1; letter-spacing: -0.015em; text-transform: uppercase; margin: 0; }
.mo-work-body h3 a:hover { color: var(--mo-accent); }
.mo-work-body .mo-byline { margin-top: auto; }
@media (max-width: 900px) { .mo-works { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .mo-works { grid-template-columns: 1fr; } }

/* ---------- Statement band — a big editorial manifesto ---------- */
.mo-statement { border-top: 3px solid var(--mo-line-strong); border-bottom: 3px solid var(--mo-line-strong); padding: 72px 0; background: var(--mo-paper); }
.mo-statement .mo-mono { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--mo-accent); margin-bottom: 26px; }
.mo-statement blockquote { margin: 0; font-family: var(--mo-display); font-size: clamp(28px, 4.4vw, 58px); line-height: 1.02; letter-spacing: -0.028em; text-transform: uppercase; max-width: 20ch; }
.mo-statement blockquote .hi { color: var(--mo-accent); }
.mo-statement-by { margin-top: 30px; font-family: var(--mo-mono); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--mo-ink-3); }

/* ---------- Dispatches — quick mono notes (4-up, ruled) ---------- */
.mo-notes { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 3px solid var(--mo-line-strong); }
.mo-note { display: flex; flex-direction: column; gap: 12px; padding: 26px 24px 26px 0; border-right: 1px solid var(--mo-line); }
.mo-note:last-child { border-right: 0; }
.mo-note .mo-note-top { display: flex; align-items: center; justify-content: space-between; }
.mo-note .mo-note-no { font-family: var(--mo-mono); font-size: 12px; font-weight: 700; color: var(--mo-accent); }
.mo-note .mo-note-tag { font-family: var(--mo-mono); font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--mo-ink-3); }
.mo-note h4 { font-family: var(--mo-display); font-size: 17px; line-height: 1.14; letter-spacing: -0.01em; text-transform: uppercase; margin: 0; transition: color .16s; }
.mo-note:hover h4 { color: var(--mo-accent); }
.mo-note .mo-byline { margin-top: auto; }
@media (max-width: 820px) { .mo-notes { grid-template-columns: repeat(2, 1fr); }
  .mo-note { border-right: 0; border-bottom: 1px solid var(--mo-line); padding: 22px 0; }
  .mo-note:nth-child(odd) { padding-right: 20px; } }
@media (max-width: 480px) { .mo-notes { grid-template-columns: 1fr; } }

/* ---------- The Map (resource directory) ---------- */
.mo-mapwrap { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: start; }
.mo-mapwrap .mo-intro h2 { font-family: var(--mo-display); font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -0.022em; text-transform: uppercase; line-height: .98; margin: 14px 0 0; }
.mo-mapwrap .mo-intro p { color: var(--mo-ink-2); margin: 18px 0 0; max-width: 32ch; }
@media (max-width: 860px) { .mo-mapwrap { grid-template-columns: 1fr; gap: 26px; } }

/* ---------- CTA — stark black block ---------- */
.mo-cta { background: var(--mo-ink); color: #fff; border-top: 3px solid var(--mo-line-strong); }
.mo-cta-in { max-width: var(--mo-maxw); margin: 0 auto; padding: 64px var(--mo-gut); display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 40px; align-items: center; }
.mo-cta .mo-mono { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--mo-accent); margin-bottom: 20px; }
.mo-cta h2 { font-family: var(--mo-display); font-size: clamp(28px, 3.8vw, 50px); letter-spacing: -0.026em; text-transform: uppercase; line-height: .98; margin: 0; max-width: 16ch; }
.mo-cta p { color: rgba(255,255,255,.6); margin: 16px 0 0; max-width: 42ch; font-family: var(--mo-mono); font-size: 13px; line-height: 1.7; }
.mo-cta .mo-cta-act { display: flex; justify-content: flex-end; }
.mo-cta .mo-btn { background: #fff; color: var(--mo-ink); border-color: #fff; }
.mo-cta .mo-btn:hover { background: var(--mo-accent); color: #fff; border-color: var(--mo-accent); }
@media (max-width: 760px) { .mo-cta-in { grid-template-columns: 1fr; gap: 26px; } .mo-cta .mo-cta-act { justify-content: flex-start; } }

/* ---------- footer ---------- */
.mo-foot { border-top: 3px solid var(--mo-line-strong); padding: 52px 0 60px; }
.mo-foot-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.mo-foot-brand { font-family: var(--mo-display); font-size: 30px; text-transform: uppercase; letter-spacing: -0.02em; line-height: 1; }
.mo-foot-brand + p { color: var(--mo-ink-3); font-family: var(--mo-mono); font-size: 12.5px; line-height: 1.7; margin: 16px 0 0; max-width: 34ch; }
.mo-foot h5 { font-family: var(--mo-mono); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--mo-ink-3); margin: 0 0 16px; padding-bottom: 10px; border-bottom: 1px solid var(--mo-line); }
.mo-foot a { display: block; padding: 6px 0; font-size: 14.5px; color: var(--mo-ink-2); }
.mo-foot a:hover { color: var(--mo-accent); }
.mo-foot-bottom { margin-top: 40px; padding-top: 18px; border-top: 3px solid var(--mo-line-strong); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-family: var(--mo-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--mo-ink-3); }
@media (max-width: 820px) { .mo-foot-top { grid-template-columns: 1fr 1fr; gap: 26px; } }

/* ============================================================
   Single post — universal post layout: TOC (mandatory) + brutalist typography
   ============================================================ */
.mo-article { padding-top: 34px; }
.mo-crumb { font-family: var(--mo-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--mo-ink-3); display: flex; flex-wrap: wrap; gap: 8px; }
.mo-crumb a:hover { color: var(--mo-accent); }
.mo-art-head { max-width: 900px; margin: 24px 0 0; }
.mo-art-head .mo-kicker { color: var(--mo-accent); }
.mo-art-head h1 { font-family: var(--mo-display); font-size: clamp(32px, 5vw, 62px); line-height: .96; letter-spacing: -0.03em; text-transform: uppercase; margin: 16px 0 0; }
.mo-art-head .mo-standfirst { font-size: clamp(18px, 1.8vw, 21px); line-height: 1.5; color: var(--mo-ink-2); margin: 22px 0 0; max-width: 58ch; }
.mo-art-meta { display: grid; grid-auto-flow: column; justify-content: start; gap: 0; margin: 28px 0 0; border-top: 3px solid var(--mo-line-strong); border-bottom: 1px solid var(--mo-line); }
.mo-art-meta .mo-mi { padding: 16px 26px 16px 0; display: flex; flex-direction: column; gap: 4px; border-right: 1px solid var(--mo-line); }
.mo-art-meta .mo-mi:not(:first-child) { padding-left: 26px; }
.mo-art-meta .mo-mi:last-child { border-right: 0; }
.mo-art-meta .k { font-family: var(--mo-mono); font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--mo-ink-4); }
.mo-art-meta .v { font-family: var(--mo-mono); font-size: 13px; font-weight: 700; text-transform: uppercase; color: var(--mo-ink); }
.mo-art-fig { margin: 30px 0 0; overflow: hidden; border: 1px solid var(--mo-line-strong); }
.mo-art-fig .mo-ph, .mo-art-fig img { width: 100%; aspect-ratio: 16/8; object-fit: cover; }
.mo-art-fig figcaption { font-family: var(--mo-mono); font-size: 12px; color: var(--mo-ink-3); padding: 10px 14px; border-top: 1px solid var(--mo-line); text-transform: uppercase; letter-spacing: .03em; }

.mo-art-body { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 60px; margin: 48px 0 0; align-items: start; }

/* Table of contents — REQUIRED in every theme */
.mo-toc { position: sticky; top: 100px; align-self: start; border-top: 3px solid var(--mo-line-strong); }
.mo-toc-h { font-family: var(--mo-mono); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--mo-ink); padding: 12px 0 12px; }
.mo-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.mo-toc li { counter-increment: toc; border-top: 1px solid var(--mo-line); }
.mo-toc a { display: grid; grid-template-columns: 26px 1fr; gap: 8px; padding: 11px 0; font-size: 13.5px; line-height: 1.3; color: var(--mo-ink-3); transition: color .14s, padding-left .16s; }
.mo-toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--mo-mono); font-size: 11px; font-weight: 700; color: var(--mo-ink-4); }
.mo-toc a:hover { color: var(--mo-ink); padding-left: 5px; }
.mo-toc a.is-active { color: var(--mo-accent); }
.mo-toc a.is-active::before { color: var(--mo-accent); }

/* article richtext (.mono-rt = the universal content wrapper) */
.mono-rt { font-size: 18.5px; line-height: 1.76; color: var(--mo-ink); max-width: 68ch; }
.mono-rt > *:first-child { margin-top: 0; }
.mono-rt p { margin: 0 0 1.25em; }
.mono-rt > p:first-of-type { font-size: 22px; line-height: 1.5; color: var(--mo-ink); }
.mono-rt h2 { font-family: var(--mo-display); font-size: 27px; letter-spacing: -0.02em; line-height: 1.1; text-transform: uppercase; margin: 1.9em 0 .5em; padding-top: .6em; border-top: 3px solid var(--mo-line-strong); counter-increment: h2; position: relative; }
.mono-rt h2::before { content: counter(h2, decimal-leading-zero); position: absolute; top: .7em; right: 0; font-family: var(--mo-mono); font-size: 13px; font-weight: 700; color: var(--mo-accent); }
.mono-rt { counter-reset: h2; }
.mono-rt h3 { font-family: var(--mo-display); font-size: 19px; letter-spacing: -0.01em; text-transform: uppercase; margin: 1.7em 0 .4em; }
.mono-rt a { color: var(--mo-accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.mono-rt ul, .mono-rt ol { margin: 0 0 1.3em; padding-left: 0; list-style: none; }
.mono-rt ul li, .mono-rt ol li { margin: .5em 0; padding-left: 1.6em; position: relative; }
.mono-rt ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: 9px; height: 9px; background: var(--mo-accent); }
.mono-rt ol { counter-reset: li; }
.mono-rt ol li { counter-increment: li; }
.mono-rt ol li::before { content: counter(li, decimal-leading-zero); position: absolute; left: 0; top: .1em; font-family: var(--mo-mono); font-size: 12px; font-weight: 700; color: var(--mo-accent); }
.mono-rt blockquote { margin: 1.9em 0; padding: 26px 0; border-top: 3px solid var(--mo-line-strong); border-bottom: 3px solid var(--mo-line-strong); font-family: var(--mo-display); font-size: 26px; line-height: 1.1; letter-spacing: -0.018em; text-transform: uppercase; color: var(--mo-ink); }
.mono-rt blockquote p { margin: 0; }
.mono-rt img { margin: 1.8em 0; border: 1px solid var(--mo-line-strong); }
.mono-rt figure { margin: 1.8em 0; }
.mono-rt figcaption { font-family: var(--mo-mono); font-size: 12.5px; color: var(--mo-ink-3); margin-top: 8px; text-transform: uppercase; letter-spacing: .03em; }
.mono-rt code { font-family: var(--mo-mono); font-size: .85em; background: var(--mo-wash); padding: 2px 6px; border: 1px solid var(--mo-line); }
.mono-rt hr { border: 0; height: 3px; background: var(--mo-line-strong); margin: 2.4em 0; }

.mo-endmark { margin: 44px 0 0; padding-top: 22px; border-top: 3px solid var(--mo-line-strong); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.mo-tag { font-family: var(--mo-mono); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--mo-ink-2); border: 1.5px solid var(--mo-line-strong); padding: 7px 12px; }
.mo-tag:hover { background: var(--mo-ink); color: #fff; }
.mo-share { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.mo-share .lbl { font-family: var(--mo-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--mo-ink-4); }
.mo-share a { font-family: var(--mo-mono); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--mo-ink-3); border-bottom: 2px solid transparent; }
.mo-share a:hover { color: var(--mo-ink); border-bottom-color: var(--mo-accent); }

.mo-art-body.no-toc { grid-template-columns: minmax(0, 760px); justify-content: center; }
@media (max-width: 880px) {
  .mo-art-body { grid-template-columns: 1fr; gap: 24px; }
  .mo-toc { position: static; }
  .mono-rt { max-width: none; }
  .mono-rt h2::before { position: static; display: block; margin-bottom: 4px; }
}

/* related cards */
.mo-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 3px solid var(--mo-line-strong); border-left: 1px solid var(--mo-line-strong); }
.mo-card { display: flex; flex-direction: column; border-right: 1px solid var(--mo-line-strong); border-bottom: 1px solid var(--mo-line-strong); }
.mo-card-fig { aspect-ratio: 3/2; overflow: hidden; border-bottom: 1px solid var(--mo-line-strong); }
.mo-card-fig .mo-ph, .mo-card-fig img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.22,.7,.24,1); }
.mo-card:hover .mo-card-fig .mo-ph, .mo-card:hover .mo-card-fig img { transform: scale(1.05); }
.mo-card-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.mo-card-body h3 { font-family: var(--mo-display); font-size: 18px; line-height: 1.12; letter-spacing: -0.015em; text-transform: uppercase; margin: 0; }
.mo-card-body h3 a:hover { color: var(--mo-accent); }
.mo-card-body .mo-byline { margin-top: auto; }
@media (max-width: 820px) { .mo-cards { grid-template-columns: 1fr; } }

/* ---------- archive / blog head + filter ---------- */
.mo-arch-head { padding: 52px 0 0; }
.mo-arch-head .mo-kicker { display: block; margin-bottom: 16px; color: var(--mo-accent); }
.mo-arch-head h1 { font-family: var(--mo-display); font-size: clamp(40px, 6vw, 84px); letter-spacing: -0.035em; text-transform: uppercase; line-height: .9; margin: 0; }
.mo-arch-head p { color: var(--mo-ink-2); max-width: 54ch; margin: 20px 0 0; font-size: 18px; }
.mo-filter { display: flex; gap: 0; flex-wrap: wrap; margin: 30px 0 0; border-top: 3px solid var(--mo-line-strong); border-bottom: 3px solid var(--mo-line-strong); }
.mo-filter a { font-family: var(--mo-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; padding: 14px 18px; color: var(--mo-ink-2); border-right: 1px solid var(--mo-line); }
.mo-filter a.on { background: var(--mo-ink); color: #fff; }
.mo-filter a:hover { background: var(--mo-wash); color: var(--mo-accent); }
.mo-filter a.on:hover { color: #fff; background: var(--mo-accent); }

/* ---------- pages: About / Contact / Terms / Privacy ---------- */
.mo-page { padding: 44px 0 24px; }
.mo-page-lead { max-width: 820px; }
.mo-page-lead .mo-kicker { color: var(--mo-accent); margin-bottom: 16px; }
.mo-page-lead h1 { font-family: var(--mo-display); font-size: clamp(34px, 5vw, 64px); line-height: .94; letter-spacing: -0.03em; text-transform: uppercase; margin: 0; }
.mo-page-body { max-width: 760px; margin: 36px 0 0; font-size: 18px; line-height: 1.76; color: var(--mo-ink); }
.mo-page-body .blj-lead, .mo-page-body > p:first-child { font-size: 21px; line-height: 1.5; color: var(--mo-ink-2); }
.mo-page-body h2 { font-family: var(--mo-display); font-size: 25px; letter-spacing: -0.02em; text-transform: uppercase; margin: 1.8em 0 .5em; padding-top: 1.1em; border-top: 3px solid var(--mo-line-strong); }
.mo-page-body h3 { font-family: var(--mo-display); font-size: 18px; text-transform: uppercase; margin: 1.5em 0 .4em; }
.mo-page-body ul { padding-left: 0; list-style: none; }
.mo-page-body li { margin: .5em 0; padding-left: 1.5em; position: relative; }
.mo-page-body ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; background: var(--mo-accent); }
.mo-page-body a { color: var(--mo-accent); text-decoration: underline; text-underline-offset: 3px; }
.mo-page-body strong { font-weight: 800; }
.blj-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 1.4em; }
.blj-chips span { font-family: var(--mo-mono); font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--mo-ink-2); border: 1.5px solid var(--mo-line-strong); padding: 8px 13px; }
.blj-info-card { margin: 1.6em 0; padding: 26px; border: 2px solid var(--mo-line-strong); }
.blj-info-card h3 { margin: 0 0 6px; }
.blj-info-card a { font-family: var(--mo-mono); font-weight: 700; font-size: 17px; }
.blj-note { color: var(--mo-ink-3); }

/* ============================================================
   The Map — .blj-map backlink rail, styled as a brutalist directory
   ============================================================ */
.blj-map { background: var(--mo-surface); border: 3px solid var(--mo-line-strong); padding: 22px; }
.blj-map-title { font-family: var(--mo-mono); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 14px; padding-bottom: 12px; border-bottom: 3px solid var(--mo-line-strong); }
.blj-map-search { position: relative; margin: 0 0 12px; }
.blj-map-search input { width: 100%; padding: 12px 40px 12px 14px; border: 1.5px solid var(--mo-line-strong); background: var(--mo-paper); font-family: var(--mo-mono); font-size: 13px; color: var(--mo-ink); outline: none; border-radius: 0; }
.blj-map-search input:focus { border-color: var(--mo-accent); }
.blj-map-search input::placeholder { text-transform: uppercase; letter-spacing: .04em; font-size: 12px; color: var(--mo-ink-4); }
.blj-map-search svg { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--mo-ink-4); }
.blj-map-list { display: flex; flex-direction: column; max-height: 460px; overflow: auto; }
.blj-map-dir { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: var(--mo-ink); color: #fff; font-family: var(--mo-mono); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; }
.blj-map-entry { display: flex; flex-direction: column; gap: 3px; padding: 14px 4px; border-bottom: 1px solid var(--mo-line); transition: background .16s, padding-left .16s; }
.blj-map-entry:hover { background: var(--mo-wash); padding-left: 12px; }
.blj-map-anchor { font-family: var(--mo-display); font-size: 15px; text-transform: uppercase; letter-spacing: -0.01em; color: var(--mo-ink); }
.blj-map-anchor:hover { color: var(--mo-accent); }
.blj-map-host { display: inline-flex; align-items: center; gap: 4px; font-family: var(--mo-mono); font-size: 11.5px; color: var(--mo-accent); text-transform: uppercase; }
.blj-map-src { font-family: var(--mo-mono); font-size: 11.5px; color: var(--mo-ink-3); text-transform: uppercase; letter-spacing: .02em; }
.blj-map-src:hover { color: var(--mo-ink); }
.blj-map-empty { color: var(--mo-ink-3); padding: 16px 4px; font-family: var(--mo-mono); font-size: 13px; }

/* ---------- pagination ---------- */
.mo-pagination { display: flex; gap: 0; justify-content: center; margin: 50px 0 0; flex-wrap: wrap; border: 3px solid var(--mo-line-strong); width: fit-content; margin-left: auto; margin-right: auto; }
.mo-pagination .page-numbers { min-width: 48px; text-align: center; padding: 12px 16px; font-family: var(--mo-mono); font-weight: 700; font-size: 14px; border-right: 1px solid var(--mo-line); }
.mo-pagination .page-numbers:last-child { border-right: 0; }
.mo-pagination .page-numbers.current { background: var(--mo-ink); color: #fff; }
.mo-pagination a.page-numbers:hover { background: var(--mo-accent); color: #fff; }
.mo-empty { padding: 60px 0; color: var(--mo-ink-3); font-family: var(--mo-mono); }

/* ============================================================
   Motion — restrained, professional. Scroll-reveal (fade + rise), image scale on hover,
   nav/ledger micro-motion. All gated on prefers-reduced-motion + the ?noanim escape.
   ============================================================ */
.js-reveal .mo-hero-main, .js-reveal .mo-hero-fig, .js-reveal .mo-sec-head,
.js-reveal .mo-led-row, .js-reveal .mo-work, .js-reveal .mo-note,
.js-reveal .mo-statement > .mo-wrap > *, .js-reveal .mo-mapwrap > *, .js-reveal .mo-cta-in > *,
.js-reveal .mo-card, .js-reveal .mo-arch-head, .js-reveal .mo-filter,
.js-reveal .mo-art-head, .js-reveal .mo-art-fig {
  opacity: 0; transform: translateY(16px);
  transition: opacity .6s cubic-bezier(.22,.7,.24,1), transform .6s cubic-bezier(.22,.7,.24,1);
  will-change: opacity, transform;
}
.js-reveal .is-in { opacity: 1; transform: none; }

/* masthead lifts once scrolled */
.mo-mast { transition: box-shadow .22s ease; }
.mo-mast.is-stuck { box-shadow: 0 10px 30px -22px rgba(11,11,12,.55); }

@media (prefers-reduced-motion: reduce) {
  .js-reveal .mo-hero-main, .js-reveal .mo-hero-fig, .js-reveal .mo-sec-head,
  .js-reveal .mo-led-row, .js-reveal .mo-work, .js-reveal .mo-note,
  .js-reveal .mo-statement > .mo-wrap > *, .js-reveal .mo-mapwrap > *, .js-reveal .mo-cta-in > *,
  .js-reveal .mo-card, .js-reveal .mo-arch-head, .js-reveal .mo-filter,
  .js-reveal .mo-art-head, .js-reveal .mo-art-fig { opacity: 1; transform: none; transition: none; }
  .mo-work-fig .mo-ph, .mo-work-fig img, .mo-card-fig .mo-ph, .mo-card-fig img { transition: none; }
  * { scroll-behavior: auto !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 940px) {
  .mo-hero-grid { grid-template-columns: 1fr; }
  .mo-hero-spine { flex-direction: row; align-items: center; justify-content: flex-start; gap: 20px; min-height: 0; padding: 18px 0; border-right: 0; border-bottom: 1px solid var(--mo-line-strong); }
  .mo-spine-num::after { display: none; }
  .mo-spine-label { writing-mode: horizontal-tb; transform: none; letter-spacing: .16em; }
  .mo-hero-main { padding: 34px 0; border-right: 0; }
  .mo-hero-fig .mo-ph, .mo-hero-fig img { min-height: 300px; }
  .mo-foot-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  :root { --mo-gut: 18px; }
  .mo-nav { display: none; }
  .mo-art-meta { grid-auto-flow: row; }
  .mo-art-meta .mo-mi { border-right: 0; border-bottom: 1px solid var(--mo-line); padding: 12px 0 !important; }
}
