/* No Limit Roofing: Steel & Sky. Tokens and rules live in DESIGN.md. */

@font-face {
  font-family: "Saira";
  src: url("../fonts/saira-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 50% 125%;
  font-display: swap;
}
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --ink: #07090c;
  --steel-900: #0e1318;
  --steel-800: #151c24;
  --steel-600: #26303c;
  --zinc: #e9eef3;
  --zinc-dim: #9aa7b4;
  --sky-1: #97e2f8;
  --brand: #6cb3ea;
  --sky-3: #4a82d2;
  --sky: linear-gradient(135deg, var(--sky-1), var(--brand) 55%, var(--sky-3));

  --display: "Saira", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --section: clamp(64px, 8vw, 116px);
  --header: 72px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);
  --chamfer: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: var(--steel-600) var(--ink); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--zinc);
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  caret-color: var(--brand);
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
a, button { touch-action: manipulation; -webkit-tap-highlight-color: rgba(108, 179, 234, 0.18); }
main [id] { scroll-margin-top: var(--header); }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, figure, blockquote, dl, dd, ul { margin: 0; }
ul { padding: 0; list-style: none; }
::selection { background: var(--brand); color: var(--ink); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--steel-600); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--zinc); color: var(--ink); padding: 10px 16px; font-weight: 600; }
.skip:focus { top: 16px; }
.wrap { max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.i { width: 1.1em; height: 1.1em; flex: none; }

/* Type */
.h2 {
  font-family: var(--display);
  font-stretch: 118%;
  font-weight: 720;
  text-transform: uppercase;
  font-size: clamp(2rem, 4.2vw, 3.9rem);
  line-height: 0.95;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
.lede { color: var(--zinc-dim); max-width: 46ch; margin-top: 18px; text-wrap: pretty; }

/* Buttons: colour swap only, never move */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 28px;
  font-family: var(--body); font-weight: 600; font-size: 1rem; letter-spacing: 0.01em; white-space: nowrap;
  clip-path: var(--chamfer);
  transition: background-color 0.3s ease, color 0.3s ease;
}
.btn--sm { height: 42px; padding: 0 20px; font-size: 0.95rem; }
.btn--primary { background: var(--zinc); color: var(--ink); }
.btn--steel { background: var(--steel-800); color: var(--zinc); }
.btn .i { color: var(--brand); transition: color 0.3s ease; }
@media (hover: hover) {
  .btn:hover { background: var(--brand); color: var(--ink); }
  .btn:hover .i { color: var(--ink); }
}
.btn:active { background: var(--sky-3); color: var(--ink); }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter);
  transition: transform 0.4s var(--ease-out), background-color 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(7, 9, 12, 0.82);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: rgba(38, 48, 60, 0.7);
}
.site-header.is-hidden { transform: translateY(-101%); }
.brand img { width: 139px; height: 40px; }
.nav {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: flex; gap: clamp(22px, 2.4vw, 38px);
  font-family: var(--display); font-stretch: 115%; font-weight: 650; text-transform: uppercase;
  font-size: 0.95rem; letter-spacing: 0.01em;
}
.nav a { color: var(--zinc); transition: color 0.25s ease; padding: 6px 0; }
.nav a:hover { color: var(--brand); }
.header-actions { display: flex; align-items: center; gap: 20px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-stretch: 115%; font-weight: 650; font-size: 1rem; color: var(--zinc); transition: color 0.25s ease; }
.header-phone .i { color: var(--brand); }
.header-phone:hover { color: var(--brand); }
.menu-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; }
.menu-toggle__bars { display: grid; gap: 7px; width: 26px; }
.menu-toggle__bars span { height: 2px; background: var(--zinc); }
.menu-toggle__bars span:last-child { width: 62%; justify-self: end; }

/* Mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 60;
  background: var(--steel-900);
  clip-path: inset(0 0 100% 0);
  overscroll-behavior: contain;
}
.menu[hidden] { display: none; }
.menu__inner { height: 100%; display: flex; flex-direction: column; padding: 14px var(--gutter) calc(20px + env(safe-area-inset-bottom)); overflow-y: auto; }
.menu__top { display: flex; justify-content: space-between; align-items: center; height: 44px; flex: none; }
.menu__top img { width: 139px; height: 40px; }
.menu-close { width: 44px; height: 44px; display: grid; place-items: center; font-size: 1.6rem; }
.menu__links { display: grid; gap: 2px; margin: auto 0; padding: 28px 0; } /* auto margins centre the links between the top bar and the buttons */
.menu__links a {
  display: block; overflow: hidden;
  font-family: var(--display); font-stretch: 120%; font-weight: 720; text-transform: uppercase;
  font-size: clamp(2.1rem, 9.5vw, 3.6rem); line-height: 1.08; letter-spacing: -0.01em;
}
.menu__links a span { display: block; transition: color 0.25s ease; }
.menu__links a:hover span { color: var(--brand); }
.menu__foot { flex: none; display: grid; gap: 10px; }
.menu__btn { width: 100%; height: 58px; font-size: 1.05rem; }
.menu__btn .i { width: 1.2em; height: 1.2em; }
.menu__btn.btn--primary .i { color: var(--ink); }
.menu__note { margin-top: 6px; text-align: center; color: var(--zinc-dim); font-size: 0.95rem; }

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column;
  padding-top: calc(var(--header) + clamp(20px, 5vh, 60px));
}
.hero__copy { width: 100%; }
.hero__title {
  font-family: var(--display);
  font-stretch: 122%;
  font-weight: 760;
  text-transform: uppercase;
  font-size: clamp(2.3rem, 6.1vw, 6rem);
  line-height: 0.92;
  letter-spacing: -0.015em;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.05em; margin-bottom: -0.05em; }
.hero__title .line > span { display: block; }
.hero__row {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 28px 48px; flex-wrap: wrap;
  margin-top: clamp(18px, 3vh, 34px);
}
.hero__lede { color: var(--zinc-dim); max-width: 38ch; font-size: clamp(1.05rem, 1.25vw, 1.2rem); }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.hero__stage {
  --eave: 22%;
  position: relative;
  flex: 1 0 auto;
  min-height: clamp(300px, 44vh, 560px);
  margin-top: clamp(44px, 8vh, 96px);
}
.hero__pano {
  position: absolute; inset: 0;
  clip-path: polygon(0 var(--eave), 50% 0, 100% var(--eave), 100% 100%, 0 100%);
  background: var(--steel-800);
  overflow: hidden;
}
.hero__pano-layer { position: absolute; left: 0; right: 0; top: -12%; height: 124%; }
.hero__pano-img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.js .hero__pano-layer.has-sheets .hero__pano-img { visibility: hidden; }
.sheet { position: absolute; top: 0; height: 100%; overflow: hidden; will-change: transform; }
.sheet img { position: absolute; top: 0; height: 100%; max-width: none; object-fit: cover; object-position: 50% 60%; }
.sheet::after {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 1px;
  background: rgba(7, 9, 12, 0.5); box-shadow: 1px 0 0 rgba(255, 255, 255, 0.07);
}
.sheet:first-child::after { display: none; }
.hero__ridge {
  position: absolute; left: 0; width: 100%; top: calc(-1 * clamp(14px, 1.8vw, 26px)); height: 100%;
  overflow: visible; z-index: 2; pointer-events: none;
}
.hero__card {
  position: absolute; z-index: 3;
  right: var(--gutter); bottom: clamp(18px, 6%, 56px);
  width: clamp(132px, 15vw, 236px);
}
.hero__card-frame {
  position: relative; background: var(--steel-800); padding: 6px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.75);
}
.hero__card-frame::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--sky); z-index: 1; }
.hero__card-frame img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.hero__card figcaption {
  background: var(--steel-800); padding: 4px 8px 9px; font-size: 0.8rem; line-height: 1.35; color: var(--zinc-dim);
}

/* Marquee (CSS autoplay, never scroll-driven) */
.marquee { border-block: 1px solid var(--steel-600); overflow: hidden; padding: 18px 0; background: var(--ink); }
.marquee__track { display: flex; width: max-content; animation: marquee 52s linear infinite; }
.marquee__set { display: flex; align-items: center; flex: none; }
.marquee__set span {
  font-family: var(--display); font-stretch: 118%; font-weight: 650; text-transform: uppercase;
  font-size: clamp(1.05rem, 1.9vw, 1.55rem); white-space: nowrap; padding: 0 26px;
}
.marquee .pitch { width: 40px; height: 16px; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Services */
.services__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  grid-template-areas: "visual head" "visual list";
  column-gap: clamp(32px, 6vw, 112px);
  align-items: start;
}
.services__head { grid-area: head; margin-bottom: clamp(20px, 3vw, 40px); }
.services__visual { grid-area: visual; position: sticky; top: calc(var(--header) + 48px); }
.gable-wrap { position: relative; }
.gable {
  position: relative;
  height: min(68vh, 640px);
  clip-path: polygon(50% 0, 100% 20%, 100% 100%, 0 100%, 0 20%);
  background: var(--steel-800);
}
.gable img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  clip-path: inset(100% 0 0 0); z-index: 0;
  transition: clip-path 0.9s var(--ease-out);
}
.gable img.is-prev { clip-path: inset(0); z-index: 1; transition: none; }
.gable img.is-active { clip-path: inset(0); z-index: 2; }
.gable__ridge { position: absolute; inset: calc(-1 * clamp(12px, 1.4vw, 20px)) 0 auto; width: 100%; height: min(68vh, 640px); overflow: visible; pointer-events: none; }
.gable__caption { margin-top: 14px; color: var(--zinc-dim); font-size: 0.9rem; min-height: 1.6em; }
.services__list { grid-area: list; border-bottom: 1px solid var(--steel-600); }
.svc { position: relative; padding: clamp(24px, 4.2vh, 46px) 0; border-top: 1px solid var(--steel-600); cursor: default; }
.svc::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 100%;
  background: var(--sky); transform: scaleX(0); transform-origin: left; transition: transform 0.8s var(--ease-out);
}
.svc h3 {
  font-family: var(--display); font-stretch: 110%; font-weight: 640;
  font-size: clamp(1.3rem, 1.9vw, 1.8rem); line-height: 1.15; color: var(--zinc-dim);
  transition: color 0.4s ease;
}
.svc p { margin-top: 10px; color: var(--zinc-dim); max-width: 50ch; opacity: 0.6; transition: opacity 0.4s ease; }
.svc__media { display: none; }
.svc.is-active::before { transform: scaleX(1); }
.svc.is-active h3 { color: var(--zinc); }
.svc.is-active p { opacity: 1; }

/* Work (pinned horizontal) */
.work { position: relative; background: var(--steel-900); overflow-x: auto; --h: clamp(260px, 52vh, 540px); }
.work.is-gsap { overflow: hidden; }
.work__track {
  display: flex; align-items: center; gap: clamp(28px, 4vw, 64px);
  width: max-content; min-height: 100svh;
  padding: calc(var(--header) + 16px) var(--gutter) 40px;
}
.work__intro { width: clamp(280px, 30vw, 440px); flex: none; }
.job { flex: none; width: calc(var(--h) * var(--ar)); }
.job--l { --ar: 1.336; }
.job--s { --ar: 1; }
.job--p { --ar: 0.8; }
.job .vf { height: var(--h); }
.job img { width: 100%; height: 100%; object-fit: cover; }
.job h3 {
  margin-top: 18px; font-family: var(--display); font-stretch: 118%; font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.2rem, 1.7vw, 1.6rem); line-height: 1.05;
}
.job p { margin-top: 6px; color: var(--zinc-dim); font-size: 1rem; line-height: 1.5; }
.work__end { flex: none; width: clamp(260px, 26vw, 380px); display: grid; gap: 22px; justify-items: start; }
.work__end-title { font-family: var(--display); font-stretch: 118%; font-weight: 720; text-transform: uppercase; font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 0.95; }

/* Drone viewfinder frame */
.vf { position: relative; overflow: hidden; background: var(--steel-800); }
.vf::after {
  --c: rgba(233, 238, 243, 0.92); --l: 22px; --t: 2px;
  content: ""; position: absolute; inset: 12px; pointer-events: none; z-index: 2;
  background:
    linear-gradient(var(--c), var(--c)) top left / var(--l) var(--t),
    linear-gradient(var(--c), var(--c)) top left / var(--t) var(--l),
    linear-gradient(var(--c), var(--c)) top right / var(--l) var(--t),
    linear-gradient(var(--c), var(--c)) top right / var(--t) var(--l),
    linear-gradient(var(--c), var(--c)) bottom left / var(--l) var(--t),
    linear-gradient(var(--c), var(--c)) bottom left / var(--t) var(--l),
    linear-gradient(var(--c), var(--c)) bottom right / var(--l) var(--t),
    linear-gradient(var(--c), var(--c)) bottom right / var(--t) var(--l);
  background-repeat: no-repeat;
}

/* About */
.about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 112px); align-items: center; }
.about__media { position: relative; padding-bottom: 14%; }
.about__main {
  width: 78%; aspect-ratio: 3 / 4; overflow: hidden;
  -webkit-mask: linear-gradient(#000, #000) top / 100% calc(100% - 23px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='24'%3E%3Cpath d='M0 12C11 0 11 0 22 12S33 24 44 12V0H0Z'/%3E%3C/svg%3E") bottom left / 44px 24px repeat-x;
  mask: linear-gradient(#000, #000) top / 100% calc(100% - 23px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='24'%3E%3Cpath d='M0 12C11 0 11 0 22 12S33 24 44 12V0H0Z'/%3E%3C/svg%3E") bottom left / 44px 24px repeat-x;
}
.about__main img, .about__inset img { width: 100%; height: 100%; object-fit: cover; }
.about__main img { height: 112%; margin-top: -6%; }
.about__inset {
  position: absolute; right: 0; bottom: 0; width: 54%; aspect-ratio: 4 / 3; overflow: hidden;
  border: 8px solid var(--ink); border-top-width: 0; padding-top: 0;
}
.about__inset::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--sky); z-index: 1; }
.about__body { margin-top: 24px; font-size: clamp(1.15rem, 1.4vw, 1.3rem); line-height: 1.55; max-width: 48ch; }
.about__note { margin-top: 16px; color: var(--zinc-dim); max-width: 50ch; }
.about__pull {
  margin-top: 28px; display: flex; align-items: center; gap: 14px;
  font-family: var(--display); font-stretch: 115%; font-weight: 650; text-transform: uppercase;
  font-size: clamp(1.1rem, 1.6vw, 1.45rem); line-height: 1.15;
}
.about__pull .pitch { width: 44px; height: 18px; flex: none; }
.facts { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--steel-600); }
.facts div { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--steel-600); }
.facts div:nth-child(odd) { border-right: 1px solid var(--steel-600); }
.facts div:nth-child(even) { padding-left: 20px; }
.facts dt { font-size: 0.85rem; color: var(--zinc-dim); }
.facts dd { margin-top: 2px; font-weight: 600; font-size: 1.05rem; }

/* Reviews */
.reviews { background: var(--steel-900); }
.reviews__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px 40px; flex-wrap: wrap; margin-bottom: clamp(32px, 5vw, 64px); }
.reviews__rating { display: flex; align-items: center; gap: 14px; color: var(--zinc-dim); font-size: 1rem; }
.reviews__rating strong { color: var(--zinc); font-family: var(--display); font-stretch: 115%; font-weight: 700; font-size: 1.5rem; margin-right: 4px; vertical-align: -2px; }
.stars { position: relative; display: inline-flex; gap: 3px; color: var(--brand); }
.stars svg { width: 20px; height: 20px; }
.stars .star-part { color: var(--steel-600); }
.stars .star-40 { position: absolute; right: 0; top: 0; clip-path: inset(0 60% 0 0); color: var(--brand); }
.stars--sm svg { width: 14px; height: 14px; }
.reviews__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px) clamp(32px, 5vw, 96px); }
.quote { border-top: 1px solid var(--steel-600); padding-top: 26px; }
.quote--lead { grid-row: span 2; border-top: 2px solid transparent; border-image: var(--sky) 1; }
.quote blockquote { margin: 0; }
.quote p { font-size: clamp(1.1rem, 1.35vw, 1.3rem); line-height: 1.5; text-wrap: pretty; }
.quote--lead p { font-size: clamp(1.45rem, 2.45vw, 2.25rem); line-height: 1.3; font-weight: 500; letter-spacing: -0.005em; }
.quote figcaption { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; color: var(--zinc-dim); font-size: 0.95rem; }
.quote figcaption strong { color: var(--zinc); font-weight: 600; }

/* Contact / hours / location */
.contact { position: relative; overflow: hidden; }
.contact__bg { position: absolute; inset: -12% 0; z-index: 0; }
.contact__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.32; }
.contact__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0%, rgba(7, 9, 12, 0.92) 42%, rgba(7, 9, 12, 0.7) 100%), linear-gradient(180deg, var(--ink), transparent 22%, transparent 78%, var(--ink)); }
.contact__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(36px, 5vw, 96px); align-items: center; }
.contact__phone {
  display: inline-block; margin-top: 28px;
  font-family: var(--display); font-stretch: 120%; font-weight: 720; font-size: clamp(2.2rem, 4.6vw, 4.1rem); line-height: 1;
  letter-spacing: -0.01em; transition: color 0.3s ease;
}
.contact__phone:hover { color: var(--brand); }
.contact__list { margin-top: 22px; display: grid; gap: 10px; }
.contact__list li { display: flex; align-items: center; gap: 12px; }
.contact__list .i { color: var(--brand); font-size: 1.15rem; }
.contact__list a { text-decoration: underline; text-decoration-color: var(--steel-600); text-underline-offset: 5px; transition: color 0.25s ease, text-decoration-color 0.25s ease; }
.contact__list a:hover { color: var(--brand); text-decoration-color: var(--brand); }
.contact__blocks { margin-top: 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding-top: 26px; border-top: 1px solid var(--steel-600); }
.contact__blocks h3 { font-family: var(--display); font-stretch: 112%; font-weight: 650; font-size: 1.1rem; line-height: 1.2; }
.contact__blocks p { margin-top: 8px; color: var(--zinc-dim); font-size: 1rem; line-height: 1.5; }
.contact__map { aspect-ratio: 4 / 3.3; min-height: 360px; }
.contact__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vf--map::after { z-index: 3; }
.map-shield { position: absolute; inset: 0; z-index: 2; cursor: pointer; }
.map-shield.is-off { pointer-events: none; }

/* FAQ */
.faq__wrap { max-width: 1120px; }
.faq__head { margin-bottom: clamp(28px, 4vw, 52px); }
.faq__list { border-bottom: 1px solid var(--steel-600); }
.qa { border-top: 1px solid var(--steel-600); }
.qa button {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: clamp(20px, 2.6vw, 28px) 0; text-align: left;
  font-family: var(--display); font-stretch: 108%; font-weight: 600; font-size: clamp(1.1rem, 1.6vw, 1.42rem); line-height: 1.25;
  transition: color 0.25s ease;
}
.qa button:hover { color: var(--brand); }
.qa button .i { width: 24px; height: 24px; color: var(--brand); transition: transform 0.5s var(--ease-out); }
.qa button[aria-expanded="true"] .i { transform: rotate(45deg); }
.qa__a { overflow: hidden; }
.qa__inner { padding: 0 0 clamp(22px, 2.6vw, 30px); }
.qa__inner p { color: var(--zinc-dim); max-width: 66ch; }

/* Footer */
.footer { background: var(--steel-900); padding-top: clamp(56px, 7vw, 96px); overflow: hidden; }
.footer__cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 0.8fr; gap: 40px 32px; }
.footer__brand img { width: 208px; height: 60px; }
.footer__brand p { margin-top: 18px; color: var(--zinc); max-width: 26ch; }
.footer__title {
  font-family: var(--display); font-stretch: 115%; font-weight: 700; text-transform: uppercase;
  font-size: 1.4rem; line-height: 1.1; color: var(--brand); margin-bottom: 18px;
}
.footer__col ul { display: grid; gap: 9px; font-size: 1rem; color: var(--zinc); }
.footer__col a { transition: color 0.25s ease; }
.footer__col a:hover { color: var(--brand); }
.footer__social a { display: inline-flex; align-items: center; gap: 10px; }
.footer__mark { margin-top: clamp(48px, 7vw, 96px); padding: 0 var(--gutter); }
.footer__mark img { width: 100%; max-width: 1440px; margin: 0 auto; }
.footer__profile { display: block; width: 100%; height: 28px; margin-top: -2px; }
.footer__base {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px;
  padding-top: 22px; padding-bottom: calc(22px + env(safe-area-inset-bottom));
  font-size: 0.875rem; color: var(--zinc); background: var(--steel-800);
  max-width: none;
}
.footer__base a { color: var(--zinc); text-decoration: underline; text-decoration-color: var(--steel-600); text-underline-offset: 4px; transition: color 0.25s ease; }
.footer__base a:hover { color: var(--brand); }

/* Hero intro start states (JS sets the same values inline, then adds .intro-done). Safety timeout in <head>. */
.js:not(.intro-done) .hero__title .line > span,
.js:not(.intro-done) [data-hero-fade],
.js:not(.intro-done) .hero__card,
.js:not(.intro-done) .hero__pano-layer { opacity: 0; }
.js:not(.intro-done) .hero__ridge { clip-path: inset(0 50% 0 50%); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .services__grid { grid-template-columns: 1fr; grid-template-areas: "head" "visual" "list"; }
  .services__visual { display: none; }
  .svc__media { display: block; position: relative; margin: 14px 0 22px; }
  .svc__media .gable, .svc__media .gable__ridge { height: min(62vw, 340px); }
  .svc__media .gable__ridge { inset: calc(-1 * clamp(8px, 2vw, 14px)) 0 auto; }
  .svc h3 { color: var(--zinc); }
  .svc p { opacity: 1; }
  .about__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 560px; }
  .reviews__grid { grid-template-columns: 1fr; }
  .quote--lead { grid-row: auto; }
}
@media (max-width: 767px) {
  body { font-size: 1.0625rem; }
  .header-phone { display: none; }
  .hero__title { font-stretch: 108%; font-size: clamp(2.2rem, 10.6vw, 3.4rem); }
  .hero__row { flex-direction: column; align-items: flex-start; }
  .hero__stage { --eave: 13%; min-height: clamp(280px, 42svh, 420px); margin-top: 44px; }
  .hero__card { width: 118px; bottom: 16px; }
  .hero__card figcaption { font-size: 0.7rem; }
  .work { --h: min(40svh, 340px); display: flex; flex-direction: column; justify-content: center; min-height: 100svh; }
  .work > .work__intro { width: auto; padding: calc(var(--header) + 20px) var(--gutter) 0; }
  .work > .work__intro .lede { margin-top: 12px; }
  .work__track { min-height: 0; padding: 26px var(--gutter) 36px; }
  .job { width: min(calc(var(--h) * var(--ar)), 82vw); }
  .facts { grid-template-columns: 1fr; }
  .facts div:nth-child(odd) { border-right: 0; }
  .facts div:nth-child(even) { padding-left: 0; }
  .contact__blocks { grid-template-columns: 1fr; gap: 20px; }
  .contact__map { min-height: 300px; }
  .footer__cols { grid-template-columns: 1fr; }
  .footer__base { flex-direction: column; }
}
@media (max-width: 420px) {
  .header-actions .btn--sm { padding: 0 14px; }
  .hero__ctas { width: 100%; }
  .hero__ctas .btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .gable img { transition: none; }
  .site-header { transition: none; }
}
