/* Dover Dumpster home: hero + the 4 looping "how it goes" scenes (drop-off, fill, pickup, dump).
   Each scene is a stage of pre-rendered layers (assets/scenes) moved by js/scenes.js with the Web Animations API
   (transform + opacity only). Nothing pins or hijacks scrolling. Phones: one square box per scene (the stage's
   middle); 700px+: the whole 1200 x 880 stage. Desktop: the hero words stay beside the scenes as they scroll by. */

.hero2 { position: relative; overflow: clip; background: #0B0C0D; color: #F4F5F6; padding: clamp(22px, 6vw, 56px) 0 clamp(36px, 8vw, 80px); }
.hero2::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(70% 50% at 80% 0%, rgba(255, 90, 31, .18), transparent 70%), radial-gradient(60% 50% at 0% 100%, rgba(255, 255, 255, .05), transparent 70%); }
.hero2-grid { position: relative; display: grid; gap: 26px; }
.hero2 h1 { font-size: clamp(2.1rem, 9.2vw, 4.4rem); font-stretch: 112%; line-height: .95; letter-spacing: -.035em; }
.hero2 h1 .kick { display: flex; margin-bottom: 14px; color: #FF8A5C; font-family: var(--mono); font-stretch: 100%; font-size: 12.5px; letter-spacing: .12em; line-height: 1.3; }
.hero2 h1 .hv-word { color: var(--hv); }
.hero2 .sub { margin: 14px 0 0; color: var(--silver); font-size: clamp(1.02rem, 4.1vw, 1.2rem); max-width: 40ch; text-wrap: pretty; }
.hero2 .prices2 { display: flex; gap: 10px; margin-top: 18px; max-width: 520px; }
.hero2 .prices2 a { flex: 1 1 0; padding: 10px 14px 12px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); text-decoration: none; }
.hero2 .prices2 small { display: block; font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--silver); }
.hero2 .prices2 b { display: block; font-family: var(--display); font-stretch: 112%; font-weight: 900; font-size: clamp(1.7rem, 7.4vw, 2.3rem); letter-spacing: -.03em; line-height: 1.05; color: #fff; }
.hero2 .btn-row { margin-top: 16px; max-width: 520px; }
.hero2 .btn-row .btn { flex: 1 1 0; white-space: nowrap; padding: 12px; gap: 8px; }
.hero2 .btn-glass { background: rgba(14, 15, 16, .92); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* ---------- the scenes ---------- */
.scenes-h { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-family: var(--mono); font-stretch: 100%; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; line-height: 1.3; text-transform: uppercase; color: #FF8A5C; }
.scenes-h .dot { width: 8px; height: 8px; margin-left: 4px; border-radius: 50%; background: var(--hv); box-shadow: 0 0 0 4px rgba(255, 90, 31, .22); }
.scenes { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.scene { margin: 0; min-width: 0; }
.scene-box { position: relative; aspect-ratio: 1 / 1; border-radius: 20px; overflow: hidden; isolation: isolate; background: #1b2a38;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 22px 44px -24px rgba(0, 0, 0, .85); }
/* The stage is the whole 1200 x 880 scene. Phones and tablets frame part of it (zoom --z, left edge --x0 and top
   edge --y0, in stage units) so the truck and dumpster read big; 1000px+ shows all of it. */
.scene-stage { --z: 1.1; --x0: 200; --y0: 80; position: absolute; left: 0; top: calc(-100% * var(--z) * var(--y0) / 880); height: calc(100% * var(--z));
  aspect-ratio: 1200 / 880; transform: translateX(calc(-100% * var(--x0) / 1200)); overflow: hidden;
  background: linear-gradient(180deg, #2f74b8 0%, #5f9fd6 26%, #8fc0e8 52%, #cfe6f5 76%, #e6f1f7 100%); }
.scene[data-scene="s2"] .scene-stage { --z: 1.22; --x0: 70; --y0: 112; }
.scene[data-scene="s4"] .scene-stage { --z: 1.2; --x0: 200; --y0: 147; }
.scene-bg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; }
.scene-layer { position: absolute; left: 0; top: 0; width: 1200px; height: 880px; transform-origin: 0 0; pointer-events: none; }
.scene-layer img, .cloud-band { position: absolute; left: 0; top: 0; max-width: none; transform-origin: 0 0; user-select: none; -webkit-user-select: none; }

.scene-world { opacity: 0; transition: opacity .5s ease; }
.scene-sky { opacity: 0; transition: opacity .8s ease; }
.scene.is-live .scene-world, .scene.is-live .scene-sky { opacity: 1; }
.scene-dip { position: absolute; left: 0; top: 0; width: 1200px; height: 880px; background: #0B0C0D; opacity: 0; }
.scene-num { position: absolute; left: 12px; top: 12px; z-index: 3; padding: 5px 9px 4px; border-radius: 9px; background: rgba(11, 12, 13, .78);
  font-family: var(--display); font-stretch: 112%; font-weight: 900; font-size: 15px; letter-spacing: -.01em; line-height: 1; color: #fff; }
.scene-num::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border-radius: 50%; background: var(--hv); vertical-align: 2px; }
.scene h3 { margin: 12px 0 0; font-family: var(--display); font-stretch: 112%; font-weight: 900; font-size: clamp(1.25rem, 5.6vw, 1.55rem); letter-spacing: -.02em; line-height: 1.05; color: #fff; }
.scene p { margin: 5px 0 0; color: var(--silver); font-size: 1rem; line-height: 1.45; max-width: 46ch; text-wrap: pretty; }

@media (min-width: 700px) {
  .scenes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 22px; }
}
@media (min-width: 1000px) {
  .hero2-grid { grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); align-items: start; gap: 48px; }
  .hero2-copy { position: sticky; top: calc(var(--head-h) + 40px); padding-top: 18px; }
  .scenes-col { padding-top: 18px; }
  .hero2 h1 { font-size: clamp(2.8rem, 4.3vw, 3.9rem); }
  .scenes { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .scene-box { aspect-ratio: 1200 / 880; }
  .scene .scene-stage, .scene[data-scene] .scene-stage { --z: 1; --x0: 0; --y0: 0; }
}
/* short laptop windows: keep the whole hero column (and its Call / Text buttons) on screen while it's stuck */
@media (min-width: 1000px) and (max-height: 820px) {
  .hero2-copy { top: calc(var(--head-h) + 16px); padding-top: 0; }
  .scenes-col { padding-top: 0; }
  .hero2 h1 { font-size: clamp(2.2rem, min(6.6vh, 4.3vw), 3.9rem); }
}
@media (min-width: 1000px) and (max-height: 600px) { .hero2-copy { position: static; } }
.hero2 .prices2 i { display: block; margin-top: 4px; font-style: normal; font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .08em; color: #FF8A5C; }
