/* ==========================================================================
   Diesel Pro USA — Core Stylesheet
   Industrial engineering aesthetic: deep ink surfaces, signal-orange accent,
   technical mono labelling, precision grid.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Surfaces */
  --ink:        #07080A;
  --surface:    #0C0F13;
  --surface-2:  #12171D;
  --surface-3:  #1A2129;
  --paper:      #F4F5F6;

  /* Ink */
  --text:       #E9ECEF;
  --text-dim:   #98A3AE;
  --text-mute:  #667380;

  /* Brand */
  --accent:     #FF4A17;
  --accent-hi:  #FF6B3D;
  --accent-lo:  #C43000;
  --steel:      #5B8DB8;
  --line:       rgba(255,255,255,.09);
  --line-soft:  rgba(255,255,255,.05);

  /* Type */
  --f-display: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --f-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --f-mono:    'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* Rhythm */
  --pad:        clamp(20px, 5vw, 72px);
  --sec:        clamp(72px, 11vw, 160px);
  --maxw:       1440px;
  --r:          4px;
  --r-lg:       10px;

  /* Motion */
  --e-out:      cubic-bezier(.22,1,.36,1);
  --e-io:       cubic-bezier(.65,0,.35,1);
  --t:          .5s var(--e-out);

  --nav-h:      74px;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 20px);
  overflow-x: clip; /* contains pre-reveal transforms without breaking sticky */
}
body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: "ss01","cv05";
}
body.is-locked { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
::selection { background: var(--accent); color: #fff; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: #262e37; border-radius: 99px; border: 3px solid var(--ink); }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ---------- 3. Type scale ---------- */
.h-xxl, .h-xl, .h-l, .h-m, .h-s {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.h-xxl { font-size: clamp(2.65rem, 8.2vw, 7rem); }
.h-xl  { font-size: clamp(2.1rem, 5.6vw, 4.4rem); }
.h-l   { font-size: clamp(1.75rem, 3.9vw, 3rem); line-height: 1.04; }
.h-m   { font-size: clamp(1.3rem, 2.2vw, 1.75rem); line-height: 1.15; letter-spacing: -.02em; }
.h-s   { font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.25; letter-spacing: -.01em; }

.lead { font-size: clamp(1.02rem, 1.45vw, 1.2rem); color: var(--text-dim); line-height: 1.7; max-width: 62ch; }
.body-dim { color: var(--text-dim); }
.tight { max-width: 58ch; }

.mono {
  font-family: var(--f-mono);
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-mute);
  font-weight: 500;
}
.eyebrow {
  font-family: var(--f-mono);
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--accent);
  flex: none;
}
.eyebrow.no-rule::before { display: none; }
.accent { color: var(--accent); }

/* ---------- 4. Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.section { padding-block: var(--sec); position: relative; }
.section--tight { padding-block: clamp(52px, 7vw, 96px); }
.section--line { border-top: 1px solid var(--line); }
.bg-surface { background: var(--surface); }
.bg-surface2 { background: var(--surface-2); }

.grid { display: grid; gap: clamp(20px, 2.6vw, 34px); }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.split {
  display: grid;
  grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr);
  gap: clamp(30px, 5vw, 84px);
  align-items: start;
}
.split--center { align-items: center; }
.stack-sm > * + * { margin-top: 14px; }
.stack > * + * { margin-top: 22px; }
.stack-lg > * + * { margin-top: 34px; }

.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: clamp(34px, 4.6vw, 62px);
}
.sec-head .col { max-width: 60ch; }
.sec-head .col > * + * { margin-top: 16px; }

/* ---------- 5. Buttons ---------- */
.btn {
  --bg: var(--accent);
  --fg: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 26px;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-mono);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  border-radius: var(--r);
  overflow: hidden;
  isolation: isolate;
  transition: color .35s var(--e-out), border-color .35s var(--e-out), transform .35s var(--e-out);
  white-space: nowrap;
  cursor: pointer;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform .45s var(--e-out);
  z-index: -1;
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: #fff; }
.btn:active { transform: scale(.98); }
.btn .ico {
  width: 15px; height: 15px;
  flex: none;
  transition: transform .4s var(--e-out);
}
.btn:hover .ico { transform: translateX(4px); }

.btn--ghost {
  --bg: transparent;
  --fg: var(--text);
  border: 1px solid var(--line);
}
.btn--ghost::before { background: var(--accent); }
.btn--ghost:hover { border-color: var(--accent); }

.btn--light { --bg: var(--paper); --fg: #0A0C0F; }
.btn--light::before { background: var(--accent); }

.btn--sm { padding: 11px 18px; font-size: .68rem; }

/* Text link with sliding underline */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--f-mono);
  font-size: .74rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--text);
  padding-bottom: 4px;
  position: relative;
  transition: color .3s var(--e-out);
}
.tlink::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--e-out);
}
.tlink:hover { color: var(--accent); }
.tlink:hover::after { transform: scaleX(1); transform-origin: left; }
.tlink .ico { width: 14px; height: 14px; transition: transform .4s var(--e-out); }
.tlink:hover .ico { transform: translateX(4px); }

/* ---------- 6. Preloader ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--ink);
  display: grid;
  place-items: center;
  transition: opacity .6s var(--e-out), visibility .6s;
}
.loader.done { opacity: 0; visibility: hidden; }
.loader__inner { width: min(420px, 74vw); text-align: left; }
.loader__mark {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 3.4vw, 2rem);
  letter-spacing: -.03em;
  margin-bottom: 20px;
}
.loader__bar {
  height: 2px;
  background: rgba(255,255,255,.1);
  position: relative;
  overflow: hidden;
}
.loader__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background: var(--accent);
  transition: width .25s linear;
}
.loader__row {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
}

/* ---------- 7. Header ---------- */
.hdr {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background .45s var(--e-out), height .45s var(--e-out), border-color .45s var(--e-out), transform .5s var(--e-out);
  border-bottom: 1px solid transparent;
}
.hdr.scrolled {
  height: 64px;
  background: rgba(7,8,10,.82);
  backdrop-filter: saturate(150%) blur(16px);
  -webkit-backdrop-filter: saturate(150%) blur(16px);
  border-bottom-color: var(--line);
}
.hdr.hide { transform: translateY(-100%); }
.hdr__in {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
  display: flex;
  align-items: center;
  gap: 30px;
}

.brand { display: flex; align-items: center; gap: 11px; flex: none; z-index: 2; }
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__txt { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -.02em;
}
.brand__sub {
  font-family: var(--f-mono);
  font-size: .53rem;
  letter-spacing: .26em;
  color: var(--text-mute);
  margin-top: 3px;
}

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__a {
  position: relative;
  padding: 9px 13px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--text-dim);
  transition: color .3s var(--e-out);
  white-space: nowrap;
}
.nav__a::after {
  content: "";
  position: absolute;
  left: 13px; right: 13px; bottom: 2px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--e-out);
}
.nav__a:hover, .nav__a.active { color: var(--text); }
.nav__a:hover::after, .nav__a.active::after { transform: scaleX(1); transform-origin: left; }
.nav__a.active { color: var(--accent); }

.hdr__cta { display: flex; align-items: center; gap: 14px; flex: none; }
.hdr__tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: .76rem;
  letter-spacing: .06em;
  color: var(--text-dim);
  transition: color .3s;
  min-height: 26px;
}
.hdr__tel:hover { color: var(--accent); }
.hdr__tel svg { width: 14px; height: 14px; }

/* Burger */
.burger {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  position: relative;
  z-index: 2;
  flex: none;
  transition: border-color .3s, background .3s;
}
.burger:hover { border-color: var(--accent); }
.burger span {
  position: absolute;
  left: 11px;
  width: 18px; height: 1.5px;
  background: var(--text);
  transition: transform .4s var(--e-out), opacity .3s, width .4s var(--e-out);
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 20.5px; width: 13px; }
.burger span:nth-child(3) { top: 26px; }
.burger.open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; width: 0; }
.burger.open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 890;
  background: var(--ink);
  padding: calc(var(--nav-h) + 26px) var(--pad) 34px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .7s var(--e-out);
  pointer-events: none;
}
.drawer.open { clip-path: inset(0 0 0 0); pointer-events: auto; }
.drawer__list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.drawer__item { border-bottom: 1px solid var(--line); overflow: hidden; }
.drawer__a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 17px 0;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.55rem;
  letter-spacing: -.025em;
  transform: translateY(110%);
  opacity: 0;
  transition: transform .65s var(--e-out), opacity .5s var(--e-out), color .3s;
}
.drawer.open .drawer__a { transform: translateY(0); opacity: 1; }
.drawer__a:hover, .drawer__a.active { color: var(--accent); }
.drawer__a .n { font-family: var(--f-mono); font-size: .62rem; color: var(--text-mute); letter-spacing: .14em; }
.drawer__foot { margin-top: auto; padding-top: 34px; display: grid; gap: 14px; }

/* ---------- 8. Hero ---------- */
.hero {
  position: relative;
  min-height: min(100svh, 900px);
  display: flex;
  align-items: flex-end;
  padding-top: calc(var(--nav-h) + 40px);
  padding-bottom: clamp(34px, 5vw, 64px);
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
  transform: scale(1.06);
  animation: heroZoom 16s var(--e-out) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, var(--ink) 6%, rgba(7,8,10,.82) 38%, rgba(7,8,10,.28) 66%, rgba(7,8,10,.55) 100%),
    linear-gradient(to top, var(--ink) 1%, transparent 42%);
}
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, var(--line-soft) 1px, transparent 1px);
  background-size: 12.5% 100%;
  opacity: .8;
  pointer-events: none;
}
.hero__in { width: 100%; }
.hero__title { margin: 18px 0 0; text-transform: uppercase; }
.hero__title .ln { display: block; overflow: hidden; }
.hero__title .ln > span {
  display: block;
  transform: translateY(105%);
  animation: lineUp 1.05s var(--e-out) forwards;
}
.hero__title .ln:nth-child(1) > span { animation-delay: .1s; }
.hero__title .ln:nth-child(2) > span { animation-delay: .19s; }
.hero__title .ln:nth-child(3) > span { animation-delay: .28s; }
@keyframes lineUp { to { transform: translateY(0); } }
.hero__foot {
  margin-top: clamp(26px, 3.4vw, 44px);
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 30px;
  align-items: end;
  padding-right: clamp(0px, 4.5vw, 74px); /* keep clear of the scroll cue */
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero__stats {
  display: flex;
  gap: clamp(20px, 3vw, 46px);
  padding-left: clamp(20px, 3vw, 46px);
  border-left: 1px solid var(--line);
}
.hero__stat .v {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 2.9vw, 2.5rem);
  letter-spacing: -.03em;
  line-height: 1;
  color: var(--text);
}
.hero__stat .v em { font-style: normal; color: var(--accent); }
.hero__stat .k { margin-top: 7px; max-width: 15ch; }

.scroll-cue {
  position: absolute;
  right: var(--pad);
  bottom: clamp(34px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 3;
}
.scroll-cue .rail { width: 1px; height: 54px; background: var(--line); position: relative; overflow: hidden; }
.scroll-cue .rail::after {
  content: "";
  position: absolute;
  top: -100%; left: 0;
  width: 100%; height: 100%;
  background: var(--accent);
  animation: railRun 2s var(--e-io) infinite;
}
@keyframes railRun { 0% { top: -100%; } 60%,100% { top: 100%; } }

/* ---------- 9. Marquee ---------- */
.marq {
  border-block: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  padding-block: 15px;
  display: flex;
}
.marq__track {
  display: flex;
  gap: 44px;
  padding-right: 44px;
  flex: none;
  animation: marq 34s linear infinite;
  will-change: transform;
}
.marq:hover .marq__track { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(-100%); } }
.marq__item {
  display: inline-flex;
  align-items: center;
  gap: 44px;
  font-family: var(--f-mono);
  font-size: .78rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
}
.marq__item::after {
  content: "";
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
  flex: none;
}

/* ---------- 10. Cards ---------- */
.card {
  position: relative;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(22px, 2.6vw, 34px);
  overflow: hidden;
  isolation: isolate;
  transition: border-color .45s var(--e-out), transform .45s var(--e-out), background .45s var(--e-out);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .55s var(--e-out);
}
.card:hover { border-color: rgba(255,255,255,.18); transform: translateY(-5px); background: var(--surface-3); }
.card:hover::after { transform: scaleX(1); }
.card__n {
  font-family: var(--f-mono);
  font-size: .68rem;
  letter-spacing: .18em;
  color: var(--accent);
  margin-bottom: 18px;
}
.card__t { margin-bottom: 11px; }
.card__d { color: var(--text-dim); font-size: .94rem; }
.card__list { margin-top: 18px; display: grid; gap: 9px; }
.card__list li {
  display: flex;
  gap: 10px;
  font-size: .88rem;
  color: var(--text-dim);
  line-height: 1.55;
}
.card__list li::before {
  content: "";
  width: 5px; height: 5px;
  margin-top: 9px;
  background: var(--accent);
  flex: none;
  transform: rotate(45deg);
}
.card__foot { margin-top: auto; padding-top: 22px; }
.card--flat { background: transparent; }
.card--flat:hover { background: var(--surface-2); }

.card-media {
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: var(--r);
  margin: -6px 0 22px;
  background: var(--surface-3);
}
.card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--e-out), filter .6s;
  filter: saturate(.82) contrast(1.06);
}
.card:hover .card-media img { transform: scale(1.07); filter: saturate(1) contrast(1.1); }

/* Numbered feature rows */
.rows { border-top: 1px solid var(--line); }
.row-item {
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 72px minmax(0,1fr) minmax(0,1.25fr);
  gap: 22px;
  padding: clamp(22px, 2.7vw, 34px) 0;
  align-items: start;
  transition: background .4s var(--e-out), padding-inline .4s var(--e-out);
}
.row-item:hover { background: rgba(255,255,255,.024); padding-inline: 16px; }
.row-item__n { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .16em; color: var(--accent); padding-top: 5px; }
.row-item__d { color: var(--text-dim); font-size: .95rem; }

/* ---------- 11. Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface-2);
}
.stat {
  padding: clamp(26px, 3.2vw, 42px);
  border-right: 1px solid var(--line);
  position: relative;
  transition: background .4s var(--e-out);
}
.stat:last-child { border-right: 0; }
.stat:hover { background: var(--surface-3); }
.stat__v {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 4.4vw, 3.5rem);
  line-height: 1;
  letter-spacing: -.04em;
}
.stat__v .sfx { color: var(--accent); }
.stat__k { margin-top: 14px; color: var(--text-dim); font-size: .88rem; max-width: 22ch; }

/* ---------- 12. Before / After slider ---------- */
.ba {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 1/1;
  cursor: ew-resize;
  user-select: none;
  touch-action: pan-y; /* keep vertical page scroll available over the slider */
  background: var(--surface-2);
}
.ba img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}
.ba__top { clip-path: inset(0 50% 0 0); }
.ba__handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--accent);
  transform: translateX(-1px);
  pointer-events: none;
}
.ba__knob {
  position: absolute;
  top: 50%; left: 50%;
  width: 44px; height: 44px;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  background: var(--accent);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 26px rgba(0,0,0,.5);
}
.ba__knob svg { width: 18px; height: 18px; color: #fff; }
.ba__tag {
  position: absolute;
  top: 14px;
  padding: 6px 11px;
  background: rgba(7,8,10,.72);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 99px;
  font-family: var(--f-mono);
  font-size: .62rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  pointer-events: none;
}
.ba__tag--l { left: 14px; }
.ba__tag--r { right: 14px; color: var(--accent); }

/* ---------- 13. Accordion ---------- */
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  text-align: left;
  transition: color .3s, padding-inline .4s var(--e-out);
}
.acc__btn:hover { color: var(--accent); padding-inline: 12px; }
.acc__n { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .16em; color: var(--accent); flex: none; width: 34px; }
.acc__t { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.02rem, 1.7vw, 1.28rem); letter-spacing: -.02em; flex: 1; }
.acc__ic {
  position: relative;
  width: 30px; height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  flex: none;
  transition: transform .5s var(--e-out), border-color .3s, background .3s;
}
.acc__ic::before, .acc__ic::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  background: currentColor;
  transform: translate(-50%,-50%);
  transition: opacity .3s;
}
.acc__ic::before { width: 11px; height: 1.5px; }
.acc__ic::after { width: 1.5px; height: 11px; }
.acc__item.open .acc__ic { transform: rotate(180deg); border-color: var(--accent); background: var(--accent); color: #fff; }
.acc__item.open .acc__ic::after { opacity: 0; }
.acc__panel { overflow: hidden; height: 0; transition: height .55s var(--e-out); }
.acc__inner { padding: 0 0 26px 54px; color: var(--text-dim); max-width: 78ch; }
.acc__inner > * + * { margin-top: 12px; }

/* ---------- 14. Tables ---------- */
.tbl-wrap {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface-2);
}
.tbl-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.tbl { width: 100%; border-collapse: collapse; min-width: 640px; }
table.tbl th, table.tbl td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-soft);
  font-size: .87rem;
  vertical-align: top;
}
table.tbl thead th {
  background: var(--surface-3);
  font-family: var(--f-mono);
  font-size: .66rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 500;
  position: sticky;
  top: 0;
  z-index: 1;
}
table.tbl tbody tr { transition: background .25s; }
table.tbl tbody tr:hover { background: rgba(255,255,255,.03); }
table.tbl tbody tr:last-child td { border-bottom: 0; }
table.tbl td.pn { font-family: var(--f-mono); font-size: .8rem; color: var(--accent); white-space: nowrap; }
table.tbl td.note { color: var(--text-mute); font-size: .8rem; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; align-items: center; }
.field {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 11px 15px;
  transition: border-color .3s;
  flex: 1 1 240px;
  min-width: 0;
}
.field:focus-within { border-color: var(--accent); }
.field svg { width: 15px; height: 15px; color: var(--text-mute); flex: none; }
.field input, .field select {
  background: none;
  border: 0;
  outline: none;
  width: 100%;
  font-size: .9rem;
  min-width: 0;
}
.field select option { background: var(--surface-2); }
.chip {
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 99px;
  font-family: var(--f-mono);
  font-size: .66rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: all .3s var(--e-out);
  cursor: pointer;
}
.chip:hover { border-color: var(--accent); color: var(--text); }
.chip.on { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ---------- 15. Testimonials ---------- */
.quote {
  position: relative;
  padding: clamp(26px, 3.2vw, 40px);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: border-color .4s, transform .4s var(--e-out);
}
.quote:hover { border-color: rgba(255,255,255,.18); transform: translateY(-4px); }
.quote__mark { font-family: var(--f-display); font-size: 3.4rem; line-height: .6; color: var(--accent); opacity: .5; margin-bottom: 16px; }
.quote__txt { font-size: 1.02rem; line-height: 1.62; }
.quote__by { margin-top: auto; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.quote__co { font-family: var(--f-display); font-weight: 600; font-size: .96rem; }
.quote__meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 4px; }

/* ---------- 16. Contact / forms ---------- */
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.inp {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 15px 17px;
  font-size: .94rem;
  outline: none;
  transition: border-color .3s, background .3s;
}
.inp::placeholder { color: var(--text-mute); }
.inp:focus { border-color: var(--accent); background: var(--surface-3); }
textarea.inp { min-height: 148px; resize: vertical; }
.form__note { font-size: .78rem; color: var(--text-mute); }
.form__ok {
  display: none;
  padding: 15px 18px;
  border: 1px solid var(--accent);
  border-radius: var(--r);
  background: rgba(255,74,23,.09);
  font-size: .9rem;
}
.form__ok.show { display: block; }

.contact-line {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-inline .4s var(--e-out);
}
.contact-line:hover { padding-inline: 10px; }
.contact-line svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
.contact-line .v { font-family: var(--f-display); font-weight: 600; font-size: 1.05rem; }

/* Location cards */
.loc {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(20px, 2.4vw, 28px);
  background: var(--surface-2);
  transition: border-color .4s, transform .4s var(--e-out), background .4s;
  height: 100%;
}
.loc:hover { border-color: var(--accent); transform: translateY(-4px); background: var(--surface-3); }
.loc__badge {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: .58rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--text-mute);
  margin-bottom: 14px;
}
.loc__badge.dist { color: var(--accent); border-color: rgba(255,74,23,.4); }
.loc__city { font-family: var(--f-display); font-weight: 700; font-size: 1.18rem; letter-spacing: -.02em; }
.loc__addr { color: var(--text-dim); font-size: .88rem; margin-top: 8px; }
.loc__tel { margin-top: 16px; display: grid; gap: 6px; }
.loc__tel a, .loc__tel span { font-family: var(--f-mono); font-size: .78rem; color: var(--text-dim); transition: color .3s; }
.loc__tel a:hover { color: var(--accent); }
.loc__tel b { color: var(--text-mute); font-weight: 500; }

/* ---------- 17. CTA band ---------- */
.cta {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--surface-2);
  padding: clamp(34px, 5.4vw, 74px);
  isolation: isolate;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 130% at 85% 15%, rgba(255,74,23,.18), transparent 58%),
    radial-gradient(90% 110% at 5% 95%, rgba(91,141,184,.12), transparent 60%);
}
.cta__in { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 34px; align-items: center; }
.cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- 18. Footer ---------- */
.ftr { border-top: 1px solid var(--line); background: var(--surface); padding-top: clamp(48px, 6vw, 82px); }
.ftr__top { display: grid; grid-template-columns: minmax(0,1.5fr) repeat(3, minmax(0,1fr)); gap: 38px; }
.ftr__h { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 18px; }
.ftr__links { display: grid; gap: 11px; }
.ftr__links a { font-size: .9rem; color: var(--text-dim); transition: color .3s, transform .3s var(--e-out); display: inline-block; }
.ftr__links a:hover { color: var(--accent); transform: translateX(4px); }
.ftr__bot {
  margin-top: clamp(38px, 5vw, 62px);
  padding-block: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.usa {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--f-mono);
  font-size: .64rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-dim);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 7px 13px;
}
.usa svg { width: 17px; height: 12px; }

/* ---------- 19. Page hero (inner pages) ---------- */
.phero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(52px, 8vw, 110px));
  padding-bottom: clamp(42px, 6vw, 82px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
}
.phero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(90% 120% at 88% -10%, rgba(255,74,23,.16), transparent 55%),
    linear-gradient(180deg, var(--surface) 0%, var(--ink) 100%);
}
.phero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(to right, var(--line-soft) 1px, transparent 1px);
  background-size: 12.5% 100%;
  pointer-events: none;
}
/* technical "radar" motif in the empty right column */
.phero::after {
  content: "";
  position: absolute;
  right: -5%;
  top: 50%;
  width: min(620px, 46vw);
  aspect-ratio: 1;
  transform: translateY(-50%);
  z-index: -1;
  pointer-events: none;
  background:
    repeating-radial-gradient(circle at 50% 50%, transparent 0 37px, rgba(255,255,255,.06) 37px 38px),
    radial-gradient(circle at 50% 50%, rgba(255,74,23,.16), transparent 62%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 24%, rgba(0,0,0,.35) 58%, transparent 74%);
  mask-image: radial-gradient(circle at 50% 50%, #000 24%, rgba(0,0,0,.35) 58%, transparent 74%);
}
@media (max-width: 1024px) { .phero::after { right: -32%; opacity: .55; } }
.crumb { display: flex; align-items: center; gap: 9px; margin-bottom: 20px; }
.crumb a { transition: color .3s; display: inline-flex; align-items: center; min-height: 26px; }
.crumb a:hover { color: var(--accent); }
.phero__title { margin-bottom: 20px; text-transform: uppercase; }

/* ---------- 20. Media / misc ---------- */
.media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-2);
}
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--tall { aspect-ratio: 4/5; }
.media--wide { aspect-ratio: 16/9; }
.media--sq { aspect-ratio: 1/1; }
.media__cap {
  position: absolute;
  left: 14px; bottom: 14px;
  padding: 7px 12px;
  background: rgba(7,8,10,.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 99px;
}
.media--parallax img { transform: scale(1.14); will-change: transform; }

.pill-list { display: flex; flex-wrap: wrap; gap: 9px; }
.pill {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 99px;
  font-family: var(--f-mono);
  font-size: .66rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: all .35s var(--e-out);
}
.pill:hover { border-color: var(--accent); color: var(--text); transform: translateY(-2px); }

.spec { display: grid; gap: 0; border-top: 1px solid var(--line); }
.spec__row {
  display: grid;
  grid-template-columns: minmax(120px, .8fr) minmax(0,1.6fr);
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: .9rem;
}
.spec__row dt { color: var(--text-mute); font-family: var(--f-mono); font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; padding-top: 3px; }
.spec__row dd { color: var(--text); }

.note-band {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding: 16px 19px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  border-radius: var(--r);
  background: var(--surface-2);
  font-size: .88rem;
  color: var(--text-dim);
}
.note-band svg { width: 17px; height: 17px; color: var(--accent); flex: none; margin-top: 2px; }

/* ---------- 21. Reveal animations ---------- */
[data-rv] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .85s var(--e-out), transform .85s var(--e-out);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
[data-rv="fade"] { transform: none; }
[data-rv="left"] { transform: translateX(-30px); }
[data-rv="right"] { transform: translateX(30px); }
[data-rv="scale"] { transform: scale(.965); }
[data-rv].in { opacity: 1; transform: none; }

.clip-rv { clip-path: inset(0 100% 0 0); transition: clip-path 1.1s var(--e-out); transition-delay: var(--d, 0ms); }
.clip-rv.in { clip-path: inset(0 0 0 0); }

/* ---------- 22. Progress bar + cursor ---------- */
.progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: var(--accent);
  z-index: 950;
  transition: width .12s linear;
}
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 26px; height: 26px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%,-50%);
  transition: width .3s var(--e-out), height .3s var(--e-out), background .3s, opacity .3s;
  opacity: 0;
  mix-blend-mode: difference;
}
.cursor.on { opacity: 1; }
.cursor.grow { width: 52px; height: 52px; background: rgba(255,74,23,.16); }

.to-top {
  position: fixed;
  right: clamp(16px, 2.4vw, 28px);
  bottom: clamp(16px, 2.4vw, 28px);
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  z-index: 880;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity .4s var(--e-out), transform .4s var(--e-out), background .3s;
  box-shadow: 0 8px 26px rgba(0,0,0,.42);
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--accent-hi); }
.to-top svg { width: 17px; height: 17px; }

/* ---------- 23. Responsive ---------- */
@media (max-width: 1180px) {
  .nav__a { padding: 9px 10px; font-size: .81rem; }
  .hdr__tel { display: none; }
}
@media (max-width: 1024px) {
  :root { --nav-h: 66px; }
  .nav { display: none; }
  .burger { display: block; margin-left: auto; }
  .hdr__cta .btn { display: none; }
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .g-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .ftr__top { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .cta__in { grid-template-columns: 1fr; }
  .hero__foot { grid-template-columns: 1fr; }
  .hero__stats { border-left: 0; padding-left: 0; padding-top: 24px; border-top: 1px solid var(--line); width: 100%; justify-content: space-between; }
  .scroll-cue { display: none; }
  .cursor { display: none; }
  .row-item { grid-template-columns: 46px minmax(0,1fr); }
  .row-item__d { grid-column: 2; }
}
@media (max-width: 720px) {
  body { font-size: 15.5px; }
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .form__row { grid-template-columns: 1fr; }
  .ftr__top { grid-template-columns: 1fr; }
  .ftr__bot { flex-direction: column; align-items: flex-start; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .hero { min-height: 88svh; }
  .hero__media img { object-position: 68% 50%; }
  .hero__stats { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px 16px; }
  .hero__stat .k { max-width: 20ch; }
  .hero__stat .v { font-size: clamp(1.45rem, 7vw, 2.1rem); }
  .hero .lead { font-size: 1rem; }
  .drawer__a { font-size: 1.32rem; }
  [data-rv="left"], [data-rv="right"] { transform: translateY(22px); }
  .acc__inner { padding-left: 0; }
  .acc__btn { gap: 12px; }
  .acc__n { width: 26px; }
  .ba { aspect-ratio: 4/3; }
  .spec__row { grid-template-columns: 1fr; gap: 5px; }
  .quote__txt { font-size: .96rem; }
  .btn { width: 100%; justify-content: space-between; }
  .hero__actions .btn, .cta__actions .btn { width: 100%; }
  .marq__track { animation-duration: 24s; }
}
@media (max-width: 400px) {
  .brand__sub { display: none; }
}

/* ---------- 23b. Touch target sizing ---------- */
@media (hover: none), (max-width: 1024px) {
  .ftr__links a,
  .crumb a,
  .tlink,
  .loc__tel a,
  .hdr__tel,
  .quote__meta .mono {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
  }
  .tlink { padding-block: 6px 8px; }
  .field { padding-block: 14px; }
  .field input, .field select { min-height: 24px; }
  .acc__btn { padding-block: 20px; min-height: 62px; }
  .chip { padding: 12px 17px; }
  .pill { padding: 11px 16px; }
  .nav__a, .drawer__a { min-height: 44px; }
}

/* ---------- 24. A11y & motion ---------- */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 10000;
  background: var(--accent);
  color: #fff;
  padding: 11px 18px;
  border-radius: var(--r);
}
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  [data-rv] { opacity: 1 !important; transform: none !important; }
  .clip-rv { clip-path: none !important; }
  .hero__title .ln > span { transform: none !important; }
}
