/* base.css : starter guards for every website-builder-v3.3 build.
   Copy this in as the TOP of assets/styles.css, then build the brand styling
   on top of it. Every block prevents a bug class that shipped in a past
   build; the war stories are in references/default-snippets.md. */

/* ---- 1. No-JS-safe scroll reveals (never put .reveal on the hero) ---- */
.js .reveal { opacity: 0; transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---- 2. Icon-size guard.
   :where() keeps specificity at 0,0,1 so ANY class can override the guard.
   Without it, the two :not() checks give 0,2,1, which silently beats
   single-class widths (.divider { width: 100% }) and squashes decorative
   full-width SVGs down to 1.25rem. ---- */
svg:where(:not([width]):not([height])) { width: 1.25rem; height: 1.25rem; }
.icon, .icon svg { width: 1.5rem; height: 1.5rem; flex: 0 0 auto; }

/* ---- 3. Mobile-nav discipline (prevents duplicate desktop CTAs).
   The hide/show pairs are !important ON PURPOSE: brand header styles written
   later in the stylesheet overrode these guards on a real build and the
   desktop nav showed at 390px. Brand code sizes and styles the nav; it does
   not get to decide visibility at breakpoints. Do not soften these. ---- */
.mobile-only { display: none !important; }
@media (max-width: 860px) {
  .desktop-nav { display: none !important; }
  .hamburger { display: inline-flex !important; }
  .mobile-only { display: block !important; }
  .header-cta { display: none !important; } /* collapses into the menu */
}
/* Hamburger bars stack vertically; inline-flex once laid the three bars
   in a ROW (a one-line "hamburger"). */
.hamburger { flex-direction: column; justify-content: center; gap: 4px; }
.site-header { gap: 1rem; flex-wrap: nowrap; } /* never let the header wrap */
.site-header .brand { flex: 0 1 auto; min-width: 0; }

/* ---- 4. Dark-section contrast (define every state explicitly) ---- */
.section--dark { color: #f3f4f6; }
.section--dark .btn-primary { background: var(--accent, #ffb700); color: #0b0b0b; }
.section--dark .btn-ghost { color: #fff; border: 1px solid rgba(255,255,255,.6); background: transparent; }
.section--dark a { color: #fff; text-decoration: underline; }
.section--dark .btn-primary, .section--dark .btn-ghost { text-decoration: none; }
.section--dark .stat, .section--dark .muted { color: #d1d5db; }

/* ---- 5. Gradient headlines without clipped descenders ---- */
.hl-gradient { background: linear-gradient(90deg, var(--brand-1, #333), var(--brand-2, #999));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  line-height: 1.15; padding-bottom: .08em; }

/* ---- 6. Capture mode (the comparison-image harness adds this class).
   DOM rasterizers drop background-clip gradient text and choke on remote
   fonts; these overrides make every build capture-safe by construction.
   Keep --brand-1 defined: it becomes the flattened headline color. ---- */
html.capture-mode .hl-gradient {
  background: none; -webkit-text-fill-color: currentColor;
  color: var(--brand-1, #222); }
html.capture-mode * { animation: none !important; transition: none !important; }
html.capture-mode .reveal { opacity: 1 !important; transform: none !important; }

/* ---- 7. Accessibility: focus ring + screen-reader helper.
   clip-path button shapes swallow the default focus outline. ---- */
:focus-visible { outline: 3px solid var(--accent, #ffb700); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---- 8. Motion hygiene.
   Underlines and sheens live on ::before; carets and indicators on ::after.
   Never both on one element. ---- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ---- 9. Dev banner (placeholder fence; preflight --final fails if present).
   base.js CREATES #dev-banner automatically when any [[CONFIRM: ...]]
   HTML comments exist in the page, listing them so they are impossible to
   miss and impossible to ship silently. Resolve the comments and the banner
   removes itself; preflight --final verifies zero remain. ---- */
#dev-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 99999;
  background: #b91c1c; color: #fff; font: 13px/1.5 system-ui, sans-serif;
  padding: 8px 14px; }

/* ==========================================================================
   BigYield.us brand layer (MMG demo build)
   Palette comes straight from the logo: steel blue + sprout green,
   grounded with a deep field-night navy and a warm paper neutral.
   ========================================================================== */

@font-face { font-family: "Bebas Neue"; src: url("fonts/bebas-neue-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("fonts/barlow-condensed-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("fonts/barlow-condensed-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --blue: #2d628b;
  --blue-deep: #1d4666;
  --green: #99d420;
  --green-deep: #4a700b;
  --night: #0c1d2b;
  --night-2: #12293c;
  --paper: #f4f3ec;
  --paper-2: #e9e8de;
  --ink: #14212c;
  --muted: #53636f;
  --line: rgba(20, 33, 44, .12);
  --brand-1: #2d628b;
  --brand-2: #99d420;
  --accent: #99d420;
  --radius: 4px;
  --wrap: 1200px;
  --display: "Bebas Neue", "Impact", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  --shadow-1: 0 1px 2px rgba(12,29,43,.08), 0 8px 24px rgba(12,29,43,.10);
  --shadow-2: 0 2px 4px rgba(12,29,43,.10), 0 18px 48px rgba(12,29,43,.18);
  --rows: repeating-linear-gradient(100deg, rgba(20,33,44,.045) 0 2px, transparent 2px 26px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--paper); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-deep); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.02; color: inherit; }
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: .01em; }
h1 { font-size: clamp(3rem, 7.4vw, 6.4rem); }
h2 { font-size: clamp(2.4rem, 4.6vw, 4rem); }
h3 { font-family: var(--cond); font-weight: 700; font-size: 1.45rem; letter-spacing: .01em; line-height: 1.15; }
h4 { font-family: var(--cond); font-weight: 700; font-size: 1.1rem; text-transform: uppercase; letter-spacing: .06em; }
.wrap { width: min(var(--wrap), calc(100% - 2.5rem)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--green); color: var(--night); padding: .6rem 1rem; z-index: 1000; font-weight: 700; }
.skip:focus { left: 1rem; top: 1rem; }
.hl { color: var(--green); }
.hl-blue { color: var(--blue); }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--muted); max-width: 40em; }
.section { padding: clamp(4rem, 8vw, 7rem) 0; position: relative; }
.section--tight { padding: clamp(3rem, 6vw, 4.5rem) 0; }
.section--paper2 { background: var(--paper-2); }
.section--dark { background: var(--night); position: relative; isolation: isolate; }
.section--dark::before { content: ""; position: absolute; inset: 0; background-image: url("images/topo.svg"); background-size: 600px 600px; z-index: -1; }
.section--dark::after { content: ""; position: absolute; inset: 0; background-image: url("images/grain.svg"); opacity: .5; mix-blend-mode: overlay; z-index: -1; pointer-events: none; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .lede { color: #c6d3dc; }
.section--dark p { color: #d6e0e7; }

/* Section openers: a numbered "field marker" instead of the dash eyebrow */
.kicker { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .9rem; color: var(--green-deep); margin-bottom: 1rem; }
.kicker b { display: inline-grid; place-items: center; min-width: 2.1rem; height: 2.1rem; padding: 0 .4rem; background: var(--night); color: var(--green); font-family: var(--display); font-weight: 400; font-size: 1.2rem; letter-spacing: 0; clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); }
.section--dark .kicker { color: var(--green); }
.section--dark .kicker b { background: var(--green); color: var(--night); }

/* ---------- Buttons: beveled "field tag" with a hard, shape-following shadow ---------- */
.btn { --cut: 14px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 52px; padding: .85rem 1.6rem; font-family: var(--cond); font-weight: 700; font-size: 1.12rem; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; border: 0; cursor: pointer; overflow: hidden;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  transition: transform .18s ease, background-color .18s ease, color .18s ease; }
.btn-wrap { display: inline-flex; filter: drop-shadow(4px 5px 0 rgba(12,29,43,.35)); transition: filter .18s ease, transform .18s ease; }
.btn-wrap:hover { filter: drop-shadow(6px 8px 0 rgba(12,29,43,.4)); transform: translate(-1px, -2px); }
.section--dark .btn-wrap, .hero .btn-wrap, .cta-band .btn-wrap { filter: drop-shadow(4px 5px 0 rgba(0,0,0,.45)); }
.btn::before { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg); transition: left .55s ease; }
.btn:hover::before { left: 130%; }
.btn-primary { background: var(--green); color: var(--night); }
.btn-primary:hover { background: #aee23a; color: var(--night); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-deep); color: #fff; }
.btn-light { background: #fff; color: var(--night); }
.btn-light:hover { background: var(--paper); color: var(--night); }
.btn svg { width: 1.15rem; height: 1.15rem; flex: 0 0 auto; }
.section--dark .btn-primary { background: var(--green); color: var(--night); }
.section--dark .btn-light { color: var(--night); text-decoration: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem 1.1rem; align-items: center; }
.textlink { font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; text-decoration: none; color: var(--blue); display: inline-flex; align-items: center; gap: .45rem; border-bottom: 3px solid var(--green); padding-bottom: 2px; }
.textlink:hover { color: var(--night); }
.section--dark .textlink { color: #fff; text-decoration: none; }

/* ---------- Header ---------- */
.utility { background: var(--night); color: #c6d3dc; font-size: .9rem; }
.utility .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 38px; }
.utility a { color: #fff; text-decoration: none; }
.utility a:hover { color: var(--green); }
.utility .u-left, .utility .u-right { display: flex; gap: 1.4rem; align-items: center; }
.utility .u-left span b { color: var(--green); font-weight: 600; }
.utility .social { display: flex; gap: .9rem; }
.utility .social svg { width: 16px; height: 16px; fill: currentColor; }
@media (max-width: 860px) { .utility { display: none; } }

.site-header-wrap { position: sticky; top: 0; z-index: 50; background: rgba(244,243,236,.96); backdrop-filter: saturate(1.2); border-bottom: 1px solid var(--line); }
.site-header-wrap.is-scrolled { box-shadow: 0 6px 24px rgba(12,29,43,.10); }
.site-header { display: flex; align-items: center; justify-content: space-between; min-height: 84px; }
.brand img { width: 210px; height: auto; }
.desktop-nav { display: flex; align-items: center; gap: .2rem; }
.desktop-nav a { position: relative; font-family: var(--cond); font-weight: 700; font-size: 1.08rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink); text-decoration: none; padding: .6rem .75rem; }
.desktop-nav a::before { content: ""; position: absolute; left: .75rem; right: .75rem; bottom: .3rem; height: 3px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .22s ease; }
.desktop-nav a:hover::before, .desktop-nav a[aria-current="page"]::before { transform: scaleX(1); }
.desktop-nav a[aria-current="page"] { color: var(--blue); }
.header-cta { margin-left: .8rem; }
.header-cta .btn { min-height: 46px; padding: .6rem 1.1rem; font-size: 1rem; }
.hamburger { display: none; width: 48px; height: 48px; align-items: center; border: 0; background: var(--night); cursor: pointer; clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); }
.hamburger span { display: block; width: 22px; height: 2.5px; background: #fff; transition: transform .2s ease, opacity .2s ease; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.mobile-nav { display: none; }
@media (max-width: 1080px) and (min-width: 861px) {
  .brand img { width: 170px; }
  .desktop-nav a { padding: .5rem .5rem; font-size: 1rem; }
  .desktop-nav a::before { left: .5rem; right: .5rem; }
}
@media (max-width: 860px) {
  .site-header { min-height: 68px; }
  .brand img { width: 168px; }
  .mobile-nav { position: fixed; left: 0; right: 0; top: 68px; bottom: 0; z-index: 49; background: var(--night); padding: 1.5rem 1.25rem 7rem; overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s; }
  .mobile-nav.is-open { display: block; opacity: 1; transform: none; visibility: visible; transition: opacity .2s ease, transform .2s ease; }
  html.js .mobile-nav { display: block; }
  .mobile-nav a.m-link { display: flex; justify-content: space-between; align-items: center; color: #fff; text-decoration: none; font-family: var(--display); font-size: 2.2rem; letter-spacing: .02em; padding: .55rem 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .mobile-nav a.m-link::after { content: ""; width: 12px; height: 12px; border-right: 3px solid var(--green); border-top: 3px solid var(--green); transform: rotate(45deg); }
  .mobile-nav .m-contact { margin-top: 1.6rem; color: #c6d3dc; font-size: 1rem; }
  .mobile-nav .m-contact a { color: #fff; }
  .mobile-nav .btn-row { margin-top: 1.2rem; }
  html.nav-open { overflow: hidden; }
}

/* Sticky phone bar (mobile only) */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--night); border-top: 3px solid var(--green); padding: .55rem .6rem calc(.55rem + env(safe-area-inset-bottom)); gap: .5rem; }
.mobile-only.callbar { display: none !important; }
@media (max-width: 860px) {
  .mobile-only.callbar { display: grid !important; grid-template-columns: 1.3fr 1fr; }
  body { padding-bottom: 72px; }
}
.callbar a { display: flex; align-items: center; justify-content: center; gap: .45rem; min-height: 48px; font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; text-decoration: none; font-size: 1.05rem; clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); }
.callbar a:first-child { background: var(--green); color: var(--night); }
.callbar a:last-child { background: #fff; color: var(--night); }
.callbar svg { width: 18px; height: 18px; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; isolation: isolate; min-height: min(88vh, 820px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--night); }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(12,29,43,.94) 0%, rgba(12,29,43,.82) 34%, rgba(12,29,43,.35) 64%, rgba(12,29,43,.10) 100%),
  linear-gradient(0deg, rgba(12,29,43,.85) 0%, rgba(12,29,43,0) 42%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: url("images/grain.svg"); opacity: .35; mix-blend-mode: overlay; pointer-events: none; }
.hero-inner { padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(8.5rem, 12vw, 10rem); }
.hero .tagline { display: inline-flex; align-items: center; gap: .7rem; font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: .16em; font-size: .95rem; color: var(--green); margin-bottom: 1.1rem; }
.hero .tagline svg { width: 22px; height: 22px; fill: var(--green); }
.hero h1 { max-width: 15ch; margin-bottom: 1.2rem; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.hero h1 .hl { display: block; }
.hero .lede { color: #dbe5ec; max-width: 34em; margin-bottom: 2rem; }
.hero .meta { margin-top: 1.6rem; font-size: .95rem; color: #b9c8d3; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.hero .meta a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.35); }
.hero .meta svg { width: 16px; height: 16px; fill: var(--green); vertical-align: -2px; margin-right: .35rem; }

/* Results plate that overlaps the hero's bottom edge */
.proof-plate { position: relative; z-index: 3; margin-top: -5.5rem; }
.proof-plate .plate { background: #fff; box-shadow: var(--shadow-2); display: grid; grid-template-columns: 1.15fr repeat(4, 1fr); border-top: 5px solid var(--green); }
.proof-plate .plate-head { background: var(--blue); color: #fff; padding: 1.4rem 1.5rem; display: flex; flex-direction: column; justify-content: center; }
.proof-plate .plate-head strong { font-family: var(--display); font-weight: 400; font-size: 2.1rem; line-height: 1; letter-spacing: .02em; }
.proof-plate .plate-head span { font-size: .9rem; color: #d3e2ee; margin-top: .35rem; line-height: 1.35; }
.proof-plate .stat { padding: 1.3rem 1.3rem 1.2rem; border-left: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: background-color .2s ease; }
.proof-plate .stat:hover { background: var(--paper); }
.proof-plate .stat .num { font-family: var(--display); font-size: 3rem; line-height: .95; color: var(--blue); }
.proof-plate .stat .num small { font-size: 1.2rem; color: var(--green-deep); margin-left: .15rem; }
.proof-plate .stat .what { font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: 1rem; margin-top: .3rem; }
.proof-plate .stat .roi { font-size: .88rem; color: var(--muted); }
.proof-plate .source { font-size: .82rem; color: var(--muted); margin: .7rem 0 0; }

/* ---------- Split / editorial ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.split--wide-media { grid-template-columns: 1.15fr .85fr; }
.photo-plate { position: relative; }
.photo-plate::before { content: ""; position: absolute; inset: 1.4rem -1.4rem -1.4rem 1.4rem; background: var(--blue); z-index: 0; clip-path: polygon(22px 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%, 0 22px); }
.photo-plate.green::before { background: var(--green); }
.photo-plate img { position: relative; z-index: 1; width: 100%; box-shadow: var(--shadow-2); }
.photo-plate figcaption { position: relative; z-index: 2; display: inline-block; margin: -1.4rem 0 0 1.2rem; background: var(--night); color: #fff; font-family: var(--cond); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .9rem; padding: .5rem .9rem; }
.goals { list-style: none; padding: 0; margin: 1.8rem 0 2rem; counter-reset: g; }
.goals li { counter-increment: g; display: grid; grid-template-columns: 3.4rem 1fr; gap: 1rem; align-items: start; padding: 1rem 0; border-top: 1px solid var(--line); }
.goals li:last-child { border-bottom: 1px solid var(--line); }
.goals li::before { content: "0" counter(g); font-family: var(--display); font-size: 2.6rem; line-height: .9; color: var(--green-deep); }
.goals strong { display: block; font-family: var(--cond); font-size: 1.35rem; text-transform: uppercase; letter-spacing: .04em; line-height: 1.1; }
.goals span { color: var(--muted); font-size: 1rem; }

/* ---------- Season line (product lineup by timing) ---------- */
.season { position: relative; margin-top: 3rem; }
.season-track { display: grid; grid-template-columns: 1fr 1fr 3fr; gap: 1.25rem; }
.stage { position: relative; min-width: 0; }
.p-tile, .p-tile .pbody { min-width: 0; }
.stage-label { display: flex; align-items: baseline; gap: .7rem; padding-bottom: .9rem; margin-bottom: 1.2rem; border-bottom: 4px solid var(--night); }
.stage-label .when { font-family: var(--display); font-size: 2rem; line-height: 1; }
.stage-label .how { font-family: var(--cond); font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-size: .9rem; }
.stage:nth-child(1) .stage-label { border-color: var(--blue); }
.stage:nth-child(2) .stage-label { border-color: var(--blue-deep); }
.stage:nth-child(3) .stage-label { border-color: var(--green-deep); }
.stage-items { display: grid; gap: 1rem; }
.stage:nth-child(3) .stage-items { grid-template-columns: repeat(3, 1fr); }
.p-tile { position: relative; display: flex; flex-direction: column; background: #fff; text-decoration: none; color: var(--ink); border: 1px solid var(--line); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.p-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: transparent; color: var(--ink); }
.p-tile .pimg { aspect-ratio: 1 / 1; background: #fff; display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid var(--line); }
.p-tile .pimg img { width: 82%; height: 82%; object-fit: contain; transition: transform .35s ease; }
.p-tile:hover .pimg img { transform: scale(1.05); }
.p-tile .pbody { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.p-tile .h3 { display: block; margin: 0; font-family: var(--cond); font-weight: 700; font-size: 1.4rem; line-height: 1.1; text-transform: uppercase; letter-spacing: .02em; color: var(--night); }
.p-tile .pdesc { display: block; margin: 0; font-size: .95rem; color: var(--muted); line-height: 1.45; }
.p-tile .crops { margin-top: auto; padding-top: .6rem; font-family: var(--cond); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; color: var(--blue); }
.badge-org { position: absolute; top: .7rem; left: .7rem; z-index: 2; background: var(--green); color: var(--night); font-family: var(--cond); font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; padding: .25rem .55rem; clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px); }
.p-tile--feature .pimg { aspect-ratio: 4 / 3; }

/* ---------- Results band (dark) ---------- */
.results-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; margin-bottom: 2.4rem; }
.toggle { display: inline-flex; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18); padding: 4px; }
.toggle button { font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 1rem; background: transparent; border: 0; color: #c6d3dc; min-height: 44px; padding: .5rem 1.2rem; cursor: pointer; }
.toggle button[aria-pressed="true"] { background: var(--green); color: var(--night); }
.bars { display: grid; gap: 1.1rem; }
.bar-row { display: grid; grid-template-columns: 230px 1fr 150px; gap: 1.2rem; align-items: center; }
.bar-row .name { font-family: var(--cond); font-weight: 700; font-size: 1.25rem; text-transform: uppercase; letter-spacing: .03em; color: #fff; }
.bar-row .name small { display: block; font-family: var(--body); text-transform: none; letter-spacing: 0; font-weight: 400; font-size: .85rem; color: #9fb2c0; }
.bar-track { height: 46px; background: rgba(255,255,255,.06); position: relative; overflow: hidden; }
.bar-fill { position: absolute; inset: 0 auto 0 0; width: var(--w, 50%); background: linear-gradient(90deg, var(--green-deep), var(--green)); display: flex; align-items: center; justify-content: flex-end; padding-right: .8rem; font-family: var(--display); font-size: 1.6rem; color: var(--night); clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%); transform-origin: left; }
.js .bars.anim .bar-fill { transform: scaleX(0); transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.js .bars.anim.is-in .bar-fill { transform: scaleX(1); }
.bar-row .roi { font-family: var(--display); font-size: 1.9rem; color: #fff; line-height: 1; }
.bar-row .roi small { display: block; font-family: var(--body); font-size: .8rem; color: #9fb2c0; letter-spacing: 0; }
.results-note { font-size: .88rem; color: #9fb2c0 !important; margin-top: 1.6rem; max-width: 60em; }
.bars[hidden] { display: none; }

/* ---------- Side by side proof gallery ---------- */
.proof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 2.5rem; }
.proof-grid figure { margin: 0; position: relative; background: #fff; box-shadow: var(--shadow-1); overflow: hidden; }
.proof-grid figure:first-child { grid-column: 1 / -1; }
.proof-grid figure:first-child img { aspect-ratio: 2 / 1; }
.proof-grid figure img { aspect-ratio: 1.85; object-position: 50% 0; }
.proof-grid figure img { width: 100%; height: auto; object-fit: cover; transition: transform .5s ease; }
.proof-grid figure:hover img { transform: scale(1.03); }
.proof-grid figcaption { position: absolute; left: 0; bottom: 0; right: 0; padding: 2.4rem 1.1rem .9rem; background: linear-gradient(0deg, rgba(12,29,43,.92), rgba(12,29,43,0)); color: #fff; font-size: .95rem; }
.proof-grid figcaption strong { display: block; font-family: var(--cond); text-transform: uppercase; letter-spacing: .05em; font-size: 1.15rem; }
.proof-grid button.zoom { all: unset; cursor: zoom-in; display: block; height: 100%; }
.proof-grid button.zoom:focus-visible { outline: 3px solid var(--green); outline-offset: -3px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(6,14,22,.92); display: none; align-items: center; justify-content: center; padding: 1.5rem; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(1200px, 100%); max-height: 86vh; width: auto; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox button { position: absolute; top: 1rem; right: 1rem; width: 48px; height: 48px; border: 0; background: var(--green); color: var(--night); font-size: 1.6rem; cursor: pointer; }

/* ---------- Quotes ---------- */
.quote-band { background: var(--green); position: relative; overflow: hidden; }
.quote-band::before { content: ""; position: absolute; inset: 0; background: var(--rows); opacity: .8; }
.quote-band .wrap { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 2.5rem; align-items: start; }
.quote-mark { font-family: var(--display); font-size: 12rem; line-height: .7; color: var(--night); opacity: .9; }
.quote-band blockquote { margin: 0; }
.quote-band blockquote p { font-family: var(--display); font-size: clamp(2rem, 4.2vw, 3.5rem); line-height: 1.02; color: var(--night); margin: 0 0 1.2rem; max-width: 20ch; }
.quote-band cite { font-style: normal; font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--night); }
.quote-band cite span { display: block; font-family: var(--body); text-transform: none; letter-spacing: 0; font-weight: 500; opacity: .8; }
.quotes-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2.5rem; }
.q-card { background: #fff; padding: 1.8rem 1.8rem 1.5rem; border-left: 6px solid var(--blue); box-shadow: var(--shadow-1); }
.q-card p { font-size: 1.12rem; line-height: 1.55; margin-bottom: 1rem; }
.q-card cite { font-style: normal; font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--blue); font-size: 1rem; }
.q-card cite span { display: block; font-family: var(--body); font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--muted); font-size: .92rem; }
.q-card--offset { transform: translateY(2rem); border-left-color: var(--green-deep); }

/* ---------- Video (click-to-load YouTube) ---------- */
.video-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.25rem; margin-top: 2.5rem; }
.video-grid .v-side { display: grid; gap: 1.25rem; }
.yt { position: relative; aspect-ratio: 16 / 9; background: var(--night); overflow: hidden; }
.yt button { all: unset; position: absolute; inset: 0; cursor: pointer; }
.yt img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease, filter .3s ease; }
.yt button:hover img { transform: scale(1.03); filter: brightness(.85); }
.yt .play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; transform: translate(-50%, -50%); background: var(--green); display: grid; place-items: center; clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px); transition: transform .2s ease; }
.yt button:hover .play { transform: translate(-50%, -50%) scale(1.08); }
.yt .play svg { width: 28px; height: 28px; fill: var(--night); margin-left: 4px; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt button:focus-visible { outline: 3px solid var(--green); outline-offset: -3px; }
.v-meta { padding: .8rem 0 0; }
.v-meta h3 { margin: 0 0 .2rem; font-size: 1.25rem; }
.v-meta p { margin: 0; font-size: .95rem; color: var(--muted); }
.section--dark .v-meta p { color: #b9c8d3; }

/* ---------- Farm / events band ---------- */
.farm-band { display: grid; grid-template-columns: 1fr 1fr; min-height: 520px; }
.farm-band .fb-media { position: relative; min-height: 360px; }
.farm-band .fb-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.farm-band .fb-body { background: var(--night-2); color: #fff; padding: clamp(2.5rem, 6vw, 5rem); position: relative; isolation: isolate; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.farm-band .fb-body::before { content: ""; position: absolute; inset: 0; background-image: url("images/topo.svg"); z-index: -1; }
.farm-band h2 { color: #fff; }
.farm-band p { color: #d6e0e7; }
.event-list { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: .8rem; }
.event-list li { display: grid; grid-template-columns: 44px 1fr; gap: .9rem; align-items: start; }
.event-list .ico { width: 44px; height: 44px; background: rgba(153,212,32,.14); display: grid; place-items: center; clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); }
.event-list .ico svg { width: 22px; height: 22px; fill: var(--green); }
.event-list strong { display: block; font-family: var(--cond); text-transform: uppercase; letter-spacing: .05em; font-size: 1.15rem; color: #fff; }
.event-list span { color: #c6d3dc; font-size: .98rem; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; isolation: isolate; color: #fff; overflow: hidden; background: var(--night); }
.cta-band .cta-media { position: absolute; inset: 0; z-index: -2; }
.cta-band .cta-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12,29,43,.95) 0%, rgba(12,29,43,.8) 50%, rgba(12,29,43,.45) 100%); }
.cta-band .wrap { padding: clamp(4.5rem, 9vw, 7.5rem) 0; display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: center; }
.cta-band h2 { color: #fff; font-size: clamp(2.4rem, 4.4vw, 4rem); max-width: 18ch; }
.cta-band p { color: #d6e0e7; max-width: 34em; }
.cta-card { background: rgba(12,29,43,.72); border: 1px solid rgba(255,255,255,.16); border-top: 5px solid var(--green); padding: 1.8rem; }
.cta-card .big-phone { display: block; font-family: var(--display); font-size: clamp(2.4rem, 4vw, 3.2rem); color: #fff; text-decoration: none; line-height: 1; margin: .3rem 0 .4rem; }
.cta-card .big-phone:hover { color: var(--green); }
.cta-card .small { font-size: .95rem; color: #c6d3dc; margin: 0 0 1.2rem; }
.cta-card .small a { color: #fff; }
.cta-card h3 { color: var(--green); font-size: 1rem; text-transform: uppercase; letter-spacing: .12em; margin: 0; }

/* ---------- Page header (interior) ---------- */
.page-hero { position: relative; isolation: isolate; color: #fff; background: var(--night); overflow: hidden; }
.page-hero .ph-media { position: absolute; inset: 0; z-index: -2; }
.page-hero .ph-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12,29,43,.95) 0%, rgba(12,29,43,.78) 45%, rgba(12,29,43,.35) 100%); }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 56px; background: var(--paper); clip-path: polygon(0 100%, 100% 20%, 100% 100%); }
.page-hero .wrap { padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(5rem, 9vw, 7.5rem); }
.page-hero h1 { font-size: clamp(3rem, 6.6vw, 5.6rem); max-width: 14ch; margin-bottom: 1rem; }
.page-hero .lede { color: #d6e0e7; }
.crumbs { font-family: var(--cond); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: .88rem; color: #9fb2c0; margin-bottom: 1.1rem; }
.crumbs a { color: var(--green); text-decoration: none; }
.crumbs span { margin: 0 .5rem; color: #6d8394; }

/* ---------- Products hub ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 2rem; }
.filter-bar button { font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: .07em; font-size: .98rem; min-height: 44px; padding: .5rem 1.1rem; border: 2px solid var(--night); background: transparent; color: var(--night); cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.filter-bar button[aria-pressed="true"], .filter-bar button:hover { background: var(--night); color: #fff; }
.product-list { display: grid; gap: 1.5rem; }
.p-row { display: grid; grid-template-columns: 260px 1fr auto; gap: 2rem; align-items: center; background: #fff; border: 1px solid var(--line); padding: 1.3rem 1.6rem 1.3rem 1.3rem; position: relative; transition: box-shadow .2s ease, transform .2s ease; }
.p-row:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); }
.p-row[hidden] { display: none; }
.p-row .pimg { aspect-ratio: 1 / 1; display: grid; place-items: center; background: #fff; position: relative; }
.p-row .pimg img { width: 88%; height: 88%; object-fit: contain; }
.p-row .type { font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .88rem; color: var(--green-deep); }
.p-row h2 { font-size: clamp(2.2rem, 3.4vw, 3rem); margin: .1rem 0 .4rem; }
.p-row h2 a { color: var(--ink); text-decoration: none; }
.p-row h2 a:hover { color: var(--blue); }
.p-row p { color: var(--muted); margin-bottom: .8rem; max-width: 46em; }
.spec-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.spec-chips span { font-size: .88rem; background: var(--paper); border: 1px solid var(--line); padding: .25rem .6rem; }
.spec-chips span b { font-weight: 600; color: var(--blue); }

/* ---------- Product detail ---------- */
.pd-hero .wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: center; }
.pd-hero .pd-shot { position: relative; justify-self: end; width: min(380px, 100%); }
.pd-hero .pd-shot::before { content: ""; position: absolute; inset: 1.2rem -1.2rem -1.2rem 1.2rem; background: var(--green); clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px); }
.pd-hero .pd-shot img { position: relative; background: #fff; width: 100%; aspect-ratio: 1/1; object-fit: contain; padding: 1rem; box-shadow: 0 20px 50px rgba(0,0,0,.4); }
.pd-hero .type { font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--green); font-size: .95rem; margin-bottom: .6rem; }
.spec-table { width: 100%; border-collapse: collapse; background: #fff; box-shadow: var(--shadow-1); }
.spec-table th, .spec-table td { text-align: left; padding: .95rem 1.1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 34%; font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .98rem; color: var(--blue); background: #fbfbf7; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.benefits { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .2rem 2rem; }
.benefits li { display: grid; grid-template-columns: 26px 1fr; gap: .6rem; padding: .7rem 0; border-bottom: 1px dashed rgba(20,33,44,.18); }
.benefits li svg { width: 22px; height: 22px; fill: var(--green-deep); margin-top: .15rem; }
.timing { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.25rem; }
.t-card { background: #fff; padding: 1.5rem; position: relative; border-top: 5px solid var(--blue); box-shadow: var(--shadow-1); }
.t-card .crop { font-family: var(--display); font-size: 2.1rem; line-height: 1; color: var(--night); }
.t-card .tstage { font-family: var(--cond); font-weight: 700; font-size: 1.2rem; color: var(--blue); margin: .4rem 0 .2rem; text-transform: uppercase; letter-spacing: .03em; }
.t-card .rate { color: var(--muted); font-size: .98rem; }
.t-card:nth-child(2) { border-top-color: var(--green-deep); }
.t-card:nth-child(3) { border-top-color: var(--night); }
.data-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.d-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); padding: 1.5rem; position: relative; }
.d-card .yr { font-family: var(--cond); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green); font-size: .9rem; }
.d-card .gain { font-family: var(--display); font-size: 3.6rem; color: #fff; line-height: 1; margin: .3rem 0; }
.d-card .gain small { font-size: 1.3rem; color: var(--green); }
.d-card .detail { color: #c6d3dc; font-size: .95rem; margin: 0; }
.doc-links { display: flex; flex-wrap: wrap; gap: .8rem 1.6rem; margin-top: 1.5rem; }
.note { font-size: .9rem; color: var(--muted); border-left: 4px solid var(--green); padding: .6rem 1rem; background: #fff; margin-top: 1.5rem; }

/* ---------- ROI calculator ---------- */
.calc { display: grid; grid-template-columns: 1fr 1fr; background: #fff; box-shadow: var(--shadow-2); }
.calc-in { padding: clamp(1.5rem, 3vw, 2.4rem); }
.calc-out { padding: clamp(1.5rem, 3vw, 2.4rem); background: var(--night); color: #fff; position: relative; isolation: isolate; }
.calc-out::before { content: ""; position: absolute; inset: 0; background-image: url("images/topo.svg"); z-index: -1; }
.calc label { display: block; font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .95rem; margin: 0 0 .35rem; color: var(--blue); }
.calc .field { margin-bottom: 1.1rem; }
.calc input, .calc select { width: 100%; min-height: 50px; font: inherit; font-size: 1.1rem; padding: .6rem .8rem; border: 2px solid #cfd6db; background: #fbfbf7; color: var(--ink); border-radius: 0; }
.calc input:focus, .calc select:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(45,98,139,.2); }
.calc .two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.calc-out dl { margin: 0; display: grid; gap: 0; }
.calc-out dl div { display: flex; justify-content: space-between; align-items: baseline; padding: .9rem 0; border-bottom: 1px solid rgba(255,255,255,.12); gap: 1rem; }
.calc-out dt { font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #c6d3dc; }
.calc-out dd { margin: 0; font-family: var(--display); font-size: 2rem; color: #fff; }
.calc-out .roi-big { padding: 1.2rem 0 .4rem; border: 0; }
.calc-out .roi-big dd { font-size: 4rem; color: var(--green); line-height: 1; }
.calc-out p.fine { color: #9fb2c0; font-size: .85rem; margin: 1rem 0 0; }

/* ---------- Forms ---------- */
.form-card { background: #fff; padding: clamp(1.5rem, 3vw, 2.4rem); box-shadow: var(--shadow-2); border-top: 5px solid var(--green); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.1rem; }
.form-grid .full { grid-column: 1 / -1; }
.form-card label { display: block; font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .95rem; margin-bottom: .35rem; color: var(--blue); }
.form-card input, .form-card select, .form-card textarea { width: 100%; font: inherit; font-size: 1.05rem; padding: .75rem .85rem; min-height: 50px; border: 2px solid #cfd6db; background: #fbfbf7; color: var(--ink); border-radius: 0; }
.form-card textarea { min-height: 140px; resize: vertical; }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(45,98,139,.2); }
.form-card fieldset { border: 0; padding: 0; margin: 0; }
.form-card legend { font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .95rem; color: var(--blue); margin-bottom: .5rem; }
.checks { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; }
.checks label { display: inline-flex; align-items: center; gap: .45rem; text-transform: none; letter-spacing: 0; font-family: var(--body); font-weight: 500; color: var(--ink); font-size: 1rem; margin: 0; min-height: 44px; }
.checks input { width: 20px; height: 20px; min-height: 0; accent-color: var(--blue); }
.hp { position: absolute; left: -5000px; }
.form-fine { font-size: .88rem; color: var(--muted); margin-top: 1rem; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.nap { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: 1.2rem; }
.nap li { display: grid; grid-template-columns: 48px 1fr; gap: 1rem; align-items: start; }
.nap .ico { width: 48px; height: 48px; background: var(--night); display: grid; place-items: center; clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px); }
.nap .ico svg { width: 22px; height: 22px; fill: var(--green); }
.nap strong { display: block; font-family: var(--cond); text-transform: uppercase; letter-spacing: .06em; font-size: 1rem; color: var(--muted); }
.nap a, .nap span.v { font-size: 1.2rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.nap a:hover { color: var(--blue); }
.map-frame { position: relative; border: 6px solid #fff; box-shadow: var(--shadow-2); aspect-ratio: 16 / 10; background: var(--paper-2); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Grower story cards ---------- */
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.story { background: #fff; box-shadow: var(--shadow-1); display: flex; flex-direction: column; }
.story .s-body { padding: 1.2rem 1.3rem 1.4rem; }
.story .s-body .where { font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; color: var(--green-deep); }
.story h3 { margin: .2rem 0 .4rem; font-size: 1.35rem; }
.story p { color: var(--muted); font-size: .98rem; margin: 0; }
.story:nth-child(3n+2) { transform: translateY(1.8rem); }
.quote-wall { columns: 2; column-gap: 1.5rem; }
.quote-wall .q-card { break-inside: avoid; margin-bottom: 1.5rem; }

/* ---------- Footer ---------- */
.site-footer { background: #08151f; color: #b9c8d3; position: relative; isolation: isolate; padding: 4.5rem 0 2rem; font-size: .98rem; }
.site-footer::before { content: ""; position: absolute; inset: 0; background-image: url("images/topo.svg"); opacity: .6; z-index: -1; }
.site-footer .f-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 2.5rem; }
.site-footer h3 { color: #fff; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--green); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.site-footer .f-logo img { width: 220px; margin-bottom: 1.2rem; }
.site-footer .motto { font-family: var(--display); font-size: 1.8rem; color: var(--green); line-height: 1; margin-bottom: .8rem; }
.site-footer address { font-style: normal; line-height: 1.7; }
.site-footer .social { display: flex; gap: .7rem; margin-top: 1.2rem; }
.site-footer .social a { width: 44px; height: 44px; display: grid; place-items: center; background: rgba(255,255,255,.08); clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); }
.site-footer .social a:hover { background: var(--green); }
.site-footer .social a:hover svg { fill: var(--night); }
.site-footer .social svg { width: 18px; height: 18px; fill: #fff; }
.site-footer .legal { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .88rem; color: #8196a6; }

/* ---------- Scroll progress ---------- */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; background: var(--green); transform-origin: 0 50%; transform: scaleX(0); z-index: 100; pointer-events: none; }

/* stagger helper */
.js .stagger > .reveal:nth-child(2) { transition-delay: .08s; }
.js .stagger > .reveal:nth-child(3) { transition-delay: .16s; }
.js .stagger > .reveal:nth-child(4) { transition-delay: .24s; }
.js .stagger > .reveal:nth-child(5) { transition-delay: .32s; }
.js .stagger > .reveal:nth-child(6) { transition-delay: .40s; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .proof-plate .plate { grid-template-columns: repeat(2, 1fr); }
  .proof-plate .plate-head { grid-column: 1 / -1; }
  .proof-plate .stat:nth-child(2n) { border-left: 0; }
  .proof-plate .stat { border-top: 1px solid var(--line); }
  .season-track { grid-template-columns: 1fr 1fr; }
  .season-track .stage:nth-child(3) { grid-column: 1 / -1; }
  .site-footer .f-grid { grid-template-columns: 1fr 1fr; }
  .bar-row { grid-template-columns: 180px 1fr 120px; }
}
@media (max-width: 860px) {
  body { font-size: 1.02rem; }
  .split, .split--wide-media, .cta-band .wrap, .contact-grid, .calc, .pd-hero .wrap, .farm-band { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .hero-media img { object-position: 50% 50%; }
  .hero::before { background: linear-gradient(0deg, rgba(12,29,43,.96) 0%, rgba(12,29,43,.82) 45%, rgba(12,29,43,.45) 100%); }
  .hero-inner { padding: 2.6rem 0 8rem; }
  .hero h1 { font-size: clamp(3.1rem, 14vw, 4.4rem); }
  .hero .lede { font-size: 1.08rem; margin-bottom: 1.5rem; }
  .hero .btn-row { flex-direction: column; align-items: stretch; }
  .hero .btn-row .btn-wrap, .hero .btn-row .btn { width: 100%; }
  .proof-plate { margin-top: -4.5rem; }
  .proof-plate .stat { padding: 1rem 1rem .9rem; }
  .proof-plate .stat .num { font-size: 2.5rem; }
  .season-track { grid-template-columns: minmax(0, 1fr); }
  .stage:nth-child(3) .stage-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stage-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stage:nth-child(1) .stage-items, .stage:nth-child(2) .stage-items { grid-template-columns: minmax(0, 1fr); }
  .stage:nth-child(1) .p-tile, .stage:nth-child(2) .p-tile { flex-direction: row; }
  .stage:nth-child(1) .p-tile .pimg, .stage:nth-child(2) .p-tile .pimg { width: 38%; flex: 0 0 38%; aspect-ratio: 1/1; border-bottom: 0; border-right: 1px solid var(--line); }
  .bar-row { grid-template-columns: 1fr auto; gap: .5rem 1rem; }
  .bar-row .bar-track { grid-column: 1 / -1; grid-row: 2; height: 40px; }
  .bar-row .roi { text-align: right; font-size: 1.6rem; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-grid figure:first-child { grid-column: auto; }
  .quote-band .wrap { grid-template-columns: 1fr; gap: 0; }
  .quote-mark { font-size: 8rem; height: 4.5rem; }
  .quotes-duo, .video-grid, .story-grid { grid-template-columns: 1fr; }
  .q-card--offset, .story:nth-child(3n+2) { transform: none; }
  .farm-band .fb-media { min-height: 280px; }
  .cta-band .wrap { gap: 2rem; }
  .p-row { grid-template-columns: 110px 1fr; gap: 1rem 1.2rem; padding: 1rem; }
  .p-row .p-cta { grid-column: 1 / -1; }
  .p-row .p-cta .btn-wrap, .p-row .p-cta .btn { width: 100%; }
  .p-row h2 { font-size: 2rem; }
  .benefits { grid-template-columns: 1fr; }
  .pd-hero .pd-shot { justify-self: start; width: min(260px, 70%); margin-top: 1rem; }
  .form-grid { grid-template-columns: 1fr; }
  .quote-wall { columns: 1; }
  .site-footer .f-grid { grid-template-columns: 1fr; gap: 2rem; }
  .photo-plate::before { inset: .9rem -.9rem -.9rem .9rem; }
  .filter-bar { gap: .45rem; }
  .filter-bar button { padding: .45rem .8rem; font-size: .92rem; }
}
@media (max-width: 420px) {
  .wrap { width: calc(100% - 2rem); }
  .stage:nth-child(3) .stage-items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  .p-tile .pbody { padding: .8rem .8rem 1rem; }
  .p-tile .h3 { font-size: 1.2rem; }
  .p-tile .pdesc { font-size: .88rem; }
  .calc .two { grid-template-columns: 1fr; }
}

/* ---------- Interior page additions ---------- */
.intro { max-width: 760px; margin-bottom: 2.4rem; }
.intro h2 { margin-bottom: .6rem; }
.btn-row.after, .split.after { margin-top: 2.2rem; }
.split.top { align-items: start; }
.bar-row .name { text-decoration: none; color: #fff; }
.bar-row .name:hover { color: var(--green); }
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.story-grid.four { grid-template-columns: repeat(4, 1fr); }
.story .yt { aspect-ratio: 16 / 9; }
.story .yt img { width: 100%; height: 100%; object-fit: cover; }
.story-grid + .story-grid { margin-top: 1.5rem; }
.h3 { font-family: var(--cond); font-weight: 700; font-size: 1.6rem; text-transform: uppercase; letter-spacing: .02em; color: var(--night); margin: 0 0 1.2rem; }
.org-flag { display: inline-flex; align-items: center; gap: .5rem; background: rgba(153,212,32,.14); border: 1px solid rgba(153,212,32,.4); color: #e8f5c8; padding: .45rem .8rem; font-size: .95rem; margin: 0 0 1.4rem; }
.org-flag svg { width: 18px; height: 18px; fill: var(--green); flex: 0 0 auto; }
.doc-links { display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; margin-top: 1.6rem; }
.doc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.textlink svg { width: 18px; height: 18px; fill: currentColor; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; box-shadow: var(--shadow-1); background: #fff; }
.results-table { width: 100%; border-collapse: collapse; min-width: 620px; }
.results-table th, .results-table td { text-align: left; padding: .9rem 1.1rem; border-bottom: 1px solid var(--line); }
.results-table thead th { background: var(--night); color: #fff; font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .92rem; }
.results-table td.num { font-family: var(--display); font-size: 1.5rem; color: var(--night); white-space: nowrap; }
.results-table td.num:last-child { font-size: 1.25rem; color: var(--blue); white-space: normal; }
.results-table tbody tr:nth-child(even) { background: #fbfbf7; }
.results-table a { font-weight: 600; }
.proof-grid.pg-one, .proof-grid.pg-two { grid-template-rows: auto; margin-top: 0; }
.proof-grid.pg-one { grid-template-columns: 1fr; max-width: 980px; }
.proof-grid.pg-two { grid-template-columns: 1fr 1fr; }
.proof-grid.pg-one figure:first-child, .proof-grid.pg-two figure:first-child { grid-column: auto; }
.proof-grid.pg-one img, .proof-grid.pg-two img { aspect-ratio: 2 / 1; height: auto; }
.quotes-duo { margin-top: 0; }
.quotes-duo.single { grid-template-columns: 1fr; max-width: 820px; }
.lede.dark { color: var(--ink); }
.vid-split { margin-top: 3rem; }
.vid-split h3 { color: #fff; font-size: 1.6rem; }
.vid-split p { color: #c6d3dc; }
.goal .crop { color: var(--green-deep); }
.form-card .h3 { margin-bottom: 1.2rem; }
#f-msg { min-height: 140px; }
.page-hero h1 { color: #fff; }
@media (max-width: 1080px) {
  .story-grid.four { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .related { grid-template-columns: 1fr 1fr; gap: .9rem; }
  .proof-grid.pg-two { grid-template-columns: 1fr; }
  .story-grid.four { grid-template-columns: 1fr; }
  .vid-split { margin-top: 2rem; }
}

/* v6: Facebook content (trust badge, photo strips, FB results) */
.fb-badge { display: inline-flex; align-items: center; gap: .6rem; padding: .55rem 1rem .55rem .7rem; background: #fff; color: var(--ink); text-decoration: none; font-size: .95rem; line-height: 1.2; border-left: 5px solid var(--green); box-shadow: 4px 4px 0 var(--night); transition: transform .2s ease, box-shadow .2s ease; max-width: 100%; margin-top: 1rem; }
.fb-badge svg { width: 18px; height: 18px; flex: 0 0 18px; fill: #fff; background: var(--blue); padding: 3px; box-sizing: content-box; }
.fb-badge b { font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: 1.05rem; color: var(--blue-deep); }
.fb-badge:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--green); color: var(--ink); }
.fb-badge--dark { background: rgba(255,255,255,.06); color: #d6e0e7; box-shadow: 4px 4px 0 rgba(153,212,32,.35); }
.fb-badge--dark b { color: var(--green); }
.fb-badge--dark:hover { color: #fff; box-shadow: 6px 6px 0 var(--green); }
.hero-badge .fb-badge { margin-top: 1.4rem; }
.site-footer .motto2 { font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #c6d3dc; font-size: .95rem; }
.small-note { font-size: .9rem; opacity: .85; margin-top: 1rem; }
.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; background: var(--night); }
.photo-strip--two { grid-template-columns: 1.4fr 1fr; }
.photo-strip figure { margin: 0; position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
.photo-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.photo-strip figure:hover img { transform: scale(1.04); }
.photo-strip figcaption { position: absolute; left: 0; bottom: 0; background: var(--night); color: #fff; font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; padding: .45rem .8rem; clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%); padding-right: 1.4rem; }
.proof-grid.pg-four figure:first-child { grid-column: auto; }
.proof-grid.pg-four figure img, .proof-grid.pg-four figure:first-child img { aspect-ratio: 1.85; }
.photo-plate img { height: auto; }
.photo-plate.portrait { max-width: 388px; justify-self: center; }
.fb-split { align-items: center; }
.d-card--fb { border-color: rgba(153,212,32,.45); }
.d-src { margin: .8rem 0 0; font-size: .82rem; color: var(--green); font-family: var(--cond); font-weight: 600; letter-spacing: .03em; }
.d-src svg { width: 14px; height: 14px; fill: currentColor; vertical-align: -2px; }
.fbr-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.fbr-card { background: #fff; padding: 1.4rem 1.3rem 1.2rem; box-shadow: var(--shadow-1); border-top: 5px solid var(--blue); position: relative; }
.fbr-card:nth-child(even) { transform: translateY(1.2rem); }
.fbr-card--wide { grid-column: 1 / -1; transform: none !important; display: grid; grid-template-columns: 1.1fr 1fr 1.4fr; gap: .4rem 2rem; align-items: center; border-top-color: var(--green); margin-top: 1.6rem; }
.fbr-card--wide .fbr-season, .fbr-card--wide h3 { grid-column: 1; }
.fbr-card--wide .fbr-nums { grid-column: 2; grid-row: 1 / span 3; }
.fbr-card--wide .fbr-detail { grid-column: 3; grid-row: 1 / span 2; margin: 0; color: var(--muted); }
.fbr-card--wide .fbr-src { grid-column: 3; }
.fbr-season { font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; color: var(--green-deep); margin: 0 0 .3rem; }
.fbr-card h3 { font-size: 1.3rem; margin-bottom: .6rem; }
.fbr-card h3 a { color: var(--night); text-decoration: none; }
.fbr-card h3 a:hover { color: var(--blue); }
.fbr-nums { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; align-items: baseline; }
.fbr-nums span { font-family: var(--display); line-height: 1; }
.fbr-nums .g { font-size: 3rem; color: var(--night); }
.fbr-nums .h { font-size: 1.9rem; color: var(--blue); }
.fbr-nums small { display: block; font-family: var(--cond); font-weight: 600; font-size: .85rem; color: var(--muted); letter-spacing: .02em; margin-top: .25rem; }
.fbr-src { font-size: .82rem; color: var(--muted); margin: .9rem 0 0; }
.fbr-src svg { width: 14px; height: 14px; fill: var(--blue); vertical-align: -2px; }
.fbr-photo { align-items: center; margin-top: 4rem; }
@media (max-width: 1080px) {
  .fbr-grid { grid-template-columns: repeat(2, 1fr); }
  .fbr-card--wide { grid-template-columns: 1fr 1fr; }
  .fbr-card--wide .fbr-detail, .fbr-card--wide .fbr-src { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 860px) {
  .photo-strip, .photo-strip--two { grid-template-columns: 1fr 1fr; }
  .photo-strip figure:first-child:nth-last-child(3) { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
  .fbr-photo { margin-top: 2.5rem; }
}
@media (max-width: 560px) {
  .fbr-grid { grid-template-columns: 1fr; }
  .fbr-card:nth-child(even) { transform: none; }
  .fbr-card--wide { grid-template-columns: 1fr; margin-top: 0; }
  .fbr-card--wide > * { grid-column: 1 !important; grid-row: auto !important; }
  .photo-strip--two { grid-template-columns: 1fr; }
  .fb-badge { font-size: .88rem; }
}
@media (prefers-reduced-motion: reduce) {
  .photo-strip img, .fb-badge { transition: none; }
  .photo-strip figure:hover img { transform: none; }
}
.proof-grid img[src*="/fb-"] { aspect-ratio: 16 / 9 !important; object-position: 50% 45% !important; }
.site-footer .fb-badge { font-size: .85rem; }

/* ==========================================================================
   v7: Product highlight (with vs. without), PheNom, new proof photos
   ========================================================================== */
.hx { padding-top: clamp(4.5rem, 8vw, 6.5rem); }
.hx-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-bottom: 2.25rem; }
.hx-head > div { max-width: 640px; }
.toggle--light { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); flex-wrap: wrap; }
.toggle--light button { color: var(--muted); }
.toggle--light button:hover { color: var(--night); }
.toggle--light button[aria-pressed="true"] { background: var(--night); color: var(--green); }
.hx-panel { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(1.5rem, 3vw, 2.75rem); align-items: start; }
.hx-panel[hidden] { display: none; }
.hx-panel.is-in .hx-card, .hx-panel.is-in .ba, .hx-panel.is-in .hx-photo { animation: hxIn .5s cubic-bezier(.2,.7,.2,1) both; }
.hx-panel.is-in .hx-card { animation-delay: .08s; }
@keyframes hxIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Before / after drag slider */
.ba { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--night); box-shadow: var(--shadow-2); border-bottom: 6px solid var(--green); touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 0 1px rgba(12,29,43,.25); pointer-events: none; }
.ba-handle { position: absolute; top: 50%; left: var(--pos); z-index: 2; width: 54px; height: 54px; margin: -27px 0 0 -27px; display: grid; place-items: center; background: var(--green); color: var(--night); box-shadow: 0 6px 18px rgba(0,0,0,.35); clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px); pointer-events: none; }
.ba-handle svg { width: 26px; height: 26px; fill: currentColor; }
.ba-range { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; background: transparent; }
.ba-range::-webkit-slider-thumb { -webkit-appearance: none; width: 60px; height: 100vh; }
.ba-range:focus-visible ~ .ba-handle, .ba:has(.ba-range:focus-visible) .ba-handle { outline: 3px solid #fff; outline-offset: 2px; }
.ba-tag { position: absolute; top: 1rem; z-index: 2; padding: .4rem .8rem; font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .92rem; line-height: 1.2; pointer-events: none; }
.ba-tag--l { left: 1rem; background: var(--night); color: #fff; }
.ba-tag--r { right: 1rem; background: var(--green); color: var(--night); }

.hx-photo { position: relative; margin: 0; overflow: hidden; background: var(--night); box-shadow: var(--shadow-2); border-bottom: 6px solid var(--green); }
.hx-photo img { width: 100%; height: auto; display: block; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s ease; }
.hx-photo--tall img { aspect-ratio: 3 / 4; object-position: 50% 30%; }
.hx-photo:hover img { transform: scale(1.03); }
.hx-photo button.zoom { all: unset; cursor: zoom-in; display: block; }
.hx-photo button.zoom:focus-visible { outline: 3px solid var(--green); outline-offset: -3px; }

.hx-card { background: #fff; padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow-1); border-top: 5px solid var(--blue); }
.hx-type { font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .88rem; color: var(--green-deep); margin: 0 0 .5rem; }
.hx-card h3 { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 3.4vw, 2.6rem); line-height: 1; letter-spacing: .01em; color: var(--night); margin: 0 0 .9rem; }
.hx-card > p { margin: 0 0 1rem; }
.hx-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 1.25rem 0 .5rem; }
.hx-stats > div { background: var(--paper); padding: .9rem 1rem; }
.hx-stats .n { display: block; font-family: var(--display); font-size: 2.6rem; line-height: .95; color: var(--blue); }
.hx-stats .n small { font-size: 1.05rem; color: var(--green-deep); margin-left: .2rem; }
.hx-stats .l { display: block; font-family: var(--cond); font-weight: 600; font-size: .95rem; color: var(--muted); margin-top: .2rem; }
.hx-foot { font-size: .85rem; color: var(--muted); margin: .4rem 0 1.1rem; }
.hx-thumb { margin: 1.25rem 0 1.25rem; display: grid; grid-template-columns: 96px 1fr; gap: 1rem; align-items: center; }
.hx-thumb img { width: 96px; height: 128px; object-fit: cover; box-shadow: var(--shadow-1); }
.hx-thumb figcaption { font-family: var(--cond); font-weight: 600; font-size: 1.02rem; color: var(--ink); }
.hx-thumb--wide { grid-template-columns: 1fr; }
.hx-thumb--wide img { width: 100%; height: auto; aspect-ratio: 16 / 8; }
.hx-list { margin: 0 0 1rem; padding: 0; list-style: none; }
.hx-list li { position: relative; padding-left: 1.6rem; margin-bottom: .45rem; }
.hx-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: .75rem; height: .75rem; background: var(--green); clip-path: polygon(3px 0, 100% 0, 100% calc(100% - 3px), calc(100% - 3px) 100%, 0 100%, 0 3px); }
.hx-links { display: flex; flex-wrap: wrap; gap: 1rem 1.75rem; }

/* Kernel-count bars */
.kbars { display: grid; gap: .55rem; margin: 1.2rem 0 .3rem; }
.kb { display: grid; grid-template-columns: 11rem 1fr; gap: .9rem; align-items: center; }
.kb-name { font-family: var(--cond); font-weight: 700; font-size: 1.02rem; line-height: 1.1; color: var(--night); }
.kb-name small { display: block; font-weight: 600; font-size: .82rem; color: var(--muted); letter-spacing: .02em; }
.kb-track { display: block; background: var(--paper-2); height: 36px; }
.kb-fill { display: flex; align-items: center; justify-content: flex-end; height: 100%; width: var(--w); padding-right: .6rem; background: var(--blue); color: #fff; font-family: var(--display); font-size: 1.35rem; line-height: 1; transform-origin: left; }
.kb--top .kb-fill { background: var(--green); color: var(--night); }
.hx-panel.is-in .kb-fill { animation: kbGrow .8s cubic-bezier(.2,.7,.2,1) both; }
.hx-panel.is-in .kb:nth-child(2) .kb-fill { animation-delay: .08s; }
.hx-panel.is-in .kb:nth-child(3) .kb-fill { animation-delay: .16s; }
.hx-panel.is-in .kb:nth-child(4) .kb-fill { animation-delay: .24s; }
@keyframes kbGrow { from { transform: scaleX(.2); } to { transform: none; } }

@media (max-width: 860px) {
  .hx-panel { grid-template-columns: 1fr; }
  .hx-head { align-items: flex-start; }
  .hx-tabs { width: 100%; }
  .hx-tabs button { flex: 1 1 auto; padding: .5rem .7rem; font-size: .95rem; }
  .ba { aspect-ratio: 4 / 5; }
  .hx-photo--tall img { aspect-ratio: 4 / 5; }
}
@media (max-width: 480px) {
  .kb { grid-template-columns: 1fr; gap: .25rem; }
  .ba-tag { font-size: .8rem; top: .7rem; padding: .35rem .6rem; }
  .ba-tag--l { left: .7rem; } .ba-tag--r { right: .7rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hx-panel.is-in .hx-card, .hx-panel.is-in .ba, .hx-panel.is-in .hx-photo, .hx-panel.is-in .kb-fill { animation: none; }
  .hx-photo img { transition: none; }
}

/* Labeled single-photo comparisons in proof grids */
.proof-grid figure .ba-tag { top: .8rem; }
.proof-grid .tall img { aspect-ratio: 3 / 4 !important; object-position: 50% 35% !important; }

/* PheNom page */
.ph-pills { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.ph-pills li { font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .95rem; padding: .5rem .9rem; background: var(--night); color: #fff; clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); }
.ph-pills li:nth-child(odd) { background: var(--green); color: var(--night); }
.n-flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2.25rem; counter-reset: nf; }
.n-step { position: relative; background: #fff; padding: 1.5rem 1.4rem 1.4rem; box-shadow: var(--shadow-1); border-top: 5px solid var(--green); }
.n-step .big { display: block; font-family: var(--display); font-size: 3.2rem; line-height: .9; color: var(--blue); margin-bottom: .5rem; }
.n-step h3 { margin: 0 0 .4rem; color: var(--night); }
.n-step p { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .n-flow { grid-template-columns: 1fr; } }
.tm { font-size: .55em; vertical-align: super; line-height: 0; }
.p-tile .pimg img[src*="product-phenom"] { width: 100%; height: 100%; object-fit: cover; }
.sq-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: 2.25rem; }
.sq-grid figure { margin: 0; background: #fff; box-shadow: var(--shadow-1); overflow: hidden; display: flex; flex-direction: column; }
.sq-grid button.zoom { all: unset; cursor: zoom-in; display: block; overflow: hidden; }
.sq-grid button.zoom:focus-visible { outline: 3px solid var(--green); outline-offset: -3px; }
.sq-grid img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .5s ease; }
.sq-grid figure:hover img { transform: scale(1.03); }
.sq-grid figcaption { padding: 1rem 1.1rem 1.2rem; font-size: .95rem; color: var(--muted); border-top: 4px solid var(--green); }
.sq-grid figcaption strong { display: block; font-family: var(--cond); text-transform: uppercase; letter-spacing: .05em; font-size: 1.12rem; color: var(--night); margin-bottom: .2rem; }
@media (max-width: 860px) { .sq-grid { grid-template-columns: 1fr; } }
@media (min-width: 561px) and (max-width: 860px) { .sq-grid { grid-template-columns: 1fr 1fr; } }
.pd-hero .pd-shot img[src*="product-phenom"] { object-fit: cover; padding: 0; }
.split .hx-photo { align-self: start; }
.p-row .pimg img[src*="product-phenom"] { width: 100%; height: 100%; object-fit: cover; }
.sq-grid figure { position: relative; }
.sq-grid--43 img { aspect-ratio: 4 / 3; }
.sq-grid .ba-tag { top: .8rem; font-size: .82rem; }
.sq-grid .ba-tag--l { left: .8rem; } .sq-grid .ba-tag--r { right: .8rem; }
.coat-split { align-items: center; margin-bottom: 2.5rem; }
.coat-split .ba { max-width: 520px; width: 100%; }
.h-sub { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 3.4vw, 2.6rem); line-height: 1; color: var(--night); margin: 0 0 .8rem; }
.proof-grid.pg-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.proof-grid.pg-three figure:first-child { grid-column: auto; }
.proof-grid.pg-three figure img, .proof-grid.pg-three figure:first-child img { aspect-ratio: 1.6; }
@media (max-width: 860px) { .proof-grid.pg-three { grid-template-columns: 1fr; } }
.nap a[href^="tel:"] { display: inline-block; padding: .55rem 0; }
.ph-media--dim img { filter: brightness(.5) saturate(.85); }
.ph-pills { margin-bottom: 1.6rem; }

/* v7: aligned grids (Results "The numbers", grower stories, quote wall) */
.fbr-grid { row-gap: 1.1rem; align-items: stretch; }
.fbr-card:not(.fbr-card--wide) { transform: none; display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
.fbr-card:not(.fbr-card--wide) h3 { align-self: start; }
.fbr-card:not(.fbr-card--wide) .fbr-nums { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .3rem 1.2rem; align-items: start; align-self: start; }
.fbr-card:not(.fbr-card--wide) .fbr-nums .h { padding-top: .35rem; }
.fbr-card:not(.fbr-card--wide) .fbr-src { align-self: end; border-top: 1px solid var(--line); padding-top: .8rem; }
.fbr-card--wide { margin-top: 0; }
.story-grid { align-items: stretch; }
.story, .story:nth-child(3n+2) { transform: none; display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; }
.story .s-body { display: contents; }
.story .s-body .where { padding: 1.2rem 1.3rem 0; margin: 0; }
.story .s-body h3 { padding: 0 1.3rem; }
.story .s-body p:not(.where) { padding: 0 1.3rem 1.4rem; }
.quote-wall { columns: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; align-items: stretch; }
.quote-wall .q-card { margin: 0; display: flex; flex-direction: column; }
.quote-wall .q-card cite { margin-top: auto; }
@media (max-width: 860px) {
  .quote-wall { grid-template-columns: 1fr; gap: 1.1rem; }
}
@media (max-width: 560px) {
  .fbr-card:not(.fbr-card--wide), .story, .story:nth-child(3n+2) { grid-row: auto; grid-template-rows: none; }
}
