/* bust:1789605072 CLIMB_CLOSE world-class #next — phone loud, Quote solid, Text·email quiet, equal pad */
.end-band {
  position: relative;
  z-index: 1;
  overflow-x: clip;
  /* equal pad top/bottom */
  padding: clamp(4.5rem, 9.5vw, 7.25rem) 0;
  border: 0;
  background: transparent;
}

.end-band__inner {
  width: min(88rem, calc(100% - var(--gutter) * 2));
  margin: 0 auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 0;
}

.end-band__copy {
  width: max-content;
  max-width: 100%;
}

.end-band__lead {
  margin: 0;
  color: var(--ink, #0a1014);
  font-size: clamp(1.95rem, 3.55vw, 2.85rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.02;
  white-space: nowrap;
}

.end-band__lede {
  margin: 0.65rem 0 0;
  color: color-mix(in oklch, var(--ink, #212121) 62%, transparent);
  font-size: clamp(1.04rem, 1.5vw, 1.16rem);
  font-weight: 400;
  letter-spacing: -0.016em;
  line-height: 1.38;
  white-space: nowrap;
}

.end-band__actions {
  margin-top: clamp(1.75rem, 3vw, 2.35rem);
  width: max-content;
  max-width: 100%;
}

/* Phone = loud ask */
.end-band__phone {
  margin: 0;
}

.end-band__phone a {
  display: inline-block;
  color: var(--gulf-ink, #065a75);
  font-size: clamp(2.15rem, 3.8vw, 2.95rem);
  font-weight: 750;
  letter-spacing: -0.038em;
  text-decoration: none;
  line-height: 1.02;
  font-variant-numeric: tabular-nums;
}

.end-band__phone a:hover {
  text-decoration: underline;
  text-underline-offset: 0.14em;
  text-decoration-thickness: 0.06em;
}

.end-band__phone a:focus-visible {
  outline: 2px solid var(--gulf, #0a7ea4);
  outline-offset: 4px;
  border-radius: 2px;
}

/* Quote = solid primary under phone */
.end-band__ask {
  margin-top: 1rem;
  display: flex;
  justify-content: flex-end;
}

.end-band__ask .btn {
  min-width: 13.25rem;
  min-height: 2.75rem;
  padding: 0.7rem 1.35rem;
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  /* fill + radius from --quote-cta-* in site.css */
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.end-band__ask .btn:hover {
  /* hover fill from shared token */
}

.end-band__ask .btn:active {
  transform: translateY(1px);
}

.end-band__ask .btn--ghost {
  box-shadow: none;
}

/* Text · email = quiet */
.end-band__quiet {
  margin: 1rem 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem 0.5rem;
  color: color-mix(in oklch, var(--ink, #212121) 32%, transparent);
  font-size: 0.8rem;
  letter-spacing: 0.01em;
  font-weight: 450;
}

.end-band__quiet a {
  color: color-mix(in oklch, var(--gulf-ink, #065a75) 72%, transparent);
  text-decoration: none;
  font-weight: 500;
}

.end-band__quiet a:hover {
  color: var(--gulf-ink, #065a75);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

body.is-end-close .float-contact {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

/* Footer inside close mist — asterisk flush to bar, quiet equal pad */
.close-band > .site-footer,
.close-band .site-footer {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: clamp(1.25rem, 2.4vw, 1.75rem) 0 clamp(1.25rem, 2.4vw, 1.75rem) !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  min-height: 0 !important;
}

.close-band .site-footer__legal {
  width: min(40rem, calc(100% - var(--gutter) * 2));
  margin: 0 auto;
  text-align: center;
}

.close-band .site-footer__asterisk {
  display: block;
  margin: 0 !important;
  max-width: 36rem;
  margin-inline: auto !important;
  text-align: center;
  font-size: 0.68rem;
  line-height: 1.2 !important;
  letter-spacing: 0.005em;
  color: color-mix(in oklch, var(--ink, #212121) 44%, transparent);
}

.close-band .site-footer__bar {
  display: block !important;
  margin: 0.15rem auto 0 !important;
  padding: 0 !important;
  text-align: center;
  font-size: 0.76rem;
  line-height: 1.2 !important;
  color: color-mix(in oklch, var(--ink, #212121) 56%, transparent);
}

.close-band .site-footer__bar a {
  color: var(--gulf-ink, #065a75);
  text-decoration: none;
  font-weight: 500;
}

.close-band .site-footer__bar a:hover {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

@media (max-width: 899px) {
  .end-band {
    padding: clamp(3.75rem, 12vw, 5.25rem) 0;
  }
  .end-band__inner {
    width: calc(100% - var(--gutter) * 2);
    align-items: stretch;
    text-align: left;
  }
  .end-band__lead {
    font-size: clamp(1.9rem, 7.6vw, 2.5rem);
    white-space: normal;
    text-wrap: balance;
  }
  .end-band__lede {
    white-space: normal;
    text-wrap: balance;
  }
  .end-band__phone a {
    font-size: clamp(1.9rem, 7.4vw, 2.4rem);
  }
  .end-band__ask {
    justify-content: flex-start;
  }
  .end-band__ask .btn {
    min-width: 12.5rem;
  }
  .end-band__quiet {
    justify-content: flex-start;
  }
  .close-band .site-footer {
    padding: clamp(1.1rem, 4vw, 1.5rem) 0 !important;
  }
  .close-band .site-footer__legal {
    width: calc(100% - var(--gutter) * 2);
  }
}

/* float persists through savings/Why us — hide only on #next close */
body.is-savings-ask .float-contact,
body.is-why-plate .float-contact,
body.is-lift-ask .float-contact {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}


/* Audit end gap — bust:1789667058 */
@media (max-width: 768px) {
  .end-band {
    padding: clamp(2.75rem, 9vw, 3.75rem) 0 clamp(1.75rem, 5.5vw, 2.35rem);
  }
  .end-band__actions {
    margin-top: clamp(1.25rem, 4vw, 1.75rem);
  }
  .close-band .site-footer {
    padding: clamp(0.85rem, 3vw, 1.15rem) 0 1.1rem !important;
  }
  .close-band .site-footer__asterisk {
    margin: 0 0 0.35rem !important;
  }
  .close-band .site-footer__bar {
    margin: 0 auto !important;
  }
  /* No reserved space for retired mobile-bar */
  .site-footer {
    padding-bottom: 1.5rem;
  }
}
