/* ==========================================================================
   Soft Focus — design tokens
   Palette: warm-neutral base (the verified 2026 Pinterest desk aesthetic)
   with a moody ink-blue accent instead of the usual terracotta, and moss
   reserved strictly for the living/biophilic pieces.
   ========================================================================== */

:root {
  --linen:   #F3EEE5;   /* page base */
  --oat:     #E6DCCB;   /* raised surfaces, alternating bands */
  --clay:    #D9CBB5;   /* borders, muted fills */
  --bark:    #2B2721;   /* primary text — warm near-black */
  --bark-60: #6E6759;   /* secondary text */
  --deep:    #21384E;   /* moody blue — CTAs, accents */
  --deep-lo: #35526E;   /* hover */
  --moss:    #63735A;   /* biophilic only */

  --display: "Fraunces", Georgia, serif;
  --body:    "Figtree", system-ui, -apple-system, sans-serif;
  --mono:    "DM Mono", ui-monospace, monospace;

  --wrap: 1180px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  background: var(--linen);
  color: var(--bark);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; line-height: 1.08; font-weight: 500; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--deep);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip {
  position: absolute; left: -9999px;
  background: var(--deep); color: var(--linen);
  padding: 12px 20px; z-index: 200; border-radius: 0 0 var(--r-sm) 0;
  text-decoration: none;
}
.skip:focus { left: 0; top: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* -------------------------------------------------- shared type devices */
.eyebrow {
  font-family: var(--mono);
  font-size: .6875rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--bark-60);
  margin: 0 0 14px;
}
.eyebrow--light { color: rgba(243, 238, 229, .62); }

/* ------------------------------------------------------------ photography
   Every product image is a 4:3 crop lit the same way, so the grid still
   reads as one set. Keep that consistent if you reshoot. */
img {
  width: 100%;
  height: auto;
  background: var(--oat);   /* holds the layout warm while the image loads */
}

/* ==================================================== disclosure + nav */
.disclosure {
  background: var(--bark);
  color: rgba(243, 238, 229, .78);
  font-family: var(--mono);
  font-size: .6875rem;
  letter-spacing: .02em;
  text-align: center;
}
.disclosure p { margin: 0; padding: 9px 24px; }

.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(243, 238, 229, .88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.nav.is-stuck { border-bottom-color: var(--clay); }

.nav__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex; align-items: center; gap: 32px;
}

.logo {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; margin-right: auto;
}
.logo__mark {
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--deep);
  box-shadow: 0 0 0 4px rgba(33, 56, 78, .13);
  flex: none;
}
.logo__word {
  font-family: var(--display);
  font-size: 1.28rem;
  font-variation-settings: "SOFT" 30, "WONK" 1;
  letter-spacing: -.015em;
}

.nav__links { display: flex; gap: 28px; }
.nav__links a {
  font-size: .9375rem;
  text-decoration: none;
  color: var(--bark-60);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.nav__links a:hover { color: var(--bark); border-bottom-color: var(--bark); }

/* ================================================================ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  font-family: var(--body);
  font-size: .9375rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--bark);
  border-radius: 100px;
  padding: 12px 24px;
  background: transparent;
  color: var(--bark);
  cursor: pointer;
  transition: background .22s var(--ease), color .22s var(--ease),
              border-color .22s var(--ease), transform .22s var(--ease);
}
.btn:hover { background: var(--bark); color: var(--linen); }

.btn--primary {
  background: var(--deep);
  border-color: var(--deep);
  color: var(--linen);
  padding: 14px 30px;
}
.btn--primary:hover { background: var(--deep-lo); border-color: var(--deep-lo); transform: translateY(-1px); }

.btn--small { padding: 9px 18px; font-size: .875rem; }
.btn--card  { padding: 10px 18px; font-size: .875rem; }
.btn--full  { width: 100%; }

/* =================================================================== hero */
.hero { padding: 72px 0 88px; }

.hero__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
  gap: 64px;
  align-items: center;
}

.hero__title {
  font-family: var(--display);
  font-size: clamp(2.9rem, 6.4vw, 5rem);
  font-weight: 400;
  font-variation-settings: "SOFT" 40, "WONK" 1, "opsz" 120;
  letter-spacing: -.032em;
  margin-bottom: 24px;
}
.hero__title em {
  font-style: italic;
  font-variation-settings: "SOFT" 60, "WONK" 1;
  color: var(--deep);
}

.hero__sub {
  font-size: 1.125rem;
  color: var(--bark-60);
  max-width: 44ch;
  margin-bottom: 36px;
}

/* ------------------------------------------- the builder (signature bit) */
.builder {
  background: rgba(230, 220, 203, .55);
  border: 1px solid var(--clay);
  border-radius: var(--r-lg);
  padding: 26px 26px 28px;
  max-width: 470px;
}

.builder__label {
  font-family: var(--mono);
  font-size: .6875rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--bark-60);
  margin: 0 0 14px;
}

.chips { display: flex; gap: 8px; margin-bottom: 22px; flex-wrap: wrap; }

.chip {
  flex: 1 1 0;
  min-width: 96px;
  font-family: var(--body);
  font-size: .875rem;
  font-weight: 500;
  padding: 10px 12px;
  border: 1px solid var(--clay);
  background: var(--linen);
  color: var(--bark-60);
  border-radius: 100px;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.chip:hover { border-color: var(--bark); color: var(--bark); }
.chip.is-active {
  background: var(--deep);
  border-color: var(--deep);
  color: var(--linen);
}

.tally { margin-bottom: 22px; }

.tally__row {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; margin-bottom: 10px;
}
.tally__count {
  font-family: var(--mono);
  font-size: .8125rem;
  color: var(--bark-60);
}
.tally__total {
  font-family: var(--display);
  font-size: 2.1rem;
  font-variation-settings: "SOFT" 30, "opsz" 60;
  letter-spacing: -.03em;
  line-height: 1;
  color: var(--deep);
  font-variant-numeric: tabular-nums;
}

.tally__bar {
  height: 4px;
  background: var(--clay);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 10px;
}
.tally__fill {
  display: block; height: 100%;
  background: var(--deep);
  border-radius: 100px;
  width: 100%;
  transition: width .5s var(--ease);
}

.tally__note {
  font-size: .8125rem;
  color: var(--bark-60);
  margin: 0;
}

/* ---------------------------------------------------------- hero artwork */
.hero__art { position: relative; }
.hero__art img {
  border-radius: var(--r-lg);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: 0 26px 54px rgba(43, 39, 33, .13);
}

/* ================================================================ sections */
.section { padding: 96px 0; }

.section--edit { background: var(--linen); }

.section--spotlight {
  background: var(--oat);
  border-top: 1px solid var(--clay);
  border-bottom: 1px solid var(--clay);
}

.section__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 44px;
}

.section__title {
  font-family: var(--display);
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  font-weight: 400;
  font-variation-settings: "SOFT" 40, "WONK" 1, "opsz" 90;
  letter-spacing: -.028em;
}

.section__lede {
  color: var(--bark-60);
  max-width: 46ch;
  margin: 0;
  padding-bottom: 6px;
}

/* ================================================================ filters */
.filters {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 32px;
  padding-bottom: 4px;
}

.pill {
  font-family: var(--mono);
  font-size: .75rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 8px 16px;
  border: 1px solid var(--clay);
  background: transparent;
  color: var(--bark-60);
  border-radius: 100px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.pill:hover { border-color: var(--bark); color: var(--bark); }
.pill.is-active { background: var(--bark); border-color: var(--bark); color: var(--linen); }

/* =================================================================== grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(272px, 1fr));
  gap: 20px;
}

.card {
  display: flex; flex-direction: column;
  background: var(--linen);
  border: 1px solid var(--clay);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--bark-60);
  box-shadow: 0 18px 38px rgba(43, 39, 33, .10);
}

.card.is-hidden { display: none; }

.card__art {
  background: var(--oat);
  border-bottom: 1px solid var(--clay);
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.card__art img {
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.card:hover .card__art img { transform: scale(1.04); }

/* Amazon product shots are square and cut out on white — cropping them to 4:3
   would slice the product. Applied automatically by tools/amazon-images.mjs. */
.card__art--amazon {
  background: #fff;
  padding: 18px;
}
.card__art--amazon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card__body {
  padding: 22px 22px 20px;
  display: flex; flex-direction: column; flex: 1;
}

.card__cat {
  font-family: var(--mono);
  font-size: .6875rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--bark-60);
  margin: 0 0 9px;
}

.card__name {
  font-family: var(--display);
  font-size: 1.22rem;
  font-weight: 500;
  font-variation-settings: "SOFT" 30, "opsz" 30;
  letter-spacing: -.018em;
  line-height: 1.22;
  margin-bottom: 10px;
}

.card__solve {
  font-size: .9375rem;
  color: var(--bark-60);
  line-height: 1.58;
  margin-bottom: 20px;
}

.card__foot {
  margin-top: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}

.price {
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.grid__empty {
  text-align: center;
  color: var(--bark-60);
  padding: 56px 0 8px;
  margin: 0;
}

.grid__note {
  font-family: var(--mono);
  font-size: .75rem;
  color: var(--bark-60);
  margin: 26px 0 0;
}

/* ============================================================== spotlight */
.spot {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  padding: 44px 0;
  border-top: 1px solid var(--clay);
}
.spot:first-of-type { border-top: 0; padding-top: 8px; }

.spot--flip .spot__art { order: 2; }

.spot__art {
  border: 1px solid var(--clay);
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 3 / 2;
}
.spot__art img { height: 100%; object-fit: cover; }

.spot__name {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 400;
  font-variation-settings: "SOFT" 40, "WONK" 1, "opsz" 60;
  letter-spacing: -.026em;
  margin-bottom: 16px;
}

.spot__copy p { color: var(--bark-60); }

.spot__who {
  border-left: 2px solid var(--deep);
  padding-left: 16px;
  font-size: .9375rem;
  margin-bottom: 26px;
}
.spot__who strong { color: var(--bark); font-weight: 600; }

/* ============================================================ email guide */
.section--guide {
  background: var(--bark);
  color: var(--linen);
}

.guide {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 64px;
  align-items: start;
}

.guide__title {
  font-family: var(--display);
  font-size: clamp(2.2rem, 4.4vw, 3.2rem);
  font-weight: 400;
  font-variation-settings: "SOFT" 40, "WONK" 1, "opsz" 90;
  letter-spacing: -.028em;
  margin-bottom: 20px;
}

.guide__lede {
  color: rgba(243, 238, 229, .72);
  font-size: 1.0625rem;
  max-width: 46ch;
  margin-bottom: 28px;
}

.guide__list { display: grid; gap: 12px; }
.guide__list li {
  position: relative;
  padding-left: 26px;
  font-size: .9375rem;
  color: rgba(243, 238, 229, .82);
  line-height: 1.55;
}
.guide__list li::before {
  content: "";
  position: absolute; left: 0; top: .55em;
  width: 12px; height: 1.5px;
  background: var(--clay);
}

.guide__form-wrap {
  background: rgba(243, 238, 229, .055);
  border: 1px solid rgba(243, 238, 229, .17);
  border-radius: var(--r-lg);
  padding: 32px;
}

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--mono);
  font-size: .6875rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(243, 238, 229, .6);
  margin-bottom: 8px;
}
.field input {
  width: 100%;
  font-family: var(--body);
  font-size: 1rem;
  padding: 13px 16px;
  background: rgba(243, 238, 229, .07);
  border: 1px solid rgba(243, 238, 229, .22);
  border-radius: var(--r-sm);
  color: var(--linen);
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.field input::placeholder { color: rgba(243, 238, 229, .38); }
.field input:focus {
  border-color: var(--clay);
  background: rgba(243, 238, 229, .11);
  outline: none;
}
.field input:focus-visible { outline: 2px solid var(--clay); outline-offset: 2px; }
.field input[aria-invalid="true"] { border-color: #C98B7A; }

.field__error {
  font-size: .8125rem;
  color: #E0A796;
  margin: 8px 0 0;
}

.section--guide .btn--primary {
  background: var(--linen);
  border-color: var(--linen);
  color: var(--bark);
  margin-top: 4px;
}
.section--guide .btn--primary:hover { background: #fff; border-color: #fff; }

.guide__micro {
  font-size: .8125rem;
  color: rgba(243, 238, 229, .55);
  margin: 16px 0 0;
  line-height: 1.5;
}

.guide__success {
  font-family: var(--mono);
  font-size: .875rem;
  color: var(--clay);
  margin: 16px 0 0;
}

/* ================================================================= footer */
.footer {
  background: var(--linen);
  padding: 64px 0 44px;
  border-top: 1px solid var(--clay);
}

.footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px 56px;
}

.footer__brand p {
  color: var(--bark-60);
  font-size: .9375rem;
  max-width: 34ch;
  margin: 14px 0 0;
}
.logo--footer { margin-right: 0; }

.footer__nav { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.footer__nav a {
  font-size: .9375rem;
  color: var(--bark-60);
  text-decoration: none;
  transition: color .2s var(--ease);
}
.footer__nav a:hover { color: var(--bark); }

.footer__legal {
  grid-column: 1 / -1;
  border-top: 1px solid var(--clay);
  padding-top: 26px;
  max-width: 78ch;
}
.footer__legal p {
  font-size: .8125rem;
  color: var(--bark-60);
  line-height: 1.6;
}
.footer__legal strong { color: var(--bark); }
.footer__copy {
  font-family: var(--mono);
  font-size: .75rem;
  margin: 20px 0 0;
}

/* ================================================================= motion */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise .8s var(--ease) forwards;
  animation-delay: var(--d, 0ms);
}
@keyframes rise { to { opacity: 1; transform: none; } }

/* Only animated cards start hidden. The reveal observer is scoped to
   #grid, so anything outside it must never be set to opacity:0. */
#grid .card, .spot { opacity: 0; transform: translateY(22px); }
#grid .card.in, .spot.in {
  opacity: 1; transform: none;
  transition: opacity .6s var(--ease), transform .6s var(--ease),
              box-shadow .3s var(--ease), border-color .3s var(--ease);
}

/* ============================================================= responsive */
@media (max-width: 1000px) {
  /* Copy leads on narrow screens — the headline and budget builder are the
     conversion path, so the desk scene closes the hero instead of opening it. */
  .hero__inner { grid-template-columns: 1fr; gap: 44px; }
  .hero__art { max-width: 460px; margin: 0 auto; width: 100%; }
  .builder { max-width: none; }
  .section__head { grid-template-columns: 1fr; gap: 20px; align-items: start; }
  .spot { grid-template-columns: 1fr; gap: 32px; }
  .spot--flip .spot__art { order: 0; }
  .guide { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 720px) {
  .hero { padding: 40px 0 60px; }
  .hero__art { max-width: 380px; }
  .section { padding: 68px 0; }

  .nav__inner { gap: 16px; padding: 14px 20px; }
  .nav__links { display: none; }

  .wrap, .hero__inner { padding-left: 20px; padding-right: 20px; }

  .hero__sub { font-size: 1.0625rem; margin-bottom: 30px; }

  .builder { padding: 22px 20px 24px; }
  .chip { min-width: 0; padding: 10px 8px; font-size: .8125rem; }
  .tally__total { font-size: 1.85rem; }

  /* keep the filter row on one swipeable line */
  .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    margin-left: -20px;
    margin-right: -20px;
    padding: 0 20px 6px;
  }
  .filters::-webkit-scrollbar { display: none; }

  .grid { grid-template-columns: 1fr; gap: 16px; }
  .card__art { aspect-ratio: 3 / 2; }
  .card__foot { flex-direction: column; align-items: stretch; gap: 12px; }
  .price { text-align: center; }
  .btn--card { width: 100%; }

  .guide__form-wrap { padding: 24px 20px; }

  .footer__inner { grid-template-columns: 1fr; }
  .footer__nav { flex-direction: row; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal, .card, .spot { opacity: 1; transform: none; }
}

.footer__domain {
  font-family: var(--mono);
  font-size: .75rem;
  letter-spacing: .06em;
  color: var(--bark-60);
  margin-top: 10px;
}

/* ============================================================== articles
   Shared shell for the long-form pages. Narrow measure, generous leading,
   the same warm palette as the rest of the site. */
.art { padding: 56px 0 96px; }
.art__wrap { width: 100%; max-width: 720px; margin: 0 auto; padding: 0 24px; }

.crumb {
  font-family: var(--mono);
  font-size: .6875rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--bark-60);
  margin-bottom: 26px;
}
.crumb a { text-decoration: none; border-bottom: 1px solid var(--clay); }
.crumb a:hover { color: var(--bark); border-bottom-color: var(--bark); }

.art__title {
  font-family: var(--display);
  font-size: clamp(2.1rem, 5vw, 3.1rem);
  font-weight: 400;
  font-variation-settings: "SOFT" 40, "WONK" 1, "opsz" 90;
  letter-spacing: -.03em;
  margin-bottom: 20px;
}
.art__standfirst {
  font-size: 1.1875rem;
  line-height: 1.6;
  color: var(--bark-60);
  margin-bottom: 26px;
}
.art__meta {
  font-family: var(--mono);
  font-size: .6875rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--bark-60);
  padding-bottom: 30px;
  border-bottom: 1px solid var(--clay);
  margin-bottom: 40px;
}

.art__body > * { max-width: 100%; }
.art__body p { font-size: 1.0625rem; line-height: 1.72; margin: 0 0 1.25em; }
.art__body h2 {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 500;
  font-variation-settings: "SOFT" 30, "opsz" 40;
  letter-spacing: -.02em;
  margin: 46px 0 16px;
}
.art__body h3 {
  font-family: var(--body);
  font-size: 1.0625rem;
  font-weight: 600;
  margin: 32px 0 10px;
}
.art__body ul, .art__body ol { margin: 0 0 1.4em; padding-left: 0; }
.art__body li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 11px;
  line-height: 1.68;
}
.art__body ul li::before {
  content: "";
  position: absolute; left: 2px; top: .72em;
  width: 13px; height: 1.5px; background: var(--clay);
}
.art__body ol { counter-reset: n; }
.art__body ol li { counter-increment: n; }
.art__body ol li::before {
  content: counter(n);
  position: absolute; left: 0; top: .04em;
  font-family: var(--mono); font-size: .8125rem; color: var(--deep);
}
.art__body strong { font-weight: 600; color: var(--bark); }
.art__body a { color: var(--deep); text-decoration: none; border-bottom: 1px solid rgba(33,56,78,.3); }
.art__body a:hover { border-bottom-color: var(--deep); }

.art__body table {
  width: 100%; border-collapse: collapse;
  margin: 0 0 1.6em; font-size: .9375rem;
}
.art__body th {
  font-family: var(--mono); font-size: .6875rem; letter-spacing: .1em;
  text-transform: uppercase; text-align: left; color: var(--bark-60);
  background: var(--oat); padding: 11px 14px;
}
.art__body td { padding: 12px 14px; border-bottom: 1px solid var(--clay); vertical-align: top; }
.art__body tbody tr:nth-child(even) { background: rgba(230,220,203,.42); }

.note {
  background: rgba(230,220,203,.6);
  border-left: 3px solid var(--deep);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 22px 24px;
  margin: 0 0 1.6em;
}
.note p { margin: 0; font-size: .9875rem; }
.note p + p { margin-top: .8em; }
.note__label {
  font-family: var(--mono); font-size: .6875rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--deep); display: block; margin-bottom: 9px;
}

/* inline product recommendation */
.rec {
  display: flex; gap: 18px; align-items: center;
  border: 1px solid var(--clay); border-radius: var(--r-lg);
  padding: 16px; margin: 0 0 1.6em; background: var(--linen);
}
.rec img { width: 108px; height: 84px; object-fit: cover; border-radius: var(--r-sm); flex: none; }
.rec__body { flex: 1; min-width: 0; }
.rec__name { font-family: var(--body); font-weight: 600; font-size: .9875rem; margin: 0 0 3px; }
.rec__why { font-size: .875rem; color: var(--bark-60); margin: 0; line-height: 1.5; }
.rec__side { text-align: right; flex: none; }
.rec__price { font-family: var(--mono); font-size: .9375rem; display: block; margin-bottom: 8px; }

/* end-of-article guide capture */
.artcta {
  background: var(--bark); color: var(--linen);
  border-radius: var(--r-lg); padding: 38px 34px; margin: 48px 0 0;
}
.artcta h2 {
  font-family: var(--display); font-size: 1.75rem; font-weight: 400;
  font-variation-settings: "SOFT" 40, "WONK" 1;
  margin: 0 0 12px; color: var(--linen);
}
.artcta p { color: rgba(243,238,229,.72); font-size: .9875rem; margin: 0 0 22px; }
.artcta .btn { background: var(--linen); border-color: var(--linen); color: var(--bark); }
.artcta .btn:hover { background: #fff; border-color: #fff; }

.readnext { margin-top: 54px; padding-top: 30px; border-top: 1px solid var(--clay); }
.readnext h2 { font-family: var(--mono); font-size: .6875rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--bark-60); font-weight: 400; margin: 0 0 16px; }
.readnext ul { display: grid; gap: 10px; }
.readnext li { padding-left: 0; }
.readnext li::before { display: none; }
.readnext a { font-family: var(--display); font-size: 1.0625rem; text-decoration: none;
  border-bottom: 1px solid var(--clay); }
.readnext a:hover { border-bottom-color: var(--bark); }

@media (max-width: 720px) {
  .art { padding: 40px 0 72px; }
  .rec { flex-wrap: wrap; }
  .rec img { width: 100%; height: 150px; }
  .rec__side { text-align: left; width: 100%; }
  .artcta { padding: 28px 22px; }
  .art__body table { font-size: .875rem; }
  .art__body th, .art__body td { padding: 9px 10px; }
}

/* guide cards carry no photo — let the body own the whole card */
#reading .card__body { padding: 26px 24px 24px; }
#reading .card__name { line-height: 1.28; margin-bottom: 12px; }
#reading .card__name a { text-decoration: none; }
#reading .card__name a:hover { color: var(--deep); }
#reading .card__solve { margin-bottom: 0; }
