/* Devlog and About: long-form reading pages in the site's smog-night look.
   One reading column (68ch) with figures breaking out wider; covers bleed full width under a lamp-glow gradient. */
body.article { background: var(--night); }
body.article::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(60% 40% at 50% -10%, rgba(251,189,69,.12), transparent 70%); }
body.article::after { content: ""; position: fixed; inset: -50%; pointer-events: none; z-index: 50; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23g)'/></svg>"); }
body.article main { position: relative; z-index: 1; display: block; padding-block: 0; }

/* Post hero: full-bleed cover, headline over its lower edge */
.post-hero { position: relative; display: grid; min-height: min(64svh, 640px); align-content: end; isolation: isolate; }
.post-cover { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; animation: settle 2.4s cubic-bezier(.2,.7,.2,1) both; }
.post-cover::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,9,7,.75) 0%, rgba(11,9,7,.1) 22%, rgba(11,9,7,.15) 50%, rgba(11,9,7,.85) 82%, var(--night) 100%); }
@keyframes settle { from { transform: scale(1.06); opacity: .4; } to { transform: none; opacity: 1; } }
.post-head { width: min(100%, 900px); margin-inline: auto; padding: 120px var(--gutter) clamp(32px, 6vw, 64px); }
.kicker { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 18px; font: 700 11px var(--font); letter-spacing: .24em; text-transform: uppercase; color: var(--dim); }
.kicker a { color: var(--lamp); text-decoration: none; }

.post-head h1, .list-head h1 { margin: 0; font-weight: 800; font-variation-settings: "wdth" 112; letter-spacing: .01em; line-height: 1.02;
  font-size: clamp(36px, 6.4vw, 76px); text-wrap: balance; text-shadow: 0 2px 30px rgba(0,0,0,.6); }
.dek { margin: 20px 0 0; max-width: 52ch; font-size: clamp(18px, 2vw, 21px); line-height: 1.5; color: var(--ink); opacity: .86; text-wrap: pretty; }

/* Reading column */
.prose { width: min(100%, calc(68ch + 2 * var(--gutter))); margin-inline: auto; padding: clamp(24px, 4vw, 48px) var(--gutter) 24px;
  font-size: clamp(17px, 1.25vw, 19px); line-height: 1.72; color: #d9ccb8; }
.prose > p { margin: 0 0 1.25em; text-wrap: pretty; }
.prose > p:first-child { font-size: 1.12em; color: var(--ink); }
.prose h2 { margin: 2.4em 0 .7em; font-weight: 800; font-variation-settings: "wdth" 110; font-size: clamp(24px, 2.6vw, 30px); line-height: 1.15; color: var(--ink); letter-spacing: .005em; text-wrap: balance; }
.prose h3 { margin: 2em 0 .5em; font-weight: 700; font-size: 1.05em; color: var(--lamp-hot); }
.prose strong { color: var(--ink); font-weight: 650; }
.prose em { font-style: italic; }
.prose a { color: var(--lamp); }
.prose ul, .prose ol { margin: 0 0 1.4em; padding-left: 1.2em; }
.prose li { margin: 0 0 .5em; padding-left: .3em; }
.prose li::marker { color: var(--lamp); }
.prose blockquote { margin: 1.8em 0; padding: 4px 0 4px 24px; border-left: 2px solid var(--lamp); color: var(--ink);
  font-size: 1.18em; line-height: 1.5; font-variation-settings: "wdth" 100; }
.prose blockquote p { margin: 0; }
.prose hr { border: 0; height: 1px; margin: 3em auto; width: 120px; background: linear-gradient(90deg, transparent, var(--lamp), transparent); opacity: .6; }
.byline { margin-top: 3em !important; padding-top: 22px; border-top: 1px solid var(--line); font-size: 15px; color: var(--dim); }

/* Figures break out of the column */
.figs { margin: 2.2em 0; display: grid; gap: 14px; }
.figs.wide { margin-inline: calc(50% - min(50vw, 560px)); }
.figs.pair, .figs.row { margin-inline: calc(50% - min(50vw, 600px)); padding-inline: var(--gutter); }
.figs.wide { padding-inline: var(--gutter); }
@media (min-width: 700px) {
  .figs.pair { grid-template-columns: 1fr 1fr; }
  .figs.row { grid-template-columns: repeat(3, 1fr); }
}
.figs figure { margin: 0; min-width: 0; }
.figs a.zoom { display: block; overflow: hidden; border-radius: 4px; border: 1px solid var(--line); background: var(--smog); cursor: zoom-in; }
.figs img { width: 100%; transition: transform 1.2s cubic-bezier(.2,.7,.2,1), filter .6s; filter: brightness(.95); }
.figs a.zoom:hover img { transform: scale(1.02); filter: brightness(1.04); }
.figs figcaption { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--dim); max-width: 70ch; }
.figs.wide figcaption { margin-inline: auto; max-width: 68ch; text-align: center; }

/* Prev / next */
.post-nav { width: min(100%, 1000px); margin: 24px auto 0; padding-inline: var(--gutter); display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.post-nav a { display: grid; gap: 6px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 4px; background: rgba(21,17,13,.7);
  color: var(--ink); text-decoration: none; font-weight: 700; line-height: 1.3; transition: border-color .3s, background .3s; }
.post-nav a:hover { border-color: var(--lamp); background: var(--smog); }
.post-nav a span { font: 700 11px var(--font); letter-spacing: .22em; text-transform: uppercase; color: var(--lamp); }
.post-nav .next { text-align: right; grid-column: 2; }
@media (max-width: 600px) { .post-nav { grid-template-columns: 1fr; } .post-nav .next { grid-column: 1; text-align: left; } }

/* Devlog index: wide, short rows; the newest one a little larger */
.list-head { width: min(100%, 1100px); margin-inline: auto; padding: clamp(120px, 13vw, 150px) var(--gutter) clamp(24px, 3vw, 36px); }
.list-head p { margin: 12px 0 0; color: var(--dim); font-size: clamp(17px, 1.6vw, 19px); }
.entries { list-style: none; margin: 0 auto; padding: 0 var(--gutter); width: min(100%, 1100px); display: grid; gap: 16px; }
.entries.older { margin-top: 16px; }
.entries.older .entry { max-width: 820px; }
.entries:last-of-type { margin-bottom: clamp(64px, 9vw, 110px); }
.entry a { position: relative; display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 6px;
  background: rgba(23,19,15,.55); color: inherit; text-decoration: none; transition: border-color .35s, background .35s; }
.entry a:hover { border-color: rgba(226,163,61,.55); background: rgba(30,24,18,.75); }
.entry-img { aspect-ratio: 16 / 9; overflow: hidden; border-radius: 4px; background: var(--smog); }
.entry-img img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.9); transition: transform 1.2s cubic-bezier(.2,.7,.2,1), filter .5s; }
.entry a:hover .entry-img img { transform: scale(1.03); filter: brightness(1.05); }
.entry-text { display: grid; gap: 8px; padding-right: 16px; }
.entry-date { display: flex; align-items: baseline; gap: 10px; color: var(--lamp); }
.entry-date b { font: 800 24px/1 var(--font); font-variation-settings: "wdth" 115; }
.entry-date span { font: 700 11px var(--font); letter-spacing: .24em; text-transform: uppercase; }
.entry h2 { margin: 0; font-weight: 800; font-variation-settings: "wdth" 110; font-size: 22px; line-height: 1.15; transition: color .3s; }
.entry a:hover h2 { color: var(--lamp-hot); }
.entry p { margin: 0; color: var(--dim); font-size: 15.5px; }
.entry-text { padding-bottom: 26px; }
.entry-more { position: absolute; right: 20px; bottom: 16px; font: 700 13px var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--lamp-hot); }
.entry-more::after { content: " \2192"; transition: margin .3s; }
.entry a:hover .entry-more::after { margin-left: 4px; }
.entry.lead a { grid-template-columns: 440px minmax(0, 1fr); padding: 14px; border-color: rgba(226,163,61,.3); }
.entry.lead .entry-date b { font-size: 32px; }
.entry.lead h2 { font-size: clamp(24px, 2.4vw, 30px); }
@media (max-width: 800px) { .entry a, .entry.lead a { grid-template-columns: 1fr; } .entry-text { padding: 0 6px 30px; } }

/* About page */
.about-hero { position: relative; display: grid; min-height: min(78svh, 760px); align-content: end; isolation: isolate; }
.facts.inline { margin: 2em 0 2.4em; }
.qa { margin: 0; border-top: 1px solid var(--line); }
.qa div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.qa dt { color: var(--ink); font-weight: 700; margin-bottom: 6px; }
.qa dd { margin: 0; }

/* Image zoom */
.zoombox { border: 0; padding: 0; max-width: 96vw; max-height: 94vh; background: transparent; }
.zoombox::backdrop { background: rgba(6,5,4,.92); }
.zoombox img { max-width: 96vw; max-height: 94vh; width: auto; height: auto; border-radius: 4px; cursor: zoom-out; }

@media (prefers-reduced-motion: reduce) { .post-cover img { animation: none; } }
.figs-cap { grid-column: 1 / -1; margin: -2px auto 0; max-width: 68ch; text-align: center; font-size: 14px; line-height: 1.5; color: var(--dim); }

/* About: one idea per section, plenty of room */
body.about main { padding-bottom: clamp(64px, 9vw, 110px); }
.ab-hero { position: relative; height: min(72svh, 700px); display: grid; place-items: end center; overflow: hidden; isolation: isolate; }
.ab-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; animation: settle 2.4s cubic-bezier(.2,.7,.2,1) both; }
.ab-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,9,7,.6), transparent 30%, transparent 50%, var(--night)); }
.ab-hero-text { text-align: center; padding: 0 var(--gutter) clamp(96px, 11vw, 130px); }
.ab-hero h1 { margin: 0; font-weight: 800; font-variation-settings: "wdth" 125; text-transform: uppercase; letter-spacing: .14em; margin-right: -.14em; font-size: clamp(34px, 6vw, 80px); line-height: 1;
  text-shadow: 0 2px 30px rgba(0,0,0,.6), 0 0 60px rgba(226,163,61,.3); }
.ab-hero p { margin: 16px 0 0; font-size: clamp(16px, 1.6vw, 20px); color: var(--ink); text-shadow: 0 1px 14px rgba(0,0,0,.8); }

.ab-facts { position: relative; z-index: 2; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); width: min(100% - 2 * var(--gutter), 1000px); margin: -56px auto 0; padding: 0;
  border: 1px solid rgba(226,163,61,.28); border-radius: 10px; background: rgba(20,15,11,.78); backdrop-filter: blur(16px); box-shadow: 0 30px 80px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,220,170,.06); }
.ab-facts li { display: grid; justify-items: center; gap: 8px; padding: 24px 16px; text-align: center; }
.ab-facts li + li { border-left: 1px solid rgba(241,231,216,.09); }
.ab-facts span { font: 700 11px var(--font); letter-spacing: .28em; text-transform: uppercase; color: var(--faint); }
.ab-facts b { font-weight: 700; font-size: clamp(16px, 1.5vw, 20px); font-variation-settings: "wdth" 108; color: var(--ink); }
@media (max-width: 700px) { .ab-facts { grid-template-columns: 1fr 1fr; margin-top: -32px; } .ab-facts li:nth-child(3) { border-left: 0; } .ab-facts li:nth-child(n+3) { border-top: 1px solid rgba(241,231,216,.09); } }
.ab-plays { width: min(100%, 1000px); margin: clamp(56px, 8vw, 96px) auto 0; padding-inline: var(--gutter); }
.ab-plays > .ab-h { margin-bottom: 4px; }
.ab-row { padding-block: clamp(22px, 3vw, 34px); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.ab-row img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; }
.ab-row.flip img { order: 0; }
.ab-row.flip { grid-template-columns: minmax(0, 380px) minmax(0, 1fr); }
.ab-row h2 { margin: 0; font-weight: 800; font-variation-settings: "wdth" 118; text-transform: uppercase; letter-spacing: .02em; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.05; }
.ab-row p { margin: 16px 0 0; color: var(--dim); font-size: 17px; line-height: 1.6; max-width: 34ch; }
@media (max-width: 800px) { .ab-row, .ab-row.flip { grid-template-columns: 1fr; } .ab-row.flip img { order: 0; } }

.ab-band { position: relative; margin-top: clamp(80px, 11vw, 140px); height: min(70svh, 640px); display: grid; place-items: center; overflow: hidden; isolation: isolate; text-align: center; }
.ab-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; filter: brightness(.55); }
.ab-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--night), transparent 25%, transparent 75%, var(--night)); }
.ab-band p { margin: 0; padding-inline: var(--gutter); font-weight: 800; font-variation-settings: "wdth" 115; font-size: clamp(26px, 3.6vw, 50px); line-height: 1.15; color: var(--ink); text-shadow: 0 2px 30px rgba(0,0,0,.7); }

.ab-sec { width: min(100%, 900px); margin: clamp(72px, 9vw, 120px) auto 0; padding-inline: var(--gutter); }
.ab-h { margin: 0 0 22px; font: 700 12px var(--font); letter-spacing: .3em; text-transform: uppercase; color: var(--lamp); }
.ab-sec.quote { text-align: center; }
.ab-sec.quote p { margin: 0 auto; color: var(--dim); font-size: 17px; max-width: 44ch; }
.ab-sec.quote b { font-weight: 800; font-variation-settings: "wdth" 125; letter-spacing: .2em; text-transform: uppercase; font-size: clamp(28px, 4vw, 48px); color: var(--ink); text-shadow: 0 0 50px rgba(226,163,61,.35); }
.ab-sec.quote span { display: block; margin-top: 8px; font-size: 14px; letter-spacing: .1em; color: var(--lamp); }
.ab-sec.quote p + p { margin-top: 14px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-weight: 700; font-size: 18px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--lamp); font-weight: 400; font-size: 24px; line-height: 1; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 0 22px; color: var(--dim); }
.ab-fans { margin: 28px 0 0; color: var(--dim); font-size: 15px; }
.ab-plays .ab-row:last-child { border-bottom: 0; }

.ab-sec { width: min(100%, 1000px); }
.ab-lead { margin: 0 0 16px !important; color: var(--ink) !important; font-weight: 600; font-size: clamp(20px, 2.1vw, 26px) !important; line-height: 1.35 !important; max-width: 40ch !important; text-wrap: balance; }
.ab-what p:not(.ab-lead), .ab-studio p:not(.ab-lead) { margin: 0; color: var(--dim); font-size: 17px; line-height: 1.7; max-width: 62ch; }
.ab-studio a { color: var(--lamp-hot); }
.ab-insp { display: grid; grid-template-columns: 1fr 1fr; margin: 0; border-top: 1px solid var(--line); }
.ab-insp div { padding: 20px 24px 20px 0; border-bottom: 1px solid var(--line); }
.ab-insp div:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
.ab-insp dt { font-weight: 800; font-variation-settings: "wdth" 112; font-size: 19px; color: var(--ink); }
.ab-insp dd { margin: 6px 0 0; color: var(--dim); font-size: 15.5px; }
@media (max-width: 700px) { .ab-insp { grid-template-columns: 1fr; } .ab-insp div:nth-child(even) { padding-left: 0; border-left: 0; } }

/* Reading comfort: narrower column, more air, sections clearly separated */
.prose { width: min(100%, calc(62ch + 2 * var(--gutter))); line-height: 1.8; }
.prose > p { margin: 0 0 1.6em; }
.prose > p:first-child, .prose > .tldr + p { font-size: 1.15em; line-height: 1.6; color: var(--ink); }
.prose h2 { margin: 3.2em 0 1em; padding-top: 1.6em; border-top: 1px solid var(--line); font-size: clamp(24px, 2.6vw, 32px); }
.prose ul { margin: 0 0 1.8em; }
.prose li { margin: 0 0 .9em; }
.prose .figs { margin: 3em 0; }
.tldr { margin: 0 0 3em; padding: 22px 26px; border: 1px solid rgba(226,163,61,.3); border-radius: 8px; background: rgba(23,19,15,.7); }
.tldr p { margin: 0 0 12px !important; font: 700 11px var(--font) !important; letter-spacing: .26em; text-transform: uppercase; color: var(--lamp) !important; }
.tldr ul { margin: 0 !important; padding-left: 1.1em; }
.tldr li { margin: 0 0 .5em !important; color: var(--ink); font-size: 16.5px; line-height: 1.5; }
.tldr li:last-child { margin-bottom: 0 !important; }

/* Devlog list: titles and descriptions cut off with an ellipsis */
.entry h2 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.entry p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.entries.older .entry h2 { -webkit-line-clamp: 1; }
.entries.older .entry p { -webkit-line-clamp: 1; }
.prose .figs.wide, .prose .figs.pair, .prose .figs.row { margin-inline: calc(50% - min(46vw, 520px)); padding-inline: 0; }
@media (max-width: 760px) { .prose .figs.wide, .prose .figs.pair, .prose .figs.row { margin-inline: 0; } }

/* Post hero: just the date and read time above the title, clearly readable */
.post-head .kicker { gap: 8px 22px; margin-bottom: 20px; font-size: 13px; letter-spacing: .2em; color: var(--lamp-hot); text-shadow: 0 1px 12px rgba(0,0,0,.85); }
.post-head .kicker a { color: var(--lamp); }
