/* ==========================================================================
   Boughtique — design system
   Palette is restrained and neutral. No gradients, no neon, no heavy radii.
   Mobile-first. Everything below 1rem of motion respects prefers-reduced-motion.
   ========================================================================== */

:root {
  --paper: #faf9f7;
  --paper-2: #f2efe9;
  --paper-3: #e9e5dd;
  --ink: #14130f;
  --ink-2: #3b3833;
  --muted: #6e6962;
  --line: #e2ddd4;
  --line-strong: #cec8bd;
  --flag: #14130f;

  --font-sans: "Helvetica Neue", Helvetica, -apple-system, BlinkMacSystemFont, "Segoe UI", Inter,
    Arial, sans-serif;
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia,
    "Times New Roman", serif;

  --shell: 1320px;
  --gap: clamp(1rem, 2.4vw, 2rem);
  --pad: clamp(1.125rem, 4vw, 2.5rem);
  --radius: 2px;

  --t-fast: 140ms cubic-bezier(0.2, 0, 0, 1);
  --t: 260ms cubic-bezier(0.2, 0, 0, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.08;
}

p {
  margin: 0;
}

button {
  font: inherit;
  color: inherit;
}

/* focus ------------------------------------------------------------------ */
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
:focus:not(:focus-visible) {
  outline: none;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1.25rem;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.skip-link:focus {
  left: 0;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* layout ----------------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section {
  padding-block: clamp(3rem, 7vw, 6rem);
}
.section--tight {
  padding-block: clamp(2rem, 4vw, 3.5rem);
}
.section--line {
  border-top: 1px solid var(--line);
}

/* typography ------------------------------------------------------------- */
.eyebrow {
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.lede {
  font-size: clamp(1rem, 1.5vw, 1.1875rem);
  color: var(--ink-2);
  max-width: 54ch;
  margin-top: 1.25rem;
  line-height: 1.6;
}

.wordmark {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  /* letter-spacing adds trailing space after the final letter; pull it back so
     the measured width is the glyphs only, and the tagline aligns flush. */
  margin: 0 -0.24em 0 0;
}

/* header ----------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 64px;
}

.site-header__brand {
  /* Grid column is sized by the wordmark alone; the tagline is forced to match
     it exactly (see below) so the lockup reads as one block at any font size. */
  display: grid;
  justify-items: start;
  width: fit-content;
  gap: 2px;
  line-height: 1;
}
.site-header__tagline {
  /* width:0 keeps the tagline out of intrinsic sizing, min-width:100% then
     stretches it to the wordmark's width, and justification distributes the
     word gaps to fill it. No magic numbers, no re-tuning when sizes change. */
  width: 0;
  min-width: 100%;
  text-align: justify;
  text-align-last: justify;
  font-size: 0.625rem;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav {
  display: none;
}
.site-nav ul {
  display: flex;
  gap: clamp(1.25rem, 2.4vw, 2.25rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding-block: 0.5rem;
  position: relative;
  transition: color var(--t-fast);
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.1rem;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t);
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
}
.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.icon-btn {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--ink);
}
.icon-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-btn__badge {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.625rem;
  line-height: 16px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.mobile-nav {
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0.5rem var(--pad) 1.25rem;
}
.mobile-nav a {
  display: block;
  padding: 0.75rem 0;
  font-size: 1.0625rem;
  border-bottom: 1px solid var(--line);
}
.mobile-nav li:last-child a {
  border-bottom: 0;
}

@media (min-width: 900px) {
  .site-nav {
    display: block;
  }
  .icon-btn--menu {
    display: none;
  }
  .site-header__inner {
    min-height: 76px;
  }
}

/* search overlay --------------------------------------------------------- */
.search-overlay {
  position: sticky;
  top: 64px;
  z-index: 99;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding-block: 1.25rem 1.5rem;
}
@media (min-width: 900px) {
  .search-overlay {
    top: 76px;
  }
}
.search-overlay__form {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.search-overlay__form input {
  flex: 1;
  min-width: 0;
  font: inherit;
  font-size: 1.0625rem;
  padding: 0.75rem 0.25rem;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  background: transparent;
  border-radius: 0;
  -webkit-appearance: none;
}
.search-overlay__form input:focus {
  outline: none;
  border-bottom-color: var(--ink);
}
.search-overlay__results {
  margin-top: 1rem;
}
.search-overlay__results ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.search-overlay__results li {
  background: var(--paper);
}
.search-overlay__results a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  transition: background var(--t-fast);
}
.search-overlay__results a:hover {
  background: var(--paper-2);
}
.search-overlay__results .r-meta {
  color: var(--muted);
  font-size: 0.8125rem;
  white-space: nowrap;
}
.search-overlay__empty {
  color: var(--muted);
  font-size: 0.9375rem;
}

/* buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background var(--t), color var(--t), border-color var(--t);
}
.btn--primary {
  background: var(--ink);
  color: var(--paper);
}
.btn--primary:hover {
  background: var(--ink-2);
  border-color: var(--ink-2);
}
.btn--ghost:hover {
  background: var(--ink);
  color: var(--paper);
}
.btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.6875rem;
}

.link-arrow {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  white-space: nowrap;
  transition: border-color var(--t);
}
.link-arrow::after {
  content: " →";
}
.link-arrow:hover {
  border-color: var(--ink);
}

/* hero ------------------------------------------------------------------- */
.hero {
  border-bottom: 1px solid var(--line);
}
.hero__inner {
  display: grid;
  gap: clamp(2rem, 5vw, 3rem);
  padding-block: clamp(3rem, 8vw, 7rem);
  align-items: center;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 9vw, 6.25rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}
.hero__title em {
  font-style: italic;
}
.hero__lede {
  margin-top: 1.5rem;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  color: var(--ink-2);
  max-width: 44ch;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.hero__fact strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}
.hero__fact span {
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__plates {
  display: none;
}

@media (min-width: 900px) {
  .hero__inner {
    grid-template-columns: 1.05fr 0.95fr;
  }
  .hero__plates {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap);
  }
  .hero__plates img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius);
  }
  .hero__plates img:first-child {
    margin-top: clamp(1rem, 4vw, 3.5rem);
  }
}

/* search band on home ---------------------------------------------------- */
.searchband {
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}
.searchband__inner {
  padding-block: clamp(2rem, 4vw, 3rem);
}
.searchband form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.searchband input {
  flex: 1 1 260px;
  font: inherit;
  font-size: 1.0625rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  border-radius: var(--radius);
  -webkit-appearance: none;
}
.searchband input:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.suggests {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
  list-style: none;
  padding: 0;
}
.suggests a {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.8125rem;
  color: var(--ink-2);
  transition: border-color var(--t), color var(--t), background var(--t);
}
.suggests a:hover {
  border-color: var(--ink);
  color: var(--ink);
  background: var(--paper);
}

/* section head ----------------------------------------------------------- */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 3.4vw, 2.5rem);
}
.section-head__note {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.9375rem;
  max-width: 56ch;
}

/* grid + cards ----------------------------------------------------------- */
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap) clamp(0.75rem, 2vw, 1.75rem);
}
@media (min-width: 760px) {
  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 1080px) {
  .grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.card[hidden] {
  display: none;
}

.card__media {
  position: relative;
  overflow: hidden;
  background: var(--paper-2);
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.2, 0, 0, 1);
}
.card:hover .card__media img {
  transform: scale(1.03);
}

.card__flag {
  position: absolute;
  left: 0.625rem;
  top: 0.625rem;
  background: var(--flag);
  color: var(--paper);
  font-size: 0.5625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.3rem 0.5rem;
}

.save-btn {
  position: absolute;
  right: 0.5rem;
  top: 0.5rem;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(6px);
  cursor: pointer;
  transition: background var(--t-fast), transform var(--t-fast);
}
.save-btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.5;
  stroke-linejoin: round;
}
.save-btn:hover {
  background: var(--paper);
}
.save-btn[aria-pressed="true"] svg {
  fill: var(--ink);
}

.card__body {
  padding-top: 0.875rem;
}
.card__eyebrow {
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.card__title {
  margin-top: 0.35rem;
  font-size: 1.0625rem;
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}
.card__link {
  background-image: linear-gradient(var(--ink), var(--ink));
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size var(--t);
}
.card__link:hover {
  background-size: 100% 1px;
}
.card__desc {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card__meta {
  margin-top: 0.625rem;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  gap: 0.4rem;
}

/* page hero / crumbs ----------------------------------------------------- */
.page-hero {
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 3vw, 2.5rem);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 6vw, 4rem);
}

.crumbs {
  padding-block: 1rem;
  font-size: 0.75rem;
  color: var(--muted);
}
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.crumbs li + li::before {
  content: "/";
  margin-right: 0.5rem;
  color: var(--line-strong);
}
.crumbs a:hover {
  color: var(--ink);
  text-decoration: underline;
}

/* filters ---------------------------------------------------------------- */
.filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  align-items: end;
  padding: 1.25rem 0 1.5rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.filters__group--search {
  grid-column: 1 / -1;
}
@media (min-width: 760px) {
  .filters__group--search {
    grid-column: span 2;
  }
}
.filters__label {
  display: block;
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.filters__input,
.filters__select {
  width: 100%;
  font: inherit;
  font-size: 0.9375rem;
  padding: 0.6rem 0.5rem;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  color: var(--ink);
}
.filters__select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5l5-5' fill='none' stroke='%236e6962' stroke-width='1.3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.25rem center;
  background-size: 11px;
  padding-right: 1.5rem;
}
.filters__input:focus,
.filters__select:focus {
  outline: none;
  border-bottom-color: var(--ink);
}
.checkbox {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  cursor: pointer;
  padding-bottom: 0.6rem;
}
.checkbox input {
  width: 16px;
  height: 16px;
  accent-color: var(--ink);
}
.filters__group--actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.filters__count {
  font-size: 0.75rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.filters__note {
  grid-column: 1 / -1;
  font-size: 0.8125rem;
  color: var(--ink-2);
  padding-top: 0.25rem;
}
.filters__note[hidden] {
  display: none;
}

.empty {
  padding: 3rem 0;
  color: var(--muted);
  font-size: 1rem;
}

.data-note {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--muted);
  max-width: 70ch;
}
.data-note a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* editorial tiles (categories / retailers) -------------------------------- */
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.tile {
  background: var(--paper);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: background var(--t);
  min-height: 160px;
}
.tile:hover {
  background: var(--paper-2);
}
.tile h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
}
.tile p {
  font-size: 0.875rem;
  color: var(--muted);
}
.tile__count {
  margin-top: auto;
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* editorial / prose ------------------------------------------------------- */
.prose {
  max-width: 68ch;
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}
.prose h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-top: 2.75rem;
  margin-bottom: 0.875rem;
}
.prose h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}
.prose p,
.prose li {
  color: var(--ink-2);
  font-size: 1rem;
  line-height: 1.7;
}
.prose p + p {
  margin-top: 1rem;
}
.prose ul,
.prose ol {
  margin: 1rem 0;
  padding-left: 1.25rem;
}
.prose li + li {
  margin-top: 0.5rem;
}
.prose a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.prose hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 3rem 0;
}
.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.875em;
  background: var(--paper-2);
  padding: 0.1em 0.35em;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.9375rem;
}
.prose th,
.prose td {
  text-align: left;
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--line);
}
.prose th {
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
}

/* steps ------------------------------------------------------------------ */
.steps {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
}
.steps li {
  counter-increment: step;
  border-top: 1px solid var(--ink);
  padding-top: 1rem;
}
.steps li::before {
  content: "0" counter(step);
  display: block;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.steps h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.steps p {
  font-size: 0.9375rem;
  color: var(--muted);
}

/* footer ----------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--paper-2);
  padding-block: clamp(2.5rem, 5vw, 4rem) 2rem;
  margin-top: clamp(3rem, 6vw, 5rem);
}
.site-footer__top {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
}
.site-footer__brand {
  grid-column: 1 / -1;
}
@media (min-width: 860px) {
  .site-footer__brand {
    grid-column: span 1;
    max-width: 34ch;
  }
}
.site-footer__tag {
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.4rem;
}
.site-footer__blurb {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}
.site-footer__group h2 {
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
  font-weight: 400;
}
.site-footer__group ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}
.site-footer__group a {
  font-size: 0.9375rem;
  color: var(--ink-2);
}
.site-footer__group a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.site-footer__bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-strong);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--muted);
}
.site-footer__legal {
  max-width: 72ch;
}
.site-footer__legal a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* 404 -------------------------------------------------------------------- */
.notfound {
  padding-block: clamp(4rem, 12vw, 9rem);
  text-align: center;
}
.notfound h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 12vw, 7rem);
}
.notfound p {
  margin-top: 1rem;
  color: var(--muted);
}
.notfound .hero__actions {
  justify-content: center;
}

/* saved page ------------------------------------------------------------- */
.saved-empty {
  padding-block: clamp(2rem, 5vw, 4rem);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .card:hover .card__media img {
    transform: none;
  }
}
