/* ================= Blog ================= */
.blog-section { padding-top: clamp(2rem, 4vw, 3.2rem); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: clamp(1.8rem, 3vw, 2.6rem); }
.chips[hidden] { display: none; }
.chips .chip { padding: .55rem 1.1rem; border: 1px solid var(--line); background: none; border-radius: 0; font: inherit; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.chips .chip:hover { border-color: var(--gold); }
.chips .chip.on { background: var(--ink); color: var(--ivory); border-color: var(--ink); }

.bfeature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.6rem, 4vw, 4rem); align-items: center; text-decoration: none; color: inherit; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.bfeature figure, .bcard figure { margin: 0; overflow: hidden; background: var(--sand); position: relative; }
.bfeature figure { aspect-ratio: 16 / 10; }
.bfeature img, .bcard img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease); }
.bfeature:hover img, .bcard:hover img { transform: scale(1.04); }
.no-img { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-style: normal; font-size: 3rem; color: var(--gold); background: var(--sand); }
.bmeta { margin: 0 0 .9rem; font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: #8a6d33; }
.bfeature h2 { font-size: clamp(2.2rem, 4.4vw, 3.8rem); line-height: 1.04; }
.bex { margin: 1rem 0 0; color: var(--muted); font-size: 1.05rem; line-height: 1.6; }
.bmore { display: inline-block; margin-top: 1.4rem; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; padding-bottom: 4px; border-bottom: 1px solid var(--ink); transition: color .3s, border-color .3s, letter-spacing .5s var(--ease); }
.bfeature:hover .bmore, .bcard:hover .bmore { color: #8a6d33; border-color: var(--gold); letter-spacing: .26em; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.6rem, 3vw, 2.6rem) clamp(1.2rem, 2.4vw, 2.2rem); }
.bcard { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.bcard figure { aspect-ratio: 4 / 3; }
.bcard-body { padding-top: 1.2rem; display: flex; flex-direction: column; flex: 1; }
.bcard h3 { font-size: 1.85rem; line-height: 1.1; transition: color .3s; }
.bcard:hover h3 { color: #8a6d33; }
.bcard .bex { font-size: .98rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bcard .bmore { align-self: flex-start; margin-top: auto; padding-top: 0; }
.bcard .bex + .bmore { margin-top: 1.2rem; }
.blog-more { margin-top: clamp(2.2rem, 4vw, 3.4rem); text-align: center; }
.blog-more[hidden], .blog-body[hidden], #blog-empty[hidden] { display: none; }

/* single post */
.narrow { max-width: 46rem; }
.post-hero { padding: calc(var(--header-h) + clamp(2rem, 5vw, 4rem)) 0 clamp(1.6rem, 3vw, 2.4rem); }
.post-hero .back { display: inline-block; margin-bottom: 1.8rem; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 3px; }
.post-hero .back:hover { color: #8a6d33; border-color: var(--gold); }
.post-hero h1 { font-size: clamp(2.8rem, 6.4vw, 5.2rem); line-height: 1; letter-spacing: -.02em; }
.post-hero h1 em { color: inherit; font-style: normal; }
.standfirst { margin: 1.4rem 0 0; font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.35; color: var(--muted); }
.byline { margin: 1.4rem 0 0; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.post-image { margin: 0 auto clamp(2.2rem, 5vw, 4rem); max-width: 1180px; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }
.post-image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: var(--sand); }
.rise { opacity: 0; transform: translateY(14px); animation: riseIn .9s var(--ease) calc(var(--i, 0) * 90ms + .1s) forwards; }
@keyframes riseIn { to { opacity: 1; transform: none; } }
.prose { padding-bottom: clamp(3rem, 6vw, 5rem); font-size: 1.1rem; line-height: 1.8; color: #2a2825; }
.prose > * + * { margin-top: 1.4em; }
.prose h2 { font-size: clamp(2rem, 4vw, 2.7rem); line-height: 1.1; margin-top: 2.2em; }
.prose h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.15; margin-top: 1.9em; }
.prose p { margin-bottom: 0; }
.prose a { color: inherit; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; text-decoration-thickness: 1px; transition: color .3s; }
.prose a:hover { color: #8a6d33; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: .4em; }
.prose blockquote { margin-left: 0; margin-right: 0; padding: .4em 0 .4em 1.4em; border-left: 2px solid var(--gold); font-family: var(--serif); font-style: normal; font-size: 1.5em; line-height: 1.4; }
.prose img, .prose video, .prose iframe { max-width: 100%; display: block; height: auto; margin-left: auto; margin-right: auto; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; }
.prose figure { margin-left: 0; margin-right: 0; }
.prose figcaption { margin-top: .6em; font-size: .85rem; color: var(--muted); text-align: center; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prose pre, .prose code { font-size: .9em; background: var(--sand); padding: .15em .4em; }
.prose pre { padding: 1em; overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: .6em .8em; text-align: left; }
.prose .ql-align-center { text-align: center; } .prose .ql-align-right { text-align: right; } .prose .ql-align-justify { text-align: justify; }
.prose .ql-size-small { font-size: .85em; } .prose .ql-size-large { font-size: 1.3em; } .prose .ql-size-huge { font-size: 1.7em; }

@media (max-width: 1000px) { .blog-grid { grid-template-columns: 1fr 1fr; } .bfeature { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } .bcard figure { aspect-ratio: 16 / 10; } .prose { font-size: 1.05rem; } }
@media (prefers-reduced-motion: reduce) { .rise { animation: none; opacity: 1; transform: none; } .bfeature:hover img, .bcard:hover img { transform: none; } }
.prose strong, .prose b { font-weight: 600; color: var(--ink); }
.prose > p:first-child { font-size: 1.3em; line-height: 1.65; color: var(--ink); }
.prose h2::before { content: ""; display: block; width: 2.6rem; height: 1px; background: var(--gold); margin-bottom: .7em; }

/* ---------- modern post layout ---------- */
.post-cover { margin-top: var(--header-h); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); min-height: clamp(480px, 70vh, 680px); background: var(--ink); color: #fff; overflow: hidden; }
.cover-media { position: relative; order: 2; min-height: 320px; }
.cover-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; display: block; animation: coverZoom 2.4s var(--ease) both; }
@keyframes coverZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.cover-text { order: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(2.4rem, 5vw, 4.5rem) clamp(1.8rem, 4vw, 4rem) clamp(2.4rem, 5vw, 4.5rem) max(clamp(1.25rem, 4vw, 2.5rem), calc((100vw - var(--max)) / 2)); }
.cover-text .back { display: inline-block; margin-bottom: 2rem; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .5); padding-bottom: 3px; }
.cover-text .back:hover { color: var(--gold-soft); border-color: var(--gold-soft); }
.cover-text .bmeta { color: var(--gold-soft); }
.cover-text h1 { font-size: clamp(2.4rem, 4.6vw, 4.3rem); line-height: 1.02; letter-spacing: -.015em; color: #fff; }
.cover-text .standfirst { color: rgba(255, 255, 255, .78); font-size: clamp(1.25rem, 2vw, 1.55rem); }
.cover-text .byline { color: rgba(255, 255, 255, .62); display: flex; align-items: center; gap: .8rem; }
.cover-text .byline::before { content: ""; width: 2.2rem; height: 1px; background: var(--gold-soft); }
.post-cover + .wrap .prose { padding-top: clamp(2.6rem, 6vw, 4.4rem); }
.prose .lead { font-size: 1.4em; line-height: 1.55; font-family: var(--serif); color: var(--ink); }
.prose .lead::first-letter { float: left; font-size: 3.5em; line-height: .78; padding: .05em .1em 0 0; color: var(--gold); font-family: var(--serif); }
.prose > p:first-child.lead { font-size: 1.4em; }
.prose figure, .prose .stats, .prose .ages, .prose .gallery, .prose .pair { margin-top: 2.2em; margin-bottom: 2.2em; }
.prose .wide, .prose .stats, .prose .ages, .prose .gallery, .prose .pair { position: relative; left: 50%; width: min(1100px, calc(100vw - 3rem)); transform: translateX(-50%); }
.prose figure img { width: 100%; height: auto; display: block; }
.prose figure.wide img { aspect-ratio: 2 / 1; object-fit: cover; }
.prose figcaption { margin-top: .8em; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-align: left; }
.prose .pair, .prose .gallery { display: grid; gap: 1rem; }
.prose .pair { grid-template-columns: 1fr 1fr; }
.prose .gallery { grid-template-columns: repeat(3, 1fr); }
.prose .pair figure, .prose .gallery figure { margin: 0; left: auto; width: auto; transform: none; }
.prose .pair img, .prose .gallery img { aspect-ratio: 4 / 3; object-fit: cover; }
.prose .gallery img { aspect-ratio: 1 / 1; }
.prose .stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.prose .stats > div { padding: clamp(1.4rem, 3vw, 2.2rem) 1rem; text-align: center; }
.prose .stats > div + div { border-left: 1px solid var(--line); }
.prose .stats b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1; color: var(--gold); }
.prose .stats span { display: block; margin-top: .6rem; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.prose .ages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.prose .ages > div { padding: 1.4rem 1.3rem 1.5rem; background: var(--ivory); border-top: 2px solid var(--gold); }
.prose .ages > div.hl { background: var(--ink); color: var(--ivory); }
.prose .ages b { display: block; font-family: var(--serif); font-weight: 400; font-size: 3rem; line-height: 1; }
.prose .ages i { display: block; font-style: normal; font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: #8a6d33; margin: .3rem 0 .8rem; }
.prose .ages > div.hl i { color: var(--gold-soft); }
.prose .ages p { margin: 0; font-size: .95rem; line-height: 1.55; }
.prose .callout { padding: 1.6rem 1.8rem; background: var(--sand); border-left: 3px solid var(--gold); }
.prose .callout > :first-child { margin-top: 0; } .prose .callout > :last-child { margin-bottom: 0; }
.prose .callout h3 { margin-top: 0; }
.prose ol.how { list-style: none; counter-reset: st; padding: 0; }
.prose ol.how li { counter-increment: st; display: grid; grid-template-columns: 3.4rem 1fr; gap: 0 .8rem; padding: 1.1rem 0; border-top: 1px solid var(--line); }
.prose ol.how li:last-child { border-bottom: 1px solid var(--line); }
.prose ol.how li::before { content: counter(st, decimal-leading-zero); font-family: var(--serif); font-size: 2rem; line-height: 1; color: var(--gold); }
.prose blockquote.pull { margin: 2.6em 0; padding: 1.2em 0; border: 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); text-align: center; font-size: clamp(1.7rem, 3.6vw, 2.5rem); line-height: 1.25; }
.prose blockquote.pull cite { display: block; margin-top: .9em; font: normal 400 .68rem var(--sans); letter-spacing: .22em; text-transform: uppercase; color: #8a6d33; }
.prose .cta { display: inline-block; padding: 1rem 1.8rem; background: var(--ink); color: var(--ivory); text-decoration: none; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; }
.prose .cta:hover { background: var(--gold); color: var(--ink); }
@media (max-width: 800px) {
  .prose .stats { grid-template-columns: 1fr; } .prose .stats > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .prose .ages { grid-template-columns: 1fr 1fr; } .prose .pair { grid-template-columns: 1fr; } .prose .gallery { grid-template-columns: 1fr 1fr; }
  .prose .gallery figure:last-child { grid-column: 1 / -1; } .prose .gallery figure:last-child img { aspect-ratio: 16 / 9; }
}
@media (max-width: 900px) { .post-cover { grid-template-columns: 1fr; } .cover-media { order: 1; min-height: 0; aspect-ratio: 16 / 10; } .cover-text { order: 2; padding: 2rem clamp(1.25rem, 4vw, 2.5rem) 2.6rem; } }
@media (max-width: 520px) { .prose .ages { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .cover-media img { animation: none; } }
.prose .ages > div.hl b { color: var(--ivory); }
