/* ==========================================================================
   3rd Rock Masonry & Construction — site.css
   Rugged masonry design system, blue & stone-gray palette. Plain CSS, no framework.
   Fonts: Barlow Condensed (display) + Barlow (body), loaded per-page.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Color — blue & stone-gray */
  --blue: #1F3D93;
  --blue-dark: #172F75;
  --blue-deep: #112459;
  --steel: #9FB0D8;
  --navy: #142A53;
  --navy-2: #0F2144;
  --navy-3: #1E3560;
  --slate: #5C6470;
  --slate-light: #67707E;
  --mist: #E8EBF1;
  --cloud: #F5F7FA;
  --paper: #FFFFFF;
  --line: #D5DBE6;
  --line-dark: rgba(255, 255, 255, 0.12);
  --ink: #1D2433;
  --ink-soft: #475061;
  --on-dark: #F2F5FA;
  --on-dark-soft: #B7C1D4;

  /* Type */
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-base: 1.0625rem;
  --text-lg: 1.1875rem;
  --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.625rem);
  --text-2xl: clamp(1.625rem, 1.35rem + 1.4vw, 2.375rem);
  --text-3xl: clamp(2.125rem, 1.6rem + 2.6vw, 3.5rem);
  --text-hero: clamp(2.75rem, 1.75rem + 5vw, 6rem);

  /* Space & shape */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-8: 3rem;
  --space-10: 4rem;
  --space-12: 5rem;
  --section-pad: clamp(3.5rem, 2.5rem + 5vw, 7rem);
  --radius: 4px;
  --radius-lg: 8px;
  --container: 72rem;

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --speed: 0.2s;

  /* Elevation */
  --shadow-sm: 0 1px 3px rgba(15, 26, 49, 0.1);
  --shadow-md: 0 6px 20px -6px rgba(15, 26, 49, 0.22);
  --shadow-lg: 0 18px 40px -14px rgba(15, 26, 49, 0.32);

  /* Z-scale */
  --z-header: 50;
  --z-menu: 40;
  --z-raised: 10;
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--cloud);
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.05;
  margin: 0 0 var(--space-4);
  color: inherit;
  text-wrap: balance;
}

h1 { font-size: var(--text-3xl); }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-xl); }
h4 { font-size: var(--text-lg); letter-spacing: 0.04em; }

p {
  margin: 0 0 var(--space-4);
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: color var(--speed) var(--ease);
}

a:hover {
  color: var(--blue-dark);
}

ul, ol {
  padding-left: 1.25rem;
  margin: 0 0 var(--space-4);
}

li { margin-bottom: var(--space-2); }

strong { color: var(--navy); }

:focus-visible {
  outline: 3px solid var(--steel);
  outline-offset: 2px;
}

::selection {
  background: var(--blue);
  color: var(--on-dark);
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

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

.section--dark {
  background: var(--navy);
  color: var(--on-dark);
}

.section--dark p { color: var(--on-dark-soft); }
.section--dark strong { color: var(--on-dark); }

/* Plain links on navy/blue backgrounds: the global royal-blue link color
   has no contrast there, so lift them to steel (matches .breadcrumbs a) */
.section--dark a:not([class]),
.cta-band a:not([class]),
.page-hero a:not([class]) {
  color: var(--steel);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.section--dark a:not([class]):hover,
.cta-band a:not([class]):hover,
.page-hero a:not([class]):hover {
  color: var(--on-dark);
}

.section--mist { background: var(--mist); }
.section--paper { background: var(--paper); }

/* Mortar-line divider: three staggered "brick courses" */
.divider {
  height: 14px;
  background:
    linear-gradient(var(--cloud) 0 0) 0 0 / 100% 2px no-repeat,
    repeating-linear-gradient(90deg, var(--blue) 0 84px, var(--blue-dark) 84px 86px);
  border: 0;
  margin: 0;
  opacity: 0.92;
}

/* Grain texture overlay for dark sections */
.texture {
  position: relative;
  isolation: isolate;
}

.texture::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--blue);
  margin-bottom: var(--space-3);
}

.section--dark .eyebrow,
.page-hero .eyebrow,
.cta-band .eyebrow { color: var(--steel); }

.lead {
  font-size: var(--text-lg);
  color: var(--ink-soft);
  max-width: 46rem;
}

.section--dark .lead { color: var(--on-dark-soft); }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 48px;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color var(--speed) var(--ease),
    color var(--speed) var(--ease),
    box-shadow var(--speed) var(--ease),
    transform var(--speed) var(--ease);
}

.btn svg { flex: none; }

.btn--primary {
  background: var(--blue);
  color: var(--on-dark);
  box-shadow: inset 0 -3px 0 var(--blue-deep), var(--shadow-sm);
}

.btn--primary:hover {
  background: var(--blue-dark);
  color: var(--on-dark);
  box-shadow: inset 0 -3px 0 var(--blue-deep), var(--shadow-md);
  transform: translateY(-1px);
}

.btn--primary:active {
  transform: translateY(1px);
  box-shadow: inset 0 2px 0 var(--blue-deep);
}

.btn--ghost {
  background: transparent;
  color: var(--navy);
  box-shadow: inset 0 0 0 2px var(--navy);
}

.btn--ghost:hover {
  background: var(--navy);
  color: var(--on-dark);
}

.section--dark .btn--ghost,
.btn--ghost-light {
  background: transparent;
  color: var(--on-dark);
  box-shadow: inset 0 0 0 2px var(--on-dark);
}

.section--dark .btn--ghost:hover,
.btn--ghost-light:hover {
  background: var(--on-dark);
  color: var(--navy);
}

/* ---------- Header ---------- */
.topbar {
  background: var(--blue-deep);
  color: var(--on-dark);
  font-size: var(--text-sm);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 38px;
}

.topbar a {
  color: var(--on-dark);
  font-weight: 600;
}

.topbar a:hover { color: var(--steel); }

.topbar__note {
  display: none;
}

@media (min-width: 640px) {
  .topbar__note { display: block; opacity: 0.85; }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: var(--navy);
  color: var(--on-dark);
  box-shadow: var(--shadow-md);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  min-height: 76px;
  transition: min-height var(--speed) var(--ease);
}

.site-header.is-condensed .site-header__inner {
  min-height: 60px;
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--on-dark);
}

.brand:hover { color: var(--on-dark); }

.brand__mark {
  width: 42px;
  height: 42px;
  flex: none;
  display: grid;
  place-items: center;
}

.brand__mark img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.site-header .brand__mark,
.site-header .brand__mark img {
  width: 64px;
  height: 64px;
}

.site-header.is-condensed .brand__mark,
.site-header.is-condensed .brand__mark img {
  width: 52px;
  height: 52px;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.375rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
}

/* Between the 1024px nav breakpoint and ~1280px the full-size logo plus
   nav plus CTA don't fit on one line: shrink the brand block so nothing wraps */
@media (min-width: 1024px) and (max-width: 1279px) {
  .site-header .brand__mark,
  .site-header .brand__mark img {
    width: 52px;
    height: 52px;
  }

  .brand__name { font-size: 1.125rem; }

  .header-cta { white-space: nowrap; }

  .site-header .nav { gap: 0.6rem; }
}

.brand__name small {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--steel);
  margin-top: 3px;
}

.nav {
  display: none;
  align-items: center;
  gap: clamp(0.75rem, 1.5vw, 1.5rem);
}

.nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.0625rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
  color: var(--on-dark-soft);
  padding: 0.5rem 0.25rem;
  border-bottom: 2px solid transparent;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--on-dark);
  border-bottom-color: var(--blue);
}

.header-cta { display: none; }

@media (min-width: 1024px) {
  .nav { display: flex; }
  .header-cta { display: inline-flex; }
}

/* Mobile menu */
.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 12px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--on-dark);
  transition: transform var(--speed) var(--ease), opacity var(--speed) var(--ease);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

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

.mobile-menu {
  display: none;
  background: var(--navy-2);
  border-top: 1px solid var(--line-dark);
}

.mobile-menu.is-open { display: block; }

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  padding: var(--space-4) 0 var(--space-6);
}

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--on-dark);
  padding: 0.875rem clamp(1.25rem, 4vw, 2.5rem);
  border-bottom: 1px solid var(--line-dark);
}

.mobile-menu a:hover { color: var(--steel); }

.mobile-menu .btn {
  margin: var(--space-4) clamp(1.25rem, 4vw, 2.5rem) 0;
}

/* ---------- Hero (scroll-scrubbed video) ---------- */
.hero-scrub {
  position: relative;
  /* Tall track: the sticky stage pins while the user scrolls through it */
  height: 280vh;
  background: var(--navy);
}

.hero-scrub__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: grid;
  align-items: end;
  color: var(--on-dark);
}

.hero-scrub__media {
  position: absolute;
  inset: 0;
}

.hero-scrub__media video,
.hero-scrub__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

.hero-scrub__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 26, 49, 0.55) 0%, rgba(15, 26, 49, 0.15) 45%, rgba(15, 26, 49, 0.82) 100%);
}

.hero-scrub__content {
  position: relative;
  z-index: var(--z-raised);
  padding-bottom: clamp(3rem, 8vh, 6rem);
}

.hero-scrub__content .eyebrow {
  color: var(--steel);
  text-shadow: 0 1px 12px rgba(15, 26, 49, 0.6);
}

.hero-scrub__content h1 {
  font-size: var(--text-hero);
  max-width: 16ch;
  margin-bottom: var(--space-4);
  text-shadow: 0 2px 24px rgba(15, 26, 49, 0.55);
}

.hero-scrub__content .lead {
  color: var(--on-dark);
  opacity: 0.92;
  max-width: 38rem;
  text-shadow: 0 1px 12px rgba(15, 26, 49, 0.6);
}

.hero-scrub__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.hero-scrub__cue {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  z-index: var(--z-raised);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
  transition: opacity 0.4s var(--ease);
}

.hero-scrub__cue::after {
  content: "";
  width: 2px;
  height: 34px;
  background: linear-gradient(var(--steel), transparent);
  animation: cue-drop 1.8s var(--ease) infinite;
}

.hero-scrub.is-done .hero-scrub__cue { opacity: 0; }

/* Stacked hero buttons leave no room for the cue on small screens */
@media (max-width: 767px) {
  .hero-scrub__cue { display: none; }
}

@keyframes cue-drop {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Simple page hero (interior pages) */
.page-hero {
  background: var(--navy);
  color: var(--on-dark);
  padding-block: clamp(3.5rem, 3rem + 4vw, 6rem);
  position: relative;
  overflow: hidden;
}

/* Faded project photo behind the hero: heavy navy tint keeps text contrast,
   the photo reads as texture. Pair .page-hero--photo with one image modifier. */
.page-hero--photo {
  background-size: cover;
  background-position: center;
}

.page-hero--outdoor-kitchen { background-image: linear-gradient(rgba(20, 42, 83, 0.86), rgba(20, 42, 83, 0.93)), url("/images/outdoor-kitchen.jpg"); }
.page-hero--fire-pit-patio { background-image: linear-gradient(rgba(20, 42, 83, 0.86), rgba(20, 42, 83, 0.93)), url("/images/fire-pit-patio.jpg"); }
.page-hero--fireplace-indoor { background-image: linear-gradient(rgba(20, 42, 83, 0.86), rgba(20, 42, 83, 0.93)), url("/images/fireplace-indoor.jpg"); }
.page-hero--chimney-stone { background-image: linear-gradient(rgba(20, 42, 83, 0.86), rgba(20, 42, 83, 0.93)), url("/images/chimney-stone.jpg"); }
.page-hero--stone-veneer-home { background-image: linear-gradient(rgba(20, 42, 83, 0.86), rgba(20, 42, 83, 0.93)), url("/images/stone-veneer-home.jpg"); }
.page-hero--brick-veneer-entry { background-image: linear-gradient(rgba(20, 42, 83, 0.86), rgba(20, 42, 83, 0.93)), url("/images/brick-veneer-entry.jpg"); }
.page-hero--retaining-wall { background-image: linear-gradient(rgba(20, 42, 83, 0.86), rgba(20, 42, 83, 0.93)), url("/images/retaining-wall.jpg"); }
.page-hero--flowerbed-borders { background-image: linear-gradient(rgba(20, 42, 83, 0.86), rgba(20, 42, 83, 0.93)), url("/images/flowerbed-borders.jpg"); }
.page-hero--pool-surround { background-image: linear-gradient(rgba(20, 42, 83, 0.86), rgba(20, 42, 83, 0.93)), url("/images/pool-surround.jpg"); }
.page-hero--stone-entrance-walkway { background-image: linear-gradient(rgba(20, 42, 83, 0.86), rgba(20, 42, 83, 0.93)), url("/images/stone-entrance-walkway.jpg"); }

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 6px;
  background: repeating-linear-gradient(90deg, var(--blue) 0 84px, var(--blue-deep) 84px 86px);
}

.page-hero .lead { color: var(--on-dark-soft); }

.breadcrumbs {
  font-size: var(--text-sm);
  margin-bottom: var(--space-4);
}

.breadcrumbs ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.breadcrumbs li { margin: 0; display: flex; gap: var(--space-2); }

.breadcrumbs li + li::before {
  content: "/";
  color: var(--slate-light);
}

.breadcrumbs a { color: var(--steel); }
.breadcrumbs a:hover { color: var(--on-dark); }
.breadcrumbs [aria-current="page"] { color: var(--on-dark-soft); }

/* ---------- Cards & grids ---------- */
.grid {
  display: grid;
  gap: var(--space-5);
}

.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: repeat(2, 1fr); }

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

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

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--speed) var(--ease), transform var(--speed) var(--ease), border-color var(--speed) var(--ease);
}

a.card { display: block; color: inherit; }

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--steel);
}

.card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--mist);
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}

.card:hover .card__media img { transform: scale(1.05); }

.card__body {
  padding: var(--space-5);
}

.card__body h3 { margin-bottom: var(--space-2); }

.card__body p {
  color: var(--ink-soft);
  font-size: var(--text-sm);
  margin-bottom: var(--space-3);
}

.card__link {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: var(--text-sm);
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.card:hover .card__link { color: var(--blue-dark); }

/* Icon chip used in cards / feature rows */
.chip {
  width: 52px;
  height: 52px;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--mist);
  color: var(--blue);
  border-radius: var(--radius);
  box-shadow: inset 0 -3px 0 rgba(31, 61, 147, 0.25);
  margin-bottom: var(--space-4);
}

.section--dark .chip {
  background: var(--navy-3);
  color: var(--steel);
}

/* ---------- Stats / counters ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  text-align: center;
}

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

.stat__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 2rem + 2.5vw, 4rem);
  line-height: 1;
  color: var(--steel);
}

.stat__label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--on-dark-soft);
  margin-top: var(--space-2);
}

/* ---------- Process steps ---------- */
.steps {
  counter-reset: step;
  display: grid;
  gap: var(--space-5);
}

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

.step {
  counter-increment: step;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  position: relative;
}

.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.75rem;
  line-height: 1;
  color: var(--steel);
  display: block;
  margin-bottom: var(--space-3);
}

.step h3 { font-size: var(--text-lg); }

.step p { font-size: var(--text-sm); color: var(--ink-soft); margin: 0; }

/* ---------- FAQ accordion ---------- */
.faq-list {
  display: grid;
  gap: var(--space-3);
  max-width: 52rem;
  margin-inline: auto;
}

.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-lg);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: color var(--speed) var(--ease), background-color var(--speed) var(--ease);
}

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

.faq-item summary:hover { color: var(--blue); background: var(--cloud); }

.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--blue);
  flex: none;
  transition: transform var(--speed) var(--ease);
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item .faq-item__body {
  padding: 0 var(--space-5) var(--space-5);
  color: var(--ink-soft);
}

.faq-item .faq-item__body p:last-child { margin-bottom: 0; }

/* ---------- Reviews ---------- */
.review-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
}

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

.review-card blockquote {
  margin: 0 0 var(--space-3);
  font-size: var(--text-base);
  color: var(--ink-soft);
}

.review-card figcaption {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: var(--text-sm);
}

.review-card figcaption span {
  display: block;
  color: var(--slate-light);
  letter-spacing: 0.05em;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--blue-deep), var(--blue));
  color: var(--on-dark);
  text-align: center;
}

.cta-band h2 { max-width: 24ch; margin-inline: auto; }

.cta-band p {
  color: rgba(242, 245, 250, 0.85);
  max-width: 40rem;
  margin-inline: auto;
}

.cta-band .btn--primary {
  background: var(--navy);
  box-shadow: inset 0 -3px 0 #0A1834;
}

.cta-band .btn--primary:hover { background: var(--navy-2); }

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

/* ---------- Two-column feature split ---------- */
.split {
  display: grid;
  gap: var(--space-8);
  align-items: center;
}

@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--rev > :first-child { order: 2; }
}

.split__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}

.checklist {
  list-style: none;
  padding: 0;
}

.checklist li {
  padding-left: 2rem;
  position: relative;
  margin-bottom: var(--space-3);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 3px;
  background: var(--blue);
  clip-path: polygon(14% 44%, 0 62%, 40% 100%, 100% 16%, 84% 2%, 39% 70%);
}

.section--dark .checklist li::before { background: var(--steel); }

/* ---------- Tables (cost guides) ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  margin-bottom: var(--space-5);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
  min-width: 480px;
}

th, td {
  text-align: left;
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--line);
}

th {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--navy);
  color: var(--on-dark);
}

tr:last-child td { border-bottom: 0; }

tbody tr:nth-child(even) { background: var(--cloud); }

/* ---------- Forms ---------- */
.form {
  display: grid;
  gap: var(--space-4);
}

.form label {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: var(--text-sm);
  display: block;
  margin-bottom: var(--space-1);
}

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(31, 61, 147, 0.18);
}

.form__row {
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 640px) {
  .form__row { grid-template-columns: 1fr 1fr; }
}

.form__note {
  font-size: var(--text-xs);
  color: var(--slate-light);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: var(--on-dark-soft);
  font-size: var(--text-sm);
}

.site-footer__top {
  border-top: 6px solid var(--blue);
  padding-block: var(--space-10) var(--space-8);
}

.site-footer__grid {
  display: grid;
  gap: var(--space-8);
}

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

.site-footer .brand__mark {
  margin-bottom: var(--space-4);
}

.site-footer h4 {
  color: var(--on-dark);
  font-size: var(--text-base);
  letter-spacing: 0.14em;
  margin-bottom: var(--space-4);
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li { margin-bottom: var(--space-2); }

.site-footer a { color: var(--on-dark-soft); }
.site-footer a:hover { color: var(--steel); }

.site-footer address {
  font-style: normal;
  line-height: 1.8;
}

.site-footer__bottom {
  border-top: 1px solid var(--line-dark);
  padding-block: var(--space-4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: space-between;
  align-items: center;
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-group > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal-group.is-visible > * {
  opacity: 1;
  transform: none;
}

.reveal-group.is-visible > :nth-child(2) { transition-delay: 0.08s; }
.reveal-group.is-visible > :nth-child(3) { transition-delay: 0.16s; }
.reveal-group.is-visible > :nth-child(4) { transition-delay: 0.24s; }
.reveal-group.is-visible > :nth-child(5) { transition-delay: 0.32s; }
.reveal-group.is-visible > :nth-child(6) { transition-delay: 0.4s; }

/* ---------- Utility ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--blue);
  color: var(--on-dark);
  padding: var(--space-3) var(--space-5);
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
  color: var(--on-dark);
}

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

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .reveal-group > * {
    opacity: 1;
    transform: none;
  }

  .hero-scrub { height: auto; }
  .hero-scrub__stage { position: relative; }
  .hero-scrub__cue { display: none; }
}
