:root {
  --yellow: #ffce2f;
  --ink: #424242;
  --muted: #6b6b6b;
  --bg: #f6f6f6;
  --white: #ffffff;
  --black: #111111;
  --card: #171717;
  --line: rgba(66, 66, 66, 0.12);
  --header: 78px;
  --topbar: 40px;
  --max: 1180px;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 0;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
body.is-loading { overflow: hidden; }
.preloader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  background: #111;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}
.preloader.is-done {
  opacity: 0;
  visibility: hidden;
}
.preloader-logo {
  height: 42px;
  width: auto;
  animation: preloader-in 0.7s ease both;
}
.preloader-track {
  width: min(280px, 68vw);
  height: 3px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}
.preloader-bar {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: var(--yellow);
  box-shadow: 0 0 16px rgba(255, 206, 47, 0.55);
}
.preloader-count {
  margin: 0;
  color: #fff;
  font-family: Inter, Arial, sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  font-variant-numeric: tabular-nums;
}
@keyframes preloader-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .preloader { display: none; }
}
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1), transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--yellow);
  color: var(--black);
  padding: 8px 12px;
  z-index: 80;
}
.skip:focus { top: 8px; }

.sticky-head {
  position: sticky;
  top: 0;
  z-index: 50;
}

.topbar {
  height: var(--topbar);
  background: #0d0d0d;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  font-size: 13px;
  letter-spacing: 0.01em;
}
.topbar a { display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { color: var(--yellow); }
.topbar-right { color: rgba(255,255,255,0.82); }

.site-header {
  height: var(--header);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Inter, Arial, sans-serif;
  font-size: 24px;
  letter-spacing: -0.045em;
  font-weight: 500;
  color: #111;
  line-height: 1;
}
.logo-wordmark {
  display: block;
  height: 40px;
  width: auto;
}
.nav { order: 1; }
.header-phone {
  order: 2;
  margin-left: 16px;
  color: #111;
  font-weight: 500;
  white-space: nowrap;
  letter-spacing: -0.02em;
}
.menu-toggle { order: 3; }
.header-phone:hover { color: #2f6bff; }
.rate-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.rate-row a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 28px;
  border-radius: 18px;
  background: var(--yellow);
  color: #111;
}
.rate-row strong {
  font-size: 32px;
  letter-spacing: -0.04em;
  line-height: 1;
}
.rate-row span { font-size: 16px; }
.priority-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.priority-links a {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  min-height: 180px;
  padding: 28px;
  border-radius: 18px;
  background: #111;
  color: #fff;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.priority-links a span {
  color: var(--yellow);
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: 0;
}
.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav a, .nav-drop > button {
  background: none;
  border: 0;
  padding: 10px 14px;
  font-family: Inter, Arial, sans-serif;
  font-size: 15px;
  color: var(--ink);
}
.nav a:hover, .nav-drop > button:hover { color: #111; }
.nav-drop { position: relative; }
.nav-drop > button { display: inline-flex; align-items: center; gap: 6px; }
.chevron {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}
.dropdown {
  display: none;
  position: absolute;
  top: calc(100% - 4px);
  left: 0;
  width: 280px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.12);
  padding: 8px;
  z-index: 20;
}
.nav-drop.open .dropdown { display: block; }
@media (hover: hover) and (pointer: fine) {
  .nav-drop:hover .dropdown,
  .nav-drop:focus-within .dropdown { display: block; }
}
.dropdown a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 14px;
}
.dropdown a:hover { background: var(--bg); }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  position: relative;
}
.menu-toggle span,
.menu-toggle span:before,
.menu-toggle span:after {
  display: block;
  height: 2px;
  width: 20px;
  background: #111;
  position: absolute;
  left: 12px;
}
.menu-toggle span { top: 21px; }
.menu-toggle span:before { content: ""; top: -6px; }
.menu-toggle span:after { content: ""; top: 6px; }

.hero {
  min-height: calc(100vh - var(--header) - var(--topbar));
  background:
    linear-gradient(90deg, rgba(8,8,8,0.78) 0%, rgba(8,8,8,0.55) 48%, rgba(8,8,8,0.45) 100%),
    url("https://ovdrain.ca/wp-content/uploads/2026/10/excavate.jpg") center 42% / cover no-repeat;
  color: #fff;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 440px);
  align-items: center;
  gap: 48px;
  padding: 48px 7vw 88px;
}
.hero-lead {
  margin: 18px 0 0;
  max-width: 34em;
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
}
.hero.hero-explain {
  min-height: 0;
  grid-template-columns: minmax(0, 820px);
  padding-bottom: 72px;
}
.service-form.section { padding-top: 28px; padding-bottom: 28px; }
.service-form .wrap { max-width: 640px; }
#about.section:has(+ .job-gallery) { padding-bottom: 20px; }
.job-gallery.section { padding-top: 8px; padding-bottom: 8px; }
.job-gallery .center-head { margin-bottom: 22px; }
.job-gallery .gallery { margin-top: 0; }
.job-gallery .gallery figure { height: 210px; }
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
}
.crumbs a:hover { color: var(--yellow); }
.quiz {
  background: #fff;
  color: var(--ink);
  border-radius: 12px;
  padding: 18px 18px 14px;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.28);
}
.quiz-kicker {
  margin: 0 0 10px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.quiz-track {
  height: 3px;
  background: #eee;
  border-radius: 99px;
  margin-bottom: 16px;
  overflow: hidden;
}
.quiz-track span {
  display: block;
  height: 100%;
  width: 33%;
  background: var(--yellow);
  transition: width 0.35s ease;
}
.quiz-panel {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.quiz-panel legend {
  font-family: Inter, Arial, sans-serif;
  font-size: 22px;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
  padding: 0;
}
.quiz-options { display: grid; gap: 8px; }
.quiz-options label {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  padding: 9px 12px;
  cursor: pointer;
  background: #fafafa;
}
.quiz-options label:has(input:checked) {
  border-color: #111;
  background: #fff8dc;
}
.quiz-options input { width: auto; accent-color: #111; }
.city-field { position: relative; }
.city-list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 8;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  border: 1px solid #e4e4e4;
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.1);
  max-height: 220px;
  overflow: auto;
}
.city-list button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  border-radius: 6px;
  padding: 10px 12px;
  cursor: pointer;
}
.city-list button:hover,
.city-list button[aria-selected="true"] { background: #fff8dc; }
.quiz-error {
  margin: 10px 0 0;
  color: #9a3412;
  font-size: 14px;
}
.quiz-error.is-success { color: #1f7a3a; }
.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  width: 0;
  opacity: 0;
}
.quiz-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.quiz .form-note { margin-top: 12px; }
.quiz .btn-line { background: #fff; }
.call-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  padding: 0 22px;
  border-radius: 5px;
  background: var(--yellow);
  color: #111;
  font-weight: 500;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
  animation: call-fab-pulse 2.6s ease-in-out infinite;
}
.call-fab:hover {
  background: #ffd84d;
  color: #111;
  animation: none;
}
@keyframes call-fab-pulse {
  0%, 100% { box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28); }
  50% { box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22), 0 0 0 10px rgba(255, 206, 47, 0.35); }
}
@media (prefers-reduced-motion: reduce) {
  .call-fab { animation: none; }
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
}
.dot {
  width: 8px;
  height: 8px;
  background: var(--yellow);
  flex: 0 0 auto;
}
h1, h2, h3 { font-family: Inter, Arial, sans-serif; font-weight: 400; letter-spacing: -0.03em; margin: 0; }
h1 {
  margin-top: 18px;
  font-size: clamp(38px, 4.2vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  max-width: 11em;
}
.btn[hidden] { display: none; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 22px;
  border-radius: 5px;
  border: 0;
  background: var(--yellow);
  color: #1a1a1a;
  font-weight: 500;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); background: #ffd84d; }
.btn-dark {
  background: #111;
  color: #fff;
}
.btn-dark:hover { background: #000; }
.btn-line {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(0,0,0,0.16);
}
.arrow { font-size: 18px; line-height: 1; }

.section { padding: 110px 28px; }
.wrap { max-width: var(--max); margin: 0 auto; }
.about-grid {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 40px;
}
.statement {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.35;
  letter-spacing: -0.03em;
  color: #5c5c5c;
  max-width: 18em;
}
.about-lower {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.9fr;
  gap: 22px;
  align-items: end;
}
.about-lower:not(:has(.photo-stack)) {
  grid-template-columns: 1.15fr 0.85fr;
}
.photo-stack { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 14px; }
.photo-stack figure, .frame {
  margin: 0;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #ddd;
}
.photo-stack img, .frame img { width: 100%; height: 100%; object-fit: cover; }
.photo-stack figure:first-child { height: 360px; }
.photo-stack figure:last-child { height: 280px; align-self: end; }
.stat {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(12,12,12,0.9);
  color: #fff;
  border-radius: 8px;
  padding: 16px 18px 14px;
  min-width: 140px;
}
.stat strong {
  display: block;
  font-family: Inter, sans-serif;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}
.stat span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.about-copy p { margin: 0 0 18px; color: var(--muted); }
.checks { list-style: none; margin: 0; padding: 0; }
.checks li {
  position: relative;
  padding: 8px 0 8px 28px;
}
.checks li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 14px;
  height: 8px;
  border-left: 2px solid #111;
  border-bottom: 2px solid #111;
  transform: rotate(-45deg);
}

.services-head, .center-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}
.center-head { flex-direction: column; align-items: center; text-align: center; }
h2 { font-size: clamp(32px, 3.4vw, 40px); line-height: 1.2; max-width: 16em; }
.lede { margin: 10px 0 0; color: var(--muted); }

.service-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 460px;
}
.service-tile {
  position: relative;
  min-height: 420px;
  color: #fff;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  padding: 28px;
  overflow: hidden;
}
.service-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.5s ease;
}
.card, .service-tile, section[id] { scroll-margin-top: calc(var(--topbar) + var(--header) + 12px); }
.service-tile:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.18) 20%, rgba(0,0,0,0.78) 100%);
}
.service-tile:hover img { transform: scale(1.08); }
.service-tile h3 {
  position: relative;
  z-index: 1;
  font-size: 26px;
  line-height: 1.25;
  max-width: 10em;
}

.catalog { background: var(--bg); }
.tabs {
  position: relative;
  display: flex;
  gap: 8px;
  background: #fff;
  padding: 6px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  margin-top: 22px;
}
.tabs-glide {
  position: absolute;
  top: 6px;
  left: 0;
  height: 42px;
  border-radius: 8px;
  background: var(--yellow);
  z-index: 0;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.tabs button {
  position: relative;
  z-index: 1;
  border: 0;
  background: transparent;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 8px;
}
.tabs button[aria-selected="false"]:hover { background: #f3f3f3; }
@media (prefers-reduced-motion: reduce) {
  .tabs-glide, .catalog .cards { transition: none; }
}

.cards {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  transition: opacity 0.32s ease, transform 0.32s ease;
}
.catalog .cards.is-swapping {
  opacity: 0;
  transform: translateY(12px);
}
.card {
  background: #fff;
  border-radius: 16px;
  padding: 26px 24px 20px;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}
.card[hidden] { display: none; }
.card h3 { font-size: 24px; letter-spacing: -0.03em; line-height: 1.25; }
.card p { color: var(--muted); margin: 12px 0 0; flex: 1; }
.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.card-foot span { color: #8a8a8a; letter-spacing: 0.04em; text-transform: uppercase; font-size: 12px; }
.card-foot a.learn-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 5px;
  background: var(--yellow);
  color: #1a1a1a;
  font-size: 14px;
  font-weight: 500;
  transition: transform 0.15s ease, background 0.15s ease;
}
.card-foot a.learn-more:hover { color: #1a1a1a; background: #ffd84d; transform: translateY(-1px); }

.why {
  background: var(--yellow);
  padding: 28px;
}
.why-panel {
  min-height: 520px;
  border-radius: 4px;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.72), rgba(0,0,0,0.55)),
    url("https://ovdrain.ca/wp-content/uploads/2026/10/job-floor.webp") center / cover no-repeat;
  color: #fff;
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 40px;
  padding: 56px 48px;
}
.why h2 {
  font-size: clamp(40px, 4.5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  color: #fff;
  max-width: 10em;
  margin-top: 16px;
}
.why-panel > p { max-width: 36em; color: rgba(255,255,255,0.82); }
.why-list { align-self: center; }
.why-list article {
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.why-list article:last-child { border-bottom: 1px solid rgba(255,255,255,0.18); }
.why-list h3 { font-size: 20px; margin-bottom: 4px; }
.why-list p { margin: 0; color: rgba(255,255,255,0.75); font-size: 15px; }

.work-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.work-photo {
  border-radius: 12px;
  overflow: hidden;
  height: 460px;
}
.work-photo img { width: 100%; height: 100%; object-fit: cover; }
.kicker { color: var(--muted); font-size: 14px; margin: 12px 0; }
.work-copy h2 { margin: 8px 0 16px; }
.work-copy p { color: var(--muted); }

.gallery {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.gallery figure {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #e7e7e7;
  height: 240px;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.cities {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.cities li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  list-style: none;
  background: #fff;
  border-radius: 999px;
  padding: 10px 16px;
  box-shadow: var(--shadow);
}

.cta {
  margin: 0 28px 20px;
  border-radius: 8px;
  min-height: 420px;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.78), rgba(0,0,0,0.4)),
    url("https://ovdrain.ca/wp-content/uploads/2026/10/job-open.webp") center / cover no-repeat;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 56px;
}
.cta h2 { color: #fff; font-size: clamp(36px, 4vw, 52px); max-width: 12em; }
.cta p { max-width: 34em; color: rgba(255,255,255,0.84); }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
}
.faq-intro p { color: var(--muted); }
.faq details {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 10px;
  box-shadow: var(--shadow);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 20px;
  font-family: Inter, sans-serif;
  font-size: 18px;
  letter-spacing: -0.02em;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:after {
  content: "+";
  font-size: 24px;
  line-height: 1;
  color: #111;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.faq details[open] summary:after { transform: rotate(45deg); }
.faq details:not([open]) > p { display: none; }
.faq details p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--muted);
  overflow: hidden;
  box-sizing: border-box;
  transition: height 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}
@media (hover: hover) and (pointer: fine) {
  body.custom-cursor,
  body.custom-cursor a,
  body.custom-cursor button,
  body.custom-cursor summary,
  body.custom-cursor label {
    cursor: none;
  }
  body.custom-cursor input,
  body.custom-cursor textarea,
  body.custom-cursor select {
    cursor: text;
  }
  body.custom-cursor input[type="radio"],
  body.custom-cursor input[type="checkbox"],
  body.custom-cursor input[type="button"],
  body.custom-cursor input[type="submit"] {
    cursor: none;
  }
}
.site-cursor {
  position: fixed;
  inset: 0;
  z-index: 400;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.site-cursor.is-on { opacity: 1; }
.site-cursor.is-text { opacity: 0; }
.quiz-modal[hidden] { display: none; }
.quiz-modal {
  position: fixed;
  inset: 0;
  z-index: 280;
  display: grid;
  place-items: center;
  padding: 24px 16px;
  background: rgba(17, 17, 17, 0.55);
}
.quiz-modal-card {
  width: min(560px, 100%);
  max-height: min(92vh, 820px);
  overflow: auto;
  background: #fff;
  border-radius: 18px;
  padding: 28px 24px 22px;
  box-shadow: var(--shadow);
  position: relative;
}
.quiz-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 8px;
  background: #f3f3f3;
  font-size: 22px;
  line-height: 1;
}
body.quiz-open { overflow: hidden; }
.thank-you { min-height: 60vh; display: grid; align-items: center; }
.thank-count { font-size: 42px; line-height: 1; }
.site-cursor-arrow,
.site-cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  will-change: transform;
}
.site-cursor-arrow {
  width: 22px;
  height: 26px;
  overflow: visible;
}
.site-cursor-ring {
  border-radius: 50%;
  width: 34px;
  height: 34px;
  border: 1.5px solid var(--yellow);
  background: transparent;
  transition: width 0.28s cubic-bezier(0.22, 1, 0.36, 1), height 0.28s cubic-bezier(0.22, 1, 0.36, 1), background 0.28s ease, border-color 0.28s ease;
}
.site-cursor.is-hover .site-cursor-ring {
  width: 58px;
  height: 58px;
  background: rgba(255, 206, 47, 0.18);
}
.site-cursor.is-hover.is-button .site-cursor-ring {
  border-color: #2f6bff;
  background: rgba(47, 107, 255, 0.22);
}
.site-cursor.is-down .site-cursor-ring {
  width: 24px;
  height: 24px;
  background: rgba(255, 206, 47, 0.45);
}
.site-cursor.is-button.is-down .site-cursor-ring {
  border-color: #2f6bff;
  background: rgba(47, 107, 255, 0.45);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  background: #fff;
  border-radius: 16px;
  padding: 36px;
  box-shadow: var(--shadow);
}
.contact-grid h2 { margin: 10px 0 12px; }
.contact-grid a.big {
  display: block;
  font-family: Inter, sans-serif;
  font-size: 28px;
  letter-spacing: -0.03em;
  margin-top: 8px;
}
.contact-grid a.big:hover { color: #111; }
form { display: grid; gap: 12px; }
form .btn { justify-self: start; }
label { display: grid; gap: 6px; font-size: 14px; }
.optional { margin-left: 6px; color: #8a8a8a; font-weight: 400; }
input, select, textarea {
  width: 100%;
  border: 1px solid #e4e4e4;
  background: #fafafa;
  border-radius: 8px;
  padding: 14px 12px;
  outline: none;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: #111; background: #fff; }
.form-note { margin: 0; font-size: 13px; color: var(--muted); }

.site-footer {
  background: #111;
  color: rgba(255,255,255,0.78);
  padding: 64px 28px 28px;
}
.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px;
}
.site-footer h2 {
  color: #fff;
  font-size: 18px;
  letter-spacing: 0.14em;
  margin-bottom: 12px;
}
.site-footer a.footer-brand {
  display: flex;
  color: #fff;
  margin-bottom: 16px;
  padding: 0;
}
.site-footer .logo-wordmark { height: 48px; }
.site-footer a.footer-brand:hover { color: #fff; }
.site-footer a { display: block; padding: 4px 0; }
.site-footer a:hover { color: var(--yellow); }
.footer-base {
  max-width: var(--max);
  margin: 36px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
  align-items: center;
}
.site-footer .footer-legal a { display: inline; margin-left: 16px; padding: 0; }
.legal-page { max-width: 760px; text-align: left; }
.legal-page h1 { margin-bottom: 12px; }
.legal-page h2 { font-size: 22px; margin: 28px 0 8px; }
.legal-page p, .legal-page li { max-width: 42em; }
.legal-page ul { margin: 8px 0 0; padding-left: 1.2em; }

@media (max-width: 980px) {
  .header-phone { margin-right: 8px; font-size: 15px; }
  .rate-row, .priority-links { grid-template-columns: 1fr; }
  .priority-links a { min-height: 0; font-size: 22px; }
  .menu-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: calc(var(--topbar) + var(--header));
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 10px 16px 20px;
    border-bottom: 1px solid #eee;
    box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .dropdown { position: static; width: auto; box-shadow: none; display: none; padding-left: 8px; }
  .nav-drop.open .dropdown { display: block; }
  .about-grid, .about-lower, .about-lower:not(:has(.photo-stack)), .why-panel, .work-layout, .faq-grid, .contact-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .service-band { grid-template-columns: 1fr 1fr; }
  .cards, .gallery { grid-template-columns: 1fr 1fr; }
  .photo-stack { grid-template-columns: 1fr 1fr; }
  .hero {
    grid-template-columns: 1fr;
    padding: 36px 20px 96px;
    min-height: auto;
    align-items: start;
  }
  .call-fab { right: 16px; bottom: 16px; }
  .why-panel, .cta, .contact-grid { padding: 28px; }
  .topbar a.topbar-right { display: none; }
}

@media (max-width: 680px) {
  .service-band, .cards, .gallery, .photo-stack { grid-template-columns: 1fr; }
  .photo-stack figure:first-child, .photo-stack figure:last-child, .work-photo, .gallery figure { height: 240px; }
  #services .center-head { min-width: 0; max-width: 100%; align-items: stretch; }
  .tabs {
    align-self: stretch;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    flex-wrap: nowrap;
    overflow: hidden;
    gap: 2px;
    padding: 4px;
    box-sizing: border-box;
  }
  .tabs button {
    flex: 1 1 0;
    min-width: 0;
    padding: 0 2px;
    font-size: 12px;
    white-space: nowrap;
  }
  .call-fab {
    left: 16px;
    right: 16px;
    justify-content: center;
    bottom: 12px;
  }
  body { padding-bottom: 84px; }
  .services-head { flex-direction: column; align-items: flex-start; }
  .site-header, .topbar, .section { padding-left: 16px; padding-right: 16px; }
  .section { padding-top: 72px; padding-bottom: 72px; }
  .cta { margin: 0 16px 16px; padding: 28px; }
  .brand { letter-spacing: -0.045em; font-size: 22px; }
  .logo-wordmark, .site-footer .logo-wordmark { height: 34px; }
}
