/* ==========================================================================
   AGRICULTE FZCO — style.css
   Warm editorial atelier: cream paper · charcoal ink · one ember-orange dot
   ========================================================================== */

:root {
  /* Colors */
  --cream: #e4dfd9;
  --linen: #ebe7e1;
  --sand: #ddd6cc;
  --paper-2: #f4f1ec;
  --white: #ffffff;
  --ink: #050505;
  --black: #000000;
  --graphite: #171717;
  --graphite-2: #232323;
  --iron: #4b4b4b;
  --slate: #737373;
  --stone: #999694;
  --pewter: #666666;
  --fog: #c7c7c7;
  --ember: #ff6a1f;

  /* Section theme (overridden by [data-theme], see below) */
  --page: var(--cream);
  --line: var(--fog);

  /* Type */
  --display: "Hanken Grotesk", "Inter", ui-sans-serif, system-ui, sans-serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --brand: "Montserrat", var(--sans);

  /* Layout */
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(88px, 11vw, 150px);
  --nav-h: 76px;

  /* Shapes */
  --r-card: 20px;
  --r-input: 12px;
  --r-btn: 8px;
  --r-pill: 9999px;
  --shadow: 0 6px 27px rgba(0, 0, 0, .07);
  --shadow-lift: 0 14px 36px rgba(0, 0, 0, .1);

  /* Motion */
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --ease-color: cubic-bezier(.45, 0, .25, 1);
}

/* ---------- Section themes ----------
   Each part of the page has its own warm neutral. Sections carry their theme and <html>
   takes the theme of the section on screen, so the paper eases from one tone to the next. */
[data-theme="home"]    { --page: #e4dfd9; }
[data-theme="linen"]   { --page: #ebe7e1; }
[data-theme="sand"]    { --page: #ddd6cc; }
[data-theme="contact"] { --page: #e4dfd9; }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page);
  transition: background-color 1.1s var(--ease-color);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, fieldset, legend { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
em { font-style: normal; }
::selection { background: var(--graphite); color: var(--white); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
[data-dark] :focus-visible, .hero :focus-visible { outline-color: var(--white); }
[tabindex="-1"]:focus { outline: none; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nowrap { white-space: nowrap; }
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 10001;
  padding: 10px 18px; border-radius: var(--r-btn);
  background: var(--graphite); color: var(--white); font-weight: 500;
  transform: translateY(-160%); transition: transform .4s var(--ease);
}
.skip-link:focus { transform: none; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Lenis ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }

/* ---------- Typography ---------- */
.hero__title,
.title,
.statement,
.step__title,
.expand__quote,
.product__name,
.feature__title,
.contact__heading,
.form__title,
.menu__nav a,
.footer__word,
.curtain__label {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.title, .expand__quote, .hero__title { text-wrap: balance; }
.statement, .lead, .step__desc p, .feature__text { text-wrap: pretty; }

.title { font-size: clamp(30px, 3.3vw, 46px); line-height: 1.1; color: var(--ink); }
.title em { color: var(--slate); }
[data-dark] .title { color: var(--white); }
[data-dark] .title em { color: rgba(255, 255, 255, .5); }

.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font: 500 14px/1.2 var(--sans); letter-spacing: -0.01em; color: var(--slate);
}
.kicker__num { color: var(--ink); font-variant-numeric: tabular-nums; }
.kicker__num::after { content: ""; display: inline-block; width: 28px; height: 1px; margin-left: 12px; vertical-align: middle; background: currentColor; opacity: .35; }
.kicker--light, [data-dark] .kicker { color: rgba(255, 255, 255, .62); }
.kicker--light .kicker__num, [data-dark] .kicker__num { color: var(--white); }

.lead { max-width: 34em; font-size: 19px; line-height: 1.5; letter-spacing: -0.02em; color: var(--slate); }
[data-dark] .lead { color: rgba(255, 255, 255, .66); }

.link {
  background: linear-gradient(currentColor, currentColor) 100% 100% / 0% 1px no-repeat;
  padding-bottom: 1px;
  transition: background-size .5s var(--ease);
}
.link:hover, .link:focus-visible { background-position: 0% 100%; background-size: 100% 1px; }

.text-link {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 15px/1.3 var(--sans); color: var(--ink);
}
.text-link span { padding-bottom: 2px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; }
.text-link svg { width: 16px; height: 16px; transition: transform .5s var(--ease); }
.text-link:hover span { animation: redraw .8s var(--ease); }
.text-link:hover svg { transform: translateX(5px); }
@keyframes redraw {
  0%   { background-size: 100% 1px; background-position: 100% 100%; }
  45%  { background-size: 0% 1px;   background-position: 100% 100%; }
  46%  { background-size: 0% 1px;   background-position: 0 100%; }
  100% { background-size: 100% 1px; background-position: 0 100%; }
}

.ember { display: inline-block; color: var(--ember); }

/* Live status (ember dot) */
.status {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 12px; border-radius: var(--r-pill);
  border: 1px solid var(--line); background: var(--white);
  font: 500 14px/1.2 var(--sans); color: var(--ink);
}
.status--light {
  border-color: rgba(255, 255, 255, .24); background: rgba(255, 255, 255, .1); color: var(--white);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.status__dot, .hub__live, .cross__dot { position: relative; flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--ember); }
.status__dot::after, .hub__live::after, .cross__dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: inherit; animation: ping 2.2s var(--ease) infinite;
}
@keyframes ping { 0% { transform: scale(1); opacity: .75; } 100% { transform: scale(3.2); opacity: 0; } }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 10px 18px;
  border-radius: var(--r-btn);
  font: 500 15px/1 var(--sans); letter-spacing: -0.01em; white-space: nowrap;
  transition: background-color .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn__text { display: block; height: 1.25em; overflow: hidden; line-height: 1.25; }
.btn__text > span { display: block; text-shadow: 0 1.25em 0 currentColor; transition: transform .55s var(--ease); }
.btn__icon { display: grid; place-items: center; }
.btn__icon svg { width: 16px; height: 16px; transition: transform .55s var(--ease); }
@media (hover: hover) {
  .btn:hover .btn__text > span { transform: translateY(-1.25em); }
  .btn:hover .btn__icon svg { transform: translateX(4px); }
}
.btn--dark { background: var(--graphite); color: var(--white); box-shadow: var(--shadow); }
.btn--dark:hover { background: #2b2b2b; }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: #f1eee9; }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.btn--lg { min-height: 52px; padding: 12px 22px; font-size: 16px; }
.btn.is-loading { pointer-events: none; opacity: .7; }

/* Tag chips */
.tag {
  display: inline-flex; align-items: center;
  padding: 10px 16px; border-radius: var(--r-pill);
  border: 1px solid var(--fog); background: var(--white);
  font: 500 14px/1 var(--sans); letter-spacing: -0.01em; color: var(--ink);
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.tag:hover { border-color: var(--ink); }
.tag--light { border-color: rgba(255, 255, 255, .34); background: rgba(255, 255, 255, .08); color: var(--white); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.tag--light:hover { background: var(--white); border-color: var(--white); color: var(--ink); }

/* ---------- Preloader ---------- */
.loader { position: fixed; inset: 0; z-index: 1000; display: none; }
.js .loader { display: block; }
.no-motion .loader { display: none; }
.loader__panel { position: absolute; inset: 0; background: var(--cream); }
.loader__content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
}
.loader__logo { width: clamp(170px, 18vw, 230px); height: auto; }
.loader__tag { color: var(--slate); text-align: center; }
.js .loader__logo, .js .loader__tag { opacity: 0; }
.loader__meter { position: relative; width: 160px; height: 1px; margin-top: 10px; overflow: hidden; background: rgba(0, 0, 0, .12); }
.loader__bar { position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: 0 50%; }
.loader__count { font: 500 13px/1 var(--sans); color: var(--slate); font-variant-numeric: tabular-nums; }

/* ---------- Language curtain ---------- */
.curtain { position: fixed; inset: 0; z-index: 990; visibility: hidden; pointer-events: none; }
.curtain.is-active { visibility: visible; pointer-events: all; }
.curtain__panel { position: absolute; inset: 0; }
.curtain__panel--cream { background: var(--cream); }
.curtain__panel--ink { display: grid; place-items: center; background: var(--graphite); }
.curtain__label { font-size: clamp(40px, 6vw, 88px); line-height: 1; color: var(--white); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; transition: transform .75s var(--ease); }
.site-header.is-hidden { transform: translateY(calc((var(--nav-h) + 6px) * -1)); }

.nav {
  position: relative; height: var(--nav-h);
  color: var(--white);
  border-bottom: 1px solid transparent;
  transition: background-color .5s var(--ease-color), color .5s var(--ease-color), border-color .5s var(--ease-color);
}
.nav__inner { height: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; }
.nav__links { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 2.2vw, 34px); }
.nav__link { position: relative; display: block; height: 1.4em; overflow: hidden; font-size: 15px; font-weight: 500; line-height: 1.4; white-space: nowrap; }
.nav__link span { display: block; text-shadow: 0 1.4em 0 currentColor; transition: transform .55s var(--ease); }
.nav__link:hover span, .nav__link:focus-visible span { transform: translateY(-1.4em); }
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--ease);
}
.nav__link.is-active::after { transform: scaleX(1); }
.nav__right { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.nav__progress {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: currentColor; opacity: .5; transform: scaleX(0); transform-origin: 0 50%;
}

.logo { position: relative; display: inline-flex; align-items: center; flex-shrink: 0; }
.logo__img { display: block; width: auto; height: 42px; transition: opacity .5s var(--ease-color); }
.logo__img--ink { position: absolute; left: 0; top: 50%; transform: translateY(-50%); opacity: 0; }

/* Language pill toggle */
.lang {
  position: relative; display: inline-flex; flex-shrink: 0; gap: 2px; padding: 3px;
  border-radius: var(--r-input); background: rgba(255, 255, 255, .14);
  transition: background-color .5s var(--ease-color);
}
.lang::before {
  content: ""; position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 4px);
  border-radius: 9px; background: var(--white); box-shadow: var(--shadow);
  transition: transform .55s var(--ease);
}
html[lang="en"] .lang::before { transform: translateX(calc(100% + 2px)); }
.lang__btn {
  position: relative; z-index: 1; width: 42px; height: 32px; border-radius: 9px;
  font: 600 12.5px/1 var(--sans); letter-spacing: .04em;
  color: rgba(255, 255, 255, .72); transition: color .4s var(--ease);
}
.lang__btn:hover { color: var(--white); }
html[lang="fr"] .lang__btn[data-set-lang="fr"],
html[lang="en"] .lang__btn[data-set-lang="en"] { color: var(--ink); }

.nav__cta { background: var(--white); color: var(--ink); box-shadow: none; }
.nav__cta:hover { background: #f1eee9; }

.burger {
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  width: 44px; height: 44px; border-radius: var(--r-btn); background: rgba(255, 255, 255, .14);
}
.burger span { display: block; width: 18px; height: 1.5px; border-radius: 2px; background: currentColor; transition: transform .6s var(--ease); }
.burger.is-open span:first-child { transform: translateY(3.75px) rotate(45deg); }
.burger.is-open span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* Solid header (past the hero, or while the menu is open) */
.site-header.is-solid .nav,
.menu-open .site-header .nav {
  background: rgba(228, 223, 217, .88); color: var(--ink); border-bottom-color: rgba(0, 0, 0, .08);
  -webkit-backdrop-filter: saturate(1.2) blur(14px); backdrop-filter: saturate(1.2) blur(14px);
}
.site-header.is-solid .logo__img--white, .menu-open .site-header .logo__img--white { opacity: 0; }
.site-header.is-solid .logo__img--ink, .menu-open .site-header .logo__img--ink { opacity: 1; }
.site-header.is-solid .lang, .menu-open .site-header .lang { background: rgba(0, 0, 0, .06); }
.site-header.is-solid .lang__btn, .menu-open .site-header .lang__btn { color: var(--slate); }
.site-header.is-solid .lang__btn:hover, .menu-open .site-header .lang__btn:hover { color: var(--ink); }
html[lang="fr"] .site-header.is-solid .lang__btn[data-set-lang="fr"],
html[lang="en"] .site-header.is-solid .lang__btn[data-set-lang="en"],
html.menu-open[lang="fr"] .site-header .lang__btn[data-set-lang="fr"],
html.menu-open[lang="en"] .site-header .lang__btn[data-set-lang="en"] { color: var(--ink); }
.site-header.is-solid .nav__cta { background: var(--graphite); color: var(--white); box-shadow: var(--shadow); }
.site-header.is-solid .nav__cta:hover { background: #2b2b2b; }
.site-header.is-solid .burger, .menu-open .site-header .burger { background: rgba(0, 0, 0, .06); }

/* ---------- Mobile menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 90;
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  padding: calc(var(--nav-h) + 32px) var(--gutter) 32px;
  background: var(--cream); color: var(--ink);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .8s var(--ease-io), visibility 0s linear .8s;
}
.menu.is-open { clip-path: inset(0 0 0% 0); visibility: visible; transition: clip-path .8s var(--ease-io), visibility 0s; }
.menu__nav { display: flex; flex-direction: column; }
.menu__nav a {
  display: block; overflow: hidden; padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, .1);
  font-size: clamp(32px, 8.5vw, 52px); line-height: 1.12;
}
.menu__nav a span { display: block; transform: translateY(105%); transition: transform .7s var(--ease), color .35s; }
.menu.is-open .menu__nav a span { transform: none; transition-delay: calc(.25s + var(--i) * .05s), 0s; }
.menu__nav a:hover span { color: var(--slate); }
.menu__foot { display: flex; justify-content: space-between; gap: 20px; font-size: 14px; line-height: 1.5; color: var(--slate); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 640px; height: 100vh; height: 100svh;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); background: var(--page);
}
.hero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; clip-path: inset(0% 0% 0% 0% round 0px); background: var(--graphite); }
.hero__slides { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; margin: 0; overflow: hidden; visibility: hidden; }
.hero__slide.is-active { visibility: visible; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; filter: saturate(.92) contrast(1.06); }

/* Slide progress: one bar per photo, the current one fills up */
.hero__dots { position: absolute; left: max(var(--gutter), calc((100vw - var(--container)) / 2)); bottom: 34px; z-index: 2; display: flex; gap: 6px; }
.hero__dot { position: relative; width: 44px; height: 18px; }
.hero__dot::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; border-radius: 2px; background: rgba(255, 255, 255, .28); transition: background-color .3s; }
.hero__dot:hover::before { background: rgba(255, 255, 255, .5); }
.hero__dot i { position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; border-radius: 2px; background: var(--white); transform: scaleX(0); transform-origin: 0 50%; }
.no-motion .hero__dot.is-active i { transform: none; }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 65% 55% at 50% 55%, rgba(12, 9, 6, .5), transparent 75%),
    linear-gradient(180deg, rgba(12, 9, 6, .55) 0%, rgba(12, 9, 6, .18) 30%, rgba(12, 9, 6, .3) 65%, rgba(12, 9, 6, .78) 100%);
}
.hero__content {
  width: 100%; max-width: 900px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: calc(var(--nav-h) + 32px) var(--gutter) 128px;
}
.hero__title { margin-top: 26px; font-size: clamp(42px, 6.3vw, 78px); line-height: 1.06; }
html[lang="fr"] .hero__title { font-size: clamp(38px, 5.4vw, 72px); }
.hero__l2 { white-space: nowrap; }
.hero__lead { max-width: 32em; margin-top: 22px; font-size: 19px; line-height: 1.45; letter-spacing: -0.02em; color: rgba(255, 255, 255, .88); }

/* Search: "what are you looking for?" → prepares the quote request */
.search {
  position: relative; display: flex; align-items: center; gap: 10px;
  width: min(600px, 100%); height: 62px; margin-top: 36px; padding: 0 9px 0 18px;
  border-radius: var(--r-input); background: var(--white); color: var(--ink);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .22);
}
.search__icon { flex-shrink: 0; color: var(--stone); }
.search__icon svg { width: 20px; height: 20px; }
.search__input {
  flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: transparent;
  font: 400 17px/1 var(--sans); letter-spacing: -0.02em; color: var(--ink);
}
.search__ghost {
  position: absolute; left: 50px; right: 64px; top: 50%; transform: translateY(-50%);
  overflow: hidden; white-space: nowrap; text-align: left; pointer-events: none;
  font: 400 17px/1.2 var(--sans); letter-spacing: -0.02em; color: var(--stone);
}
.search__ghost::after { content: ""; display: inline-block; width: 1.5px; height: 1.1em; margin-left: 2px; vertical-align: -0.18em; background: var(--stone); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.search.is-typing .search__ghost, .search:focus-within .search__ghost { visibility: hidden; }
.search:focus-within { box-shadow: 0 18px 40px rgba(0, 0, 0, .22), 0 0 0 3px rgba(255, 255, 255, .35); }
.search__go {
  flex-shrink: 0; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--graphite); color: var(--white);
  transition: background-color .35s var(--ease);
}
.search__go svg { width: 18px; height: 18px; transition: transform .55s var(--ease); }
.search__go:hover { background: var(--black); }
.search__go:hover svg { transform: rotate(-45deg); }
.hero__unsure { margin-top: 14px; font: 500 14px/1.3 var(--sans); color: rgba(255, 255, 255, .86); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0); text-underline-offset: 3px; transition: text-decoration-color .35s; }
.hero__unsure:hover { text-decoration-color: rgba(255, 255, 255, .9); }
.hero__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 26px; }

.hero__scroll {
  position: absolute; left: 0; right: 0; bottom: 24px; width: max-content; margin-inline: auto;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font: 500 13px/1 var(--sans); color: rgba(255, 255, 255, .78);
}
.hero__scroll-line { position: relative; width: 1px; height: 40px; overflow: hidden; background: rgba(255, 255, 255, .28); }
.hero__scroll-line::after {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 45%;
  background: var(--white); animation: scrollLine 2.2s var(--ease-io) infinite;
}
@keyframes scrollLine { from { transform: translateY(-100%); } to { transform: translateY(230%); } }

/* ---------- Company (manifesto) ---------- */
.about { padding: var(--section-y) 0; }
.about__grid {
  display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, .75fr); align-items: center; gap: clamp(32px, 5vw, 80px);
  margin-top: 36px;
}
.statement { font-size: clamp(28px, 3.3vw, 46px); line-height: 1.16; color: var(--ink); }

.about__mark { position: relative; display: grid; justify-items: center; perspective: 1000px; }
.mark3d { position: relative; width: min(100%, 340px); aspect-ratio: 701 / 500; transform-style: preserve-3d; filter: drop-shadow(0 22px 26px rgba(40, 30, 20, .22)) drop-shadow(0 3px 3px rgba(40, 30, 20, .18)); }
.mark3d__metal {
  position: absolute; inset: 0;
  -webkit-mask: url("../img/logo/logo-mark-hd.png") center / contain no-repeat;
  mask: url("../img/logo/logo-mark-hd.png") center / contain no-repeat;
  background: linear-gradient(118deg, #fdfdfd 0%, #a9a7a4 18%, #f2f1ef 30%, #7d7b78 46%, #dcdad6 60%, #8f8d8a 74%, #f7f6f4 88%, #a7a5a1 100%);
  background-size: 240% 240%;
  animation: sheen 9s linear infinite;
}
.about__mark:hover .mark3d__metal { animation-duration: 2.4s; }
@keyframes sheen { 0% { background-position: 0% 30%; } 50% { background-position: 100% 70%; } 100% { background-position: 0% 30%; } }
.mark3d__floor { width: 62%; height: 18px; margin-top: 18px; border-radius: 50%; background: radial-gradient(closest-side, rgba(40, 30, 20, .2), transparent); }

.about__foot {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px);
  margin-top: clamp(56px, 7vw, 96px); padding-top: 36px; border-top: 1px solid rgba(0, 0, 0, .12);
}
.about__intro { display: grid; justify-items: start; align-content: start; gap: 26px; }
.about__text { max-width: 30em; font-size: 19px; line-height: 1.5; letter-spacing: -0.02em; color: var(--slate); }
.facts__title { margin-bottom: 8px; font: 500 14px/1.2 var(--sans); color: var(--slate); }
.facts__list div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(0, 0, 0, .12); }
.facts__list dt { font-size: 14px; line-height: 1.5; color: var(--slate); }
.facts__list dd { font-size: 16px; font-weight: 500; line-height: 1.45; color: var(--ink); }

/* ---------- Section heads ---------- */
.section-head { margin-bottom: clamp(44px, 5vw, 72px); }
.section-head .title { margin-top: 20px; max-width: 18em; }
.section-head--split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 24px 64px; align-items: end; }
.section-head--split .lead { justify-self: end; }
.section-head--center { display: flex; flex-direction: column; align-items: center; text-align: center; }
.section-head--center .lead { margin-top: 18px; }

/* ---------- Products (full-bleed photo cards) ---------- */
.products { padding: var(--section-y) 0; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.product {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  aspect-ratio: 3 / 4; padding: 22px;
  border-radius: var(--r-card); background: var(--graphite); color: var(--white);
}
.product__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.product__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) contrast(1.05) brightness(.92); transition: transform 1.1s var(--ease); }
.product::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(12, 9, 6, .12) 0%, rgba(12, 9, 6, .08) 30%, rgba(12, 9, 6, .6) 58%, rgba(12, 9, 6, .88) 100%);
}
.product__num {
  position: absolute; top: 18px; left: 18px;
  display: grid; place-items: center; min-width: 34px; height: 34px; padding: 0 10px;
  border-radius: var(--r-pill); border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .1); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font: 500 13px/1 var(--sans); font-variant-numeric: tabular-nums;
}
.product__go {
  position: absolute; top: 18px; right: 18px;
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: background-color .45s var(--ease), color .45s var(--ease), border-color .45s, transform .6s var(--ease);
}
.product__go svg { width: 15px; height: 15px; }
.product:hover .product__go, .product:focus-visible .product__go { background: var(--white); border-color: var(--white); color: var(--ink); transform: rotate(-45deg); }
.product__body { display: grid; }
.product__name { margin-bottom: 14px; }
.product__name { font-size: clamp(26px, 2.2vw, 32px); line-height: 1.05; }
.product__spec { display: grid; border-top: 1px solid rgba(255, 255, 255, .24); }
.product__spec div { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 10px; padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.product__spec dt { font: 500 12px/1.4 var(--sans); color: rgba(255, 255, 255, .58); }
.product__spec dd { font: 500 13.5px/1.4 var(--sans); color: var(--white); }
.product__cta {
  display: inline-flex; align-items: center; justify-self: start; gap: 8px;
  margin-top: 16px; padding: 9px 14px; border-radius: var(--r-btn);
  background: var(--white); color: var(--ink);
  font: 500 14px/1 var(--sans);
  transition: opacity .5s var(--ease), transform .6s var(--ease), background-color .3s;
}
.product__cta svg { width: 15px; height: 15px; transition: transform .5s var(--ease); }
/* On pointer devices the button unfolds on hover and lifts the text; on touch it is always shown */
.product__more { display: grid; grid-template-rows: 1fr; }
.product__more-inner { min-height: 0; overflow: hidden; }
@media (hover: hover) {
  .product__more { grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
  .product:hover .product__more, .product:focus-visible .product__more { grid-template-rows: 1fr; }
  .product__cta { opacity: 0; transform: translateY(10px); }
  .product:hover .product__cta, .product:focus-visible .product__cta { opacity: 1; transform: none; }
  .product:hover .product__media img { transform: scale(1.07); }
  .product:hover .product__cta svg { transform: translateX(3px); }
}

/* ---------- Activity (mobile-first: stacked) ---------- */
.promise { padding: var(--section-y) 0; }
.promise__head { margin-bottom: 30px; }
.step { display: grid; gap: 18px; padding: 30px 0 42px; border-top: 1px solid rgba(0, 0, 0, .12); }
.step__title { display: flex; align-items: baseline; gap: 16px; font-size: clamp(32px, 7vw, 48px); line-height: 1.08; color: var(--ink); }
.step__num { position: relative; flex-shrink: 0; font: 500 13px/1 var(--sans); color: var(--slate); transition: color .6s; }
.step__desc p { max-width: 34em; font-size: 17px; line-height: 1.55; color: var(--slate); }
.step__media { order: -1; position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--r-card); background: var(--graphite); }
.step__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: contrast(1.03); }
.step__cap {
  position: absolute; left: 16px; bottom: 16px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: var(--r-pill);
  background: var(--white); box-shadow: var(--shadow);
  font: 500 13px/1 var(--sans); color: var(--ink);
}
.step__cap b { font-weight: 500; color: var(--slate); }
.tags { display: flex; flex-wrap: wrap; row-gap: 6px; margin-top: 20px; }
.tags li { font: 500 13px/1.4 var(--sans); color: var(--ink); }
.tags li + li::before { content: "·"; margin: 0 .7em; color: var(--stone); }
.promise__progress { display: none; }

/* Desktop pinned storytelling (class added by JS) */
.promise.is-pinned { padding: 0; }
.promise.is-pinned .promise__grid {
  position: relative; height: 100vh; height: 100svh;
  display: grid; grid-template-columns: minmax(0, 54%) minmax(0, 1fr);
  grid-template-rows: repeat(5, auto) minmax(170px, auto) auto;
  align-content: center;
  padding-top: calc(var(--nav-h) + 12px); padding-bottom: 20px;
}
.promise.is-pinned .promise__head { grid-column: 1; grid-row: 1; margin-bottom: 18px; }
.promise.is-pinned .step { display: contents; }
.promise.is-pinned [data-step="0"] .step__title { grid-row: 2; }
.promise.is-pinned [data-step="1"] .step__title { grid-row: 3; }
.promise.is-pinned [data-step="2"] .step__title { grid-row: 4; }
.promise.is-pinned [data-step="3"] .step__title { grid-row: 5; }
.promise.is-pinned .step__title {
  grid-column: 1; width: max-content; max-width: 100%;
  font-size: clamp(36px, min(4.6vw, 7.2vh), 70px); line-height: 1.14;
  opacity: .2; cursor: pointer;
  transition: opacity .7s var(--ease), transform .9s var(--ease);
}
.promise.is-pinned .step__title:hover { opacity: .45; }
.promise.is-pinned .step.is-active .step__title { opacity: 1; transform: translateX(18px); }
.promise.is-pinned .step.is-active .step__num { color: var(--ink); }
.promise.is-pinned .step.is-active .step__num::before {
  content: ""; position: absolute; left: -14px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px;
  border-radius: 50%; background: var(--ember);
}
.promise.is-pinned .step__desc { grid-column: 1; grid-row: 6; align-self: start; max-width: 520px; padding-top: 28px; }
.promise.is-pinned .step__media {
  position: absolute; top: 0; bottom: 0; right: var(--gutter); left: calc(54% + 48px);
  height: min(72vh, 720px); margin: auto 0;
  aspect-ratio: auto;
}
.promise.is-pinned .promise__progress { display: flex; grid-column: 1; grid-row: 7; gap: 6px; max-width: 420px; margin-top: 24px; }
.promise__progress span { flex: 1; height: 2px; overflow: hidden; border-radius: 2px; background: rgba(0, 0, 0, .12); }
.promise__progress i { display: block; height: 100%; background: var(--ink); transform: scaleX(0); transform-origin: 0 50%; }

/* ---------- Conviction (full-bleed photo card) ---------- */
.expand { position: relative; overflow: hidden; height: 100vh; height: 100svh; min-height: 560px; color: var(--white); background: var(--page); }
.expand__media { position: absolute; inset: 0; overflow: hidden; background: var(--graphite); }
.expand__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.expand__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 58% 46% at 50% 50%, rgba(18, 12, 6, .5), rgba(18, 12, 6, .14) 72%, transparent 100%),
    linear-gradient(180deg, rgba(18, 12, 6, .18) 0%, rgba(18, 12, 6, .06) 40%, rgba(18, 12, 6, .38) 100%);
}
.expand__content {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; text-align: center;
  width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto;
  padding: 0 var(--gutter);
}
.expand__quote { max-width: 15em; font-size: clamp(34px, 4.6vw, 64px); line-height: 1.06; }
.expand__quote em { color: rgba(255, 255, 255, .74); }
.expand .kicker { color: rgba(255, 255, 255, .88); text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
.expand__quote { text-shadow: 0 2px 24px rgba(0, 0, 0, .18); }

/* ---------- Business model ---------- */
.model { padding: var(--section-y) 0; }

.network {
  position: relative;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(40px, 8vw, 130px);
  padding: 10px 0; margin-bottom: clamp(56px, 7vw, 96px);
}
.network__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.network__svg path { fill: none; stroke: rgba(0, 0, 0, .2); stroke-width: 1.2; transition: stroke .4s, stroke-width .4s; }
.network__svg path.is-hot { stroke: var(--ink); stroke-width: 1.6; }
.network__svg circle { fill: var(--ink); }
.network__col { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; }
.network__col--from { align-items: flex-start; }
.network__col--to { align-items: flex-end; }
.network__label { margin-bottom: 6px; font: 500 14px/1.2 var(--sans); color: var(--slate); }
.node {
  display: inline-flex; align-items: center; gap: 10px; cursor: default;
  padding: 11px 18px 11px 14px; border-radius: var(--r-pill);
  border: 1px solid var(--fog); background: var(--white);
  font: 500 15px/1 var(--sans); letter-spacing: -0.01em; white-space: nowrap;
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s;
}
.node::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); transition: background-color .4s; }
.node:hover, .node.is-hot { background: var(--graphite); border-color: var(--graphite); color: var(--white); }
.node:hover::before, .node.is-hot::before { background: var(--white); }
.network__hub { position: relative; z-index: 1; }
.hub {
  position: relative; display: grid; place-content: center; justify-items: center; text-align: center;
  width: clamp(176px, 16vw, 216px); aspect-ratio: 1; border-radius: 50%;
  border: 1px solid var(--fog); background: var(--white); box-shadow: var(--shadow);
}
.hub::before, .hub::after {
  content: ""; position: absolute; inset: -1px; border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, .14); animation: hubPulse 3.6s var(--ease) infinite;
}
.hub::after { animation-delay: 1.8s; }
@keyframes hubPulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }
.hub__mark {
  width: 60px; aspect-ratio: 701 / 500; margin-bottom: 12px;
  background: var(--ink);
  -webkit-mask: url("../img/logo/logo-mark-hd.png") center / contain no-repeat;
  mask: url("../img/logo/logo-mark-hd.png") center / contain no-repeat;
}
.hub strong { display: block; font: 600 12.5px/1.2 var(--brand); letter-spacing: .12em; }
.hub span { display: block; margin-top: 6px; font: 500 13px/1.3 var(--sans); color: var(--slate); }
.hub__live { position: absolute; top: 22%; right: 20%; }

/* ---------- Feature cards with product-UI mockups ---------- */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature {
  display: flex; flex-direction: column;
  padding: 16px 16px 30px; border-radius: var(--r-card);
  background: var(--white); box-shadow: var(--shadow);
  transition: box-shadow .5s var(--ease);
}
.feature:hover { box-shadow: var(--shadow-lift); }
.feature__mock {
  position: relative; overflow: hidden;
  height: 224px; padding: 18px; border-radius: 14px;
  background: var(--paper-2);
  display: grid; place-items: center;
}
.feature__mock > .mock { transition: transform .7s var(--ease); }
.feature:hover .feature__mock > .mock { transform: translateY(-4px) scale(1.02); }
.feature__title { margin: 26px 16px 0; font-size: 23px; line-height: 1.25; color: var(--ink); }
.feature__text { margin: 10px 16px 0; font-size: 16px; line-height: 1.5; color: var(--slate); }

.mock {
  width: 100%; max-width: 300px;
  font: 500 13px/1.2 var(--sans); letter-spacing: -0.01em; color: var(--ink);
}
.mock__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.mock__title { font-weight: 600; }
.mock__chip { padding: 5px 9px; border-radius: var(--r-pill); border: 1px solid var(--fog); background: var(--white); font: 600 10px/1 var(--brand); letter-spacing: .08em; }
.mock__icon { width: 18px; height: 18px; color: var(--slate); }

/* Offer */
.mock--offer { padding: 16px; border-radius: 12px; background: var(--white); box-shadow: var(--shadow); }
.mock__rows { display: grid; gap: 10px; }
.mock__rows li { display: grid; grid-template-columns: 72px 1fr; align-items: center; gap: 10px; color: var(--slate); font-weight: 500; }
.mock__bar { --p: 1; display: block; height: 7px; border-radius: 4px; background: #ebe8e3; }
.mock__bar::after { content: ""; display: block; width: calc(var(--w) * 100%); height: 100%; border-radius: inherit; background: var(--ink); transform: scaleX(var(--p, 1)); transform-origin: 0 50%; }

/* Contract */
.mock--contract { padding: 16px 16px 14px; border-radius: 12px; background: var(--white); box-shadow: var(--shadow); }
.mock__checks { display: grid; gap: 9px; }
.mock__checks li { display: flex; align-items: center; gap: 10px; }
.mock__check { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: var(--graphite); color: var(--white); }
.mock__check svg { width: 13px; height: 13px; }

/* Incoterm segmented control */
.mock--incoterm { display: grid; gap: 14px; justify-items: center; }
.mock__label { color: var(--slate); }
.mock__seg { position: relative; display: inline-flex; gap: 2px; padding: 4px; border-radius: var(--r-input); background: var(--white); box-shadow: var(--shadow); }
.mock__seg-pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: 52px; border-radius: 9px; background: var(--graphite); }
.mock__opt { position: relative; z-index: 1; width: 52px; padding: 9px 0; text-align: center; font-weight: 600; color: var(--slate); transition: color .35s var(--ease); }
.mock__opt.is-on { color: var(--white); }

/* Crossroads */
.mock--cross { position: relative; height: 160px; }
.cross__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.cross__lines path { fill: none; stroke: rgba(0, 0, 0, .28); stroke-width: 1.2; stroke-dasharray: 3 5; vector-effect: non-scaling-stroke; animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -16; } }
.cross__node {
  position: absolute; transform: translate(-50%, -50%);
  padding: 7px 12px; border-radius: var(--r-pill); border: 1px solid var(--fog); background: var(--white);
  white-space: nowrap; box-shadow: var(--shadow);
}
.cross__node--a { left: 20%; top: 22%; }
.cross__node--b { left: 80%; top: 20%; }
.cross__node--c { left: 83%; top: 82%; }
.cross__center {
  position: absolute; left: 50%; top: 56%; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: var(--r-pill); background: var(--graphite); color: var(--white); font-weight: 600;
}
.cross__center .cross__dot { width: 7px; height: 7px; }

/* Months */
.mock--months { display: grid; gap: 14px; }
.months__row { display: grid; grid-template-columns: 38px 1fr; align-items: center; gap: 10px; }
.months__label { color: var(--slate); }
.months__track {
  position: relative; display: grid; grid-template-columns: repeat(12, 1fr);
  padding: 4px; border-radius: 10px; background: var(--white); box-shadow: var(--shadow);
}
.months__track span { position: relative; z-index: 1; padding: 7px 0; text-align: center; font-size: 11px; font-weight: 600; color: var(--white); mix-blend-mode: difference; }
.months__hl {
  position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / 12 * 3);
  border-radius: 7px; background: var(--graphite);
  animation: harvest 9s var(--ease-io) infinite;
}
.months__row--south .months__hl { animation-delay: -4.5s; }
@keyframes harvest {
  0%, 8%    { transform: translateX(0); }
  25%, 33%  { transform: translateX(100%); }
  50%, 58%  { transform: translateX(200%); }
  75%, 83%  { transform: translateX(300%); }
  100%      { transform: translateX(0); }
}

/* Price chart */
.mock--chart { padding: 16px; border-radius: 12px; background: var(--white); box-shadow: var(--shadow); }
.mock__range { display: inline-flex; gap: 4px; }
.mock__range i { width: 16px; height: 4px; border-radius: 2px; background: #ebe8e3; }
.mock__range i:first-child { background: var(--ink); }
.spark { width: 100%; height: 96px; overflow: visible; }
.spark__area { fill: rgba(0, 0, 0, .05); }
.spark__line { fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.spark__dot { fill: var(--white); stroke: var(--ink); stroke-width: 2; }

/* ---------- Markets ---------- */
.markets { padding: var(--section-y) 0; }

/* ---------- Contact (graphite panel) ---------- */
.contact { padding: 0 clamp(8px, 1.2vw, 16px); }
.contact__panel { padding: var(--section-y) 0; border-radius: 28px; background: var(--graphite); color: var(--white); }
.contact__grid {
  display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 16px; align-items: stretch;
}
.contact__aside {
  display: flex; flex-direction: column; gap: 26px;
  padding: clamp(24px, 3vw, 36px); border-radius: var(--r-card);
  background: var(--graphite-2); border: 1px solid rgba(255, 255, 255, .08);
}
.contact__heading { font-size: 23px; line-height: 1.25; }
.contact__list li {
  display: grid; grid-template-columns: 42px minmax(0, 1fr); align-items: center; gap: 14px;
  padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .1);
}
.contact__list li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .1); }
.contact__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .07); color: var(--white); }
.contact__icon svg { width: 18px; height: 18px; }
.contact__item { display: grid; gap: 6px; min-width: 0; }
.contact__label { font-size: 13px; color: rgba(255, 255, 255, .5); }
.contact__item > :last-child { justify-self: start; font-size: 16.5px; font-weight: 500; line-height: 1.35; overflow-wrap: anywhere; }

/* Map (SVG drawn from Natural Earth data — public domain).
   The square canvas covers the frame like object-fit: cover, so the labels stay on their places. */
.contact__map {
  position: relative; overflow: hidden; isolation: isolate;
  flex: 1 1 auto; min-height: 280px; border-radius: 14px;
  container-type: size;
  background: #0f0f0f;
}
.map__art {
  position: absolute; left: 50%; top: 50%;
  width: max(100cqw, 100cqh); aspect-ratio: 1;
  transform: translate(-50%, -50%);
}
.map__art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__grat { fill: none; stroke: rgba(255, 255, 255, .05); stroke-width: 1; stroke-dasharray: 2 5; }
.map__land { fill: #262626; stroke: rgba(255, 255, 255, .16); stroke-width: .8; stroke-linejoin: round; }
.map__borders { fill: none; stroke: rgba(255, 255, 255, .12); stroke-width: .8; stroke-dasharray: 3 3; }
.map__dj { fill: var(--cream); stroke: var(--white); stroke-width: 1.2; stroke-linejoin: round; }
.map__ring {
  fill: none; stroke: var(--ember); stroke-width: 1.2; opacity: 0;
  transform-box: fill-box; transform-origin: center;
  animation: mapRing 3.2s var(--ease) infinite;
}
.map__ring + .map__ring { animation-delay: 1.6s; }
@keyframes mapRing { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(3); opacity: 0; } }
.map__label { position: absolute; transform: translate(-50%, -50%) rotate(var(--r, 0deg)); white-space: nowrap; pointer-events: none; }
.map__label--region { font: 600 9.5px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: rgba(255, 255, 255, .34); }
.map__label--sea { font: 500 11.5px/1 var(--sans); font-style: italic; color: rgba(255, 255, 255, .42); }
.map__pin {
  position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
  background: var(--ember); box-shadow: 0 0 0 3px rgba(255, 106, 31, .3);
}
.map__city {
  position: absolute; transform: translate(10px, 7px);
  padding: 7px 12px; border-radius: var(--r-pill);
  background: var(--white); color: var(--ink);
  font: 600 11px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase;
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .6);
}
.map__coords { position: absolute; left: 14px; top: 14px; font: 500 11px/1 var(--sans); color: rgba(255, 255, 255, .42); }
@container (max-width: 360px) {
  .map__coords { display: none; }
  .map__city { padding: 6px 10px; font-size: 10px; }
}
.map__link { position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.map__link:focus-visible { outline: 2px solid var(--white); outline-offset: -4px; }
.map__open {
  position: absolute; right: 12px; bottom: 12px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 13px; border-radius: var(--r-btn);
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font: 500 13px/1 var(--sans); color: var(--white);
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s;
}
.map__open svg { width: 14px; height: 14px; transform: rotate(-45deg); transition: transform .5s var(--ease); }
.map__link:hover .map__open { background: var(--white); border-color: var(--white); color: var(--ink); }
.map__link:hover .map__open svg { transform: rotate(-45deg) translateX(3px); }

/* Form (white card) */
.form {
  display: grid; align-content: start; gap: 22px;
  padding: clamp(24px, 3vw, 32px); border-radius: var(--r-card);
  background: var(--white); color: var(--ink); box-shadow: var(--shadow);
}
.form :focus-visible { outline-color: var(--ink); }
.form__title { font-size: 23px; line-height: 1.25; }
.form__legend { margin-bottom: 10px; font: 500 14px/1.3 var(--sans); color: var(--ink); }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 15px; border-radius: var(--r-pill); border: 1px solid var(--fog); background: var(--white);
  font-size: 14px; font-weight: 500; line-height: 1; white-space: nowrap;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.chip span::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1px solid currentColor;
  transition: background-color .3s, border-color .3s, transform .45s var(--ease);
}
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--graphite); border-color: var(--graphite); color: var(--white); }
.chip input:checked + span::before { background: var(--white); border-color: var(--white); transform: scale(1.2); }
.chip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.chips.is-pulse .chip input:checked + span { animation: chipPulse .8s var(--ease); }
@keyframes chipPulse { 0% { box-shadow: 0 0 0 0 rgba(23, 23, 23, .35); } 100% { box-shadow: 0 0 0 12px rgba(23, 23, 23, 0); } }

.field { display: grid; gap: 8px; align-content: start; }
.field label { font: 500 14px/1.3 var(--sans); color: var(--ink); }
.field input, .field textarea {
  width: 100%; height: 48px; padding: 0 14px;
  border: 1px solid var(--fog); border-radius: var(--r-input); outline: none;
  background: var(--white); color: var(--ink);
  font: 400 16px/1.3 var(--sans); letter-spacing: -0.01em;
  transition: border-color .3s, box-shadow .3s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { height: auto; min-height: 120px; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--stone); opacity: 1; }
.field input:hover, .field textarea:hover { border-color: var(--slate); }
.field input:focus, .field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(0, 0, 0, .06); }
.form__foot { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; padding-top: 4px; }
.form__fine { font-size: 13px; color: var(--slate); }
.form__status { min-height: 1.5em; font-size: 15px; color: var(--ink); }
.form__status:empty { display: none; }
.form.is-sent .form__status { padding: 14px 18px; border-radius: 12px; background: var(--paper-2); }

/* ---------- Footer ---------- */
.footer { position: relative; overflow: hidden; padding-top: clamp(72px, 9vw, 120px); color: var(--ink); }
.footer__cols { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1.3fr; gap: 40px; padding-bottom: clamp(48px, 6vw, 72px); }
.brand { display: inline-block; }
.brand__logo { display: block; width: 170px; height: auto; }
.brand-tag { font: 500 10.5px/1.6 var(--brand); letter-spacing: .24em; text-transform: uppercase; }
.footer__brand .brand-tag { margin-top: 18px; color: var(--iron); }
.brand-city { margin-top: 6px; font: 600 10.5px/1 var(--brand); letter-spacing: .3em; text-transform: uppercase; color: var(--slate); }
.footer__col h4 { margin-bottom: 16px; font: 500 14px/1.2 var(--sans); color: var(--slate); }
.footer__col li { font-size: 15px; line-height: 1.5; color: var(--ink); }
.footer__col li + li { margin-top: 10px; }
.footer__word {
  display: flex; justify-content: center; overflow: hidden;
  padding: .04em var(--gutter) .02em;
  font-size: 16vw; line-height: .9; letter-spacing: -0.04em;
  color: var(--ink); user-select: none; -webkit-user-select: none;
}
.footer__word-inner { display: inline-flex; }
.fw { display: inline-block; }
.fw > span { display: inline-block; }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 32px;
  padding-top: 20px; padding-bottom: 26px;
  font-size: 14px; color: var(--slate);
  border-top: 1px solid rgba(0, 0, 0, .12);
}

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .nav__links { gap: 18px; }
  .nav__link { font-size: 14px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product { aspect-ratio: 5 / 4; }
}

@media (max-width: 1180px) {
  .nav__links { display: none; }
  .nav__inner { display: flex; justify-content: space-between; }
  .burger { display: flex; }
  .nav__right { gap: 10px; }
}

@media (max-width: 1100px) {
  .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .contact__aside { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 22px 36px; }
  .contact__map { grid-column: 2; grid-row: 1 / span 2; }
}

@media (max-width: 960px) {
  .section-head--split { grid-template-columns: 1fr; align-items: start; }
  .section-head--split .lead { justify-self: start; }
  .about__grid { grid-template-columns: 1fr; }
  .about__mark { order: -1; justify-items: start; }
  .mark3d { width: min(60%, 260px); }
  .mark3d__floor { width: 40%; margin-left: 5%; }
  .about__foot { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .network { grid-template-columns: 1fr; justify-items: center; gap: 64px; }
  .network__col { flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: center; max-width: 560px; }
  .network__col--from, .network__col--to { align-items: center; }
  .network__label { width: 100%; margin-bottom: 0; text-align: center; }
  .network__col--to .network__label { order: 99; margin-top: 6px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  :root { --nav-h: 66px; }
  .nav__cta { display: none; }
  .logo__img { height: 34px; }
  .hero, .hero__content { height: auto; min-height: 100vh; min-height: 100svh; }
  .hero__content { padding-bottom: 110px; }
  .hero__lead { font-size: 17px; }
  .hero__l2 { white-space: normal; }
  .search { height: 56px; margin-top: 28px; padding-left: 14px; }
  .search__icon { display: none; }
  .search__ghost { left: 16px; right: 60px; font-size: 16px; }
  .search__input { font-size: 16px; }
  .hero__chips { gap: 6px; }
  .tag { padding: 9px 13px; font-size: 13.5px; }
  .lead, .about__text { font-size: 17px; }
  .product-grid { grid-template-columns: 1fr; }
  .product { aspect-ratio: 4 / 5; }
  .hero__dots { left: 50%; bottom: 96px; transform: translateX(-50%); }
  .hero__dot { width: 32px; }
  .facts__list div { grid-template-columns: 1fr; gap: 2px; }
  .feature__mock { height: 212px; }
  .form__row { grid-template-columns: 1fr; }
  .contact__aside { display: flex; }
  .contact__map { flex: none; min-height: 0; aspect-ratio: 4 / 3; }
  .footer__cols { grid-template-columns: 1fr; }
  .menu__foot { flex-direction: column; }
  .node { padding: 10px 15px 10px 12px; font-size: 14px; }
}

/* Small phones (≤ 420px): header, contact card and form must fit without clipping */
@media (max-width: 420px) {
  .nav__inner { gap: 12px; }
  .logo__img { height: 30px; }
  .nav__right { gap: 8px; }
  .lang__btn { width: 38px; }
  .burger { width: 42px; height: 42px; }
  .contact__aside, .form { padding: 22px 18px; }
  .chip span { padding: 9px 12px; font-size: 13.5px; }
  .form__foot .btn { width: 100%; justify-content: space-between; }
}

@media (max-width: 359px) {
  .logo__img { height: 27px; }
  html[lang] .hero__title { font-size: 32px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
