/* ==========================================================================
   4Tune Performance — site styles
   Theme: black / white / red. Fonts: Chakra Petch (display) + Inter (body)
   ========================================================================== */

:root {
  --black: #0a0a0b;
  --ink: #101113;
  --panel: #16171a;
  --panel-2: #1c1d21;
  --line: #2a2b30;
  --white: #ffffff;
  --text: #e9eaec;
  --muted: #a2a5ad;
  --red: #e10c0e;
  --red-hot: #ff2a2d;
  --red-deep: #8f0709;
  --wa: #25d366;
  --wa-hot: #4be585;

  --font-display: "Chakra Petch", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
  --skew: -12deg;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--red-hot); outline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  color: var(--white);
  margin: 0 0 .5em;
  text-transform: uppercase;
  letter-spacing: .01em;
}
h1 { font-size: clamp(2.5rem, 6.4vw, 5.2rem); font-style: italic; }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); font-style: italic; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
.red { color: var(--red); }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--red); color: #fff; padding: 10px 16px; font-weight: 600;
}
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Eyebrow / section heads ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .7em;
  font-family: var(--font-display); font-weight: 600; font-size: .85rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--red);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 28px; height: 4px; background: var(--red);
  transform: skewX(var(--skew));
}
.section-head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head p { color: var(--muted); font-size: 1.075rem; }
.section-head .eyebrow, .page-hero .eyebrow { color: var(--red); font-size: .85rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

/* ---------- Buttons (skewed, like the flyer's URL bar) ---------- */
.btn {
  --bg: var(--red); --fg: #fff; --bd: var(--red);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .95em 1.7em;
  background: var(--bg); color: var(--fg); border: 2px solid var(--bd);
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  transform: skewX(var(--skew));
  transition: background .2s, border-color .2s, color .2s, transform .2s var(--ease);
  cursor: pointer;
}
.btn > * { transform: skewX(calc(var(--skew) * -1)); }
.btn:hover { --bg: var(--red-hot); --bd: var(--red-hot); transform: skewX(var(--skew)) translateY(-2px); }
.btn-ghost { --bg: transparent; --bd: rgba(255,255,255,.55); }
.btn-ghost:hover { --bg: #fff; --fg: var(--black); --bd: #fff; }
.btn-dark { --bg: var(--black); --bd: var(--black); }
.btn-dark:hover { --bg: #fff; --fg: var(--black); --bd: #fff; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem 1.25rem; }

.text-link {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; font-size: .9rem; color: var(--white); text-decoration: none;
}
.text-link::after { content: "→"; color: var(--red); transition: transform .2s var(--ease); }
.text-link:hover::after { transform: translateX(5px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  background: linear-gradient(to bottom, rgba(10,10,11,.85), rgba(10,10,11,0));
  transition: background .3s, box-shadow .3s, height .3s;
}
.site-header.is-scrolled {
  background: rgba(10,10,11,.94);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: block; flex: none; }
.brand img { height: 60px; width: auto; }
.nav-list { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.2rem); list-style: none; margin: 0; padding: 0; }
.nav-list a {
  position: relative; text-decoration: none; color: var(--text);
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  letter-spacing: .1em; text-transform: uppercase; padding: .4em 0;
}
.nav-list a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px;
  background: var(--red); transform: scaleX(0) skewX(var(--skew)); transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav-list a:not(.btn):hover::after, .nav-list a[aria-current="page"]::after { transform: scaleX(1) skewX(var(--skew)); }
.nav-list a[aria-current="page"] { color: var(--white); }
.nav-list .btn { padding: .7em 1.25em; font-size: .9rem; }

.nav-toggle {
  display: none; width: 48px; height: 48px; border: 0; background: transparent; color: #fff;
  cursor: pointer; position: relative; z-index: 120;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 11px; width: 26px; height: 3px; background: currentColor; content: "";
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle span { top: 22px; }
.nav-toggle span::before { left: 0; top: -8px; }
.nav-toggle span::after { left: 0; top: 8px; width: 18px; background: var(--red); }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-8px) rotate(-45deg); width: 26px; background: #fff; }

@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .brand img { height: 42px; }
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: 0; z-index: 110;
    background: var(--black) url("../img/poly-bg.svg") right bottom / cover no-repeat;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .site-nav::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(10,10,11,.97) 35%, rgba(10,10,11,.75)); }
  .nav-open .site-nav { opacity: 1; visibility: visible; }
  .nav-list { position: relative; flex-direction: column; gap: 1.6rem; text-align: center; }
  .nav-list a { font-size: 1.6rem; font-style: italic; }
  .nav-list .btn { font-size: 1.1rem; margin-top: .5rem; }
  .nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(100svh, 900px);
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 80px;
  background: radial-gradient(ellipse at 75% 40%, #1b0505 0%, var(--black) 60%);
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background: url("../img/poly-bg.svg") right center / cover no-repeat;
  -webkit-mask-image: linear-gradient(100deg, transparent 18%, #000 75%);
  mask-image: linear-gradient(100deg, transparent 18%, #000 75%);
  opacity: .85;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0; height: 140px; z-index: -1;
  background: linear-gradient(transparent, var(--black));
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 2rem; }
.hero-copy .lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #cfd1d6; max-width: 36em; margin-bottom: 2rem; }
.hero h1 .line { display: block; }
.hero h1 .stroke { color: transparent; -webkit-text-stroke: 2px var(--white); }

.gauge-wrap { position: relative; justify-self: center; width: min(100%, 460px); }
.gauge { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 0 40px rgba(225,12,14,.18)); }
.gauge .needle { transform-origin: 250px 250px; transform: rotate(-135deg); }
.gauge-readout {
  position: absolute; left: 50%; top: 66%; transform: translateX(-50%);
  text-align: center; font-family: var(--font-display); line-height: 1;
}
.gauge-readout strong { display: block; font-size: clamp(2rem, 4vw, 2.8rem); font-style: italic; color: #fff; font-variant-numeric: tabular-nums; }
.gauge-readout span { font-size: .8rem; letter-spacing: .3em; color: var(--muted); }

@media (max-width: 900px) {
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 32px); }
  .hero-grid { grid-template-columns: 1fr; }
  .gauge-wrap { width: min(78%, 340px); order: -1; margin-bottom: -1rem; }
  .hero-bg { -webkit-mask-image: linear-gradient(180deg, #000 10%, transparent 75%); mask-image: linear-gradient(180deg, #000 10%, transparent 75%); opacity: .6; }
}

/* Page hero (inner pages) */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: calc(var(--header-h) + clamp(56px, 9vw, 120px)) 0 clamp(56px, 7vw, 96px);
  background: radial-gradient(ellipse at 85% 30%, #200606 0%, var(--black) 55%);
  border-bottom: 1px solid var(--line);
}
.page-hero .hero-bg { -webkit-mask-image: linear-gradient(100deg, transparent 35%, #000 90%); mask-image: linear-gradient(100deg, transparent 35%, #000 90%); opacity: .7; }
.page-hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); max-width: 14em; }
.page-hero p { color: #cfd1d6; font-size: 1.15rem; max-width: 40em; }
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 1.25rem; letter-spacing: .05em; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span[aria-hidden] { margin: 0 .5em; color: var(--red); }

/* ---------- Feature ticker strip ---------- */
.strip {
  background: var(--red); color: #fff; overflow: hidden; position: relative;
  transform: skewY(-1.5deg); margin: -10px 0 0; padding: 0; z-index: 2;
  border-block: 4px solid var(--black);
}
.strip-track {
  display: flex; gap: 3rem; width: max-content; padding: 1rem 0;
  animation: ticker 40s linear infinite;
}
.strip-track span {
  display: inline-flex; align-items: center; gap: 3rem;
  font-family: var(--font-display); font-weight: 700; font-style: italic;
  text-transform: uppercase; letter-spacing: .08em; font-size: 1.15rem; white-space: nowrap;
}
.strip-track span::after { content: ""; width: 10px; height: 10px; background: var(--black); transform: rotate(45deg); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section-alt { background: var(--ink); }
.section-alt::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

/* Cards (tuning services) */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--panel); border: 1px solid var(--line);
  text-decoration: none; color: inherit; overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-6px); border-color: var(--red); box-shadow: 0 20px 40px -20px rgba(225,12,14,.45); }
.card-media { aspect-ratio: 16 / 11; overflow: hidden; position: relative; background: #141518; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-media img { transform: scale(1.05); }
.card-tag {
  position: absolute; left: 0; top: 16px; background: var(--red); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: .75rem; letter-spacing: .14em;
  text-transform: uppercase; padding: .35em .9em .35em 1rem;
  clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}
.card-body { padding: 1.5rem 1.5rem 1.75rem; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: .6rem; }
.card-body p { color: var(--muted); font-size: .97rem; flex: 1; }
.card-num {
  position: absolute; right: 1.25rem; bottom: .25rem;
  font-family: var(--font-display); font-weight: 700; font-style: italic; font-size: 4.5rem;
  color: transparent; -webkit-text-stroke: 1px var(--line); line-height: 1; pointer-events: none;
}
@media (max-width: 1100px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .card-grid { grid-template-columns: 1fr; } }

/* Split (image + copy) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border: 1px solid var(--line); }
.split-media::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: -1;
  border: 2px solid var(--red); transform: skewX(-4deg);
}
.split.reverse .split-media::before { inset: 18px 18px -18px -18px; transform: skewX(4deg); }
.split-copy p { color: #c7c9ce; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .split-media::before { inset: 12px -10px -12px 10px; }
  .split.reverse .split-media::before { inset: 12px 10px -12px -10px; }
}

.tick-list { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: .7rem; }
.tick-list li { position: relative; padding-left: 2rem; }
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 8px;
  border-left: 3px solid var(--red); border-bottom: 3px solid var(--red); transform: rotate(-45deg);
}
.tick-list.cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem 2rem; }
@media (max-width: 600px) { .tick-list.cols { grid-template-columns: 1fr; } }

/* Service tiles (garage) */
.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.tile {
  background: var(--ink); padding: clamp(1.5rem, 3vw, 2.25rem);
  position: relative; transition: background .3s;
}
.section-alt .tile { background: var(--black); }
.tile:hover { background: var(--panel); }
.tile::after {
  content: ""; position: absolute; left: 0; top: 0; width: 4px; height: 0; background: var(--red);
  transition: height .35s var(--ease);
}
.tile:hover::after { height: 100%; }
.tile-icon { width: 44px; height: 44px; color: var(--red); margin-bottom: 1.1rem; }
.tile h3 { font-size: 1.2rem; margin-bottom: .45rem; }
.tile p { color: var(--muted); font-size: .95rem; margin: 0; }
@media (max-width: 900px) { .tile-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tile-grid { grid-template-columns: 1fr; } }

/* Big red CTA band */
.cta-band {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--red); color: #fff;
  clip-path: polygon(0 6%, 100% 0, 100% 94%, 0 100%);
  padding: clamp(80px, 11vw, 140px) 0;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35;
  background: url("../img/poly-bg.svg") center / cover no-repeat;
  filter: brightness(0) ;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000); mask-image: linear-gradient(90deg, transparent, #000);
}
.cta-band .eyebrow { color: #fff; }
.cta-band .eyebrow::before { background: #fff; }
.cta-band h2 { max-width: 16em; }
.cta-band p { font-size: 1.15rem; max-width: 40em; color: rgba(255,255,255,.92); margin-bottom: 2rem; }
.cta-band .btn-ghost { --bd: #fff; }
.cta-band .btn-ghost:hover { --fg: var(--red); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: .75rem; }
.gallery figure { margin: 0; overflow: hidden; position: relative; aspect-ratio: 1; background: #141518; }
.gallery figure:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery figure:nth-child(4) { grid-column: span 2; grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .4s; filter: grayscale(.35); }
.gallery figure:hover img { transform: scale(1.06); filter: none; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery figure:nth-child(1), .gallery figure:nth-child(4) { grid-column: span 2; grid-row: auto; aspect-ratio: 16/10; }
}
.gallery-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 2rem; }

/* Visit / hours / location */
.visit-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: stretch; }
@media (max-width: 900px) { .visit-grid { grid-template-columns: 1fr; } }
.panel { background: var(--panel); border: 1px solid var(--line); padding: clamp(1.5rem, 3vw, 2.25rem); }
.panel h3 { display: flex; align-items: center; gap: .6rem; }
.panel h3 svg { width: 22px; height: 22px; color: var(--red); }
.panel + .panel { margin-top: 1.25rem; }

.status {
  display: inline-flex; align-items: center; gap: .55em; font-weight: 600; font-size: .9rem;
  padding: .35em .85em; border: 1px solid var(--line); border-radius: 999px; margin-bottom: 1.25rem;
}
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--muted); }
.status.open::before { background: #2ecc71; box-shadow: 0 0 0 4px rgba(46,204,113,.18); }
.status.closed::before { background: var(--red); box-shadow: 0 0 0 4px rgba(225,12,14,.2); }
.status[hidden] { display: none; }

.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: .7rem 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 500; }
.hours td { text-align: right; color: var(--muted); }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours tr.today th, .hours tr.today td { color: #fff; }
.hours tr.today th::after {
  content: "Today"; margin-left: .7em; font-family: var(--font-display); font-size: .7rem; letter-spacing: .14em;
  text-transform: uppercase; background: var(--red); color: #fff; padding: .15em .55em; vertical-align: middle;
}
.hours .closed { color: #6c6f77; }
.note { font-size: .85rem; color: var(--muted); margin: 1rem 0 0; }

.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.contact-list li { display: grid; grid-template-columns: 22px 1fr; gap: .9rem; align-items: start; }
.contact-list svg { width: 22px; height: 22px; color: var(--red); margin-top: .2rem; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--red-hot); }
.contact-list .label { display: block; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-list strong { color: #fff; font-weight: 600; }
address { font-style: normal; }

.map {
  position: relative; min-height: 380px; height: 100%; background: var(--panel);
  border: 1px solid var(--line); overflow: hidden;
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9) hue-rotate(180deg); }
.map-cta { position: absolute; left: 1rem; bottom: 1rem; z-index: 2; }

/* Socials */
.socials { display: flex; gap: .65rem; list-style: none; margin: 0; padding: 0; }
.socials a {
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid var(--line); color: #fff; transition: background .2s, border-color .2s, transform .2s;
}
.socials a:hover { background: var(--red); border-color: var(--red); transform: translateY(-2px); }
.socials svg { width: 20px; height: 20px; }

/* Process steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; counter-reset: step; }
.steps li {
  position: relative; padding: 2.25rem 1.25rem 1.5rem; background: var(--panel); border-top: 3px solid var(--red);
  counter-increment: step;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; top: -1.6rem; right: 1rem;
  font-family: var(--font-display); font-weight: 700; font-style: italic; font-size: 2.6rem; color: var(--red);
  line-height: 1;
}
.steps h3 { font-size: 1.05rem; }
.steps p { font-size: .92rem; color: var(--muted); margin: 0; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); row-gap: 2.25rem; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Dyno chart */
.dyno-chart { background: var(--panel); border: 1px solid var(--line); padding: clamp(1rem, 2.5vw, 1.75rem); }
.dyno-chart svg { width: 100%; height: auto; overflow: visible; }
.dyno-chart .grid line { stroke: #26272b; }
.dyno-chart .axis text { fill: #7d8089; font: 500 12px var(--font-body); }
.dyno-chart .stock { stroke: #8b8e96; }
.dyno-chart .tuned { stroke: var(--red); }
.dyno-chart path.curve { fill: none; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.dyno-chart path.curve.dashed { stroke-dasharray: 7 7; stroke-width: 2.5; }
.dyno-legend { display: flex; flex-wrap: wrap; gap: 1.25rem; font-size: .85rem; color: var(--muted); margin-top: .75rem; }
.dyno-legend i { display: inline-block; width: 22px; height: 3px; vertical-align: middle; margin-right: .45em; }
.dyno-legend i.dashed { background: repeating-linear-gradient(90deg, currentColor 0 6px, transparent 6px 11px) !important; }
.chart-caption { font-size: .8rem; color: #6c6f77; margin-top: .5rem; }
.draw { stroke-dasharray: 1600; stroke-dashoffset: 1600; }
.is-visible .draw { animation: draw 2.2s var(--ease) forwards; }
.is-visible .draw.late { animation-delay: .5s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Spec chips */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.75rem; padding: 0; list-style: none; }
.chips li {
  font-family: var(--font-display); font-weight: 600; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid var(--line); padding: .4em .9em; color: #d3d5da;
}

/* FAQ */
.faq { max-width: 860px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.35rem 3rem 1.35rem 0; position: relative;
  font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: #fff;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: .5rem; top: 50%; transform: translateY(-50%);
  font-size: 1.8rem; color: var(--red); transition: transform .25s var(--ease); font-weight: 400;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 1.25rem; margin: 0; max-width: 46em; }

/* Enquiry form */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .4rem; font-weight: 600; }
.form input, .form select, .form textarea {
  width: 100%; background: var(--black); border: 1px solid var(--line); color: #fff;
  font: inherit; padding: .85rem 1rem; border-radius: 0; transition: border-color .2s;
}
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--red) 50%), linear-gradient(135deg, var(--red) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.form select { padding-right: 2.75rem; text-overflow: ellipsis; }
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--red); }
.form .btn { justify-self: start; }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: #060607; border-top: 1px solid var(--line); padding: clamp(56px, 8vw, 88px) 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 2.5rem; }
.footer-brand img { width: 220px; height: auto; margin-bottom: 1.25rem; }
.footer-brand p { color: var(--muted); max-width: 26em; }
.site-footer h4 { font-size: .95rem; letter-spacing: .14em; margin-bottom: 1.1rem; font-style: normal; }
.site-footer h4::after { content: ""; display: block; width: 24px; height: 3px; background: var(--red); margin-top: .6rem; transform: skewX(var(--skew)); }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer-links a { color: var(--muted); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-hours { color: var(--muted); display: grid; grid-template-columns: auto 1fr; gap: .3rem 1rem; margin: 0; }
.footer-hours dt { color: var(--text); }
.footer-hours dd { margin: 0; text-align: right; }
.footer-bottom {
  margin-top: clamp(40px, 6vw, 64px); border-top: 1px solid var(--line); padding: 1.5rem 0;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; font-size: .82rem; color: #6c6f77;
}
.footer-bottom a { color: #8a8d95; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Mobile sticky call bar */
.callbar { display: none; }
@media (max-width: 700px) {
  .callbar {
    display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; inset: auto 0 0; z-index: 90;
    border-top: 1px solid var(--line); background: rgba(10,10,11,.96); backdrop-filter: blur(8px);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .callbar a {
    display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .95rem;
    font-family: var(--font-display); font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    text-decoration: none; font-size: .82rem; padding-inline: .4rem;
  }
  .callbar a.callbar-wa { background: var(--wa); color: var(--black); }
  .callbar a:first-child { background: var(--red); }
  .callbar svg { width: 18px; height: 18px; }
  body { padding-bottom: 56px; }
}

/* ---------- 404 ---------- */
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: var(--header-h) var(--gutter) 60px; }
.notfound .big { font-family: var(--font-display); font-weight: 700; font-style: italic; font-size: clamp(7rem, 26vw, 16rem); line-height: .9; color: transparent; -webkit-text-stroke: 3px var(--red); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .draw { stroke-dashoffset: 0; }
}

/* Gauge labels */
.gauge-num { font: italic 700 30px var(--font-display); }
.gauge-unit { font: 600 13px var(--font-display); letter-spacing: .25em; fill: #7d8089; }

/* ---------- WhatsApp ---------- */
.wa-glyph { fill: currentColor; }
.btn-wa { --bg: var(--wa); --bd: var(--wa); --fg: var(--black); }
.btn-wa:hover { --bg: var(--wa-hot); --bd: var(--wa-hot); --fg: var(--black); }
.btn-dark .wa-glyph, .btn-ghost .wa-glyph { color: var(--wa); }
.btn-dark:hover .wa-glyph, .btn-ghost:hover .wa-glyph { color: inherit; }
.contact-list svg.wa-glyph { color: var(--wa); }
.contact-list a:hover strong { color: inherit; }
.wa-link { display: inline-flex; align-items: center; gap: .5em; color: var(--wa); text-decoration: none; font-weight: 600; }
.wa-link:hover { color: var(--wa-hot); }
.wa-link svg { width: 18px; height: 18px; }
.nav-wa-item { display: none; }
@media (max-width: 900px) { .nav-wa-item { display: block; } }

.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 95;
  display: flex; align-items: center; gap: 0; height: 60px; min-width: 60px; padding: 0 16px;
  border-radius: 999px; background: var(--wa); color: var(--black); text-decoration: none;
  font-family: var(--font-display); font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase;
  box-shadow: 0 12px 30px -10px rgba(37,211,102,.6), 0 0 0 0 rgba(37,211,102,.5);
  animation: wa-ping 2.4s 2s 3 var(--ease);
  transition: background .2s, gap .3s var(--ease);
}
.wa-float svg { width: 28px; height: 28px; flex: none; }
.wa-float span { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .35s var(--ease); }
.wa-float:hover, .wa-float:focus-visible { background: var(--wa-hot); gap: .6rem; }
.wa-float:hover span, .wa-float:focus-visible span { max-width: 12em; }
@keyframes wa-ping {
  0% { box-shadow: 0 12px 30px -10px rgba(37,211,102,.6), 0 0 0 0 rgba(37,211,102,.55); }
  70%, 100% { box-shadow: 0 12px 30px -10px rgba(37,211,102,.6), 0 0 0 18px rgba(37,211,102,0); }
}
@media (max-width: 700px) { .wa-float { display: none; } }
