/* GiftPuffin design system (ARCHITECTURE §8). Light theme only. No inline styles anywhere (CSP). */

/* ---------- Fonts (self-hosted, OFL) ---------- */
@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-var-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("/assets/fonts/figtree-var.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("/assets/fonts/figtree-var-italic.woff2") format("woff2");
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
}
/* Metric-matched fallbacks keep layout shift small while the web fonts load. */
@font-face { font-family: "Fraunces Fallback"; src: local("Georgia"); size-adjust: 104%; ascent-override: 94%; descent-override: 24%; }
@font-face { font-family: "Figtree Fallback"; src: local("Arial"); size-adjust: 98%; ascent-override: 97%; descent-override: 25%; }

/* ---------- Tokens ---------- */
:root {
  --ink: #1d1f24;
  --ink-soft: #3b3f47;
  --cream: #fbf6ee;
  --paper: #f3eadb;
  --line: #e3d7c3;
  --beak: #e8622c;
  --beak-deep: #b4441a;
  --coral: #f2967f;
  --sun: #f4c04e;
  --sea: #3f5d73;
  --sea-deep: #2a4152;
  --sea-mist: #dde6ea;

  --serif: "Fraunces", "Fraunces Fallback", Georgia, "Times New Roman", serif;
  --sans: "Figtree", "Figtree Fallback", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: clamp(1.2rem, 1.1rem + 0.4vw, 1.375rem);
  --step-2: clamp(1.45rem, 1.25rem + 0.9vw, 1.85rem);
  --step-3: clamp(1.8rem, 1.45rem + 1.6vw, 2.6rem);
  --step-4: clamp(2.2rem, 1.6rem + 3vw, 3.75rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2.25rem;
  --space-7: 3.5rem;
  --space-8: 5rem;

  --measure: 40rem;
  --wide: 70rem;
  --radius: 10px;
  /* Hand-drawn wobble: unequal elliptical corners read as a pen line, not a UI box. */
  --wobble: 255px 18px 225px 18px / 18px 225px 18px 255px;
  --wobble-2: 18px 225px 18px 255px / 255px 18px 225px 18px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: var(--space-5); }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.6;
  font-feature-settings: "kern", "liga";
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
img, svg { max-width: 100%; height: auto; }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.012em;
  color: var(--ink);
  font-variation-settings: "SOFT" 100, "WONK" 0, "opsz" 72;
  margin: 0 0 var(--space-3);
  text-wrap: balance;
}
h1 { font-size: var(--step-4); font-weight: 650; letter-spacing: -0.022em; font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; }
h2 { font-size: var(--step-3); font-variation-settings: "SOFT" 80, "WONK" 0, "opsz" 96; }
h3 { font-size: var(--step-1); font-weight: 650; font-variation-settings: "SOFT" 60, "opsz" 24; letter-spacing: -0.005em; }
p, ul, ol, dl { margin: 0 0 var(--space-4); }
p { text-wrap: pretty; }
strong { font-weight: 700; }
a { color: var(--beak-deep); text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
a:hover { color: var(--ink); text-decoration-color: var(--beak); text-decoration-thickness: 0.14em; }
code { font-size: 0.9em; background: var(--paper); padding: 0.05em 0.35em; border-radius: 4px; }
:focus-visible { outline: 3px solid var(--sea); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--sun); color: var(--ink); }

.wrap { width: 100%; max-width: var(--wide); margin-inline: auto; padding-inline: var(--space-4); }
@media (min-width: 40em) { .wrap { padding-inline: var(--space-5); } }
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--space-4); top: -4rem; z-index: 10; background: var(--ink); color: var(--cream); padding: var(--space-2) var(--space-4); border-radius: var(--radius); font-weight: 700; }
.skip:focus { top: var(--space-2); color: var(--cream); }
main { display: block; padding-bottom: var(--space-8); }
main:focus { outline: none; }

/* ---------- Preview + warnings ---------- */
.preview-ribbon {
  background: repeating-linear-gradient(-45deg, var(--sun) 0 14px, #f7cf72 14px 28px);
  color: var(--ink);
  font-weight: 800;
  font-size: var(--step--1);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: var(--space-2) 0;
  text-align: center;
  border-bottom: 2px solid var(--ink);
}
.build-warning { background: #fde3dc; border-bottom: 2px solid var(--beak-deep); padding: var(--space-3) 0; font-size: var(--step--1); }
.build-warning p { margin: 0 0 var(--space-1); }
.build-warning ul { margin: 0; padding-left: 1.2em; }

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--line); background: var(--cream); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-5); padding-block: var(--space-3); }
.brand { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--ink); }
.brand img { display: block; width: auto; height: 40px; }
.wordmark { font-family: var(--serif); font-size: 1.75rem; font-weight: 700; letter-spacing: -0.03em; font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; line-height: 1; }
.wordmark span span { color: var(--beak-deep); }
.site-nav { flex: 1 1 100%; min-width: 0; }
.site-nav ul { display: flex; gap: var(--space-1) var(--space-4); list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.site-nav ul::-webkit-scrollbar { display: none; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.98rem; border-bottom: 3px solid transparent; }
.site-nav a:hover { border-bottom-color: var(--coral); }
@media (max-width: 51.99em) {
  /* Small screens: one scrolling row. The faded right edge and the half-visible next item say "there's more". */
  .site-nav { margin-inline: calc(-1 * var(--space-4)); }
  .site-nav ul {
    padding-inline: var(--space-4) var(--space-7);
    scroll-padding-inline: var(--space-4);
    scroll-snap-type: x proximity;
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 3.5rem), transparent);
    mask-image: linear-gradient(to right, #000 calc(100% - 3.5rem), transparent);
  }
  .site-nav li { scroll-snap-align: start; }
  .site-nav ul:focus-within { -webkit-mask-image: none; mask-image: none; }
  .site-nav:focus-within::after { display: none; }
  /* a visible "more this way" chevron over the faded edge */
  .site-nav { position: relative; }
  .site-nav::after {
    content: "›"; position: absolute; right: var(--space-2); top: 50%; transform: translateY(-55%);
    font-size: 1.6rem; line-height: 1; font-weight: 700; color: var(--beak-deep); pointer-events: none;
  }
}
@media (min-width: 40em) and (max-width: 51.99em) {
  .site-nav { margin-inline: calc(-1 * var(--space-5)); }
  .site-nav ul { padding-left: var(--space-5); scroll-padding-inline: var(--space-5); }
}
.site-nav a[aria-current="page"] { border-bottom-color: var(--beak); }
@media (min-width: 52em) {
  .site-nav { flex: 1 1 auto; }
  .site-nav ul { justify-content: flex-end; }
}

/* ---------- Breadcrumbs ---------- */
.crumbs ol { display: flex; flex-wrap: wrap; list-style: none; padding: 0; margin: var(--space-4) 0 0; font-size: var(--step--1); color: var(--ink-soft); }
.crumbs li + li::before { content: "/"; margin: 0 0.5em; color: #b9aa91; }
.crumbs a { color: var(--ink-soft); }
.crumbs [aria-current] { color: var(--ink-soft); }

/* ---------- Page head ---------- */
.page-head { max-width: 48rem; padding-top: var(--space-6); margin-bottom: var(--space-6); }
.page-head h1 { margin-bottom: var(--space-4); }
.answer, .lead { font-size: var(--step-1); line-height: 1.5; color: var(--ink); max-width: var(--measure); }
.byline { font-size: var(--step--1); color: var(--ink-soft); margin: 0; }
.byline time { font-weight: 600; color: var(--ink); }
.kicker { font-size: var(--step--1); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sea); margin-bottom: var(--space-3); }

/* ---------- Buttons ---------- */
.btn-buy, .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.6rem 1.35rem;
  background: var(--beak);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 750;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid var(--ink);
  border-radius: 999px 999px 999px 999px / 820px 760px 880px 800px;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
}
.btn-buy:hover, .btn-primary:hover { background: #f07a49; color: var(--ink); transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.btn-buy:active, .btn-primary:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn-buy::after { content: "\2197"; margin-left: 0.45em; font-weight: 600; }
.btn-secondary, .btn-text {
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  color: var(--ink);
}
.btn-secondary { min-height: 44px; padding: 0.5rem 1.1rem; background: var(--cream); border: 2px solid var(--ink); border-radius: 999px; }
.btn-secondary:hover { background: var(--paper); }
.btn-secondary[aria-pressed="true"] { background: var(--sea-mist); border-color: var(--sea-deep); }
.btn-secondary:disabled { opacity: 0.55; cursor: not-allowed; }
.btn-text { min-height: 44px; background: none; border: 0; padding: 0 var(--space-2); text-decoration: underline; text-underline-offset: 0.18em; }

.buy { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); margin: var(--space-4) 0 0; }
.ad-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border: 1.5px solid var(--ink-soft);
  border-radius: 4px;
  padding: 0.05rem 0.4rem;
  line-height: 1.4;
}
.aff-link { font-weight: 600; }

/* ---------- Chips ---------- */
.chip {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
  padding: 0.2rem 0.65rem;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  background: var(--cream);
}
.chip-price { background: var(--sea-mist); border-color: var(--sea-mist); color: var(--sea-deep); font-weight: 750; }

/* ---------- Quick picks (hand-drawn box) ---------- */
.quick-picks {
  position: relative;
  max-width: 52rem;
  margin: 0 0 var(--space-7);
  padding: var(--space-5) var(--space-4) var(--space-4);
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--wobble);
}
@media (min-width: 40em) { .quick-picks { padding: var(--space-6) var(--space-6) var(--space-5); } }
.quick-picks::before {
  /* a second, offset pen line */
  content: "";
  position: absolute;
  inset: 7px 6px 6px 7px; /* stays inside the box: no overflow on small screens */
  border: 1.5px solid var(--beak);
  border-radius: var(--wobble-2);
  pointer-events: none;
}
.quick-picks h2 { font-size: var(--step-2); margin-bottom: var(--space-4); }
.qp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-5); }
/* Three columns only once each column is wide enough for a one-line button plus its "Ad" label. */
@media (min-width: 60em) { .quick-picks { max-width: 56rem; } .qp-list { grid-template-columns: repeat(3, 1fr); gap: var(--space-4); } }
.qp-item { display: flex; flex-direction: column; }
.qp-item + .qp-item { border-top: 1px dashed #c9b99d; padding-top: var(--space-4); }
@media (min-width: 60em) { .qp-item + .qp-item { border-top: 0; padding-top: 0; border-left: 1px dashed #c9b99d; padding-left: var(--space-4); } }
.qp-label { font-size: var(--step--1); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--beak-deep); margin: 0 0 var(--space-1); }
.qp-name { font-family: var(--serif); font-size: var(--step-1); font-weight: 600; line-height: 1.25; margin: 0 0 var(--space-1); font-variation-settings: "SOFT" 80, "opsz" 36; }
.qp-name a { color: var(--ink); text-decoration-color: var(--coral); }
.qp-price { color: var(--ink-soft); margin: 0; }
.qp-item .buy { margin-top: auto; padding-top: var(--space-3); flex-wrap: wrap; gap: var(--space-2); min-width: 0; }
.qp-item .buy .btn-buy { min-width: 0; max-width: 100%; font-size: 0.9rem; padding: 0.4rem 0.95rem; text-align: center; }
.btn-buy { max-width: 100%; }
/* Small screens: each pick is one compact row (name + price left, button right). */
@media (max-width: 39.99em) {
  .quick-picks h2 { margin-bottom: var(--space-3); }
  .qp-list { gap: var(--space-3); }
  .qp-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--space-3); align-items: center; }
  .qp-item + .qp-item { padding-top: var(--space-3); }
  .qp-label { grid-column: 1 / -1; margin: 0; }
  .qp-name { font-size: var(--step-0); grid-column: 1; margin: 0; }
  .qp-price { grid-column: 1; font-size: var(--step--1); }
  .qp-item .buy { grid-column: 2; grid-row: 2 / span 2; margin-top: 0; padding-top: 0; flex-direction: column; align-items: flex-end; gap: 2px; }
  /* the button may wrap to two lines rather than squeeze the name or overflow the box */
  .qp-item .buy .btn-buy { max-width: 8.75rem; line-height: 1.15; }
  .qp-note { margin-top: var(--space-3); }
}
/* Very narrow screens (320px, or big text): button + "Ad" move under the name, side by side. */
@media (max-width: 23.99em) {
  .qp-item .buy { grid-column: 1 / -1; grid-row: auto; flex-direction: row; align-items: center; padding-top: var(--space-2); gap: var(--space-2); }
  .qp-item .buy .btn-buy { max-width: 100%; }
}
.qp-note { font-size: var(--step--1); color: var(--ink-soft); margin: var(--space-5) 0 0; }
.buy-small .btn-buy { min-height: 44px; font-size: 0.95rem; padding: 0.45rem 1.05rem; }

/* ---------- List page ---------- */
.intro { max-width: var(--measure); font-size: var(--step-0); }
.toc { margin: 0 0 var(--space-6); max-width: 48rem; }
.toc ol { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0; padding: 0; }
.toc a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-4); border: 1.5px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.95rem; background: var(--cream); }
.toc a:hover { border-color: var(--ink); }
@media (max-width: 39.99em) {
  /* one swipeable line so the filters come sooner */
  .toc { margin: 0 calc(-1 * var(--space-4)) var(--space-5); }
  .toc ol { flex-wrap: nowrap; overflow-x: auto; padding: 0 var(--space-4) var(--space-1); scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
  .toc li { flex: 0 0 auto; }
  .toc a { white-space: nowrap; padding: 0 var(--space-3); font-size: 0.9rem; }
}
.cross-link { max-width: var(--measure); font-size: var(--step--1); color: var(--ink-soft); }

.filters { max-width: 52rem; margin: 0 0 var(--space-6); padding: var(--space-4) 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.filters-h { font-size: var(--step-1); margin-bottom: var(--space-3); }
.filter-group { border: 0; margin: 0 0 var(--space-3); padding: 0; min-width: 0; }
.filter-group legend { font-weight: 700; font-size: var(--step--1); text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); padding: 0; margin-bottom: var(--space-2); }
.opts { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.opt { position: relative; display: inline-flex; cursor: pointer; }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-4); border: 1.5px solid var(--line); border-radius: 999px; background: var(--cream); font-weight: 600; font-size: 0.95rem; }
.opt:hover span { border-color: var(--ink-soft); }
.opt input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.opt input:checked + span::before { content: "\2713"; margin-right: 0.4em; font-weight: 800; }
@media (forced-colors: active) {
  .opt input:checked + span { forced-color-adjust: none; background: Highlight; color: HighlightText; border-color: Highlight; }
  .btn-buy, .btn-primary { border-color: ButtonText; }
}
.opt input:focus-visible + span { outline: 3px solid var(--sea); outline-offset: 2px; }
.filter-hint { margin: 0 0 var(--space-2); font-size: var(--step--1); color: var(--ink-soft); max-width: var(--measure); }
.budget-guides { max-width: 48rem; margin: 0 0 var(--space-4); font-size: 0.98rem; }
.budget-guides-lead { font-weight: 750; }
.filter-status { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); margin: var(--space-2) 0 0; font-size: var(--step--1); color: var(--ink-soft); }

.list-section { margin: 0 0 var(--space-7); }
.list-section > h2 { max-width: 48rem; padding-bottom: var(--space-3); margin-bottom: var(--space-5); border-bottom: 2px solid var(--ink); }
.ideas { list-style: none; margin: 0; padding: 0; max-width: 52rem; }
.idea {
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr);
  gap: 0 var(--space-3);
  padding: var(--space-5) 0 var(--space-6);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 40em) { .idea { grid-template-columns: 4.5rem minmax(0, 1fr); gap: 0 var(--space-5); } }
.idea:target { background: linear-gradient(90deg, transparent, rgba(244, 192, 78, 0.18) 20%, transparent); }
.idea-num {
  margin: 0;
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 500;
  line-height: 0.9;
  color: var(--beak);
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
  font-feature-settings: "lnum";
  text-align: right;
}
@media (min-width: 40em) { .idea-num { font-size: 4rem; } }
.idea-name { font-size: var(--step-2); margin-bottom: var(--space-2); }
.idea-tags { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-3); }
.idea-what { color: var(--ink-soft); }
.idea-why { font-size: 1.1rem; }
.idea-notfor, .idea-alt { font-size: 0.98rem; color: var(--ink-soft); margin-bottom: var(--space-2); }
.idea-notfor-lead, .idea-alt-lead { font-weight: 750; color: var(--ink); }
.idea-card { display: block; padding: var(--space-4) 0; }
.filter-empty { max-width: 52rem; padding: var(--space-5); background: var(--paper); border-radius: var(--wobble); font-weight: 600; }

.list-note { max-width: 48rem; font-size: var(--step--1); color: var(--ink-soft); border-left: 3px solid var(--coral); padding-left: var(--space-4); margin: 0 0 var(--space-7); }

.more, .faq, .related { max-width: 48rem; margin: 0 0 var(--space-7); }
.more h2, .faq h2, .related h2 { font-size: var(--step-2); }
.link-list { list-style: none; margin: 0; padding: 0; }
.link-list li { padding: var(--space-3) 0; border-bottom: 1px solid var(--line); }
.link-list a { font-weight: 700; font-size: 1.05rem; }
.link-list span { display: block; color: var(--ink-soft); font-size: 0.95rem; }
.faq-item { padding: var(--space-4) 0; border-bottom: 1px solid var(--line); }
.faq-item h3 { font-size: var(--step-1); margin-bottom: var(--space-2); }
.faq-item p { margin: 0; }

/* ---------- Prose (static pages) ---------- */
.prose > :not(.page-head) { max-width: var(--measure); }
.prose h2 { font-size: var(--step-2); margin-top: var(--space-6); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: var(--space-2); }
.prose li::marker { color: var(--beak); }
.analytics-status { padding: var(--space-3) var(--space-4); background: var(--sea-mist); border-radius: var(--radius); font-weight: 600; color: var(--sea-deep); }
.analytics-buttons { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.not-found .page-head { padding-top: var(--space-7); }
.not-found-art { display: block; width: auto; height: 120px; margin-bottom: var(--space-4); }

/* ---------- Home ---------- */
.home-hero { padding-top: var(--space-7); padding-bottom: var(--space-6); }
.home-hero h1 { font-size: clamp(2.5rem, 1.6rem + 4.6vw, 5rem); line-height: 1.02; max-width: 15ch; margin-bottom: var(--space-5); }
.swash-wrap { position: relative; display: inline-block; white-space: nowrap; }
.swash { position: absolute; left: -2%; bottom: -0.12em; width: 104%; height: 0.32em; }
.home-hero .lead { max-width: 36rem; margin-bottom: var(--space-6); }
/* Editorial spot illustration on wide screens only (hidden images with loading="lazy" are never fetched). */
.hero-art { display: none; }
@media (min-width: 62.5em) {
  .home-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(16rem, 25rem); gap: var(--space-6); align-items: center; }
  .hero-art { display: block; width: 100%; height: auto; justify-self: end; transform: rotate(3deg); }
}
.finder-cta {
  max-width: 34rem;
  padding: var(--space-5);
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--wobble-2);
}
.finder-cta p:last-child { margin: 0; }
.finder-q { font-family: var(--serif); font-size: var(--step-2); font-weight: 600; line-height: 1.15; margin-bottom: var(--space-2); font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 72; }
.finder-art { float: right; width: 96px; height: 96px; margin: 0 0 var(--space-3) var(--space-3); }

.home-dates, .home-browse, .home-featured, .home-tools, .home-how { padding-block: var(--space-6); }
.home-dates h2, .home-browse h2, .home-featured h2, .home-tools h2, .home-how h2 { font-size: var(--step-3); }
.date-list { list-style: none; margin: 0; padding: 0; max-width: 48rem; border-top: 2px solid var(--ink); }
.date-row { display: grid; grid-template-columns: 1fr; gap: 0 var(--space-4); padding: var(--space-3) 0; border-bottom: 1px solid var(--line); }
@media (min-width: 40em) { .date-row { grid-template-columns: 16rem 1fr auto; align-items: baseline; } }
.date-day { white-space: nowrap; font-family: var(--serif); font-size: var(--step-1); font-weight: 600; font-variation-settings: "SOFT" 100, "opsz" 36; }
.date-name { font-weight: 700; }
.date-name a { color: var(--ink); }
.date-note { display: block; font-weight: 400; font-size: 0.92rem; color: var(--ink-soft); }
.date-extra { font-weight: 600; font-size: 0.95rem; margin-left: var(--space-3); color: var(--beak-deep); }
.date-when { color: var(--ink-soft); font-size: 0.95rem; }
.is-soon .date-when strong { color: var(--beak-deep); }

.browse-cols { display: grid; gap: var(--space-5) var(--space-6); grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.browse-group h3 { font-family: var(--sans); font-size: var(--step--1); font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sea); padding-bottom: var(--space-2); border-bottom: 2px solid var(--ink); }
.browse-group ul { list-style: none; margin: 0; padding: 0; }
.browse-group a { display: flex; align-items: center; min-height: 44px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; font-size: 1.05rem; }
.browse-group a:hover { color: var(--beak-deep); }
.browse-group a::after { content: "\2192"; margin-left: auto; color: var(--beak); }

.featured-list { list-style: none; margin: 0; padding: 0; counter-reset: feat; display: grid; gap: var(--space-5) var(--space-6); }
@media (min-width: 48em) { .featured-list { grid-template-columns: 1fr 1fr; } }
.featured-list li { counter-increment: feat; position: relative; padding-left: 3.4rem; }
.featured-list li::before { content: counter(feat); position: absolute; left: 0; top: -0.1em; font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--beak); font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; }
.featured-title { font-family: var(--serif); font-size: var(--step-1); font-weight: 600; line-height: 1.25; color: var(--ink); font-variation-settings: "SOFT" 80, "opsz" 36; }
.featured-list p { margin: var(--space-1) 0 0; color: var(--ink-soft); font-size: 0.98rem; }
.featured-date { font-size: var(--step--1) !important; }

.tool-list { list-style: none; margin: 0; padding: 0; max-width: 48rem; }
.tool-list li { padding: var(--space-3) 0; border-bottom: 1px solid var(--line); }
.tool-list a { font-weight: 700; font-size: 1.1rem; }
.tool-list span { display: block; color: var(--ink-soft); }
.home-how { max-width: var(--wide); }
.home-how p { max-width: var(--measure); }

/* ---------- Footer ---------- */
.site-footer { background: var(--sea-deep); color: var(--cream); padding: var(--space-7) 0 var(--space-6); font-size: 0.98rem; }
.site-footer a { color: var(--cream); text-decoration-color: var(--coral); }
.site-footer a:hover { color: #fff; text-decoration-color: var(--sun); }
.site-footer :focus-visible { outline-color: var(--sun); }
.footer-brand { font-family: var(--serif); font-size: var(--step-2); font-weight: 650; font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 96; margin-bottom: var(--space-5); }
.footer-tag { display: block; font-family: var(--sans); font-size: 0.98rem; font-weight: 400; color: var(--sea-mist); margin-top: var(--space-1); }
.footer-cols { display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); margin-bottom: var(--space-5); }
.footer-h { font-family: var(--sans); font-size: var(--step--1); font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--sea-mist); margin-bottom: var(--space-2); }
.footer-cols ul { list-style: none; margin: 0; padding: 0; }
.footer-cols a { display: inline-flex; align-items: center; min-height: 40px; }
.disclosure { max-width: 46rem; padding-top: var(--space-4); border-top: 1px solid rgba(251, 246, 238, 0.25); }
.footer-small { font-size: var(--step--1); color: var(--sea-mist); margin-bottom: var(--space-2); }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .btn-buy:hover, .btn-primary:hover { transform: none; }
}

/* ---------- Print ---------- */
@media print {
  body { background: #fff; color: #000; font-size: 11pt; }
  .site-nav, .filters, .toc, .skip, .preview-ribbon, .build-warning, .crumbs, .analytics-buttons { display: none !important; }
  .site-header, .site-footer { background: #fff; color: #000; border: 0; padding: 0; }
  .site-footer a, a { color: #000; }
  .quick-picks, .finder-cta { border: 1px solid #000; background: #fff; }
  .quick-picks::before { display: none; }
  .btn-buy, .btn-primary { box-shadow: none; border: 1px solid #000; background: #fff; }
  .idea { break-inside: avoid; }
  .idea-num { color: #000; }
}

/* Homepage: This week's picks */
.home-picks { padding-block: var(--space-6); }
.home-picks h2 { font-size: var(--step-3); }
.picks-intro { color: var(--ink-soft); margin: 0 0 var(--space-4); max-width: var(--measure); }
.pick-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-5); border-top: 2px solid var(--ink); padding-top: var(--space-4); }
@media (min-width: 40em) { .pick-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64em) { .pick-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); } }
.pick { display: flex; flex-direction: column; min-width: 0; }
.pick-name { font-family: var(--serif); font-size: var(--step-1); font-weight: 600; line-height: 1.25; margin: 0 0 var(--space-1); font-variation-settings: "SOFT" 80, "opsz" 36; }
.pick-name a { color: var(--ink); text-decoration-color: var(--coral); }
.pick-price { color: var(--ink-soft); margin: 0 0 var(--space-2); }
.pick-why { margin: 0 0 var(--space-2); }
.pick .buy { margin-top: auto; padding-top: var(--space-2); flex-wrap: wrap; gap: var(--space-2); min-width: 0; }
.pick .buy .btn-buy { min-width: 0; max-width: 100%; font-size: 0.9rem; padding: 0.4rem 0.95rem; text-align: center; }
.pick-guide { font-size: var(--step--1); color: var(--ink-soft); margin: var(--space-2) 0 0; }
.home-picks .qp-note { max-width: var(--measure); }
.date-row[hidden] { display: none; }
