/* ============================================================
   Stride Software — landing page
   ============================================================ */

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
dl, dd { margin: 0; }

/* ---------- tokens ---------- */
:root {
  --ink:        #12130f;
  --ink-soft:   #3b3d35;
  --ink-mute:   #77796d;
  --paper:      #f3f0e9;
  --paper-2:    #eae6dc;
  --paper-3:    #e0dbcf;
  --line:       rgba(18, 19, 15, .13);
  --line-2:     rgba(18, 19, 15, .07);
  --accent:     #c33f16;
  --accent-ink: #fdf7f2;
  --live:       #3f7d5b;

  --ff-d: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --ff-b: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ff-m: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --shell: 1240px;
  --gut: clamp(1.25rem, 4vw, 3.5rem);
  --ease: cubic-bezier(.22, 1, .36, 1);

  --grain-blend: multiply;
  --grain-op: .04;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --ink:        #ece8df;
  --ink-soft:   #b3b0a6;
  --ink-mute:   #7e7d74;
  --paper:      #101109;
  --paper-2:    #17180f;
  --paper-3:    #1f2016;
  --line:       rgba(236, 232, 223, .15);
  --line-2:     rgba(236, 232, 223, .08);
  --accent:     #f2622e;
  --accent-ink: #16110d;
  --live:       #62b189;
  --grain-blend: screen;
  --grain-op: .035;
  color-scheme: dark;
}

/* ---------- base ---------- */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--ff-b);
  font-size: clamp(1rem, .96rem + .18vw, 1.0625rem);
  line-height: 1.62;
  letter-spacing: -.006em;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color .5s var(--ease), color .5s var(--ease);
}

/* film grain — the thing that stops flat colour looking like a template */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  z-index: 9998;
  pointer-events: none;
  opacity: var(--grain-op);
  mix-blend-mode: var(--grain-blend);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: var(--paper);
  padding: .75rem 1.25rem; border-radius: 0 0 .5rem 0;
}
.skip:focus { left: 0; }

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

/* ---------- type ---------- */
.h1 {
  font-family: var(--ff-d);
  font-weight: 400;
  font-size: clamp(3.1rem, 1.1rem + 8.4vw, 8.75rem);
  line-height: .92;
  letter-spacing: -.035em;
  margin-block: clamp(1.5rem, 3vw, 2.5rem) 0;
}
.h1 .line { display: block; }
.h1 em { font-style: italic; color: var(--accent); }

.h2 {
  font-family: var(--ff-d);
  font-weight: 400;
  font-size: clamp(2.15rem, 1.1rem + 3.6vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -.028em;
}

.eyebrow {
  font-family: var(--ff-m);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: flex;
  align-items: center;
  gap: .6rem;
}
.eyebrow__n { color: var(--accent); }

.pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--live) 60%, transparent);
  animation: pulse 2.6s var(--ease) infinite;
  flex: none;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--live) 55%, transparent); }
  60%, 100% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--live) 0%, transparent); }
}

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background-color .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--line);
}
.nav__in {
  display: flex; align-items: center; gap: 2rem;
  height: 76px;
  transition: height .35s var(--ease);
}
.nav.is-stuck .nav__in { height: 64px; }

.mark { display: inline-flex; align-items: center; gap: .6rem; margin-right: auto; }
.mark__g { width: 30px; height: 30px; flex: none; }
.mark__g path { fill: none; stroke: currentColor; stroke-width: 2.7; stroke-linecap: round; }
.mark:hover .mark__g { color: var(--accent); }
.mark__g { transition: color .3s var(--ease); }
.mark__t {
  font-family: var(--ff-m);
  font-size: .82rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  white-space: nowrap;
}
.mark__t-d { color: var(--ink-mute); margin-left: .45em; }

.nav__links { display: flex; gap: 2rem; }
.nav__links a {
  font-size: .875rem;
  color: var(--ink-soft);
  position: relative;
  padding-block: .35rem;
  transition: color .25s var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__links a.is-here { color: var(--ink); }
.nav__links a.is-here .nav__n { color: var(--accent); }
.nav__n { font-family: var(--ff-m); font-size: .68rem; color: var(--ink-mute); margin-right: .3em; }

.nav__end { display: flex; align-items: center; gap: .85rem; }

.theme {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  transition: color .25s, border-color .25s, transform .3s var(--ease);
}
.theme:hover { color: var(--ink); border-color: var(--ink); transform: rotate(25deg); }
.theme__i { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.theme__moon { display: none; }
:root[data-theme="dark"] .theme__i circle,
:root[data-theme="dark"] .theme__rays { display: none; }
:root[data-theme="dark"] .theme__moon { display: block; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .9rem; font-weight: 500;
  padding: .8rem 1.35rem;
  border-radius: 100px;
  border: 1px solid var(--line);
  color: var(--ink);
  position: relative; overflow: hidden;
  transition: color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
  white-space: nowrap;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform .45s var(--ease);
}
.btn { z-index: 0; }
.btn:hover { color: var(--paper); border-color: var(--ink); }
.btn:hover::before { transform: translateY(0); }
.btn:active { transform: scale(.98); }
.btn__ar { transition: transform .35s var(--ease); }
.btn:hover .btn__ar { transform: translateX(3px); }

.btn--sm { padding: .55rem 1.05rem; font-size: .82rem; }

.btn--solid {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
  padding: 1rem 1.7rem;
  font-size: .95rem;
}
.btn--solid::before { background: var(--ink); }
.btn--solid:hover { color: var(--paper); border-color: var(--ink); }
.btn__wa { width: 18px; height: 18px; fill: currentColor; flex: none; }

.btn--ghost { padding: 1rem 1.7rem; font-size: .95rem; }
.btn--ghost:hover .btn__ar { transform: translateY(3px); }

/* ---------- hero ---------- */
.hero { padding-top: clamp(8rem, 16vh, 12rem); position: relative; }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: end;
  padding-bottom: clamp(3.5rem, 8vw, 6rem);
}

.hero__sub {
  max-width: 46ch;
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  font-size: clamp(1.02rem, .96rem + .35vw, 1.2rem);
  color: var(--ink-soft);
  line-height: 1.62;
}

.hero__cta {
  display: flex; flex-wrap: wrap; gap: .75rem;
  margin-top: clamp(2rem, 4vw, 2.75rem);
}

.hero__rail {
  border-left: 1px solid var(--line);
  padding-left: clamp(1.25rem, 2.5vw, 2rem);
  align-self: end;
}
.hero__rail dl { display: grid; gap: 1.15rem; }
.hero__rail dt {
  font-family: var(--ff-m);
  font-size: .64rem; letter-spacing: .17em; text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: .15rem;
}
.hero__rail dd { font-size: .95rem; white-space: nowrap; }

/* ---------- ticker ---------- */
.ticker {
  border-block: 1px solid var(--line);
  padding-block: .9rem;
  overflow: hidden;
  background: color-mix(in srgb, var(--paper-2) 55%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker__track {
  display: flex; align-items: center; gap: 2.5rem;
  width: max-content;
  animation: slide 44s linear infinite;
}
.ticker__track span {
  font-family: var(--ff-m);
  font-size: .72rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
}
.ticker__track i { color: var(--accent); font-size: .6rem; font-style: normal; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.sec { padding-block: clamp(5.5rem, 12vw, 10rem); }
.sec__head { margin-bottom: clamp(3rem, 7vw, 5.5rem); }
.sec__head .eyebrow { margin-bottom: 1.5rem; }

/* literal values on purpose: `--ink: var(--paper)` here would be a self-reference
   (background: var(--ink)) and silently render the section light-on-light */
.sec--dark {
  position: relative;
  background: #12130f;
  color: #f3f0e9;
  --ink: #f3f0e9;
  --ink-soft: #a9a89c;
  --ink-mute: #79786d;
  --line: rgba(243, 240, 233, .17);
  --line-2: rgba(243, 240, 233, .09);
  --accent: #f2622e;
}
:root[data-theme="dark"] .sec--dark {
  background: #191a11;
  color: #ece8df;
  --ink: #ece8df;
  --ink-soft: #b3b0a6;
  --ink-mute: #7e7d74;
  --line: rgba(236, 232, 223, .15);
  --line-2: rgba(236, 232, 223, .08);
}

/* ---------- products ---------- */
.prod {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) minmax(0, .92fr);
  gap: clamp(1.75rem, 4vw, 4rem);
  padding-block: clamp(3rem, 6vw, 4.5rem);
  border-top: 1px solid var(--line);
  align-items: start;
}
.prod:last-child { border-bottom: 1px solid var(--line); }

.prod--flip .prod__art { order: -1; }
.prod--flip .prod__meta { order: -2; }

.prod__meta { position: sticky; top: 110px; display: grid; gap: 1.25rem; justify-items: start; }
@media (max-width: 1000px) { .prod__meta { position: static; } }

.prod__n {
  font-family: var(--ff-d);
  font-size: 3.5rem; line-height: 1;
  color: var(--accent);
  letter-spacing: -.04em;
}

.tag {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--ff-m);
  font-size: .66rem; letter-spacing: .13em; text-transform: uppercase;
  padding: .4rem .75rem;
  border: 1px solid var(--line);
  border-radius: 100px;
}
.tag--live { color: var(--live); border-color: color-mix(in srgb, var(--live) 40%, transparent); }

.prod__facts { display: grid; gap: .9rem; }
.prod__facts dt {
  font-family: var(--ff-m);
  font-size: .62rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-mute);
}
.prod__facts dd { font-size: .875rem; color: var(--ink-soft); line-height: 1.4; }

.prod__name {
  font-family: var(--ff-d);
  font-weight: 400;
  font-size: clamp(2.4rem, 1.5rem + 2.8vw, 3.9rem);
  line-height: 1;
  letter-spacing: -.03em;
}
.prod__tag {
  font-family: var(--ff-d);
  font-style: italic;
  font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem);
  line-height: 1.32;
  color: var(--accent);
  margin-top: .85rem;
  max-width: 30ch;
}
.prod__desc {
  margin-top: 1.4rem;
  color: var(--ink-soft);
  max-width: 52ch;
}

.feat { margin-top: 2.25rem; display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.feat li {
  position: relative;
  padding: .95rem 0 .95rem 1.5rem;
  border-bottom: 1px solid var(--line-2);
  font-size: .925rem;
  color: var(--ink-soft);
  line-height: 1.55;
  transition: color .3s var(--ease), padding-left .35s var(--ease);
}
.feat li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.42rem;
  width: 6px; height: 6px;
  border: 1px solid var(--accent);
  transform: rotate(45deg);
  transition: background-color .3s var(--ease);
}
.feat li:hover { color: var(--ink); padding-left: 1.85rem; }
.feat li:hover::before { background: var(--accent); }
.feat b { color: var(--ink); font-weight: 500; }

/* ---------- mockups ---------- */
.prod__art { position: sticky; top: 110px; }
@media (max-width: 1000px) { .prod__art { position: static; } }

.mock {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper-2);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 18px 45px -22px rgba(0,0,0,.28);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.prod:hover .mock { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 28px 60px -24px rgba(0,0,0,.34); }

.mock__chrome {
  display: flex; align-items: center; gap: .55rem;
  padding: .7rem .9rem;
  border-bottom: 1px solid var(--line);
  background: var(--paper-3);
}
.mock__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-mute); flex: none; }
.mock__dot--live { background: var(--live); }
.mock__title {
  font-family: var(--ff-m); font-size: .68rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft);
}
.mock__badge {
  margin-left: auto;
  font-family: var(--ff-m); font-size: .6rem;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-mute);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: .18rem .55rem;
}

/* POS mock */
.mock__scan {
  position: relative;
  padding: 1.1rem .9rem;
  border-bottom: 1px solid var(--line-2);
  color: var(--ink);
  overflow: hidden;
}
.barcode { width: 100%; height: 34px; opacity: .78; }
.mock__scanline {
  position: absolute; left: .9rem; right: .9rem; top: 50%;
  height: 1.5px; background: var(--accent);
  box-shadow: 0 0 10px color-mix(in srgb, var(--accent) 70%, transparent);
  animation: scan 3.4s var(--ease) infinite;
}
@keyframes scan {
  0%, 100% { transform: translateY(-15px); opacity: 0; }
  15%, 85% { opacity: 1; }
  50% { transform: translateY(15px); }
}

.mock__lines { padding: .35rem .9rem; }
.mock__lines li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: .75rem;
  align-items: baseline;
  padding-block: .5rem;
  font-size: .82rem;
  border-bottom: 1px dashed var(--line-2);
}
.mock__lines i { font-style: normal; font-family: var(--ff-m); font-size: .72rem; color: var(--ink-mute); }
.mock__lines em {
  font-style: normal; font-family: var(--ff-m); font-size: .8rem;
  font-variant-numeric: tabular-nums; min-width: 3.4ch; text-align: right;
}

.mock__sum { padding: .75rem .9rem 1rem; }
.mock__row {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: .82rem; padding-block: .25rem;
}
.mock__row em {
  font-style: normal; font-family: var(--ff-m);
  font-variant-numeric: tabular-nums;
}
.mock__row--muted { color: var(--ink-mute); font-size: .74rem; }
.mock__row--tot {
  margin-top: .5rem; padding-top: .6rem;
  border-top: 1px solid var(--line);
  font-size: 1rem; font-weight: 500;
}
.mock__row--tot em { font-size: 1.15rem; color: var(--accent); }

/* Fleet mock */
.mapwrap { position: relative; }
.map { width: 100%; height: clamp(190px, 26vw, 250px); background: var(--paper-3); }
.map__grid { stroke: var(--line-2); stroke-width: 1; }
.map__road { fill: none; stroke: var(--line); stroke-width: 6; stroke-linecap: round; }
.map__zone {
  fill: color-mix(in srgb, var(--accent) 9%, transparent);
  stroke: color-mix(in srgb, var(--accent) 42%, transparent);
  stroke-width: 1.25;
  stroke-dasharray: 5 4;
}
.map__route {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-dasharray: 210;
  stroke-dashoffset: 210;
  animation: draw 5s var(--ease) infinite;
}
@keyframes draw {
  0%   { stroke-dashoffset: 210; }
  55%, 100% { stroke-dashoffset: 0; }
}
.map__pin { fill: var(--ink); }
.map__pin--a rect { fill: var(--ink); }
.map__pin-hole { fill: var(--paper-3); }

.map__driver {
  fill: var(--accent);
  stroke: var(--paper-3);
  stroke-width: 1.5;
}
.map__driver-halo {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
}

.fleetcard {
  position: absolute; left: .75rem; right: .75rem; bottom: .75rem;
  display: flex; align-items: center; gap: .7rem;
  padding: .6rem .75rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.fleetcard__av {
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: var(--paper);
  font-family: var(--ff-m); font-size: .64rem; letter-spacing: .04em;
  flex: none;
}
.fleetcard__t { display: grid; line-height: 1.32; }
.fleetcard__t b { font-size: .82rem; font-weight: 500; }
.fleetcard__t i { font-style: normal; font-size: .7rem; color: var(--ink-mute); font-family: var(--ff-m); }
.fleetcard__sig { margin-left: auto; display: flex; align-items: flex-end; gap: 2px; height: 14px; }
.fleetcard__sig b { width: 3px; background: var(--live); border-radius: 1px; }
.fleetcard__sig b:nth-child(1) { height: 5px;  animation: sig 1.4s var(--ease) infinite; }
.fleetcard__sig b:nth-child(2) { height: 9px;  animation: sig 1.4s var(--ease) .18s infinite; }
.fleetcard__sig b:nth-child(3) { height: 14px; animation: sig 1.4s var(--ease) .36s infinite; }
@keyframes sig { 0%, 100% { opacity: .28; } 50% { opacity: 1; } }

.steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: .4rem;
  padding: .9rem .9rem 1.05rem;
  border-top: 1px solid var(--line);
}
.steps li {
  font-family: var(--ff-m);
  font-size: .58rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-mute);
  display: grid; gap: .45rem;
}
.steps li span {
  height: 3px; border-radius: 2px;
  background: var(--line);
  display: block;
}
.steps .is-done { color: var(--ink-soft); }
.steps .is-done span { background: var(--ink-soft); }
.steps .is-now { color: var(--accent); }
.steps .is-now span { background: var(--accent); position: relative; overflow: hidden; }
.steps .is-now span::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--paper) 85%, transparent), transparent);
  animation: shimmer 2s linear infinite;
}
@keyframes shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

/* ---------- tenets ---------- */
.tenets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}
.tenets li {
  padding: clamp(2rem, 4vw, 3.25rem) clamp(1.5rem, 3vw, 3rem) clamp(2rem, 4vw, 3.25rem) 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.tenets li:nth-child(odd) { border-right: 1px solid var(--line); }
.tenets li:nth-child(even) { padding-left: clamp(1.5rem, 3vw, 3rem); }
.tenets__n {
  font-family: var(--ff-m);
  font-size: .68rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent);
  display: block; margin-bottom: 1.5rem;
}
.tenets h3 {
  font-family: var(--ff-d);
  font-weight: 400;
  font-size: clamp(1.5rem, 1.1rem + 1.3vw, 2.1rem);
  line-height: 1.12;
  letter-spacing: -.02em;
  margin-bottom: .85rem;
}
.tenets p { color: var(--ink-soft); font-size: .95rem; max-width: 46ch; }

/* ---------- contact ---------- */
.sec--contact { padding-bottom: clamp(4rem, 9vw, 7rem); }
.cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: end;
}
.cta__lead .eyebrow { margin-bottom: 1.5rem; }
.cta__sub {
  margin-top: 1.75rem;
  color: var(--ink-soft);
  max-width: 44ch;
}

.cta__ways { display: grid; border-top: 1px solid var(--line); }
.way {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: padding-left .4s var(--ease), color .3s var(--ease);
}
.way::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px;
  height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease);
}
a.way:hover { padding-left: .6rem; }
a.way:hover::before { transform: scaleX(1); transform-origin: left; }
.way__k {
  font-family: var(--ff-m);
  font-size: .64rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-mute);
}
.way__v {
  font-size: clamp(.95rem, .88rem + .35vw, 1.15rem);
  word-break: break-word;
  transition: color .3s var(--ease);
}
a.way:hover .way__v { color: var(--accent); }
.way__ar { color: var(--ink-mute); transition: transform .4s var(--ease), color .3s; }
a.way:hover .way__ar { transform: translateX(4px); color: var(--accent); }
.way--static { color: var(--ink-mute); }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding-block: 2.25rem; }
.foot__in { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.mark--sm .mark__g { width: 22px; height: 22px; }
.mark--sm .mark__t { font-size: .72rem; }
.foot__c {
  margin-left: auto;
  font-family: var(--ff-m); font-size: .68rem;
  letter-spacing: .08em; color: var(--ink-mute);
}
.foot__top {
  font-family: var(--ff-m); font-size: .68rem;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-mute);
  transition: color .25s;
}
.foot__top:hover { color: var(--accent); }

/* ---------- reveal ---------- */
.r {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.r.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .prod { grid-template-columns: 170px minmax(0, 1fr); }
  .prod__art { grid-column: 1 / -1; max-width: 560px; }
  .prod--flip .prod__art { order: 0; }
  .prod--flip .prod__meta { order: 0; }
}

@media (max-width: 860px) {
  .nav__links { display: none; }
  .hero__grid { grid-template-columns: 1fr; align-items: start; }
  .hero__rail { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 1.75rem; }
  .hero__rail dl { grid-template-columns: repeat(2, 1fr); gap: 1.25rem 2rem; }
  .cta { grid-template-columns: 1fr; align-items: start; }
  .tenets { grid-template-columns: 1fr; }
  .tenets li:nth-child(odd) { border-right: 0; }
  .tenets li:nth-child(even) { padding-left: 0; }
  .tenets li { padding-right: 0; }
}

@media (max-width: 620px) {
  .prod { grid-template-columns: 1fr; }
  .prod__meta {
    grid-template-columns: auto auto;
    justify-items: start; align-items: center;
    gap: .5rem 1rem;
  }
  .prod__facts { grid-column: 1 / -1; grid-template-columns: repeat(2, 1fr); gap: .85rem 1.25rem; margin-top: .5rem; }
  .prod__n { font-size: 2.5rem; }
  .hero__cta .btn { flex: 1 1 100%; justify-content: center; }
  .way { grid-template-columns: 1fr auto; }
  .way__k { grid-column: 1 / -1; }
  .foot__in { justify-content: space-between; }
  .foot__c { margin-left: 0; width: 100%; order: 3; }
}

/* ---------- motion off ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .r { opacity: 1; transform: none; }
  .map__route { stroke-dashoffset: 0; }
  .mock__scanline { display: none; }
}

/* ---------- print ---------- */
@media print {
  .nav, .ticker, .prod__art, .foot__top, body::after { display: none !important; }
  body { background: #fff; color: #000; }
  .r { opacity: 1; transform: none; }
}
