/* ===================================================================
   ZONE TRADING & DISTRIBUTION — supply motion build
   -------------------------------------------------------------------
   DIRECTION OF FLOW: left to right. Everything on this page moves the
   way goods move — supplier, depot, logistics, customer. Packets travel
   right, the process rails fill right, light sweeps right, content
   arrives from the left. One supply line, not a pile of effects.

   PALETTE: the Zone Group blue-gold system on a deep technical ground.
   Blue carries structure and technology, gold carries commerce and
   logistics. Gold is an accent and never a surface.

   Sibling to Zone Real Estate: same typographic rhythm, same button
   proportions, same card and panel architecture, same reveal timing.
   The palette and the motion metaphor are what separate them.
   =================================================================== */

:root {
  /* ---- Design tokens. Change a colour here, not in a component. ---- */
  --background:   #0C1118;
  --surface:      #151B24;
  --surface-2:    #1B222D;   /* nested panels inside a surface */
  --primary:      #5E80BC;
  --secondary:    #D5A65B;
  --foreground:   #F5F3EE;

  /* Text on dark, stepped down by opacity rather than by new hexes */
  --text-mid:     rgba(245, 243, 238, 0.64);
  --text-dim:     rgba(245, 243, 238, 0.40);
  --text-faint:   rgba(245, 243, 238, 0.26);

  --line:         rgba(245, 243, 238, 0.10);
  --line-strong:  rgba(245, 243, 238, 0.18);
  --glass:        rgba(245, 243, 238, 0.028);

  --primary-soft:   rgba(94, 128, 188, 0.16);
  --primary-line:   rgba(94, 128, 188, 0.45);
  --secondary-soft: rgba(213, 166, 91, 0.14);
  --secondary-line: rgba(213, 166, 91, 0.45);

  /* The one gradient in the system. Blue into gold: technology into
     commerce. Used on thin lines and small marks, never on panels. */
  --flow: linear-gradient(100deg, var(--primary), var(--secondary));

  --font-display: "Space Grotesk", "Outfit", system-ui, sans-serif;
  --font-body:    "Outfit", system-ui, sans-serif;
  --font-mono:    "DM Mono", ui-monospace, monospace;

  --shell: 1180px;
  --radius:    16px;
  --radius-sm: 10px;
  --radius-pill: 40px;

  /* Scroll velocity, written by motion.js. 0 = still, 1 = moving fast. */
  --pace: 0;

  /* Settle: a short overshoot, then rest. Kept from the sibling site so
     buttons and cards feel like they belong to the same family. */
  --settle: cubic-bezier(0.22, 1.16, 0.36, 1);
  --ease:   cubic-bezier(0.62, 0, 0.20, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.is-locked { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }

:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 3px;
}

::selection { background: var(--primary); color: var(--background); }

/* ===================================================================
   AMBIENT FIELD
   A survey grid with three slow masses drifting right through it.
   Deliberately quiet: this is a supplier, not a light show.
   =================================================================== */
.field {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.field__grid {
  position: absolute;
  inset: -2px;
  background-image:
    linear-gradient(to right, var(--foreground) 1px, transparent 1px),
    linear-gradient(to bottom, var(--foreground) 1px, transparent 1px);
  background-size: 88px 88px;
  opacity: 0.022;
}

/* A brighter horizon line every fifth cell, so the grid reads as a
   measured system rather than graph paper. */
.field__rules {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to bottom, var(--primary) 1px, transparent 1px);
  background-size: 100% 440px;
  opacity: 0.05;
}

.field__mass {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  will-change: transform;
}

.field__mass--a {
  width: 52vw; height: 52vw;
  left: -12vw; top: 2vh;
  background: radial-gradient(circle at 46% 44%, var(--primary), transparent 68%);
  opacity: 0.30;
  animation: drift-a 58s ease-in-out infinite;
}

.field__mass--b {
  width: 38vw; height: 38vw;
  left: 52vw; top: 30vh;
  background: radial-gradient(circle at 50% 50%, var(--primary), transparent 66%);
  opacity: 0.20;
  animation: drift-b 71s ease-in-out infinite;
}

.field__mass--c {
  width: 30vw; height: 30vw;
  left: 24vw; top: 64vh;
  background: radial-gradient(circle at 50% 50%, var(--secondary), transparent 64%);
  opacity: 0.10;
  animation: drift-c 47s ease-in-out infinite;
}

/* Unequal periods, so the composite never visibly repeats. Each drifts
   RIGHT — the flow rule applied to the ambience. */
@keyframes drift-a {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  38%      { transform: translate3d(9vw, -6vh, 0) scale(1.12); }
  70%      { transform: translate3d(16vw, 4vh, 0) scale(0.94); }
}
@keyframes drift-b {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  44%      { transform: translate3d(7vw, -10vh, 0) scale(0.88); }
  76%      { transform: translate3d(13vw, 5vh, 0) scale(1.14); }
}
@keyframes drift-c {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(11vw, -8vh, 0) scale(1.2); }
}

.field__grain {
  position: absolute;
  inset: -50%;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Pointer wake — desktop only. Cool, low and slow. */
.wake {
  position: fixed;
  top: 0; left: 0;
  width: 420px; height: 420px;
  margin: -210px 0 0 -210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(94, 128, 188, 0.13), transparent 62%);
  filter: blur(46px);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.8s ease;
  will-change: transform;
}

.wake.is-live { opacity: 1; }

/* ===================================================================
   SIGNATURE — the route rail
   A consignment tracker for the page. Stations are the sections; the
   marker is where you are; everything behind it is marked delivered.
   =================================================================== */
.rail {
  position: fixed;
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 35;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  pointer-events: none;
}

.rail__track {
  position: relative;
  width: 2px;
  height: 268px;
  background: var(--line);
  order: 2;
}

/* The completed leg of the route, filling downward as you scroll */
.rail__fill {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 0%;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
}

/* The consignment itself: a square, not a dot — it carries something */
.rail__marker {
  position: absolute;
  left: 50%;
  top: 0;
  width: 9px; height: 9px;
  margin: -4.5px 0 0 -4.5px;
  background: var(--secondary);
  transform: rotate(45deg);
  box-shadow: 0 0 0 3px var(--background), 0 0 14px rgba(213, 166, 91, 0.55);
}

.rail__station {
  position: absolute;
  left: 50%;
  width: 5px; height: 5px;
  margin: -2.5px 0 0 -2.5px;
  border-radius: 50%;
  background: var(--background);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: box-shadow 0.5s ease, background 0.5s ease;
}

.rail__station.is-passed {
  background: var(--primary);
  box-shadow: inset 0 0 0 1px var(--primary);
}

.rail__readout {
  order: 1;
  text-align: right;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.5;
  padding-top: 1px;
  width: 106px;
  transition: transform 0.5s var(--settle);
}

.rail__stage { display: block; color: var(--text-mid); }
.rail__pct   { display: block; color: var(--secondary); }

@media (max-width: 1180px) { .rail { display: none; } }

/* ===================================================================
   ARRIVAL — content comes in from the left, the way stock arrives
   =================================================================== */
.js .surface {
  opacity: 0;
  transform: translate3d(-18px, 16px, 0);
}

.js .surface.is-in {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.7s var(--ease),
    transform 0.9s var(--settle);
}

.surface[data-delay="1"].is-in { transition-delay: 0.06s; }
.surface[data-delay="2"].is-in { transition-delay: 0.12s; }
.surface[data-delay="3"].is-in { transition-delay: 0.18s; }
.surface[data-delay="4"].is-in { transition-delay: 0.24s; }
.surface[data-delay="5"].is-in { transition-delay: 0.30s; }

/* ===================================================================
   Wordmark — the dot is a consignment node on a line
   =================================================================== */
.wordmark {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.wordmark__sub {
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--text-mid);
  font-size: 0.82em;
}

.wordmark__node {
  width: 7px;
  height: 7px;
  margin: 0 9px;
  background: var(--secondary);
  transform: rotate(45deg);
  animation: node-pulse 4.2s var(--ease) infinite;
}

/* A node on a live route: it registers, then goes quiet again */
@keyframes node-pulse {
  0%, 58%, 100% { transform: rotate(45deg) scale(1);   background: var(--secondary); }
  66%           { transform: rotate(45deg) scale(1.5); background: var(--primary); }
  78%           { transform: rotate(45deg) scale(0.92); }
}

.wordmark--small { font-size: 14px; }

/* On a phone the bar carries only the wordmark and the one action, so
   both are stepped down to fit without dropping the company name. */
@media (max-width: 560px) {
  .topbar__inner { padding: 12px 16px; gap: 12px; }
  .wordmark { font-size: 12px; letter-spacing: 0.04em; }
  .wordmark__sub { letter-spacing: 0.08em; }
  .wordmark__node { width: 6px; height: 6px; margin: 0 6px; }
  .topbar__cta { padding: 8px 14px; font-size: 11.5px; }
}

@media (max-width: 380px) {
  .wordmark { font-size: 11px; }
  .wordmark__sub { display: none; }
}

/* ===================================================================
   Top bar
   =================================================================== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(12, 17, 24, 0.72);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  border-bottom: 1px solid var(--line);
}

.topbar__inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.topnav__link {
  position: relative;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-mid);
  padding: 4px 0;
  white-space: nowrap;
  transition: color 0.4s ease;
}

/* The underline draws in from the left. Flow rule, at 12px. */
.topnav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--flow);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.45s var(--ease);
}

.topnav__link:hover { color: var(--foreground); }
.topnav__link:hover::after,
.topnav__link.is-current::after { transform: scaleX(1); }
.topnav__link.is-current { color: var(--foreground); }

.topbar__cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  background: var(--primary);
  color: var(--background);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12.5px;
  white-space: nowrap;
  transition: transform 0.5s var(--settle), box-shadow 0.5s ease, background 0.4s ease;
  box-shadow: 0 6px 20px rgba(94, 128, 188, 0.22);
}

.topbar__cta:hover {
  transform: translateY(-2px);
  background: var(--secondary);
  box-shadow: 0 12px 28px rgba(213, 166, 91, 0.28);
}

@media (max-width: 1020px) {
  .topnav { display: none; }
  .topbar__inner { justify-content: space-between; }
}

.topbar__phone {
  font-family: var(--font-mono);
  font-size: 12.5px;
  white-space: nowrap;
  color: var(--text-mid);
  transition: color 0.4s ease;
  margin-left: auto;
}

.topbar__phone:hover { color: var(--secondary); }

@media (max-width: 1120px) { .topbar__phone { display: none; } }

/* ===================================================================
   Hero
   =================================================================== */
.hero {
  position: relative;
  z-index: 2;
  padding: 88px 0 74px;
}

.hero__inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.78fr);
  gap: 48px;
  align-items: center;
}

@media (max-width: 980px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .hero { padding: 62px 0 56px; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--secondary);
  margin: 0 0 22px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--flow);
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(33px, 5.2vw, 55px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin: 0 0 24px;
}

.hero__line { display: block; }

/* Light running left to right through the second line — goods moving */
.hero__line--flow {
  background: linear-gradient(100deg,
    var(--foreground) 0%, var(--primary) 30%, var(--secondary) 52%,
    var(--foreground) 78%);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: run 14s linear infinite;
}

@keyframes run {
  0%   { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

.hero__lede {
  max-width: 520px;
  color: var(--text-mid);
  font-size: 16.5px;
  margin: 0 0 34px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  margin: 46px 0 0;
  padding: 0;
}

.fact { margin: 0; }

.fact dt {
  font-family: var(--font-mono);
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  margin-bottom: 6px;
}

.fact dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--foreground);
}

/* ===================================================================
   Buttons — proportions carried over from the sibling site
   =================================================================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.03em;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  overflow: hidden;
  transition: transform 0.55s var(--settle), box-shadow 0.5s ease,
              border-color 0.45s ease, color 0.4s ease, background 0.45s ease;
}

.btn__sweep {
  position: absolute;
  left: -34%;
  top: 0; bottom: 0;
  width: 34%;
  background: linear-gradient(100deg, transparent, rgba(245, 243, 238, 0.20), transparent);
  transition: left 0.85s var(--ease);
  pointer-events: none;
}

.btn:hover .btn__sweep { left: 112%; }

.btn--primary {
  background: var(--primary);
  color: var(--background);
  font-weight: 500;
  box-shadow: 0 8px 26px rgba(94, 128, 188, 0.24);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(94, 128, 188, 0.36);
}

.btn--secondary {
  background: transparent;
  color: var(--secondary);
  border-color: var(--secondary-line);
}

.btn--secondary:hover {
  transform: translateY(-2px);
  background: var(--secondary-soft);
  border-color: var(--secondary);
}

.btn--ghost {
  background: var(--glass);
  color: var(--text-mid);
  border-color: var(--line);
}

.btn--ghost:hover { color: var(--foreground); border-color: var(--primary-line); }

.btn--wide { width: 100%; padding: 17px 24px; font-size: 14.5px; }

/* ===================================================================
   HERO DIAGRAM — supplier to customer, the company's whole job
   =================================================================== */
.chain {
  position: relative;
  /* <figure> carries a UA default margin of 1em 40px — without this the
     card sits 40px right of its column and overhangs on narrow screens. */
  margin: 0;
  padding: 30px 26px 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 30px 70px rgba(6, 9, 14, 0.55);
  justify-self: end;
  width: 100%;
  max-width: 460px;
}

.chain__label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-dim);
  margin: 0 0 22px;
}

.chain__svg { width: 100%; height: auto; overflow: visible; }

.chain__wire { stroke: var(--line-strong); stroke-width: 1.5; fill: none; }

/* The live leg: a dash pattern travelling right, forever */
.chain__live {
  stroke: url(#chainFlow);
  stroke-width: 2;
  fill: none;
  stroke-dasharray: 9 13;
  animation: wire 2.4s linear infinite;
}

@keyframes wire {
  0%   { stroke-dashoffset: 44; }
  100% { stroke-dashoffset: 0; }
}

.chain__node      { fill: var(--surface); stroke: var(--primary); stroke-width: 2; }
.chain__node--end { stroke: var(--secondary); }
.chain__core      { fill: var(--primary); }
.chain__core--end { fill: var(--secondary); }

.chain__text {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  fill: var(--text-mid);
  text-transform: uppercase;
}

/* A consignment moving down the whole chain, then repeating */
.chain__packet {
  fill: var(--secondary);
  animation: consign 6s var(--ease) infinite;
}

@keyframes consign {
  0%        { transform: translateX(0);   opacity: 0; }
  8%        { opacity: 1; }
  30%       { transform: translateX(76px); }
  32%       { transform: translateX(76px); }
  58%       { transform: translateX(152px); }
  60%       { transform: translateX(152px); }
  88%       { transform: translateX(228px); opacity: 1; }
  100%      { transform: translateX(228px); opacity: 0; }
}

.chain__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.chain__meta b { color: var(--secondary); font-weight: 400; }

@media (max-width: 980px) { .chain { justify-self: start; max-width: 100%; } }

/* ===================================================================
   TRANSIT DIVIDER
   Replaces the sibling site's wave. Packets travel right along a rule
   and stretch into streaks as scroll velocity rises.
   =================================================================== */
.transit {
  position: relative;
  height: 34px;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
}

.transit__rule {
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent, var(--line-strong) 18%, var(--line-strong) 82%, transparent);
}

.transit__packet {
  position: absolute;
  top: 50%;
  width: 7px; height: 7px;
  margin-top: -3.5px;
  background: var(--primary);
  /* Fast scrolling smears the packet into a streak. This is the same
     velocity signal the sibling site used to roughen its water. */
  transform: scaleX(calc(1 + var(--pace) * 3.4));
  transition: transform 0.4s var(--settle);
  animation: transit 9s linear infinite;
}

.transit__packet:nth-child(2) { animation-duration: 9s;  animation-delay: 0s; }
.transit__packet:nth-child(3) { animation-duration: 13s; animation-delay: -4s; background: var(--secondary); }
.transit__packet:nth-child(4) { animation-duration: 17s; animation-delay: -9s; opacity: 0.5; }

@keyframes transit {
  0%   { left: -4%;  opacity: 0; }
  12%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { left: 104%; opacity: 0; }
}

/* ===================================================================
   SECTIONS — shared rhythm
   =================================================================== */
.section {
  position: relative;
  z-index: 2;
  padding: 86px 0;
}

.section__inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px;
}

.section__head { max-width: 660px; margin-bottom: 46px; }
.section__head--wide { max-width: 780px; }

.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(27px, 3.6vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
}

.section__lede {
  color: var(--text-mid);
  font-size: 16px;
  margin: 0;
  max-width: 620px;
}

.section--surface { background: linear-gradient(180deg, transparent, rgba(21, 27, 36, 0.72) 12%, rgba(21, 27, 36, 0.72) 88%, transparent); }

/* Section rhythm adjustments, used where two sections meet directly */
.section--tight-bottom { padding-bottom: 30px; }
.section--tight-top    { padding-top: 44px; }

.u-mb-0    { margin-bottom: 0; }
.u-mb-lede { margin-bottom: 26px; }
.u-mt-chips { margin-top: 24px; }
.u-mt-cta  { margin: 24px 0 0; }
.u-mt-block { margin-top: 74px; }
.u-mb-block { margin-bottom: 46px; }
.u-mb-split { margin-bottom: 66px; }

.subhead {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

.section__title--sm { font-size: clamp(23px, 2.8vw, 31px); }

@media (max-width: 700px) {
  .section { padding: 62px 0; }
  .section__head { margin-bottom: 34px; }
  .u-mt-block { margin-top: 52px; }
}

/* ===================================================================
   Filter bar — carried over, retuned to the new palette
   =================================================================== */
.filterbar {
  position: sticky;
  top: 55px;
  z-index: 25;
  background: rgba(12, 17, 24, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.filterbar__inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 13px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.filterbar__buttons { display: flex; gap: 8px; flex-wrap: wrap; }

.filter {
  position: relative;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-mid);
  background: var(--glass);
  border: 1px solid var(--line);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  overflow: hidden;
  transition: color 0.4s ease, border-color 0.4s ease;
}

.filter span { position: relative; z-index: 2; }

/* The active state loads in from the left rather than switching */
.filter::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--primary);
  transform: translateX(-101%);
  transition: transform 0.55s var(--ease);
  z-index: 1;
}

.filter:hover { color: var(--foreground); border-color: var(--primary-line); }

.filter.is-active {
  color: var(--background);
  border-color: transparent;
  font-weight: 500;
}

.filter.is-active::before { transform: translateX(0); }

.filterbar__count {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  white-space: nowrap;
}

@media (max-width: 620px) {
  .filterbar__count { display: none; }
  .filterbar__buttons { width: 100%; }
  /* 40% basis makes four filters settle into a tidy 2×2 */
  .filter { flex: 1 1 40%; text-align: center; padding: 9px 10px; }
  .hero__facts { gap: 20px 26px; }
}

/* ===================================================================
   Category cards
   =================================================================== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 26px;
  align-items: stretch;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition:
    transform 0.6s var(--settle),
    border-color 0.45s ease,
    box-shadow 0.55s ease;
}

/* A loading line runs across the top edge on hover, left to right */
.card::after {
  content: "";
  position: absolute;
  left: 0; top: 0;
  height: 2px; width: 100%;
  background: var(--flow);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.6s var(--ease);
  z-index: 3;
}

.card:hover,
.card:focus-visible {
  transform: translateY(-6px);
  border-color: var(--primary-line);
  box-shadow: 0 24px 54px rgba(6, 9, 14, 0.6);
}

.card:hover::after,
.card:focus-visible::after { transform: scaleX(1); }

.card__figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.card__photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}

.card:hover .card__photo { transform: scale(1.05); }

/* Light sweeping across the image, left to right */
.card__sweep {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
    transparent 34%, rgba(213, 166, 91, 0.16) 50%, transparent 66%);
  background-size: 260% 100%;
  background-position: 190% 0;
  transition: background-position 1.2s var(--ease);
  pointer-events: none;
}

.card:hover .card__sweep { background-position: -60% 0; }

.card__code {
  position: absolute;
  top: 14px; left: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--text-mid);
  background: rgba(12, 17, 24, 0.78);
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 6px;
  z-index: 2;
}

.card__segment {
  position: absolute;
  top: 14px; right: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--background);
  background: var(--primary);
  padding: 4px 11px;
  border-radius: 6px;
  z-index: 2;
}

.card__segment--industri { background: var(--secondary); }
.card__segment--furnizim { background: var(--foreground); }

.card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 22px 24px 24px;
}

/* Pushes the buttons to the bottom edge so a row of cards lines up */
.card__actions { margin-top: auto; }

.card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}

.card__tagline {
  font-size: 14px;
  color: var(--secondary);
  margin: 0 0 16px;
}

.card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  margin-bottom: 15px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.card__modes { display: flex; gap: 6px; flex-wrap: wrap; }

.tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--text-mid);
  border: 1px solid var(--line-strong);
  padding: 3px 9px;
  border-radius: 5px;
  white-space: nowrap;
}

.tag--gold { color: var(--secondary); border-color: var(--secondary-line); }

.card__count {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  white-space: nowrap;
}

.card__summary {
  font-size: 14.5px;
  color: var(--text-mid);
  margin: 0 0 20px;
}

.card__actions { display: flex; gap: 9px; }

.card__quote {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 14px;
  border-radius: var(--radius-pill);
  background: var(--primary);
  color: var(--background);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 13px;
  border: none;
  transition: background 0.4s ease, transform 0.5s var(--settle);
}

.card__quote:hover { background: var(--secondary); transform: scale(1.02); }

.card__more {
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  background: none;
  border: 1px solid var(--line);
  color: var(--text-mid);
  font-family: var(--font-mono);
  font-size: 12.5px;
  transition: border-color 0.4s ease, color 0.4s ease;
}

.card__more:hover { border-color: var(--secondary-line); color: var(--foreground); }

.cards__empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 66px 20px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 13px;
}

/* ===================================================================
   Split section — B2B
   =================================================================== */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 54px;
  align-items: center;
}

@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); gap: 36px; } }

.chips { display: flex; flex-wrap: wrap; gap: 9px; }

.chip {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-mid);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 9px 15px;
  border-radius: var(--radius-sm);
  transition: border-color 0.4s ease, color 0.4s ease, transform 0.5s var(--settle);
}

.chip:hover {
  border-color: var(--primary-line);
  color: var(--foreground);
  transform: translateY(-2px);
}

.panelcard {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 28px 30px;
}

.panelcard__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}

.panelcard__note { color: var(--text-mid); font-size: 14.5px; margin: 0 0 20px; }

/* ===================================================================
   Wholesale / retail pair
   =================================================================== */
.duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

@media (max-width: 820px) { .duo { grid-template-columns: minmax(0, 1fr); } }

.duo__panel {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 30px 34px;
  overflow: hidden;
  transition: border-color 0.45s ease, transform 0.6s var(--settle);
}

.duo__panel::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--primary);
}

.duo__panel--retail::before { background: var(--secondary); }

.duo__panel:hover { transform: translateY(-4px); border-color: var(--primary-line); }
.duo__panel--retail:hover { border-color: var(--secondary-line); }

.duo__kicker {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--primary);
  margin: 0 0 12px;
}

.duo__panel--retail .duo__kicker { color: var(--secondary); }

.duo__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 23px;
  letter-spacing: -0.025em;
  margin: 0 0 12px;
}

.duo__note { color: var(--text-mid); font-size: 15px; margin: 0 0 22px; }

/* ===================================================================
   Marked list — the droplet bullet, rebuilt as a route node
   =================================================================== */
.marks { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }

.marks li {
  position: relative;
  padding-left: 24px;
  font-size: 14.5px;
  color: var(--text-mid);
}

.marks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 7px; height: 7px;
  background: var(--primary);
  transform: rotate(45deg);
}

.marks--gold li::before { background: var(--secondary); }

/* ===================================================================
   PROCESS RAIL — order to delivery
   The rail fills left to right as the section arrives.
   =================================================================== */
.process { position: relative; }

.process__track {
  position: absolute;
  left: 0; right: 0;
  top: 21px;
  height: 2px;
  background: var(--line);
}

.process__track::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--flow);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 2.2s var(--ease);
}

.process.is-in .process__track::after { transform: scaleX(1); }

.process__steps {
  position: relative;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
  counter-reset: step;
}

.step { position: relative; padding-right: 8px; }

.step__dot {
  position: relative;
  z-index: 2;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--background);
  border: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 18px;
  transition: border-color 0.5s ease, color 0.5s ease, background 0.5s ease;
}

.process.is-in .step__dot { border-color: var(--primary); color: var(--foreground); }
.process.is-in .step:last-child .step__dot { border-color: var(--secondary); color: var(--secondary); }

.step:nth-child(1) .step__dot { transition-delay: 0.10s; }
.step:nth-child(2) .step__dot { transition-delay: 0.45s; }
.step:nth-child(3) .step__dot { transition-delay: 0.80s; }
.step:nth-child(4) .step__dot { transition-delay: 1.15s; }
.step:nth-child(5) .step__dot { transition-delay: 1.50s; }
.step:nth-child(6) .step__dot { transition-delay: 1.85s; }

.step__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: -0.01em;
  margin: 0 0 7px;
}

.step__note {
  font-size: 13.5px;
  color: var(--text-mid);
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 980px) {
  .process__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 18px; }
  .process__track { display: none; }
}

@media (max-width: 640px) {
  .process__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step__dot { width: 38px; height: 38px; margin-bottom: 14px; }
}

/* ===================================================================
   Feature block with illustration
   =================================================================== */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  gap: 54px;
  align-items: center;
}

.feature--flip .feature__art { order: -1; }

@media (max-width: 900px) {
  .feature { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .feature--flip .feature__art { order: 0; }
}

.feature__art {
  position: relative;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.feature__art img { width: 100%; height: auto; }

.feature__art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 62%, rgba(12, 17, 24, 0.5));
  pointer-events: none;
}

.feature__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-top: 26px;
}

.feature__cell {
  background: var(--surface);
  padding: 16px 18px;
}

.feature__cell dt {
  font-family: var(--font-mono);
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  margin-bottom: 6px;
}

.feature__cell dd {
  margin: 0;
  font-size: 14px;
  color: var(--foreground);
}

/* ===================================================================
   FLOW STRIP — specification through to delivery
   =================================================================== */
.flowstrip {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.flowstrip__cell {
  position: relative;
  flex: 1 1 160px;
  padding: 22px 20px 24px;
  border-right: 1px solid var(--line);
  transition: background 0.45s ease;
}

.flowstrip__cell:last-child { border-right: none; }
.flowstrip__cell:hover { background: var(--surface-2); }

.flowstrip__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--primary);
  margin-bottom: 10px;
}

.flowstrip__cell:last-child .flowstrip__num { color: var(--secondary); }

.flowstrip__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: -0.01em;
}

/* The joint between cells carries a small arrow, right-facing */
.flowstrip__cell::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 50%;
  width: 6px; height: 6px;
  margin-top: -3px;
  border-top: 1px solid var(--line-strong);
  border-right: 1px solid var(--line-strong);
  transform: rotate(45deg);
  background: var(--surface);
  z-index: 2;
}

.flowstrip__cell:last-child::after { display: none; }

@media (max-width: 700px) {
  .flowstrip__cell { flex: 1 1 100%; border-right: none; border-bottom: 1px solid var(--line); }
  .flowstrip__cell:last-child { border-bottom: none; }
  .flowstrip__cell::after { right: 50%; top: auto; bottom: -4px; margin: 0 -3px 0 0; transform: rotate(135deg); }
}

/* ===================================================================
   Reasons grid
   =================================================================== */
.reasons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

@media (max-width: 900px) { .reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .reasons { grid-template-columns: minmax(0, 1fr); } }

.reason {
  position: relative;
  background: var(--surface);
  padding: 26px 24px 28px;
  transition: background 0.45s ease;
}

.reason::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--flow);
  transform: scaleY(0);
  transform-origin: 50% 0;
  transition: transform 0.5s var(--ease);
}

.reason:hover { background: var(--surface-2); }
.reason:hover::before { transform: scaleY(1); }

.reason__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
}

.reason__note { font-size: 14px; color: var(--text-mid); margin: 0; }

/* ===================================================================
   Numbered steps — how it works
   =================================================================== */
.howlist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  counter-reset: how;
}

@media (max-width: 760px) { .howlist { grid-template-columns: minmax(0, 1fr); } }

.howlist li {
  counter-increment: how;
  background: var(--surface);
  padding: 20px 24px 20px 62px;
  position: relative;
  font-size: 15px;
  color: var(--foreground);
  transition: background 0.4s ease;
}

.howlist li:hover { background: var(--surface-2); }

.howlist li::before {
  content: counter(how, decimal-leading-zero);
  position: absolute;
  left: 24px;
  top: 21px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--primary);
}

/* ===================================================================
   QUOTE FORM
   =================================================================== */
.quote {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 36px 40px;
}

@media (max-width: 620px) { .quote { padding: 28px 20px 30px; } }

.field-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  margin-bottom: 11px;
}

.field-label span { color: var(--secondary); }

.selects { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 30px; }

.select {
  position: relative;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-mid);
  background: var(--background);
  border: 1px solid var(--line);
  padding: 10px 17px;
  border-radius: var(--radius-sm);
  transition: border-color 0.4s ease, color 0.4s ease, background 0.4s ease, transform 0.5s var(--settle);
}

.select:hover { border-color: var(--primary-line); color: var(--foreground); transform: translateY(-2px); }

.select.is-on {
  color: var(--background);
  background: var(--primary);
  border-color: var(--primary);
  font-weight: 500;
}

.grid2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 22px;
  margin-bottom: 22px;
}

@media (max-width: 620px) { .grid2 { grid-template-columns: minmax(0, 1fr); } }

.input,
.textarea,
.selectbox {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--foreground);
  background: var(--background);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.selectbox {
  font-family: var(--font-mono);
  font-size: 13px;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23D5A65B' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 38px;
}

.selectbox option { background: var(--surface); color: var(--foreground); }

.textarea { min-height: 132px; resize: vertical; line-height: 1.6; }

.input::placeholder,
.textarea::placeholder { color: var(--text-faint); }

.input:focus,
.textarea:focus,
.selectbox:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}

.input.is-bad,
.textarea.is-bad { border-color: var(--secondary); }

.field-row { display: block; }

.field-error {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--secondary);
  margin-top: 8px;
  min-height: 0;
}

.quote__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.quote__actions .btn { flex: 1 1 220px; }

.quote__note {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-dim);
  margin: 20px 0 0;
  line-height: 1.7;
}

.quote__note a { color: var(--secondary); }

.quote__done {
  margin-top: 22px;
  padding: 16px 18px;
  border: 1px solid var(--primary-line);
  background: var(--primary-soft);
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  color: var(--foreground);
}

.quote__done[hidden] { display: none; }

/* ===================================================================
   Detail panel — arrives as a consignment, squares up into a panel
   =================================================================== */
.detail {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.detail[hidden] { display: none; }

.detail__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 9, 14, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: fade 0.45s ease both;
}

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.detail__panel {
  position: relative;
  width: min(800px, 100%);
  max-height: min(88vh, 940px);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 40px 90px rgba(4, 6, 10, 0.76);
  animation: arrive 0.6s var(--settle) both;
}

@keyframes arrive {
  0%   { opacity: 0; transform: translate3d(-26px, 26px, 0) scale(0.97); }
  100% { opacity: 1; transform: none; }
}

.detail__scroll { overflow-y: auto; max-height: min(88vh, 940px); }

.detail__close {
  position: absolute;
  top: 15px; right: 15px;
  z-index: 3;
  width: 38px; height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(12, 17, 24, 0.82);
  color: var(--foreground);
  font-size: 20px;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: background 0.4s ease, transform 0.55s var(--settle), border-color 0.4s ease;
}

.detail__close:hover {
  background: var(--secondary);
  color: var(--background);
  border-color: var(--secondary);
  transform: rotate(90deg);
}

.detail__photo { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.detail__body { padding: 28px 32px 34px; }

@media (max-width: 620px) { .detail__body { padding: 22px 20px 28px; } }

.detail__stamp {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--background);
  background: var(--primary);
  padding: 4px 12px;
  border-radius: 6px;
  margin-bottom: 14px;
}

.detail__stamp--industri { background: var(--secondary); }
.detail__stamp--furnizim { background: var(--foreground); }

.detail__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 29px;
  line-height: 1.14;
  letter-spacing: -0.03em;
  margin: 0 0 6px;
}

.detail__tagline {
  font-size: 15.5px;
  color: var(--secondary);
  margin: 0 0 24px;
}

.detail__specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 26px;
}

@media (max-width: 620px) { .detail__specs { grid-template-columns: repeat(2, 1fr); } }

.detail__spec { padding: 14px 16px; background: var(--surface-2); }

.detail__spec-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--text-dim);
  margin-bottom: 6px;
}

.detail__spec-value {
  font-family: var(--font-mono);
  font-size: 14.5px;
  color: var(--foreground);
}

.detail__spec-value--accent { color: var(--secondary); }

.detail__text {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--text-mid);
  margin: 0 0 26px;
}

.detail__subhead {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  margin: 0 0 12px;
}

.detail__list { margin-bottom: 26px; }

.detail__clients { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }

.detail__actions { display: flex; flex-wrap: wrap; gap: 11px; }
.detail__actions .btn { flex: 1 1 220px; }

.detail__callnote {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  margin: 14px 0 0;
}

@media (max-width: 620px) {
  .detail { padding: 0; }
  .detail__panel { width: 100%; height: 100%; max-height: 100vh; border-radius: 0; border: none; }
  .detail__scroll { max-height: 100vh; }
  .detail__title { font-size: 24px; }
}

/* ===================================================================
   Footer
   =================================================================== */
.footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 54px 24px 40px;
}

.footer__inner {
  max-width: var(--shell);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr));
  gap: 40px;
}

@media (max-width: 820px) { .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 520px) { .footer__inner { grid-template-columns: 1fr; } }

.footer__note {
  color: var(--text-mid);
  font-size: 14px;
  margin: 16px 0 0;
  max-width: 320px;
}

.footer__head {
  font-family: var(--font-mono);
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-dim);
  margin: 0 0 14px;
}

.footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }

.footer__list a,
.footer__list span {
  font-size: 14px;
  color: var(--text-mid);
  transition: color 0.4s ease;
}

.footer__list a:hover { color: var(--secondary); }

.footer__contact {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--foreground);
}

.footer__bottom {
  max-width: var(--shell);
  margin: 40px auto 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
}

/* ===================================================================
   REDUCED MOTION
   Ambient motion stops. Everything stays legible and in place; nothing
   is left stuck invisible or half-drawn.
   =================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation: none !important;
    transition-duration: 0.001ms !important;
  }

  .js .surface { opacity: 1; transform: none; }
  .field__mass { opacity: 0.16; }
  .wake { display: none; }
  .card:hover { transform: none; }
  .process__track::after { transform: scaleX(1); }
  .process .step__dot { border-color: var(--primary); color: var(--foreground); }
  .transit__packet { display: none; }
}
