/* Layout is local; colors, type, spacing, radii, and elevation use tokens.css (linked from layout). */
html{scrollbar-gutter:stable}
*{box-sizing:border-box}
body{margin:0;background:var(--ch-paper);color:var(--fg-1);font:var(--body)}
a{color:inherit;text-underline-offset:4px}
a:focus-visible{outline:3px solid var(--ch-blue);outline-offset:6px}
img{display:block;max-width:100%;height:auto}
button,input,select,textarea{font:inherit}
.skip{position:absolute;top:-100px;left:var(--space-5);background:var(--bg-2);padding:var(--space-3);z-index:10}.skip:focus{top:var(--space-3)}
.nav,main{max-width:1140px;margin:auto;padding-inline:var(--space-9)}
.nav{display:flex;align-items:center;justify-content:space-between;padding-top:var(--space-7);padding-bottom:var(--space-6)}
.nav>a{display:inline-block}.nav-archive{font:var(--body-sm);font-weight:700;color:var(--ch-blue);text-decoration:none}.nav-archive:hover{text-decoration:underline}
.intro{padding:var(--space-10) 0 var(--space-8)}
.intro h1{font:var(--display-2);letter-spacing:-.01em;margin:0}
.intro p{margin:var(--space-3) 0 0;color:var(--fg-2);font:var(--body)}
.release-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-9) var(--space-7)}
.release-card{min-width:0}.card-link{display:block;text-decoration:none;color:inherit}
.card-link:hover{color:inherit}
.card-image{contain:layout;height:265px;display:flex;justify-content:center;align-items:center;overflow:hidden;border-radius:var(--radius-lg);background:var(--ch-paper-2);padding:var(--space-6)}
.card-image img{width:100%;height:100%;object-fit:contain}

.card-copy{padding:var(--space-5) 0 0}.meta{display:flex;align-items:center;gap:var(--space-4);font:var(--caption);color:var(--fg-2)}
.latest{font:var(--text-micro-bold);letter-spacing:-.005em;background:var(--ch-paper-3);color:var(--ch-ink);border-radius:var(--radius-pill);padding:var(--space-1) var(--space-2)}
.card-copy h2{font:var(--h2);letter-spacing:-.01em;margin:var(--space-3) 0;color:var(--fg-1)}
.card-link:hover .card-copy h2{color:var(--fg-1)}
.card-copy p{margin:0;font:var(--body);color:var(--fg-2);max-width:430px}
.card-link:hover .card-copy p{color:var(--fg-2)}
.read{display:inline-block;font:var(--body-sm);font-weight:700;margin-top:var(--space-4);color:var(--ch-blue)}
.card-link:hover .read{text-decoration:underline}
.lead{grid-column:1/-1;padding-bottom:var(--space-8)}
.lead .card-link{display:grid;grid-template-columns:1.35fr 1fr;gap:var(--space-8);align-items:center}
.lead .card-image{height:330px;padding:var(--space-6)}.lead .card-copy{padding:0 var(--space-4) 0 0}
.lead h2{font:var(--h1);letter-spacing:-.01em;margin-block:var(--space-4)}.lead .read{margin-top:var(--space-6)}
.archive-end{display:flex;justify-content:space-between;align-items:center;gap:var(--space-4);margin-top:var(--space-10);padding-top:var(--space-2);font:var(--body);color:var(--fg-2)}
.archive-button{display:inline-flex;justify-content:center;align-items:center;min-height:48px;padding:14px var(--space-6);border:0;border-radius:var(--radius-pill);background:var(--ch-paper);color:var(--ch-ink);font:var(--title);text-decoration:none;box-shadow:var(--shadow-inset)}
.archive-button:hover{background:var(--bg-3)}.archive-button:active{background:var(--ch-paper-3);transform:scale(.96)}
main{padding-bottom:var(--space-10)}
.back{display:inline-block;font:var(--body-sm);font-weight:700;margin-top:var(--space-7);color:var(--ch-blue);text-decoration:none}.back:hover{text-decoration:underline}
.article-header time{font:var(--caption);color:var(--fg-2)}
.article-header h1{font:var(--display-3);letter-spacing:-.01em;margin:var(--space-4) 0}





.release-section{scroll-margin-top:var(--space-7);margin-bottom:var(--space-9)}.prose{max-width:640px;margin:auto}
.prose h2{font:var(--h2);letter-spacing:-.01em;margin:0 0 var(--space-4)}
.prose p,.prose ul{font:var(--body);color:var(--fg-2);margin:0 0 var(--space-4)}
.prose a{color:var(--ch-blue);text-decoration:none}.prose a:hover{text-decoration:underline}.prose li{padding-block:var(--space-1)}
.prose .note{font:var(--body-sm);background:var(--ch-paper-2);border-left:2px solid var(--border-2);padding:var(--space-4) var(--space-5);margin-top:var(--space-6)}.note strong{display:block;color:var(--fg-1);margin-bottom:var(--space-1)}
.prose blockquote{border-left:2px solid var(--border-2);padding-left:var(--space-5);color:var(--fg-2)}
.gallery{margin:var(--space-7) 0 0;background:var(--bg-2);border-radius:var(--radius-xl);box-shadow:var(--shadow-2);padding:var(--space-6);display:flex;flex-wrap:wrap;justify-content:center;gap:var(--space-6)}
.gallery figure{margin:0;min-width:0}.gallery figure a{display:block;cursor:zoom-in}.gallery img{width:100%;height:auto;border-radius:var(--radius-xs)}
.gallery .portrait{width:100%;max-width:300px}.gallery+.prose{margin-top:var(--space-6)}
.release-pagination{padding-top:var(--space-8);display:flex;justify-content:space-between;gap:var(--space-7);margin-top:var(--space-6)}
.release-pagination>a{flex:1;max-width:45%;text-decoration:none}.release-pagination>a:last-child{text-align:right}.release-pagination span{display:block;font:var(--caption);color:var(--fg-2)}.release-pagination strong{display:block;font:var(--title);margin-top:var(--space-1)}.release-pagination a:hover strong{color:var(--ch-blue)}
.archive-page{max-width:1000px}.archive-page .intro{padding:var(--space-8) 0 var(--space-7)}
.year-links{display:flex;gap:var(--space-7);padding-bottom:var(--space-6);margin-bottom:var(--space-4)}.year-links a{font:var(--body-sm);font-weight:700;color:var(--ch-blue);text-decoration:none}.year-links a:hover{text-decoration:underline}
.archive-year{display:grid;grid-template-columns:130px minmax(0,1fr);gap:var(--space-6);padding-top:var(--space-8);scroll-margin-top:var(--space-6)}
.archive-year h2{font:var(--text-h0);letter-spacing:-.005em;margin:var(--space-2) 0 0}.archive-year ul{list-style:none;padding:0;margin:0}
.archive-year li{scroll-margin-top:var(--space-7)}.archive-year li a{display:grid;grid-template-columns:120px minmax(0,1fr);gap:var(--space-6);padding:var(--space-6) 0;text-decoration:none;line-height:1.25;color:inherit}
.archive-year li a:hover{color:inherit}
.archive-year time{font:var(--caption);color:var(--fg-2);padding-top:var(--space-1)}.archive-year li a:hover time{color:var(--fg-2)}
.archive-year li span{font:var(--title);color:var(--fg-1)}.archive-year li a:hover span{color:var(--fg-1)}
.archive-year li:target{background:var(--ch-paper-2);border-radius:var(--radius-xs);box-shadow:12px 0 var(--ch-paper-2),-12px 0 var(--ch-paper-2)}
@media(max-width:850px){.nav,main{padding-inline:var(--space-7)}.lead .card-link{grid-template-columns:1.2fr 1fr;gap:var(--space-6)}.lead .card-image{height:280px;padding:var(--space-4)}.lead h2{font:var(--text-h1);letter-spacing:-.005em}.card-image{height:235px}}
@media(max-width:580px){.nav,main{padding-inline:var(--space-6)}.nav{padding-top:var(--space-6);padding-bottom:var(--space-5)}.nav img{width:135px;height:auto}.intro{padding:var(--space-8) 0 var(--space-7)}.intro h1{font:var(--display-3);letter-spacing:-.01em}.release-grid{grid-template-columns:1fr;gap:var(--space-7)}.lead{padding-bottom:var(--space-7)}.lead .card-link{display:block}.lead .card-image{height:auto;aspect-ratio:1.5;padding:var(--space-5)}.lead .card-copy{padding:var(--space-5) 0 0}.lead h2{margin-block:var(--space-3)}.card-image{height:240px}.lead .read{margin-top:var(--space-4)}.article-header h1{font:var(--h1);letter-spacing:-.01em}.gallery{padding:var(--space-4);gap:var(--space-3)}.archive-end{flex-direction:column;align-items:stretch;text-align:center;gap:var(--space-5)}.release-pagination strong{font:var(--text-s-bold)}main{padding-bottom:var(--space-9)}.archive-page .intro{padding-top:var(--space-7)}.year-links{gap:var(--space-6);padding-bottom:var(--space-5)}.archive-year{grid-template-columns:1fr;gap:var(--space-3);padding-top:var(--space-7)}.archive-year h2{font:var(--h2);letter-spacing:-.01em}.archive-year li a{grid-template-columns:100px minmax(0,1fr);gap:var(--space-3);padding:var(--space-4) 0}.archive-year li span{font:var(--text-s-bold)}.release-pagination{gap:var(--space-5)}}
/* Shared article template: all text has one left edge; media can be wider. */
.release-page{max-width:1016px}
.reading-column{width:100%;max-width:680px;margin-inline:auto}
.article-return{padding-top:var(--space-7)}.article-return .back{margin-top:0}
.article-header.reading-column{margin:var(--space-8) auto var(--space-8)}
.article-header h1{margin-bottom:0;overflow-wrap:break-word}
.article-content{border:0;padding:0}
.article-content h2{font:var(--h2);letter-spacing:-.01em;margin:0 0 var(--space-4)}
.release-section{margin-bottom:var(--space-9)}
.article-content .prose{max-width:680px}
.gallery{margin:var(--space-6) 0 var(--space-7)}
.gallery.single .landscape{width:100%}.gallery.single .portrait{max-width:320px}
.gallery.layout-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
.gallery.layout-pair figure{width:100%;max-width:100%;justify-self:center}
.gallery.layout-pair img{max-height:640px;object-fit:contain}
.gallery.layout-stack{display:flex;flex-direction:column;align-items:center}
.gallery.layout-stack figure{width:100%}.gallery.layout-stack .portrait{max-width:320px}
.gallery figcaption{font:var(--caption);color:var(--fg-2);margin-top:var(--space-3);text-align:center}
.article-hero{margin-bottom:var(--space-8)}
.release-page .release-pagination{margin-inline:auto}
.theme-paper{background:var(--ch-paper-2)}.theme-mint{background:var(--green-95)}.theme-blue{background:var(--blue-95)}.theme-purple{background:var(--purple-90)}.theme-red{background:var(--red-95)}.theme-orange{background:var(--orange-95)}.theme-yellow{background:var(--yellow-100)}
.fit-cover img{object-fit:cover}.fit-contain img{object-fit:contain}
.text-only .card-link{display:block;min-height:200px;background:var(--ch-paper-2);padding:var(--space-7);border-radius:var(--radius-lg)}.text-only .card-copy{padding:0;max-width:680px}
.release-card{scroll-margin-top:var(--space-7)}
@media(max-width:580px){.article-return{padding-top:var(--space-6)}.article-header.reading-column{margin:var(--space-7) auto}.gallery.layout-pair{grid-template-columns:1fr}.gallery.layout-pair .portrait{max-width:280px}.gallery.layout-pair img{max-height:none}.article-content h2{font:var(--h2)}.release-pagination{gap:var(--space-5)}}

/* Stable destinations; active section remains visible on article pages. */
.section-nav{display:flex;align-items:center;gap:var(--space-6)}
.section-nav a{font:var(--body-sm);font-weight:700;color:var(--fg-2);text-decoration:none;padding-block:var(--space-2)}
.section-nav a:hover{color:var(--ch-blue);text-decoration:underline}
.section-nav a[aria-current]{color:var(--fg-1);text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:8px}
@media(max-width:580px){.nav{flex-wrap:wrap;gap:var(--space-4)}.section-nav{gap:var(--space-4)}}/* Brand color pass: white cards on cream with warm shadow, candy squircle per release, ink-primary CTA */
.card-image,.card-image[class]{background:#fff;box-shadow:var(--shadow-2);border-radius:var(--radius-xl)}
.lead .card-image{box-shadow:var(--shadow-3)}
.card-link .card-image{transition:transform .2s,box-shadow .2s}
.card-link:hover .card-image{transform:translateY(-3px);box-shadow:var(--shadow-3)}
.latest{background:var(--ch-accent);color:var(--ch-ink)}
.meta time::before{content:"";display:inline-block;width:14px;height:14px;border-radius:var(--radius-squircle);background:var(--sq,#ffc47a);margin-right:8px;vertical-align:-2px}
.release-card:nth-child(5n+1) .meta{--sq:#6ce6a5}
.release-card:nth-child(5n+2) .meta{--sq:#ffc47a}
.release-card:nth-child(5n+3) .meta{--sq:#7ac4ff}
.release-card:nth-child(5n+4) .meta{--sq:#ff998a}
.release-card:nth-child(5n) .meta{--sq:#ffd97a}
.read{color:var(--ch-ink);text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:5px;text-decoration-color:var(--ch-accent)}
.intro h1{font-size:clamp(48px,7vw,80px);line-height:1;letter-spacing:-.02em}
.archive-end{color:var(--ch-ink);font-weight:600}
.archive-button{background:var(--ch-ink);color:var(--ch-paper);box-shadow:var(--shadow-pill)}
.archive-button:hover{background:#3a3a3a}.archive-button:active{background:var(--ch-ink)}

/* Card pictures that fit inside the card get rounded corners. The picture is sized to itself (not the whole card) so the rounding follows its real edges. */
.card-image.fit-contain img{width:auto;height:auto;max-width:100%;max-height:100%;border-radius:var(--radius-md)}
