/* Truefood — editorial system */
:root {
  --paper: #F5EEE1;
  --paper-2: #EFE6D4;
  --ink: #1A1A1A;
  --olive: #4A5D2A;
  --olive-deep: #3A4A20;
  --tomato: #C8412C;
  --ochre: #C89A3C;
  --stone: #8A7F6E;
  --stone-soft: #B8AE9E;
  --rule: #D8CDB6;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Subtle paper texture */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(0,0,0,0.015) 0, transparent 2px),
    radial-gradient(circle at 70% 60%, rgba(0,0,0,0.02) 0, transparent 2px),
    radial-gradient(circle at 40% 80%, rgba(0,0,0,0.015) 0, transparent 2px);
  background-size: 3px 3px, 5px 5px, 4px 4px;
  opacity: 0.6;
  mix-blend-mode: multiply;
}

#root { position: relative; z-index: 1; }

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

button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

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

/* Type */
.serif { font-family: 'Playfair Display', 'EB Garamond', Georgia, serif; }
.sans  { font-family: 'Work Sans', 'Helvetica Neue', Arial, sans-serif; }
.stencil { font-family: 'Alfa Slab One', 'Playfair Display', Georgia, serif; letter-spacing: 0.01em; }

.eyebrow {
  font-family: 'Work Sans', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 11px;
  font-weight: 500;
  color: var(--stone);
}

.rule {
  height: 1px; background: var(--rule); border: 0;
}

.hairline {
  height: 1px; background: var(--ink); opacity: 0.12;
}

/* Layout */
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.wrap-narrow { width: 100%; max-width: 880px; margin: 0 auto; padding: 0 40px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  font-family: 'Work Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid transparent;
  transition: all 180ms ease;
  cursor: pointer;
}
.btn-primary {
  background: var(--olive); color: var(--paper);
}
.btn-primary:hover { background: var(--olive-deep); }
.btn-ghost {
  background: transparent; color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-link {
  padding: 0;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

/* Nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 40px;
  transition: background 240ms ease, backdrop-filter 240ms ease, border-color 240ms ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(245, 238, 225, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom-color: var(--rule);
}
.nav.on-dark { color: var(--paper); }
.nav.on-dark .nav-link:hover { color: var(--paper); }
.nav.on-dark.scrolled { color: var(--ink); }

.nav-brand {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 0.01em;
  display: flex; align-items: center; gap: 10px;
}
.nav-brand-mark {
  width: 22px; height: 22px;
}

.nav-links {
  display: flex; gap: 32px;
  font-family: 'Work Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.nav-link {
  position: relative;
  opacity: 0.7;
  transition: opacity 160ms ease;
  cursor: pointer;
}
.nav-link:hover, .nav-link.active { opacity: 1; }
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px; background: currentColor;
}

.nav-right {
  font-family: 'Work Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.7;
  white-space: nowrap;
}

.nav-links { gap: 26px; }

@media (max-width: 1280px) {
  .nav-right { display: none; }
}
/* Mobile hamburger button */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: inherit;
  line-height: 0;
}

/* Mobile drawer overlay */
.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 49;
  background: rgba(245, 238, 225, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  padding: 100px 32px 60px;
}
.nav-drawer-link {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 36px;
  line-height: 1.2;
  color: var(--ink);
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  opacity: 0.85;
  transition: opacity 140ms ease;
  cursor: pointer;
  display: block;
}
.nav-drawer-link:hover,
.nav-drawer-link.active { opacity: 1; color: var(--olive); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav { padding: 18px 24px; }
  .wrap, .wrap-narrow { padding: 0 24px; }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  color: var(--paper);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden;
  background-image: url('assets/wavy-bg.png');
  background-size: cover;
  background-position: center;
  background-color: var(--paper);
}
/* video scrim handled inline in React */
.hero-video-ctrl {
  position: absolute;
  right: 28px; bottom: 28px;
  z-index: 3;
  display: flex; align-items: center; gap: 10px;
  padding: 8px 14px;
  background: rgba(10, 14, 8, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(245, 238, 225, 0.18);
  border-radius: 999px;
  color: #F5EEE1;
  font-family: 'JetBrains Mono', monospace;
  transition: background 180ms ease, border-color 180ms ease;
}
.hero-video-ctrl:hover {
  background: rgba(10, 14, 8, 0.75);
  border-color: rgba(245, 238, 225, 0.32);
}
.hvc-btn {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: none;
  color: #F5EEE1;
  cursor: pointer;
  border-radius: 50%;
  transition: background 160ms ease;
  padding: 0;
}
.hvc-btn:hover { background: rgba(245, 238, 225, 0.14); }
.hvc-divider {
  width: 1px; height: 18px;
  background: rgba(245, 238, 225, 0.22);
}
.hvc-vol {
  display: flex; align-items: center; gap: 8px;
  color: rgba(245, 238, 225, 0.88);
}
.hvc-slider {
  -webkit-appearance: none; appearance: none;
  width: 70px; height: 2px;
  background: rgba(245, 238, 225, 0.25);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}
.hvc-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 10px; height: 10px;
  background: #F5EEE1;
  border-radius: 50%;
  cursor: pointer;
  border: none;
}
.hvc-slider::-moz-range-thumb {
  width: 10px; height: 10px;
  background: #F5EEE1;
  border-radius: 50%;
  cursor: pointer;
  border: none;
}
.hvc-vol-num {
  font-size: 10px; letter-spacing: 0.08em;
  color: rgba(245, 238, 225, 0.7);
  min-width: 18px; text-align: right;
  font-variant-numeric: tabular-nums;
}
.hero-bg::after {
  content: none;
}
.hero-inner {
  position: relative; z-index: 1;
  padding: 0 40px 80px;
  max-width: 1280px; margin: 0 auto; width: 100%;
}
.hero-tag {
  font-family: 'Work Sans', sans-serif;
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  opacity: 0.8; margin-bottom: 24px;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 50px;
  line-height: 1.05;
  letter-spacing: -0.015em;
  max-width: 16ch;
}
.hero-title em {
  font-style: italic; font-weight: 400;
  color: rgba(245, 238, 225, 0.9);
}
.hero-sub {
  margin-top: 28px;
  max-width: 48ch;
  font-size: 17px;
  opacity: 0.88;
}
.hero-ctas {
  margin-top: 40px;
  display: flex; gap: 20px; align-items: center; flex-wrap: wrap;
}
.hero .btn-ghost { border-color: rgba(245,238,225,0.6); color: var(--paper); }
.hero .btn-ghost:hover { background: var(--paper); color: var(--ink); }
.hero-link {
  font-family: 'Work Sans', sans-serif;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  right: 40px; bottom: 40px;
  z-index: 2;
  font-family: 'Work Sans', sans-serif;
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--paper);
  display: flex; align-items: center; gap: 10px;
  opacity: 0.75;
}
.scroll-cue .line {
  width: 40px; height: 1px; background: currentColor;
  animation: scrollLine 2.4s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleX(1); transform-origin: right; }
  50% { transform: scaleX(0.3); transform-origin: right; }
}

/* Image placeholders — mono/striped */
.img-ph {
  position: relative;
  background:
    repeating-linear-gradient(
      135deg,
      var(--paper-2) 0px, var(--paper-2) 2px,
      transparent 2px, transparent 10px
    ),
    var(--paper);
  border: 1px solid var(--rule);
  overflow: hidden;
  color: var(--stone);
  font-family: 'JetBrains Mono', 'Courier New', monospace;
}
.img-ph.dark {
  background:
    repeating-linear-gradient(
      135deg,
      rgba(255,255,255,0.03) 0px, rgba(255,255,255,0.03) 2px,
      transparent 2px, transparent 10px
    ),
    #2A2F22;
  color: rgba(245,238,225,0.55);
  border-color: #3a3f32;
}
.img-ph-label {
  position: absolute;
  left: 16px; bottom: 14px;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.75;
  max-width: 80%;
}
.img-ph-corner {
  position: absolute;
  top: 14px; right: 16px;
  font-size: 9px; letter-spacing: 0.2em; opacity: 0.55;
}
/* Real-image variant: image fills, corner label gets scrim pill */
.img-ph.has-src {
  background: #1a1a1a;
  border: 1px solid var(--rule);
}
.img-ph.has-src .img-ph-corner {
  top: 14px; right: 14px;
  color: #F5EEE1;
  opacity: 1;
  background: rgba(10, 14, 8, 0.55);
  backdrop-filter: blur(6px);
  padding: 5px 10px;
  letter-spacing: 0.22em;
  font-weight: 600;
}

/* Section */
.section {
  padding: 120px 0;
  position: relative;
}
.section-tight { padding: 80px 0; }
.section-title {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  max-width: 22ch;
}
.section-title em { font-style: italic; font-weight: 400; color: var(--olive); }
.section-title .tomato { color: var(--tomato); font-style: italic; font-weight: 400; }

/* Two-col editorial */
.two-col {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .section { padding: 80px 0; }
}

/* Ethos grid */
.ethos {
  display: grid; grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.ethos-tile {
  padding: 44px 40px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  min-height: 260px;
  display: flex; flex-direction: column;
}
.ethos-num {
  font-family: 'Work Sans', sans-serif;
  font-size: 11px; letter-spacing: 0.2em;
  color: var(--ochre);
  margin-bottom: 20px;
}
.ethos-name {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 28px;
  line-height: 1.1;
  margin-bottom: 14px;
}
.ethos-desc {
  color: var(--stone);
  font-size: 16px;
  line-height: 1.6;
  margin-top: auto;
}
.ethos-icon {
  width: 44px; height: 44px;
  margin-bottom: 24px;
  color: var(--olive);
}
@media (max-width: 700px) {
  .ethos { grid-template-columns: 1fr; }
}

/* Italy ↔ Asia */
.bridge {
  display: grid; grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 60px;
}
.bridge-col h3 {
  font-family: 'Alfa Slab One', serif;
  font-size: 20px;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
  text-transform: uppercase;
}
.bridge-col.italy h3 { color: var(--olive); }
.bridge-col.asia h3 { color: var(--tomato); }
.bridge-col ul { list-style: none; }
.bridge-col li {
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 16px;
  display: flex; justify-content: space-between; gap: 20px;
}
.bridge-col li span:last-child {
  color: var(--stone); font-size: 13px; font-family: 'Work Sans', sans-serif;
  text-transform: uppercase; letter-spacing: 0.1em; align-self: center;
}
.bridge-arrow {
  font-family: 'Playfair Display', serif;
  font-weight: 900; font-size: 40px;
  color: var(--ochre); align-self: center;
  padding-top: 40px;
}
@media (max-width: 900px) {
  .bridge { grid-template-columns: 1fr; }
  .bridge-arrow { transform: rotate(90deg); padding: 0; justify-self: center; }
}

/* Big cards (Retail/HoReCa) */
.split-cards {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.big-card {
  border: 1px solid var(--rule);
  background: var(--paper);
  padding: 0; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 280ms ease, box-shadow 280ms ease;
}
.big-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px -20px rgba(26,26,26,0.2); }
.big-card .img-ph { height: 280px; border: none; border-bottom: 1px solid var(--rule); }
.big-card-body { padding: 36px 36px 40px; }
.big-card h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 30px;
  margin-bottom: 18px;
}
.big-card ul { list-style: none; margin-bottom: 28px; }
.big-card li {
  padding: 10px 0;
  border-bottom: 1px dotted var(--rule);
  font-size: 16px;
  color: var(--ink);
  display: flex; gap: 14px;
}
.big-card li::before {
  content: "—"; color: var(--ochre); flex-shrink: 0;
}
@media (max-width: 800px) {
  .split-cards { grid-template-columns: 1fr; }
}

/* Category cards */
.cat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.cat-card {
  cursor: pointer;
  display: flex; flex-direction: column;
  transition: transform 240ms ease;
}
.cat-card:hover { transform: translateY(-6px); }
.cat-card .img-ph { height: 440px; margin-bottom: 20px; }
.cat-card .img-ph.has-src { background: var(--paper); }
.cat-card .img-ph.has-src img { object-fit: contain !important; mix-blend-mode: multiply; padding: 28px; }
.cat-card .img-ph.dark { color: rgba(245,238,225,0.55); }
.cat-name {
  font-family: 'Alfa Slab One', serif;
  font-size: 22px; letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.cat-desc { color: var(--stone); font-size: 15px; }
.cat-link {
  margin-top: 16px;
  font-family: 'Work Sans', sans-serif;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--olive);
  display: inline-flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--olive);
  padding-bottom: 3px; align-self: flex-start;
}
@media (max-width: 800px) {
  .cat-grid { grid-template-columns: 1fr; }
}

/* Process strip */
.process {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-top: 60px;
}
.process-step {
  padding: 0 32px 0 0;
  position: relative;
}
.process-step + .process-step { padding-left: 32px; border-left: 1px solid var(--rule); }
.process-num {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--olive);
  color: var(--olive);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 900; font-size: 18px;
  margin-bottom: 22px;
}
.process-name {
  font-family: 'Alfa Slab One', serif;
  font-size: 18px; letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.process-desc { color: var(--stone); font-size: 15px; }
@media (max-width: 800px) {
  .process { grid-template-columns: 1fr 1fr; }
  .process-step { border-left: none !important; padding: 0 20px 30px 0 !important; border-bottom: 1px solid var(--rule); margin-bottom: 24px; }
}

/* Marquee */
.marquee {
  background: var(--olive);
  color: var(--paper);
  overflow: hidden;
  padding: 22px 0;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex; gap: 60px;
  animation: marquee 35s linear infinite;
  font-family: 'Alfa Slab One', serif;
  font-size: 14px; letter-spacing: 0.15em;
  text-transform: uppercase;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 60px; }
.marquee-track .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ochre);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Closing CTA */
.closing {
  position: relative;
  min-height: 70vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  color: var(--paper);
  overflow: hidden;
}
.closing-bg {
  position: absolute; inset: 0;
}
.closing-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.7) 100%);
}
.closing-inner { position: relative; z-index: 1; padding: 80px 40px; }
.closing h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  max-width: 20ch;
  margin: 0 auto 30px;
}
.closing h2 em { font-style: italic; color: rgba(200, 154, 60, 0.95); font-weight: 400; }

/* Footer */
.footer {
  background: #161712;
  color: #C9C2B1;
  padding: 80px 0 40px;
}
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px; padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand {
  font-family: 'Playfair Display', serif;
  font-weight: 900; font-size: 32px;
  color: var(--paper); margin-bottom: 18px;
}
.footer-tag {
  font-family: 'Alfa Slab One', serif;
  font-size: 12px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--ochre);
  margin-bottom: 20px;
}
.footer p { font-size: 15px; max-width: 36ch; line-height: 1.6; }
.footer h4 {
  font-family: 'Work Sans', sans-serif;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--paper);
  margin-bottom: 20px;
}
.footer ul { list-style: none; }
.footer li { padding: 6px 0; font-size: 15px; }
.footer li a { opacity: 0.75; transition: opacity 160ms; cursor: pointer; }
.footer li a:hover { opacity: 1; color: var(--paper); }
.footer-bottom {
  padding-top: 30px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'Work Sans', sans-serif;
  font-size: 11px; letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(201, 194, 177, 0.5);
}
@media (max-width: 800px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
}

/* Page hero (non-home) */
.page-hero {
  padding: 180px 0 80px;
  border-bottom: 1px solid var(--rule);
  background-image: url('assets/wavy-bg.png');
  background-repeat: repeat-x;
  background-position: center;
  background-size: auto 100%;
  background-color: var(--paper);
  position: relative;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(245,238,225,0.55) 0%, rgba(245,238,225,0.85) 100%);
  pointer-events: none;
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero .eyebrow { margin-bottom: 28px; }
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(44px, 6.5vw, 96px);
  line-height: 1;
  letter-spacing: -0.015em;
  max-width: 20ch;
}
.page-hero h1 em { font-style: italic; color: var(--olive); font-weight: 400; }
.page-hero .lede {
  margin-top: 32px;
  font-size: 22px;
  max-width: 56ch;
  color: var(--stone);
  line-height: 1.55;
}

/* Data block (category formats) */
.format-row {
  display: grid; grid-template-columns: 80px 1fr 1fr 1fr 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
  align-items: center;
  font-size: 15px;
}
.format-row:first-child {
  font-family: 'Work Sans', sans-serif;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--stone);
}
.format-row .sku {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; color: var(--stone);
}
.format-row .size {
  font-family: 'Playfair Display', serif;
  font-weight: 900; font-size: 20px;
}
.format-row .badge {
  display: inline-block;
  padding: 4px 10px;
  background: var(--ochre);
  color: var(--ink);
  font-family: 'Work Sans', sans-serif;
  font-size: 10px; letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 2px;
  justify-self: start;
}
.format-row .badge.olive { background: var(--olive); color: var(--paper); }
.format-row .badge.tomato { background: var(--tomato); color: var(--paper); }

@media (max-width: 800px) {
  .format-row { grid-template-columns: 1fr 1fr; gap: 8px; }
  .format-row:first-child { display: none; }
}

/* Pull quote */
.pullquote {
  text-align: center;
  padding: 120px 40px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin: 80px 0;
}
.pullquote blockquote {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-style: italic;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.15;
  max-width: 22ch;
  margin: 0 auto;
}
.pullquote cite {
  display: block;
  margin-top: 40px;
  font-family: 'Work Sans', sans-serif;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--stone);
  font-style: normal;
}

/* Form */
.form {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 28px 32px;
  margin-top: 40px;
}
.field { display: flex; flex-direction: column; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-family: 'Work Sans', sans-serif;
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 10px;
}
.field input, .field select, .field textarea {
  font: inherit;
  font-size: 17px;
  font-family: 'EB Garamond', serif;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--ink);
  padding: 10px 0;
  outline: none;
  transition: border-color 160ms ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-bottom-color: var(--olive);
}
.field textarea { resize: vertical; min-height: 120px; }
.field.error input, .field.error select, .field.error textarea {
  border-bottom-color: var(--tomato);
}
.field-error {
  font-family: 'Work Sans', sans-serif;
  font-size: 11px;
  color: var(--tomato);
  margin-top: 6px;
  letter-spacing: 0.05em;
  min-height: 16px;
}
.checkbox-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.chip {
  padding: 10px 18px;
  border: 1px solid var(--ink);
  font-family: 'Work Sans', sans-serif;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  cursor: pointer; user-select: none;
  transition: all 140ms ease;
}
.chip.active { background: var(--olive); color: var(--paper); border-color: var(--olive); }
.chip:hover:not(.active) { background: var(--ink); color: var(--paper); }

.checkbox-row {
  display: flex; align-items: center; gap: 12px;
  font-size: 15px;
  cursor: pointer; user-select: none;
}
.checkbox-row input { width: 18px; height: 18px; accent-color: var(--olive); cursor: pointer; }

.form-success {
  border: 1px solid var(--olive);
  background: rgba(74, 93, 42, 0.06);
  padding: 40px;
  margin-top: 40px;
  text-align: center;
}
.form-success h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 900; font-size: 28px;
  color: var(--olive);
  margin-bottom: 10px;
}

@media (max-width: 700px) {
  .form { grid-template-columns: 1fr; }
}

/* Recipe tiles */
.recipe-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 60px;
}
.recipe-tile {
  border: 1px solid var(--rule);
  background: var(--paper);
  overflow: hidden;
  cursor: pointer;
  transition: all 260ms ease;
}
.recipe-tile:hover { transform: translateY(-4px); box-shadow: 0 16px 40px -20px rgba(26,26,26,0.2); }
.recipe-tile .img-ph { height: 220px; border: none; border-bottom: 1px solid var(--rule); }
.recipe-tile-body { padding: 24px 28px 32px; }
.recipe-tile h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 900; font-size: 24px;
  margin-bottom: 10px;
}
.recipe-meta {
  display: flex; gap: 20px; margin-top: 16px;
  font-family: 'Work Sans', sans-serif;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--stone);
}
.recipe-meta span::before { content: "· "; color: var(--ochre); }
.recipe-meta span:first-child::before { content: ""; }

.recipe-detail {
  border: 1px solid var(--rule);
  background: var(--paper-2);
  padding: 60px;
  margin-top: 40px;
}
.recipe-detail-grid {
  display: grid; grid-template-columns: 1fr 2fr;
  gap: 60px;
}
.recipe-detail h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 900; font-size: 44px;
  margin-bottom: 16px; letter-spacing: -0.01em;
}
.recipe-detail ol { margin-left: 20px; }
.recipe-detail ol li { padding: 10px 0; font-size: 17px; }
.recipe-detail ul.ingredients { list-style: none; }
.recipe-detail ul.ingredients li {
  padding: 10px 0;
  border-bottom: 1px dotted var(--rule);
  display: flex; justify-content: space-between;
  font-size: 15px;
}
.recipe-detail ul.ingredients li span:last-child {
  font-family: 'JetBrains Mono', monospace;
  color: var(--stone); font-size: 13px;
}
@media (max-width: 800px) {
  .recipe-grid { grid-template-columns: 1fr; }
  .recipe-detail { padding: 32px 24px; }
  .recipe-detail-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* Single product spotlight */
.spotlight {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
  padding: 100px 0;
}
.spotlight-img {
  background: var(--paper-2);
  aspect-ratio: 4/5;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  position: relative;
}
.spotlight-img img {
  width: 100%; height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.spotlight-img::before {
  content: "";
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(0,0,0,0.02) 0px, rgba(0,0,0,0.02) 2px,
      transparent 2px, transparent 14px
    );
}
.spotlight-meta {
  font-family: 'Work Sans', sans-serif;
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--stone);
  display: flex; gap: 20px; margin-bottom: 24px;
}
.spotlight-meta span::before { content: "◦ "; color: var(--ochre); }
.spotlight h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}
.spotlight p { font-size: 18px; color: var(--ink); line-height: 1.7; margin-bottom: 20px; }
.spec-table {
  margin-top: 32px;
  border-top: 1px solid var(--rule);
}
.spec-row {
  display: flex; justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 15px;
}
.spec-row .label {
  font-family: 'Work Sans', sans-serif;
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--stone); align-self: center;
}
@media (max-width: 900px) {
  .spotlight { grid-template-columns: 1fr; gap: 40px; padding: 60px 0; }
  .spotlight h2 { font-size: 40px; }
}

@media (max-width: 800px) {
  .partners-split { grid-template-columns: 1fr !important; }
  .partners-intro { grid-template-columns: 1fr !important; gap: 40px !important; }
  .commitments-grid { grid-template-columns: 1fr 1fr !important; }
  .format-ladder { grid-template-columns: 1fr 1fr !important; }
  .products-grid { grid-template-columns: 1fr !important; }
}

/* Fade-in */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms ease, transform 700ms ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
