/* ABSHERON-2000 concept: one stylesheet, tokens first. */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(../fonts/archivo-latin-ext-standard-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(../fonts/archivo-latin-standard-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy: #0F2236;
  --navy-deep: #0A1826;
  --navy-line: rgba(169, 182, 195, .22);
  --ink: #15212E;
  --muted: #4E5B67;
  --on-navy: #A9B6C3;
  --paper: #F7F8F6;
  --white: #FFFFFF;
  --line: #D9DEDB;
  --line-strong: #B9C1BD;
  --green: #007A56;
  --green-press: #00684A;
  --green-hi: #3CC79A;
  --mint: #DCF1E8;
  --danger: #B42318;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --wd-display: 112%;

  --fs-display: clamp(2.375rem, 1.5rem + 2.9vw, 4.125rem);
  --fs-h2: clamp(2rem, 1.45rem + 2.1vw, 3.25rem);
  --fs-h3: clamp(1.25rem, 1.1rem + .5vw, 1.55rem);
  --fs-lead: clamp(1.0625rem, 1rem + .3vw, 1.25rem);
  --fs-body: 1.0625rem;
  --fs-small: .9375rem;
  --fs-label: .8125rem;

  --gutter: clamp(20px, 5vw, 64px);
  --max: 1312px;
  --section-y: clamp(80px, 9vw, 144px);
  --header-h: 72px;

  --r-control: 3px;
  --r-image: 2px;

  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  --ease-drawer: cubic-bezier(.32, .72, 0, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  font-feature-settings: "kern", "liga";
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0; font-weight: 640; font-stretch: var(--wd-display); letter-spacing: -.022em; line-height: 1.06; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--green); color: var(--white); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 1px; }
.on-navy :focus-visible, .site-footer :focus-visible { outline-color: var(--green-hi); }
html { scrollbar-color: #9AA6A1 var(--paper); }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 100;
  padding: 10px 16px; background: var(--ink); color: var(--white); text-decoration: none; border-radius: var(--r-control);
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }
.tnum { font-variant-numeric: tabular-nums; }

/* ---------- Buttons and links ---------- */
.btn {
  --bg: var(--green); --fg: var(--white); --bd: var(--green);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  font-size: 1rem; font-weight: 600; letter-spacing: .005em; line-height: 1;
  color: var(--fg); background: var(--bg); border: 1px solid var(--bd); border-radius: var(--r-control);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  touch-action: manipulation; user-select: none; -webkit-user-select: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 140ms var(--ease-out);
}
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform 200ms var(--ease-out); }
.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: var(--line-strong); }
.on-navy .btn--ghost { --fg: var(--white); --bd: rgba(255,255,255,.42); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: .9375rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { --bg: var(--green-press); --bd: var(--green-press); }
  .btn:hover svg { transform: translateX(3px); }
  .btn--ghost:hover { --bg: rgba(21,33,46,.05); --bd: var(--ink); }
  .on-navy .btn--ghost:hover { --bg: rgba(255,255,255,.08); --bd: var(--white); }
}

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--green); font-weight: 600; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 260ms var(--ease-out);
  padding-bottom: 2px;
}
.text-link svg { width: 16px; height: 16px; transition: transform 200ms var(--ease-out); }
.on-navy .text-link { color: var(--green-hi); }
@media (hover: hover) and (pointer: fine) {
  .text-link:hover { background-size: 100% 1px; }
  .text-link:hover svg { transform: translateX(3px); }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 200ms ease;
}
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(255,255,255,.88); backdrop-filter: saturate(1.4) blur(12px); } }
.site-header.is-scrolled { box-shadow: 0 6px 18px -12px rgba(15,34,54,.35); }
.header-inner { display: flex; align-items: center; gap: 32px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); flex: none; }
.brand svg { width: 34px; height: 38px; flex: none; }
.brand-name { font-weight: 720; font-stretch: 116%; font-size: 1.1875rem; letter-spacing: -.01em; line-height: 1; }
.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; gap: 4px; list-style: none; }
.primary-nav a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  font-size: .96875rem; font-weight: 520; color: var(--ink); text-decoration: none; border-radius: var(--r-control);
}
.primary-nav a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px; background: var(--green);
  transform: scaleX(0); transform-origin: left; transition: transform 240ms var(--ease-out);
}
.primary-nav a[aria-current="page"]::after, .primary-nav a.is-active::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) { .primary-nav a:hover::after { transform: scaleX(1); } }
.header-tools { display: flex; align-items: center; gap: 16px; }
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: var(--r-control); padding: 2px; }
.lang-switch a {
  display: inline-grid; place-items: center; min-width: 40px; min-height: 36px; padding: 0 8px; text-decoration: none;
  font-size: .8125rem; font-weight: 640; letter-spacing: .04em; color: var(--muted); border-radius: 2px;
  transition: background-color 160ms ease, color 160ms ease;
}
.lang-switch a[aria-current="true"] { background: var(--navy); color: var(--white); }
@media (hover: hover) and (pointer: fine) { .lang-switch a:not([aria-current]):hover { color: var(--ink); background: rgba(21,33,46,.06); } }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: inline; }
.menu-toggle { display: none; }

@media (max-width: 1100px) {
  .primary-nav a { padding: 0 9px; font-size: .9375rem; }
  .header-inner { gap: 20px; }
}
@media (max-width: 980px) {
  .primary-nav, .header-tools .btn { display: none; }
  .header-tools { margin-left: auto; }
  .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 44px; min-width: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r-control);
    background: var(--white); cursor: pointer; font-weight: 600; font-size: .9375rem; touch-action: manipulation;
    transition: transform 140ms var(--ease-out);
  }
  .menu-toggle:active { transform: scale(.97); }
  .menu-toggle svg { width: 20px; height: 20px; }
}
@media (max-width: 560px) {
  .header-inner { gap: 12px; }
  .header-tools .lang-switch { display: none; }
}
.mobile-menu .lang-switch { margin-bottom: 28px; }
@media (max-width: 420px) {
  .brand-name { font-size: 1.0625rem; }
  .menu-toggle .menu-toggle-label { display: none; }
}

/* Mobile menu drawer */
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 auto 0; z-index: 49;
  max-height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain;
  background: var(--white); border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 40px -24px rgba(15,34,54,.35);
  opacity: 0; transform: translateY(-12px); visibility: hidden; pointer-events: none;
  transition: opacity 160ms ease, transform 160ms var(--ease-out), visibility 0s linear 160ms;
}
.mobile-menu.is-open {
  opacity: 1; transform: none; visibility: visible; pointer-events: auto;
  transition: opacity 240ms var(--ease-drawer), transform 240ms var(--ease-drawer), visibility 0s;
}
.mobile-menu nav ul { list-style: none; padding: 8px 0; }
.mobile-menu nav a {
  display: flex; align-items: center; justify-content: space-between; min-height: 56px;
  font-size: 1.25rem; font-weight: 600; font-stretch: 108%; text-decoration: none; color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.mobile-menu nav a svg { width: 18px; height: 18px; color: var(--green); }
.mobile-menu .mobile-cta { display: grid; gap: 12px; padding: 20px 0 28px; }
.mobile-menu .mobile-cta .btn { width: 100%; }
.mobile-menu .mobile-contact { padding-bottom: 28px; color: var(--muted); font-size: var(--fs-small); display: grid; gap: 4px; }
.mobile-menu .mobile-contact a { color: var(--ink); text-decoration: none; font-weight: 560; }
@media (min-width: 981px) { .mobile-menu { display: none; } }

/* ---------- Hero ---------- */
.on-navy { background: var(--navy); color: var(--white); }
.hero { position: relative; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); align-items: stretch;
  min-height: min(720px, calc(100svh - var(--header-h) - 132px));
}
.hero-copy { padding: clamp(56px, 7vw, 112px) clamp(24px, 4vw, 64px) clamp(48px, 6vw, 88px) 0; display: flex; flex-direction: column; justify-content: center; }
.hero h1 { font-size: var(--fs-display); line-height: 1.03; max-width: 15ch; }
.hero h1 .accent { color: var(--green-hi); }
.hero-rule { width: 64px; height: 3px; background: var(--green-hi); margin: 28px 0 24px; border: 0; }
.hero-lead { font-size: var(--fs-lead); line-height: 1.55; color: #D4DCE4; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-media { position: relative; margin-right: calc(var(--gutter) * -1 - max(0px, (100vw - var(--max) - var(--gutter) * 2) / 2)); background: var(--navy-deep); }
.hero-media picture, .hero-media img { width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 62% 50%; }
.hero-facts { border-top: 1px solid var(--navy-line); }
.hero-facts ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; }
.hero-facts li { padding: 26px 24px 30px; border-left: 1px solid var(--navy-line); }
.hero-facts li:first-child { border-left: 0; padding-left: 0; }
.hero-facts strong { display: block; font-size: 1.0625rem; font-weight: 640; font-stretch: 108%; letter-spacing: -.005em; color: var(--white); margin-bottom: 6px; }
.hero-facts span { display: block; font-size: var(--fs-small); line-height: 1.45; color: var(--on-navy); }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero-copy { padding: 56px 0 40px; }
  .hero h1 { max-width: 14ch; }
  .hero-media { margin-inline: calc(var(--gutter) * -1); aspect-ratio: 16 / 10; }
  .hero-facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-facts li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .hero-facts li:nth-child(n+3) { border-top: 1px solid var(--navy-line); }
}
@media (max-width: 560px) {
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-facts ul { grid-template-columns: minmax(0, 1fr); }
  .hero-facts li { border-left: 0; padding: 20px 0; }
  .hero-facts li + li { border-top: 1px solid var(--navy-line); }
  .hero-media { aspect-ratio: 4 / 3; }
}

/* Hero entrance (runs once; html.js-enter is set before paint) */
@media (prefers-reduced-motion: no-preference) {
  .js-enter .hero [data-enter] { opacity: 0; transform: translateY(14px); }
  .js-enter .hero .hero-media { clip-path: inset(0 0 0 12%); }
  .js-enter .hero .hero-media img { transform: scale(1.06); }
  .is-entered .hero [data-enter] {
    opacity: 1; transform: none;
    transition: opacity 700ms var(--ease-out), transform 800ms var(--ease-out);
    transition-delay: calc(var(--i, 0) * 70ms + 80ms);
  }
  .is-entered .hero .hero-media { clip-path: inset(0 0 0 0); transition: clip-path 1100ms var(--ease-out); }
  .is-entered .hero .hero-media img { transform: none; transition: transform 1400ms var(--ease-out); }
}

/* ---------- Section scaffolding ---------- */
.section { padding-block: var(--section-y); }
.section--white { background: var(--white); }
.section--mint { background: var(--mint); }
.section-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head h2 { font-size: var(--fs-h2); }
.section-head p { font-size: var(--fs-lead); color: var(--muted); max-width: 54ch; }
.on-navy .section-head p { color: var(--on-navy); }
@media (max-width: 860px) { .section-head { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Solutions index (signature) ---------- */
.solutions { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.sol-list { list-style: none; border-top: 1px solid var(--ink); counter-reset: none; }
.sol-item { border-bottom: 1px solid var(--line); }
.sol-link {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 24px; align-items: start;
  padding: 28px 4px 30px 0; text-decoration: none; color: inherit;
}
.sol-link h3 { font-size: var(--fs-h3); transition: color 200ms ease; }
.sol-link p { grid-column: 1 / -1; color: var(--muted); max-width: 52ch; font-size: 1rem; }
.sol-meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 6px; font-size: var(--fs-label); font-weight: 560; color: var(--ink); letter-spacing: .01em; }
.sol-meta span { display: inline-flex; align-items: center; gap: 8px; }
.sol-meta span::before { content: ""; width: 6px; height: 6px; background: var(--green); border-radius: 1px; }
.sol-arrow { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--green); transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease, transform 240ms var(--ease-out); }
.sol-arrow svg { width: 18px; height: 18px; }
.sol-item.is-active .sol-link h3 { color: var(--green); }
.sol-item.is-active .sol-arrow { background: var(--green); border-color: var(--green); color: var(--white); }
@media (hover: hover) and (pointer: fine) { .sol-link:hover .sol-arrow { transform: translateX(4px); } }
.sol-media-inline { display: none; }
.sol-stage { position: sticky; top: calc(var(--header-h) + 32px); aspect-ratio: 5 / 6; max-height: calc(100svh - var(--header-h) - 64px); width: 100%; background: var(--navy-deep); border-radius: var(--r-image); overflow: hidden; }
.sol-stage figure { margin: 0; position: absolute; inset: 0; opacity: 0; transform: scale(1.025); transition: opacity 320ms ease, transform 600ms var(--ease-out); }
.sol-stage figure.is-active { opacity: 1; transform: none; }
.sol-stage img { width: 100%; height: 100%; object-fit: cover; }
.sol-stage-tag {
  position: absolute; left: 16px; bottom: 16px; z-index: 2;
  padding: 8px 12px; background: rgba(10,24,38,.82); color: var(--white); border-radius: var(--r-control);
  font-size: var(--fs-label); font-weight: 600; letter-spacing: .01em;
}
@media (max-width: 860px) {
  .solutions { grid-template-columns: minmax(0, 1fr); }
  .sol-stage { display: none; }
  .sol-media-inline { display: block; grid-column: 1 / -1; margin: 6px 0 4px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r-image); background: var(--navy-deep); }
  .sol-media-inline img { width: 100%; height: 100%; object-fit: cover; }
}

/* ---------- Industries contact sheet ---------- */
.industries { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; background: var(--paper); }
.ind {
  position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--navy-deep);
  color: var(--white); text-decoration: none; isolation: isolate;
}
.ind img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.ind::after { content: ""; position: absolute; inset: 40% 0 0 0; background: linear-gradient(to top, rgba(10,24,38,.86), rgba(10,24,38,0)); z-index: 0; pointer-events: none; }
.ind-label { position: absolute; left: 24px; right: 24px; bottom: 20px; z-index: 1; display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.ind-label strong { font-size: clamp(1.125rem, 1rem + .5vw, 1.4rem); font-weight: 640; font-stretch: 108%; letter-spacing: -.01em; line-height: 1.15; }
.ind-label svg { width: 20px; height: 20px; flex: none; color: var(--green-hi); transition: transform 240ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .ind:hover img { transform: scale(1.03); }
  .ind:hover .ind-label svg { transform: translateX(4px); }
}
.ind:focus-visible { outline-offset: -4px; outline-color: var(--green-hi); }
@media (max-width: 860px) { .industries { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .ind { aspect-ratio: 4 / 5; } .ind-label { left: 14px; right: 14px; bottom: 14px; } .ind-label strong { font-size: 1rem; } .ind-label svg { display: none; } .ind::after { inset: 30% 0 0 0; } }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 112px); align-items: start; }
.about-media { position: sticky; top: calc(var(--header-h) + 32px); }
.about-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-image); }
.about h2 { font-size: var(--fs-h2); margin-bottom: 28px; }
.about-lead { font-size: var(--fs-lead); color: var(--ink); max-width: 56ch; }
.about-points { list-style: none; margin-top: 44px; border-top: 1px solid var(--line); }
.about-points li { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 8px 32px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.about-points h3 { font-size: 1.0625rem; font-weight: 640; font-stretch: 108%; letter-spacing: -.005em; line-height: 1.4; }
.about-points p { color: var(--muted); }
.quote { margin: 48px 0 0; padding: 0; }
.quote blockquote { margin: 0; font-size: clamp(1.375rem, 1.15rem + .8vw, 1.75rem); font-weight: 560; font-stretch: 106%; line-height: 1.3; letter-spacing: -.012em; color: var(--navy); max-width: 30ch; text-wrap: balance; }
.quote figcaption { margin-top: 16px; font-size: var(--fs-small); color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: center; }
.quote figcaption b { color: var(--ink); font-weight: 600; }
@media (max-width: 860px) {
  .about { grid-template-columns: minmax(0, 1fr); }
  .about-media { position: static; }
  .about-media img { aspect-ratio: 16 / 11; }
  .about-points li { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Partners ---------- */
.partners { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid rgba(21,33,46,.28); }
.partner { padding: 40px clamp(0px, 4vw, 56px) 8px 0; display: flex; flex-direction: column; gap: 16px; }
.partner + .partner { padding-left: clamp(24px, 4vw, 56px); border-left: 1px solid rgba(21,33,46,.28); }
.partner-name { font-size: clamp(2rem, 1.5rem + 2vw, 3.25rem); font-weight: 680; font-stretch: 118%; letter-spacing: -.03em; line-height: 1; color: var(--navy); }
.partner-dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 20px; margin: 4px 0 0; font-size: var(--fs-small); }
.partner-dl dt { color: var(--muted); }
.partner-dl dd { margin: 0; font-weight: 560; }
.partner p { max-width: 46ch; color: #2C3A47; }
.partner .text-link { margin-top: 4px; align-self: flex-start; color: var(--green-press); }
@media (max-width: 760px) {
  .partners { grid-template-columns: minmax(0, 1fr); }
  .partner { padding-right: 0; }
  .partner + .partner { padding-left: 0; border-left: 0; border-top: 1px solid rgba(21,33,46,.28); margin-top: 32px; }
}

/* ---------- RFQ ---------- */
.rfq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 112px); align-items: start; }
.rfq-intro h2 { font-size: var(--fs-h2); }
.rfq-intro > p { margin-top: 24px; font-size: var(--fs-lead); color: var(--on-navy); max-width: 40ch; }
.contact-list { list-style: none; margin-top: 44px; border-top: 1px solid var(--navy-line); }
.contact-list li { padding: 18px 0; border-bottom: 1px solid var(--navy-line); display: grid; gap: 2px; }
.contact-list span { font-size: var(--fs-label); color: var(--on-navy); font-weight: 520; }
.contact-list a { font-size: 1.1875rem; font-weight: 600; color: var(--white); text-decoration: none; width: fit-content; }
@media (hover: hover) and (pointer: fine) { .contact-list a:hover { color: var(--green-hi); } }
.rfq-panel { background: var(--white); color: var(--ink); border-radius: var(--r-image); padding: clamp(24px, 4vw, 48px); }
@media (max-width: 980px) { .rfq { grid-template-columns: minmax(0, 1fr); } }

/* Form */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; }
.field { display: grid; gap: 8px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: var(--fs-small); font-weight: 600; color: var(--ink); padding: 0; }
.field .req { color: var(--green); margin-left: 2px; }
.field .opt { color: var(--muted); font-weight: 450; }
.input, .select, .textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font-size: 16px; line-height: 1.4;
  background: var(--white); border: 1px solid var(--line-strong); border-radius: var(--r-control);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.textarea { min-height: 132px; resize: vertical; }
.select { appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2315212E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.input::placeholder, .textarea::placeholder { color: #6B7782; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(0,122,86,.18); }
@media (hover: hover) and (pointer: fine) { .input:hover, .select:hover, .textarea:hover { border-color: var(--muted); } }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--danger); }
.field-error { display: none; font-size: .875rem; color: var(--danger); font-weight: 520; }
.field.has-error .field-error { display: flex; gap: 6px; align-items: flex-start; }
.field-hint { font-size: .875rem; color: var(--muted); }
.form-footer { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding-top: 8px; border-top: 1px solid var(--line); }
.form-footer .btn { margin-top: 16px; }
.form-note { font-size: .875rem; color: var(--muted); max-width: 44ch; margin-top: 16px; }
.form-summary { grid-column: 1 / -1; display: none; padding: 14px 16px; border: 1px solid var(--danger); border-radius: var(--r-control); color: var(--danger); font-size: var(--fs-small); font-weight: 520; }
.form-summary.is-visible { display: block; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px;
  background: var(--mint); color: var(--ink); border-radius: var(--r-control); font-size: .875rem; font-weight: 560;
}
.chip button { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-right: -8px; border: 0; background: transparent; cursor: pointer; border-radius: 2px; }
.chip button svg { width: 14px; height: 14px; }
@media (max-width: 640px) { .form { grid-template-columns: minmax(0, 1fr); } .form-footer .btn { width: 100%; } }

/* Demo result */
.rfq-result { display: none; }
.rfq-result.is-visible { display: block; animation: result-in 320ms var(--ease-out) both; }
@keyframes result-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.demo-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: var(--r-control); background: #FFF4D6; color: #6A4A00; font-size: .8125rem; font-weight: 640; letter-spacing: .02em; }
.rfq-result h3 { font-size: var(--fs-h3); margin: 18px 0 12px; }
.rfq-result p { color: var(--muted); max-width: 52ch; }
.rfq-result dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 24px; margin: 24px 0; padding: 20px 0; border-block: 1px solid var(--line); font-size: var(--fs-small); }
.rfq-result dt { color: var(--muted); }
.rfq-result dd { margin: 0; font-weight: 560; overflow-wrap: anywhere; white-space: pre-line; }
.rfq-result .result-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 520px) { .rfq-result dl { grid-template-columns: minmax(0, 1fr); gap: 2px; } .rfq-result dd { margin-bottom: 10px; } .rfq-result .result-actions .btn { width: 100%; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: var(--on-navy); padding-top: clamp(56px, 6vw, 88px); font-size: var(--fs-small); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); gap: 40px; padding-bottom: 56px; }
.site-footer .brand { color: var(--white); }
.footer-about p { margin-top: 20px; max-width: 34ch; line-height: 1.55; }
.footer-col h2 { font-size: .875rem; font-weight: 640; font-stretch: 100%; letter-spacing: .01em; color: var(--white); margin-bottom: 14px; }
.footer-col ul { list-style: none; display: grid; gap: 2px; }
.footer-col a { display: inline-flex; min-height: 36px; align-items: center; color: var(--on-navy); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .footer-col a:hover { color: var(--white); } }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding: 22px 0 28px; border-top: 1px solid var(--navy-line); font-size: .8125rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { gap: 32px 20px; } .footer-col:last-child { grid-column: 1 / -1; } }

/* ---------- Catalog page ---------- */
.page-head { padding: clamp(48px, 6vw, 88px) 0 clamp(32px, 4vw, 48px); border-bottom: 1px solid var(--line); background: var(--white); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; font-size: var(--fs-small); color: var(--muted); margin-bottom: 28px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-strong); }
.crumbs a { color: var(--muted); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .crumbs a:hover { color: var(--green); } }
.page-head h1 { font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.75rem); }
.page-head-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 24px 64px; align-items: end; }
.page-head-grid p { font-size: var(--fs-lead); color: var(--muted); max-width: 52ch; }
@media (max-width: 860px) { .page-head-grid { grid-template-columns: minmax(0, 1fr); } }

.filters { position: sticky; top: var(--header-h); z-index: 20; background: rgba(247,248,246,.96); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(8px)) { .filters { background: rgba(247,248,246,.86); backdrop-filter: blur(12px); } }
.filters-inner { display: flex; align-items: center; gap: 16px 24px; padding-block: 14px; flex-wrap: wrap; }
.tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); flex: 1 1 520px; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; min-height: 44px; padding: 0 16px; border: 1px solid transparent; background: transparent; cursor: pointer;
  border-radius: var(--r-control); font-size: .9375rem; font-weight: 560; color: var(--muted); white-space: nowrap;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 140ms var(--ease-out);
}
.tab:active { transform: scale(.97); }
.tab[aria-pressed="true"] { background: var(--navy); color: var(--white); }
.tab .count { font-variant-numeric: tabular-nums; opacity: .7; margin-left: 6px; font-weight: 500; }
@media (hover: hover) and (pointer: fine) { .tab:hover:not([aria-pressed="true"]) { color: var(--ink); border-color: var(--line); } }
.filter-select { display: flex; align-items: center; gap: 10px; font-size: var(--fs-small); font-weight: 560; }
.filter-select .select { min-height: 44px; width: auto; min-width: 220px; }
@media (max-width: 640px) { .filter-select { width: 100%; } .filter-select .select { flex: 1; min-width: 0; } }

.catalog { padding-block: 48px var(--section-y); }
.catalog-status { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; font-size: var(--fs-small); color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 28px; list-style: none; }
.product { display: flex; flex-direction: column; }
.product[hidden] { display: none; }
.product-media { display: block; position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-image); background: var(--navy-deep); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.product-body { padding-top: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-cat { font-size: var(--fs-label); font-weight: 600; color: var(--green); letter-spacing: .01em; }
.product h2, .product h3 { font-size: 1.3125rem; line-height: 1.2; }
.product h2 a, .product h3 a { text-decoration: none; color: inherit; }
.product h2 a::after, .product h3 a::after { content: ""; position: absolute; inset: 0; }
.product { position: relative; }
.product p { color: var(--muted); font-size: 1rem; }
.product-foot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: var(--fs-small); font-weight: 600; color: var(--green); }
.product-foot svg { width: 18px; height: 18px; transition: transform 240ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .product:hover .product-media img { transform: scale(1.03); }
  .product:hover .product-foot svg { transform: translateX(4px); }
  .product:hover h2 a, .product:hover h3 a { color: var(--green); }
}
.product:focus-within .product-media { outline: 2px solid var(--green); outline-offset: 3px; }
.product a:focus-visible { outline: none; }
.product.is-entering { animation: card-in 280ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 30ms); }
@keyframes card-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.empty-state { display: none; padding: 64px 0; text-align: left; border-top: 1px solid var(--line); }
.empty-state.is-visible { display: block; }
.empty-state h2 { font-size: var(--fs-h3); margin-bottom: 12px; }
.empty-state p { color: var(--muted); margin-bottom: 20px; max-width: 52ch; }
@media (max-width: 1024px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .product-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; } }

.catalog-cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; padding: clamp(32px, 4vw, 56px); border-radius: var(--r-image); margin-top: var(--section-y); }
.catalog-cta h2 { font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.25rem); }
.catalog-cta p { color: var(--on-navy); margin-top: 12px; max-width: 54ch; }
.catalog-cta .btns { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) { .catalog-cta { grid-template-columns: minmax(0, 1fr); } .catalog-cta .btns .btn { flex: 1 1 220px; } }

/* ---------- Product detail ---------- */
.pdp { padding-block: clamp(40px, 5vw, 72px) var(--section-y); }
.pdp-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.pdp-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-image); background: var(--navy-deep); }
.pdp-info { position: sticky; top: calc(var(--header-h) + 32px); }
.pdp-info .product-cat { display: block; margin-bottom: 14px; }
.pdp-info h1 { font-size: clamp(2rem, 1.5rem + 1.9vw, 3rem); }
.pdp-info .lead { margin-top: 20px; font-size: var(--fs-lead); color: var(--muted); }
.pdp-dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 12px 28px; margin: 32px 0; padding: 22px 0; border-block: 1px solid var(--line); font-size: var(--fs-small); }
.pdp-dl dt { color: var(--muted); }
.pdp-dl dd { margin: 0; font-weight: 560; }
.pdp-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pdp-actions .btn { flex: 1 1 220px; }
.pdp-note { margin-top: 18px; font-size: .875rem; color: var(--muted); }
.pdp-sections { margin-top: clamp(56px, 6vw, 96px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px clamp(32px, 5vw, 80px); border-top: 1px solid var(--ink); padding-top: 40px; }
.pdp-sections h2 { font-size: var(--fs-h3); margin-bottom: 16px; }
.pdp-sections p { color: var(--muted); max-width: 58ch; }
.checklist { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.checklist li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.checklist svg { width: 20px; height: 20px; color: var(--green); margin-top: 3px; }
.related { margin-top: clamp(72px, 8vw, 120px); }
.related h2 { font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.25rem); margin-bottom: 32px; }
@media (max-width: 900px) {
  .pdp-grid { grid-template-columns: minmax(0, 1fr); }
  .pdp-info { position: static; }
  .pdp-sections { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0ms !important; animation-duration: 0ms !important; animation-delay: 0ms !important; }
  .sol-stage figure { transform: none; }
}

/* Fixes after first browser pass */
.field-error svg { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.rfq-panel .btn--ghost { --fg: var(--ink); --bd: var(--line-strong); }
@media (hover: hover) and (pointer: fine) { .rfq-panel .btn--ghost:hover { --bg: rgba(21,33,46,.05); --bd: var(--ink); } }
.rfq-panel :focus-visible { outline-color: var(--green); }
@media (max-width: 640px) { .filters { position: static; } }
