/* ---------- Tokens ---------- */
:root {
  --bg: #f7f4ec;
  --surface: #fffcf7;
  --surface-2: #f1ede2;
  --text: #2e2a24;
  --text-muted: #6b645a;
  --text-faint: #9a9387;
  --border: #d9d1c4;
  --sage: #4f6f52;
  --sage-deep: #3e5a40;
  --clay: #b77a56;
  --clay-deep: #985f3f;

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 18px;

  --shadow-soft: 0 1px 2px rgba(46, 42, 36, 0.04),
    0 8px 24px -16px rgba(46, 42, 36, 0.18);

  --container: 1180px;

  --ff-display: "Gambarino", "Source Serif 4", Georgia, serif;
  --ff-body: "Satoshi", "DM Sans", "Source Sans 3", -apple-system,
    BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

/* ---------- Reset-ish ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--ff-display);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--text);
}
p {
  margin: 0;
}

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

.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;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--text);
  color: var(--surface);
  padding: 10px 14px;
  border-radius: 0 0 8px 0;
  z-index: 100;
}
.skip-link:focus {
  left: 0;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(247, 244, 236, 0.86);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--sage);
}
.logo-mark {
  flex: none;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-name {
  font-family: var(--ff-display);
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--text);
}
.logo-tag {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 2px;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 26px;
}
.primary-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding: 6px 0;
  transition: color 160ms ease;
}
.primary-nav a:hover {
  color: var(--sage-deep);
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--sage);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms ease;
}
.primary-nav a:hover::after {
  transform: scaleX(1);
}
.primary-nav .nav-cta {
  background: var(--text);
  color: var(--surface);
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 500;
}
.primary-nav .nav-cta:hover {
  background: var(--sage-deep);
  color: var(--surface);
}
.primary-nav .nav-cta::after {
  display: none;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 10px;
  padding: 0;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 9px;
  right: 9px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}
.nav-toggle span:nth-child(1) {
  top: 13px;
}
.nav-toggle span:nth-child(2) {
  top: 19px;
}
.nav-toggle span:nth-child(3) {
  top: 25px;
}

.primary-nav-mobile {
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.primary-nav-mobile ul {
  display: flex;
  flex-direction: column;
  padding: 8px 24px 16px;
}
.primary-nav-mobile a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-weight: 500;
}
.primary-nav-mobile li:last-child a {
  border-bottom: 0;
}

/* ---------- Hero ---------- */
.hero {
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(560px 320px at 12% 20%, rgba(79, 111, 82, 0.08), transparent 70%),
    radial-gradient(520px 320px at 95% 90%, rgba(183, 122, 86, 0.10), transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 56px;
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage-deep);
  font-weight: 500;
  background: rgba(79, 111, 82, 0.08);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(79, 111, 82, 0.2);
}
.eyebrow-dot {
  width: 6px;
  height: 6px;
  background: var(--sage);
  border-radius: 50%;
  display: inline-block;
}

.hero-title {
  font-size: clamp(40px, 6.2vw, 72px);
  line-height: 1.02;
  margin: 22px 0 18px;
  letter-spacing: -0.02em;
}
.hero-title em {
  font-style: italic;
  color: var(--sage-deep);
}
.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 56ch;
  line-height: 1.55;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 15px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 140ms ease, background 160ms ease, color 160ms ease,
    border-color 160ms ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--sage);
  color: var(--surface);
}
.btn-primary:hover {
  background: var(--sage-deep);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover {
  background: var(--surface);
  border-color: var(--text);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 14px;
}
.hero-meta strong {
  color: var(--text);
  font-weight: 700;
  margin-right: 6px;
}

/* Hero product photography */
.hero-art {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 12px 12px 14px;
  box-shadow: var(--shadow-soft);
  margin: 0;
}
.product-hero-frame {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: calc(var(--radius-lg) - 5px);
  border: 1px solid var(--border);
  background: var(--surface-2);
}
.product-hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
}
.shelf-frame {
  display: grid;
  gap: 22px;
  position: relative;
}
.shelf-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 10px 8px 12px;
  border-bottom: 2px solid var(--border);
  min-height: 78px;
}
.object {
  display: inline-block;
  border-radius: 4px;
}
.jar {
  width: 22px;
  height: 50px;
  background: var(--sage);
  border-radius: 4px 4px 6px 6px;
  position: relative;
}
.jar::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 3px;
  right: 3px;
  height: 6px;
  background: var(--clay);
  border-radius: 2px;
}
.jar.tall {
  height: 62px;
}
.jar.short {
  height: 38px;
  background: var(--clay);
}
.jar.short::before {
  background: var(--sage);
}
.book {
  width: 14px;
  height: 56px;
  background: var(--text);
}
.book-clay {
  background: var(--clay);
  height: 50px;
}
.basket {
  width: 56px;
  height: 38px;
  background: repeating-linear-gradient(
    45deg,
    var(--clay) 0,
    var(--clay) 4px,
    var(--clay-deep) 4px,
    var(--clay-deep) 8px
  );
  border-radius: 4px 4px 8px 8px;
  border: 1.5px solid var(--clay-deep);
}
.basket-wide {
  width: 80px;
  height: 42px;
}
.basket-narrow {
  width: 44px;
  height: 32px;
}
.box {
  width: 64px;
  height: 44px;
  background: var(--surface-2);
  border: 1.5px solid var(--border);
  border-radius: 3px;
  position: relative;
}
.box::before {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 50%;
  height: 1.5px;
  background: var(--border);
}
.box-tall {
  height: 56px;
  background: var(--sage);
  border-color: var(--sage-deep);
}
.box-tall::before {
  background: rgba(255, 252, 247, 0.4);
}
.plant {
  width: 36px;
  height: 60px;
  background: var(--clay);
  border-radius: 4px 4px 18px 18px;
  position: relative;
}
.leaf {
  position: absolute;
  width: 22px;
  height: 30px;
  background: var(--sage);
  border-radius: 60% 0 60% 60%;
  top: -22px;
  left: 6px;
  transform: rotate(-20deg);
}
.leaf-2 {
  left: 14px;
  top: -28px;
  transform: rotate(15deg);
  background: var(--sage-deep);
  width: 18px;
  height: 26px;
}

.art-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.art-tag-dot {
  width: 8px;
  height: 8px;
  background: var(--clay);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(183, 122, 86, 0.18);
}

/* ---------- Section heads ---------- */
.section-head {
  margin: 0 0 32px;
  max-width: 720px;
}
.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  max-width: none;
}
.section-head-row > div {
  max-width: 620px;
}
.kicker {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clay-deep);
  font-weight: 600;
  margin-bottom: 10px;
}
.section-head h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.section-lede {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 38ch;
}
.text-link {
  font-weight: 500;
  color: var(--sage-deep);
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}
.text-link:hover {
  color: var(--text);
}

/* ---------- Categories ---------- */
.categories {
  padding: 64px 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.cat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  position: relative;
}
.cat-card:hover {
  transform: translateY(-2px);
  border-color: var(--sage);
  box-shadow: var(--shadow-soft);
}
.cat-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(79, 111, 82, 0.10);
  color: var(--sage-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}
.cat-card h3 {
  font-size: 22px;
  letter-spacing: -0.01em;
}
.cat-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.5;
}
.cat-link {
  margin-top: auto;
  padding-top: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--sage-deep);
  letter-spacing: 0.01em;
}
.cat-card-feature {
  background: linear-gradient(140deg, var(--sage) 0%, var(--sage-deep) 100%);
  color: var(--surface);
  border-color: var(--sage-deep);
}
.cat-card-feature .cat-icon {
  background: rgba(255, 252, 247, 0.16);
  color: var(--surface);
}
.cat-card-feature h3,
.cat-card-feature p,
.cat-card-feature .cat-link {
  color: var(--surface);
}
.cat-card-feature p {
  opacity: 0.86;
}

/* ---------- Featured Products ---------- */
.featured-products {
  padding: 72px 0;
  background:
    radial-gradient(520px 240px at 10% 8%, rgba(79, 111, 82, 0.08), transparent 72%),
    var(--surface);
  border-top: 1px solid var(--border);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.product-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.product-card:hover {
  transform: translateY(-2px);
  border-color: var(--sage);
  box-shadow: var(--shadow-soft);
}
.product-media {
  margin: 0;
  height: 188px;
  overflow: hidden;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}
.product-card:hover .product-media img {
  transform: scale(1.035);
}
.product-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.product-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.product-room,
.retailer {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.product-room {
  color: var(--clay-deep);
}
.product-rating {
  color: var(--sage-deep);
  font-size: 13px;
  font-weight: 700;
  background: rgba(79, 111, 82, 0.10);
  border: 1px solid rgba(79, 111, 82, 0.18);
  border-radius: 999px;
  padding: 3px 8px;
}
.product-card h3 {
  font-size: 23px;
  line-height: 1.15;
}
.product-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.5;
}
.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.price {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.retailer {
  color: var(--text-faint);
}
.product-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-top: 4px;
  min-height: 42px;
  border-radius: 999px;
  background: var(--text);
  color: var(--surface);
  font-size: 14px;
  font-weight: 700;
  transition: background 160ms ease, transform 140ms ease;
}
.product-button:hover {
  background: var(--sage-deep);
  transform: translateY(-1px);
}

.product-button-muted,
.product-button-muted:hover {
  background: var(--clay-pale);
  color: var(--text-muted);
  cursor: default;
  transform: none;
}

/* ---------- Start Here / Articles ---------- */
.start-here {
  padding: 72px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.article-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.article-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}
.article-thumb {
  height: 200px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease, filter 260ms ease;
}
.article-card:hover .article-thumb img {
  transform: scale(1.035);
  filter: saturate(1.02);
}
.thumb-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--surface);
  color: var(--text);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  z-index: 2;
}
.thumb-shape {
  position: relative;
  width: 75%;
  height: 70%;
}

/* Article 1: stacked room shapes */
.thumb-shape-room .mini-shelf {
  position: absolute;
  left: 8%;
  right: 8%;
  height: 4px;
  background: var(--text);
  border-radius: 2px;
}
.thumb-shape-room .mini-shelf {
  top: 38%;
}
.thumb-shape-room .mini-shelf-2 {
  top: 70%;
}
.thumb-shape-room .mini-bin {
  position: absolute;
  width: 30%;
  height: 28%;
  background: var(--clay);
  border-radius: 4px;
  bottom: 12%;
  left: 18%;
  border: 1.5px solid var(--clay-deep);
}
.thumb-shape-room .mini-bin-clay {
  background: var(--sage);
  border-color: var(--sage-deep);
  left: auto;
  right: 18%;
  width: 24%;
  height: 22%;
}

/* Article 2: pantry jars */
.thumb-shape-pantry .pantry-jar {
  position: absolute;
  bottom: 14%;
  width: 18%;
  height: 60%;
  background: var(--surface);
  border: 1.5px solid var(--text);
  border-radius: 4px 4px 6px 6px;
}
.thumb-shape-pantry .pantry-jar::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 4px;
  right: 4px;
  height: 6px;
  background: var(--clay);
  border-radius: 2px;
}
.thumb-shape-pantry .pantry-jar {
  left: 12%;
}
.thumb-shape-pantry .pantry-jar-2 {
  left: 36%;
  height: 70%;
}
.thumb-shape-pantry .pantry-jar-3 {
  left: 60%;
  height: 50%;
}
.thumb-shape-pantry .pantry-bin {
  position: absolute;
  right: 4%;
  bottom: 14%;
  width: 14%;
  height: 32%;
  background: var(--sage);
  border-radius: 3px;
}

/* Article 3: under-sink */
.thumb-shape-sink {
  height: 80%;
}
.thumb-shape-sink .sink-pipe {
  position: absolute;
  top: 8%;
  left: 44%;
  width: 12%;
  height: 50%;
  background: var(--text-muted);
  border-radius: 3px;
}
.thumb-shape-sink .sink-pipe::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: -40%;
  width: 180%;
  height: 18%;
  background: var(--text-muted);
  border-radius: 3px;
}
.thumb-shape-sink .sink-bin {
  position: absolute;
  bottom: 6%;
  width: 32%;
  height: 30%;
  background: var(--clay);
  border-radius: 4px;
  border: 1.5px solid var(--clay-deep);
  left: 6%;
}
.thumb-shape-sink .sink-bin-2 {
  left: auto;
  right: 6%;
  background: var(--sage);
  border-color: var(--sage-deep);
}
.thumb-shape-sink .sink-tier {
  position: absolute;
  top: 22%;
  left: 8%;
  right: 8%;
  height: 4px;
  background: var(--text);
  border-radius: 2px;
}

.article-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.article-meta {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-weight: 500;
}
.article-card h3 {
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.article-body p {
  color: var(--text-muted);
  font-size: 15px;
}
.read-more {
  margin-top: auto;
  padding-top: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--sage-deep);
}

/* ---------- Guides ---------- */
.guides {
  padding: 72px 0;
}
.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.guide-card {
  display: grid;
  grid-template-columns: 132px 58px 1fr;
  gap: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
  align-items: stretch;
}
.guide-card:hover {
  border-color: var(--sage);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}
.guide-media {
  margin: 0;
  border-radius: calc(var(--radius) - 2px);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-2);
  min-height: 152px;
}
.guide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}
.guide-card:hover .guide-media img {
  transform: scale(1.035);
}
.guide-rank {
  font-family: var(--ff-display);
  font-size: 44px;
  line-height: 1;
  color: var(--clay);
  letter-spacing: -0.02em;
  padding-top: 8px;
}
.guide-room {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage-deep);
  font-weight: 600;
  margin-bottom: 6px;
}
.guide-card h3 {
  font-size: 22px;
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.guide-bullets {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.guide-bullets li {
  font-size: 14.5px;
  color: var(--text-muted);
  padding-left: 18px;
  position: relative;
}
.guide-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 2px;
  background: var(--sage);
  border-radius: 2px;
}
.guide-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}
.badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
}
.badge-sage {
  background: rgba(79, 111, 82, 0.12);
  color: var(--sage-deep);
}
.badge-clay {
  background: rgba(183, 122, 86, 0.14);
  color: var(--clay-deep);
}
.guide-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

/* ---------- Signup ---------- */
.signup {
  padding: 56px 0;
  border-top: 1px solid var(--border);
  background:
    radial-gradient(540px 240px at 80% 50%, rgba(183, 122, 86, 0.12), transparent 70%),
    var(--bg);
}
.signup-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: center;
}
.signup-copy h2 {
  font-size: clamp(26px, 3vw, 34px);
  margin-bottom: 8px;
}
.signup-copy p {
  color: var(--text-muted);
  max-width: 48ch;
}
.signup-form {
  display: flex;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 6px 6px 18px;
  box-shadow: var(--shadow-soft);
}
.signup-form input {
  flex: 1;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 15px;
  color: var(--text);
  padding: 12px 0;
  min-width: 0;
}
.signup-form input:focus {
  outline: none;
}
.signup-form button {
  border: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 56px 0 28px;
  font-size: 14.5px;
  color: var(--text-muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 2fr;
  gap: 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.logo-footer {
  color: var(--sage-deep);
}
.logo-footer .logo-name {
  font-size: 18px;
}
.footer-tag {
  margin-top: 10px;
  color: var(--text-muted);
  max-width: 28ch;
}
.footer-nav h4,
.footer-disclosure h4 {
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text);
  margin-bottom: 14px;
}
.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: var(--text-muted);
  transition: color 160ms ease;
}
.footer-nav a:hover {
  color: var(--text);
}
.footer-disclosure p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-muted);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 22px;
  flex-wrap: wrap;
  font-size: 13px;
}
.footer-legal {
  display: flex;
  gap: 18px;
}
.footer-legal a {
  color: var(--text-muted);
}
.footer-legal a:hover {
  color: var(--text);
}

/* ---------- Article pages ---------- */
.article-page {
  background: var(--bg);
}
.article-hero {
  padding: 56px 0 44px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(580px 320px at 10% 15%, rgba(79, 111, 82, 0.08), transparent 70%),
    radial-gradient(520px 280px at 92% 85%, rgba(183, 122, 86, 0.10), transparent 70%),
    var(--bg);
}
.article-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.breadcrumb {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--sage-deep);
  font-size: 14px;
  font-weight: 700;
}
.article-hero h1 {
  font-size: clamp(42px, 6vw, 70px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 18px 0;
  max-width: 11ch;
}
.article-deck {
  color: var(--text-muted);
  font-size: 19px;
  line-height: 1.55;
  max-width: 54ch;
}
.article-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 24px;
  color: var(--text-muted);
  font-size: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.article-hero-media {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: var(--shadow-soft);
}
.article-hero-media img,
.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 6px);
}
.article-hero-media img {
  aspect-ratio: 4 / 3;
}
.article-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 760px);
  gap: 56px;
  padding-top: 56px;
  padding-bottom: 72px;
  align-items: start;
}
.article-sidebar {
  position: sticky;
  top: 92px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.article-disclosure,
.toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.article-disclosure h2,
.toc h2 {
  font-family: var(--ff-body);
  font-size: 12px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 10px;
}
.article-disclosure p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.55;
}
.toc ol {
  margin: 0;
  padding-left: 18px;
  color: var(--text-muted);
  display: grid;
  gap: 8px;
  font-size: 14px;
}
.toc a {
  color: var(--text-muted);
}
.toc a:hover {
  color: var(--sage-deep);
}
.article-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 5vw, 52px);
  box-shadow: var(--shadow-soft);
}
.article-content .lead {
  font-size: 21px;
  line-height: 1.55;
  color: var(--text);
}
.article-content > p,
.article-section p {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.72;
}
.article-section {
  margin-top: 46px;
  padding-top: 42px;
  border-top: 1px solid var(--border);
}
.article-section h2 {
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.08;
  margin-bottom: 18px;
}
.article-section h3 {
  font-family: var(--ff-body);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 28px 0 8px;
}
.quick-pick-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.quick-pick {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}
.quick-pick span,
.mini-product span {
  display: block;
  color: var(--clay-deep);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 7px;
}
.quick-pick strong {
  display: block;
  color: var(--text);
  font-size: 18px;
  margin-bottom: 6px;
}
.quick-pick p {
  font-size: 14.5px;
  line-height: 1.55;
}
.callout {
  margin-top: 22px;
  background: rgba(79, 111, 82, 0.08);
  border: 1px solid rgba(79, 111, 82, 0.18);
  border-radius: var(--radius);
  padding: 22px;
}
.callout h3 {
  margin-top: 0;
}
.callout ul,
.article-list,
.step-list {
  margin: 12px 0 0;
  padding-left: 22px;
  color: var(--text-muted);
}
.callout li,
.article-list li,
.step-list li {
  margin: 8px 0;
  line-height: 1.65;
}
.article-image {
  margin: 24px 0 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 10px;
  background: var(--bg);
}
.article-image img {
  aspect-ratio: 16 / 10;
}
.article-product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 22px;
}
.mini-product {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 16px;
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
}
.mini-product img {
  width: 128px;
  height: 116px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border);
}
.mini-product h3 {
  font-family: var(--ff-display);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 7px;
}
.mini-product p {
  font-size: 14.5px;
  line-height: 1.55;
}
.article-cta {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.article-cta .btn {
  margin-top: 18px;
}

/* ---------- Focus ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-art {
    order: 2;
  }
  .cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .article-grid {
    grid-template-columns: 1fr;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .guide-grid {
    grid-template-columns: 1fr;
  }
  .signup-inner {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-disclosure {
    grid-column: 1 / -1;
  }
  .article-hero-grid,
  .article-layout {
    grid-template-columns: 1fr;
  }
  .article-sidebar {
    position: static;
    order: 2;
  }
  .article-content {
    order: 1;
  }
  .article-product-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .primary-nav {
    display: none;
  }
  .nav-toggle {
    display: inline-block;
  }
  .hero {
    padding: 40px 0 40px;
  }
  .hero-title {
    font-size: clamp(36px, 9vw, 52px);
  }
  .hero-meta {
    gap: 16px;
  }
  .cat-grid {
    grid-template-columns: 1fr;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .product-media {
    height: 220px;
  }
  .guide-card {
    grid-template-columns: 1fr;
  }
  .guide-media {
    min-height: 220px;
  }
  .guide-rank {
    font-size: 32px;
    padding-top: 0;
  }
  .signup-form {
    flex-direction: column;
    border-radius: 16px;
    padding: 12px;
    gap: 10px;
  }
  .signup-form input {
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
  }
  .signup-form button {
    width: 100%;
    justify-content: center;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .logo-tag {
    display: none;
  }
  .article-hero {
    padding: 36px 0;
  }
  .article-layout {
    gap: 28px;
    padding-top: 32px;
    padding-bottom: 48px;
  }
  .quick-pick-grid {
    grid-template-columns: 1fr;
  }
  .mini-product {
    grid-template-columns: 1fr;
  }
  .mini-product img {
    width: 100%;
    height: 180px;
  }
}
