:root {
  --navy: #1b2d5a;
  --navy-deep: #13213f;
  --red: #c8202b;
  --red-dark: #a51821;
  --ink: #1d2433;
  --muted: #5f6672;
  --paper: #f3f5f9;
  --line: #dde2ea;
  --input: #c7ceda;
  --on-dark: #f7f9fc;
  --on-dark-soft: #d5deee;
  --eyebrow-on-dark: #ff8a8f;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; color-scheme: light; }
body {
  margin: 0;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: #fff;
}
img { max-width: 100%; display: block; }
h1, h2, h3 {
  font-family: Montserrat, Arial, sans-serif;
  color: var(--navy);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.45em;
}
h1 { font-size: 34px; font-weight: 800; }
h2 { font-size: 28px; font-weight: 700; }
h3 { font-size: 18px; font-weight: 700; margin-bottom: 0.35em; }
p { margin: 0 0 1em; }
a { color: var(--navy); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; min-width: 0; }
.section { padding: 48px 0; }
.paper { background: var(--paper); }
.eyebrow {
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 10px;
}

.btn {
  display: inline-block;
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
  padding: 14px 22px;
  border-radius: 6px;
  border: 2px solid transparent;
  text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); color: #fff; }
.btn-red:focus-visible { outline-color: #fff; }
.btn-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff; }
.hero .btn-outline,
.band .btn-outline {
  border-color: #fff;
  color: #fff;
}
.hero .btn-outline:hover,
.band .btn-outline:hover {
  background: #fff;
  color: var(--navy);
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  border-bottom: 3px solid var(--red);
}
.header .wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.logo { flex: 0 0 auto; }
.logo img { height: 48px; width: auto; }
.nav { display: none; }
.nav a {
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  color: var(--navy);
}
.nav a:hover { color: var(--red); }
.header .btn {
  margin-left: auto;
  padding: 10px 12px;
  font-size: 14px;
  white-space: nowrap;
}

.hero { background: var(--navy-deep); color: var(--on-dark); }
.hero-grid { display: grid; }
.hero-photo {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  background: #0c162c;
  order: -1;
}
.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 42%;
}
.hero-copy { padding: 32px 20px 40px; }
.hero h1 { color: #fff; }
.hero .eyebrow { color: var(--eyebrow-on-dark); }
.hero p { color: var(--on-dark-soft); font-size: 17px; max-width: 38rem; }
.hero .ctas { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
.hero .btn { width: 100%; }
.hero :focus-visible { outline-color: #fff; }

.strip { background: #fff; border-bottom: 1px solid var(--line); }
.strip ul { list-style: none; margin: 0; padding: 18px 0 8px; display: grid; gap: 14px; }
.strip li { border-top: 3px solid var(--red); padding-top: 10px; }
.strip strong {
  display: block;
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 700;
  color: var(--navy);
  font-size: 16px;
}
.strip span { display: block; color: var(--muted); font-size: 15px; }
.stats ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; padding: 24px 0 26px; }
.stats strong { font-weight: 800; font-size: 26px; line-height: 1.1; letter-spacing: -0.01em; }
.stats span { margin-top: 6px; font-size: 14px; line-height: 1.35; }
@media (max-width: 359px) { .stats strong { font-size: 20px; } }

.cards { display: grid; gap: 16px; margin-top: 28px; }
.svc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.svc-photo { position: relative; aspect-ratio: 3 / 2; background: var(--paper); }
.svc-photo img,
.about-photo img,
.band-media img,
.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.svc-body { padding: 16px 16px 20px; }
.svc-body p { margin: 0; color: var(--muted); }

.band { position: relative; overflow: hidden; color: #fff; background: var(--navy-deep); }
.band-media { position: absolute; inset: 0; }
.band-overlay { position: absolute; inset: 0; background: rgba(19, 33, 63, 0.92); }
.band-copy { position: relative; z-index: 1; padding-top: 56px; padding-bottom: 56px; max-width: 760px; }
.band h2 { color: #fff; }
.band p { color: var(--on-dark-soft); font-size: 18px; max-width: 38rem; }
.band :focus-visible { outline-color: #fff; }

.steps { margin-top: 28px; }
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
}
.step .num {
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 800;
  font-size: 28px;
  line-height: 1;
  color: var(--red);
  margin-bottom: 10px;
}
.step p { margin: 0; }
/* v2.3 process timeline: vertical on phone and tablet, 6-across stepper from 1001px */
.tl {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  position: relative;
  display: grid;
  gap: 14px;
  max-width: 680px;
}
.tl::before,
.tl::after {
  content: "";
  position: absolute;
  left: 17px;
  top: 18px;
  bottom: 18px;
  width: 2px;
  background: var(--input);
}
.tl::after { background: var(--red); transform-origin: 50% 0; }
.tl-step {
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 36px;
}
.tl-num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 800;
  font-size: 16px;
  line-height: 1;
  box-shadow: 0 0 0 4px var(--paper);
}
.tl-step p { margin: 0; line-height: 1.4; }
.note {
  margin-top: 22px;
  padding: 16px 16px 16px 18px;
  background: #fff;
  border-left: 6px solid var(--red);
  border-radius: 0 10px 10px 0;
}
.note p { margin: 0; }
.section-cta { margin: 22px 0 0; }

.about-grid { display: grid; gap: 28px; }
.about-photo {
  position: relative;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  border-radius: 12px;
  border-bottom: 6px solid var(--red);
  background: var(--paper);
}
.about-photo img { object-position: center top; }
.about p { max-width: 42rem; }
.pull {
  margin: 8px 0 0;
  padding: 16px 16px 16px 18px;
  background: var(--paper);
  border-left: 6px solid var(--red);
  border-radius: 0 10px 10px 0;
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.35;
  color: var(--navy);
}

.reviews { background: var(--navy-deep); color: var(--on-dark); }
.reviews h2 { color: #fff; }
.reviews .eyebrow { color: var(--eyebrow-on-dark); }
.hint { color: var(--on-dark-soft); margin-bottom: 8px; }
.flipper {
  display: flex;
  gap: 16px;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scroll-padding-inline: 2px;
  padding: 8px 2px 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--red) #2a3c5c;
}
.flipper::-webkit-scrollbar { height: 8px; }
.flipper::-webkit-scrollbar-thumb { background: var(--red); border-radius: 99px; }
.quote {
  flex: 0 0 86%;
  min-width: 0;
  scroll-snap-align: start;
  background: #fff;
  color: var(--ink);
  border-radius: 12px;
  padding: 22px 20px 20px;
}
.quote blockquote {
  position: relative;
  margin: 0 0 16px;
  padding-top: 28px;
  font-size: 17px;
  line-height: 1.5;
}
.quote blockquote::before {
  content: "\201C";
  position: absolute;
  top: -6px;
  left: 0;
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 800;
  font-size: 46px;
  line-height: 1;
  color: var(--red);
}
.quote .who {
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 700;
  color: var(--navy);
}
.quote .org { color: var(--muted); font-size: 15px; }
.reviews :focus-visible { outline-color: #fff; }

.contact-grid { display: grid; gap: 28px; }
.phone {
  display: inline-block;
  margin: 4px 0 12px;
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 800;
  font-size: 30px;
  letter-spacing: -0.02em;
  color: var(--navy);
  text-decoration: none;
}
.phone:hover { color: var(--red); }
.email { overflow-wrap: anywhere; }
.small { color: var(--muted); font-size: 15px; }
.form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 16px 16px;
}
.form .row { display: grid; gap: 0 14px; }
.form label {
  display: block;
  font-weight: 600;
  font-size: 15px;
  margin: 0 0 14px;
}
.form input,
.form select,
.form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  padding: 12px 14px;
  border: 1px solid var(--input);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
}
.form textarea { min-height: 110px; resize: vertical; }
.form .btn { width: 100%; }
.form .btn:disabled { opacity: 1; cursor: not-allowed; }
.preview-note {
  margin: 12px 0 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--red);
  text-align: center;
}

.footer { background: var(--navy-deep); color: #c9d2e3; padding: 36px 0 28px; font-size: 15px; }
.footer-grid { display: grid; gap: 18px; }
.logo-box { background: #fff; border-radius: 8px; padding: 8px; justify-self: start; }
.logo-box img { height: 64px; width: auto; }
.footer p { margin: 0 0 6px; }
.footer a { color: #fff; }
.footer .tagline { margin-top: 10px; color: #c9d2e3; }

.mbar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  box-shadow: 0 -4px 16px rgba(19, 33, 63, 0.08);
}
.mbar .btn { padding: 14px 8px; }
body { padding-bottom: 76px; }

@media (min-width: 751px) {
  body { font-size: 17px; }
  h1 { font-size: 44px; }
  h2 { font-size: 34px; }
  .wrap { padding: 0 32px; }
  .section { padding: 64px 0; }
  .header .wrap { min-height: 84px; }
  .logo img { height: 62px; }
  .header .btn { padding: 12px 16px; font-size: 15px; }
  .hero-copy { padding: 48px 32px 56px; }
  .hero .ctas { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .hero .btn { width: auto; }
  .hero-photo { min-height: 340px; }
  .strip ul { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; padding: 26px 0; }
  .stats ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; padding: 32px 0 34px; }
  .stats strong { font-size: 34px; }
  .cards.services, .cards.steps, .cards.why { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .form { padding: 24px; }
  .form .row { grid-template-columns: 1fr 1fr; }
  .quote { flex-basis: 74%; padding: 28px; }
  .band-copy { padding-top: 72px; padding-bottom: 72px; }
  .footer { padding: 48px 0; }
}

@media (min-width: 1000px) {
  .nav { display: flex; gap: 22px; margin-left: auto; }
  .header .btn { margin-left: 8px; }
  .mbar { display: none; }
  body { padding-bottom: 0; }
}

@media (min-width: 1001px) {
  h1 { font-size: 52px; }
  h2 { font-size: 36px; }
  .wrap { padding: 0 40px; }
  .band-copy { padding-top: 72px; padding-bottom: 72px; }
  .section { padding: 80px 0; }
  .stats ul { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 36px; padding: 40px 0 42px; }
  .stats strong { font-size: 40px; }
  .stats span { font-size: 15px; }
  .hero-grid {
    max-width: 1180px;
    margin: 0 auto;
    padding: 28px 40px;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 48px;
    align-items: center;
  }
  .hero-photo {
    order: 0;
    min-height: 460px;
    border-radius: 14px;
    border-bottom: 6px solid var(--red);
  }
  .hero-copy { padding: 36px 0; }
  .cards.services, .cards.steps, .cards.why { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tl { max-width: none; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
  .tl::before,
  .tl::after { top: 21px; bottom: auto; height: 2px; width: auto; left: calc((100% - 100px) / 12); right: calc((100% - 100px) / 12); }
  .tl::after { transform-origin: 0 50%; }
  .tl-step { grid-template-columns: none; justify-items: center; align-content: start; gap: 14px; text-align: center; }
  .tl-num { width: 44px; height: 44px; font-size: 18px; box-shadow: 0 0 0 6px var(--paper); }
  .tl-step p { font-size: 15px; line-height: 1.45; }
  .about-grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 48px; align-items: center; }
  .contact-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
  .footer-grid { grid-template-columns: auto 1fr; gap: 28px; align-items: center; }
  .quote { flex-basis: 68%; }
}

@media (hover: hover) {
  .svc, .step { transition: box-shadow 0.2s ease, translate 0.25s ease; }
  .svc-photo img { transition: transform 0.45s ease; }
  .svc:hover, .step:hover { box-shadow: 0 10px 28px rgba(19, 33, 63, 0.14); }
  .svc:hover img { transform: scale(1.05); }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy .eyebrow,
  .hero-copy h1,
  .hero-copy p,
  .hero-copy .ctas {
    animation: fade-up 0.6s ease both;
  }
  .hero-copy h1 { animation-delay: 0.08s; }
  .hero-copy p { animation-delay: 0.14s; }
  .hero-copy .ctas { animation-delay: 0.2s; }
  .hero-photo img { animation: zoom-settle 1s ease both; }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .rise {
      animation: slide-up linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 32%;
    }
  }
}

/* v2.3 motion. Transform, scale, translate, and opacity only. All of it is off under reduced motion. */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .btn { transition: background-color 0.2s ease, color 0.2s ease, translate 0.2s ease, box-shadow 0.2s ease; }
  .btn:hover { translate: 0 -2px; box-shadow: 0 6px 16px rgba(19, 33, 63, 0.18); }
  .svc:hover, .step:hover { translate: 0 -4px; }
}

@media (min-width: 1001px) and (prefers-reduced-motion: no-preference) {
  .stats li { animation: stat-up 0.7s ease-out both; }
  .stats li:nth-child(1) { animation-delay: 0.35s; }
  .stats li:nth-child(2) { animation-delay: 0.45s; }
  .stats li:nth-child(3) { animation-delay: 0.55s; }
  .stats li:nth-child(4) { animation-delay: 0.65s; }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .tl { view-timeline-name: --tl; view-timeline-axis: block; }
    .tl::after {
      animation: tl-draw linear both;
      animation-timeline: --tl;
      animation-range: cover 10% cover 45%;
    }
    .tl-num {
      animation: tl-pop linear both;
      animation-timeline: --tl;
    }
    .tl-step:nth-child(1) .tl-num { animation-range: cover 8% cover 15%; }
    .tl-step:nth-child(2) .tl-num { animation-range: cover 15% cover 22%; }
    .tl-step:nth-child(3) .tl-num { animation-range: cover 22% cover 29%; }
    .tl-step:nth-child(4) .tl-num { animation-range: cover 29% cover 36%; }
    .tl-step:nth-child(5) .tl-num { animation-range: cover 36% cover 43%; }
    .tl-step:nth-child(6) .tl-num { animation-range: cover 43% cover 50%; }
    .hero-photo img {
      animation: zoom-settle 1s ease both, hero-zoom linear both;
      animation-timeline: auto, scroll(root block);
      animation-range: normal, 0px 900px;
    }
  }
  @media (max-width: 1000px) and (prefers-reduced-motion: no-preference) {
    .stats li {
      animation: stat-up linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 100%;
    }
  }
}

@keyframes tl-draw {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}
@media (min-width: 1001px) {
  @keyframes tl-draw {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
  }
}
@keyframes tl-pop {
  from { opacity: 0; transform: scale(0.5); }
  70% { opacity: 1; transform: scale(1.06); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes stat-up {
  from { opacity: 0; transform: translateY(14px); }
  60% { opacity: 1; }
  to { opacity: 1; transform: none; }
}
@keyframes hero-zoom {
  from { scale: 1; }
  to { scale: 1.07; }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes slide-up {
  from { transform: translateY(20px); }
  to { transform: none; }
}
@keyframes zoom-settle {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .svc-photo img, .svc, .step, .btn { transition: none; }
  .svc:hover img { transform: none; }
}
