/* ============================================================
   Stonebridge Waste - static site
   Theme: locked dark, industrial black + brand yellow (truck livery)
   Radius system: cards/media 16px · buttons/inputs 10px · chips pill
   Fonts: Anton (display) + Archivo variable (text), self-hosted
   Motion: CSS-only (entrance cascade, Ken Burns, tape marquee,
   scroll progress via animation-timeline) - all gated on
   prefers-reduced-motion. No scroll listeners anywhere.
   ============================================================ */

@font-face {
  font-family: "Anton";
  src: url("fonts/anton.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #0e0e10;
  --surface: #16161a;
  --surface-2: #1c1c21;
  --line: rgba(255, 255, 255, 0.09);
  --text: #ededea;
  --muted: #a8a8a3;
  --accent: #f5b301;
  --accent-hover: #ffc61a;
  --accent-ink: #141310;
  --display: "Anton", "Arial Narrow", sans-serif;
  --body: "Archivo", -apple-system, "Segoe UI", sans-serif;
  --r-card: 16px;
  --r-ui: 10px;
  --container: 1200px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
@media (max-width: 767px) { .section { padding: 64px 0; } }

h1, h2, h3, .stat-big, .step-num, .shout-line, .client-name, .brand-word {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

h2 { font-size: clamp(2rem, 4.5vw, 3.25rem); line-height: 1.05; }
h3 { font-size: 1.35rem; line-height: 1.15; }

.section-sub {
  color: var(--muted);
  max-width: 46ch;
  margin-top: 14px;
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 16px;
}

/* ---------- Scroll progress (CSS scroll-driven, no JS) ---------- */
.progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 100%;
  background: var(--accent);
  transform-origin: 0 50%;
  transform: scaleX(0);
  z-index: 60;
  pointer-events: none;
  display: none;
}
@supports (animation-timeline: scroll()) {
  .progress {
    display: block;
    animation: progressGrow linear both;
    animation-timeline: scroll(root);
  }
}
@keyframes progressGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- Grain texture (fixed, pointer-events none) ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 55;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--body);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  padding: 15px 26px;
  border-radius: var(--r-ui);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease), border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn:active { transform: translateY(1px) scale(0.99); }

.btn-solid { background: var(--accent); color: var(--accent-ink); }
.btn-solid:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(245, 179, 1, 0.22); }

/* shine sweep across primary buttons on hover */
@media (prefers-reduced-motion: no-preference) {
  .btn-solid::after {
    content: "";
    position: absolute;
    top: 0; left: -70%;
    width: 45%; height: 100%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.42), transparent);
    transform: skewX(-22deg);
    transition: left 0.5s var(--ease);
    pointer-events: none;
  }
  .btn-solid:hover::after { left: 125%; }
}

.btn-ghost {
  background: rgba(14, 14, 16, 0.45);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.7); transform: translateY(-1px); }

.btn-lg { padding: 18px 30px; font-size: 17px; }
.btn-xl { padding: 20px 36px; font-size: 18px; }
.btn-block { width: 100%; justify-content: center; }

/* attention pulse on the big CTA band button only */
@media (prefers-reduced-motion: no-preference) {
  .btn-pulse { animation: pulseGlow 2.4s var(--ease) infinite; }
}
@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(245, 179, 1, 0.4); }
  70% { box-shadow: 0 0 0 20px rgba(245, 179, 1, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 179, 1, 0); }
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(14, 14, 16, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand-mark { width: 26px; height: 26px; color: var(--accent); transition: transform 0.5s var(--ease); }
.brand:hover .brand-mark { transform: rotate(120deg); }
.brand-word { font-size: 19px; letter-spacing: 0.03em; }
.brand-word em { font-style: normal; color: var(--accent); }

.nav-links { display: flex; gap: 28px; }
.nav-links a {
  position: relative;
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  opacity: 0.85;
  transition: opacity 0.15s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.25s var(--ease);
}
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.btn-nav { padding: 11px 18px; font-size: 15px; }

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--r-ui);
  cursor: pointer;
  padding: 0 10px;
}
.nav-burger span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.2s var(--ease), opacity 0.2s; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-sentinel { position: absolute; top: 0; left: 0; height: 2px; width: 1px; }

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(14, 14, 16, 0.97);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 16px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }
  .nav-links a:last-child { border-bottom: none; }
  .nav-burger { display: flex; }
  .btn-nav { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-media, .hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
}
@media (prefers-reduced-motion: no-preference) {
  /* slow Ken Burns settle on load */
  .hero-media img { animation: kenburns 16s var(--ease) both; }
}
@keyframes kenburns {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14,14,16,0.55) 0%, rgba(14,14,16,0.05) 34%, rgba(14,14,16,0.82) 78%, var(--bg) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-bottom: 88px;
}
.hero h1 {
  font-size: clamp(2.7rem, 7.2vw, 5.6rem);
  line-height: 0.98;
  max-width: 18ch;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.4);
}
/* kinetic line reveal: each line rises out of a clip mask */
.hline { display: block; overflow: hidden; padding-bottom: 0.04em; }
.hline-in { display: block; }
.hline-accent { color: var(--accent); }
@media (prefers-reduced-motion: no-preference) {
  .hline-in { transform: translateY(110%); animation: lineUp 0.9s var(--ease) forwards; }
  .hline:nth-child(1) .hline-in { animation-delay: 0.18s; }
  .hline:nth-child(2) .hline-in { animation-delay: 0.32s; }
  .hero-in { opacity: 0; animation: riseIn 0.8s var(--ease) forwards; }
  .hero-in-1 { animation-delay: 0.05s; }
  .hero-in-3 { animation-delay: 0.55s; }
  .hero-in-4 { animation-delay: 0.7s; }
}
@keyframes lineUp { to { transform: translateY(0); } }
@keyframes riseIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.hero-sub {
  margin-top: 20px;
  max-width: 44ch;
  font-size: 18px;
  color: #dcdcd7;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
@media (max-width: 767px) {
  .hero { min-height: 92dvh; }
  .hero-content { padding-bottom: 56px; }
  .hero-media img { object-position: 68% 62%; }
}

/* ---------- Hazard tape marquee ---------- */
.tape {
  background: var(--accent);
  overflow: hidden;
  transform: rotate(-1.2deg) scale(1.02);
  margin: -26px 0 6px;
  position: relative;
  z-index: 2;
  border-top: 3px solid #0e0e10;
  border-bottom: 3px solid #0e0e10;
}
.tape-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  padding: 12px 0;
}
.tape-track span {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  color: var(--accent-ink);
  white-space: nowrap;
}
.tape-track i { font-style: normal; font-size: 0.55rem; color: var(--accent-ink); }
@media (prefers-reduced-motion: no-preference) {
  .tape-track { animation: tapeMove 26s linear infinite; }
}
@keyframes tapeMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats { border-bottom: 1px solid var(--line); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding-top: 56px;
  padding-bottom: 56px;
}
.stat { padding: 0 28px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: none; padding-left: 0; }
.stat-big { display: block; font-size: clamp(1.9rem, 3.4vw, 2.7rem); color: var(--accent); line-height: 1; }
.stat-label { display: block; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; margin-top: 10px; }
.stat p { color: var(--muted); font-size: 14.5px; margin-top: 8px; line-height: 1.5; }
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 32px 0; }
  .stat:nth-child(3) { border-left: none; padding-left: 0; }
}
@media (max-width: 520px) {
  .stats-grid { grid-template-columns: 1fr; gap: 28px; }
  .stat { border-left: none; padding: 0; }
}

/* ---------- Services bento ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(230px, auto);
  gap: 16px;
  margin-top: 48px;
}
.cell {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.cell:hover { transform: translateY(-4px); border-color: rgba(245, 179, 1, 0.45); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35); }
.cell h3 { margin-bottom: 8px; }
.cell p { color: var(--muted); font-size: 15px; }
.cell-wide { grid-column: span 2; }

.cell-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(245, 179, 1, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: auto;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}
.cell-icon svg { width: 24px; height: 24px; color: var(--accent); }
.cell:hover .cell-icon { transform: translateY(-3px) rotate(-4deg); background: rgba(245, 179, 1, 0.2); }
.cell .cell-icon + h3 { margin-top: 22px; }

.cell-photo { padding: 0; min-height: 300px; justify-content: flex-end; }
.cell-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.cell-photo:hover img { transform: scale(1.05); }
.cell-photo .cell-body {
  position: relative;
  padding: 28px;
  background: linear-gradient(180deg, rgba(14,14,16,0) 0%, rgba(14,14,16,0.72) 34%, rgba(14,14,16,0.92) 100%);
}
.cell-photo p { color: #cfcfca; }

.cell-accent { background: linear-gradient(160deg, #2a2410 0%, var(--surface) 55%); }

.cell-link {
  margin-top: 16px;
  color: var(--accent);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  width: fit-content;
}
.cell-link::after { content: " →"; display: inline-block; transition: transform 0.2s var(--ease); }
.cell-link:hover::after { transform: translateX(4px); }

@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .cell-wide { grid-column: span 2; }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; }
  .cell-wide { grid-column: span 1; }
}

/* ---------- Split sections ---------- */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split-media { overflow: hidden; border-radius: var(--r-card); }
.split-media img {
  border-radius: var(--r-card);
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.split-media:hover img { transform: scale(1.04); }
.split-media figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; padding: 0 2px; }
.split-copy h2 { margin-bottom: 18px; }
.split-copy p { color: var(--muted); margin-bottom: 14px; max-width: 52ch; }
.split-copy .btn { margin-top: 14px; }

.check-list { list-style: none; margin: 18px 0 8px; }
.check-list li {
  position: relative;
  padding: 7px 0 7px 32px;
  color: var(--text);
  font-size: 15.5px;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12l5 5l10 -10"/></svg>') center / contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12l5 5l10 -10"/></svg>') center / contain no-repeat;
}

@media (max-width: 900px) {
  .split-grid { grid-template-columns: 1fr; gap: 32px; }
  .split-flip .split-media { order: -1; }
}

/* ---------- How it works ---------- */
.how { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.step-num {
  display: block;
  font-size: 3.4rem;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--accent);
  line-height: 1;
  margin-bottom: 14px;
  transition: color 0.3s var(--ease);
}
.step:hover .step-num { color: var(--accent); }
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }
.how-cta { margin-top: 48px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; gap: 26px; } }

/* ---------- Compare (skip vs crew) ---------- */
.compare h2 { max-width: 22ch; }
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 44px;
}
.compare-card {
  border-radius: var(--r-card);
  padding: 32px;
  border: 1px solid var(--line);
}
.compare-card h3 { margin-bottom: 16px; }
.compare-old { background: var(--surface); }
.compare-old h3 { color: var(--muted); }
.compare-new {
  background: linear-gradient(160deg, rgba(245, 179, 1, 0.13) 0%, var(--surface) 60%);
  border-color: rgba(245, 179, 1, 0.4);
}
.x-list { list-style: none; }
.x-list li {
  position: relative;
  padding: 7px 0 7px 32px;
  color: var(--muted);
  font-size: 15.5px;
}
.x-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 18px; height: 18px;
  background: #6b6b66;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3" stroke-linecap="round"><path d="M18 6l-12 12"/><path d="M6 6l12 12"/></svg>') center / contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3" stroke-linecap="round"><path d="M18 6l-12 12"/><path d="M6 6l12 12"/></svg>') center / contain no-repeat;
}
.compare-note { color: var(--muted); margin-top: 28px; max-width: 72ch; font-size: 15px; }
.compare-note a { color: var(--accent); font-weight: 700; text-decoration: none; }
.compare-note a:hover { text-decoration: underline; }
@media (max-width: 800px) { .compare-grid { grid-template-columns: 1fr; } }

/* ---------- Clients editorial list ---------- */
.client-list { list-style: none; margin-top: 40px; border-top: 1px solid var(--line); }
.client-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 8px;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s var(--ease), padding-left 0.2s var(--ease);
}
.client-list li:hover { background: rgba(245, 179, 1, 0.05); padding-left: 18px; }
.client-name { font-size: clamp(1.4rem, 3vw, 2.1rem); }
.client-desc { color: var(--muted); font-size: 15px; text-align: right; max-width: 46ch; }
@media (max-width: 700px) {
  .client-list li { flex-direction: column; gap: 4px; }
  .client-desc { text-align: left; }
}

/* ---------- Areas ---------- */
.areas-cols { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; margin-top: 44px; }
.area-col h3 { color: var(--accent); margin-bottom: 18px; font-size: 1.1rem; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips span {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  color: var(--text);
  background: var(--surface);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.chips span:hover { border-color: rgba(245, 179, 1, 0.5); transform: translateY(-2px); }
.areas-note { color: var(--muted); margin-top: 36px; font-size: 15px; max-width: 68ch; }
@media (max-width: 800px) { .areas-cols { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 820px; }
.faq-list { margin-top: 40px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 4px;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 17px;
  transition: color 0.15s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-item summary svg {
  width: 20px; height: 20px;
  flex: none;
  color: var(--accent);
  transition: transform 0.3s var(--ease);
}
.faq-item[open] summary svg { transform: rotate(180deg); }
.faq-body { padding: 0 4px 22px; max-width: 64ch; }
.faq-body p { color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .faq-item[open] .faq-body { animation: faqOpen 0.35s var(--ease); }
}
@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Shout band ---------- */
.shout {
  padding: 110px 0;
  background:
    radial-gradient(1100px 420px at 50% 118%, rgba(245, 179, 1, 0.16), transparent 65%),
    var(--bg);
  border-top: 1px solid var(--line);
  text-align: center;
}
.shout-line {
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  color: var(--accent);
  line-height: 1;
}
.shout-sub { color: var(--muted); margin: 18px auto 34px; max-width: 42ch; }
@media (max-width: 767px) { .shout { padding: 72px 0; } }

/* ---------- Quote ---------- */
.quote { border-top: 1px solid var(--line); }
.quote-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: start; }
.quote-copy h2 { margin-bottom: 16px; }
.quote-copy > p { color: var(--muted); max-width: 46ch; }

.contact-rows { margin-top: 34px; display: flex; flex-direction: column; gap: 12px; }
.contact-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.contact-row:hover { border-color: rgba(245, 179, 1, 0.5); transform: translateY(-2px); }
.contact-row svg { width: 24px; height: 24px; color: var(--accent); flex: none; }
.contact-row strong { display: block; font-size: 16px; }
.contact-row small { color: var(--muted); font-size: 13.5px; }
.depot-line { margin-top: 24px; color: var(--muted); font-size: 14px; }

.quote-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 7px; flex: 1; }
.field-row { display: flex; gap: 16px; }
.field label { font-size: 13.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.field input, .field select, .field textarea {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-ui);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  padding: 13px 14px;
  width: 100%;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input::placeholder, .field textarea::placeholder { color: #7c7c78; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(245, 179, 1, 0.18);
}
.field input.invalid { border-color: #e0564a; }
.form-note { color: var(--muted); font-size: 13px; text-align: center; }
@media (max-width: 900px) {
  .quote-grid { grid-template-columns: 1fr; gap: 40px; }
  .field-row { flex-direction: column; gap: 18px; }
}

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 56px 0 110px; background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-brand { font-size: 22px; }
.footer-tag { color: var(--muted); font-size: 14.5px; margin-top: 10px; max-width: 30ch; }
.footer-links, .footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-links a, .footer-contact a, .footer-contact span {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
}
.footer-links a:hover, .footer-contact a:hover { color: var(--text); }
.footer-legal {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13.5px;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Mobile call bar ---------- */
.callbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 45;
  display: none;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.callbar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 16px 10px;
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
}
.callbar svg { width: 20px; height: 20px; }
.callbar-phone { background: var(--accent); color: var(--accent-ink); }
.callbar-wa { background: var(--surface-2); color: var(--text); }
@media (max-width: 767px) {
  .callbar { display: flex; }
  .footer { padding-bottom: 140px; }
}

/* ---------- Reveal on scroll (staggered) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
    transition-delay: var(--d, 0s);
  }
  .reveal.in { opacity: 1; transform: none; }
  /* cascade within grids */
  .bento .cell:nth-child(2) { --d: 0.08s; }
  .bento .cell:nth-child(3) { --d: 0.16s; }
  .bento .cell:nth-child(4) { --d: 0.08s; }
  .bento .cell:nth-child(5) { --d: 0.16s; }
  .bento .cell:nth-child(6) { --d: 0.24s; }
  .steps .step:nth-child(2) { --d: 0.1s; }
  .steps .step:nth-child(3) { --d: 0.2s; }
  .steps .step:nth-child(4) { --d: 0.3s; }
  .stats-grid .stat:nth-child(2) { --d: 0.1s; }
  .stats-grid .stat:nth-child(3) { --d: 0.2s; }
  .stats-grid .stat:nth-child(4) { --d: 0.3s; }
  .client-list li:nth-child(2) { --d: 0.07s; }
  .client-list li:nth-child(3) { --d: 0.14s; }
  .client-list li:nth-child(4) { --d: 0.21s; }
  .client-list li:nth-child(5) { --d: 0.28s; }
  .compare-card:nth-child(2) { --d: 0.12s; }
}

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
