/* ============================================================
   Vendio — marketplace operations
   Voice: operating partner. Paper, ledger rules, bottle green.
   Type: Archivo variable (wdth 62–125), heavy display contrast.
   ============================================================ */

:root {
  color-scheme: light;
  --paper: oklch(96.5% 0.012 90);
  --paper-deep: oklch(93.5% 0.016 92);
  --ink: oklch(24% 0.02 150);
  --ink-soft: oklch(38% 0.02 150);
  --ink-mute: oklch(48% 0.018 145);
  --green: oklch(33% 0.065 155);
  --green-deep: oklch(26% 0.055 155);
  --green-line: oklch(45% 0.06 155);
  --cream: oklch(95% 0.02 95);
  --cream-mute: oklch(85% 0.03 100);
  --amber: oklch(70% 0.14 70);
  --amber-deep: oklch(56% 0.13 60);
  --line: oklch(78% 0.02 110);
  --line-soft: oklch(86% 0.015 105);
  --error: oklch(50% 0.19 28);
  --ok: oklch(45% 0.1 155);

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(1.25rem, 4.5vw, 4.5rem);
  --measure: 62ch;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

::selection { background: var(--amber); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--amber-deep);
  outline-offset: 3px;
}

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

.skip-link {
  position: fixed; top: 0.75rem; left: 0.75rem; z-index: 100;
  padding: 0.6rem 1rem; background: var(--ink); color: var(--paper);
  font-weight: 600; text-decoration: none;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

/* ---------- type scale ---------- */

h1, h2, h3 {
  font-stretch: 112%;
  line-height: 1.04;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.6rem, 6.2vw, 4.9rem);
  font-weight: 750;
}

h2 {
  font-size: clamp(1.9rem, 3.8vw, 3.1rem);
  font-weight: 720;
  max-width: 24ch;
}

h3 { font-weight: 680; }

/* uppercase ruled label, the document voice */
.section-label {
  display: flex; align-items: baseline; gap: 0.75rem;
  font-size: 0.8rem; font-weight: 640;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--ink-mute);
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}
.section-label span {
  font-stretch: 112%; font-weight: 800; font-size: 1rem;
  color: var(--amber-deep);
  font-variant-numeric: tabular-nums;
}
.section-label::after {
  content: ""; flex: 1; height: 1px;
  background: var(--line); transform: translateY(-0.3em);
}
.section-label-light { color: var(--cream-mute); }
.section-label-light span { color: var(--amber); }
.section-label-light::after { background: var(--green-line); }

.section-head { margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-sub {
  margin-top: 1.1rem; max-width: var(--measure);
  color: var(--ink-soft); font-size: 1.0625rem;
}
.marketplaces .section-sub { color: var(--cream-mute); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.35rem;
  font: inherit; font-weight: 640; font-size: 0.95rem;
  text-decoration: none; cursor: pointer;
  border: 1.5px solid var(--ink);
  border-radius: 2px;
  transition: background-color 0.18s var(--ease-out), color 0.18s var(--ease-out);
}
.btn-lg { padding: 0.95rem 1.75rem; font-size: 1rem; }
.btn-solid { background: var(--ink); color: var(--paper); }
.btn-solid:hover { background: var(--green); border-color: var(--green); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--paper-deep); }
.btn-light {
  background: var(--cream); color: var(--green-deep);
  border-color: var(--cream);
}
.btn-light:hover { background: var(--amber); border-color: var(--amber); color: var(--ink); }

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 2rem;
  padding: 0.9rem var(--gutter);
  background: color-mix(in oklch, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease-out);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.brand {
  display: inline-flex; align-items: center; gap: 0.65rem;
  text-decoration: none;
}
.brand-mark { width: 2rem; height: 2rem; }
.brand-mark rect { fill: var(--green); }
.brand-mark path {
  fill: none; stroke: var(--cream);
  stroke-width: 5; stroke-linecap: square;
}
.brand-word {
  font-stretch: 112%; font-weight: 780; font-size: 1.25rem;
  letter-spacing: -0.01em;
}
.brand-light .brand-mark rect { fill: var(--cream); }
.brand-light .brand-mark path { stroke: var(--green-deep); }
.brand-light .brand-word { color: var(--cream); }

.desktop-nav {
  display: flex; gap: clamp(1rem, 2.5vw, 2.25rem);
  margin-inline: auto;
}
.desktop-nav a {
  display: inline-flex; align-items: baseline; gap: 0.4rem;
  font-size: 0.92rem; font-weight: 600; text-decoration: none;
  color: var(--ink-soft);
}
.desktop-nav a span {
  font-size: 0.7rem; font-weight: 700;
  color: var(--amber-deep);
  font-variant-numeric: tabular-nums;
}
.desktop-nav a:hover { color: var(--ink); }

.menu-toggle {
  display: none;
  margin-left: auto;
  flex-direction: column; gap: 5px;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: none; border: 1.5px solid var(--ink); border-radius: 2px;
  cursor: pointer;
}
.menu-toggle span:not(.sr-only) {
  width: 18px; height: 2px; background: var(--ink);
}

.mobile-nav[hidden] { display: none; }

.mobile-nav {
  position: sticky; top: 64px; z-index: 49;
  display: flex; flex-direction: column; gap: 0.25rem;
  padding: 1rem var(--gutter) 1.5rem;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.mobile-nav a {
  padding: 0.65rem 0; text-decoration: none;
  font-weight: 620; font-size: 1.1rem;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-nav .btn { margin-top: 1rem; }

/* ---------- hero ---------- */

.hero { padding: clamp(2.5rem, 6vw, 5.5rem) var(--gutter) 0; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
}

.hero-eyebrow {
  font-size: 0.8rem; font-weight: 640;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--amber-deep);
  margin-bottom: 1.4rem;
}

.hero-lead {
  margin-top: 1.5rem;
  max-width: var(--measure);
  font-size: clamp(1.1rem, 1.6vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex; flex-wrap: wrap; gap: 0.85rem;
  margin-top: 2.25rem;
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
}

.hero-figure { position: relative; }
.hero-figure img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
  border: 1px solid var(--line);
}
.hero-figure figcaption {
  padding: 0.6rem 0.15rem;
  font-size: 0.78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--ink-mute);
  border-bottom: 1px solid var(--line);
}

/* spec strip: the four vetting answers */
.spec-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--ink);
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}
.spec-strip > div {
  padding: 1.1rem 1.25rem 1.2rem 0;
}
.spec-strip > div + div {
  border-left: 1px solid var(--line);
  padding-left: 1.25rem;
}
.spec-strip dt {
  font-size: 0.72rem; font-weight: 680;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--amber-deep);
  margin-bottom: 0.3rem;
}
.spec-strip dd { font-weight: 620; font-size: 0.98rem; line-height: 1.35; }

/* ---------- 01 model ---------- */

.model { padding: clamp(4rem, 9vw, 8rem) var(--gutter) 0; }

.model-body {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 5rem);
}

.model-lead {
  font-size: clamp(1.15rem, 1.7vw, 1.35rem);
  font-weight: 560; line-height: 1.5;
  max-width: var(--measure);
}
.model-copy p + p {
  margin-top: 1.25rem;
  color: var(--ink-soft);
  max-width: var(--measure);
}

.model-points { list-style: none; }
.model-points li {
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}
.model-points li:last-child { border-bottom: 1px solid var(--line); }
.model-points strong {
  display: block; font-weight: 680; font-size: 1.05rem;
  margin-bottom: 0.25rem;
}
.model-points span { color: var(--ink-soft); font-size: 0.97rem; }

/* ---------- 02 services: ledger index ---------- */

.services { padding: clamp(4.5rem, 10vw, 9rem) var(--gutter) 0; }

.service-index {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}
.service-index li {
  padding: clamp(1.4rem, 2.5vw, 2rem);
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  transition: background-color 0.2s var(--ease-out);
}
.service-index li:hover { background: var(--paper-deep); }

.service-no {
  display: block;
  font-size: 0.78rem; font-weight: 720;
  letter-spacing: 0.1em;
  color: var(--amber-deep);
  font-variant-numeric: tabular-nums;
  margin-bottom: 1.6rem;
}
.service-index h3 { font-size: 1.35rem; margin-bottom: 0.6rem; }
.service-index p { color: var(--ink-soft); font-size: 0.98rem; max-width: 48ch; }
.service-tags {
  margin-top: 1.1rem;
  font-size: 0.82rem; font-weight: 620;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ink-mute);
}

/* ---------- 03 marketplaces: green drench ---------- */

.marketplaces {
  margin-top: clamp(4.5rem, 10vw, 9rem);
  background: var(--green);
  color: var(--cream);
}
.marketplaces-inner {
  padding: clamp(3.5rem, 8vw, 7rem) var(--gutter);
}
.marketplaces h2 { color: var(--cream); }

/* world map: its own block right after the hero */
.coverage { padding: clamp(3rem, 7vw, 6rem) var(--gutter) 0; }
.world-map { display: block; width: 100%; height: auto; }
.wm-land circle { fill: var(--line); opacity: 0.6; }
.wm-halo { fill: color-mix(in oklch, var(--amber) 30%, transparent); }
.wm-dot { fill: var(--amber-deep); stroke: var(--paper); stroke-width: 1.5; }
.wm-leader { stroke: var(--ink-mute); stroke-width: 1; stroke-dasharray: 2 3; }
.wm-point text {
  fill: var(--ink);
  font-family: var(--font);
  font-size: 17px; font-weight: 680;
  letter-spacing: 0.01em;
  paint-order: stroke;
  stroke: var(--paper);
  stroke-width: 5px;
  stroke-linejoin: round;
}
.map-note {
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
  font-size: 0.82rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--ink-mute);
}

.region-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 5rem);
}
.region h3 {
  font-size: 0.85rem; font-weight: 680;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--amber);
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--green-line);
}
.region ul { list-style: none; }
.region li {
  display: grid;
  grid-template-columns: minmax(11ch, auto) 1fr;
  gap: 1.5rem; align-items: baseline;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--green-line);
}
.region strong {
  font-stretch: 108%; font-weight: 700; font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.region span { color: var(--cream-mute); font-size: 0.95rem; line-height: 1.45; }

.marketplaces-figure {
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.marketplaces-figure img {
  width: 100%; aspect-ratio: 16 / 7; object-fit: cover;
  border: 1px solid var(--green-line);
}
.marketplaces-figure figcaption {
  padding: 0.6rem 0.15rem;
  font-size: 0.78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--cream-mute);
  border-bottom: 1px solid var(--green-line);
}

/* 3D parcel: a slowly turning shipping carton */
.parcel-stage {
  margin-top: clamp(2rem, 4vw, 3rem);
  display: flex; align-items: center; justify-content: center;
  min-height: 240px;
  perspective: 900px;
}
.parcel {
  position: relative;
  width: 170px; height: 130px;
  transform-style: preserve-3d;
  animation: parcel-turn 26s linear infinite;
}
.parcel-face {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 0.4rem;
  background: oklch(80% 0.045 85);
  border: 1.5px solid oklch(60% 0.05 80);
  color: var(--green-deep);
}
.parcel-face b {
  font-stretch: 112%; font-weight: 800; font-size: 1.15rem;
  letter-spacing: -0.01em; text-transform: lowercase;
}
.parcel-face i {
  font-style: normal; font-size: 0.62rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.16em;
}
/* kraft tape stripe */
.parcel-front::before, .parcel-back::before, .parcel-top::before {
  content: ""; position: absolute; top: 0; bottom: 0;
  left: calc(50% - 14px); width: 28px;
  background: oklch(74% 0.05 80);
  z-index: -1;
}
.parcel-front  { transform: translateZ(85px); }
.parcel-back   { transform: rotateY(180deg) translateZ(85px); }
.parcel-left   { width: 170px; transform: rotateY(-90deg) translateZ(85px); }
.parcel-right  { width: 170px; transform: rotateY(90deg) translateZ(85px); }
.parcel-top    { height: 170px; top: -20px; transform: rotateX(90deg) translateZ(65px); }
.parcel-bottom { height: 170px; top: -20px; transform: rotateX(-90deg) translateZ(65px); }

@keyframes parcel-turn {
  from { transform: rotateX(-12deg) rotateY(0deg); }
  to   { transform: rotateX(-12deg) rotateY(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .parcel { animation: none; transform: rotateX(-12deg) rotateY(-24deg); }
}

.marketplaces-foot {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 1.5rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.marketplaces-foot p {
  max-width: 52ch; font-size: 0.92rem; color: var(--cream-mute);
}

/* ---------- 04 process ---------- */

.process { padding: clamp(4.5rem, 10vw, 9rem) var(--gutter) 0; }

.process-track {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  counter-reset: step;
}
.process-track li {
  counter-increment: step;
  padding-top: 1.1rem;
  border-top: 2px solid var(--ink);
  position: relative;
}
.process-track li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; top: 1.1rem; right: 0;
  font-stretch: 112%; font-weight: 800;
  font-size: 1rem;
  color: var(--line);
}
.process-when {
  display: inline-block;
  font-size: 0.75rem; font-weight: 680;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--amber-deep);
  margin-bottom: 0.9rem;
}
.process-track h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.process-track p { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- full-width image band ---------- */

.band {
  margin-top: clamp(4.5rem, 10vw, 9rem);
}
.band img {
  width: 100%; aspect-ratio: 21 / 8; object-fit: cover;
}
.band figcaption {
  padding: 0.6rem var(--gutter);
  font-size: 0.78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--ink-mute);
  border-bottom: 1px solid var(--line);
}

/* ---------- 05 reporting: paper brief ---------- */

.reporting {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
  padding: clamp(4.5rem, 10vw, 9rem) var(--gutter) 0;
}

.reporting-copy > p {
  margin-top: 1.25rem; max-width: var(--measure);
  color: var(--ink-soft);
}
.reporting-points {
  list-style: none;
  margin-top: 2rem;
}
.reporting-points li {
  padding: 0.8rem 0 0.8rem 1.6rem;
  border-top: 1px solid var(--line);
  position: relative;
  font-weight: 560;
}
.reporting-points li:last-child { border-bottom: 1px solid var(--line); }
.reporting-points li::before {
  content: ""; position: absolute; left: 0.15rem; top: 1.35rem;
  width: 0.55rem; height: 0.55rem;
  background: var(--amber);
}

/* the brief itself: a document, not a dashboard */
.brief {
  background: var(--cream);
  border: 1px solid var(--ink);
  box-shadow: 8px 8px 0 var(--paper-deep), 8px 8px 0 1px var(--line);
}
.brief-head {
  padding: 1.4rem 1.75rem;
  border-bottom: 2px solid var(--ink);
  display: flex; flex-wrap: wrap; align-items: baseline;
  justify-content: space-between; gap: 0.5rem;
}
.brief-title {
  font-stretch: 112%; font-weight: 760; font-size: 1.2rem;
  letter-spacing: -0.01em;
}
.brief-meta {
  font-size: 0.78rem; font-weight: 620;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--ink-mute);
}
.brief-section {
  padding: 1.15rem 1.75rem;
  border-bottom: 1px solid var(--line);
}
.brief-section:last-child { border-bottom: 0; }
.brief-section h3 {
  font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--amber-deep);
  margin-bottom: 0.45rem;
}
.brief-section p { font-size: 0.97rem; line-height: 1.5; }

/* small document chart inside the brief */
.brief-chart { margin-top: 0.9rem; }
.brief-chart svg {
  display: block; width: 100%; height: 96px;
  border-bottom: 1px solid var(--line);
}
.bc-grid { stroke: var(--line-soft); stroke-width: 1; }
.bc-plan {
  stroke: var(--ink-mute); stroke-width: 1.5;
  stroke-dasharray: 5 5; fill: none;
}
.bc-line {
  stroke: var(--green); stroke-width: 2.5; fill: none;
  stroke-linecap: round;
}
.bc-area { fill: color-mix(in oklch, var(--green) 12%, transparent); }
.bc-dot { fill: var(--amber-deep); }
.brief-chart-legend {
  display: flex; align-items: center; gap: 1.1rem;
  padding-top: 0.5rem;
  font-size: 0.75rem; font-weight: 620;
}
.brief-chart-legend em {
  margin-left: auto; font-style: normal;
  text-transform: uppercase; letter-spacing: 0.1em;
  font-size: 0.68rem; color: var(--ink-mute);
}
.bc-key {
  display: inline-block; width: 16px; height: 0;
  margin-right: 0.4rem; vertical-align: middle;
}
.bc-key-line { border-top: 2.5px solid var(--green); }
.bc-key-plan { border-top: 1.5px dashed var(--ink-mute); }
.brief-section ul { list-style: none; }
.brief-section li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.45rem 0; font-size: 0.95rem;
  border-top: 1px dashed var(--line);
}
.brief-section li:first-child { border-top: 0; }
.brief-section em {
  font-style: normal; font-size: 0.8rem; font-weight: 660;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ink-mute); white-space: nowrap;
}

/* ---------- contact ---------- */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  padding: clamp(4.5rem, 10vw, 9rem) var(--gutter) clamp(4rem, 8vw, 7rem);
}
.contact-copy > p {
  margin-top: 1.25rem; max-width: var(--measure);
  color: var(--ink-soft);
}
.contact-expect { list-style: none; margin-top: 1.75rem; }
.contact-expect li {
  padding: 0.7rem 0 0.7rem 1.6rem;
  border-top: 1px solid var(--line);
  position: relative; font-weight: 560;
}
.contact-expect li:last-child { border-bottom: 1px solid var(--line); }
.contact-expect li::before {
  content: ""; position: absolute; left: 0.15rem; top: 1.25rem;
  width: 0.55rem; height: 0.55rem;
  background: var(--amber);
}

.contact-figure {
  margin-top: clamp(2rem, 4vw, 3rem);
  max-width: 34rem;
}
.contact-figure img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border: 1px solid var(--line);
}
.contact-figure figcaption {
  padding: 0.6rem 0.15rem;
  font-size: 0.78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--ink-mute);
  border-bottom: 1px solid var(--line);
}

.contact-form {
  display: grid; gap: 1.4rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--paper-deep);
  border: 1px solid var(--ink);
  align-self: start;
}
.field { display: grid; gap: 0.4rem; }
.field label {
  font-size: 0.8rem; font-weight: 680;
  text-transform: uppercase; letter-spacing: 0.12em;
}
.field input {
  font: inherit; padding: 0.8rem 0.95rem;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 2px;
  color: var(--ink);
}
.field input::placeholder { color: var(--ink-mute); }
.field input:focus-visible { outline-offset: 0; border-color: var(--ink); }
.field input[aria-invalid="true"] { border-color: var(--error); }
.field-error { color: var(--error); font-size: 0.85rem; font-weight: 600; min-height: 1em; }
.form-status { font-weight: 620; font-size: 0.95rem; }
.form-status.is-error { color: var(--error); }
.form-status.is-ok { color: var(--ok); }

/* ---------- footer ---------- */

.site-footer {
  background: var(--green-deep);
  color: var(--cream);
  padding: clamp(2.5rem, 5vw, 4rem) var(--gutter) 2rem;
}
.footer-top {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 1.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--green-line);
}
.footer-top p { max-width: 44ch; color: var(--cream-mute); font-size: 0.95rem; }
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 1rem;
  padding-top: 1.5rem;
}
.footer-bottom small { color: var(--cream-mute); font-size: 0.82rem; max-width: 60ch; }
.footer-bottom a { color: var(--cream); font-weight: 640; }

/* ---------- reveal motion ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; }
}

/* ---------- responsive ---------- */

@media (max-width: 1024px) {
  .hero-grid, .model-body, .reporting, .contact { grid-template-columns: 1fr; }
  .hero-figure { max-width: 34rem; }
  .spec-strip { grid-template-columns: 1fr 1fr; }
  .spec-strip > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .spec-strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .region-grid { grid-template-columns: 1fr; }
  .process-track { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
}

@media (max-width: 720px) {
  .desktop-nav, .header-cta { display: none; }
  .menu-toggle { display: flex; }

  .service-index { grid-template-columns: 1fr; }
  .process-track { grid-template-columns: 1fr; }
  .spec-strip { grid-template-columns: 1fr; }
  .spec-strip > div { border-left: 0 !important; padding-left: 0 !important; }
  .spec-strip > div + div { border-top: 1px solid var(--line); }
  .spec-strip > div:nth-child(-n+2) { border-bottom: 0; }
  .region li { grid-template-columns: 1fr; gap: 0.15rem; }
}

@media (min-width: 721px) {
  .mobile-nav { display: none !important; }
}
