/* ===========================================================================
   Impact Demolition - Neo-Brutalist, dark, cinematic
   Palette: paper #0a0a0a / ink #e7e5e4 / accent safety-yellow #facc15
            / hazard red #ef4444. One accent locked, theme locked dark.
   Type: Archivo Black (display) + Inter (body). Heavy borders, hazard stripes.
   =========================================================================== */

:root {
  --paper: #0a0a0a;
  --paper-2: #121211;
  --paper-3: #1a1917;
  --ink: #e7e5e4;
  --ink-dim: #b3afa9;
  --ink-faint: #837e76;
  --line: rgba(231, 229, 228, 0.12);
  --line-2: rgba(231, 229, 228, 0.20);
  --accent: #facc15;          /* safety yellow - the one accent */
  --accent-soft: #fde047;
  --accent-deep: #ca9a04;
  --hazard: #ef4444;          /* warning red - status/danger only, not a 2nd accent */
  --steel: #44403c;
  --steel-2: #57534e;
  --on-accent: #0a0a0a;
  --radius: 4px;
  --radius-sm: 3px;
  --radius-lg: 6px;
  --maxw: 1220px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow: 0 26px 64px -28px rgba(0, 0, 0, 0.85);
  --shadow-hard: 8px 8px 0 0 var(--accent);
  --shadow-yellow: 0 16px 44px -20px rgba(250, 204, 21, 0.45);
  --hazard-stripes: repeating-linear-gradient(45deg, var(--accent) 0 16px, #0a0a0a 16px 32px);
}

/* NAV-SAFETY: [hidden] must never be out-ranked */
[hidden] { display: none !important; }

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: "Archivo Black", system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
  text-transform: uppercase;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1.2rem, 4vw, 2.4rem); }

.skip-link {
  position: absolute; left: 1rem; top: -3rem; z-index: 200;
  background: var(--accent); color: var(--on-accent);
  padding: 0.6rem 1rem; border-radius: 3px; font-weight: 700;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-family: "Inter", sans-serif; font-weight: 800; font-size: 0.92rem;
  line-height: 1; white-space: nowrap; text-transform: uppercase; letter-spacing: 0.03em;
  padding: 0.95rem 1.6rem; border-radius: var(--radius); border: 2px solid transparent;
  cursor: pointer; transition: transform 0.22s var(--ease), background 0.22s var(--ease),
    border-color 0.22s var(--ease), box-shadow 0.22s var(--ease), color 0.22s var(--ease);
  will-change: transform;
}
.btn svg { flex: none; }
.btn:active { transform: translateY(1px) scale(0.99); }

.btn--primary { background: var(--accent); color: var(--on-accent); border-color: var(--accent); box-shadow: var(--shadow-yellow); }
.btn--primary:hover { background: var(--accent-soft); border-color: var(--accent-soft); transform: translateY(-2px); }

.btn--call { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--call:hover { background: #fff; border-color: #fff; transform: translateY(-2px); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn--lg { padding: 1.15rem 2rem; font-size: 1rem; }
.btn--block { width: 100%; }

/* ===== Cursor-follow accent glow (technique e) ===== */
.cursor-glow {
  position: fixed; top: 0; left: 0; width: 460px; height: 460px;
  margin: -230px 0 0 -230px; border-radius: 50%; z-index: 1; pointer-events: none;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.14), rgba(250, 204, 21, 0) 62%);
  mix-blend-mode: screen; opacity: 0; transition: opacity 0.5s ease;
  will-change: transform;
}
body.has-cursor .cursor-glow { opacity: 1; }
@media (hover: none) { .cursor-glow { display: none; } }
@media (prefers-reduced-motion: reduce) { .cursor-glow { display: none; } }

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.nav.is-scrolled { background: rgba(8, 8, 8, 0.94); border-bottom-color: var(--accent); }
.nav__inner { display: flex; align-items: center; gap: 1.5rem; height: 76px; }

.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--ink); flex: none; }
.brand__mark {
  color: var(--on-accent); display: inline-flex; background: var(--accent);
  padding: 5px; border-radius: 4px;
}
.brand__name { font-family: "Archivo Black", sans-serif; font-weight: 400; font-size: 1.12rem; letter-spacing: 0.01em; }
.brand__name em { font-style: normal; color: var(--accent); }

.nav__links { display: flex; gap: 1.7rem; margin-left: auto; }
.nav__links a {
  font-size: 0.9rem; color: var(--ink-dim); font-weight: 700; position: relative; padding: 0.3rem 0;
  text-transform: uppercase; letter-spacing: 0.04em;
  transition: color 0.2s var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -3px; height: 2px; width: 0;
  background: var(--accent); transition: width 0.25s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 100%; }

.nav__actions { display: flex; align-items: center; gap: 0.7rem; }
.nav__actions .btn { padding: 0.7rem 1.15rem; font-size: 0.84rem; }

.nav__toggle {
  display: none; flex-direction: column; gap: 5px; width: 46px; height: 46px;
  background: transparent; border: 2px solid var(--line-2); border-radius: 4px;
  align-items: center; justify-content: center; cursor: pointer;
}
.nav__toggle-bar { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: 0.25s var(--ease); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Mobile nav ===== */
.mobile-nav {
  position: fixed; inset: 0; z-index: 150;
  background: rgba(8, 8, 8, 0.98);
  backdrop-filter: blur(8px);
  display: flex; flex-direction: column; gap: 0.4rem;
  padding: 6rem 1.6rem 2rem;
}
.mobile-nav::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px;
  background: var(--hazard-stripes);
}
.mobile-nav a { font-family: "Archivo Black", sans-serif; font-size: 1.5rem; color: var(--ink); padding: 0.85rem 0; border-bottom: 1px solid var(--line); text-transform: uppercase; }
.mobile-nav .btn { margin-top: 0.8rem; font-size: 1rem; padding: 1rem; }
.mobile-nav__close {
  position: absolute; top: 1.5rem; right: 1.5rem; width: 48px; height: 48px;
  background: transparent; border: 2px solid var(--line-2); border-radius: 4px;
  color: var(--ink); font-size: 1.8rem; line-height: 1; cursor: pointer;
}

/* ===== HERO (alive on load) ===== */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(620px, 92vh, 940px);
  display: flex; align-items: center;
  padding: 4.5rem 0 6rem;
  background:
    radial-gradient(120% 90% at 80% 4%, rgba(68, 64, 60, 0.5), transparent 55%),
    radial-gradient(90% 70% at 8% 100%, rgba(250, 204, 21, 0.08), transparent 60%),
    linear-gradient(180deg, #0c0c0b, #0a0a0a 60%, #070707);
}
.hero__fx {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%;
  display: block; pointer-events: none;
}
.hero__grid-overlay {
  position: absolute; inset: 0; z-index: -2; pointer-events: none; opacity: 0.6;
  background-image:
    linear-gradient(rgba(231, 229, 228, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(231, 229, 228, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(120% 100% at 50% 35%, #000 35%, transparent 78%);
  mask-image: radial-gradient(120% 100% at 50% 35%, #000 35%, transparent 78%);
}
.hero__vignette {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(130% 120% at 50% 38%, transparent 48%, rgba(5, 5, 5, 0.75) 100%);
}

.hero__inner { position: relative; max-width: 960px; }
.hero__eyebrow {
  display: inline-flex; align-items: center; font-size: 0.76rem; font-weight: 800; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 1.3rem;
  padding: 0.5rem 0.95rem; border: 2px solid rgba(250, 204, 21, 0.34); border-radius: 3px;
  background: rgba(250, 204, 21, 0.06);
}

.hero__title {
  font-size: clamp(2.7rem, 8vw, 6.4rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.94;
  margin-bottom: 1.6rem;
  max-width: 15ch;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero__title .line__mask { display: block; white-space: nowrap; }
.hero__title .accent { color: var(--accent); }
@media (max-width: 560px) {
  .hero__title { font-size: clamp(2rem, 9.6vw, 3rem); max-width: 14ch; letter-spacing: -0.03em; }
  .hero__title .line { overflow: hidden; }
}

.hero__sub {
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  color: var(--ink-dim); max-width: 46ch; margin-bottom: 2rem;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2.2rem; }

.hero__trust {
  display: flex; flex-wrap: wrap; gap: 0.7rem 2rem; align-items: center;
  font-size: 0.9rem; color: var(--ink-faint); font-weight: 500;
}
.hero__trust li { display: flex; align-items: center; gap: 0.5rem; }
.hero__trust li:not(:last-child)::after { content: ""; width: 4px; height: 4px; background: var(--steel-2); margin-left: 2rem; }
.hero__trust strong { color: var(--accent); font-weight: 800; }

/* JS load-in: only applied when motion is allowed and JS runs.
   Default (no JS / reduced motion) leaves the hero fully visible. */
.js-anim .hero__title .line__mask { will-change: transform; }
.js-anim [data-hero-in] { opacity: 0; }

/* ===== Hazard marquee (continuous ambient motion, alive on load) ===== */
.hazard-marquee {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 0;
  overflow: hidden; border-top: 2px solid var(--accent);
  background: rgba(10, 10, 10, 0.6);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.hazard-marquee__track {
  display: flex; align-items: center; gap: 1.4rem; white-space: nowrap;
  padding: 0.7rem 0; width: max-content;
  font-family: "Archivo Black", sans-serif; font-size: 0.92rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-dim);
  animation: marquee 26s linear infinite;
}
.hazard-marquee__track .dot { width: 8px; height: 8px; background: var(--accent); flex: none; transform: rotate(45deg); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .hazard-marquee__track { animation: none; }
}

/* ===== Trust strip ===== */
.trust { border-top: 2px solid var(--accent); border-bottom: 1px solid var(--line); background: var(--paper-2); }
.trust__row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1rem; padding: 1.5rem clamp(1.2rem, 4vw, 2.4rem);
}
.trust__item { display: flex; align-items: center; gap: 0.7rem; color: var(--ink-dim); font-size: 0.94rem; font-weight: 600; justify-content: center; }
.trust__item svg { color: var(--accent); flex: none; }

/* ===== Section base ===== */
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.section__head { max-width: 660px; margin-bottom: 3.2rem; }
.section__head h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); margin-bottom: 1rem; }

.eyebrow {
  font-size: 0.76rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.9rem; display: inline-flex; align-items: center; gap: 0.5rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); }
.lede { font-size: clamp(1.02rem, 1.5vw, 1.18rem); color: var(--ink-dim); }

/* Scroll reveal (refined motion under the cinematic layer) */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== Services ===== */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.card {
  background: var(--paper-2);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.9rem;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--accent); transform: scaleY(0); transform-origin: top;
  transition: transform 0.3s var(--ease);
}
.card:hover { transform: translateY(-5px); border-color: var(--line-2); box-shadow: var(--shadow); }
.card:hover::before { transform: scaleY(1); }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px;
  border-radius: 4px; background: rgba(250, 204, 21, 0.10); color: var(--accent);
  border: 1px solid rgba(250, 204, 21, 0.24); margin-bottom: 1.2rem;
}
.card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.card p { color: var(--ink-dim); font-size: 0.97rem; }
.card--feature {
  background: linear-gradient(155deg, rgba(250, 204, 21, 0.1), var(--paper-2) 55%);
  border-color: rgba(250, 204, 21, 0.3);
}
.card--feature::before { transform: scaleY(1); }

/* ===== TEARDOWN (pinned scroll showpiece) ===== */
.teardown { position: relative; background: #070707; }
.teardown__sticky {
  position: sticky; top: 0; height: 100vh; min-height: 560px;
  overflow: hidden; display: flex; align-items: flex-end;
}
.teardown__stage { position: absolute; inset: 0; z-index: 0; }
.teardown__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 0.5s linear; filter: contrast(1.05) saturate(0.95);
}
.teardown__img[data-stage="0"] { opacity: 1; }            /* first stage visible by default */
.teardown__img.is-shown { opacity: 1; }
.teardown__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.55) 0%, rgba(5, 5, 5, 0.12) 36%, rgba(5, 5, 5, 0.9) 100%);
}
.teardown__dust {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background:
    radial-gradient(40% 30% at 30% 70%, rgba(170, 160, 150, 0.22), transparent 70%),
    radial-gradient(45% 35% at 65% 75%, rgba(150, 142, 132, 0.18), transparent 72%);
  transition: opacity 0.5s ease;
  mix-blend-mode: screen;
}
.teardown__overlay { position: relative; z-index: 1; padding-bottom: clamp(2.5rem, 6vw, 5rem); padding-top: 4rem; max-width: var(--maxw); }
.teardown__title { font-size: clamp(2.4rem, 5.4vw, 4.4rem); margin-bottom: 1.4rem; max-width: 14ch; }
.teardown__captions { display: grid; gap: 0.55rem; margin-bottom: 1rem; max-width: 34ch; }
.teardown__captions li {
  display: flex; align-items: center; gap: 0.8rem; color: var(--ink-faint);
  font-size: 1.02rem; font-weight: 600; opacity: 0.35; transition: opacity 0.3s var(--ease), color 0.3s var(--ease);
}
.teardown__captions li.is-active { opacity: 1; color: var(--ink); }
.teardown__step { font-family: "Archivo Black", sans-serif; font-size: 0.8rem; color: var(--on-accent); background: var(--accent); border-radius: 3px; padding: 0.2rem 0.45rem; flex: none; }
.teardown__caption-static { display: none; color: var(--ink-dim); max-width: 40ch; margin-bottom: 1.4rem; }
.teardown__overlay .btn { margin-top: 0.6rem; }

/* Reduced-motion / no-JS: show cleared block + static caption, no pin behaviour */
@media (prefers-reduced-motion: reduce) {
  .teardown__sticky { position: relative; height: clamp(460px, 70vh, 680px); }
  .teardown__img { opacity: 0; transition: none; }
  .teardown__img[data-stage="0"] { opacity: 0; }
  .teardown__img[data-stage="4"] { opacity: 1; }
  .teardown__dust { display: none; }
  .teardown__captions { display: none; }
  .teardown__caption-static { display: block; }
}

/* ===== Why ===== */
.why { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.why__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.why__intro h2 { font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: 1rem; }
.why__intro .btn { margin-top: 1.6rem; }
.why__list { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 2rem; }
.why__list li { padding-top: 1.3rem; border-top: 2px solid var(--line-2); }
.why__num { font-family: "Archivo Black", sans-serif; font-size: 0.95rem; color: var(--accent); display: block; margin-bottom: 0.7rem; }
.why__list h3 { font-size: 1.12rem; margin-bottom: 0.45rem; }
.why__list p { color: var(--ink-dim); font-size: 0.95rem; }

/* ===== Closing CTA band ===== */
.hook__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hook__copy h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); margin-bottom: 1.1rem; }
.hook__points { display: grid; gap: 0.7rem; margin: 1.6rem 0 2rem; }
.hook__points li { position: relative; padding-left: 1.9rem; color: var(--ink-dim); }
.hook__points li::before {
  content: ""; position: absolute; left: 0; top: 0.4em; width: 13px; height: 8px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.hook__card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line-2); border: 1px solid var(--line-2);
  border-radius: 20px; overflow: hidden; box-shadow: var(--shadow);
}
.hook__stat {
  background: var(--paper-2); padding: clamp(1.4rem, 3vw, 2.1rem) 1.4rem;
  display: flex; flex-direction: column; gap: 0.35rem;
}
.hook__stat strong {
  font-family: "Archivo Black", sans-serif; font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1; color: var(--accent);
}
.hook__stat span { color: var(--ink-dim); font-size: 0.9rem; line-height: 1.35; }

.js-anim [data-bubble] { opacity: 0; transform: translateY(10px); }

/* ===== Work / gallery ===== */
.work__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 1rem; }
.work__item { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin: 0; }
.work__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); filter: contrast(1.03); }
.work__item:hover img { transform: scale(1.05); }
.work__item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem 1.1rem 0.9rem;
  font-size: 0.86rem; font-weight: 700; color: var(--ink); text-transform: uppercase; letter-spacing: 0.02em;
  background: linear-gradient(180deg, transparent, rgba(5, 5, 5, 0.92));
}
.work__item--tall { grid-row: span 2; }
.work__item--wide { grid-column: span 2; }

/* ===== Reviews ===== */
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.review {
  background: var(--paper-2);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.9rem; margin: 0;
  border-top: 3px solid var(--accent);
}
.review__stars { color: var(--accent); letter-spacing: 2px; margin-bottom: 1rem; font-size: 0.95rem; }
.review p { color: var(--ink); font-size: 1.02rem; line-height: 1.55; margin-bottom: 1.2rem; }
.review cite { font-style: normal; color: var(--ink-faint); font-size: 0.9rem; font-weight: 600; }

/* ===== Area ===== */
.area { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.area__grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.area__copy h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); margin-bottom: 1rem; }
.area__copy .btn { margin-top: 1.5rem; }
.area__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem 1rem; }
.area__list li {
  padding: 0.7rem 1rem; border: 1px solid var(--line); border-radius: 4px;
  color: var(--ink-dim); font-size: 0.9rem; font-weight: 600; text-align: center;
  text-transform: uppercase; letter-spacing: 0.02em;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease), background 0.25s var(--ease);
}
.area__list li:hover { border-color: rgba(250, 204, 21, 0.4); color: var(--ink); background: rgba(250, 204, 21, 0.05); }

/* ===== FAQ ===== */
.faq__wrap { max-width: 820px; margin: 0 auto; }
.faq__list { display: grid; gap: 0.7rem; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper-2); overflow: hidden; transition: border-color 0.25s var(--ease); }
.faq__item[open] { border-color: var(--line-2); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 1.25rem 1.4rem; font-family: "Inter", sans-serif;
  font-weight: 700; font-size: 1.04rem; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__plus { position: relative; width: 18px; height: 18px; flex: none; }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; background: var(--accent); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.faq__plus::before { top: 8px; left: 0; width: 18px; height: 2px; }
.faq__plus::after { top: 0; left: 8px; width: 2px; height: 18px; }
.faq__item[open] .faq__plus::after { transform: rotate(90deg); opacity: 0; }
.faq__body { padding: 0 1.4rem 1.3rem; }
.faq__body p { color: var(--ink-dim); font-size: 0.98rem; }

/* ===== CTA + form ===== */
.cta { background: radial-gradient(120% 100% at 82% 0%, rgba(68, 64, 60, 0.4), transparent 55%), var(--paper-2); border-top: 2px solid var(--accent); }
.cta__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.cta__copy h2 { font-size: clamp(2.2rem, 4.4vw, 3.5rem); margin-bottom: 1rem; }
.cta__phone { margin: 1.6rem 0 1.4rem; }
.cta__phone a { display: inline-flex; align-items: center; gap: 0.6rem; font-family: "Archivo Black", sans-serif; font-size: clamp(1.5rem, 2.8vw, 2.1rem); color: var(--accent); }
.cta__phone svg { color: var(--accent); }
.cta__assure { display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; color: var(--ink-faint); font-size: 0.92rem; font-weight: 500; }
.cta__assure li { display: flex; align-items: center; gap: 0.5rem; }
.cta__assure li::before { content: ""; width: 7px; height: 7px; background: var(--accent); transform: rotate(45deg); }

.cta__form { background: var(--paper-3); border: 2px solid var(--line-2); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.2rem); box-shadow: var(--shadow); }
.field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.1rem; }
.field label { font-size: 0.86rem; font-weight: 700; color: var(--ink-dim); text-transform: uppercase; letter-spacing: 0.03em; }
.field .opt { color: var(--ink-faint); font-weight: 400; text-transform: none; letter-spacing: 0; }
.field input, .field textarea {
  font-family: inherit; font-size: 1rem; color: var(--ink);
  background: rgba(5, 5, 5, 0.6); border: 1px solid var(--line-2); border-radius: 4px;
  padding: 0.8rem 0.95rem; transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.18); }
.field textarea { resize: vertical; min-height: 84px; }
.form-note { margin-top: 0.9rem; padding: 0.8rem 1rem; border-radius: 4px; font-size: 0.92rem; background: rgba(250, 204, 21, 0.12); border: 1px solid rgba(250, 204, 21, 0.34); color: var(--accent-soft); }
.form-note.is-error { background: rgba(239, 68, 68, 0.12); border-color: rgba(239, 68, 68, 0.42); color: #f3a3a3; }
.form-fineprint { margin-top: 0.9rem; font-size: 0.8rem; color: var(--ink-faint); }

/* ===== Footer ===== */
.footer { background: #070707; border-top: 1px solid var(--line); padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem; }
.brand--footer { margin-bottom: 1rem; }
.footer__brand p { color: var(--ink-faint); font-size: 0.93rem; max-width: 36ch; margin-top: 1rem; }
.footer__col h3 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink); margin-bottom: 1rem; font-family: "Archivo Black", sans-serif; }
.footer__col p { color: var(--ink-faint); font-size: 0.92rem; margin-bottom: 0.55rem; }
.footer__col a { color: var(--ink-dim); transition: color 0.2s var(--ease); }
.footer__col a:hover { color: var(--accent); }
.footer__base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.8rem; border-top: 1px solid var(--line); }
.footer__base p { color: var(--ink-faint); font-size: 0.86rem; }
.footer__social { display: flex; gap: 1.4rem; }
.footer__social a { color: var(--ink-faint); font-size: 0.86rem; transition: color 0.2s var(--ease); }
.footer__social a:hover { color: var(--accent); }

/* ===== Sticky mobile call bar ===== */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 120; display: none;
  grid-template-columns: 1fr 1.3fr; gap: 0.6rem; padding: 0.7rem 0.8rem calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(8, 8, 8, 0.96); backdrop-filter: blur(12px); border-top: 2px solid var(--accent);
}
.callbar a { display: flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.85rem; border-radius: 4px; font-family: "Inter", sans-serif; font-weight: 800; font-size: 0.94rem; text-transform: uppercase; letter-spacing: 0.03em; }
.callbar__quote { background: transparent; color: var(--ink); border: 2px solid var(--line-2); }
.callbar__call { background: var(--accent); color: var(--on-accent); }

/* ===========================================================================
   Responsive
   =========================================================================== */
@media (max-width: 1024px) {
  .nav__links { gap: 1.2rem; }
  .services__grid, .reviews__grid { grid-template-columns: repeat(2, 1fr); }
  .work__grid { grid-template-columns: repeat(2, 1fr); }
  .work__item--wide { grid-column: span 2; }
}

@media (max-width: 860px) {
  .nav__links, .nav__actions { display: none; }
  .nav__toggle { display: flex; }
  .nav__inner { height: 66px; }

  .why__grid, .hook__grid, .area__grid, .cta__grid { grid-template-columns: 1fr; }
  .why__intro { margin-bottom: 0.5rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }

  body { padding-bottom: 4.6rem; } /* room for sticky call bar */
  .callbar { display: grid; }
}

@media (max-width: 680px) {
  .trust__row { grid-template-columns: 1fr 1fr; gap: 0.9rem 0.5rem; }
  .trust__item { justify-content: flex-start; font-size: 0.86rem; }
  .services__grid, .reviews__grid { grid-template-columns: 1fr; }
  .why__list { grid-template-columns: 1fr; }
  .work__grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .work__item--tall { grid-row: span 1; }
  .work__item--wide { grid-column: span 1; }
  .area__list { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__trust { gap: 0.5rem 1.2rem; }
  .hero__trust li:not(:last-child)::after { display: none; }
  .teardown__captions { max-width: none; }
}

/* Honour reduced motion globally for transitions that imply movement */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .work__item:hover img { transform: none; }
}

/* ===========================================================================
   SIGNATURE SCROLL SET-PIECE  -  a standing structure comes down, site cleared
   Reused scroll-to-transform engine: tall track pins a sticky stage; JS writes
   one custom property (--p, 0..1) on [data-cstage]; the skewed clip-rect wipe
   reveals the cleared block, the structure pieces drop away, dust blooms and
   clears, and the rail / labels all derive from --p in CSS. Pure transform /
   opacity / clip-path. Theme-locked dark, safety-yellow accent.
   =========================================================================== */
.cleardown { padding: 0; position: relative; z-index: 2; background: var(--paper); }
.cleardown__track { height: 320vh; padding: 0 clamp(1.2rem, 4vw, 2.4rem); }
.cleardown__stage {
  position: sticky; top: 0; min-height: 100dvh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(1.1rem, 3vh, 2.1rem);
  padding: calc(70px + 2vh) 0 4vh;
  max-width: var(--maxw); margin: 0 auto;
}
.cleardown__head { text-align: center; max-width: 22ch; }
.cleardown__head .eyebrow { margin-bottom: 0.6rem; }
.cleardown__title { font-size: clamp(1.85rem, 4.4vw, 2.9rem); text-transform: uppercase; }
.cleardown__title .accent { color: var(--accent); }

.cdn-stage {
  position: relative; width: 100%; max-width: 980px;
  aspect-ratio: 16 / 10; max-height: min(62vh, 560px);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); border: 2px solid var(--line-2);
  margin: 0; background: #26241f;
}
.cdn-svg { width: 100%; height: 100%; }

/* MECHANIC 1: diagonal wipe (only the clip rect is skewed). */
.cdn-wipe {
  transform: skewX(-8deg); transform-box: view-box; transform-origin: top left;
  width: calc(var(--p, 0) * 2040px);
}
.cdn-edge {
  transform: translateX(calc(-160px + var(--p, 0) * 1840px)) skewX(-8deg);
  transform-box: view-box; transform-origin: top left;
  opacity: calc(var(--p, 0) * (1 - var(--p, 0)) * 2.6); filter: blur(1px);
}

/* MECHANIC 2: drop-away structure. Each piece falls + shrinks + fades as the
   wipe passes it (local progress gated on --o). Above the after-scene. */
.cdn-drop {
  --dp: clamp(0, calc((var(--p, 0) - (var(--o) * 0.07)) / 0.3), 1);
  transform: translateY(calc(var(--dp) * 260px)) scaleY(calc(1 - var(--dp) * 0.7));
  transform-box: view-box; transform-origin: bottom center;
  opacity: calc(1 - var(--dp)); will-change: transform, opacity;
}
/* dust blooms then clears (peaks mid-pass) */
.cdn-dust {
  --dp: clamp(0, calc((var(--p, 0) - (var(--o) * 0.07)) / 0.3), 1);
  transform: scale(calc(0.4 + var(--dp) * 1.3)); transform-box: view-box; transform-origin: center bottom;
  opacity: calc(var(--dp) * (1 - var(--dp)) * 2.2);
}
/* MECHANIC 3: grow-in survey pegs / string line marking the ready pad. */
.cdn-grow {
  --gp: clamp(0, calc((var(--p, 0) - (var(--o) * 0.06)) / 0.34), 1);
  transform: scale(var(--gp)); transform-box: view-box; opacity: var(--gp);
}
.cdn-string { transform-origin: left center; }

.cdn-tag {
  position: absolute; top: 14px;
  font-family: "Inter", sans-serif; font-size: 0.7rem; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.4rem 0.8rem; border-radius: var(--radius-sm);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.cdn-tag--before { left: 14px; background: rgba(10,10,10,0.72); color: var(--ink); opacity: calc(1 - var(--p, 0) * 1.6); }
.cdn-tag--after { right: 14px; background: var(--accent); color: var(--on-accent); opacity: calc((var(--p, 0) - 0.45) * 2.4); }

.cdn-rail {
  position: absolute; left: 14px; right: 14px; bottom: 12px; height: 5px;
  border-radius: 999px; background: rgba(231,229,228,0.2); overflow: hidden;
}
.cdn-rail__fill {
  display: block; height: 100%; width: 100%; border-radius: inherit;
  background: var(--accent); transform: scaleX(var(--p, 0)); transform-origin: left;
}

.cleardown__cap { text-align: center; max-width: 56ch; color: var(--ink-dim); font-size: clamp(0.96rem, 2vw, 1.06rem); line-height: 1.6; }

@media (max-width: 1024px) { .cleardown__track { height: 280vh; } }
@media (max-width: 860px) {
  .cleardown__track { height: 240vh; }
  .cleardown__stage { padding-top: calc(70px + 1vh); gap: 1rem; }
  .cdn-stage { aspect-ratio: 4 / 5; max-width: 460px; max-height: 64vh; }
  .cdn-tag { font-size: 0.62rem; padding: 0.32rem 0.6rem; top: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  .cleardown__track { height: auto !important; }
  .cleardown__stage {
    position: static !important; min-height: 0 !important;
    padding: clamp(3.6rem, 8vw, 6.6rem) 0 !important;
  }
  [data-cstage] { --p: 1 !important; }
  .cdn-wipe { width: 2040px !important; }
  .cdn-edge { opacity: 0 !important; }
  .cdn-drop { opacity: 0 !important; }
  .cdn-dust { opacity: 0 !important; }
  .cdn-grow { transform: none !important; opacity: 1 !important; }
  .cdn-tag--before { opacity: 0 !important; }
  .cdn-tag--after { opacity: 1 !important; }
  .cdn-rail__fill { transform: scaleX(1) !important; }
}
