/* HP Epoxy Coatings — homepage styles */

:root {
  --bg-0: #050608;
  --bg-1: #0a0c10;
  --bg-2: #11141a;
  --bg-3: #181c24;
  --line: rgba(255,255,255,.08);
  --line-strong: rgba(255,255,255,.14);
  --text: #f3f5f8;
  --text-dim: #9ba3af;
  --text-faint: #5a6270;

  --accent: #00aaff;
  --accent-rgb: 0,170,255;
  --accent-2: #c0c0c0;
  --gold: #d4af37;

  --shadow-glow: 0 0 0 1px rgba(var(--accent-rgb),.25), 0 18px 50px -10px rgba(var(--accent-rgb),.35);
  --shadow-lg: 0 30px 80px -20px rgba(0,0,0,.7), 0 10px 30px -10px rgba(0,0,0,.6);

  /* Default pairing: Modern Tech (Space Grotesk / DM Sans) */
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --display-italic: normal;
  --display-tracking: -.03em;
}

/* ───── Typography pairings ───── */
[data-typography="modern"] {
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --display-italic: normal;
  --display-tracking: -.03em;
}
[data-typography="industrial"] {
  --font-display: "Barlow Semi Condensed", "Barlow Condensed", "Oswald", system-ui, sans-serif;
  --font-body: "Manrope", "Inter", system-ui, -apple-system, sans-serif;
  --display-italic: italic;
  --display-tracking: -.01em;
}
[data-typography="heavy"] {
  --font-display: "Anton", "Oswald", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
  --display-italic: normal;
  --display-tracking: 0;
}
[data-typography="editorial"] {
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Newsreader", Georgia, serif;
  --display-italic: normal;
  --display-tracking: -.025em;
}

/* ───── Light theme ───── */
[data-theme="light"] {
  --bg-0: #f4f5f8;
  --bg-1: #ffffff;
  --bg-2: #fbfcfd;
  --bg-3: #eef1f5;
  --line: rgba(10,12,16,.08);
  --line-strong: rgba(10,12,16,.16);
  --text: #0a0c10;
  --text-dim: #4e5663;
  --text-faint: #8a92a0;
  --shadow-lg: 0 30px 80px -20px rgba(15,23,42,.18), 0 10px 30px -10px rgba(15,23,42,.12);
}
[data-theme="light"] body { background: var(--bg-0); }
[data-theme="light"] .nav {
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.78));
  border-bottom-color: var(--line);
}
[data-theme="light"] .hero-visual .floor,
[data-theme="light"] .ba-slider {
  /* keep the metallic floor render dark — it's a physical surface, not chrome */
  background:
    radial-gradient(ellipse 80% 60% at 50% 35%, rgba(var(--accent-rgb),.35), transparent 60%),
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.08), transparent 40%),
    linear-gradient(180deg, #0e1219 0%, #050608 100%);
}
[data-theme="light"] .hero h1 .chrome {
  background: linear-gradient(180deg, #2a2f38 0%, #828995 45%, #2a2f38 55%, #585f6c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: 0;
}
[data-theme="light"] .service-card {
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}
[data-theme="light"] .service-card::before {
  background: linear-gradient(135deg, rgba(10,12,16,.12), transparent 40%, transparent 60%, rgba(10,12,16,.06));
}
[data-theme="light"] .stats {
  background: linear-gradient(180deg, #f7f9fc, #eef1f5);
}
[data-theme="light"] .stat {
  background: linear-gradient(90deg, rgba(var(--accent-rgb),.08), transparent 60%);
}
[data-theme="light"] .testimonials {
  background:
    radial-gradient(ellipse at top, rgba(var(--accent-rgb),.08), transparent 60%),
    var(--bg-0);
}
[data-theme="light"] .test-card {
  background: linear-gradient(180deg, #ffffff, #f7f9fc);
}
[data-theme="light"] .btn-ghost { color: var(--text); border-color: var(--line-strong); }
[data-theme="light"] .btn-ghost:hover { background: rgba(10,12,16,.04); }
[data-theme="light"] .nav-phone { color: var(--text); }
[data-theme="light"] .ticker {
  background: #ffffff;
  border-color: var(--line);
}
[data-theme="light"] .ticker-track span:not(.dot) { color: rgba(10,12,16,.85); }
[data-theme="light"] .ticker-track .chrome {
  background: linear-gradient(180deg, #2a2f38 0%, #828995 45%, #2a2f38 55%, #585f6c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
[data-theme="light"] .hex-bg {
  filter: invert(1);
  opacity: .35;
}
[data-theme="light"] .hex-bg.tile { opacity: .12; }
[data-theme="light"] .footer {
  background: #0a0c10;
  /* keep footer dark for contrast — design anchor */
}
[data-theme="light"] .cta-banner {
  /* keep CTA dark for impact */
}
[data-theme="light"] .nav-logo img {
  /* keep logo colors as-is in both themes */
  filter: drop-shadow(0 4px 14px rgba(var(--accent-rgb), .35)) drop-shadow(0 0 1px rgba(255,255,255,.2));
}
[data-theme="light"] .nav-logo:hover img {
  filter: drop-shadow(0 6px 22px rgba(var(--accent-rgb), .55)) drop-shadow(0 0 2px rgba(255,255,255,.3));
}
[data-theme="light"] .hero::before {
  background: radial-gradient(ellipse at center, rgba(var(--accent-rgb),.18), transparent 60%);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg-0);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  overflow-x: hidden;
  position: relative;
}

/* Global hex pattern bg */
.hex-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .25;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='56' height='64' viewBox='0 0 56 64'><g fill='none' stroke='%23ffffff' stroke-width='.6' opacity='.35'><polygon points='28,2 53,16 53,46 28,60 3,46 3,16'/><polygon points='28,12 45,22 45,42 28,52 11,42 11,22'/></g></svg>");
  background-size: 56px 64px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
}

.hex-bg.tile {
  mask-image: none;
  -webkit-mask-image: none;
  opacity: .08;
}

/* Carbon weave */
.carbon-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.012) 0 2px, transparent 2px 4px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,.012) 0 2px, transparent 2px 4px);
  mix-blend-mode: screen;
}

/* Typography */
.display {
  font-family: var(--font-display);
  font-style: var(--display-italic, italic);
  font-weight: 900;
  letter-spacing: -.01em;
  line-height: .92;
  text-transform: uppercase;
}

.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: var(--display-italic, italic);
  text-transform: uppercase;
  letter-spacing: .25em;
  font-size: 12px;
  color: var(--accent);
}

.mono {
  font-family: var(--font-mono);
  letter-spacing: .02em;
}

/* Layout */
.wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  background: linear-gradient(180deg, rgba(5,6,8,.92), rgba(5,6,8,.65));
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 92px;
  gap: 24px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img {
  height: 38px;
  width: auto;
  display: block;
  filter: drop-shadow(0 4px 14px rgba(var(--accent-rgb), .35)) drop-shadow(0 0 1px rgba(255,255,255,.2));
  transition: filter .3s, transform .3s;
}
.nav-logo:hover img {
  filter: drop-shadow(0 6px 22px rgba(var(--accent-rgb), .55)) drop-shadow(0 0 2px rgba(255,255,255,.3));
  transform: translateY(-1px);
}
/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background .2s;
}
.nav-hamburger:hover { background: rgba(255,255,255,.08); }
.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .25s, opacity .2s;
  transform-origin: center;
}
.nav--open .nav-hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav--open .nav-hamburger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav--open .nav-hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu drawer */
.nav-mobile-menu {
  display: none;
  overflow: hidden;
  max-height: 0;
  transition: max-height .3s ease;
  border-top: 1px solid var(--line);
}
.nav--open .nav-mobile-menu { max-height: 480px; }
.nmm-inner {
  display: flex;
  flex-direction: column;
  padding-top: 8px;
  padding-bottom: 24px;
}
.nmm-link {
  display: block;
  padding: 14px 0;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
  transition: color .2s;
}
.nmm-link.active, .nmm-link:hover { color: var(--text); }
.nmm-soon {
  display: block;
  padding: 14px 0;
  color: var(--text-faint);
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.nmm-soon em {
  font-style: normal;
  font-size: 10px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--accent);
  margin-left: 8px;
  opacity: .8;
}
.nmm-cta {
  margin-top: 20px;
  width: 100%;
  justify-content: center;
}

.nav-links { display: flex; gap: 28px; }
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .02em;
  transition: color .2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-style: var(--display-italic, italic);
  font-size: 17px;
  letter-spacing: .02em;
}
.nav-phone .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .55; transform: scale(.75); }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: var(--font-display);
  font-weight: 700;
  font-style: var(--display-italic, italic);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 14px;
  border-radius: 4px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .2s, box-shadow .25s, background .2s;
  position: relative;
  overflow: hidden;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary {
  background: linear-gradient(180deg, var(--accent), color-mix(in oklab, var(--accent), black 25%));
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 0 0 1px rgba(var(--accent-rgb),.5), 0 12px 30px -8px rgba(var(--accent-rgb),.6);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 0 0 1px rgba(var(--accent-rgb),.7), 0 18px 40px -8px rgba(var(--accent-rgb),.8);
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.4) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .6s;
}
.btn-primary:hover::after { transform: translateX(100%); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.04);
  border-color: var(--accent);
  color: var(--accent);
}

.btn-arrow {
  font-style: normal;
  font-weight: 800;
  font-size: 16px;
  line-height: 1;
}

/* Hero */
.hero {
  position: relative;
  padding: 80px 0 120px;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  top: -10%; left: 50%;
  transform: translateX(-50%);
  width: 1200px; height: 800px;
  background: radial-gradient(ellipse at center, rgba(var(--accent-rgb),.28), transparent 60%);
  pointer-events: none;
  z-index: -1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 60px;
  align-items: center;
}
.hero h1 {
  font-family: var(--font-display);
  font-style: var(--display-italic, italic);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(56px, 7vw, 104px);
  line-height: .9;
  margin: 0;
  letter-spacing: -.015em;
}
.hero h1 .accent {
  background: linear-gradient(180deg, var(--accent), color-mix(in oklab, var(--accent), white 30%));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 24px rgba(var(--accent-rgb),.35));
}
.hero h1 .chrome {
  background: linear-gradient(180deg, #fff 0%, #c0c0c0 45%, #5a5f68 55%, #fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.15);
}
.hero-sub {
  margin: 28px 0 36px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--text-dim);
  max-width: 540px;
}
.hero-cta-row {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.hero-meta .item { display: flex; flex-direction: column; gap: 4px; }
.hero-meta .item .k {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--text-faint);
}
.hero-meta .item .v {
  font-family: var(--font-display);
  font-style: var(--display-italic, italic);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: .01em;
}

/* Hero visual */
.hero-visual {
  position: relative;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual .floor {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #050608;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}
.hero-visual .floor-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-visual .floor-yt {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  /* center & oversize the iframe so a 9:16 short COVERS the container instead of letterboxing */
}
.hero-visual .floor-iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  /* size iframe to cover: width = height * 9/16 so the video portion fills vertically and overflows horizontally as needed.
     We use max() to ensure it never undersizes. The container is roughly portrait-ish (~460×520 desktop). */
  width: max(100%, calc(100% * 16 / 9));
  height: max(100%, calc(100% * 16 / 9));
  transform: translate(-50%, -50%);
  pointer-events: none;
  border: 0;
}
.hero-visual .floor-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 70% at 50% 50%, transparent 30%, rgba(0,0,0,.55) 100%),
    linear-gradient(180deg, rgba(0,0,0,.15) 0%, transparent 25%, transparent 70%, rgba(var(--accent-rgb),.18) 100%);
  mix-blend-mode: multiply;
}
.hero-visual .floor-vignette::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(var(--accent-rgb),.18), transparent 35%);
  mix-blend-mode: screen;
}
.hero-visual .badge {
  position: absolute;
  z-index: 2;
  background: rgba(10,12,16,.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: .04em;
  box-shadow: var(--shadow-lg);
  color: #f3f5f8;
}
.hero-visual .badge .badge-k {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  color: rgba(255,255,255,.5);
}
.hero-visual .badge .badge-v {
  font-family: var(--font-display);
  font-style: var(--display-italic, italic);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .04em;
  color: #f3f5f8;
}
.hero-visual .badge .icon {
  width: 28px; height: 28px;
  border-radius: 6px;
  display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(var(--accent-rgb),.3), rgba(var(--accent-rgb),.05));
  border: 1px solid rgba(var(--accent-rgb),.4);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 800;
  font-style: var(--display-italic, italic);
}
.hero-visual .badge.b1 { top: 30px; left: -16px; }
.hero-visual .badge.b2 { bottom: 60px; right: -20px; }
.hero-visual .badge.b3 { top: 50%; right: 30px; transform: translateY(-50%); }

.hero-visual .scan {
  position: absolute;
  inset: 18px;
  z-index: 2;
  border-radius: 12px;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 30%, rgba(var(--accent-rgb),.18) 50%, transparent 70%);
  background-size: 100% 300%;
  animation: scan 4.5s ease-in-out infinite;
  mix-blend-mode: screen;
}
@keyframes scan {
  0%, 100% { background-position: 0 100%; }
  50% { background-position: 0 0; }
}

/* Section */
.section {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.section-head h2 {
  font-family: var(--font-display);
  font-style: var(--display-italic, italic);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(40px, 5vw, 64px);
  line-height: .95;
  margin: 12px 0 0;
  max-width: 720px;
}
.section-head p {
  max-width: 380px;
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  position: relative;
  padding: 32px 28px;
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg-1) 100%);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .3s, border-color .3s, box-shadow .3s;
  isolation: isolate;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 12px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(192,192,192,.4), transparent 40%, transparent 60%, rgba(192,192,192,.2));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: .5;
  transition: opacity .3s;
}
.service-card::after {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 120px; height: 120px;
  background: radial-gradient(circle at top right, rgba(var(--accent-rgb),.25), transparent 60%);
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--accent-rgb),.4);
  box-shadow: 0 18px 50px -10px rgba(var(--accent-rgb),.25);
}
.service-card:hover::before { opacity: 1; }
.service-card:hover::after { opacity: 1; }

.service-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--text-faint);
  margin-bottom: 26px;
}
.service-icon {
  width: 56px; height: 64px;
  position: relative;
  margin-bottom: 24px;
  display: grid;
  place-items: center;
}
.service-icon .hex {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(var(--accent-rgb),.25), rgba(var(--accent-rgb),.05));
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  border: 0;
}
.service-icon .hex-outline {
  position: absolute;
  inset: 0;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: rgba(var(--accent-rgb),.6);
  -webkit-mask:
    polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%) center / 100% 100%,
    polygon(50% 4%, 96% 27%, 96% 73%, 50% 96%, 4% 73%, 4% 27%) center / 100% 100%;
  -webkit-mask-composite: xor;
}
.service-icon svg {
  position: relative;
  z-index: 1;
  width: 26px;
  height: 26px;
  color: var(--accent);
}
.service-card h3 {
  font-family: var(--font-display);
  font-style: var(--display-italic, italic);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 22px;
  margin: 0 0 12px;
  letter-spacing: .005em;
}
.service-card p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 18px;
}
.service-card .specs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px dashed var(--line);
  padding-top: 16px;
}
.service-card .specs .spec {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.service-card .specs .spec b {
  color: var(--text);
  font-weight: 600;
  letter-spacing: .04em;
}

/* Stats / Why */
.stats {
  position: relative;
  background:
    linear-gradient(180deg, var(--bg-1), var(--bg-0));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 28px;
}
.stat {
  position: relative;
  padding: 28px 8px 28px 24px;
  border-left: 2px solid rgba(var(--accent-rgb), .4);
  background: linear-gradient(90deg, rgba(var(--accent-rgb),.05), transparent 60%);
}
.stat .icon {
  width: 28px; height: 28px;
  margin-bottom: 14px;
  color: var(--accent);
}
.stat .v {
  font-family: var(--font-display);
  font-style: var(--display-italic, italic);
  font-weight: 900;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -.01em;
  margin-bottom: 6px;
}
.stat .v sup {
  font-size: 22px;
  color: var(--accent);
  vertical-align: super;
  margin-left: 2px;
}
.stat .k {
  font-family: var(--font-display);
  font-style: var(--display-italic, italic);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: .08em;
  margin-bottom: 6px;
}
.stat .d {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.4;
}

/* Before/After */
.ba-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: 32px;
  align-items: stretch;
}
.ba-slider {
  position: relative;
  height: 540px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #000;
  user-select: none;
  cursor: ew-resize;
  box-shadow: var(--shadow-lg);
}
.ba-side {
  position: absolute;
  inset: 0;
}
.ba-before {
  background-image: url("assets/hp%20epoxy%20coatings%20garage%20floor%20before.PNG");
  background-size: cover;
  background-position: center;
  background-color: #1a1c20;
}
.ba-before::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.05) 0%, transparent 30%, transparent 70%, rgba(0,0,0,.35) 100%);
}
.ba-after {
  background-image: url("assets/hp%20epoxy%20coatings%20garage%20floor%20after.PNG");
  background-size: cover;
  background-position: center;
  background-color: #050608;
  clip-path: inset(0 0 0 var(--ba-pos, 50%));
}
.ba-after::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.05) 0%, transparent 30%, transparent 70%, rgba(var(--accent-rgb),.10) 100%);
}
.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--ba-pos, 50%);
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--accent) 20%, #fff 50%, var(--accent) 80%, transparent);
  box-shadow: 0 0 20px rgba(var(--accent-rgb),.8);
  transform: translateX(-50%);
  z-index: 4;
  pointer-events: none;
}
.ba-handle .knob {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(180deg, #1a1f28, #050608);
  border: 2px solid var(--accent);
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 0 30px rgba(var(--accent-rgb),.6), 0 0 0 6px rgba(var(--accent-rgb),.12);
}
.ba-label {
  position: absolute;
  top: 20px;
  padding: 8px 12px;
  font-family: var(--font-display);
  font-style: var(--display-italic, italic);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  border-radius: 3px;
  z-index: 3;
  pointer-events: none;
}
.ba-label.before {
  left: 20px;
  background: rgba(10,10,10,.8);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--text-dim);
}
.ba-label.after {
  right: 20px;
  background: rgba(var(--accent-rgb),.95);
  color: #fff;
  box-shadow: 0 0 20px rgba(var(--accent-rgb),.5);
}

.ba-thumbs {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ba-thumb {
  position: relative;
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  cursor: pointer;
  min-height: 0;
  transition: border-color .25s, transform .25s;
}
.ba-thumb:hover { border-color: rgba(var(--accent-rgb),.5); transform: translateY(-2px); }
.ba-thumb .img {
  position: absolute;
  inset: 0;
}
.ba-thumb .img-overlay {
  position: absolute;
  inset: 0;
  transition: opacity .35s ease;
}
.ba-thumb:hover .img-overlay { opacity: 0; }
.ba-thumb .tag {
  position: absolute;
  inset: auto 0 0 0;
  padding: 14px 16px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.85));
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  transition: opacity .35s ease;
}
.ba-thumb:hover .tag { opacity: 0; pointer-events: none; }
.ba-thumb .tag .title {
  font-family: var(--font-display);
  font-style: var(--display-italic, italic);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: .06em;
}
.ba-thumb .tag .meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  color: var(--text-dim);
  text-transform: uppercase;
}

/* Gallery lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(5,6,8,.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-lg);
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid var(--line-strong);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.lightbox-close:hover { background: rgba(255,255,255,.18); }
.lightbox-cap {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 20px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-dim);
}
@media (max-width: 640px) {
  .lightbox { padding: 40px 16px; }
  .lightbox-close { top: 12px; right: 12px; }
}

/* Testimonials */
.testimonials {
  background:
    radial-gradient(ellipse at top, rgba(var(--accent-rgb),.06), transparent 60%),
    var(--bg-0);
}
.test-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.test-card {
  position: relative;
  padding: 32px 28px;
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
}
.test-card .quote-mark {
  font-family: Georgia, serif;
  font-size: 80px;
  line-height: .5;
  color: var(--accent);
  opacity: .25;
  margin-bottom: 10px;
}
.test-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 18px;
}
.test-stars svg { color: var(--gold); width: 18px; height: 18px; }
.test-body {
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
  margin: 0 0 28px;
  flex: 1;
}
.test-foot {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.test-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), color-mix(in oklab, var(--accent), black 40%));
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--font-display);
  font-style: var(--display-italic, italic);
  font-weight: 800;
  font-size: 17px;
}
.test-foot .name {
  font-family: var(--font-display);
  font-style: var(--display-italic, italic);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 15px;
  letter-spacing: .04em;
}
.test-foot .meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  color: var(--text-faint);
  text-transform: uppercase;
}

/* CTA banner */
.cta-banner {
  position: relative;
  padding: 100px 0;
  background:
    radial-gradient(ellipse 80% 100% at 30% 50%, rgba(var(--accent-rgb),.4), transparent 60%),
    linear-gradient(135deg, rgba(var(--accent-rgb),.7), #050608 60%);
  overflow: hidden;
}
.cta-banner .hex-bg { opacity: .35; }
.cta-banner-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}
.cta-banner h2 {
  font-family: var(--font-display);
  font-style: var(--display-italic, italic);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(40px, 5.5vw, 76px);
  line-height: .92;
  margin: 0;
  letter-spacing: -.01em;
}
.cta-banner h2 .x {
  display: block;
  color: rgba(255,255,255,.5);
}
.cta-phone-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: right;
}
.cta-phone-block .label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}
.cta-phone-block .num {
  font-family: var(--font-display);
  font-style: var(--display-italic, italic);
  font-weight: 900;
  font-size: clamp(36px, 4.5vw, 60px);
  line-height: 1;
  letter-spacing: .01em;
  color: #fff;
  text-shadow: 0 0 30px rgba(var(--accent-rgb),.5);
  text-decoration: none;
}

/* Footer */
.footer {
  background: #030406;
  border-top: 1px solid var(--line);
  padding: 60px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line);
}
.footer-brand img {
  height: 36px;
  width: auto;
  margin: -8px 0 22px -6px;
  display: block;
  filter: drop-shadow(0 6px 20px rgba(var(--accent-rgb), .35));
}
.footer-brand p { color: var(--text-dim); font-size: 14px; line-height: 1.6; margin: 0 0 18px; }
.footer-col h4 {
  font-family: var(--font-display);
  font-style: var(--display-italic, italic);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .14em;
  color: var(--accent);
  margin: 0 0 18px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--text-dim); text-decoration: none; font-size: 14px; transition: color .2s; }
.footer-col a:hover { color: var(--text); }
.footer-bot {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.footer-bot .lic {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--text-dim);
}
.footer-bot .lic b { color: var(--accent); font-weight: 600; }

/* Ticker */
.ticker {
  position: relative;
  background: #000;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 18px 0;
}
.ticker-track {
  display: flex;
  gap: 56px;
  white-space: nowrap;
  animation: ticker 32s linear infinite;
  font-family: var(--font-display);
  font-style: var(--display-italic, italic);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 28px;
  letter-spacing: .03em;
}
.ticker-track .dot {
  color: var(--accent);
  display: inline-flex;
  align-items: center;
}
.ticker-track span:not(.dot) { color: rgba(255,255,255,.85); }
.ticker-track .chrome {
  background: linear-gradient(180deg, #fff 0%, #c0c0c0 45%, #5a5f68 55%, #fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ───── Nav: confirmed vs TBD links, quieter phone ───── */
.nav-links a.active { color: var(--text); }
.nav-soon {
  color: var(--text-faint);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .02em;
  cursor: default;
  opacity: .5;
  position: relative;
}
.nav-soon::after {
  content: "soon";
  position: absolute;
  top: -9px; right: -22px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-faint);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 1px 4px;
  opacity: .7;
}
.nav-phone-link {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--text-dim);
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .01em;
  transition: color .2s;
}
.nav-phone-link svg { width: 15px; height: 15px; }
.nav-phone-link:hover { color: var(--text); }

/* ───── Slightly-emphasised primary button for main CTAs ───── */
.btn-lg { padding: 14px 24px; font-size: 14px; }

/* ───── Hero: quieter phone link beside primary CTA ───── */
.hero-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .01em;
  transition: color .2s;
}
.hero-phone-link svg { width: 16px; height: 16px; color: var(--accent); }
.hero-phone-link:hover { color: var(--text); }

/* ───── Featured service card (Flake & Chip — best seller) ───── */
.service-card.featured {
  background:
    radial-gradient(ellipse 70% 120% at 0% 0%, rgba(var(--accent-rgb),.18), transparent 55%),
    linear-gradient(180deg, var(--bg-3) 0%, var(--bg-1) 100%);
  border-color: rgba(var(--accent-rgb),.45);
  box-shadow: 0 18px 50px -16px rgba(var(--accent-rgb),.35);
}
.service-card.featured::before { opacity: 1; }
.service-card.featured h3 { font-size: 28px; }
.service-card.featured p { font-size: 15px; max-width: 62ch; }
.service-flag {
  position: absolute;
  top: 22px; right: 22px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-style: var(--display-italic, italic);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 11px;
  color: #fff;
  background: linear-gradient(180deg, var(--accent), color-mix(in oklab, var(--accent), black 25%));
  padding: 7px 12px;
  border-radius: 4px;
  box-shadow: 0 6px 18px -6px rgba(var(--accent-rgb),.7);
}

/* ───── Quote / contact section ───── */
.quote-section {
  position: relative;
  padding: 110px 0;
  background:
    radial-gradient(ellipse 70% 100% at 18% 40%, rgba(var(--accent-rgb),.32), transparent 60%),
    linear-gradient(135deg, rgba(var(--accent-rgb),.45), #050608 62%);
  overflow: hidden;
}
.quote-section .hex-bg { opacity: .3; }
.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.quote-intro h2 {
  font-family: var(--font-display);
  font-style: var(--display-italic, italic);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(38px, 4.6vw, 64px);
  line-height: .92;
  margin: 14px 0 0;
  letter-spacing: -.01em;
}
.quote-intro h2 .x { display: block; color: rgba(255,255,255,.5); }
.quote-intro > p {
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.6;
  max-width: 460px;
  margin: 22px 0 26px;
}
.quote-points {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.quote-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}
.quote-points svg { width: 20px; height: 20px; color: var(--accent); flex: none; }
.quote-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.quote-contact .qc {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color .2s;
  width: fit-content;
}
.quote-contact .qc svg { width: 17px; height: 17px; color: var(--accent); flex: none; }
.quote-contact .qc:hover { color: var(--text); }

.quote-card {
  background: linear-gradient(180deg, rgba(17,20,26,.96), rgba(10,12,16,.96));
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(8px);
}
.qf-head { margin-bottom: 22px; }
.qf-head h3 {
  font-family: var(--font-display);
  font-style: var(--display-italic, italic);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 26px;
  letter-spacing: .01em;
  margin: 0 0 6px;
  color: var(--text);
}
.qf-head p { margin: 0; font-size: 13px; color: var(--text-dim); }
.quote-form { display: flex; flex-direction: column; gap: 16px; }
.qf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.qf-field { display: flex; flex-direction: column; gap: 7px; }
.qf-field > span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.qf-field > span em { font-style: normal; color: var(--text-faint); opacity: .7; text-transform: none; letter-spacing: .04em; }
.qf-field input,
.qf-field select,
.qf-field textarea {
  width: 100%;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  padding: 12px 13px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.qf-field textarea { resize: vertical; min-height: 72px; }
.qf-field input::placeholder,
.qf-field textarea::placeholder { color: var(--text-faint); }
.qf-field select { appearance: none; cursor: pointer; color-scheme: dark; }
/* The native dropdown list is painted by the OS, not the card — without these it
   renders light-on-light. Hard-coded because .quote-card stays dark in both themes. */
.qf-field select option { background-color: #11141a; color: #f3f5f8; }
.qf-field select option:disabled { color: #5a6270; }
.qf-field input:focus,
.qf-field select:focus,
.qf-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(var(--accent-rgb),.06);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb),.18);
}
.qf-submit { width: 100%; justify-content: center; margin-top: 4px; }

.quote-sent { text-align: center; padding: 24px 8px; }
.quote-sent .qs-check {
  width: 64px; height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(var(--accent-rgb),.25), rgba(var(--accent-rgb),.05));
  border: 1px solid rgba(var(--accent-rgb),.5);
}
.quote-sent .qs-check svg { width: 30px; height: 30px; color: var(--accent); }
.quote-sent h3 {
  font-family: var(--font-display);
  font-style: var(--display-italic, italic);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 26px;
  margin: 0 0 10px;
  color: var(--text);
}
.quote-sent p { color: var(--text-dim); font-size: 15px; line-height: 1.55; margin: 0; max-width: 360px; margin-inline: auto; }
.quote-sent a { color: var(--accent); text-decoration: none; }

/* ───── Footer contact list with icons ───── */
.footer-contact a { display: inline-flex; align-items: center; gap: 9px; }
.footer-contact svg { width: 15px; height: 15px; color: var(--accent); flex: none; }

/* Responsive */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 380px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .ba-wrap { grid-template-columns: 1fr; }
  .ba-slider { height: 420px; }
  .ba-thumbs { flex-direction: row; height: 160px; }
  .test-grid { grid-template-columns: 1fr; }
  .cta-banner-inner { grid-template-columns: 1fr; }
  .cta-phone-block { text-align: left; }
  .quote-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-desktop-cta { display: none; }
  .nav-phone-link span { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile-menu { display: block; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card.featured { grid-column: auto; }
  .stats-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .ba-thumbs { flex-direction: column; height: auto; }
  .ba-thumb { flex: none; height: 130px; }
  .qf-row { grid-template-columns: 1fr; }
  .quote-card { padding: 24px; }
  .section { padding: 80px 0; }
  .hero { padding: 60px 0 80px; }
}

/* ── Nav: tighten on small screens ── */
@media (max-width: 640px) {
  .nav-cta { gap: 8px; }
  .nav-inner { height: 64px; }
  .nav-logo img { height: 26px; }
  .footer-brand img { height: 26px; }
}

/* ── Ticker: 2x speed on mobile ── */
@media (max-width: 640px) {
  .ticker-track { animation-duration: 16s; }
}
