/* ================================================================
   Serenity Lane Hauling — "valley calm meets weigh-station ticket"
   Fog #EDF1EA · Pine #14281D · Valley #37624A · Hi-Vis #FF6A2B
   Display: Bricolage Grotesque · Body: Archivo · Data: IBM Plex Mono
   ================================================================ */

:root {
  --fog: #E3EAE0;
  --fog-deep: #D2DDCF;
  --pine: #14281D;
  --pine-soft: #1E3A2B;
  --valley: #37624A;
  --steel: #55645B;
  --hivis: #FFCE1B;      /* brand yellow, from the trailer's real logo panels */
  --hivis-deep: #E8B400;
  --hivis-ink: #7A6200;  /* readable amber for yellow-tinted text on light bg */
  --paper: #FBFAF4;
  --display: "Big Shoulders", system-ui, sans-serif;
  --body: "Hanken Grotesk", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-card: 0 1px 2px rgba(20, 40, 29, 0.06), 0 8px 24px rgba(20, 40, 29, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }

html { color-scheme: light; }
body {
  font-family: var(--body);
  background: var(--fog);
  color: var(--pine);
  line-height: 1.6;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

a, button, input, label { touch-action: manipulation; }
h1, h2, h3 { text-wrap: balance; }
.mono { font-variant-numeric: tabular-nums; }

img, svg { max-width: 100%; display: block; }
a { color: inherit; }

/* Button-click spark chips, spawned by js/main.js */
#sparks { position: fixed; inset: 0; z-index: 500; pointer-events: none; }
#sparks span { position: absolute; display: block; will-change: transform, opacity; }

/* Watery section edges — soft static fade top/bottom, and --wash
   (set on scroll) dissolves a section away as it exits the viewport */
.hero, .dumpsters, .estimator, .reviews, .final-cta {
  --wash: 0;
  mask-image: linear-gradient(to bottom,
    transparent 0,
    #000 calc(28px + var(--wash) * 50%),
    #000 calc(100% - 28px),
    transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom,
    transparent 0,
    #000 calc(28px + var(--wash) * 50%),
    #000 calc(100% - 28px),
    transparent 100%);
}

/* Film grain over everything — keeps flat color fields from reading digital */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 999;
  pointer-events: none; opacity: 0.045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
}

.mono { font-family: var(--mono); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

.skip-link {
  position: absolute; top: -100%; left: 1rem; z-index: 100;
  background: var(--pine); color: var(--fog);
  padding: 0.6rem 1rem; border-radius: 0 0 8px 8px;
}
.skip-link:focus { top: 0; }

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

/* ---------------- Buttons ---------------- */
/* Buttons — chamfered steel-plate shape, cut corners like trailer gussets */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--display); font-weight: 700; font-size: 1.1rem;
  text-transform: uppercase; letter-spacing: 0.05em;
  padding: 0.85rem 1.7rem;
  text-decoration: none; border: none;
  position: relative; z-index: 0;
  clip-path: polygon(11px 0, calc(100% - 11px) 0, 100% 11px, 100% calc(100% - 11px), calc(100% - 11px) 100%, 11px 100%, 0 calc(100% - 11px), 0 11px);
  transition: transform 0.35s var(--ease), filter 0.35s var(--ease), background-color 0.35s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
/* clip-path clips outlines, so focus rings go inset */
.btn:focus-visible { outline: none; box-shadow: inset 0 0 0 3px currentColor; }

.btn-call {
  background: var(--hivis); color: var(--pine);
  filter: drop-shadow(0 4px 10px rgba(255, 206, 27, 0.35));
}
.btn-call:hover { background: var(--hivis-deep); filter: drop-shadow(0 7px 16px rgba(255, 206, 27, 0.45)); }
.btn-call svg { width: 1em; height: 1em; }

/* Ghost plates: outer layer = border color, ::before = inner fill */
.btn-ghost, .btn-ghost-light { padding: calc(0.85rem + 2px) calc(1.7rem + 2px); }
.btn-ghost::before, .btn-ghost-light::before {
  content: ""; position: absolute; inset: 2px; z-index: -1;
  clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px), 0 10px);
  transition: background-color 0.3s var(--ease);
}
.btn-ghost { background: var(--pine); color: var(--pine); }
.btn-ghost::before { background: var(--fog); }
.btn-ghost:hover::before { background: var(--fog-deep); }

.btn-ghost-light { background: rgba(237, 241, 234, 0.7); color: var(--fog); }
.btn-ghost-light::before { background: rgba(10, 26, 18, 0.55); }
.btn-ghost-light:hover::before { background: rgba(10, 26, 18, 0.75); }

.btn-lg { font-size: 1.0625rem; padding: 1rem 1.9rem; }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: clamp(0.8rem, 2vw, 2rem);
  padding: 0.9rem clamp(1.25rem, 4vw, 3rem);
  background: color-mix(in srgb, var(--fog) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(20, 40, 29, 0.08);
}

.wordmark { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; flex-shrink: 0; }
.wordmark-logo { height: 52px; width: auto; flex-shrink: 0; }
.ticket-logo { width: 58px; height: auto; }
.footer-logo {
  width: 150px; height: auto; margin-bottom: 0.9rem;
  background: #F4F7F1; padding: 0.7rem 0.9rem; border-radius: 10px;
}
.wordmark-text {
  font-family: var(--display); font-weight: 800;
  text-transform: uppercase; font-size: 1.35rem;
  line-height: 0.95; letter-spacing: 0.02em;
}
.wordmark-text em {
  display: block; font-style: normal; font-family: var(--mono);
  font-size: 0.6rem; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--valley);
}

.site-nav { display: flex; gap: 1.6rem; margin-left: auto; }
.site-nav a {
  text-decoration: none; font-weight: 500; font-size: 0.95rem; color: var(--steel);
  transition: color 0.25s var(--ease);
  position: relative;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -4px;
  height: 2px; background: var(--hivis);
  transition: right 0.3s var(--ease);
}
.site-nav a:hover { color: var(--pine); }
.site-nav a:hover::after { right: 0; }

.header-call { font-family: var(--mono); font-weight: 600; font-size: 0.95rem; }

.btn-share {
  background: var(--pine); color: var(--fog);
  font-size: 0.95rem; padding: 0.7rem 1.2rem;
  cursor: pointer; margin-left: auto;
}
.btn-share:hover { background: var(--pine-soft); }
.btn-share svg { width: 1em; height: 1em; }
.site-nav ~ .btn-share { margin-left: 0; }
.btn-share.copied { background: var(--valley); }

/* ---------------- Hero ---------------- */
.hero {
  position: relative; overflow: hidden;
  min-height: min(92vh, 60rem);
  display: flex; align-items: center;
  padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 4vw, 3rem);
  color: var(--fog);
}

.hero-photo { position: absolute; inset: -3%; will-change: transform; }
.hero-photo img, .hero-photo video {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center 65%;
}
.hero-photo video { opacity: 0; transition: opacity 1.8s var(--ease); }
.hero-photo video.playing { opacity: 1; }
.hero-photo { animation: ken-burns 36s ease-in-out infinite alternate; }
@keyframes ken-burns {
  from { transform: scale(1) translateY(0); }
  to { transform: scale(1.07) translateY(-1.2%); }
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10, 26, 18, 0.9) 0%, rgba(10, 26, 18, 0.72) 50%, rgba(10, 26, 18, 0.25) 100%),
              linear-gradient(to top, rgba(10, 26, 18, 0.55) 0%, transparent 30%);
}

.hero-inner { max-width: 62rem; margin: 0 auto; width: 100%; position: relative; z-index: 1; }

.hero .eyebrow { color: var(--hivis); }
.hero .hero-sub {
  color: #F6FAF5; font-weight: 500;
  text-shadow: 0 1px 3px rgba(6, 16, 11, 0.55), 0 2px 18px rgba(6, 16, 11, 0.55);
}
.hero .trust-row { color: #B9CBBD; }
.hero .trust-row strong { color: #fff; }

.eyebrow {
  font-family: var(--mono); font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--valley);
  margin-bottom: 1.2rem;
}
.eyebrow-light { color: #A9C4AE; }

.hero-title {
  font-family: var(--display); font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(3.2rem, 9vw, 7.5rem);
  line-height: 0.92; letter-spacing: 0.005em;
  margin-bottom: 1.6rem;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line > span { display: inline-block; }
.line-accent { color: var(--hivis); }

.hero-sub {
  font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--steel);
  max-width: 34rem; margin-bottom: 2.2rem;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2.6rem; }

.trust-row {
  display: flex; flex-wrap: wrap; gap: 2.2rem; list-style: none;
  font-size: 0.92rem; color: var(--steel);
}
.trust-row strong {
  display: block; font-family: var(--display); font-weight: 800;
  text-transform: uppercase;
  font-size: 1.7rem; color: var(--pine); letter-spacing: 0.02em;
}

/* ---------------- Sections ---------------- */
.section { padding: clamp(4.5rem, 9vw, 8rem) clamp(1.25rem, 4vw, 3rem); }

.section-head { max-width: 62rem; margin: 0 auto 3rem; }
.section-head h2, .final-cta h2, .dumpster-copy h2 {
  font-family: var(--display); font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  line-height: 0.95; letter-spacing: 0.005em;
}
.section-sub { margin-top: 1rem; color: var(--steel); max-width: 32rem; font-size: 1.1rem; }

/* ---------------- Services ---------------- */
.services-grid {
  max-width: 62rem; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem;
}

.service-card {
  background: var(--paper); border-radius: 16px; padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(20, 40, 29, 0.05);
  transition: transform 0.25s var(--ease), box-shadow 0.4s var(--ease);
  position: relative; overflow: hidden;
}
.service-card:hover { box-shadow: 0 2px 4px rgba(20,40,29,0.06), 0 16px 36px rgba(20,40,29,0.12); }

/* Cursor-following glare on tiltable surfaces */
.tilt::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.14), transparent 65%);
  opacity: 0; transition: opacity 0.4s var(--ease);
  border-radius: inherit;
}
.tilt:hover::after { opacity: 1; }

.service-icon { width: 42px; height: 42px; color: var(--valley); margin-bottom: 1.1rem; }
.service-card h3 {
  font-family: var(--display); font-weight: 800;
  text-transform: uppercase; font-size: 1.35rem;
  letter-spacing: 0.03em; margin-bottom: 0.5rem; line-height: 1.05;
}
.service-card p { font-size: 0.95rem; color: var(--steel); }

.featured-card { grid-column: span 2; }

.card-dumpster {
  background: var(--pine); color: var(--fog); border-color: transparent;
  grid-column: span 2;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
}
.card-dumpster .service-icon { color: var(--hivis); }
.card-dumpster p { color: #B9CBBD; }
.card-link {
  display: inline-block; margin-top: 0.9rem; font-weight: 600; font-size: 0.95rem;
  color: var(--hivis); text-decoration: none;
}
.card-link:hover { text-decoration: underline; }

/* ---------------- Dumpsters ---------------- */
.dumpsters { background: var(--pine); color: var(--fog); position: relative; overflow: hidden; }
.dumpster-grid { position: relative; z-index: 1; }

/* Topographic contour lines — the valley's terrain, drifting slowly */
.topo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  color: rgba(237, 241, 234, 0.09); pointer-events: none;
}
.topo path { stroke-dasharray: 7 11; }
.topo .t1 { animation: topo-drift 70s linear infinite; }
.topo .t2 { animation: topo-drift 95s linear infinite reverse; }
.topo .t3 { animation: topo-drift 120s linear infinite; }
@keyframes topo-drift { to { stroke-dashoffset: -360; } }

.dumpster-grid {
  max-width: 68rem; margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.dumpster-lead { margin: 1.2rem 0 1.8rem; color: #B9CBBD; font-size: 1.15rem; max-width: 30rem; }

.dumpster-points { list-style: none; margin-bottom: 2.2rem; display: grid; gap: 0.9rem; }
.dumpster-points li {
  display: flex; align-items: baseline; gap: 0.8rem;
  padding-left: 1.2rem; position: relative; color: #D7E2D8;
}
.dumpster-points li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 7px; height: 7px; border-radius: 2px; background: var(--hivis);
}
.dumpster-points strong { color: #fff; font-size: 1.5rem; font-weight: 600; white-space: nowrap; }
.dumpster-points strong span { font-size: 0.9rem; color: #A9C4AE; }
.mono-inline { font-family: var(--mono); color: #fff; }

.dumpster-art { position: relative; border-radius: 16px; }
.dumpster-art img {
  width: 100%; height: auto; border-radius: 16px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(237, 241, 234, 0.12);
}

.posted-rules {
  display: inline-block; font-size: 0.78rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--hivis);
  border: 1px dashed rgba(255, 206, 27, 0.45);
  border-radius: 8px; padding: 0.6rem 0.9rem;
  margin-bottom: 2rem;
}
.dumpster-price-tag {
  position: absolute; top: 4%; right: 2%;
  background: var(--fog); color: var(--pine);
  font-weight: 600; font-size: 1.6rem;
  padding: 0.5rem 1rem; border-radius: 12px;
  transform: rotate(4deg);
  box-shadow: 0 8px 22px rgba(0,0,0,0.3);
}
.dumpster-price-tag span { font-size: 0.9rem; color: var(--valley); }

/* ---------------- Estimator ---------------- */
.estimator { background: color-mix(in srgb, var(--fog-deep) 80%, transparent); }

.estimator-grid {
  max-width: 68rem; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}

.est-field {
  border: none; background: var(--paper); border-radius: 16px;
  padding: 1.4rem 1.5rem; margin-bottom: 1rem;
  box-shadow: var(--shadow-card);
}
.est-field legend {
  font-family: var(--mono); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--valley);
  padding: 0 0.4rem; margin-left: -0.4rem;
  float: left; width: 100%; margin-bottom: 0.9rem;
}
.est-field legend + * { clear: both; }

.seg-group { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.seg { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span {
  display: inline-block; padding: 0.55rem 1.05rem; border-radius: 999px;
  border: 2px solid rgba(20,40,29,0.15); font-weight: 500; font-size: 0.95rem;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.seg input:checked + span { background: var(--pine); border-color: var(--pine); color: var(--fog); }
.seg input:focus-visible + span { outline: 3px solid var(--hivis); outline-offset: 2px; }

.stepper { display: inline-flex; align-items: center; gap: 0.9rem; }
.stepper output { min-width: 5.5ch; text-align: center; font-weight: 600; }
.step-btn {
  width: 2.3rem; height: 2.3rem; border-radius: 50%;
  border: 2px solid rgba(20,40,29,0.15); background: transparent;
  font-size: 1.2rem; font-weight: 600; color: var(--pine); cursor: pointer;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease); line-height: 1;
}
.step-btn:hover { border-color: var(--pine); background: rgba(20,40,29,0.05); }
.stepper-sm .step-btn { width: 1.9rem; height: 1.9rem; font-size: 1rem; }

.field-note { font-size: 0.85rem; color: var(--steel); margin-top: 0.7rem; }

.check {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.55rem 0; font-size: 0.98rem; cursor: pointer;
}
.check input { width: 1.2rem; height: 1.2rem; accent-color: var(--hivis); cursor: pointer; }
.check em { font-style: normal; color: var(--valley); font-size: 0.85rem; font-family: var(--mono); white-space: nowrap; }
.check > span { white-space: nowrap; }
.qty-row { justify-content: space-between; cursor: default; gap: 0.5rem; }

/* Ticket */
.ticket {
  background: var(--paper); border-radius: 4px 4px 16px 16px;
  padding: 1.6rem 1.7rem 1.8rem;
  box-shadow: var(--shadow-card);
  position: sticky; top: 6rem;
  background-image: repeating-linear-gradient(90deg, transparent 0 8px, rgba(20,40,29,0.03) 8px 9px);
}
.ticket::before {
  content: ""; display: block; height: 8px; margin: -1.6rem -1.7rem 1.4rem;
  background: repeating-linear-gradient(90deg, var(--hivis) 0 18px, var(--pine) 18px 36px);
  border-radius: 4px 4px 0 0;
}
.ticket-head { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1.2rem; flex-wrap: wrap; }
.ticket-head p { font-size: 0.72rem; letter-spacing: 0.1em; color: var(--steel); }
.ticket-no { margin-left: auto; color: var(--valley) !important; }

.ticket-lines { list-style: none; font-size: 0.9rem; min-height: 7rem; }
.ticket-lines li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.45rem 0; border-bottom: 1px dashed rgba(20,40,29,0.15);
  animation: line-in 0.45s var(--ease) both;
}
@keyframes line-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.ticket-total {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 1.2rem; padding-top: 1rem; border-top: 2px solid var(--pine);
}
.ticket-total > span:first-child { font-size: 0.75rem; letter-spacing: 0.12em; color: var(--steel); }
.ticket-amount {
  font-size: 2.4rem; font-weight: 600; color: var(--pine); letter-spacing: -0.02em;
  display: inline-block;
}
.ticket-amount.stamp { animation: stamp 0.4s var(--ease); }
@keyframes stamp {
  0% { transform: scale(1.25) rotate(-3deg); color: var(--hivis-deep); }
  100% { transform: scale(1) rotate(0); color: var(--pine); }
}

.ticket-fine { font-size: 0.8rem; color: var(--steel); margin: 0.9rem 0 1.3rem; }
.ticket-ctas { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.ticket-ctas .btn { font-size: 0.92rem; padding: 0.7rem 1.2rem; }

/* ---------------- Pricing ---------------- */
.rate-card { max-width: 44rem; margin: 0 auto; }
.rate-card table {
  width: 100%; border-collapse: collapse;
  background: var(--paper); border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow-card);
}
.rate-card th, .rate-card td { text-align: left; padding: 0.95rem 1.5rem; }
.rate-card thead th {
  font-family: var(--mono); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--pine); color: var(--fog);
}
.rate-card th:last-child, .rate-card td:last-child { text-align: right; }
.rate-card tbody tr { border-bottom: 1px solid rgba(20,40,29,0.07); }
.rate-card tbody tr:last-child { border-bottom: none; }
.rate-card td:last-child { font-weight: 600; color: var(--valley); }
.rate-highlight { background: #FFF6D6; }
.rate-highlight td:first-child { font-weight: 600; }
.rate-highlight td:last-child { color: var(--hivis-ink); }

.rate-notes {
  margin-top: 1.2rem; font-size: 0.88rem; color: var(--steel);
  text-align: center;
}

/* ---------------- Reviews ---------------- */
.reviews { background: var(--valley); color: var(--fog); }

.review-grid {
  max-width: 62rem; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem;
}

.review {
  background: rgba(20, 40, 29, 0.35); border-radius: 16px;
  padding: 2rem 1.9rem;
  border: 1px solid rgba(237,241,234,0.12);
}
.review p {
  font-family: var(--display); font-weight: 500;
  font-size: 1.25rem; line-height: 1.4; letter-spacing: -0.01em;
  margin-bottom: 1.4rem;
}
.review footer { font-size: 0.9rem; color: #B9CBBD; display: flex; align-items: center; gap: 0.7rem; }
.stars { color: var(--hivis); letter-spacing: 0.15em; }

.reviews { padding-bottom: clamp(3rem, 6vw, 5rem); }
.review-source { max-width: 62rem; margin: 2rem auto 0; }
.review-source a { color: var(--fog); font-weight: 600; }

/* ---------------- Area ---------------- */
.area { text-align: center; }
.area .section-head, .area .section-sub { margin-left: auto; margin-right: auto; }

.area-marquee {
  overflow: hidden; margin: 0 calc(-1 * clamp(1.25rem, 4vw, 3rem));
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.area-track {
  display: flex; align-items: center; gap: 2.4rem;
  width: max-content; padding: 0.5rem 0;
  animation: marquee 30s linear infinite;
  font-family: var(--display); font-weight: 800;
  text-transform: uppercase; white-space: nowrap;
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  color: var(--valley);
}
.area-track .tick { color: var(--hivis); font-size: 0.45em; }
.area-marquee:hover .area-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------- Final CTA ---------------- */
.final-cta { background: var(--pine); color: var(--fog); position: relative; overflow: hidden; }
.final-grid {
  position: relative; z-index: 1;
  max-width: 62rem; margin: 0 auto;
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.final-photo {
  width: 100%; height: auto; border-radius: 16px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(237, 241, 234, 0.12);
  transform: rotate(-1.5deg);
}
.final-cta p { margin: 1rem 0 2rem; color: #B9CBBD; max-width: 28rem; font-size: 1.15rem; }
.final-cta .hero-ctas { margin-bottom: 0; }

/* ---------------- Footer ---------------- */
.site-footer {
  background: #0E1F16; color: #B9CBBD;
  padding: 3.5rem clamp(1.25rem, 4vw, 3rem) 6.5rem;
}
.footer-grid {
  max-width: 62rem; margin: 0 auto 2.5rem;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
  font-size: 0.95rem;
}
.footer-name { font-family: var(--display); font-weight: 700; color: var(--fog); margin-bottom: 0.5rem; }
address { font-style: normal; }
.footer-label { font-size: 0.7rem; letter-spacing: 0.14em; color: #7E9884; margin-bottom: 0.5rem; }
.footer-phone {
  font-family: var(--mono); font-size: 1.4rem; font-weight: 600;
  color: var(--hivis); text-decoration: none;
}
.footer-phone:hover { text-decoration: underline; }
.footer-fine { max-width: 62rem; margin: 0 auto; font-size: 0.82rem; color: #7E9884; }
.footer-fine a { color: #A9C4AE; }

/* ---------------- Scroll progress rail ---------------- */
.scroll-rail {
  position: fixed; right: 1.1rem; top: 50%; transform: translateY(-50%);
  z-index: 45; display: flex; align-items: stretch; gap: 0.55rem;
}
.rail-track {
  width: 3px; border-radius: 2px;
  background: rgba(20, 40, 29, 0.14);
  position: relative; overflow: hidden;
}
.rail-fill {
  position: absolute; top: 0; left: 0; right: 0; height: 0%;
  background: linear-gradient(to bottom, var(--valley), var(--hivis));
  border-radius: 2px;
}
.scroll-rail ul {
  list-style: none; display: flex; flex-direction: column;
  justify-content: space-between; padding: 0.1rem 0;
}
.scroll-rail a {
  display: flex; align-items: center; gap: 0.5rem; flex-direction: row-reverse;
  text-decoration: none; padding: 0.22rem 0;
}
.rail-dot {
  width: 9px; height: 9px; flex-shrink: 0;
  background: rgba(20, 40, 29, 0.28);
  clip-path: polygon(3px 0, calc(100% - 3px) 0, 100% 3px, 100% calc(100% - 3px), calc(100% - 3px) 100%, 3px 100%, 0 calc(100% - 3px), 0 3px);
  transition: background-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.rail-label {
  font-family: var(--mono); font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel);
  opacity: 0; transform: translateX(5px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  white-space: nowrap;
}
.scroll-rail a:hover .rail-label, .scroll-rail a.active .rail-label { opacity: 1; transform: none; }
.scroll-rail a:hover .rail-dot { background: var(--valley); }
.scroll-rail a.active .rail-dot { background: var(--hivis-deep); transform: scale(1.35); }
/* readable over dark sections */
.scroll-rail.on-dark .rail-track { background: rgba(237, 241, 234, 0.2); }
.scroll-rail.on-dark .rail-dot { background: rgba(237, 241, 234, 0.4); }
.scroll-rail.on-dark a.active .rail-dot { background: var(--hivis); }
.scroll-rail.on-dark .rail-label { color: #B9CBBD; }

@media (max-width: 1100px) { .scroll-rail { display: none; } }

/* ---------------- Mobile call bar ---------------- */
.mobile-call-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  display: none; gap: 0.6rem; padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--pine) 92%, transparent);
  backdrop-filter: blur(10px);
}
.mobile-call-bar .btn { flex: 1; justify-content: center; }
.mobile-call-bar .btn-ghost { background: rgba(237, 241, 234, 0.55); color: var(--fog); }
.mobile-call-bar .btn-ghost::before { background: rgba(10, 26, 18, 0.7); }

/* ---------------- Reveal animation ---------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

.hero-title .line > span {
  transform: translateY(110%);
  transition: transform 0.9s var(--ease);
}
.hero-title.in .line > span { transform: none; }
.hero-title.in .line-accent > span { transition-delay: 0.12s; }

/* ---------------- Reduced motion ---------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .hero-title .line > span { opacity: 1; transform: none; transition: none; }
  .ticket-lines li { animation: none; }
  .btn, .service-card { transition: none; }
  .ticket-amount.stamp { animation: none; }
  .site-nav a::after { transition: none; }
  .hero-photo { animation: none; }
  .hero-photo video { display: none; }
  .topo .t1, .topo .t2, .topo .t3 { animation: none; }
  .area-track { animation: none; }
  .tilt::after { display: none; }
}

/* ---------------- Responsive ---------------- */
@media (max-width: 900px) {
  .site-nav { display: none; }
  .site-nav ~ .btn-share { margin-left: auto; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .featured-card { grid-column: span 2; }
  .dumpster-grid { grid-template-columns: 1fr; }
  .final-grid { grid-template-columns: 1fr; }
  .final-photo { max-width: 28rem; }
  .estimator-grid { grid-template-columns: 1fr; }
  .ticket { position: static; }
  .review-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .header-call { display: none; }
  .site-nav ~ .btn-share { margin-left: auto; }
  .mobile-call-bar { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .featured-card, .card-dumpster { grid-column: span 1; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .trust-row { gap: 1.4rem; }
}
