/* ==========================================================================
   SOILAG Trading — design system
   Palette: white · dark green · charcoal · black, with a single wheat accent.
   Type: Inter (display + body) · IBM Plex Mono (data, codes, labels)
   ========================================================================== */

:root {
  --ink: #05100C;
  --green-950: #04170F;
  --green-900: #072B20;
  --green-800: #0B3A2B;
  --green-700: #11513B;
  --green-500: #2F7A5D;
  --green-300: #7FBBA1;
  --charcoal: #2C3330;
  --charcoal-soft: #5A6360;
  --paper: #FFFFFF;
  --paper-2: #F1F3EF;
  --paper-3: #E4E8E2;
  --wheat: #C9A44C;
  --wheat-soft: #E8D6A8;

  --line-dark: rgba(255, 255, 255, 0.15);
  --line-dark-soft: rgba(255, 255, 255, 0.08);
  --line-light: rgba(5, 16, 12, 0.14);
  --line-light-soft: rgba(5, 16, 12, 0.07);

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --shell: 1320px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(72px, 9.5vw, 152px);
  --radius: 3px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ------------------------------------------------------------------ reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "cv05" 1, "ss01" 1;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.033em; line-height: 1.03; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--wheat); outline-offset: 3px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--wheat); color: var(--ink); padding: 12px 20px;
  font: 600 13px/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase;
}
.skip:focus { left: 12px; top: 12px; }

/* ------------------------------------------------------------ typography */
.h-display { font-size: clamp(36px, 6.1vw, 82px); letter-spacing: -0.04em; line-height: 0.99; }
.h-1 { font-size: clamp(32px, 4.6vw, 60px); letter-spacing: -0.035em; line-height: 1.04; }
.h-2 { font-size: clamp(26px, 3.2vw, 42px); letter-spacing: -0.03em; line-height: 1.08; }
.h-3 { font-size: clamp(20px, 1.7vw, 25px); letter-spacing: -0.02em; line-height: 1.2; }
.lead { font-size: clamp(17px, 1.35vw, 21px); line-height: 1.55; color: var(--charcoal-soft); }
.body-lg { font-size: clamp(16px, 1.15vw, 18.5px); line-height: 1.68; }
.muted { color: var(--charcoal-soft); }

.mono {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 450;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--charcoal-soft);
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; background: var(--wheat);
  transform: rotate(45deg); flex: none;
}

/* --------------------------------------------------------------- surfaces */
.section { padding: var(--section-y) 0; position: relative; }
.section--tight { padding: clamp(52px, 6vw, 96px) 0; }
.section--dark { background: var(--green-900); color: var(--paper); }
.section--deep { background: var(--green-950); color: var(--paper); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--paper2 { background: var(--paper-2); }
.section--dark .lead,
.section--deep .lead,
.section--ink .lead { color: rgba(255, 255, 255, 0.66); }
.section--dark .eyebrow,
.section--deep .eyebrow,
.section--ink .eyebrow { color: rgba(255, 255, 255, 0.6); }
.section--dark .muted,
.section--deep .muted,
.section--ink .muted { color: rgba(255, 255, 255, 0.6); }

.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 var(--gutter); }
.rule { height: 1px; background: var(--line-light); border: 0; margin: 0; }
.section--dark .rule, .section--deep .rule, .section--ink .rule { background: var(--line-dark); }

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 26px; border-radius: var(--radius);
  font-size: 15px; font-weight: 550; letter-spacing: -0.01em;
  border: 1px solid transparent; background: transparent; color: inherit;
  transition: background 0.4s var(--ease), color 0.4s var(--ease),
              border-color 0.4s var(--ease), transform 0.4s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn .arw { transition: transform 0.4s var(--ease-out); }
.btn:hover .arw { transform: translateX(5px); }

.btn--primary { background: var(--wheat); color: var(--ink); border-color: var(--wheat); }
.btn--primary:hover { background: var(--wheat-soft); border-color: var(--wheat-soft); }
.btn--ghost { border-color: var(--line-dark); color: var(--paper); }
.btn--ghost:hover { border-color: var(--paper); background: rgba(255, 255, 255, 0.06); }
.btn--dark { background: var(--green-900); color: var(--paper); border-color: var(--green-900); }
.btn--dark:hover { background: var(--green-700); border-color: var(--green-700); }
.btn--outline { border-color: var(--line-light); color: var(--ink); }
.btn--outline:hover { border-color: var(--ink); background: var(--paper-2); }
.btn--sm { padding: 11px 18px; font-size: 14px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.13em;
  text-transform: uppercase; padding-bottom: 6px;
  border-bottom: 1px solid currentColor; color: inherit;
  transition: gap 0.35s var(--ease-out), opacity 0.3s;
}
.link-arrow:hover { gap: 16px; }

/* ---------------------------------------------------------------- header */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  color: var(--paper);
  transition: background 0.45s var(--ease), border-color 0.45s var(--ease),
              backdrop-filter 0.45s var(--ease);
  border-bottom: 1px solid transparent;
}
.top__inner {
  display: flex; align-items: center; gap: clamp(16px, 3vw, 48px);
  height: 78px;
}
.top.is-stuck {
  background: rgba(7, 43, 32, 0.9);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line-dark-soft);
}
.top.is-solid { background: var(--green-900); }
.top.is-solid.is-stuck { background: rgba(7, 43, 32, 0.94); }

.brand { display: flex; align-items: baseline; gap: 10px; flex: none; }
.brand__mark {
  font-size: 21px; font-weight: 650; letter-spacing: -0.03em; color: var(--paper);
}
.brand__mark em { font-style: normal; color: var(--wheat); }
.brand__tag {
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.22em;
  text-transform: uppercase; color: rgba(255, 255, 255, 0.5);
}

.nav { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 30px); margin-left: auto; }
.nav a {
  font-size: 14.5px; font-weight: 450; color: rgba(255, 255, 255, 0.78);
  padding: 6px 0; position: relative; transition: color 0.3s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--wheat); transition: width 0.4s var(--ease-out);
}
.nav a:hover { color: var(--paper); }
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }
.nav a[aria-current="page"] { color: var(--paper); }

.top__side { display: flex; align-items: center; gap: 14px; flex: none; }
.lang {
  display: flex; align-items: center; gap: 2px;
  border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 3px;
}
.lang__opt {
  display: flex; align-items: center; gap: 8px; padding: 5px 9px; border-radius: 2px;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
}
.lang__opt:hover { color: var(--paper); background: rgba(255, 255, 255, 0.08); }
.lang__opt.is-on { color: var(--paper); background: rgba(255, 255, 255, 0.14); }
.lang__flag {
  width: 20px; height: 14px; border-radius: 1.5px; flex: none; display: block;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22);
  filter: saturate(0.85);
  transition: filter 0.3s var(--ease);
}
.lang__opt:hover .lang__flag, .lang__opt.is-on .lang__flag { filter: saturate(1); }
/* fuera del estado activo la bandera se atenúa, para no competir con el dorado */
.lang__opt:not(.is-on) .lang__flag { opacity: 0.62; }
.lang__opt:hover .lang__flag { opacity: 1; }

.lang--drawer { display: none; }

.burger {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line-dark);
  border-radius: var(--radius); background: transparent; position: relative;
}
.burger span {
  position: absolute; left: 11px; width: 18px; height: 1.5px; background: var(--paper);
  transition: transform 0.4s var(--ease-out), opacity 0.25s;
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 24px; }
body.menu-open .burger span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.drawer {
  position: fixed; inset: 0; z-index: 99; background: var(--green-950);
  padding: 110px var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 4px;
  transform: translateY(-100%); transition: transform 0.6s var(--ease-out);
  overflow-y: auto;
}
body.menu-open .drawer { transform: translateY(0); }
.drawer a {
  color: var(--paper); font-size: clamp(26px, 7vw, 38px); font-weight: 550;
  letter-spacing: -0.03em; padding: 12px 0; border-bottom: 1px solid var(--line-dark-soft);
}
.drawer .drawer__meta { margin-top: 28px; color: rgba(255, 255, 255, 0.6); }
.drawer__cta { display: none; margin-top: 22px; gap: 12px; flex-direction: column; }
.drawer__cta .btn { font-size: 15px; justify-content: center; padding: 15px 22px; }
.drawer__cta .btn--primary { border-bottom-color: var(--wheat); }
.drawer__cta .btn--ghost { border-bottom-color: var(--line-dark); }

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column;
  justify-content: flex-end; background: var(--green-950); color: var(--paper);
  overflow: hidden; padding-top: 120px;
}
.hero--inner { min-height: clamp(460px, 62vh, 640px); }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }
.hero__media video { object-position: 26% center; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(4, 23, 15, 0.95) 6%, rgba(4, 23, 15, 0.34) 52%, rgba(4, 23, 15, 0.62) 100%),
    linear-gradient(to right, rgba(4, 23, 15, 0.82), rgba(4, 23, 15, 0.06) 72%);
}
.hero__body { position: relative; z-index: 1; padding-bottom: clamp(40px, 6vw, 84px); }
.hero__title { max-width: 24ch; margin: 24px 0 0; }
.hero__title .ln { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero__title .ln > span { display: block; }
.hero__sub { max-width: 54ch; margin-top: 26px; color: rgba(255, 255, 255, 0.75); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

/* signature: the manifest strip — live origin → destination pairs */
.manifest {
  position: relative; z-index: 1; border-top: 1px solid var(--line-dark);
  background: rgba(4, 23, 15, 0.72); backdrop-filter: blur(6px);
  overflow: hidden; height: 46px; display: flex; align-items: center;
}
.manifest__track { display: flex; gap: 0; white-space: nowrap; will-change: transform; animation: slide 48s linear infinite; }
.manifest:hover .manifest__track { animation-play-state: paused; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.manifest__track > div { display: flex; }
.manifest__item {
  display: inline-flex; align-items: center; gap: 10px; padding: 0 26px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.15em;
  text-transform: uppercase; color: rgba(255, 255, 255, 0.62);
  border-right: 1px solid var(--line-dark-soft);
}
.manifest__item b { color: var(--paper); font-weight: 500; }
.manifest__item i { color: var(--wheat); font-style: normal; }

.scroll-hint {
  position: absolute; right: var(--gutter); bottom: clamp(58px, 7vw, 100px); z-index: 2;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(255, 255, 255, 0.55);
}
.scroll-hint::after {
  content: ""; width: 1px; height: 44px;
  background: linear-gradient(to bottom, var(--wheat), transparent);
  animation: drop 2.4s var(--ease) infinite;
  transform-origin: top;
}
@keyframes drop { 0% { transform: scaleY(0); } 45% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ----------------------------------------------------------------- intro */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stack-24 > * + * { margin-top: 24px; }
.stack-16 > * + * { margin-top: 16px; }
.measure { max-width: 62ch; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line-light); border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.section--dark .stats, .section--deep .stats, .section--ink .stats { background: var(--line-dark); border-color: var(--line-dark); }
.stat { background: var(--paper); padding: 30px 4px 30px 0; }
.section--dark .stat { background: var(--green-900); }
.section--deep .stat { background: var(--green-950); }
.section--paper2 .stat { background: var(--paper-2); }
.stat__n { font-family: var(--font-mono); font-size: clamp(30px, 3.6vw, 46px); font-weight: 400; letter-spacing: -0.02em; line-height: 1; }
.stat__l { margin-top: 12px; font-size: 13.5px; color: var(--charcoal-soft); max-width: 20ch; }
.section--dark .stat__l, .section--deep .stat__l { color: rgba(255, 255, 255, 0.6); }

/* ------------------------------------------------------------ categories */
.cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.cat {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius);
  background: var(--green-800); aspect-ratio: 3 / 4; color: var(--paper);
  isolation: isolate;
}
.cat__media { position: absolute; inset: 0; }
.cat__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.cat:hover .cat__media img { transform: scale(1.06); }
.cat::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(4, 23, 15, 0.93) 14%, rgba(4, 23, 15, 0.14) 64%, rgba(4, 23, 15, 0.38));
  transition: opacity 0.5s var(--ease);
}
.cat:hover::after { opacity: 0.86; }
.cat__body { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(16px, 1.5vw, 24px); }
.cat__hs { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; color: var(--wheat); }
.cat__name { font-size: clamp(18px, 1.5vw, 23px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.1; }
.cat__short { margin-top: 10px; font-size: 13.5px; line-height: 1.45; color: rgba(255, 255, 255, 0.72); max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.55s var(--ease-out), opacity 0.4s var(--ease); }
.cat:hover .cat__short, .cat:focus-visible .cat__short { max-height: 90px; opacity: 1; }
.cat__line { margin-top: 16px; height: 1px; background: var(--line-dark); position: relative; }
.cat__line::after { content: ""; position: absolute; left: 0; top: 0; height: 1px; width: 0; background: var(--wheat); transition: width 0.6s var(--ease-out); }
.cat:hover .cat__line::after { width: 100%; }

/* --------------------------------------------------------------- process */
.process { border-top: 1px solid var(--line-dark); }
.step {
  display: grid; grid-template-columns: 88px minmax(0, 1fr) minmax(0, 1.35fr);
  gap: clamp(16px, 3vw, 48px); padding: clamp(22px, 2.4vw, 34px) 0;
  border-bottom: 1px solid var(--line-dark); align-items: start;
  transition: background 0.5s var(--ease); position: relative;
}
.step::before {
  content: ""; position: absolute; left: -20px; right: -20px; top: 0; bottom: 0;
  background: rgba(255, 255, 255, 0.035); opacity: 0; transition: opacity 0.45s var(--ease); z-index: -1;
}
.step:hover::before { opacity: 1; }
.step__n { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; color: var(--wheat); padding-top: 6px; }
.step__t { font-size: clamp(19px, 1.6vw, 24px); font-weight: 550; letter-spacing: -0.025em; }
.step__d { font-size: 15.5px; line-height: 1.6; color: rgba(255, 255, 255, 0.64); }

/* ------------------------------------------------------------------- why */
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); }
.why { background: var(--paper); padding: clamp(26px, 2.6vw, 42px); transition: background 0.45s var(--ease); }
.section--paper2 .why { background: var(--paper-2); }
.why:hover { background: var(--green-900); color: var(--paper); }
.why:hover .why__d { color: rgba(255, 255, 255, 0.68); }
.why:hover .icon { color: var(--wheat); }
.why .icon { width: 26px; height: 26px; color: var(--green-700); transition: color 0.4s var(--ease); }
.why__t { margin-top: 24px; font-size: 18.5px; font-weight: 600; letter-spacing: -0.022em; }
.why__d { margin-top: 10px; font-size: 15px; line-height: 1.58; color: var(--charcoal-soft); transition: color 0.4s var(--ease); }

/* -------------------------------------------------------------- services */
.svc { display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 56px); padding: clamp(30px, 3.4vw, 52px) 0; border-bottom: 1px solid var(--line-light); align-items: start; }
.svc .icon { width: 30px; height: 30px; color: var(--green-700); }
.svc__t { font-size: clamp(21px, 2vw, 29px); font-weight: 600; letter-spacing: -0.028em; }
.svc__d { margin-top: 14px; font-size: 16px; line-height: 1.65; color: var(--charcoal-soft); }
.tick { display: flex; align-items: flex-start; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line-light-soft); font-size: 14.5px; }
.tick:first-child { border-top: 0; }
.tick::before { content: ""; margin-top: 8px; width: 6px; height: 6px; background: var(--wheat); transform: rotate(45deg); flex: none; }

/* ---------------------------------------------------------- page heading */
.phead { background: var(--green-900); color: var(--paper); padding: 140px 0 clamp(48px, 5vw, 78px); position: relative; overflow: hidden; }
.phead--media { padding-top: 190px; padding-bottom: clamp(60px, 6vw, 104px); min-height: 54vh; display: flex; align-items: flex-end; }
.phead__media { position: absolute; inset: 0; }
.phead__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.78; }
.phead__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(4, 23, 15, 0.94) 8%, rgba(4, 23, 15, 0.42) 70%, rgba(4, 23, 15, 0.6)),
    linear-gradient(to right, rgba(4, 23, 15, 0.78), rgba(4, 23, 15, 0.05) 68%); }
.phead__inner { position: relative; z-index: 1; width: 100%; }
.phead h1 { margin-top: 22px; max-width: 24ch; }
.phead .lead { margin-top: 22px; max-width: 62ch; color: rgba(255, 255, 255, 0.7); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.13em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
.crumbs a:hover { color: var(--paper); }
.crumbs span { color: var(--wheat); }

/* ------------------------------------------------------------ product UI */
.prod-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.pcard { display: flex; flex-direction: column; border: 1px solid var(--line-light); border-radius: var(--radius); overflow: hidden; background: var(--paper); transition: border-color 0.4s var(--ease), transform 0.5s var(--ease); }
.pcard:hover { border-color: var(--green-700); transform: translateY(-4px); }
.pcard__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--green-800); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.pcard:hover .pcard__media img { transform: scale(1.05); }
.pcard__body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pcard__hs { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; color: var(--charcoal-soft); }
.pcard__t { font-size: 20px; font-weight: 600; letter-spacing: -0.025em; }
.pcard__s { font-size: 14.5px; line-height: 1.55; color: var(--charcoal-soft); }
.pcard__go { margin-top: auto; padding-top: 16px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--green-700); display: flex; align-items: center; gap: 8px; }
.pcard:hover .pcard__go { gap: 13px; }
.pcard__go { transition: gap 0.35s var(--ease-out); }

/* spec sheet — the product page signature */
.sheet { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 5vw, 80px); align-items: start; }
.sheet__block + .sheet__block { margin-top: clamp(40px, 4vw, 64px); }
.sheet__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--charcoal-soft); padding-bottom: 14px; border-bottom: 1px solid var(--ink); display: block; }
.specs { border-bottom: 1px solid var(--line-light); }
.spec-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line-light-soft); font-size: 15px; }
.spec-row:last-child { border-bottom: 0; }
.spec-row dt { color: var(--charcoal-soft); }
.spec-row dd { margin: 0; font-family: var(--font-mono); font-size: 13.5px; letter-spacing: 0.01em; }
.note { margin-top: 18px; font-size: 13px; line-height: 1.55; color: var(--charcoal-soft); max-width: 68ch; }

.aside { position: sticky; top: 100px; border: 1px solid var(--line-light); border-radius: var(--radius); overflow: hidden; }
.aside__top { background: var(--green-900); color: var(--paper); padding: 26px; }
.aside__top .h-3 { margin-top: 8px; }
.aside__rows { padding: 6px 26px 26px; }
.aside__row { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line-light-soft); font-size: 14px; }
.aside__row span:first-child { color: var(--charcoal-soft); }
.aside__row span:last-child { font-family: var(--font-mono); font-size: 12.5px; text-align: right; }
.aside__cta { padding: 0 26px 26px; display: grid; gap: 10px; }
.aside__cta .btn { justify-content: center; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; border: 1px solid var(--line-light); padding: 7px 12px; border-radius: var(--radius); color: var(--charcoal-soft); transition: border-color 0.3s, color 0.3s; }
a.chip:hover { border-color: var(--green-700); color: var(--green-700); }
.section--dark .chip, .section--deep .chip { border-color: var(--line-dark); color: rgba(255, 255, 255, 0.7); }
.chip--on { background: var(--green-900); border-color: var(--green-900); color: var(--paper); }

/* -------------------------------------------------------------- about UI */
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); }
.person__media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--green-800); border-radius: var(--radius); }
.person__media img { width: 100%; height: 100%; object-fit: cover; }
.person__name { margin-top: 24px; font-size: clamp(22px, 2vw, 28px); font-weight: 600; letter-spacing: -0.028em; }
.person__role { margin-top: 8px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--wheat); }
.person__bio { margin-top: 18px; font-size: 15.5px; line-height: 1.65; color: rgba(255, 255, 255, 0.68); }
.person__bio p + p { margin-top: 14px; }

.value { padding: 26px 0; border-top: 1px solid var(--line-light); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(16px, 3vw, 44px); }
.value__t { font-size: 19px; font-weight: 600; letter-spacing: -0.022em; }
.value__d { font-size: 15.5px; line-height: 1.6; color: var(--charcoal-soft); }

/* ----------------------------------------------------------- insights UI */
.art-list { border-top: 1px solid var(--line-light); }
.art {
  display: grid; grid-template-columns: 240px minmax(0, 1fr) 190px;
  gap: clamp(20px, 3vw, 52px); padding: clamp(22px, 2.4vw, 34px) 0;
  border-bottom: 1px solid var(--line-light); align-items: center;
}
.art__media { aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius); background: var(--green-800); }
.art__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.art:hover .art__media img { transform: scale(1.06); }
.art__t { font-size: clamp(20px, 1.9vw, 27px); font-weight: 600; letter-spacing: -0.028em; line-height: 1.15; }
.art__e { margin-top: 12px; font-size: 15px; line-height: 1.6; color: var(--charcoal-soft); max-width: 60ch; }
.art__meta { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--charcoal-soft); display: grid; gap: 8px; }

.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(22px, 2.1vw, 30px); margin-top: 48px; letter-spacing: -0.028em; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-top: 18px; font-size: 17.5px; line-height: 1.72; color: #23302B; }

/* ------------------------------------------------------------------ form */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--charcoal-soft); display: flex; gap: 6px; }
.field label i { color: var(--wheat); font-style: normal; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--ink); background: transparent;
  border: 0; border-bottom: 1px solid var(--line-light); padding: 11px 0;
  border-radius: 0; transition: border-color 0.35s var(--ease);
  width: 100%; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235A6360' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 2px center; background-size: 12px;
  padding-right: 24px;
}
.field textarea { resize: vertical; min-height: 108px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--green-700); }
.field.is-bad input, .field.is-bad select, .field.is-bad textarea { border-bottom-color: #B4462F; }
.field__err { font-size: 12.5px; color: #B4462F; display: none; }
.field.is-bad .field__err { display: block; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; justify-content: space-between; padding-top: 6px; }
.form__msg { font-size: 14.5px; padding: 14px 18px; border-radius: var(--radius); display: none; grid-column: 1 / -1; }
.form__msg.is-ok { display: block; background: rgba(17, 81, 59, 0.08); color: var(--green-700); border: 1px solid rgba(17, 81, 59, 0.24); }
.form__msg.is-bad { display: block; background: rgba(180, 70, 47, 0.07); color: #8E3722; border: 1px solid rgba(180, 70, 47, 0.25); }

.contact-block { display: grid; gap: 14px; padding: 26px 0; border-top: 1px solid var(--line-light); }
.contact-block dt { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--charcoal-soft); }
.contact-block dd { margin: 0; font-size: 16.5px; }
.map { border: 0; width: 100%; height: 260px; border-radius: var(--radius); filter: grayscale(1) contrast(1.05); transition: filter 0.5s var(--ease); }
.map:hover { filter: grayscale(0); }

/* ---------------------------------------------------------------- footer */
.foot { background: var(--ink); color: var(--paper); padding: clamp(56px, 6vw, 90px) 0 34px; }
.foot__top { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); }
.foot h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); font-weight: 500; margin-bottom: 18px; }
.foot li + li { margin-top: 11px; }
.foot a { color: rgba(255, 255, 255, 0.76); font-size: 15px; transition: color 0.3s; }
.foot a:hover { color: var(--wheat); }
.foot__brand .brand__mark { font-size: 26px; }
.foot__desc { margin-top: 18px; font-size: 14.5px; line-height: 1.6; color: rgba(255, 255, 255, 0.55); max-width: 34ch; }
.foot__bottom { margin-top: clamp(40px, 5vw, 64px); padding-top: 22px; border-top: 1px solid var(--line-dark-soft); display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.42); }

.cta-band { background: var(--green-950); color: var(--paper); }
.cta-band .h-1 { max-width: 18ch; }

/* --------------------------------------------------------------- reveals */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal-delay="4"] { transition-delay: 0.32s; }
[data-reveal-delay="5"] { transition-delay: 0.4s; }

.hero__title .ln > span { transform: translateY(105%); transition: transform 1.05s var(--ease-out); }
.hero.is-ready .hero__title .ln:nth-child(1) > span { transition-delay: 0.15s; }
.hero.is-ready .hero__title .ln:nth-child(2) > span { transition-delay: 0.27s; }
.hero.is-ready .hero__title .ln > span { transform: translateY(0); }
.hero__eyebrow, .hero__sub, .hero__actions { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.hero.is-ready .hero__eyebrow { opacity: 1; transform: none; transition-delay: 0.05s; }
.hero.is-ready .hero__sub { opacity: 1; transform: none; transition-delay: 0.45s; }
.hero.is-ready .hero__actions { opacity: 1; transform: none; transition-delay: 0.58s; }
.hero__media img, .hero__media video { transform: scale(1.09); transition: transform 2.4s var(--ease-out); }
.hero.is-ready .hero__media img, .hero.is-ready .hero__media video { transform: scale(1); }

/* scroll-drawn trade route */
.route { width: 100%; height: auto; }
.route .line { stroke-dasharray: 1; stroke-dashoffset: 1; }
.route .dot { opacity: 0; transition: opacity 0.5s var(--ease); }
.route.is-in .dot { opacity: 1; }

/* -------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sheet { grid-template-columns: minmax(0, 1fr); }
  .aside { position: static; }
  .foot__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .burger { display: block; }
  .top__side > .btn { display: none; }
  .drawer__cta { display: flex; }
  .lang--drawer {
    display: flex; margin-top: 26px; padding: 4px; align-self: flex-start;
    border-color: var(--line-dark);
  }
  .lang--drawer .lang__opt { padding: 9px 14px; font-size: 13px; letter-spacing: 0.06em; }
  .lang--drawer .lang__flag { width: 24px; height: 17px; }
  .split, .split--even { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step { grid-template-columns: 44px minmax(0, 1fr); }
  .step__d { grid-column: 2; }
  .svc { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .art { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .art__meta { flex-direction: row; display: flex; gap: 18px; }
  .people { grid-template-columns: minmax(0, 1fr); }
  .value { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .form { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-top: 100px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .cat-grid, .prod-grid, .why-grid { grid-template-columns: minmax(0, 1fr); }
  .cat { aspect-ratio: 4 / 3; }
  .cat__short { max-height: 90px; opacity: 1; }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .foot__top { grid-template-columns: minmax(0, 1fr); }
  .spec-row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .top__inner { height: 68px; }
  .top__side > .lang .lang__opt span { display: none; }
  .top__side > .lang .lang__opt { padding: 6px 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero__title .ln > span { transform: none; }
  .hero__eyebrow, .hero__sub, .hero__actions { opacity: 1; transform: none; }
  .hero__media img, .hero__media video { transform: none; }
  .manifest__track { transform: none !important; }
}

@media print {
  .top, .drawer, .manifest, .cta-band, .foot { display: none; }
  body { color: #000; }
}
