:root {
  --ink: #23201c;
  --charcoal: #2f2b26;
  --stone: #7a7268;
  --paper: #f3efe8;
  --white: #faf8f4;
  --line: #ddd5c9;
  --amber: #d6a65a;
  --amber-soft: rgba(214, 166, 90, 0.55);
  --forest: #3a3834;
  --shadow: rgb(35 32 28 / 0.12);
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: Inter, system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--charcoal);
  color: var(--white);
  padding: 0.6rem 1rem;
  z-index: 99;
}

.skip:focus {
  top: 1rem;
}

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

header.site {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgb(35 31 28 / 0.94);
  color: var(--white);
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
  backdrop-filter: blur(8px);
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
}

.logo-mark {
  width: min(180px, 42vw);
  height: auto;
}

.menu-toggle {
  display: inline-flex;
  border: 1px solid rgb(255 255 255 / 0.25);
  background: transparent;
  color: var(--white);
  padding: 0.45rem 0.75rem;
  font: inherit;
}

.primary {
  display: none;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.primary a {
  text-decoration: none;
  font-size: 0.92rem;
}

.primary a[aria-current="page"] {
  color: var(--amber);
}

.primary.is-open {
  display: flex;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--charcoal);
  padding: 1rem;
  flex-direction: column;
  align-items: flex-start;
}

@media (min-width: 900px) {
  .menu-toggle {
    display: none;
  }

  .primary {
    display: flex;
    position: static;
    padding: 0;
    background: transparent;
    flex-direction: row;
    align-items: center;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.65rem 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-accent {
  background: var(--amber);
  color: #1e180f;
}

.btn-ghost {
  border-color: rgb(255 255 255 / 0.35);
  color: var(--white);
  background: transparent;
}

.hero {
  position: relative;
  min-height: clamp(520px, 78vh, 760px);
  color: var(--white);
  overflow: clip;
  margin: 0 calc(50% - 50vw);
  width: 100vw;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-video,
.hero-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 42%;
}

.hero.is-static .hero-video {
  display: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgb(23 20 18 / 0.88) 0%, rgb(23 20 18 / 0.55) 45%, rgb(23 20 18 / 0.35) 100%);
}

.hero-brush {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -12deg,
    transparent,
    transparent 14px,
    rgb(255 255 255 / 0.03) 14px,
    rgb(255 255 255 / 0.03) 16px
  );
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1rem, 4vw, 3rem) 3rem;
  width: min(1120px, 100%);
  margin-inline: auto;
}

.hero-wordmark img {
  width: min(520px, 88vw);
}

.eyebrow {
  margin: 1.25rem 0 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  color: rgb(255 255 255 / 0.75);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.05;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.hero-lede {
  max-width: 36rem;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.hero-pause {
  margin-top: 1rem;
  border: 1px solid rgb(255 255 255 / 0.35);
  background: rgb(0 0 0 / 0.25);
  color: var(--white);
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font: inherit;
  cursor: pointer;
}

.section {
  padding: 3.25rem 0;
}

.section-dark {
  background: var(--charcoal);
  color: var(--white);
  margin: 0 calc(50% - 50vw);
  width: 100vw;
}

.section-dark .wrap,
.section-dark > * {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.section-head h2,
.page-head h1,
h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.lede {
  color: var(--stone);
  font-size: 1.08rem;
}

.service-grid,
.project-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.service-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.service-card-body {
  padding: 1rem;
}

.project-tile {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: var(--white);
}

.project-tile span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.9rem;
  background: linear-gradient(transparent, rgb(0 0 0 / 0.8));
  font-weight: 600;
}

.project-tile small {
  display: block;
  font-weight: 400;
  opacity: 0.85;
}

.split {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 800px) {
  .split {
    grid-template-columns: 1.05fr 1fr;
  }
}

.cta-band {
  margin-top: 1rem;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  text-align: center;
}

.text-link {
  color: var(--charcoal);
  font-weight: 600;
}

.quote-form {
  display: grid;
  gap: 0.85rem;
  max-width: 560px;
}

.quote-form label {
  display: grid;
  gap: 0.3rem;
  font-weight: 500;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  font: inherit;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.optional {
  font-weight: 400;
  color: var(--stone);
}

.form-note {
  color: var(--stone);
  font-size: 0.92rem;
}

footer.site {
  background: var(--charcoal);
  color: rgb(255 255 255 / 0.85);
  margin-top: 3rem;
  padding: 2rem 0 5rem;
}

.foot {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 760px) {
  .foot {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.note {
  font-size: 0.88rem;
  color: rgb(255 255 255 / 0.65);
}

.logo-foot {
  width: 160px;
}

.sticky-call {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.65rem;
  background: var(--amber);
  text-align: center;
  z-index: 50;
  font-weight: 700;
}

.sticky-call a {
  text-decoration: none;
  color: #1e180f;
}

@media (min-width: 900px) {
  .sticky-call {
    display: none;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .coverage-glow,
  .coverage-fx-scan,
  .coverage-fx-rings span,
  .coverage-dot {
    animation: none !important;
  }
}

/* Town lights coverage map */
.coverage-map {
  margin-top: 0.5rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: inset 0 3px 0 var(--forest), 0 18px 42px var(--shadow);
  container-type: inline-size;
}

.coverage-stage {
  position: relative;
  overflow: hidden;
}

.coverage-stage > img {
  width: 100%;
  height: auto;
  filter: saturate(0.85) contrast(1.02);
}

.coverage-stage > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  z-index: 3;
}

.coverage-fx,
.coverage-glows,
.coverage-fx-chrome {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.coverage-fx {
  z-index: 1;
  overflow: hidden;
}

.coverage-glows {
  z-index: 2;
}

.coverage-fx-chrome {
  z-index: 4;
}

.coverage-fx-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgb(47 43 38 / 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgb(47 43 38 / 0.05) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 12%, transparent 78%);
}

.coverage-fx-wash {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgb(214 166 90 / 0.1) 0%, rgb(214 166 90 / 0.03) 18%, transparent 46%);
}

.coverage-fx-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, transparent 50%, rgb(35 32 28 / 0.1) 100%);
}

.coverage-fx-scan {
  position: absolute;
  left: 0;
  right: 0;
  height: 22%;
  background: linear-gradient(180deg, transparent 0%, rgb(214 166 90 / 0.04) 45%, rgb(214 166 90 / 0.08) 50%, rgb(214 166 90 / 0.04) 55%, transparent 100%);
  animation: coverage-scan 12s linear infinite;
}

.coverage-fx-rings {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
}

.coverage-fx-rings span {
  position: absolute;
  left: 0;
  top: 0;
  border: 1px solid rgb(214 166 90 / 0.5);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  animation: coverage-ring 7.5s ease-out infinite;
}

.coverage-fx-rings span:nth-child(2) {
  animation-delay: 2.5s;
}

.coverage-fx-rings span:nth-child(3) {
  animation-delay: 5s;
}

.coverage-fx-frame span {
  position: absolute;
  width: 1.7rem;
  height: 1.7rem;
  border: 0 solid var(--amber);
}

.coverage-fx-frame .is-tl {
  top: 0.7rem;
  left: 0.7rem;
  border-width: 2px 0 0 2px;
}

.coverage-fx-frame .is-tr {
  top: 0.7rem;
  right: 0.7rem;
  border-width: 2px 2px 0 0;
}

.coverage-fx-frame .is-bl {
  bottom: 0.7rem;
  left: 0.7rem;
  border-width: 0 0 2px 2px;
}

.coverage-fx-frame .is-br {
  bottom: 0.7rem;
  right: 0.7rem;
  border-width: 0 2px 2px 0;
}

.coverage-fx-chip {
  position: absolute;
  left: 2.6rem;
  top: 0.85rem;
  padding: 0.28rem 0.55rem 0.24rem;
  background: var(--forest);
  color: var(--white);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

@container (max-width: 520px) {
  .coverage-fx-chip {
    left: 1.5rem;
    top: 0.55rem;
    font-size: 0.5rem;
    letter-spacing: 0.12em;
  }

  .coverage-fx-frame span {
    width: 1rem;
    height: 1rem;
  }
}

.coverage-map-caption {
  border-top: 1px solid var(--line);
  padding: 0.95rem 1.1rem 1.1rem;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--stone);
}

.coverage-place {
  cursor: pointer;
  outline: none;
}

.coverage-place-hit {
  fill: transparent;
  pointer-events: all;
}

.coverage-dot {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 180ms ease;
}

.coverage-dot-mark {
  fill: #e2b46a;
  stroke: rgb(255 248 236 / 0.9);
  stroke-width: 3;
  filter: drop-shadow(0 0 8px rgb(214 166 90 / 0.9));
}

.coverage-place.is-anchor .coverage-dot-mark {
  fill: var(--amber);
  stroke: #fffaf0;
  stroke-width: 4;
  filter: drop-shadow(0 0 16px rgb(214 166 90 / 1));
}

.coverage-place:hover .coverage-dot,
.coverage-place:focus-visible .coverage-dot {
  transform: scale(1.12);
}

.coverage-city-label {
  fill: var(--charcoal);
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 600;
  paint-order: stroke;
  stroke: rgb(246 241 232 / 0.92);
  stroke-width: 6px;
  stroke-linejoin: round;
}

.coverage-city-label.is-emphasis {
  fill: #5c431a;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  stroke-width: 8px;
}

.coverage-radius-fill {
  fill: rgb(214 166 90 / 0.08);
}

.coverage-radius {
  fill: none;
  stroke: rgb(214 166 90 / 0.75);
  stroke-width: 2;
  stroke-dasharray: 7 8;
}

.coverage-radius-label {
  fill: #6b4f1f;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.coverage-glow {
  position: absolute;
  width: max(1.6rem, 4cqi);
  height: max(1.6rem, 4cqi);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgb(214 166 90 / 0.55) 16%, rgb(214 166 90 / 0.28) 40%, rgb(214 166 90 / 0.1) 56%, transparent 66%);
  animation: coverage-glow 3.4s ease-in-out infinite;
}

.coverage-glow.is-anchor {
  width: max(3rem, 9cqi);
  height: max(3rem, 9cqi);
  background: radial-gradient(circle, rgb(214 166 90 / 0.8) 12%, rgb(214 166 90 / 0.4) 34%, rgb(214 166 90 / 0.14) 54%, transparent 68%);
}

.town-list {
  margin-top: 1.5rem;
}

.town-list-title {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

.town-list ul {
  margin: 0 0 0.75rem;
  padding-left: 1.2rem;
}

@keyframes coverage-scan {
  0% {
    top: -22%;
  }
  100% {
    top: 100%;
  }
}

@keyframes coverage-ring {
  0% {
    width: 3rem;
    height: 3rem;
    opacity: 0.35;
  }
  100% {
    width: 40cqi;
    height: 40cqi;
    opacity: 0;
  }
}

@keyframes coverage-glow {
  0%,
  100% {
    opacity: 0.65;
    transform: translate(-50%, -50%) scale(0.95);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.08);
  }
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}
/* Motion and mobile polish */
body.menu-open {
  overflow: hidden;
}

header.site .bar {
  transition: padding 260ms ease;
}

header.site .logo-mark {
  transition: width 260ms ease;
}

header.site.is-scrolled {
  background: rgb(26 23 20 / 0.97);
  box-shadow: 0 10px 30px rgb(0 0 0 / 0.25);
}

header.site.is-scrolled .bar {
  padding: 0.35rem 0;
}

header.site.is-scrolled .logo-mark {
  width: min(140px, 36vw);
}

.primary a:not(.btn) {
  position: relative;
  padding: 0.35rem 0;
}

.primary a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms ease;
}

.primary a:not(.btn):hover::after,
.primary a[aria-current="page"]::after {
  transform: scaleX(1);
}

.btn {
  position: relative;
  overflow: hidden;
  min-height: 46px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-accent {
  box-shadow: 0 8px 22px rgb(214 166 90 / 0.35);
}

.btn-accent::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgb(255 255 255 / 0.45) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 700ms ease;
}

.btn-accent:hover::after {
  transform: translateX(120%);
}

.btn-ghost:hover {
  background: rgb(255 255 255 / 0.1);
}

.hero-media {
  transform: translate3d(0, var(--hero-shift, 0), 0) scale(1.08);
  will-change: transform;
}

.hero-inner {
  opacity: var(--hero-fade, 1);
}

.hero-brush {
  animation: brush-drift 18s linear infinite;
  background-size: 200% 200%;
}

.js .hero-wordmark,
.js .hero-copy > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 800ms ease, transform 800ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .hero-wordmark {
  transform: translateY(0) scale(0.94);
  clip-path: inset(0 100% 0 0);
  transition: opacity 600ms ease, transform 1100ms cubic-bezier(0.2, 0.7, 0.2, 1), clip-path 1100ms cubic-bezier(0.7, 0, 0.2, 1);
}

.hero.is-ready .hero-wordmark {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 0 0);
}

.hero.is-ready .hero-copy > * {
  opacity: 1;
  transform: none;
}

.hero.is-ready .hero-copy > :nth-child(1) { transition-delay: 500ms; }
.hero.is-ready .hero-copy > :nth-child(2) { transition-delay: 620ms; }
.hero.is-ready .hero-copy > :nth-child(3) { transition-delay: 740ms; }
.hero.is-ready .hero-copy > :nth-child(4) { transition-delay: 860ms; }
.hero.is-ready .hero-copy > :nth-child(5) { transition-delay: 980ms; }

.hero-wordmark img {
  filter: drop-shadow(0 12px 28px rgb(0 0 0 / 0.55));
}

.hero-cue {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 1.4rem;
  width: 28px;
  height: 46px;
  margin-left: -14px;
  border: 2px solid rgb(255 255 255 / 0.55);
  border-radius: 999px;
}

.hero-cue span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 9px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--amber);
  animation: cue 1.8s ease-in-out infinite;
}

.ticker {
  margin: 0 calc(50% - 50vw);
  width: 100vw;
  overflow: hidden;
  background: var(--amber);
  color: #1e180f;
  border-block: 1px solid rgb(0 0 0 / 0.12);
}

.ticker-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 1.4rem;
  padding: 0.7rem 0;
  animation: ticker 38s linear infinite;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker-track i {
  font-style: normal;
  font-size: 0.7rem;
  opacity: 0.55;
}

.reveal {
  transition-delay: var(--stagger, 0ms);
}

.service-card {
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 40px var(--shadow);
}

.service-card a {
  display: block;
  text-decoration: none;
  height: 100%;
}

.service-card img,
.project-tile img,
.project-shot img {
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 400ms ease;
}

.service-card:hover img,
.project-tile:hover img,
.project-shot:hover img {
  transform: scale(1.06);
}

.service-card-body h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.service-card-body h3::after {
  content: " \2192";
  color: var(--amber);
  display: inline-block;
  transition: transform 200ms ease;
}

.service-card:hover h3::after {
  transform: translateX(5px);
}

.project-tile img,
.project-shot img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.project-shot {
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
}

.project-shot img {
  cursor: zoom-in;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgb(15 13 11 / 0.92);
  animation: fade-in 220ms ease;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-height: 88vh;
  width: auto;
  border-radius: 10px;
  box-shadow: 0 30px 60px rgb(0 0 0 / 0.5);
  animation: zoom-in 320ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.lightbox-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.12);
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
}

.cta-band {
  background: linear-gradient(135deg, var(--charcoal), #1d1a17);
  color: var(--white);
  border: 0;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 50% 50%, rgb(214 166 90 / 0.22), transparent 45%);
  animation: cta-glow 9s ease-in-out infinite alternate;
}

.cta-band > * {
  position: relative;
}

.cta-band h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 0.4rem;
}

.quote-form [aria-invalid="true"] {
  border-color: #b4462f;
  box-shadow: 0 0 0 3px rgb(180 70 47 / 0.18);
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgb(214 166 90 / 0.25);
}

.form-note.is-error {
  color: #b4462f;
}

.js .coverage-map .coverage-place {
  opacity: 0;
  transition: opacity 500ms ease var(--light-delay, 0ms);
}

.js .coverage-map .coverage-glow {
  scale: 0;
  transition: scale 900ms cubic-bezier(0.2, 0.9, 0.3, 1.3) var(--light-delay, 0ms);
}

.js .coverage-map.is-visible .coverage-place {
  opacity: 1;
}

.js .coverage-map.is-visible .coverage-glow {
  scale: 1;
}

.coverage-radius {
  stroke-dashoffset: 0;
  animation: radius-march 30s linear infinite;
}

@keyframes brush-drift { to { background-position: 200% 0; } }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes zoom-in { from { transform: scale(0.92); opacity: 0; } }
@keyframes cta-glow { from { transform: translate(-12%, -6%); } to { transform: translate(12%, 6%); } }
@keyframes radius-march { to { stroke-dashoffset: -300; } }

@media (max-width: 899px) {
  .primary.is-open {
    position: fixed;
    inset: 0;
    top: 0;
    z-index: 60;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 0.4rem;
    padding: 5rem 1.5rem 2rem;
    background: #161311;
    animation: fade-in 200ms ease;
  }

  .primary.is-open a:not(.btn) {
    font-family: var(--font-display);
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.35rem 0;
    border-bottom: 1px solid rgb(255 255 255 / 0.08);
  }

  .primary.is-open .btn {
    margin-top: 0.6rem;
    font-size: 1.05rem;
  }

  .menu-toggle {
    position: relative;
    z-index: 70;
    min-height: 44px;
    border-radius: 999px;
    padding-inline: 1rem;
  }

  .hero {
    min-height: calc(100svh - 56px);
    display: flex;
    align-items: flex-end;
  }

  .hero-video,
  .hero-fallback {
    object-position: 50% 40%;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgb(23 20 18 / 0.35) 0%, rgb(23 20 18 / 0.7) 45%, rgb(23 20 18 / 0.94) 100%);
  }

  .hero-inner {
    padding: 2rem 1.1rem 5.5rem;
  }

  .hero-wordmark {
    margin: 0;
  }

  .hero-wordmark img {
    width: min(340px, 82vw);
  }

  .hero-title {
    font-size: clamp(2rem, 10vw, 2.6rem);
  }

  .hero-lede {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-pause {
    font-size: 0.82rem;
  }

  .hero-cue {
    display: none;
  }

  .section {
    padding: 2.4rem 0;
  }

  .service-grid {
    grid-auto-flow: column;
    grid-auto-columns: 82%;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.6rem;
    margin-inline: -1rem;
    padding-inline: 1rem;
    scrollbar-width: none;
  }

  .service-grid::-webkit-scrollbar {
    display: none;
  }

  .service-card {
    scroll-snap-align: start;
  }

  .project-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }

  .project-tile span {
    font-size: 0.85rem;
    padding: 0.6rem;
  }

  .page-head h1 {
    font-size: clamp(2.2rem, 11vw, 3rem);
    margin-bottom: 0.3rem;
  }

  .cta-band {
    padding: 2rem 1.2rem;
  }

  footer.site {
    padding-bottom: 6.5rem;
  }

  .sticky-call {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 0.5rem;
    padding: 0.55rem 0.7rem calc(0.55rem + env(safe-area-inset-bottom));
    background: rgb(26 23 20 / 0.96);
    backdrop-filter: blur(10px);
    box-shadow: 0 -10px 30px rgb(0 0 0 / 0.25);
    transform: translateY(110%);
    transition: transform 320ms ease;
  }

  header.site.is-scrolled ~ .sticky-call,
  .is-scrolled-page .sticky-call {
    transform: none;
  }

  .sticky-call a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 999px;
    font-weight: 700;
  }

  .sticky-call-phone {
    border: 1px solid rgb(255 255 255 / 0.3);
    color: var(--white) !important;
  }

  .sticky-call-quote {
    background: var(--amber);
    color: #1e180f;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media {
    transform: none;
  }

  .hero-brush,
  .ticker-track,
  .hero-cue span,
  .cta-band::before,
  .coverage-radius {
    animation: none;
  }

  .js .hero-wordmark,
  .js .hero-copy > *,
  .js .coverage-map .coverage-place {
    opacity: 1;
    transform: none;
    clip-path: none;
    transition: none;
  }

  .js .coverage-map .coverage-glow {
    scale: 1;
    transition: none;
  }

  .sticky-call {
    transform: none !important;
    transition: none !important;
  }
}

figure.coverage-map {
  margin-inline: 0;
}

@media (max-width: 899px) {
  header.site {
    backdrop-filter: none;
  }

  .coverage-city-label {
    font-size: 30px;
  }

  .coverage-city-label.is-emphasis {
    font-size: 46px;
  }
}
