/* ==========================================================================
   Growers Ledger — site styles
   Brand: Navy #2C3E50 · Green #27AE60 · Gold #F1C40F · Paper cream
   ========================================================================== */

:root {
  --navy: #2c3e50;
  --navy-deep: #1f2d3b;
  --navy-ink: #18232f;
  --green: #27ae60;
  --green-deep: #1e7f47;
  --green-leaf: #2f7d4a;
  --gold: #f1c40f;
  --gold-deep: #c99a06;
  --paper: #f6f1e5;
  --paper-2: #efe8d8;
  --paper-3: #e6dcc6;
  --rule: #d9cfb8;
  --ink: #22303d;
  --ink-soft: #55626e;
  --white: #fffdf8;

  --font-head: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(24, 35, 47, .06), 0 8px 24px rgba(24, 35, 47, .08);
  --shadow-lg: 0 2px 4px rgba(24, 35, 47, .06), 0 24px 48px rgba(24, 35, 47, .14);
  --max: 1200px;
}

*, *::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: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.75rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--paper2 { background: var(--paper-2); }
.section--navy { background: var(--navy); color: #dfe6ec; }
.section--navy h2, .section--navy h3 { color: var(--white); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: .78rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-deep);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
.section--navy .eyebrow { color: var(--gold); }
.lede { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--ink-soft); max-width: 62ch; }
.section--navy .lede { color: #b9c5cf; }
.mono { font-family: var(--font-mono); }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 100; border-radius: 6px; }
.skip-link:focus { left: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: .98rem;
  padding: 15px 24px; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; line-height: 1;
  transition: transform .15s ease, background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--green); color: #fff; box-shadow: 0 6px 18px rgba(39, 174, 96, .28); }
.btn--primary:hover { background: var(--green-deep); color: #fff; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-ink); color: #fff; }
.btn--gold { background: var(--gold); color: var(--navy-ink); }
.btn--gold:hover { background: #ffd83a; color: var(--navy-ink); }
.btn--ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.btn--ghost-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn--sm { padding: 11px 18px; font-size: .88rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 241, 229, .9);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--rule); box-shadow: 0 4px 18px rgba(24,35,47,.05); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.brand__word { font-family: var(--font-head); font-weight: 800; font-size: 1.12rem; letter-spacing: .02em; line-height: 1; }
.brand__word small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .66rem; letter-spacing: .04em; color: var(--ink-soft); margin-top: 5px; }
.nav__links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  display: block; padding: 10px 14px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: .94rem;
  color: var(--navy); text-decoration: none;
}
.nav__links a:hover { background: var(--paper-3); }
.nav__links a[aria-current="page"] { color: var(--green-deep); }
.nav__links a[aria-current="page"]::after { content: ""; display: block; height: 2px; margin-top: 3px; background: var(--gold); border-radius: 2px; }
.nav__cta { margin-left: 10px; }
.nav__toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--navy); }
.nav__toggle svg { width: 28px; height: 28px; }

@media (max-width: 900px) {
  .nav__toggle { display: block; }
  .nav__menu {
    position: fixed; inset: 78px 0 auto 0;
    background: var(--paper); border-bottom: 1px solid var(--rule);
    padding: 12px 20px 24px; box-shadow: var(--shadow-lg);
    display: none;
  }
  .nav__menu.is-open { display: block; }
  .nav__links { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__links a { padding: 14px 12px; border-radius: 8px; font-size: 1.05rem; }
  .nav__links a[aria-current="page"]::after { display: none; }
  .nav__cta { margin: 12px 0 0; width: 100%; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 110px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 span { color: var(--green-deep); }
.hero h1 .underline { background: linear-gradient(transparent 68%, rgba(241, 196, 15, .55) 68%, rgba(241, 196, 15, .55) 92%, transparent 92%); color: inherit; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__note { margin-top: 26px; display: flex; gap: 22px; flex-wrap: wrap; font-size: .9rem; color: var(--ink-soft); }
.hero__note span { display: inline-flex; align-items: center; gap: 8px; }
.hero__note svg { width: 18px; height: 18px; color: var(--green); }

.hero__visual { position: relative; }
.hero__photo {
  border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 4.4;
  box-shadow: var(--shadow-lg);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo-2 {
  position: absolute; right: -24px; top: -26px; width: 38%;
  border-radius: 16px; overflow: hidden; border: 6px solid var(--paper);
  box-shadow: var(--shadow-lg); aspect-ratio: 1;
}
.hero__photo-2 img { width: 100%; height: 100%; object-fit: cover; }

/* Ledger entry card (signature element) */
.entry-card {
  position: absolute; left: -36px; bottom: 34px; width: min(330px, 80%);
  background: var(--white);
  border-radius: 12px; padding: 18px 20px 16px;
  box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--green);
  background-image: repeating-linear-gradient(to bottom, transparent 0 31px, rgba(44,62,80,.07) 31px 32px);
  background-position: 0 50px;
}
.entry-card__top { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px; }
.entry-card__status { display: inline-flex; align-items: center; gap: 6px; color: var(--green-deep); font-weight: 500; }
.entry-card__status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(39,174,96,.2); }
.entry-card h3 { font-size: 1.12rem; margin: 0 0 8px; }
.entry-card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 0 14px; font-size: .86rem; }
.entry-card dt { color: var(--ink-soft); line-height: 32px; }
.entry-card dd { margin: 0; font-family: var(--font-mono); font-weight: 500; color: var(--navy); text-align: right; line-height: 32px; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { margin: 10px 14px 0 0; }
  .hero__photo { aspect-ratio: 4 / 3.4; }
  .entry-card { left: 12px; bottom: -40px; }
  .hero { padding-bottom: 90px; }
  .hero__photo-2 { right: -10px; top: -18px; width: 32%; }
}

/* ---------- Figures strip ---------- */
.figures { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--paper-2); }
.figures__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.figure { padding: 30px 26px; border-left: 1px solid var(--rule); }
.figure:first-child { border-left: 0; }
.figure__num { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.9rem, 3vw, 2.5rem); color: var(--navy); line-height: 1; letter-spacing: -0.02em; }
.figure__num small { font-size: .5em; font-weight: 700; color: var(--green-deep); margin-left: 4px; letter-spacing: 0; }
.figure__label { margin-top: 10px; font-size: .9rem; color: var(--ink-soft); line-height: 1.4; }
@media (max-width: 860px) {
  .figures__grid { grid-template-columns: repeat(2, 1fr); }
  .figure:nth-child(3) { border-left: 0; }
  .figure:nth-child(n+3) { border-top: 1px solid var(--rule); }
}

/* ---------- Section heading ---------- */
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: clamp(32px, 4vw, 56px); flex-wrap: wrap; }
.section-head > div { max-width: 680px; }
.section-head h2 { margin-bottom: 14px; }
.section-head .lede { margin: 0; }

/* ---------- Audience split (how it works) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.path {
  background: var(--white); border-radius: var(--radius); padding: clamp(28px, 3.4vw, 44px);
  border: 1px solid var(--rule); position: relative; overflow: hidden;
}
.path--navy { background: var(--navy); border-color: var(--navy); color: #d7e0e8; }
.path--navy h3 { color: #fff; }
.path__tag { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--green-deep); margin-bottom: 14px; display: block; }
.path--navy .path__tag { color: var(--gold); }
.path h3 { font-size: 1.6rem; margin-bottom: 10px; }
.steps { list-style: none; margin: 26px 0 30px; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 16px 0; border-top: 1px dashed var(--rule); }
.path--navy .steps li { border-top-color: rgba(255,255,255,.16); }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono); font-weight: 500; font-size: .85rem;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--paper-2); color: var(--navy);
}
.path--navy .steps li::before { background: rgba(255,255,255,.1); color: var(--gold); }
.steps strong { display: block; font-family: var(--font-head); color: var(--navy); font-size: 1rem; margin-bottom: 2px; }
.path--navy .steps strong { color: #fff; }
.steps span { font-size: .94rem; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ---------- Category / featured cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--rule); display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
  text-decoration: none; color: inherit;
}
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: inherit; }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-3); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
a.card:hover .card__media img { transform: scale(1.04); }
.card__body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card__kicker { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: .96rem; }
.card__foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--paper-3); display: flex; justify-content: space-between; align-items: center; font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--green-deep); }
.card__foot svg { width: 18px; height: 18px; transition: transform .2s ease; }
a.card:hover .card__foot svg { transform: translateX(4px); }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Photo band ---------- */
.band { position: relative; min-height: 480px; display: grid; align-items: end; color: #fff; overflow: hidden; }
.band__img { position: absolute; inset: 0; }
.band__img img { width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(24,35,47,.05) 0%, rgba(24,35,47,.55) 55%, rgba(24,35,47,.92) 100%); }
.band__content { position: relative; z-index: 1; padding: 64px 0; }
.band blockquote { margin: 0; max-width: 820px; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: 1.25; }
.band blockquote em { font-style: normal; color: var(--gold); }
.band cite { display: block; margin-top: 18px; font-style: normal; font-family: var(--font-mono); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #c5d0d9; }

/* ---------- CTA duo ---------- */
.cta-duo { display: grid; grid-template-columns: 1fr 1fr; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); }
.cta-duo__side { padding: clamp(36px, 5vw, 64px); }
.cta-duo__side--buyer { background: var(--navy); color: #d2dbe3; }
.cta-duo__side--buyer h3 { color: #fff; }
.cta-duo__side--grower { background: var(--green-deep); color: #e2f3e9; }
.cta-duo__side--grower h3 { color: #fff; }
.cta-duo h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 12px; }
.cta-duo .path__tag { color: var(--gold); }
.cta-duo .btn { margin-top: 18px; }
@media (max-width: 760px) { .cta-duo { grid-template-columns: 1fr; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--rule); position: relative; }
.page-hero h1 { max-width: 16ch; }
.page-hero .lede { margin-top: 8px; }
.page-hero--photo { color: #fff; border: 0; padding: clamp(80px, 11vw, 150px) 0 clamp(56px, 7vw, 90px); overflow: hidden; }
.page-hero--photo h1 { color: #fff; }
.page-hero--photo .lede { color: #d6dee5; }
.page-hero--photo .eyebrow { color: var(--gold); }
.page-hero__bg { position: absolute; inset: 0; z-index: -1; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(24,35,47,.94) 0%, rgba(24,35,47,.78) 50%, rgba(24,35,47,.4) 100%); }
.page-hero--photo { isolation: isolate; }

/* ---------- About ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.two-col--top { align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.photo-stack { position: relative; padding: 0 0 48px 48px; }
.photo-stack img { border-radius: 18px; box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4/3.2; object-fit: cover; }
.photo-stack img + img { position: absolute; left: 0; bottom: 0; width: 46%; border: 6px solid var(--paper); aspect-ratio: 1; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value { padding: 30px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--rule); }
.value__icon { width: 54px; height: 54px; border-radius: 14px; background: var(--paper-2); display: grid; place-items: center; color: var(--green-deep); margin-bottom: 18px; }
.value__icon svg { width: 28px; height: 28px; }
.value p { color: var(--ink-soft); margin: 0; font-size: .97rem; }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }

.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.timeline::before { content: ""; position: absolute; top: 23px; left: 24px; right: 24px; height: 2px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.35) 0 8px, transparent 8px 14px); }
.timeline li { position: relative; padding-right: 24px; }
.timeline__dot { width: 48px; height: 48px; border-radius: 50%; background: var(--gold); color: var(--navy-ink); font-family: var(--font-mono); font-weight: 500; display: grid; place-items: center; position: relative; margin-bottom: 20px; }
.timeline h3 { font-size: 1.12rem; }
.timeline p { color: #b9c5cf; font-size: .95rem; }
@media (max-width: 860px) {
  .timeline { grid-template-columns: 1fr; gap: 28px; }
  .timeline::before { top: 24px; bottom: 24px; left: 23px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, rgba(255,255,255,.35) 0 8px, transparent 8px 14px); }
  .timeline li { display: grid; grid-template-columns: 48px 1fr; gap: 0 18px; padding: 0; }
  .timeline__dot { margin: 0; grid-row: span 2; }
}

.origins { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; }
.origin { background: var(--white); padding: 28px; }
.origin__flag { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--green-deep); }
.origin h3 { margin: 8px 0 6px; }
.origin p { color: var(--ink-soft); margin: 0; font-size: .95rem; }
.origin--open { background: var(--paper-2); }
@media (max-width: 860px) { .origins { grid-template-columns: 1fr; } }

/* ---------- Offerings ---------- */
.filters { position: sticky; top: 78px; z-index: 20; background: rgba(246,241,229,.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); }
.filters__row { display: flex; gap: 8px; overflow-x: auto; padding: 14px 0; scrollbar-width: none; }
.filters__row::-webkit-scrollbar { display: none; }
.chip {
  flex: none; font-family: var(--font-head); font-weight: 600; font-size: .88rem;
  padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--rule);
  background: var(--white); color: var(--navy); cursor: pointer;
  transition: all .15s ease;
}
.chip:hover { border-color: var(--navy); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip .count { font-family: var(--font-mono); font-weight: 400; font-size: .76rem; opacity: .65; margin-left: 4px; }

.feature {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 0;
  background: var(--white); border: 1px solid var(--rule); border-radius: 22px; overflow: hidden;
  margin-bottom: 32px; scroll-margin-top: 160px;
}
.feature__media { position: relative; min-height: 420px; display: grid; grid-template-rows: 1.6fr 1fr; gap: 4px; background: var(--paper-3); }
.feature__media img { width: 100%; height: 100%; object-fit: cover; }
.feature__media .duo { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; min-height: 0; }
.feature__media .duo img { min-height: 0; }
.feature__media--single { grid-template-rows: 1.4fr 1fr; }
.mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px; height: 100%; }
.mosaic img { min-height: 0; }
.feature__badge { position: absolute; top: 18px; left: 18px; background: var(--gold); color: var(--navy-ink); font-family: var(--font-mono); font-size: .72rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; }
.feature__body { padding: clamp(28px, 4vw, 48px); }
.feature__meta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.tag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 6px; background: var(--paper-2); color: var(--navy); }
.tag--green { background: rgba(39,174,96,.12); color: var(--green-deep); }
.feature h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.feature p { color: var(--ink-soft); }
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 22px 0; }
.kpi { border: 1px solid var(--rule); border-radius: 12px; padding: 16px 18px; background: var(--paper); }
.kpi b { display: block; font-family: var(--font-head); font-size: 1.55rem; font-weight: 800; color: var(--navy); line-height: 1.05; letter-spacing: -.01em; }
.kpi span { font-size: .84rem; color: var(--ink-soft); line-height: 1.35; display: block; margin-top: 6px; }
.checks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 8px; }
.checks li { display: flex; gap: 10px; font-size: .95rem; }
.checks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: rgba(39,174,96,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e7f47' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat; }
@media (max-width: 960px) {
  .feature { grid-template-columns: 1fr; }
  .feature__media { min-height: 360px; }
}

.ledger-table-wrap { overflow-x: auto; border: 1px solid var(--rule); border-radius: 12px; background: var(--white); margin: 8px 0 22px; }
.ledger-table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 560px; }
.ledger-table caption { text-align: left; padding: 14px 16px 6px; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.ledger-table th { text-align: left; font-family: var(--font-mono); font-weight: 500; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); padding: 10px 16px; border-bottom: 2px solid var(--navy); background: var(--paper); }
.ledger-table td { padding: 11px 16px; border-bottom: 1px solid var(--paper-3); }
.ledger-table tr:last-child td { border-bottom: 0; }
.ledger-table td.num { font-family: var(--font-mono); text-align: right; white-space: nowrap; color: var(--navy); }
.ledger-table th.num { text-align: right; }
.ledger-table tbody tr:hover { background: #fbf8f0; }

details.more { border-top: 1px solid var(--paper-3); padding-top: 14px; margin-top: 4px; }
details.more summary { cursor: pointer; font-family: var(--font-head); font-weight: 700; color: var(--green-deep); list-style: none; display: inline-flex; align-items: center; gap: 8px; }
details.more summary::-webkit-details-marker { display: none; }
details.more summary::after { content: "+"; font-family: var(--font-mono); font-size: 1.1rem; }
details.more[open] summary::after { content: "–"; }
details.more > div { margin-top: 16px; }

.group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-bottom: 2px solid var(--navy); padding-bottom: 12px; margin: 56px 0 26px; flex-wrap: wrap; }
.group-head h2 { margin: 0; font-size: clamp(1.5rem, 2.4vw, 1.95rem); }
.group-head p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 1000px) { .products { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .products { grid-template-columns: 1fr; } }
.product {
  background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow .25s ease, transform .25s ease;
}
.product:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.product[hidden] { display: none; }
.product__media { aspect-ratio: 16 / 10; background: var(--paper-3); position: relative; overflow: hidden; }
.product__media img { width: 100%; height: 100%; object-fit: cover; }
.product__media--icon { display: grid; place-items: center; background: linear-gradient(135deg, var(--paper-2), var(--paper-3)); color: var(--green-leaf); }
.product__media--icon::after { content: ""; position: absolute; right: -40px; bottom: -50px; width: 210px; height: 210px; background: url("../img/mark.png") center / contain no-repeat; opacity: .09; }
.product__media--icon svg { position: relative; z-index: 1; }
.product__media--icon svg { width: 72px; height: 72px; opacity: .9; }
.product__no { position: absolute; top: 12px; left: 12px; background: rgba(255,253,248,.95); color: var(--navy); font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; padding: 5px 9px; border-radius: 6px; }
.product__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.product__origin { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--green-deep); margin-bottom: 6px; }
.product h3 { font-size: 1.18rem; margin-bottom: 6px; }
.product p { font-size: .92rem; color: var(--ink-soft); margin-bottom: 14px; }
.spec { list-style: none; margin: 0 0 16px; padding: 0; font-size: .86rem; }
.spec li { display: flex; justify-content: space-between; gap: 14px; padding: 7px 0; border-bottom: 1px dashed var(--rule); }
.spec li:last-child { border-bottom: 0; }
.spec span { color: var(--ink-soft); }
.spec b { font-weight: 600; color: var(--navy); text-align: right; font-variant-numeric: tabular-nums; }
.product__cta { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--green-deep); text-decoration: none; padding-top: 12px; border-top: 1px solid var(--paper-3); }
.product__cta:hover { color: var(--navy); }
.product__cta svg { width: 16px; height: 16px; }

.note { font-size: .84rem; color: var(--ink-soft); background: var(--paper-2); border-left: 3px solid var(--gold); padding: 12px 16px; border-radius: 0 8px 8px 0; margin-top: 28px; }
.empty-state { display: none; text-align: center; padding: 60px 20px; color: var(--ink-soft); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-aside h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.contact-aside .info { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.contact-aside .info li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.contact-aside .info .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--white); border: 1px solid var(--rule); display: grid; place-items: center; color: var(--green-deep); }
.contact-aside .info .ic svg { width: 22px; height: 22px; }
.contact-aside .info b { display: block; font-family: var(--font-head); color: var(--navy); }
.contact-aside .info span { font-size: .93rem; color: var(--ink-soft); }

.form-card { background: var(--white); border: 1px solid var(--rule); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper-2); padding: 6px; gap: 6px; border-bottom: 1px solid var(--rule); }
.tab {
  border: 0; background: transparent; border-radius: 14px; padding: 16px 18px; cursor: pointer;
  text-align: left; display: flex; gap: 14px; align-items: center; color: var(--ink-soft);
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
  font-family: var(--font-body);
}
.tab svg { width: 30px; height: 30px; flex: none; }
.tab b { display: block; font-family: var(--font-head); font-size: 1.02rem; color: var(--navy); }
.tab small { font-size: .82rem; }
.tab[aria-selected="true"] { background: var(--white); box-shadow: var(--shadow); color: var(--ink); }
.tab[aria-selected="true"] svg { color: var(--green); }
.tab:not([aria-selected="true"]):hover { background: rgba(255,255,255,.55); }
@media (max-width: 520px) { .tab { flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px; } .tab svg { width: 24px; height: 24px; } }

.form { padding: clamp(24px, 4vw, 40px); }
.form[hidden] { display: none; }
.form__intro { margin-bottom: 24px; color: var(--ink-soft); font-size: .96rem; }
.form fieldset { border: 0; padding: 0; margin: 0 0 26px; }
.form legend { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--green-deep); margin-bottom: 14px; padding: 0; display: flex; align-items: center; gap: 10px; width: 100%; }
.form legend::after { content: ""; flex: 1; height: 1px; background: var(--paper-3); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.fields .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .fields { grid-template-columns: 1fr; } }
.field label, .field .label { display: block; font-weight: 600; font-size: .9rem; color: var(--navy); margin-bottom: 6px; }
.field .req { color: #c0392b; margin-left: 2px; }
.field .hint { font-size: .8rem; color: var(--ink-soft); margin-top: 5px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--rule); border-radius: 10px;
  padding: 12px 14px; transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
  appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232c3e50' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px rgba(39,174,96,.15); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #c0392b; background: #fff8f6; }
.field .error { display: none; color: #b03a2e; font-size: .82rem; margin-top: 6px; }
.field.is-invalid .error { display: block; }
.checkset { display: flex; flex-wrap: wrap; gap: 8px; }
.checkset label { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: .88rem; color: var(--ink); padding: 8px 12px; border: 1.5px solid var(--rule); border-radius: 999px; background: var(--paper); cursor: pointer; margin: 0; }
.checkset input { accent-color: var(--green); width: 16px; height: 16px; margin: 0; }
.checkset label:has(input:checked) { border-color: var(--green); background: rgba(39,174,96,.08); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--ink-soft); }
.consent input { accent-color: var(--green); width: 18px; height: 18px; margin-top: 3px; flex: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 26px; }
.form__status { font-size: .92rem; }
.form__status.is-error { color: #b03a2e; }
.btn[disabled] { opacity: .65; cursor: progress; }
.success { padding: clamp(36px, 5vw, 60px); text-align: center; }
.success[hidden] { display: none; }
.success__icon { width: 72px; height: 72px; border-radius: 50%; background: rgba(39,174,96,.14); color: var(--green-deep); display: grid; place-items: center; margin: 0 auto 20px; }
.success__icon svg { width: 36px; height: 36px; }
.success .ref { font-family: var(--font-mono); background: var(--paper-2); padding: 6px 10px; border-radius: 6px; color: var(--navy); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { background: var(--white); border: 1px solid var(--rule); border-radius: 12px; padding: 18px 22px; }
.faq summary { cursor: pointer; font-family: var(--font-head); font-weight: 700; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); color: var(--green-deep); font-size: 1.2rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-ink); color: #a9b6c2; padding: 72px 0 28px; font-size: .94rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer__brand { display: flex; gap: 14px; align-items: center; color: #fff; text-decoration: none; margin-bottom: 18px; }
.footer__badge { width: 60px; height: 60px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; flex: none; }
.footer__badge img { width: 46px; height: 46px; object-fit: contain; }
.footer__brand .brand__word small { color: #8b9aa8; }
.site-footer h4 { color: #fff; font-size: .78rem; font-family: var(--font-mono); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #d3dce4; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer__bottom { margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .84rem; color: #7f8e9c; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0s !important; }
}

/* ---------- Small-screen refinements ---------- */
.entry-card dd { white-space: nowrap; }
@media (max-width: 900px) {
  .entry-card { position: relative; left: auto; bottom: auto; width: auto; margin: -56px 16px 0; }
  .hero { padding-bottom: 56px; }
}
@media (max-width: 480px) {
  .brand__word small { display: none; }
  .brand img { width: 42px; height: 42px; }
  .hero__photo-2 { width: 34%; top: -14px; right: -6px; border-width: 4px; }
  .kpis { grid-template-columns: 1fr 1fr; gap: 8px; }
  .kpi { padding: 12px; }
  .kpi b { font-size: 1.25rem; }
}
