/* ============================================================
   VORTEX MOTORSPORT — TAMPA, FL
   Design system: black / vortex red / racing yellow
   Type: Saira Condensed (display) · Saira (text)
   Signature: the "speed line" — red→yellow gradient hairline
   ============================================================ */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: 'Saira Condensed';
  src: url('assets/fonts/SairaCondensed-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Saira Condensed';
  src: url('assets/fonts/SairaCondensed-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Saira';
  src: url('assets/fonts/Saira-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Saira';
  src: url('assets/fonts/Saira-400i.woff2') format('woff2');
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Saira';
  src: url('assets/fonts/Saira-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Saira';
  src: url('assets/fonts/Saira-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --black: #0c0c0e;
  --carbon: #131316;
  --panel: #1a1a1f;
  --line: rgba(244, 244, 243, 0.14);
  --red: #a52238;
  --red-hot: #c62b45;
  --yellow: #ffd100;
  --white: #f4f4f3;
  --dim: rgba(244, 244, 243, 0.72);
  --faint: rgba(244, 244, 243, 0.45);
  --grad: linear-gradient(90deg, var(--red), var(--yellow));

  --font-display: 'Saira Condensed', 'Arial Narrow', sans-serif;
  --font-text: 'Saira', 'Helvetica Neue', Arial, sans-serif;

  --container: 1360px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --sec-pad: clamp(4.5rem, 9vw, 8rem);
  --header-h: 4.6rem;
  --bar-h: 2.2rem;

  --cut: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset-lite ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + var(--bar-h) + 1rem);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-text);
  font-size: 1.04rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, picture, svg, video { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; }
h1, h2, h3, h4 { line-height: 1.04; overflow-wrap: break-word; }
address { font-style: normal; }
ul, ol { padding: 0; }

::selection { background: var(--yellow); color: var(--black); }

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

html.menu-locked, html.menu-locked body { overflow: hidden; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: 0.75rem; left: 0.75rem;
  z-index: 300;
  padding: 0.7em 1.2em;
  background: var(--yellow);
  color: var(--black);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transform: translateY(-400%);
}
.skip-link:focus { transform: none; }

/* ---------- Atoms ---------- */
.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

/* The speed line — gradient hairline with slanted tail */
.speedline {
  position: relative;
  display: block;
  width: 88px; height: 3px;
  background: var(--grad);
  clip-path: polygon(0 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
  margin-bottom: 1.4rem;
}

.kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 0.9rem;
}

.h-display {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Buttons — double-cut corners, motorsport hardware */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.9em 1.9em;
  clip-path: var(--cut);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  position: relative;
  isolation: isolate;
  transition: color 0.25s ease;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: translateX(-101%);
  transition: transform 0.35s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: none; }

.btn--yellow { background: var(--yellow); color: var(--black); }
.btn--yellow::before { background: var(--white); }

.btn--red { background: var(--red); color: var(--white); }
.btn--red::before { background: var(--red-hot); }

.btn--ghost {
  background: transparent;
  color: var(--white);
  box-shadow: inset 0 0 0 1px rgba(244, 244, 243, 0.35);
}
.btn--ghost::before { background: var(--white); }
.btn--ghost:hover, .btn--ghost:focus-visible { color: var(--black); }

/* Section label row */
.sec-head { margin-bottom: clamp(2.25rem, 5vw, 3.75rem); }
.sec-head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.sec-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.3rem, 5.2vw, 4.2rem);
  text-transform: uppercase;
  line-height: 0.98;
}
.sec-sub { max-width: 52ch; color: var(--dim); margin-top: 0.9rem; }

/* Reveals */
html.js .rv {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s var(--ease);
}
html.js .rv.in-view { opacity: 1; transform: none; }

/* ============================================================
   ANNOUNCEMENT BAR + HEADER
   ============================================================ */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 210;
  height: var(--bar-h);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--red);
  color: var(--white);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-align: center;
  padding-inline: 1rem;
  white-space: nowrap;
  overflow: hidden;
}
.topbar strong { font-weight: 600; }
.topbar a {
  color: var(--yellow);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.header {
  position: fixed;
  top: var(--bar-h); left: 0; right: 0;
  z-index: 200;
  background: rgba(12, 12, 14, 0.55);
  backdrop-filter: none;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.header.is-scrolled {
  background: rgba(12, 12, 14, 0.97);
  box-shadow: 0 1px 0 var(--line);
}
.header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 3px;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.header.is-scrolled::after { opacity: 1; }

.header__inner {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
}
.header__brand { flex-shrink: 0; }
.header__brand img { height: 40px; width: auto; }

.header__nav { margin-left: auto; }
.header__nav > ul {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 1.8vw, 1.7rem);
  list-style: none;
}
.header__nav a:not(.btn) {
  position: relative;
  display: inline-block;
  padding: 0.4rem 0.1rem;
  color: var(--dim);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color 0.2s ease;
}
.header__nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.header__nav a:not(.btn):hover,
.header__nav a:not(.btn).is-current { color: var(--white); }
.header__nav a:not(.btn):hover::after,
.header__nav a:not(.btn).is-current::after { transform: scaleX(1); }

/* Services dropdown */
.navdrop { position: relative; }
.navdrop__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.1rem;
  background: none;
  border: 0;
  color: var(--dim);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: color 0.2s ease;
}
.navdrop__btn:hover, .navdrop__btn[aria-expanded="true"] { color: var(--white); }
.navdrop__btn .chev {
  width: 9px; height: 9px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.25s ease;
}
.navdrop__btn[aria-expanded="true"] .chev { transform: rotate(225deg); }
.navdrop__menu {
  position: absolute;
  top: calc(100% + 0.8rem);
  left: 50%;
  transform: translateX(-50%);
  min-width: 15rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 3px solid;
  border-image: var(--grad) 1;
  padding: 0.5rem 0;
  list-style: none;
  display: none;
}
.navdrop__menu.is-open { display: block; }
.navdrop__menu a {
  display: block;
  padding: 0.55rem 1.25rem !important;
  color: var(--dim);
  font-size: 0.92rem !important;
}
.navdrop__menu a::after { display: none; }
.navdrop__menu a:hover { color: var(--yellow) !important; }

.header__tel {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0.08em;
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
}
.header__tel:hover { color: var(--yellow); }

/* Cart button */
.cartbtn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--white);
  cursor: pointer;
  clip-path: var(--cut);
}
.cartbtn:hover { border-color: var(--yellow); color: var(--yellow); }
.cartbtn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.cartbtn__count {
  position: absolute;
  top: 2px; right: 2px;
  min-width: 16px; height: 16px;
  padding: 0 4px;
  background: var(--yellow);
  color: var(--black);
  font-size: 0.66rem;
  font-weight: 600;
  line-height: 16px;
  text-align: center;
  border-radius: 8px;
}
.cartbtn__count[hidden] { display: none; }

/* Burger */
.burger {
  display: none;
  position: relative;
  width: 44px; height: 44px;
  background: none;
  border: 1px solid var(--line);
  cursor: pointer;
  flex-shrink: 0;
  clip-path: var(--cut);
}
.burger span {
  position: absolute;
  left: 11px; right: 11px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 25px; }
.burger.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* Mobile menu */
.mmenu {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: var(--black);
  display: flex;
  flex-direction: column;
  padding: calc(var(--bar-h) + var(--header-h) + 1.5rem) var(--gutter) 2rem;
  overflow-y: auto;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mmenu[hidden] { display: none; }
.mmenu.is-open { opacity: 1; }
.mmenu nav ul { list-style: none; }
.mmenu nav > ul > li { border-bottom: 1px solid var(--line); }
.mmenu nav a {
  display: block;
  padding: 0.85rem 0.2rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--white);
  text-decoration: none;
}
.mmenu nav a:hover, .mmenu nav a.is-current { color: var(--yellow); }
.mmenu__sub {
  padding: 0 0 0.9rem 1rem !important;
}
.mmenu__sub a {
  font-family: var(--font-text) !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  text-transform: none !important;
  color: var(--dim) !important;
  padding: 0.35rem 0 !important;
}
.mmenu__sub a:hover { color: var(--yellow) !important; }
.mmenu__foot { margin-top: auto; padding-top: 2rem; }
.mmenu__foot .btn { width: 100%; justify-content: center; }
.mmenu__foot p {
  margin-top: 1rem;
  color: var(--faint);
  font-size: 0.9rem;
  text-align: center;
}

/* ============================================================
   HERO (home)
   ============================================================ */
.hero {
  position: relative;
  min-height: min(100svh, 60rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: clip;
  padding-top: calc(var(--bar-h) + var(--header-h));
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero__media video, .hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(12,12,14,0.96) 0%, rgba(12,12,14,0.45) 40%, rgba(12,12,14,0.35) 100%);
}
.hero__inner {
  position: relative;
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
  padding-block: clamp(3rem, 8vh, 5.5rem);
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 8.8vw, 7.6rem);
  line-height: 0.95;
  text-transform: uppercase;
  max-width: 11em;
}
.hero__title .grad-text { display: inline-block; padding-bottom: 0.08em; }
.hero__sub {
  margin-top: 1.4rem;
  max-width: 56ch;
  font-size: clamp(1.02rem, 1.4vw, 1.22rem);
  color: var(--dim);
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2.5rem;
  margin-top: clamp(2rem, 5vh, 3.5rem);
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 0.9rem;
  letter-spacing: 0.03em;
}
.hero__meta a { color: inherit; text-decoration: none; }
.hero__meta a:hover { color: var(--yellow); }
.hero__meta strong { color: var(--dim); font-weight: 600; }

/* Page hero (interior pages) */
.phero {
  position: relative;
  padding: calc(var(--bar-h) + var(--header-h) + clamp(3rem, 8vh, 5.5rem)) 0 clamp(2.75rem, 6vw, 4.5rem);
  background:
    radial-gradient(90% 100% at 85% 0%, rgba(165, 34, 56, 0.22), transparent 60%),
    var(--carbon);
  border-bottom: 1px solid var(--line);
}
.phero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.7rem, 7vw, 5.6rem);
  text-transform: uppercase;
  line-height: 0.96;
}
.phero__sub {
  margin-top: 1rem;
  max-width: 58ch;
  color: var(--dim);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
}

/* ============================================================
   VALUE PROPS
   ============================================================ */
.props { padding-block: var(--sec-pad); background: var(--black); }
.props__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.5rem);
}
.prop {
  position: relative;
  background: var(--panel);
  clip-path: var(--cut);
  padding: 2rem 1.9rem 2.1rem;
}
.prop::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad);
}
.prop img { height: 46px; width: auto; margin-bottom: 1.2rem; }
.prop h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.45rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.6rem;
}
.prop p { color: var(--dim); font-size: 0.98rem; }
.prop__num {
  position: absolute;
  top: 1.4rem; right: 1.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--faint);
  letter-spacing: 0.1em;
}

/* ============================================================
   ABOUT TEASER / SPLIT SECTIONS
   ============================================================ */
.split { padding-block: var(--sec-pad); background: var(--carbon); }
.split__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split__media {
  position: relative;
  clip-path: var(--cut);
}
.split__media img { width: 100%; height: auto; }
.split__media::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(244, 244, 243, 0.12);
  pointer-events: none;
}
.split__body .sec-title { font-size: clamp(2rem, 4.2vw, 3.4rem); }
.split__body p { color: var(--dim); margin-top: 1.1rem; max-width: 54ch; }
.split__list {
  list-style: none;
  margin-top: 1.4rem;
  display: grid;
  gap: 0.5rem;
}
.split__list li {
  display: flex;
  gap: 0.8rem;
  align-items: baseline;
  font-weight: 500;
}
.split__list li::before {
  content: "▸";
  color: var(--yellow);
  font-size: 0.9em;
}
.split__body .btn { margin-top: 1.9rem; }

/* ============================================================
   SERVICES (home)
   ============================================================ */
.services { padding-block: var(--sec-pad); background: var(--black); }
.svc-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 4.5vw, 4rem);
  align-items: center;
  padding-block: clamp(2.25rem, 5vw, 3.75rem);
  border-top: 1px solid var(--line);
}
.svc-row:last-of-type { border-bottom: 1px solid var(--line); }
.svc-row:nth-child(even) .svc-row__media { order: 2; }
.svc-row__media {
  position: relative;
  clip-path: var(--cut);
  aspect-ratio: 16 / 10;
}
.svc-row__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.svc-row:hover .svc-row__media img { transform: scale(1.04); }
.svc-row__media::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(244, 244, 243, 0.12);
}
.svc-row__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.28em;
  color: var(--yellow);
}
.svc-row__body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.6vw, 2.9rem);
  text-transform: uppercase;
  margin-top: 0.4rem;
}
.svc-row__body p { color: var(--dim); margin-top: 0.9rem; max-width: 52ch; }
.svc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
  list-style: none;
}
.svc-chips li {
  padding: 0.28em 0.85em;
  border: 1px solid var(--line);
  color: var(--dim);
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
.svc-row__body .btn { margin-top: 1.6rem; }

/* Race flag divider (their own asset) */
.flagdiv {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.9;
}

/* ============================================================
   PRODUCTS RAIL (home) + STORE GRID
   ============================================================ */
.products { padding-block: var(--sec-pad); background: var(--carbon); }
.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(230px, 24vw, 300px);
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  scrollbar-color: var(--red) transparent;
}
.rail > * { scroll-snap-align: start; }

.pcard {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  clip-path: var(--cut);
  text-decoration: none;
  color: inherit;
  transition: transform 0.35s var(--ease);
}
.pcard:hover { transform: translateY(-4px); }
.pcard__img {
  position: relative;
  aspect-ratio: 1;
  background: #fff;
  display: grid;
  place-items: center;
  padding: 8%;
}
.pcard__img img {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
}
.pcard__img--none {
  background: #101014;
  color: var(--faint);
}
.pcard__img--none span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: 0.2em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.7;
}
.pcard__body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.05rem 1.1rem 1.2rem;
  flex: 1;
}
.pcard__cat {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
}
.pcard__name {
  font-weight: 500;
  font-size: 0.96rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pcard__price {
  margin-top: auto;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
}
.pcard__price--call { font-size: 0.95rem; color: var(--dim); font-family: var(--font-text); font-weight: 500; }
.pcard__add {
  margin-top: 0.7rem;
  padding: 0.6em 1em;
  background: transparent;
  border: 1px solid rgba(255, 209, 0, 0.55);
  color: var(--yellow);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: background 0.25s ease, color 0.25s ease;
}
.pcard__add:hover { background: var(--yellow); color: var(--black); }
.pcard__add:disabled { opacity: 0.5; cursor: default; }

/* Store toolbar */
.store { padding-block: clamp(2.5rem, 5vw, 4rem) var(--sec-pad); }
.store__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 2rem;
}
.chip {
  padding: 0.42em 1.1em;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--dim);
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.chip:hover { color: var(--white); border-color: var(--white); }
.chip.is-active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  font-weight: 600;
}
.store__search {
  margin-left: auto;
  min-width: min(280px, 100%);
  padding: 0.55em 1em;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--white);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}
.store__search::placeholder { color: var(--faint); }
.store__search:focus-visible { outline: none; border-color: var(--yellow); }
.store__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.4rem;
}
.store__empty {
  padding: 4rem 1rem;
  text-align: center;
  color: var(--dim);
}
.store__count { color: var(--faint); font-size: 0.9rem; margin-bottom: 1.1rem; }

/* Cart drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 240;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.drawer-backdrop.is-open { opacity: 1; }
.drawer-backdrop[hidden] { display: none; }
.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 250;
  width: min(420px, 100vw);
  background: var(--carbon);
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transform: translateX(102%);
  transition: transform 0.4s var(--ease);
}
.drawer[hidden] { display: none; }
.drawer.is-open { transform: none; }
.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.4rem;
  border-bottom: 1px solid var(--line);
}
.drawer__head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.drawer__close {
  width: 38px; height: 38px;
  background: none;
  border: 1px solid var(--line);
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
  clip-path: var(--cut);
}
.drawer__close:hover { border-color: var(--yellow); color: var(--yellow); }
.drawer__items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.4rem;
  display: grid;
  gap: 1rem;
  align-content: start;
}
.drawer__empty { color: var(--faint); text-align: center; padding: 3rem 0; }
.citem {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  gap: 0.9rem;
  align-items: center;
}
.citem__img {
  width: 58px; height: 58px;
  background: #fff;
  display: grid;
  place-items: center;
  padding: 4px;
}
.citem__img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.citem__name { font-size: 0.88rem; font-weight: 500; line-height: 1.3; }
.citem__price { font-size: 0.85rem; color: var(--dim); margin-top: 0.15rem; }
.citem__qty {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.citem__qty button {
  width: 26px; height: 26px;
  background: none;
  border: 1px solid var(--line);
  color: var(--white);
  cursor: pointer;
  line-height: 1;
}
.citem__qty button:hover { border-color: var(--yellow); color: var(--yellow); }
.drawer__foot {
  padding: 1.25rem 1.4rem 1.5rem;
  border-top: 1px solid var(--line);
}
.drawer__total {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.9rem;
}
.drawer__note {
  font-size: 0.85rem;
  color: var(--dim);
  background: rgba(255, 209, 0, 0.08);
  border-left: 3px solid var(--yellow);
  padding: 0.7rem 0.9rem;
  margin-bottom: 1rem;
}
.drawer__note a { color: var(--yellow); }
.drawer__foot .btn { width: 100%; justify-content: center; }

/* Toast */
.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translate(-50%, 150%);
  z-index: 260;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--yellow);
  color: var(--white);
  padding: 0.8rem 1.3rem;
  font-size: 0.92rem;
  transition: transform 0.4s var(--ease);
  max-width: min(90vw, 26rem);
}
.toast.is-show { transform: translate(-50%, 0); }

/* ============================================================
   BRANDS
   ============================================================ */
.brands { padding-block: var(--sec-pad); background: var(--black); overflow: clip; }
.brands__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 5vw, 4rem);
  margin-top: 2.5rem;
}
.brands__logos img {
  height: clamp(34px, 4.5vw, 52px);
  width: auto;
  filter: grayscale(1) brightness(1.6);
  opacity: 0.7;
  transition: filter 0.3s ease, opacity 0.3s ease;
}
.brands__logos img:hover { filter: none; opacity: 1; }
.marquee {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  border-block: 1px solid var(--line);
  overflow: hidden;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 48s linear infinite;
}
.marquee__group {
  display: flex;
  white-space: nowrap;
  padding-block: 0.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--faint);
}
.marquee__group span::after {
  content: "//";
  margin-inline: 1.4rem;
  color: var(--red);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   CTA BAND
   ============================================================ */
.ctaband {
  position: relative;
  padding-block: clamp(4.5rem, 10vw, 8rem);
  background:
    linear-gradient(rgba(12, 12, 14, 0.82), rgba(12, 12, 14, 0.82)),
    url('assets/img/about-2.jpg') center / cover;
  border-block: 1px solid var(--line);
}
.ctaband::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad);
}
.ctaband__inner { text-align: center; }
.ctaband h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  text-transform: uppercase;
  line-height: 0.98;
}
.ctaband p {
  margin-top: 0.9rem;
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  font-style: italic;
  color: var(--dim);
}
.ctaband .btn { margin-top: 2.2rem; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.stats { padding-block: var(--sec-pad); background: var(--carbon); }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.stat {
  background: var(--carbon);
  padding: 2rem 1.6rem 2.2rem;
}
.stat h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  text-transform: uppercase;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.1em;
}
.stat p { color: var(--dim); font-size: 0.95rem; margin-top: 0.6rem; }

.checklist {
  columns: 2;
  column-gap: clamp(2rem, 5vw, 4rem);
  list-style: none;
  margin-top: 1.6rem;
}
.checklist li {
  break-inside: avoid;
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
  padding-block: 0.45rem;
  font-weight: 500;
}
.checklist li::before {
  content: "✓";
  color: var(--yellow);
  font-weight: 600;
}
.pca-note {
  margin-top: 2rem;
  padding: 1.1rem 1.3rem;
  border-left: 3px solid var(--red);
  background: rgba(165, 34, 56, 0.1);
  color: var(--dim);
  max-width: 60ch;
}

/* ============================================================
   PROJECTS PAGE
   ============================================================ */
.project { padding-block: var(--sec-pad); }
.project--alt { background: var(--carbon); }
.project__lead {
  position: relative;
  clip-path: var(--cut);
  margin-bottom: 1.25rem;
}
.project__lead img { width: 100%; height: auto; }
.pgallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.9rem;
  list-style: none;
}
.pgallery button {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  background: none;
  cursor: zoom-in;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}
.pgallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.4s var(--ease), opacity 0.3s ease;
}
.pgallery button:hover img { opacity: 0.85; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 270;
  background: rgba(8, 8, 10, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 1rem 1rem;
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: min(92vw, 1100px);
  max-height: 84vh;
  object-fit: contain;
}
.lightbox__close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 44px; height: 44px;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  clip-path: var(--cut);
}
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px; height: 56px;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
}
.lightbox__nav:hover, .lightbox__close:hover { border-color: var(--yellow); color: var(--yellow); }
.lightbox__nav--prev { left: 0.8rem; }
.lightbox__nav--next { right: 0.8rem; }

/* Feature trio + testimonials */
.trio { padding-block: var(--sec-pad); }
.trio__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.5rem);
}
.trio__item { text-align: center; padding: 1rem; }
.trio__item img { height: 48px; width: auto; margin: 0 auto 1rem; }
.trio__item h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.trio__item p { color: var(--dim); margin-top: 0.5rem; font-size: 0.97rem; }

.quotes { padding-block: var(--sec-pad); background: var(--carbon); }
.quotes__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
}
.quote {
  background: var(--panel);
  clip-path: var(--cut);
  padding: 1.8rem 1.7rem;
  display: flex;
  flex-direction: column;
}
.quote__stars { color: var(--yellow); letter-spacing: 0.2em; font-size: 0.95rem; }
.quote p {
  margin-top: 0.9rem;
  font-style: italic;
  color: var(--dim);
  font-size: 0.97rem;
  flex: 1;
}
.quote footer {
  margin-top: 1.1rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--white);
}
.quote footer span {
  display: block;
  font-weight: 400;
  color: var(--faint);
  font-size: 0.82rem;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact { padding-block: var(--sec-pad); }
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.contact__info dl { display: grid; gap: 1.5rem; margin-top: 2rem; }
.contact__info dt {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 0.3rem;
}
.contact__info dd { margin: 0; font-size: 1.2rem; font-weight: 500; }
.contact__info dd a { color: inherit; text-decoration: none; }
.contact__info dd a:hover { color: var(--yellow); }
.contact__tel {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem) !important;
  letter-spacing: 0.03em;
}
.contact__fly {
  margin-top: 2.25rem;
  padding: 1.2rem 1.4rem;
  background: rgba(255, 209, 0, 0.07);
  border-left: 3px solid var(--yellow);
  color: var(--dim);
  font-size: 0.97rem;
  max-width: 46ch;
}
.contact__fly strong { color: var(--white); }
.contact__media { margin-top: 2.25rem; clip-path: var(--cut); }
.contact__media img { width: 100%; height: auto; }

.form {
  background: var(--panel);
  clip-path: var(--cut);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  position: relative;
}
.form::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad);
}
.form h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
}
.field { margin-bottom: 1.25rem; }
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 0.35rem;
}
.field input, .field textarea {
  width: 100%;
  padding: 0.7em 0.9em;
  background: var(--carbon);
  border: 1px solid var(--line);
  color: var(--white);
  border-radius: 0;
  transition: border-color 0.25s ease;
}
.field input:focus-visible, .field textarea:focus-visible {
  outline: none;
  border-color: var(--yellow);
}
.field textarea { resize: vertical; min-height: 7rem; }
.form__error {
  color: var(--white);
  border-left: 3px solid var(--red-hot);
  background: rgba(165, 34, 56, 0.18);
  padding: 0.6rem 0.9rem;
  font-size: 0.92rem;
  margin-bottom: 1.1rem;
}
.form__note {
  margin-top: 1.2rem;
  padding: 0.9rem 1.1rem;
  background: rgba(255, 209, 0, 0.08);
  border-left: 3px solid var(--yellow);
  color: var(--dim);
  font-size: 0.95rem;
}
.form__note a { color: var(--yellow); }

/* ============================================================
   TERMS PAGE
   ============================================================ */
.legal { padding-block: var(--sec-pad); }
.legal__body { max-width: 76ch; }
.legal__body h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 2.2rem 0 0.7rem;
}
.legal__body p { color: var(--dim); margin-bottom: 0.9rem; }
.legal__meta { color: var(--faint); font-size: 0.92rem; margin-bottom: 1.5rem; }
.legal__body a { color: var(--yellow); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--carbon);
  border-top: 1px solid var(--line);
  position: relative;
}
.footer::before {
  content: "";
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 3px;
  background: var(--grad);
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr) minmax(0, 0.7fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-block: clamp(2.75rem, 6vw, 4.25rem) clamp(1.75rem, 4vw, 2.5rem);
}
.footer__brand img { height: 40px; width: auto; margin-bottom: 1.1rem; }
.footer__brand p { color: var(--dim); font-size: 0.95rem; max-width: 38ch; }
.footer__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1rem;
}
.footer ul { list-style: none; display: grid; gap: 0.45rem; }
.footer ul a, .footer address a {
  color: var(--dim);
  text-decoration: none;
  font-size: 0.97rem;
  transition: color 0.2s ease;
}
.footer ul a:hover, .footer address a:hover { color: var(--yellow); }
.footer address p { color: var(--dim); font-size: 0.97rem; }
.footer address p + p { margin-top: 0.5rem; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-block: 1.2rem;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 0.86rem;
}
.footer__bottom a { color: inherit; }
.footer__bottom a:hover { color: var(--yellow); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .header__nav { display: none; }
  .burger { display: block; margin-left: auto; }
  .header__tel--desktop { display: none; }
  .header .cartbtn { margin-left: auto; }
  .burger { margin-left: 0; }
  .header__actions-spacer { margin-left: auto; }
}

@media (max-width: 900px) {
  .props__grid { grid-template-columns: minmax(0, 1fr); }
  .split__grid { grid-template-columns: minmax(0, 1fr); }
  .svc-row { grid-template-columns: minmax(0, 1fr); }
  .svc-row:nth-child(even) .svc-row__media { order: 0; }
  .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trio__grid, .quotes__grid { grid-template-columns: minmax(0, 1fr); }
  .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .checklist { columns: 1; }
}

@media (max-width: 640px) {
  .topbar__tail { display: none; }
}

@media (max-width: 560px) {
  .topbar { font-size: 0.74rem; }
  .stats__grid { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__cta .btn { width: 100%; justify-content: center; }
  .rail { grid-auto-columns: 78vw; }
}

@media (min-width: 1800px) {
  :root { --container: 1520px; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .marquee__track { animation: none; }
  html.js .rv { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
