/* ============================================================
   RIDGELINE FOODS — Site styles
   Builds on colors_and_type.css. Page-level layout & components.
   ============================================================ */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
img, svg { max-width: 100%; display: block; }
button { font-family: inherit; }
ul { list-style: none; padding: 0; margin: 0; }

/* ---------- Reusable container ---------- */
.container { max-width: var(--container-w); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 24px; }

/* ---------- Sticky nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 239, 230, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--container-w); margin: 0 auto;
  padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; color: var(--fg-1); }
.nav-brand img { height: 18px; }
.nav-brand-word {
  font-family: var(--font-display); font-style: italic;
  font-size: 26px; letter-spacing: -0.01em; line-height: 1;
}
.nav-links { display: flex; gap: 26px; }
.nav-links a {
  font-size: 14px; color: var(--fg-1); font-weight: 500;
  letter-spacing: 0.01em;
  transition: color var(--dur-fast) var(--ease-out);
}
.nav-links a:hover { color: var(--accent); }
.nav-links a.is-active { color: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 6px; }
.nav-icon-btn {
  width: 36px; height: 36px; border-radius: var(--r-pill);
  background: transparent; border: none; color: var(--fg-1);
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
.nav-icon-btn:hover { background: var(--rf-bone-200); }
.nav-cart {
  height: 36px; padding: 0 14px 0 12px;
  border-radius: var(--r-pill);
  background: var(--rf-stone-900); color: var(--rf-bone-50);
  border: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500;
  transition: background var(--dur-fast) var(--ease-out);
}
.nav-cart:hover { background: var(--rf-stone-800); }
.nav-cart-num { font-family: var(--font-mono); font-size: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px; border-radius: var(--r-md);
  font-family: var(--font-sans); font-size: 15px; font-weight: 500;
  cursor: pointer; border: none; text-decoration: none;
  transition: background var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.btn:active { transform: scale(0.985); }
.btn-primary { background: var(--rf-stone-900); color: var(--rf-bone-50); }
.btn-primary:hover { background: var(--rf-stone-800); }
.btn-accent { background: var(--accent); color: var(--accent-fg); font-weight: 600; }
.btn-accent:hover { background: var(--accent-hover); }
.btn-ghost { background: transparent; color: var(--fg-1); border: 1px solid var(--border-ink); }
.btn-ghost:hover { background: var(--rf-bone-200); }
.btn-pill { border-radius: var(--r-pill); padding: 8px 14px; font-size: 13px; }
.btn-sm { padding: 10px 16px; font-size: 14px; }

/* ---------- Eyebrows & section heads ---------- */
.eyebrow-row {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-sans); font-size: 12px; font-weight: 600;
  color: var(--fg-3); letter-spacing: 0.06em; text-transform: uppercase;
}
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.section-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 36px; }
.section-head .h-display {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1; letter-spacing: -0.02em;
  font-weight: 400; color: var(--fg-1); margin: 0;
}
.section-head .h-display em { font-style: italic; color: var(--accent); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--bg); }
.hero .topo {
  position: absolute; inset: 0;
  background-image: url('pattern-topo.svg');
  background-size: cover;
  opacity: 0.55; pointer-events: none;
}
.hero-inner {
  position: relative; max-width: var(--container-w); margin: 0 auto;
  padding: 80px 24px 96px;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(56px, 8vw, 96px);
  font-weight: 400; line-height: 0.96; letter-spacing: -0.02em;
  color: var(--fg-1); margin: 0;
}
.hero-headline em { font-style: italic; color: var(--accent); }
.hero-lede {
  font-family: var(--font-sans); font-size: 18px; line-height: 1.55;
  color: var(--fg-2); margin-top: 22px; max-width: 480px;
}
.hero-cta-row { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.hero-proof { display: flex; gap: 36px; margin-top: 56px; flex-wrap: wrap; }
.hero-proof-n {
  font-family: var(--font-display); font-style: italic;
  font-size: 40px; line-height: 1; color: var(--accent); letter-spacing: -0.02em;
}
.hero-proof-l { font-size: 12px; color: var(--fg-3); margin-top: 6px; letter-spacing: 0.02em; }
.hero-art { display: flex; justify-content: center; }
.hero-art-card {
  width: 360px; height: 360px; border-radius: 50%;
  background: var(--rf-bone-200);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
}
.hero-art-card img { height: 280px; }

/* Compact hero variant for subpages */
.hero-compact { position: relative; overflow: hidden; background: var(--bg); }
.hero-compact .topo {
  position: absolute; inset: 0;
  background-image: url('pattern-topo.svg');
  background-size: cover; opacity: 0.35; pointer-events: none;
}
.hero-compact-inner {
  position: relative; max-width: var(--container-w); margin: 0 auto;
  padding: 80px 24px 60px; text-align: center;
}
.hero-compact h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 6.5vw, 84px);
  font-weight: 400; line-height: 1; letter-spacing: -0.02em;
  color: var(--fg-1); margin: 18px 0 0;
}
.hero-compact h1 em { font-style: italic; color: var(--accent); }
.hero-compact .lede {
  margin: 22px auto 0; max-width: 580px;
  font-size: 18px; line-height: 1.55; color: var(--fg-2);
}

/* ---------- Product cards ---------- */
.product-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.product-card {
  position: relative;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
  text-decoration: none; color: inherit;
  display: block;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product-tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--accent); color: var(--accent-fg);
  font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 9px; border-radius: var(--r-pill);
}
.product-art {
  height: 220px; background: var(--rf-bone-100);
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid var(--border);
}
.product-art img { max-height: 170px; max-width: 85%; }
.product-art.is-bar img { max-height: 90px; }
.product-body { padding: 18px; }
.product-sku {
  font-family: var(--font-mono); font-size: 11px; color: var(--fg-3);
  margin-bottom: 6px; letter-spacing: 0.02em;
}
.product-name {
  font-family: var(--font-display); font-style: italic;
  font-size: 26px; font-weight: 400; color: var(--fg-1);
  margin: 0; letter-spacing: -0.01em;
}
.product-desc {
  font-size: 14px; line-height: 1.5; color: var(--fg-2);
  margin: 8px 0 18px;
}
.product-foot {
  display: flex; align-items: center; justify-content: space-between;
}
.product-price {
  font-family: var(--font-mono); font-size: 16px; font-weight: 600;
  color: var(--fg-1);
}
.product-add {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: var(--r-pill);
  background: var(--rf-stone-900); color: var(--rf-bone-50);
  border: none; font-size: 13px; font-weight: 500; cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out);
}
.product-add:hover { background: var(--rf-stone-800); }

/* ---------- Story / quote ---------- */
.story-band { background: var(--rf-bone-200); padding: 96px 24px; }
.story-inner { max-width: 880px; margin: 0 auto; text-align: center; }
.story-ridge { height: 28px; margin: 0 auto 28px; color: var(--fg-1); }
.story-quote {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.2; letter-spacing: -0.01em;
  color: var(--fg-1); margin: 0; font-weight: 400;
  text-wrap: balance;
}
.story-quote em { color: var(--accent); }
.story-attr {
  margin-top: 40px; display: flex; justify-content: center; align-items: center;
  gap: 40px; flex-wrap: wrap;
}
.story-attr .name { font-size: 14px; font-weight: 600; color: var(--fg-1); }
.story-attr .role { font-size: 12px; color: var(--fg-3); margin-top: 2px; }
.story-attr .link-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 500; color: var(--fg-1);
  border-bottom: 1px solid var(--accent); padding-bottom: 2px;
}

/* ---------- Subscribe (granite card) ---------- */
.subscribe-section {
  max-width: var(--container-w); margin: 0 auto; padding: 60px 24px 80px;
}
.subscribe-card {
  background: var(--rf-stone-900);
  border-radius: var(--r-xl);
  padding: 56px;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px;
  color: var(--rf-bone-50);
  position: relative; overflow: hidden;
}
.subscribe-card .eyebrow-row {
  color: var(--rf-ochre-300); margin-bottom: 18px;
}
.subscribe-card h2 {
  font-family: var(--font-display); font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 400; line-height: 1; letter-spacing: -0.02em; margin: 0;
  color: var(--rf-bone-50);
}
.subscribe-card h2 em { font-style: italic; color: var(--rf-ochre-300); }
.subscribe-card .body {
  font-size: 16px; line-height: 1.6; color: var(--rf-sand-400);
  margin-top: 18px; max-width: 420px;
}
.subscribe-form {
  display: flex; flex-direction: column; gap: 16px; justify-content: center;
}
.subscribe-form label {
  display: block; font-size: 11px; color: var(--rf-sand-400);
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px;
}
.seg-wrap {
  display: flex; gap: 6px; background: #2A2722; padding: 4px; border-radius: var(--r-pill);
}
.seg {
  flex: 1; padding: 8px 12px; font-size: 12px; font-weight: 500;
  background: transparent; color: var(--rf-sand-400);
  border: none; border-radius: var(--r-pill); cursor: pointer;
  font-family: var(--font-sans);
}
.seg.is-on { background: var(--rf-bone-50); color: var(--rf-stone-900); }
.subscribe-form input {
  width: 100%; padding: 12px 14px;
  background: #2A2722; border: 1px solid #3D3830; border-radius: var(--r-md);
  color: var(--rf-bone-50); font-size: 14px; font-family: var(--font-sans);
}
.subscribe-form input::placeholder { color: var(--rf-stone-600); }
.subscribe-form .submit {
  padding: 14px 22px; background: var(--accent); color: var(--accent-fg);
  border: none; border-radius: var(--r-md);
  font-size: 15px; font-weight: 600; cursor: pointer; font-family: var(--font-sans);
  transition: background var(--dur-fast) var(--ease-out);
}
.subscribe-form .submit:hover { background: var(--accent-hover); }
.subscribe-form .fine {
  font-size: 11px; color: var(--rf-sand-400); text-align: center;
}

/* ---------- Footer ---------- */
.footer { background: var(--rf-bone-200); border-top: 1px solid var(--border); margin-top: 60px; }
.footer-inner {
  max-width: var(--container-w); margin: 0 auto; padding: 64px 24px 40px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 40px;
}
.footer-brand { display: flex; flex-direction: column; gap: 16px; color: var(--fg-1); }
.footer-brand img { height: 44px; margin-left: -6px; }
.footer-tag {
  font-size: 13px; color: var(--fg-2); max-width: 240px; margin: 0; line-height: 1.55;
}
.footer-social { display: flex; gap: 8px; margin-top: 8px; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 50%;
  background: #fff; border: 1px solid var(--border);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--fg-1);
  transition: transform var(--dur-fast) var(--ease-out);
}
.footer-social a:hover { transform: translateY(-1px); }
.footer-col-head {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--fg-1); margin-bottom: 14px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: var(--fg-2); }
.footer-col a:hover { color: var(--accent); }
.footer-legal {
  max-width: var(--container-w); margin: 0 auto; padding: 20px 24px 36px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: var(--fg-3); flex-wrap: wrap; gap: 12px;
}
.footer-legal-links { display: flex; gap: 22px; }
.footer-legal a:hover { color: var(--accent); }

/* ---------- Field notes cards ---------- */
.notes-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.note-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
  text-decoration: none; color: inherit;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
  display: flex; flex-direction: column;
}
.note-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.note-card .cover {
  aspect-ratio: 16/10; background: var(--rf-bone-200);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.note-card .cover .topo {
  position: absolute; inset: 0;
  background-image: url('pattern-topo.svg');
  background-size: cover; opacity: 0.7;
}
.note-card .cover .ridge {
  position: relative; height: 50px; color: var(--rf-stone-900);
}
.note-card .body { padding: 20px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.note-card .meta { font-size: 11px; color: var(--fg-3); letter-spacing: 0.06em; text-transform: uppercase; }
.note-card .title {
  font-family: var(--font-display); font-size: 22px; line-height: 1.15;
  letter-spacing: -0.01em; color: var(--fg-1); margin: 0;
}
.note-card .excerpt {
  font-size: 14px; color: var(--fg-2); line-height: 1.5;
  margin: 0; flex: 1;
}
.note-card .footer-row {
  font-size: 12px; color: var(--fg-3); margin-top: 6px;
}

/* ---------- Filter chip row ---------- */
.chip-row {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px;
  align-items: center;
}
.chip {
  padding: 8px 14px; border-radius: var(--r-pill);
  background: var(--bg-card); border: 1px solid var(--border);
  font-size: 13px; font-weight: 500; color: var(--fg-1);
  cursor: pointer; font-family: var(--font-sans);
  transition: all var(--dur-fast) var(--ease-out);
}
.chip:hover { border-color: var(--border-strong); }
.chip.is-on {
  background: var(--rf-stone-900); color: var(--rf-bone-50);
  border-color: var(--rf-stone-900);
}
.chip-sep { flex: 1; }
.sort-select {
  padding: 8px 14px; border-radius: var(--r-pill);
  background: var(--bg-card); border: 1px solid var(--border);
  font-size: 13px; font-weight: 500; color: var(--fg-1);
  font-family: var(--font-sans); cursor: pointer;
}

/* ---------- Breadcrumbs ---------- */
.crumbs {
  display: flex; gap: 8px; align-items: center;
  font-size: 12px; color: var(--fg-3);
  padding: 20px 0 0;
}
.crumbs a { color: var(--fg-3); }
.crumbs a:hover { color: var(--accent); }
.crumbs .sep { color: var(--fg-4); }

/* ---------- Product detail page ---------- */
.pdp { padding: 28px 0 80px; }
.pdp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 16px; }
.pdp-art {
  background: var(--rf-bone-200); border-radius: var(--r-xl);
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.pdp-art img { max-height: 60%; max-width: 80%; }
.pdp-art .topo {
  position: absolute; inset: 0;
  background-image: url('pattern-topo.svg');
  background-size: cover; opacity: 0.25;
}
.pdp-art img { position: relative; }
.pdp-info {}
.pdp-info .sku { font-family: var(--font-mono); font-size: 12px; color: var(--fg-3); letter-spacing: 0.04em; }
.pdp-info h1 {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(40px, 5vw, 60px); font-weight: 400;
  letter-spacing: -0.02em; line-height: 1; color: var(--fg-1);
  margin: 8px 0 18px;
}
.pdp-info .pdp-lede {
  font-size: 17px; line-height: 1.55; color: var(--fg-2); max-width: 480px;
}
.pdp-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin: 24px 0; max-width: 420px;
}
.pdp-stat {
  background: var(--rf-bone-100); border-radius: var(--r-lg);
  padding: 14px; border: 1px solid var(--border);
}
.pdp-stat .n {
  font-family: var(--font-mono); font-size: 22px; font-weight: 600;
  color: var(--fg-1); letter-spacing: -0.01em;
}
.pdp-stat .l { font-size: 11px; color: var(--fg-3); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 4px; }

.pdp-price-row {
  display: flex; align-items: baseline; gap: 12px; margin: 8px 0 18px;
}
.pdp-price-row .price {
  font-family: var(--font-mono); font-size: 28px; font-weight: 600;
  color: var(--fg-1);
}
.pdp-price-row .per { font-size: 13px; color: var(--fg-3); }

.pdp-buy {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 22px;
  margin-top: 8px;
}
.pdp-buy .option-row {
  display: flex; gap: 8px; margin-bottom: 16px;
}
.pdp-buy .opt {
  flex: 1; padding: 12px; border-radius: var(--r-md);
  border: 1px solid var(--border); background: transparent;
  cursor: pointer; font-family: var(--font-sans);
  text-align: left; transition: all var(--dur-fast) var(--ease-out);
}
.pdp-buy .opt.is-on { border-color: var(--rf-stone-900); background: var(--rf-bone-100); }
.pdp-buy .opt .label { font-size: 13px; font-weight: 600; color: var(--fg-1); }
.pdp-buy .opt .sub { font-family: var(--font-mono); font-size: 12px; color: var(--fg-3); margin-top: 2px; }
.pdp-buy .opt .save {
  display: inline-block; margin-top: 4px;
  font-size: 10px; color: var(--accent); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
}
.pdp-buy .qty-row { display: flex; gap: 8px; align-items: center; }
.pdp-buy .qty {
  display: flex; align-items: center; border: 1px solid var(--border);
  border-radius: var(--r-md); overflow: hidden;
}
.pdp-buy .qty button {
  width: 36px; height: 44px; background: transparent;
  border: none; color: var(--fg-1); cursor: pointer; font-size: 16px;
}
.pdp-buy .qty .v {
  width: 36px; text-align: center; font-family: var(--font-mono);
  font-weight: 600; color: var(--fg-1);
}
.pdp-buy .add-btn {
  flex: 1; height: 44px; padding: 0 20px; border-radius: var(--r-md);
  background: var(--accent); color: var(--accent-fg);
  border: none; cursor: pointer; font-weight: 600; font-size: 14px;
}
.pdp-buy .add-btn:hover { background: var(--accent-hover); }
.pdp-trust {
  display: flex; gap: 22px; margin-top: 18px; flex-wrap: wrap;
  font-size: 12px; color: var(--fg-3);
}
.pdp-trust div { display: flex; align-items: center; gap: 6px; }

/* Tabs */
.pdp-tabs { border-bottom: 1px solid var(--border); display: flex; gap: 28px; margin-top: 56px; }
.pdp-tab {
  padding: 14px 0; background: none; border: none; cursor: pointer;
  font-size: 14px; font-weight: 600; color: var(--fg-3);
  border-bottom: 2px solid transparent;
  font-family: var(--font-sans); letter-spacing: 0.02em;
}
.pdp-tab.is-on { color: var(--fg-1); border-bottom-color: var(--accent); }
.pdp-panel { padding: 28px 0; }
.pdp-panel[hidden] { display: none; }
.pdp-panel .ingredient-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.ingredient {
  background: var(--rf-bone-100); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 16px;
}
.ingredient .nm { font-family: var(--font-display); font-style: italic; font-size: 18px; color: var(--fg-1); }
.ingredient .pl { font-size: 12px; color: var(--fg-3); margin-top: 4px; }
.ingredient .desc { font-size: 13px; color: var(--fg-2); line-height: 1.5; margin-top: 8px; }

.nutrition-card {
  background: var(--bg-card); border: 1px solid var(--border-ink);
  border-radius: var(--r-lg); padding: 24px; max-width: 520px;
}
.nutrition-card h3 {
  font-family: var(--font-sans); font-size: 16px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em; margin: 0;
}
.nutrition-card .serving { font-size: 12px; color: var(--fg-3); margin: 4px 0 16px; }
.nutrition-card table { width: 100%; border-collapse: collapse; }
.nutrition-card td { padding: 8px 0; border-top: 1px solid var(--border); font-size: 14px; }
.nutrition-card td:last-child { text-align: right; font-family: var(--font-mono); }
.nutrition-card tr.heavy td { border-top: 2px solid var(--border-ink); font-weight: 600; color: var(--fg-1); }

/* ---------- Reviews ---------- */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 20px;
  display: flex; flex-direction: column; gap: 10px;
}
.review .stars { color: var(--accent); font-family: var(--font-mono); }
.review .body { font-size: 14px; line-height: 1.55; color: var(--fg-2); }
.review .who { font-size: 12px; color: var(--fg-3); }

/* ---------- Sourcing strip ---------- */
.sourcing-strip {
  background: var(--rf-pine-600); color: var(--rf-bone-50);
  padding: 64px 0;
}
.sourcing-strip h2 {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(32px, 4vw, 48px); font-weight: 400; margin: 0;
  letter-spacing: -0.02em; line-height: 1.05;
  color: var(--rf-bone-50);
}
.sourcing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px; margin-top: 32px;
}
.sourcing-item { display: flex; flex-direction: column; gap: 8px; }
.sourcing-item .n {
  font-family: var(--font-mono); font-size: 11px; color: var(--rf-ochre-300);
  letter-spacing: 0.1em;
}
.sourcing-item h3 {
  font-family: var(--font-sans); font-size: 18px; font-weight: 600;
  letter-spacing: 0; margin: 0; color: var(--rf-bone-50);
}
.sourcing-item p { font-size: 14px; color: var(--rf-sand-400); line-height: 1.55; }

/* ---------- Story page ---------- */
.story-hero {
  padding: 80px 0 60px; position: relative; overflow: hidden;
}
.story-hero .container { position: relative; }
.story-hero h1 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(56px, 7vw, 96px); line-height: 0.95;
  letter-spacing: -0.02em; margin: 12px 0 0; max-width: 880px;
}
.story-hero h1 em { font-style: italic; color: var(--accent); }
.story-lede {
  margin: 28px 0 0; font-size: 20px; line-height: 1.55;
  color: var(--fg-2); max-width: 640px;
}

.story-prose {
  max-width: var(--container-narrow); margin: 0 auto;
  padding: 60px 24px 80px;
}
.story-prose p {
  font-size: 18px; line-height: 1.7; color: var(--fg-2);
  margin: 0 0 20px;
}
.story-prose h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: 40px; letter-spacing: -0.02em; line-height: 1.05;
  margin: 48px 0 16px; color: var(--fg-1);
}
.story-prose h2 em { font-style: italic; color: var(--accent); }
.story-prose .pull {
  font-family: var(--font-display); font-style: italic;
  font-size: 30px; line-height: 1.25; color: var(--fg-1);
  border-left: 3px solid var(--accent); padding-left: 22px;
  margin: 32px 0;
}

.timeline {
  display: flex; flex-direction: column; gap: 0;
  margin: 24px 0; position: relative;
}
.timeline::before {
  content: ''; position: absolute; left: 76px; top: 8px; bottom: 8px;
  width: 1px; background: var(--border-strong);
}
.timeline-row {
  display: grid; grid-template-columns: 80px 1fr; gap: 24px;
  padding: 16px 0; position: relative;
}
.timeline-row .yr {
  font-family: var(--font-mono); font-size: 14px; font-weight: 600;
  color: var(--accent); padding-top: 2px;
}
.timeline-row::before {
  content: ''; position: absolute; left: 72px; top: 24px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--accent);
}
.timeline-row h4 { font-size: 16px; font-weight: 600; color: var(--fg-1); margin: 0; }
.timeline-row p { font-size: 14px; color: var(--fg-2); margin: 4px 0 0; line-height: 1.55; }

.team-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
  margin-top: 28px;
}
.team-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 20px;
  display: flex; flex-direction: column; gap: 6px;
}
.team-card .av {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--rf-bone-200);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-style: italic; font-size: 26px;
  color: var(--rf-stone-700); margin-bottom: 8px;
}
.team-card .nm { font-size: 16px; font-weight: 600; color: var(--fg-1); }
.team-card .rl { font-size: 13px; color: var(--fg-3); }
.team-card .bio { font-size: 13px; color: var(--fg-2); line-height: 1.5; margin-top: 6px; }

/* ---------- Wholesale ---------- */
.audience-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.audience-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
}
.audience-card .ic {
  width: 44px; height: 44px; border-radius: var(--r-md);
  background: var(--accent-soft);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--rf-ochre-600);
}
.audience-card h3 {
  font-family: var(--font-display); font-style: italic;
  font-size: 28px; font-weight: 400; letter-spacing: -0.01em;
  color: var(--fg-1); margin: 0;
}
.audience-card p { font-size: 14px; line-height: 1.55; color: var(--fg-2); margin: 0; }
.audience-card ul { display: flex; flex-direction: column; gap: 8px; }
.audience-card li {
  font-size: 13px; color: var(--fg-2);
  display: flex; align-items: flex-start; gap: 8px;
}
.audience-card li::before {
  content: '·'; color: var(--accent); font-weight: 700; font-size: 18px; line-height: 1;
}

.lead-form {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
  max-width: 720px;
}
.lead-form .full { grid-column: 1 / -1; }
.lead-form label {
  display: block; font-size: 11px; font-weight: 600;
  color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.lead-form input, .lead-form select, .lead-form textarea {
  width: 100%; padding: 12px 14px; border-radius: var(--r-md);
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--fg-1); font-size: 14px; font-family: var(--font-sans);
  transition: border-color var(--dur-fast) var(--ease-out);
}
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-soft);
}
.lead-form textarea { min-height: 100px; resize: vertical; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.faq-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
}
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 22px 24px; display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .q {
  font-family: var(--font-sans); font-size: 16px; font-weight: 600; color: var(--fg-1);
}
.faq-item summary .ic {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--rf-bone-200); color: var(--fg-1);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: transform var(--dur-base) var(--ease-out);
}
.faq-item[open] summary .ic { transform: rotate(45deg); background: var(--accent); color: var(--accent-fg); }
.faq-item .a {
  padding: 0 24px 22px; font-size: 15px; line-height: 1.6; color: var(--fg-2);
}

/* ---------- 404 ---------- */
.notfound {
  min-height: calc(100vh - 240px);
  display: flex; align-items: center; justify-content: center;
  padding: 80px 24px; text-align: center; position: relative; overflow: hidden;
}
.notfound .topo {
  position: absolute; inset: 0;
  background-image: url('pattern-topo.svg');
  background-size: cover; opacity: 0.35; pointer-events: none;
}
.notfound .inner { position: relative; max-width: 560px; }
.notfound .num {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(120px, 18vw, 220px);
  line-height: 1; color: var(--accent); letter-spacing: -0.02em;
}
.notfound h1 {
  font-family: var(--font-display); font-weight: 400;
  font-size: 44px; letter-spacing: -0.02em; line-height: 1;
  margin: 8px 0 16px;
}
.notfound p { font-size: 17px; color: var(--fg-2); line-height: 1.55; margin-bottom: 28px; }
.notfound .cta-row { display: flex; gap: 12px; justify-content: center; }

/* ---------- Field notes (article list) ---------- */
.note-feature {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center;
  margin-bottom: 64px;
}
.note-feature .cover {
  aspect-ratio: 4/3; background: var(--rf-bone-200);
  border-radius: var(--r-xl); position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.note-feature .cover .topo {
  position: absolute; inset: 0;
  background-image: url('pattern-topo.svg');
  background-size: cover; opacity: 0.6;
}
.note-feature .cover .ridge {
  position: relative; height: 90px; color: var(--rf-stone-900);
}
.note-feature h2 {
  font-family: var(--font-display); font-size: clamp(36px, 4.2vw, 56px);
  font-weight: 400; letter-spacing: -0.02em; line-height: 1.05;
  color: var(--fg-1); margin: 16px 0;
}
.note-feature h2 em { font-style: italic; color: var(--accent); }
.note-feature p { font-size: 17px; line-height: 1.6; color: var(--fg-2); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner, .pdp-grid, .subscribe-card, .note-feature { grid-template-columns: 1fr; }
  .product-grid, .notes-grid, .review-grid, .sourcing-grid, .audience-grid, .pdp-panel .ingredient-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-inner { grid-template-columns: 1fr 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .lead-form { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .product-grid, .notes-grid, .review-grid, .sourcing-grid, .audience-grid, .pdp-panel .ingredient-row, .pdp-stats {
    grid-template-columns: 1fr;
  }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .subscribe-card { padding: 36px 24px; }
  .hero-art-card { width: 280px; height: 280px; }
  .hero-art-card img { height: 220px; }
}

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