/* ==========================================================================
   Sichuan JinNing — jinning.supply
   Design system: the export dossier. Brand palette and typeface per VI 2026.
   ========================================================================== */

:root {
  /* VI 2026 standard colours */
  --green: #1F5C3A;      /* Jinning Green */
  --green-deep: #14402A; /* shade for grounds */
  --gold: #B08D3F;       /* Harvest Gold */
  --cream: #F7F4EC;      /* Rice White */
  --paper: #FFFDF8;      /* sheet stock */
  --ink: #1A1A1A;        /* Ink Black */
  --muted: #4F4F4F;
  --line: #D8D8D0;

  /* frame */
  --maxw: 1440px;
  --margin: clamp(20px, 4.2vw, 64px);
  --head: 86px;
  --foot-h: 470px;

  /* type steps: display / section / lead / sub / body / dense / small */
  --t-display: clamp(42px, 4.7vw, 68px);
  --t-section: clamp(29px, 3.1vw, 46px);
  --t-lead: clamp(19px, 1.55vw, 24px);
  --t-sub: clamp(19px, 1.5vw, 22px);
  --t-body: 17px;
  --t-dense: 17px;
  --t-small: 15px;

  --ease: cubic-bezier(.22, .68, .2, 1);
  --font: "Segoe UI", "Segoe UI Variable Text", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--green);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--t-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

::selection { background: var(--gold); color: var(--paper); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Page frame
   -------------------------------------------------------------------------- */

main {
  position: relative;
  z-index: 1;
  background: var(--cream);
}

.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--margin);
}

.section { padding-block: clamp(80px, 9.6vw, 156px); }
.section--tight { padding-block: clamp(60px, 6vw, 104px); }

.grid12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(14px, 1.6vw, 26px);
}

/* type ------------------------------------------------------------------ */

h1, .h1 {
  font-size: var(--t-display);
  font-weight: 700;
  line-height: .99;
  letter-spacing: -.032em;
}

h2, .h2 {
  font-size: var(--t-section);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.022em;
}

h3, .h3 {
  font-size: var(--t-sub);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -.01em;
}

.lead {
  font-size: var(--t-lead);
  line-height: 1.42;
  letter-spacing: -.008em;
}

p { max-width: 62ch; }
.small { font-size: var(--t-small); line-height: 1.5; }
.muted { color: var(--muted); }
.gold { color: var(--gold); }
.strong { font-weight: 600; }

.on-green { color: var(--paper); }
.on-green .muted { color: #A9BFB2; }

/* controls -------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 50px;
  padding: 0 26px;
  background: var(--green);
  color: var(--paper);
  font-size: var(--t-dense);
  font-weight: 600;
  letter-spacing: .002em;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}

.btn:hover { background: var(--green-deep); }
.btn:active { transform: translateY(1px); }

.btn--light { background: var(--paper); color: var(--green); }
.btn--light:hover { background: #fff; color: var(--green-deep); }

.btn--ghost {
  background: transparent;
  color: var(--green);
  box-shadow: inset 0 0 0 2px var(--green);
}
.btn--ghost:hover { background: var(--green); color: var(--paper); }

.btn--sm { height: 44px; padding: 0 18px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--t-dense);
  font-weight: 600;
  color: var(--green);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 4px;
  transition: gap .25s var(--ease), color .25s var(--ease);
}
.link-arrow:hover { gap: 16px; color: var(--green-deep); }
.link-arrow::after { content: "\2192"; font-weight: 400; }
.on-green .link-arrow,
.certs .link-arrow,
.line--ginger .link-arrow { color: var(--paper); }
.line--ginger .link-arrow:hover { color: #fff; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  height: var(--head);
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}

.site-header__in {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand { display: flex; align-items: center; }
.brand img { height: 46px; width: auto; }
.brand .logo--rev { display: none; }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 34px);
}

.nav a {
  font-size: var(--t-dense);
  font-weight: 600;
  color: var(--ink);
  padding-block: 6px;
  border-bottom: 2px solid transparent;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.nav a:hover { border-bottom-color: var(--gold); }
.nav a[aria-current="page"] { border-bottom-color: var(--green); }

.site-header.is-solid { background: var(--cream); }
.site-header.is-over { background: transparent; }
.site-header.is-over .nav a { color: var(--paper); }
.site-header.is-over .nav a[aria-current="page"],
.site-header.is-over .nav a:hover { border-bottom-color: var(--gold); }
.site-header.is-over .logo--rev { display: block; }
.site-header.is-over .logo--std { display: none; }
.site-header.is-over .btn { background: var(--paper); color: var(--green); }
.site-header.is-over .btn:hover { background: #fff; }
.site-header.is-over.is-solid { background: var(--cream); }
.site-header.is-over.is-solid .nav a { color: var(--ink); }
.site-header.is-over.is-solid .logo--rev { display: none; }
.site-header.is-over.is-solid .logo--std { display: block; }
.site-header.is-over.is-solid .btn { background: var(--green); color: var(--paper); }

.header-cta { flex: 0 0 auto; }
.cta-short { display: none; }

.nav-toggle { display: none; }

/* --------------------------------------------------------------------------
   Hero — the goods on the right, the claim on the left
   -------------------------------------------------------------------------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  min-height: 100svh;
  background: var(--green);
  color: var(--paper);
  padding-top: var(--head);
  overflow: hidden;
}

.hero__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 3.6vw, 56px) clamp(22px, 4.2vw, 64px) clamp(40px, 4.6vw, 72px);
}

.hero__text .lead {
  margin-top: 24px;
  max-width: 30ch;
  font-size: var(--t-lead);
  line-height: 1.45;
  color: #D7E2D7;
}

.hero__text .rule {
  width: 46px;
  height: 3px;
  background: var(--gold);
  margin-top: clamp(26px, 2.8vw, 36px);
}

.hero__media {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  margin: 0;
}
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .9s var(--ease);
}
.hero__media img.is-active { opacity: 1; }

.hero__tabs {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
}
.hero__tab {
  appearance: none;
  border: 0;
  cursor: pointer;
  background: rgba(12, 32, 22, .8);
  color: #B9CCBE;
  font-family: inherit;
  font-size: var(--t-small);
  font-weight: 600;
  padding: 12px 18px;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.hero__tab:hover { color: var(--paper); background: rgba(12, 32, 22, .9); }
.hero__tab.is-active { color: var(--paper); background: rgba(12, 32, 22, .96); }
.hero__tab:focus-visible { outline: 2px solid var(--gold); outline-offset: -4px; }

.facts {
  width: 100%;
  margin-top: clamp(22px, 2.6vw, 34px);
  display: grid;
  gap: 12px;
  text-align: left;
}
.hero .facts { margin-top: clamp(26px, 3vw, 36px); max-width: 480px; }
.facts > div {
  display: grid;
  grid-template-columns: 40% 1fr;
  gap: 14px;
  align-items: baseline;
  padding-bottom: 12px;
}
.facts dt { font-size: var(--t-small); color: var(--muted); }
.facts dd { font-size: var(--t-dense); color: var(--ink); font-weight: 600; }
.hero .facts dt { color: #B9CCBE; }
.hero .facts dd { color: var(--paper); }

/* --------------------------------------------------------------------------
   Band — photograph with the document slips
   -------------------------------------------------------------------------- */

.band {
  position: relative;
  background: var(--green-deep);
  overflow: hidden;
  padding-top: clamp(80px, 13vh, 150px);
}

.band__media { position: absolute; inset: 0; overflow: hidden; }
.band__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  will-change: transform;
}
.band__scrim {
  position: absolute;
  inset: 0;
  background: rgba(12, 32, 22, .62);
}

.band__copy {
  position: relative;
  z-index: 2;
  width: min(600px, 58vw);
  margin-left: max(var(--margin), calc((100vw - var(--maxw)) / 2 + var(--margin)));
  color: var(--paper);
}
.band__copy h2 { max-width: 15ch; }
.band__copy p {
  margin-top: 22px;
  font-size: 22px;
  line-height: 1.5;
  color: #E7EDE6;
  max-width: 42ch;
}

.slips {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  align-items: start;
  margin-top: clamp(52px, 10vh, 116px);
  padding-inline: var(--margin);
  max-width: var(--maxw);
  margin-inline: auto;
}

.slip {
  background: var(--paper);
  color: var(--ink);
  padding: 22px 20px 26px;
  min-height: 232px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.slip:nth-child(1) { margin-top: 74px; }
.slip:nth-child(2) { margin-top: 24px; rotate: -1.2deg; }
.slip:nth-child(3) { margin-top: 46px; }
.slip:nth-child(4) { margin-top: 0; rotate: 1deg; }

.slip__kind {
  font-size: var(--t-small);
  font-weight: 700;
  color: var(--green);
  margin-bottom: 4px;
}
.slip dl { display: grid; gap: 5px; }
.slip dl > div { display: flex; justify-content: space-between; gap: 10px; }
.slip dt { font-size: var(--t-small); color: var(--muted); }
.slip dd { font-size: var(--t-small); color: var(--ink); font-variant-numeric: tabular-nums; text-align: right; }

/* --------------------------------------------------------------------------
   Two supply lines
   -------------------------------------------------------------------------- */

.intro-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(20px, 4vw, 72px);
  align-items: end;
}
.intro-head h2 { max-width: 13ch; }
.intro-head p { font-size: var(--t-body); color: #333; }

.lines {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 0;
  margin-top: clamp(40px, 4.6vw, 72px);
}

.line {
  padding: clamp(30px, 3.6vw, 56px);
  display: flex;
  flex-direction: column;
  min-height: 420px;
}
.line--ginger { background: var(--green); color: var(--paper); }
.line--lemon { background: var(--paper); color: var(--ink); }

.line__top { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; }
.line h3 { font-size: 30px; font-weight: 700; letter-spacing: -.02em; }
.line__num {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.line--ginger .line__num { color: #E3D3A6; }
.line--lemon .line__num { color: var(--gold); }
.line__unit { display: block; font-size: var(--t-small); font-weight: 400; letter-spacing: 0; margin-top: 6px; }
.line--ginger .line__unit { color: #D7E2D7; }
.line--lemon .line__unit { color: var(--muted); }

.line ul { margin-top: 26px; display: grid; gap: 14px; }
.line li {
  font-size: var(--t-body);
  line-height: 1.5;
  padding-left: 26px;
  position: relative;
  max-width: 40ch;
}
.line li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 12px;
  height: 2px;
  background: var(--gold);
}
.line__foot {
  margin-top: auto;
  padding-top: 28px;
  font-size: var(--t-small);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.line--ginger .line__foot { color: #B9CCBE; }
.line--lemon .line__foot { color: var(--muted); }

/* --------------------------------------------------------------------------
   Tables
   -------------------------------------------------------------------------- */

.tbl { width: 100%; border-collapse: collapse; font-size: var(--t-dense); }
.tbl caption { text-align: left; font-size: var(--t-small); color: var(--muted); padding-bottom: 14px; }

.tbl thead th {
  text-align: left;
  font-size: var(--t-small);
  font-weight: 600;
  color: var(--paper);
  background: var(--green);
  padding: 13px 16px;
  white-space: nowrap;
}
.tbl tbody td {
  padding: 15px 16px;
  vertical-align: top;
  border: 0;
}
.tbl tbody tr:nth-child(odd) { background: rgba(31, 92, 58, .045); }
.tbl tbody tr { transition: background .2s var(--ease); }
.tbl tbody tr:hover { background: rgba(176, 141, 63, .14); }
.tbl td:first-child, .tbl th:first-child { padding-left: 14px; }

.tbl--sku td:first-child { font-weight: 700; color: var(--green); white-space: nowrap; }
.tbl--sku td:last-child { color: var(--muted); }

.sku-table-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 22px;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   Process strip
   -------------------------------------------------------------------------- */

.process-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: clamp(28px, 3.4vw, 48px);
}
.process-head h2 { max-width: 17ch; }
.process-head p { max-width: 34ch; }

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 1.4vw, 22px);
  align-items: start;
}
.process figure { margin: 0; }
.process img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform .8s var(--ease);
}
.process figure:hover img { transform: scale(1.03); }
.process figcaption {
  margin-top: 12px;
  font-size: var(--t-small);
  color: var(--muted);
  max-width: 26ch;
}
.process figcaption b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; font-size: var(--t-dense); }
.process figure:nth-child(2), .process figure:nth-child(4) { margin-top: clamp(16px, 3.4vw, 52px); }
.process--three { grid-template-columns: repeat(3, 1fr); }

/* --------------------------------------------------------------------------
   Certificates band
   -------------------------------------------------------------------------- */

.certs {
  background: var(--green);
  color: var(--paper);
  overflow: hidden;
}
.certs__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(30px, 5vw, 90px);
  align-items: start;
}
.certs h2 { max-width: 12ch; }
.certs p { margin-top: 20px; color: #D7E2D7; max-width: 36ch; }
.certs .access__step::before { background: var(--gold); }
.certs .access__step p { color: #D7E2D7; }
.certs .access__step b { color: var(--paper); }

.cert-sheet {
  background: var(--paper);
  color: var(--ink);
  padding: clamp(26px, 2.6vw, 40px);
  rotate: .8deg;
}
.cert-sheet__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 18px; }
.cert-sheet__head strong { font-size: var(--t-sub); font-weight: 700; }
.cert-sheet p { color: var(--muted); }
.cert-sheet__head span { font-size: var(--t-small); color: var(--muted); }

.cert-row {
  display: grid;
  grid-template-columns: 1.1fr 1.5fr auto;
  gap: 14px;
  padding: 14px 0;
  font-size: var(--t-dense);
  align-items: baseline;
}
.cert-row:nth-child(even) { background: rgba(31, 92, 58, .05); }
.cert-row { padding-inline: 10px; margin-inline: -10px; }
.cert-row b { font-weight: 600; }
.cert-row span { color: var(--muted); font-size: var(--t-small); }
.cert-row em { font-style: normal; color: var(--green); font-size: var(--t-small); font-weight: 600; white-space: nowrap; }
.cert-row em.is-pending { color: #7C5F1E; }

/* --------------------------------------------------------------------------
   Page head (inner pages)
   -------------------------------------------------------------------------- */

.page-head {
  padding-top: calc(var(--head) + clamp(48px, 7vw, 104px));
  padding-bottom: clamp(48px, 6vw, 92px);
  background: var(--cream);
}
.page-head__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(24px, 4vw, 80px);
  align-items: end;
}
.page-head h1 { max-width: 16ch; }
.page-head p { color: #333; }

.kv {
  display: grid;
  gap: 0;
  margin-top: clamp(36px, 4vw, 60px);
}
.kv > div {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) minmax(0, 3fr);
  gap: 18px;
  padding: 13px 0;
  font-size: var(--t-dense);
  align-items: baseline;
}
.kv > div:nth-child(odd) { background: rgba(31, 92, 58, .05); }
.kv > div { padding-inline: 12px; margin-inline: -12px; }
.kv dt { color: var(--muted); font-size: var(--t-small); }
.kv dd { font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------------------
   Product explorer
   -------------------------------------------------------------------------- */

.explorer { padding-bottom: clamp(70px, 8vw, 120px); }
.explorer__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(20px, 3.4vw, 56px);
  align-items: start;
}

.sku-list { display: grid; }
.sku {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 14px;
  align-items: baseline;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 16px 14px;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.sku:nth-child(even) { background: rgba(31, 92, 58, .05); }
.sku:hover { background: rgba(31, 92, 58, .06); }
.sku[aria-selected="true"] { background: var(--green); color: var(--paper); }
.sku__code { font-size: var(--t-dense); font-weight: 700; color: var(--green); font-variant-numeric: tabular-nums; }
.sku[aria-selected="true"] .sku__code { color: #D9C68D; }
.sku__name { font-size: var(--t-dense); font-weight: 600; line-height: 1.3; }
.sku__hs { font-size: var(--t-dense); color: var(--muted); font-variant-numeric: tabular-nums; }
.sku[aria-selected="true"] .sku__hs { color: #B9CCBE; }

.sheet-panel {
  position: sticky;
  top: calc(var(--head) + 24px);
  background: var(--paper);
  padding: clamp(26px, 2.8vw, 44px);
  min-height: 640px;
}

.panel__meta {
  margin-top: 14px;
  font-size: var(--t-small);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.panel__bar { width: 44px; height: 3px; background: var(--gold); margin-top: 20px; }
.panel__code { font-weight: 700; color: var(--green); font-variant-numeric: tabular-nums; margin-right: 10px; }

.panel h2 { margin-top: 20px; font-size: 32px; letter-spacing: -.02em; }
.panel__desc { margin-top: 14px; font-size: var(--t-body); color: #2e2e2e; max-width: 58ch; }

.panel .tbl { margin-top: 26px; }
.panel .tbl td { padding: 12px 12px; }
.panel .tbl td:first-child { color: var(--muted); width: 42%; }
.panel .tbl td:last-child { font-variant-numeric: tabular-nums; }
.panel .tbl thead th { background: transparent; color: var(--green); padding: 0 12px 10px; font-size: var(--t-small); }
.panel .tbl thead th + th { color: var(--muted); }
.panel .tbl tbody tr:nth-child(odd) { background: rgba(31, 92, 58, .045); }

.panel__sub { margin-top: 28px; }
.panel__sub h3 { font-size: var(--t-small); color: var(--muted); font-weight: 600; }
.panel__sub p, .panel__sub li { font-size: var(--t-dense); margin-top: 6px; }
.panel__apps { margin-top: 8px; display: grid; gap: 6px; }
.panel__apps li { padding-left: 18px; position: relative; color: #333; }
.panel__apps li::before { content: ""; position: absolute; left: 0; top: .68em; width: 8px; height: 2px; background: var(--gold); }

.panel__actions {
  margin-top: 30px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.panel__actions .small { color: var(--muted); }

.panel__note { margin-top: 18px; font-size: var(--t-small); color: var(--muted); }

/* --------------------------------------------------------------------------
   Inquiry tray
   -------------------------------------------------------------------------- */

.tray {
  position: fixed;
  left: var(--margin);
  bottom: 20px;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 10px 10px 22px;
  background: var(--green);
  color: var(--paper);
  font-size: var(--t-dense);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.tray[hidden] { display: none; }
.tray b { font-variant-numeric: tabular-nums; }
.tray .btn { height: 42px; padding: 0 18px; background: var(--paper); color: var(--green); font-size: var(--t-small); }
.tray button.clear {
  background: none;
  border: 0;
  color: #B9CCBE;
  font-size: var(--t-small);
  cursor: pointer;
  padding: 6px 8px;
}
.tray button.clear:hover { color: var(--paper); }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 6.4fr) minmax(0, 5fr);
  gap: clamp(30px, 4vw, 70px);
  align-items: start;
}

.coupon {
  position: relative;
  background: var(--green);
  color: var(--paper);
  padding: clamp(30px, 3.6vw, 52px);
  overflow: hidden;
}
.coupon::before,
.coupon::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='14'%3E%3Ccircle cx='11' cy='7' r='6.6' fill='%23F7F4EC'/%3E%3C/svg%3E");
  background-size: 22px 14px;
  background-repeat: repeat-x;
}
.coupon::before { top: -7px; }
.coupon::after { bottom: -7px; }

.coupon h2 { max-width: 14ch; font-size: 32px; }
.coupon > p { margin-top: 12px; color: #D7E2D7; font-size: var(--t-dense); max-width: 44ch; }

.form { margin-top: 28px; display: grid; gap: 10px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: var(--t-small); color: #C7D6CB; }
.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--paper);
  color: var(--ink);
  border: 0;
  border-radius: 0;
  padding: 14px 14px;
  font: inherit;
  font-size: var(--t-dense);
  min-height: 50px;
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.45; }
.field input::placeholder, .field textarea::placeholder { color: #9A9A9A; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form .btn { margin-top: 8px; height: 54px; width: 100%; background: var(--paper); color: var(--green); }
.form .btn:hover { background: #fff; }
.form__note { font-size: var(--t-small); color: #B9CCBE; }

.contact-aside { display: grid; gap: 30px; }
.contact-aside h3 { font-size: var(--t-sub); }
.contact-aside p, .contact-aside li { font-size: var(--t-dense); color: #333; }
.contact-list { display: grid; gap: 14px; margin-top: 12px; }
.contact-list a { border-bottom: 1px solid rgba(31, 92, 58, .25); }
.contact-list a:hover { border-bottom-color: var(--gold); }
.contact-aside .small { color: var(--muted); }

.steps { display: grid; gap: 10px; margin-top: 12px; }
.steps li {
  font-size: var(--t-dense);
  padding: 12px 14px;
  background: rgba(31, 92, 58, .06);
}

/* --------------------------------------------------------------------------
   Lemon page
   -------------------------------------------------------------------------- */

.lemon-hero {
  position: relative;
  background: var(--green);
  color: var(--paper);
  padding-top: calc(var(--head) + clamp(50px, 7vw, 100px));
  padding-bottom: clamp(50px, 7vw, 110px);
  overflow: hidden;
}
.lemon-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 6.5fr) minmax(0, 5fr);
  gap: clamp(30px, 4vw, 80px);
  align-items: center;
}
.lemon-hero h1 { max-width: 14ch; }
.lemon-hero p { margin-top: 22px; font-size: var(--t-lead); color: #D7E2D7; max-width: 34ch; }
.lemon-hero__fig { position: relative; }
.lemon-hero__fig svg { width: 100%; height: auto; display: block; }
.lemon-hero__fig figcaption {
  margin-top: 16px;
  font-size: var(--t-small);
  color: #B9CCBE;
  max-width: 30ch;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.4vw, 40px);
  margin-top: clamp(50px, 6vw, 86px);
}
.stat::before { content: ""; display: block; width: 100%; height: 4px; background: var(--gold); margin-bottom: 18px; }
.stat b {
  display: block;
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat span { display: block; margin-top: 10px; font-size: var(--t-small); color: #B9CCBE; max-width: 26ch; }

.access { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.6vw, 40px); }
.access--four { grid-template-columns: repeat(4, 1fr); }
.access__step::before { content: ""; display: block; width: 100%; height: 4px; background: var(--green); margin-bottom: 20px; }
.access__step b { display: block; font-size: var(--t-sub); font-weight: 700; margin-bottom: 10px; }
.access__step p { font-size: var(--t-dense); color: #333; }

/* --------------------------------------------------------------------------
   Footer — curtain
   -------------------------------------------------------------------------- */

.curtain {
  position: relative;
  z-index: 0;
  background: var(--green);
  color: var(--paper);
  padding-block: clamp(56px, 7vw, 96px) 34px;
  overflow: hidden;
}
.curtain__in { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--margin); }
.curtain__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.curtain h2 { max-width: 16ch; font-size: var(--t-section); }
.curtain__mail {
  font-size: 22px;
  font-weight: 600;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 6px;
  transition: color .2s var(--ease);
}
.curtain__mail:hover { color: #D9C68D; }

.curtain__bottom {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
  margin-top: 44px;
  font-size: var(--t-small);
  color: #C7D6CB;
}
.curtain__bottom a:hover { color: var(--paper); }
.curtain__legal { display: flex; justify-content: space-between; gap: 20px; margin-top: 22px; font-size: 13.5px; color: #C7D6CB; flex-wrap: wrap; }
.curtain .brand img { height: 40px; }

/* --------------------------------------------------------------------------
   Motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
  html.js [data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
    transition-delay: var(--d, 0ms);
  }
  html.js [data-reveal].is-in { opacity: 1; transform: none; }

  .hero__media { animation: sheet-in 1.1s var(--ease) both; }
  .hero__text h1, .hero__text .lead, .hero__text .rule, .hero__text .facts {
    animation: rise .9s var(--ease) both;
  }
  .hero__text h1 { animation-delay: .05s; }
  .hero__text .lead { animation-delay: .16s; }
  .hero__text .rule { animation-delay: .24s; }
  .hero__text .facts { animation-delay: .3s; }
}

@keyframes sheet-in {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1180px) {
  .band__copy { width: min(620px, 76vw); margin-left: var(--margin); }
  .intro-head { grid-template-columns: 1fr; gap: 22px; }
  .page-head__grid { grid-template-columns: 1fr; gap: 20px; }
  .certs__grid { grid-template-columns: 1fr; }
  .explorer__grid { grid-template-columns: 1fr; }
  .sheet-panel { position: relative; top: 0; min-height: 0; }
  .lemon-hero__grid { grid-template-columns: 1fr; }
  .lemon-hero__fig { max-width: 420px; }
  .contact { grid-template-columns: 1fr; }
  .curtain__bottom { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --head: 74px; --foot-h: auto; }
  .brand img { height: 38px; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 0; }
  .hero__text { padding-top: calc(var(--head) + 44px); }
  .hero__media { min-height: 50svh; }
  .hero .facts { max-width: none; }
  main { margin-bottom: 0; }
  .curtain { position: relative; height: auto; padding-block: 56px 34px; }
  .curtain__top { gap: 24px; }
  .curtain__bottom { margin-top: 30px; }

  .slips { grid-template-columns: 1fr 1fr; }
  .slip { min-height: 0; }
  .slip:nth-child(1), .slip:nth-child(2), .slip:nth-child(3), .slip:nth-child(4) { margin-top: 0; rotate: 0deg; }

  .lines { grid-template-columns: 1fr; row-gap: 56px; }
  .line { min-height: 0; }

  .process { grid-template-columns: 1fr 1fr; }
  .process--three { grid-template-columns: 1fr; }
  .process figure:nth-child(2), .process figure:nth-child(4) { margin-top: 0; }
  .process figure:nth-child(3) { margin-top: 0; }

  .access, .access--four { grid-template-columns: 1fr 1fr; }
  .county-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; gap: 26px; }

  .nav { display: none; }
  .site-header__in { gap: 12px; }
  .header-cta { margin-left: auto; }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: none;
    border: 0;
    cursor: pointer;
    color: var(--paper);
  }
  .is-solid .nav-toggle { color: var(--ink); }
  .nav-toggle span { display: block; width: 22px; height: 2px; background: currentColor; position: relative; }
  .nav-toggle span::before, .nav-toggle span::after {
    content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: currentColor;
  }
  .nav-toggle span::before { top: -7px; }
  .nav-toggle span::after { top: 7px; }

  .nav.is-open {
    display: flex;
    position: absolute;
    top: var(--head);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--cream);
    padding: 8px var(--margin) 18px;
  }
  .nav.is-open a { color: var(--ink); padding: 14px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .site-header.is-over .nav.is-open a { color: var(--ink); }
}

@media (max-width: 720px) {
  .header-cta { display: inline-flex; height: 40px; padding: 0 14px; font-size: 14px; }
  .cta-full { display: none; }
  .cta-short { display: inline; }
  .hero__text { padding-top: calc(var(--head) + 34px); }
  .hero__media { min-height: 46svh; }
  .facts > div { grid-template-columns: 1fr; gap: 2px; }

  .band { padding-top: 80px; }
  .band__copy { width: auto; margin-right: var(--margin); }
  .slips { grid-template-columns: 1fr; padding-inline: var(--margin); }
  .slip { min-height: 0; }

  .process { grid-template-columns: 1fr; }
  .process img { aspect-ratio: 4 / 3; }

  .tbl { table-layout: fixed; }
  .tbl thead th { white-space: normal; }
  .tbl--quality th:nth-child(3), .tbl--quality td:nth-child(3),
  .tbl--grades th:nth-child(3), .tbl--grades td:nth-child(3),
  .tbl--season th:nth-child(2), .tbl--season td:nth-child(2),
  .tbl--season th:nth-child(4), .tbl--season td:nth-child(4) { display: none; }
  .tbl td, .tbl th { overflow-wrap: normal; }
  .tbl--sku thead { display: none; }
  .tbl--sku, .tbl--sku tbody, .tbl--sku tr, .tbl--sku td { display: block; }
  .tbl--sku tr { padding: 14px 12px; }
  .tbl--sku tr:nth-child(odd) { background: rgba(31, 92, 58, .05); }
  .tbl--sku td { padding: 0; }
  .tbl--sku td:nth-child(1) { font-size: var(--t-small); color: var(--green); margin-bottom: 2px; }
  .tbl--sku td:nth-child(2) { font-size: var(--t-body); font-weight: 600; line-height: 1.3; }
  .tbl--sku td:nth-child(3) { font-size: var(--t-small); color: var(--muted); margin-top: 4px; }
  .tbl--sku td:nth-child(4) { font-size: var(--t-dense); color: #2e2e2e; margin-top: 6px; }
  .tbl--sku td:nth-child(5) { display: none; }

  .cert-row { grid-template-columns: 1fr; gap: 4px; padding: 12px 0; }
  .cert-row em { white-space: normal; }

  .access, .access--four { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .curtain__bottom { grid-template-columns: 1fr; gap: 20px; }
  .tray { left: 12px; right: 12px; bottom: 12px; padding-left: 16px; gap: 12px; justify-content: space-between; }
  .tray .btn { padding: 0 14px; }
}

/* lemon page — mounted product plate */
.hero-shot {
  margin: 0;
  background: var(--paper);
  padding: 16px 16px 0;
}
.hero-shot img {
  width: 100%;
  aspect-ratio: 800 / 559;
  object-fit: cover;
  display: block;
}
.hero-shot figcaption {
  padding: 12px 2px 16px;
  font-size: var(--t-small);
  color: var(--muted);
}

.stat-row--light .stat b { color: var(--green); }
.stat-row--light .stat span { color: var(--muted); }

.county-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(26px, 4vw, 72px);
  align-items: start;
}
.county-grid figure { margin: 0; }
.county-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.county-grid figcaption {
  margin-top: 12px;
  font-size: var(--t-small);
  color: var(--muted);
  max-width: 34ch;
}
