/* BetterPop marketing site
   One family (Bricolage Grotesque variable), warm paper, one committed red.
   Signature detail: a thin holo foil gradient, used at the page top edge and
   on the PSA 10 sliver in the grade bar. Nowhere else. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../assets/fonts/bricolage-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f7f4ee;
  --paper-deep: #efe9de;
  --card-bg: #fffdf8;
  --ink: #221c14;
  --ink-soft: #665c4d;
  --line: #ddd4c4;
  --red: #b02a1e;
  --red-hover: #8f1d13;
  --red-drench: #a92418;
  --cream: #f9f3e6;
  --holo: linear-gradient(100deg, #7fd4bc, #98b4ef, #d59fe6, #eec288, #7fd4bc);
  --ring: 0 0 0 3px var(--paper), 0 0 0 6px var(--red);
}

/* ---- Mobile overflow guard (canonical, do not remove) ---- */
* { box-sizing: border-box; }
*, *::before, *::after { min-width: 0; }
html, body { overflow-x: clip; max-width: 100%; }
html { scroll-behavior: smooth; }
body { margin: 0; width: 100%; position: relative; }
img, svg, video { max-width: 100%; height: auto; }
/* ---------------------------------------------------------- */

body {
  font-family: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.68;
  font-weight: 420;
  -webkit-font-smoothing: antialiased;
}

/* Holo foil top edge */
body::before {
  content: "";
  display: block;
  height: 4px;
  background: var(--holo);
}

::selection { background: var(--red); color: var(--cream); }

.wrap {
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 44px);
}

h1, h2, h3 {
  line-height: 1.04;
  letter-spacing: -0.022em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.45rem, 6vw, 4.3rem); font-weight: 800; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.75rem); font-weight: 760; }
h3 { font-size: 1.28rem; font-weight: 700; letter-spacing: -0.01em; }

p { margin: 0 0 1.1em; max-width: 68ch; }
a { color: inherit; text-decoration-color: var(--red); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--red); }
strong { font-weight: 680; }

.accent { color: var(--red); }
.num { font-variant-numeric: tabular-nums; }

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: 6px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.chart-fig {
  margin: 2em 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card-bg);
  padding: 22px 22px 14px;
}
.chart-fig svg { display: block; width: 100%; height: auto; }
.chart-fig figcaption {
  font-size: 0.88rem;
  color: var(--ink-soft);
  padding-top: 10px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 100;
  background: var(--ink);
  color: var(--cream);
  padding: 10px 18px;
  border-radius: 8px;
}
.skip-link:focus-visible { left: 12px; }

/* ---------------- Header ---------------- */
.site-header { padding: 22px 0 10px; }
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 780;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.brand svg { width: 26px; height: 34px; flex: none; }
.brand:hover { color: inherit; }

.site-nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.site-nav a {
  text-decoration: none;
  font-weight: 560;
  font-size: 0.97rem;
  padding: 10px 2px;
}
.site-nav a:hover { color: var(--red); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font: inherit;
  font-weight: 650;
  border-radius: 999px;
  padding: 13px 26px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--red); color: var(--cream); border: 1.5px solid var(--red); }
.btn-primary:hover { background: var(--red-hover); border-color: var(--red-hover); color: var(--cream); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-ghost:hover { border-color: var(--red); color: var(--red); }
.site-nav .btn { padding: 10px 20px; font-size: 0.95rem; }

.menu-btn {
  display: none;
  margin-left: auto;
  background: none;
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  padding: 10px;
  cursor: pointer;
  color: var(--ink);
}
.menu-btn svg { width: 22px; height: 22px; display: block; }
.menu-btn .icon-close, .menu-btn[aria-expanded="true"] .icon-menu { display: none; }
.menu-btn[aria-expanded="true"] .icon-close { display: block; }

.mobile-panel { display: none; }

@media (max-width: 880px) {
  .site-nav { display: none; }
  .menu-btn { display: block; }
  .mobile-panel {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    z-index: 50;
    background: var(--card-bg);
    border-block: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(34, 28, 20, 0.12);
  }
  .mobile-panel.open { display: block; }
  .mobile-panel nav {
    display: flex;
    flex-direction: column;
    padding: 10px clamp(20px, 4vw, 44px) 22px;
  }
  .mobile-panel a {
    text-decoration: none;
    font-weight: 580;
    font-size: 1.08rem;
    padding: 13px 4px;
    border-bottom: 1px solid var(--line);
  }
  .mobile-panel a:last-of-type { border-bottom: 0; }
  .mobile-panel .btn { margin-top: 14px; justify-content: center; }
}

/* ---------------- Hero ---------------- */
.hero { padding: clamp(30px, 6vw, 72px) 0 clamp(44px, 6vw, 84px); overflow: hidden; }
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: clamp(30px, 4.5vw, 60px);
  align-items: center;
}
.hero-copy p.lede {
  font-size: clamp(1.08rem, 1.6vw, 1.22rem);
  line-height: 1.6;
  color: var(--ink-soft);
  font-weight: 460;
  margin-bottom: 1.6em;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note {
  margin-top: 1.5em;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.hero-note a { color: inherit; }

/* Slab fan */
.slab-fan {
  display: flex;
  align-items: flex-end;
  padding: 26px 8px 118px;
}
.slab {
  flex: 1 1 0;
  margin: 0 -1.4%;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.slab img {
  display: block;
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(34, 28, 20, 0.22);
}
/* Right-over-left fan (natural DOM order): each chip is pinned so it only
   extends over slabs that stack BENEATH its own. */
.slab { position: relative; }
.slab:nth-child(1) { transform: rotate(-6.5deg) translateY(16px); z-index: 1; }
.slab:nth-child(2) { transform: rotate(-3deg) translateY(3px); z-index: 2; }
.slab:nth-child(3) { transform: rotate(0.5deg); z-index: 3; }
.slab:nth-child(4) { transform: rotate(3.5deg) translateY(9px); z-index: 4; }
.slab:nth-child(5) { transform: rotate(7deg) translateY(24px); z-index: 5; }
.slab:hover { transform: rotate(0deg) translateY(-8px); z-index: 6; }

/* Chips pin to each slab's bottom edge (photos have different aspect ratios,
   so flow position drifts). Two alternating rows so neighbors never collide. */
.slab figcaption {
  position: absolute;
  right: 26px;
  bottom: -14px;
  z-index: 4;
  background: var(--ink);
  color: var(--cream);
  border-radius: 8px;
  padding: 6px 9px 7px;
  font-size: 0.66rem;
  line-height: 1.35;
  font-weight: 560;
  letter-spacing: 0.01em;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(34, 28, 20, 0.25);
}
/* even chips drop to a second row, centered under their slab */
.slab:nth-child(2) figcaption, .slab:nth-child(4) figcaption {
  right: auto;
  left: 50%;
  transform: translateX(-50%);
  bottom: -70px;
}
.slab figcaption .pop {
  display: block;
  font-size: 0.8rem;
  font-weight: 740;
  font-variant-numeric: tabular-nums;
}
.slab figcaption .pop em { font-style: normal; color: #f2b8ae; }

@media (max-width: 1020px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .slab-fan { max-width: 640px; margin-inline: auto; }
}
@media (max-width: 640px) {
  .slab-fan {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px 16px;
    padding: 10px 4px 24px;
  }
  .slab { margin: 0; }
  .slab:nth-child(odd) { transform: rotate(-1.6deg); }
  .slab:nth-child(even) { transform: rotate(1.8deg); }
  .slab:nth-child(5) { grid-column: 1 / -1; max-width: 58%; margin-inline: auto; }
  /* grid has room: chips flow under each slab again */
  .slab figcaption,
  .slab:nth-child(2) figcaption, .slab:nth-child(4) figcaption {
    position: static;
    left: auto;
    right: auto;
    transform: none;
    width: fit-content;
    margin: -12px auto 0;
  }
}

/* ---------------- Story ---------------- */
.story { padding: clamp(30px, 5vw, 64px) 0; }
.story .wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
}
.story h2 { max-width: 14ch; }
@media (max-width: 860px) {
  .story .wrap { grid-template-columns: 1fr; }
  .story h2 { max-width: none; }
}

/* ---------------- Counted (drenched red) ---------------- */
.counted {
  background: var(--red-drench);
  color: var(--cream);
  padding: clamp(52px, 7vw, 96px) 0 clamp(56px, 7vw, 100px);
}
.counted h2 {
  font-size: clamp(1.9rem, 4.2vw, 3.3rem);
  max-width: 21ch;
  margin-bottom: 0.85em;
}
.counted .giant {
  display: block;
  font-size: clamp(4.2rem, 12vw, 9rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  margin-bottom: 6px;
}
.counted p { color: #f6e4d8; }

.grade-bar {
  display: flex;
  height: 58px;
  border-radius: 10px;
  overflow: hidden;
  margin: 34px 0 14px;
  box-shadow: inset 0 0 0 1px rgba(249, 243, 230, 0.25);
}
.grade-bar span { display: block; height: 100%; }
.gb-other { background: #7e150c; }
.gb-8 { background: #cf6c50; }
.gb-9 { background: #edb392; }
.gb-10 { background: var(--holo); background-color: var(--cream); min-width: 5px; }
.gb-auth { background: #550e07; }

.grade-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 0.88rem;
  font-weight: 540;
  color: #f6e4d8;
  padding: 0;
  margin: 0 0 26px;
  list-style: none;
}
.grade-legend i {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 3px;
  margin-right: 7px;
  vertical-align: baseline;
}
.counted .aside { font-size: 0.92rem; color: #eccfc0; max-width: 62ch; }

/* ---------------- Demo ---------------- */
.preview { padding: clamp(52px, 7vw, 92px) 0; }
.preview-head { max-width: 62ch; margin-bottom: 30px; }

.demo {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 22px 50px rgba(34, 28, 20, 0.08);
  overflow: hidden;
}
.demo-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.demo-toolbar .label { font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); margin-right: 4px; }
.sort-btn {
  font: inherit;
  font-size: 0.87rem;
  font-weight: 600;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--card-bg);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}
.sort-btn:hover { border-color: var(--red); color: var(--red); }
.sort-btn[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}
.sort-btn .dir { font-weight: 800; }

.demo-cols, .demo-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px 118px 96px;
  gap: 14px;
  align-items: center;
  padding: 12px 20px;
}
.demo-cols {
  font-size: 0.74rem;
  font-weight: 680;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}
.demo-list { list-style: none; margin: 0; padding: 0; }
.demo-row { border-bottom: 1px solid var(--line); }
.demo-row:last-child { border-bottom: 0; }
.demo-card strong { display: block; font-weight: 640; line-height: 1.3; }
.demo-card span { font-size: 0.85rem; color: var(--ink-soft); }
.demo-num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 560;
}
.demo-num[data-col="pop10"] { font-weight: 760; }
.demo-row .demo-num[data-col="pop10"] { color: var(--red); }
.demo-foot {
  padding: 14px 20px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  background: var(--paper);
  border-top: 1px solid var(--line);
}
@media (max-width: 640px) {
  .demo-cols, .demo-row { grid-template-columns: minmax(0, 1fr) 84px 92px; gap: 10px; padding-inline: 14px; }
  .demo-cols .col-gem, .demo-row .demo-num[data-col="gem"] { display: none; }
  .demo-toolbar { padding-inline: 14px; }
  .demo-foot { padding-inline: 14px; }
}

.feature-notes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(20px, 3vw, 40px);
  margin-top: 44px;
}
.feature-notes h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 0.4em; }
.feature-notes h3 svg { width: 20px; height: 20px; color: var(--red); flex: none; }
.feature-notes p { font-size: 0.97rem; color: var(--ink-soft); margin: 0; }

/* ---------------- Data / method ---------------- */
.method { background: var(--paper-deep); padding: clamp(48px, 6vw, 84px) 0; }
.method .wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 72px);
}
.method h2 { max-width: 15ch; }
.method dl { margin: 1.6em 0 0; }
.method dt { font-weight: 680; margin-top: 1.1em; }
.method dd { margin: 0.2em 0 0; color: var(--ink-soft); max-width: 60ch; }
@media (max-width: 860px) { .method .wrap { grid-template-columns: 1fr; } }

/* ---------------- FAQ ---------------- */
.faq { padding: clamp(52px, 7vw, 92px) 0; }
.faq h2 { margin-bottom: 0.9em; }
.faq-list { max-width: 820px; }
.faq details {
  border-top: 1px solid var(--line);
}
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 4px;
  font-size: 1.12rem;
  font-weight: 640;
  letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--red);
  transition: transform 0.25s ease;
}
.faq details[open] summary svg { transform: rotate(45deg); }
.faq .faq-a { padding: 0 4px 22px; color: var(--ink-soft); max-width: 66ch; }
.faq .faq-a p { margin-bottom: 0.7em; }
.faq .faq-a p:last-child { margin-bottom: 0; }

/* ---------------- Guide pages ---------------- */
.crumbs {
  font-size: 0.9rem;
  color: var(--ink-soft);
  padding: 6px 0 26px;
}
.crumbs a { color: inherit; }
.crumbs span[aria-current] { color: var(--ink); font-weight: 600; }

.article { padding-bottom: clamp(52px, 7vw, 92px); }
.article .prose { max-width: 70ch; }
.article h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.article .article-meta {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin: -0.4em 0 2.2em;
}
.article h2 { font-size: clamp(1.5rem, 2.6vw, 1.95rem); margin-top: 1.9em; }
.article ul, .article ol { max-width: 66ch; padding-left: 1.3em; }
.article li { margin-bottom: 0.5em; }

.pop-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.4em 0 2em;
  font-size: 0.95rem;
}
.pop-table th, .pop-table td {
  text-align: left;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.pop-table th {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
}
.pop-table td.num, .pop-table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.pop-table td.num strong { color: var(--red); }
.table-scroll { overflow-x: auto; }

.article .cta-band {
  margin-top: 3em;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  justify-content: space-between;
}
.article .cta-band p { margin: 0; font-weight: 560; max-width: 46ch; }

/* ---------------- Blog ---------------- */
.blog-head { margin-bottom: 34px; }
.blog-head h1 { font-size: clamp(2.1rem, 4.6vw, 3.2rem); }

.post-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; max-width: 860px; }
.post-card a {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  text-decoration: none;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 24px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.post-card a:hover { border-color: var(--red); box-shadow: 0 14px 30px rgba(34, 28, 20, 0.08); color: inherit; }
.post-card img { border-radius: 6px; width: 96px; height: auto; }
.post-card h2 { font-size: 1.3rem; margin-bottom: 0.25em; }
.post-card p { margin: 0; color: var(--ink-soft); font-size: 0.96rem; }
.post-card-meta { margin-top: 8px !important; font-size: 0.85rem !important; }
.post-card-meta .num { color: var(--red); font-weight: 680; }
@media (max-width: 560px) {
  .post-card a { grid-template-columns: 1fr; }
  .post-card img { width: 120px; }
}

.post-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(28px, 4vw, 60px);
  align-items: start;
}
.post-side { position: sticky; top: 24px; }
.post-card-img {
  display: block;
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(34, 28, 20, 0.18);
  margin-bottom: 18px;
}
@media (max-width: 900px) {
  .post-grid { grid-template-columns: 1fr; }
  .post-side { position: static; display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 20px; align-items: start; }
}
@media (max-width: 560px) {
  .post-side { grid-template-columns: 1fr; }
  .post-card-img { max-width: 220px; }
}

.databox {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.databox-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 12px;
  padding: 12px 16px;
  background: var(--ink);
  color: var(--cream);
  font-size: 0.85rem;
  font-weight: 640;
}
.databox-fresh { color: #b5aa96; font-weight: 480; font-size: 0.78rem; }
.databox dl { margin: 0; padding: 6px 16px 12px; }
.databox dl > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.databox dl > div:last-child { border-bottom: 0; }
.databox dt { font-size: 0.85rem; color: var(--ink-soft); }
.databox dd { margin: 0; font-weight: 680; font-variant-numeric: tabular-nums; }
.databox dd.accent { color: var(--red); }

.margin-table td strong { color: var(--red); }

.post-sources { font-size: 0.88rem; color: var(--ink-soft); }
.post-sources li { margin-bottom: 0.4em; }
.post .prose h3 { margin-top: 2.2em; }

.video-embed { margin: 2em 0; }
.video-embed iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 14px;
  box-shadow: 0 14px 32px rgba(34, 28, 20, 0.14);
  display: block;
}
.video-embed figcaption { font-size: 0.88rem; color: var(--ink-soft); padding-top: 10px; }

.related { margin-top: 3em; }
.related h2 { font-size: 1.35rem; margin-bottom: 0.6em; }
.related ul { list-style: none; margin: 0; padding: 0; }
.related li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 18px;
  padding: 12px 2px;
  border-top: 1px solid var(--line);
}
.related li:last-child { border-bottom: 1px solid var(--line); }
.related li .num { color: var(--red); font-weight: 660; font-size: 0.9rem; white-space: nowrap; }
.related a { font-weight: 600; text-decoration-thickness: 1px; }

/* ---------------- Footer ---------------- */
.site-footer {
  background: var(--ink);
  color: #d9d0c1;
  padding: clamp(44px, 6vw, 72px) 0 34px;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  margin-bottom: 40px;
}
.site-footer .brand { color: var(--cream); font-size: 1.2rem; margin-bottom: 12px; }
.site-footer p { color: #b5aa96; }
.site-footer h3 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #93887a;
  margin-bottom: 0.9em;
}
.site-footer nav { display: flex; flex-direction: column; gap: 9px; }
.site-footer a { color: #e6ddcd; text-decoration: none; padding: 2px 0; }
.site-footer a:hover { color: var(--cream); text-decoration: underline; text-decoration-color: var(--red); }
.footer-legal {
  border-top: 1px solid #3a332a;
  padding-top: 22px;
  font-size: 0.85rem;
  color: #93887a;
  max-width: none;
}
@media (max-width: 620px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------------- Motion ---------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
