/* ============================================================
   Cocopeat Indo — design system
   Concept: "the paperwork is the brand" — export-manifest
   aesthetic built from certificate tables, batch codes and
   real photography. Palette derived from the Agrorise logo
   (sampled #20F060 → mint gradient) + natural cocopeat brown.
   ============================================================ */

:root {
  /* greens — sampled from logo */
  --agro: #22F166;
  --mint: #9FF4C0;
  --emerald: #0E9D58;
  --emerald-deep: #0A7A44;
  --forest-700: #11563B;
  --forest-900: #0B3425;
  --forest-950: #07211A;

  /* cocopeat browns */
  --peat-950: #2E1D0E;
  --peat-900: #43290F;
  --peat-700: #6B4226;
  --peat-500: #96603A;
  --sand: #D3AC80;
  --sand-light: #EFE3CE;

  /* neutrals */
  --paper: #FBF9F2;
  --ivory: #F4F0E3;
  --white: #FFFFFF;
  --charcoal: #1B221D;
  --stone: #57615A;
  --line: #DED8C6;
  --line-dark: rgba(255,255,255,.14);

  --font-display: 'Bricolage Grotesque', 'Archivo', sans-serif;
  --font-body: 'Archivo', -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --wrap: 1180px;
  --wrap-wide: 1320px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-card: 0 1px 2px rgba(27,34,29,.06), 0 10px 30px -12px rgba(27,34,29,.18);
  --shadow-deep: 0 2px 6px rgba(4,20,14,.35), 0 24px 60px -20px rgba(4,20,14,.55);
  --ease: cubic-bezier(.22,.8,.32,1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
h1,h2,h3,h4 { margin: 0 0 .5em; line-height: 1.12; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--emerald-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--forest-700); }
button { font: inherit; cursor: pointer; }
::selection { background: var(--agro); color: var(--forest-950); }

:focus-visible {
  outline: 3px solid var(--agro);
  outline-offset: 2px;
  border-radius: 3px;
}
.s-forest :focus-visible, .s-peat :focus-visible, .site-header :focus-visible { outline-color: var(--agro); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--forest-950); color: #fff; padding: .8rem 1.2rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

/* ---------- type ---------- */
.display-1, .display-2, .display-3 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 700;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.display-1 { font-size: clamp(2.5rem, 5.6vw, 4.35rem); line-height: 1.04; }
.display-2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.display-3 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.28rem); line-height: 1.6; color: var(--stone); max-width: 44em; }
.s-forest .lede, .s-peat .lede { color: rgba(255,255,255,.78); }

/* mono manifest chip — the recurring signature */
.chip {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--font-mono); font-size: .72rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--emerald-deep);
  margin-bottom: 1.1rem;
}
.chip::before {
  content: ""; width: .55em; height: .55em; border-radius: 1px;
  background: var(--agro); box-shadow: 0 0 0 1px var(--emerald-deep);
}
.s-forest .chip, .s-peat .chip { color: var(--mint); }
.s-forest .chip::before, .s-peat .chip::before { box-shadow: none; }

.mono { font-family: var(--font-mono); }

/* ---------- layout ---------- */
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.5rem); }
.wrap-wide { max-width: var(--wrap-wide); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.5rem); }

.section { padding-block: clamp(3.6rem, 8vw, 6.5rem); }
.section-head { max-width: 46em; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section-head.centered { margin-inline: auto; text-align: center; }
.section-head.centered .chip { justify-content: center; }

.s-paper { background: var(--paper); }
.s-ivory { background: var(--ivory); }
.s-white { background: var(--white); }
.s-forest { background: linear-gradient(178deg, var(--forest-950), var(--forest-900) 130%); color: #EDF3EC; }
.s-forest a { color: var(--mint); }
.s-peat { background: linear-gradient(178deg, var(--peat-950), var(--peat-900) 120%); color: #F4EADC; }
.s-peat a { color: var(--sand); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7,33,26,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-dark);
  color: #fff;
}
.header-inner {
  max-width: var(--wrap-wide); margin-inline: auto;
  padding: .65rem clamp(1.1rem, 4vw, 2.5rem);
  display: flex; align-items: center; gap: 1.4rem;
}
.brand { display: flex; align-items: center; gap: .7rem; margin-right: auto; text-decoration: none; }
.brand img { height: 40px; width: auto; }
.brand .brand-sub {
  font-family: var(--font-mono); font-size: .62rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--mint); border-left: 1px solid var(--line-dark);
  padding-left: .7rem; line-height: 1.5;
}
.site-nav { display: flex; align-items: center; gap: .2rem; }
.site-nav > a {
  color: rgba(255,255,255,.85); text-decoration: none; font-size: .93rem; font-weight: 500;
  padding: .55rem .75rem; border-radius: 7px; position: relative;
}
.site-nav > a:hover { color: #fff; background: rgba(255,255,255,.07); }
.site-nav > a[aria-current="page"] { color: var(--agro); }
.site-nav > a[aria-current="page"]::after {
  content: ""; position: absolute; left: .75rem; right: .75rem; bottom: .25rem;
  height: 2px; background: var(--agro); border-radius: 2px;
}
.btn-quote {
  background: var(--agro); color: var(--forest-950); border: none; border-radius: 8px;
  font-weight: 700; font-size: .93rem; padding: .62rem 1.1rem; text-decoration: none;
  transition: transform .15s var(--ease), box-shadow .15s var(--ease);
}
.btn-quote:hover { color: var(--forest-950); transform: translateY(-1px); box-shadow: 0 6px 18px -6px rgba(34,241,102,.55); }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line-dark); color: #fff;
  border-radius: 8px; padding: .5rem .7rem; min-width: 44px; min-height: 44px;
}
.nav-toggle svg { display: block; }

@media (max-width: 940px) {
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: .1rem;
    background: var(--forest-950); border-bottom: 1px solid var(--line-dark);
    padding: .8rem clamp(1.1rem, 4vw, 2.5rem) 1.2rem;
  }
  .site-nav.open { display: flex; }
  .site-nav > a { padding: .8rem .6rem; font-size: 1.05rem; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .brand .brand-sub { display: none; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  border-radius: 9px; font-weight: 700; text-decoration: none;
  padding: .85rem 1.5rem; font-size: 1rem; border: 1.5px solid transparent;
  transition: transform .15s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.btn-primary,
.s-forest .btn-primary, .s-peat .btn-primary, .hero .btn-primary {
  background: var(--agro); color: var(--forest-950); font-weight: 700;
}
.btn-primary:hover,
.s-forest .btn-primary:hover, .s-peat .btn-primary:hover, .hero .btn-primary:hover {
  color: var(--forest-950); transform: translateY(-2px); box-shadow: 0 10px 24px -8px rgba(34,241,102,.55);
}
.btn-outline { border-color: var(--charcoal); color: var(--charcoal); }
.btn-outline:hover { background: var(--charcoal); color: var(--paper); }
.s-forest .btn-outline, .hero .btn-outline { border-color: rgba(255,255,255,.5); color: #fff; }
.s-forest .btn-outline:hover, .hero .btn-outline:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-arrow::after { content: "→"; font-weight: 500; transition: transform .15s var(--ease); }
.btn-arrow:hover::after { transform: translateX(3px); }

/* ---------- hero ---------- */
.hero {
  position: relative; color: #fff; overflow: clip;
  background: var(--forest-950);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(78deg, rgba(5,25,19,.93) 22%, rgba(5,25,19,.72) 46%, rgba(6,26,20,.30) 78%),
    linear-gradient(0deg, rgba(5,25,19,.88) 0%, rgba(5,25,19,0) 34%);
}
.hero-inner {
  position: relative; z-index: 1;
  max-width: var(--wrap-wide); margin-inline: auto;
  padding: clamp(4rem, 9vw, 7.5rem) clamp(1.1rem, 4vw, 2.5rem) clamp(2.6rem, 5vw, 4rem);
}
@media (max-width: 760px) {
  .hero-media img { object-position: 70% 60%; }
  .hero-media::after {
    background:
      linear-gradient(0deg, rgba(5,25,19,.92) 8%, rgba(5,25,19,.66) 55%, rgba(5,25,19,.82) 100%);
  }
}
.hero h1 { max-width: 11.5em; }
.hero .lede { color: rgba(255,255,255,.82); max-width: 34em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .9rem; margin: 1.9rem 0 2.2rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; padding: 0; margin: 0; list-style: none; }
.hero-points li {
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.75); display: flex; align-items: center; gap: .5em;
}
.hero-points li::before { content: "✓"; color: var(--agro); font-weight: 600; }

/* lab-verified data strip — hero signature */
.datastrip {
  position: relative; z-index: 1;
  border-top: 1px solid var(--line-dark);
  background: rgba(5,23,17,.72);
  backdrop-filter: blur(8px);
}
.datastrip-inner {
  max-width: var(--wrap-wide); margin-inline: auto;
  padding: 1.3rem clamp(1.1rem, 4vw, 2.5rem) 1.5rem;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem;
}
.datum .datum-value {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.7rem, 3vw, 2.5rem);
  color: #fff; line-height: 1.05;
}
.datum .datum-value small { font-size: .45em; font-family: var(--font-mono); font-weight: 500; color: var(--mint); margin-left: .2em; letter-spacing: .04em; }
.datum .datum-label {
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .13em; text-transform: uppercase;
  color: rgba(255,255,255,.62); margin-top: .3rem;
}
.datastrip-src {
  max-width: var(--wrap-wide); margin-inline: auto;
  padding: 0 clamp(1.1rem, 4vw, 2.5rem) 1.1rem;
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .06em;
  color: rgba(255,255,255,.5);
}
@media (max-width: 760px) {
  .datastrip-inner { grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
}

/* ---------- cards ---------- */
.grid { display: grid; gap: clamp(1.1rem, 2.4vw, 1.8rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-card);
  display: flex; flex-direction: column;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(27,34,29,.06), 0 22px 44px -16px rgba(27,34,29,.26); }
.card-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand-light); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 1.18rem; font-weight: 600; }
.card-body h3 a { color: inherit; text-decoration: none; }
.card-body h3 a::after { content: ""; position: absolute; inset: 0; }
.card { position: relative; }
.card-tag {
  font-family: var(--font-mono); font-size: .66rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--peat-500); margin-bottom: .5rem;
}
.card-note { color: var(--stone); font-size: .94rem; margin: 0; }
.card-cta { margin-top: auto; padding-top: 1rem; font-weight: 600; font-size: .92rem; color: var(--emerald-deep); }

/* certificate-style spec rows — signature component */
.spec {
  margin: 1rem 0 0; padding: 0;
}
.spec-row {
  display: flex; align-items: baseline; gap: .6em;
  padding: .5rem 0; font-size: .93rem;
}
.spec-row + .spec-row { border-top: 1px dashed var(--line); }
.spec-row dt { color: var(--stone); flex-shrink: 0; }
.spec-row .leader { flex: 1; border-bottom: 1px dotted var(--line); transform: translateY(-4px); }
.spec-row dd { margin: 0; font-family: var(--font-mono); font-weight: 600; font-size: .88rem; color: var(--charcoal); text-align: right; }
.s-peat .spec-row dt { color: var(--sand); }
.s-peat .spec-row dd { color: #fff; }
.s-peat .spec-row + .spec-row { border-top-color: rgba(211,172,128,.28); }
.s-peat .spec-row .leader { border-bottom-color: rgba(211,172,128,.35); }

/* full spec table (product pages) */
.spec-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.spec-table caption { text-align: left; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .13em; text-transform: uppercase; color: var(--stone); padding-bottom: .8rem; }
.spec-table th, .spec-table td { text-align: left; padding: .7rem .9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table thead th { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--stone); border-bottom: 2px solid var(--charcoal); }
.spec-table td.value { font-family: var(--font-mono); font-weight: 600; font-size: .88rem; white-space: nowrap; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---------- route board ---------- */
.routeboard { border: 1px solid var(--line-dark); border-radius: var(--radius-lg); overflow: hidden; background: rgba(255,255,255,.03); }
.route {
  display: grid; grid-template-columns: minmax(150px,1.1fr) auto minmax(150px,1.1fr) 1.6fr;
  gap: 1.2rem; align-items: center;
  padding: 1.15rem 1.5rem;
}
.route + .route { border-top: 1px solid var(--line-dark); }
.route-port .code { display: block; font-family: var(--font-mono); font-weight: 600; font-size: 1.35rem; color: #fff; letter-spacing: .04em; }
.route-port .name { display: block; font-size: .82rem; color: rgba(255,255,255,.6); }
.route-line { display: flex; align-items: center; gap: .4rem; color: var(--agro); min-width: 90px; }
.route-line::before, .route-line::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--agro)); min-width: 26px; }
.route-line::after { background: linear-gradient(90deg, var(--agro), transparent); }
.route-line svg { flex-shrink: 0; }
.route-meta { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .06em; color: rgba(255,255,255,.62); line-height: 1.8; }
.route-meta strong { color: var(--mint); font-weight: 500; }
@media (max-width: 860px) {
  .route { grid-template-columns: 1fr auto 1fr; row-gap: .6rem; padding: 1rem 1.1rem; }
  .route-meta { grid-column: 1 / -1; border-top: 1px dashed var(--line-dark); padding-top: .7rem; }
}

/* ---------- animated world map (NASA Blue Marble base) ---------- */
.map-scene { position: relative; margin-top: .5rem; }
.map-stage {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(159,244,192,.22);
  box-shadow: 0 2px 8px rgba(2,14,10,.6), 0 30px 80px -24px rgba(2,14,10,.9);
  transform: perspective(1500px) rotateX(14deg);
  transform-origin: 50% 68%;
  transition: transform .6s var(--ease);
}
.map-scene:hover .map-stage { transform: perspective(1500px) rotateX(6deg); }
.map-stage img { display: block; width: 100%; height: auto; }
.map-stage::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 90% 80% at 50% 45%, transparent 55%, rgba(4,22,16,.5) 100%),
    linear-gradient(180deg, rgba(4,22,16,.22), transparent 25%, transparent 75%, rgba(4,22,16,.3));
}
.map-stage svg {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1;
}
.map-shadow {
  position: absolute; left: 8%; right: 8%; bottom: -5%; height: 14%;
  background: radial-gradient(ellipse at center, rgba(0,0,0,.55), transparent 70%);
  filter: blur(16px); z-index: -1;
}

.arc {
  stroke: var(--agro); stroke-width: 1.5; stroke-linecap: round;
  stroke-dasharray: 4 8; opacity: .75;
  animation: arc-flow 1.4s linear infinite;
}
.arc-glow { stroke: #2AF171; stroke-width: 4; opacity: .12; filter: blur(3px); }
@keyframes arc-flow { to { stroke-dashoffset: -12; } }

.ship {
  fill: #CFFFE0; opacity: 0;
  filter: drop-shadow(0 0 5px #2AF171) drop-shadow(0 0 12px rgba(34,241,102,.6));
  offset-rotate: 0deg;
  animation-name: ship-travel; animation-timing-function: linear; animation-iteration-count: infinite;
}
@keyframes ship-travel {
  0% { offset-distance: 0%; opacity: 0; }
  6% { opacity: 1; }
  92% { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}
@supports not (offset-path: path('M0 0 L1 1')) { .ship { display: none; } }

.port-dot { fill: var(--agro); stroke: #07211A; stroke-width: 1.2; }
.port-ring {
  fill: none; stroke: var(--agro); stroke-width: 1.4;
  transform-box: fill-box; transform-origin: center;
  animation: port-ping 2.6s ease-out infinite;
}
@keyframes port-ping {
  0% { transform: scale(.5); opacity: .9; }
  75%, 100% { transform: scale(2.6); opacity: 0; }
}
.port-flag { font-size: 22px; }
.port-name {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em;
  fill: #EAFBF0; text-transform: uppercase;
  paint-order: stroke; stroke: rgba(3,18,13,.9); stroke-width: 3px;
}
.origin-core { fill: var(--agro); stroke: #fff; stroke-width: 1.4; }
.origin-ring {
  fill: none; stroke: var(--agro); stroke-width: 1.6;
  transform-box: fill-box; transform-origin: center;
  animation: port-ping 2.2s ease-out infinite;
}
.origin-ring.r2 { animation-delay: -1.1s; }
.origin-name {
  font-family: var(--font-mono); font-size: 13px; font-weight: 600; letter-spacing: .12em;
  fill: #fff; paint-order: stroke; stroke: rgba(3,18,13,.9); stroke-width: 3.4px;
}

@media (max-width: 860px) {
  .map-stage, .map-scene:hover .map-stage { transform: none; }
  .map-shadow { display: none; }
  .port-name { font-size: 13px; }
  .port-flag { font-size: 15px; }
  .origin-name { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .ship { display: none; }
  .port-ring, .origin-ring { opacity: .25; }
}

/* ---------- evidence timeline ---------- */
.timeline {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(340px, 78vw);
  gap: 1.2rem; overflow-x: auto; padding: .4rem .2rem 1.4rem;
  scroll-snap-type: x mandatory; scrollbar-color: var(--peat-500) transparent;
}
.timeline::-webkit-scrollbar { height: 8px; }
.timeline::-webkit-scrollbar-thumb { background: var(--peat-500); border-radius: 4px; }
.timeline::-webkit-scrollbar-track { background: rgba(211,172,128,.15); }
.tl-item { scroll-snap-align: start; display: flex; flex-direction: column; }
.tl-photo {
  aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(211,172,128,.3); box-shadow: var(--shadow-deep);
  background: var(--peat-900);
}
.tl-photo img { width: 100%; height: 100%; object-fit: cover; }
.tl-stage {
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--sand); margin: 1rem 0 .25rem;
}
.tl-item h3 { font-size: 1.05rem; margin-bottom: .25rem; color: #fff; }
.tl-item p { font-size: .9rem; color: rgba(244,234,220,.75); margin: 0; }

/* ---------- QC ladder ---------- */
.qc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); overflow: hidden; }
.qc-cell { background: var(--forest-950); padding: 1.5rem 1.5rem 1.6rem; }
.qc-cell .qc-num { font-family: var(--font-mono); font-size: .7rem; color: var(--agro); letter-spacing: .12em; }
.qc-cell h3 { font-size: 1.06rem; color: #fff; margin: .55rem 0 .35rem; }
.qc-cell p { font-size: .89rem; color: rgba(237,243,236,.68); margin: 0; }
@media (max-width: 900px) { .qc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .qc-grid { grid-template-columns: 1fr; } }

/* ---------- selector / calculator ---------- */
.panel {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card); padding: clamp(1.4rem, 3vw, 2.2rem);
}
.s-forest .panel { background: rgba(255,255,255,.045); border-color: var(--line-dark); box-shadow: none; }
.field { margin-bottom: 1.2rem; }
.field > label, .field > .field-label { display: block; font-weight: 600; font-size: .93rem; margin-bottom: .45rem; }
.field .hint { font-size: .82rem; color: var(--stone); margin-top: .35rem; }
.s-forest .field .hint { color: rgba(255,255,255,.55); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%; padding: .78rem .95rem; font: inherit; color: inherit;
  border: 1.5px solid var(--line); border-radius: 9px; background: var(--paper);
}
.s-forest input, .s-forest select, .s-forest textarea {
  background: rgba(7,33,26,.55); border-color: var(--line-dark); color: #fff;
}
input:focus, select:focus, textarea:focus { outline: 3px solid var(--agro); outline-offset: 1px; border-color: var(--emerald); }
.choice-row { display: flex; flex-wrap: wrap; gap: .55rem; }
.choice {
  position: relative;
}
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice span {
  display: inline-flex; align-items: center; min-height: 44px; padding: .5rem 1.05rem;
  border: 1.5px solid var(--line); border-radius: 999px; font-size: .92rem; font-weight: 500;
  background: var(--white); transition: all .15s var(--ease); cursor: pointer;
}
.s-forest .choice span { background: rgba(7,33,26,.5); border-color: var(--line-dark); color: rgba(255,255,255,.85); }
.choice input:checked + span { background: var(--agro); border-color: var(--agro); color: var(--forest-950); font-weight: 700; }
.choice input:focus-visible + span { outline: 3px solid var(--agro); outline-offset: 2px; }
.choice:hover span { border-color: var(--emerald); }

.calc-output { border-top: 1px solid var(--line-dark); margin-top: 1.4rem; padding-top: 1.4rem; }
.calc-figure .datum-value { font-size: clamp(1.5rem, 2.6vw, 2.1rem); white-space: nowrap; }
.assumptions {
  font-size: .8rem; font-family: var(--font-mono); color: rgba(255,255,255,.55);
  border-left: 2px solid var(--peat-500); padding-left: .9rem; line-height: 1.8; margin-top: 1.3rem;
}

/* ---------- resources ---------- */
.res-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.res-item {
  display: grid; grid-template-columns: 9.5rem 1fr auto; gap: 1.4rem; align-items: baseline;
  padding: 1.25rem .3rem; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit;
  transition: background .15s;
}
.res-item:hover { background: var(--white); color: inherit; }
.res-item .res-kind { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; color: var(--peat-500); }
.res-item h3 { font-size: 1.12rem; margin: 0 0 .2rem; }
.res-item p { margin: 0; font-size: .9rem; color: var(--stone); }
.res-item .res-arrow { color: var(--emerald-deep); font-weight: 600; }
@media (max-width: 640px) {
  .res-item { grid-template-columns: 1fr; gap: .3rem; }
  .res-item .res-arrow { display: none; }
}

/* ---------- RFQ wizard ---------- */
.wizard-progress { display: flex; gap: .5rem; margin-bottom: 1.8rem; }
.wizard-progress .wp-step {
  flex: 1; height: 4px; background: var(--line); border-radius: 2px; position: relative;
}
.s-forest .wizard-progress .wp-step { background: rgba(255,255,255,.15); }
.wizard-progress .wp-step.done { background: var(--agro); }
.wizard-step[hidden] { display: none; }
.wizard-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.8rem; }
.wizard-summary {
  border: 1px dashed var(--line-dark); border-radius: var(--radius);
  padding: 1.2rem 1.4rem; margin-top: .6rem;
  font-family: var(--font-mono); font-size: .85rem; line-height: 2; color: rgba(255,255,255,.85);
}
.wizard-summary .sum-label { color: rgba(255,255,255,.5); }
fieldset { border: none; margin: 0; padding: 0; }
legend { font-weight: 600; font-size: 1.15rem; padding: 0; margin-bottom: 1.1rem; font-family: var(--font-display); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.3rem; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.error-msg { color: #FFB3A7; font-size: .84rem; margin-top: .35rem; display: none; }
.field.invalid .error-msg { display: block; }
.field.invalid input, .field.invalid select { border-color: #E5604C; }

/* ---------- article ---------- */
.article-head { max-width: 46em; }
.article-meta { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .08em; color: var(--stone); display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin-top: 1.2rem; }
.prose { max-width: 44em; }
.prose h2 { font-family: var(--font-display); font-weight: 600; font-size: 1.65rem; margin-top: 2.4em; }
.prose h3 { font-size: 1.18rem; margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose blockquote {
  margin: 1.6em 0; padding: 1rem 1.4rem; border-left: 3px solid var(--agro);
  background: var(--ivory); border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .98rem;
}
.prose .figure { margin: 2em 0; }
.prose .figure img { border-radius: var(--radius); border: 1px solid var(--line); }
.prose .figure figcaption { font-family: var(--font-mono); font-size: .74rem; color: var(--peat-500); margin-top: .7rem; letter-spacing: .04em; }
.callout {
  border: 1px solid var(--line); border-left: 4px solid var(--peat-500);
  background: var(--white); border-radius: var(--radius); padding: 1.2rem 1.4rem; margin: 1.8em 0;
  font-size: .95rem;
}
.callout .callout-label { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; color: var(--peat-500); display: block; margin-bottom: .4rem; }

/* checklist */
.checklist { list-style: none; padding: 0; margin: 1.2em 0; counter-reset: check; }
.checklist li {
  position: relative; padding: .85rem 1rem .85rem 3rem; border: 1px solid var(--line);
  background: var(--white); margin-bottom: -1px; font-size: .95rem;
}
.checklist li:first-child { border-radius: var(--radius) var(--radius) 0 0; }
.checklist li:last-child { border-radius: 0 0 var(--radius) var(--radius); }
.checklist li::before {
  counter-increment: check; content: counter(check, decimal-leading-zero);
  position: absolute; left: 1rem; top: .95rem;
  font-family: var(--font-mono); font-size: .72rem; font-weight: 600; color: var(--emerald-deep);
}

/* breadcrumbs */
.breadcrumbs { font-size: .84rem; color: var(--stone); padding-top: 1.4rem; }
/* tighten the gap between breadcrumbs and the first section heading */
.breadcrumbs + main > .section:first-child,
.breadcrumbs + main > section:first-child { padding-top: clamp(1.6rem, 3vw, 2.6rem); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: .5rem; color: var(--line); }
.breadcrumbs a { color: var(--stone); text-decoration: none; }
.breadcrumbs a:hover { color: var(--emerald-deep); text-decoration: underline; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; padding: 1.15rem .2rem; font-weight: 600; font-size: 1.05rem;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); color: var(--emerald-deep); font-size: 1.2rem; flex-shrink: 0; }
.faq details[open] summary::after { content: "–"; }
.faq .faq-a { padding: 0 .2rem 1.3rem; max-width: 42em; color: var(--stone); }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band .btn-row { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; margin-top: 1.8rem; }
.cta-alt { font-size: .9rem; color: rgba(255,255,255,.6); margin-top: 1.4rem; }
.cta-alt a { color: var(--mint); }

/* ---------- footer ---------- */
.site-footer { background: var(--forest-950); color: rgba(237,243,236,.75); font-size: .92rem; }
.footer-top {
  max-width: var(--wrap-wide); margin-inline: auto;
  padding: clamp(2.8rem, 6vw, 4.5rem) clamp(1.1rem, 4vw, 2.5rem) 2.4rem;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.4rem;
}
.site-footer h4 { color: #fff; font-size: .8rem; font-family: var(--font-mono); letter-spacing: .14em; text-transform: uppercase; font-weight: 500; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55rem; }
.site-footer a { color: rgba(237,243,236,.75); text-decoration: none; }
.site-footer a:hover { color: var(--agro); }
.footer-brand img { height: 56px; width: auto; margin-bottom: 1.2rem; }
.footer-brand p { max-width: 30em; line-height: 1.7; }
.footer-contact { font-family: var(--font-mono); font-size: .82rem; line-height: 2.1; }
.footer-bottom { border-top: 1px solid var(--line-dark); }
.footer-bottom-inner {
  max-width: var(--wrap-wide); margin-inline: auto;
  padding: 1.3rem clamp(1.1rem, 4vw, 2.5rem);
  display: flex; flex-wrap: wrap; gap: .6rem 2rem; justify-content: space-between;
  font-size: .8rem; color: rgba(237,243,236,.5);
}
.footer-bottom-inner a { color: rgba(237,243,236,.6); }
@media (max-width: 940px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; gap: 1.8rem; } }

/* ---------- misc ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-deep); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.figure-plate {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .06em;
  color: var(--sand); margin-top: .8rem;
}

.note-verify { font-size: .84rem; color: var(--stone); font-style: italic; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- floating WhatsApp ---------- */
.float-wa {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px -6px rgba(7,33,26,.45);
  transition: transform .15s var(--ease), box-shadow .2s var(--ease);
  animation: wa-beat 2.6s ease-in-out infinite;
}
.float-wa::before, .float-wa::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: rgba(37,211,102,.45); z-index: -1;
  animation: wa-ping 2.6s ease-out infinite;
}
.float-wa::after { animation-delay: 1.3s; }
@keyframes wa-ping {
  0%   { transform: scale(1); opacity: .7; }
  70%, 100% { transform: scale(2); opacity: 0; }
}
@keyframes wa-beat {
  0%, 100% { transform: scale(1); }
  12% { transform: scale(1.08); }
  24% { transform: scale(1); }
}
.float-wa:hover { transform: scale(1.1); box-shadow: 0 12px 30px -6px rgba(7,33,26,.5); animation-play-state: paused; }
.float-wa svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Instagram spotlight ---------- */
.reel-frame {
  aspect-ratio: 9 / 16; width: min(340px, 86vw);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--white); box-shadow: var(--shadow-card); display: block;
}
.reel-wrap { display: flex; flex-direction: column; align-items: center; gap: .8rem; }
.reel-wrap .reel-caption {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em;
  color: var(--peat-500); text-align: center;
}
.btn-ig {
  display: inline-flex; align-items: center; gap: .55em;
  border: 1.5px solid var(--charcoal); color: var(--charcoal);
  border-radius: 9px; font-weight: 700; text-decoration: none;
  padding: .85rem 1.5rem; font-size: 1rem;
  transition: background .2s, color .2s;
}
.btn-ig:hover { background: var(--charcoal); color: var(--paper); }
.btn-ig svg { width: 20px; height: 20px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* print: keep manifest tables clean */
@media print {
  .site-header, .site-footer, .hero-media, .btn, .nav-toggle { display: none !important; }
  body { background: #fff; color: #000; }
}
