/* ==========================================================================
   SECTIONS
   ========================================================================== */

/* ---- HERO ---- */
.hero {
  position: relative;
  background: var(--color-brand-strong);
  padding-bottom: 90px; /* room for angled transition */
  overflow: hidden;
}

.hero__photo {
  position: absolute;
  inset: 0;
  background-image: url("../images/hero-bins-house.jpg");
  background-size: cover;
  background-position: 68% 62%;
}

/* Narrower viewports crop more of the photo's width, so shift the
   focal point right to keep the bins themselves in frame rather than
   just the house. */
@media (max-width: 960px) {
  .hero__photo { background-position: 78% 60%; }
}
@media (max-width: 600px) {
  .hero__photo { background-position: 88% 55%; }
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(10, 20, 11, 0.96) 0%,
    rgba(10, 20, 11, 0.9) 32%,
    rgba(10, 20, 11, 0.55) 52%,
    rgba(10, 20, 11, 0.08) 68%,
    rgba(10, 20, 11, 0) 78%
  );
}

.hero__content {
  position: relative;
  padding-top: clamp(3rem, 8vw, 6.5rem);
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
  min-height: clamp(560px, 88vh, 800px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero__top {
  max-width: 640px;
}

.hero__headline {
  color: var(--white);
  font-size: clamp(2.6rem, 6.4vw, 5.1rem);
  line-height: 1;
}

.hero__rule {
  width: 130px;
  height: 4px;
  background: var(--color-accent);
  margin: var(--space-5) 0;
}

.hero__support {
  color: var(--off-white);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  max-width: 46ch;
  margin-bottom: var(--space-3);
}

.hero__tagline {
  font-family: var(--font-display);
  font-stretch: condensed;
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--white);
  font-size: 1rem;
  opacity: 0.92;
}

.hero__bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  margin-top: var(--space-8);
}

.hero__location {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
}
.hero__location svg { color: var(--color-accent); }

.hero__row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: var(--space-5);
}

.hero .neighbor-counter {
  flex: 1 1 320px;
  max-width: 420px;
}

.hero__cta {
  display: flex;
  align-items: center;
}

.hero__cta .btn {
  padding: 1.1rem 1.9rem;
  font-size: 1rem;
  height: 100%;
}

@media (max-width: 720px) {
  .hero__row { flex-direction: column; }
  .hero .neighbor-counter { max-width: none; }
  .hero__cta .btn { width: 100%; }
}

.hero .angle-bottom-white {
  height: 110px;
}
@media (max-width: 720px) {
  .hero .angle-bottom-white { height: 56px; }
}

/* ---- HOW IT WORKS ---- */
.how-it-works {
  padding: var(--space-9) 0 var(--space-8);
  background: var(--color-bg);
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 720px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .steps-grid { grid-template-columns: repeat(4, 1fr); }
}

.step-card {
  display: flex;
  flex-direction: column;
}

.step-card__media {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--paper);
  margin-bottom: var(--space-5);
}

.step-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.step-card__media .media-tag {
  position: absolute;
  bottom: var(--space-3);
  left: var(--space-3);
  background: rgba(18, 20, 22, 0.72);
  color: var(--white);
  font-size: 0.68rem;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
}

.step-card h3 { color: var(--color-brand-strong); margin-bottom: var(--space-2); }
.step-card p { color: var(--color-ink-muted); font-size: 0.95rem; }

.how-it-works__banner {
  margin-top: var(--space-8);
  background: var(--color-brand-strong);
  border-radius: var(--radius-md);
  padding: var(--space-7) var(--space-6);
  text-align: center;
}

.how-it-works__banner h3 {
  color: var(--white);
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
}

.how-it-works__banner p {
  color: var(--off-white);
  margin-top: var(--space-3);
  opacity: 0.85;
}

.how-it-works__banner .check-badge {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--color-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ---- WHY STREETSIDE ---- */
.why-streetside {
  padding: var(--space-9) 0;
  background: var(--color-bg-alt);
  clip-path: polygon(0 3%, 100% 0, 100% 97%, 0 100%);
  margin-block: -2vw;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

@media (min-width: 640px) {
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .benefits-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---- NEIGHBORHOOD ---- */
.neighborhood {
  padding: var(--space-9) 0;
  background: var(--color-brand-strong);
  position: relative;
  overflow: hidden;
}

.neighborhood::before {
  content: "";
  position: absolute;
  right: -8%;
  top: -20%;
  width: 60%;
  height: 140%;
  background: var(--green-700);
  opacity: 0.4;
  transform: rotate(-8deg);
}

.neighborhood__inner {
  position: relative;
  max-width: 760px;
}

.neighborhood h2 { color: var(--white); }

.neighborhood p.lede {
  color: var(--off-white);
  opacity: 0.9;
  margin-top: var(--space-5);
  max-width: 56ch;
}

.neighborhood__stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  margin: var(--space-7) 0;
}

.neighborhood__stat {
  color: var(--white);
}

.neighborhood__stat strong {
  display: block;
  font-family: var(--font-display);
  font-stretch: condensed;
  font-weight: 800;
  font-size: 1.5rem;
}

.neighborhood__stat span {
  font-size: 0.82rem;
  color: var(--off-white);
  opacity: 0.75;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

/* ---- PRICING ---- */
.pricing {
  padding: var(--space-9) 0;
  background: var(--color-bg);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 860px) {
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
}

.pricing__footnote {
  margin-top: var(--space-6);
  font-size: 0.9rem;
  color: var(--color-ink-muted);
  max-width: 70ch;
}

/* ---- SERVICE AREA ---- */
.service-area {
  padding: var(--space-9) 0;
  background: var(--color-bg-alt);
}

.service-area__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  align-items: start;
}

@media (min-width: 960px) {
  .service-area__grid { grid-template-columns: 1fr 1fr; }
}

.service-area__map {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-brand-strong);
  aspect-ratio: 4 / 3;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-area__map svg { width: 70%; height: auto; opacity: 0.9; }

.service-area__map .map-caption {
  position: absolute;
  bottom: var(--space-5);
  left: var(--space-5);
  right: var(--space-5);
  color: var(--off-white);
  font-size: 0.85rem;
  opacity: 0.8;
}

/* ---- FAQ ---- */
.faq {
  padding: var(--space-9) 0;
  background: var(--color-bg);
}

.faq__list {
  max-width: 820px;
}

/* ---- FOOTER ---- */
.site-footer {
  background: var(--charcoal-900);
  color: var(--off-white);
  padding: var(--space-8) 0 var(--space-6);
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  padding-bottom: var(--space-7);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

@media (min-width: 780px) {
  .site-footer__top { grid-template-columns: 1.4fr 1fr 1fr; }
}

.footer-brand__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.footer-brand__logo img { width: 48px; height: 48px; }

.footer-brand__name {
  font-family: var(--font-display);
  font-stretch: condensed;
  font-weight: 800;
  letter-spacing: var(--tracking-tight);
  text-transform: uppercase;
  font-size: 1.2rem;
  color: var(--white);
  line-height: 1.1;
}

.footer-brand__name small {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  text-transform: none;
  font-size: 0.72rem;
  color: var(--gray-400);
  letter-spacing: 0;
}

.footer-brand__tagline {
  font-style: normal;
  color: var(--off-white);
  opacity: 0.85;
  max-width: 34ch;
  margin-bottom: var(--space-3);
}

.footer-brand__area {
  font-size: 0.88rem;
  color: var(--gray-400);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-stretch: condensed;
  font-size: 0.82rem;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: var(--space-4);
}

.footer-col ul { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-col a { color: var(--off-white); font-size: 0.95rem; }
.footer-col a:hover { color: var(--white); text-decoration: underline; }

.footer-col .contact-placeholder {
  font-size: 0.85rem;
  color: var(--gray-400);
  font-style: italic;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-4);
  padding-top: var(--space-6);
  font-size: 0.82rem;
  color: var(--gray-400);
}

.site-footer__bottom .legal-links {
  display: flex;
  gap: var(--space-5);
}

.social-links {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.social-links a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--off-white);
  transition: border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.social-links a:hover { border-color: var(--color-accent); color: var(--color-accent); }

/* ---- Waitlist form section ---- */
.waitlist-section {
  padding: var(--space-9) 0;
  background: var(--color-brand-strong);
}

.waitlist-panel {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: clamp(var(--space-6), 4vw, var(--space-8));
  box-shadow: var(--shadow-md);
}

.waitlist-panel__head {
  max-width: 640px;
  margin-bottom: var(--space-7);
}
