/* site-v2 blog (2026-12-03, decision 149). Pages are rendered by the seo-engine (release.py / build.py) from
   seo/templates/post.html and blog-index.html into dist/blog/; this stylesheet ships as /blog/page.css.
   Light pages only; every card and row lifts (.lift); one dark closer per page.
   Images the engine templates use (named here so the dist build ships them): /assets/timeline/izzy-plans.webp
   /assets/izzy-byline.webp /assets/bg-restaurant2.webp */

/* ---------- blog index: type masthead with a framed photo ---------- */
.bhero { padding-block: clamp(48px, 7vw, 104px) clamp(48px, 6vw, 88px); border-bottom: 1px solid var(--line); }
.bhero-in { width: min(var(--maxw), 100% - 32px); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.bhero h1 { font-size: clamp(52px, 7.4vw, 120px); line-height: .94; letter-spacing: -0.03em; }
.bhero h1 em { color: var(--flame); }
.bhero p { margin-top: clamp(20px, 2.4vw, 32px); font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; color: var(--muted); max-width: 46ch; }
.bhero-act { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.bhero-photo { margin: 0; padding: 12px; background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 60px -32px rgba(22, 20, 18, .45); transform: rotate(1.2deg); }
.bhero-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.bhero-photo figcaption { padding: 12px 4px 2px; font: 400 17px/1.3 var(--display); font-style: italic; color: var(--muted); }
@media (max-width: 900px) { .bhero-in { grid-template-columns: 1fr; } .bhero-photo { transform: none; max-width: 520px; } }

.blist { padding-block: clamp(64px, 8vw, 120px); }
.blist-in { width: min(var(--maxw), 100% - 32px); margin-inline: auto; }
.blist h2 { font-size: clamp(36px, 4vw, 60px); margin-bottom: clamp(24px, 3vw, 40px); }
.blist-items { border-top: 1px solid var(--fg); }
.blist-items > a { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr) auto; gap: 12px clamp(20px, 4vw, 56px); align-items: baseline;
  padding: clamp(24px, 3vw, 36px) clamp(12px, 2vw, 24px); border-bottom: 1px solid var(--line); text-decoration: none; color: var(--fg); }
.blist-items > a b { font: 400 clamp(26px, 2.4vw, 36px)/1.12 var(--display); }
.blist-items > a span { color: var(--muted); font-size: 17px; line-height: 1.55; }
.blist-items > a time { font: 700 13px/1 var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.blist-items > p { padding: 32px 0; color: var(--muted); font-size: 18px; }
@media (max-width: 900px) { .blist-items > a { grid-template-columns: 1fr; } .blist-items > a time { order: -1; } }

/* the shared .lift hover: the row fills flame and the text turns white */
.blist-items > a { transition: transform .3s var(--ease), background-color .3s, color .3s, border-color .3s; }
.blist-items > a:hover, .blist-items > a:focus-visible { background: var(--flame); border-color: var(--flame); color: #fff; }
.blist-items > a:hover span, .blist-items > a:hover time, .blist-items > a:focus-visible span, .blist-items > a:focus-visible time { color: rgba(255, 255, 255, .9); }
@media (prefers-reduced-motion: no-preference) { .blist-items > a:hover { transform: translateY(-4px); } }

/* ---------- article ---------- */
.ahero { padding-block: clamp(40px, 6vw, 88px) clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.ahero-in { width: min(980px, 100% - 32px); margin-inline: auto; }
.crumb { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 clamp(20px, 2.4vw, 32px); padding: 0; list-style: none; font: 700 13px/1.4 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.crumb li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.crumb a { color: var(--flame); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.crumb li:last-child { max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-flex; align-items: center; }
.ahero h1 { font-size: clamp(40px, 5.6vw, 84px); line-height: 1; letter-spacing: -0.025em; }
.byline { display: flex; align-items: center; gap: 16px; margin-top: clamp(24px, 3vw, 36px); }
.byline img { width: 64px; height: 64px; object-fit: cover; background: #fff; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line), 0 10px 24px -14px rgba(22, 20, 18, .45); }
.byline b { display: block; font: 400 20px/1.2 var(--display); }
.byline a { color: inherit; }
.byline span { color: var(--muted); font-size: 15px; }

.abody { padding-block: clamp(48px, 6vw, 88px); }
.abody-in { width: min(var(--maxw), 100% - 32px); margin-inline: auto; display: grid; grid-template-columns: 260px minmax(0, 720px); justify-content: center; gap: clamp(32px, 5vw, 80px); }
.toc { align-self: start; position: sticky; top: 96px; border-top: 1px solid var(--fg); padding-top: 16px; }
.toc p { font: 700 13px/1 var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc a { display: flex; align-items: center; min-height: 44px; padding: 6px 0; border-bottom: 1px solid var(--line); color: var(--muted); text-decoration: none; font-size: 15px; line-height: 1.35; transition: color .2s, padding .2s; }
.toc a:hover, .toc a:focus-visible { color: var(--flame); padding-left: 6px; }
@media (max-width: 1000px) { .abody-in { grid-template-columns: minmax(0, 720px); } .toc { position: static; } }

.prose { font-size: clamp(18px, 1.3vw, 20px); line-height: 1.7; color: var(--fg); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2.2em; font-size: clamp(30px, 3vw, 44px); line-height: 1.08; scroll-margin-top: 96px; }
.prose h3 { margin-top: 1.8em; font: 600 21px/1.3 var(--body); }
.prose p, .prose li { max-width: 68ch; }
.prose > p:first-child { font: 400 clamp(23px, 2vw, 28px)/1.45 var(--display); }
.prose a { color: var(--flame-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { color: var(--flame); }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--flame); }
.prose strong { font-weight: 600; }
.prose blockquote { margin: 1.8em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--flame); font: italic 400 clamp(24px, 2.2vw, 30px)/1.35 var(--display); }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.5; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font: 700 13px/1.3 var(--label); letter-spacing: .1em; text-transform: uppercase; border-bottom-color: var(--fg); }

/* FAQs (engine markup: details.qa inside .guide-faq) */
.guide-faq { border-top: 1px solid var(--fg); }
.guide-faq .qa { border-bottom: 1px solid var(--line); }
.guide-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 64px; padding: 18px 0; cursor: pointer; list-style: none; }
.guide-faq summary::-webkit-details-marker { display: none; }
.guide-faq summary h3 { margin: 0; font: 400 clamp(22px, 1.9vw, 27px)/1.25 var(--display); }
.guide-faq .pm { position: relative; flex: none; width: 18px; height: 18px; }
.guide-faq .pm::before, .guide-faq .pm::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: var(--flame); transition: transform .3s var(--ease); }
.guide-faq .pm::after { transform: rotate(90deg); }
.guide-faq .qa[open] .pm::after { transform: rotate(0); }
.guide-faq .qa p { margin: 0 0 22px; color: var(--muted); }

/* related reading: up to the parent page, across to siblings */
.brel { width: min(var(--maxw), 100% - 32px); margin-inline: auto; padding-block: 0 clamp(64px, 8vw, 112px); }
.brel h2 { font-size: clamp(32px, 3.4vw, 50px); margin-bottom: 24px; }
.brel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.brel-grid > a { display: flex; flex-direction: column; gap: 10px; padding: clamp(22px, 2.6vw, 32px); border: 1px solid var(--line); text-decoration: none; color: var(--fg); }
.brel-grid > a b { font: 400 clamp(22px, 1.9vw, 28px)/1.18 var(--display); }
.brel-grid > a span { color: var(--muted); font-size: 16px; line-height: 1.5; }
.brel-grid > a:hover, .brel-grid > a:focus-visible { background: var(--flame); border-color: var(--flame); color: #fff; }
.brel-grid > a:hover span, .brel-grid > a:focus-visible span { color: rgba(255, 255, 255, .9); }
@media (prefers-reduced-motion: no-preference) { .brel-grid > a { transition: transform .3s var(--ease), background-color .3s, color .3s; } .brel-grid > a:hover { transform: translateY(-4px); } }
