/* ============ Design tokens ============ */
:root {
  --ink: #0F1512;
  --emerald: #0B7A54;
  --accent: #12B886;
  --gray-50: #F3F5F4;
  --white: #FFFFFF;
  --border: #D7DEDB;
  --muted: #5B6560;

  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --maxw: 1120px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 4px;
  --section-y: clamp(3.5rem, 8vw, 6.5rem);
}

/* ============ Reset / base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--emerald); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ============ Layout primitives ============ */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--gray { background: var(--gray-50); }
.eyebrow { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 600; color: var(--emerald); margin: 0 0 1rem; }
.lead { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--muted); max-width: 60ch; }
.rule { height: 1px; background: var(--border); border: 0; margin: 0; }

.grid { display: grid; gap: clamp(1rem, 2.5vw, 1.75rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.card h3 { margin-bottom: .35rem; }
.card p { color: var(--muted); margin: 0; font-size: .96rem; }

/* ============ Buttons ============ */
.btn { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-head); font-weight: 600; font-size: .95rem; padding: .8rem 1.4rem; border-radius: var(--radius); border: 1px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; text-decoration: none; }
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--emerald); color: var(--white); }
.btn--primary:hover { background: #0a6647; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--ink); }

/* ============ Header ============ */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.9); backdrop-filter: saturate(180%) blur(8px); border-bottom: 1px solid var(--border); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav__list { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.nav__link { font-family: var(--font-head); font-weight: 500; font-size: .95rem; color: var(--ink); }
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--emerald); text-decoration: none; }
.nav__toggle { display: none; background: none; border: 1px solid var(--border); border-radius: var(--radius); width: 44px; height: 40px; cursor: pointer; align-items: center; justify-content: center; }
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after { content: ""; display: block; width: 20px; height: 2px; background: var(--ink); position: relative; transition: transform .2s, opacity .2s; }
.nav__toggle span::before { position: absolute; top: -6px; }
.nav__toggle span::after { position: absolute; top: 6px; }

@media (max-width: 760px) {
  .nav__toggle { display: inline-flex; }
  .nav__list { position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0; background: var(--white); border-bottom: 1px solid var(--border); padding: .5rem var(--gutter) 1rem; transform: translateY(-120%); transition: transform .22s ease; }
  .nav.is-open .nav__list { transform: translateY(0); }
  .nav__list li { padding: .6rem 0; border-bottom: 1px solid var(--border); }
}

/* ============ Footer ============ */
.site-footer { background: var(--ink); color: #cfd6d2; padding-block: clamp(2.5rem, 6vw, 4rem); }
.site-footer a { color: #cfd6d2; }
.site-footer a:hover { color: var(--white); }
.site-footer .brand img { height: 30px; filter: brightness(0) invert(1); }
.footer__grid { display: grid; gap: 2rem; grid-template-columns: 1.5fr 1fr 1fr; }
@media (max-width: 640px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__title { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; color: #8b968f; margin-bottom: .75rem; }
.footer__bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid #263029; font-size: .85rem; color: #8b968f; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }

/* ============ Hero ============ */
.hero { padding-block: clamp(3.5rem, 9vw, 7rem); background: linear-gradient(180deg, var(--gray-50), var(--white)); border-bottom: 1px solid var(--border); }
.hero__grid { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: 1.1fr .9fr; align-items: center; }
@media (max-width: 860px) { .hero__grid { grid-template-columns: 1fr; } }
.hero__media img { border-radius: var(--radius); border: 1px solid var(--border); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.hero__actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.5rem; }

/* ============ Media/text split ============ */
.split { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); grid-template-columns: 1fr 1fr; align-items: center; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }
.split img { border-radius: var(--radius); border: 1px solid var(--border); object-fit: cover; width: 100%; aspect-ratio: 4/3; }

/* ============ CTA band ============ */
.cta { background: var(--emerald); color: var(--white); border-radius: var(--radius); padding: clamp(2rem, 5vw, 3.5rem); text-align: center; }
.cta h2 { color: var(--white); }
.cta .btn--ghost { color: var(--white); border-color: rgba(255,255,255,.5); }
.cta .btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,.1); }

/* ============ Page hero (interior pages) ============ */
.page-hero { background: var(--gray-50); border-bottom: 1px solid var(--border); padding-block: clamp(3rem, 7vw, 5rem); }

/* ============ Product group ============ */
.prod-group { margin-top: 2.5rem; }
.prod-group__label { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1.25rem; }
.prod-group__label span { flex: 1; height: 1px; background: var(--border); }

/* ============ Pillars ============ */
.pillar { display: flex; gap: 1rem; }
.pillar__num { font-family: var(--font-head); font-weight: 700; color: var(--accent); font-size: 1.1rem; min-width: 2ch; }

/* ============ Contact ============ */
.contact-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.contact-card .label { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; color: var(--muted); margin-bottom: .25rem; }
.placeholder-note { background: #fff8e6; border: 1px solid #f2e2b3; border-radius: var(--radius); padding: 1rem 1.25rem; font-size: .9rem; color: #6b5d2f; }

/* ============ Reveal ============ */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
