/* NAGY Foods — site stylesheet (v2)
   Layout idea: an export manifest laid over aerial orchard plates.
   Deep-green field sections, ivory paper sections, monospaced data rows
   (HS codes, tonnages) the way a buyer reads a shipping document. */

:root {
  --forest: #15301f;
  --forest-deep: #0f2417;
  --ivory: #f4efe2;
  --paper: #fbf8f0;
  --ink: #1a2118;
  --muted: #5a6355;
  --gold: #c99a3e;
  --gold-ink: #7d5a17;
  --line: rgba(21, 48, 31, 0.16);
  --line-light: rgba(244, 239, 226, 0.18);

  --font-display: "Gloock", "Iowan Old Style", "Times New Roman", serif;
  --font-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --wrap: 1180px;
  color-scheme: light;
}

/* ---------- Review / public mode ----------
   <html data-mode="review"> shows unconfirmed items; data-mode="public" hides them.
   data-tools="on" shows the review bar and its preview toggle. Set "off" at launch. */
[data-mode="public"] .review-only { display: none !important; }
[data-mode="review"] .public-only { display: none !important; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
}

img, canvas { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.005em;
  text-wrap: balance;
  margin: 0;
}
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h3 { font-size: 1.55rem; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.mono { font-family: var(--font-mono); }
.small { font-size: 0.88rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--paper); padding: 8px 12px; }

/* ---------- Review bar ---------- */
.review-bar {
  display: none;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 14px;
  background: var(--gold);
  color: var(--forest-deep);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  text-align: center;
  padding: 7px 16px;
}
[data-tools="on"] .review-bar { display: flex; }
[data-mode="public"] .review-bar { background: var(--ivory); border-bottom: 1px solid var(--line); }
.review-bar button {
  font: 500 0.68rem var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--forest-deep);
  color: var(--ivory);
  border: 0;
  padding: 6px 10px;
  border-radius: 2px;
  cursor: pointer;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 36, 23, 0.97);
  border-bottom: 1px solid var(--line-light);
  color: var(--ivory);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: baseline; gap: 0.45rem; text-decoration: none; }
.brand-mark { font-family: var(--font-display); font-size: 1.75rem; line-height: 1; letter-spacing: 0.03em; }
.brand-sub { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.34em; color: var(--gold); }

.site-nav { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 26px); }
.site-nav a:not(.btn) { text-decoration: none; font-size: 0.95rem; color: rgba(244, 239, 226, 0.88); }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { color: var(--gold); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line-light);
  color: var(--ivory);
  font: 500 0.8rem var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 9px 14px;
  border-radius: 2px;
  cursor: pointer;
}

@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--forest-deep);
    border-bottom: 1px solid var(--line-light);
    padding: 4px clamp(16px, 4vw, 40px) 20px;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line-light); }
  .site-nav .btn { margin-top: 16px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 14px 22px;
  font: 600 0.95rem/1.1 var(--font-body);
  text-decoration: none;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn-sm { padding: 10px 16px; font-size: 0.88rem; }
.btn-gold { background: var(--gold); color: var(--forest-deep); }
.btn-gold:hover { background: #d9ae57; }
.btn-ghost { border-color: rgba(244, 239, 226, 0.5); color: var(--ivory); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-dark { background: var(--forest); color: var(--ivory); }
.btn-dark:hover { background: var(--forest-deep); }
.btn-outline { border-color: var(--forest); color: var(--forest); }
.btn-outline:hover { background: var(--forest); color: var(--ivory); }
.btn:disabled { opacity: 0.6; cursor: wait; }
.btn.is-disabled { opacity: 0.6; cursor: not-allowed; border-style: dashed; }
.btn.is-disabled:hover { background: transparent; color: var(--forest); }

/* ---------- "To be confirmed" markers ---------- */
.tbc {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--gold-ink);
  border: 1px dashed var(--gold);
  background: rgba(201, 154, 62, 0.08);
  padding: 3px 8px;
  border-radius: 2px;
  white-space: nowrap;
}
.section-dark .tbc, .contact-card .tbc, .page-hero .tbc { color: var(--gold); background: rgba(201, 154, 62, 0.12); }
.tbc-panel {
  border: 1px dashed var(--gold);
  background: rgba(201, 154, 62, 0.07);
  padding: 20px 22px;
  display: grid;
  gap: 10px;
  align-content: start;
}
.tbc-panel h3 { font-size: 1.3rem; }
.tbc-panel p { color: var(--muted); font-size: 0.95rem; }
.notice { border-left: 3px solid var(--gold); background: var(--ivory); padding: 14px 18px; font-size: 0.95rem; color: var(--ink); }

/* ---------- Product tones (shown until a real photo is supplied) ---------- */
.tone-valencia { --tone: #e5831c; }
.tone-navel { --tone: #ec9a2e; }
.tone-mandarin { --tone: #ee7422; }
.tone-baladi { --tone: #d9711a; }
.tone-grapefruit { --tone: #e48b5e; }
.tone-lemon { --tone: #dcbc36; }
.tone-grape { --tone: #6f8a35; }
.tone-mango { --tone: #eba52a; }
.tone-strawberry { --tone: #c3333b; }
.tone-sweetpotato { --tone: #c1652a; }
.tone-potato { --tone: #b98d52; }
.tone-onion { --tone: #a8483f; } .tone-onionred { --tone: #8e3046; } .tone-onionwhite { --tone: #cfc8b6; } .tone-onionyellow { --tone: #c58a2e; }
.tone-garlic { --tone: #d9cdb2; } .tone-garlicfresh { --tone: #8fa86c; } .tone-garlicdry { --tone: #d9cdb2; }
.tone-springonion { --tone: #6f9b45; } .tone-sweetpotatofresh { --tone: #a95a35; } .tone-greenbean { --tone: #5d8c3c; }
.tone-artichoke { --tone: #6c8757; }
.tone-peas { --tone: #6aa043; }
.tone-beans { --tone: #4d8541; }
.tone-pomegranate { --tone: #9f2537; }
.tone-okra { --tone: #5a7c3a; }
.tone-herbs { --tone: #87a076; }
.tone-frozen { --tone: #8db0c0; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--forest-deep); color: var(--ivory); overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(15, 36, 23, 0.96) 0%, rgba(15, 36, 23, 0.84) 45%, rgba(15, 36, 23, 0.28) 100%);
}
.hero-inner { padding-block: clamp(72px, 10vw, 128px) clamp(48px, 7vw, 80px); display: grid; gap: 1.4rem; }
.hero .eyebrow { color: var(--gold); }
.hero-title { font-size: clamp(2.6rem, 7vw, 5.5rem); }
.hero-lead { max-width: 46ch; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(244, 239, 226, 0.86); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 0.8rem; }
.hero-caption { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.03em; color: rgba(244, 239, 226, 0.55); }
@media (max-width: 700px) {
  .hero-shade { background: linear-gradient(180deg, rgba(15, 36, 23, 0.93), rgba(15, 36, 23, 0.8)); }
}

.hero-band { position: relative; border-top: 1px solid var(--line-light); background: rgba(15, 36, 23, 0.72); }
.band-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.band-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 22px 20px;
  text-decoration: none;
  border-left: 1px solid var(--line-light);
}
.band-item:first-child { border-left: 0; padding-left: 0; }
.band-swatch { width: 40px; height: 40px; border-radius: 50%; background: var(--tone); box-shadow: inset 0 0 0 4px rgba(15, 36, 23, 0.25); }
.band-text { display: grid; gap: 2px; }
.band-title { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.1; }
.band-meta { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(244, 239, 226, 0.65); }
.band-arrow { color: var(--gold); font-size: 1.2rem; }
.band-item:hover .band-title { color: var(--gold); }
@media (max-width: 760px) {
  .band-grid { grid-template-columns: 1fr; }
  .band-item { border-left: 0; border-top: 1px solid var(--line-light); padding: 16px 0; }
  .band-item:first-child { border-top: 0; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--forest); color: var(--ivory); padding-block: clamp(56px, 8vw, 104px); }
.page-hero .wrap { display: grid; gap: 1.1rem; }
.page-hero .eyebrow { color: var(--gold); }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.page-hero p { max-width: 56ch; color: rgba(244, 239, 226, 0.84); font-size: 1.1rem; }

/* ---------- Facts strip ---------- */
.facts { background: var(--ivory); border-bottom: 1px solid var(--line); }
.facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact { padding: 28px 20px 24px; border-left: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact-num { font-family: var(--font-display); font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1; color: var(--forest); font-variant-numeric: tabular-nums; }
.fact-num small { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; margin-left: 0.4rem; color: var(--gold-ink); }
.fact-label { font-size: 0.92rem; color: var(--muted); }
.fact-note { font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted); padding-bottom: 18px; }
@media (max-width: 820px) {
  .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .fact:nth-child(-n+2) { border-top: 0; }
  .fact:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-ivory { background: var(--ivory); }
.section-dark { background: var(--forest); color: var(--ivory); }
.section-dark .eyebrow { color: var(--gold); }
.section-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-lead { color: var(--muted); max-width: 62ch; }
.section-dark .section-lead { color: rgba(244, 239, 226, 0.78); }

/* ---------- Product cards ---------- */
.pgroup { display: grid; gap: 18px; scroll-margin-top: 90px; }
.pgroup + .pgroup { margin-top: clamp(44px, 6vw, 64px); }
.pgroup-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; border-top: 3px solid var(--forest); padding-top: 16px; }
.pgroup-total { font-family: var(--font-mono); font-size: 0.78rem; color: var(--gold-ink); letter-spacing: 0.03em; }
.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1000px) { .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }

.pcard { display: grid; grid-template-rows: auto 1fr; background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: inherit; transition: transform 0.2s, box-shadow 0.2s; }
a.pcard:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(15, 36, 23, 0.12); }
.pcard-media, .photo-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  background-color: var(--tone, var(--forest));
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.pcard-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.32)); }
.pcard-media.frozen::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1.6px);
  background-size: 11px 11px;
  opacity: 0.55;
}
.pcard-media.has-photo::before { display: none; }
.pcard-hs { position: absolute; top: 10px; left: 10px; z-index: 1; font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.1em; color: #fff; background: rgba(15, 36, 23, 0.62); padding: 3px 7px; border-radius: 2px; }
.photo-flag {
  position: absolute; left: 12px; bottom: 10px; z-index: 1;
  font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: #fff; border: 1px dashed rgba(255, 255, 255, 0.75); padding: 2px 6px;
}
.has-photo .photo-flag { display: none; }
.pcard-body { padding: 14px 14px 16px; display: grid; gap: 4px; align-content: start; }
.pcard-name { font-size: 1.22rem; line-height: 1.15; }
.pcard-supply { font-family: var(--font-mono); font-size: 0.76rem; color: var(--gold-ink); font-variant-numeric: tabular-nums; }
.pcard-cta { margin-top: 6px; font-size: 0.85rem; font-weight: 600; color: var(--forest); }
.pcard-soon { margin-top: 6px; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.pgroup-note { font-size: 0.88rem; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

/* ---------- Supply table (technical) ---------- */
.supply-table { margin-top: clamp(40px, 5vw, 56px); border: 1px solid var(--line); background: var(--paper); }
.supply-table summary { cursor: pointer; padding: 16px 18px; font-weight: 600; display: flex; justify-content: space-between; gap: 12px; list-style: none; }
.supply-table summary::-webkit-details-marker { display: none; }
.supply-table summary::after { content: "+"; font-family: var(--font-mono); color: var(--gold-ink); }
.supply-table[open] summary::after { content: "−"; }
.supply-body { padding: 4px 18px 20px; display: grid; gap: 20px; }
.lines { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 36px); align-items: start; }
@media (max-width: 820px) { .lines { grid-template-columns: 1fr; } }
.line-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 6px; }
.line-head h3 { font-size: 1.3rem; }
.line-total { font-family: var(--font-mono); font-size: 0.76rem; color: var(--gold-ink); }

.manifest { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.manifest th {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: left;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.manifest td { padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: baseline; }
.manifest td + td, .manifest th + th { padding-left: 12px; }
.manifest .num { text-align: right; font-family: var(--font-mono); font-size: 0.86rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.manifest .hs { font-family: var(--font-mono); font-size: 0.8rem; color: var(--muted); white-space: nowrap; }
.manifest a { color: var(--forest); font-weight: 600; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.footnote { font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted); max-width: 90ch; }

/* ---------- Split layout + spec lists ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.prose { display: grid; gap: 1rem; max-width: 60ch; }
.prose p { color: var(--muted); }
.prose p.strong { color: var(--ink); }

.spec { display: grid; grid-template-columns: minmax(0, 12rem) minmax(0, 1fr); margin: 0; border-top: 1px solid var(--line); }
.spec dt, .spec dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); }
.spec dt {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding-right: 16px;
  padding-top: 15px;
}
.spec dd { font-weight: 500; }
.spec-light { border-color: var(--line-light); grid-template-columns: minmax(0, 8rem) minmax(0, 1fr); }
.spec-light dt, .spec-light dd { border-color: var(--line-light); }
.spec-light dt { color: rgba(244, 239, 226, 0.65); }
@media (max-width: 520px) {
  .spec, .spec-light { grid-template-columns: 1fr; }
  .spec dt { border-bottom: 0; padding-bottom: 0; }
  .spec dd { padding-top: 4px; }
}

/* ---------- Photo frames ----------
   Each frame names the photo file it expects (data-photo). Without the file it shows a
   marked placeholder in review mode and is hidden in public mode. */
.photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.photo-frame {
  --tone: var(--paper);
  background-image: repeating-linear-gradient(135deg, rgba(21, 48, 31, 0.06) 0 10px, rgba(21, 48, 31, 0.015) 10px 20px);
  border: 1px dashed rgba(21, 48, 31, 0.35);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  padding: 14px;
}
.photo-frame.wide { grid-column: 1 / -1; aspect-ratio: 16 / 8; }
.photo-frame strong { font-weight: 600; font-size: 0.95rem; }
.photo-frame span { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-ink); }
.photo-frame.has-photo { border: 0; padding: 0; }
.photo-frame.has-photo > * { display: none; }
[data-mode="public"] .photo-frame:not(.has-photo) { display: none; }
[data-mode="public"] .photo-block:not(:has(.has-photo)) { display: none; }

/* ---------- Heritage timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-light); }
.timeline li { position: relative; padding: 28px 28px 0 0; display: grid; gap: 10px; align-content: start; }
.timeline li::before { content: ""; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--gold); }
.t-when { font-family: var(--font-display); font-size: 2.3rem; line-height: 1; color: var(--gold); }
.t-what { font-weight: 600; }
.t-desc { color: rgba(244, 239, 226, 0.78); font-size: 0.95rem; max-width: 36ch; }
@media (max-width: 820px) {
  .timeline { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--line-light); padding-left: 24px; gap: 32px; }
  .timeline li { padding: 0; }
  .timeline li::before { left: -30px; top: 12px; }
}

/* ---------- Markets ---------- */
.markets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.market { background: var(--paper); padding: 20px; display: grid; gap: 4px; align-content: start; min-height: 128px; }
.market-code { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.16em; color: var(--gold-ink); }
.market-name { font-family: var(--font-display); font-size: 1.45rem; line-height: 1.1; }
.market-region { font-size: 0.88rem; color: var(--muted); }
.market.more { background: var(--ivory); }
@media (max-width: 820px) { .markets { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 720px) { .grid-2 { grid-template-columns: 1fr; } }

/* ---------- Order steps ---------- */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.steps li { counter-increment: step; background: var(--paper); padding: 22px; display: grid; gap: 8px; align-content: start; }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.1em; color: var(--gold-ink); }
.steps h3 { font-size: 1.3rem; }
.steps p { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Link panels ---------- */
.link-panel { border: 1px solid var(--line); background: var(--paper); padding: 20px 22px; display: grid; gap: 10px; align-content: start; text-decoration: none; transition: border-color 0.2s; }
.link-panel:hover { border-color: var(--forest); }
.link-panel h3 { font-size: 1.3rem; }
.link-panel p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Downloads ---------- */
.notice + .dl-list { margin-top: 24px; }
.dl-list { display: grid; border-top: 1px solid var(--line); }
.dl-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.dl-icon {
  width: 46px; height: 58px;
  border: 1px solid var(--forest);
  background: linear-gradient(225deg, var(--gold) 0 10px, transparent 10px);
  display: grid; place-items: end center;
  padding-bottom: 7px;
  font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.08em; color: var(--forest);
}
.dl-text { display: grid; gap: 4px; }
.dl-title { font-weight: 600; }
.dl-desc { color: var(--muted); font-size: 0.92rem; }
@media (max-width: 600px) {
  .dl-item { grid-template-columns: auto minmax(0, 1fr); }
  .dl-action { grid-column: 1 / -1; }
}

/* ---------- Legal pages ---------- */
.legal { max-width: 72ch; display: grid; gap: 1.1rem; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.legal h2 { font-size: 1.6rem; margin-top: 1.4rem; }
.legal p, .legal li { color: var(--muted); }
.legal ul { margin: 0; padding-left: 1.2rem; display: grid; gap: 6px; }

/* ---------- RFQ ---------- */
.quote-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .quote-grid { grid-template-columns: 1fr; } }
.rfq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
@media (max-width: 600px) { .rfq { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; align-content: start; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(244, 239, 226, 0.75); }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ivory);
  background: rgba(244, 239, 226, 0.06);
  border: 1px solid rgba(244, 239, 226, 0.28);
  border-radius: 2px;
  padding: 12px;
}
.field select option, .field select optgroup { color: var(--ink); background: var(--paper); }
.field input::placeholder, .field textarea::placeholder { color: rgba(244, 239, 226, 0.4); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--gold); }
.qty { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.rfq-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 6px; }
.rfq-status { font-size: 0.92rem; color: var(--gold); max-width: 60ch; }
.rfq-privacy { grid-column: 1 / -1; font-size: 0.85rem; color: rgba(244, 239, 226, 0.7); }
.rfq-privacy a { color: var(--gold); }
.contact-card { border: 1px solid var(--line-light); padding: 24px; display: grid; gap: 16px; }
.contact-card p { color: rgba(244, 239, 226, 0.75); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--forest); color: var(--ivory); }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-block: clamp(40px, 6vw, 64px); }
.cta-inner h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }

/* ---------- Product page ---------- */
.breadcrumb { padding-top: 28px; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--gold); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--forest); text-decoration: underline; }

.product-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding-block: 28px clamp(48px, 7vw, 88px); }
@media (max-width: 900px) { .product-hero { grid-template-columns: 1fr; } }
.product-copy { display: grid; gap: 1.2rem; }
.product-title { font-size: clamp(3rem, 8vw, 6rem); color: var(--forest); }
.product-lead { color: var(--muted); max-width: 48ch; font-size: 1.1rem; }
.product-figure { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.figure-num { font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1; color: var(--forest); font-variant-numeric: tabular-nums; }
.figure-label { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-ink); }
.product-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.citrus-plate { position: relative; aspect-ratio: 1 / 1; margin: 0; background-color: var(--forest); background-size: cover; background-position: center; overflow: hidden; }
.citrus-plate canvas { width: 100%; height: 100%; }
.citrus-plate.has-photo canvas, .citrus-plate.has-photo .plate-caption { display: none; }
.plate-caption { position: absolute; left: 16px; right: 16px; bottom: 12px; font-family: var(--font-mono); font-size: 0.66rem; color: rgba(244, 239, 226, 0.6); }

.season { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; }
.month { display: grid; gap: 6px; text-align: center; }
.month span { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.06em; color: var(--muted); }
.month i { display: block; height: 30px; border: 1px dashed rgba(201, 154, 62, 0.75); background: repeating-linear-gradient(135deg, rgba(201, 154, 62, 0.22) 0 4px, transparent 4px 8px); }
@media (max-width: 520px) { .season { grid-template-columns: repeat(6, minmax(0, 1fr)); row-gap: 12px; } }
.season-note { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: 0.92rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-deep); color: rgba(244, 239, 226, 0.75); padding-block: 56px 32px; font-size: 0.9rem; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(4, minmax(0, 1fr)); gap: 32px 24px; padding-bottom: 32px; }
@media (max-width: 960px) { .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
.footer-brand { display: grid; gap: 8px; align-content: start; }
.footer-col h2 { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; font-weight: 500; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { color: var(--gold); }
.draft-tag { font-family: var(--font-mono); font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.08em; border: 1px dashed var(--gold); padding: 1px 5px; color: var(--gold); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; padding-top: 16px; border-top: 1px solid var(--line-light); font-size: 0.82rem; }
.site-footer .brand-mark { color: var(--ivory); font-size: 1.4rem; }

/* ---------- v3 additions ---------- */
.h3 { font-size: 1.55rem; }
.draft-banner { background: repeating-linear-gradient(135deg, rgba(201, 154, 62, 0.25) 0 10px, rgba(201, 154, 62, 0.12) 10px 20px); color: var(--forest-deep); font-family: var(--font-mono); font-size: 0.76rem; padding: 10px 0; border-bottom: 1px solid var(--gold); }
.review-note { border: 1px dashed var(--gold); background: rgba(201, 154, 62, 0.08); color: var(--gold-ink); padding: 12px 16px; font-size: 0.88rem; max-width: 72ch; }
.section-dark .review-note, .page-hero .review-note { color: var(--gold); }
.review-note code { font-family: var(--font-mono); font-size: 0.85em; }

.pcard-media img, .product-visual img, .photo-frame.has-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pcard-media img { z-index: 0; }
.pcard-hs, .photo-flag { z-index: 2; }
.pcard-media::after { z-index: 1; }
a.pcard:hover .pcard-media img { transform: scale(1.03); }
.pcard-media img { transition: transform 0.4s ease; }
.photo-flag.licence { background: rgba(125, 90, 23, 0.9); border-style: solid; }
.pgrid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 720px) { .pgrid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.product-visual { position: relative; margin: 0; aspect-ratio: 1 / 1; overflow: hidden; background-color: var(--tone, var(--forest)); }
.product-visual canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.product-visual.frozen::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1.6px); background-size: 11px 11px; opacity: 0.55; }
.product-visual img { z-index: 1; }
.product-visual .photo-flag { z-index: 2; }
.product-visual .plate-caption { z-index: 2; color: rgba(255, 255, 255, 0.85); }

figure.photo-frame { margin: 0; }
.photo-frame.has-photo { position: relative; }
.photo-frame.has-photo > img { display: block; }
.photo-frame.has-photo > .photo-flag { display: inline-block; }

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 820px) { .grid-3 { grid-template-columns: 1fr; } }
.facts-card { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); background: var(--ivory); }
.facts-card .fact { border-left: 0; border-bottom: 1px solid var(--line); padding: 22px; }
.facts-card .fact:nth-child(odd) { border-right: 1px solid var(--line); }
.facts-card .fact:nth-last-child(-n+2) { border-bottom: 0; }

a.market { text-decoration: none; transition: background-color 0.2s; }
a.market:hover { background: var(--paper); }

.lines-1 { grid-template-columns: 1fr; max-width: 720px; }
.supply-inline { margin-top: clamp(40px, 5vw, 56px); display: grid; gap: 14px; }

.month.on i { background: var(--gold); border: 1px solid var(--gold-ink); }
.table-scroll { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.calendar { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 0.92rem; }
.calendar th, .calendar td { border-bottom: 1px solid var(--line); padding: 10px 6px; text-align: center; }
.calendar thead th { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.calendar tbody th[scope="row"] { text-align: left; font-weight: 500; white-space: nowrap; padding-right: 16px; }
.calendar tbody th a { text-decoration: none; color: var(--forest); }
.calendar .cal-group th { text-align: left; font-family: var(--font-display); font-size: 1.2rem; padding-top: 22px; font-weight: 400; }
.calendar td.off { background: repeating-linear-gradient(135deg, rgba(201, 154, 62, 0.1) 0 4px, transparent 4px 8px); }
.calendar td.on { background: var(--gold); }
.cert-table { min-width: 640px; }

.news-list { display: grid; gap: 28px; max-width: 760px; }
.news-item { border-top: 1px solid var(--line); padding-top: 20px; display: grid; gap: 10px; }
.news-item p:not(.eyebrow) { color: var(--muted); }

.mini-steps { margin: 0; padding-left: 1.2rem; display: grid; gap: 8px; color: rgba(244, 239, 226, 0.8); font-size: 0.95rem; }
.plain-list { margin: 0; padding-left: 1.2rem; }
.cf-turnstile { grid-column: 1 / -1; }
.legal .spec { margin-top: 8px; }

/* spacing utilities (no inline styles: the Content-Security-Policy allows stylesheets from this site only) */
.mt-18 { margin-top: 18px; } .mt-20 { margin-top: 20px; } .mt-28 { margin-top: 28px; } .mt-32 { margin-top: 32px; }

/* Farm gallery on the home page: one wide frame, then a 2 x 2 grid (fills as real photos arrive) */
.farm-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.farm-gallery .wide { grid-column: 1 / -1; }
.footer-contact { display: grid; gap: 4px; margin-top: 10px; }
.footer-contact a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.35); }
.contact-card dd a, .spec dd a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.farm-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line, rgba(15,36,23,.15)); border: 1px solid var(--line, rgba(15,36,23,.15)); align-self: center; }
.farm-facts > div { background: var(--paper); padding: 26px 22px; display: grid; gap: 6px; }
.farm-facts .farm-num { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); line-height: 1; color: var(--forest, #0f2417); }
.farm-facts .farm-lbl { font-size: 0.9rem; color: var(--muted, #4a5a4f); }

/* ---------- V6 readability (review of 1 Dec 2026) ---------- */
/* Key figures: larger and bolder in the facts bar */
.facts .fact-num { font-size: clamp(2.5rem, 4.6vw, 3.6rem); }
.facts .fact-label { font-size: 1rem; color: var(--ink); }
/* Product cards: bigger names and annual volumes */
.pcard-name { font-size: 1.34rem; }
.pcard-supply { font-size: 0.88rem; font-weight: 500; letter-spacing: 0.01em; }
@media (max-width: 720px) {
  .pcard-name { font-size: 1.2rem; }
  .pcard-supply { font-size: 0.84rem; }
  .pcard-body { padding: 12px 12px 14px; }
  .facts .fact-num { font-size: 2.4rem; }
}
/* Forms: clearer small text on the dark background */
.field label { font-size: 0.78rem; color: rgba(244, 239, 226, 0.9); }
.field input::placeholder, .field textarea::placeholder { color: rgba(244, 239, 226, 0.62); }
.rfq-privacy { font-size: 0.95rem; color: rgba(244, 239, 226, 0.86); }
.rfq-status { font-size: 1rem; }
@media (max-width: 600px) { .field input, .field select, .field textarea { font-size: 1.05rem; padding: 13px 12px; } }
@media (max-width: 720px) { .pcard-supply { white-space: nowrap; } .pcard-supply:has(i), .pcard-supply:has(.tbc) { white-space: normal; } }
@media (max-width: 440px) { .pcard-supply .per { display: none; } }

/* ---------- Key export lines (home) ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.pillar { position: relative; display: grid; gap: 10px; align-content: end; min-height: 260px; padding: 22px 20px; color: #fff; text-decoration: none;
  background: linear-gradient(180deg, rgba(15, 36, 23, 0) 20%, rgba(15, 36, 23, 0.55)), var(--tone, var(--forest)); overflow: hidden; isolation: isolate; }
.pillar::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, 0.28) 1px, transparent 1.6px); background-size: 12px 12px; opacity: 0.5; }
.pillar-name { font-family: var(--font-display); font-size: clamp(1.7rem, 2.6vw, 2.2rem); line-height: 1.05; }
.pillar-num { font-family: var(--font-display); font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1; font-variant-numeric: tabular-nums; }
.pillar-num small { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; margin-left: 0.4rem; text-transform: uppercase; }
.pillar-sub { font-size: 0.95rem; opacity: 0.92; }
.pillar-cta { font-size: 0.92rem; font-weight: 600; }
.pillar:hover .pillar-cta { text-decoration: underline; }
@media (max-width: 1000px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .pillars { grid-template-columns: 1fr; } .pillar { min-height: 190px; } }
@media (max-width: 1100px) { .band-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .band-item:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 1000px) { .lines { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Product types (e.g. onion types, garlic forms) ---------- */
.types-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.type-card { margin: 0; border: 1px solid var(--line); background: var(--paper); }
.type-media { position: relative; aspect-ratio: 4 / 3; background-color: var(--tone, var(--forest)); overflow: hidden; }
.type-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.type-card figcaption { padding: 14px 16px; font-family: var(--font-display); font-size: 1.3rem; }
@media (max-width: 720px) { .types-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Certifications strip (home) */
.cert-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: 4px; padding-bottom: 22px; }
.cert-label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.cert-chip { display: inline-block; border: 1px solid var(--line); background: #fff; padding: 6px 12px; font-weight: 600; font-size: 0.92rem; color: inherit; text-decoration: none; }
.cert-chip:hover, .cert-chip:focus-visible { border-color: currentColor; }
