/* =========================================================================
   Mosso Dumpster Rental & Demolition — site styles
   Palette: poured slab, asphalt, and the two colors out of his logo —
   badge gold and MOSSO-plate orange. Marking-paint white on dark.
   ========================================================================= */

:root {
  --slab: #d9d9d5;
  --slab-2: #cdcdc8;
  --slab-3: #b5b6b1;
  --asphalt: #141515;
  --asphalt-2: #1f2020;
  --asphalt-3: #313232;
  --brand: #e0a615;       /* logo gold (badge ring / excavator): dark surfaces and fills */
  --brand-ink: #7a5500;   /* same gold darkened: accent text on light concrete */
  --brand-2: #dc5801;     /* logo orange (MOSSO plate): ratings and small fills */
  --warn: #b3261e;        /* required marks, errors, "we dont take" lists */
  --paint: #f4f5f3;
  --rebar: #525450;
  --dust: #9fa09b;

  --f-stencil: "Big Shoulders Stencil", "Big Shoulders", Impact, "Arial Narrow", sans-serif;
  --f-display: "Big Shoulders", Impact, "Arial Narrow", sans-serif;
  --f-head: "Big Shoulders", Impact, "Arial Narrow", sans-serif;
  --f-body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Martian Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --fs-hero: clamp(3.5rem, 10.2vw, 10.25rem);
  --fs-h1: clamp(3rem, 7vw, 7rem);
  --fs-h2: clamp(2.35rem, 4.6vw, 4.4rem);
  --fs-h3: clamp(1.45rem, 2vw, 1.85rem);
  --fs-lead: clamp(1.1rem, 1.4vw, 1.28rem);
  --fs-body: 1.0625rem;
  --fs-small: .92rem;
  --fs-label: .68rem;

  --wrap: 1320px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section: clamp(4.5rem, 10vw, 8.5rem);
  --header-h: 76px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-slam: cubic-bezier(.3, 1.4, .5, 1);

  /* concrete: fine aggregate speckle + soft mottling (seamless generated tiles) */
  --concrete: url("../img/tex-grain.png"), url("../img/tex-mottle.webp");
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background-color: var(--slab);
  background-image: var(--concrete);
  color: var(--asphalt);
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg, canvas { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--brand); color: var(--asphalt); }
:focus-visible { outline: 3px solid var(--asphalt); outline-offset: 3px; }
.on-dark :focus-visible, .hero :focus-visible, .site-header.on-dark-state :focus-visible { outline-color: var(--brand); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 1rem; top: -4rem; z-index: 200;
  background: var(--brand); color: var(--asphalt); padding: .7rem 1rem;
  font-weight: 700; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 1rem; }

/* ---------- layout ---------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: calc(var(--section) * .6); }
.on-dark { background: var(--asphalt); color: var(--paint); }
.on-orange { background: var(--brand); color: var(--asphalt); }
.rule-top { border-top: 2px solid var(--asphalt); }

/* ---------- type ---------- */
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--f-head);
  font-weight: 800;
  text-transform: uppercase;
  line-height: .9;
  letter-spacing: .004em;
  text-wrap: balance;
}
.display { font-family: var(--f-display); font-weight: 900; line-height: .84; }
.h1 { font-size: var(--fs-h1); }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); line-height: 1; }
p { margin: 0 0 1em; max-width: 64ch; }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--rebar); max-width: 40ch; text-wrap: pretty; }
.on-dark .lead { color: #d0d1cd; }
.eyebrow {
  display: flex; align-items: center; gap: .7em;
  margin: 0 0 1.4rem;
  font-family: var(--f-mono); font-size: var(--fs-label); font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: var(--rebar);
}
.eyebrow::before { content: ""; width: .62em; height: .62em; background: var(--brand-ink); flex: none; }
.on-dark .eyebrow, .hero .eyebrow { color: #c6c7c3; }
.mono { font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: .1em; text-transform: uppercase; }
.accent { color: var(--brand-ink); }

/* The logo gold only reads against dark ground. On light concrete the
   accent steps down to its darkened twin; on dark it goes back to full. */
.on-dark .accent, .hero .accent, .plate .accent { color: var(--brand); }
.on-dark .text-link { border-bottom-color: var(--brand); }
.on-dark .eyebrow::before { background: var(--brand); }
.on-dark .steps li::before,
.on-dark .sequence figcaption::before,
.on-dark .quote blockquote p::before { color: var(--brand); }
.on-dark .creds a { text-decoration-color: var(--brand); }
.text-link {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--f-head); font-weight: 800; font-size: 1.1rem;
  letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  border-bottom: 3px solid var(--brand-ink); padding-bottom: .15rem;
}
.text-link svg { transition: transform .25s var(--ease-out); }
.text-link:hover svg { transform: translateX(4px); }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--brand);
  --btn-fg: var(--asphalt);
  --btn-bg-hover: var(--asphalt);
  --btn-fg-hover: var(--brand);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 3.35rem; padding: .85rem 1.45rem .8rem;
  font-family: var(--f-head); font-weight: 800; font-size: 1.14rem; line-height: 1;
  letter-spacing: .06em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 2px solid var(--btn-bg); border-radius: 2px; cursor: pointer;
  transition: background-color .18s, color .18s, border-color .18s, transform .12s;
}
.btn:hover { background: var(--btn-bg-hover); color: var(--btn-fg-hover); border-color: var(--btn-bg-hover); }
.btn:active { transform: scale(.97); }
.btn svg { flex: none; }
.on-dark .btn, .hero .btn { --btn-bg-hover: var(--paint); --btn-fg-hover: var(--asphalt); }
.on-orange .btn { --btn-bg: var(--asphalt); --btn-fg: var(--paint); --btn-bg-hover: var(--paint); --btn-fg-hover: var(--asphalt); }
.btn--line { --btn-bg: transparent; --btn-fg: currentColor; border-color: currentColor; }
.btn--line:hover { border-color: var(--btn-bg-hover); }
.on-orange .btn--line { --btn-bg: transparent; --btn-fg: var(--asphalt); border-color: var(--asphalt); --btn-bg-hover: var(--asphalt); --btn-fg-hover: var(--brand); }
.btn--sm { min-height: 2.6rem; padding: .55rem .95rem .5rem; font-size: 1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }

/* debris burst (spawned by JS on button press) */
.debris { position: fixed; pointer-events: none; z-index: 300; width: var(--s, 6px); height: var(--s, 6px); background: var(--c, var(--slab-3)); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 60;
  height: var(--header-h);
  display: flex; align-items: center;
  color: var(--asphalt);
  transition: background-color .3s, color .3s, box-shadow .3s, transform .4s var(--ease-out);
  view-transition-name: site-header;
}
[data-header="dark"] .site-header:not(.is-scrolled) { color: var(--paint); }
.site-header.is-scrolled {
  background: rgb(220 217 210 / .94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--slab-3);
}
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: inherit; flex: none; }
.brand-mark { width: 52px; height: 52px; flex: none; }
.brand-words { display: grid; gap: .08rem; }
.brand-name {
  font-family: var(--f-stencil); font-weight: 900; font-size: 1.62rem; line-height: 1;
  letter-spacing: .035em;
}
.brand-sub { font-family: var(--f-mono); font-size: .56rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; line-height: 1.4; }
.nav { display: flex; gap: clamp(1.1rem, 2.2vw, 2.2rem); }
.nav a {
  position: relative; padding-block: .45rem;
  font-family: var(--f-head); font-weight: 700; font-size: 1.08rem;
  letter-spacing: .07em; text-transform: uppercase; text-decoration: none;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: var(--brand); transform: scaleX(0); transform-origin: left;
  transition: transform .28s var(--ease-out);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: .6rem; }
.menu-toggle {
  display: none; width: 2.75rem; height: 2.75rem; padding: 0; border: 0; cursor: pointer;
  background: transparent; place-items: center;
}
.menu-bars, .menu-bars::before, .menu-bars::after {
  display: block; width: 24px; height: 2.5px; background: currentColor; position: relative;
  transition: transform .3s var(--ease-out), background-color .2s;
}
.menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
.menu-bars::before { top: -7px; }
.menu-bars::after { top: 7px; }
.menu-open .menu-bars { background: transparent; }
.menu-open .menu-bars::before { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-bars::after { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 55;
  background: var(--asphalt); color: var(--paint);
  padding: calc(var(--header-h) + 2rem) var(--gutter) 2rem;
  display: flex; flex-direction: column; justify-content: space-between;
}
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  font-family: var(--f-display); font-weight: 900; font-size: clamp(2.8rem, 13vw, 4.5rem);
  line-height: 1.02; text-transform: uppercase; text-decoration: none;
  border-bottom: 1px solid var(--asphalt-3); padding-block: .35rem;
}
.mobile-menu nav a[aria-current="page"] { color: var(--brand); }
.mobile-menu .btn-row .btn { flex: 1; }
.menu-open .site-header { color: var(--paint); background: transparent; box-shadow: none; }

@media (max-width: 960px) {
  .nav { display: none; }
  .menu-toggle { display: grid; }
  .header-call span { display: none; }
  .header-call { min-width: 2.75rem; padding-inline: .7rem; }
}

/* ---------- home hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh; display: grid; align-items: end;
  background: var(--asphalt); color: var(--paint);
}
.hero-media { position: absolute; inset: 0; z-index: -2; background: var(--asphalt); }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgb(22 22 20 / .7) 0%, rgb(22 22 20 / 0) 20%),
    linear-gradient(0deg, rgb(22 22 20 / .94) 0%, rgb(22 22 20 / .6) 36%, rgb(22 22 20 / 0) 68%),
    linear-gradient(90deg, rgb(22 22 20 / .55) 0%, rgb(22 22 20 / 0) 55%);
}
.hero-content { padding-top: calc(var(--header-h) + 4rem); padding-bottom: clamp(6.5rem, 14vh, 9.5rem); }
.hero-title {
  font-family: var(--f-display); font-weight: 900; font-size: var(--fs-hero);
  line-height: .8; letter-spacing: -.004em; text-transform: uppercase;
  margin: 0 0 1.6rem;
}
.hero-title .line { display: block; }
.hero-title .line + .line { color: var(--brand); }
.hero-lead { font-size: var(--fs-lead); line-height: 1.5; color: #e2e3e0; max-width: 44ch; margin-bottom: 2rem; }
.hero-plate {
  position: absolute; left: 0; right: 0; bottom: 0;
  border-top: 1px solid rgb(246 245 241 / .16);
  background: rgb(22 22 20 / .5);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.plate-row {
  display: flex; flex-wrap: wrap; gap: .4rem 2.2rem; padding-block: .95rem;
  font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: .12em;
  text-transform: uppercase; color: #cccdc9;
}
.plate-row > * { display: inline-flex; align-items: center; gap: .55em; white-space: nowrap; }
.plate-row .stars { color: var(--brand-2); letter-spacing: .05em; }
.plate-row a { text-decoration: none; }
.plate-row a:hover { color: var(--paint); }

/* impact moment: headline lines drop in, the frame takes the hit */
.js .hero-title .line { opacity: 0; }
.hero.is-landed .hero-title .line { animation: slam .62s var(--ease-slam) both; }
.hero.is-landed .hero-title .line + .line { animation-delay: .42s; }
.hero.is-landed .hero-lead, .hero.is-landed .hero-actions, .hero.is-landed .eyebrow {
  animation: rise .7s var(--ease-out) both; animation-delay: .9s;
}
.hero.is-landed .hero-actions { animation-delay: 1s; }
.js .hero-lead, .js .hero-actions, .js .hero .eyebrow { opacity: 0; }
.hero.is-shaking .hero-inner-shake { animation: shake .32s linear; }
@keyframes slam {
  0% { opacity: 0; transform: translateY(-.55em) scaleY(1.08); }
  55% { opacity: 1; transform: translateY(.03em) scaleY(.97); }
  100% { opacity: 1; transform: none; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes shake {
  0%, 100% { transform: none; }
  20% { transform: translate(-3px, 2px); }
  40% { transform: translate(3px, -2px); }
  60% { transform: translate(-2px, 1px); }
  80% { transform: translate(1px, -1px); }
}
.dust-puff { position: absolute; pointer-events: none; border-radius: 50%; background: rgb(214 208 196 / .55); filter: blur(4px); }

@media (max-width: 760px) {
  /* the sticky call bar owns the bottom of the screen; end the hero above it */
  .hero { min-height: calc(100svh - 4.1rem - env(safe-area-inset-bottom)); }
}
@media (max-width: 700px) {
  .hero-content { padding-bottom: 8.5rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .plate-row { gap: .35rem 1.2rem; font-size: .6rem; }
}

/* ---------- section heads ---------- */
.section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 2rem 4rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head .lead { justify-self: start; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

/* ---------- home: what we do tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.75rem, 1.4vw, 1.25rem); }
.tile {
  position: relative; isolation: isolate; overflow: hidden;
  aspect-ratio: 2 / 3; display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(1.25rem, 2vw, 1.75rem);
  background: var(--asphalt); color: var(--paint); text-decoration: none;
}
.tile img, .tile video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  transition: transform 1s var(--ease-out), opacity .5s;
}
.tile video { opacity: 0; }
.tile.is-playing video { opacity: 1; }
.tile::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgb(22 22 20 / .92) 0%, rgb(22 22 20 / .35) 45%, rgb(22 22 20 / .05) 70%);
}
.tile:hover img, .tile:hover video, .tile:focus-visible img { transform: scale(1.04); }
.tile-title { font-family: var(--f-display); font-weight: 900; font-size: clamp(2.3rem, 3.7vw, 3.5rem); line-height: .84; text-transform: uppercase; }
.tile-text { margin: .75rem 0 0; font-size: .98rem; line-height: 1.5; color: #d9dad6; max-width: 30ch; }
.tile-arrow {
  position: absolute; top: clamp(1rem, 1.6vw, 1.4rem); right: clamp(1rem, 1.6vw, 1.4rem);
  width: 3rem; height: 3rem; display: grid; place-items: center;
  background: var(--brand); color: var(--asphalt);
  transition: transform .35s var(--ease-out);
}
.tile:hover .tile-arrow, .tile:focus-visible .tile-arrow { transform: translate(3px, -3px); }
.tile .mono {
  position: absolute; top: clamp(1rem, 1.6vw, 1.4rem); left: clamp(1rem, 1.6vw, 1.4rem);
  padding: .5rem .65rem .45rem; background: rgb(22 22 20 / .78); color: var(--paint);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}

@media (max-width: 860px) {
  .tiles {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(82%, 380px);
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  }
  .tiles::-webkit-scrollbar { display: none; }
  .tile { scroll-snap-align: start; }
}

/* ---------- before / after ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.split--media-left > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--media-left > :first-child { order: 0; } }

.compare {
  --pos: 50%;
  position: relative; overflow: hidden; aspect-ratio: 4 / 5; width: 100%;
  background: var(--asphalt); user-select: none; -webkit-user-select: none;
  touch-action: pan-y; cursor: ew-resize;
}
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare-after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.compare-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 4px; margin-left: -2px; background: var(--paint); box-shadow: 0 0 0 1px rgb(0 0 0 / .15); }
.compare-knob {
  position: absolute; top: 50%; left: var(--pos); width: 4.25rem; height: 4.25rem;
  transform: translate(-50%, -50%); border-radius: 50%; border: 3px solid var(--paint);
  background: var(--brand); color: var(--asphalt); display: grid; place-items: center;
  box-shadow: 0 10px 30px rgb(0 0 0 / .35); cursor: ew-resize; padding: 0;
}
.compare-knob:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }
.compare-tag {
  position: absolute; top: 1rem; padding: .45rem .7rem .4rem;
  font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: .12em; text-transform: uppercase;
  background: rgb(22 22 20 / .78); color: var(--paint); pointer-events: none;
}
.compare-tag--before { left: 1rem; }
.compare-tag--after { right: 1rem; background: var(--brand); color: var(--asphalt); }
.compare-caption { margin-top: .9rem; color: var(--rebar); }

/* ---------- proof band ---------- */
.proof { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: end; }
.quote { margin: 0; }
.quote blockquote { margin: 0; }
.quote blockquote p {
  font-family: var(--f-head); font-weight: 700; text-transform: none;
  font-size: clamp(2rem, 3.8vw, 3.5rem); line-height: 1.02; letter-spacing: .002em; max-width: 22ch;
  text-wrap: balance;
}
.quote blockquote p::before { content: "\201C"; color: var(--brand-ink); margin-left: -.42em; }
.quote figcaption { margin-top: 1.5rem; font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: .12em; text-transform: uppercase; color: var(--dust); }
.rating { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.6rem; }
.rating .stars { color: var(--brand-2); font-size: 1.35rem; letter-spacing: .1em; }
.rating strong { font-family: var(--f-head); font-weight: 800; font-size: 1.6rem; }
.creds { list-style: none; margin: 0 0 2rem; padding: 0; border-top: 1px solid var(--asphalt-3); }
.creds li { display: flex; justify-content: space-between; gap: 1rem; padding: .95rem 0; border-bottom: 1px solid var(--asphalt-3); }
.creds span:first-child { font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: .12em; text-transform: uppercase; color: var(--dust); padding-top: .2em; }
.creds span:last-child { text-align: right; font-weight: 600; }
.creds a { text-decoration-color: var(--brand-ink); text-underline-offset: .2em; }
@media (max-width: 860px) { .proof { grid-template-columns: 1fr; } }

/* ---------- the slab (signature) ---------- */
.slab-zone { position: relative; overflow: hidden; min-height: clamp(480px, 74vh, 700px); min-height: clamp(480px, 74svh, 700px); display: grid; }
.slab-reveal {
  grid-area: 1 / 1; display: grid; place-content: center; justify-items: center; text-align: center;
  padding: clamp(4rem, 8vw, 6rem) var(--gutter);
}
.slab-reveal .h2 { font-family: var(--f-display); font-weight: 900; font-size: clamp(3rem, 7.5vw, 7rem); line-height: .84; }
.slab-reveal .lead { color: var(--asphalt); margin: 1.4rem auto 2.2rem; text-align: center; max-width: 36ch; }
.slab-reveal .btn-row { justify-content: center; }
.slab-stage { grid-area: 1 / 1; position: relative; z-index: 2; }
.slab-zone.is-ready .slab-stage { background: #c6c7c3; }
.slab-zone.is-broken .slab-stage { background: transparent; }
.slab-hint { transition: opacity .3s; }
.on-orange .eyebrow { color: var(--asphalt); }
.on-orange .eyebrow::before { background: var(--asphalt); }
.slab-canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: manipulation; cursor: var(--breaker-cursor, crosshair); }
.slab-hint {
  position: absolute; left: 50%; bottom: clamp(1.25rem, 3vw, 2rem); transform: translateX(-50%);
  display: flex; align-items: center; gap: .9rem; padding: .7rem .8rem .7rem 1.1rem;
  background: var(--asphalt); color: var(--paint); white-space: nowrap;
  font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: .12em; text-transform: uppercase;
  box-shadow: 0 12px 30px rgb(0 0 0 / .25);
}
.slab-hint .ticks { display: inline-flex; gap: 4px; }
.slab-hint .ticks i { width: 10px; height: 10px; background: var(--asphalt-3); transition: background-color .2s; }
.slab-hint .ticks i.on { background: var(--brand); }
.slab-hint button {
  border: 0; cursor: pointer; background: var(--brand); color: var(--asphalt);
  font-family: var(--f-head); font-weight: 800; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase;
  padding: .45rem .7rem .4rem;
}
.slab-hint button:hover { background: var(--paint); }
@media (max-width: 560px) {
  .slab-hint { gap: .6rem; padding: .55rem .55rem .55rem .85rem; letter-spacing: .08em; }
  .slab-hint .ticks i { width: 8px; height: 8px; }
}
.slab-zone.is-broken .slab-stage { pointer-events: none; }
.slab-zone.is-cleared .slab-stage { display: none; }
.slab-reset {
  position: absolute; right: var(--gutter); bottom: 1.25rem; z-index: 1;
  background: none; border: 0; padding: .3rem 0; cursor: pointer;
  font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: .12em; text-transform: uppercase;
  color: var(--asphalt); text-decoration: underline; text-underline-offset: .3em; opacity: 0; transition: opacity .3s;
}
.slab-zone.is-cleared .slab-reset { opacity: 1; }
.slab-zone.is-shaking .slab-stage { animation: shake .22s linear; }

/* ---------- page hero (sub pages) ---------- */
.page-hero { padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem)); padding-bottom: clamp(3rem, 6vw, 5.5rem); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.page-title { font-family: var(--f-display); font-weight: 900; font-size: var(--fs-h1); line-height: .83; text-transform: uppercase; margin-bottom: 1.8rem; }
.page-title .accent { display: block; }
.page-title--compact { font-size: clamp(2.9rem, 5.6vw, 5.4rem); }
.page-hero .lead { margin-bottom: 2rem; }
.page-media { position: relative; overflow: hidden; aspect-ratio: 2 / 3; max-height: 76vh; width: 100%; background: var(--asphalt); justify-self: end; }
.page-media video, .page-media img { width: 100%; height: 100%; object-fit: cover; }
.media-tag {
  position: absolute; left: 0; bottom: 0; padding: .6rem .85rem .55rem;
  font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: .12em; text-transform: uppercase;
  background: var(--asphalt); color: var(--paint);
}
@media (max-width: 860px) {
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-media { aspect-ratio: 4 / 5; max-height: 72vh; justify-self: stretch; }
}

/* ---------- services list ---------- */
.svc-list { border-top: 2px solid var(--asphalt); }
.svc {
  display: grid; grid-template-columns: minmax(0, 4.2fr) minmax(0, 5.8fr) 13rem; gap: 1.5rem clamp(1.5rem, 3vw, 3rem);
  padding: clamp(1.5rem, 3vw, 2.25rem) 0; border-bottom: 1px solid var(--slab-3);
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
.svc h3 { font-size: clamp(1.9rem, 3vw, 2.75rem); line-height: .9; }
.svc h3 small { display: block; margin-top: .6rem; font-family: var(--f-mono); font-size: var(--fs-label); font-weight: 500; letter-spacing: .12em; color: var(--rebar); }
.svc-body p { margin-bottom: .9rem; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.tags li {
  font-family: var(--f-mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase;
  padding: .35rem .55rem .3rem; border: 1px solid var(--slab-3); color: var(--rebar);
}
.svc-thumb { aspect-ratio: 4 / 3; overflow: hidden; background: var(--asphalt); }
.svc-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.svc:hover .svc-thumb img { transform: scale(1.05); }
@media (max-width: 960px) {
  .svc { grid-template-columns: minmax(0, 1fr) 9rem; }
  .svc-body { grid-column: 1 / -1; grid-row: 2; }
  .svc-thumb { grid-column: 2; grid-row: 1; }
}

/* ---------- process steps (a real sequence) ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 2px solid var(--asphalt); counter-reset: step; }
.steps li { counter-increment: step; padding: 1.6rem 1.5rem 0 0; position: relative; }
.steps li + li { padding-left: 1.5rem; border-left: 1px solid var(--slab-3); }
.steps li::before { content: counter(step); display: block; font-family: var(--f-display); font-weight: 900; font-size: 3.4rem; line-height: .9; color: var(--brand-ink); margin-bottom: 1rem; }
.steps h3 { font-size: 1.45rem; line-height: 1; margin-bottom: .6rem; }
.steps p { font-size: .98rem; color: var(--rebar); margin: 0; }
.on-dark .steps { border-color: var(--paint); }
.on-dark .steps li + li { border-color: var(--asphalt-3); }
.on-dark .steps p { color: #c6c7c3; }
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 1.4rem 0 1.4rem 4.5rem; border-left: 0; border-bottom: 1px solid var(--slab-3); }
  .on-dark .steps li { border-color: var(--asphalt-3); }
  .steps li::before { position: absolute; left: 0; top: 1.3rem; font-size: 3rem; }
}

/* ---------- CTA band ---------- */
.cta-band { display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 2rem 4rem; align-items: end; }
.cta-band .h2 { font-family: var(--f-display); font-weight: 900; font-size: clamp(2.8rem, 6vw, 5.6rem); line-height: .84; }
.cta-band p { margin: 1.2rem 0 0; font-size: var(--fs-lead); }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- dumpster page ---------- */
.plate {
  position: relative; padding: clamp(1.6rem, 3vw, 2.4rem);
  background: linear-gradient(160deg, #3b3934, #262521 60%, #2e2c28);
  color: var(--paint); border-radius: 4px;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .08), inset 0 -2px 0 rgb(0 0 0 / .35), 0 30px 50px -30px rgb(0 0 0 / .6);
}
.plate::before {
  content: ""; position: absolute; inset: .7rem; pointer-events: none;
  background:
    radial-gradient(circle at 5px 5px, #8c8e8f 0 3px, #46474a 3.5px, transparent 4.5px) top left / 10px 10px no-repeat,
    radial-gradient(circle at 5px 5px, #8c8e8f 0 3px, #46474a 3.5px, transparent 4.5px) top right / 10px 10px no-repeat,
    radial-gradient(circle at 5px 5px, #8c8e8f 0 3px, #46474a 3.5px, transparent 4.5px) bottom left / 10px 10px no-repeat,
    radial-gradient(circle at 5px 5px, #8c8e8f 0 3px, #46474a 3.5px, transparent 4.5px) bottom right / 10px 10px no-repeat;
}
.plate-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-bottom: 1rem; margin-bottom: 1rem; border-bottom: 1px solid #46474a; }
.plate-head .display { font-size: clamp(3rem, 6vw, 4.6rem); color: var(--brand); }
.plate dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .8rem 1.5rem; }
.plate dt { font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: .12em; text-transform: uppercase; color: var(--dust); padding-top: .35em; }
.plate dd { margin: 0; font-family: var(--f-head); font-weight: 800; font-size: 1.5rem; line-height: 1.1; text-transform: uppercase; letter-spacing: .03em; }

.fill { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.fill-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; margin: 1.6rem 0 1.2rem; }
.fill-opt {
  display: flex; justify-content: space-between; align-items: center; gap: .6rem; text-align: left;
  padding: .85rem .9rem .8rem; background: var(--paint); border: 2px solid var(--asphalt); cursor: pointer;
  font-weight: 600; font-size: .95rem; line-height: 1.2; transition: background-color .15s, transform .1s;
}
.fill-opt:hover { background: #fff; }
.fill-opt:active { transform: scale(.98); }
.fill-opt .count {
  min-width: 1.8rem; height: 1.8rem; display: grid; place-items: center; flex: none;
  font-family: var(--f-mono); font-size: .72rem; background: var(--slab-2); color: var(--asphalt);
}
.fill-opt.has-count .count { background: var(--brand); }
.fill-opt .heavy { display: block; font-family: var(--f-mono); font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-ink); margin-top: .25rem; }
.fill-meter { margin-top: 1.4rem; }
.fill-readout { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: .6rem; }
.fill-readout strong { font-family: var(--f-head); font-weight: 800; font-size: 2rem; line-height: 1; text-transform: uppercase; }
.fill-status { font-weight: 600; min-height: 3em; margin: .8rem 0 0; }
.fill-note { font-size: var(--fs-small); color: var(--rebar); margin-top: 1rem; }
.fill-actions { display: flex; gap: 1.2rem; align-items: center; flex-wrap: wrap; }
.fill-reset { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: .25em; font-weight: 600; color: var(--rebar); }
.dumpster-svg { width: 100%; height: auto; overflow: visible; }
@media (max-width: 860px) {
  .fill { grid-template-columns: 1fr; gap: 1.5rem; }
  /* keep the box in view while tapping through the options below it */
  .fill-visual {
    order: -1; position: sticky; top: 0; z-index: 5;
    margin-inline: calc(var(--gutter) * -1); padding: 1rem var(--gutter) .6rem;
    background: var(--slab-2); box-shadow: 0 10px 20px -16px rgb(22 22 20 / .5);
  }
}

.lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem clamp(2rem, 5vw, 5rem); }
.check-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid currentColor; }
.check-list li { display: flex; gap: .8rem; padding: .85rem 0; border-bottom: 1px solid var(--slab-3); }
.check-list li::before { content: ""; flex: none; width: .7rem; height: .7rem; margin-top: .5em; background: var(--asphalt); }
.check-list--no li::before { background: transparent; border: 2px solid var(--warn); transform: rotate(45deg); }
@media (max-width: 700px) { .lists { grid-template-columns: 1fr; } }

/* ---------- projects ---------- */
.sequence { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.6rem, 1.2vw, 1rem); counter-reset: seq; }
.sequence li { counter-increment: seq; }
.sequence figure { margin: 0; }
.sequence .frame { aspect-ratio: 4 / 5; overflow: hidden; background: var(--asphalt); }
.sequence img { width: 100%; height: 100%; object-fit: cover; }
.sequence figcaption { display: flex; gap: .7rem; align-items: baseline; padding-top: .8rem; }
.sequence figcaption::before { content: counter(seq); font-family: var(--f-display); font-weight: 900; font-size: 1.9rem; line-height: .8; color: var(--brand-ink); }
.sequence figcaption strong { display: block; font-family: var(--f-head); font-weight: 800; font-size: 1.3rem; text-transform: uppercase; line-height: 1; }
.sequence figcaption span { display: block; font-size: .9rem; color: var(--rebar); margin-top: .3rem; }
.sequence--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .sequence, .sequence--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.6rem; } }

.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filter {
  padding: .6rem .95rem .55rem; border: 2px solid var(--asphalt); background: transparent; cursor: pointer;
  font-family: var(--f-head); font-weight: 800; font-size: 1rem; letter-spacing: .06em; text-transform: uppercase;
  transition: background-color .15s, color .15s;
}
.filter:hover { background: var(--slab-2); }
.filter[aria-pressed="true"] { background: var(--asphalt); color: var(--paint); }
.gallery { columns: 3 300px; column-gap: clamp(.6rem, 1.2vw, 1rem); }
.shot { break-inside: avoid; margin: 0 0 clamp(.6rem, 1.2vw, 1rem); position: relative; }
.shot[hidden] { display: none; }
.shot button { display: block; width: 100%; padding: 0; border: 0; background: var(--asphalt); cursor: zoom-in; position: relative; overflow: hidden; }
.shot img, .shot video { width: 100%; height: auto; transition: transform .8s var(--ease-out), opacity .3s; }
.shot button:hover img, .shot button:hover video { transform: scale(1.03); }
.shot figcaption { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0 0; font-size: .88rem; color: var(--rebar); }
.shot figcaption .mono { color: var(--asphalt); }
.shot .play-tag { position: absolute; left: .7rem; top: .7rem; z-index: 1; padding: .35rem .5rem .3rem; background: var(--brand); color: var(--asphalt); font-family: var(--f-mono); font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; }

.lightbox { border: 0; padding: 0; margin: auto; max-width: min(92vw, 1100px); max-height: 92vh; background: transparent; color: var(--paint); overflow: visible; }
.lightbox::backdrop { background: rgb(22 22 20 / .92); }
.lightbox figure { margin: 0; }
.lightbox img, .lightbox video { max-width: 100%; max-height: 80vh; width: auto; margin-inline: auto; }
.lightbox figcaption { margin-top: .8rem; text-align: center; font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: .12em; text-transform: uppercase; color: #cccdc9; }
.lb-btn {
  position: fixed; top: 50%; transform: translateY(-50%); width: 3.2rem; height: 3.2rem; border: 0; cursor: pointer;
  background: var(--brand); color: var(--asphalt); display: grid; place-items: center;
}
.lb-prev { left: max(1rem, 2vw); }
.lb-next { right: max(1rem, 2vw); }
.lb-close { position: fixed; top: 1rem; right: 1rem; width: 3rem; height: 3rem; border: 0; cursor: pointer; background: var(--paint); color: var(--asphalt); display: grid; place-items: center; }

/* ---------- about ---------- */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.story-media { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(.6rem, 1.2vw, 1rem); }
.story-media img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.story-media img:first-child { margin-top: 4rem; }
.story p:not(.eyebrow) { font-size: 1.08rem; }
.story > :first-child { position: sticky; top: calc(var(--header-h) + 2rem); }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } .story > :first-child { position: static; } }

.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.8rem, 1.6vw, 1.25rem); }
@media (max-width: 960px) { .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .reviews { grid-template-columns: 1fr; } }
.review { margin: 0; padding: 1.6rem 1.5rem 1.4rem; background: var(--asphalt-2); border-top: 4px solid var(--brand); display: flex; flex-direction: column; justify-content: space-between; gap: 1.4rem; }
.review blockquote { margin: 0; }
.review blockquote p { font-size: 1.05rem; line-height: 1.55; margin: 0; }
.review .stars { color: var(--brand-2); letter-spacing: .1em; font-size: .95rem; }
.review figcaption { font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: .12em; text-transform: uppercase; color: var(--dust); }
.review figcaption strong { display: block; color: var(--paint); font-weight: 500; margin-bottom: .2rem; }

.gear { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--asphalt); list-style: none; margin: 0; padding: 0; }
.gear li { padding: 1.4rem 1.4rem 1.4rem 0; }
.gear li + li { padding-left: 1.4rem; border-left: 1px solid var(--slab-3); }
.gear h3 { font-size: 1.4rem; margin-bottom: .5rem; line-height: 1; }
.gear p { font-size: .96rem; color: var(--rebar); margin: 0; }
@media (max-width: 860px) {
  .gear { grid-template-columns: 1fr 1fr; }
  .gear li, .gear li + li { padding: 1.3rem 1rem 1.3rem 0; border-left: 0; border-bottom: 1px solid var(--slab-3); }
}

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.direct { list-style: none; margin: 0 0 2rem; padding: 0; border-top: 2px solid var(--asphalt); }
.direct li { padding: 1.1rem 0; border-bottom: 1px solid var(--slab-3); }
.direct .mono { display: block; color: var(--rebar); margin-bottom: .35rem; }
.direct a, .direct strong { font-family: var(--f-head); font-weight: 800; font-size: 1.7rem; line-height: 1.05; text-transform: uppercase; text-decoration: none; letter-spacing: .02em; }
.direct a:hover { color: var(--brand-ink); }
.form-card { background: var(--paint); padding: clamp(1.5rem, 3.5vw, 2.75rem); border-top: 6px solid var(--brand); box-shadow: 0 40px 60px -40px rgb(22 22 20 / .45); }
.form-card h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); margin-bottom: .6rem; }
.form-card > p { color: var(--rebar); margin-bottom: 1.8rem; }
.field { display: grid; gap: .45rem; margin-bottom: 1.2rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.field label, .field legend { font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: .12em; text-transform: uppercase; font-weight: 500; }
.field .req { color: var(--warn); }
.field input, .field textarea, .field select {
  width: 100%; padding: .85rem .9rem; font: inherit; font-size: 1rem; color: var(--asphalt);
  background: #fff; border: 2px solid var(--slab-3); border-radius: 0; transition: border-color .15s;
}
.field input:focus, .field textarea:focus { border-color: var(--asphalt); outline: none; box-shadow: 0 0 0 3px rgb(243 182 31 / .55); }
.field textarea { min-height: 7.5rem; resize: vertical; }
.field [aria-invalid="true"] { border-color: var(--warn); }
.field .err { color: var(--warn); font-size: .88rem; font-weight: 600; min-height: 0; }
fieldset.field { border: 0; padding: 0; margin: 0 0 1.2rem; min-width: 0; }
fieldset.field legend { margin-bottom: .55rem; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span {
  display: block; padding: .55rem .8rem .5rem; border: 2px solid var(--slab-3); background: #fff;
  font-family: var(--f-body); font-weight: 600; font-size: .92rem; letter-spacing: 0; text-transform: none;
  transition: background-color .15s, border-color .15s, color .15s;
}
.chip:hover span { border-color: var(--asphalt); }
.chip input:checked + span { background: var(--asphalt); border-color: var(--asphalt); color: var(--paint); }
.chip input:focus-visible + span { outline: 3px solid var(--asphalt); outline-offset: 2px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.6rem; }
.form-foot p { margin: 0; font-size: .88rem; color: var(--rebar); max-width: 34ch; }
.form-status { margin-top: 1.2rem; padding: 1rem 1.1rem; font-weight: 600; }
.form-status[data-state="ok"] { background: var(--asphalt); color: var(--paint); }
.form-status[data-state="error"] { background: #f6ded9; color: #7d1d16; }
.areas { columns: 3 200px; column-gap: 2rem; list-style: none; padding: 0; margin: 0; }
.areas li { break-inside: avoid; padding: .6rem 0; border-bottom: 1px solid var(--slab-3); font-family: var(--f-head); font-weight: 700; font-size: 1.3rem; text-transform: uppercase; letter-spacing: .03em; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { position: relative; overflow: hidden; padding-top: clamp(4rem, 8vw, 6.5rem); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 1.5rem 3rem; padding-bottom: clamp(3rem, 6vw, 4.5rem); border-bottom: 1px solid var(--asphalt-3); }
.footer-top .eyebrow { margin-bottom: .8rem; }
.footer-phone { display: block; font-family: var(--f-display); font-weight: 900; font-size: clamp(3rem, 9vw, 8rem); line-height: .85; text-decoration: none; letter-spacing: .005em; transition: color .2s; }
.footer-phone:hover { color: var(--brand); }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem 2rem; padding-block: 3rem; }
.footer-h { font-family: var(--f-mono); font-size: var(--fs-label); font-weight: 500; letter-spacing: .12em; line-height: 1.5; color: var(--dust); margin-bottom: 1.1rem; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer-list a { text-decoration: none; }
.footer-list a:hover { color: var(--brand); }
.footer-grid p { font-size: .95rem; color: #d0d1cd; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem 2rem; padding: 1.4rem 0 2rem; border-top: 1px solid var(--asphalt-3); font-size: .85rem; color: var(--dust); }
.footer-bottom a { color: var(--paint); text-underline-offset: .2em; }
.footer-id { display: flex; align-items: center; gap: .7rem; }
.footer-badge { width: 40px; height: 40px; flex: none; }
.footer-mark {
  font-family: var(--f-stencil); font-weight: 900; line-height: .72; text-transform: uppercase;
  font-size: clamp(8rem, 36.5vw, 34rem); letter-spacing: -.01em; color: var(--asphalt-2);
  margin: 0 0 -.1em -.03em; white-space: nowrap; user-select: none; pointer-events: none;
}
@media (max-width: 860px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- mobile action bar ---------- */
.action-bar { display: none; }
@media (max-width: 760px) {
  .action-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 58;
    display: grid; grid-template-columns: 1fr 1fr;
    padding: .55rem .55rem calc(.55rem + env(safe-area-inset-bottom)); gap: .55rem;
    background: var(--asphalt); transition: transform .35s var(--ease-out);
  }
  .action-bar .btn { min-height: 3rem; }
  .action-bar .btn--line { color: var(--paint); }
  .action-bar.is-hidden { transform: translateY(110%); }
  body { padding-bottom: calc(4.1rem + env(safe-area-inset-bottom)); }
}

/* ---------- scroll reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="slam"] { transform: translateY(-22px) scaleY(1.05); transition: opacity .35s, transform .55s var(--ease-slam); }
.js [data-reveal="slam"].is-in { transform: none; }

/* ---------- page transitions (Chrome/Edge 126+, Safari 18.2+) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-sink .34s cubic-bezier(.55, 0, 1, .45) both; }
::view-transition-new(root) { animation: vt-lift .55s var(--ease-out) both; }
@keyframes vt-sink { to { opacity: 0; transform: translateY(4vh) scale(.985); } }
@keyframes vt-lift { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .hero-title .line, .js .hero-lead, .js .hero-actions, .js .hero .eyebrow, .js [data-reveal] { opacity: 1; transform: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
