/* Homepage navigation. */
.home .site-header {
  border-bottom: 1px solid #d8e3eb;
  gap:24px;
  margin:0;
  padding:20px clamp(24px,4vw,64px);
}

.home .site-header .brand {
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
  flex-shrink:0;
}

.home .site-header .brand__mark {
  display:block;
  width:36px;
  height:36px;
  flex-shrink:0;
  object-fit:contain;
}

.home .site-header .brand-name {font-size:34px;line-height:1;}
.home .site-header .brand-subtitle {font-size:11px;letter-spacing:1.3px;}
.home .site-header .phone-pill {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  width:auto;
  min-width:0;
  min-height:44px;
  padding:10px 16px;
  flex-shrink:0;
  white-space:nowrap;
}
.home .site-header .phone-pill .header-call-label {display:inline;font-weight:700;}
.home .site-header .phone-pill .header-call-number {display:inline;}
.home .site-header .phone-pill span {
  position:static;
  width:auto;
  height:auto;
  overflow:visible;
  clip:auto;
}

@media (width < 1280px) {
  .home .site-header {gap:16px;}
}

@media (width < 768px) {
  .home .site-header {gap:8px;padding:16px;min-height:80px;}
  .home .site-header .brand {gap:6px;}
  .home .site-header .brand__mark {width:28px;height:28px;}
  .home .site-header .brand-name {font-size:28px;}
  .home .site-header .brand-subtitle {font-size:9px;letter-spacing:.4px;}
  .home .site-header .phone-pill {min-height:44px;padding:10px 12px;}
  .home .site-header .phone-pill .icon {width:18px;height:18px;}
  .home .site-header .phone-pill .header-call-label {display:inline;font-size:14px;}
  .home .site-header .phone-pill .header-call-number {display:none;}
}

@media (width < 360px) {
  .home .site-header {gap:6px;padding:14px 12px;}
  .home .site-header .brand__mark {width:24px;height:24px;}
  .home .site-header .brand-name {font-size:25px;}
  .home .site-header .brand-subtitle {font-size:8px;letter-spacing:.2px;}
  .home .site-header .phone-pill {gap:6px;padding:10px;}
  .home .site-header .phone-pill .header-call-label {font-size:13px;}
}

/* Spotlight is the homepage hero. */
.spotlight-hero {
  --move-ink: #102b4a;
  --move-blue: #064f9e;
  --move-line: #d8e3eb;
  --move-gutter: clamp(18px, 4.5vw, 64px);
  --stage-gap: clamp(20px, 3vw, 40px);
  --photo-shade: linear-gradient(180deg, #081e36ef, #081e36c9 46%, #081e3640 72%, #081e36f0);
  position: relative;
  isolation: isolate;
  background: var(--move-ink);
}

.spotlight-hero .hero-video-media {
  position: absolute;
  z-index: -1;
  inset: 0;
  height: min(100%, 470px);
  overflow: hidden;
  pointer-events: none;
  background: var(--move-ink) url("../images/hero-video-poster.webp") center / cover no-repeat;
}

.spotlight-hero .hero-video-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spotlight-hero .hero-video-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: var(--photo-shade);
}

.spotlight-frame {
  display: grid;
  width: min(100% - 2 * var(--move-gutter), 1240px);
  margin-inline: auto;
  gap: 20px;
  padding-block: var(--stage-gap);
}

.spotlight-copy {align-self: center; min-width: 0; min-height: clamp(245px, 46vw, 330px);}
.spotlight-title-fit {container-type: inline-size; inline-size: 100%; min-inline-size: 0;}

.spotlight-hero h1.spotlight-title {
  margin: 0;
  color: #fff;
  font: 400 clamp(20px, 3.4vw, 50px)/1.08 var(--serif);
  font-size: min(50px, 9.8cqi);
  letter-spacing: -.045em;
}

.spotlight-title > span {display: inline-block; white-space: nowrap;}

.spotlight-hero .move-actions {
  display: flex;
  container-type: inline-size;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 18px;
}

.spotlight-hero :is(.move-cta, .move-secondary, .move-review) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.spotlight-hero .move-cta {
  gap: 9px;
  min-height: 54px;
  padding: 10px 13px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: #fff;
  color: var(--move-ink);
  font: 700 1.125rem/1.45 var(--sans);
}

@container (width < 300px) {
  .spotlight-hero .move-cta {
    gap: 7px;
    padding-inline: 9px;
    font-size: 1rem;
  }
}

.spotlight-hero .move-cta:hover {background: #deefff;}

.move-cta-arrow {flex: none;}

.move-cta-badge {
  --offer-line: 1.65em;
  display: block;
  height: var(--offer-line);
  overflow: hidden;
  white-space: nowrap;
}

.move-cta-slides {display: block;}

.move-cta-slides > span {
  display: flex;
  align-items: baseline;
  gap: .3em;
  height: var(--offer-line);
  line-height: var(--offer-line);
}

.move-cta-slides strong {
  color: var(--move-blue);
  font-size: 1.3em;
  font-weight: 900;
  line-height: 1;
}

@media (prefers-reduced-motion: no-preference) {
  .move-cta-slides {animation: spotlight-offers 9s ease-in-out infinite;}
}

@media (hover: hover) {
  .spotlight-hero .move-cta:hover .move-cta-slides {animation-play-state: paused;}
}

.spotlight-hero .move-cta:focus-visible .move-cta-slides {animation-play-state: paused;}

@keyframes spotlight-offers {
  0%, 29% {transform: translateY(0);}
  33.333%, 62.333% {transform: translateY(-25%);}
  66.667%, 95.667% {transform: translateY(-50%);}
  100% {transform: translateY(-75%);}
}

#pricing-title {scroll-margin-top: 24px;}

/* Align homepage pricing with the editorial cards directly below it. */
.home .company-pricing {padding-inline: 28px;}

.home .pricing-grid {
  max-width: calc(var(--layout-max) - 56px);
}

.home .pricing-offer {padding-left: 0;}
.home .pricing-note {max-width: 75ch;}

@media (768px <= width < 1024px) {
  .home .pricing-grid {
    grid-template-columns: minmax(0, 1fr) calc((min(100%, 850px) - 28px) / 2);
  }
}

@media (width >= 1024px) {
  .home .pricing-grid {grid-template-columns: minmax(0, 1fr) 401px;}
}

@media (width < 768px) {
  .home .company-pricing {padding-inline: 20px;}
}


.pricing-offers {
  margin-block: 16px;
  padding: 12px 16px;
  border: 1px solid #cbdced;
  border-radius: 10px;
  background: #eef6ff;
  color: #102b4a;
  font: .9375rem/1.5 var(--sans);
}

.pricing-offers h3 {margin: 0; font: 700 1rem/1.4 var(--sans);}
.pricing-offers ul {margin: 5px 0; padding-inline-start: 1.15em; list-style: disc;}

.spotlight-hero .move-secondary {color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: .24em;}
.spotlight-hero .move-secondary:hover {text-decoration-thickness: 2px;}
.spotlight-hero :is(a, button):focus-visible {outline: 3px solid var(--move-blue); outline-offset: 4px;}
.spotlight-hero :is(.spotlight-copy, .spotlight-proof) a:focus-visible {outline-color: #fff;}

.spotlight-hero .move-proof {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 24px;
  margin: 0;
  padding-top: 8px;
  border-top: 1px solid #b1c7db;
}

.spotlight-hero .move-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.spotlight-hero .move-badges li {display: inline-flex; align-items: center; gap: 5px; color: #fff; font-size: .875rem;}
.spotlight-hero .move-badges .icon {width: 19px; height: 19px; flex: none; color: #c4e2ff;}
.spotlight-hero .move-review {gap: 7px 10px; flex-wrap: wrap; color: #fff; font: 700 .875rem/1.4 var(--sans); text-underline-offset: .2em;}
.spotlight-hero .move-review:hover {text-decoration: underline;}
.spotlight-hero .move-review .review-stars {display: flex; gap: 2px; color: #c4e2ff;}
.spotlight-hero .move-review .review-stars svg {width: 15px; height: 15px;}

.spotlight-form {min-width: 0; container-type: inline-size; align-self: center;}

.spotlight-hero #quote.quote-panel {
  position: static;
  inset: auto;
  width: 100%;
  max-width: none;
  min-height: 0;
  height: auto;
  margin: 0;
  transform: none;
  scroll-margin-top: 20px;
}

.spotlight-hero #quote.quote-panel:not(.quote-enhanced) {padding: 24px;}

.spotlight-hero #quote h2#quote-title {margin-bottom: 16px;}

.spotlight-hero #quote .quote-card {
  padding: clamp(18px, 2.4vw, 30px);
  border-color: var(--move-line);
  box-shadow: 0 12px 32px rgba(16, 43, 74, .08);
}

.spotlight-hero #quote label[for]:not([for="wp_cellphone"]) {
  display: block;
  position: static;
  width: auto;
  height: auto;
  margin: 0 0 6px;
  clip: auto;
  overflow: visible;
  color: var(--move-ink);
  font: 700 .875rem/1.35 var(--sans);
}

.spotlight-hero #quote .quote-field-icon {top: auto; bottom: 15px;}
.spotlight-hero #quote .quote-step {height: auto; min-height: 0; max-height: none;}
.spotlight-hero #quote .quote-details .quote-next {align-self: end;}
.spotlight-hero #quote .quote-feedback {position: static; margin-top: 12px;}

@container (width < 300px) {
  .spotlight-hero #quote .quote-details {grid-template-columns: minmax(0, 1fr);}
  .spotlight-hero #quote .quote-details .quote-next {width: 100%;}
}

@media (width < 768px) {
  .spotlight-hero h1.spotlight-title {font-size: clamp(20px, 7.2vw, 38px); font-size: min(38px, 9.8cqi);}
}

@media (width < 440px) {
  .spotlight-hero .move-actions {align-items: start;}
  .spotlight-hero .move-cta {min-width: 0; max-width: 100%;}
}

@media (width < 360px) {
  .spotlight-hero #quote .quote-details {grid-template-columns: minmax(0, 1fr);}
  .spotlight-hero #quote .quote-details .quote-next {width: 100%;}
}

@media (min-width: 1100px) {
  .spotlight-hero {
    --photo-shade: linear-gradient(90deg, #102b4a, #102b4ad9 20%, #102b4a00 53%, #102b4a1f 76%, #102b4a);
  }
  .spotlight-hero .hero-video-media {inset-inline: 9% 24%; height: auto;}
  .spotlight-frame {
    min-height: clamp(530px, 45vw, 695px);
    grid-template-columns: minmax(245px, .82fr) minmax(0, 1fr) minmax(340px, 1fr);
    grid-template-areas: "copy scene form" "proof proof proof";
    grid-template-rows: 1fr auto;
    gap: 18px;
  }
  .spotlight-copy {grid-area: copy; min-height: 0;}
  .spotlight-hero .move-actions {flex-direction: column; align-items: start;}
  .spotlight-form {grid-area: form;}
  .spotlight-proof {grid-area: proof;}
  .spotlight-hero .spotlight-proof .move-proof {
    justify-content: center;
    padding: 10px 16px 4px;
    border: 1px solid #a9bfd28c;
    border-radius: 12px;
    background: #0b2540f0;
  }
}

@media (min-width: 900px) and (max-height: 700px) {
  .spotlight-frame {min-height: 475px;}
}

/* Moving offers between Spotlight and the services section. */
.offer-marquee {
  --marquee-gap: 20px;
  --marquee-surface: #fdfefe;
  position: relative;
  width: min(100% - 2 * clamp(18px, 4.5vw, 64px), 1240px);
  margin: clamp(20px, 2.1vw, 32px) auto 0;
  padding-block: 18px;
  overflow: hidden;
  border: 1px solid #d8e3eb;
  border-radius: 25px;
  background: var(--marquee-surface);
  box-shadow: 0 2px 5px #102b4a08;
}

.offer-marquee:focus-visible {
  outline: 2px solid #064f9e;
  outline-offset: 4px;
}

.offer-marquee-track {
  display: flex;
  width: max-content;
  animation: moving-offers-marquee 44s linear infinite;
}

.offer-marquee:hover .offer-marquee-track,
.offer-marquee:focus .offer-marquee-track,
.offer-marquee:active .offer-marquee-track {
  animation-play-state: paused;
}

.offer-marquee-group {
  display: flex;
  align-items: stretch;
  gap: var(--marquee-gap);
  margin: 0;
  padding: 0 var(--marquee-gap) 0 0;
  list-style: none;
}

.offer-marquee-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  padding: 10px 17px;
  border: 1px solid #dce7f0;
  border-radius: 23px;
  background: #f3f8fc;
  box-shadow: 0 1px 3px #102b4a13;
  color: #102b4a;
  font: 400 .8125rem/1.25 var(--sans);
  white-space: nowrap;
}

.offer-marquee-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: 16px;
  background: #cceaff;
  color: #064f9e;
}

.offer-marquee-icon svg {width: 21px; height: 21px;}

.offer-marquee-copy strong {
  display: block;
  margin-bottom: 3px;
  font-size: .9375rem;
  font-weight: 700;
}

.offer-marquee-copy span {color: #425e77;}

.offer-marquee::before,
.offer-marquee::after {
  position: absolute;
  z-index: 1;
  inset-block: 0;
  width: clamp(26px, 5vw, 72px);
  pointer-events: none;
  content: "";
}

.offer-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--marquee-surface), #fdfefe00);
}

.offer-marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--marquee-surface), #fdfefe00);
}

@keyframes moving-offers-marquee {
  from {transform: translateX(0);}
  to {transform: translateX(-50%);}
}

@media (width < 600px) {
  .offer-marquee {--marquee-gap: 12px; padding-block: 12px; border-radius: 20px;}
  .offer-marquee-card {gap: 9px; min-height: 60px; padding: 8px 12px; border-radius: 19px;}
  .offer-marquee-icon {width: 36px; height: 36px; border-radius: 13px;}
}

@media (prefers-reduced-motion: reduce) {
  .offer-marquee {padding-inline: 12px;}
  .offer-marquee-track {width: auto; animation: none;}
  .offer-marquee-group {flex-wrap: wrap; justify-content: center; padding: 0; width: 100%;}
  .offer-marquee-group[aria-hidden],
  .offer-marquee::before,
  .offer-marquee::after {display: none;}
  .offer-marquee-card {white-space: normal;}
}
