/* Glitch Biscuit — site.css. Tokens and rules from DESIGN.md. Mobile first. */


:root {
  --toast: #15110E; --tin: #231C17; --tin-line: #3A3029; --paper: #FFF8EA; --cream: #FBF1DC;
  --custard: #F5C84B; --jam: #D7263D; --jam-deep: #A8162B; --digestive: #C8955A; --crumb: #5E4A39;
  --fog: #B9A893; --cyan: #38C6C9;
  --display: 'Bricolage Grotesque', 'Arial Narrow', system-ui, sans-serif;
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --mono: 'Space Mono', ui-monospace, Consolas, monospace;
  --s1: .25rem; --s2: .5rem; --s3: .75rem; --s4: 1rem; --s5: 1.5rem; --s6: 2rem; --s7: 3rem; --s8: 4rem; --s9: 6rem; --s10: 8rem;
  --r-ctl: 4px; --r-tile: 10px;
  --pad: clamp(1rem, 4vw, 2.5rem);
  --max: 1320px;
  --gut: 1.25rem;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--toast); color-scheme: light; scroll-padding-top: 1rem; }
@media (pointer: fine) { html { overscroll-behavior: none; } }
body { margin: 0; font-family: var(--serif); font-size: 1.075rem; line-height: 1.65; color: var(--toast); background: var(--paper); -webkit-tap-highlight-color: rgba(245, 200, 75, .35); touch-action: manipulation; overflow-wrap: break-word; }
@media (min-width: 900px) { body { font-size: 1.15rem; } }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--jam-deep); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--toast); }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.05; margin: 0 0 var(--s4); text-wrap: balance; letter-spacing: -.01em; }
p, li { text-wrap: pretty; }
p { margin: 0 0 var(--s4); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--custard); outline-offset: 2px; box-shadow: 0 0 0 5px var(--toast); border-radius: 2px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.skip { position: absolute; left: var(--s4); top: -100px; z-index: 100; background: var(--custard); color: var(--toast); padding: var(--s3) var(--s4); font-family: var(--display); font-weight: 700; border-radius: var(--r-ctl); }
.skip:focus { top: var(--s4); }
main { display: block; padding-bottom: var(--s8); }
main:focus { outline: none; }
html[data-page="home"] main { background: var(--toast); color: var(--cream); }
html[data-page="home"] body { background: var(--toast); }

/* ------------------------------------------------ stickers, chips, kicker, meta */
.sticker { display: inline-block; font-family: var(--mono); font-weight: 700; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; line-height: 1.2; padding: .35em .8em; border-radius: 999px; background: var(--toast); color: var(--custard); transform: rotate(-3deg); white-space: nowrap; }
.sticker--custard { background: var(--custard); color: var(--toast); }
.sticker--toast { background: var(--toast); color: var(--custard); }
.kicker { display: block; font-family: var(--mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 var(--s3); color: var(--crumb); }
.meta { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); font-family: var(--mono); font-size: .8rem; color: var(--crumb); margin: var(--s4) 0; }
.chips { display: flex; flex-wrap: wrap; gap: var(--s2); margin: var(--s4) 0 0; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s4); border: 2px solid currentColor; border-radius: 999px; font-family: var(--display); font-weight: 600; font-size: .95rem; text-decoration: none; color: var(--toast); transition: background-color .15s, color .15s, transform .15s var(--ease); }
.chip:hover { background: var(--custard); color: var(--toast); transform: translateY(-1px); }
.deck { font-family: var(--serif); font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.4; max-width: 46ch; margin: 0 0 var(--s4); }

/* ------------------------------------------------ glitch hover (RGB split) */
.glitch { position: relative; display: inline; }
@media (prefers-reduced-motion: no-preference) {
  a:hover .glitch, .glitch--on { animation: rgb-split .18s steps(2, end) 1; text-shadow: 3px 0 0 rgba(215, 38, 61, .85), -3px 0 0 rgba(56, 198, 201, .85); }
  .glitch--on { animation: rgb-split 2.6s steps(2, end) infinite; }
}
@keyframes rgb-split { 0% { text-shadow: 4px 0 0 rgba(215, 38, 61, .9), -4px 0 0 rgba(56, 198, 201, .9); } 50% { text-shadow: -3px 1px 0 rgba(215, 38, 61, .9), 3px -1px 0 rgba(56, 198, 201, .9); } 100% { text-shadow: none; } }

/* ------------------------------------------------ buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); min-height: 48px; padding: 0 var(--s5); border: 2px solid var(--toast); border-radius: var(--r-ctl); font-family: var(--display); font-weight: 700; font-size: 1rem; line-height: 1.1; text-decoration: none; cursor: pointer; box-shadow: 3px 3px 0 var(--toast); transition: transform .12s var(--ease), box-shadow .12s var(--ease), background-color .15s; }
.btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--toast); }
.btn:active { transform: translate(2px, 2px); box-shadow: 0 0 0 var(--toast); }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn--primary { background: var(--jam-deep); color: var(--cream); }
.btn--primary:hover { color: var(--cream); }
.btn--custard { background: var(--custard); color: var(--toast); }
.btn--ghost { background: transparent; color: inherit; border-color: currentColor; box-shadow: 3px 3px 0 currentColor; }
.btn--text { background: none; border: 0; box-shadow: none; padding: 0 var(--s2); text-decoration: underline; text-underline-offset: 4px; color: inherit; min-height: 44px; }
.btn--text:hover { box-shadow: none; transform: none; color: var(--jam-deep); }
form[data-state="sending"] [type="submit"] { opacity: .7; }

/* ------------------------------------------------ masthead + ribbon */
.mast { background: var(--toast); color: var(--cream); position: relative; }
.mast__top { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); padding-top: var(--s3); padding-bottom: var(--s2); }
.mast__issue { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3); margin: 0; font-family: var(--mono); font-size: .78rem; color: var(--fog); letter-spacing: .02em; }
.mast__issue > span:nth-child(n+3) { display: none; }
@media (min-width: 760px) { .mast__issue > span:nth-child(n+3) { display: inline; } }
.mast__brand { padding-bottom: var(--s3); }
.wordmark { display: inline-flex; align-items: center; gap: var(--s3); color: var(--cream); text-decoration: none; font-family: var(--display); font-weight: 800; font-size: clamp(1.6rem, 4vw, 2.4rem); line-height: .9; letter-spacing: -.03em; min-height: 44px; }
.wordmark:hover { color: var(--custard); }
.wordmark .mark { width: 2.2rem; height: 2.2rem; flex: none; }
.wordmark__text span { display: inline-block; }
.wordmark__gap { width: .22em; }
.wordmark--cover { display: block; font-size: clamp(3.4rem, 14.5vw, 13rem); line-height: .82; letter-spacing: -.05em; margin: var(--s2) 0 var(--s4); color: var(--cream); }
.wordmark--cover .wordmark__text span:nth-child(n+8) { color: var(--custard); }
.wordmark--foot { font-size: 1.6rem; }
.menu-btn { display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; min-width: 44px; padding: 0 var(--s4); background: transparent; color: var(--cream); border: 2px solid var(--tin-line); border-radius: 999px; font-family: var(--display); font-weight: 700; cursor: pointer; transition: border-color .15s, background-color .15s; }
.menu-btn:hover { border-color: var(--custard); }
.menu-btn__icon { width: 18px; height: 12px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; position: relative; }
.menu-btn__icon::after { content: ''; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid currentColor; }
.ribbon { border-top: 3px solid var(--custard); border-bottom: 1px solid var(--tin-line); background: var(--tin); position: relative; }
.ribbon__wrap { padding-inline: 0; }
.ribbon__list { list-style: none; margin: 0; padding: 0 var(--pad); display: flex; gap: var(--s1); overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--pad), #000 calc(100% - var(--pad)), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 var(--pad), #000 calc(100% - var(--pad)), transparent 100%); }
.ribbon__list::-webkit-scrollbar { display: none; }
.ribbon__list li { scroll-snap-align: start; flex: none; }
.ribbon__list a { position: relative; display: flex; align-items: center; min-height: 48px; padding: 0 var(--s4); color: var(--cream); text-decoration: none; font-family: var(--display); font-weight: 650; font-size: 1rem; white-space: nowrap; }
.ribbon__list a::after { content: ''; position: absolute; left: var(--s4); right: var(--s4); bottom: 8px; height: 3px; background: var(--custard); transform: scaleX(0); transform-origin: left; transition: transform .2s var(--ease); }
.ribbon__list a:hover::after, .ribbon__list a[aria-current]::after { transform: scaleX(1); }
.ribbon__list a[aria-current] { color: var(--custard); }
@media (min-width: 1024px) { .ribbon__list { -webkit-mask-image: none; mask-image: none; } .ribbon__list a { font-size: 1.05rem; } }

/* full-screen menu */
.menu { position: fixed; inset: 0; z-index: 50; background: var(--toast); color: var(--cream); overflow-y: auto; overscroll-behavior: contain; padding: var(--s5) 0 var(--s8); }
.menu[hidden] { display: none; }
.menu__head { display: flex; justify-content: space-between; align-items: center; gap: var(--s4); margin-bottom: var(--s6); border-bottom: 3px solid var(--custard); padding-bottom: var(--s4); }
.menu__title { font-family: var(--display); font-weight: 800; font-size: clamp(1.6rem, 5vw, 2.6rem); margin: 0; line-height: 1; }
.menu__close { min-height: 44px; padding: 0 var(--s4); background: var(--custard); color: var(--toast); border: 0; border-radius: 999px; font-family: var(--display); font-weight: 700; cursor: pointer; }
body.menu-open { overflow: hidden; }

/* directory (menu + footer) */
.dir { display: grid; gap: var(--s6) var(--s5); grid-template-columns: 1fr; }
@media (min-width: 640px) { .dir { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .dir { grid-template-columns: repeat(4, 1fr); } }
.dir__title { font-family: var(--mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--custard); margin: 0 0 var(--s3); font-weight: 700; }
.dir ul { list-style: none; margin: 0; padding: 0; }
.dir a { display: inline-flex; align-items: center; min-height: 44px; color: var(--cream); text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 1.05rem; background: linear-gradient(var(--custard), var(--custard)) 0 85% / 0 2px no-repeat; transition: background-size .2s var(--ease), color .15s; }
.dir a:hover { color: var(--custard); background-size: 100% 2px; }
.dir--menu a { font-size: 1.25rem; }

/* ------------------------------------------------ footer */
.foot { background: var(--toast); color: var(--cream); padding: var(--s8) 0 var(--s6); border-top: 3px solid var(--custard); }
.foot a { color: var(--cream); }
.foot a:hover { color: var(--custard); }
.foot__news { display: grid; gap: var(--s5); padding: var(--s6); margin-bottom: var(--s7); background: var(--tin); border-radius: var(--r-tile); border: 1px solid var(--tin-line); }
@media (min-width: 900px) { .foot__news { grid-template-columns: 1fr 1.2fr; align-items: center; } }
.foot__news-title { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: var(--s3); }
.foot__news p { color: var(--fog); margin: 0; }
.foot__brand { display: grid; gap: var(--s3); max-width: 60ch; margin-bottom: var(--s7); color: var(--fog); }
.foot__brand p { margin: 0; }
.foot__legal { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); margin: var(--s7) 0 0; padding-top: var(--s5); border-top: 1px solid var(--tin-line); font-family: var(--mono); font-size: .78rem; color: var(--fog); }

/* ------------------------------------------------ forms */
.form { display: grid; gap: var(--s4); }
.form__row { display: grid; gap: var(--s4); }
@media (min-width: 700px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: var(--s2); min-width: 0; }
.field label { font-family: var(--display); font-weight: 700; font-size: 1rem; }
.field__hint { font-size: .9rem; color: var(--crumb); margin: 0; }
.field input[type="text"], .field input[type="email"], .field select, .field textarea { width: 100%; min-height: 48px; padding: var(--s3) var(--s4); border: 2px solid var(--toast); border-radius: var(--r-ctl); background: #fff; color: var(--toast); font-family: var(--display); font-size: 1rem; }
.field textarea { min-height: 9rem; resize: vertical; line-height: 1.5; }
.field select { background-color: #fff; color: var(--toast); }
.field input::placeholder { color: #7a6654; }
.field [aria-invalid="true"] { border-color: var(--jam-deep); box-shadow: 0 0 0 2px var(--jam-deep); }
.field__error { margin: 0; color: var(--jam-deep); font-family: var(--display); font-weight: 700; font-size: .95rem; }
.field__error::before { content: '!'; display: inline-grid; place-items: center; width: 1.3em; height: 1.3em; margin-right: .4em; border-radius: 50%; background: var(--jam-deep); color: var(--cream); font-size: .8em; }
.field--check { grid-template-columns: auto 1fr; align-items: start; column-gap: var(--s3); }
.field--check input { width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--jam-deep); }
.field--check label { font-family: var(--serif); font-weight: 400; font-size: .98rem; line-height: 1.45; }
.field--check .field__error { grid-column: 1 / -1; }
.form__status { margin: 0; padding: var(--s3) var(--s4); border-radius: var(--r-ctl); background: var(--cream); color: var(--toast); border-left: 4px solid var(--custard); font-family: var(--display); }
form[data-state="error"] .form__status { border-left-color: var(--jam-deep); }
.form--compact .btn { justify-self: start; }
.foot .field label, .newsband .field label { color: var(--cream); }
.foot .field--check label { color: var(--fog); }
.newsband .field--check label { color: var(--cream); }
.foot .field--check a, .newsband .field--check a { color: var(--custard); }
.foot .field__error, .newsband .field__error, .req-card--dark .field__error { color: #FF9A8B; }
.foot .field__error::before, .newsband .field__error::before, .req-card--dark .field__error::before { background: #FF9A8B; color: var(--toast); }
.form-card { max-width: 760px; padding: var(--s6) var(--s5); background: var(--cream); border: 2px solid var(--toast); border-radius: var(--r-tile); box-shadow: 6px 6px 0 var(--toast); margin: var(--s6) 0; }
.form-card--custard { background: var(--custard); }
.form-card--custard .field--check a { color: var(--toast); }
@media (min-width: 700px) { .form-card { padding: var(--s7); } }

/* ------------------------------------------------ tiles */
.tile { position: relative; display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; border-radius: var(--r-tile); overflow: hidden; background: var(--cream); color: var(--toast); border: 2px solid var(--toast); transition: transform .18s var(--ease), box-shadow .18s var(--ease); }
a.tile:hover { transform: translateY(-2px); box-shadow: 5px 6px 0 var(--toast); color: var(--toast); }
html[data-page="home"] .tile { border-color: var(--tin-line); }
html[data-page="home"] a.tile:hover { box-shadow: 5px 6px 0 var(--custard); }
/* dark tiles keep light text on hover (a:hover would turn it toast-on-tin) */
a.tile--lead:hover, a.tile--jam:hover, html[data-page="home"] a.tile--article:not(.tile--digestive):not(.tile--cream):hover { color: var(--cream); }
.tile__art { position: relative; display: block; overflow: hidden; aspect-ratio: 1 / 1; background: var(--tin); }
.tile__art--wide { aspect-ratio: 16 / 9; }
.tile__art > svg, .tile__art > img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease); }
a.tile:hover .tile__art > svg, a.tile:hover .tile__art > img { transform: scale(1.03); }
.tile__body { display: flex; flex-direction: column; gap: var(--s2); padding: var(--s4) var(--s4) var(--s5); flex: 1; }
.tile__title { font-size: 1.3rem; font-weight: 750; line-height: 1.08; margin: 0; }
.tile__title .glitch { background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .2s var(--ease); }
a.tile:hover .tile__title .glitch { background-size: 100% 2px; }
.tile__text { font-family: var(--serif); font-size: 1rem; line-height: 1.45; }
.tile__meta { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s3); margin-top: auto; padding-top: var(--s2); font-family: var(--mono); font-size: .74rem; color: var(--crumb); }
.tile .kicker { margin: 0; }
.score-sticker { position: absolute; right: 10px; top: 10px; display: grid; place-items: center; align-content: center; gap: .15rem; width: 4.2rem; height: 4.2rem; border-radius: 50%; background: var(--custard); color: var(--toast); border: 2px solid var(--toast); font-family: var(--mono); font-weight: 700; font-size: 1.25rem; line-height: 1; transform: rotate(-8deg); }
.score-sticker small { font-size: .6rem; line-height: 1; }
.tile--digestive { background: var(--digestive); }
.tile--digestive .kicker, .tile--digestive .tile__meta { color: var(--toast); }
.tile--cream { background: var(--cream); }
.tile--plain { background: transparent; border-style: dashed; }
.tile--row { flex-direction: column; }
@media (min-width: 760px) { .tile--row { flex-direction: row; } .tile--row .tile__art { flex: 0 0 38%; aspect-ratio: auto; min-height: 220px; } .tile--row .tile__title { font-size: 1.7rem; } }

/* ------------------------------------------------ home: cover hero + collage */
.cover-hero { padding-top: var(--s5); padding-bottom: var(--s5); display: grid; gap: var(--s4); }
.cover-hero__h1 { font-size: clamp(1.9rem, 4.6vw, 3.6rem); font-weight: 800; line-height: .98; max-width: 20ch; margin: 0 0 var(--s3); color: var(--cream); }
.cover-hero__sub { font-size: clamp(1.1rem, 1.5vw, 1.3rem); max-width: 60ch; color: var(--fog); margin: 0; }
.cover-hero__sub strong { color: var(--cream); font-weight: 600; }
.collage { display: grid; gap: var(--gut); grid-template-columns: 1fr; padding-bottom: var(--s7); }
@media (min-width: 700px) { .collage { grid-template-columns: repeat(6, 1fr); } .col--lead { grid-column: span 6; } .col--tool, .col--guide { grid-column: span 3; } .col--rank, .col--coll, .col--jam { grid-column: span 3; } .col--news { grid-column: span 2; } }
@media (min-width: 1100px) {
  .collage { grid-template-columns: repeat(12, 1fr); grid-auto-flow: dense; }
  .col--lead { grid-column: 1 / span 7; grid-row: span 2; }
  .col--tool { grid-column: 8 / span 5; }
  .col--guide { grid-column: 8 / span 5; }
  .col--rank { grid-column: span 4; }
  .col--news { grid-column: span 4; }
  .col--coll { grid-column: span 5; }
  .col--jam { grid-column: span 3; }
}
.tile--lead { background: var(--tin); color: var(--cream); }
@media (min-width: 700px) { .tile--lead { flex-direction: row; } .tile--lead .tile__art { flex: 0 0 52%; aspect-ratio: auto; } }
@media (min-width: 1100px) { .tile--lead { flex-direction: column; } .tile--lead .tile__art { flex: 1 1 auto; aspect-ratio: auto; min-height: 340px; } }
.tile--lead .tile__title { font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 800; letter-spacing: -.02em; line-height: .95; }
.tile--lead .tile__text { font-size: 1.2rem; color: var(--cream); }
.tile--lead .kicker, .tile--lead .tile__meta { color: var(--custard); }
.tile--lead .score-sticker { width: 5.5rem; height: 5.5rem; font-size: 1.6rem; right: 18px; top: 18px; }
.tile--tool { background: var(--custard); color: var(--toast); padding: var(--s5); gap: var(--s3); }
.tile--tool .tile__body { padding: 0; }
.tile--tool .tile__title { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; }
.tile--tool .sticker { align-self: flex-start; }
.tin-art { display: flex; gap: var(--s2); margin-top: var(--s2); }
.tin-art .mark { width: 2.6rem; height: 2.6rem; }
.tin-art .mark:nth-child(2) { transform: translateY(-6px); }
.tile__cta { align-self: flex-start; margin-top: auto; font-family: var(--display); font-weight: 800; padding: var(--s2) var(--s4); background: var(--toast); color: var(--custard); border-radius: var(--r-ctl); transition: transform .12s var(--ease); }
a.tile:hover .tile__cta { transform: translateX(3px); }
html[data-page="home"] .tile--article:not(.tile--digestive):not(.tile--cream) { background: var(--tin); color: var(--cream); }
html[data-page="home"] .tile--article:not(.tile--digestive):not(.tile--cream) .kicker { color: var(--custard); }
.tile--news .tile__title { font-size: 1.25rem; }
.tile--news { border-top: 6px solid var(--jam) !important; }
.tile--digestive .tile__title { font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 800; }
.tile--jam { background: var(--toast); color: var(--cream); padding: var(--s5); gap: var(--s2); border: 2px dashed var(--custard) !important; }
.tile--jam .kicker { color: var(--custard); }
.tile--jam .tile__title { font-size: 1.4rem; }
.jam-digits { font-family: var(--mono); font-weight: 700; font-size: clamp(1.6rem, 2.6vw, 2.2rem); color: var(--custard); font-variant-numeric: tabular-nums; }

/* home bands */
.band { padding-top: var(--s7); padding-bottom: var(--s7); border-top: 1px solid var(--tin-line); }
.band__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--s3); margin-bottom: var(--s5); }
.band__title { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; letter-spacing: -.02em; margin: 0 0 var(--s4); }
.band__head .band__title { margin: 0; }
.band__title--small { font-size: 1.4rem; margin-top: var(--s7); }
.band__link { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--display); font-weight: 700; color: var(--custard); }
html:not([data-page="home"]) .band__link { color: var(--jam-deep); }
html[data-page="home"] .band__link:hover { color: var(--cream); }
.grid { display: grid; gap: var(--gut); grid-template-columns: 1fr; }
@media (min-width: 560px) { .grid--reviews, .grid--catalogue, .grid--related { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid--reviews, .grid--related { grid-template-columns: repeat(3, 1fr); } .grid--catalogue { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .grid--catalogue { grid-template-columns: repeat(4, 1fr); } }
html[data-page="home"] .grid--reviews .tile { background: var(--tin); color: var(--cream); }
html[data-page="home"] .grid--reviews .tile .kicker, html[data-page="home"] .grid--reviews .tile .tile__meta { color: var(--fog); }
.band--contents { display: grid; gap: var(--s7); }
@media (min-width: 1000px) { .band--contents { grid-template-columns: 1.1fr 1fr; align-items: start; } }
.contents__list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--cream); }
.contents__list a { display: grid; grid-template-columns: 4.5rem 1fr; gap: 0 var(--s4); padding: var(--s4) 0; border-bottom: 1px solid var(--tin-line); color: var(--cream); text-decoration: none; }
.contents__num { grid-row: span 2; font-family: var(--mono); color: var(--custard); font-size: .9rem; padding-top: .35rem; }
.contents__name { font-family: var(--display); font-weight: 800; font-size: clamp(1.3rem, 2.2vw, 1.8rem); line-height: 1.1; }
.contents__desc { font-family: var(--mono); font-size: .8rem; color: var(--fog); }
.contents__list a:hover .contents__name { color: var(--custard); }
.letter { background: var(--cream); color: var(--toast); padding: var(--s6) var(--s5); border-radius: var(--r-tile); position: relative; }
.letter a { color: var(--jam-deep); }
.letter__label { margin: -2.6rem 0 var(--s4); }
.letter p:last-child { margin-bottom: 0; }
.desk { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
@media (min-width: 900px) { .desk { grid-template-columns: 1fr 1fr; column-gap: var(--s6); } }
.desk a { display: grid; grid-template-columns: 8.5rem 1fr; gap: var(--s3); align-items: baseline; padding: var(--s3) 0; min-height: 44px; border-bottom: 1px solid var(--tin-line); color: var(--cream); text-decoration: none; font-family: var(--display); font-weight: 650; font-size: 1.1rem; }
.desk time { font-family: var(--mono); font-size: .8rem; color: var(--custard); font-weight: 400; }
.desk a:hover span { color: var(--custard); }
.newsband { display: grid; gap: var(--s6); background: var(--jam-deep); color: var(--cream); padding: var(--s6) var(--s5); border-radius: var(--r-tile); }
.newsband p { color: var(--cream); }
.newsband .sticker { margin-bottom: var(--s3); }
@media (min-width: 900px) { .newsband { grid-template-columns: 1fr 1.1fr; padding: var(--s7); align-items: center; } }
.newsband .btn--primary { background: var(--custard); color: var(--toast); }

/* ------------------------------------------------ crumbs + page heads */
.crumbs { padding-top: var(--s4); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0 var(--s2); margin: 0; padding: 0; font-family: var(--mono); font-size: .8rem; color: var(--crumb); }
.crumbs li + li::before { content: '/'; margin-right: var(--s2); color: var(--digestive); }
.crumbs a { color: var(--crumb); display: inline-flex; align-items: center; min-height: 32px; }
.crumbs a:hover { color: var(--jam-deep); }
.page-head { padding-top: var(--s6); padding-bottom: var(--s6); border-bottom: 3px solid var(--toast); margin-bottom: var(--s6); }
.page-head__h1 { font-size: clamp(2.4rem, 6vw, 5.25rem); font-weight: 800; letter-spacing: -.035em; line-height: .92; margin: 0 0 var(--s4); max-width: 18ch; }
.page-head--tool { border-bottom-color: var(--custard); }
.section-body { display: grid; gap: var(--s6); }
.page-body { display: grid; gap: var(--s6); grid-template-columns: minmax(0, 1fr); }
.page-body > *, .article__body > *, .spread__body > *, .grid > *, .collage > *, .req-grid > *, .smap > * { min-width: 0; }
@media (min-width: 1100px) { .page-body:has(> .toc) { grid-template-columns: 260px minmax(0, 1fr); align-items: start; } .page-body > .toc { position: sticky; top: var(--s4); } .page-body:has(> .toc) > :not(.toc) { grid-column: 2; } }
.empty { font-size: 1.15rem; padding: var(--s5); border: 2px dashed var(--digestive); border-radius: var(--r-tile); }

/* ------------------------------------------------ prose */
.prose { max-width: 68ch; }
.prose > * + h2 { margin-top: var(--s7); }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.15rem); font-weight: 800; letter-spacing: -.02em; scroll-margin-top: var(--s4); }
.prose h3 { font-size: 1.35rem; font-weight: 750; margin-top: var(--s6); scroll-margin-top: var(--s4); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 var(--s4); }
.prose li { margin-bottom: var(--s2); }
.prose li::marker { color: var(--jam-deep); font-family: var(--mono); }
.prose blockquote { margin: var(--s5) 0; padding: var(--s2) 0 var(--s2) var(--s5); border-left: 4px solid var(--custard); font-style: italic; }
.prose hr { border: 0; border-top: 2px dashed var(--digestive); margin: var(--s7) 0; }
.prose code { font-family: var(--mono); font-size: .88em; background: var(--cream); padding: .1em .35em; border-radius: 3px; }
.prose strong { font-weight: 650; }
.prose .soon-link { text-decoration: underline dotted var(--digestive); text-underline-offset: 3px; }
.prose a.ext::after { content: '↗'; font-family: var(--mono); font-size: .8em; margin-left: .15em; text-decoration: none; display: inline-block; }
.prose--dropcap > p:first-child::first-letter { float: left; font-family: var(--display); font-weight: 800; font-size: 4.6em; line-height: .78; margin: .08em .1em 0 0; color: var(--jam); }
.table-wrap { overflow-x: auto; margin: var(--s5) 0; border: 2px solid var(--toast); border-radius: var(--r-tile); -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; font-variant-numeric: tabular-nums; }
th { font-family: var(--mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; text-align: left; background: var(--toast); color: var(--cream); padding: var(--s3); }
td { padding: var(--s3); border-top: 1px solid #e3d5bc; vertical-align: top; }
tbody tr:nth-child(even) td { background: var(--cream); }
.fig { margin: var(--s6) 0; }
.fig img { width: 100%; border-radius: var(--r-tile); border: 2px solid var(--toast); }
.fig figcaption { display: grid; gap: var(--s1); margin-top: var(--s2); font-size: .95rem; }
.credit { font-family: var(--mono); font-size: .72rem; color: var(--crumb); margin: var(--s2) 0 0; }
.credit a { color: var(--crumb); }
.toc { background: var(--cream); border: 2px solid var(--toast); border-radius: var(--r-tile); padding: var(--s4) var(--s5); font-family: var(--display); max-width: 68ch; }
.toc__title { font-family: var(--mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 var(--s2); color: var(--crumb); }
.toc ol { margin: 0; padding-left: 1.4em; }
.toc li { margin: 0; }
.toc a { display: inline-block; padding: .35rem 0; color: var(--toast); font-weight: 600; text-decoration: none; }
.toc a:hover { color: var(--jam-deep); text-decoration: underline; }

/* callouts */
.callout { margin: var(--s6) 0; padding: var(--s5); border-radius: var(--r-tile); background: var(--cream); border-left: 6px solid var(--toast); }
.callout > :last-child { margin-bottom: 0; }
.callout__label { margin: 0 0 var(--s3); font-family: var(--display); }
.callout--tip { background: var(--custard); border-left-color: var(--toast); }
.callout--tip .sticker { background: var(--toast); color: var(--custard); }
.callout--warning { border-left-color: var(--jam-deep); }
.callout--warning .sticker { background: var(--jam-deep); color: var(--cream); }
.callout--verdict { background: var(--toast); color: var(--cream); border-left-color: var(--custard); }
.callout--verdict a { color: var(--custard); }
.callout--verdict .sticker { background: var(--custard); color: var(--toast); }
.callout--aside { border-left-color: var(--digestive); background: transparent; border: 2px dashed var(--digestive); border-left-width: 6px; border-left-style: solid; }
.callout--aside .sticker { background: var(--digestive); color: var(--toast); }

/* ------------------------------------------------ review spread */
.spread__head { display: grid; gap: var(--s6); padding-top: var(--s5); padding-bottom: var(--s7); }
@media (min-width: 900px) { .spread__head { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: var(--s7); } }
.spread__art { position: relative; }
.cover--spread { width: 100%; border: 2px solid var(--toast); box-shadow: 10px 10px 0 var(--toast); }
.spread__free { position: absolute; left: -6px; top: 18px; }
.spread__h1 { font-size: clamp(2.5rem, 6vw, 5.25rem); font-weight: 800; letter-spacing: -.04em; line-height: .9; margin: 0 0 var(--s4); }
.spread__h1-sub { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: .42em; letter-spacing: 0; color: var(--crumb); margin-top: .4em; line-height: 1.15; }
.spread__score { display: flex; align-items: center; gap: var(--s4); margin: var(--s5) 0 var(--s3); }
.score-big { display: grid; place-items: center; align-content: center; gap: .3rem; flex: none; width: 6.5rem; height: 6.5rem; border-radius: 50%; margin: 0; background: var(--custard); color: var(--toast); border: 3px solid var(--toast); font-family: var(--mono); font-weight: 700; font-size: 2.2rem; line-height: 1; transform: rotate(-6deg); box-shadow: 4px 4px 0 var(--toast); }
.score-big small { font-size: .8rem; line-height: 1; }
.score-big--dark { background: var(--custard); }
.score-note { margin: 0; font-family: var(--mono); font-size: .8rem; color: var(--crumb); max-width: 28ch; }
.spread__body { display: grid; gap: var(--s6); }
@media (min-width: 1100px) {
  .spread__body { grid-template-columns: minmax(0, 1fr) 320px; column-gap: var(--s8); align-items: start; }
  .spread__body > .label { grid-column: 2; grid-row: 1 / span 3; position: sticky; top: var(--s4); }
  .spread__body > :not(.label) { grid-column: 1; }
}
.label { border: 3px solid var(--toast); background: #fff; padding: var(--s4) var(--s4) var(--s3); font-family: var(--display); max-width: 68ch; }
.label__title { font-size: 1.5rem; font-weight: 800; margin: 0 0 var(--s2); padding-bottom: var(--s2); border-bottom: 8px solid var(--toast); }
.label dl { margin: 0; }
.label__row { display: grid; grid-template-columns: 7.5rem 1fr; gap: var(--s3); padding: var(--s2) 0; border-bottom: 1px solid var(--toast); font-size: .95rem; line-height: 1.35; }
.label__row:last-child { border-bottom: 0; }
.label dt { font-family: var(--mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; padding-top: .15rem; }
.label dd { margin: 0; font-weight: 600; }
.label__note { display: block; font-weight: 400; font-family: var(--mono); font-size: .7rem; color: var(--crumb); margin-top: 2px; }
.pull { margin: var(--s7) 0; padding: var(--s6) 0; border-top: 4px solid var(--toast); border-bottom: 4px solid var(--toast); }
@media (min-width: 1100px) { .pull { margin-right: -12rem; } }
.pull__label { margin: 0 0 var(--s3); }
.pull blockquote { margin: 0; padding: 0; border: 0; font-style: normal; }
.pull blockquote p { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.8rem, 3.6vw, 3rem); line-height: 1.12; margin: 0; letter-spacing: -.01em; }
.pull blockquote p::before { content: '“'; color: var(--jam); }
.pull blockquote p::after { content: '”'; color: var(--jam); }
.proscons { display: grid; gap: var(--s4); max-width: 68ch; }
@media (min-width: 700px) { .proscons { grid-template-columns: 1fr 1fr; } }
.proscons__col { padding: var(--s5); border-radius: var(--r-tile); border: 2px solid var(--toast); }
.proscons__col h3 { font-size: 1.25rem; margin-bottom: var(--s3); }
.proscons__col ul { margin: 0; padding-left: 1.1em; }
.proscons__col li { margin-bottom: var(--s2); font-size: 1rem; line-height: 1.45; }
.proscons__col--good { background: var(--custard); }
.proscons__col--bad { background: var(--cream); }
.verdict { display: grid; gap: var(--s5); align-items: center; padding: var(--s6) var(--s5); background: var(--toast); color: var(--cream); border-radius: var(--r-tile); max-width: 68ch; }
@media (min-width: 700px) { .verdict { grid-template-columns: auto 1fr; padding: var(--s6); } }
.verdict h2 { font-size: 1.6rem; margin-bottom: var(--s2); }
.verdict p { margin: 0; font-size: 1.15rem; }
.related { padding-top: var(--s8); }
.related__title { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 800; }

/* ------------------------------------------------ article (guide/news/ranking/collection) */
.art-head { display: grid; gap: var(--s6); padding-bottom: var(--s7); }
@media (min-width: 900px) { .art-head { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: end; gap: var(--s7); } }
.art-head__h1 { font-size: clamp(2.3rem, 5.4vw, 4.6rem); font-weight: 800; letter-spacing: -.035em; line-height: .93; margin: var(--s2) 0 var(--s4); }
.art-head__art img, .art-head__art svg { width: 100%; border: 2px solid var(--toast); border-radius: var(--r-tile); aspect-ratio: 3 / 2; object-fit: cover; box-shadow: 8px 8px 0 var(--custard); }
.art-head .crumbs { padding-top: var(--s4); margin-bottom: var(--s5); }
.article__body { display: grid; gap: var(--s6); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1100px) { .article__body:has(> .toc), .article__body:has(> .order) { grid-template-columns: 280px minmax(0, 1fr); align-items: start; column-gap: var(--s8); } .article__body > .toc, .article__body > .order { position: sticky; top: var(--s4); } }
.dateline { margin: 0 0 var(--s3); font-family: var(--mono); font-size: .9rem; display: flex; gap: var(--s3); align-items: center; flex-wrap: wrap; }
.source { margin-top: var(--s6); padding: var(--s4) var(--s5); border: 2px solid var(--toast); border-radius: var(--r-tile); background: var(--cream); }
.source__label { font-family: var(--mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 var(--s1); color: var(--crumb); }
.source p:last-child { margin: 0; font-family: var(--display); font-weight: 700; }
.order { background: var(--toast); color: var(--cream); border-radius: var(--r-tile); padding: var(--s5); }
.order__title { font-family: var(--mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--custard); margin: 0 0 var(--s3); }
.order ol { list-style: none; margin: 0; padding: 0; }
.order li { display: grid; grid-template-columns: 2.4rem 1fr auto; gap: var(--s3); align-items: center; padding: var(--s2) 0; border-bottom: 1px solid var(--tin-line); font-family: var(--display); font-weight: 700; }
.order__num { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--custard); color: var(--toast); font-family: var(--mono); }
.order a { color: var(--cream); display: inline-flex; min-height: 44px; align-items: center; }
.order a:hover { color: var(--custard); }
.order__score { font-family: var(--mono); font-size: .85rem; color: var(--custard); }
.idea { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; font-size: 1.15rem; margin: 0 0 var(--s3); }
.items { padding-bottom: var(--s7); }
.items__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--gut); grid-template-columns: 1fr; }
@media (min-width: 560px) { .items__list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .items__list { grid-template-columns: repeat(4, 1fr); } }
.items__item { position: relative; }
.items__num { position: absolute; z-index: 2; left: -8px; top: -12px; font-family: var(--mono); font-weight: 700; background: var(--toast); color: var(--custard); border-radius: 999px; padding: .2rem .6rem; transform: rotate(-4deg); }
.issue-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s5); }
.issue-list > li { display: grid; grid-template-columns: 1fr; gap: var(--s3); }
@media (min-width: 760px) { .issue-list > li { grid-template-columns: 5rem 1fr; } }
.issue-list__num { font-family: var(--display); font-weight: 800; font-size: 3.4rem; line-height: .9; color: var(--jam); }
.shelves { margin-top: var(--s7); }
.shelves__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--gut); }
@media (min-width: 700px) { .shelves__list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .shelves__list { grid-template-columns: repeat(3, 1fr); } }
.shelves__list a { display: grid; gap: var(--s1); height: 100%; padding: var(--s5); background: var(--cream); border: 2px solid var(--toast); border-radius: var(--r-tile); color: var(--toast); text-decoration: none; transition: transform .18s var(--ease), box-shadow .18s var(--ease); }
.shelves__list a:hover { transform: translateY(-2px); box-shadow: 5px 6px 0 var(--toast); }
.shelves__name { font-family: var(--display); font-weight: 800; font-size: 1.35rem; }
.shelves__count { font-family: var(--mono); font-size: .78rem; color: var(--jam-deep); }
.shelves__intro { font-size: 1rem; line-height: 1.45; }
.shelf-intro { margin-bottom: var(--s6); }

/* ------------------------------------------------ catalogue filters */
.filters { background: var(--toast); color: var(--cream); border-radius: var(--r-tile); padding: var(--s5); display: grid; gap: var(--s4); }
.filters[hidden] { display: none; }
.filters__grid { display: grid; gap: var(--s4); grid-template-columns: 1fr; }
@media (min-width: 560px) { .filters__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .filters__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1240px) { .filters__grid { grid-template-columns: repeat(6, 1fr); align-items: end; } }
.filters__field { display: grid; gap: var(--s1); }
.filters__field label { font-family: var(--mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--custard); }
.filters__field select { min-height: 48px; padding: 0 var(--s3); border: 2px solid var(--tin-line); border-radius: var(--r-ctl); background: var(--tin); color: var(--cream); font-family: var(--display); font-size: 1rem; }
.filters__field--check { grid-template-columns: auto 1fr; align-items: center; gap: var(--s3); min-height: 48px; }
.filters__field--check label { font-family: var(--display); font-size: 1rem; letter-spacing: 0; text-transform: none; color: var(--cream); }
.filters__field--check input { width: 24px; height: 24px; accent-color: var(--custard); }
.filters__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s3); }
.filters__count { margin: 0; font-size: .85rem; }
.filters .btn--text:hover { color: var(--custard); }
[data-item][hidden] { display: none; }

/* ------------------------------------------------ tool: biscuit tin + jam timer */
.tool-body { display: grid; gap: var(--s7); }
.tin, .jam { border: 3px solid var(--toast); border-radius: var(--r-tile); padding: var(--s5); background: var(--cream); }
@media (min-width: 900px) { .tin, .jam { padding: var(--s7); } }
.tin { background: var(--custard); box-shadow: 8px 8px 0 var(--toast); }
.tin__head h2, .jam__head h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); font-weight: 800; }
.tin__head p, .jam__head p { max-width: 60ch; }
.tin__form { display: grid; gap: var(--s4); }
.tin__form[hidden], .jam__panel[hidden] { display: none; }
.tin fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.tin legend { font-family: var(--display); font-weight: 800; font-size: 1.15rem; margin-bottom: var(--s2); padding: 0; }
.pick-row { display: flex; flex-wrap: wrap; gap: var(--s2); }
.pick-chip { position: relative; display: inline-flex; }
.pick-chip input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.pick-chip span { display: inline-flex; align-items: center; gap: .4em; min-height: 44px; padding: 0 var(--s4); border: 2px solid var(--toast); border-radius: 999px; background: var(--paper); font-family: var(--display); font-weight: 650; transition: background-color .15s, transform .12s var(--ease); }
.pick-chip:hover span { transform: translateY(-1px); }
.pick-chip input:checked + span { background: var(--toast); color: var(--custard); }
.pick-chip input:checked + span::before { content: '✓'; font-family: var(--mono); }
.pick-chip input:focus-visible + span { outline: 3px solid var(--toast); outline-offset: 3px; }
.tin__actions { display: flex; flex-wrap: wrap; gap: var(--s4); align-items: center; margin-top: var(--s2); }
.tin__pool { margin: 0; font-family: var(--mono); font-size: .9rem; }
.tin__result { margin-top: var(--s5); }
.tin__result:empty { display: none; }
.tin__result .tile { max-width: 640px; }
@media (min-width: 640px) { .tin__result .tile { flex-direction: row; } .tin__result .tile__art { flex: 0 0 42%; } }
.tin__result .nomatch { padding: var(--s4) var(--s5); background: var(--paper); border: 2px dashed var(--toast); border-radius: var(--r-tile); margin: 0; font-family: var(--display); font-weight: 600; }
@media (prefers-reduced-motion: no-preference) { .tin__result .tile { animation: drop .35s var(--ease) 1; } }
@keyframes drop { from { transform: translateY(-12px); opacity: 0; } to { transform: none; opacity: 1; } }
.tin__fallback h3 { margin-top: var(--s5); }
.jam { background: var(--toast); color: var(--cream); }
.jam a { color: var(--custard); }
.jam__controls { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; }
.jam__controls label { font-family: var(--mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--custard); }
.jam__controls select { min-height: 48px; padding: 0 var(--s3); border: 2px solid var(--tin-line); border-radius: var(--r-ctl); background: var(--tin); color: var(--cream); font-family: var(--display); }
.jam .btn--ghost { color: var(--cream); }
.jam .btn--custard { border-color: var(--custard); box-shadow: 3px 3px 0 var(--jam); }
.jam__digits { font-family: var(--mono); font-weight: 700; font-size: clamp(2.6rem, 11vw, 7rem); line-height: 1; margin: var(--s6) 0 var(--s5); color: var(--custard); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.jam__phases { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
@media (min-width: 900px) { .jam__phases { grid-template-columns: repeat(5, 1fr); } }
.jam__phases li { padding: var(--s3); border: 2px solid var(--tin-line); border-radius: var(--r-ctl); font-family: var(--display); font-size: .95rem; line-height: 1.3; }
.jam__phases li span { display: block; font-family: var(--mono); font-size: .74rem; color: var(--fog); margin-bottom: 2px; }
.jam__phases li[aria-current] { border-color: var(--custard); background: var(--tin); box-shadow: inset 0 -4px 0 var(--custard); }
.jam__phases li.done { opacity: .55; }
.jam__now { margin: var(--s4) 0 0; font-family: var(--display); font-weight: 650; font-size: 1.1rem; }
.tool-notes { margin-top: var(--s4); }

/* ------------------------------------------------ requests */
.req-grid { display: grid; gap: var(--s5); }
@media (min-width: 1000px) { .req-grid { grid-template-columns: 1.15fr 1fr; align-items: start; } }
.req-card { padding: var(--s5); border: 2px solid var(--toast); border-radius: var(--r-tile); background: var(--cream); }
@media (min-width: 700px) { .req-card { padding: var(--s6); } }
.req-card h2 { font-size: 1.8rem; font-weight: 800; }
.req-card--dark { background: var(--toast); color: var(--cream); }
.req-card--dark .field input { border-color: var(--tin-line); }
.req-card--dark .field label { color: var(--cream); }
.req-list__title { font-size: 1.2rem; margin-top: var(--s6); }
.req-list ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
.req-list li { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s3); align-items: center; padding: var(--s3); border: 1px solid var(--tin-line); border-radius: var(--r-ctl); font-family: var(--display); }
.req-list [data-ref] { font-family: var(--mono); color: var(--custard); }
.req-list time { font-family: var(--mono); font-size: .8rem; color: var(--fog); }
.req-list button { min-height: 44px; padding: 0 var(--s3); border-radius: var(--r-ctl); border: 2px solid var(--custard); background: transparent; color: var(--custard); font-family: var(--display); font-weight: 700; cursor: pointer; }
.req-list button:hover { background: var(--custard); color: var(--toast); }
.req-list [data-empty] { color: var(--fog); margin: 0; }
.status-result dl { margin: 0; display: grid; gap: var(--s2); padding: var(--s4); background: var(--tin); border-radius: var(--r-ctl); }
.status-result dt { font-family: var(--mono); font-size: .74rem; text-transform: uppercase; color: var(--custard); }
.status-result dd { margin: 0 0 var(--s2); }

/* ------------------------------------------------ credits, sitemap, 404 */
.credits__thumb img { width: 96px; height: 64px; object-fit: cover; border-radius: 4px; }
.credits td { font-size: .9rem; }
.smap { display: grid; gap: var(--s6); grid-template-columns: 1fr; margin-top: var(--s6); }
@media (min-width: 760px) { .smap { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .smap { grid-template-columns: repeat(3, 1fr); } }
.smap h2 { font-size: 1.3rem; border-bottom: 3px solid var(--toast); padding-bottom: var(--s2); }
.smap ul { list-style: none; margin: 0; padding: 0; }
.smap a { display: inline-flex; min-height: 40px; align-items: center; font-family: var(--display); font-weight: 600; }
.page-body--wide .prose { max-width: 75ch; }
.nf { padding-top: var(--s7); padding-bottom: var(--s8); text-align: left; }
.nf__code { font-family: var(--display); font-weight: 800; font-size: clamp(6rem, 26vw, 18rem); line-height: .8; letter-spacing: -.06em; margin: 0 0 var(--s4); color: var(--jam); }
.nf__links { display: flex; flex-wrap: wrap; gap: var(--s4); margin-top: var(--s5); }

/* ------------------------------------------------ entrance (once, on load) */
@media (prefers-reduced-motion: no-preference) {
  /* quick: every entrance finishes within 400 ms */
  .js [data-enter] { animation: enter .3s var(--ease) both; }
  .js .wordmark--cover .wordmark__text span { animation: letter .28s var(--ease) both; animation-delay: calc(min(var(--i), 12) * 8ms); }
  .js .collage > .col { animation: enter .3s var(--ease) both; }
  .js .collage > .col:nth-child(2) { animation-delay: 25ms; } .js .collage > .col:nth-child(3) { animation-delay: 50ms; } .js .collage > .col:nth-child(4) { animation-delay: 75ms; } .js .collage > .col:nth-child(n+5) { animation-delay: 100ms; }
}
@keyframes enter { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes letter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

@media print { .mast, .foot, .ribbon, .filters { display: none; } body { background: #fff; } }
