/* edmagedson.com — "the record" */
@font-face { font-family: "Archivo"; src: url(/fonts/archivo.woff2) format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Source Serif"; src: url(/fonts/source-serif-4.woff2) format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif"; src: url(/fonts/source-serif-4-italic.woff2) format("woff2"); font-weight: 200 900; font-style: italic; font-display: swap; }

:root {
  --brand: #9a1516;        /* logo red */
  --brand-deep: #741012;
  --stamp: #c8171e;
  --ink: #1b2130;
  --text: #2a303b;
  --soft: #5d6575;
  --line: #e1e3e8;
  --line-strong: #c9cdd5;
  --tint: #f4f5f7;
  --paper: #ffffff;
  --manila: #f1e6c9;
  --manila-ink: #5e4a1f;
  --gold: #f0b42f;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Source Serif", Georgia, "Times New Roman", serif;
  --wrap: 1240px;
  --gut: clamp(16px, 3.2vw, 40px);
  --r-sm: 6px;
  --r-md: 10px;
  --shadow: 0 1px 2px rgba(27, 33, 48, .06), 0 8px 24px -12px rgba(27, 33, 48, .18);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 20px; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 1.125rem/1.7 var(--serif); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: .2em; transition: color .15s var(--ease); }
a:hover { color: var(--stamp); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #2563eb; outline-offset: 2px; border-radius: 3px; }
h1, h2, h3, h4 { font-family: var(--sans); color: var(--ink); line-height: 1.12; margin: 0 0 .5em; text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: #f6d2d3; color: var(--ink); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: #fff; color: var(--ink); padding: 8px 14px; z-index: 50; border-radius: var(--r-sm); }
.skip:focus { top: 8px; }
.nowrap { white-space: nowrap; }
.muted { color: var(--soft); font-size: .95rem; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--brand); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.btn, .search button, .comment-form button { display: inline-flex; align-items: center; gap: .5em; font: 700 1rem/1 var(--sans); font-stretch: 88%; background: var(--brand); color: #fff; border: 0; border-radius: var(--r-sm); padding: .9em 1.35em; cursor: pointer; text-decoration: none; transition: background-color .15s var(--ease), transform .15s var(--ease); }
.btn:hover, .search button:hover, .comment-form button:hover { background: var(--brand-deep); color: #fff; }
.btn:active, .comment-form button:active { transform: translateY(1px); }

/* ---------- masthead ---------- */
.masthead { background: var(--brand); color: #fff; position: relative; z-index: 10; }
.masthead-inner { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); min-height: 84px; display: flex; align-items: center; gap: 28px; }
.logo { flex: none; }
.logo img { width: 200px; }
.site-nav { margin-left: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.site-nav a { position: relative; display: block; font: 600 .95rem/1 var(--sans); font-stretch: 90%; color: rgba(255, 255, 255, .86); text-decoration: none; padding: 10px 11px; border-radius: var(--r-sm); white-space: nowrap; transition: color .15s var(--ease), background-color .15s var(--ease); }
.site-nav a:hover { color: #fff; background: rgba(0, 0, 0, .16); }
.site-nav a[aria-current="page"] { color: #fff; }
.site-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: -6px; height: 3px; border-radius: 3px; background: #fff; }
.site-nav .search--drawer { display: none; }
.icon-btn { flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; min-width: 42px; padding: 0 10px; border-radius: var(--r-sm); border: 1px solid rgba(255, 255, 255, .35); background: transparent; color: #fff; font: 700 .95rem var(--sans); cursor: pointer; text-decoration: none; transition: background-color .15s var(--ease), border-color .15s var(--ease); }
.icon-btn:hover, .icon-btn[aria-expanded="true"] { background: rgba(0, 0, 0, .18); border-color: rgba(255, 255, 255, .6); color: #fff; }
.nav-toggle { display: none; }
.nav-toggle svg path { stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; transition: transform .2s var(--ease), opacity .2s var(--ease); transform-origin: 12px 12px; }
.nav-toggle[aria-expanded="true"] .bar1 { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar2 { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar3 { transform: translateY(-5.5px) rotate(-45deg); }
.search-panel { background: var(--brand-deep); border-top: 1px solid rgba(255, 255, 255, .1); }
.search-panel .search { max-width: var(--wrap); margin: 0 auto; padding: 14px var(--gut); }
.search { display: flex; gap: 8px; }
.search input { flex: 1; min-width: 0; font: 400 1rem var(--sans); border: 1px solid transparent; border-radius: var(--r-sm); padding: .75em .95em; background: #fff; color: var(--ink); }
.search input:focus { outline: 3px solid rgba(255, 255, 255, .55); outline-offset: 0; }
.search button { background: var(--ink); padding: .75em 1.2em; }
.search button:hover { background: #000; }

/* ---------- frame ---------- */
.frame { max-width: var(--wrap); margin: 0 auto; padding: clamp(32px, 5vw, 64px) var(--gut) clamp(48px, 7vw, 96px); display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 5vw, 80px); align-items: start; }
.main { min-width: 0; }
.main:focus { outline: none; }

/* ---------- page head ---------- */
.page-head { margin-bottom: 2.2rem; padding-bottom: 1.8rem; border-bottom: 1px solid var(--line); }
.kicker { font: 600 .9rem/1.3 var(--sans); color: var(--soft); margin: 0 0 .8rem; }
.kicker a { color: var(--soft); }
.progress { margin-bottom: 1.1rem; }
.progress .kicker { margin-bottom: .55rem; }
.progress ol { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0; max-width: 320px; }
.progress li { flex: 1; }
.progress a { display: block; height: 6px; border-radius: 6px; background: var(--line); transition: background-color .15s var(--ease), transform .15s var(--ease); }
.progress li.done a { background: #e7a8aa; }
.progress li.now a { background: var(--brand); }
.progress a:hover { background: var(--ink); transform: scaleY(1.4); }
.page-head h1 { font-size: clamp(2.4rem, 5.6vw, 3.9rem); font-weight: 800; font-stretch: 72%; letter-spacing: -.012em; line-height: 1; margin: 0; }
.page-lede { font-style: italic; font-size: 1.28rem; line-height: 1.5; color: var(--soft); margin: .8rem 0 0; max-width: 36em; }

/* ---------- quote band ---------- */
.quote-band { background: var(--ink); color: #fff; }
.quote-band blockquote { max-width: var(--wrap); margin: 0 auto; padding: clamp(28px, 4vw, 44px) var(--gut); display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: clamp(16px, 2.5vw, 32px); }
.quote-band blockquote::before { content: "“"; grid-row: span 2; font: 800 6.5rem/.78 var(--sans); color: var(--stamp); }
.quote-band p { margin: 0; font: 400 clamp(1.12rem, 1.8vw, 1.38rem)/1.55 var(--serif); font-style: italic; max-width: 50em; color: #eef0f4; }
.quote-band footer { margin-top: .9rem; font: 700 .98rem/1.4 var(--sans); font-stretch: 88%; color: #f3b9bb; }

/* ---------- prose ---------- */
.prose { max-width: 44rem; }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin: 0; }
.prose p + p { margin-top: 1em; }
.prose h2 { font-size: 1.8rem; font-weight: 800; font-stretch: 78%; margin: 2.6rem 0 .8rem; }
.prose h3 { font-size: 1.3rem; font-weight: 700; font-stretch: 85%; margin: 2rem 0 .5rem; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .55em; }
.prose blockquote { margin: 2rem 0; padding: .3rem 0 .3rem 1.4rem; border-left: 3px solid var(--brand); font-size: 1.16rem; color: var(--ink); }
.prose blockquote p + p { margin-top: .6em; }
.prose img { margin: 1.6rem 0; border-radius: var(--r-sm); }
.prose .lede { font-size: 1.3rem; line-height: 1.55; color: var(--ink); }
.prose .callout { font: 700 1.3rem/1.35 var(--sans); font-stretch: 85%; color: var(--ink); padding: 1.1rem 1.3rem; background: var(--manila); border-radius: var(--r-md); }
.prose p[style*="center"] { text-align: center; }

.lead-figure { margin: 0 0 2.2rem; position: relative; }
.lead-figure img { width: 100%; margin: 0; border-radius: var(--r-md); }
.lead-figure figcaption { font: 500 .92rem/1.45 var(--sans); color: var(--soft); margin-top: .7rem; }
.page--who-is-ed .lead-figure { float: right; width: min(46%, 330px); margin: .4rem 0 1.4rem 2rem; }
.lead-figure--wide { margin: 0 0 2.4rem; }
.lead-figure--wide img { aspect-ratio: 16 / 8; object-fit: cover; }
.lead-figure.is-video a { display: block; position: relative; border-radius: var(--r-md); overflow: hidden; }
.lead-figure.is-video img { transition: transform .4s var(--ease); }
.lead-figure.is-video a:hover img { transform: scale(1.02); }

.play { position: absolute; inset: 0; margin: auto; width: 68px; height: 68px; border-radius: 50%; background: rgba(154, 21, 22, .94); box-shadow: 0 0 0 5px rgba(255, 255, 255, .9), 0 10px 30px rgba(0, 0, 0, .35); transition: transform .2s var(--ease); }
.play::after { content: ""; position: absolute; left: 27px; top: 21px; border-style: solid; border-width: 13px 0 13px 21px; border-color: transparent transparent transparent #fff; }
a:hover .play, button:hover .play { transform: scale(1.08); }

.doc-embed { margin: 1.6rem 0; border: 1px solid var(--line); background: var(--tint); border-radius: var(--r-md); overflow: hidden; }
.doc-embed iframe { display: block; width: 100%; height: 760px; border: 0; }
.doc-figure { margin: 1.6rem 0; max-width: 520px; }
.doc-figure img { margin: 0; border: 1px solid var(--line); border-radius: var(--r-sm); }
.doc-figure figcaption { font: 600 1rem var(--sans); margin-top: .6rem; }

/* facts list (Did you know) */
.facts { list-style: none; padding: 0 !important; counter-reset: fact; }
.facts > li { position: relative; padding: 0 0 0 2.7rem; }
.facts > li + li { margin-top: 1.25em; }
.facts > li::before { counter-increment: fact; content: counter(fact); position: absolute; left: 0; top: .15em; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--ink); color: #fff; font: 700 .92rem/1.8rem var(--sans); text-align: center; }
.facts > li.facts-callout { background: var(--manila); color: #3e3320; padding: 1.3rem 1.4rem 1.3rem 3.8rem; border-radius: var(--r-md); }
.facts > li.facts-callout::before { left: 1.2rem; top: 1.35rem; background: var(--stamp); content: "!"; }
.facts-callout a { color: var(--brand-deep); }

/* ---------- the stamp ---------- */
.stamp { display: inline-block; font: 800 .8em/1 var(--sans); font-stretch: 70%; text-transform: uppercase; letter-spacing: .07em; color: var(--stamp); border: .14em solid currentColor; border-radius: .2em; padding: .24em .4em .17em; transform: rotate(-5deg); vertical-align: .12em; mix-blend-mode: multiply; opacity: .92;
  -webkit-mask-image: radial-gradient(circle at 30% 40%, #000 62%, rgba(0,0,0,.72) 63%, #000 70%), repeating-linear-gradient(115deg, #000 0 3px, rgba(0,0,0,.78) 3px 4px);
  -webkit-mask-composite: source-in; mask-composite: intersect; }
.stamp--big { font-size: clamp(1.5rem, 3vw, 2.1rem); }

/* critic quotes */
.critic-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin: 1.8rem 0 1.6rem; }
.prose .critic { margin: 0; border: 1px solid var(--line); padding: 1.5rem 1.4rem 1.2rem; background: var(--tint); position: relative; border-radius: var(--r-md); }
.prose .critic p { font: 700 1.32rem/1.28 var(--sans); font-stretch: 82%; color: var(--ink); }
.prose .critic footer { margin-top: .8rem; font: 500 .9rem var(--sans); color: var(--soft); }
.prose .critic::after { content: "Not true"; position: absolute; right: 14px; bottom: 14px; font: 800 1rem/1 var(--sans); font-stretch: 70%; text-transform: uppercase; letter-spacing: .07em; color: var(--stamp); border: 3px solid currentColor; border-radius: 4px; padding: .3em .45em .22em; transform: rotate(-7deg); mix-blend-mode: multiply; opacity: .9; }

/* myths */
.myth-toc { max-width: 44rem; display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1rem; padding: .7rem .8rem .7rem 1rem; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: var(--r-md); font: 600 .92rem var(--sans); color: var(--soft); position: sticky; top: 10px; z-index: 2; margin-bottom: 2.2rem !important; box-shadow: var(--shadow); }
.myth-toc ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 0 !important; margin: 0; }
.myth-toc li + li { margin: 0; }
.myth-toc a { display: inline-grid; place-items: center; min-width: 2.25rem; height: 2.25rem; padding: 0 .4rem; border-radius: var(--r-sm); color: var(--ink); text-decoration: none; transition: background-color .15s var(--ease), color .15s var(--ease); }
.myth-toc a:hover, .myth-toc a.is-active { background: var(--ink); color: #fff; }
.myth { padding-top: 2.4rem; margin-top: 2.4rem !important; border-top: 1px solid var(--line); scroll-margin-top: 84px; }
.myth-toc + .myth { border-top: 0; margin-top: 0 !important; padding-top: 0; }
.myth header { display: grid; grid-template-columns: 4.4rem 1fr; gap: 1.1rem; align-items: start; margin-bottom: 1.1rem; }
.myth-num { font: 800 4.4rem/.82 var(--sans); font-stretch: 62%; color: transparent; -webkit-text-stroke: 2px var(--ink); text-align: right; }
.myth h2 { margin: 0; font-size: 1.62rem; font-stretch: 78%; line-height: 1.18; }
.myth h2 .stamp { font-size: .6em; margin-right: .55em; vertical-align: .25em; }

/* educating playlist */
.playlist { margin: 0 0 2.8rem; }
.player { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow); }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-poster { position: absolute; inset: 0; border: 0; padding: 0; background: #000; cursor: pointer; width: 100%; }
.player-poster img { width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.player-caption { margin: 1.1rem 0 1.3rem; }
.player-caption h2 { font-size: 1.38rem; font-stretch: 85%; margin: 0 0 .3rem; }
.player-caption p { margin: 0; color: var(--soft); font-size: 1rem; }
.playlist-items { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.playlist-items li + li { margin: 0; }
.playlist-item { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 0; cursor: pointer; font: 500 .86rem/1.32 var(--sans); color: var(--text); }
.playlist-item img { aspect-ratio: 16/9; object-fit: cover; width: 100%; margin: 0 0 .5rem; border-radius: var(--r-sm); outline: 3px solid transparent; outline-offset: -3px; transition: outline-color .15s var(--ease), opacity .15s var(--ease); }
.playlist-item:hover img { opacity: .85; }
.playlist-item[aria-current="true"] img { outline-color: var(--stamp); }
.playlist-item[aria-current="true"] span { color: var(--ink); font-weight: 700; }

/* chapter / post nav */
.chapter-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 3.2rem 0 0; }
.chapter-link { display: flex; flex-direction: column; justify-content: center; gap: .3rem; min-height: 92px; padding: 1rem 1.3rem; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font: 700 1.16rem/1.25 var(--sans); font-stretch: 85%; border-radius: var(--r-md); transition: border-color .15s var(--ease), background-color .15s var(--ease), color .15s var(--ease); }
.chapter-link span { display: flex; align-items: center; gap: .4rem; font: 500 .85rem var(--sans); color: var(--soft); }
.chapter-link--prev span::before { content: ""; width: 7px; height: 7px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.chapter-link--next { grid-column: 2; text-align: right; }
.chapter-link--next span { justify-content: flex-end; }
.chapter-link--next span::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); }
.chapter-link:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.chapter-link:hover span { color: #c2c7d0; }

/* ---------- home ---------- */
.hero { background: var(--brand); color: #fff; overflow: hidden; position: relative; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(1200px 500px at 85% 20%, rgba(255,255,255,.07), transparent 60%), radial-gradient(900px 600px at 0% 100%, rgba(0,0,0,.18), transparent 60%); pointer-events: none; }
.hero-inner { position: relative; max-width: var(--wrap); margin: 0 auto; padding: clamp(36px, 5vw, 72px) var(--gut) clamp(48px, 6vw, 84px); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 80px); align-items: center; }
.exhibit { margin: 0; background: var(--manila); color: #2c2414; padding: 2.5rem 2rem 5.6rem; position: relative; transform: rotate(-1.2deg); border-radius: 3px; box-shadow: 0 30px 50px -28px rgba(0,0,0,.6), 0 2px 0 rgba(0,0,0,.08); }
.exhibit::before { content: ""; position: absolute; top: -12px; left: 28px; width: 120px; height: 24px; background: rgba(255,255,255,.5); transform: rotate(-3deg); }
.exhibit-tag { font: 600 .88rem var(--sans); color: var(--manila-ink); margin-bottom: .8rem; }
.exhibit blockquote { margin: 0; }
.exhibit p { margin: 0; font: 600 1.3rem/1.48 var(--serif); }
.exhibit .stamp { position: absolute; right: 1.6rem; bottom: 1.3rem; color: #b3141a; opacity: 1; mix-blend-mode: normal; transform: rotate(-4deg); border-width: .12em; padding: .28em .5em .2em; background: rgba(241, 230, 201, .6); -webkit-mask-image: repeating-linear-gradient(115deg, #000 0 5px, rgba(0,0,0,.86) 5px 6px); mask-image: repeating-linear-gradient(115deg, #000 0 5px, rgba(0,0,0,.86) 5px 6px); }
.bubble { width: min(100%, 360px); height: auto; display: block; margin: 0 0 1.2rem -10px; font-family: var(--sans); font-weight: 600; filter: drop-shadow(0 12px 18px rgba(0,0,0,.22)); }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 5.2vw, 4.1rem); font-weight: 800; font-stretch: 70%; line-height: .98; letter-spacing: -.012em; margin: 0; }
.home-intro { margin-bottom: 3rem; }
.section-title, .record h2, .latest h2, .comments > h2 { font-size: 1.85rem; font-weight: 800; font-stretch: 75%; margin-bottom: 1rem; }
.record { margin-bottom: 3rem; }
.record-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.record-list a { display: grid; grid-template-columns: 3rem 1fr auto; gap: 1rem; align-items: center; padding: 1rem 1.2rem 1rem .9rem; border: 1px solid var(--line); border-radius: var(--r-md); text-decoration: none; color: var(--text); transition: border-color .15s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease); }
.record-list a::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--soft); border-top: 2px solid var(--soft); transform: rotate(45deg); margin-right: 4px; transition: transform .2s var(--ease), border-color .15s; }
.record-num { font: 800 2.5rem/1 var(--sans); font-stretch: 62%; color: var(--brand); text-align: center; }
.record-text { font-size: 1rem; line-height: 1.45; color: var(--soft); }
.record-text strong { display: block; font: 700 1.28rem/1.2 var(--sans); font-stretch: 82%; color: var(--ink); margin-bottom: .2rem; }
.record-list a:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.record-list a:hover strong { color: var(--brand); }
.record-list a:hover::after { transform: translateX(3px) rotate(45deg); border-color: var(--brand); }
.notices { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 3rem; }
.notice-card { padding: 1.4rem 1.5rem; background: var(--ink); color: #dfe2e9; font-size: 1rem; line-height: 1.6; border-radius: var(--r-md); }
.notice-card h2 { color: #fff; font-size: 1.25rem; font-stretch: 85%; margin-bottom: .6rem; }
.notice-card p { margin: 0 0 .6rem; }
.notice-card p:last-child { margin: 0; }
.notice-card a { color: #ffd27a; }
.notice-card--warn { background: var(--manila); color: #3e3320; }
.notice-card--warn h2 { color: var(--brand-deep); }
.latest { margin-bottom: 1rem; }
.post-list--compact { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.post-list--compact li { padding: .8rem 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-size: 1.04rem; }
.post-list--compact a { color: var(--ink); text-decoration: none; font-weight: 600; }
.post-list--compact a:hover { color: var(--brand); text-decoration: underline; }
.post-list--compact time { font: 500 .88rem var(--sans); color: var(--soft); white-space: nowrap; }

/* ---------- blog ---------- */
.post-list { list-style: none; padding: 0; margin: 0; }
.post-item { position: relative; display: grid; grid-template-columns: 200px 1fr; gap: 1.6rem; padding: 1.7rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.post-item:first-child { padding-top: 0; }
.post-item > div:only-child { grid-column: 1 / -1; }
.post-thumb { border-radius: var(--r-md); overflow: hidden; }
.post-thumb img { aspect-ratio: 4/3; object-fit: cover; width: 100%; transition: transform .4s var(--ease); }
.post-item:hover .post-thumb img { transform: scale(1.03); }
.post-date { font: 600 .86rem var(--sans); color: var(--soft); margin: 0 0 .35rem; }
.post-item h2 { font-size: 1.55rem; font-stretch: 80%; margin: 0 0 .45rem; }
.post-item h2 a { color: var(--ink); text-decoration: none; }
.post-item h2 a::after { content: ""; position: absolute; inset: 0; }
.post-item:hover h2 a { color: var(--brand); text-decoration: underline; }
.post-item p { margin: 0; font-size: 1.03rem; color: var(--text); }
.pager { display: flex; justify-content: space-between; align-items: center; margin: 1.8rem 0 0; font: 600 .95rem var(--sans); }
.pager a, .pager-off { padding: .55rem .95rem; border-radius: var(--r-sm); border: 1px solid var(--line); text-decoration: none; }
.pager a:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.pager-off { color: #a3a9b4; }
.pager-pos { color: var(--soft); font-weight: 500; }
.search--page { margin: 0 0 1.6rem; max-width: 520px; }
.search--page input { border-color: var(--line-strong); }
.search--page input:focus { outline: 3px solid rgba(37, 99, 235, .35); border-color: #2563eb; }

/* ---------- comments ---------- */
.comments { margin-top: 3.4rem; padding-top: 2.2rem; border-top: 1px solid var(--line-strong); }
.comment-list { list-style: none; padding: 0; margin: 0; }
.comment { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.comment-replies { margin-top: 1rem; padding-left: 0; border-left: 2px solid var(--line); }
.comment-replies .comment { border-bottom: 0; padding: .4rem 0 .4rem 1.1rem; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--tint); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font: 700 .92rem/44px var(--sans); text-align: center; }
.comment--ed > .avatar { background: var(--brand); color: #fff; box-shadow: none; }
.comment-meta { margin: 0 0 .35rem; font: 500 .9rem var(--sans); color: var(--soft); display: flex; flex-wrap: wrap; gap: .2rem .7rem; align-items: baseline; }
.comment-meta strong { color: var(--ink); font-size: 1.02rem; }
.comment-meta a { color: var(--soft); text-decoration: none; }
.comment-meta a:hover { text-decoration: underline; }
.badge { font: 700 .72rem var(--sans); background: var(--brand); color: #fff; padding: .2em .5em; border-radius: 4px; }
.comment-body { font-size: 1.03rem; line-height: 1.65; overflow-wrap: anywhere; }
.reply-btn { font: 600 .88rem var(--sans); margin-top: .5rem; text-decoration: none; color: var(--soft); }
.reply-btn:hover { color: var(--brand); text-decoration: underline; }
.respond { margin-top: 2.4rem; background: var(--tint); padding: clamp(1.2rem, 3vw, 2rem); border-radius: var(--r-md); }
.respond h3 { font-size: 1.45rem; font-stretch: 82%; margin-bottom: .4rem; }
.comment-form label { display: block; font: 600 .92rem var(--sans); color: var(--ink); margin: 1rem 0 .35rem; }
.comment-form input, .comment-form textarea { width: 100%; font: 400 1.02rem/1.5 var(--serif); padding: .75rem .9rem; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: #fff; color: var(--ink); transition: border-color .15s var(--ease), box-shadow .15s var(--ease); }
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37, 99, 235, .2); }
.comment-form textarea { resize: vertical; min-height: 140px; }
.comment-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.comment-form button { margin-top: 1.2rem; }
.hp { position: absolute; left: -9999px; }
.notice { padding: .9rem 1.1rem; border-radius: var(--r-sm); font: 500 1rem/1.45 var(--sans); }
.notice ul { margin: .3rem 0 0; padding-left: 1.2rem; }
.notice--ok { background: #e3f1e6; color: #1d4d2a; }
.notice--error { background: #fbe3e3; color: #7a1114; }
.replying { font: 500 .95rem var(--sans); padding: .6rem .9rem; background: #fff; border-radius: var(--r-sm); border: 1px solid var(--line); }

/* ---------- sidebar ---------- */
.sidebar { position: relative; }
.sidebar-title { font: 800 1.3rem/1 var(--sans); font-stretch: 75%; color: var(--ink); margin: 0 0 1.1rem; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.card { position: relative; font: 400 .93rem/1.5 var(--sans); color: var(--soft); }
.card-link { text-decoration: none; color: var(--ink); display: block; }
.card-link::after { content: ""; position: absolute; inset: 0; }
.card-media { display: block; position: relative; background: #111; border-radius: var(--r-md); overflow: hidden; }
.card-media img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform .4s var(--ease); }
.card:hover .card-media img { transform: scale(1.04); }
.card--pdf .card-media { background: var(--tint); box-shadow: inset 0 0 0 1px var(--line); }
.card--pdf .card-media img { object-position: top; }
.card .play { width: 48px; height: 48px; box-shadow: 0 0 0 4px rgba(255,255,255,.9), 0 8px 20px rgba(0,0,0,.35); }
.card .play::after { left: 19px; top: 14px; border-width: 10px 0 10px 16px; }
.card-title { display: block; font: 700 1.08rem/1.25 var(--sans); font-stretch: 85%; padding-top: .8rem; }
.card p { margin: .3rem 0 0; }
.card-cta { display: inline-block; margin-top: .45rem; font: 700 .88rem var(--sans); color: var(--brand); }
.card:hover .card-title, .card:focus-within .card-title { color: var(--brand); }
.card:hover .card-cta { text-decoration: underline; text-underline-offset: .2em; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: #c3c8d2; font: 400 .97rem/1.6 var(--sans); }
.footer a { color: #fff; }
.footer-inner { max-width: var(--wrap); margin: 0 auto; padding: 56px var(--gut) 32px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; }
.rr-mark { font: 800 2rem/1 var(--sans); font-stretch: 72%; text-decoration: none; color: #fff; }
.rr-mark span { color: var(--gold); }
.footer-brand p { max-width: 30em; margin: .8rem 0 0; }
.footer-contact h2 { color: #fff; font-size: 1.05rem; margin-bottom: .5rem; }
.footer-contact p { margin: 0 0 .25rem; }
.footer-note { color: #8f97a6; font-size: .88rem; margin-top: .7rem !important; }
.promos { list-style: none; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut) 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.promo { position: relative; display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: start; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); padding: 18px; border-radius: var(--r-md); transition: background-color .15s var(--ease), border-color .15s var(--ease); }
.promo:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); }
.promo img { width: 72px; height: 104px; object-fit: contain; background: #fff; border-radius: var(--r-sm); padding: 4px; }
.promo-paw { width: 72px; height: 72px; color: var(--gold); }
.promo h3 { color: #fff; font-size: 1.05rem; margin: 0 0 .3rem; font-stretch: 88%; }
.promo p { margin: 0 0 .5rem; font-size: .9rem; }
.promo a { font-weight: 700; font-size: .9rem; color: var(--gold); }
.promo a::after { content: ""; position: absolute; inset: 0; }
.footer-bar { border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 18px max(var(--gut), calc(50% - var(--wrap) / 2 + var(--gut))); font-size: .86rem; color: #8f97a6; }
.footer-bar p, .footer-bar ul { margin: 0; }
.footer-bar ul { list-style: none; padding: 0; display: flex; gap: 20px; }
.footer-bar a { color: #c3c8d2; }

/* ---------- lightbox ---------- */
.lightbox { width: min(1100px, 94vw); max-height: 92vh; padding: 0; border: 0; border-radius: var(--r-md); background: #000; color: #fff; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox[open] { animation: lb-in .22s var(--ease); }
@keyframes lb-in { from { opacity: 0; transform: translateY(8px) scale(.985); } to { opacity: 1; transform: none; } }
.lightbox::backdrop { background: rgba(12, 15, 22, .8); backdrop-filter: blur(3px); }
.lightbox-bar { display: flex; align-items: center; gap: 14px; padding: 10px 12px 10px 16px; background: var(--ink); font: 500 .93rem var(--sans); }
.lightbox-title { margin: 0 auto 0 0; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lightbox-open { color: #c3c8d2; white-space: nowrap; }
.lightbox-close { font: 700 .92rem var(--sans); background: #fff; color: var(--ink); border: 0; border-radius: var(--r-sm); padding: .5em .95em; cursor: pointer; }
.lightbox-stage { aspect-ratio: 16 / 9; max-height: calc(92vh - 56px); }
.lightbox-stage.is-doc { aspect-ratio: auto; height: calc(92vh - 56px); background: #fff; }
.lightbox-stage iframe, .lightbox-stage video { width: 100%; height: 100%; border: 0; display: block; background: #000; }
.lightbox-stage.is-doc iframe { background: #fff; }

/* ---------- error pages ---------- */
.error-page { display: grid; place-items: center; min-height: 100vh; padding: 24px; background: var(--tint); }
.error-box { background: #fff; padding: 44px; max-width: 520px; text-align: center; border-radius: var(--r-md); box-shadow: var(--shadow); }
.error-box img { margin: 0 auto 1.6rem; border-radius: var(--r-sm); }
.error-box .stamp { margin: 0 0 1rem; }

/* ---------- responsive ---------- */
@media (max-width: 1260px) {
  .masthead-inner { min-height: 72px; gap: 12px; }
  .logo img { width: 180px; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--brand-deep); padding: 8px var(--gut) 18px; box-shadow: 0 18px 30px -18px rgba(0,0,0,.5); margin: 0; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: block; animation: drop .2s var(--ease); }
  @keyframes drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; max-width: var(--wrap); margin: 0 auto; }
  .site-nav a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 1.05rem; }
  .site-nav a:hover { background: transparent; }
  .site-nav a[aria-current="page"]::after { left: auto; right: 4px; top: 50%; bottom: auto; width: 8px; height: 8px; border-radius: 50%; transform: translateY(-50%); }
  .site-nav .search--drawer { display: flex; max-width: var(--wrap); margin: 14px auto 0; }
  .search-toggle { margin-left: auto; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 1020px) {
  .frame { grid-template-columns: minmax(0, 1fr); }
  .sidebar { min-width: 0; border-top: 1px solid var(--line); padding-top: 2.2rem; }
  .cards { grid-auto-flow: column; grid-auto-columns: minmax(240px, 280px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin: 0 calc(var(--gut) * -1); padding-left: var(--gut); padding-right: var(--gut); scroll-padding-left: var(--gut); scrollbar-width: thin; }
  .card { scroll-snap-align: start; }
}
@media (max-width: 820px) {
  .search-toggle { display: none; }
  .nav-toggle { margin-left: auto; }
  .hero-inner { grid-template-columns: 1fr; padding-bottom: 56px; }
  .hero-copy { order: -1; }
  .bubble { width: min(80%, 300px); }
  .exhibit { margin: 0 6px; }
  .exhibit { padding-bottom: 4.6rem; }
  .exhibit .stamp { right: 1.1rem; bottom: 1.1rem; }
  .notices, .footer-inner, .promos { grid-template-columns: 1fr; }
  .quote-band blockquote::before { font-size: 4.5rem; }
  .page--who-is-ed .lead-figure { float: none; width: 100%; margin: 0 0 1.8rem; }
  .doc-embed iframe { height: 520px; }
}
@media (max-width: 560px) {
  body { font-size: 1.06rem; }
  .logo img { width: 160px; }
  .nav-toggle span { display: none; }
  .frame { padding-top: 28px; }
  .page-head h1 { font-size: 2.35rem; }
  .post-item { grid-template-columns: 96px 1fr; gap: 1rem; }
  .post-item h2 { font-size: 1.25rem; }
  .post-item p:not(.post-date) { display: none; }
  .comment { grid-template-columns: 36px 1fr; gap: 12px; }
  .avatar { width: 36px; height: 36px; line-height: 36px; font-size: .8rem; }
  .comment-form .row { grid-template-columns: 1fr; }
  .chapter-nav { grid-template-columns: 1fr; }
  .chapter-link--next { grid-column: 1; }
  .record-list a { grid-template-columns: 2.2rem 1fr; padding: .9rem 1rem .9rem .7rem; }
  .record-list a::after { display: none; }
  .record-num { font-size: 2.1rem; }
  .myth header { grid-template-columns: 2.8rem 1fr; gap: .75rem; }
  .myth-num { font-size: 3rem; }
  .myth h2 { font-size: 1.36rem; }
  .myth-toc { gap: .3rem .6rem; padding: .55rem .6rem; }
  .myth-toc > span { display: none; }
  .myth-toc ol { gap: 2px; }
  .myth-toc a { min-width: 1.95rem; height: 2rem; }
  .doc-embed { display: none; }
  .post-list--compact li { flex-direction: column; gap: 0; }
  .lightbox { width: 100vw; max-width: 100vw; border-radius: 0; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media print { .masthead, .sidebar, .footer, .comments, .chapter-nav, .quote-band, .myth-toc { display: none; } .frame { display: block; } body { font-size: 12pt; } }

/* ---------- v3: numbers, press, timeline, share, progress ---------- */
.ledger { margin: 0 0 3rem; }
.ledger h2, .press h2, .timeline h2 { font-size: 1.85rem; font-weight: 800; font-stretch: 75%; margin-bottom: 1rem; }
.ledger-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; border-top: 2px solid var(--ink); }
.ledger-grid > div { padding: 1.2rem 1.2rem 1.3rem 0; border-bottom: 1px solid var(--line); }
.ledger-grid > div:not(:nth-child(3n+1)) { padding-left: 1.2rem; border-left: 1px solid var(--line); }
.ledger dt { font: 600 .9rem/1.3 var(--sans); color: var(--soft); }
.ledger dd { margin: 0; }
.ledger-num { font: 800 clamp(2.6rem, 4.6vw, 3.4rem)/1 var(--sans); font-stretch: 64%; color: var(--ink); margin: .35rem 0 .45rem !important; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.ledger-num--zero { color: var(--stamp); }
.ledger-note { font-size: .95rem; line-height: 1.5; color: var(--text); }
.ledger-note a { font: 600 .82rem var(--sans); color: var(--soft); margin-left: .15em; }
.ledger-note a:hover { color: var(--brand); }

.press { margin: 0 0 3rem; }
.press-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.press-grid a { position: relative; display: flex; flex-direction: column; gap: .35rem; height: 100%; padding: 1.1rem 1.15rem 1.2rem; background: var(--ink); color: #dfe2e9; border-radius: var(--r-md); text-decoration: none; overflow: hidden; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease); }
.press-grid a::after { content: ""; position: absolute; right: -18px; top: -18px; width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.04); transition: transform .3s var(--ease); }
.press-grid a:hover { background: #232b3d; transform: translateY(-2px); box-shadow: var(--shadow); color: #fff; }
.press-grid a:hover::after { transform: scale(1.5); }
.press-kind { align-self: flex-start; display: inline-flex; align-items: center; gap: .4em; font: 700 .72rem/1 var(--sans); letter-spacing: .02em; color: var(--ink); background: var(--gold); padding: .35em .55em; border-radius: 4px; }
.press-kind--video::before { content: ""; border-style: solid; border-width: 4px 0 4px 6px; border-color: transparent transparent transparent currentColor; }
.press-kind--doc { background: var(--manila); }
.press-outlet { font: 800 1.45rem/1.08 var(--sans); font-stretch: 72%; color: #fff; margin-top: .3rem; }
.press-what { font: 400 .92rem/1.45 var(--serif); color: #c6cbd5; }

.timeline { margin: 3rem 0 0; padding-top: 2.2rem; border-top: 1px solid var(--line); max-width: 44rem; }
.timeline ol { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline ol::before { content: ""; position: absolute; left: calc(6.4rem + 0px); top: .6rem; bottom: .6rem; width: 2px; background: var(--line); }
.timeline li { display: grid; grid-template-columns: 6.4rem 1fr; gap: 0 1.6rem; position: relative; padding: .55rem 0; }
.timeline li::before { content: ""; position: absolute; left: calc(6.4rem - 5px); top: 1.05rem; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); }
.timeline li.is-key::before { background: var(--brand); border-color: var(--brand); box-shadow: 0 0 0 4px #f6d2d3; }
.tl-when { font: 800 1.15rem/1.4 var(--sans); font-stretch: 75%; color: var(--ink); text-align: right; padding-right: 1.25rem; padding-top: .1rem; }
.timeline li.is-key .tl-when { color: var(--brand); }
.tl-what { margin: 0; padding-left: .2rem; font-size: 1.04rem; line-height: 1.55; }
.timeline li.is-key .tl-what { font-weight: 600; color: var(--ink); }
.tl-what a { font: 600 .9rem var(--sans); white-space: nowrap; }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin: 2.6rem 0 0; padding: 1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); max-width: 44rem; }
.share-label { margin: 0; font: 600 .92rem var(--sans); color: var(--soft); }
.share ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.share-btn { display: inline-flex; align-items: center; font: 600 .88rem/1 var(--sans); color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: 999px; padding: .55em 1em; cursor: pointer; text-decoration: none; transition: background-color .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease); }
.share-btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.share-done { margin: 0; font: 600 .88rem var(--sans); color: #1d6b35; }
.chapter-nav { margin-top: 2rem; }

.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 40; pointer-events: none; }
.read-progress span { display: block; height: 100%; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: 0 50%; }
.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 30; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; box-shadow: 0 10px 24px -8px rgba(0,0,0,.45); opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .2s var(--ease), transform .2s var(--ease), background-color .15s; }
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--brand); color: #fff; }

.nf { max-width: 44rem; }
.nf .stamp { margin: 0 0 1.2rem; }
.nf h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; font-stretch: 72%; line-height: 1.02; }
.nf-lede { font-size: 1.2rem; color: var(--soft); margin: 0 0 1.4rem; }
.nf .record-list { margin: 1.4rem 0 1.8rem; }
.nf-home { display: flex; align-items: center; gap: 1.2rem; }
.nf-blog { font: 600 1rem var(--sans); }
.notfound .frame { grid-template-columns: minmax(0, 1fr); }

@media (max-width: 820px) {
  .ledger-grid, .press-grid { grid-template-columns: 1fr 1fr; }
  .ledger-grid > div { padding: 1.1rem 1rem 1.2rem 0 !important; border-left: 0 !important; }
  .ledger-grid > div:nth-child(2n) { padding-left: 1rem !important; border-left: 1px solid var(--line) !important; }
}
@media (max-width: 560px) {
  .press-grid { grid-template-columns: 1fr; }
  .timeline ol::before { left: 7px; }
  .timeline li { grid-template-columns: 1fr; padding: .5rem 0 .7rem 1.9rem; }
  .timeline li::before { left: 2px; top: .85rem; }
  .tl-when { text-align: left; padding: 0; }
  .tl-what { padding: 0; }
  .to-top { right: 12px; bottom: 12px; }
}
@media print { .share, .read-progress, .to-top { display: none; } }

/* ---------- v4: source highlight ---------- */
.src-hl { position: relative; border-radius: 6px; animation: src-flash 2.6s var(--ease) both; outline: none; }
.src-mark { background: linear-gradient(transparent 8%, #ffe08a 8%, #ffe08a 92%, transparent 92%); color: inherit; padding: 0 .1em; border-radius: 2px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.quote-band .src-mark { background: #ffe08a; color: var(--ink); }
@keyframes src-flash { 0% { box-shadow: 0 0 0 0 rgba(240,180,47,0); background-color: transparent; } 15% { box-shadow: 0 0 0 10px rgba(240,180,47,.35); background-color: rgba(255, 224, 138, .28); } 100% { box-shadow: 0 0 0 10px rgba(240,180,47,0); background-color: rgba(255, 224, 138, .14); } }
.quote-band .src-hl { animation-name: src-flash-dark; }
@keyframes src-flash-dark { 0% { box-shadow: 0 0 0 0 rgba(240,180,47,0); } 15% { box-shadow: 0 0 0 10px rgba(240,180,47,.35); } 100% { box-shadow: 0 0 0 10px rgba(240,180,47,0); } }

/* ---------- v5: blog ---------- */
.btn--sm { font-size: .92rem; padding: .75em 1.1em; }
.post-meta, .post-item .post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .9rem; margin: 0; font: 500 .88rem/1.4 var(--sans); color: var(--soft); }
.post-meta > * + *::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--line-strong); margin-right: .9rem; vertical-align: middle; }
.post-meta a { color: var(--soft); }

.cover-tile { position: relative; display: flex; flex-direction: column; justify-content: center; width: 100%; height: 100%; aspect-ratio: 4 / 3; padding: 12% 10%; background: var(--ink); color: #fff; overflow: hidden; }
.cover-tile::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 2px, transparent 2px 9px); }
.cover-tile::after { content: ""; position: absolute; right: -14%; bottom: -30%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(154,21,22,.55), transparent 70%); }
.cover-bubble { position: relative; z-index: 1; width: 46%; max-width: 220px; margin: auto; color: var(--manila); filter: drop-shadow(0 6px 14px rgba(0,0,0,.35)); }

.post-lead { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(1.2rem, 3vw, 2.2rem); align-items: center; padding: 0 0 2.4rem; margin-bottom: 2.4rem; border-bottom: 1px solid var(--line); position: relative; }
.post-lead-media { display: block; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow); }
.post-lead-media img, .post-lead-media .cover-tile { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s var(--ease); }
.post-lead:hover .post-lead-media img, .post-lead:hover .post-lead-media .cover-tile { transform: scale(1.025); }
.post-flag { display: inline-block; margin: 0 0 .7rem; font: 700 .78rem/1 var(--sans); color: var(--brand-deep); background: #f9e3e3; padding: .4em .65em; border-radius: 4px; }
.post-lead h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; font-stretch: 76%; line-height: 1.05; margin: 0 0 .7rem; }
.post-lead h2 a { color: var(--ink); text-decoration: none; }
.post-lead h2 a::after { content: ""; position: absolute; inset: 0; }
.post-lead:hover h2 a { color: var(--brand); }
.post-lead-sum { font-size: 1.04rem; margin: .8rem 0 1.2rem; }
.post-lead .btn { position: relative; z-index: 1; }

.post-year { margin-bottom: 1.6rem; }
.post-year-title { display: flex; align-items: center; gap: .9rem; font: 800 1.15rem/1 var(--sans); font-stretch: 75%; color: var(--soft); margin: 0 0 .4rem; }
.post-year-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.post-year .post-item { grid-template-columns: 168px 1fr; gap: 1.4rem; padding: 1.3rem 0; align-items: center; }
.post-year .post-item:first-child { padding-top: 1rem; }
.post-year .post-item:last-child { border-bottom: 0; }
.post-thumb .cover-tile { padding: 10% 9%; }
.post-thumb .cover-bubble { width: 52%; }
.post-item h3 { font-size: 1.4rem; font-stretch: 80%; line-height: 1.15; margin: 0 0 .4rem; }
.post-item h3 a { color: var(--ink); text-decoration: none; }
.post-item h3 a::after { content: ""; position: absolute; inset: 0; }
.post-item:hover h3 a { color: var(--brand); text-decoration: underline; text-decoration-thickness: 2px; }
.post-sum { margin: .55rem 0 0 !important; font-size: 1rem; color: var(--text); }
.post-item:hover .post-thumb .cover-tile { transform: scale(1.03); }
.post-thumb .cover-tile { transition: transform .4s var(--ease); }

.byline { display: flex; align-items: center; gap: .9rem; margin: -0.6rem 0 2.2rem; }
.byline img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: 30% 30%; box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--line); }
.byline-name { margin: 0 0 .15rem; font: 600 .98rem/1.3 var(--sans); color: var(--ink); }
.byline-name a { color: var(--ink); text-decoration: none; font-weight: 700; }
.byline-name a:hover { color: var(--brand); text-decoration: underline; }
.post .page-head { margin-bottom: 1.6rem; padding-bottom: 0; border-bottom: 0; }

@media (max-width: 820px) {
  .post-lead { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .post-year .post-item { grid-template-columns: 96px 1fr; gap: 1rem; align-items: start; }
  .post-item h3 { font-size: 1.18rem; }
  .post-sum { display: none; }
  .post-item p.post-meta { display: flex; }
  .post-item .post-meta span:nth-of-type(2) { display: none; }
  .post-lead-media img, .post-lead-media .cover-tile { aspect-ratio: 16 / 9; }
  .post-meta { font-size: .82rem; gap: .2rem .7rem; }
  .post-meta > * + *::before { margin-right: .7rem; }
}

/* ---------- v6: page refinements ---------- */
/* Ed in his own words */
.prose p.said { position: relative; margin: 1.6em 0; padding: 1.2rem 1.4rem 1.2rem 3.1rem; background: var(--tint); border-radius: var(--r-md); font-size: 1.1rem; line-height: 1.65; color: var(--ink); font-style: italic; }
.prose p.said::before { content: "“"; position: absolute; left: .9rem; top: .55rem; font: 800 3rem/1 var(--sans); color: var(--brand); font-style: normal; }
.prose p.said em { font-style: normal; font-weight: 600; }
.prose p.said + p.said { margin-top: -0.6em; border-top-left-radius: 0; border-top-right-radius: 0; }
/* case links */
.prose p.evidence { position: relative; padding: .95rem 1.1rem .95rem 3.2rem; border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: var(--r-sm); background: #fff; font-size: 1.04rem; }
.prose p.evidence::before { content: ""; position: absolute; left: 1rem; top: 50%; width: 1.35rem; height: 1.35rem; transform: translateY(-50%); border-radius: 4px; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 4h7l4 4v12H7z' fill='none' stroke='%23fff' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M10 12h5M10 16h5' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 75% no-repeat; }
.prose p.evidence + p.evidence { margin-top: .6em; }
.prose p.evidence a { font-weight: 600; }
/* PDF links read as documents */
.prose a[data-lightbox="pdf"] { font-family: var(--sans); font-weight: 600; font-size: .98em; }
.prose a[data-lightbox="pdf"]::before { content: "PDF"; display: inline-block; margin-right: .45em; padding: .18em .4em .14em; font: 800 .66rem/1 var(--sans); letter-spacing: .04em; color: #fff; background: var(--brand); border-radius: 3px; vertical-align: .18em; text-decoration: none; }
.doc-embed iframe { height: 600px; }
/* drop the lead image float gap on who-is-ed when text is short */
.page--who-is-ed .prose > p:first-of-type { margin-top: 0; }
/* lists and quotes in prose */
.prose blockquote { background: none; }
.prose blockquote p strong { font-weight: 700; }
/* playlist: 3 across */
.playlist-items { grid-template-columns: repeat(3, 1fr); gap: 16px 14px; }
@media (max-width: 560px) { .playlist-items { grid-template-columns: repeat(2, 1fr); } .prose p.said { padding: 1rem 1.1rem 1rem 2.6rem; font-size: 1.04rem; } .prose p.said::before { left: .6rem; font-size: 2.4rem; } }
/* critics callout spacing */
.critic-quotes + .callout { margin-top: 1.4rem; }

/* search results */
.results-count { font: 600 .92rem var(--sans); color: var(--soft); margin: 0 0 1rem; }
.results { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.result a { display: grid; gap: .3rem; padding: 1.1rem 1.25rem; border: 1px solid var(--line); border-radius: var(--r-md); text-decoration: none; color: var(--text); transition: border-color .15s var(--ease), box-shadow .2s var(--ease); }
.result a:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.result-kind { font: 600 .8rem var(--sans); color: var(--soft); }
.result-title { font: 700 1.35rem/1.2 var(--sans); font-stretch: 80%; color: var(--ink); }
.result a:hover .result-title { color: var(--brand); text-decoration: underline; }
.result-text { font-size: 1rem; line-height: 1.55; }
.results mark { background: #ffe08a; color: inherit; padding: 0 .08em; border-radius: 2px; }
/* inline PDF clippings (Who is Ed?) */
.prose figure:has(> iframe) { margin: 1rem 0 2rem; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: var(--tint); box-shadow: var(--shadow); }
.prose figure > iframe { display: block; width: 100%; height: 620px; border: 0; background: var(--tint); }
@media (max-width: 760px) { .prose figure:has(> iframe) { display: none; } }
