/* Church Street Recovery MK */

:root {
  --navy-900: #081629;
  --navy-800: #0b1f3a;
  --navy-700: #112c4f;
  --navy-600: #1b3b64;
  --amber: #e8871e;
  --amber-bright: #ffa33d;
  --amber-deep: #c26e13;
  --paper: #f6f7f9;
  --ink: #16202e;
  --ink-soft: #55616f;
  --on-dark: #ffffff;
  --on-dark-soft: #9fb0c4;
  --line-dark: rgba(255, 255, 255, 0.14);
  --line-light: #dde2e8;
  --wrap: 1180px;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--amber-bright);
  outline-offset: 3px;
}

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 20px;
}

/* ---------- Trust strip (every page) ---------- */

.trust-strip {
  background: var(--navy-900);
  color: var(--on-dark-soft);
  border-bottom: 1px solid var(--line-dark);
  font-size: 0.82rem;
}

.trust-strip .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 26px;
  justify-content: center;
  padding-block: 8px;
}

/* On phones the fold is precious: keep the two strongest signals only. */
.trust-strip span:nth-child(1),
.trust-strip span:nth-child(4) {
  display: none;
}

@media (min-width: 760px) {
  .trust-strip span:nth-child(1),
  .trust-strip span:nth-child(4) {
    display: inline;
  }
}

.trust-strip b {
  color: var(--on-dark);
  font-weight: 600;
}

.trust-strip .rating b {
  color: var(--amber-bright);
}

/* ---------- Masthead ---------- */

.masthead {
  background: var(--navy-800);
  color: var(--on-dark);
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid var(--line-dark);
}

.masthead .wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 74px;
}

.logo {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.01em;
  line-height: 0.95;
  text-decoration: none;
  margin-right: auto;
}

.logo small {
  display: block;
  font-family: var(--body);
  font-weight: 400;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--on-dark-soft);
  margin-top: 3px;
}

/* Mobile menu button. Hidden from 900px up, where the nav shows inline. */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  padding: 0;
  background: transparent;
  color: var(--on-dark);
  border: 1px solid var(--line-dark);
  border-radius: 4px;
  cursor: pointer;
}

.nav-toggle:hover {
  border-color: var(--amber);
}

.bars {
  position: relative;
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.bars::before,
.bars::after {
  content: "";
  position: absolute;
  left: 0;
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.bars::before { top: -6px; }
.bars::after  { top: 6px; }

@media (prefers-reduced-motion: no-preference) {
  .bars,
  .bars::before,
  .bars::after {
    transition: transform 0.18s ease, top 0.18s ease, background 0.18s ease;
  }
}

/* open: the bars become a cross */
.nav-toggle[aria-expanded="true"] .bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav {
  display: none;
}

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

.nav ul {
  display: flex;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.97rem;
}

.nav a {
  text-decoration: none;
  padding-block: 6px;
  border-bottom: 2px solid transparent;
}

.nav a:hover,
.nav a[aria-current] {
  border-bottom-color: var(--amber);
}

/* Below the breakpoint the nav takes the screen under the masthead.
   Same language as the hero: condensed caps, amber numbering and the
   hazard chevrons. JS sets --nav-top from the masthead's measured
   bottom edge, which moves depending on whether the trust strip is
   still in view. */
@media (max-width: 899px) {
  .nav {
    position: fixed;
    top: var(--nav-top, 74px);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 55;
    background: var(--navy-900);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 6px 0 30px;
  }

  .nav::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
      -45deg,
      rgba(255, 163, 61, 0.07) 0 14px,
      transparent 14px 46px
    );
    pointer-events: none;
  }

  .nav.open {
    display: block;
  }

  .nav ul {
    position: relative;
    flex-direction: column;
    gap: 0;
    counter-reset: navitem;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 20px;
  }

  .nav li {
    counter-increment: navitem;
  }

  .nav li + li {
    border-top: 1px solid var(--line-dark);
  }

  .nav a {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 21px 2px;
    font-family: var(--display);
    font-size: 2.05rem;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    border-bottom: 0;
  }

  .nav a::before {
    content: counter(navitem, decimal-leading-zero);
    font-family: var(--body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--amber);
  }

  .nav a[aria-current],
  .nav a[aria-current]::before {
    color: var(--amber-bright);
  }

  /* the masthead gets tight at 390px once the button is in */
  .masthead .wrap {
    gap: 10px;
  }

  body.nav-open {
    overflow: hidden;
  }
}

@media (max-width: 899px) and (prefers-reduced-motion: no-preference) {
  .nav.open li {
    animation: nav-in 0.34s cubic-bezier(0.2, 0.7, 0.3, 1) backwards;
  }

  .nav.open li:nth-child(1) { animation-delay: 0.03s; }
  .nav.open li:nth-child(2) { animation-delay: 0.07s; }
  .nav.open li:nth-child(3) { animation-delay: 0.11s; }
  .nav.open li:nth-child(4) { animation-delay: 0.15s; }
}

@keyframes nav-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}

.call-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--amber);
  color: var(--navy-900);
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  padding: 11px 18px;
  border-radius: 4px;
  white-space: nowrap;
}

.call-btn:hover {
  background: var(--amber-bright);
}

.call-btn svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

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

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: var(--navy-800);
  background-image: radial-gradient(
    ellipse 85% 60% at 50% 0%,
    var(--navy-600) 0%,
    var(--navy-800) 55%,
    var(--navy-900) 100%
  );
  color: var(--on-dark);
  padding-block: 64px 0;
  overflow: hidden;
}

/* chevrons: the markings on the back of a recovery truck */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 190px;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(255, 163, 61, 0.1) 0 14px,
    transparent 14px 46px
  );
  pointer-events: none;
}

.hero::before {
  left: -40px;
}

.hero::after {
  right: -40px;
  transform: scaleX(-1);
}

.hero .wrap {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.005em;
  margin: 0 0 20px;
}

.hero h1 .line-two {
  display: block;
  color: var(--amber-bright);
}

.hero .standfirst {
  max-width: 660px;
  margin: 0 auto 30px;
  color: var(--on-dark-soft);
  font-size: 1.12rem;
}

.hero .standfirst strong {
  color: var(--on-dark);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 14px;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 700;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 4px;
}

.btn-primary {
  background: var(--amber);
  color: var(--navy-900);
  border: 2px solid var(--amber);
}

.btn-primary:hover {
  background: var(--amber-bright);
  border-color: var(--amber-bright);
}

.btn-ghost {
  background: transparent;
  color: var(--on-dark);
  border: 2px solid var(--line-dark);
}

.btn-ghost:hover {
  border-color: var(--amber);
  color: var(--amber-bright);
}

.hero-note {
  color: var(--on-dark-soft);
  font-size: 0.92rem;
  margin: 0 0 46px;
}

/* ---------- Service cards ---------- */

.services {
  position: relative;
  z-index: 1;
  padding-bottom: 54px;
}

.services h2 {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  color: var(--on-dark);
  margin: 0 0 20px;
}

.card-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

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

@media (min-width: 1000px) {
  .card-row {
    grid-template-columns: repeat(5, 1fr);
  }
}

.service-card {
  position: relative;
  display: block;
  text-decoration: none;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--navy-700);
  border: 1px solid var(--line-dark);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--amber);
}

/* Placeholder art. Swap .ph for <img> when client photos arrive. */
.ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background-image: linear-gradient(150deg, var(--navy-600), var(--navy-900));
}

.ph svg {
  width: 44%;
  max-width: 76px;
  height: auto;
  stroke: var(--amber);
  stroke-width: 1.6;
  fill: none;
  opacity: 0.85;
}

/* Real photography, dropped into the slot .ph used to hold. */
.service-card .shot {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Photos are brighter than the placeholder was, so the caption needs a
   stronger scrim under it to hold contrast. */
.service-card:has(.shot) figcaption {
  background: linear-gradient(to top,
    rgba(8, 22, 41, 0.97) 0%,
    rgba(8, 22, 41, 0.86) 45%,
    transparent 100%);
  padding-top: 42px;
}

.service-card figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 30px 12px 12px;
  background: linear-gradient(to top, rgba(8, 22, 41, 0.96), transparent);
  color: var(--on-dark);
}

.service-card .label {
  display: block;
  font-family: var(--display);
  font-size: 1.16rem;
  font-weight: 600;
  line-height: 1.1;
}

.service-card .sub {
  display: block;
  font-size: 0.78rem;
  color: var(--on-dark-soft);
  margin-top: 2px;
}

/* corner cue: tells you the card is a link, appears on hover/focus */
.go-cue {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--amber);
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.service-card:hover .go-cue,
.service-card:focus-visible .go-cue {
  opacity: 1;
  transform: none;
}

.go-cue svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: var(--navy-900);
  stroke-width: 2.5;
}

/* Wide feature photograph inside a band. */
.feature-shot {
  margin: 0 0 32px;
}

.feature-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  /* on wide screens the full 16:9 pushes the first heading off the fold */
  max-height: 540px;
  object-fit: cover;
}

.feature-shot figcaption {
  margin-top: 10px;
  font-size: 0.86rem;
  color: var(--ink-soft);
}

/* Postal address block. */
.addr-card {
  border: 1px solid var(--line-light);
  border-left: 4px solid var(--amber);
  border-radius: 10px;
  padding: 18px 20px;
  background: #fff;
  max-width: 44ch;
}

.addr-card address {
  font-style: normal;
  font-size: 1.05rem;
  line-height: 1.55;
}

.addr-card .addr-note {
  margin: 12px 0 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* ---------- Google review wall ---------- */

.rev-wall {
  background: var(--navy-800);
  color: var(--on-dark);
  padding-block: 54px;
  overflow: hidden;
}

.rev-wall h2 {
  color: var(--on-dark);
}

.rev-top {
  text-align: center;
}

.rev-top h2 {
  margin-bottom: 14px;
}

.rev-marquee {
  display: grid;
  gap: 16px;
  margin-top: 30px;
  /* soften both ends so cards enter and leave rather than snapping */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 70px, #000 calc(100% - 70px), transparent);
  mask-image: linear-gradient(to right, transparent, #000 70px, #000 calc(100% - 70px), transparent);
}

.rev-row {
  display: flex;
  gap: 16px;
  width: max-content;
}

@media (prefers-reduced-motion: no-preference) {
  .rev-row {
    animation: rev-slide var(--rev-dur, 80s) linear infinite;
  }

  .rev-row--b {
    animation-direction: reverse;
  }

  /* stop on hover or keyboard focus so anything that catches the eye
     can actually be read */
  .rev-marquee:hover .rev-row,
  .rev-marquee:focus-within .rev-row {
    animation-play-state: paused;
  }
}

@keyframes rev-slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* No animation: scroll it by hand instead, and drop the duplicate set
   so the same review is not shown twice. */
@media (prefers-reduced-motion: reduce) {
  .rev-marquee {
    overflow-x: auto;
  }

  /* needs to out-specify .rev-card, which is declared below */
  .rev-marquee .rev-card--dup {
    display: none;
  }
}

.rev-card {
  flex: 0 0 302px;
  background: #fff;
  color: var(--ink);
  border-radius: 12px;
  padding: 18px 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.rev-head {
  display: flex;
  align-items: center;
  gap: 11px;
}

.rev-av {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy-700);
  color: #fff;
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 700;
}

.rev-who b {
  display: block;
  font-family: var(--display);
  font-size: 1.06rem;
  font-weight: 600;
  line-height: 1.15;
}

.rev-meta {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-soft);
}

.rev-stars {
  display: flex;
  gap: 2px;
}

.rev-stars svg {
  width: 15px;
  height: 15px;
  fill: var(--amber);
}

.rev-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.52;
}

.rev-tag {
  margin-top: auto;
  padding-top: 4px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  /* --amber-deep (#c26e13) only reaches 3.79:1 on white, short of AA for
     text this small. #a85c0a measures 4.95:1 and reads the same. */
  color: #a85c0a;
}

.rev-foot {
  margin-top: 26px;
  text-align: center;
}

.rev-foot a {
  color: var(--amber-bright);
  display: inline-block;
  min-height: 24px;
  padding-block: 3px;
}

/* On a phone the wall took over the screen. Two things caused it: the
   cards stretched to match the tallest in their row, and .rev-tag's
   margin-top:auto then pushed the label to the bottom of that stretched
   box, leaving a slab of white under every short review. */
@media (max-width: 700px) {
  .rev-wall {
    padding-block: 38px;
  }

  .rev-marquee {
    gap: 12px;
    margin-top: 22px;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 34px, #000 calc(100% - 34px), transparent);
    mask-image: linear-gradient(to right, transparent, #000 34px, #000 calc(100% - 34px), transparent);
  }

  /* size to content, not to the tallest sibling */
  .rev-row {
    align-items: flex-start;
    gap: 12px;
  }

  .rev-card {
    flex-basis: 234px;
    gap: 8px;
    padding: 13px 14px 12px;
    border-radius: 10px;
  }

  .rev-head {
    gap: 9px;
  }

  .rev-av {
    width: 29px;
    height: 29px;
    font-size: 0.92rem;
  }

  .rev-who b {
    font-size: 0.95rem;
  }

  .rev-meta {
    font-size: 0.72rem;
  }

  .rev-stars svg {
    width: 13px;
    height: 13px;
  }

  .rev-card p {
    font-size: 0.84rem;
    line-height: 1.45;
  }

  /* sits under the review instead of at the foot of the card */
  .rev-tag {
    margin-top: 0;
    padding-top: 0;
    font-size: 0.68rem;
  }

  .rev-top h2 {
    margin-bottom: 10px;
  }

  .rev-foot {
    margin-top: 20px;
  }
}

/* ---------- Page sections ---------- */

.band {
  padding-block: 58px;
}

.band--paper {
  background: var(--paper);
}

.band--white {
  background: #fff;
}

.band h2 {
  font-family: var(--display);
  font-size: clamp(1.9rem, 3.6vw, 2.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 14px;
}

.band .intro {
  color: var(--ink-soft);
  max-width: 62ch;
  margin: 0 0 30px;
}

.two-col {
  display: grid;
  gap: 26px;
}

@media (min-width: 760px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
  }
}

.panel {
  background: #fff;
  border: 1px solid var(--line-light);
  border-left: 3px solid var(--amber);
  border-radius: 6px;
  padding: 24px;
}

.panel h3 {
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 600;
  margin: 0 0 8px;
}

.panel p {
  margin: 0;
  color: var(--ink-soft);
}

/* Reviews */

.reviews {
  background: var(--navy-800);
  color: var(--on-dark);
  padding-block: 56px;
}

.reviews .score {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 14px;
  font-family: var(--display);
}

.reviews .score .num {
  font-size: 4.4rem;
  font-weight: 700;
  line-height: 1;
  color: var(--amber-bright);
}

.reviews .score .of {
  font-size: 1.4rem;
  color: var(--on-dark-soft);
}

.reviews .count {
  text-align: center;
  color: var(--on-dark-soft);
  margin: 6px 0 26px;
}

.quotes {
  display: grid;
  gap: 14px;
  max-width: 900px;
  margin-inline: auto;
}

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

.quote-chip {
  border: 1px solid var(--line-dark);
  border-radius: 6px;
  padding: 14px;
  text-align: center;
}

.quote-chip .big {
  display: block;
  font-family: var(--display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--amber-bright);
  line-height: 1;
}

.quote-chip .cap {
  display: block;
  font-size: 0.86rem;
  color: var(--on-dark-soft);
  margin-top: 5px;
}

/* Phone: the stat chips stacked one per row, which put 400px of header
   between the heading and the first review. Placed after the rules above
   so it actually wins. */
@media (max-width: 700px) {
  .reviews .score .num {
    font-size: 3.1rem;
  }

  .reviews .score .of {
    font-size: 1.05rem;
  }

  .reviews .count {
    font-size: 0.9rem;
    margin-bottom: 18px;
  }

  .quotes {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .quote-chip {
    padding: 10px 8px;
  }

  .quote-chip .big {
    font-size: 1.5rem;
  }

  .quote-chip .cap {
    font-size: 0.74rem;
    margin-top: 3px;
  }
}

/* Areas */

.area-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}

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

.area-grid li {
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: 5px;
  padding: 11px 13px;
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 500;
}

/* Final CTA */

.final-cta {
  background: var(--navy-900);
  color: var(--on-dark);
  text-align: center;
  padding-block: 60px;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(232, 135, 30, 0.08) 0 16px,
    transparent 16px 44px
  );
  pointer-events: none;
}

.final-cta .wrap {
  position: relative;
}

.final-cta h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 4.4vw, 2.9rem);
  font-weight: 700;
  margin: 0 0 10px;
}

.final-cta p {
  color: var(--on-dark-soft);
  margin: 0 0 24px;
}

/* ---------- Footer ---------- */

.site-foot {
  background: var(--navy-900);
  color: var(--on-dark-soft);
  border-top: 1px solid var(--line-dark);
  padding: 34px 0 80px;
  font-size: 0.92rem;
}

@media (min-width: 900px) {
  .site-foot {
    padding-bottom: 34px;
  }
}

.foot-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  justify-content: space-between;
}

.foot-grid a {
  color: #fff;
}

.foot-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 5px;
}

.foot-grid address {
  font-style: normal;
  margin: 0 0 12px;
}

.foot-grid strong {
  font-family: var(--display);
  font-size: 1.2rem;
  color: #fff;
  display: block;
  margin-bottom: 5px;
}

/* Footer social / messaging links. Specificity beats .foot-grid ul. */
.foot-grid .foot-social {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.foot-grid .foot-social a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 24px;
  padding-block: 3px;
  text-decoration: none;
}

.foot-grid .foot-social a:hover {
  text-decoration: underline;
}

.foot-grid .foot-social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
}

.legal {
  margin-top: 24px;
  font-size: 0.8rem;
  color: #65758a;
}

/* ---------- Sticky mobile call ---------- */

.thumb-call {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 70;
  background: var(--amber);
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.3);
}

.thumb-call a {
  display: block;
  text-align: center;
  padding: 15px;
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy-900);
  text-decoration: none;
}

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

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: no-preference) {
  .card-row .service-card {
    opacity: 0;
    animation: rise 0.5s ease forwards;
  }
  .card-row .service-card:nth-child(1) { animation-delay: 0.05s; }
  .card-row .service-card:nth-child(2) { animation-delay: 0.12s; }
  .card-row .service-card:nth-child(3) { animation-delay: 0.19s; }
  .card-row .service-card:nth-child(4) { animation-delay: 0.26s; }
  .card-row .service-card:nth-child(5) { animation-delay: 0.33s; }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* =====================================================
   Blog index: vertical card marquee
   ===================================================== */

body.blog-page {
  background: var(--navy-900);
}

.blog-intro {
  background: var(--navy-900);
  color: var(--on-dark);
  padding: 26px 0 18px;
  border-bottom: 1px solid var(--line-dark);
}

.blog-intro h1 {
  font-family: var(--display);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 700;
  margin: 0 0 4px;
}

.blog-intro p {
  margin: 0;
  color: var(--on-dark-soft);
  max-width: 60ch;
}

/* Marquee shell */

.marquee {
  position: relative;
  background: var(--navy-900);
  height: calc(100vh - 200px);
  min-height: 460px;
  overflow: hidden;
  touch-action: pan-y;
}

/* shown once the set has been scrolled through */
.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--on-dark-soft);
  background: rgba(8, 22, 41, 0.9);
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  padding: 7px 15px;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.scroll-hint.show {
  opacity: 1;
}

.scroll-hint svg {
  width: 13px;
  height: 13px;
  stroke: var(--amber-bright);
  stroke-width: 2.4;
  fill: none;
}

.marquee::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    var(--navy-900) 0%,
    transparent 9%,
    transparent 91%,
    var(--navy-900) 100%
  );
}

.marquee-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 20px;
  height: 100%;
}

.mcol {
  position: relative;
  overflow: hidden;
}

.mcol-inner {
  display: flex;
  flex-direction: column;
  gap: 26px;
  will-change: transform;
}

/* offsets so the columns do not line up like a table */
.mcol:nth-child(2) .mcol-inner {
  padding-top: 70px;
}

.mcol:nth-child(3) .mcol-inner {
  padding-top: 26px;
}

@media (max-width: 899px) {
  .marquee {
    height: auto;
    overflow: visible;
  }
  .marquee::after {
    display: none;
  }
  .marquee-cols {
    grid-template-columns: 1fr;
    height: auto;
    padding-block: 26px;
  }
  .mcol {
    overflow: visible;
  }
  .mcol-inner {
    transform: none !important;
    padding-top: 0 !important;
  }
  /* the duplicate set is only needed for the loop */
  .mcol-inner .dupe {
    display: none;
  }
}

/* Cards */

.post-card {
  position: relative;
  display: block;
  text-decoration: none;
  border-radius: 14px;
  padding: 14px 14px 18px;
  color: var(--navy-900);
  transition: transform 0.2s ease;
}

.post-card:hover {
  transform: translateY(-5px);
}

/* Placeholder slot. Replace the <span class="shot"> with <img> on upload. */
.post-card .shot {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background-color: var(--navy-900);
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0.045) 0 10px,
    transparent 10px 30px
  );
  display: grid;
  place-items: center;
  margin-bottom: 13px;
}

.post-card .shot svg {
  width: 30%;
  max-width: 58px;
  height: auto;
  fill: none;
  stroke: rgba(255, 255, 255, 0.5);
  stroke-width: 1.6;
}

.post-card h2 {
  font-family: var(--display);
  font-size: 1.62rem;
  font-weight: 700;
  line-height: 1.04;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.post-card p {
  margin: 0 0 14px;
  font-size: 0.93rem;
  line-height: 1.45;
  opacity: 0.82;
}

.card-foot {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.pill {
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 4px 11px;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.8;
}

.plus {
  margin-left: auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  display: grid;
  place-items: center;
  flex: none;
}

.plus svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* Card colourways, drawn from the brand navy/amber */

.c-amber  { background: #e8871e; }
.c-sand   { background: #e3d5bd; }
.c-rust   { background: #b8541a; color: #fff5e9; }
.c-slate  { background: #2f4f73; color: #eef3f8; }
.c-steel  { background: #c3d0de; }
.c-deep   { background: #16304f; color: #eef3f8; }



@media (prefers-reduced-motion: reduce) {
  .mcol-inner {
    transform: none !important;
  }
}

/* =====================================================
   Post overlay
   ===================================================== */

.post-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px 18px;
  background: rgba(4, 11, 21, 0.62);
  backdrop-filter: blur(16px) saturate(0.7);
  -webkit-backdrop-filter: blur(16px) saturate(0.7);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.26s ease, visibility 0.26s;
}

.post-modal.open {
  opacity: 1;
  visibility: visible;
}

.post-modal__panel {
  position: relative;
  width: min(620px, 100%);
  max-height: min(86vh, 860px);
  overflow-y: auto;
  background: var(--navy-800);
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  padding: 18px 18px 30px;
  color: var(--on-dark);
  transform: translateY(14px) scale(0.985);
  transition: transform 0.26s ease;
}

.post-modal.open .post-modal__panel {
  transform: none;
}

.post-modal__shot {
  position: relative;
  border-radius: 9px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-height: 46vh;
  display: grid;
  place-items: center;
  background-color: var(--navy-900);
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0.05) 0 10px,
    transparent 10px 30px
  );
  margin-bottom: 18px;
}

.post-modal__shot svg {
  width: 72px;
  height: 72px;
  fill: none;
  stroke: rgba(255, 255, 255, 0.5);
  stroke-width: 1.5;
}

/* the accent bar keeps the post tied to its card colour */
.post-modal__shot::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: var(--accent, var(--amber));
}

.post-modal__kicker {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 11px;
}

.post-modal__kicker .pill {
  opacity: 0.72;
}

.post-modal__panel h2 {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.4vw, 2.1rem);
  font-weight: 700;
  line-height: 1.07;
  text-transform: uppercase;
  margin: 0 0 14px;
  color: var(--on-dark);
}

.post-modal__body p {
  margin: 0 0 14px;
  font-size: 0.99rem;
  line-height: 1.62;
  color: var(--on-dark-soft);
  max-width: 62ch;
}

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

.post-modal__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy-900);
  background: var(--accent, var(--amber));
  text-decoration: none;
  padding: 11px 20px;
  border-radius: 4px;
}

.post-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  background: var(--navy-900);
  color: var(--on-dark);
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
}

.post-modal__close:hover {
  background: var(--amber);
  color: var(--navy-900);
  border-color: var(--amber);
}

.post-modal__close svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
}

.post-modal__hint {
  text-align: center;
  margin: 14px 0 0;
  font-size: 0.8rem;
  color: var(--on-dark-soft);
}

body.modal-open {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .post-modal,
  .post-modal__panel {
    transition: none;
  }
}

/* =====================================================
   Forms
   ===================================================== */

.quote-form {
  background: #fff;
  border: 1px solid var(--line-light);
  border-top: 4px solid var(--amber);
  border-radius: 8px;
  padding: 26px;
  max-width: 560px;
}

.quote-form .pair {
  display: grid;
  gap: 16px;
}

@media (min-width: 560px) {
  .quote-form .pair {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.field .help {
  display: block;
  font-size: 0.84rem;
  color: var(--ink-soft);
  margin-bottom: 7px;
}

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

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--amber);
  outline: 2px solid rgba(232, 135, 30, 0.3);
  outline-offset: 1px;
}

.field textarea {
  resize: vertical;
  min-height: 96px;
}

.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.radio-row label {
  font-family: var(--body);
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  padding: 8px 15px;
  cursor: pointer;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.radio-row input {
  width: auto;
  margin: 0;
  accent-color: var(--amber);
}

.radio-row label:has(input:checked) {
  border-color: var(--amber);
  background: #fdf3e7;
}

.btn-submit {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 700;
  background: var(--amber);
  color: var(--navy-900);
  border: none;
  border-radius: 5px;
  padding: 14px 28px;
  cursor: pointer;
}

.btn-submit:hover {
  background: var(--amber-bright);
}

.form-aside {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-top: 14px;
}

.hp {
  position: absolute;
  left: -9999px;
}

/* Call-out box for the phone-first contact page */

.call-card {
  background: var(--navy-800);
  color: var(--on-dark);
  border-radius: 10px;
  padding: 32px;
  text-align: center;
  max-width: 520px;
}

.call-card .num {
  display: block;
  font-family: var(--display);
  font-size: clamp(2.4rem, 7vw, 3.4rem);
  font-weight: 700;
  color: var(--amber-bright);
  text-decoration: none;
  line-height: 1.05;
  margin-bottom: 6px;
}

.call-card p {
  color: var(--on-dark-soft);
  margin: 0;
}

/* WhatsApp sits under the number as the secondary option. Outlined
   rather than WhatsApp green: amber stays the one call-to-action, and
   the glyph alone carries the recognition. */
.wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  padding: 12px 22px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 4px;
  color: var(--on-dark);
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.wa-btn:hover,
.wa-btn:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.wa-btn svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
  flex-shrink: 0;
}

.call-card .wa-note {
  margin-top: 14px;
  font-size: 0.86rem;
}

/* Anchored sub-sections and in-page jump targets */

.sub-service,
[id="quote"] {
  scroll-margin-top: 150px;
}

.sub-service {
  padding-top: 8px;
}

/* =====================================================
   Article pages
   ===================================================== */

.article-head {
  background: var(--navy-800);
  background-image: radial-gradient(ellipse 80% 70% at 50% 0%, var(--navy-600), var(--navy-800) 60%);
  color: var(--on-dark);
  padding: 34px 0 38px;
}

.article-tags {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 13px;
}

.article-head h1 {
  font-family: var(--display);
  font-size: clamp(2.1rem, 5vw, 3.1rem);
  font-weight: 700;
  line-height: 1.05;
  margin: 0 0 18px;
  max-width: 22ch;
}

/* the answer-first paragraph, written to be quotable */
.answer-first {
  margin: 0;
  max-width: 64ch;
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--on-dark);
  border-left: 3px solid var(--amber);
  padding-left: 16px;
}

.article-body {
  padding-block: 40px 10px;
  max-width: 760px;
}

.article-body h2 {
  font-family: var(--display);
  font-size: clamp(1.55rem, 3vw, 1.95rem);
  font-weight: 700;
  line-height: 1.12;
  margin: 34px 0 12px;
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body p {
  margin: 0 0 15px;
  max-width: 68ch;
  color: var(--ink);
}

.article-body .faq-item h3 {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 600;
}

.related-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 9px;
  max-width: 560px;
}

.related-list a {
  display: block;
  background: #fff;
  border: 1px solid var(--line-light);
  border-left: 3px solid var(--amber);
  border-radius: 5px;
  padding: 13px 16px;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
}

.related-list a:hover {
  border-color: var(--amber);
  color: var(--amber-deep);
}

.article-page .pill {
  border-color: var(--on-dark-soft);
  color: var(--on-dark-soft);
}

/* =====================================================
   Accessibility fixes (from the pre-launch audit)
   ===================================================== */

/* Copyright line failed contrast at 3.86:1 on the dark footer.
   #7d8ca1 on --navy-900 measures 5.3:1, which clears AA. */
.legal {
  color: #7d8ca1;
}

/* WCAG 2.2 target size: interactive elements want at least 24px.
   Footer links, breadcrumbs and standalone body links were 17-20px. */
.foot-grid ul a,
.foot-grid p a,
.breadcrumb a,
.band p > a:only-child,
.article-body p > a:only-child {
  display: inline-block;
  min-height: 24px;
  padding-block: 3px;
}

.foot-grid ul {
  gap: 9px;
}

@media (max-width: 600px) {
  .foot-grid ul {
    gap: 12px;
  }
  .foot-grid ul a,
  .breadcrumb a {
    padding-block: 5px;
  }
}
