:root {
  --stak-red: #ed1c24;
  --stak-red-dark: #cc0000;
  --gl-navy: #0c263f;
  --gl-navy-2: #0f3358;
  --ink: #111418;
  --ink-2: #2b3138;
  --mute: #5b6672;
  --line: #e6e9ef;
  --bg: #ffffff;
  --bg-2: #f5f7fa;
  --radius: 14px;
  --shadow: 0 20px 60px rgba(12, 38, 63, 0.12);
  --shadow-sm: 0 4px 14px rgba(12, 38, 63, 0.08);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

h1, h2, h3 {
  font-family: 'Barlow Condensed', Impact, sans-serif;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.05;
  color: var(--ink);
  margin: 0 0 0.5em;
  text-transform: uppercase;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Skip link (a11y) ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 200;
  background: var(--stak-red);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 8px 8px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: top .2s ease;
}
.skip-link:focus {
  top: 0;
  outline: 3px solid var(--gl-navy);
  outline-offset: 2px;
}

/* ---------- Focus rings (a11y) ---------- */
:focus-visible {
  outline: 3px solid var(--stak-red);
  outline-offset: 3px;
}

.eyebrow {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stak-red);
  margin-bottom: 14px;
}
.gl-eyebrow { color: #9fb8d6; }

.accent { color: var(--stak-red); }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-logo {
  width: auto;
  object-fit: contain;
}
.brand-logo-primary {
  height: 34px;
}
.brand-logo-secondary {
  height: 32px;
  border-radius: 3px;
}
.brand-divider {
  font-size: 1.4rem;
  color: var(--line);
  font-weight: 200;
  line-height: 1;
}
.brand-stak {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.9rem;
  color: var(--ink);
  letter-spacing: 0.04em;
  position: relative;
  padding: 0 8px;
  background: var(--stak-red);
  color: #fff;
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
}
.brand-stak.small { font-size: 1.4rem; display: inline-block; }
.brand-sub {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 600;
}
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  font-weight: 600;
  font-size: 0.95rem;
}
.nav-links a { transition: color .15s ease; }
.nav-links a:hover { color: var(--stak-red); }
.nav-phone-mobile { display: none; }
.nav-phone {
  font-weight: 700;
  color: var(--stak-red);
  font-size: 1.05rem;
  white-space: nowrap;
}

/* ---------- Mobile tap-to-call ---------- */
.nav-call { display: none; }
@media (max-width: 820px) {
  .nav-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--stak-red);
    color: #fff;
    flex: none;
    box-shadow: 0 4px 12px rgba(237, 28, 36, 0.35);
  }
  .nav-call:active { transform: scale(0.95); }
}

/* On desktop the quote form is beside the hero — no need for a scroll button */
@media (min-width: 961px) {
  .hero-ctas .btn-scroll-quote { display: none; }
}

/* Trim hero length on small phones */
@media (max-width: 680px) {
  .hero-badges { display: none; }
}

/* ---------- Hamburger ---------- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 60;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

@media (max-width: 820px) {
  .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100dvh;
    background: var(--ink);
    padding: 90px 32px 32px;
    gap: 0;
    box-shadow: -10px 0 40px rgba(0,0,0,.3);
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    z-index: 55;
  }
  .nav-links.open {
    transform: translateX(0);
  }
  .nav-links a {
    padding: 18px 0;
    font-size: 1.2rem;
    color: #e8eef7;
    border-bottom: 1px solid rgba(255,255,255,.1);
    letter-spacing: 0.02em;
  }
  .nav-links a:hover {
    color: var(--stak-red);
  }
  .nav-links .btn-ghost {
    margin-top: 20px;
    border: 2px solid var(--stak-red);
    border-bottom: 2px solid var(--stak-red);
    color: #fff;
    text-align: center;
    border-radius: 999px;
    padding: 14px 24px;
  }
  .nav-links .btn-ghost:hover {
    background: var(--stak-red);
  }
  .hamburger {
    display: flex;
  }
  .nav-phone {
    display: none;
  }
  .nav-phone-mobile {
    display: block;
    margin-top: auto;
    padding: 16px 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--stak-red);
    text-align: center;
    border-top: 1px solid rgba(255,255,255,.1);
    border-bottom: none;
  }
}

/* ---------- Mobile menu state ---------- */
body.menu-open { overflow: hidden; }
body.menu-open::after {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 52;
  pointer-events: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s cubic-bezier(.4,0,.2,1), box-shadow .2s ease, background .2s ease, color .2s ease;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-family: 'Inter', sans-serif;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--stak-red);
  color: #fff;
  box-shadow: 0 8px 24px rgba(237, 28, 36, 0.35);
}
.btn-primary:hover { background: var(--stak-red-dark); transform: translateY(-2px); }
.btn-secondary {
  background: #fff;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-secondary:hover { background: var(--ink); color: #fff; }
.btn-ghost {
  padding: 10px 18px;
  border-color: var(--ink);
  font-size: 0.9rem;
}
.btn-ghost:hover { background: var(--stak-red); color: #fff; border-color: var(--stak-red); }
.btn-navy {
  background: #fff;
  color: var(--gl-navy);
  border-color: #fff;
}
.btn-navy:hover { background: #9fb8d6; color: var(--gl-navy); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-outline:hover { border-color: var(--ink); background: var(--bg-2); }
.btn-block { width: 100%; }
.btn-lg { padding: 18px 34px; font-size: 1.1rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  padding: 80px 0 100px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(237, 28, 36, 0.35), transparent 60%),
    radial-gradient(900px 400px at 10% 110%, rgba(12, 38, 63, 0.9), transparent 60%),
    linear-gradient(180deg, #0a0c10 0%, #14181f 100%);
  /* Garage showcase photo overlay */
  background-image:
    linear-gradient(to right, rgba(10, 12, 16, 0.92) 0%, rgba(10, 12, 16, 0.7) 50%, rgba(10, 12, 16, 0.45) 100%),
    url('/images/hero-garage.webp');
  background-size: cover;
  background-position: center;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(transparent 95%, rgba(255, 255, 255, 0.04) 95%),
    linear-gradient(90deg, transparent 95%, rgba(255, 255, 255, 0.04) 95%);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, #000 40%, transparent 80%);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}

/* Hero site link tiles */
.hero-site-links {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.site-links-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,.4);
  margin-right: 2px;
}
.site-tile {
  display: flex;
  align-items: center;
  padding: 14px 24px;
  border-radius: 10px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(6px);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.site-tile:hover {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.3);
  transform: translateY(-2px);
}
.site-tile img {
  height: 34px;
  width: auto;
  object-fit: contain;
  border-radius: 3px;
}

.hero-copy h1 { color: #fff; }
.hero-copy .lead {
  font-size: 1.15rem;
  color: #c9d2dd;
  max-width: 560px;
}
.hero-copy strong { color: #fff; }
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 28px 0 22px;
}
.hero-badges {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.hero-badges li {
  font-size: 0.85rem;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #c9d2dd;
  font-weight: 500;
  transition: border-color .2s ease, color .2s ease;
}
.hero-badges li:hover {
  border-color: var(--stak-red);
  color: #fff;
}

@media (max-width: 960px) {
  .hero { padding: 56px 0 70px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-site-links { gap: 10px; flex-wrap: wrap; }
  .site-tile { padding: 14px 22px; }
  .site-tile img { height: 32px; }
  .site-links-label { font-size: 0.7rem; }
}

/* ---------- Form card ---------- */
.hero-form-card {
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border-top: 6px solid var(--stak-red);
}
.hero-form-card h2 { font-size: 1.8rem; margin-bottom: 6px; }
.form-sub { color: var(--mute); font-size: 0.95rem; margin-bottom: 18px; }

#lead-form .row { margin-bottom: 12px; }
#lead-form .row.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
#lead-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
#lead-form label span { display: block; margin-bottom: 6px; }
#lead-form label em { text-transform: none; color: var(--mute); font-weight: 400; font-style: normal; }
#lead-form input,
#lead-form select,
#lead-form textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
#lead-form input:focus,
#lead-form select:focus,
#lead-form textarea:focus {
  outline: none;
  border-color: var(--stak-red);
  box-shadow: 0 0 0 4px rgba(237, 28, 36, 0.12);
}
#lead-form .invalid {
  border-color: var(--stak-red);
  background: #fff5f5;
}
.fineprint {
  font-size: 0.78rem;
  color: var(--mute);
  margin: 12px 0 0;
  text-align: center;
}
.form-status {
  margin-top: 10px;
  font-size: 0.9rem;
  text-align: center;
  min-height: 1.2em;
}
.form-status.ok { color: #0a7d33; font-weight: 600; }
.form-status.err { color: var(--stak-red); font-weight: 600; }
.honey {
  position: absolute !important;
  left: -10000px !important;
  width: 1px; height: 1px;
  opacity: 0;
}

/* ---------- Sections ---------- */
.section-title { text-align: center; }
.section-lead {
  text-align: center;
  color: var(--mute);
  max-width: 680px;
  margin: 0 auto 44px;
  font-size: 1.1rem;
}

.lifts { padding: 96px 0; background: var(--bg-2); }

/* ---------- Lift tabs ---------- */
.lift-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
}
.lift-tab {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 28px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-2);
  cursor: pointer;
  transition: all .2s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.lift-tab:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.lift-tab.active {
  background: var(--stak-red);
  border-color: var(--stak-red);
  color: #fff;
}

/* ---------- Lift panels / cards ---------- */
.lift-panels {
  position: relative;
}
.lift-card {
  display: none;
  grid-template-columns: 1fr 1fr;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  animation: liftFadeIn .35s ease;
}
.lift-card.active {
  display: grid;
}
@keyframes liftFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.lift-card-img {
  position: relative;
  overflow: hidden;
  background: #f0f2f5;
  min-height: 360px;
}
.lift-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.lift-card:hover .lift-card-img img {
  transform: scale(1.04);
}

.lift-card-body {
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-num {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  background: var(--ink);
  color: #fff;
  padding: 6px 12px;
  border-radius: 4px;
  margin-bottom: 14px;
  width: fit-content;
  transition: background .2s ease;
}
.lift-card:hover .card-num { background: var(--stak-red); }
.lift-card.featured .card-num { background: var(--stak-red); }
.lift-card.featured:hover .card-num { background: var(--stak-red-dark); }

.lift-card-body h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}
.lift-card-body > p {
  color: var(--mute);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Spec badges row */
.lift-specs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.spec {
  background: var(--bg-2);
  border-radius: 10px;
  padding: 10px 16px;
  text-align: center;
  border-left: 3px solid var(--stak-red);
  flex: 1;
  min-width: 90px;
}
.spec strong {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
}
.spec span {
  font-size: 0.72rem;
  color: var(--mute);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.lift-card-body ul {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.lift-card-body li {
  padding: 3px 0;
  color: var(--ink-2);
  font-size: 0.92rem;
}
.lift-card-body li::before { content: "\2192 "; color: var(--stak-red); font-weight: 700; }

.lift-card-body .btn { align-self: flex-start; }

@media (max-width: 880px) {
  .lift-card.active {
    grid-template-columns: 1fr;
  }
  .lift-card-img { min-height: 280px; }
  .lift-card-body { padding: 28px 24px; }
  .lift-card-body h3 { font-size: 1.35rem; }
  .lift-tabs { gap: 6px; }
  .lift-tab { padding: 10px 18px; font-size: 0.9rem; }
}

/* ---------- Lift catalog ---------- */
.lineup { padding: 96px 0; background: #fff; }
.inline-link { color: var(--stak-red); font-weight: 600; text-decoration: underline; }
.lift-filter {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 34px;
}
.chip {
  font: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink-2);
  cursor: pointer;
  transition: all .15s ease;
}
.chip:hover { border-color: var(--stak-red); color: var(--stak-red); }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.lift-catalog {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1020px) { .lift-catalog { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .lift-catalog { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

/* --- square tiles --- */
.cat-tile {
  font: inherit;
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px 14px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.cat-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--stak-red); }
.cat-tile-img {
  display: block;
  aspect-ratio: 1 / 1;
  background: #f0f2f6;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 6px;
}
.cat-tile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cat-tile-cat {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--stak-red);
  text-transform: uppercase;
}
.cat-tile-name {
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.25;
  color: var(--ink);
}

/* --- lift detail modal --- */
body.modal-open { overflow: hidden; }
.lift-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(10, 12, 16, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lift-modal-backdrop[hidden] { display: none; }
.lift-modal {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  width: min(560px, 100%);
  max-height: min(88vh, 88dvh);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.lift-modal-scroll {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.lift-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(17, 20, 24, 0.75);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lift-modal-close:hover { background: var(--stak-red); }
.lift-modal-img {
  aspect-ratio: 16 / 10;
  background: #f0f2f6;
  flex: none;
}
.lift-modal-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lift-modal-body { padding: 20px 22px 24px; }
.lift-modal-body h3 { margin-bottom: 4px; font-size: 1.5rem; }
.lift-features {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  font-size: 0.88rem;
  color: var(--ink-2);
}
.lift-features li { padding: 3px 0; }
.lift-features li::before { content: "\2192  "; color: var(--stak-red); font-weight: 700; }
@media (max-width: 560px) {
  .lift-modal-backdrop { padding: 12px; align-items: flex-end; }
  .lift-modal { max-height: 92dvh; }
  .lift-modal-img { aspect-ratio: 16 / 9; }
}

.cat-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.cat-card-head .card-num { margin-bottom: 0; }
.lift-sku {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--mute);
}
.cat-card h3 { margin-bottom: 4px; }
.lift-tagline { color: var(--mute); font-size: 0.92rem; margin-bottom: 14px; }
.cat-specs {
  border-top: 1px solid var(--line);
  margin-bottom: 12px;
}
.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.85rem;
}
.spec-row span { color: var(--mute); flex: none; }
.spec-row strong { text-align: right; color: var(--ink); font-weight: 600; flex: 1; min-width: 0; overflow-wrap: break-word; }
.lift-warranty {
  font-size: 0.8rem;
  color: var(--mute);
  margin-bottom: 14px;
}
.cat-card-ctas {
  margin-top: auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.btn-sm { padding: 10px 18px; font-size: 0.85rem; }

/* ---------- Fit checker band ---------- */
.fit-band {
  background: var(--ink);
  color: #fff;
  padding: 64px 0;
}
.fit-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.fit-copy h2 { color: #fff; margin-bottom: 8px; }
.fit-copy p { color: #c9d2dd; max-width: 560px; margin: 0; }

/* ---------- Why ---------- */
.why { padding: 96px 0; }
.why-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 880px) { .why-grid { grid-template-columns: 1fr; gap: 32px; } }
.stat-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.stat-list li {
  background: var(--bg-2);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  border-left: 4px solid var(--stak-red);
  transition: transform .2s ease, box-shadow .2s ease;
}
.stat-list li:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.stat-list strong {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.4rem;
  color: var(--ink);
  line-height: 1;
}
.stat-list span {
  font-size: 0.85rem;
  color: var(--mute);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* ---------- Garage Living section ---------- */
.garage-living {
  background:
    linear-gradient(135deg, rgba(12, 38, 63, 0.88) 0%, rgba(15, 51, 88, 0.82) 50%, rgba(8, 32, 57, 0.85) 100%),
    url('/images/gl-garage.jpg');
  background-size: cover;
  background-position: center;
  color: #e8eef7;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.garage-living::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(800px 300px at 90% 10%, rgba(159, 184, 214, 0.12), transparent 60%);
  pointer-events: none;
}
.gl-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 880px) { .gl-grid { grid-template-columns: 1fr; } }
.gl-section-logo {
  display: block;
  width: 220px;
  height: auto;
  margin-bottom: 8px;
  border-radius: 6px;
}
.gl-copy h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.2rem); }
.gl-copy .reg { font-size: 0.45em; vertical-align: super; color: #9fb8d6; }
.gl-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9fb8d6;
  margin-top: -0.6em;
  margin-bottom: 1em;
}
.gl-copy p { color: #c9d2dd; max-width: 560px; }
.gl-services {
  list-style: none;
  padding: 0;
  margin: 18px 0 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  max-width: 520px;
}
.gl-services li {
  padding-left: 22px;
  position: relative;
  color: #e8eef7;
  font-size: 0.95rem;
}
.gl-services li::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 12px; height: 2px;
  background: #9fb8d6;
}
.gl-art {
  display: flex;
  justify-content: center;
}
.gl-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  padding: 28px 32px;
  min-width: 280px;
  backdrop-filter: blur(6px);
  transition: transform .25s ease, box-shadow .25s ease;
}
.gl-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.2);
}
.gl-card-title {
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.9rem;
  color: #9fb8d6;
  margin-bottom: 10px;
}
.gl-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}
.gl-card li {
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 500;
}
.gl-card li:last-child { border-bottom: 0; }
.gl-card-phone {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.gl-card-phone-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #9fb8d6;
}
.gl-card-phone a {
  color: #fff;
  font-weight: 600;
  transition: color .15s ease;
}
.gl-card-phone a:first-child { color: #9fb8d6; font-size: 1.3rem; }
.gl-card-phone a:hover { color: #9fb8d6; }
.gl-card-phone a:first-child:hover { color: #fff; }

/* ---------- GL card CTA ---------- */
.gl-card-cta {
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 16px;
}
.gl-card-cta h3 {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 6px;
}
.gl-card-cta p {
  font-size: 0.88rem;
  color: #9fb8d6;
  margin-bottom: 14px;
}

/* ---------- Fit checker page ---------- */
.nav-links a.active { color: var(--stak-red); }
.fit-hero {
  background: var(--ink);
  color: #fff;
  padding: 64px 0 48px;
}
.fit-hero h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 4rem); }
.fit-hero .lead { color: #c9d2dd; max-width: 640px; font-size: 1.1rem; margin: 0; }

.fit-tool { padding: 56px 0 96px; background: var(--bg-2); }
.fit-step { margin-bottom: 36px; }
.fit-step h2 {
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 12px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--stak-red);
  color: #fff;
  font-size: 1.1rem;
  flex: none;
}
.fit-hint { color: var(--mute); font-size: 0.92rem; margin: -6px 0 16px; }

.lift-picker {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}
.lift-pick {
  font: inherit;
  text-align: left;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.lift-pick:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.lift-pick.on { border-color: var(--stak-red); box-shadow: 0 6px 20px rgba(237,28,36,.18); }
.lift-pick img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 8px;
  background: #f0f2f6;
}
.lp-cat {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: .1em;
  color: var(--stak-red);
}
.lp-name { font-weight: 700; font-size: 0.86rem; line-height: 1.25; }
.lp-ceil { font-size: 0.74rem; color: var(--mute); }

.fit-layout {
  display: grid;
  grid-template-columns: minmax(340px, 1fr) minmax(420px, 1.15fr);
  gap: 28px;
  align-items: start;
}
@media (max-width: 980px) { .fit-layout { grid-template-columns: 1fr; } }

.ceiling-input {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
}
.ceiling-input label { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.ceiling-input input {
  width: 84px;
  padding: 10px 12px;
  font: inherit;
  font-weight: 700;
  font-size: 1.05rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
}
.ceiling-input input:focus { outline: none; border-color: var(--stak-red); }
.ceiling-note { font-size: 0.82rem; color: var(--mute); }

.car-slot {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 14px;
}
.slot-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.slot-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 0.88rem;
  color: var(--ink);
}
.slot-clear {
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--stak-red);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
}
.slot-tabs { display: flex; gap: 6px; margin-bottom: 12px; }
.slot-tab {
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink-2);
  cursor: pointer;
}
.slot-tab.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 10px;
}
.slot-grid label span, .pop-label span {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--mute);
  margin-bottom: 4px;
}
.slot-grid select, .slot-grid input, .pop-label select {
  width: 100%;
  padding: 9px 10px;
  font: inherit;
  font-size: 0.88rem;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.slot-grid select:disabled { background: var(--bg-2); color: var(--mute); }
.slot-grid select:focus, .slot-grid input:focus, .pop-label select:focus { outline: none; border-color: var(--stak-red); }
.slot-grid.manual { margin-bottom: 10px; }
.pop-label { display: block; }
.slot-msg { font-size: 0.8rem; color: var(--mute); min-height: 1.1em; margin-top: 8px; }
.slot-msg.err { color: var(--stak-red); font-weight: 600; }
.slot-current {
  font-size: 0.86rem;
  color: var(--ink-2);
  margin-top: 10px;
}
.slot-current:empty { display: none; }
.slot-current strong { color: var(--ink); }

/* results column */
.fit-results { position: sticky; top: 84px; }
@media (max-width: 980px) { .fit-results { position: static; } }
.viz-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.viz-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 0.95rem;
  margin-bottom: 10px;
}
.viz-disclaimer { font-size: 0.75rem; color: var(--mute); margin: 14px 0 0; }

.verdicts { margin-top: 4px; display: flex; flex-direction: column; gap: 10px; }
.verdict {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.88rem;
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.verdict.big { font-size: 1rem; }
.verdict ul { margin: 6px 0 0; padding-left: 18px; }
.verdict .v-where { color: var(--mute); font-size: 0.8rem; }
.verdict .v-ico {
  flex: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: #fff;
  background: #9aa3ad;
}
.verdict.ok { border-color: #bfe3cc; background: #f0faf4; }
.verdict.ok .v-ico { background: #0a7d33; }
.verdict.warn { border-color: #f2ddb8; background: #fdf7ec; }
.verdict.warn .v-ico { background: #c77700; }
.verdict.bad { border-color: #f5c2c4; background: #fef2f2; }
.verdict.bad .v-ico { background: var(--stak-red); }

.fit-cta {
  margin-top: 18px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.fit-cta p { margin: 0; color: #c9d2dd; }
.fit-cta strong { color: #fff; }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: #9aa3ad;
  padding: 36px 0;
  font-size: 0.9rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-logos {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-logos img {
  height: 32px;
  width: auto;
  object-fit: contain;
  border-radius: 3px;
}
.footer-logos img:last-of-type {
  height: 22px;
}
.footer-x {
  color: #5b6672;
  font-weight: 300;
  font-size: 0.9rem;
}
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links a { transition: color .15s ease; }
.footer-links a:hover { color: #fff; }

/* ---------- Scroll reveal ----------
   Hidden state only applies when JS is running (html.js set inline in
   <head>), so content is never invisible if the script fails to load. */
html.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s cubic-bezier(.4,0,.2,1), transform .6s cubic-bezier(.4,0,.2,1);
}
html.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* Hero elements stagger */
.hero-copy .reveal:nth-child(1) { transition-delay: 0s; }
.hero-copy .reveal:nth-child(2) { transition-delay: .1s; }
.hero-copy .reveal:nth-child(3) { transition-delay: .2s; }
.hero-copy .reveal:nth-child(4) { transition-delay: .25s; }
.hero-copy .reveal:nth-child(5) { transition-delay: .35s; }
.hero-copy .reveal:nth-child(6) { transition-delay: .45s; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  html.js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html { scroll-behavior: auto; }
  .card, .stat-list li, .gl-card, .btn {
    transition: none;
  }
}
