/* Stuffworthy: black frame (announce bar + footer), peach panels, cream card bodies, orange accents,
   Chivo headings in sentence case, Mulish body, soft 1px lines, rounded corners, no hard shadows.
   Home (.home-*) and Gift guide (.gg-*) blocks below set the direction; everything else follows them. */
:root {
  --ink: #1a1a2e; --paper: #fff; --cream: #fff7f2; --sage: #ffeee5; --green: #1a1a2e; --green-2: #34344f;
  --lime: #ffd8c8; --on-green: #fff7f2; --muted: #5a6070; --line: #f0e2d9; --soft: var(--cream);
  --display: "Chivo", "Arial Black", sans-serif;
  --body: "Mulish", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --r: 14px; --wrap: 1180px; --edge: max(20px, calc((100vw - var(--wrap)) / 2 + 20px));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { overflow-x: clip; margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
main > section { scroll-margin-top: 150px; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.05; letter-spacing: -.03em; margin: 0; }

/* Announcement + header */
.announce { display: flex; justify-content: space-between; gap: 16px; padding: 8px var(--edge); background: var(--green); color: var(--on-green); font-size: 13px; }
.announce a { color: var(--lime); font-weight: 700; text-underline-offset: 3px; }
.top { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.bar { max-width: var(--wrap); margin: 0 auto; padding: 14px 20px 8px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font: 800 23px/1 "Plus Jakarta Sans", var(--body); letter-spacing: -.03em; color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand .mark { width: 32px; height: 32px; flex: none; }
.search { flex: 1; display: flex; max-width: 520px; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--cream); }
.search:focus-within { border-color: var(--green); }
.search input { flex: 1; border: 0; padding: 10px 18px; font: inherit; font-size: 15px; background: transparent; min-width: 0; }
.search input:focus { outline: none; }
.search button { border: 0; margin: 4px; border-radius: 999px; background: var(--green); color: var(--on-green); width: 40px; font-size: 18px; }
.search button:hover { background: var(--green-2); }
.mylist { margin-left: auto; text-decoration: none; font-weight: 800; font-size: 14px; color: var(--green); white-space: nowrap; }
.mylist b { display: inline-block; min-width: 22px; padding: 0 7px; border-radius: 99px; background: var(--green); color: var(--on-green); text-align: center; font-size: 12px; line-height: 22px; }
.menu { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; }
.menu a { font-weight: 700; font-size: 15px; text-decoration: none; padding: 6px 0 10px; border-bottom: 2px solid transparent; white-space: nowrap; }
.menu a[aria-current], .menu a:hover { border-color: var(--green); color: var(--green); }
.chips-bar { display: flex; gap: 4px; align-items: center; padding: 6px var(--edge); border-top: 1px solid var(--line); background: var(--cream); overflow-x: auto; scrollbar-width: none; }
.chips-bar a { font-size: 13px; font-weight: 600; color: var(--muted); text-decoration: none; white-space: nowrap; padding: 4px 10px; border-radius: 99px; }
.chips-bar a:hover { color: var(--green); background: var(--sage); }

main { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
main > section { padding: 48px 0; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 20px; }
.sec-head h2 { font-size: clamp(26px, 3.1vw, 36px); line-height: 1.1; }
.kicker { font-size: 13px; font-weight: 700; color: #4d4d63; margin: 0 0 8px; }
.sub { color: var(--muted); margin: 8px 0 0; font-size: 16px; }
.more { padding: 0; border: 0; background: none; font-weight: 800; font-size: 14px; color: var(--green); white-space: nowrap; text-decoration: underline; text-underline-offset: 4px; }

/* Buttons */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.btn { display: inline-block; padding: 11px 18px; border: 1px solid var(--green); border-radius: 10px; font-weight: 800; font-size: 14px; color: var(--green); background: #fff; text-decoration: none; transition: background .15s; }
.btn:hover { background: var(--sage); }
.btn.dark { background: var(--green); color: var(--on-green); }
.btn.dark:hover { background: var(--green-2); }
.btn.light { background: var(--lime); color: var(--green); border-color: var(--lime); }
.btn.light:hover { background: var(--on-green); }
.btn.ghost { background: transparent; color: var(--on-green); border-color: var(--on-green); }
.round { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 20px; flex: none; }
.round.dark { background: var(--green); border-color: var(--green); color: var(--on-green); }
.tiny { font-size: 13px; color: var(--muted); margin: 22px 0 8px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Product card: white photo well, cream body */
.card { position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; text-decoration: none; background: var(--cream); border: 1px solid var(--line); border-radius: var(--r); transition: border-color .15s; }
.card-link { display: flex; flex: 1; flex-direction: column; min-width: 0; color: inherit; text-decoration: none; }
.card:hover { border-color: var(--green); }
.card:hover .nm { text-decoration: underline; text-underline-offset: 3px; }
.ph { display: block; overflow: hidden; background: #fff; border-bottom: 1px solid var(--line); }
.ph img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.kind { display: block; margin: 12px 14px 4px; font: 500 10.5px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: #4d4d63; }
.nm { flex: 1; margin: 0 14px; font: 800 16px/1.25 var(--display); letter-spacing: -.02em; }
.go { margin: 12px 14px 14px; font-weight: 800; font-size: 14px; color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.card[hidden] { display: none; }

/* Band + carousel */
.band { position: relative; }
.band::before { content: ""; position: absolute; inset: 0 calc(50% - 50vw); background: var(--cream); z-index: -1; }
.carousel .track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 23%); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px 2px 8px; }
.carousel .track::-webkit-scrollbar { display: none; }
.carousel .card { scroll-snap-align: start; }
.ctl { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.progress { flex: 1; height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }
.progress i { display: block; height: 100%; width: 30%; background: var(--green); border-radius: 3px; transition: width .15s; }
.arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--green); }
.arrow:hover:not(:disabled) { border-color: var(--green); }
.arrow:disabled { opacity: .35; cursor: default; }

/* Chips + grid */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.tab { border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 6px 14px; font-weight: 700; font-size: 13px; color: var(--ink); }
a.tab { text-decoration: none; }
a.tab:hover { border-color: var(--green); color: var(--green); }
.tab.on, .tab[aria-current] { background: var(--green); border-color: var(--green); color: var(--on-green); }
.tab small { opacity: .6; margin-left: 2px; }
.grid { display: grid; gap: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.lead-card { background: var(--green); color: var(--on-green); border-radius: var(--r); padding: 22px; display: flex; flex-direction: column; min-height: 280px; }
.lead-card small { font-size: 13px; color: #ffd8c8; }
.lead-card b { font: 800 26px/1.05 var(--display); letter-spacing: -.03em; margin-top: 8px; flex: 1; }
.lead-card a { font-weight: 800; color: var(--lime); }
.empty { margin-top: 18px; color: var(--muted); }

/* Guides */
.reads { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(240px, 300px)); }
.read .ph img { aspect-ratio: 4 / 3; }

/* Footer: the deep green frame that closes every page */
.foot { margin-top: 64px; padding: 56px var(--edge) 28px; background: var(--green); color: var(--on-green); }
.foot-grid { display: grid; gap: 28px; grid-template-columns: 1.4fr repeat(4, 1fr); }
.foot .brand { color: var(--on-green); }
.foot-grid p { color: #d2d2de; font-size: 14px; max-width: 32ch; }
.foot h4 { font: 800 14px var(--display); letter-spacing: -.01em; margin: 4px 0 12px; color: var(--lime); }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 14px; }
.foot ul a { text-decoration: none; color: #ebebf2; }
.foot ul a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.foot a:focus-visible { outline-color: var(--lime); }
.fine { font-size: 12px; color: var(--muted); }
.foot .fine { color: #d2d2de; border-top: 1px solid rgba(255, 247, 242, .18); padding-top: 16px; margin: 36px 0 0; }
.foot .fine.mono { border: 0; margin: 8px 0 0; padding: 0; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-grid > div:first-child { grid-column: 1 / -1; } }

/* Article pages */
.post { max-width: 740px; margin: 0 auto; padding: 40px 0 24px; }
.post-head h1 { font-size: clamp(32px, 4.8vw, 50px); letter-spacing: -.045em; margin: 0 0 14px; color: var(--green); }
.dek { font-size: 19px; color: var(--muted); margin: 0 0 10px; }
.meta { font-size: 13px; color: var(--muted); margin: 0 0 24px; }
.lead { margin: 0 0 18px; }
.lead img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 18px; }
figcaption { font-size: 12px; color: var(--muted); margin-top: 6px; }
.disclosure { font-size: 14px; color: var(--muted); border-left: 3px solid var(--green); padding: 2px 0 2px 12px; margin: 0 0 28px; }
.toc { background: var(--sage); border-radius: var(--r); padding: 18px 22px; margin: 0 0 36px; }
.toc p { margin: 0 0 6px; font: 800 16px var(--display); color: var(--green); }
.toc ol { margin: 0; padding-left: 22px; }
.prose { font-size: 17px; line-height: 1.7; }
.prose h2 { font-size: clamp(24px, 3.2vw, 32px); margin: 52px 0 14px; scroll-margin-top: 150px; color: var(--green); }
.prose h3 { font-size: 20px; margin: 32px 0 10px; }
.prose a { text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 16px 0; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--sage); color: var(--green); font-weight: 800; font-size: 13px; }
.buy { display: inline-block; margin: 6px 0 14px; padding: 11px 18px; background: var(--green); color: var(--on-green) !important; text-decoration: none; border-radius: 10px; font-weight: 800; font-size: 14px; }
.buy:hover { background: var(--green-2); }

/* Small screens */
@media (max-width: 720px) {
  .announce span { display: none; }
  .mylist span { display: none; }
  .bar { flex-wrap: wrap; gap: 12px; }
  .brand { font-size: 20px; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .menu { gap: 22px; }
  main > section { padding: 40px 0; }
  .carousel .track { grid-auto-columns: 62%; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .kind { margin: 10px 10px 4px; }
  .nm { margin: 0 10px; font-size: 14px; }
  .go { margin: 10px 10px 12px; font-size: 13px; }
  .sec-head { flex-direction: column; align-items: start; }
}

/* Catalog, category, search and product pages */
main > section.list-head { padding: 40px 0 8px; }
main > section.list { padding: 24px 0 8px; }
.tile { display: grid; place-items: center; align-content: center; gap: 8px; aspect-ratio: 1 / 1; padding: 12px; text-align: center;
  background: radial-gradient(#f0dcd0 1px, transparent 1.5px) 0 0 / 14px 14px, var(--cream); }
.tile b { font-size: 46px; line-height: 1; }
.tile small { font-size: 12px; font-weight: 600; color: var(--muted); }
.tile.big { border-radius: 18px; border: 1px solid var(--line); }
.tile.big b { font-size: 120px; }
.tile.big small { font-size: 14px; }
.pager { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 28px; }
.pager a { min-width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; font-weight: 800; font-size: 14px; }
.pager a:hover { border-color: var(--green); color: var(--green); }
.pager a[aria-current] { background: var(--green); border-color: var(--green); color: var(--on-green); }
.crumbs { padding-top: 24px; font-size: 13px; color: var(--muted); }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
main > section.pd { display: grid; gap: 36px; padding: 20px 0 32px; }
.pd-img img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 18px; border: 1px solid var(--line); }
.ph img[src^="https://m.media-amazon.com/images/I/"],
.pd-img img[src^="https://m.media-amazon.com/images/I/"] { object-fit: contain; padding: 14px; background: #fff; }
.pd-img img[src^="https://m.media-amazon.com/images/I/"] { padding: 32px; }
.pd h1 { font-size: clamp(30px, 4vw, 46px); letter-spacing: -.045em; margin: 0 0 14px; color: var(--green); }
.pd .lede { font-size: 18px; color: var(--muted); margin: 0 0 16px; max-width: 52ch; }
.facts { margin: 0 0 24px; padding-left: 20px; display: grid; gap: 6px; }
.facts li::marker { color: var(--green); }
.buybig { font-size: 16px; padding: 14px 24px; }
.pd .fine { margin: 12px 0 20px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags .tab { font-size: 12px; }
.search.big { max-width: 640px; margin-top: 18px; background: #fff; }
.search.big input { font-size: 17px; padding: 14px 18px; }
.search.big button { width: 48px; }
@media (min-width: 900px) { main > section.pd { grid-template-columns: 1fr 1.1fr; align-items: start; } }

/* Collection pages: one sage head panel, then the grid */
main > section.coll-head { margin-top: 24px; padding: clamp(24px, 4vw, 44px); border-radius: 22px; background: var(--sage); color: var(--green); }
.coll-head .crumbs { padding-top: 0; color: #4d4d63; }
.coll-head h1 { margin: 14px 0 0; font-size: clamp(40px, 5.4vw, 70px); line-height: 1; letter-spacing: -.05em; }
.coll-head .sub { max-width: 62ch; color: #53536a; }
.counts { margin: 10px 0 0; font-size: 14px; font-weight: 700; color: #4d4d63; }
.coll-head .tabs { margin: 20px 0 0; }
.coll-head .tab { background: rgba(255, 255, 255, .75); border-color: #ecd6c9; color: var(--green); }
.coll-head a.tab:hover { background: #fff; }
.finder-band { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; background: var(--green); color: var(--on-green); border-radius: 16px; padding: 20px 24px; margin: 4px 0; }
.finder-band div { flex: 1; display: grid; gap: 4px; }
.finder-band b { font: 800 19px/1.2 var(--display); letter-spacing: -.02em; }
.finder-band small { color: #ffd8c8; font-size: 14px; }
.finder-band a:focus-visible { outline-color: var(--lime); }
.list > .finder-band { margin-top: 24px; }
.soon { display: grid; gap: 4px; background: var(--cream); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; margin-bottom: 18px; }
.soon b { font: 800 17px var(--display); }
.soon span { color: var(--muted); font-size: 14px; }

/* Home */
.home-actions { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; }
.home-actions a, .home-all, .home-buy { font-size: 14px; font-weight: 800; text-underline-offset: 4px; }
.home-button { display: inline-block; padding: 10px 16px; border-radius: 8px; color: #fff7f2; background: #1a1a2e; text-decoration: none; }
.home-button:hover { background: #34344f; }
.home-feature { min-width: 0; margin: 12px; border-radius: 14px; background: #fff; }
.home-feature-photo { display: block; }
.home-feature-photo img { width: 100%; height: clamp(235px, 25vw, 350px); padding: 20px; object-fit: contain; }
.home-feature-body {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 20px; border-top: 1px solid #f3e6de;
}
.home-feature-body small, .home-card-body small { display: block; color: #4d4d63; font: 500 11px/1.4 var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.home-feature-body h2, .home-card h3 { margin-top: 4px; font-size: 19px; line-height: 1.2; text-transform: none; letter-spacing: -.02em; }
.home-feature-body h2 a, .home-card h3 a { text-decoration: none; }
.home-feature-body h2 a:hover, .home-card h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.home-save {
  display: grid; flex: none; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #ecdad0;
  border-radius: 50%; background: #fff; color: #1a1a2e; font-size: 24px; line-height: 1;
}
.home-save:hover, .home-save[aria-pressed="true"] { background: #ffeee5; }
main > .home-section { padding: 38px 0; }
.home-section h2, .home-gifts h2 { font-size: clamp(27px, 3.1vw, 38px); line-height: 1.1; text-transform: none; letter-spacing: -.03em; }
.home-all { flex: none; color: #1a1a2e; }
.home-picks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.home-card {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  border: 1px solid #f0e2d9; border-radius: 14px; background: #fff7f2;
}
.home-card-photo { display: block; border-radius: 13px 13px 0 0; background: #fff; }
.home-card-photo img { width: 100%; aspect-ratio: 4 / 3; padding: 20px; object-fit: contain; }
.home-card .home-save { position: absolute; top: 8px; right: 8px; }
.home-card-body { display: flex; flex: 1; flex-direction: column; align-items: start; padding: 14px; }
.home-card h3 { flex: 1; font-size: 17px; }
.home-buy { margin-top: 12px; color: #1a1a2e; }
main > .home-gifts {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px;
  margin: 10px 0; padding: clamp(22px, 4.5vw, 44px); border-radius: 16px; color: #fff7f2; background: #1a1a2e;
}
.home-gifts p { margin: 7px 0 0; color: #e0e0ea; }
.home-gifts .home-button { color: #1a1a2e; background: #ffd8c8; }
.home-gifts .home-button:hover { background: #fff7f2; }
.home-gifts a:focus-visible { outline-color: #fff7f2; }
.home-saved { display: flex; flex-wrap: wrap; gap: 10px; }
.home-saved > p { margin: 0; color: #53536a; }
.home-saved-item {
  display: flex; min-width: 0; align-items: center; gap: 8px; min-height: 48px;
  border: 1px solid #f0e2d9; border-radius: 9px;
}
.home-saved-item a { display: flex; min-width: 0; align-items: center; gap: 8px; padding: 6px 0 6px 9px; font-size: 14px; font-weight: 800; text-underline-offset: 3px; }
.home-saved-item img { flex: none; width: 36px; height: 36px; object-fit: contain; }
.home-saved-item button { flex: none; width: 44px; min-height: 44px; padding: 0; border: 0; border-radius: 8px; background: transparent; font-size: 21px; }
.home-saved-item button:hover { background: #ffeee5; }
@media (max-width: 880px) { .home-picks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) {
  .home-picks { gap: 10px; }
  .home-card-photo img { padding: 14px; }
  .home-card-body { padding: 11px; }
  .home-card h3 { font-size: 15px; }
  .home-section .sec-head { flex-wrap: wrap; gap: 8px; }
}

/* Gift guide */
main > .gg-hero {
  display: grid; grid-template-columns: .94fr 1fr; align-items: stretch;
  margin: 34px 0 0; padding: 0; border-radius: 22px;
  background: #1a1a2e; color: #fff7f2;
}
.gg-intro { align-self: center; padding: clamp(30px, 5.1vw, 64px); }
.gg-eyebrow { margin: 0 0 16px; font: 500 12px var(--mono); letter-spacing: .11em; text-transform: uppercase; color: #ffd8c8; }
.gg-hero h1 { max-width: 14ch; font-size: clamp(46px, 5vw, 70px); line-height: .98; letter-spacing: -.055em; text-transform: none; }
.gg-summary { max-width: 34ch; margin: 20px 0 0; color: #e0e0ea; }
.gg-actions { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; margin-top: 26px; }
.gg-actions a { font-weight: 800; font-size: 14px; text-underline-offset: 5px; }
.gg-actions a:focus-visible { outline-color: #fff7f2; }
.gg-actions .gg-button { padding: 10px 16px; border-radius: 8px; color: #1a1a2e; background: #ffd8c8; text-decoration: none; }
.gg-actions .gg-button:hover { background: #fff7f2; }
.gg-feature {
  display: grid; align-content: end; isolation: isolate; position: relative;
  min-height: 420px; margin: 12px; padding: 14px; border-radius: 14px; overflow: hidden;
  color: #1a1a2e; text-decoration: none; background: #ffe7da;
}
.gg-feature img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.gg-feature > span { justify-self: start; padding: 11px 16px; border-radius: 9px; background: #fff7f2; }
.gg-feature small, .gg-card small { display: block; font: 500 11px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: #4d4d63; }
.gg-feature strong, .gg-card strong { display: block; font: 800 18px/1.25 var(--display); }
.gg-feature:hover strong, .gg-card:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.gg-feature:focus-visible { outline-color: #fff7f2; }
main > .gg-section { padding: 38px 0; border-bottom: 1px solid #f0e2d9; }
.gg-section h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.1; text-transform: none; letter-spacing: -.025em; }
.gg-picks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.gg-card { display: grid; grid-template-columns: minmax(90px, 32%) 1fr; align-items: center; min-height: 112px; border: 1px solid #f0e2d9; border-radius: 13px; overflow: hidden; background: #fff7f2; text-decoration: none; }
.gg-card img { width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: contain; padding: 8px; background: #fff; }
.gg-card > span { padding: 14px; }
.gg-card small { margin-bottom: 4px; }
.gg-directory { display: grid; grid-template-columns: repeat(auto-fit, minmax(152px, 1fr)); gap: 8px; }
.gg-directory a { display: flex; align-items: center; min-height: 48px; padding: 9px 13px; border: 1px solid #f0e2d9; border-radius: 8px; color: #1a1a2e; font-weight: 800; text-decoration: none; }
.gg-directory a:hover { background: #ffeee5; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) {
  .gg-card { grid-template-columns: 1fr; }
  .gg-card img { height: 135px; }
}
@media (max-width: 680px) {
  main > .gg-hero { grid-template-columns: 1fr; margin-top: 20px; }
  .gg-intro { padding: 28px 22px 18px; }
  .gg-hero h1 { font-size: clamp(42px, 10.5vw, 62px); }
  .gg-summary { margin-top: 14px; }
  .gg-actions { margin-top: 18px; }
  .gg-feature { min-height: 245px; margin: 10px; }
  .gg-picks { grid-template-columns: 1fr; }
  .gg-card { grid-template-columns: 96px 1fr; min-height: 96px; }
  .gg-card img { height: 96px; }
  .gg-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Gift quiz */
main > section.gf { text-align: center; padding: 48px 0 24px; }
.gf h1 { font-size: clamp(32px, 4.6vw, 52px); letter-spacing: -.045em; margin: 0 0 10px; color: var(--green); }
.gf .sub { max-width: 42ch; margin: 0 auto 18px; }
.steps { width: 160px; height: 4px; background: var(--line); border-radius: 4px; margin: 0 auto; overflow: hidden; }
.steps i { display: block; height: 100%; width: 33%; background: var(--green); transition: width .25s; }
.gf .tiny { margin: 8px 0 18px; }
.gf-card { max-width: 640px; margin: 0 auto; border-radius: 22px; padding: 28px; background: var(--sage); }
.gf-card h2 { font-size: 24px; margin-bottom: 18px; color: var(--green); }
.opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.opt { display: grid; gap: 6px; place-items: center; padding: 20px 10px; border: 1px solid var(--line); border-radius: 14px; background: #fff; font-weight: 800; font-size: 14px; color: var(--ink); transition: border-color .15s; }
.opt:hover { border-color: var(--green); color: var(--green); }
.opt span { font-size: 24px; }
.gf-card .search { margin: 22px auto 0; max-width: none; background: #fff; }
@media (prefers-reduced-motion: reduce) { .steps i { transition: none; } }
@media (max-width: 720px) {
  .opts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gf-card { padding: 20px 16px; }
  .finder-band { flex-direction: column; align-items: start; }
  .coll-head .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: calc(-1 * clamp(24px, 4vw, 44px)); padding-right: 24px; }
  .coll-head .tabs::-webkit-scrollbar { display: none; }
  .coll-head .tab { flex: none; white-space: nowrap; }
  .foot-grid { gap: 22px; }
}

/* Card tools: "why we picked it" (i) and save (heart), top right of every product card */
.card-tools { position: absolute; top: 8px; right: 8px; z-index: 4; display: flex; gap: 6px; }
.why-btn, .save-btn { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid var(--line); border-radius: 50%;
  background: rgba(255, 255, 255, .94); color: var(--green); line-height: 1; transition: background .15s, border-color .15s; }
.why-btn { font: italic 700 17px/1 Georgia, "Times New Roman", serif; }
.save-btn { font-size: 21px; }
.why-btn:hover, .save-btn:hover, .why-btn[aria-expanded="true"], .save-btn[aria-pressed="true"] { border-color: var(--green); background: var(--sage); }
.why-tip { position: absolute; top: 54px; left: 8px; right: 8px; z-index: 5; display: grid; gap: 6px; max-height: calc(100% - 62px); overflow: auto;
  padding: 13px 14px; border-radius: 12px; background: var(--green); color: var(--on-green); font-size: 13.5px; line-height: 1.45;
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .18s, transform .18s, visibility .18s;
  --fill: var(--lime); --track: rgba(255, 255, 255, .18); --sc-ink: var(--lime); --sc-soft: #d2d2de; }
.why-tip b { font: 800 14px/1.2 var(--display); color: var(--lime); }
.why-tip small { color: #d2d2de; font-size: 12px; }
.card:has(.why-btn:hover) .why-tip, .card:has(.why-btn:focus-visible) .why-tip, .card.why-open .why-tip, .card .why-tip:hover,
.home-card:has(.why-btn:hover) .why-tip, .home-card:has(.why-btn:focus-visible) .why-tip, .home-card.why-open .why-tip, .home-card .why-tip:hover,
.hint-tip .why-tip { opacity: 1; visibility: visible; transform: none; }
.home-card .card-tools .home-save { position: static; width: 38px; height: 38px; font-size: 21px; }
.home-card .why-tip { top: 56px; }

/* Weekly first-visit nudge: the (i) pulses and opens, then the heart beats once (app.js adds .hint for ~5 s) */
@keyframes why-nudge { 0% { box-shadow: 0 0 0 0 rgba(26, 26, 46, .5); } 100% { box-shadow: 0 0 0 12px rgba(26, 26, 46, 0); } }
@keyframes save-beat { 0%, 100% { transform: scale(1); } 25% { transform: scale(1.28); } 50% { transform: scale(.94); } 75% { transform: scale(1.12); } }
.hint .why-btn { animation: why-nudge 1s ease-out 3; }
.hint .save-btn { animation: save-beat .8s ease 2.9s 2; }
@media (prefers-reduced-motion: reduce) { .hint .why-btn, .hint .save-btn { animation: none; } .why-tip { transition: none; } }

/* Product page: the reason in plain view */
/* Our score: big number + one bar per metric (tooltip, product page, hero). --v is an integer percent from build.py */
.score { display: flex; align-items: baseline; gap: 8px; }
.score-n { font: 700 13px var(--display); color: var(--sc-soft, #4d4d63); }
.score .score-n b { font: 800 32px/1 var(--display); letter-spacing: -.02em; color: var(--sc-ink, var(--green)); }
.score-t { font-size: 13px; font-weight: 700; color: var(--sc-soft, var(--green)); }
.metrics { display: grid; gap: 7px; margin: 2px 0 6px; }
.metric { display: grid; grid-template-columns: 1fr auto; gap: 3px 8px; font-size: 12.5px; line-height: 1.2; }
.metric em { font-style: normal; font-weight: 700; }
.metric i { grid-column: 1 / -1; height: 6px; border-radius: 3px;
  background: linear-gradient(var(--fill), var(--fill)) 0 0 / var(--v) 100% no-repeat, var(--track); }
.pd-why, .hero-score { --fill: var(--green); --track: rgba(26, 26, 46, .13); }
.pd-why .metrics { margin: 10px 0 14px; max-width: 420px; }
.hero-score { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; max-width: 460px; }
.hero-score .metrics { margin: 0; }
@media (max-width: 720px) {  /* small cards: compact score, reason clamped to 3 lines (full text on the product page) */
  .why-tip { padding: 10px 11px; gap: 5px; font-size: 12.5px; }
  .why-tip .score .score-n b { font-size: 24px; }
  .why-tip .metrics { gap: 4px; margin: 0 0 2px; }
  .why-tip .metric { font-size: 11.5px; }
  .why-tip .why-txt { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
  .why-tip small { font-size: 11px; line-height: 1.3; }
  /* tapped open: the card is too small, so the panel becomes a sheet at the bottom of the screen with the full reason */
  .card.why-open .why-tip, .home-card.why-open .why-tip { position: fixed; top: auto; left: 12px; right: 12px; bottom: 12px; z-index: 60;
    max-height: 75vh; padding: 16px 18px; gap: 7px; font-size: 14px; box-shadow: 0 12px 40px rgba(26, 26, 46, .3); }
  .card.why-open .why-txt, .home-card.why-open .why-txt { display: block; }
  .card.why-open .metric, .home-card.why-open .metric { font-size: 13px; }
  .card.why-open small, .home-card.why-open small { font-size: 12px; }
}
.pd-why { margin: 0 0 22px; padding: 16px 18px; border-radius: var(--r); background: var(--sage); color: var(--green); }
.pd-why b { font: 800 16px var(--display); }
.pd-why p { margin: 6px 0 0; color: #2e2e44; }
.pd-why small { display: block; margin-top: 8px; color: #4d4d63; font-size: 13px; }
.pd-buy { display: flex; align-items: center; gap: 12px; }
.pd-buy .save-btn { width: 50px; height: 50px; font-size: 24px; }

/* Home hero = one carousel (owner 25 Nov): campaign slide, then picks; slides share one grid cell so switching never shifts layout */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
main > .hc { margin-top: 28px; padding: 0; }
.hc-slides { display: grid; }
.hc-slide { grid-area: 1 / 1; min-width: 0; transition: opacity .35s ease .25s, visibility .35s .25s; }
.hc-slide[inert] { opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s; }  /* out first, then in: transparent slides never overlap */
.hc-nav { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 14px; }
.hc-arrow { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--green); font: 700 24px/1 var(--display); cursor: pointer; }
.hc-arrow:hover { background: #ffeee5; }
.hc-dots { display: flex; gap: 8px; }
.hc-dot { position: relative; width: 12px; height: 12px; padding: 0; overflow: hidden; border: 0; border-radius: 999px; background: #f0d3c4; cursor: pointer; transition: width .3s ease; }
.hc-dot[aria-current="true"] { width: 44px; background: #f0d3c4; }
.hc-dot i { position: absolute; inset: 0; width: 0; background: var(--green); }
.hc-dot[aria-current="true"] i { width: 100%; animation: hc-fill 7s linear; }
.hc:has(:focus-visible) .hc-dot i { animation-play-state: paused; }  /* keyboard focus only; hover and mouse clicks keep it running */
.hc-play { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); font: 700 11px/1 var(--body); letter-spacing: 1.5px; cursor: pointer; }
.hc-play:hover { background: var(--t-orange); }
.hc-stop .hc-dot i { animation: none; }
@keyframes hc-fill { from { width: 0; } }
@media (prefers-reduced-motion: reduce) { .hc-slide, .hc-dot { transition: none; } }
@media (max-width: 760px) {
  main > .hc { margin-top: 16px; }
}
@media (max-width: 680px) { .brand .mark { width: 28px; height: 28px; } }

/* "Top score" label: our score >= 90 (build.py TOP), bottom-left of the photo so it never meets the i/heart buttons */
.ph, .home-card-photo { position: relative; }
.top-score { position: absolute; left: 10px; bottom: 10px; padding: 4px 10px; border-radius: 999px;
  background: var(--green); color: #fff; font: 700 12px/1.3 var(--display); white-space: nowrap; }
.top-score b { color: var(--lime); }
@media (max-width: 720px) { .top-score { left: 7px; bottom: 7px; padding: 3px 8px; font-size: 11px; } }

/* price band (owner 24 Nov): only a range, never an exact Amazon price */
.price-band { display: block; margin: 6px 0 2px; font: 700 14px/1.3 var(--display); color: var(--green); }
.home-card-body .price-band { margin: 2px 0 10px; }
.card .price-band { margin: 8px 14px 0; }  /* same inset as .nm/.go */
@media (max-width: 720px) { .card .price-band { margin: 6px 10px 0; font-size: 13px; } }
.pd-band { margin: 4px 0 12px; font-size: 15px; }
.pd-band b { font: 800 18px var(--display); color: var(--green); }

/* Guide picks (owner 24 Nov): each product is a card with its Amazon photo, label as a pill */
.prose .pick { margin: 26px 0; padding: 22px 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--cream); overflow: hidden; }
.prose .pick h3 { margin: 4px 0 8px; font-size: 22px; }
/* the pick's "best for" line = full-width green ribbon on top of the card (owner: make it stand out) */
.prose .pick .label { display: block; grid-column: 1 / -1; margin: -22px -24px 20px; padding: 13px 24px; background: var(--green); color: var(--on-green); font: 800 18px/1.3 var(--display); letter-spacing: -.01em; }
.prose .pick .buy { margin-top: 4px; }
.prose .pick.has-img { display: grid; grid-template-columns: 200px minmax(0, 1fr); column-gap: 26px; align-items: start; }
.pick-img { display: block; padding: 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.pick-img img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; }
@media (max-width: 720px) {
  .prose .pick { padding: 16px; }
  .prose .pick .label { margin: -16px -16px 14px; padding: 11px 16px; font-size: 16px; }
  .prose .pick.has-img { grid-template-columns: 1fr; gap: 12px; }
  .pick-img { max-width: 240px; }
}
/* gift-list cards (owner: more exclusive, price up front like a deal card, without deal claims) */
.pick-kind { margin: 0 0 2px; font: 500 11px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: #4d4d63; }
.prose .pick-body h3 a { color: inherit; text-decoration: none; }
.prose .pick.lp { padding: 0; background: var(--paper); grid-template-columns: 260px minmax(0, 1fr); column-gap: 0; align-items: stretch; }
.prose .pick.lp .label { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0; padding: 14px 24px; }
.lp-n { flex: none; font: 500 12px var(--mono); font-style: normal; letter-spacing: .08em; color: var(--lime); }
.lp .pick-img { position: relative; display: flex; align-items: center; padding: 26px; border: 0; border-right: 1px solid var(--line); border-radius: 0; }
.lp .pick-img .top-score { left: 14px; bottom: 14px; font-size: 13px; }
.lp .pick-img .top-score b { font-size: 16px; }
.lp .pick-body { padding: 22px 26px 24px; background: var(--cream); }
.lp .pick-body h3 { margin: 2px 0 12px; font-size: 24px; line-height: 1.2; }
.lp-why { margin: 0 0 18px; padding: 12px 16px; border-left: 3px solid var(--green); border-radius: 0 12px 12px 0; background: var(--paper); }
.lp-why b { display: block; margin-bottom: 3px; font: 800 13px/1.4 var(--display); color: var(--green); }
.prose .lp-why p { margin: 0; font-size: 15.5px; line-height: 1.6; }
/* our own per-list notes (katalog.py perdalam): fit leads, watch-out and comparison follow the why */
.lp-note { margin: 0 0 14px; }
.lp-note b { display: block; margin-bottom: 3px; font: 800 13px/1.4 var(--display); color: var(--green); }
.prose .lp-note p { margin: 0; font-size: 15.5px; line-height: 1.6; }
.lp-note.pn-skip b { color: #c2410c; }
.lp-buy { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px 18px; padding-top: 16px; border-top: 1px dashed #e3cbbd; }
.lp .pick-actions { flex-direction: column; align-items: flex-start; gap: 8px; }
.lp .pick-actions > a:not(.buy) { font-size: 14px; }
.lp-price { display: grid; padding: 8px 16px 9px; border-radius: 12px; background: var(--lime); line-height: 1.15; }
.lp-price small { font: 500 10.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: #4d4d63; }
.lp-price b { font: 800 22px var(--display); letter-spacing: -.01em; color: var(--green); }
.pick-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin: 0; }
.pick-actions > a:not(.buy) { font-weight: 800; color: var(--green); }
@media (max-width: 720px) {
  .prose .pick.lp { grid-template-columns: 1fr; }
  .prose .pick.lp .label { padding: 12px 16px; }
  .lp .pick-img { justify-content: center; max-width: none; padding: 18px; border-right: 0; border-bottom: 1px solid var(--line); }
  .lp .pick-img img { max-width: 230px; }
  .lp .pick-body { padding: 16px 16px 18px; }
  .lp .pick-body h3 { font-size: 20px; }
  .lp-buy { grid-template-columns: 1fr; }
  .lp-price { justify-self: start; }
  .lp .pick-actions { align-items: stretch; }
  .lp .pick-actions .buy { text-align: center; }
}

/* Guide cards (home "From the guides" + /guides/): newest one featured, gift lists show 3 of their picks */
.gl { display: grid; grid-template-rows: auto 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); color: inherit; text-decoration: none; transition: border-color .15s; }
.gl:hover { border-color: var(--green); }
.gl:hover .gl-title { text-decoration: underline; text-underline-offset: 3px; }
.gl-ph { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper); border-bottom: 1px solid var(--line); }
.gl-ph img { width: 100%; height: 100%; object-fit: cover; }
.gl-ph.trio { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); gap: 1px; background: var(--line); }
.gl-ph.trio img { min-height: 0; height: 100%; object-fit: contain; padding: 12px; background: var(--paper); }
.gl-ph.trio img:first-child { grid-row: 1 / 3; padding: 18px; }
.gl-body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; background: var(--cream); }
.gl-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.gl-tag, .gl-n { padding: 2px 10px; border-radius: 999px; font: 700 12px/1.6 var(--display); }
.gl-tag { background: var(--green); color: var(--on-green); }
.gl-n { background: var(--lime); color: var(--green); }
.gl-title { font: 800 19px/1.25 var(--display); letter-spacing: -.015em; color: var(--ink); }
.gl-dek { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.gl-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 8px; font-size: 13px; color: var(--muted); }
.gl-go { font-weight: 800; color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.gl.feat { grid-template-columns: 1.15fr 1fr; grid-template-rows: none; margin-bottom: 16px; }
.gl.feat .gl-ph { aspect-ratio: auto; height: 400px; border-bottom: 0; border-right: 1px solid var(--line); }
.gl.feat .gl-body { justify-content: center; gap: 12px; padding: 32px 34px; }
.gl.feat .gl-title { font-size: clamp(26px, 3vw, 34px); line-height: 1.12; }
.gl.feat .gl-dek { -webkit-line-clamp: 3; font-size: 16.5px; }
.gl.feat .gl-meta { margin-top: 6px; justify-content: flex-start; gap: 18px; font-size: 14px; }
.gl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 880px) { .gl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .gl.feat { grid-template-columns: 1fr; }
  .gl.feat .gl-ph { height: auto; aspect-ratio: 16 / 10; border-right: 0; border-bottom: 1px solid var(--line); }
  .gl.feat .gl-body { padding: 18px; }
  .gl-grid { grid-template-columns: 1fr; gap: 12px; }
}

/* Product cards (owner 24 Nov: cards blended together, hard to see what can be bought): white body, more air,
   tags that invite a click, price pill + Shop on Amazon button at the foot */
.card { background: var(--paper); }
.grid { gap: 22px 18px; }
.card-tags { display: flex; flex-wrap: wrap; gap: 5px; margin: 12px 14px 0; }
.card-tags + .kind { margin-top: 8px; }
.tag { padding: 2px 9px; border-radius: 999px; font: 700 11.5px/1.6 var(--display); white-space: nowrap; }
.tag-trend { background: var(--green); color: var(--on-green); }
.tag-gift { background: #ffe3d6; color: #9a3412; }
.tag-daily { background: var(--sage); color: var(--green); }
.tag-who { background: var(--paper); color: var(--green); box-shadow: inset 0 0 0 1px #e3cbbd; }
.card-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin: 12px 14px 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.card .card-foot .price-band { margin: 0; padding: 3px 10px; border-radius: 999px; background: var(--lime); font-size: 13px; }
.card-buy { padding: 8px 12px; border-radius: 10px; background: var(--green); color: var(--on-green); font: 700 13px/1.2 var(--display); text-decoration: none; white-space: nowrap; }
.card-buy:hover { background: var(--green-2); }
.home-card-body .card-tags { margin: 0 0 8px; }
@media (max-width: 720px) {
  .grid { gap: 14px 10px; }
  .card-tags { margin: 10px 10px 0; }
  .card-foot { margin: 10px 10px 12px; padding-top: 10px; }
  .card-buy { flex: 1 1 100%; text-align: center; padding: 9px 8px; }
}

/* Header search dropdown (app.js): suggestions on focus, live finds while typing */
.sd { position: absolute; z-index: 40; max-height: min(72vh, 560px); overflow: auto; padding: 8px 16px 14px; background: var(--paper);
  border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 44px rgba(26, 26, 46, .16); }
.sd-h { margin: 12px 0 7px; font: 800 13px/1.3 var(--display); color: var(--green); }
.sd-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sd-chip { padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--cream); color: var(--ink); font-size: 13.5px; text-decoration: none; }
.sd-chip:hover, .sd-chip.on { border-color: var(--green); background: var(--sage); }
.sd-rows { display: grid; gap: 2px; }
.sd-row { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 6px 8px; margin: 0 -8px; border-radius: 10px; color: var(--ink); text-decoration: none; }
.sd-row img, .sd-row > span:first-child { width: 46px; height: 46px; object-fit: contain; padding: 3px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.sd-t { display: grid; min-width: 0; }
.sd-t b { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font: 800 14px/1.3 var(--display); }
.sd-t small { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 12.5px; color: var(--muted); }
.sd-row em { padding: 2px 9px; border-radius: 999px; background: var(--lime); color: var(--green); font: 700 12px/1.6 var(--display); font-style: normal; white-space: nowrap; }
.sd-row:hover, .sd-row.on { background: var(--sage); }
.sd-all { display: block; margin: 12px -16px -14px; padding: 12px 16px; border-top: 1px solid var(--line); color: var(--green); font-weight: 800; font-size: 14px; text-decoration: none; }
.sd-all:hover, .sd-all.on { background: var(--sage); }
.sd-none { margin: 12px 0 4px; color: var(--muted); font-size: 14px; }
@media (max-width: 720px) { .sd { padding: 6px 12px 12px; } .sd-row em { display: none; } .sd-all { margin: 10px -12px -12px; } }

/* Short answer box above guides and gift lists (AEO: answer first). Owner of this block: SEO session t86. */
.answer { background: var(--sage); border-radius: var(--r); padding: 18px 22px; margin: 0 0 24px; }
.answer-k { font: 800 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--green-2); margin: 0 0 10px; }
.answer p { margin: 0 0 8px; font-size: 17px; }
.answer ol { margin: 0; padding-left: 20px; font-size: 15px; }
.answer li { margin: 4px 0; }
.answer li b { color: var(--green); }

/* "New today" pill on guide cards */
.gl-new { padding: 2px 10px; border-radius: 999px; background: #ff6b35; color: #1a1a2e; font: 700 12px/1.6 var(--display); }
/* Wordmark "stuffworthy" (logo 07, 27 Nov): Plus Jakarta Sans 800, "worthy" in orange; cream ring under the seal on dark */
.brand i { color: #ff6b35; font-style: normal; }
.mark .ring { display: none; }
.foot .mark .ring { display: inline; }
@media (min-width: 761px) { .brand { font-size: 25px; } .brand .mark { width: 36px; height: 36px; } }

/* Side rails: only when the screen is wide enough to leave empty margins (owner 25 Nov) */
.rail { display: none; }
@media (min-width: 1760px) {
  .frame { display: grid; grid-template-columns: 1fr minmax(0, var(--wrap)) 1fr; column-gap: 24px; }
  .frame > main { grid-column: 2; grid-row: 1; width: 100%; }
  .rail { display: block; grid-row: 1; align-self: start; position: sticky; top: calc(var(--head-h, 160px) + 16px); width: 250px; max-height: calc(100vh - var(--head-h, 160px) - 32px); overflow-y: auto;
    margin-top: 28px; padding: 18px; border: 1px solid #ebe1d8; border-radius: 18px; background: #fff; font-size: 14px; scrollbar-width: thin; }
  .rail-l { grid-column: 1; justify-self: end; }
  .rail-r { grid-column: 3; justify-self: start; }
}
@media (min-width: 2100px) { :root { --wrap: 1320px; } .rail { width: 280px; } }
.rail h4 { margin: 18px 0 8px; font: 900 12px/1.2 var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--green); }
.rail h4:first-child { margin-top: 0; }
.rail ul { margin: 0; padding: 0; list-style: none; }
.rail-cats a { display: flex; align-items: center; gap: 8px; padding: 5px 8px; border-radius: 8px; color: var(--ink); text-decoration: none; }
.rail-cats a:hover { background: var(--t-orange); color: var(--ink); }
.rail-cats span { width: 20px; text-align: center; }
.rail-cats small { margin-left: auto; color: var(--muted); font: 500 11px/1 var(--mono); }
.rail-camp { margin-bottom: 4px; padding: 14px; border-radius: 14px; background: var(--t-pink); color: var(--ink); }
.rail-camp small { display: inline-block; padding: 2px 9px; border-radius: 999px; background: var(--ink); color: #fff; font: 700 11px/1.6 var(--display); }
.rail-camp p { margin: 8px 0 6px; font-weight: 700; }
.rail-camp b { font: 900 34px/1 var(--display); letter-spacing: -.04em; color: var(--ink); }
.rail-camp a { color: var(--ink); font-weight: 700; text-underline-offset: 3px; }
.rail-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.rail-chips a { padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; font-size: 13px; text-decoration: none; }
.rail-chips a:hover { border-color: var(--ink); color: var(--ink); }
.rail-quiz { display: block; margin-top: 18px; padding: 14px; border-radius: 14px; background: var(--t-yellow); color: var(--ink); text-decoration: none; }
.rail-quiz b { display: block; font: 900 16px/1.2 var(--display); }
.rail-quiz span { font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.rail-quiz:hover { background: var(--t-mark); }
.rail-list { display: flex; align-items: center; gap: 8px; margin-top: 12px; color: var(--green); font-weight: 800; text-decoration: none; }
.rail-list b { min-width: 22px; padding: 0 7px; border-radius: 99px; background: var(--green); color: var(--on-green); text-align: center; font-size: 12px; line-height: 22px; }
/* per-page rail parts (owner 25 Nov): photo lists, latest lists, current page marked */
.rail-mini li + li { margin-top: 4px; }
.rail-mini a { display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: 10px; color: var(--ink); text-decoration: none; }
.rail-mini a:hover { background: var(--t-orange); }
.rail-mini img { flex: none; width: 48px; height: 48px; padding: 3px; border: 1px solid var(--line); border-radius: 8px; background: #fff; object-fit: contain; }
.rail-mini span { display: grid; gap: 2px; min-width: 0; font-size: 13px; font-weight: 700; line-height: 1.25; }
.rail-mini small { color: var(--muted); font: 500 11.5px/1.3 var(--body); }
.rail-mini small b { color: var(--green); font-weight: 800; }
.rail-posts a { display: block; padding: 6px 8px; border-radius: 8px; color: var(--ink); font-size: 13.5px; font-weight: 700; line-height: 1.3; text-decoration: none; }
.rail-posts a:hover { background: var(--t-orange); color: var(--ink); }
.rail-posts small { display: block; color: #c2410c; font: 600 11px/1.4 var(--mono); text-transform: uppercase; }
.rail-more { display: inline-block; margin: 6px 8px 0; color: var(--green); font-size: 13px; font-weight: 800; text-underline-offset: 3px; }
.rail-cats a[aria-current], .rail-posts a[aria-current] { background: var(--t-orange); color: var(--ink); font-weight: 800; }
.rail-cats a[aria-current] small, .rail-posts a[aria-current] small { color: var(--ink); }
.rail-chips a[aria-current] { border-color: transparent; background: var(--t-orange); color: var(--ink); }

/* Sponsor cards (owner 25 Nov, layout idea from trustmrr): in the rails on wide screens, in a row above the footer elsewhere */
.spon { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-bottom: 14px; padding: 18px 14px 12px; border: 1px solid rgba(0,0,0,.06); border-radius: 14px;
  background: var(--spon, var(--sage)); color: var(--ink); text-align: center; text-decoration: none; transition: transform .15s; }
.spon:hover { transform: translateY(-2px); }
.spon img, .spon-ini { width: 34px; height: 34px; border-radius: 9px; object-fit: contain; }
.spon-ini { display: grid; place-items: center; background: #fff; font: 900 18px/1 var(--display); color: var(--green); }
.spon b { font: 900 15px/1.2 var(--display); }
.spon span { font-size: 12.5px; line-height: 1.35; color: var(--muted); }
.spon small { margin-top: 4px; font: 500 10px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.spon-open { margin: 18px 0 0; border: 1.5px dashed var(--line); background: transparent; }
.spon-open b::before { content: "📣 "; }
.spon-row { margin: 40px auto 0; max-width: var(--wrap); padding: 0 20px; }
.spon-h { margin: 0 0 10px; font: 900 12px/1.2 var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.spon-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.spon-list .spon { margin: 0; }
@media (max-width: 760px) { .spon-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1760px) { .spon-row { display: none; } }

/* Landing page (owner 27 Nov, mockup; page background stays our own white): pastel blobs, Plus Jakarta headline with a highlighted word,
   handwritten note, icon chips, bento cards, compact pick cards. Home only (body:has(.hx-chips)). */
body:has(.hx-chips) .chips-bar { display: none; }
body:has(.hx-chips) { --display: "Plus Jakarta Sans", var(--body); }  /* home headings in the mockup's face */
/* palette 02 "logo colours, soft" (owner 27 Nov): tints of the box orange, the circle green, the triangle yellow,
   the square pink and the seal navy */
:root { --ease-out: cubic-bezier(0.23, 1, 0.32, 1); }
:root { --t-orange: #ffdccb; --t-green: #d5efe5; --t-yellow: #ffe9a8; --t-pink: #fdd9e1; --t-blue: #dbe8f4; --t-mark: #ffbe0b; }
.tone-orange { --tone: var(--t-orange); }
.tone-green { --tone: var(--t-green); }
.tone-yellow { --tone: var(--t-yellow); }
.tone-pink { --tone: var(--t-pink); }
.tone-blue { --tone: var(--t-blue); }
.hc-slide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: clamp(20px, 4vw, 56px); }
.hx-text { display: grid; justify-items: start; gap: 16px; padding: 8px 0; }
.hx-eyebrow { display: flex; align-items: center; gap: 14px; margin: 0; font: 700 13px/1.3 "Plus Jakarta Sans", var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.hx-eyebrow::after { content: ""; width: clamp(40px, 8vw, 110px); height: 1px; background: currentColor; }
.hx-title { margin: 0; font: 800 clamp(38px, 5vw, 70px)/1.03 "Plus Jakarta Sans", var(--body); letter-spacing: -.045em; color: var(--ink); }
.hc-pick .hx-title { font-size: clamp(32px, 3.8vw, 52px); }
.hx-title a { text-decoration: none; }
.hx-title a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.hx-nowrap { white-space: nowrap; }
.hx-mark { position: relative; isolation: isolate; display: inline-block; margin-top: 6px; padding: 0 .2em .05em; border-radius: 12px; transform: rotate(-3deg); }
.hx-mark::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--t-mark); }  /* own layer so it can sweep in */
.hx-burst { display: inline-block; width: .4em; height: .6em; margin-left: .14em; vertical-align: .12em; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; }
.hx-sub { max-width: 46ch; margin: 0; color: #3d3d52; font-size: 17px; line-height: 1.55; }
.hx-sub b { color: var(--ink); }
.hx-fine { max-width: 52ch; margin: -6px 0 0; color: #53536a; font-size: 13px; line-height: 1.45; }
.hx-fine b { color: var(--ink); font-size: 15px; }
.hx-today { display: block; max-width: 46ch; padding: 12px 16px; border-radius: 14px; border: 1px solid #f0e2d9; background: #fff; color: var(--ink); text-decoration: none; }
.hx-today small { display: block; font: 700 11.5px/1.4 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: #c2410c; }
.hx-today strong { display: block; margin-top: 2px; font: 800 17px/1.3 "Plus Jakarta Sans", var(--body); letter-spacing: -.01em; }
.hx-today:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.hx-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 6px; }
.hx-btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px; background: var(--ink); color: #fff; font: 700 16px/1 "Plus Jakarta Sans", var(--body); text-decoration: none; }
.hx-btn:hover { background: #34344f; }
.hx-btn.small { justify-self: start; padding: 11px 18px; font-size: 14px; }
.hx-go { display: inline-block; transition: transform .2s ease; }
a:hover .hx-go { transform: translateX(3px); }
.hx-link { color: var(--ink); font-weight: 700; text-underline-offset: 4px; }
.hx-save { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #e9ddd3; border-radius: 50%; background: #fff; color: var(--ink); font-size: 20px; line-height: 1; }
.hx-save:hover, .hx-save[aria-pressed="true"] { background: var(--t-pink); }
/* slide art: pastel blob + arched lifestyle photo and/or white product tiles + handwritten note */
.hx-art { position: relative; align-self: stretch; min-height: 440px; }
.hx-blob { position: absolute; inset: 3% 1% 0 5%; border-radius: 58% 42% 48% 52% / 55% 48% 52% 45%; background: var(--tone); }
.hx-arch { position: absolute; right: 9%; bottom: 0; width: 48%; height: 86%; overflow: hidden; border-radius: 999px 999px 24px 24px; box-shadow: 0 18px 40px rgba(26, 26, 46, .13); }
.hx-arch img { width: 100%; height: 100%; object-fit: cover; }
.hx-tiles { position: absolute; left: 9%; bottom: 7%; display: flex; align-items: flex-end; gap: 14px; }
.hx-tiles img { width: clamp(96px, 10vw, 148px); aspect-ratio: 1; padding: 12px; border-radius: 18px; background: #fff; object-fit: contain; box-shadow: 0 12px 30px rgba(26, 26, 46, .13); }
.hx-tiles img:nth-child(1) { transform: rotate(-4deg); }
.hx-tiles img:nth-child(2) { transform: rotate(3deg) translateY(-26px); }
.hx-tiles img:nth-child(3) { transform: rotate(-2deg) translateY(6px); }
.camp .hx-tiles { left: 4%; right: 2%; top: 54%; bottom: auto; justify-content: center; transform: translateY(-50%); }
.camp .hx-tiles img { width: clamp(100px, 10.5vw, 156px); }
.hx-note { position: absolute; top: 3%; left: 22%; display: flex; align-items: flex-start; gap: 2px; font: 700 clamp(24px, 2.3vw, 32px)/1 "Caveat", cursive; color: var(--ink); transform: rotate(-8deg); }
.camp .hx-note { left: 10%; top: 7%; }
.hx-doodle-arrow { width: 56px; height: 38px; margin-top: 14px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transform: rotate(14deg); }
.hx-sticker { position: absolute; left: 16%; bottom: 14%; display: grid; place-content: center; width: 104px; height: 104px; border-radius: 50%; background: #fff;
  box-shadow: 0 10px 26px rgba(26, 26, 46, .14); color: #53536a; font: 700 13px/1.1 "Plus Jakarta Sans", var(--body); text-align: center; transform: rotate(-8deg); }
.hx-sticker b { display: block; color: var(--ink); font-size: 34px; letter-spacing: -.03em; }
.hc-nav { justify-content: flex-end; margin-top: 10px; }
.hc-dot { background: #e6dbd2; }
/* category chips with line icons */
.hx-chips { display: flex; gap: 10px; margin-top: 30px; padding: 2px 2px 6px; overflow-x: auto; scrollbar-width: none; }
.hx-chip { display: inline-flex; flex: none; align-items: center; gap: 9px; padding: 12px 20px; border: 1px solid #ebe1d8; border-radius: 999px; background: #fff; color: var(--ink); font: 600 15px/1 var(--body); text-decoration: none; }
.hx-chip svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hx-chip:hover { border-color: var(--ink); }
.hx-chip.on { border-color: transparent; background: var(--t-orange); }
/* bento: featured guide + picks on the left, four pastel cards on the right */
main > .hx-bento { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); grid-template-areas: "feat . ." "week . ."; gap: 18px; padding: 26px 0 8px; }
.hx-feat { grid-area: feat; position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); min-height: 250px; overflow: hidden; border-radius: 22px;
  background: linear-gradient(110deg, var(--t-yellow), var(--t-orange)); color: var(--ink); text-decoration: none; }
.hx-feat-text { position: relative; z-index: 1; display: grid; align-content: center; justify-items: start; gap: 10px; padding: 28px; }
.hx-feat img { width: 100%; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(to right, transparent, #000 40%); mask-image: linear-gradient(to right, transparent, #000 40%); }
.hx-kicker { display: block; font: 700 12.5px/1.3 "Plus Jakarta Sans", var(--body); letter-spacing: .12em; text-transform: uppercase; }
.hx-feat-title { display: -webkit-box; overflow: hidden; font: 800 clamp(24px, 2.2vw, 31px)/1.08 "Plus Jakarta Sans", var(--body); letter-spacing: -.035em; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.hx-feat-dek { display: -webkit-box; max-width: 36ch; overflow: hidden; color: #3d3d52; font-size: 15px; line-height: 1.45; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.hx-feat:hover .hx-feat-title, .hx-card:hover .hx-card-title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.hx-card { position: relative; display: block; min-height: 220px; overflow: hidden; padding: 24px; border-radius: 22px; background: var(--tone); color: var(--ink); text-decoration: none; }
.hx-card-title { display: -webkit-box; width: 62%; margin-top: 8px; overflow: hidden; font: 800 clamp(21px, 1.9vw, 27px)/1.1 "Plus Jakarta Sans", var(--body); letter-spacing: -.03em;
  -webkit-line-clamp: 4; -webkit-box-orient: vertical; }
.hx-card-ph { position: absolute; right: 18px; bottom: 18px; width: 42%; max-width: 160px; }
.hx-card-ph img { width: 100%; aspect-ratio: 1; padding: 10px; border-radius: 18px; background: #fff; object-fit: contain; box-shadow: 0 10px 24px rgba(26, 26, 46, .12); transform: rotate(4deg); }
.hx-round { position: absolute; left: 24px; bottom: 22px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #fff; font-size: 18px; }
.hx-card .hx-burst { position: absolute; top: 22px; right: 26px; width: 16px; height: 24px; margin: 0; transform: rotate(-20deg); }
.hx-week { grid-area: week; display: grid; align-content: start; gap: 14px; }
.hx-week-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 4px 16px; }
.hx-week-head h2 { font: 800 26px/1.1 "Plus Jakarta Sans", var(--body); letter-spacing: -.03em; }
.hx-week-head p { margin: 2px 0 0; color: #3d3d52; font-size: 14.5px; }
.hx-week-head .home-all { font-size: 14px; font-weight: 700; }
.hx-picks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
#finds .hx-picks { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hx-pick { position: relative; display: grid; grid-template-columns: 76px minmax(0, 1fr); align-items: start; gap: 12px; min-width: 0; padding: 10px; border: 1px solid #ece2d9; border-radius: 16px; background: #fff; }
.hx-pick-ph { display: block; overflow: hidden; border-radius: 12px; }
.hx-pick-ph img, .hx-pick-ph .tile { width: 76px; height: 76px; padding: 6px; border-radius: 12px; background: #fff; object-fit: contain; }
.hx-week .hx-pick { grid-template-columns: 1fr; gap: 8px; }
.hx-week .hx-pick-ph img, .hx-week .hx-pick-ph .tile { width: 100%; height: 96px; }
.hx-pick h3 { margin: 2px 30px 4px 0; font: 700 14px/1.25 "Plus Jakarta Sans", var(--body); letter-spacing: -.01em; }
.hx-pick h3 a { text-decoration: none; }
.hx-pick h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.hx-pick-body p { display: -webkit-box; margin: 0; overflow: hidden; color: #53536a; font-size: 12.5px; line-height: 1.4; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.hx-pick-body .hx-pick-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 6px; overflow: visible; color: #53536a; font-size: 12px; }
.hx-score b { color: var(--ink); font-weight: 800; }
.hx-pick .price-band { margin: 0; padding: 1px 8px; border-radius: 999px; background: #fbf1ea; font-size: 12px; }
.hx-pick .hx-save { position: absolute; top: 6px; right: 6px; width: 32px; height: 32px; border: 0; font-size: 16px; }
main > .home-gifts { color: var(--ink); background: var(--t-green); }
.home-gifts p { color: #3d3d52; }
.home-gifts .home-button { color: #fff; background: var(--ink); }
.home-gifts .home-button:hover { background: #34344f; }
.home-gifts a:focus-visible { outline-color: var(--ink); }
@media (max-width: 1100px) {
  main > .hx-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "feat feat" "week week"; }
  .hx-picks, #finds .hx-picks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .hc-slide { grid-template-columns: 1fr; gap: 6px; }
  .hx-art { order: -1; min-height: 280px; }
  .hx-note { left: 8%; }
  .hx-tiles img { width: 92px; }
  .camp .hx-tiles img { width: 100px; }
  .hx-sticker { width: 84px; height: 84px; }
  .hx-sticker b { font-size: 27px; }
  .hx-feat { grid-template-columns: 1fr; }
  .hx-feat img { position: absolute; inset: 0; opacity: .35; -webkit-mask-image: none; mask-image: none; }
}
@media (max-width: 560px) {
  main > .hx-bento { grid-template-columns: 1fr; grid-template-areas: "feat" "week"; }
  .hx-picks, #finds .hx-picks { grid-template-columns: 1fr; }
  .hx-week .hx-pick { grid-template-columns: 76px minmax(0, 1fr); gap: 12px; }
  .hx-week .hx-pick-ph img, .hx-week .hx-pick-ph .tile { width: 76px; height: 76px; }
  .hx-card { min-height: 200px; padding: 18px; }
  .hx-card-title { width: 56%; font-size: 21px; }
  .hx-card-ph { width: 30%; max-width: 112px; right: 14px; bottom: 14px; }
  .hx-round { left: 18px; bottom: 16px; width: 36px; height: 36px; }
}

/* Motion (owner 27 Nov: "lack of dynamic animation and interaction"). transform/opacity only (individual translate/scale
   properties so they stack on the existing rotations), strong ease-out, hover gated to real pointers, all of it off for
   reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  /* hero: the shown slide's text rises in line by line, its art settles, the highlighter sweeps, the doodle arrow draws.
     Hidden slides snap back to the start state only after they have faded out (.25s). */
  .hx-text > *, .hx-arch, .hx-tiles img, .hx-note { transition: opacity .5s var(--ease-out), translate .6s var(--ease-out); }
  .hx-blob, .hx-sticker { transition: opacity .6s var(--ease-out), scale .7s var(--ease-out); }
  .hx-text > :nth-child(1) { transition-delay: .3s; }
  .hx-text > :nth-child(2) { transition-delay: .36s; }
  .hx-text > :nth-child(3) { transition-delay: .42s; }
  .hx-text > :nth-child(4) { transition-delay: .48s; }
  .hx-text > :nth-child(5) { transition-delay: .54s; }
  .hx-blob { transition-delay: .25s; }
  .hx-arch { transition-delay: .34s; }
  .hx-tiles img:nth-child(1) { transition-delay: .42s; }
  .hx-tiles img:nth-child(2) { transition-delay: .49s; }
  .hx-tiles img:nth-child(3) { transition-delay: .56s; }
  .hx-sticker { transition-delay: .55s; }
  .hx-note { transition-delay: .62s; }
  .hx-mark::before { transition: clip-path .5s var(--ease-out) .7s; }
  .hx-doodle-arrow path { stroke-dasharray: 90; stroke-dashoffset: 0; transition: stroke-dashoffset .7s var(--ease-out) .8s; }
  .hc-slide[inert] :is(.hx-text > *, .hx-arch, .hx-tiles img, .hx-note) { opacity: 0; translate: 0 18px; transition: opacity 0s .25s, translate 0s .25s; }
  .hc-slide[inert] :is(.hx-blob, .hx-sticker) { opacity: 0; scale: .92; transition: opacity 0s .25s, scale 0s .25s; }
  .hc-slide[inert] .hx-mark::before { clip-path: inset(0 100% 0 0); transition: clip-path 0s .25s; }
  .hc-slide[inert] .hx-doodle-arrow path { stroke-dashoffset: 90; transition: stroke-dashoffset 0s .25s; }
  @starting-style {  /* the first slide plays the same entrance on page load */
    .hc-slide:not([inert]) :is(.hx-text > *, .hx-arch, .hx-tiles img, .hx-note) { opacity: 0; translate: 0 18px; }
    .hc-slide:not([inert]) :is(.hx-blob, .hx-sticker) { opacity: 0; scale: .92; }
    .hc-slide:not([inert]) .hx-mark::before { clip-path: inset(0 100% 0 0); }
    .hc-slide:not([inert]) .hx-doodle-arrow path { stroke-dashoffset: 90; }
  }
  /* press feedback on everything clickable that looks like a button */
  .hx-btn, .home-button, .btn, .card-buy, .hc-arrow, .hc-play, .save-btn, .why-btn, .hx-save, .hx-chip, .hx-round {
    transition: background-color .15s ease, color .15s ease, border-color .15s ease, scale .16s var(--ease-out), translate .25s var(--ease-out); }
  :is(.hx-btn, .home-button, .btn, .card-buy, .hc-arrow, .hc-play, .save-btn, .why-btn, .hx-save, .hx-chip):active { scale: .96; }
  /* home sections rise in once as they scroll into view (app.js adds .rv/.in, then removes both) */
  .rv { opacity: 0; translate: 0 22px; transition: opacity .6s var(--ease-out) var(--d, 0ms), translate .7s var(--ease-out) var(--d, 0ms); }
  .rv.in { opacity: 1; translate: none; }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  /* cards lift a little and their photo leans in */
  .hx-card, .hx-feat, .hx-pick, .card, .gl { transition: translate .25s var(--ease-out), border-color .15s ease; }
  .hx-card:hover, .hx-feat:hover { translate: 0 -4px; }
  .hx-pick:hover, .card:hover, .gl:hover { translate: 0 -3px; }
  .hx-card-ph img { transition: transform .35s var(--ease-out); }
  .hx-card:hover .hx-card-ph img { transform: rotate(-2deg) scale(1.05); }
  .hx-card:hover .hx-round { background: var(--ink); color: #fff; translate: 4px 0; }
  .hx-feat img, .hx-pick-ph img, .ph img, .gl-ph img { transition: scale .45s var(--ease-out); }
  .hx-feat:hover img { scale: 1.04; }
  .hx-pick:hover .hx-pick-ph img, .card:hover .ph img, .gl:hover .gl-ph img { scale: 1.06; }
  .hx-pick:hover { border-color: #d9c9bd; }
  .hx-chip:hover { translate: 0 -2px; }
}

/* 404 page (Cloudflare Pages serves public/404.html for unknown URLs) */
main > .nf { display: grid; justify-items: start; gap: 18px; max-width: 760px; padding: 64px 0 48px; }
.nf .search.big { width: 100%; max-width: 560px; }
