/* CFi Solutions site — built on the CFi design system.
   Layout: 12-column feel, one big headline per page, hairline rules between sections, flat color fields.
   Brand colors keep their values in both themes; neutrals switch. */
:root {
  --green: #21962c;
  --dark-green: #285439;
  --seafoam: #7fb5ae;
  --linen: #faf9f4;
  --brown: #2b211b;           /* ink on fixed-linen cards, both themes */
  --white: #ffffff;
  --paper: #faf9f4;
  --ink: #2b211b;
  --ink-muted: #736c66;
  --backdrop: #f1efec;
  --hairline: #e0ddd8;
  --heading: #285439;         /* dark-green headlines on linen */
  --accent-text: #21962c;     /* "grows" and 24px+ accents */
  --link: #285439;
  --btn-edge: #285439;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --font-display: "Montserrat", system-ui, sans-serif;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --max: 1160px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #141414; --ink: #faf9f4; --ink-muted: #b0aca7; --backdrop: #0b0b0b;
    --hairline: #285439; --heading: #faf9f4; --accent-text: #21962c; --link: #7fb5ae; --btn-edge: #7fb5ae;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #141414; --ink: #faf9f4; --ink-muted: #b0aca7; --backdrop: #0b0b0b;
  --hairline: #285439; --heading: #faf9f4; --accent-text: #21962c; --link: #7fb5ae; --btn-edge: #7fb5ae;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-sans); font-size: 16px; line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 24px; }
@media (max-width: 480px) { .wrap { padding-inline: 16px; } }

/* ---------- type ---------- */
.display { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.4rem, 5.2vw, 4rem); line-height: 1.05; letter-spacing: -0.015em; margin: 0; text-wrap: balance; }
.heading { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.2; margin: 0; color: var(--heading); text-wrap: balance; }
.title { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.9rem, 3.6vw, 2.6rem); line-height: 1.15; margin: 0; color: var(--heading); }
.subhead { font-weight: 700; font-size: 1.15rem; line-height: 1.45; margin: 0; }
.body { max-width: 62ch; margin: 0; }
.muted { color: var(--ink-muted); }
.label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); margin: 0; }
.grows { color: var(--accent-text); }
.num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* ---------- header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--paper); border-bottom: 1px solid var(--hairline); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: block; flex: none; }
.brand img { height: 34px; width: auto; }
.logo-dark { display: none !important; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo-light { display: none !important; } :root:not([data-theme="light"]) .logo-dark { display: block !important; } }
:root[data-theme="dark"] .logo-light { display: none !important; }
:root[data-theme="dark"] .logo-dark { display: block !important; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: 0.95rem; padding: 8px 12px; border-radius: var(--radius-sm); }
.nav a:hover { background: var(--backdrop); }
.nav a[aria-current="page"] { color: var(--heading); font-weight: 700; box-shadow: inset 0 -2px 0 var(--green); border-radius: 0; }
.nav .btn { margin-left: 8px; }
.menu-toggle { display: none; font: inherit; font-weight: 700; background: none; color: var(--ink); border: 1px solid var(--btn-edge); border-radius: var(--radius-sm); padding: 8px 14px; cursor: pointer; }
@media (max-width: 1080px) {
  .menu-toggle { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--hairline); padding: 8px 16px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 8px; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--green); padding-left: 14px; }
  .nav .btn { margin: 8px 0 0; text-align: center; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--font-sans); font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; border-radius: var(--radius-sm); padding: 14px 22px; border: 1px solid transparent; cursor: pointer; }
.btn-primary { background: var(--dark-green); color: var(--linen); border-color: var(--btn-edge); }
.btn-primary:hover { background: #1f4630; }
.btn-secondary { background: transparent; color: var(--heading); border-color: var(--btn-edge); }
.btn-secondary:hover { background: var(--backdrop); }
.on-dark .btn-primary { background: var(--linen); color: var(--dark-green); border-color: var(--linen); }
.on-dark .btn-primary:hover { background: #ffffff; }
.on-dark .btn-secondary { color: var(--linen); border-color: var(--linen); }
.on-dark .btn-secondary:hover { background: rgba(250, 249, 244, 0.1); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.arrow { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--dark-green); color: var(--linen); font-size: 0.8rem; }
.on-dark .btn-primary .arrow { background: var(--dark-green); }

/* ---------- sections ---------- */
main { display: block; }
.section { padding-block: clamp(56px, 8vw, 96px); }
.section + .section { border-top: 1px solid var(--hairline); }
.section-head { display: grid; gap: 14px; margin-bottom: 40px; max-width: 760px; }
.stack { display: grid; gap: 18px; }

/* Horizon hero: dark-green panel, one cropped green circle */
.hero { padding-block: 24px 0; }
.horizon { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--dark-green); color: var(--linen); padding: clamp(36px, 6vw, 80px); min-height: 440px; display: grid; align-content: center; }
.horizon::after { content: ""; position: absolute; width: min(620px, 90vw); aspect-ratio: 1; border-radius: 50%; background: var(--green); right: max(-220px, -18vw); bottom: -46%; }
.horizon > * { position: relative; z-index: 1; }
.horizon .display { color: var(--linen); max-width: 13ch; }
.horizon .display .grows { color: var(--seafoam); }
.horizon .subhead { margin-top: 20px; max-width: 34ch; }
.horizon .body { margin-top: 14px; max-width: 46ch; color: var(--linen); }
.horizon .btn-row { margin-top: 32px; }
@media (max-width: 640px) { .horizon { min-height: 0; padding-bottom: 180px; } .horizon::after { width: 360px; right: -120px; bottom: -180px; } }

/* page intro (non-home) */
.intro { padding-block: clamp(56px, 8vw, 96px) clamp(40px, 6vw, 64px); }
.intro .display { color: var(--heading); max-width: 18ch; }
.intro .subhead { margin-top: 20px; max-width: 48ch; }
.intro .body { margin-top: 14px; }

/* Stat band */
.stat-band { background: var(--dark-green); color: var(--linen); border-radius: var(--radius-md); display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 28px 26px; display: grid; gap: 6px; align-content: end; min-width: 0; }
.stat + .stat { border-left: 1px solid rgba(250, 249, 244, 0.22); }
.stat .num { font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.1; }
.stat .cap { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--linen); opacity: 0.85; }
@media (max-width: 760px) { .stat-band { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid rgba(250, 249, 244, 0.22); } }

/* Proof panels */
.proofs { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.proof { border-radius: var(--radius-md); padding: 28px; min-height: 170px; display: grid; align-content: end; gap: 6px; }
.proof .num { font-size: 2.2rem; line-height: 1.1; }
.proof .cap { font-size: 0.95rem; line-height: 1.4; }
.proof-hero { background: var(--dark-green); color: var(--linen); }
.proof-support { background: var(--paper); border: 1px solid var(--green); }
.proof-support .num { color: var(--heading); }

/* Rule grid (benefits without cards) */
.rule-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--hairline); }
.rule-grid > div { padding: 28px 32px 32px 0; border-bottom: 1px solid var(--hairline); display: grid; gap: 8px; min-width: 0; }
.rule-grid > div:nth-child(even) { padding-left: 32px; padding-right: 0; border-left: 1px solid var(--hairline); }
@media (max-width: 700px) { .rule-grid { grid-template-columns: 1fr; } .rule-grid > div, .rule-grid > div:nth-child(even) { padding: 24px 0; border-left: 0; } }

/* Outlined cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card { border: 1px solid var(--green); border-radius: var(--radius-md); padding: 28px; display: grid; gap: 10px; align-content: start; background: var(--paper); min-width: 0; }
.card h3 { margin: 0; font-weight: 700; font-size: 1.1rem; line-height: 1.35; color: var(--heading); }
.card p { margin: 0; }
.card .arrow { margin-bottom: 6px; }
a.card { text-decoration: none; color: var(--ink); }
a.card:hover { background: var(--backdrop); }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split > * { min-width: 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Steps (a real sequence) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding-block: 22px; border-top: 1px solid var(--hairline); }
.steps li:last-child { border-bottom: 1px solid var(--hairline); }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--font-mono); font-size: 1.1rem; color: var(--accent-text); padding-top: 2px; }
.steps h3 { margin: 0 0 4px; font-size: 1.1rem; line-height: 1.4; }
.steps p { margin: 0; }

/* Season Band */
.season { display: grid; gap: 10px; }
.season .stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.season .segs { display: grid; grid-template-columns: 1fr 3fr; gap: 6px; }
.season .seg { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding: 12px 20px; font-weight: 700; font-size: 1.2rem; line-height: 1.25; }
.season .paid { background: var(--green); color: var(--white); border-radius: var(--radius-md) 0 0 var(--radius-md); }
.season .repay { background: var(--dark-green); color: var(--linen); border-radius: 0 var(--radius-md) var(--radius-md) 0; }
.season .pt { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.season .paid .pt { background: var(--linen); }
.season .repay .pt { background: var(--seafoam); }
@media (max-width: 640px) {
  .season .stages { display: none; }
  .season .segs { grid-template-columns: 1fr; }
  .season .paid { border-radius: var(--radius-md) var(--radius-md) 0 0; }
  .season .repay { border-radius: 0 0 var(--radius-md) var(--radius-md); }
  .season .seg::before { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 400; opacity: 0.9; }
  .season .paid::before { content: "Pre-season"; }
  .season .repay::before { content: "Planting → Harvest"; }
  .season .seg { flex-wrap: wrap; }
}

/* Product Moment */
.moment-stage { position: relative; overflow: hidden; background: var(--dark-green); border-radius: var(--radius-lg); padding: clamp(32px, 6vw, 64px); }
.moment { position: relative; background: var(--linen); color: var(--brown); border-radius: var(--radius-md); padding: 24px; max-width: 360px; }
.moment .m-label { font-size: 0.85rem; color: #736c66; margin: 0; }
.moment .m-status { display: flex; align-items: center; gap: 8px; margin: 6px 0 0; font-weight: 700; font-size: 1.15rem; color: var(--dark-green); }
.moment .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); }
.moment .m-fig { margin: 12px 0 0; font-size: 1.8rem; line-height: 1.2; color: var(--brown); }
.moment .m-foot { margin: 16px 0 0; padding-top: 12px; border-top: 1px solid #e0ddd8; font-size: 0.85rem; color: #736c66; }

/* Field Grid */
.field { background: var(--linen); border-radius: var(--radius-lg); padding: clamp(20px, 4vw, 36px); border: 1px solid var(--hairline); }
.field svg { width: 100%; height: auto; display: block; }
.field .d { fill: var(--dark-green); }
.field .g { fill: var(--green); }
.field .f-cap { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline; margin-top: 18px; padding-top: 14px; border-top: 1px solid #e0ddd8; color: #736c66; font-size: 0.95rem; }
.field .f-cap .num { color: var(--dark-green); font-size: 1.3rem; }

/* CTA band */
.cta-band { background: var(--dark-green); color: var(--linen); border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 64px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: end; }
.cta-band > * { min-width: 0; }
.cta-band .heading { color: var(--linen); }
.cta-band .reach { display: grid; gap: 4px; }
.cta-band .reach .label { color: var(--linen); opacity: 0.85; }
.cta-band .reach a, .cta-band .reach span.v { color: var(--linen); font-weight: 700; font-size: 1.15rem; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 640px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card .lines { display: grid; gap: 2px; }
.contact-card .lines a, .contact-card .lines span { font-size: 0.98rem; word-break: break-word; }
.copy { font: inherit; font-size: 0.8rem; font-weight: 700; color: var(--link); background: none; border: 1px solid var(--hairline); border-radius: 6px; padding: 2px 8px; margin-left: 8px; cursor: pointer; }
.copy:hover { border-color: var(--btn-edge); }
.boiler { background: var(--backdrop); border-radius: var(--radius-md); padding: 28px; display: grid; gap: 10px; }

form.demo { display: grid; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.f { display: grid; gap: 6px; }
.f label { font-weight: 700; font-size: 0.92rem; }
.f input, .f select, .f textarea { font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper); border: 1px solid var(--ink-muted); border-radius: var(--radius-sm); padding: 12px 14px; width: 100%; }
.f textarea { min-height: 120px; resize: vertical; }
.form-note { margin: 0; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--backdrop); }

/* footer */
.site-footer { margin-top: clamp(56px, 8vw, 96px); border-top: 1px solid var(--hairline); padding-block: 48px 40px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid > * { min-width: 0; }
.foot-grid h4 { margin: 0 0 10px; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 400; color: var(--ink-muted); }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot-grid a { color: var(--ink); text-decoration: none; }
.foot-grid a:hover { text-decoration: underline; }
.foot-brand img { height: 30px; width: auto; }
.foot-brand p { margin: 14px 0 0; }
.foot-legal { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--hairline); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
.nav a.btn-primary { color: var(--linen); background: var(--dark-green); }
.nav a.btn-primary:hover { background: #1f4630; }
.nav a.btn-primary[aria-current="page"] { box-shadow: none; border-radius: var(--radius-sm); }

.stat .sub { font-size: 0.85rem; line-height: 1.4; color: var(--linen); opacity: 0.8; }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.quote { margin: 0; background: var(--backdrop); border-radius: var(--radius-md); padding: 28px; display: grid; gap: 20px; align-content: space-between; min-width: 0; }
.quote blockquote { margin: 0; }
.quote blockquote p { margin: 0; font-size: 1.02rem; line-height: 1.7; }
.quote figcaption { display: grid; gap: 2px; padding-top: 14px; border-top: 1px solid var(--hairline); }
.quote figcaption strong { color: var(--heading); }
.quote-lg { background: transparent; padding: 0; }
.quote-lg blockquote p { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.35; color: var(--heading); text-wrap: pretty; }
.rule-grid.rule-3 { grid-template-columns: repeat(3, 1fr); }
.rule-grid.rule-3 > div, .rule-grid.rule-3 > div:nth-child(even) { padding: 28px 28px 32px; border-left: 1px solid var(--hairline); }
.rule-grid.rule-3 > div:first-child { padding-left: 0; border-left: 0; }
@media (max-width: 860px) { .rule-grid.rule-3 { grid-template-columns: 1fr; } .rule-grid.rule-3 > div, .rule-grid.rule-3 > div:nth-child(even) { padding: 24px 0; border-left: 0; } }
.news { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hairline); }
.news-item { display: grid; gap: 8px; padding-block: 28px; border-bottom: 1px solid var(--hairline); }
.news-title { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.3; color: var(--heading); max-width: 40ch; text-wrap: balance; }
.news-item a { font-weight: 700; justify-self: start; }
.horizon .label { color: var(--linen); }

/* ---------- image slots (placeholders until real photos arrive) ---------- */
.slot { position: relative; overflow: hidden; border-radius: var(--radius-lg); max-width: 100%; }
.slot .ph { position: absolute; inset: 0; display: grid; place-items: start end; padding: clamp(18px, 3vw, 32px); background: var(--seafoam); border: 2px dashed rgba(40, 84, 57, 0.55); border-radius: inherit; transition: background-color .2s ease; }
.slot .ph.drag { background: #9cc6c0; }
.ph-inner { position: relative; z-index: 1; max-width: 300px; display: grid; gap: 4px; color: var(--brown); text-align: right; justify-items: end; }
.ph-inner.tl { text-align: left; justify-items: start; }
.ph-inner .label { color: var(--brown); }
.ph-spec { margin: 0; font-size: 0.9rem; }
.ph-hint { margin: 4px 0 0; font-size: 0.88rem; line-height: 1.5; }
.ph-pick { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.slot-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; }
.ph-clear { position: absolute; z-index: 4; top: 12px; right: 12px; font: inherit; font-size: .8rem; font-weight: 700; background: var(--linen); color: var(--dark-green); border: 0; border-radius: var(--radius-sm); padding: 6px 10px; cursor: pointer; }
.band-21 { aspect-ratio: 12 / 5; margin-top: 16px; }
.tile-43 { aspect-ratio: 4 / 3; border-radius: var(--radius-md); }
.thumb { aspect-ratio: 16 / 9; border-radius: var(--radius-md); }
.thumb .ph-hint { display: none; }
@media (max-width: 640px) { .band-21 { aspect-ratio: 4 / 3; } .ph-hint { font-size: .82rem; } }

/* hero with an image slot */
.hero-media { min-height: clamp(480px, 52vw, 620px); display: grid; align-items: end; padding: clamp(16px, 3vw, 32px); background: var(--backdrop); }
.hero-media .ph::after { content: ""; position: absolute; width: min(560px, 80vw); aspect-ratio: 1; border-radius: 50%; right: -12%; bottom: -38%; background: rgba(40, 84, 57, 0.18); pointer-events: none; }
.hero-copy { position: relative; z-index: 2; background: var(--dark-green); color: var(--linen); border-radius: var(--radius-md); padding: clamp(28px, 4vw, 48px); max-width: 640px; display: grid; gap: 18px; }
.hero-copy .label { color: var(--linen); opacity: .85; }
.hero-copy .display { color: var(--linen); font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.hero-copy .body { color: var(--linen); max-width: 46ch; }
@media (max-width: 640px) { .hero-media { min-height: 0; padding: 0; padding-top: 220px; } .hero-copy { border-radius: 0 0 var(--radius-lg) var(--radius-lg); } .ph-inner { max-width: 240px; } }

/* stepper stage background slot */
.step-stage > .stage-bg { position: absolute; inset: 0; border-radius: inherit; }
.step-stage > .stage-bg .ph { place-items: start start; padding: 16px 18px; }
.step-stage > .stage-bg .ph-hint { display: none; }
.step-stage .step-view { position: relative; z-index: 2; }

/* manufacturers: photo inside the Horizon circle */
.horizon-photo::after { display: none; }
.h-circle { position: absolute !important; z-index: 0 !important; width: min(620px, 90vw); aspect-ratio: 1; border-radius: 50% !important; right: max(-220px, -18vw); bottom: -46%; }
.h-circle .ph { border-radius: 50%; place-items: start start; padding: 16% 0 0 16%; }
.ph-inner.circ { text-align: left; justify-items: start; max-width: 230px; }
@media (max-width: 640px) { .h-circle { width: 360px; right: -120px; bottom: -180px; } .h-circle .ph-hint { display: none; } .h-circle .ph { padding: 14% 0 0 14%; } }

/* news with thumbnails */
.news-item { grid-template-columns: 240px 1fr; gap: 24px; align-items: start; }
.news-item > * { min-width: 0; }
.news-body { display: grid; gap: 8px; }
@media (max-width: 640px) { .news-item { grid-template-columns: 1fr; } }

/* ---------- segmented control / filters ---------- */
.seg-ctl, .filters { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 12px; background: var(--backdrop); margin-bottom: 24px; }
.seg-ctl button, .filters button { font: inherit; font-weight: 700; font-size: .95rem; color: var(--ink); background: transparent; border: 0; border-radius: var(--radius-sm); padding: 10px 16px; cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.seg-ctl button:hover, .filters button:hover { background: var(--paper); }
.seg-ctl button[aria-selected="true"], .filters button[aria-pressed="true"] { background: var(--dark-green); color: var(--linen); }
.why-panel { display: grid; gap: 20px; animation: rise .35s ease both; }
.more { font-weight: 700; justify-self: start; }
.card { transition: transform .2s ease, background-color .2s ease; }
.cards .card:hover { transform: translateY(-3px); }
@keyframes rise { from { transform: translateY(6px); } to { transform: none; } }

/* ---------- stepper ---------- */
.stepper { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: stretch; }
.stepper > * { min-width: 0; }
.step-list { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--hairline); }
.step-list li { border-bottom: 1px solid var(--hairline); }
.step-list button { width: 100%; text-align: left; font: inherit; color: var(--ink); background: none; border: 0; padding: 22px 16px 22px 0; display: grid; grid-template-columns: 56px 1fr; gap: 16px; cursor: pointer; position: relative; transition: background-color .15s ease; }
.step-list button::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 3px; width: 0; background: var(--green); transition: width .35s ease; }
.step-list button[aria-selected="true"]::after { width: 100%; }
.step-list button:hover { background: var(--backdrop); }
.step-list .sn { font-size: 1.1rem; color: var(--ink-muted); padding-top: 2px; padding-left: 8px; }
.step-list button[aria-selected="true"] .sn { color: var(--accent-text); }
.step-list strong { display: block; font-size: 1.15rem; line-height: 1.4; }
.step-list .sd { display: block; color: var(--ink-muted); margin-top: 2px; }
.step-list button[aria-selected="true"] .sd { color: var(--ink); }
.step-stage { background: var(--dark-green); border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 56px); display: grid; place-items: center; min-height: 320px; position: relative; overflow: hidden; }
.step-view { width: 100%; display: grid; place-items: center; animation: rise .35s ease both; }
.step-view .moment { width: 100%; }
.checks { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--brown); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chips span { font-family: var(--font-mono); font-size: .8rem; border: 1px solid var(--dark-green); color: var(--dark-green); border-radius: var(--radius-sm); padding: 4px 10px; }
@media (max-width: 860px) { .stepper { grid-template-columns: 1fr; } .step-stage { min-height: 260px; } }

/* ---------- interactive season band ---------- */
.season-i .seg { font: inherit; font-weight: 700; font-size: 1.2rem; border: 0; cursor: pointer; text-align: left; transition: filter .15s ease, box-shadow .15s ease; }
.season-i .seg[aria-selected="false"] { filter: saturate(.55) brightness(1.05); }
.season-i .seg[aria-selected="true"] { box-shadow: inset 0 -4px 0 rgba(250, 249, 244, .85); }
.season-i .seg:hover { filter: none; }
.season-note { margin: 4px 0 0; max-width: 62ch; font-size: 1.05rem; animation: rise .3s ease both; }

/* ---------- testimonials filter ---------- */
.quote { transition: opacity .2s ease; }
.quote[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
[hidden] { display: none !important; }

/* partner logos in testimonials: a fixed linen tile so the logos' own colors read in both themes */
.quote figcaption { grid-template-columns: auto 1fr; align-items: center; gap: 14px; }
.q-logo { display: grid; place-items: center; background: var(--linen); border-radius: var(--radius-sm); padding: 8px 10px; width: 120px; height: 56px; box-shadow: inset 0 0 0 1px var(--hairline); }
.q-logo img { max-height: 40px; width: auto; max-width: 100%; object-fit: contain; }
.q-who { display: grid; gap: 2px; min-width: 0; }
.quote-lg .q-logo { width: 160px; height: 68px; }
.quote-lg .q-logo img { max-height: 48px; }

/* brand video placeholder */
.video-ph { position: relative; overflow: hidden; aspect-ratio: 16 / 9; max-width: 100%; border-radius: var(--radius-lg); background: var(--dark-green); display: grid; place-items: center; }
.video-ph::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: var(--green); left: -18%; bottom: -62%; }
.video-ph .play { position: relative; display: grid; place-items: center; width: clamp(64px, 9vw, 96px); aspect-ratio: 1; border-radius: 50%; background: var(--linen); color: var(--dark-green); padding-left: 4px; }
.v-meta { position: absolute; right: clamp(16px, 3vw, 32px); bottom: clamp(14px, 3vw, 28px); text-align: right; display: grid; gap: 2px; }
.v-meta .label, .v-spec { color: var(--linen); margin: 0; }
.v-spec { font-size: .9rem; opacity: .85; }
.video { width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); background: #000; display: block; }
.quote figcaption { grid-template-columns: 1fr; align-items: start; gap: 12px; }
.q-logo { width: 184px; height: 76px; padding: 10px 14px; justify-self: start; }
.q-logo img { max-height: 54px; }
.quote-lg .q-logo { width: 200px; height: 84px; }
.quote-lg .q-logo img { max-height: 60px; }

/* logos at the top of each testimonial, no tile or border */
.quote { align-content: start; grid-template-rows: auto 1fr auto; }
.q-logo { background: none; box-shadow: none; padding: 0; border-radius: 0; width: auto; height: 64px; justify-self: start; display: flex; align-items: center; }
.q-logo img { max-height: 56px; max-width: 220px; }
.quote-lg .q-logo { width: auto; height: 76px; }
.quote-lg .q-logo img { max-height: 68px; max-width: 260px; }
/* dark theme: testimonial cards stay linen so the partners' own logo colors read */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .quote:not(.quote-lg) { background: var(--linen); color: var(--brown); } :root:not([data-theme="light"]) .quote:not(.quote-lg) figcaption { border-top-color: #e0ddd8; } :root:not([data-theme="light"]) .quote:not(.quote-lg) strong { color: var(--dark-green); } :root:not([data-theme="light"]) .quote:not(.quote-lg) .label { color: #736c66; } }
:root[data-theme="dark"] .quote:not(.quote-lg) { background: var(--linen); color: var(--brown); }
:root[data-theme="dark"] .quote:not(.quote-lg) figcaption { border-top-color: #e0ddd8; }
:root[data-theme="dark"] .quote:not(.quote-lg) strong { color: var(--dark-green); }
:root[data-theme="dark"] .quote:not(.quote-lg) .label { color: #736c66; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .quote-lg { background: var(--linen); padding: clamp(24px, 4vw, 48px); } :root:not([data-theme="light"]) .quote-lg blockquote p, :root:not([data-theme="light"]) .quote-lg strong { color: var(--dark-green); } :root:not([data-theme="light"]) .quote-lg .label { color: #736c66; } :root:not([data-theme="light"]) .quote-lg figcaption { border-top-color: #e0ddd8; } }
:root[data-theme="dark"] .quote-lg { background: var(--linen); padding: clamp(24px, 4vw, 48px); }
:root[data-theme="dark"] .quote-lg blockquote p, :root[data-theme="dark"] .quote-lg strong { color: var(--dark-green); }
:root[data-theme="dark"] .quote-lg .label { color: #736c66; }
:root[data-theme="dark"] .quote-lg figcaption { border-top-color: #e0ddd8; }

/* =========================================================
   Motion. Every element rests fully visible; motion is only
   added by JS (html.motion) and only for viewers who allow it.
   ========================================================= */
@keyframes horizon-rise { from { transform: translateY(38%); } to { transform: none; } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.6); } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* Horizon rise: above the fold on load */
html.motion .rise-now.h-circle { animation: horizon-rise 1.4s cubic-bezier(.2, .7, .2, 1) both; }
html.motion .rise-now .ph::after { animation: horizon-rise 1.4s cubic-bezier(.2, .7, .2, 1) both; }
/* Horizon rise: below the fold, when scrolled into view */
html.motion [data-anim="rise"].pre::before { transform: translateY(45%); }
html.motion [data-anim="rise"]::before { transition: transform 1.4s cubic-bezier(.2, .7, .2, 1); }

/* Field Grid planting */
html.motion [data-anim="plant"] circle { transform-box: fill-box; transform-origin: center; transition: transform .35s cubic-bezier(.3, 1.4, .5, 1); transition-delay: calc(var(--r) * 90ms + var(--c) * 14ms); }
html.motion [data-anim="plant"].pre circle { transform: scale(0); }
html.motion [data-anim="plant"].done .g { animation: pulse .7s ease 2; }

/* Season Band sweep, left to right across the crop year */
html.motion [data-anim="sweep"] .segs { transition: clip-path 1.3s cubic-bezier(.4, 0, .2, 1); clip-path: inset(0 0 0 0); }
html.motion [data-anim="sweep"].pre .segs { clip-path: inset(0 100% 0 0); }
html.motion [data-anim="sweep"] .stages .label { transition: opacity .4s ease; }
html.motion [data-anim="sweep"].pre .stages .label { opacity: 0; }
html.motion [data-anim="sweep"] .stages .label:nth-child(1) { transition-delay: .1s; }
html.motion [data-anim="sweep"] .stages .label:nth-child(2) { transition-delay: .45s; }
html.motion [data-anim="sweep"] .stages .label:nth-child(3) { transition-delay: .8s; }
html.motion [data-anim="sweep"] .stages .label:nth-child(4) { transition-delay: 1.15s; }

/* Product Moment demo: Submitted → Reviewing → Approved */
.demo-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.replay { font: inherit; font-size: .78rem; font-weight: 700; color: var(--dark-green); background: none; border: 1px solid var(--dark-green); border-radius: 6px; padding: 3px 10px; cursor: pointer; }
.replay:hover { background: #f1efec; }
.demo-track { list-style: none; margin: 12px 0 4px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.demo-track li { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: #736c66; padding-top: 8px; border-top: 3px solid var(--green); transition: border-color .3s ease, color .3s ease; }
.demo .m-fig, .demo .m-foot { transition: opacity .4s ease, transform .4s ease; }
.demo[data-stage="1"] .demo-track li:nth-child(n+2), .demo[data-stage="2"] .demo-track li:nth-child(3) { border-top-color: #e0ddd8; }
.demo[data-stage="1"] .demo-track li:nth-child(1), .demo[data-stage="2"] .demo-track li:nth-child(2), .demo:not([data-stage]) .demo-track li:nth-child(3), .demo[data-stage="3"] .demo-track li:nth-child(3) { color: var(--dark-green); font-weight: 700; }
.demo[data-stage="1"] .dot, .demo[data-stage="2"] .dot { background: var(--seafoam); animation: blink 1s ease infinite; }
.demo[data-stage="1"] .m-fig, .demo[data-stage="1"] .m-foot, .demo[data-stage="2"] .m-fig, .demo[data-stage="2"] .m-foot { opacity: 0; transform: translateY(6px); }
.demo[data-stage="3"] .dot { animation: pulse .6s ease 1; }

/* ROI calculator placeholder */
.calc { display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px; }
.calc > * { min-width: 0; }
.calc-in { border: 1px solid var(--green); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); display: grid; gap: 26px; align-content: start; }
.calc-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.pill { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; background: var(--seafoam); color: var(--brown); border-radius: 999px; padding: 5px 12px; }
.range-row { display: grid; grid-template-columns: 1fr 120px; gap: 16px; align-items: center; }
.range-row output { text-align: right; font-size: 1.15rem; color: var(--heading); }
input[type="range"] { width: 100%; accent-color: var(--green); height: 28px; }
.calc-out { background: var(--dark-green); color: var(--linen); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); display: grid; gap: 20px; align-content: start; }
.calc-out .label { color: var(--linen); opacity: .85; }
.out-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid rgba(250, 249, 244, .22); }
.out { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid rgba(250, 249, 244, .22); }
.out:nth-child(odd) { padding-right: 16px; border-right: 1px solid rgba(250, 249, 244, .22); }
.out:nth-child(even) { padding-left: 16px; }
.out .num { font-size: 2rem; line-height: 1.1; }
.out .cap { font-size: .9rem; opacity: .9; }
.calc-note { margin: 0; font-size: .92rem; line-height: 1.55; opacity: .9; }
.calc-out .btn-primary { background: var(--linen); color: var(--dark-green); border-color: var(--linen); justify-self: start; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .range-row { grid-template-columns: 1fr; gap: 4px; } .range-row output { text-align: left; } }
/* entering the "pre" state is instant; only the reveal is animated */
html.motion [data-anim].pre circle, html.motion [data-anim].pre .segs, html.motion [data-anim].pre .stages .label, html.motion [data-anim].pre::before { transition: none !important; }

.hero-copy .display .grows { color: var(--seafoam); }

.cta-band .heading .grows { color: var(--seafoam); }

/* tighten the gap between a page intro and the section that follows it */
.intro + .section { padding-top: 0; border-top: 0; }
.intro { padding-bottom: clamp(28px, 4vw, 40px); }
section[id] { scroll-margin-top: 88px; }
/* bright green button: white text must be bold 19px+ on green (3.8:1) */
.btn-green, .on-dark .btn-green { background: var(--green); color: var(--white); border-color: var(--green); font-size: 1.2rem; padding-block: 12px; }
.btn-green:hover, .on-dark .btn-green:hover { background: #1c8526; border-color: #1c8526; }
/* header "Partner with CFi": bright green; white on green needs bold 19px+ */
.nav a.btn-primary { background: var(--green); border-color: var(--green); color: var(--white); font-size: 1.2rem; font-weight: 700; padding: 8px 16px; }
.nav a.btn-primary:hover { background: #1c8526; border-color: #1c8526; }
/* header button back to nav size: bold white on green, per the brand kit's "large or bold text only" */
.nav a.btn-primary { font-size: 0.95rem; padding: 8px 14px; }

/* ---------- About ---------- */
.story { display: grid; gap: 18px; max-width: 64ch; }
.story p { margin: 0; }
.story .sign { display: block; margin-top: 8px; font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--heading); }
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px 16px; }
.member { display: grid; gap: 14px; align-content: start; }
.headshot { aspect-ratio: 1; border-radius: var(--radius-md); }
.headshot .ph { place-items: end start; padding: 14px; }
.headshot .ph-inner { text-align: left; justify-items: start; }
.headshot .ph-hint { display: none; }
.member-body { display: grid; gap: 2px; }
.member-name { margin: 0; font-size: 1.1rem; line-height: 1.35; color: var(--heading); }
.member-title { margin: 0; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); }
.member-bio { margin: 6px 0 4px; font-size: .95rem; line-height: 1.55; }
.member-link { font-weight: 700; font-size: .92rem; justify-self: start; }
.ph-text { color: var(--ink-muted); font-style: italic; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; position: relative; }
.timeline li { position: relative; padding: 0 0 32px 32px; display: grid; gap: 6px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--dark-green); }
.timeline li::after { content: ""; position: absolute; left: 5px; top: 22px; bottom: 0; width: 2px; background: var(--hairline); }
.timeline li:last-child::after { display: none; }
.timeline li.now::before { background: var(--green); }
.timeline h3 { margin: 0; font-size: 1.1rem; line-height: 1.4; }
.timeline a { font-weight: 700; justify-self: start; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .timeline li::before { background: var(--seafoam); } :root:not([data-theme="light"]) .timeline li.now::before { background: var(--green); } }
:root[data-theme="dark"] .timeline li::before { background: var(--seafoam); }
:root[data-theme="dark"] .timeline li.now::before { background: var(--green); }
.partner-row { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 56px; background: var(--linen); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); }
.partner-row img { height: 56px; width: auto; max-width: 100%; }

/* section eyebrows ("Why CFi", "How it works"…): brand green, DM Sans bold, readable size */
.section-head > .label:first-child, .intro .label, .stack > .label:first-child {
  font-family: var(--font-sans); font-weight: 700; font-size: 1.2rem; line-height: 1.3;
  letter-spacing: .02em; text-transform: none; color: var(--green);
}
.why-video { margin-top: 24px; }
#photo .band-21 { margin-top: 0; }
.team { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .team { grid-template-columns: 1fr; } }
/* About intro spans the full content width */
.intro .display.about-display { max-width: none; font-size: clamp(2.4rem, 5.6vw, 4.4rem); }
.intro .subhead.about-sub { max-width: none; font-size: clamp(1.15rem, 1.8vw, 1.5rem); }
.story-close { margin: 32px 0 0; max-width: 40ch; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.3; color: var(--heading); text-wrap: balance; }
/* stat band: align every figure and caption to the top, so a caption that wraps doesn't shift its column */
.stat { align-content: start; grid-template-rows: auto auto 1fr; }

/* "What CFi handles" flow: three fast green steps, then the long repayment span */
.flow .stages, .flow .segs { grid-template-columns: 1fr 1fr 1fr 3fr; }
.flow .seg.paid { border-radius: 0; }
.flow .seg.paid:first-child { border-radius: var(--radius-md) 0 0 var(--radius-md); }
.flow .seg { font-size: 1.2rem; }
@media (max-width: 900px) {
  .flow .stages { display: none; }
  .flow .segs { grid-template-columns: 1fr; }
  .flow .seg.paid, .flow .seg.paid:first-child, .flow .seg.repay { border-radius: 0; }
  .flow .seg:first-child { border-radius: var(--radius-md) var(--radius-md) 0 0 !important; }
  .flow .seg:last-child { border-radius: 0 0 var(--radius-md) var(--radius-md) !important; }
  .flow .seg { flex-wrap: wrap; justify-content: flex-start; }
  .flow .seg::before { content: attr(data-when); flex-basis: 100%; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 400; opacity: .9; }
  .flow .seg.paid::before, .flow .seg.repay::before { content: attr(data-when); }
}
/* placeholder testimonial cards */
.logo-ph { display: grid; place-items: center; width: 160px; height: 52px; border: 2px dashed rgba(40, 84, 57, .45); border-radius: var(--radius-sm); background: var(--seafoam); color: var(--brown); font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.quote .ph-text { color: #736c66; font-style: italic; }
.quotes { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .quotes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .quotes { grid-template-columns: 1fr; } }
.portal-shot { position: relative; z-index: 2; width: 100%; aspect-ratio: 16 / 10; border-radius: var(--radius-md); }
.portal-shot .ph { background: var(--linen); border-color: rgba(40, 84, 57, .5); place-items: start start; }
.portal-shot .ph-inner .label { color: var(--dark-green); }
.flow-ph { border: 2px dashed rgba(40, 84, 57, .5); border-radius: var(--radius-md); background: var(--seafoam); color: var(--brown); padding: 20px 24px; display: grid; gap: 6px; }
.flow-ph .label { color: var(--brown); }
.flow-ph .ph-hint { margin: 0; }
.flow-ph-track { display: grid; grid-template-columns: 1fr 1fr 1fr 3fr; gap: 6px; margin-bottom: 10px; }
.flow-ph-track span { height: 44px; border-radius: 6px; background: rgba(40, 84, 57, .18); }
@media (max-width: 640px) { .flow-ph-track { grid-template-columns: 1fr; } .flow-ph-track span { height: 28px; } }
/* About story: no bottom rule under the two blocks; the section divider below is the only line */
.story-grid > div { border-bottom: 0; padding-bottom: 0; }
.team { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1100px) { .team { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px) { .team { grid-template-columns: 1fr; } }

/* rotating logo bar */
.marquee { overflow: hidden; background: var(--linen); border-radius: var(--radius-lg); padding-block: clamp(20px, 3vw, 32px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee-set { display: flex; align-items: center; gap: 64px; list-style: none; margin: 0; padding: 0 32px; flex: none; }
.marquee-set li { flex: none; display: flex; align-items: center; }
.marquee-set img { height: 52px; width: auto; max-width: none; }
.marquee .logo-ph { width: 150px; height: 52px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; width: auto; flex-wrap: wrap; }
  .marquee-set { flex-wrap: wrap; gap: 24px 48px; padding: 0 24px; }
  .marquee-set[aria-hidden="true"] { display: none; }
}
/* logo bar sizing: every logo gets the same box and is scaled to fit inside it, never cropped */
.marquee { padding-block: clamp(24px, 3.5vw, 40px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.marquee-set { gap: 56px; }
.marquee-set li { width: 220px; height: 72px; justify-content: center; overflow: visible; }
.marquee-set img { width: 100%; height: 100%; max-width: 100%; object-fit: contain; }
.marquee .logo-ph { width: 180px; height: 56px; }
@media (max-width: 600px) { .marquee-set li { width: 160px; height: 56px; } .marquee-set { gap: 36px; } .marquee .logo-ph { width: 140px; height: 44px; } }

/* Why CFi: full-width dark green section; brand video framed in white */
#why { background: var(--dark-green); color: var(--linen); border-top: 0; }
#why + .section { border-top: 0; }
#why .section-head > .label:first-child { color: var(--seafoam); }
#why .heading { color: var(--linen); }
#why .subhead { color: var(--linen); }
#why .more { color: var(--linen); }
#why .seg-ctl { background: rgba(250, 249, 244, .12); }
#why .seg-ctl button { color: var(--linen); }
#why .seg-ctl button:hover { background: rgba(250, 249, 244, .14); }
#why .seg-ctl button[aria-selected="true"] { background: var(--linen); color: var(--dark-green); }
#why .card { border-color: var(--paper); }
#why .why-video { background: var(--dark-green); outline: 12px solid #ffffff; outline-offset: 0; margin: 40px 12px 12px; }
@media (max-width: 640px) { #why .why-video { outline-width: 8px; margin: 32px 8px 8px; } }
#why .card { color: var(--ink); }
#why .why-video { outline-width: 20px; margin: 48px 20px 20px; }
@media (max-width: 640px) { #why .why-video { outline-width: 12px; margin: 36px 12px 12px; } }
/* stat band: three figures */
.stat-band { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) {
  .stat-band { grid-template-columns: 1fr; }
  .stat + .stat, .stat:nth-child(3) { border-left: 0; border-top: 1px solid rgba(250, 249, 244, 0.22); }
}
/* contact form header: heading sits right on its intro line */
#form .stack { gap: 0; }
#form .stack > .heading { margin-bottom: 8px; }
#form .stack > .body { margin-bottom: 24px; }
.boiler p { margin: 0; }
/* How it works stage: make the background image slot reachable */
.step-stage > .stage-bg .ph-hint { display: block; margin-top: 2px; font-size: .82rem; }
.step-stage > .stage-bg .ph-inner { max-width: 220px; }
.step-stage .step-view { pointer-events: none; }
.step-stage .step-view > * { pointer-events: auto; }
.step-stage { align-content: end; padding-top: clamp(96px, 10vw, 120px); }
.step-stage { padding-top: 150px; }
@media (max-width: 860px) { .step-stage { padding-top: 140px; } }
.support-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 12px; }
.support-list li { display: grid; gap: 2px; }
.support-list strong { color: var(--dark-green); font-size: 1rem; }
.support-list span { font-size: .9rem; color: var(--brown); }

/* CRM/ERP placeholder page */
.soon { display: inline-block; background: var(--green); color: var(--white); font-family: var(--font-sans); font-weight: 700; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.hero-copy .ph-on-dark { font-style: italic; opacity: .85; }
.card-ph { border-style: dashed; }
.card-ph .label { color: var(--accent-text); }
/* the menu has one more link now */
@media (max-width: 1200px) {
  .menu-toggle { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--hairline); padding: 8px 16px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 8px; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--green); padding-left: 14px; }
  .nav .btn { margin: 8px 0 0; text-align: center; }
}
/* home hero: flat dark-green Horizon panel, no photo */
.home-horizon .display { max-width: 15ch; }
.home-horizon .body { margin-top: 20px; max-width: 52ch; }
html.motion .home-horizon::after { animation: horizon-rise 1.4s cubic-bezier(.2, .7, .2, 1) both; }
/* Gridl logo placeholder: swap for <img class="gridl-logo-img" src="assets/gridl-logo.png" alt="Gridl"> */
.gridl-logo { display: grid; place-items: center; width: 200px; height: 64px; border: 2px dashed rgba(250, 249, 244, .55); border-radius: var(--radius-sm); }
.gridl-logo span { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--linen); opacity: .85; }
.gridl-top { padding-block: clamp(16px, 3vw, 32px) clamp(20px, 3vw, 32px); }
.gridl-top img { height: clamp(64px, 8vw, 96px); width: auto; }
/* Gridl logo as a menu item */
.nav a.nav-gridl { display: inline-flex; align-items: center; padding-block: 6px; }
.nav-logo { height: 26px; width: auto; display: block; }
.nav a.nav-gridl[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--green); }
@media (max-width: 1200px) { .nav-logo { height: 30px; } }
@media (max-width: 1200px) { .nav a.nav-gridl[aria-current="page"] { box-shadow: inset 3px 0 0 var(--green); } }
/* gridl brand rules: logo min 90px wide; clear space = grid-dot height; reversed logo on dark green */
.nav-logo { height: auto; width: 92px; }
.nav a.nav-gridl { padding-block: 4px; }
@media (max-width: 1200px) { .nav-logo { width: 100px; height: auto; } }
.gridl-hero-logo { width: clamp(160px, 22vw, 240px); height: auto; margin-block: 8px 12px; }
.gridl-by { margin: 4px 0 0; font-size: .9rem; color: var(--linen); opacity: .85; }
.nav-logo { width: 90px; }
/* gridl hero card: light card so the full-color logo and the tagline colors work
   (gridl guidelines: tagline lead in dark green, payoff in green; no full-color logo on dark green) */
.hero-copy.gridl-card { background: var(--linen); color: var(--brown); }
.gridl-card .gridl-tag { color: var(--dark-green); }
.gridl-card .gridl-tag span { color: var(--green); }
.gridl-card .subhead { color: var(--brown); margin: 0; }
.gridl-card .ph-text { color: #736c66; }
.gridl-card .btn-primary { background: var(--dark-green); color: var(--linen); border-color: var(--dark-green); }
.gridl-card .gridl-by { color: #736c66; opacity: 1; }

/* gridl features: clean three-column row with the gridl grid icon */
.feats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--hairline); }
.feat { padding: 32px 32px 8px 0; display: grid; gap: 10px; align-content: start; min-width: 0; }
.feat + .feat { padding-left: 32px; border-left: 1px solid var(--hairline); }
.feat-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--dark-green); }
.feat-icon .s { fill: var(--seafoam); }
.feat-icon .g { fill: var(--green); }
.feat-num { margin: 8px 0 0; font-size: .8rem; letter-spacing: .12em; color: var(--ink-muted); }
.feat h3 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; line-height: 1.25; color: var(--heading); }
.feat p:last-child { margin: 0; color: var(--ink-muted); }
@media (max-width: 860px) { .feats { grid-template-columns: 1fr; } .feat, .feat + .feat { padding: 24px 0; border-left: 0; } .feat + .feat { border-top: 1px solid var(--hairline); } }

/* gridl hero: copy on the page, product screenshot in a framed window on dark green */
.gridl-hero { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: center; padding-block: clamp(24px, 4vw, 48px); }
.gridl-hero > * { min-width: 0; }
.gridl-copy { display: grid; gap: 16px; align-content: center; }
.gridl-copy .gridl-tag { color: var(--heading); font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
.gridl-copy .gridl-tag span { color: var(--green); }
.gridl-copy .subhead { margin: 0; }
.gridl-copy .ph-text { color: var(--ink-muted); }
.gridl-copy .gridl-by { color: var(--ink-muted); opacity: 1; }
.gridl-copy .btn-primary { background: var(--dark-green); color: var(--linen); border-color: var(--btn-edge); }
.gridl-copy .gridl-hero-logo { margin: 0 0 8px; }
.shot-stage { position: relative; background: var(--dark-green); border-radius: var(--radius-lg); padding: clamp(18px, 3vw, 32px); overflow: hidden; }
.shot-stage::after { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: var(--green); right: -22%; bottom: -48%; z-index: 0; }
.shot-bar { position: relative; z-index: 1; display: flex; gap: 6px; padding: 10px 14px; background: var(--linen); border-radius: 10px 10px 0 0; border-bottom: 1px solid #e0ddd8; }
.shot-bar span { width: 9px; height: 9px; border-radius: 50%; background: #e0ddd8; }
.slot.shot { position: relative; z-index: 1; aspect-ratio: 16 / 10; border-radius: 0 0 10px 10px; background: #ffffff; }
.slot.shot .ph { background: #ffffff; border: 0; place-items: center; }
.slot.shot .ph-inner { text-align: center; justify-items: center; color: #736c66; }
.slot.shot .ph-inner .label { color: #736c66; }
.slot.shot .ph-hint { color: #736c66; }
.slot.shot .ph-pick { color: var(--dark-green); }
@media (max-width: 900px) { .gridl-hero { grid-template-columns: 1fr; } }

/* section eyebrows, v3: small bold caps in the heading color, led by a short green rule */
.section-head > .label:first-child, .intro .label, .stack > .label:first-child {
  display: inline-flex; align-items: center; gap: 10px; justify-self: start;
  font-family: var(--font-sans); font-weight: 700; font-size: .8rem; line-height: 1.2;
  letter-spacing: .14em; text-transform: uppercase; color: var(--heading);
}
.section-head > .label:first-child::before, .intro .label::before, .stack > .label:first-child::before {
  content: ""; width: 28px; height: 3px; border-radius: 2px; background: var(--green); flex: none;
}
#why .section-head > .label:first-child { color: var(--linen); }
#why .section-head > .label:first-child::before { background: var(--seafoam); }

/* ---------- home hero, redesigned: copy left, live product moment right ---------- */
.home-hero { padding-block: clamp(32px, 6vw, 72px) clamp(24px, 4vw, 48px); }
.hh-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hh-grid > * { min-width: 0; }
.hh-copy { display: grid; gap: 22px; }
.hh-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0; justify-self: start; font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--heading); background: var(--backdrop); padding: 8px 14px; border-radius: 999px; }
.hh-kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.hh-copy .display { color: var(--heading); font-size: clamp(2.5rem, 5vw, 4.2rem); max-width: 14ch; }
.hh-copy .display .hl { color: var(--accent-text); }
.hh-body { font-size: 1.08rem; max-width: 50ch; }
.hh-trust { display: grid; gap: 12px; padding-top: 22px; border-top: 1px solid var(--hairline); margin-top: 6px; }
.hh-trust-label { margin: 0; color: var(--ink-muted); font-size: .95rem; }
.hh-trust-label strong { color: var(--heading); font-size: 1.05rem; }
.hh-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 32px; }
.hh-logos img { height: 34px; width: auto; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hh-logos { background: var(--linen); padding: 12px 16px; border-radius: var(--radius-md); justify-self: start; } }
:root[data-theme="dark"] .hh-logos { background: var(--linen); padding: 12px 16px; border-radius: var(--radius-md); justify-self: start; }

.hh-stage { position: relative; overflow: hidden; background: var(--dark-green); border-radius: var(--radius-lg); min-height: 460px; display: grid; place-items: center; padding: clamp(28px, 5vw, 56px); }
.hh-stage::after { content: ""; position: absolute; width: 85%; aspect-ratio: 1; border-radius: 50%; background: var(--green); right: -30%; bottom: -42%; }
html.motion .hh-stage::after { animation: horizon-rise 1.4s cubic-bezier(.2, .7, .2, 1) both; }
.hh-card { position: relative; z-index: 1; width: 100%; max-width: 380px; }
@media (max-width: 960px) { .hh-grid { grid-template-columns: 1fr; } .hh-stage { min-height: 360px; } }
.hh-copy .display { font-size: clamp(2.4rem, 4.4vw, 3.7rem); max-width: 16ch; }

/* hero: retailer season band inside the Product Moment */
.hh-band { font-size: 1rem; display: grid; gap: 6px; margin-top: 14px; }
.hb-stages { display: grid; grid-template-columns: repeat(4, 1fr); font-family: var(--font-mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: #736c66; }
.hb-segs { display: grid; grid-template-columns: 1fr 3fr; gap: 4px; font-family: var(--font-sans); font-weight: 700; font-size: .82rem; line-height: 1.2; }
.hb-segs span { padding: 10px 10px; }
.hb-paid { background: var(--green); color: var(--white, #fff); border-radius: var(--radius-sm, 8px) 0 0 var(--radius-sm, 8px); }
.hb-repay { background: var(--dark-green); color: var(--linen); border-radius: 0 var(--radius-sm, 8px) var(--radius-sm, 8px) 0; }
html.motion .demo[data-stage="3"] .hb-paid { animation: hbGrow .7s ease both; transform-origin: left; }
@keyframes hbGrow { from { transform: scaleX(.2); opacity: .4; } to { transform: none; opacity: 1; } }
.hh-stage .hh-card { max-width: 420px; }
@media (max-width: 520px) { .hb-stages { font-size: .54rem; letter-spacing: .06em; } .hb-segs { grid-template-columns: 1.3fr 3fr; } }
/* hero v3: photo stage + proof panels */
.hh-stage { place-items: stretch; padding: 0; min-height: 520px; }
.hh-stage::after { width: 60%; right: -22%; bottom: -30%; z-index: 0; }
.hh-photo { position: absolute; inset: 0; z-index: 1; border-radius: inherit; overflow: hidden; }
.hh-photo .ph { height: 100%; background: transparent; border: 0; color: var(--linen); display: grid; place-items: start; padding: clamp(24px, 4vw, 40px); }
.hh-photo .ph .label, .hh-photo .ph .ph-spec, .hh-photo .ph .ph-hint, .hh-photo .ph .ph-pick { color: var(--linen); }
.hh-photo .slot-img { width: 100%; height: 100%; object-fit: cover; }
.hh-proofs { position: absolute; z-index: 2; left: clamp(16px, 3vw, 28px); bottom: clamp(16px, 3vw, 28px); display: flex; gap: 12px; flex-wrap: wrap; }
.hh-proof { background: var(--linen); border-radius: var(--radius-md); padding: 16px 20px; min-width: 150px; }
.hh-proof .num { margin: 0; font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 2rem; line-height: 1.1; color: var(--dark-green); font-weight: 700; }
.hh-proof .cap { margin: 6px 0 0; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: #736c66; }
.hh-proof.hp-main { background: var(--green); }
.hh-proof.hp-main .num { color: var(--white); }
.hh-proof.hp-main .cap { color: var(--linen); }
html.motion .hh-proof { animation: rise .6s ease both; }
html.motion .hh-proof + .hh-proof { animation-delay: .15s; }
@media (max-width: 960px) { .hh-stage { min-height: 400px; } }
.hh-photo .ph-inner { text-align: left; margin: 0; max-width: 34ch; justify-self: start; align-self: start; }
.hh-photo .ph { place-items: start start; justify-items: start; }
@media (max-width: 520px) { .hh-proofs { flex-wrap: nowrap; right: 16px; } .hh-proof { min-width: 0; flex: 1; padding: 12px 14px; } .hh-proof .num { font-size: 1.5rem; } }
.hh-photo .ph-inner > * { text-align: left; justify-self: start; align-self: start; margin-left: 0; }
/* hero v4: money flow */
.hh-flow { place-items: center; padding: clamp(20px, 4vw, 40px); gap: 8px; grid-template-rows: 1fr auto; min-height: 520px; }
.hh-flow::after { width: 70%; right: -28%; bottom: -36%; }
.flow-svg { position: relative; z-index: 1; width: 100%; max-width: 460px; height: auto; overflow: visible; }
.flow-svg .fp { fill: none; stroke: rgba(250, 249, 244, .28); stroke-width: 2; stroke-dasharray: 3 7; stroke-linecap: round; transition: stroke .3s ease; }
.flow-svg .fp.on { stroke: var(--seafoam); stroke-dasharray: none; stroke-width: 3; }
.flow-svg .fnode rect { fill: var(--linen); }
.flow-svg .fn-you rect { stroke: var(--green); stroke-width: 4; }
.flow-svg .fnode text { text-anchor: middle; font-family: var(--font-display); font-weight: 800; font-size: 16px; fill: var(--dark-green); }
.flow-svg .fnode text.sub { font-family: var(--font-mono); font-weight: 400; font-size: 9.5px; letter-spacing: .14em; fill: #736c66; }
.flow-svg .fpacket { fill: var(--linen); stroke: var(--green); stroke-width: 4; }
.flow-svg .ftag { transition: opacity .3s ease; }
.flow-svg .ftag rect { fill: var(--green); }
.flow-svg .ftag text { text-anchor: middle; font-family: var(--font-sans); font-weight: 700; font-size: 12px; fill: var(--white); }
.hh-flow[data-step="4"] .ftag rect, .hh-flow[data-step="5"] .ftag rect { fill: var(--seafoam); }
.hh-flow[data-step="4"] .ftag text, .hh-flow[data-step="5"] .ftag text { fill: var(--brown); }
.flow-card { position: relative; z-index: 1; width: 100%; max-width: 440px; background: var(--linen); border-radius: var(--radius-md); padding: 16px 20px 18px; }
.flow-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.flow-count { margin: 0; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .12em; color: #736c66; }
.flow-count .fc-n { color: var(--dark-green); font-weight: 700; }
.flow-dots { display: flex; gap: 6px; }
.flow-dots button { width: 26px; height: 6px; padding: 0; border: 0; border-radius: 3px; background: #e0ddd8; cursor: pointer; }
.flow-dots button[aria-current="step"] { background: var(--green); }
.flow-dots button:focus-visible { outline: 2px solid var(--dark-green); outline-offset: 3px; }
.flow-steps { list-style: none; margin: 0; padding: 0; min-height: 4.6em; color: var(--brown); font-size: .98rem; line-height: 1.5; }
.flow-steps li { display: none; }
.flow-steps li.on { display: block; animation: rise .35s ease both; }
.flow-steps li:first-child { display: block; }
.hh-flow[data-step] .flow-steps li:first-child:not(.on) { display: none; }
.flow-steps strong { display: block; font-family: var(--font-display); font-weight: 800; color: var(--dark-green); font-size: 1.08rem; margin-bottom: 2px; }
@media (max-width: 520px) { .hh-flow { min-height: 0; } .flow-steps { min-height: 6.2em; } }
/* hero v5: full-width headline over an animated field grid */
.field-hero { position: relative; overflow: hidden; background: var(--dark-green); color: var(--linen); min-height: min(88vh, 860px); display: grid; align-items: center; padding: clamp(96px, 14vh, 160px) 0 clamp(120px, 18vh, 200px); isolation: isolate; }
.field-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; }
.fh-horizon { position: absolute; z-index: 0; left: 50%; bottom: 0; width: min(150vw, 1900px); aspect-ratio: 1; border-radius: 50%; background: var(--green); transform: translate(-50%, 86%); pointer-events: none; }
html.motion .fh-horizon { animation: fhRise 2s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes fhRise { from { transform: translate(-50%, 100%); } to { transform: translate(-50%, 86%); } }
.fh-copy { position: relative; z-index: 1; display: grid; justify-items: center; text-align: center; gap: 26px; pointer-events: none; }
.fh-copy a { pointer-events: auto; }
.fh-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-weight: 700; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--linen); background: rgba(250, 249, 244, .1); border: 1px solid rgba(250, 249, 244, .22); padding: 8px 16px; border-radius: 999px; backdrop-filter: blur(4px); }
.fh-kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(33, 150, 44, .6); }
html.motion .fh-kicker .dot { animation: fhPing 2.4s ease infinite; }
@keyframes fhPing { 0% { box-shadow: 0 0 0 0 rgba(127, 181, 174, .7); } 70%, 100% { box-shadow: 0 0 0 10px rgba(127, 181, 174, 0); } }
.field-hero .display { margin: 0; color: var(--linen); font-size: clamp(2.8rem, 7.6vw, 6.8rem); line-height: 1.02; letter-spacing: -.02em; max-width: 16ch; }
.field-hero .display .hl { color: var(--seafoam); }
.fh-body { margin: 0; max-width: 54ch; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--linen); opacity: .92; }
.field-hero .btn-row { justify-content: center; }
html.motion .fh-copy > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
html.motion .fh-copy > *:nth-child(2) { animation-delay: .1s; }
html.motion .fh-copy > *:nth-child(3) { animation-delay: .22s; }
html.motion .fh-copy > *:nth-child(4) { animation-delay: .34s; }
.fh-trust { border-bottom: 1px solid var(--hairline); }
.fh-trust-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 40px; padding-block: 26px; }
.fh-trust .hh-trust-label { margin: 0; }
@media (max-width: 640px) { .field-hero { min-height: 0; } .fh-copy { gap: 20px; } }
.fh-horizon { transform: translate(-50%, calc(100% - clamp(70px, 12vh, 130px))); }
@keyframes fhRise { from { transform: translate(-50%, 100%); } to { transform: translate(-50%, calc(100% - clamp(70px, 12vh, 130px))); } }
@media (max-width: 640px) { .fh-kicker { font-size: .7rem; letter-spacing: .06em; padding: 7px 12px; } .field-hero { padding-bottom: 130px; } }
/* hero v6: the mark's diagonal bands (approved exception for the home hero only) */
.fh-art { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.fh-bands { position: absolute; width: min(46vw, 640px); height: auto; overflow: visible; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.fh-bands.fb-a { left: 0; bottom: 0; }
.fh-bands.fb-b { right: 0; top: 0; }
.fh-bands path { fill: none; stroke-width: 72; stroke-linecap: butt; }
.fh-bands .b-deep path { stroke: #1d3d2a; }
.fh-bands .b-green path { stroke: var(--green); }
.fh-bands .b-sea path { stroke: var(--seafoam); }
.fh-bands path.glint { stroke: rgba(250, 249, 244, .55); stroke-dasharray: .05 1.2; stroke-dashoffset: 1.1; }
html.motion .fh-bands .band > path:first-child { stroke-dasharray: 1; stroke-dashoffset: 1; animation: bandIn 1.4s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: calc(.15s * var(--i) + .1s); }
@keyframes bandIn { to { stroke-dashoffset: 0; } }
html.motion .fh-bands .band { animation: bandDrift 7s ease-in-out infinite alternate; animation-delay: calc(-2.3s * var(--i)); }
html.motion .fb-b .band { animation-name: bandDriftB; }
@keyframes bandDrift { from { transform: translate(0, 0); } to { transform: translate(-26px, 26px); } }
@keyframes bandDriftB { from { transform: translate(0, 0); } to { transform: translate(26px, -26px); } }
html.motion .fh-bands path.glint { animation: glint 5.5s linear infinite; animation-delay: calc(1.6s + 1.4s * var(--i)); }
@keyframes glint { from { stroke-dashoffset: 1.1; } to { stroke-dashoffset: -.1; } }
html:not(.motion) .fh-bands path.glint { display: none; }
.field-hero .display { text-wrap: balance; }
@media (max-width: 640px) { .fh-bands { width: 62vw; opacity: .9; } .fh-bands.fb-a { bottom: -8vw; left: -10vw; } .fh-bands.fb-b { top: -14vw; right: -10vw; } }
/* hero v7: full-page logo bands on linen */
.field-hero { background: var(--paper); color: var(--ink); }
.field-hero .display { color: var(--heading); }
.field-hero .display .hl { color: var(--accent-text); }
.fh-body { color: var(--ink); opacity: 1; }
.fh-kicker { color: var(--heading); background: var(--paper); border-color: var(--hairline); backdrop-filter: none; }
.fh-art { -webkit-mask-image: radial-gradient(ellipse 38% 44% at 50% 52%, transparent 62%, #000 100%); mask-image: radial-gradient(ellipse 38% 44% at 50% 52%, transparent 62%, #000 100%); }
.fh-bands, .fh-bands.fb-a, .fh-bands.fb-b { position: absolute; inset: 0; width: 100%; height: 100%; left: 0; top: 0; }
.fh-bands path { stroke-width: 150; }
.fh-bands .b-deep path { stroke: var(--dark-green); }
@media (max-width: 640px) { .fh-bands { width: 100%; opacity: 1; } .fh-art { -webkit-mask-image: radial-gradient(ellipse 60% 36% at 50% 50%, transparent 60%, #000 100%); mask-image: radial-gradient(ellipse 60% 36% at 50% 50%, transparent 60%, #000 100%); } }
.field-hero .btn-secondary { background: var(--paper); }
.fh-art { -webkit-mask-image: radial-gradient(ellipse 40% 46% at 50% 52%, transparent 66%, #000 96%); mask-image: radial-gradient(ellipse 40% 46% at 50% 52%, transparent 66%, #000 96%); }
@media (max-width: 640px) { .fh-art { -webkit-mask-image: radial-gradient(ellipse 85% 42% at 50% 50%, transparent 72%, #000 100%); mask-image: radial-gradient(ellipse 85% 42% at 50% 50%, transparent 72%, #000 100%); } }
/* hero v8: no fade; bands sweep across the page; text sits on linen line strips */
.fh-art { -webkit-mask-image: none !important; mask-image: none !important; }
.fh-ink { background: var(--paper); -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 .18em; border-radius: var(--radius-sm); }
.fh-body .fh-ink { padding: .15em .45em; line-height: 1.9; }
.field-hero .display { line-height: 1.12; }
html.motion .fh-bands .band { animation: none; }
html.motion .fh-bands .band > path:first-child { stroke-dasharray: 1 1; stroke-dashoffset: 1; animation: bandSweep 10s cubic-bezier(.45, 0, .25, 1) infinite; animation-delay: calc(.35s * var(--i)); }
@keyframes bandSweep { 0% { stroke-dashoffset: 1; } 22% { stroke-dashoffset: 0; } 78% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -1; } }
.field-hero .display { line-height: 1.24; }
.field-hero .display .fh-ink { padding: .02em .2em; }
.field-hero .display { line-height: 1.34; }
.field-hero .display .fh-ink { padding: 0 .2em; }
.field-hero .btn-green { box-shadow: 0 0 0 5px var(--paper); }
.field-hero .btn-secondary { box-shadow: 0 0 0 5px var(--paper); }
@media (max-width: 640px) { .field-hero .display { line-height: 1.22; } }
.field-hero { padding: clamp(56px, 9vh, 110px) 0 clamp(72px, 11vh, 130px); min-height: min(86vh, 820px); }
.field-hero .display { font-size: clamp(2.6rem, 6.6vw, 6rem); }
/* hero v9: no text strips; stripes sweep across and leave */
.fh-ink, .fh-body .fh-ink, .field-hero .display .fh-ink { background: none; padding: 0; border-radius: 0; }
.fh-body .fh-ink { line-height: inherit; }
.field-hero .display { line-height: 1.06; }
.field-hero .btn-green, .field-hero .btn-secondary { box-shadow: none; }
html.motion .fh-bands .band > path:first-child { animation: bandPass 9s cubic-bezier(.45, 0, .25, 1) infinite; animation-delay: calc(.3s * var(--i) + .4s); }
@keyframes bandPass { 0% { stroke-dashoffset: 1; } 20% { stroke-dashoffset: 0; } 32% { stroke-dashoffset: 0; } 52%, 100% { stroke-dashoffset: -1; } }
html:not(.motion) .fh-bands { display: none; }
@media (max-width: 640px) { .field-hero .display { line-height: 1.08; } }
/* hero v10: back to the dot field on dark green */
.field-hero { background: var(--dark-green); color: var(--linen); }
.field-hero .display { color: var(--linen); line-height: 1.02; }
.field-hero .display .hl { color: var(--seafoam); }
.fh-body { color: var(--linen); opacity: .92; }
.fh-kicker { color: var(--linen); background: rgba(250, 249, 244, .1); border-color: rgba(250, 249, 244, .22); }
.field-hero .btn-secondary { background: transparent; }
/* hero kicker as a plain eyebrow, not a pill */
.fh-kicker { background: none !important; border: 0 !important; padding: 0 !important; border-radius: 0; backdrop-filter: none; font-family: var(--font-mono); font-weight: 400; font-size: .8rem; letter-spacing: .18em; color: var(--linen); gap: 14px; }
.fh-kicker .dot { display: none; }
.fh-kicker::before, .fh-kicker::after { content: ""; width: 28px; height: 3px; background: var(--green); }
@media (max-width: 640px) { .fh-kicker { font-size: .68rem; letter-spacing: .12em; } .fh-kicker::before, .fh-kicker::after { width: 18px; } }
.fh-kicker { font-family: var(--font-sans); font-weight: 700; letter-spacing: .12em; }
/* hero v11: parcels on linen */
.field-hero.fh-light { background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--hairline); }
.fh-light .display { color: var(--heading); }
.fh-light .display .hl { color: var(--accent-text); }
.fh-light .fh-body { color: var(--ink); opacity: 1; }
.fh-light .fh-kicker { color: var(--heading); }
.fh-light .btn-secondary { color: var(--heading); border-color: var(--btn-edge); background: var(--paper); }
.fh-light .btn-secondary:hover { background: var(--backdrop); }
/* Why CFi section back on linen; video sits as a dark-green panel */
#why { background: var(--paper); color: var(--ink); border-top: 1px solid var(--hairline); }
#why .section-head > .label:first-child { color: var(--heading); }
#why .section-head > .label:first-child::before { background: var(--green); }
#why .heading { color: var(--heading); }
#why .subhead, #why .more { color: var(--heading); }
#why .seg-ctl { background: var(--backdrop); }
#why .seg-ctl button { color: var(--heading); }
#why .seg-ctl button:hover { background: rgba(40, 84, 57, .08); }
#why .seg-ctl button[aria-selected="true"] { background: var(--dark-green); color: var(--linen); }
#why .card { border-color: var(--green); }
#why .why-video { outline: 0; margin: 48px 0 0; }
@media (max-width: 640px) { #why .why-video { outline: 0; margin: 36px 0 0; } }
.field-hero { min-height: min(78vh, 760px); padding-bottom: clamp(56px, 9vh, 100px); }
#why { border-top: 0; }
/* home: figures as a clean linen proof row under the hero */
.proof-row { background: var(--paper); padding: clamp(36px, 5vw, 56px) 0; border-bottom: 1px solid var(--hairline); }
.proof-row .stat-band { background: none; color: var(--heading); border-radius: 0; grid-template-columns: repeat(3, 1fr); }
.proof-row .stat { padding: 4px 24px; text-align: center; justify-items: center; gap: 4px; grid-template-rows: auto auto; }
.proof-row .stat + .stat { border-left: 1px solid var(--hairline); border-top: 0; }
.proof-row .stat .num { font-family: var(--font-sans); font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.02em; font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1.05; color: var(--heading); }
.proof-row .stat .cap { font-family: var(--font-sans); font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); opacity: 1; }
@media (max-width: 640px) { .proof-row .stat-band { grid-template-columns: 1fr; } .proof-row .stat { padding: 18px 0; } .proof-row .stat + .stat { border-left: 0; border-top: 1px solid var(--hairline); } }
.proof-row .stat .num { font-family: var(--font-mono); font-weight: 700; letter-spacing: 0; font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
/* TEMPORARY review markers: remove before launch */
.review-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: #d92d20; margin-left: 10px; vertical-align: super; box-shadow: 0 0 0 3px rgba(217, 45, 32, .2); cursor: help; }
/* testimonials sit inside Why CFi, right under the brand video */
#why + #testimonials { border-top: 0; padding-top: clamp(8px, 2vw, 24px); }
/* flip a two-column split so the visual leads (desktop only) */
@media (min-width: 900px) { .split-flip > :first-child { order: 2; } }
.review-dot { cursor: pointer; }
.review-dot:focus-visible { outline: 2px solid #d92d20; outline-offset: 3px; }
.review-dot.has-fix { background: #f79009; box-shadow: 0 0 0 3px rgba(247, 144, 9, .25); }
.rv-pop { position: absolute; z-index: 100; background: var(--linen); color: var(--ink); border: 1px solid #d92d20; border-radius: var(--radius-md); padding: 16px 18px; box-shadow: 0 12px 32px rgba(43, 33, 27, .18); font-size: .95rem; text-align: left; }
.rv-head { display: flex; justify-content: space-between; align-items: center; }
.rv-tag { margin: 0; font-weight: 700; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: #b42318; }
.rv-x { border: 0; background: none; font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--ink); padding: 2px 6px; }
.rv-note { margin: 4px 0 10px; font-weight: 700; color: var(--dark-green); }
.rv-lab { display: block; margin: 8px 0 4px; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #736c66; }
.rv-cur { margin: 0; padding: 8px 10px; background: var(--backdrop); border-radius: 8px; max-height: 140px; overflow: auto; }
.rv-pop textarea { width: 100%; box-sizing: border-box; font: inherit; padding: 8px 10px; border: 1px solid #c9c4bd; border-radius: 8px; background: #fff; color: var(--ink); resize: vertical; }
.rv-row { display: flex; align-items: center; gap: 12px; margin-top: 10px; flex-wrap: wrap; }
.rv-row .btn { font-size: 1rem; padding: 8px 16px; }
.rv-status { font-size: .85rem; color: #736c66; }
.slot-status { position: absolute; z-index: 3; left: 12px; bottom: 12px; background: var(--dark-green); color: var(--linen); font-size: .8rem; font-weight: 700; padding: 6px 10px; border-radius: 8px; }
.slot-status[hidden] { display: none; }
/* gridl hero: set the logo apart from the tagline */
.gridl-copy .gridl-hero-logo { width: clamp(180px, 24vw, 280px); margin: 0 0 10px; padding-bottom: 28px; border-bottom: 1px solid var(--hairline); box-sizing: content-box; }
.gridl-copy .gridl-tag { margin-top: 10px; font-size: clamp(2rem, 3.8vw, 3rem); }
.gridl-copy .gridl-tag span { color: var(--heading); }
/* home hero: tagline as the display line, positioning line as the h1 subhead */
.field-hero .fh-tagline { margin: 0; }
.field-hero .fh-sub { margin: -6px 0 0; font-family: var(--font-sans); font-weight: 700; font-size: clamp(1.25rem, 2.2vw, 1.7rem); line-height: 1.3; color: var(--linen); letter-spacing: 0; }
.fh-light .fh-sub { color: var(--heading); }
html.motion .fh-copy > *:nth-child(5) { animation-delay: .46s; }
/* TEMPORARY "check with Brett" markers: remove before launch */
.check-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: #f79009; margin-left: 8px; vertical-align: middle; box-shadow: 0 0 0 3px rgba(247, 144, 9, .25); cursor: help; }
/* review dots with a saved replacement: red ring with a white center, so they don't look like the orange Brett markers */
.review-dot.has-fix { background: #fff; box-shadow: inset 0 0 0 3px #d92d20, 0 0 0 3px rgba(217, 45, 32, .2); }
/* Why CFi: a stronger section heading */
#why .section-head { gap: 14px; margin-bottom: clamp(28px, 4vw, 44px); }
#why .heading { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1.04; letter-spacing: -.02em; }
#why .section-head .subhead { font-family: var(--font-sans); font-weight: 400; font-size: clamp(1.1rem, 1.8vw, 1.35rem); color: var(--ink); max-width: 46ch; }
#why .section-head .subhead { max-width: 62ch; }
/* Why CFi: the label becomes the page title (brand kit page-title style: Montserrat Regular, large) */
#why .section-head > .label:first-child { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.05; letter-spacing: -.01em; text-transform: none; color: var(--heading); padding-bottom: clamp(18px, 2.5vw, 28px); margin-bottom: clamp(10px, 1.5vw, 18px); border-bottom: 1px solid var(--hairline); display: block; }
#why .section-head > .label:first-child::before { display: none; }
#why .heading { font-weight: 800; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.12; letter-spacing: -.01em; }
/* Why CFi head, simplified: one bold title, then a short bold line and a plain line */
#why .section-head { gap: 8px; }
#why .section-head > .label:first-child { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1.02; letter-spacing: -.02em; color: var(--heading); border-bottom: 0; padding-bottom: 0; margin-bottom: 6px; }
#why .heading { font-family: var(--font-sans); font-weight: 700; font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.3; letter-spacing: 0; }
#why .section-head .subhead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-muted); }
/* manufacturers hero: simple split panel */
.mh-panel { background: var(--dark-green); color: var(--linen); border-radius: var(--radius-lg); display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(28px, 5vw, 64px); }
.mh-copy { display: grid; gap: 20px; }
.mh-eyebrow { margin: 0; display: flex; align-items: center; gap: 12px; font-family: var(--font-sans); font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--linen); }
.mh-eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--green); }
.mh-copy .display { margin: 0; color: var(--linen); font-size: clamp(2.3rem, 4.6vw, 3.8rem); line-height: 1.04; max-width: 15ch; }
.mh-copy .body { margin: 0; color: var(--linen); opacity: .92; max-width: 48ch; }
.mh-photo { aspect-ratio: 1; border-radius: var(--radius-md); }
.mh-photo .ph { background: rgba(250, 249, 244, .08); border: 1px dashed rgba(250, 249, 244, .35); color: var(--linen); height: 100%; border-radius: inherit; }
.mh-photo .ph .label, .mh-photo .ph .ph-spec, .mh-photo .ph .ph-hint, .mh-photo .ph .ph-pick { color: var(--linen); }
.mh-photo .slot-img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .mh-panel { grid-template-columns: 1fr; } .mh-photo { aspect-ratio: 4 / 3; } }
.mh-photo .ph { display: grid; place-items: start; padding: 24px; } .mh-photo .ph-inner { margin: 0; text-align: left; }
/* manufacturers: same field-parcels hero as home, a little shorter */
.man-field { min-height: min(70vh, 680px); }
.man-field .display { max-width: 18ch; font-size: clamp(2.4rem, 5.6vw, 4.8rem); }
/* stepper stage: no background photo, just the panel and the portal screenshot */
.step-stage, .step-stage:has(.step-view) { align-content: center; padding: clamp(28px, 5vw, 56px); }
@media (max-width: 860px) { .step-stage { padding: 24px; } }
/* portal screenshot fills more of the panel */
.step-stage, .step-stage:has(.step-view) { padding: clamp(14px, 2vw, 22px); }
.step-stage .step-view { width: 100%; }
#sv-1 .portal-shot { width: 100%; max-width: none; }
@media (min-width: 861px) { .stepper { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); } }
.step-stage { min-height: 0; align-self: center; }
@media (min-width: 861px) { .step-stage { min-height: 380px; } }
/* manufacturers hero: contour lines on linen, text left-aligned so it reads differently from home */
.contour-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
.man-contours .fh-copy { justify-items: start; text-align: left; }
.man-contours .fh-kicker::after { display: none; }
.man-contours .btn-row { justify-content: flex-start; }
.man-contours .display { max-width: 16ch; }
.man-contours .fh-body { max-width: 52ch; }
/* gridl home: full-width linen hero over an animated grid of gridl-dot cells */
.gridl-home { position: relative; overflow: hidden; background: var(--paper); min-height: min(86vh, 820px); display: grid; align-items: center; padding: clamp(64px, 10vh, 120px) 0 clamp(72px, 11vh, 130px); isolation: isolate; border-bottom: 1px solid var(--hairline); }
.grid-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
.gh-copy { position: relative; z-index: 1; display: grid; justify-items: center; text-align: center; gap: 18px; }
.gh-logo { width: clamp(220px, 32vw, 400px); height: auto; }
.gh-by { margin: -6px 0 6px; display: flex; align-items: center; gap: 8px; font-family: var(--font-sans); font-weight: 700; font-size: .95rem; color: var(--ink-muted); }
.gh-by img { height: 20px; width: auto; }
.gh-tag { margin: 8px 0 0; color: var(--heading); font-size: clamp(2.2rem, 5.4vw, 4.4rem); line-height: 1.04; max-width: 16ch; text-wrap: balance; }
.gh-sub { margin: 0; font-family: var(--font-sans); font-weight: 700; font-size: clamp(1.15rem, 2vw, 1.5rem); color: var(--ink); }
.gridl-home .btn-row { justify-content: center; margin-top: 8px; }
.gridl-home .btn-secondary { background: var(--paper); }
html.motion .gh-copy > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
html.motion .gh-copy > *:nth-child(2) { animation-delay: .08s; }
html.motion .gh-copy > *:nth-child(3) { animation-delay: .16s; }
html.motion .gh-copy > *:nth-child(4) { animation-delay: .26s; }
html.motion .gh-copy > *:nth-child(5) { animation-delay: .36s; }
.gh-shot { padding: clamp(40px, 6vw, 72px) 0 0; }
.gh-shot .shot-stage { max-width: 1040px; margin: 0 auto; }
.gh-cfi { display: grid; gap: 28px; }
/* gridl demo request page */
.gd-logo { width: clamp(150px, 18vw, 210px); height: auto; }
.gd-wrap { display: grid; grid-template-columns: 1.4fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.gd-side { border-top: 3px solid var(--green); padding-top: 18px; display: grid; gap: 14px; }
.gd-steps { margin: 0; padding-left: 1.2em; display: grid; gap: 10px; }
.gd-steps strong { color: var(--heading); }
.gd-note { margin: 6px 0 0; color: var(--ink-muted); font-size: .95rem; }
@media (max-width: 860px) { .gd-wrap { grid-template-columns: 1fr; } }
/* gridl page: launch video, story, modules */
.gh-video { max-width: 1080px; margin: 0 auto; border-radius: var(--radius-lg); overflow: hidden; background: var(--dark-green); border: 1px solid var(--hairline); }
.gh-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--dark-green); }
.gh-story { border-top: 0; }
.gh-story-in { display: grid; gap: 18px; max-width: 900px; }
.gh-story .heading { font-weight: 900; font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.08; }
.gh-story .heading span { color: var(--accent-text); }
.gh-story .body { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 60ch; }
.gh-mods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gh-mod { display: grid; gap: 8px; align-content: start; }
.gh-mod img { width: 100%; height: auto; border-radius: var(--radius-md); margin-bottom: 8px; }
.gh-mod h3 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: var(--heading); }
.gh-mod p { margin: 0; }
.gh-mod .feat-num { color: var(--accent-text); font-size: .8rem; letter-spacing: .1em; }
.gh-unified { width: 100%; height: auto; border-radius: var(--radius-md); }
@media (max-width: 1000px) { .gh-mods { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gh-mods { grid-template-columns: 1fr; } }
form.demo select:invalid, form.demo select:has(option[value=""]:checked) { color: var(--ink-muted); }
form.demo select option { color: var(--ink); }
/* gridl hero: "On the [gridl logo]" */
.gh-tag { max-width: none; display: grid; justify-items: center; gap: .1em; font-size: clamp(2.4rem, 5.8vw, 4.8rem); }
.gh-l1, .gh-l2 { display: block; }
.gh-l2 { display: flex; align-items: flex-end; justify-content: center; gap: .28em; flex-wrap: wrap; }
.gh-inline-logo { height: 2.15em; width: auto; margin-bottom: -.42em; }
.gh-sub { margin-top: 18px; }
.gh-sub { margin-top: 30px; }
.fh-kicker::before, .fh-kicker::after { display: none !important; content: none; }

/* ===== Less "template" look: type on hairlines, fewer decorations ===== */
/* 1. Section eyebrows: no dash, no letter-spaced mono caps; hide the ones that just repeat the heading */
.section-head > .label:first-child::before, .stack > .label:first-child::before, .label::before { display: none !important; content: none !important; }
.section-head > .label:first-child:not(#why *), .split > .stack > .label:first-child { display: none; }
/* 2. Small labels in DM Sans, sentence case, no wide tracking */
.label, .site-footer h4, .stat .cap, .proof-row .stat .cap, .q-who .label, .reach .label { font-family: var(--font-sans); font-weight: 600; font-size: .85rem; letter-spacing: 0; text-transform: none; }
.foot-legal .label { font-weight: 400; }
/* 3. Benefit cards: no boxes, just a rule on top */
.card, .cards .card { border: 0; border-top: 1px solid var(--hairline); border-radius: 0; padding: 22px 0 0; background: none; }
.cards { gap: 32px; }
.cards .card:hover { transform: none; }
#why .card { border-color: var(--hairline); }
.rule-grid > div .subhead, .card h3 { margin: 0; }
/* 4. Testimonials: no grey tiles, a rule above each quote */
.quote { background: none; border-radius: 0; padding: 24px 0 0; border-top: 1px solid var(--hairline); }
.quotes { gap: 40px 32px; }
/* 5. Buttons: drop the little arrow chip */
.btn .arrow { display: none; }
.fh-kicker { text-transform: none; letter-spacing: 0; font-size: 1rem; }
.label { font-family: var(--font-sans) !important; letter-spacing: 0 !important; text-transform: none !important; font-weight: 600; }
.label::before { display: none !important; }
.wrap > .stack > .label:first-child:has(+ .heading), .section .stack > .label:first-child:has(+ h2) { display: none; }
.boiler { background: none; border: 0; border-top: 1px solid var(--hairline); border-radius: 0; padding: 18px 0 0; }
#why .section-head > .label:first-child { font-family: var(--font-display) !important; font-weight: 900; letter-spacing: -.02em !important; }

/* flag: wrong copy to fix */
.flag-red{color:#fff !important;background:#D32F2F !important;padding:1px 4px;border-radius:2px;-webkit-box-decoration-break:clone;box-decoration-break:clone;}

/* Holganix logo: asset re-padded so the circle isn't clipped; boxes widened so the logo renders at the same size */
.q-logo img[src*="partner-holganix"] { width: 225px; height: auto; max-width: 225px; max-height: none; }
.quote-lg .q-logo img[src*="partner-holganix"] { width: 266px; max-width: 266px; }
.marquee-set li:has(img[src*="partner-holganix"]) { width: 225px; }
@media (max-width: 600px) { .marquee-set li:has(img[src*="partner-holganix"]) { width: 164px; } }

/* About: tighter story block, no rule above it */
.about-story .story-grid { border-top: 0 !important; padding-top: 0 !important; }
.about-story .story-grid > div { border-top: 0 !important; padding-top: 0 !important; }
.about-story .section-head { margin-bottom: 0 !important; }
.about-story { padding-bottom: 48px !important; }
.about-team { padding-top: 48px !important; }

/* proof row: two stats; Why CFi: partner stats under the cards */
.proof-row .stat-band { grid-template-columns: repeat(2, 1fr) !important; max-width: 760px; margin-inline: auto; }
.why-stats { margin: clamp(40px, 5vw, 64px) 0 clamp(32px, 4vw, 48px); padding-block: clamp(28px, 4vw, 40px); border-block: 1px solid var(--hairline); }
.why-stats .stat-band { background: none; color: var(--heading); border-radius: 0; grid-template-columns: repeat(2, 1fr) !important; max-width: 760px; margin-inline: auto; }
.why-stats .stat { padding: 4px 24px; text-align: center; justify-items: center; gap: 4px; grid-template-rows: auto auto; }
.why-stats .stat + .stat { border-left: 1px solid var(--hairline); border-top: 0; }
.why-stats .stat .num { font-family: var(--font-sans); font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.02em; font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1.05; color: var(--heading); }
.why-stats .stat .num { font-family: var(--font-mono); letter-spacing: 0; font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.why-stats .stat .cap { font-family: var(--font-sans); font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); opacity: 1; }
@media (max-width: 640px) { .why-stats .stat-band, .proof-row .stat-band { grid-template-columns: 1fr !important; } .why-stats .stat { padding: 18px 0; } .why-stats .stat + .stat { border-left: 0; border-top: 1px solid var(--hairline); } }
.why-stats .stat .cap { font-size: .85rem; letter-spacing: normal; text-transform: none; font-weight: 600; }
.proof-row .stat-band { grid-template-columns: repeat(3, 1fr) !important; max-width: none; }

/* Why CFi partner stats: a dark band, left-aligned, display numbers (distinct from the light mono row up top) */
.why-stats { border-block: 0 !important; padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 48px) !important; background: var(--dark-green); border-radius: var(--radius-md); }
.why-stats .stat-band { max-width: none !important; margin: 0 !important; color: var(--linen) !important; }
.why-stats .stat { text-align: left !important; justify-items: start !important; padding: 0 0 0 clamp(20px, 3vw, 40px) !important; gap: 6px !important; }
.why-stats .stat:first-child { padding-left: 0 !important; }
.why-stats .stat + .stat { border-left: 1px solid rgba(250, 249, 244, .22) !important; }
.why-stats .stat .num { font-family: var(--font-display) !important; font-weight: 900 !important; letter-spacing: -.02em !important; color: var(--linen) !important; font-size: clamp(2.4rem, 5vw, 3.6rem) !important; }
.why-stats .stat .cap { color: var(--seafoam) !important; font-size: .95rem !important; font-weight: 600 !important; }
@media (max-width: 640px) { .why-stats .stat, .why-stats .stat:first-child { padding: 16px 0 !important; } .why-stats .stat + .stat { border-left: 0 !important; border-top: 1px solid rgba(250, 249, 244, .22) !important; } }

/* Why CFi proof line: stats set as a sentence, no card */
.why-proof { margin: clamp(48px, 6vw, 80px) 0 clamp(40px, 5vw, 64px); font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 3.4vw, 2.6rem); line-height: 1.2; letter-spacing: -.02em; color: var(--heading); max-width: 26ch; text-wrap: balance; }
.why-proof b { color: var(--green); font-weight: 900; }
.why-proof .check-dot { vertical-align: super; margin-left: 4px; }
.why-proof .nw { white-space: nowrap; } .why-proof { max-width: 30ch; }
/* Why CFi: title block left, proof line right */
.why-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: end; margin-bottom: clamp(28px, 4vw, 44px); }
.why-top .section-head { margin-bottom: 0 !important; }
.why-top .why-proof { margin: 0; font-size: clamp(1.35rem, 2.4vw, 1.9rem); max-width: 22ch; padding-bottom: 4px; }
@media (max-width: 900px) { .why-top { grid-template-columns: 1fr; align-items: start; } }
.proof-row .stat .num .pre { font-family: var(--font-sans); font-size: .32em; font-weight: 700; letter-spacing: 0; margin-right: .3em; vertical-align: .9em; color: var(--ink-muted); }
#why .section-head > .label:first-child { font-size: clamp(2rem, 3.6vw, 2.75rem) !important; margin-bottom: 10px !important; }
.proof-row .stat .num { font-family: var(--font-sans) !important; font-weight: 700 !important; letter-spacing: -.02em !important; }
.proof-row .stat .num { font-family: var(--font-display) !important; font-weight: 800 !important; color: var(--seafoam) !important; letter-spacing: -.02em !important; }
/* numbers row: dark green band that closes out the hero, clearly separate from the linen Why CFi below */
.proof-row { background: var(--dark-green) !important; border-bottom: 0 !important; border-top: 1px solid rgba(250, 249, 244, .14); }
.proof-row .stat + .stat { border-left-color: rgba(250, 249, 244, .2) !important; }
.proof-row .stat .cap { color: var(--linen) !important; opacity: .85 !important; }
@media (max-width: 640px) { .proof-row .stat + .stat { border-top-color: rgba(250, 249, 244, .2) !important; } }

/* retailers: reduced-interest programs */
.ret-prog-in { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(28px, 6vw, 88px); align-items: center; }
.ret-prog-num { margin: 0; font-family: var(--font-display); font-weight: 900; font-size: clamp(5rem, 14vw, 11rem); line-height: .9; letter-spacing: -.04em; color: var(--seafoam); }
.ret-prog .body { max-width: 56ch; }
@media (max-width: 700px) { .ret-prog-in { grid-template-columns: 1fr; gap: 12px; } }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* About: one mission block */
.mission { display: grid; gap: 14px; max-width: 760px; }
.mission-lead { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 2.8vw, 2.1rem); line-height: 1.2; letter-spacing: -.015em; color: var(--heading); text-wrap: balance; }
.mission .body { font-size: 1.08rem; }
.mission > * { margin: 0 !important; } .mission { gap: 18px; }
/* Sound Agriculture: wide wordmark, sized down to sit with the other logos */
.q-logo img[src*="partner-sound"] { width: auto !important; max-height: 34px !important; max-width: 170px !important; }
.marquee-set li img[src*="partner-sound"] { width: 75% !important; }
.moment .m-title { margin: 0 0 6px; font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; line-height: 1.2; color: var(--heading); letter-spacing: -.01em; }

/* closing CTA: full-bleed dark band flush to the footer, so it reads differently from the rounded photo above */
section:has(> .wrap > .cta-band) { padding-bottom: 0 !important; border-top: 0 !important; }
.wrap:has(> .cta-band) { max-width: none; padding-inline: 0; }
.cta-band { border-radius: 0 !important; padding-block: clamp(64px, 9vw, 112px) !important; padding-inline: max(24px, calc((100vw - var(--max)) / 2 + 24px)) !important; }
main:has(.cta-band) + .site-footer { margin-top: 0 !important; border-top: 0 !important; }

/* Why CFi: seafoam band behind the title and the proof line only */
#why { padding-top: 0 !important; }
#why .why-top { background: var(--seafoam); box-shadow: 0 0 0 100vmax var(--seafoam); clip-path: inset(0 -100vmax); padding-block: clamp(40px, 6vw, 72px); margin-bottom: clamp(40px, 5vw, 64px); }
#why .why-proof b { color: var(--linen) !important; }
#why .why-proof { color: var(--heading) !important; }
#why .why-top .section-head .subhead { color: var(--ink) !important; }
