/* Junior Elite Services — main styles */

:root {
  /* Jobsite palette: asphalt, concrete, safety orange (straight off the JE logo) */
  --asphalt: #101112;
  --graphite: #1b1e20;
  --steel: #33383b;
  --concrete: #d5d1c8;
  --chalk: #f2efe9;
  --safety: #f48d14;
  --safety-dark: #a75f05;
  --signal: #ec3642;
  --white: #ffffff;

  /* Legacy aliases — old rules keep working against the new palette. */
  --navy: var(--asphalt);
  --navy-light: var(--graphite);
  --teal: var(--safety);
  --teal-dark: var(--safety-dark);
  --red: var(--signal);
  --orange: var(--safety);
  --charcoal: #24272a;
  --cream: var(--chalk);
  --muted: rgba(242, 239, 233, 0.68);
  --text: #1a1c1e;
  --radius: 0px;
  --radius-lg: 0px;
  --shadow: none;
  --rule: 1px solid rgba(16, 17, 18, 0.16);
  --rule-light: 1px solid rgba(242, 239, 233, 0.16);
  --font-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --font-body: "Archivo", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;
  --header-h: 76px;
  --tape-h: 14px;
}

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

html {
  scroll-behavior: smooth;
}

@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;
  }
}

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

::selection {
  background: var(--safety);
  color: var(--asphalt);
}

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

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

a {
  color: var(--teal-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--red);
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: var(--orange);
  color: var(--navy);
  font-weight: 700;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

/* ── Header ── */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: var(--asphalt);
  border-bottom: 1px solid rgba(242, 239, 233, 0.14);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo img {
  height: 44px;
  width: auto;
}

.nav-desktop {
  display: none;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-desktop a {
  position: relative;
  color: var(--chalk);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-bottom: 2px;
  transition: color 0.15s;
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  inset: auto 0 -2px;
  height: 2px;
  background: var(--safety);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.18s ease;
}

.nav-desktop a:hover::after,
.nav-desktop a:focus-visible::after {
  transform: scaleX(1);
}

.nav-desktop a:hover {
  color: var(--safety);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Specificity bump: plain .header-social / .header-cta lose to the
   .social-links / .btn rules that come later in this file. */
.header-actions .header-social,
.header-actions .header-cta {
  display: none;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  transition: color 0.2s, background 0.2s, transform 0.2s;
}

.social-links a:hover {
  color: var(--orange);
  background: rgba(244, 141, 20, 0.15);
  transform: translateY(-1px);
}

.social-links svg {
  width: 1.125rem;
  height: 1.125rem;
  fill: currentColor;
}

.footer-social {
  margin-top: 1rem;
}

.nav-mobile-social {
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.6rem;
  border: none;
  border-radius: 0;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}

.btn-primary {
  background: var(--safety);
  color: var(--asphalt);
}

.btn-primary:hover {
  background: var(--white);
  color: var(--asphalt);
}

.btn-accent {
  background: var(--safety);
  color: var(--asphalt);
}

.btn-accent:hover {
  background: var(--white);
  color: var(--asphalt);
}

.btn-outline {
  background: transparent;
  color: var(--chalk);
  box-shadow: inset 0 0 0 1px rgba(242, 239, 233, 0.4);
}

.btn-outline:hover {
  color: var(--safety);
  box-shadow: inset 0 0 0 1px var(--safety);
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform 0.2s;
}

.nav-mobile {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 99;
  background: var(--navy);
  padding: 2rem 1.5rem;
  flex-direction: column;
  gap: 1rem;
}

.nav-mobile.is-open {
  display: flex;
}

.nav-mobile a {
  color: var(--chalk);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(242, 239, 233, 0.14);
}

.nav-mobile a.btn {
  margin-top: 0.5rem;
  border-bottom: 0;
  font-family: var(--font-body);
  font-size: 0.875rem;
}

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

  .header-actions .header-social {
    display: flex;
  }

  .header-actions .header-cta {
    display: inline-flex;
  }

  .menu-toggle {
    display: none;
  }
}

/* ── Tape measure: scroll progress, and the page's one signature device ── */

.scroll-tape {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 99;
  height: var(--tape-h);
  background: var(--concrete);
  border-bottom: 1px solid rgba(16, 17, 18, 0.45);
  overflow: hidden;
}

.scroll-tape__fill {
  position: absolute;
  inset: 0;
  background: var(--safety);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

/* Ticks sit above the fill: 1/8 marks every 6px, foot marks every 48px. */
.scroll-tape::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(16, 17, 18, 0.45) 0 1px, transparent 1px 6px) 0 100% / 100% 5px repeat-x,
    repeating-linear-gradient(90deg, rgba(16, 17, 18, 0.9) 0 1px, transparent 1px 48px) 0 100% / 100% 11px repeat-x;
}

@supports (animation-timeline: scroll()) {
  .scroll-tape__fill {
    animation: tape-fill linear both;
    animation-timeline: scroll(root block);
  }
}

@keyframes tape-fill {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

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

/* ── Hero ── */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding: calc(var(--header-h) + var(--tape-h) + 3rem) 1.25rem 4rem;
  background: var(--asphalt) url("../assets/photos/hero-primary.jpeg") center / cover no-repeat;
  color: var(--chalk);
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.12);
  will-change: transform;
}

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

.hero-video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-width: 177.78vh;
  min-height: 100vh;
  min-height: 100dvh;
  transform: translate(-50%, -50%);
  border: 0;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(16, 17, 18, 0.72) 0%, rgba(16, 17, 18, 0.55) 45%, rgba(16, 17, 18, 0.78) 100%),
    rgba(16, 17, 18, 0.35);
  pointer-events: none;
}

/* Caution stripe along the bottom edge of the hero. */
.hero-geo {
  position: absolute;
  inset: auto 0 0;
  height: 12px;
  z-index: 3;
  pointer-events: none;
  background: repeating-linear-gradient(
    -45deg,
    var(--safety) 0 14px,
    var(--asphalt) 14px 28px
  );
}

.hero-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 3;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.9rem;
  background: var(--safety);
  border-radius: 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--asphalt);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 7.5vw, 5.5rem);
  line-height: 0.9;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 1.5rem;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

.hero h1 em {
  font-style: normal;
  color: var(--safety);
}

.hero-lead {
  font-size: 1.0625rem;
  color: var(--muted);
  max-width: 32rem;
  margin: 0 0 2rem;
  padding-left: 1rem;
  border-left: 3px solid var(--safety);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-trust span {
  display: inline-flex;
  gap: 0.4rem;
  padding-left: 1.25rem;
  border-left: 1px solid rgba(242, 239, 233, 0.28);
}

.hero-trust span:first-child {
  padding-left: 0;
  border-left: none;
}

.hero-trust strong {
  color: var(--safety);
  font-weight: 600;
}

.hero-visual {
  position: relative;
  border-radius: 0;
}

/* Offset safety-orange block behind the photo — poster, not drop shadow. */
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 1.25rem -1.25rem -1.25rem 1.25rem;
  background: var(--safety);
  z-index: 0;
}

.hero-visual img {
  position: relative;
  z-index: 1;
  border-radius: 0;
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  transform: translate3d(0, var(--parallax-y, 0px), 0) scale(var(--parallax-scale, 1.04));
  will-change: transform;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }
}

/* ── Sections ── */

.section {
  padding: 5rem 1.25rem;
}

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

.section-parallax {
  position: relative;
  overflow: hidden;
}

/* Blurred colour blobs were the most template-looking thing in here — the
   parallax layers now read as faint blueprint grid instead. */
.parallax-shape {
  position: absolute;
  border-radius: 0;
  pointer-events: none;
  opacity: 0.5;
  background:
    repeating-linear-gradient(90deg, rgba(242, 239, 233, 0.06) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(0deg, rgba(242, 239, 233, 0.06) 0 1px, transparent 1px 40px);
  transform: translate3d(var(--parallax-x, 0px), var(--parallax-y, 0px), 0);
  will-change: transform;
}

.parallax-shape--services-a {
  top: 4%;
  right: -6%;
  width: min(420px, 60vw);
  height: min(420px, 60vw);
}

.parallax-shape--services-b {
  bottom: 2%;
  left: -8%;
  width: min(320px, 50vw);
  height: min(320px, 50vw);
}

.parallax-shape--why-a {
  top: 10%;
  left: -6%;
  width: min(320px, 48vw);
  height: min(320px, 48vw);
  opacity: 0.35;
  background:
    repeating-linear-gradient(90deg, rgba(16, 17, 18, 0.08) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(0deg, rgba(16, 17, 18, 0.08) 0 1px, transparent 1px 40px);
}

.parallax-shape--reviews-a {
  bottom: 6%;
  right: -5%;
  width: min(380px, 55vw);
  height: min(380px, 55vw);
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--safety-dark);
  margin: 0 0 1rem;
}

.section-label::before {
  content: "";
  width: 1.75rem;
  height: 3px;
  background: var(--safety);
}

.section-dark .section-label {
  color: var(--safety);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  line-height: 0.95;
  text-transform: uppercase;
  margin: 0 0 1.25rem;
  letter-spacing: 0;
  max-width: 24ch;
}

.section-intro {
  max-width: 40rem;
  margin: 0 0 2.5rem;
  color: rgba(42, 42, 42, 0.85);
}

.section-dark .section-intro {
  color: var(--muted);
}

/* ── About ── */

.about-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.about-photo {
  border-radius: 0;
  overflow: hidden;
}

.about-slideshow {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--navy);
  overflow: hidden;
}

.about-slideshow__slides {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.about-slideshow__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(100%, 0, 0);
  transform-origin: center center;
  transition:
    opacity 0.68s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.68s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.68s;
  pointer-events: none;
  z-index: 0;
  will-change: opacity, transform;
}

.about-slideshow.is-forward .about-slideshow__slide:not(.is-active):not(.is-leaving) {
  transform: translate3d(100%, 0, 0);
}

.about-slideshow.is-backward .about-slideshow__slide:not(.is-active):not(.is-leaving) {
  transform: translate3d(-100%, 0, 0);
}

.about-slideshow__slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
  z-index: 2;
}

.about-slideshow.is-forward .about-slideshow__slide.is-leaving {
  opacity: 0;
  visibility: visible;
  transform: translate3d(-100%, 0, 0);
  z-index: 1;
}

.about-slideshow.is-backward .about-slideshow__slide.is-leaving {
  opacity: 0;
  visibility: visible;
  transform: translate3d(100%, 0, 0);
  z-index: 1;
}

.about-slideshow__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  backface-visibility: hidden;
}

.about-slideshow__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--asphalt);
  color: var(--chalk);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.about-slideshow__nav:hover,
.about-slideshow__nav:focus-visible {
  background: var(--safety);
  color: var(--asphalt);
}

.about-slideshow__nav--prev {
  left: 0.75rem;
}

.about-slideshow__nav--next {
  right: 0.75rem;
}

.about-slideshow__dots {
  position: absolute;
  left: 50%;
  bottom: 0.875rem;
  z-index: 2;
  display: flex;
  gap: 0.5rem;
  transform: translateX(-50%);
  padding: 0.375rem 0.625rem;
  border-radius: 0;
  background: rgba(16, 17, 18, 0.45);
  backdrop-filter: blur(6px);
}

.about-slideshow__dots button {
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.about-slideshow__dots button.is-active {
  background: var(--orange);
  transform: scale(1.25);
}

.about-slideshow__dots button:hover,
.about-slideshow__dots button:focus-visible {
  background: var(--white);
  outline: none;
}

.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 (min-width: 768px) {
  .about-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

/* ── Services bento ── */

/* Spec-sheet grid: 1px gaps show the container colour, so the cards read as
   cells on a shop drawing instead of floating cards. */
.services-bento {
  display: grid;
  gap: 1px;
  grid-template-columns: 1fr;
  background: rgba(242, 239, 233, 0.18);
  border: 1px solid rgba(242, 239, 233, 0.18);
}

.service-card {
  position: relative;
  background: var(--asphalt);
  border: 0;
  border-radius: 0;
  padding: 1.75rem 1.5rem 2rem;
  transition: background 0.18s;
}

.service-card:hover,
.service-card:focus-within {
  background: var(--graphite);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  margin: 0 0 0.6rem;
  color: var(--chalk);
}

.service-card h3 a {
  color: inherit;
  text-decoration: none;
}

.service-card h3 a:hover {
  color: var(--safety);
}

.service-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: rgba(242, 239, 233, 0.66);
}

.service-icon {
  width: 40px;
  height: 40px;
  border-radius: 0;
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
  color: var(--safety);
  background: none;
}

.service-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.service-card--featured {
  background: var(--graphite);
  color: var(--chalk);
  grid-column: 1 / -1;
  box-shadow: inset 0 4px 0 var(--safety);
}

.service-card--featured h3 {
  font-size: 2rem;
}

.service-card--featured h3,
.service-card--featured h3 a {
  color: var(--chalk);
}

.service-card--featured p {
  color: rgba(242, 239, 233, 0.72);
  max-width: 44ch;
}

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

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

  .service-card--featured {
    grid-column: span 2;
    grid-row: span 1;
  }
}

/* ── Areas ── */

.areas-grid {
  display: grid;
  gap: 2rem;
}

.areas-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.areas-list li {
  padding: 0.45rem 0.85rem;
  background: transparent;
  border: 1px solid rgba(242, 239, 233, 0.22);
  border-radius: 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(242, 239, 233, 0.82);
}

.areas-map {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 0;
  overflow: hidden;
  border: 1px solid rgba(242, 239, 233, 0.22);
  background: rgba(242, 239, 233, 0.04);
}

.areas-map__canvas {
  width: 100%;
  height: 100%;
  min-height: 320px;
  background: var(--graphite);
}

.areas-map__canvas.is-loading {
  background:
    linear-gradient(110deg, rgba(242, 239, 233, 0.05) 8%, rgba(242, 239, 233, 0.12) 18%, rgba(242, 239, 233, 0.05) 33%) 0 0 / 200% 100%,
    var(--graphite);
  animation: areas-map-shimmer 1.2s linear infinite;
}

@keyframes areas-map-shimmer {
  to {
    background-position: -200% 0, 0 0;
  }
}

.areas-map__error {
  display: grid;
  place-content: center;
  height: 100%;
  margin: 0;
  padding: 1.5rem;
  text-align: center;
  color: var(--navy);
  font-size: 0.9375rem;
}

.areas-map__error a {
  color: var(--teal-dark);
}

.areas-map-pin {
  background: transparent;
  border: 0;
}

.areas-map__canvas .leaflet-control-attribution {
  font-size: 0.625rem;
}

.areas-map-caption {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  margin: 0;
  z-index: 1;
}

.areas-map-caption a {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--asphalt);
  background: var(--safety);
  border-radius: 0;
  text-decoration: none;
}

.areas-map-caption a:hover {
  background: var(--asphalt);
  color: var(--safety);
}

@media (min-width: 768px) {
  .areas-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

/* ── Why / Process ── */

.pillars {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

.pillar {
  padding: 1.25rem 0 0;
  background: transparent;
  border-radius: 0;
  border-left: 0;
  border-top: 3px solid var(--asphalt);
}

.pillar h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.pillar p {
  margin: 0;
  font-size: 0.9375rem;
}

/* ── Process timeline ── */

.process-timeline {
  margin-top: 3.5rem;
  padding: 2.5rem 1.5rem 2rem;
  border-radius: 0;
  background: var(--asphalt);
  color: var(--chalk);
  position: relative;
  overflow: hidden;
}

/* Tape-measure edge along the top of the process block. */
.process-timeline::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: var(--tape-h);
  background:
    repeating-linear-gradient(90deg, rgba(16, 17, 18, 0.45) 0 1px, transparent 1px 6px) 0 100% / 100% 5px repeat-x,
    repeating-linear-gradient(90deg, rgba(16, 17, 18, 0.9) 0 1px, transparent 1px 48px) 0 100% / 100% 11px repeat-x,
    var(--concrete);
}

.process-timeline::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(244, 141, 20, 0.04), transparent);
  opacity: 0;
  transform: translateX(-100%);
  pointer-events: none;
}

.process-timeline.is-visible::before {
  animation: process-shimmer 1.8s ease 0.6s forwards;
}

@keyframes process-shimmer {
  0% {
    opacity: 0;
    transform: translateX(-100%);
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(100%);
  }
}

.process-timeline__title {
  margin: 0.35rem 0 0.75rem;
  font-family: var(--font-display);
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--chalk);
  line-height: 0.95;
}

.process-timeline__intro {
  margin: 0 0 2.5rem;
  max-width: 42rem;
  color: rgba(242, 239, 233, 0.66);
  font-size: 1rem;
}

.process-track {
  display: none;
}

.process-timeline__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  position: relative;
}

.process-step {
  --step-delay: calc(0.14s * var(--step) + 0.25s);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  position: relative;
  opacity: 0;
  transform: translateX(-12px);
}

.process-timeline.is-visible .process-step {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.55s ease var(--step-delay), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1) var(--step-delay);
}

.process-step__marker {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.process-step__marker span {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0;
  background: var(--safety);
  color: var(--asphalt);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.875rem;
  opacity: 0;
  transition: opacity 0.3s ease var(--step-delay);
}

.process-timeline.is-visible .process-step__marker span {
  opacity: 1;
}

.process-step__body {
  padding: 0.25rem 0 1.25rem;
  background: transparent;
  border-radius: 0;
  border: 0;
}

.process-step__body h4 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  color: var(--chalk);
}

.process-step__body p {
  margin: 0;
  font-size: 0.9375rem;
  color: rgba(242, 239, 233, 0.62);
  line-height: 1.55;
}

/* Vertical rail — mobile */
.process-timeline__steps::before {
  content: "";
  position: absolute;
  left: 1.375rem;
  top: 1.375rem;
  bottom: 1.375rem;
  width: 1px;
  background: rgba(242, 239, 233, 0.22);
  border-radius: 0;
  transform-origin: top;
  transform: scaleY(0);
}

.process-timeline.is-visible .process-timeline__steps::before {
  transform: scaleY(1);
  transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1) 0.15s;
}

@media (min-width: 900px) {
  .process-timeline {
    padding: 3rem 2.5rem 2.5rem;
  }

  .process-track {
    display: block;
    position: relative;
    height: 3px;
    margin: 0 8% 0;
  }

  .process-track__line {
    display: block;
    height: 100%;
    border-radius: 0;
    background: var(--safety);
    transform: scaleX(0);
    transform-origin: left center;
  }

  .process-timeline.is-visible .process-track__line {
    transform: scaleX(1);
    transition: transform 1.1s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
  }

  .process-timeline__steps {
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
    margin-top: -1.5rem;
  }

  .process-timeline__steps::before {
    display: none;
  }

  .process-step {
    grid-template-columns: 1fr;
    gap: 0;
    text-align: left;
    opacity: 0;
    transform: translateY(24px);
  }

  .process-timeline.is-visible .process-step {
    transform: translateY(0);
  }

  .process-step__marker {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 1.25rem;
  }

  .process-step__marker span {
    width: 2.75rem;
    height: 2.75rem;
    font-size: 0.9375rem;
  }

  .process-step__body {
    padding: 1.25rem 1rem;
    min-height: 7.5rem;
  }
}

.process-guarantee {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(242, 239, 233, 0.18);
  text-align: center;
}

.process-guarantee__text {
  margin: 0;
  max-width: 28rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--chalk);
}

.quality-seal {
  width: min(150px, 45vw);
  height: auto;
  color: var(--safety);
  transform: rotate(-4deg);
}

.process-guarantee__cta {
  width: 100%;
  max-width: 16rem;
}

@media (min-width: 768px) {
  .process-guarantee {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    gap: 1.5rem;
  }

  .process-guarantee__text {
    flex: 1 1 0;
  }

  .quality-seal {
    flex: 0 0 auto;
    width: 140px;
  }

  .process-guarantee__cta {
    flex: 0 0 auto;
    width: auto;
    margin-left: auto;
  }
}

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

/* ── Reviews ── */

.reviews-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin: -0.5rem 0 2.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(242, 239, 233, 0.72);
}

.reviews-trust__score {
  font-weight: 600;
  color: var(--safety);
}

.reviews-trust__divider {
  opacity: 0.45;
}

.reviews-grid {
  display: grid;
  gap: 1.25rem;
}

.review-card {
  background: transparent;
  padding: 1.5rem 0 0;
  border-radius: 0;
  border: 0;
  border-top: 1px solid rgba(242, 239, 233, 0.22);
  margin: 0;
  color: var(--chalk);
}

.review-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.review-card blockquote {
  margin: 0 0 1rem;
  font-size: 1.0625rem;
  font-style: normal;
  color: rgba(242, 239, 233, 0.86);
}

.review-card blockquote p {
  margin: 0;
  color: inherit;
}

.review-card footer {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(242, 239, 233, 0.6);
}

.review-stars {
  color: var(--safety);
  letter-spacing: 0.12em;
}

.review-source {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.5rem;
  border-radius: 0;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  border: 1px solid rgba(242, 239, 233, 0.3);
  color: rgba(242, 239, 233, 0.72);
}

.reviews-links {
  margin: 1.75rem 0 0;
  text-align: center;
  font-size: 0.9375rem;
}

.reviews-links a {
  color: var(--safety);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.reviews-links a:hover {
  color: var(--white);
}

.reviews-links span {
  margin: 0 0.5rem;
  opacity: 0.45;
}

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

/* ── Gallery ── */

.gallery-grid {
  column-count: 2;
  column-gap: 0.625rem;
}

.gallery-grid figure {
  break-inside: avoid;
  margin: 0 0 0.625rem;
  border-radius: 0;
  overflow: hidden;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: bottom;
  transform: translate3d(0, var(--parallax-y, 0px), 0) scale(var(--parallax-scale, 1.1));
  will-change: transform;
  transition: transform 0.35s ease;
}

.gallery-grid figure:hover img {
  transform: translate3d(0, var(--parallax-y, 0px), 0) scale(calc(var(--parallax-scale, 1.1) + 0.04));
}

@media (min-width: 640px) {
  .gallery-grid {
    column-count: 3;
    column-gap: 0.75rem;
  }

  .gallery-grid figure {
    margin-bottom: 0.75rem;
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    column-count: 3;
    column-gap: 0.875rem;
  }

  .gallery-grid figure {
    margin-bottom: 0.875rem;
  }
}

/* ── Contact ── */

.contact-grid {
  display: grid;
  gap: 2.5rem;
}

.contact-info a {
  color: var(--chalk);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.75rem;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.contact-info a:hover {
  color: var(--safety);
}

.quote-form {
  display: grid;
  gap: 1rem;
}

.quote-form label {
  display: grid;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(242, 239, 233, 0.72);
}

.quote-form input,
.quote-form textarea {
  padding: 0.85rem 1rem;
  border: 1px solid rgba(242, 239, 233, 0.24);
  border-radius: 0;
  font: inherit;
  color: var(--chalk);
  background: rgba(242, 239, 233, 0.04);
}

.quote-form input::placeholder,
.quote-form textarea::placeholder {
  color: rgba(242, 239, 233, 0.38);
}

.quote-form input:focus,
.quote-form textarea:focus {
  outline: 2px solid var(--safety);
  outline-offset: 0;
  border-color: var(--safety);
}

/* Custom select */

.custom-select {
  position: relative;
}

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

.custom-select__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(242, 239, 233, 0.24);
  border-radius: 0;
  background: rgba(242, 239, 233, 0.04);
  color: var(--chalk);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.custom-select__trigger:hover {
  border-color: var(--safety);
}

.custom-select.is-open .custom-select__trigger,
.custom-select__trigger:focus-visible {
  outline: 2px solid var(--safety);
  outline-offset: 0;
  border-color: var(--safety);
}

.custom-select.is-invalid .custom-select__trigger {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(236, 54, 66, 0.12);
}

.custom-select__value.is-placeholder {
  color: rgba(242, 239, 233, 0.4);
}

.custom-select__chevron {
  flex-shrink: 0;
  width: 0.625rem;
  height: 0.625rem;
  border-right: 2px solid var(--safety);
  border-bottom: 2px solid var(--safety);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}

.custom-select.is-open .custom-select__chevron {
  transform: rotate(-135deg) translateY(-2px);
}

.custom-select__menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 0.375rem);
  left: 0;
  right: 0;
  max-height: 16rem;
  overflow-y: auto;
  margin: 0;
  padding: 0.375rem;
  list-style: none;
  background: var(--graphite);
  border: 1px solid rgba(242, 239, 233, 0.24);
  border-radius: 0;
}

.custom-select__option {
  padding: 0.7rem 0.85rem;
  border-radius: 0;
  color: var(--chalk);
  font-size: 0.9375rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.custom-select__option:hover,
.custom-select__option.is-focused {
  background: rgba(244, 141, 20, 0.18);
}

.custom-select__option.is-selected {
  background: var(--safety);
  color: var(--asphalt);
  font-weight: 600;
}

.form-status {
  font-size: 0.9375rem;
  padding: 0.75rem;
  border-radius: var(--radius);
  display: none;
}

.form-status.is-visible {
  display: block;
}

.form-status.success {
  background: var(--safety);
  color: var(--asphalt);
  font-weight: 600;
}

.form-status.error {
  background: rgba(236, 54, 66, 0.12);
  color: #ffd0d0;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.quote-form {
  position: relative;
}

.quote-form__turnstile {
  margin: 0.25rem 0 0.5rem;
}

.quote-form button[type="submit"][data-loading="true"] {
  opacity: 0.72;
  cursor: wait;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
  }
}

/* ── Footer ── */

.site-footer {
  background: var(--asphalt);
  color: rgba(242, 239, 233, 0.62);
  padding: 3rem 1.25rem 6rem;
  font-size: 0.875rem;
  border-top: 3px solid var(--safety);
}

.site-footer a {
  color: rgba(242, 239, 233, 0.86);
}

.site-footer a:hover {
  color: var(--safety);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-inner img {
  height: 40px;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.footer-partner {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(242, 239, 233, 0.14);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.footer-partner__label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(242, 239, 233, 0.5);
}

.footer-partner__link {
  color: var(--chalk);
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-partner__link:hover {
  color: var(--safety);
}

.footer-partners {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 1.5rem 3rem;
}

.footer-partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 76px;
}

.footer-partner-card img,
.footer-partner-card svg {
  height: 76px;
  width: auto;
  margin: 0;
  opacity: 1;
}

.footer-partner-card__role {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(242, 239, 233, 0.45);
}

/* ── Sticky quote bar ── */

.quote-bar {
  position: fixed;
  inset: auto 0 0;
  z-index: 95;
  padding: 0.7rem 1.25rem;
  padding-bottom: max(0.7rem, env(safe-area-inset-bottom));
  background: var(--asphalt);
  border-top: 3px solid var(--safety);
  transform: translateY(120%);
  transition: transform 0.3s ease;
}

.quote-bar.is-visible {
  transform: none;
}

.quote-bar__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.quote-bar__pitch {
  display: none;
  margin: 0;
  line-height: 1.35;
}

.quote-bar__pitch strong {
  display: block;
  color: var(--chalk);
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.quote-bar__pitch span {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(242, 239, 233, 0.55);
}

.quote-bar__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
}

.quote-bar__cta {
  flex: 1;
  padding: 0.8rem 1.25rem;
}

.quote-bar__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0;
  color: var(--white);
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.2s, color 0.2s;
}

.quote-bar__phone:hover {
  color: var(--orange);
  border-color: var(--orange);
}

.quote-bar__phone svg {
  width: 1.125rem;
  height: 1.125rem;
  fill: currentColor;
}

.quote-bar__phone span {
  display: none;
}

@media (min-width: 640px) {
  .quote-bar__phone span {
    display: inline;
  }

  .quote-bar__cta {
    flex: 0 0 auto;
  }

  .quote-bar__actions {
    width: auto;
  }
}

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

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

/* ── Reveal animation ── */

.reveal {
  --reveal-y: 14px;
  --parallax-y: 0px;
  opacity: 0;
  transform: translate3d(0, calc(var(--reveal-y, 0px) + var(--parallax-y, 0px)), 0);
  will-change: transform, opacity;
  transition: opacity 0.32s linear, transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.is-visible {
  --reveal-y: 0px;
  opacity: 1;
  transition: opacity 0.32s linear;
}

[data-parallax]:not(.reveal) {
  --parallax-y: 0px;
  --parallax-x: 0px;
  --parallax-scale: 1.08;
}

@media (prefers-reduced-motion: reduce) {
  .process-timeline::before {
    animation: none;
    opacity: 0;
  }

  .hero-video {
    display: none;
  }

  .about-slideshow__slide {
    transform: none !important;
    transition: opacity 0.2s ease !important;
  }

  .parallax-shape {
    display: none;
  }

  [data-parallax] {
    --parallax-y: 0px !important;
    --parallax-x: 0px !important;
    --parallax-scale: 1 !important;
  }

  .hero-video,
  .hero-visual img,
  .gallery-grid img {
    transform: none !important;
  }

  .reveal {
    transform: none !important;
  }

  .process-step,
  .process-step__marker span,
  .process-timeline__steps::before,
  .process-track__line {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
