/* Clearbay Junk Removal (demo). Palette: asphalt-dark night, driveway concrete white and one
   signal orange (the crew's color); donated green, recycled blue and landfill gray for the sort. */
:root {
  --deep: #0F1113;
  --navy: #141619;
  --slate: #1C1F23;
  --slate-2: #24282D;
  --ice: #FF6A2C;
  --ice-2: #FFA36E;
  --warm: #E9A35C;
  --warm-2: #F5C48A;
  --cream: #F5F3EF;
  --frost: #F2F0EB;
  --ink: #15181B;
  --ink-soft: #60656B;
  --light-soft: rgba(245, 243, 239, .7);
  --line-dark: rgba(245, 243, 239, .11);
  --line-light: rgba(21, 24, 27, .1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--navy); color: var(--cream); font: 400 17px/1.55 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -.024em; line-height: 1.05; }
p { margin: 0; }
em { font-style: normal; color: var(--ice-2); }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute; left: -9999px; top: 0; }
.visually-hidden:focus { left: 12px; top: 12px; z-index: 100; background: var(--cream); color: var(--ink); padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--ice-2); outline-offset: 3px; }

.eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ice-2); margin-bottom: 14px; }
.section--light .eyebrow { color: #D4521A; }
.h2 { font-size: clamp(34px, 5vw, 60px); }
.section--light .h2 em { color: #D4521A; }
.lede { font-size: clamp(17px, 1.6vw, 19px); color: var(--light-soft); max-width: 46ch; }
.section--light .lede { color: var(--ink-soft); }
.note { margin-top: 22px; font-size: 13px; color: rgba(245, 243, 239, .5); }
.note--dark { color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 52px; padding: 0 24px; border-radius: 999px; border: 0; font: 650 15.5px/1 var(--font); letter-spacing: -.005em; text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn--sm { height: 42px; padding: 0 17px; font-size: 14px; }
.btn--accent { background: linear-gradient(180deg, #FF8A4C, var(--ice)); color: #fff; box-shadow: 0 8px 24px -10px rgba(255, 106, 44, .85); }
.btn--accent:hover { box-shadow: 0 12px 30px -10px rgba(255, 106, 44, 1); }
.btn--warm { background: linear-gradient(180deg, var(--warm-2), var(--warm)); color: #2a1100; box-shadow: 0 8px 24px -10px rgba(255, 138, 61, .85); }
.btn--warm:hover { box-shadow: 0 12px 30px -10px rgba(255, 138, 61, 1); }
.btn--lg { height: 58px; padding: 0 28px; font-size: 17px; }
.btn--glass { background: rgba(15, 17, 19, .42); color: var(--cream); box-shadow: inset 0 0 0 1px rgba(245, 243, 239, .3); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn--ghost { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 1px rgba(245, 243, 239, .35); }

/* ---------- Header (big logo) ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .35s, box-shadow .35s, backdrop-filter .35s; }
.site-header.is-solid { background: rgba(20, 22, 25, .8); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); box-shadow: 0 1px 0 var(--line-dark); }
.bar { display: flex; align-items: center; gap: 24px; height: 80px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; font-size: 24px; letter-spacing: -.03em; line-height: 1; }
.logo img { width: 52px; height: 52px; }
.logo small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--ice-2); margin-top: 5px; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 14.5px; font-weight: 500; color: rgba(245, 243, 239, .82); transition: color .2s; }
.nav a:hover { color: var(--cream); }
.actions { display: flex; gap: 10px; }
@media (max-width: 1080px) { .nav { display: none; } .actions { margin-left: auto; } }
@media (max-width: 600px) { .header-call { display: none; } .bar { height: 66px; gap: 12px; } .logo { font-size: 21px; gap: 10px; } .logo img { width: 42px; height: 42px; } .logo small { font-size: 10px; } .actions .btn--sm { height: 40px; padding: 0 14px; font-size: 13.5px; } }

/* ---------- Scroll film ---------- */
.film { position: relative; height: calc(var(--screens, 10) * 100vh); height: calc(var(--screens, 10) * 100svh); background: var(--deep); }
.film__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--deep) var(--empty) center / cover no-repeat; }
/* Phones/portrait: the house fills the top of the stage (the camera pans across it, see film.js)
   and the text sits on solid navy below, so it never covers what each chapter names. */
@media (max-aspect-ratio: 1/1) {
  .film__stage { --view: 64%; background: var(--deep); }
  .film__stage::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: var(--view); background: var(--empty-m, var(--empty)) center / cover no-repeat; }
}
.film__frames, .film__hd { position: absolute; inset: 0; width: 100%; height: 100%; }
.film__hd { object-fit: cover; }
.film__hd { opacity: 0; transition: opacity .35s; pointer-events: none; }
.film__hd.is-on { opacity: 1; }
.film__frames { opacity: 0; transition: opacity .4s; }
.film__frames.is-drawn { opacity: 1; }
.film__shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(15, 17, 19, .8) 0%, rgba(15, 17, 19, .42) 38%, rgba(15, 17, 19, 0) 64%),
              linear-gradient(0deg, rgba(15, 17, 19, .72) 0%, rgba(15, 17, 19, 0) 34%),
              linear-gradient(180deg, rgba(15, 17, 19, .6) 0%, rgba(15, 17, 19, 0) 20%); }
.film__loader { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ice); transform-origin: left; transform: scaleX(0); transition: transform .3s, opacity .6s .3s; }
.film__loader.is-done { opacity: 0; }

.film__hero { position: absolute; inset: 0; display: flex; align-items: center; padding-top: 70px; transform: translateY(var(--lift, 0)); }
.lockup { display: flex; align-items: center; gap: 18px; margin-bottom: 28px; font-weight: 800; font-size: clamp(40px, 5vw, 64px); letter-spacing: -.035em; line-height: .9; text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
.lockup img { width: clamp(84px, 9vw, 120px); height: auto; filter: drop-shadow(0 8px 24px rgba(0, 0, 0, .45)); }
.lockup small { display: block; margin-top: 8px; font-size: .27em; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--ice-2); }
.film__title { font-size: clamp(42px, 6.6vw, 92px); letter-spacing: -.035em; line-height: .98; max-width: 12ch; text-wrap: balance; text-shadow: 0 2px 30px rgba(0, 0, 0, .35); }
.film__title em { display: block; color: #FF7A3D; }
.film__sub { display: flex; align-items: center; gap: 12px; margin-top: 22px; font-size: clamp(16px, 1.5vw, 19px); color: rgba(245, 243, 239, .86); max-width: 42ch; }
.pulse { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--ice-2); box-shadow: 0 0 0 0 rgba(255, 163, 110, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(255, 163, 110, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 163, 110, 0); } }
@media (prefers-reduced-motion: reduce) { .pulse { animation: none; } }
.film__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.film__chapter { position: absolute; left: 0; right: 0; bottom: clamp(28px, 7vh, 72px); opacity: 0; pointer-events: none; }
.film__meta { display: flex; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ice-2); transition: opacity .26s, transform .26s var(--ease); }
.film__text { margin-top: 10px; font-size: clamp(22px, 2.6vw, 34px); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; max-width: 22ch; transition: opacity .26s, transform .26s var(--ease); text-shadow: 0 2px 24px rgba(0, 0, 0, .45); }
.film__chapter.is-switching .film__text, .film__chapter.is-switching .film__meta { opacity: 0; transform: translateY(6px); }
.film__progress { display: flex; gap: 6px; margin-top: 20px; max-width: 420px; }
.film__progress span { flex: 1; height: 3px; border-radius: 3px; background: rgba(245, 243, 239, .2); overflow: hidden; }
.film__progress i { display: block; height: 100%; background: var(--ice-2); transform-origin: left; transform: scaleX(0); }
.film__note { margin-top: 12px; font-size: 12px; color: rgba(245, 243, 239, .5); }

.film__reveal { position: absolute; inset: 0; display: flex; align-items: flex-end; padding-bottom: clamp(36px, 9vh, 96px); opacity: 0; visibility: hidden; background: linear-gradient(0deg, rgba(15, 17, 19, .88) 0%, rgba(15, 17, 19, .3) 42%, rgba(15, 17, 19, 0) 64%); }
.film__reveal h2 { font-size: clamp(38px, 5.6vw, 76px); letter-spacing: -.03em; }
.film__reveal h2 em { display: block; }
.film__reveal p.body { margin-top: 18px; color: rgba(245, 243, 239, .84); max-width: 52ch; font-size: clamp(16px, 1.4vw, 18px); }
.film__reveal .film__ctas { margin-top: 26px; }

.film__hint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: rgba(245, 243, 239, .72); transition: opacity .4s; padding-bottom: 34px; }
.film__hint::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 26px; background: linear-gradient(var(--ice-2), transparent); animation: hint 1.8s infinite var(--ease); }
@keyframes hint { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

@media (max-aspect-ratio: 1/1) {
  .film__frames, .film__hd { height: var(--view); }
  .film__shade { background: linear-gradient(0deg, var(--deep) 0%, var(--deep) 35.5%, rgba(15, 17, 19, .7) 40%, rgba(15, 17, 19, 0) 50%), linear-gradient(180deg, rgba(15, 17, 19, .65) 0%, rgba(15, 17, 19, 0) 22%); }
  .film__hero { align-items: flex-end; padding-bottom: 40px; }
  .lockup { font-size: 40px; gap: 14px; margin-bottom: 20px; }
  .lockup img { width: 72px; }
  .film__title { font-size: clamp(38px, 10.5vw, 60px); }
  .film__hero .film__sub { display: none; }
  .film__ctas { margin-top: 22px; }
  .film__chapter { bottom: 92px; }
  .film__reveal { padding-bottom: 96px; }
  .film__hint { display: none; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; }
.section--tight { padding-top: 0; }
.section--dark { background: var(--deep); }
.section--navy { background: var(--navy); }
.section--light { background: var(--frost); color: var(--ink); }
.head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px 60px; align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
@media (max-width: 860px) { .head { grid-template-columns: 1fr; } }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service { background: var(--slate); border-radius: var(--radius); padding: 28px 26px 26px; box-shadow: inset 0 0 0 1px var(--line-dark); display: flex; flex-direction: column; min-height: 250px; }
.service__num { font-size: 13px; font-weight: 700; color: var(--ice-2); letter-spacing: .1em; }
.service h3 { font-size: 23px; margin-top: 18px; }
.service p { margin-top: 10px; color: var(--light-soft); font-size: 16px; }
.service__meta { margin-top: auto; padding-top: 22px; font-size: 13px; font-weight: 700; color: var(--ice-2); }
@media (max-width: 900px) { .services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .services { grid-template-columns: 1fr; } .service { min-height: 0; } }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review { margin: 0; background: #fff; border-radius: var(--radius); padding: 30px 28px; box-shadow: 0 1px 0 var(--line-light), 0 20px 40px -30px rgba(20, 22, 25, .35); display: flex; flex-direction: column; }
.review__stars { color: #e39a2d; letter-spacing: 3px; font-size: 16px; }
.review blockquote { margin: 16px 0 0; font-size: 18px; line-height: 1.5; letter-spacing: -.01em; }
.review figcaption { margin-top: auto; padding-top: 24px; font-size: 14px; color: var(--ink-soft); }
.review figcaption b { display: block; color: var(--ink); font-weight: 700; }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 860px; }
.faq details { border-top: 1px solid var(--line-light); }
.faq details:last-child { border-bottom: 1px solid var(--line-light); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-size: 19px; font-weight: 650; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 24px; line-height: 1; color: #D4521A; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--ink-soft); max-width: 66ch; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px 72px; align-items: start; }
.contact__info { display: grid; gap: 14px; margin-top: 30px; }
.contact__info a, .contact__info div { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--light-soft); font-size: 16px; }
.contact__info svg { width: 20px; height: 20px; color: var(--ice-2); flex: none; }
.contact__info a span { color: var(--cream); font-weight: 600; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.form { position: relative; background: var(--slate); border-radius: 22px; padding: clamp(22px, 3vw, 36px); box-shadow: inset 0 0 0 1px var(--line-dark); display: grid; gap: 16px; }
.row { display: grid; gap: 16px; }
.row--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .row--2 { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; min-width: 0; }
.field label { font-size: 13.5px; font-weight: 600; color: rgba(245, 243, 239, .82); }
.field input, .field select, .field textarea { width: 100%; min-width: 0; font: inherit; font-size: 16px; color: var(--cream); background: var(--deep); border: 1px solid rgba(245, 243, 239, .16); border-radius: 12px; padding: 13px 14px; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ice); box-shadow: 0 0 0 3px rgba(255, 106, 44, .25); }
.field input:user-invalid { border-color: #d65b4f; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 4px; }
.form__foot small { color: rgba(245, 243, 239, .5); font-size: 12.5px; }
.form__ok { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 10px; padding: 30px; border-radius: inherit; background: var(--slate); opacity: 0; visibility: hidden; transition: opacity .4s; }
.form__ok:focus { outline: none; }
.form__ok .check { width: 56px; height: 56px; margin: 0 auto 6px; border-radius: 50%; display: grid; place-items: center; background: var(--ice); color: #fff; }
.form__ok .check svg { width: 28px; height: 28px; }
.form__ok h3 { font-size: 24px; }
.form__ok p { color: var(--light-soft); }
.form.is-sent .form__ok { opacity: 1; visibility: visible; }

/* Footer + phone action bar */
.site-footer { background: #0A0B0D; padding: 56px 0 calc(40px + env(safe-area-inset-bottom)); color: var(--light-soft); font-size: 14.5px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; padding-bottom: 32px; border-bottom: 1px solid var(--line-dark); }
.foot p { margin-top: 14px; }
.foot a { text-decoration: none; }
.foot .logo { color: var(--cream); }
.foot__cols { display: flex; flex-wrap: wrap; gap: 48px; }
.foot__cols b { display: block; color: var(--cream); margin-bottom: 8px; font-weight: 650; }
.foot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 22px; font-size: 12.5px; color: rgba(245, 243, 239, .45); }
.action-bar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40; display: none; gap: 10px; padding: 8px; border-radius: 999px; background: rgba(15, 17, 19, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 10px 30px rgba(0, 0, 0, .45), inset 0 0 0 1px var(--line-dark); transform: translateY(140%); transition: transform .4s var(--ease); }
.action-bar .btn { flex: 1; height: 46px; }
.action-bar.is-visible { transform: none; }
@media (max-width: 700px) { .action-bar { display: flex; } }


/* ---------- Clearbay additions ---------- */

.film__reveal { background: linear-gradient(0deg, rgba(15, 17, 19, .9) 0%, rgba(15, 17, 19, .35) 40%, rgba(15, 17, 19, 0) 62%); transition: background .6s; }
.film__reveal .eyebrow, .film__reveal h2, .film__reveal p.body { transition: opacity .5s var(--ease), transform .5s var(--ease); }
.film__reveal.is-xray { background: linear-gradient(0deg, rgba(15, 17, 19, .55) 0%, rgba(15, 17, 19, 0) 22%); }
.film__reveal.is-xray .eyebrow, .film__reveal.is-xray h2, .film__reveal.is-xray p.body { opacity: 0; transform: translateY(12px); pointer-events: none; }


/* On-site timeline */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 19px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--warm), var(--ice)); }
.timeline li { position: relative; padding-top: 48px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 10px; width: 21px; height: 21px; border-radius: 50%; background: var(--frost); box-shadow: inset 0 0 0 4px #D4521A; }
.timeline__day { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #D4521A; }
.timeline h3 { font-size: 20px; margin-top: 8px; }
.timeline p { margin-top: 8px; font-size: 15px; color: var(--ink-soft); }
@media (max-width: 900px) { .timeline { grid-template-columns: 1fr; gap: 6px; padding-left: 34px; } .timeline::before { left: 9px; right: auto; top: 0; bottom: 0; width: 3px; height: auto; background: linear-gradient(180deg, var(--warm), var(--ice)); } .timeline li { padding: 4px 0 18px; } .timeline li::before { left: -34px; top: 4px; } }

.field input[type="file"] { padding: 10px; font-size: 14px; color: var(--light-soft); }
.field input[type="file"]::file-selector-button { margin-right: 12px; padding: 8px 14px; border: 0; border-radius: 999px; background: var(--slate-2); color: var(--cream); font: 600 13px/1 var(--font); cursor: pointer; }
@media (max-aspect-ratio: 1/1) {
  .film__reveal { background: linear-gradient(0deg, var(--deep) 0%, var(--deep) 36%, rgba(15, 17, 19, .75) 42%, rgba(15, 17, 19, 0) 52%); }
  .film__reveal h2 { font-size: clamp(30px, 8.6vw, 44px); }
  .film__reveal p.body { font-size: 15px; margin-top: 12px; }
  .film__reveal.is-xray { background: linear-gradient(0deg, var(--deep) 0%, var(--deep) 36%, rgba(15, 17, 19, 0) 37%); }
}
@media (max-aspect-ratio: 1/1) and (max-width: 700px) {
  .film__reveal .btn--glass { display: none; } /* the phone action bar already has "Get a bid" */
  .film__reveal h2 { font-size: clamp(28px, 7.8vw, 40px); }
  .film__reveal .film__ctas { margin-top: 18px; }
}

/* ---------- Sort colors ---------- */
:root { --donate: #3FCB7A; --recycle: #4FA3FF; --landfill: #8C9298; }

/* Load counter on the film: lbs hauled, truck fill, where it went (main.js) */
.counter { position: absolute; right: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); top: 108px; z-index: 3; width: 248px; padding: 16px 18px 14px; border-radius: 20px; opacity: 0; visibility: hidden; pointer-events: none;
  background: rgba(15, 17, 19, .62); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); box-shadow: inset 0 0 0 1px rgba(245, 243, 239, .12); display: grid; gap: 12px; }
.counter__lbs b { display: block; font-size: 40px; font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--cream); font-variant-numeric: tabular-nums; }
.counter__lbs span, .counter__truck > span { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(245, 243, 239, .6); }
.counter__truck { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; }
.counter__truck b { font-size: 14px; font-weight: 750; color: var(--ice-2); min-width: 3.2ch; text-align: right; font-variant-numeric: tabular-nums; }
.gauge { display: grid; grid-template-columns: repeat(8, 1fr); gap: 3px; }
.gauge i { position: relative; height: 10px; border-radius: 3px; background: rgba(245, 243, 239, .14); overflow: hidden; --f: 0; }
.gauge i::before { content: ""; position: absolute; inset: 0; background: var(--ice); transform-origin: left; transform: scaleX(var(--f)); transition: transform .25s; }
.split { display: flex; height: 8px; border-radius: 8px; overflow: hidden; background: rgba(245, 243, 239, .1); }
.split i { display: block; height: 100%; width: 0; }
.split__d { background: var(--donate); } .split__r { background: var(--recycle); } .split__l { background: var(--landfill); }
.split__keys { margin: -4px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.split__keys div { margin: 0; }
.split__keys dt { font-size: 11px; font-weight: 650; color: rgba(245, 243, 239, .6); display: flex; align-items: center; gap: 5px; }
.split__keys dt::before { content: ""; width: 7px; height: 7px; border-radius: 50%; }
.k-d::before { background: var(--donate); } .k-r::before { background: var(--recycle); } .k-l::before { background: var(--landfill); }
.split__keys dd { margin: 2px 0 0; font-size: 15px; font-weight: 700; color: var(--cream); font-variant-numeric: tabular-nums; }
@media (max-aspect-ratio: 1/1) {
  .counter { top: auto; bottom: calc(36% + 12px); right: 12px; left: 12px; width: auto; grid-template-columns: auto 1fr; padding: 10px 14px; gap: 6px 14px; align-items: center; }
  .counter__lbs b { font-size: 26px; }
  .counter__lbs span { font-size: 9.5px; }
  .counter__truck { gap: 8px; }
  .split, .split__keys { grid-column: 1 / -1; }
  .split__keys dd { font-size: 13px; }
}

/* "Show me the before": the packed garage wiped back over the final frame, drag to compare */
.before { position: absolute; left: 0; top: 0; width: 0; height: 0; z-index: 2; visibility: hidden; pointer-events: none; --cut: 0%; touch-action: pan-y; outline: none; }
.before img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(0 calc(100% - var(--cut)) 0 0); }
.before.is-on { pointer-events: auto; cursor: ew-resize; }
.before__line { position: absolute; top: 0; bottom: 0; left: var(--cut); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 18px rgba(0, 0, 0, .5); opacity: 0; transition: opacity .3s; }
.before__line i { position: absolute; left: 50%; top: 42%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background-color: #fff; box-shadow: 0 6px 20px rgba(0, 0, 0, .45);
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%2315181B%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22m9 7-5 5 5 5M15 7l5 5-5 5%22/%3E%3C/svg%3E"); background-size: 24px; background-position: center; background-repeat: no-repeat; transition: transform .2s; }
.before.is-drag .before__line i { transform: scale(1.12); }
.before__tag { position: absolute; top: calc(var(--oy, 0px) + 92px); padding: 7px 13px; border-radius: 999px; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--cream); background: rgba(15, 17, 19, .6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; transition: opacity .4s; }
.before__tag--b { left: calc(var(--ox, 0px) + 18px); } .before__tag--a { right: calc(var(--orx, 0px) + 18px); }
.before.is-on .before__line, .before.is-on .before__tag { opacity: 1; }
@media (max-aspect-ratio: 1/1) { .before__tag { top: calc(var(--oy, 0px) + 72px); } }
.film__reveal { z-index: 3; }
.film__reveal.is-xray { pointer-events: none; }
.film__reveal.is-xray .film__ctas { pointer-events: auto; }
.swap-ico { width: 18px; height: 18px; flex: none; border-radius: 4px; box-shadow: inset 0 0 0 1.6px currentColor; background: linear-gradient(90deg, currentColor 50%, transparent 50%); }
[aria-pressed="true"] .swap-ico { background: linear-gradient(90deg, transparent 50%, currentColor 50%); }

/* ---------- Fill the truck ---------- */
.loader { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; align-items: start; }
.loader__stage { position: sticky; top: 88px; padding: clamp(20px, 3vw, 36px) clamp(16px, 3vw, 36px) 26px; border-radius: 24px; background: radial-gradient(120% 90% at 50% 0%, rgba(255, 106, 44, .12), rgba(255, 106, 44, 0) 60%), var(--slate); box-shadow: inset 0 0 0 1px var(--line-dark); }
.truck { position: relative; display: flex; align-items: flex-end; padding-bottom: 7%; }
.truck__cab { flex: 0 0 19%; align-self: stretch; display: flex; align-items: flex-end; }
.truck__cab svg { width: 100%; height: 72%; display: block; }
.truck__box { position: relative; flex: 1; aspect-ratio: 2 / 1; border-radius: 6px 10px 4px 4px; margin-left: 1.5%;
  background: linear-gradient(rgba(245, 243, 239, .06) 1px, transparent 1px) 0 0 / 100% 12.5%, linear-gradient(90deg, rgba(245, 243, 239, .06) 1px, transparent 1px) 0 0 / 6.25% 100%, rgba(15, 17, 19, .7);
  box-shadow: inset 0 0 0 2px rgba(245, 243, 239, .28), 0 0 0 4px #262A2F; }
.truck__box::after { content: ""; position: absolute; left: -4px; right: -4px; bottom: -14px; height: 10px; border-radius: 3px; background: #262A2F; }
.truck__wheel { position: absolute; bottom: 0; width: 9.5%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #9aa0a6 0 22%, #15181B 24% 58%, #2b2f34 60%); box-shadow: 0 0 0 3px #0F1113; }
.truck__wheel--1 { left: 5%; } .truck__wheel--2 { left: 58%; } .truck__wheel--3 { left: 71%; }
.truck__empty[hidden] { display: none; }
.truck__empty { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; font-size: 15px; line-height: 1.4; color: rgba(245, 243, 239, .5); }
.load { position: absolute; display: flex; align-items: center; justify-content: center; gap: 6px; overflow: hidden; padding: 2px; border: 0; background: none; cursor: pointer; transition: left .35s var(--ease), bottom .35s var(--ease); font: inherit; color: var(--cream); }
.load::before { content: ""; position: absolute; inset: 2px; border-radius: 6px; background: var(--c); opacity: .22; transition: opacity .2s; }
.load::after { content: ""; position: absolute; inset: 2px; border-radius: 6px; box-shadow: inset 0 0 0 1.5px var(--c); }
.load:hover::before { opacity: .38; }
.load > * { position: relative; }
.load svg { width: clamp(14px, 1.8vw, 22px); height: clamp(14px, 1.8vw, 22px); flex: none; color: var(--c); }
.load span { font-size: clamp(10px, 1vw, 13px); font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.load--sm span { display: none; }
.load--donate { --c: var(--donate); } .load--recycle { --c: var(--recycle); } .load--landfill { --c: var(--landfill); }
.gauge--lg { margin-top: 26px; gap: 4px; }
.gauge--lg i { height: auto; background: none; overflow: visible; }
.gauge--lg i::before { position: static; display: block; height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--ice) calc(var(--f) * 100%), rgba(245, 243, 239, .12) calc(var(--f) * 100%)); transform: none; }
.gauge--lg span { display: block; margin-top: 7px; font-size: 11.5px; font-weight: 650; font-style: normal; color: rgba(245, 243, 239, .5); text-align: center; }
.loader__over { margin-top: 14px; padding: 10px 14px; border-radius: 12px; font-size: 14px; color: var(--warm-2); background: rgba(233, 163, 92, .1); }
.loader__side { display: grid; gap: 20px; }
.loader__pick, .loader__result { padding: clamp(20px, 2.6vw, 30px); border-radius: 24px; background: var(--slate); box-shadow: inset 0 0 0 1px var(--line-dark); }
.loader .k { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ice-2); margin: 0 0 10px; }
.loader__pick .k:not(:first-child) { margin-top: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px 0 6px; border: 0; border-radius: 999px; background: rgba(245, 243, 239, .06); color: var(--cream); font: 600 14.5px/1 var(--font); cursor: pointer; box-shadow: inset 0 0 0 1px var(--line-dark); transition: background .2s, transform .15s, box-shadow .2s; }
.chip:hover { background: rgba(245, 243, 239, .1); }
.chip:active { transform: scale(.96); }
.chip.is-on { box-shadow: inset 0 0 0 1.5px var(--ice); }
.chip__ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; }
.chip__ico svg { width: 17px; height: 17px; }
.chip__ico--donate { color: var(--donate); background: rgba(63, 203, 122, .14); }
.chip__ico--recycle { color: var(--recycle); background: rgba(79, 163, 255, .14); }
.chip__ico--landfill { color: var(--landfill); background: rgba(140, 146, 152, .16); }
.chip__n { font-size: 13px; color: var(--ice-2); }
.chip__n:empty { display: none; }
.loader__tools { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 22px; }
.link { padding: 0; border: 0; background: none; color: var(--ice-2); font: 650 14.5px/1.3 var(--font); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.link + .link { color: rgba(245, 243, 239, .55); }
.loader__result { background: radial-gradient(120% 120% at 100% 0%, rgba(255, 106, 44, .22), rgba(255, 106, 44, 0) 60%), var(--navy); }
.loader__price { font-size: clamp(32px, 3.6vw, 46px); font-weight: 800; letter-spacing: -.04em; line-height: 1.05; margin-bottom: 18px; font-variant-numeric: tabular-nums; }
.loader__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.loader__stats div { padding: 12px; border-radius: 14px; background: rgba(245, 243, 239, .05); box-shadow: inset 0 0 0 1px var(--line-dark); }
.loader__stats b { display: block; font-size: 21px; font-weight: 750; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.loader__stats span { font-size: 12px; line-height: 1.25; color: var(--light-soft); display: block; }
.loader__fees { font-size: 13.5px; color: var(--light-soft); margin-bottom: 12px; }
.loader__slot { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 650; margin-bottom: 18px; color: var(--donate); }
.loader__slot svg { width: 18px; height: 18px; }
@media (max-width: 960px) {
  .loader { grid-template-columns: 1fr; }
  .loader__stage { top: 64px; z-index: 5; padding: 14px 14px 12px; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line-dark), 0 18px 30px -18px rgba(0, 0, 0, .8); }
  .gauge--lg { margin-top: 14px; } .gauge--lg span { font-size: 10px; }
}
@media (max-width: 480px) { .loader__stats b { font-size: 18px; } .chip { height: 40px; font-size: 14px; } }

/* ---------- Where it goes ---------- */
.sortbar { display: flex; height: 54px; border-radius: 16px; overflow: hidden; margin-bottom: 18px; background: rgba(21, 24, 27, .06); }
.sortbar i { display: flex; align-items: center; padding-left: 16px; width: 0; font-style: normal; font-weight: 750; font-size: 16px; color: #fff; transition: width 1.2s var(--ease); }
.sortbar.is-in i { width: var(--w); }
.sortbar i:nth-child(2) { transition-delay: .15s; } .sortbar i:nth-child(3) { transition-delay: .3s; }
.sortbar__donate { background: #22A35E; } .sortbar__recycle { background: #2F7FD8; } .sortbar__landfill { background: #7A8087; }
.sorts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sort { background: #fff; border-radius: 22px; padding: 28px 26px 24px; display: flex; flex-direction: column; box-shadow: 0 1px 0 var(--line-light), 0 24px 48px -36px rgba(20, 22, 25, .45); }
.sort .sort__pct { font-size: 64px; font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.sort__pct small { font-size: .45em; letter-spacing: 0; margin-left: 2px; }
.sort--donate .sort__pct { color: #1E9455; } .sort--recycle .sort__pct { color: #2672C7; } .sort--landfill .sort__pct { color: #6B7178; }
.sort h3 { font-size: 24px; margin-top: 14px; color: var(--ink); }
.sort p { margin-top: 10px; color: var(--ink-soft); font-size: 16px; }
.sort__meta { margin-top: auto; padding-top: 20px; font-size: 13px; font-weight: 700; color: var(--ink-soft); }
@media (max-width: 900px) { .sorts { grid-template-columns: 1fr; } .sortbar { height: 46px; } .sortbar i { font-size: 14px; padding-left: 10px; } }

/* How it works sits on a dark section here */
.section--dark .timeline p { color: var(--light-soft); }
.section--dark .timeline__day { color: var(--ice-2); }
.section--dark .timeline li::before { background: var(--navy); box-shadow: inset 0 0 0 4px var(--ice); }
