/* eKitchen: shared styles
   Brand: olive cabinets, copper cookware, oak shelves.
   Signature: every product sits on its own wooden shelf ledge. */

:root {
  --bg: #f1eee4;
  --surface: #fbf9f3;
  --ink: #25322a;
  --ink-soft: #57625a;
  --olive: #5d6a4b;
  --olive-deep: #34402f;
  --copper: #a9562f;
  --copper-bright: #c9774d;
  --oak: #c8a57a;
  --oak-deep: #9c7b55;
  --line: #d9d4c4;
  --peach: #ebcbb3;
  --sage: #ced5c0;
  --butter: #ebddae;

  --font-display: "Young Serif", Georgia, "Times New Roman", serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --gutter: clamp(16px, 5vw, 48px);
  --section: clamp(64px, 9vw, 120px);
  --radius: 14px;
  --arch: 999px 999px 14px 14px;
  --shadow: 0 1px 2px rgba(37, 50, 42, 0.06), 0 8px 24px rgba(37, 50, 42, 0.07);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--copper-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.6rem, 6.4vw, 5.4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
}

h3 {
  font-size: 1.4rem;
  line-height: 1.2;
}

p {
  margin: 0 0 1em;
}

.wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.lead {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  color: var(--ink-soft);
  max-width: 34ch;
}

.kicker {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--copper);
  margin: 0 0 14px;
}

.sr-only,
.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 50;
  background: var(--surface);
  padding: 10px 16px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

/* ---------- Buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--surface);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.button:hover {
  background: var(--olive-deep);
  border-color: var(--olive-deep);
}

.button--ghost {
  background: transparent;
  color: var(--ink);
}

.button--ghost:hover {
  background: var(--ink);
  color: var(--surface);
}

.text-link {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  text-decoration-color: var(--copper-bright);
}

.text-link:hover {
  color: var(--copper);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(241, 238, 228, 0.88);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: -0.03em;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}

.logo b {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: -0.05em;
}

.logo i {
  color: var(--copper-bright);
  font-style: normal;
}

.site-nav ul {
  display: flex;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: block;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.97rem;
  text-decoration: none;
  transition: background-color 0.2s;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(93, 106, 75, 0.13);
}

.nav-toggle {
  display: none;
}

@media (max-width: 760px) {
  .site-nav a {
    padding: 8px 10px;
    font-size: 0.92rem;
  }

  /* With JavaScript, collapse the nav into a menu button. */
  .js .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 16px;
    border: 1.5px solid var(--ink);
    border-radius: 999px;
    background: transparent;
    font-weight: 600;
    cursor: pointer;
  }

  .nav-toggle__bars {
    position: relative;
    width: 16px;
    height: 10px;
  }

  .nav-toggle__bars::before,
  .nav-toggle__bars::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 0.25s, top 0.25s;
  }

  .nav-toggle__bars::before {
    top: 0;
  }

  .nav-toggle__bars::after {
    top: 8px;
  }

  .nav-open .nav-toggle__bars::before {
    top: 4px;
    transform: rotate(45deg);
  }

  .nav-open .nav-toggle__bars::after {
    top: 4px;
    transform: rotate(-45deg);
  }

  .js .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(37, 50, 42, 0.1);
    padding: 8px var(--gutter) 20px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.2s, visibility 0s 0.2s;
  }

  .js .nav-open .site-nav {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 0.2s, transform 0.2s;
  }

  .js .site-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .js .site-nav a {
    padding: 16px 4px;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-display);
    font-size: 1.35rem;
  }

  .js .site-nav li:last-child a {
    border-bottom: 0;
  }

  .js .site-nav a:hover {
    background: none;
    color: var(--copper);
  }
}

@media (max-width: 400px) {
  .site-nav a {
    padding: 8px 6px;
  }
}

/* ---------- Hero ---------- */

.hero {
  padding-block: clamp(40px, 7vw, 96px) clamp(56px, 8vw, 110px);
  background-image:
    linear-gradient(rgba(201, 189, 160, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 189, 160, 0.22) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center top;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
}

.hero h1 {
  max-width: 11ch;
}

.hero .lead {
  margin: 28px 0 34px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__art {
  margin: 0;
  position: relative;
  max-width: 560px;
  justify-self: end;
  width: 100%;
}

.hero__art svg {
  width: 100%;
  height: auto;
  border-radius: 999px 999px 18px 18px;
  box-shadow: 0 30px 60px -30px rgba(37, 50, 42, 0.45);
}

.jar-label {
  position: absolute;
  left: -28px;
  bottom: 56px;
  margin: 0;
  background: var(--surface);
  padding: 14px 22px;
  border-radius: 10px;
  border: 1.5px solid var(--oak);
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.25;
  box-shadow: var(--shadow);
  transform: rotate(-4deg);
}

/* The one motion moment: steam rising from the bowl. */
.steam path {
  fill: none;
  stroke: #fffaf0;
  stroke-width: 5;
  stroke-linecap: round;
  opacity: 0;
  animation: steam 4.2s ease-in-out infinite;
}

.steam path:nth-child(2) {
  animation-delay: 1.4s;
}

.steam path:nth-child(3) {
  animation-delay: 2.8s;
}

@keyframes steam {
  0% {
    opacity: 0;
    transform: translateY(14px);
  }
  35% {
    opacity: 0.75;
  }
  100% {
    opacity: 0;
    transform: translateY(-26px);
  }
}

.hero-load > * {
  animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-load > *:nth-child(2) {
  animation-delay: 0.08s;
}

.hero-load > *:nth-child(3) {
  animation-delay: 0.16s;
}

.hero-load > *:nth-child(4) {
  animation-delay: 0.24s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}

/* ---------- Ribbon ---------- */

.ribbon {
  background: var(--olive-deep);
  color: #efe9d8;
}

.ribbon ul {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  list-style: none;
  margin: 0 auto;
  padding-block: 20px;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.8vw, 1.3rem);
}

.ribbon li {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ribbon li::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--copper-bright);
  flex: none;
}

/* ---------- Sections ---------- */

.section {
  padding-block: var(--section);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px 48px;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.section-head h2 {
  max-width: 15ch;
}

.section-head p {
  max-width: 38ch;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- Guide cards (arch windows) ---------- */

.guide-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 36px);
}

.guide-card {
  position: relative;
  display: flex;
  flex-direction: column;
}

.guide-card__art {
  position: relative;
  aspect-ratio: 4 / 4.2;
  border-radius: var(--arch);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 12% 0;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.guide-card__art::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 16%;
  background: var(--oak);
  box-shadow: inset 0 6px 0 var(--oak-deep);
}

.guide-card__art svg {
  position: relative;
  z-index: 1;
  width: 33%;
  height: auto;
  margin-bottom: 14%;
}

.guide-card__art svg:nth-child(2) {
  width: 38%;
}

.peach {
  background-color: var(--peach);
}

.sage {
  background-color: var(--sage);
}

.butter {
  background-color: var(--butter);
}

.guide-card h3 {
  font-size: clamp(1.5rem, 2.2vw, 1.85rem);
  margin: 26px 0 10px;
}

.guide-card p {
  color: var(--ink-soft);
  max-width: 34ch;
}

.guide-card .text-link {
  margin-top: auto;
  align-self: flex-start;
}

/* Make the whole card clickable through the main link. */
.guide-card .text-link::after {
  content: "";
  position: absolute;
  inset: 0;
}

.guide-card:hover .guide-card__art {
  transform: translateY(-6px);
}

.guide-card:hover .text-link {
  color: var(--copper);
}

/* ---------- The shelf: product picks ---------- */

.picks-section {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.shelf {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(36px, 4vw, 52px) clamp(20px, 3vw, 36px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.pick {
  display: flex;
  flex-direction: column;
}

.pick__art {
  position: relative;
  aspect-ratio: 5 / 3.4;
  border-radius: var(--radius) var(--radius) 0 0;
  display: grid;
  place-items: end center;
  padding-top: 18px;
}

.pick__art svg {
  width: 52%;
  height: auto;
  max-height: 100%;
  margin-bottom: -4px;
}

/* The wooden ledge each product stands on. */
.pick__ledge {
  height: 14px;
  background: linear-gradient(var(--oak) 0 60%, var(--oak-deep) 60%);
  border-radius: 2px 2px 6px 6px;
  margin-inline: -8px;
  box-shadow: 0 10px 14px -8px rgba(60, 40, 20, 0.45);
}

.pick__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding-top: 22px;
}

.pick__type {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--olive);
  margin: 0 0 6px;
}

.pick h3 {
  margin-bottom: 10px;
}

.pick__why {
  color: var(--ink-soft);
  font-size: 1rem;
}

.pick__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}

.pick__specs li {
  font-size: 0.85rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--line);
}

.buy {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  border-radius: 10px;
  background: var(--copper);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s;
}

.buy:hover {
  background: #8f4626;
}

.buy svg {
  width: 16px;
  height: 16px;
}

.disclosure-note {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin: 0;
  max-width: 62ch;
}

.disclosure-note a {
  text-underline-offset: 3px;
}

.picks-foot {
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

/* ---------- Before-you-buy questions ---------- */

.questions {
  background: var(--olive-deep);
  color: #efe9d8;
}

.questions .kicker {
  color: #e8a77f;
}

.questions h2 {
  max-width: 16ch;
}

.questions ol {
  list-style: none;
  margin: clamp(36px, 5vw, 60px) 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.questions li {
  border-top: 2px solid rgba(239, 233, 216, 0.3);
  padding-top: 22px;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  line-height: 1.25;
}

.questions .closing {
  max-width: 58ch;
  color: #cfd3c3;
  margin: 0;
}

/* ---------- Checklist ---------- */

.checklist .wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(36px, 7vw, 100px);
  align-items: start;
}

.checklist__intro {
  position: sticky;
  top: 110px;
}

.checklist__intro p {
  color: var(--ink-soft);
  max-width: 36ch;
  margin-top: 20px;
}

.meter {
  margin: 30px 0 18px;
}

.meter__label {
  font-weight: 600;
  margin-bottom: 10px;
}

.meter__track {
  height: 12px;
  border-radius: 999px;
  background: #e2ddcd;
  overflow: hidden;
}

.meter__fill {
  height: 100%;
  width: 0;
  background: var(--olive);
  border-radius: inherit;
  transition: width 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reset {
  background: none;
  border: 0;
  padding: 6px 0;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
  color: var(--ink-soft);
}

.reset:hover {
  color: var(--copper);
}

.checklist fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.check-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 12px 6px 20px;
  border-bottom: 1px solid var(--line);
}

.check-row:last-child {
  border-bottom: 0;
}

.check-row label {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 52px;
  cursor: pointer;
}

.check-row input {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  width: 24px;
  height: 24px;
  margin: 0;
  border: 2px solid var(--olive);
  border-radius: 7px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color 0.15s;
}

.check-row input::after {
  content: "";
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2.5px 2.5px 0;
  transform: translateY(-1px) rotate(45deg) scale(0);
  transition: transform 0.15s;
}

.check-row input:checked {
  background: var(--olive);
}

.check-row input:checked::after {
  transform: translateY(-1px) rotate(45deg) scale(1);
}

.check-row:has(input:checked) label {
  color: var(--ink-soft);
  text-decoration: line-through;
  text-decoration-color: rgba(87, 98, 90, 0.5);
}

.check-row a {
  flex: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--copper);
  text-decoration: none;
}

.check-row a:hover {
  background: rgba(169, 86, 47, 0.08);
}

/* ---------- Guide pages ---------- */

.guide-hero {
  padding-block: clamp(28px, 4vw, 48px) clamp(40px, 6vw, 72px);
}

.guide-hero .wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 32px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 clamp(28px, 5vw, 56px);
  padding: 0;
  font-size: 0.95rem;
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 8px;
  opacity: 0.5;
}

.breadcrumbs a {
  text-underline-offset: 3px;
}

.guide-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.75rem);
  max-width: 13ch;
}

.guide-hero .lead {
  color: var(--ink);
  opacity: 0.82;
  margin: 20px 0 0;
  max-width: 40ch;
}

.guide-hero__art {
  width: clamp(150px, 20vw, 240px);
  aspect-ratio: 3 / 4;
  border-radius: var(--arch);
  background: rgba(251, 249, 243, 0.55);
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.guide-hero__art::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 18%;
  background: var(--oak);
  box-shadow: inset 0 6px 0 var(--oak-deep);
}

.guide-hero__art svg {
  position: relative;
  z-index: 1;
  width: 72%;
  margin-bottom: 15%;
}

.guide-body {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  padding-block: clamp(36px, 5vw, 64px) var(--section);
}

.toc {
  position: sticky;
  top: 104px;
  align-self: start;
}

.toc p {
  font-weight: 700;
  margin-bottom: 10px;
}

.toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid var(--line);
}

.toc a {
  display: block;
  padding: 8px 0 8px 16px;
  margin-left: -2px;
  border-left: 2px solid transparent;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.4;
}

.toc a:hover {
  color: var(--ink);
  border-left-color: var(--copper-bright);
}

.prose {
  max-width: 68ch;
  font-size: 1.125rem;
  line-height: 1.75;
}

.prose > p:first-child {
  font-size: clamp(1.2rem, 1.8vw, 1.4rem);
  line-height: 1.6;
  color: var(--ink-soft);
}

.prose h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.2rem);
  margin: 1.8em 0 0.6em;
}

.prose ul,
.prose ol {
  padding-left: 1.2em;
  margin: 0 0 1.2em;
}

.prose li {
  margin-bottom: 0.7em;
}

.prose li::marker {
  color: var(--copper-bright);
}

.prose a:not(.button) {
  text-underline-offset: 3px;
  text-decoration-color: var(--copper-bright);
}

.jump {
  display: none;
}

.note {
  margin: 2em 0;
  padding: 22px 26px;
  border-radius: var(--radius);
  background: var(--surface);
  border-left: 4px solid var(--copper-bright);
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.4;
}

.note p {
  margin: 0;
}

.guide-picks {
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: clamp(36px, 5vw, 56px);
  border-top: 1px solid var(--line);
}

.guide-picks > h2 {
  margin-bottom: 10px;
}

.guide-picks > .disclosure-note {
  margin-bottom: clamp(32px, 4vw, 48px);
}

.guide-picks .shelf {
  grid-template-columns: repeat(2, 1fr);
}

.related {
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.related ul {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.related a {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg);
  text-decoration: none;
  transition: border-color 0.2s;
}

.related a:hover {
  border-color: var(--ink);
}

.related__icon {
  flex: none;
  width: 72px;
  height: 72px;
  border-radius: 999px 999px 8px 8px;
  display: grid;
  place-items: center;
}

.related__icon svg {
  width: 52px;
}

.related strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.3rem;
  line-height: 1.2;
}

.related span span {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* ---------- Simple pages (disclosure, privacy) ---------- */

.page-body {
  padding-block: clamp(36px, 5vw, 64px) var(--section);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: #d9dccf;
  padding-block: clamp(48px, 6vw, 80px) 32px;
  font-size: 0.97rem;
}

.site-footer .wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}

.site-footer .logo {
  color: #f1eee4;
}

.site-footer .tagline {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: #f1eee4;
  margin: 18px 0 0;
}

.site-footer h2 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
  color: #f1eee4;
  margin-bottom: 14px;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li a {
  display: inline-block;
  padding: 5px 0;
  text-decoration: none;
}

.site-footer li a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer .fine {
  grid-column: 1 / -1;
  padding-top: 28px;
  border-top: 1px solid rgba(217, 220, 207, 0.2);
  font-size: 0.88rem;
  color: #aeb3a4;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
}

.site-footer .fine p {
  margin: 0;
}

/* ---------- Responsive ---------- */

@media (max-width: 1000px) {
  .shelf {
    grid-template-columns: repeat(2, 1fr);
  }

  .guide-body {
    grid-template-columns: 1fr;
  }

  .toc {
    display: none;
  }

  .jump {
    display: inline-flex;
    margin-bottom: 28px;
  }
}

@media (max-width: 860px) {
  .hero .wrap {
    grid-template-columns: 1fr;
  }

  .hero__art {
    justify-self: center;
    max-width: 440px;
  }

  .guide-cards {
    grid-template-columns: 1fr;
    max-width: 520px;
  }

  .guide-card__art {
    aspect-ratio: 16 / 10;
  }

  .guide-card__art svg {
    width: 24%;
    margin-bottom: 10%;
  }

  .guide-card__art svg:nth-child(2) {
    width: 28%;
  }

  .ribbon li:nth-child(3) {
    display: none;
  }

  .questions ol {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .questions li {
    padding-block: 18px;
  }

  .checklist .wrap {
    grid-template-columns: 1fr;
  }

  .checklist__intro {
    position: static;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer .wrap {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer .brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .hero__actions .button {
    flex: 1 1 100%;
  }

  .jar-label {
    left: -6px;
    bottom: 32px;
    font-size: 1rem;
    padding: 10px 16px;
  }

  .ribbon ul {
    justify-content: center;
  }

  .ribbon li:nth-child(2) {
    display: none;
  }

  /* Picks become compact rows: art on the left, details on the right. */
  .shelf,
  .guide-picks .shelf {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .pick {
    display: grid;
    grid-template-columns: 112px 1fr;
    grid-template-rows: auto auto 1fr;
    column-gap: 18px;
  }

  .pick__art {
    grid-column: 1;
    grid-row: 1;
    aspect-ratio: 1;
    padding-top: 10px;
  }

  .pick__art svg {
    width: 80%;
  }

  .pick__ledge {
    grid-column: 1;
    grid-row: 2;
    height: 10px;
    margin-inline: -4px;
  }

  .pick__body {
    grid-column: 2;
    grid-row: 1 / 4;
    padding-top: 0;
  }

  .pick h3 {
    font-size: 1.25rem;
  }

  .pick__why {
    font-size: 0.97rem;
  }

  .pick__specs {
    margin-bottom: 16px;
  }

  .pick__specs li {
    font-size: 0.8rem;
    padding: 3px 10px;
  }

  .buy {
    min-height: 46px;
    font-size: 0.95rem;
  }

  .guide-hero .wrap {
    grid-template-columns: 1fr;
  }

  .guide-hero__art {
    display: none;
  }

  .related ul {
    grid-template-columns: 1fr;
  }

  .check-row {
    padding-left: 16px;
    padding-right: 6px;
  }

  .site-footer .wrap {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 400px) {
  .pick {
    grid-template-columns: 92px 1fr;
    column-gap: 14px;
  }

  .logo {
    font-size: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .steam path {
    opacity: 0.5;
  }
}
