/* ============================================================
   Western Hybrids — heritage western agriculture design system
   ============================================================ */

:root {
  /* Official brand colours, sampled from the Western Hybrids logo vector. */
  --brand-gold:  #F6B436;
  --brand-green: #066839;
  --brand-ink:   #404041;

  --paper:      #FAF3E3;
  --paper-2:    #F2E9D4;
  --paper-3:    #E8DBBE;
  --ink:        #211A11;
  --ink-2:      #4A3D2B;
  --ink-3:      #6B5B44;
  --green:      var(--brand-green);
  --green-deep: #04492A;
  --green-soft: #0B7E45;
  --gold:       #8A5F08;   /* AA-safe dark shade of --brand-gold for body text */
  --gold-bright:var(--brand-gold);
  --gold-soft:  #F7DFA8;
  --rule:       #D6C6A2;
  --card:       #FFFCF4;
  --hero-scrim: linear-gradient(180deg, rgba(12,26,17,.72) 0%, rgba(12,26,17,.44) 45%, rgba(12,26,17,.82) 100%);
  --shadow:     0 2px 0 rgba(33,26,17,.08), 0 14px 34px -18px rgba(33,26,17,.45);
  --focus:      #8A5F08;
  --wordmark:   var(--brand-ink);
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;

  --wrap: 1180px;
  --gut: clamp(1.15rem, 4vw, 2.75rem);

  --t-xs: .75rem;
  --t-sm: .875rem;
  --t-base: 1.0rem;
  --t-lg: 1.125rem;
  --t-xl: clamp(1.25rem, 1.6vw, 1.45rem);
  --t-h3: clamp(1.4rem, 2.2vw, 1.85rem);
  --t-h2: clamp(1.85rem, 3.6vw, 3rem);
  --t-h1: clamp(2.3rem, 6vw, 4.6rem);

  --shell: 8px;
  color-scheme: light;
}

html[data-theme="dark"] {
  --paper:      #15110C;
  --paper-2:    #1D1811;
  --paper-3:    #272016;
  --ink:        #F2E9D6;
  --ink-2:      #D3C6AC;
  --ink-3:      #AC9E85;
  --green:      #0B7A45;
  --green-deep: #0F2418;
  --green-soft: #12A05B;
  --gold:       #F3C463;
  --gold-bright:var(--brand-gold);
  --gold-soft:  #4A3A16;
  --rule:       #3A3123;
  --card:       #201A12;
  --hero-scrim: linear-gradient(180deg, rgba(8,14,10,.74) 0%, rgba(8,14,10,.5) 45%, rgba(8,14,10,.9) 100%);
  --shadow:     0 2px 0 rgba(0,0,0,.4), 0 16px 34px -18px rgba(0,0,0,.8);
  --focus:      #F3C463;
  --wordmark:   #FAF3E3;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "General Sans", "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: var(--t-base);
  line-height: 1.65;
  overflow-x: hidden;
  transition: background-color .35s ease, color .35s ease;
}

/* paper grain */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.32'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
html[data-theme="dark"] body::before { mix-blend-mode: screen; opacity: .22; }

h1, h2, h3, h4, .display {
  font-family: "Bespoke Slab", "Alfa Slab One", Georgia, serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.012em;
  line-height: 1.02;
  margin: 0 0 .5em;
  overflow-wrap: break-word;
}
h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); line-height: 1.08; }
h4 { font-size: var(--t-xl); }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }
img { max-width: 100%; display: block; height: auto; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.wrap-narrow { max-width: 820px; }

.section { padding-block: clamp(3.5rem, 8vw, 7rem); position: relative; }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

.eyebrow {
  font-family: "General Sans", sans-serif;
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 .9rem;
  display: flex; align-items: center; gap: .6rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--gold); flex: none;
}
.eyebrow--center { justify-content: center; }

.lede { font-size: var(--t-lg); color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--ink-3); }
.small { font-size: var(--t-sm); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: "General Sans", sans-serif;
  font-weight: 700; font-size: var(--t-sm);
  letter-spacing: .12em; text-transform: uppercase;
  padding: .95rem 1.6rem;
  border: 2px solid var(--green);
  background: var(--green); color: #FAF3E3;
  text-decoration: none; cursor: pointer;
  border-radius: 2px;
  transition: transform .15s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
  box-shadow: 3px 3px 0 rgba(33,26,17,.18);
}
.btn:hover { transform: translate(-1px,-1px); box-shadow: 5px 5px 0 rgba(33,26,17,.2); }
.btn:active { transform: translate(1px,1px); box-shadow: 1px 1px 0 rgba(33,26,17,.2); }
.btn--gold { background: var(--gold-bright); border-color: var(--gold-bright); color: #21160A; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); box-shadow: none; }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--onDark { background: var(--gold-bright); border-color: var(--gold-bright); color: #21160A; }
.btn--outlineLight { background: transparent; border-color: rgba(250,243,227,.75); color: #FAF3E3; box-shadow: none; }
.btn--outlineLight:hover { background: #FAF3E3; color: var(--green-deep); border-color: #FAF3E3; }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }

/* ---------- Header ---------- */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--gold-bright); color: #21160A; padding: .8rem 1.2rem; font-weight: 700;
}
.skip:focus { left: 0; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  transition: padding .25s ease, box-shadow .25s ease, background-color .35s ease;
}
.site-header.is-stuck { box-shadow: 0 10px 26px -20px rgba(0,0,0,.8); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-block: 1rem;
  transition: padding-block .25s ease;
}
.site-header.is-stuck .header-inner { padding-block: .5rem; }

/* ---------- Official logo ---------- */
/* The gold "WH" and the green leaf are never recoloured. The charcoal
   wordmark + divider rule flip to the cream surface colour on dark
   surfaces so the lockup stays legible. */
.wh-logo { display: block; width: auto; }
.wh-logo .wh-word { fill: var(--wordmark); transition: fill .35s ease; }
.wh-logo .wh-rule { stroke: var(--wordmark); transition: stroke .35s ease; }
.on-dark .wh-logo .wh-word,
.brand--onDark .wh-logo .wh-word,
.rc-masthead .wh-logo .wh-word { fill: #FAF3E3; }
.on-dark .wh-logo .wh-rule,
.brand--onDark .wh-logo .wh-rule,
.rc-masthead .wh-logo .wh-rule { stroke: #FAF3E3; }

.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); flex: none; }
.brand svg { display: block; height: 34px; width: auto; transition: height .25s ease; }
.site-header.is-stuck .brand svg { height: 28px; }
@media (max-width: 420px) { .brand svg { height: 27px; } .site-header.is-stuck .brand svg { height: 24px; } }
.site-footer .brand svg { height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text b {
  font-family: "Bespoke Slab", Georgia, serif; text-transform: uppercase;
  font-size: 1.02rem; letter-spacing: .02em;
}
.brand-text span { font-size: .58rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-top: .22rem; }

.nav { display: flex; align-items: center; gap: .05rem; }
.nav a {
  font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; padding: .55rem .5rem; border-radius: 2px; color: var(--ink-2);
  transition: color .18s ease, background-color .18s ease;
  white-space: nowrap;
}
.nav a:hover { color: var(--ink); background: var(--paper-2); }
.nav a[aria-current="page"] { color: var(--green); box-shadow: inset 0 -3px 0 var(--gold-bright); }
html[data-theme="dark"] .nav a[aria-current="page"] { color: var(--gold-bright); }

.header-actions { display: flex; align-items: center; gap: .5rem; flex: none; }

.theme-toggle, .menu-btn {
  width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 1.5px solid var(--rule); border-radius: 2px;
  color: var(--ink); cursor: pointer; transition: border-color .2s, background-color .2s;
}
.theme-toggle:hover, .menu-btn:hover { border-color: var(--gold); background: var(--paper-2); }
.theme-toggle .i-sun { display: none; }
html[data-theme="dark"] .theme-toggle .i-sun { display: block; }
html[data-theme="dark"] .theme-toggle .i-moon { display: none; }
.menu-btn { display: none; }

@media (max-width: 1140px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
}

.mobile-nav {
  display: none;
  border-bottom: 1px solid var(--rule);
  background: var(--paper-2);
}
.mobile-nav.is-open { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: .5rem var(--gut) 1.25rem; }
.mobile-nav li + li { border-top: 1px solid var(--rule); }
.mobile-nav a {
  display: block; padding: .9rem .2rem; text-decoration: none;
  font-family: "Bespoke Slab", Georgia, serif; text-transform: uppercase; font-size: 1.05rem; letter-spacing: .02em;
}
.mobile-nav a[aria-current="page"] { color: var(--gold); }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--green-deep); }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hero-scrim); }
.hero-inner { padding-block: clamp(4.5rem, 14vw, 9.5rem); color: #FAF3E3; position: relative; }
.hero h1 { color: #FAF3E3; text-shadow: 0 2px 24px rgba(0,0,0,.45); max-width: 16ch; }
.hero .lede { color: rgba(250,243,227,.9); }
.hero .eyebrow { color: var(--gold-bright); }
.hero .eyebrow::before { background: var(--gold-bright); }
.hero--page .hero-inner { padding-block: clamp(3.5rem, 9vw, 6.5rem); }
.hero--page h1 { max-width: 24ch; }

.rule-tag {
  display: inline-block; font-size: var(--t-xs); font-weight: 700; letter-spacing: .24em;
  text-transform: uppercase; padding: .4rem .8rem; border: 1.5px solid currentColor; border-radius: 2px;
}

/* ---------- Bands ---------- */
.band-green { background: var(--green-deep); color: #FAF3E3; }
.band-green h2, .band-green h3 { color: #FAF3E3; }
.band-green .lede { color: rgba(250,243,227,.88); }
.band-green .eyebrow { color: var(--gold-bright); }
.band-green .eyebrow::before { background: var(--gold-bright); }
.band-paper2 { background: var(--paper-2); }

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

/* ---------- Grid helpers ---------- */
.grid { display: grid; gap: clamp(1.1rem, 2.4vw, 1.9rem); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0,1fr); } }

.section-head { max-width: 70ch; margin-bottom: clamp(1.8rem, 4vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .lede { margin-inline: auto; }

/* ---------- Product cards ---------- */
.pcard {
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--rule); border-radius: 3px;
  overflow: hidden; text-decoration: none; color: inherit;
  box-shadow: var(--shadow);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.pcard:hover { transform: translateY(-4px); border-color: var(--gold); }
.pcard-img { aspect-ratio: 4/3; overflow: hidden; background: var(--paper-3); }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.pcard:hover .pcard-img img { transform: scale(1.045); }
.pcard-body { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.pcard-body h3 { margin: 0; }
.pcard-body p { color: var(--ink-2); font-size: var(--t-sm); margin: 0; }
.pcard-more {
  margin-top: auto; padding-top: .9rem;
  font-size: var(--t-xs); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold);
}

/* ---------- Stat band ---------- */
.stat { text-align: center; padding: 1.2rem .6rem; }
.stat-num {
  font-family: "Bespoke Slab", Georgia, serif;
  font-size: clamp(2.6rem, 6vw, 4.1rem); line-height: 1;
  color: var(--gold-bright); display: block; letter-spacing: -0.02em;
}
.stat-label {
  display: block; margin-top: .7rem; font-size: var(--t-xs); font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: rgba(250,243,227,.82);
}
.stat + .stat { border-left: 1px solid rgba(250,243,227,.16); }
@media (max-width: 900px) {
  .stat:nth-child(odd) { border-left: 0; }
}
@media (max-width: 620px) {
  .stat + .stat { border-left: 0; border-top: 1px solid rgba(250,243,227,.16); }
}

/* ---------- Feature split ---------- */
.split { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(1.6rem, 5vw, 4rem); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0,1fr); } }
.split-img { position: relative; border: 1px solid var(--rule); border-radius: 3px; overflow: hidden; box-shadow: var(--shadow); }
.split-img img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; }
.split--reverse .split-img { order: 2; }
@media (max-width: 860px) { .split--reverse .split-img { order: 0; } }

/* ---------- List with checks ---------- */
.tick-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.tick-list li { display: grid; grid-template-columns: 22px 1fr; gap: .8rem; align-items: start; color: var(--ink-2); }
.tick-list svg { margin-top: .35em; color: var(--gold); }
.band-green .tick-list li { color: rgba(250,243,227,.9); }
.band-green .tick-list svg { color: var(--gold-bright); }

/* ---------- Corn series grid ---------- */
.series-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: .7rem; }
.series {
  border: 1.5px solid var(--rule); background: var(--card); border-radius: 3px;
  padding: 1rem .5rem; text-align: center;
  transition: border-color .2s, background-color .2s, transform .2s;
}
.series:hover { border-color: var(--gold); transform: translateY(-2px); }
.series b {
  display: block; font-family: "Bespoke Slab", Georgia, serif; font-size: 1.55rem; line-height: 1; letter-spacing: .01em;
}
.series span { display: block; margin-top: .4rem; font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }

/* ---------- Ladder ---------- */
.ladder { display: grid; gap: 1rem; }
.rung {
  display: grid; grid-template-columns: minmax(96px, 130px) 1fr auto; gap: clamp(.8rem, 2vw, 1.6rem);
  align-items: center;
  border: 1px solid var(--rule); background: var(--card); border-radius: 3px;
  padding: 1.15rem 1.25rem; box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.rung::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--gold-bright); }
.rung--top::before { background: var(--green); }
.rung-units { font-family: "Bespoke Slab", Georgia, serif; font-size: clamp(1.5rem,3vw,2.1rem); line-height: 1; }
.rung-units small { display: block; font-family: "General Sans", sans-serif; font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); margin-top: .35rem; font-weight: 700; }
.rung-desc { color: var(--ink-2); font-size: var(--t-sm); }
.rung-credit {
  font-family: "Bespoke Slab", Georgia, serif; font-size: clamp(1.3rem,2.6vw,1.8rem);
  color: var(--green); white-space: nowrap;
}
html[data-theme="dark"] .rung-credit { color: var(--gold-bright); }
@media (max-width: 620px) {
  .rung { grid-template-columns: 1fr auto; }
  .rung-desc { grid-column: 1 / -1; }
}

/* ---------- Bars / meter ---------- */
.meter { height: 12px; background: var(--paper-3); border-radius: 99px; overflow: hidden; border: 1px solid var(--rule); }
.meter i { display: block; height: 100%; background: var(--gold-bright); }

/* ---------- Funnel ---------- */
.funnel { display: grid; gap: .8rem; }
.funnel-step {
  border: 1px solid rgba(250,243,227,.24); background: rgba(250,243,227,.06);
  padding: 1.1rem 1.3rem; border-radius: 3px;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem 1rem;
  margin-inline: auto; width: 100%;
}
.funnel-step b { font-family: "Bespoke Slab", Georgia, serif; font-size: clamp(1.4rem,3vw,2rem); color: var(--gold-bright); line-height: 1.1; }
.funnel-step span { color: rgba(250,243,227,.85); font-size: var(--t-sm); }
.funnel-step:nth-child(2) { width: 88%; }
.funnel-step:nth-child(3) { width: 74%; }
.funnel-step:nth-child(4) { width: 60%; background: rgba(239,193,90,.14); border-color: rgba(239,193,90,.5); }
@media (max-width: 700px) { .funnel-step, .funnel-step:nth-child(n) { width: 100%; } }

/* ---------- Quote / founder ---------- */
.quote {
  font-family: "Bespoke Slab", Georgia, serif; text-transform: none;
  font-size: clamp(1.25rem, 2.6vw, 1.9rem); line-height: 1.28; letter-spacing: -0.01em;
}
.quote-attrib { font-size: var(--t-xs); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 700; }

/* ---------- People ---------- */
.person {
  border: 1px solid var(--rule); background: var(--card); border-radius: 3px; padding: 1.4rem;
  box-shadow: var(--shadow); display: flex; flex-direction: column; gap: .35rem;
}
.person h3 { margin: 0; font-size: 1.22rem; }
.person .role { font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.person p { font-size: var(--t-sm); color: var(--ink-2); margin: .3rem 0 0; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .4rem; }
.field label { font-size: var(--t-xs); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: var(--t-base); color: var(--ink);
  background: var(--card); border: 1.5px solid var(--rule); border-radius: 2px;
  padding: .8rem .9rem; width: 100%;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(143,86,6,.25);
}
.field textarea { min-height: 140px; resize: vertical; }
.field .err { font-size: var(--t-sm); color: #A32718; display: none; font-weight: 600; }
html[data-theme="dark"] .field .err { color: #F09080; }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select { border-color: #A32718; }
.field.is-invalid .err { display: block; }
.form-note { font-size: var(--t-sm); color: var(--ink-2); }
.form-feedback { font-size: var(--t-sm); padding: .8rem 1rem; border-left: 3px solid var(--gold); background: var(--paper); }
.form button:disabled { cursor: not-allowed; opacity: .65; }
.form-success {
  display: none; border: 2px solid var(--green); background: var(--paper-2);
  padding: 1.5rem; border-radius: 3px;
}
.form-success.is-visible { display: block; }
.form-success h3 { color: var(--green); margin-bottom: .4rem; }
html[data-theme="dark"] .form-success h3 { color: var(--gold-bright); }
.form-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.1rem; }
@media (max-width: 620px) { .form-grid-2 { grid-template-columns: minmax(0,1fr); } }

/* ---------- CTA strip ---------- */
.cta-strip {
  background: var(--green-deep); color: #FAF3E3; border-radius: 3px;
  padding: clamp(1.8rem, 4vw, 3rem);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.cta-strip h2 { color: #FAF3E3; margin: 0 0 .3rem; font-size: clamp(1.5rem,3vw,2.2rem); }
.cta-strip p { color: rgba(250,243,227,.85); margin: 0; max-width: 46ch; }

/* ---------- Ribbon ---------- */
.ribbon {
  display: inline-block; background: var(--gold-bright); color: #21160A;
  font-size: var(--t-xs); font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  padding: .45rem 1rem; border-radius: 2px;
}

/* ---------- Marquee strip ---------- */
.strip {
  background: var(--green); color: #FAF3E3; overflow: hidden;
  border-top: 3px solid var(--gold-bright); border-bottom: 3px solid var(--gold-bright);
}
.strip-inner {
  display: flex; gap: 2.4rem; padding: .7rem 0; white-space: nowrap;
  font-size: var(--t-xs); font-weight: 700; letter-spacing: .26em; text-transform: uppercase;
  animation: slide 34s linear infinite;
}
.strip-inner span { display: inline-flex; align-items: center; gap: 2.4rem; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .strip-inner { animation: none; } }

/* ---------- Map ---------- */
.mapwrap { border: 1px solid var(--rule); background: var(--card); border-radius: 3px; padding: clamp(1rem,3vw,2rem); box-shadow: var(--shadow); }
.mapwrap svg { width: 100%; height: auto; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-deep); color: rgba(250,243,227,.82); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.site-footer h4 { color: #FAF3E3; font-size: .78rem; letter-spacing: .2em; margin-bottom: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: clamp(1.6rem, 4vw, 3rem); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: minmax(0,1fr); } }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-footer a { color: rgba(250,243,227,.82); text-decoration: none; font-size: var(--t-sm); }
.site-footer a:hover { color: var(--gold-bright); text-decoration: underline; }
.site-footer .brand { color: #FAF3E3; }
.site-footer .brand-text b { color: #FAF3E3; }
.footer-bottom {
  margin-top: clamp(2rem,5vw,3rem); padding-top: 1.4rem; border-top: 1px solid rgba(250,243,227,.18);
  display: flex; flex-wrap: wrap; gap: .8rem 1.5rem; justify-content: space-between;
  font-size: var(--t-xs); color: rgba(250,243,227,.78);
}
.footer-note { font-size: var(--t-sm); color: rgba(250,243,227,.72); max-width: 40ch; }

/* ---------- Reveal ---------- */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}

/* ---------- Misc ---------- */
.callout {
  border-left: 4px solid var(--gold-bright); background: var(--paper-2);
  padding: 1.15rem 1.35rem; border-radius: 0 3px 3px 0; color: var(--ink-2); font-size: var(--t-sm);
}
.kv { display: grid; gap: .2rem; margin-bottom: 1.2rem; }
.kv dt { font-size: var(--t-xs); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.kv dd { margin: 0; }
.badge-seal { display: block; margin-inline: auto; }

.h1-kick {
  display: block;
  font-size: .34em;
  letter-spacing: .1em;
  color: var(--gold-bright);
  margin-bottom: .55em;
  line-height: 1.1;
}
.hero h1 { max-width: 15ch; }

[hidden] { display: none !important; }

.site-footer .brand-text span { color: var(--gold-bright); }

/* ============================================================
   Deck-asset integration components
   ============================================================ */

/* ---------- Full-bleed captioned photo ---------- */
.fullbleed { margin: 0; }
.fullbleed img {
  width: 100%; height: auto; display: block;
  aspect-ratio: 1600 / 968; object-fit: cover;
  border: 1px solid var(--rule); border-radius: 3px;
  box-shadow: var(--shadow);
}
.fullbleed figcaption {
  margin-top: 1rem; font-size: var(--t-sm); color: var(--ink-2);
  max-width: 74ch; display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem .8rem;
}
.fullbleed-tag {
  font-size: var(--t-xs); font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--green); border: 1.5px solid var(--green); border-radius: 2px;
  padding: .2rem .5rem; flex: none;
}
html[data-theme="dark"] .fullbleed-tag { color: var(--gold); border-color: var(--gold); }

.split-fig { margin: 0; }
.split-fig img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; }
.split-fig figcaption {
  padding: .8rem 1rem; font-size: var(--t-sm); color: var(--ink-2);
  background: var(--paper-2); border-top: 1px solid var(--rule);
}

/* ---------- Loyalty Yields destination card ---------- */
.destination {
  display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr);
  gap: clamp(1.4rem, 4vw, 3rem); align-items: center;
  border: 2px solid var(--green); border-radius: 3px;
  background: var(--card); padding: clamp(1.4rem, 3vw, 2.4rem);
  box-shadow: var(--shadow);
}
@media (max-width: 860px) { .destination { grid-template-columns: minmax(0,1fr); } }
.destination-body h2 { margin: 1rem 0 .5rem; }
.destination-fig { margin: 0; }
.destination-fig img {
  width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover;
  border: 1px solid var(--rule); border-radius: 3px;
}
.destination-fig figcaption {
  margin-top: .8rem; font-size: var(--t-sm); color: var(--ink-2);
  display: flex; flex-wrap: wrap; gap: .5rem .7rem; align-items: baseline;
}

/* ---------- Contact detail on person cards ---------- */
.person-contact { display: flex; flex-direction: column; gap: .15rem; margin-top: .5rem !important; }
.person-contact a { color: var(--gold); font-weight: 600; text-decoration: none; font-size: var(--t-sm); }
.person-contact a:hover { text-decoration: underline; }

.footer-tag {
  font-size: var(--t-xs); letter-spacing: .26em; text-transform: uppercase;
  color: var(--gold-bright); font-weight: 700; margin: 0 0 .7rem;
}

/* ============================================================
   Planting Report Card — vintage carbon-copy field form
   ============================================================ */
.rc {
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: 2px;
  box-shadow: 6px 6px 0 rgba(33,26,17,.12);
  overflow: hidden;
}
html[data-theme="dark"] .rc { border-color: var(--rule); box-shadow: 6px 6px 0 rgba(0,0,0,.5); }

.rc-masthead {
  background: var(--green-deep); color: #FAF3E3;
  padding: clamp(1.1rem, 3vw, 1.8rem) clamp(1rem, 3vw, 2rem);
  border-bottom: 4px solid var(--brand-gold);
  display: grid; gap: .5rem; justify-items: center; text-align: center;
}
.rc-masthead .wh-logo { height: 34px; }
.rc-masthead h2 { color: #FAF3E3; margin: 0; font-size: clamp(1.5rem, 4vw, 2.4rem); }
.rc-masthead-sub {
  margin: 0; font-size: var(--t-xs); letter-spacing: .22em; text-transform: uppercase;
  color: var(--brand-gold); font-weight: 700;
}

.rc-idgrid {
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr));
  border-bottom: 2px solid var(--ink);
}
html[data-theme="dark"] .rc-idgrid { border-bottom-color: var(--rule); }
@media (max-width: 720px) { .rc-idgrid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 420px) { .rc-idgrid { grid-template-columns: minmax(0,1fr); } }
.rc-idgrid .rc-cell { border-right: 1px solid var(--rule); }
.rc-idgrid .rc-cell:last-child { border-right: 0; }

.rc-cell { display: grid; gap: .35rem; padding: .8rem 1rem 1rem; align-content: start; }
.rc-cell label,
.rc-fieldset legend,
.rc-out-label {
  font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-2);
}
.rc-unit { text-transform: none; letter-spacing: .02em; font-weight: 600; color: var(--ink-3); }
.rc-cell input, .rc-cell select, .rc-cell textarea {
  font-family: inherit; font-size: var(--t-base); color: var(--ink);
  background: transparent;
  border: 0; border-bottom: 1.5px solid var(--ink-3);
  border-radius: 0; padding: .35rem .1rem; width: 100%;
  transition: border-color .18s ease, background-color .18s ease;
}
.rc-cell input[type="number"], .rc-count { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.rc-cell textarea {
  border: 1px solid var(--rule); padding: .7rem .8rem;
  background: repeating-linear-gradient(var(--card) 0 30px, var(--rule) 30px 31px);
  line-height: 31px; min-height: 217px; resize: vertical;
}
.rc-cell input:focus-visible, .rc-cell select:focus-visible, .rc-cell textarea:focus-visible,
.rc-count:focus-visible {
  outline: 3px solid var(--focus); outline-offset: 2px;
  background: var(--gold-soft);
}
html[data-theme="dark"] .rc-cell input:focus-visible,
html[data-theme="dark"] .rc-cell select:focus-visible,
html[data-theme="dark"] .rc-cell textarea:focus-visible,
html[data-theme="dark"] .rc-count:focus-visible { background: var(--paper-3); }
.rc-cell select { border-bottom-style: solid; }
.rc-money { display: flex; align-items: baseline; gap: .3rem; border-bottom: 1.5px solid var(--ink-3); }
.rc-money > span { font-family: var(--mono); font-weight: 700; color: var(--ink-2); }
.rc-money input { border-bottom: 0 !important; }
.rc-hint { font-size: var(--t-xs); color: var(--ink-3); line-height: 1.5; }
.rc-err { display: none; font-size: var(--t-xs); font-weight: 700; color: #A32718; }
html[data-theme="dark"] .rc-err { color: #F09080; }
.rc-err.is-shown { display: block; }
.is-invalid { border-color: #A32718 !important; background: rgba(163,39,24,.07); }

.rc-block { border-bottom: 2px solid var(--ink); }
html[data-theme="dark"] .rc-block { border-bottom-color: var(--rule); }
.rc-block:last-child { border-bottom: 0; }
.rc-band {
  display: flex; align-items: center; gap: .8rem;
  padding: .6rem clamp(1rem, 3vw, 2rem);
}
.rc-band h3 { margin: 0; font-size: clamp(1rem, 2.2vw, 1.25rem); letter-spacing: .01em; }
.rc-band-no {
  font-family: var(--mono); font-size: .72rem; font-weight: 700;
  width: 24px; height: 24px; flex: none; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid currentColor;
}
.rc-band--gold { background: var(--brand-gold); color: #2A1D05; }
.rc-band--gold h3 { color: #2A1D05; }
.rc-band--green { background: var(--brand-green); color: #FAF3E3; }
.rc-band--green h3 { color: #FAF3E3; }

.rc-body { padding: clamp(1rem, 2.6vw, 1.6rem) clamp(1rem, 3vw, 2rem) clamp(1.3rem, 3vw, 1.9rem); }
.rc-lead { font-size: var(--t-sm); color: var(--ink-2); max-width: 72ch; }
.rc-inputs {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: .4rem; margin-bottom: 1.4rem;
  border: 1px solid var(--rule);
}
.rc-inputs .rc-cell { border-right: 1px solid var(--rule); }
.rc-inputs .rc-cell:last-child { border-right: 0; }

.rc-outs { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: .9rem; margin-top: 1.2rem; }
.rc-out {
  border: 1.5px solid var(--ink-3); border-left: 5px solid var(--green);
  background: var(--paper-2); padding: .85rem 1rem; display: grid; gap: .25rem; align-content: start;
}
.rc-out--hero { border-left-color: var(--brand-gold); background: var(--paper-3); }
html[data-theme="dark"] .rc-out { background: var(--paper-2); }
html[data-theme="dark"] .rc-out--hero { background: var(--paper-3); }
.rc-figure {
  font-family: var(--mono); font-variant-numeric: tabular-nums;
  font-size: clamp(1.7rem, 4.4vw, 2.5rem); font-weight: 700; line-height: 1.1;
  color: var(--ink); letter-spacing: -0.02em;
}
.rc-figure--sm { font-size: clamp(1.25rem, 3vw, 1.7rem); }
.rc-out-note { font-size: var(--t-xs); color: var(--ink-2); line-height: 1.5; }

.rc-note { margin-top: 1.2rem; border-top: 1px dashed var(--rule); padding-top: .9rem; }
.rc-note summary {
  cursor: pointer; font-size: var(--t-xs); font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold);
}
.rc-note p { font-size: var(--t-sm); color: var(--ink-2); margin-top: .8rem; }
.rc-mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

.rc-table { width: 100%; border-collapse: collapse; margin-top: 1rem; font-size: var(--t-sm); }
.rc-table caption {
  text-align: left; font-size: var(--t-xs); font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-3); padding-bottom: .5rem;
}
.rc-table th, .rc-table td { border: 1px solid var(--rule); padding: .5rem .7rem; text-align: left; }
.rc-table thead th {
  background: var(--paper-3); font-size: var(--t-xs); letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-2);
}
.rc-table .num, .rc-table td.num, .rc-table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.rc-table tbody th { font-weight: 600; color: var(--ink); }
.rc-table--counts td.num { padding: .3rem .4rem; }
.rc-count {
  font-size: var(--t-base); text-align: right; width: 100%; max-width: 7rem; margin-left: auto;
  border: 1.5px solid var(--ink-3); border-radius: 2px; background: var(--card);
  color: var(--ink); padding: .4rem .5rem; font-family: var(--mono);
}
.rc-table .rc-total th, .rc-table .rc-total td {
  background: var(--paper-3); font-weight: 700;
}
@media (max-width: 560px) {
  .rc-table--counts { font-size: var(--t-xs); }
  .rc-table--counts th, .rc-table--counts td { padding: .4rem .35rem; }
  .rc-count { max-width: 5rem; }
}

.rc-valuegrid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.2rem; }
@media (max-width: 760px) { .rc-valuegrid { grid-template-columns: minmax(0,1fr); } }
.rc-fieldset {
  border: 1.5px solid var(--ink-3); border-radius: 2px; margin: 0;
  padding: .4rem .4rem 1rem; display: grid; gap: .3rem; align-content: start;
}
.rc-fieldset legend { padding: 0 .5rem; color: var(--gold); }
.rc-fieldset .rc-out { margin: .6rem .6rem 0; }

.rc-split { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); }
@media (max-width: 760px) { .rc-split { grid-template-columns: minmax(0,1fr); } }
.rc-split > .rc-block { border-bottom: 2px solid var(--ink); }
html[data-theme="dark"] .rc-split > .rc-block { border-bottom-color: var(--rule); }
.rc-split > .rc-block:first-child { border-right: 2px solid var(--ink); }
html[data-theme="dark"] .rc-split > .rc-block:first-child { border-right-color: var(--rule); }
@media (max-width: 760px) { .rc-split > .rc-block:first-child { border-right: 0; } }

.rc-factors { margin: 0; padding-left: 1.3rem; display: grid; gap: .7rem; }
.rc-factors li { color: var(--ink); font-weight: 600; }
.rc-factors li::marker { color: var(--gold); font-weight: 700; }

.rc-footer {
  display: flex; flex-wrap: wrap; gap: 1.2rem; justify-content: space-between; align-items: flex-end;
  padding: clamp(1.1rem, 3vw, 1.7rem) clamp(1rem, 3vw, 2rem);
  background: var(--paper-2); border-top: 4px solid var(--brand-gold);
}
.rc-contact p { margin: .35rem 0 0; font-size: var(--t-sm); line-height: 1.6; }
.rc-contact a { color: var(--gold); font-weight: 600; text-decoration: none; }
.rc-contact a:hover { text-decoration: underline; }
.rc-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.rc-actions .btn { font-size: var(--t-xs); padding: .8rem 1.2rem; }

.sr-only-label {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ============================================================
   Print — the filled-in report card as a clean one-pager
   ============================================================ */
@media print {
  :root {
    --paper: #fff; --paper-2: #fff; --paper-3: #f2f2f2; --card: #fff;
    --ink: #000; --ink-2: #222; --ink-3: #555; --rule: #999;
  }
  html[data-theme="dark"] {
    --paper: #fff; --paper-2: #fff; --paper-3: #f2f2f2; --card: #fff;
    --ink: #000; --ink-2: #222; --ink-3: #555; --rule: #999; --wordmark: #404041;
  }
  @page { size: letter portrait; margin: 10mm; }

  body { background: #fff; color: #000; font-size: 8pt; line-height: 1.28; }
  body::before { display: none; }

  .site-header, .mobile-nav, .site-footer, .skip, .strip,
  .hero, .cta-strip, .rc-actions, .rc-note, .callout,
  main > .section:not(#report-card) { display: none !important; }

  main > #report-card { padding: 0 !important; }
  #report-card .wrap { max-width: none; padding: 0; }

  .reveal { opacity: 1 !important; transform: none !important; }

  .rc { border: 1.2pt solid #000; box-shadow: none; break-inside: avoid; page-break-inside: avoid; }
  .rc-masthead { background: #fff !important; color: #000; border-bottom: 1.5pt solid #000; padding: 4pt 8pt; gap: 1pt; }
  .rc-masthead h2 { color: #000; font-size: 14pt; }
  .rc-masthead-sub { color: #333; font-size: 6pt; }
  .rc-masthead .wh-logo { height: 20px; }
  .rc-masthead .wh-logo .wh-word { fill: #404041 !important; }
  .rc-masthead .wh-logo .wh-rule { stroke: #404041 !important; }

  .rc-band { padding: 2pt 8pt; gap: 5pt; }
  .rc-band h3 { font-size: 9pt; }
  .rc-band-no { width: 12pt; height: 12pt; font-size: 6pt; border-width: 1px; }
  .rc-body { padding: 4pt 8pt 5pt; }
  .rc-cell { padding: 2pt 6pt 3pt; gap: 0; }
  .rc-cell label, .rc-out-label, .rc-fieldset legend { font-size: 5.5pt; letter-spacing: .08em; }
  .rc-cell input, .rc-cell select { font-size: 8pt; padding: 0; }
  .rc-hint, .rc-out-note, .rc-lead { font-size: 5.5pt; line-height: 1.3; }
  .rc-lead { margin: 0 0 3pt; }
  .rc-inputs { margin-bottom: 4pt; }
  .rc-outs { gap: 4pt; margin-top: 4pt; grid-template-columns: repeat(3, minmax(0,1fr)); }
  .rc-out { padding: 3pt 5pt; gap: 0; border-left-width: 3pt; }
  .rc-figure { font-size: 12.5pt; }
  .rc-figure--sm { font-size: 9.5pt; }
  .rc-table { font-size: 7pt; margin-top: 3pt; }
  .rc-table caption { font-size: 5.5pt; padding-bottom: 2pt; }
  .rc-table th, .rc-table td { padding: 1.2pt 3pt; }
  .rc-count { padding: 0 2pt; font-size: 7.5pt; border-width: .5pt; max-width: 5rem; }
  .rc-valuegrid { gap: 6pt; }
  .rc-fieldset { padding: 1pt 1pt 4pt; gap: 0; }
  .rc-fieldset .rc-out { margin: 3pt 4pt 0; }
  .rc-money > span { font-size: 8pt; }
  .rc-cell textarea {
    min-height: 46pt; line-height: 11pt; background: none;
    border: .6pt solid #999; padding: 3pt 4pt; font-size: 7.5pt;
  }
  .rc-factors { gap: 1.5pt; padding-left: 12pt; }
  .rc-factors li { font-size: 8pt; }
  .rc-footer { padding: 3pt 8pt; background: #fff !important; border-top: 1.2pt solid #000; }
  .rc-contact p { font-size: 7pt; margin: 1pt 0 0; }
  .rc-contact .rc-out-label { font-size: 5.5pt; }
  .rc-block, .rc-split, .rc-idgrid { break-inside: avoid; }
  .rc-cell input:focus-visible, .rc-cell select:focus-visible,
  .rc-cell textarea:focus-visible, .rc-count:focus-visible {
    outline: none !important; background: none !important;
  }

  a[href]::after { content: none !important; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ---------- Counts table: stack into labelled rows on small screens ------- */
@media (max-width: 620px) {
  .rc-table--counts thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .rc-table--counts, .rc-table--counts tbody, .rc-table--counts tr,
  .rc-table--counts th, .rc-table--counts td { display: block; width: 100%; }
  .rc-table--counts tr {
    border: 1px solid var(--rule); margin-bottom: .7rem; background: var(--card);
  }
  .rc-table--counts tbody th[scope="row"] {
    background: var(--paper-3); border: 0; border-bottom: 1px solid var(--rule);
    font-size: var(--t-sm);
  }
  .rc-table--counts td {
    border: 0; border-bottom: 1px dashed var(--rule);
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    text-align: right; padding: .45rem .7rem;
  }
  .rc-table--counts tr td:last-child { border-bottom: 0; }
  .rc-table--counts td::before {
    content: attr(data-label);
    font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    color: var(--ink-2); text-align: left; font-family: "General Sans", system-ui, sans-serif;
  }
  .rc-table--counts td.rc-blank { display: none; }
  .rc-table--counts .rc-count { max-width: 6.5rem; }
  .rc-table--counts .rc-total { border-color: var(--ink-3); }
  .rc-table--counts .rc-total th[scope="row"] { background: var(--green); color: #FAF3E3; }
}

/* ---------- Research fact line (inside band-green) ---------- */
.factline {
  list-style: none; margin: 2.2rem 0 0; padding: 1.4rem 0 0;
  border-top: 1px solid rgba(250,243,227,.16);
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: .6rem 2.4rem; text-align: center;
}
.factline li { font-size: var(--t-sm); color: rgba(250,243,227,.82); }
.factline b { color: var(--brand-gold); font-weight: 700; margin-right: .22rem; }
.priorline {
  margin: 1.5rem 0 0; text-align: center;
  font-size: var(--t-xs); letter-spacing: .01em; color: rgba(250,243,227,.62);
}
.priorline span {
  display: inline-block; margin-right: .55rem;
  font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: rgba(250,243,227,.78);
}
@media (max-width: 640px) {
  .factline { flex-direction: column; align-items: center; gap: .45rem; }
}

/* ---------- Trait nomenclature decoder + tables --------------------------- */
.decoder {
  margin-top: 2.2rem; padding: 1.7rem 1.6rem 1.5rem;
  border: 1px solid var(--rule); border-radius: 5px; background: var(--surface);
}
.decoder-kicker {
  margin: 0 0 .9rem; font-size: var(--t-xs); letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-2);
}
.decoder-code {
  margin: 0; font-family: var(--font-display); line-height: 1;
  font-size: clamp(2.6rem, 8vw, 4.4rem); letter-spacing: .01em; white-space: nowrap;
}
.decoder-code .seg-a { color: var(--gold); }
.decoder-code .seg-b { color: var(--brand-green); }
.decoder-code .seg-c { color: var(--ink); }
[data-theme="dark"] .decoder-code .seg-a { color: var(--brand-gold); }
[data-theme="dark"] .decoder-code .seg-b { color: #4FBF83; }
[data-theme="dark"] .decoder-code .seg-c { color: var(--ink); }

.decoder-legs { display: none; }

.decoder-notes {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem; margin-top: 1.5rem;
}
.dnote { border-top: 3px solid var(--rule); padding-top: .8rem; }
.dnote-a { border-top-color: var(--gold); }
.dnote-b { border-top-color: var(--brand-green); }
.dnote-c { border-top-color: var(--ink-2); }
[data-theme="dark"] .dnote-a { border-top-color: var(--brand-gold); }
[data-theme="dark"] .dnote-b { border-top-color: #4FBF83; }
.dnote-tag {
  display: block; font-size: var(--t-xs); letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-2); margin-bottom: .35rem;
}
.dnote p { margin: 0; font-size: var(--t-sm); }
.decoder-foot {
  margin: 1.5rem 0 0; padding-top: 1.1rem; border-top: 1px solid var(--rule);
  font-size: var(--t-sm); color: var(--ink-2);
}
.decoder-foot b { color: var(--ink); font-weight: 600; }
@media (max-width: 780px) {
  .decoder-notes { grid-template-columns: 1fr; gap: .9rem; }
}
.tbl-head { font-size: var(--t-lg); margin: 0 0 .35rem; }
.tbl-note { font-size: var(--t-sm); color: var(--ink-2); margin: 0 0 .2rem; }
.rc-table th.code {
  width: 4.5rem; font-family: var(--font-display); font-size: var(--t-base);
  color: var(--brand-green); letter-spacing: .04em; white-space: nowrap;
}
[data-theme="dark"] .rc-table th.code { color: var(--brand-gold); }

@media (min-width: 861px) {
  .tbl-head { min-height: 2.6em; }
}


/* ---------- Sub-brand lockups ---------- */
.sublogo {
  display: block; height: 74px; width: auto;
  margin: 0 0 1.4rem;
}
[data-theme="dark"] .sublogo {
  padding: .7rem .95rem;
  background: #FAF3E3;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 3px;
  box-sizing: content-box;
}

/* ---------- Grass mix cards ---------- */
.mixgrid {
  display: grid; gap: 1.4rem;
  grid-template-columns: repeat(3, minmax(0,1fr));
  align-items: start;
}
@media (max-width: 1000px) { .mixgrid { grid-template-columns: minmax(0,1fr); } }

.mixcard {
  background: var(--card);
  border: 1px solid var(--rule);
  border-top: 5px solid var(--green);
  border-radius: 3px;
  padding: 1.5rem 1.5rem 1.7rem;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 1.05rem;
  height: 100%;
}
.mixcard-head { display: flex; flex-direction: column; gap: .3rem; }
.mixcard-head h3 {
  margin: 0; font-size: 1.9rem; letter-spacing: .01em;
  text-transform: uppercase; color: var(--green);
}
.mixcard-tag {
  font-size: var(--t-xs); letter-spacing: .16em; text-transform: uppercase;
  font-weight: 700; color: var(--gold);
}
.mixcard-blurb { margin: 0; font-size: var(--t-sm); color: var(--ink-2); }
.mixcard-cols { display: grid; gap: 1.05rem; }
.mixspec h4 {
  margin: 0 0 .45rem; font-size: var(--t-xs); letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-3); font-weight: 700;
}
.mixspec ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .3rem; }
.mixspec li {
  position: relative; padding-left: .95rem;
  font-size: var(--t-sm); color: var(--ink); line-height: 1.45;
}
.mixspec li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 5px; height: 5px; background: var(--gold-bright);
  transform: rotate(45deg);
}
.mixspec--plant {
  margin-top: auto; padding-top: 1.05rem; border-top: 1px solid var(--rule);
}
.mixspec--plant li::before { background: var(--green-soft); }


/* ---------- Corn lineup by trait platform ---------- */
.lu-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--rule);
  border: 1px solid var(--rule); border-radius: 3px;
  margin: 2.75rem 0 2rem;
}
.lu-stat { background: var(--paper); padding: 1.15rem 1.25rem; }
.lu-stat b {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1; color: var(--brand-green);
  letter-spacing: -.01em;
}
.lu-stat span {
  display: block; margin-top: .45rem; font-size: .74rem; line-height: 1.35;
  letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3);
}
@media (max-width: 720px) { .lu-stats { grid-template-columns: repeat(2, 1fr); } }

.lu-grid { column-count: 4; column-gap: 1.15rem; }
@media (max-width: 1080px) { .lu-grid { column-count: 3; } }
@media (max-width: 780px)  { .lu-grid { column-count: 2; } }
@media (max-width: 520px)  { .lu-grid { column-count: 1; } }
.lu-card {
  break-inside: avoid; -webkit-column-break-inside: avoid;
  margin: 0 0 1.15rem;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--brand-green);
  border-radius: 3px;
  padding: 1.1rem 1.15rem 1.15rem;
}
.lu-card--conv { border-top-color: var(--gold); }
.lu-head { margin-bottom: .8rem; }
.lu-head h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.06rem; line-height: 1.2; margin: 0;
  color: var(--brand-green); letter-spacing: -.005em;
}
.lu-card--conv .lu-head h3 { color: var(--gold); }
.lu-meta {
  margin: .3rem 0 0; font-size: .74rem; letter-spacing: .07em;
  text-transform: uppercase; color: var(--ink-3);
}
.lu-table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.lu-table th {
  text-align: left; font-size: .66rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-3); font-weight: 600;
  padding: 0 0 .38rem; border-bottom: 1px solid var(--rule);
}
.lu-table th:last-child, .lu-table td:last-child { text-align: right; }
.lu-table td { padding: .34rem 0; border-bottom: 1px solid var(--rule-soft, rgba(0,0,0,.06)); }
.lu-table tr:last-child td { border-bottom: 0; }
.lu-var { font-variant-numeric: tabular-nums; font-weight: 500; color: var(--ink); }
.lu-rm { font-variant-numeric: tabular-nums; color: var(--ink-2); }
[data-theme="dark"] .lu-table td { border-bottom-color: rgba(255,255,255,.08); }

.lu-note {
  margin: 2rem 0 0; max-width: 62ch; font-size: .95rem;
  line-height: 1.6; color: var(--ink-2);
}
.lu-tm {
  margin: .85rem 0 0; max-width: 74ch; font-size: .76rem;
  line-height: 1.55; color: var(--ink-3);
}
[data-theme="dark"] .lu-head h3 { color: #4FBE86; }
[data-theme="dark"] .lu-card--conv .lu-head h3 { color: var(--brand-gold); }
[data-theme="dark"] .lu-stat b { color: #4FBE86; }
.seg-dash {
  font-family: var(--font-body); font-weight: 400;
  font-size: .62em; line-height: 1; color: var(--ink-3);
  padding: 0 .1em; position: relative; top: -.12em;
}


/* ---------- Timothy ---------- */
.mixgrid--2 { grid-template-columns: repeat(2, minmax(0,1fr)); max-width: 900px; }
@media (max-width: 1000px) { .mixgrid--2 { grid-template-columns: minmax(0,1fr); } }

.tt-charts {
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1.4rem; margin-top: 2.4rem;
}
@media (max-width: 900px) { .tt-charts { grid-template-columns: minmax(0,1fr); } }

.tt-chart {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--brand-green);
  border-radius: 3px;
  padding: 1.4rem 1.5rem 1.5rem;
}
.tt-chart figcaption { margin-bottom: 1.2rem; }
.tt-chart figcaption h3 {
  margin: 0 0 .35rem; font-family: var(--font-display); font-weight: 700;
  font-size: 1.15rem; line-height: 1.2; color: var(--brand-green);
}
.tt-chart figcaption p { margin: 0; font-size: var(--t-sm); color: var(--ink-3); }

.tt-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.tt-row { display: grid; grid-template-columns: 6.3rem minmax(0,1fr); align-items: center; gap: .7rem; }
.tt-name {
  font-size: .74rem; letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 600; text-align: right; white-space: nowrap;
}
.tt-row.is-ours .tt-name { color: var(--brand-green); font-weight: 700; }

.tt-bars { display: grid; gap: 3px; }
.tt-bar {
  display: flex; align-items: center; justify-content: flex-end;
  height: 15px; border-radius: 2px; padding-right: .35rem; min-width: 2.6rem;
}
.tt-bar i {
  font-style: normal; font-size: .66rem; font-weight: 700;
  letter-spacing: .02em; color: #fff;
}
.tt-bar--a { background: #8CC06A; }
.tt-bar--b { background: #2E7BB5; }
.tt-row.is-ours .tt-bar--a { background: #5C9C35; }
.tt-row.is-ours .tt-bar--b { background: #1F5F8F; }

.tt-bars--stack { display: flex; align-items: center; gap: 0; }
.tt-seg { height: 17px; display: block; }
.tt-seg--1 { background: #14512F; border-radius: 2px 0 0 2px; }
.tt-seg--2 { background: #8CC06A; }
.tt-seg--3 { background: #2E7BB5; border-radius: 0 2px 2px 0; }
.tt-total {
  margin-left: .5rem; font-size: .72rem; font-weight: 700; color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.tt-row.is-ours .tt-total { color: var(--brand-green); }

.tt-legend {
  margin: 1.1rem 0 0; font-size: .7rem; letter-spacing: .04em;
  color: var(--ink-3); display: flex; flex-wrap: wrap; align-items: center;
  gap: .35rem 1rem;
}
.tt-li { display: inline-flex; align-items: center; white-space: nowrap; }
.tt-key {
  display: inline-block; width: 11px; height: 11px; border-radius: 2px;
  margin-right: .3rem; vertical-align: -1px;
}
.tt-key--a { background: #8CC06A; }
.tt-key--b { background: #2E7BB5; }
.tt-legend .tt-seg--1, .tt-legend .tt-seg--2, .tt-legend .tt-seg--3 {
  display: inline-block; width: 11px; height: 11px; border-radius: 2px;
  margin-right: .3rem; vertical-align: -1px;
}

.tt-src {
  margin: 1.6rem 0 0; font-size: var(--t-sm); color: var(--ink-3);
  max-width: 68ch; line-height: 1.55;
}

[data-theme="dark"] .tt-chart figcaption h3,
[data-theme="dark"] .tt-row.is-ours .tt-name,
[data-theme="dark"] .tt-row.is-ours .tt-total { color: #4FBE86; }

[data-theme="dark"] .tt-seg--1 { background: #1E6B41; }

[data-theme="dark"] .tt-legend .tt-seg--1 { background: #1E6B41; }


/* ---------- 2026 research map ---------- */
.mp {
  --map-fill: var(--paper-2);
  --map-line: var(--rule);
  --map-focus: var(--paper);
  --map-edge: var(--brand-green);
  margin-top: 2.4rem;
}
.mp-frame {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: clamp(.9rem, 2.4vw, 2rem);
}
.mp-svg { width: 100%; height: auto; display: block; }
.mp-dot { fill: var(--gold-bright); stroke: var(--brand-green); stroke-width: 1.6; }
.mp-dot--forage { fill: #2E7BB5; stroke: #0E4A73; }
.mp-lab {
  font-family: "General Sans", sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 1.7px; fill: var(--ink-3); text-anchor: middle;
}
.mp-lab--dim { fill: var(--rule); }
.mp-hq circle { fill: none; stroke: var(--brand-green); stroke-width: 2; }
.mp-hq .mp-hq-core { fill: var(--brand-green); stroke: none; }
.mp-hq text {
  font-family: "General Sans", sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 1px; fill: var(--ink);
}

.mp-legend {
  list-style: none; margin: 1rem 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: .4rem 1.4rem;
  font-size: .74rem; letter-spacing: .04em; color: var(--ink-3);
}
.mp-frame > .mp-svg { display: none; }
.mp-live {
  display: block;
  width: 100%;
  height: clamp(420px, 62vw, 680px);
  border: 0;
}
@media (max-width: 620px) {
  .mp-live { height: 520px; }
}
.mp-legend li { display: inline-flex; align-items: center; }
.mp-key {
  width: 11px; height: 11px; border-radius: 50%; margin-right: .45rem;
  background: var(--gold-bright); border: 1.5px solid var(--brand-green);
}
.mp-key--forage { background: #2E7BB5; border-color: #0E4A73; border-radius: 2px; transform: rotate(45deg); }
.mp-key--hq { background: transparent; border-width: 2px; }

.mp-cta {
  margin-top: 1.5rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1rem 1.5rem;
  padding: 1.15rem 1.35rem;
  background: var(--paper-2, rgba(6, 104, 57, 0.06));
  border: 1px dashed var(--brand-green);
  border-radius: 4px;
}
.mp-cta-copy { display: flex; flex-direction: column; gap: .15rem; max-width: 46rem; }
.mp-cta-copy b { font-family: "Bespoke Slab", Georgia, serif; font-size: 1.05rem; color: var(--ink); font-weight: 600; letter-spacing: .01em; }
.mp-cta-copy span { font-size: .82rem; color: var(--ink-3); letter-spacing: .02em; }
.mp-cta .btn { flex-shrink: 0; }
@media (max-width: 620px) {
  .mp-cta { padding: 1rem 1.1rem; }
  .mp-cta .btn { width: 100%; text-align: center; }
}

.rollup {
  display: grid; grid-template-columns: repeat(5, minmax(0,1fr));
  gap: 1px; background: var(--rule);
  border: 1px solid var(--rule); border-radius: 3px;
  margin-top: 1.6rem;
}
@media (max-width: 1080px) { .rollup { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 820px) { .rollup { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 460px) { .rollup { grid-template-columns: minmax(0,1fr); } }
.rl-col { background: var(--paper); padding: 1.15rem 1.25rem 1.3rem; }
.rl-head { display: flex; align-items: baseline; justify-content: space-between; gap: .6rem; margin-bottom: .8rem; }
.rl-head h3 {
  margin: 0; font-family: var(--font-display); font-weight: 700;
  font-size: 1.05rem; letter-spacing: .01em; color: var(--brand-green);
  text-transform: uppercase;
}
.rl-head > b {
  font-family: var(--font-display); font-weight: 700; font-size: 1.5rem;
  line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums;
}
.rl-counties { list-style: none; margin: 0; padding: 0; display: grid; gap: .34rem; }
.rl-counties li {
  display: flex; align-items: baseline; justify-content: space-between; gap: .8rem;
  font-size: .82rem; color: var(--ink-2);
  border-bottom: 1px dotted var(--rule); padding-bottom: .3rem;
}
.rl-counties li:last-child { border-bottom: 0; padding-bottom: 0; }
.rl-counties b { color: var(--ink); font-variant-numeric: tabular-nums; font-weight: 700; }
.rl-col--meta { background: var(--paper-2); }

.mp-note {
  margin: 1.5rem 0 0; font-size: var(--t-sm); color: var(--ink-3);
  max-width: 74ch; line-height: 1.55;
}

[data-theme="dark"] .rl-head h3 { color: #4FBE86; }
[data-theme="dark"] .mp-dot { stroke: #0B3D24; }
[data-theme="dark"] .mp-hq circle { stroke: #4FBE86; }
[data-theme="dark"] .mp-hq .mp-hq-core { fill: #4FBE86; }
[data-theme="dark"] .mp-key { border-color: #4FBE86; }


/* ---------- dealer state chooser + statebar ---------- */
.statecard {
  display: flex; flex-direction: column; gap: .5rem;
  background: var(--card); border: 1px solid var(--rule); border-radius: 3px;
  padding: 1.5rem 1.5rem 1.6rem; text-decoration: none; color: inherit;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.statecard:hover, .statecard:focus-visible {
  border-color: var(--brand-green); transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,.07);
}
.statecard-kicker {
  font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); font-weight: 700;
}
.statecard h3 {
  margin: 0; font-family: var(--font-display); text-transform: uppercase;
  font-size: 1.55rem; line-height: 1; letter-spacing: .01em;
}
.statecard p { margin: 0; font-size: .9rem; color: var(--ink-2); line-height: 1.55; }
.statecard-go {
  margin-top: auto; padding-top: .7rem; font-size: .78rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--brand-green);
}
.statecard:hover .statecard-go { text-decoration: underline; text-underline-offset: 3px; }
[data-theme="dark"] .statecard-go { color: #4FBE86; }
[data-theme="dark"] .statecard:hover { border-color: #4FBE86; }

.statebar {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem;
  margin-top: 2.2rem; padding-top: 1.2rem; border-top: 1px solid var(--rule);
}
.statebar-lab {
  font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 700; margin-right: .3rem;
}
.statebar-link {
  font-size: .82rem; font-weight: 700; letter-spacing: .04em;
  color: var(--brand-green); text-decoration: none;
  padding: .3rem .7rem; border: 1px solid var(--rule); border-radius: 999px;
}
.statebar-link:hover { border-color: var(--brand-green); }
.statebar-link.is-current { color: var(--ink-3); background: var(--paper-2); border-style: dotted; }
[data-theme="dark"] .statebar-link { color: #4FBE86; }
[data-theme="dark"] .statebar-link.is-current { color: var(--ink-3); }

/* --- Plot design diagram (research) --- */
.pd-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--rule);
  border:1px solid var(--rule);margin-bottom:clamp(2rem,3.5vw,3rem)}
.pd-stat{background:var(--surface);padding:1.4rem 1.2rem}
.pd-stat b{display:block;font-family:var(--font-display);font-size:clamp(1.6rem,2.6vw,2.1rem);
  line-height:1;color:var(--green);letter-spacing:-.01em}
.pd-stat span{display:block;margin-top:.5rem;font-size:.75rem;letter-spacing:.09em;
  text-transform:uppercase;color:var(--ink-2);line-height:1.5}
@media (max-width:760px){.pd-stats{grid-template-columns:repeat(2,1fr)}}

.pd{margin:0}
.pd-frame{background:var(--surface);border:1px solid var(--rule);padding:clamp(1rem,2.4vw,1.8rem);
  overflow-x:auto}
.pd-grid{display:flex;flex-direction:column;gap:3px;min-width:520px}
.pd-row{display:flex;align-items:center;gap:.7rem}
.pd-rng{flex:0 0 2.6em;text-align:right;font-family:var(--font-mono,var(--font-body));
  font-size:.62rem;letter-spacing:.06em;color:var(--ink-3);font-variant-numeric:tabular-nums}
.pd-plots{display:flex;gap:3px;flex:1 1 auto}
.pd-c{flex:1 1 0;height:clamp(11px,1.5vw,17px);border-radius:1px;min-width:6px}
.pd-c--exp{background:#C9D9BC}
.pd-c--conv{background:#E4D9BB}
.pd-c--check{background:#2E7BB5}
.pd-c--trt{background:var(--brand-gold)}
.pd-c--fill{background:#D9CDAE}
.pd-legend{list-style:none;padding:0;margin:1.1rem 0 0;display:flex;flex-wrap:wrap;
  gap:.5rem 1.6rem;font-size:.78rem;color:var(--ink-2)}
.pd-legend li{display:flex;align-items:center;gap:.5rem}
.pd-key{width:14px;height:14px;border-radius:2px;flex:0 0 auto}
.pd figcaption{margin-top:1rem;font-size:.84rem;line-height:1.65;color:var(--ink-3);max-width:70ch}
html[data-theme="dark"] .pd-c--exp{background:#3D6B4E}
html[data-theme="dark"] .pd-c--conv{background:#5C5138}
html[data-theme="dark"] .pd-c--fill{background:#4A4437}
html[data-theme="dark"] .pd-c--check{background:#3E8FC7}
html[data-theme="dark"] .pd-stat b{color:#4FBE86}
