/* ============================================================
   AFFORDABLE REPAIR AND RENOVATIONS — site.css
   Dark jobsite-dramatic system: obsidian canvas, heavy Anton
   display voice (uppercase, tight), Inter UI voice, Roboto Mono
   tracked labels, white-on-black single primary action, flat
   elevation via surface color steps, one silver inverted band.
   ============================================================ */

:root {
  /* Surfaces */
  --obsidian: #0f1011;
  --abyss: #090a0b;
  --graphite: #2e2e2e;
  --steel: #3f4041;
  --silver: #cacaca;
  --card: #1a1b1d;          /* step between obsidian and graphite */

  /* Text */
  --pure: #ffffff;
  --cloud: #f5f5f7;
  --ash: #9f9fa0;
  --fog: #6a6b6b;
  --void: #000000;

  /* Type */
  --font-display: 'Anton', 'Arial Narrow', Impact, sans-serif;
  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Roboto Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --track-wide: 0.182em;

  /* Layout */
  --page-max: 1200px;
  --gutter: clamp(20px, 4vw, 48px);

  /* Radius */
  --r-btn: 8px;
  --r-card: 16px;
  --r-feature: 30px;
  --r-pill: 9999px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--obsidian);
  color: var(--ash);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, blockquote, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
cite { font-style: normal; }

.container {
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--pure);
  color: var(--void);
  padding: 10px 18px;
  border-radius: var(--r-btn);
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Dither/hairline prevention (house rule) ----------
   Every large flat dark section = 2-stop gradient + noise overlay. */
.noise-overlay {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/></svg>");
  position: absolute;
  inset: 0;
  opacity: 0.035;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.sec-obsidian {
  position: relative;
  background: linear-gradient(180deg, #121316 0%, #0f1011 55%, #0d0e10 100%);
}
.sec-abyss {
  position: relative;
  background: linear-gradient(180deg, #0b0c0e 0%, #090a0b 60%, #08090a 100%);
}
.sec-inner { position: relative; z-index: 1; }
@supports not (mix-blend-mode: overlay) {
  .noise-overlay { opacity: 0.02; }
}

/* ---------- Type voices ---------- */
.label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--track-wide);
  color: var(--fog);
  margin-bottom: 18px;
}
.label--dark { color: rgba(0, 0, 0, 0.55); }

.display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  color: var(--cloud);
  line-height: 1.0;
  letter-spacing: 0.01em;
}
.display--lg { font-size: clamp(36px, 4.8vw, 58px); }
.display--md { font-size: clamp(28px, 3.6vw, 44px); }

/* Outline accent word — the display voice's one trick */
.hl {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--pure);
  text-stroke: 1.5px var(--pure);
}
.hl--dark {
  -webkit-text-stroke: 1.5px #0c0c0d;
  text-stroke: 1.5px #0c0c0d;
}
@supports not ((-webkit-text-stroke: 1px #fff) or (text-stroke: 1px #fff)) {
  .hl { color: var(--ash); }
  .hl--dark { color: rgba(0, 0, 0, 0.45); }
}

.body-copy {
  font-weight: 300;
  font-size: 18px;
  line-height: 1.5;
  color: var(--ash);
}

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--pure);
  color: var(--void);
  border-radius: var(--r-btn);
  padding: 14px 22px;
  font-size: 16px;
  font-weight: 500;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.btn-primary:hover { background: var(--cloud); transform: translateY(-1px); }
.btn-primary .arr { transition: transform 0.2s ease; }
.btn-primary:hover .arr { transform: translateX(3px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: transparent;
  color: var(--pure);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--r-btn);
  padding: 13px 22px;
  font-size: 16px;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--pure);
  font-size: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding-bottom: 3px;
  transition: border-color 0.2s ease;
}
.arrow-link:hover { border-color: var(--pure); }
.arrow-link .arr { transition: transform 0.2s ease; }
.arrow-link:hover .arr { transform: translateX(3px); }

.pill-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--track-wide);
  color: #fafafa;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--r-pill);
  padding: 8px 20px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* ---------- Nav (glass over the canvas) ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(15, 16, 17, 0.42);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: background-color 0.3s ease;
}
.nav--solid { background: rgba(13, 14, 15, 0.88); }
.nav-inner {
  max-width: var(--page-max);
  margin-inline: auto;
  padding: 13px var(--gutter);
  display: flex;
  align-items: center;
  gap: 28px;
}
.wordmark { display: flex; flex-direction: column; line-height: 1; margin-right: auto; }
.wordmark-main {
  font-family: var(--font-display);
  font-size: 21px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--cloud);
}
.wordmark-mono {
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--ash);
  margin-top: 4px;
}
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-link {
  font-size: 14px;
  color: var(--ash);
  transition: color 0.2s ease;
}
.nav-link:hover { color: var(--pure); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--pure);
  color: var(--void);
  border-radius: var(--r-btn);
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}
.nav-cta:hover { background: var(--cloud); }
.nav-cta .arr { font-size: 13px; }

.menu-btn { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.menu-btn .bar {
  width: 22px; height: 1.5px;
  background: var(--pure);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.menu-btn[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60; /* above the nav — the dialog owns the screen */
  background: rgba(9, 10, 11, 0.97);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 32px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--cloud);
}
.mobile-menu .mobile-menu-cta {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  background: var(--pure);
  color: var(--void);
  border-radius: var(--r-btn);
  padding: 14px 24px;
}
.menu-close {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 34px;
  line-height: 1;
  color: var(--cloud);
  padding: 10px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--obsidian);
}
.hero-media { position: absolute; inset: 0; }
.hero-media video,
.hero-media .hero-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
  /* Light palette grade only — footage stays clearly visible */
  filter: saturate(0.88) contrast(1.02) brightness(0.98);
}
.hero-media video.active,
.hero-media .hero-poster.active { opacity: 1; }
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 10, 11, 0.55) 0%, rgba(9, 10, 11, 0.14) 55%, rgba(9, 10, 11, 0.22) 100%),
    linear-gradient(180deg, rgba(9, 10, 11, 0.32) 0%, rgba(9, 10, 11, 0) 30%, rgba(9, 10, 11, 0) 68%, #0f1011 100%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding: 130px var(--gutter) 100px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.hero-text { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
/* Bright footage behind — soft shadow keeps the type readable */
.hero-title { text-shadow: 0 2px 28px rgba(0, 0, 0, 0.5); }
.hero-sub { text-shadow: 0 1px 14px rgba(0, 0, 0, 0.55); }
.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(46px, 6.6vw, 88px);
  line-height: 0.97;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--pure);
}
.hero-title .hl {
  color: transparent;
  -webkit-text-stroke: 2px var(--pure);
  text-stroke: 2px var(--pure);
}
@supports not ((-webkit-text-stroke: 1px #fff) or (text-stroke: 1px #fff)) {
  .hero-title .hl { color: var(--ash); }
}
.hero-sub {
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(248, 248, 250, 0.95);
  max-width: 520px;
}
.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Quote panel */
.quote-panel {
  background: rgba(10, 11, 12, 0.66);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-card);
  padding: 28px 26px 24px;
}
.quote-label { margin-bottom: 10px; color: var(--ash); }
.quote-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: 0.015em;
  color: var(--cloud);
  margin-bottom: 18px;
}
.q-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--track-wide);
  color: var(--fog);
  margin: 12px 0 6px;
}
.q-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-btn);
  color: var(--cloud);
  font-family: var(--font-sans);
  font-size: 15px;
  padding: 11px 14px;
  transition: border-color 0.2s ease;
}
.q-input:focus { outline: none; border-color: rgba(255, 255, 255, 0.45); }
.q-select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6'><path d='M0 0l5 6 5-6z' fill='%239f9fa0'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.q-select option { background: #141517; color: var(--cloud); }
.q-submit { width: 100%; margin-top: 18px; }
.q-note {
  margin-top: 12px;
  font-size: 12px;
  font-weight: 300;
  color: var(--fog);
  text-align: center;
}

.hero-dots {
  position: absolute;
  left: 0; right: 0;
  bottom: 26px;
  display: flex;
  justify-content: center;
  gap: 14px;
  z-index: 3;
}
.hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  padding: 0;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.hero-dot:hover { background: rgba(255, 255, 255, 0.65); }
.hero-dot[aria-current="true"] { background: var(--pure); transform: scale(1.3); }
.hero.no-motion .hero-dots { display: none; }

/* ---------- Trust strip ---------- */
.trust { text-align: center; }
.trust .sec-inner { padding-block: clamp(72px, 9vw, 130px); }
.trust-line { max-width: 760px; margin-inline: auto; }
.trust-tags {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.trust-tags li {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--track-wide);
  color: var(--ash);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r-pill);
  padding: 9px 18px;
}

/* ---------- Services ---------- */
.services .sec-inner { padding-block: clamp(80px, 10vw, 140px); }
.sec-head { text-align: center; margin-bottom: clamp(40px, 5vw, 68px); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.service-card {
  background: var(--card);
  border-radius: var(--r-feature);
  overflow: hidden;
  transition: background-color 0.2s ease;
}
.service-card:hover { background: #202124; }
.service-media {
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
.service-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s ease;
}
.service-card:hover .service-media img { transform: scale(1.04); }
.service-body { padding: 24px 28px 30px; }
.service-body .num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: var(--track-wide);
  color: var(--fog);
  margin-bottom: 10px;
}
.card-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 21px;
  line-height: 1.08;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--cloud);
  margin-bottom: 10px;
}
.service-body p:not(.num) {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--ash);
}
.services-more { text-align: center; margin-top: 34px; display: none; }

/* ---------- About / photo band ---------- */
.about-band {
  position: relative;
  min-height: min(92vh, 800px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--obsidian);
}
.about-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.about-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, #0f1011 0%, rgba(15, 16, 17, 0.1) 30%, rgba(9, 10, 11, 0.55) 78%, #0f1011 100%),
    linear-gradient(90deg, rgba(9, 10, 11, 0.55) 0%, rgba(9, 10, 11, 0.05) 55%);
}
.about-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding: clamp(64px, 9vw, 120px) var(--gutter);
}
.about-content .display { margin-bottom: 20px; }
.about-copy {
  max-width: 520px;
  margin-bottom: 26px;
  font-weight: 400;
  color: rgba(235, 235, 238, 0.92);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55);
}

/* ---------- Neighbors / silver inverted band ---------- */
.neighbors {
  background: var(--silver);
  color: var(--void);
  text-align: center;
}
.neighbors .sec-inner { padding-block: clamp(76px, 9vw, 130px); }
.big-quote .display { color: #0c0c0d; max-width: 900px; margin-inline: auto; }
.big-quote cite {
  display: block;
  margin-top: 26px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--track-wide);
  color: rgba(0, 0, 0, 0.55);
}
.neighbor-stats {
  margin-top: clamp(48px, 6vw, 72px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.nstat {
  border-top: 1px solid rgba(0, 0, 0, 0.18);
  padding-top: 22px;
  text-align: left;
}
.nstat-value {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  color: #0c0c0d;
  margin-bottom: 8px;
}
.nstat-label {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.6);
  max-width: 300px;
}

/* ---------- Recent jobs gallery ---------- */
.worklog .sec-inner { padding-block: clamp(80px, 10vw, 140px); }
.gallery { position: relative; }
.gallery-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}
.gallery-item {
  flex: 0 0 clamp(250px, 30vw, 380px);
  scroll-snap-align: start;
  margin: 0;
}
.gallery-zoom {
  display: block;
  width: 100%;
  padding: 0;
  border-radius: var(--r-card);
  overflow: hidden;
  cursor: zoom-in;
  background: var(--card);
}
.gallery-zoom img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.9s ease;
}
.gallery-zoom:hover img { transform: scale(1.04); }
.gallery-zoom:focus-visible { outline: 2px solid var(--pure); outline-offset: 3px; }
.gallery-item figcaption {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 300;
  color: var(--ash);
}
.job-date {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--track-wide);
  color: var(--fog);
  margin-bottom: 4px;
}
.gal-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(9, 10, 11, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--pure);
  font-size: 18px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.gal-btn:hover { background: rgba(255, 255, 255, 0.15); border-color: var(--pure); }
.gal-prev { left: -8px; }
.gal-next { right: -8px; }
html:not(.js) .gal-btn { display: none; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(6, 7, 8, 0.93);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 48px);
}
.lightbox[hidden] { display: none; }
.lightbox-figure { margin: 0; max-width: min(1100px, 92vw); }
.lightbox-figure img {
  max-width: 100%;
  max-height: 76vh;
  border-radius: var(--r-btn);
  margin-inline: auto;
}
.lightbox-figure figcaption {
  margin-top: 16px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--track-wide);
  color: var(--ash);
}
.lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 36px;
  line-height: 1;
  color: var(--cloud);
  padding: 10px;
  z-index: 2;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(9, 10, 11, 0.6);
  color: var(--pure);
  font-size: 18px;
  z-index: 2;
  transition: background-color 0.2s ease;
}
.lightbox-nav:hover { background: rgba(255, 255, 255, 0.15); }
.lightbox-prev { left: clamp(8px, 2vw, 28px); }
.lightbox-next { right: clamp(8px, 2vw, 28px); }

.log-note {
  max-width: 900px;
  margin: 26px auto 0;
  text-align: center;
  font-size: 14px;
  font-weight: 300;
  color: var(--fog);
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  min-height: min(78vh, 680px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--obsidian);
}
.cta-band video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.02) brightness(0.9);
}
.cta-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, #0f1011 0%, rgba(9, 10, 11, 0.42) 22%, rgba(9, 10, 11, 0.42) 78%, #090a0b 100%);
}
.cta-content {
  position: relative;
  z-index: 1;
  padding: 100px var(--gutter);
}
.cta-content .display { margin-bottom: 34px; }
.cta-ctas { justify-content: center; }

/* ---------- Footer ---------- */
.footer {
  position: relative;
  background: linear-gradient(180deg, #0a0b0d 0%, #090a0b 55%, #070808 100%);
  padding: clamp(64px, 8vw, 100px) 0 0;
}
.footer-inner {
  position: relative;
  z-index: 1;
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
}
.footer-brand p {
  margin-top: 18px;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--fog);
  max-width: 300px;
}
.footer h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--track-wide);
  color: var(--fog);
  margin-bottom: 18px;
}
.footer li { margin-bottom: 10px; font-size: 14px; font-weight: 300; }
.footer li a { color: var(--ash); transition: color 0.2s ease; }
.footer li a:hover { color: var(--pure); }
.footer li span { color: var(--fog); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 24px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--fog);
}

/* ---------- Mobile sticky bar ---------- */
.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 45;
  display: none;
  gap: 1px;
  background: rgba(9, 10, 11, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  visibility: visible;
  transition: transform 0.3s ease, visibility 0s 0s;
}
/* visibility:hidden pulls the off-screen bar out of the tab order */
.mobile-bar.hidden-bar {
  transform: translateY(110%);
  visibility: hidden;
  transition: transform 0.3s ease, visibility 0s 0.3s;
}
.mobile-bar a {
  flex: 1;
  text-align: center;
  padding: 13px 0;
  border-radius: var(--r-btn);
  font-size: 15px;
  font-weight: 500;
}
.mobile-bar .mb-call {
  flex: 2.2;
  background: var(--pure);
  color: var(--void);
  margin-right: 8px;
}
.mobile-bar .mb-text {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--pure);
}

/* ---------- Reveal on scroll ----------
   Hidden state is gated on .js so content renders without JavaScript. */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s cubic-bezier(0.455, 0.03, 0.515, 0.955),
              transform 0.9s cubic-bezier(0.455, 0.03, 0.515, 0.955);
}
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-media video, .hero-media .hero-poster { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr) 340px; }
}

@media (max-width: 1024px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .menu-btn { display: flex; margin-left: auto; }
  /* No-JS fallback: hamburger does nothing without JS, so hide it and
     keep the call CTA reachable in the bar instead. */
  html:not(.js) .menu-btn { display: none; }
  html:not(.js) .nav-cta { display: inline-flex; margin-left: auto; }

  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 116px;
    padding-bottom: 90px;
    gap: 40px;
  }
  .quote-panel { max-width: 480px; }

  /* Services collapse (JS adds .collapsed; without JS all six show) */
  .service-grid.collapsed .service-card:nth-child(n + 4) { display: none; }
  .services-more { display: block; }
  .gallery-item { flex-basis: min(78vw, 340px); }
}

@media (max-width: 768px) {
  .mobile-bar { display: flex; }
  .footer { padding-bottom: 74px; } /* clear the sticky bar */
  .hero-sub { font-size: 16px; }
  /* Full-width text over the looping clip needs a stronger scrim */
  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(9, 10, 11, 0.55) 0%, rgba(9, 10, 11, 0.38) 40%, rgba(9, 10, 11, 0.48) 75%, #0f1011 100%);
  }
  .about-scrim {
    background:
      linear-gradient(180deg, #0f1011 0%, rgba(15, 16, 17, 0.3) 25%, rgba(9, 10, 11, 0.74) 70%, #0f1011 100%);
  }
  .gal-btn { display: none; } /* touch: swipe the track instead */
  .neighbor-stats { grid-template-columns: 1fr; gap: 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .btn-primary, .btn-ghost { padding: 13px 18px; font-size: 15px; }
  .hero-dots { display: none; } /* mobile runs a single looping clip */
}

@media (max-width: 560px) {
  .service-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-ctas { flex-direction: column; align-items: stretch; width: 100%; }
  .hero-ctas .btn-primary, .hero-ctas .btn-ghost { width: 100%; }
  .cta-ctas { align-items: center; }
  .quote-panel { max-width: none; }
}
