/* ============================================================
   THE LAB — Luxury Epoxy Flooring
   Dark / electric-azure system. Condensed italic display type.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Saira+Condensed:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,600;1,700;1,800;1,900&family=Saira:wght@400;500;600;700&family=Saira+Semi+Condensed:wght@500;600;700&display=swap');

:root {
  /* ---- Color ---- */
  --ink: #050608;
  --ink-2: #0a0c0f;
  --panel: #0d1014;
  --panel-2: #11151a;
  --panel-raised: #161b21;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --line-blue: rgba(28, 160, 235, 0.32);

  --blue: #149ee6;
  --blue-bright: #2ab6ff;
  --blue-300: #6fcbff;
  --blue-deep: #0a78b8;
  --blue-glow: rgba(28, 160, 235, 0.55);

  --fg: #f4f7fa;
  --fg-strong: #ffffff;
  --fg-muted: #9aa6b2;
  --fg-subtle: #6b7682;

  /* ---- Type ---- */
  --display: 'Saira Condensed', 'Arial Narrow', sans-serif;
  --body: 'Saira', system-ui, sans-serif;
  --semi: 'Saira Semi Condensed', 'Saira', sans-serif;

  /* ---- Motion ---- */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-std: cubic-bezier(0.4, 0, 0.2, 1);

  --maxw: 1280px;
  --gutter: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
section[id], form[id] { scroll-margin-top: 96px; }

body {
  background: var(--ink);
  color: var(--fg);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

::selection { background: var(--blue); color: var(--ink); }

/* ============================================================
   Reusable bits
   ============================================================ */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }

.eyebrow {
  font-family: var(--display);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: clamp(20px, 2.6vw, 30px);
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--fg-strong);
}
.eyebrow--center { justify-content: center; }

/* The signature hash-mark divider */
.hash {
  display: inline-block;
  width: clamp(54px, 7vw, 92px);
  height: 13px;
  flex: none;
  background-image: repeating-linear-gradient(
    -60deg,
    var(--blue) 0 3px,
    transparent 3px 7px
  );
}
.hash--sm { width: 46px; height: 10px; }

.display {
  font-family: var(--display);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.005em;
}

.section { position: relative; padding-block: clamp(72px, 11vh, 140px); }
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(32px, 5vw, 56px);
  flex-wrap: wrap;
}

.link-all {
  font-family: var(--display);
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--blue-bright);
  font-size: 17px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: gap 0.2s var(--ease-std), color 0.2s;
}
.link-all svg { width: 18px; height: 18px; }
.link-all:hover { gap: 14px; color: var(--blue-300); }

/* ---- Buttons ---- */
.btn {
  font-family: var(--display);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 17px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 26px;
  border-radius: 4px;
  transition: transform 0.18s var(--ease-std), box-shadow 0.25s, background 0.2s;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary {
  background: var(--blue);
  color: var(--ink);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06) inset, 0 8px 30px -10px var(--blue-glow);
}
.btn--primary:hover {
  background: var(--blue-bright);
  box-shadow: 0 0 34px -6px var(--blue-glow), 0 0 0 1px rgba(255,255,255,0.1) inset;
  transform: translateY(-2px);
}
.btn--primary:active { transform: translateY(0); }
.btn--ghost {
  border: 1.5px solid var(--line-blue);
  color: var(--fg-strong);
  background: rgba(20,158,230,0.04);
}
.btn--ghost:hover { border-color: var(--blue); background: rgba(20,158,230,0.1); }
.btn--lg { padding: 19px 32px; font-size: 19px; }

/* ============================================================
   Header
   ============================================================ */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--gutter);
  transition: background 0.3s, border-color 0.3s, padding 0.3s;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(5, 6, 8, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  padding-block: 10px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-img { height: 46px; width: auto; transition: height 0.3s var(--ease-std); }
.header.scrolled .logo-img { height: 38px; }
@media (max-width: 560px) { .logo-img { height: 38px; } }
.logo svg.flask { width: 34px; height: 46px; flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text .name {
  font-family: var(--display);
  font-weight: 900;
  font-style: italic;
  font-size: 27px;
  letter-spacing: 0.01em;
  color: var(--fg-strong);
}
.logo-text .tag {
  font-family: var(--display);
  font-weight: 700;
  font-style: italic;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--blue-bright);
  margin-top: 2px;
}

.nav { display: flex; align-items: center; gap: 34px; }
.nav a {
  font-family: var(--semi);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 14px;
  color: var(--fg-muted);
  position: relative;
  transition: color 0.2s;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--blue);
  transition: width 0.25s var(--ease-out);
}
.nav a:hover { color: var(--fg-strong); }
.nav a:hover::after { width: 100%; }

.header-cta { display: flex; align-items: center; gap: 18px; }
.hamburger {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border: 1px solid var(--line-2);
  border-radius: 4px;
}
.hamburger svg { width: 22px; height: 22px; }

@media (max-width: 980px) {
  .nav { display: none; }
  .header-cta .btn span.long { display: none; }
  .hamburger { display: flex; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: absolute;
  inset: -8% -2% -2% -2%;
  z-index: -3;
  will-change: transform;
}
.floor {
  position: absolute;
  inset: 0;
  background-color: #06080a;
  background-image: url('assets/generated/web/hero-epoxy-garage.jpg');
  background-position: center;
  background-size: cover;
}
.floor::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,6,8,0.08), rgba(5,6,8,0.34));
}
.floor::after {
  content: none;
}
.hero-vignette {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, var(--ink) 0%, rgba(5,6,8,0.7) 30%, transparent 62%),
    linear-gradient(0deg, var(--ink) 2%, transparent 30%),
    linear-gradient(180deg, rgba(5,6,8,0.6) 0%, transparent 18%);
  pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: radial-gradient(80% 60% at 50% 30%, black, transparent 80%);
  opacity: 0.5;
}

.hero-inner { width: 100%; }
.hero h1 {
  font-family: var(--display);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  font-size: clamp(72px, 15.5vw, 230px);
  line-height: 0.82;
  letter-spacing: -0.01em;
  color: var(--fg-strong);
  text-shadow: 0 6px 60px rgba(0,0,0,0.6);
}
.hero h1 .dot { color: var(--blue-bright); }
.hero h1 .l1 { display: block; }
.hero h1 .l2 { display: block; }
.hero .subhead {
  font-family: var(--semi);
  font-weight: 600;
  font-size: clamp(19px, 2.4vw, 27px);
  color: var(--fg);
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.hero .actions { margin-top: 38px; display: flex; gap: 16px; flex-wrap: wrap; }

.scroll-cue {
  position: absolute;
  left: 50%; bottom: 26px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--semi);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 11px;
  color: var(--fg-subtle);
}
.scroll-cue .bar {
  width: 1px; height: 46px;
  background: linear-gradient(var(--blue), transparent);
  position: relative; overflow: hidden;
}
.scroll-cue .bar::after {
  content: ''; position: absolute; top: 0; left: 0;
  width: 100%; height: 40%;
  background: var(--blue-bright);
  animation: cueDrop 1.8s var(--ease-std) infinite;
}
@keyframes cueDrop { 0% { transform: translateY(-100%); } 60%,100% { transform: translateY(260%); } }

/* ============================================================
   Marquee strip
   ============================================================ */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--ink-2);
  overflow: hidden;
  padding-block: 16px;
}
.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  font-family: var(--display);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  font-size: 21px;
  letter-spacing: 0.03em;
  color: var(--fg-muted);
  display: flex; align-items: center; gap: 30px;
  padding-inline: 30px;
}
.marquee-item .dot { width: 7px; height: 7px; background: var(--blue); border-radius: 50%; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   Services
   ============================================================ */
.services-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 1fr);
  gap: 18px;
}
.svc {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
}
.svc:hover { border-color: var(--line-blue); transform: translateY(-6px); }
.svc-bg { position: absolute; inset: 0; z-index: -2; transition: transform 0.6s var(--ease-out); }
.svc:hover .svc-bg { transform: scale(1.06); }
.svc::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(5,6,8,0.96) 8%, rgba(5,6,8,0.3) 50%, rgba(5,6,8,0.55) 100%);
}
.svc-body { padding: 24px; }
.svc-icon {
  display: block;
  width: 46px; height: 46px; color: var(--blue-bright);
  margin-bottom: 14px;
}
.svc-icon svg { width: 100%; height: 100%; }
.svc h3 {
  font-family: var(--display);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  font-size: 26px;
  letter-spacing: 0.01em;
  color: var(--fg-strong);
}
.svc p { color: var(--fg-muted); font-size: 15px; margin-top: 6px; max-width: 30ch; }
.svc .arrow {
  position: absolute; top: 22px; right: 22px;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line-2);
  display: flex; align-items: center; justify-content: center;
  color: var(--fg); opacity: 0; transform: translateY(-6px);
  transition: all 0.3s var(--ease-out);
}
.svc:hover .arrow { opacity: 1; transform: translateY(0); border-color: var(--blue); color: var(--blue-bright); }
.svc .arrow svg { width: 17px; height: 17px; }

/* Generated project photography shared by service and project cards. */
.tex-garage,
.tex-metallic,
.tex-flake,
.tex-commercial {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.tex-garage {
  background-image: url('assets/generated/web/project-garage-flake.jpg');
}
.tex-metallic {
  background-image: url('assets/generated/web/project-metallic-cobalt.jpg');
}
.tex-flake {
  background-image: url('assets/generated/web/project-flake-workshop.jpg');
}
.tex-commercial {
  background-image: url('assets/generated/web/project-commercial-graphite.jpg');
}

/* ============================================================
   Stats band
   ============================================================ */
.stats {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(180deg, var(--panel), var(--ink-2));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.stat {
  display: flex; align-items: center; gap: 22px;
  padding: 40px clamp(20px, 4vw, 52px);
  position: relative;
}
.stat + .stat::before {
  content: ''; position: absolute; left: 0; top: 22%; bottom: 22%;
  width: 1px; background: var(--line);
}
.stat-icon { width: 56px; height: 56px; color: var(--blue-bright); flex: none; }
.stat-icon svg { width: 100%; height: 100%; }
.stat-num {
  font-family: var(--display);
  font-weight: 900; font-style: italic;
  font-size: clamp(40px, 5vw, 58px);
  line-height: 0.9; color: var(--fg-strong);
}
.stat-label {
  font-family: var(--semi); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  font-size: 13px; color: var(--blue-bright); margin-top: 4px;
}
.stat-label span { display: block; color: var(--fg-muted); }

/* ============================================================
   Finish library
   ============================================================ */
.finish { background: var(--ink-2); }
.finish-intro {
  max-width: 60ch;
  margin: -18px 0 30px;
  color: var(--fg-muted);
}
.rail-scroll {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  overflow-x: auto;
  padding: 4px var(--gutter) 22px;
  scroll-snap-type: x proximity;
  cursor: grab;
  touch-action: pan-x pan-y;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
}
.rail-scroll.looping { scroll-snap-type: none; }
.rail-scroll:focus-visible {
  outline: 2px solid var(--blue-bright);
  outline-offset: 4px;
}
.rail-scroll.dragging { cursor: grabbing; scroll-snap-type: none; }
.rail-scroll::-webkit-scrollbar { display: none; }
.swatch {
  flex: none;
  width: 168px;
  scroll-snap-align: start;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: width 0.38s var(--ease-out), transform 0.25s var(--ease-out), border-color 0.25s;
}
.swatch:hover { transform: translateY(-5px); border-color: var(--line-blue); }
.swatch:focus-visible {
  outline: 2px solid var(--blue-bright);
  outline-offset: 3px;
}
.swatch.expanded {
  width: min(82vw, 350px);
  border-color: var(--blue);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}
.swatch .chip {
  height: 168px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.swatch .name {
  padding: 12px 14px;
  font-family: var(--semi); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em;
  font-size: 12.5px; color: var(--fg);
  background: var(--panel);
  display: flex; justify-content: space-between; align-items: center;
  gap: 8px;
}
.swatch .name small { color: var(--fg-subtle); font-weight: 500; letter-spacing: 0.04em; }
.swatch-preview {
  max-height: 0;
  min-height: 0;
  overflow: hidden;
  padding: 0 14px;
  background: var(--panel);
  color: var(--fg-muted);
  font-size: 13px;
  line-height: 1.6;
  opacity: 0;
  transition: max-height 0.38s var(--ease-out), min-height 0.38s var(--ease-out), padding 0.38s var(--ease-out), opacity 0.22s;
}
.swatch.expanded .swatch-preview {
  max-height: 130px;
  min-height: 86px;
  padding: 0 14px 16px;
  opacity: 1;
  animation: preview-enter 0.38s var(--ease-out) both;
}
.swatch-preview.typing::after {
  content: '';
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 4px;
  vertical-align: -0.12em;
  background: var(--blue-bright);
  box-shadow: 0 0 8px var(--blue-glow);
  animation: preview-caret 0.72s steps(1) infinite;
}
@keyframes preview-enter {
  from { transform: translateY(7px); filter: blur(2px); }
  to { transform: translateY(0); filter: blur(0); }
}
@keyframes preview-caret { 50% { opacity: 0; } }
.rail-label {
  font-family: var(--display); font-weight: 800; font-style: italic;
  text-transform: uppercase; letter-spacing: 0.03em;
  font-size: clamp(17px, 2.2vw, 24px); color: var(--fg-strong);
  display: flex; align-items: center; gap: 14px;
  margin: 0 0 16px;
}
.rail-label--flake { margin-top: clamp(30px, 5vw, 54px); }

/* ============================================================
   Comparison table
   ============================================================ */
.compare {
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  background: var(--ink-2);
}
.compare table { width: 100%; border-collapse: collapse; }
.compare th, .compare td {
  padding: 16px clamp(14px, 2.5vw, 28px);
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.compare thead th {
  font-family: var(--display); font-weight: 800; font-style: italic;
  text-transform: uppercase; letter-spacing: 0.04em;
  font-size: 16px; color: var(--fg-muted);
  background: var(--panel);
}
.compare tbody th {
  text-align: left;
  font-family: var(--semi); font-weight: 600;
  color: var(--fg); font-size: 15px;
}
.compare td { color: var(--fg-muted); font-weight: 600; }
.col-lab {
  background: linear-gradient(180deg, rgba(20,158,230,0.12), rgba(20,158,230,0.04));
  border-left: 1px solid var(--line-blue);
  border-right: 1px solid var(--line-blue);
}
thead .col-lab { color: var(--blue-bright); }
.dots { display: inline-flex; gap: 5px; justify-content: center; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.dots i.on { background: var(--blue-bright); box-shadow: 0 0 8px var(--blue-glow); }
.val-lab { color: var(--blue-bright); font-family: var(--display); font-style: italic; font-weight: 800; font-size: 18px; }

/* ============================================================
   Portfolio
   ============================================================ */
.folio-rail {
  display: flex; gap: 18px; overflow-x: auto;
  padding: 4px var(--gutter) 22px;
  scroll-snap-type: x proximity; cursor: grab;
  scrollbar-width: thin; scrollbar-color: var(--line-2) transparent;
}
.folio-rail.dragging { cursor: grabbing; }
.folio-rail::-webkit-scrollbar { height: 6px; }
.folio-rail::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 3px; }
.folio {
  flex: none; width: min(80vw, 520px); aspect-ratio: 16/11;
  border-radius: 12px; overflow: hidden; position: relative;
  scroll-snap-align: center; border: 1px solid var(--line);
}
.folio-img { position: absolute; inset: 0; z-index: -1; transition: transform 0.7s var(--ease-out); }
.folio:hover .folio-img { transform: scale(1.05); }
.folio::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(5,6,8,0.92), transparent 55%);
}
.folio-cap {
  position: absolute; left: 0; bottom: 0; padding: 26px; z-index: 1;
}
.folio-cap .k {
  font-family: var(--semi); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; font-size: 12px; color: var(--blue-bright);
}
.folio-cap h4 {
  font-family: var(--display); font-weight: 800; font-style: italic;
  text-transform: uppercase; font-size: 28px; color: var(--fg-strong); margin-top: 4px;
}
.folio .play {
  position: absolute; inset: 0; margin: auto;
  width: 72px; height: 72px; border-radius: 50%;
  border: 2px solid var(--blue); background: rgba(5,6,8,0.5);
  display: flex; align-items: center; justify-content: center;
  color: var(--fg-strong); backdrop-filter: blur(2px);
  transition: transform 0.25s, background 0.25s;
}
.folio .play:hover { transform: scale(1.08); background: var(--blue); color: var(--ink); }
.folio .play svg { width: 26px; height: 26px; margin-left: 3px; }

/* ============================================================
   Testimonial
   ============================================================ */
.quote-grid {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 0;
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  background: var(--ink-2);
}
.quote-body { padding: clamp(34px, 5vw, 60px); }
.stars { display: flex; gap: 4px; color: var(--blue-bright); margin-bottom: 22px; }
.stars svg { width: 24px; height: 24px; }
.quote-body blockquote {
  font-family: var(--semi); font-weight: 600;
  font-size: clamp(22px, 2.6vw, 30px); line-height: 1.35; color: var(--fg-strong);
  text-wrap: pretty;
}
.quote-body .by { margin-top: 26px; }
.quote-body .by .n {
  font-family: var(--display); font-weight: 800; font-style: italic;
  text-transform: uppercase; color: var(--blue-bright); font-size: 18px;
}
.quote-body .by .r { color: var(--fg-subtle); font-size: 14px; }
.quote-img { position: relative; min-height: 320px; }
.quote-img > div { position: absolute; inset: 0; }

/* ============================================================
   CTA + Footer
   ============================================================ */
.cta {
  border-radius: 14px; overflow: hidden; position: relative;
  border: 1px solid var(--line-blue);
  background:
    radial-gradient(120% 160% at 100% 0%, rgba(20,158,230,0.18), transparent 55%),
    linear-gradient(180deg, var(--panel), var(--ink-2));
  padding: clamp(36px, 6vw, 70px);
  display: grid; grid-template-columns: 1.2fr auto; gap: 36px; align-items: center;
}
.cta h2 {
  font-family: var(--display); font-weight: 900; font-style: italic;
  text-transform: uppercase; font-size: clamp(38px, 5.5vw, 70px);
  line-height: 0.9; color: var(--fg-strong);
}
.cta p { color: var(--fg-muted); margin-top: 14px; font-size: 19px; }
.cta-actions { display: flex; flex-direction: column; gap: 14px; min-width: 280px; }
.cta .btn { justify-content: center; }
.cta-actions .phone { text-align: center; }
.cta-actions .phone .num {
  font-family: var(--display); font-weight: 900; font-style: italic;
  font-size: 22px; color: var(--blue-bright);
}

.estimate-form {
  margin-top: 22px;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--panel), var(--ink-2));
}
.form-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}
.form-head p { margin-top: 8px; color: var(--fg-muted); }
.form-location {
  font-family: var(--semi);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-bright);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.field {
  display: grid;
  gap: 8px;
  margin-top: 20px;
  font-family: var(--semi);
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
}
.field b,
.service-options b { color: var(--blue-bright); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  outline: none;
  background: var(--ink);
  color: var(--fg-strong);
  font: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select { color-scheme: dark; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(20,158,230,0.14);
}
.service-options {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
  border: 0;
}
.service-options legend {
  width: 100%;
  margin-bottom: 10px;
  font-family: var(--semi);
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
}
.service-options label {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 50px;
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--ink);
  color: var(--fg-muted);
  cursor: pointer;
}
.service-options input {
  width: 20px;
  height: 20px;
  accent-color: var(--blue);
}
.service-options label:has(input:checked) {
  border-color: var(--blue);
  color: var(--fg-strong);
  background: rgba(20,158,230,0.08);
}
.form-submit {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
}
.form-submit p { color: var(--fg-subtle); font-size: 14px; }
.form-submit a { color: var(--blue-bright); }
.form-status { min-height: 24px; margin-top: 16px; color: var(--blue-300); }
.form-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.footer { border-top: 1px solid var(--line); background: var(--ink-2); }
.foot-badges {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}
.foot-badge {
  display: flex; align-items: center; gap: 16px;
  padding: 28px var(--gutter); position: relative;
}
.foot-badge + .foot-badge::before {
  content: ''; position: absolute; left: 0; top: 25%; bottom: 25%; width: 1px; background: var(--line);
}
.foot-badge svg { width: 30px; height: 30px; color: var(--blue-bright); flex: none; }
.foot-badge .t {
  font-family: var(--display); font-weight: 800; font-style: italic;
  text-transform: uppercase; font-size: 15px; color: var(--fg-strong); line-height: 1.1;
}
.foot-badge .t span { display: block; font-family: var(--body); font-weight: 500; font-style: normal; text-transform: none; letter-spacing: 0; font-size: 13px; color: var(--fg-subtle); }
.foot-main {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 30px;
  padding: 56px var(--gutter);
}
.foot-col h5 {
  font-family: var(--display); font-weight: 800; font-style: italic;
  text-transform: uppercase; letter-spacing: 0.04em; font-size: 15px;
  color: var(--fg-subtle); margin-bottom: 16px;
}
.foot-col a, .foot-col p { display: block; color: var(--fg-muted); font-size: 15px; margin-bottom: 9px; transition: color 0.2s; }
.foot-col a:hover { color: var(--blue-bright); }
.foot-brand p { max-width: 34ch; }
.foot-bottom {
  border-top: 1px solid var(--line);
  padding: 20px var(--gutter);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: var(--fg-subtle); font-size: 13px;
}

/* ============================================================
   Reveal animations
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
  .reveal.in { opacity: 1; transform: none; }
  .reveal.d1 { transition-delay: 0.08s; }
  .reveal.d2 { transition-delay: 0.16s; }
  .reveal.d3 { transition-delay: 0.24s; }
  .reveal.d4 { transition-delay: 0.32s; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .quote-grid { grid-template-columns: 1fr; }
  .quote-img { min-height: 240px; order: -1; }
  .cta { grid-template-columns: 1fr; }
  .foot-main { grid-template-columns: 1fr 1fr; }
  .services-rail { grid-auto-columns: 80vw; overflow-x: auto; padding-bottom: 18px; scroll-snap-type: x proximity; }
  .svc { scroll-snap-align: start; }
}

/* ============================================================
   Mobile-first phone layout
   ============================================================ */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding-block: clamp(52px, 9vh, 78px); }
  .section-head { margin-bottom: 26px; gap: 14px; }
  .eyebrow { font-size: 23px; }

  /* hero — big type, full-width stacked CTAs */
  .hero h1 { font-size: clamp(64px, 19.5vw, 110px); line-height: 0.86; }
  .hero .subhead { font-size: 18px; margin-top: 20px; }
  .hero .actions { flex-direction: column; align-items: stretch; margin-top: 28px; gap: 12px; }
  .hero .actions .btn { width: 100%; justify-content: center; }

  .form-head,
  .form-submit { align-items: flex-start; flex-direction: column; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .service-options { flex-direction: column; }
  .service-options label { width: 100%; }
  .form-submit .btn { width: 100%; justify-content: center; }

  /* stats stay 3-up, compact + stacked */
  .stat { flex-direction: column; text-align: center; gap: 8px; padding: 22px 6px; }
  .stat-icon { width: 32px; height: 32px; }
  .stat-num { font-size: 28px; }
  .stat-label { font-size: 11px; letter-spacing: 0.03em; }
  .stat + .stat::before { top: 16%; bottom: 16%; }

  /* comparison fits the screen — no horizontal scroll */
  .compare th, .compare td { padding: 11px 5px; }
  .compare thead th { font-size: 11.5px; }
  .compare tbody th { font-size: 12.5px; }
  .dots { gap: 3px; }
  .dots i { width: 7px; height: 7px; }
  .val-lab { font-size: 15px; }

  /* footer */
  .foot-main { grid-template-columns: 1fr 1fr; gap: 22px; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-badge { flex-direction: column; text-align: center; gap: 9px; padding: 22px 8px; }
  .foot-badge .t { font-size: 12px; }
  .foot-badge .t span { display: none; }
  .foot-badge + .foot-badge::before { top: 22%; bottom: 22%; left: 0; right: auto; width: 1px; height: auto; }
  .foot-bottom { justify-content: center; text-align: center; }

}

@media (max-width: 460px) {
  .header-cta .btn { display: none; } /* clean header: logo + menu only, hero carries the CTA */
  .hero h1 { font-size: 62px; }
  .compare th, .compare td { padding: 10px 4px; }
  .compare thead th { font-size: 10.5px; letter-spacing: 0.02em; }
}
