/* ---- tokens.css ---- */
:root {
  /* Color */
  --navy: #00214c;
  --navy-900: #001633;
  --navy-700: #0a3570;
  --gold: #fdd24a;
  --gold-600: #e8bc2e;
  --accent-blue: #2fc3f0;
  --ink: #0e1d40;
  --body: #3b4a63;
  --muted: #5e6b80;
  --line: #dce3ec;
  --surface: #ffffff;
  --surface-alt: #f3f6fa;

  /* Type */
  --font-heading: Montserrat, "Segoe UI", Arial, sans-serif;
  --font-body: "Open Sans", "Segoe UI", Arial, sans-serif;

  /* Layout */
  --container-max: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-pad: clamp(56px, 8vw, 112px);

  /* Radius / shadow */
  --radius-card: 10px;
  --radius-button: 8px;
  --radius-pill: 999px;
  --shadow: 0 1px 2px rgba(0, 33, 76, 0.06), 0 8px 24px rgba(0, 33, 76, 0.08);

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}


/* ---- base.css ---- */
/* Fonts (self-hosted) */
@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("/assets/fonts/open-sans-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--body);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
}

img,
video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

button {
  font-family: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.25rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.625rem);
  font-weight: 800;
  line-height: 1.15;
}

h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

p {
  margin: 0 0 1em;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-pad);
}

.section--alt {
  background: var(--surface-alt);
}

/* Tighter footprint for sections that should read fast, not dominate scroll */
.section--tight {
  padding-block: clamp(40px, 5vw, 64px);
}

/* Featured / centerpiece section: more room than the default, not less */
.section--feature {
  padding-block: clamp(64px, 9vw, 128px);
}

.section--navy {
  background: var(--navy);
  color: #fff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--navy-700);
  margin-bottom: 12px;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 3px;
  background: var(--gold);
  flex-shrink: 0;
}

.section--navy .eyebrow,
.on-dark .eyebrow {
  color: var(--gold);
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 var(--radius-button) 0;
  font-family: var(--font-heading);
  font-weight: 700;
}

.skip-link:focus {
  left: 0;
}

/* Focus ring */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.on-dark a:focus-visible,
.on-dark button:focus-visible,
.section--navy a:focus-visible,
.section--navy button:focus-visible,
.section--navy input:focus-visible,
.section--navy select:focus-visible,
.section--navy textarea:focus-visible {
  outline-color: var(--gold);
  outline-offset: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: var(--radius-button);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.9375rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
  .btn:hover {
    transform: none;
  }
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
}

.btn-primary:hover {
  background: var(--gold-600);
}

.btn-secondary {
  background: transparent;
  border-color: #fff;
  color: #fff;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-secondary--light {
  border-color: var(--navy);
  color: var(--navy);
}

.btn-secondary--light:hover {
  background: rgba(0, 33, 76, 0.06);
}

.text-link {
  font-family: var(--font-heading);
  font-weight: 700;
  text-decoration: none;
  color: var(--navy-700);
}

.text-link:hover {
  text-decoration: underline;
}

.on-dark .text-link,
.section--navy .text-link {
  color: #fff;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Branded placeholder art (used where a real job photo hasn't been swapped in yet) */
.placeholder-art {
  display: block;
  width: 100%;
  height: 100%;
}


/* ---- topbar.css ---- */
.topbar {
  display: none;
  background: var(--navy-900);
  color: #fff;
}

@media (min-width: 900px) {
  .topbar {
    display: block;
  }
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 8px;
  font-size: 0.8125rem;
}

.topbar__msg {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}

.topbar__phone {
  font-family: var(--font-heading);
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  white-space: nowrap;
}

.topbar__phone:hover {
  color: var(--gold);
}


/* ---- header.css ---- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  height: 72px;
  display: flex;
  align-items: center;
}

.header--scrolled {
  box-shadow: var(--shadow);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.header__logo img {
  height: 56px;
  width: auto;
}

.header__nav {
  display: none;
}

@media (min-width: 900px) {
  .header__nav {
    display: block;
  }
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-list__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  padding: 8px 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
}

.nav-list__link:hover {
  color: var(--navy-700);
}

.dropdown {
  position: relative;
}

.dropdown__toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.dropdown__menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 460px;
  background: var(--surface);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 20px;
  display: flex;
  gap: 32px;
}

.dropdown__menu[hidden] {
  display: none;
}

.dropdown__heading {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy-700);
  margin: 0 0 10px;
}

.dropdown__col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dropdown__col a {
  text-decoration: none;
  font-size: 0.9375rem;
  color: var(--body);
  white-space: nowrap;
}

.dropdown__col a:hover {
  color: var(--navy-700);
}

.dropdown__all {
  margin-top: 12px;
}

.dropdown__all a {
  font-weight: 700;
  color: var(--navy-700);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header__phone {
  display: none;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-heading);
  font-weight: 700;
}

@media (min-width: 900px) {
  .header__phone {
    display: inline-flex;
  }
}

@media (max-width: 1099px) {
  .header__phone-text {
    display: none;
  }
}

.header__book {
  display: none;
}

@media (min-width: 900px) {
  .header__book {
    display: inline-flex;
  }
}

.header__call-round,
.header__menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface-alt);
  color: var(--navy);
  border: none;
  text-decoration: none;
}

@media (min-width: 900px) {
  .header__call-round,
  .header__menu-toggle {
    display: none;
  }
}

/* Mobile full-height panel */
.mobile-panel {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--navy);
  color: #fff;
  overflow-y: auto;
}

body.nav-open {
  overflow: hidden;
}

.mobile-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 16px;
}

.mobile-panel__head .header__logo img {
  height: 48px;
}

.mobile-panel__close {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mobile-panel__nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 40px;
}

.mobile-panel__details summary {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.125rem;
  padding-block: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
}

.mobile-panel__details ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px 0 4px 12px;
}

.mobile-panel__details a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.mobile-panel__links {
  display: flex;
  flex-direction: column;
}

.mobile-panel__links li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.mobile-panel__links a {
  display: block;
  padding-block: 14px;
  text-decoration: none;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.125rem;
}

.mobile-panel__ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.mobile-panel__ctas .btn {
  width: 100%;
}

@media (min-width: 900px) {
  .mobile-panel {
    display: none;
  }
}


/* ---- hero.css ---- */
.hero-wrap {
  position: relative;
}

.hero {
  position: relative;
  min-height: 78svh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}

@media (min-width: 900px) {
  .hero {
    min-height: 88svh;
    align-items: center;
  }
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  /* Navy-tinted scrim (not flat black) for contrast against the slideshow. */
  background: linear-gradient(
    0deg,
    rgba(0, 33, 76, 0.92) 0%,
    rgba(0, 33, 76, 0.6) 55%,
    rgba(0, 33, 76, 0.25) 100%
  );
}

@media (min-width: 900px) {
  .hero__overlay {
    background: linear-gradient(
      90deg,
      rgba(0, 33, 76, 0.88) 0%,
      rgba(0, 33, 76, 0.55) 55%,
      rgba(0, 33, 76, 0.15) 100%
    );
  }
}

/* ---------------------------------------------------------
   Background photo slideshow — stacked, crossfading layers.
   Mechanism: 2+ full-bleed images stacked with inset:0, opacity
   swapped by JS on an interval (see motion.js). First slide is
   .is-active by default in markup, so reduced-motion / no-JS
   users still see a correct static photo.
   --------------------------------------------------------- */
.hero__slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.8s ease;
}

.hero__slide.is-active {
  opacity: 1;
}

.hero__slide picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero__slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.03);
}

@media (prefers-reduced-motion: reduce) {
  .hero__slide {
    transition: none;
  }
}

/* ---------------------------------------------------------
   Organic curved divider between the hero and the next
   section — replaces a hard straight edge.
   --------------------------------------------------------- */
.hero__divider {
  position: relative;
  line-height: 0;
  margin-top: -2px;
}

.hero__divider svg {
  display: block;
  width: 100%;
  height: 56px;
}

@media (min-width: 900px) {
  .hero__divider svg {
    height: 90px;
  }
}

/* One or two accent words inside a headline, against the dark hero photo. */
.accent-word {
  color: var(--accent-blue);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  padding-block: 48px;
}

.hero__content h1 {
  color: #fff;
  margin-top: 16px;
}

.hero__sub {
  margin-top: 20px;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.92);
  max-width: 56ch;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero__tertiary {
  display: inline-block;
  margin-top: 18px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 24px 0 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
}

.hero__trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
}

.hero__trust span {
  color: rgba(255, 255, 255, 0.85);
}

.hero__trust svg {
  color: var(--gold);
  flex-shrink: 0;
}


/* ---- rating-badge.css ---- */
.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-size: 0.875rem;
  margin-bottom: 18px;
}

.rating-badge__stars {
  display: inline-flex;
  gap: 2px;
  color: var(--gold);
}

.rating-badge--dark {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.rating-badge--dark:hover {
  background: rgba(255, 255, 255, 0.2);
}

.rating-badge--light {
  background: var(--surface-alt);
  color: var(--ink);
  border: 1px solid var(--line);
}

.rating-badge--light:hover {
  background: #eaf0f8;
}


/* ---- proof-strip.css ---- */
.proof-strip {
  background: var(--navy);
  color: #fff;
}

.proof-strip__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 20px;
  padding-block: 40px;
}

@media (min-width: 900px) {
  .proof-strip__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.proof-strip__icon {
  display: inline-flex;
  color: var(--gold);
  margin-bottom: 12px;
}

.proof-strip__bold {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.0625rem;
  margin: 0 0 4px;
  color: #fff;
}

.proof-strip__small {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
}


/* ---- section-head.css ---- */
.section-head {
  max-width: 720px;
  margin-bottom: 40px;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .eyebrow {
  justify-content: center;
}

.section-head__lede {
  margin-top: 14px;
  font-size: 1.0625rem;
  color: var(--muted);
}

/* One deliberate accent-blue moment: the "Real Jobs" eyebrow flourish */
.eyebrow--accent::before {
  background: var(--accent-blue);
}


/* ---- flagship.css ---- */
.flagship-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .flagship-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

.flagship-card {
  position: relative;
  display: block;
  text-decoration: none;
  color: #fff;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  box-shadow: var(--shadow);
}

@media (min-width: 640px) {
  .flagship-card {
    aspect-ratio: 4 / 3;
  }
}

.flagship-card__media {
  position: absolute;
  inset: 0;
}

.flagship-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.03);
}

.flagship-card__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 22, 51, 0) 35%, rgba(0, 22, 51, 0.55) 68%, rgba(0, 22, 51, 0.92) 100%);
}

.flagship-card__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px clamp(16px, 3vw, 24px);
}

.flagship-card__body .eyebrow {
  margin-bottom: 4px;
}

.flagship-card__body h3 {
  color: #fff;
  font-size: clamp(1.25rem, 2.4vw, 1.625rem);
  margin-bottom: 4px;
}

.flagship-card__caption {
  margin: 0 0 8px;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.92);
  max-width: 38ch;
  transform: translateY(6px);
  transition: transform 0.3s var(--ease);
}

.flagship-card__link {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.flagship-card {
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.flagship-card:hover,
.flagship-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 33, 76, 0.3);
}

.flagship-card:hover .flagship-card__caption,
.flagship-card:focus-visible .flagship-card__caption {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .flagship-card {
    transition: none;
  }

  .flagship-card:hover,
  .flagship-card:focus-visible {
    transform: none;
  }

  .flagship-card__caption {
    transform: none;
    transition: none;
  }
}


/* ---- service-grid.css ---- */
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

@media (min-width: 641px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

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

.service-card {
  display: flex;
  gap: 16px;
  text-decoration: none;
  color: inherit;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.service-card:hover {
  box-shadow: var(--shadow);
  border-color: transparent;
}

.service-card__media {
  flex-shrink: 0;
  width: 88px;
  height: 88px;
}

.service-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card__body {
  padding: 12px 16px 12px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.service-card__body h3 {
  font-size: 1.0625rem;
}

.service-card__body p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--muted);
}

.service-card__link {
  display: none;
}

@media (min-width: 641px) {
  .service-card {
    flex-direction: column;
  }

  .service-card__media {
    width: 100%;
    height: 0;
    padding-top: 75%; /* 4:3 */
    position: relative;
  }

  .service-card__img {
    position: absolute;
    inset: 0;
  }

  .service-card__body {
    padding: 20px 20px 24px;
    gap: 8px;
  }

  .service-card__link {
    display: inline-block;
    margin-top: 4px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--navy-700);
  }
}

.service-feature {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: var(--surface-alt);
  border-radius: var(--radius-card);
  overflow: hidden;
}

@media (min-width: 900px) {
  .service-feature {
    flex-direction: row;
    align-items: stretch;
  }
}

.service-feature__media {
  aspect-ratio: 4 / 3;
}

@media (min-width: 900px) {
  .service-feature__media {
    width: 46%;
    aspect-ratio: auto;
  }
}

.service-feature__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-feature__body {
  padding: 28px clamp(20px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.service-feature__body p:not(.eyebrow) {
  color: var(--body);
  margin: 0;
}

.service-grid__all {
  text-align: center;
  margin-top: 28px;
}

/* Secondary grid: dense, icon-led cards with real hover motion — this
   list is the supporting cast, so it reads compact rather than photo-led */
.service-grid--secondary {
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 8px;
}

@media (min-width: 641px) {
  .service-grid--secondary {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media (min-width: 900px) {
  .service-grid--secondary {
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
  }
}

.service-card--icon {
  flex-direction: column;
  align-items: flex-start;
  padding: 18px 16px 20px;
  border-radius: var(--radius-card);
  transform: translateY(0) scale(1);
}

.service-card--icon .service-card__body {
  padding: 0;
  gap: 4px;
}

.service-card--icon .service-card__body h3 {
  position: relative;
  display: inline-block;
  font-size: 0.9375rem;
  padding-bottom: 8px;
}

.service-card--icon .service-card__body h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 22px;
  height: 2px;
  background: var(--accent-blue);
  transition: width 0.25s var(--ease);
}

.service-card--icon:hover .service-card__body h3::after,
.service-card--icon:focus-visible .service-card__body h3::after {
  width: 40px;
}

.service-card--icon .service-card__body p {
  font-size: 0.8125rem;
  line-height: 1.4;
}

.service-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: rgba(47, 195, 240, 0.12);
  color: var(--accent-blue);
  flex-shrink: 0;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease);
}

.service-card--icon:hover .service-card__badge,
.service-card--icon:focus-visible .service-card__badge {
  background: var(--accent-blue);
  color: #fff;
  transform: scale(1.08);
}

.service-card--icon.hover-lift:hover,
.service-card--icon.hover-lift:focus-visible {
  transform: translateY(-6px) scale(1.02);
}

@media (prefers-reduced-motion: reduce) {
  .service-card--icon.hover-lift:hover,
  .service-card--icon.hover-lift:focus-visible {
    transform: none;
  }

  .service-card--icon:hover .service-card__badge,
  .service-card--icon:focus-visible .service-card__badge {
    transform: none;
  }
}


/* ---- before-after.css ---- */
/* ---- Featured slider: the centerpiece of the page ---- */
.before-after-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  color: var(--accent-blue);
}

.before-after-hint__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-blue);
  box-shadow: 0 0 0 4px rgba(47, 195, 240, 0.2);
  flex-shrink: 0;
}

.before-after--featured {
  margin: 0 0 40px;
}

.before-after--featured .before-after__frame {
  aspect-ratio: 4 / 3;
  box-shadow: 0 8px 20px rgba(0, 33, 76, 0.14), 0 32px 64px rgba(0, 33, 76, 0.2);
}

@media (min-width: 700px) {
  .before-after--featured .before-after__frame {
    aspect-ratio: 16 / 9;
  }
}

.before-after__caption--featured {
  font-size: 1.3125rem;
}

/* ---- Secondary strip: smaller, supporting items ---- */
.before-after-grid--secondary {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 560px;
}

@media (min-width: 700px) {
  .before-after-grid--secondary {
    grid-template-columns: repeat(2, 1fr);
    max-width: none;
  }
}

.before-after {
  margin: 0;
}

.before-after__frame {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--surface-alt);
  box-shadow: 0 4px 12px rgba(0, 33, 76, 0.1), 0 20px 48px rgba(0, 33, 76, 0.16);
}

.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.03);
}

.ba-before {
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}

.ba-tag {
  position: absolute;
  top: 12px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0, 33, 76, 0.72);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  pointer-events: none;
}

.ba-tag--before {
  left: 12px;
}

.ba-tag--after {
  right: 12px;
}

.ba-handle {
  position: absolute;
  top: 50%;
  left: var(--pos);
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  box-shadow: var(--shadow);
  pointer-events: none;
}

.before-after__frame::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  background: var(--gold);
  transform: translateX(-50%);
  pointer-events: none;
}

.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  appearance: none;
  -webkit-appearance: none;
}

.ba-range::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 44px;
  height: 44px;
}

.ba-range::-moz-range-thumb {
  width: 44px;
  height: 44px;
  border: none;
}

.ba-range:focus-visible {
  opacity: 1;
}

.ba-range:focus-visible::-webkit-slider-thumb {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.001);
}

.before-after__caption {
  margin-top: 14px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.0625rem;
  color: var(--ink);
}


/* ---- steps.css ---- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  counter-reset: step;
}

@media (min-width: 700px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.steps__item {
  text-align: left;
}

.steps__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.steps__item h3 {
  margin-bottom: 8px;
}

.steps__item p {
  color: var(--muted);
  margin: 0;
}

.steps__cta {
  margin-top: 40px;
  text-align: center;
}


/* ---- values.css ---- */
.values__body {
  max-width: 760px;
  margin: 0 0 32px;
}

.values__body p:last-child {
  margin-bottom: 0;
}

.values__faith {
  font-size: 0.9375rem;
  color: var(--muted);
  font-style: italic;
}

.values__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (min-width: 481px) and (max-width: 780px) {
  .values__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 28px;
  }
}

@media (max-width: 480px) {
  .values__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.values__grid li {
  border-top: 3px solid var(--gold);
  padding-top: 16px;
}

.values__grid h3 {
  font-size: 1.0625rem;
  margin-bottom: 6px;
}

.values__grid p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--body);
}


/* ---- protection.css ---- */
/* Property protection: full page protocol list */
.protocol-list {
  display: grid;
  gap: 48px;
  counter-reset: protocol;
  margin-bottom: 48px;
}

.protocol-item {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  align-items: start;
}

@media (max-width: 700px) {
  .protocol-item {
    grid-template-columns: 1fr;
  }
}

.protocol-item__media {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
}

.protocol-item__media .placeholder-art {
  width: 100%;
  height: 100%;
  display: block;
}

.protocol-item__body {
  padding-top: 4px;
}

.protocol-item__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.125rem;
  margin-bottom: 14px;
}

.protocol-item__body p {
  margin: 0;
  font-size: 1.0625rem;
  color: var(--body);
  max-width: 60ch;
}

.protocol-closing {
  max-width: 760px;
  font-size: 1rem;
  color: var(--body);
  margin: 0 0 8px;
}

.protocol-intro {
  max-width: 700px;
  font-size: 1.0625rem;
  color: var(--muted);
  margin-bottom: 40px;
}

/* Homepage short version */
.protection-brief__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 28px;
}

@media (min-width: 481px) and (max-width: 900px) {
  .protection-brief__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 28px;
  }
}

@media (max-width: 480px) {
  .protection-brief__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

.protection-brief__grid li {
  border-top: 3px solid var(--gold);
  padding-top: 14px;
}

.protection-brief__grid h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.protection-brief__grid p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--body);
}

.protection-brief__link {
  text-align: center;
}


/* ---- review.css ---- */
.review-card {
  flex-shrink: 0;
  background: var(--surface-alt);
  border-radius: var(--radius-card);
  padding: 24px;
}

.review-card__stars {
  display: inline-flex;
  gap: 2px;
  color: var(--gold);
  margin-bottom: 12px;
}

.review-card__text {
  color: var(--body);
  margin: 0 0 16px;
}

.review-card__meta {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--muted);
}

.review-card__meta strong {
  color: var(--ink);
}

.review-grid-static {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.review-grid-static .review-card {
  height: 100%;
}

.review-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 36px;
}


/* ---- town-list.css ---- */
.town-list__tier1,
.town-list__tier2,
.town-list__tier3 {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.town-list__tier1 {
  margin-bottom: 16px;
}

.town-list__tier2 {
  margin-bottom: 16px;
}

.town-list__tier1 a {
  display: inline-block;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: var(--navy);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.9375rem;
  text-decoration: none;
}

.town-list__tier1 a:hover {
  background: var(--navy-700);
}

.town-list__tier2 a {
  display: inline-block;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--surface-alt);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.875rem;
  text-decoration: none;
}

.town-list__tier2 a:hover {
  border-color: var(--navy-700);
  color: var(--navy-700);
}

.town-list__tier3 a {
  display: inline-block;
  padding: 8px 4px;
  color: var(--navy-700);
  font-weight: 700;
  text-decoration: underline;
  font-size: 0.9375rem;
}

.town-list__closing {
  margin-top: 24px;
  color: var(--muted);
}


/* ---- faq.css ---- */
.faq-accordion {
  max-width: 800px;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 20px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item__chevron {
  flex-shrink: 0;
  transition: transform 0.15s ease;
  color: var(--navy-700);
}

.faq-item[open] .faq-item__chevron {
  transform: rotate(180deg);
}

.faq-item p {
  margin: 0 0 20px;
  color: var(--body);
  max-width: 68ch;
}

.faq-cta {
  margin-top: 28px;
}


/* ---- service-page.css ---- */
/* Service page template: shared components across /house-washing/,
   /paver-cleaning/, /concrete-sealing/, /paver-sealing/ and every future
   service page built from this pattern. */

/* "What's included" checklist */
.included-list {
  display: grid;
  gap: 14px;
  max-width: 640px;
}

.included-list__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1.0625rem;
  color: var(--body);
}

.included-list__check {
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--navy-700);
  background: var(--gold);
  border-radius: 50%;
  padding: 3px;
  box-sizing: content-box;
}

/* Pricing framing block */
.pricing-note {
  max-width: 640px;
  background: var(--surface-alt);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  padding: 20px 24px;
}

.pricing-note p {
  margin: 0;
}

.pricing-note p + p {
  margin-top: 10px;
}

.pricing-note__minimum {
  font-size: 0.9375rem;
  color: var(--muted);
}

/* Inline link to /property-protection/ near the process section */
.service-protection-link {
  max-width: 640px;
  margin-top: 24px;
}

/* Single-photo proof slot (used where no before/after pair exists yet) */
.service-proof-single {
  max-width: 720px;
  margin-inline: auto;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 10;
}

.service-proof-single .placeholder-art,
.service-proof-single img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ---- quote-bar.css ---- */
.quote-bar {
  background: var(--navy);
  color: #fff;
  padding-block: var(--section-pad);
}

.quote-bar__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 900px) {
  .quote-bar__grid {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }
}

.quote-bar__intro h2 {
  color: #fff;
}

.quote-bar__intro p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 46ch;
}

.quote-bar__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.quote-form-card {
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius-card);
  padding: clamp(20px, 4vw, 32px);
  box-shadow: var(--shadow);
}

.quote-form-card h3 {
  margin-bottom: 16px;
}


/* ---- footer.css ---- */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.8);
  border-top: 6px solid var(--gold);
  padding-top: var(--section-pad);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

@media (min-width: 700px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

.footer__col--brand img {
  height: 56px;
  width: auto;
  margin-bottom: 14px;
}

.footer__tagline {
  max-width: 32ch;
  color: rgba(255, 255, 255, 0.7);
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.footer__contact a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.footer__contact a:hover {
  color: var(--gold);
}

.footer__heading {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  margin: 0 0 16px;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.9375rem;
}

.footer__col a:hover {
  color: var(--gold);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-block: 20px;
  font-size: 0.8125rem;
}

.footer__bottom a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.footer__bottom a:hover {
  color: var(--gold);
}

@media (max-width: 899px) {
  .footer {
    padding-bottom: 76px;
  }
}


/* ---- mobile-cta.css ---- */
.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: flex;
  background: var(--surface);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 16px rgba(0, 33, 76, 0.1);
  padding-bottom: env(safe-area-inset-bottom, 0);
}

@media (min-width: 900px) {
  .mobile-cta {
    display: none;
  }
}

.mobile-cta__btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding-block: 14px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--navy);
}

.mobile-cta__btn--primary {
  flex: 1.4;
  background: var(--gold);
  color: var(--navy);
}


/* ---- forms.css ---- */
.quote-form {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.quote-form__hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.quote-form label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8125rem;
  color: var(--ink);
  margin-top: 12px;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-button);
  color: var(--ink);
  background: #fff;
  width: 100%;
}

.quote-form input:focus-visible,
.quote-form select:focus-visible,
.quote-form textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 1px;
  border-color: var(--navy-700);
}

.quote-form textarea {
  resize: vertical;
}

.quote-form__submit {
  margin-top: 20px;
  width: 100%;
}


/* ---- motion.css ---- */
/* ============================================================
   Motion layer — scroll reveal, progress bar, sheen, hero bubbles,
   review marquee, mobile CTA hide-on-scroll.
   Everything here is gated for prefers-reduced-motion: reduce —
   content must be fully visible/usable with motion off.
   ============================================================ */

/* ---- Scroll progress bar ---- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  z-index: 200;
  background: linear-gradient(90deg, var(--gold-600), var(--gold));
  box-shadow: 0 0 8px rgba(253, 210, 74, 0.6);
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .scroll-progress {
    display: none;
  }
}

/* ---- Scroll reveal ----
   Default state (no motion preference, or JS/observer unsupported):
   fully visible. Only when the page opts in via .has-reveal AND the
   visitor allows motion do items start hidden and animate in. */
@media (prefers-reduced-motion: no-preference) {
  html.has-reveal .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
    transition-delay: var(--reveal-delay, 0ms);
  }

  html.has-reveal .reveal.in {
    opacity: 1;
    transform: none;
  }
}

/* ---- Card hover-lift (shared) ---- */
.hover-lift {
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.hover-lift:hover,
.hover-lift:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0, 33, 76, 0.16);
}

@media (prefers-reduced-motion: reduce) {
  .hover-lift:hover,
  .hover-lift:focus-visible {
    transform: none;
  }
}

/* ---- Button sheen (primary CTAs) ---- */
.btn-primary {
  position: relative;
  overflow: hidden;
}

@media (prefers-reduced-motion: no-preference) {
  .btn-primary::after {
    content: "";
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(
      115deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.55) 50%,
      rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-20deg);
    animation: btn-sheen 5.5s ease-in-out infinite;
    pointer-events: none;
  }

  @keyframes btn-sheen {
    0% {
      left: -60%;
    }
    14% {
      left: 130%;
    }
    100% {
      left: 130%;
    }
  }
}

/* ---- Hero ambient bubbles ---- */
.hero__bubbles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero__bubbles-canvas[hidden] {
  display: none;
}

/* CSS-only fallback: shown by default, hidden by JS once canvas takes over.
   Under reduced motion these render as still, static decoration. */
.hero__bubbles-css {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__bubbles-css span {
  position: absolute;
  bottom: -10%;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.75), rgba(253, 210, 74, 0.12) 60%, rgba(253, 210, 74, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.hero__bubbles-css span:nth-child(1) { left: 8%; width: 18px; height: 18px; animation-duration: 14s; animation-delay: 0s; }
.hero__bubbles-css span:nth-child(2) { left: 22%; width: 10px; height: 10px; animation-duration: 10s; animation-delay: 1.5s; }
.hero__bubbles-css span:nth-child(3) { left: 38%; width: 26px; height: 26px; animation-duration: 17s; animation-delay: 0.5s; }
.hero__bubbles-css span:nth-child(4) { left: 55%; width: 14px; height: 14px; animation-duration: 12s; animation-delay: 3s; }
.hero__bubbles-css span:nth-child(5) { left: 68%; width: 22px; height: 22px; animation-duration: 15.5s; animation-delay: 2s; }
.hero__bubbles-css span:nth-child(6) { left: 82%; width: 12px; height: 12px; animation-duration: 11s; animation-delay: 4s; }
.hero__bubbles-css span:nth-child(7) { left: 92%; width: 20px; height: 20px; animation-duration: 16s; animation-delay: 1s; }

@media (prefers-reduced-motion: no-preference) {
  .hero__bubbles-css span {
    animation-name: bubble-rise;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
  }

  @keyframes bubble-rise {
    0% {
      transform: translateY(0) translateX(0);
      opacity: 0;
    }
    10% {
      opacity: 0.6;
    }
    90% {
      opacity: 0.5;
    }
    100% {
      transform: translateY(-115vh) translateX(14px);
      opacity: 0;
    }
  }
}

/* ---- Count-up targets: reserve layout space, no visual change ---- */
[data-count] {
  font-variant-numeric: tabular-nums;
}

/* ---- Review marquee ---- */
.review-marquee {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  margin: 0 calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  scrollbar-width: none;
}

.review-marquee::-webkit-scrollbar {
  display: none;
}

.review-track {
  display: flex;
  gap: 20px;
  width: max-content;
}

.review-track__dup {
  display: contents;
}

@media (prefers-reduced-motion: no-preference) {
  .review-marquee {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  }

  .review-track {
    animation: review-scroll 48s linear infinite;
  }

  .review-marquee:hover .review-track,
  .review-marquee.is-paused .review-track {
    animation-play-state: paused;
  }

  @keyframes review-scroll {
    to {
      transform: translateX(-50%);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .review-track__dup {
    display: none;
  }
}

.review-track .review-card {
  flex: 0 0 300px;
}

@media (min-width: 560px) {
  .review-track .review-card {
    flex-basis: 340px;
  }
}

/* ---- Mobile CTA hide-on-scroll-down ---- */
.mobile-cta {
  transition: transform 0.25s var(--ease);
}

.mobile-cta--hidden {
  transform: translateY(100%);
}

@media (prefers-reduced-motion: reduce) {
  .mobile-cta {
    transition: none;
  }
}
