/* ============================================================
   SECTIONS — layout per section, mobile-first, breakpoints at
   768 / 1024 / 1440 as verification targets (375 is the base)
   ============================================================ */

/* ---------- Preloader ---------- */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  background: var(--bg-primary);
}
.preloader-mark {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1.5rem;
  letter-spacing: 0.3em;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background: var(--bg-primary);
  overflow: hidden;
}
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(33,19,19,0.35) 0%, rgba(33,19,19,0.55) 55%, var(--brown-900) 100%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 6rem;
}
.hero-title {
  font-size: var(--text-hero);
  color: var(--white);
  margin-block: var(--space-3);
}
.hero-title .line { display: block; }
.hero-title .accent { color: var(--terracotta-400); }
.hero-sub {
  max-width: 46ch;
  font-size: var(--text-lead);
  color: var(--gray-300);
  margin-bottom: var(--space-4);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-2); }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: var(--space-3);
  transform: translateX(-50%);
  z-index: 1;
}
.scroll-cue-mouse {
  display: block;
  width: 26px;
  height: 42px;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-pill);
  position: relative;
}
.scroll-cue-mouse span {
  position: absolute;
  top: 6px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  background: var(--terracotta-400);
  border-radius: 2px;
  animation: scrollCue 1.6s ease-in-out infinite;
}
@keyframes scrollCue {
  0% { opacity: 1; transform: translateY(0); }
  70% { opacity: 0; transform: translateY(14px); }
  100% { opacity: 0; transform: translateY(14px); }
}

/* ---------- Trust bar ---------- */
.trust-bar {
  background: #a0522d;
  padding-block: var(--space-4);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
  text-align: center;
}
.stat { display: flex; flex-direction: column; gap: 0.3rem; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
  color: var(--white);
}
.stat-num-sm { font-size: clamp(2.95rem, 1rem + 1vw, 1.75rem); }
.stat-label {
  font-size: var(--text-small);
  color: #e3e3e3;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ============================================================
   SERVICES — HeroParallax cinematic scroll
   Inspired by Aceternity UI HeroParallax.

   Layout: 150vh section (scroll space) → 100dvh sticky frame.
   150vh (was 280vh) — shortened so the whole section completes in
   roughly 3 scroll gestures instead of 5-6, per user feedback.
   GSAP drives two overlapping animations:
     • Phase 1 (0–22%): 3-D unfold (rotateX / rotateZ / opacity / y)
     • Phase 2 (0–100%): rows slide in opposite X directions
   ============================================================ */

/* ── Scroll-space container ─────────────────────────── */
.sp {
  position: relative;
  height: 150vh;
  background: var(--brown-900);  /* cinema-dark anchors the cards */
}

/* ── Sticky viewport frame ──────────────────────────── */
/*
 * Sticks to viewport top for the full 150vh scroll.
 * overflow:hidden clips the horizontal card overflow from
 * the ±500px translateX without breaking 3-D child context.
 */
.sp__sticky {
  position: sticky;
  top: 0;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  overflow: hidden;
}

/* ── Section header ─────────────────────────────────── */
.sp__header {
  text-align: center;
  flex-shrink: 0;
  padding-top: 4.5rem;    /* clear the fixed nav bar */
  z-index: 2;
}
.sp__header .eyebrow {
  color: var(--terracotta-400);
  margin-bottom: var(--space-1);
}
.sp__title { color: var(--white); }

/* ── 3-D perspective scene ──────────────────────────── */
/*
 * perspective lives here so rotateX/rotateZ on .sp__wrapper
 * produce the correct vanishing-point depth.
 * The inner overflow:hidden on .sp__sticky already clips cards.
 */
.sp__scene {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  width: 100%;
  perspective: 1100px;
  overflow: hidden;
}

/* ── 3-D wrapper — GSAP animation target ───────────── */
/*
 * transform-style:preserve-3d propagates the 3-D context to rows.
 * GSAP targets: rotateX, rotateZ, opacity, y (phase 1).
 */
.sp__wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transform-style: preserve-3d;
  will-change: transform, opacity;
}

/* ── Card rows ──────────────────────────────────────── */
/*
 * Row A (flex-row-reverse) → GSAP translates +500px (slides right).
 * Row B (flex-row)         → GSAP translates −500px (slides left).
 * The reversed flex order means at +translateX, row-A reveals its
 * left-side cards (already past the right viewport edge), creating
 * the illusion of infinite scroll.
 */
.sp__row {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  will-change: transform;
}
.sp__row--a { flex-direction: row-reverse; }
.sp__row--b { flex-direction: row; }

/* ── Individual service card ────────────────────────── */
/*
 * 500px width ensures 3 cards overflow at 1440px viewport
 * (3×500 + 2×24gap = 1548px > viewport), giving the slide
 * animation meaningful content to reveal/conceal.
 */
.sp__card {
  flex: 0 0 500px;
  height: 310px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: default;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.07),
    var(--shadow-lg);
  transition: box-shadow var(--duration-slow) var(--ease-out);
}
.sp__card:hover {
  box-shadow:
    0 0 0 1px rgba(160, 82, 45, 0.40),
    0 28px 64px rgba(0, 0, 0, 0.55);
}

/* Card image */
.sp__card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease-out);
}
.sp__card:hover .sp__card-img { transform: scale(1.06); }

/* Dark gradient — bottom-heavy so content is always readable */
.sp__card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(33, 19, 19, 0.92) 0%,
    rgba(33, 19, 19, 0.45) 50%,
    rgba(33, 19, 19, 0.08) 100%
  );
}

/* Terracotta top-line on hover */
.sp__card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
  z-index: 2;
}
.sp__card:hover::before { transform: scaleX(1); }

/* Card text content */
.sp__card-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: var(--space-3);
  z-index: 1;
}

/* Icon badge */
.sp__card-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: rgba(160, 82, 45, 0.18);
  border: 1px solid rgba(160, 82, 45, 0.48);
  border-radius: var(--radius-sm);
  color: var(--terracotta-400);
  margin-bottom: 0.75rem;
}

.sp__card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 0.3rem;
}
.sp__card p {
  font-size: var(--text-small);
  color: var(--gray-400);
  margin: 0;
  line-height: 1.55;
  max-width: 34ch;
}

/* ── Mobile fallback — no sticky 3-D, plain grid ───── */
@media (max-width: 767px) {
  .sp {
    height: auto;
    padding-block: var(--space-7);
  }
  .sp__sticky {
    position: static;
    height: auto;
    overflow: visible;
    gap: var(--space-4);
  }
  .sp__header { padding-top: 0; }
  .sp__scene { perspective: none; overflow: visible; }
  .sp__wrapper {
    transform: none !important;
    opacity: 1 !important;
  }
  .sp__row {
    flex-direction: column;
    align-items: center;
    transform: none !important;
  }
  .sp__card {
    flex: 0 0 auto;
    width: min(500px, 90vw);
  }
}

/* ── Reduced motion ─────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .sp { height: auto; }
  .sp__sticky { position: static; height: auto; overflow: visible; padding-block: var(--space-7); }
  .sp__card:hover .sp__card-img { transform: none; }
  .sp__card::before { transition: none; }
}

/* ---------- Why us ---------- */
/* ============================================================
   WHY US — Full-bleed background image + solid cards
   
   Design: raw background photo fills the section.
   No overlay. No glassmorphism.
   • background-attachment:fixed pins the image while content scrolls.
   • Heading uses text-shadow (not overlay) for legibility on bright sky.
   • Cards are solid opaque dark panels that scroll in via data-reveal-stagger.
   • The existing scroll-animations.js handles all card entrance animations.
   ============================================================ */

/* ── Section shell ──────────────────────────────────── */
.why-us {
  position: relative;
  /*
   * The sunset photo pinned behind the scrolling content.
   * background-attachment:fixed creates the natural parallax feel:
   * as you scroll, the image appears to stay still while the page
   * moves over it — no JS or GSAP required.
   * Note: fixed attachment falls back to scroll on iOS Safari (acceptable).
   */
  background-image: url('../assets/images/homepic3.jpg');
  background-size: cover;
  background-position: center 35%;  /* sky + roofer visible */
  background-attachment: fixed;
  background-repeat: no-repeat;
  /*
   * padding-top: push the heading below the sky into the
   * roofer-figure zone (~35–50% from top of image).
   * padding-bottom: space for the cards grid.
   */
  padding-top: clamp(28vh, 38vh, 45vh);
  padding-bottom: var(--space-8);
}

/* ── Content layout ─────────────────────────────────── */
.why-us__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

/* ── Heading — directly on image, text-shadow for legibility ── */
.why-us__heading {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}
.why-us__heading .eyebrow {
  color: #fff;
  /* Warm glow matches the fiery sky colours */
  text-shadow: 0 0 28px rgba(160, 82, 45, 0.55);
  margin-bottom: var(--space-2);
}
.why-us__title {
  color: var(--white);
  /*
   * Dual-layer text-shadow: diffuse outer glow + tight dark edge.
   * Makes the heading pop off the bright orange sky without overlay.
   */
  text-shadow:
    0 2px 32px rgba(0, 0, 0, 0.75),
    0 1px 4px  rgba(0, 0, 0, 0.90);
  margin-bottom: var(--space-2);
}
.why-us__sub {
  font-size: var(--text-lead);
  color: rgba(255, 255, 255, 0.90);
  text-shadow:
    0 1px 12px rgba(0, 0, 0, 0.70),
    0 1px 3px  rgba(0, 0, 0, 0.85);
  max-width: 46ch;
  margin-inline: auto;
  line-height: var(--leading-normal);
  margin: 0 auto;
}

/* ── Cards grid ─────────────────────────────────────── */
/*
 * Cards scroll in via data-reveal-stagger — handled by
 * scroll-animations.js (already in the project, no new JS).
 */
.why-us__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}

/* ── Individual card — solid opaque, no blur/glass ──── */
/*
 * Solid bg means cards are always fully readable regardless
 * of what part of the image is behind them.
 * Box-shadow lifts them visually off the image background.
 */
.why-us__card {
  background: var(--bg-primary);      /* solid dark brown */
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-top: 3px solid var(--accent-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-3) var(--space-4);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.50),
    0 2px 8px  rgba(0, 0, 0, 0.35);
  transition:
    transform    var(--duration-slow) var(--ease-out),
    box-shadow   var(--duration-slow) var(--ease-out),
    border-color var(--duration-base) var(--ease-out);
}
.why-us__card:hover {
  transform: translateY(-6px);
  border-top-color: var(--terracotta-400);
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.60),
    0 4px 12px  rgba(0, 0, 0, 0.40);
}

/* ── Card icon badge ─────────────────────────────────── */
.why-us__card-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: rgba(160, 82, 45, 0.18);
  border: 1px solid rgba(160, 82, 45, 0.45);
  border-radius: var(--radius-md);
  color: var(--terracotta-400);
  margin-bottom: var(--space-2);
}
.why-us__card h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.why-us__card p {
  font-size: var(--text-small);
  color: var(--gray-300);
  line-height: var(--leading-normal);
  margin: 0;
}

/* Legacy selectors kept for nav anchor compatibility */
.why-us-grid     { display: grid; }
.why-us-features { display: grid; }

/* ── Responsive card grid ────────────────────────────── */
@media (min-width: 640px) {
  .why-us__cards { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .why-us__cards { grid-template-columns: repeat(4, 1fr); }
}

/* ── Mobile ─────────────────────────────────────────── */
/*
 * background-attachment:fixed doesn't work on iOS Safari.
 * Fallback to scroll (still looks great, just no fixed parallax).
 */
@media (max-width: 767px) {
  .why-us {
    background-attachment: scroll;
    padding-top: clamp(16rem, 45vw, 22rem);
  }
}

/* ── Reduced motion ─────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .why-us {
    background-attachment: scroll;
  }
  .why-us__card { transition: none; }
}

/* ============================================================
   PROCESS — Animated Feature Carousel
   Vanilla CSS port of animated-feature-carousel (React/framer-motion)

   Layout:
     .pfc__card-inner   display:flex  (text left | images right)
     .pfc__text-col     58% — fades via .pfc--out on step change
     .pfc__img-col      42% — JS injects <img> with animation classes

   Animations ported from ANIMATION_PRESETS in React component:
     pfc-anim-left  ← slideInLeft  (x -18 → 0)
     pfc-anim-right ← slideInRight (x +18 → 0)
     pfc-anim-scale ← fadeInScale  (scale 0.95 → 1)

   Spotlight: radial-gradient reads --px / --py CSS vars set by JS.
   ============================================================ */

/* ── Section shell ──────────────────────────────────── */
.pfc {
  background: var(--bg-secondary);
  padding-block: var(--space-7);
}

.pfc__wrap {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  max-width: 900px;
}

.pfc__header { text-align: center; }

/* ── Feature card ───────────────────────────────────── */
.pfc__card {
  position: relative;
  width: 100%;
  border-radius: 20px;
  border: 1px solid rgba(33, 19, 19, 0.12);
  background: var(--bg-primary);
  overflow: hidden;
  /* Spotlight vars — updated on mousemove by JS */
  --px: 50%;
  --py: 50%;
}

/* Radial spotlight — mirrors FeatureCard's animated-cards hover */
.pfc__card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(
    520px circle at var(--px) var(--py),
    rgba(160, 82, 45, 0.10),
    transparent 55%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
}
.pfc__card:hover::before { opacity: 1; }

/* ── Inner flex layout ──────────────────────────────── */
.pfc__card-inner {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 400px;
}

/* ── Text column (left 58%) ─────────────────────────── */
/*
 * Transitions mirror AnimatePresence mode="wait":
 * JS adds .pfc--out (fade down), swaps content, removes it (fade up).
 */
.pfc__text-col {
  flex: 0 0 58%;
  padding: 2.75rem 2rem 2.75rem 2.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  position: relative;
  z-index: 2;
  transition: opacity 0.26s ease, transform 0.26s ease;
}
.pfc__text-col.pfc--out {
  opacity: 0;
  transform: translateY(14px);
}

/* Step label (eyebrow) — mirrors sky-600 active colour with terracotta */
.pfc__step-label {
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta-400);
  margin: 0;
}

/* Step title — mirrors text-2xl md:text-3xl font-bold */
.pfc__step-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  color: var(--white);
  line-height: 1.2;
  margin: 0;
}

/* Step description — mirrors text-neutral-700 dark:text-neutral-400 */
.pfc__step-desc {
  font-size: var(--text-base);
  color: var(--gray-300);
  line-height: var(--leading-normal);
  max-width: 34ch;
  margin: 0;
}

/* ── Image column (right 42%) ───────────────────────── */
.pfc__img-col {
  flex: 0 0 42%;
  position: relative;
  overflow: hidden;
  align-self: stretch;
}

/* Gradient left edge blends image column into text column */
.pfc__img-col::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 4rem;
  background: linear-gradient(to right, var(--bg-primary), transparent);
  z-index: 4;
  pointer-events: none;
}

/* ── Image elements ─────────────────────────────────── */
/*
 * JS injects <img class="pfc__img pfc__img--{type} pfc-anim-{preset}">
 * Type variants mirror defaultClasses in the React component.
 */
.pfc__img {
  position: absolute;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.45);
}

/* Two-image layout: primary (top portion, slight left bleed) */
.pfc__img--pair-a {
  top: 1.25rem;
  left: -0.5rem;
  width: calc(100% + 0.5rem);
  height: 58%;
}

/* Two-image layout: secondary (bottom-right, overlapping) */
.pfc__img--pair-b {
  bottom: 1.25rem;
  right: 1rem;
  width: 72%;
  height: 42%;
}

/* Single full image (steps 3 & 4) */
.pfc__img--full {
  top: 1.25rem;
  left: -0.5rem;
  width: calc(100% + 0.5rem);
  height: calc(100% - 2.5rem);
}

/* ── Entrance animations ────────────────────────────── */
/*
 * Mirrors ANIMATION_PRESETS in animated-feature-carousel.tsx:
 *   slideInLeft   → pfc-anim-left
 *   slideInRight  → pfc-anim-right
 *   fadeInScale   → pfc-anim-scale
 * JS sets animationDelay = i * 0.12s on secondary images.
 */
@keyframes pfcSlideLeft {
  from { opacity: 0; transform: translateX(-18px); }
  to   { opacity: 1; transform: translateX(0);     }
}
@keyframes pfcSlideRight {
  from { opacity: 0; transform: translateX(18px);  }
  to   { opacity: 1; transform: translateX(0);     }
}
@keyframes pfcFadeScale {
  from { opacity: 0; transform: scale(0.95);       }
  to   { opacity: 1; transform: scale(1);          }
}

.pfc-anim-left  { animation: pfcSlideLeft  0.42s ease forwards; }
.pfc-anim-right { animation: pfcSlideRight 0.42s ease forwards; }
.pfc-anim-scale { animation: pfcFadeScale  0.42s ease forwards; }

/* ── Step navigation ─────────────────────────────────── */
/* Mirrors StepsNav — ol of motion.li > button items */
.pfc__nav { display: flex; justify-content: center; }
.pfc__nav-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

/* Step button */
.pfc__btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem 0.45rem 0.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: var(--text-small);
  font-weight: 600;
  cursor: pointer;
  overflow: hidden;
  transition:
    background  0.25s ease,
    color       0.25s ease,
    border-color 0.25s ease;
}

/* Inactive — mirrors bg-neutral-100 text-neutral-700 */
.pfc__btn--inactive {
  background: rgba(33, 19, 19, 0.06);
  color: var(--text-on-light-muted);
  border-color: rgba(33, 19, 19, 0.10);
}
.pfc__btn--inactive:hover {
  background: rgba(33, 19, 19, 0.12);
}

/* Active — mirrors bg-sky-600 (→ terracotta for Goshen) */
.pfc__btn--active {
  background: var(--accent-primary);
  color: var(--white);
  border-color: var(--accent-primary);
}

/* Completed — lighter tint */
.pfc__btn--completed {
  background: rgba(160, 82, 45, 0.12);
  color: var(--terracotta-400);
  border-color: rgba(160, 82, 45, 0.22);
}

/* Number badge inside button */
.pfc__btn-num {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: background 0.25s ease;
}
.pfc__btn--inactive  .pfc__btn-num { background: rgba(33,19,19,0.10); color: var(--text-on-light-muted); }
.pfc__btn--active    .pfc__btn-num { background: rgba(255,255,255,0.25); color: var(--white); }
.pfc__btn--completed .pfc__btn-num { background: var(--terracotta-400); color: var(--white); }

/* Label text (hidden at smallest breakpoint) */
.pfc__btn-label { line-height: 1; }

/*
 * Progress bar — mirrors the auto-cycle timer visually.
 * JS adds .pfc--progress after .pfc__btn--active to trigger the
 * 5 s linear width transition from 0% → 100%.
 * Reflow (void btn.offsetWidth) resets it cleanly on each step.
 */
.pfc__btn::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  height: 2px;
  width: 0%;
  background: rgba(255, 255, 255, 0.55);
}
.pfc__btn--active.pfc--progress::after {
  width: 100%;
  transition: width 5s linear;
}

/* ── Mobile: stack vertically ───────────────────────── */
@media (max-width: 767px) {
  .pfc__card-inner { flex-direction: column; min-height: auto; }
  .pfc__text-col   { flex: none; padding: 2rem 1.5rem 1rem; max-width: 100%; }
  .pfc__img-col    { flex: none; height: 220px; }
  .pfc__img-col::before { display: none; }

  /* Simplify positioning on mobile */
  .pfc__img--pair-a,
  .pfc__img--full {
    top: 0; left: 0;
    width: 100%; height: 100%;
  }
  .pfc__img--pair-b { display: none; } /* keep it simple on small screens */
}

/* ── Reduced motion ─────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .pfc__text-col   { transition: none; }
  .pfc-anim-left, .pfc-anim-right, .pfc-anim-scale { animation: none; opacity: 1; }
  .pfc__btn::after { transition: none; }
}

/* ---------- Reviews ---------- */
/* ============================================================
   REVIEWS — Stacked card swipe
   Left: 5 review cards in a draggable deck.
   Right: Image panel crossfades with each card.

   Stack visual driven by data-pos attribute on each card:
     data-pos="0" → top card, full size, no rotation
     data-pos="1" → second card, slightly rotated + scaled
     data-pos="2" → third card, more rotation + scale
     data-pos="3" → fourth, mostly hidden
     data-pos="4" → fifth, invisible (below visible stack)
   ============================================================ */

/* ── Section shell ──────────────────────────────────── */
.rvs {
  background: #a0522d;
  padding-block: var(--space-7);
  overflow: hidden;
}

/* ── Two-column layout ──────────────────────────────── */
.rvs__wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: center;
}

/* ── Left column ────────────────────────────────────── */
.rvs__left {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.rvs__header { max-width: 480px; }
.rvs__heading {
  color: var(--white);
  margin-top: var(--space-1);
}
.rvs__header .eyebrow { color: var(--terracotta-400); }

/* ── Card stack container ───────────────────────────── */
/*
 * Height must be enough for the tallest card content.
 * Cards are position:absolute inside here.
 * Extra bottom padding accounts for the stacked cards
 * peeking below the top card.
 */
.rvs__stack {
  position: relative;
  height: 300px;         /* adjust if card content overflows */
  max-width: 500px;
  margin-top: var(--space-2);
  /* prevent text selection during drag */
  user-select: none;
  -webkit-user-select: none;
}

/* ── Individual review card ─────────────────────────── */
.rvs__card {
  position: absolute;
  inset: 0;
  background: var(--brown-800, #3d1f1f);  /* slightly lighter than section bg */
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  /* CSS transition handles stack position changes */
  transition:
    transform 0.42s cubic-bezier(0.34, 1.2, 0.64, 1),
    opacity   0.35s ease;
  will-change: transform;
  overflow: hidden;
}

/* ── Stack depth positions via data-pos ─────────────── */
/*
 * Top card: full visibility, draggable (cursor:grab).
 * Each step behind: more translateY (appears lower in stack),
 * slight alternating rotation (fan effect), and scaled down.
 */
.rvs__card[data-pos="0"] {
  transform: translateY(0px) rotate(0deg) scale(1);
  z-index: 5;
  cursor: grab;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.55),
    0 2px  8px  rgba(0, 0, 0, 0.30);
}
.rvs__card[data-pos="0"]:active { cursor: grabbing; }

.rvs__card[data-pos="1"] {
  transform: translateY(-14px) rotate(3.5deg) scale(0.96);
  z-index: 4;
  pointer-events: none;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.40);
}
.rvs__card[data-pos="2"] {
  transform: translateY(-26px) rotate(-2.5deg) scale(0.92);
  z-index: 3;
  pointer-events: none;
  opacity: 0.85;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.30);
}
.rvs__card[data-pos="3"] {
  transform: translateY(-36px) rotate(1.5deg) scale(0.88);
  z-index: 2;
  pointer-events: none;
  opacity: 0.60;
}
/* Hidden — below the visible stack */
.rvs__card[data-pos="4"] {
  transform: translateY(-44px) scale(0.85);
  z-index: 1;
  pointer-events: none;
  opacity: 0;
}

/* Top card: terracotta left-edge accent */
.rvs__card[data-pos="0"]::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--terracotta-400), transparent);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

/* ── Card internals ─────────────────────────────────── */
.rvs__stars {
  display: flex;
  gap: 2px;
  color: var(--terracotta-400);
}
.rvs__stars svg { width: 18px; height: 18px; flex-shrink: 0; }

.rvs__quote {
  font-size: var(--text-base);
  color: var(--beige-100);
  line-height: var(--leading-normal);
  flex: 1;
  margin: 0;
  font-style: normal;
}
.rvs__quote::before { content: 'C'; }
.rvs__quote::after  { content: 'D'; }

.rvs__author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-top: auto;
  padding-top: 0.875rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

/* Initials avatar */
.rvs__avatar {
  width: 42px; height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: rgba(160, 82, 45, 0.22);
  border: 1px solid rgba(160, 82, 45, 0.45);
  color: var(--terracotta-400);
}

.rvs__name {
  font-size: var(--text-small);
  font-weight: 700;
  color: var(--white);
  margin: 0;
}
.rvs__loc {
  font-size: 0.75rem;
  color: var(--gray-400);
  margin: 0.1rem 0 0;
  letter-spacing: 0.02em;
}

/* ── Navigation controls ────────────────────────────── */
.rvs__controls {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-1);
}

/* Prev / Next arrow buttons */
.rvs__nav {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgb(51 17 17 / 83%);
  color: var(--gray-300);
  cursor: pointer;
  transition: background var(--duration-base) var(--ease-out),
              border-color var(--duration-base) var(--ease-out);
  flex-shrink: 0;
}
.rvs__nav:hover {
  background: rgba(160, 82, 45, 0.20);
  border-color: var(--terracotta-500);
  color: var(--white);
}

/* Dot indicators */
.rvs__dots { display: flex; align-items: center; gap: 6px; }
.rvs__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.20);
  cursor: pointer;
  padding: 0;
  transition: background var(--duration-base) ease,
              transform  var(--duration-base) ease,
              width      var(--duration-base) ease;
}
.rvs__dot.is-active {
  background: var(--terracotta-400);
  width: 20px;
  border-radius: 4px;
}

/* Swipe hint */
.rvs__hint {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--gray-400);
  margin-top: calc(var(--space-1) * -1);
  letter-spacing: 0.04em;
}

/* ── RIGHT: Crossfading image panel ─────────────────── */
.rvs__images {
  position: relative;
  height: 540px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.50);
}

/* Individual images crossfade via opacity */
.rvs__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0;
  transform: scale(1.03);
  transition:
    opacity   0.65s ease,
    transform 0.65s ease;
}
.rvs__img.is-active {
  opacity: 1;
  transform: scale(1);
}

/* Decorative terracotta frame: thin border offset from panel */
.rvs__img-frame {
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--radius-lg) + 1px);
  border: 2px solid rgba(160, 82, 45, 0.35);
  pointer-events: none;
}

/* Bottom gradient on image panel for cinematic depth */
.rvs__images::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 30%;
  background: linear-gradient(to top, rgba(33, 19, 19, 0.50), transparent);
  pointer-events: none;
}

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 1023px) {
  .rvs__wrap { grid-template-columns: 1fr; gap: var(--space-5); }
  .rvs__images { height: 300px; }
  .rvs__header { max-width: 100%; }
}
@media (max-width: 767px) {
  .rvs__stack { height: 320px; } /* more height for smaller card width */
  .rvs__images { height: 240px; border-radius: var(--radius-md); }
}

/* ── Reduced motion ─────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .rvs__card { transition: none; }
  .rvs__img  { transition: none; }
}

/* ============================================================
   Service area — cinematic shader hero
   Inspired by the animated-shader-hero reference component:
   a live WebGL2 fragment-shader canvas background (see
   js/area-shader.js), colour-graded to the brand palette with a
   CSS blend-mode tint, a glass trust badge, a two-line gradient
   headline, and staggered fade-in content (see js/area-reveal.js).
   Falls back to a static brand-gradient background — no canvas —
   when WebGL2 is unavailable or motion is reduced.
   ============================================================ */
.area {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: var(--space-8);
  /* Static fallback — always visible under/behind the canvas,
     and the only background when the canvas can't mount. */
  background: radial-gradient(120% 100% at 50% 0%, var(--brown-700) 0%, var(--brown-900) 55%, #0d0808 100%);
  color: var(--text-on-dark);
  text-align: center;
}

/* Live WebGL2 shader canvas — mounted/sized by js/area-shader.js.
   Transparent background so the CSS gradient behind it still shows
   through as a fallback the instant before/if the canvas mounts. */
.area-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  touch-action: pan-y; /* never intercepts vertical scroll gestures */
}

/* Recolours the (inherently blue/purple) shader output to the brand
   palette using a blend mode, so the effect reads as "Goshen" rather
   than a generic tech-demo gradient. Pure CSS — the GLSL is untouched. */
.area-tint {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, var(--terracotta-600) 0%, var(--brown-800) 45%, var(--terracotta-400) 100%);
  mix-blend-mode: color;
  opacity: 0.85;
  pointer-events: none;
}

/* Dark gradient veil for text legibility over the animated background */
.area-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(13, 8, 8, 0.35) 0%, rgba(13, 8, 8, 0.30) 40%, rgba(13, 8, 8, 0.82) 100%),
    radial-gradient(70% 60% at 50% 40%, rgba(13, 8, 8, 0) 0%, rgba(13, 8, 8, 0.55) 100%);
  pointer-events: none;
}

/* Foreground content — centred, like the reference hero */
.area-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Glass trust badge */
.area-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  margin-bottom: var(--space-3);
  border-radius: var(--radius-pill);
  background: rgba(210, 180, 140, 0.10);
  border: 1px solid rgba(210, 180, 140, 0.30);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--beige-200);
}
.area-badge svg { color: var(--terracotta-400); flex-shrink: 0; }

/* Two-line gradient headline */
.area-title {
  display: flex;
  flex-direction: column;
  margin-bottom: var(--space-3);
}
.area-title-line {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: var(--leading-tight);
  font-size: var(--text-h2);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 24px rgba(0, 0, 0, 0.45));
}
.area-title-line--1 {
  background-image: linear-gradient(90deg, var(--beige-200), var(--beige-300) 60%, var(--terracotta-400));
}
.area-title-line--2 {
  background-image: linear-gradient(90deg, var(--terracotta-400), var(--terracotta-600) 60%, var(--terracotta-500));
}

.area-lead {
  font-size: var(--text-lead);
  max-width: 56ch;
  color: rgba(255, 255, 255, 0.90);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55);
  margin-bottom: var(--space-4);
}

/* Suburb / region chips */
.area-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: var(--space-4);
}
.area-chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-size: var(--text-small);
  color: var(--white);
}
.area-chips li svg { color: var(--terracotta-400); flex-shrink: 0; }

.area-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
}

/* ---------- Scoped scroll-reveal (js/area-reveal.js) ----------
   Safe progressive enhancement: elements are fully visible by
   default. Only once JS confirms it's running does it arm the
   hidden state (.area.js-armed), then reveal it on intersection
   (.area.is-in-view) — content is NEVER hidden by default CSS. */
.area-reveal { opacity: 1; transform: none; }
.area.js-armed .area-reveal { opacity: 0; transform: translateY(22px); }
.area.js-armed .area-reveal--down { transform: translateY(-14px); }
.area.is-in-view .area-reveal {
  animation: area-fade-up 0.8s var(--ease-out) forwards;
  animation-delay: var(--area-delay, 0ms);
}
.area.is-in-view .area-reveal--down { animation-name: area-fade-down; }

@keyframes area-fade-up {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes area-fade-down {
  from { opacity: 0; transform: translateY(-14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .area.js-armed .area-reveal { opacity: 1; transform: none; }
  .area.is-in-view .area-reveal { animation: none; }
}

/* ---------- Final CTA ---------- */
.final-cta {
  padding-block: var(--space-8);
  background: var(--bg-primary);
  text-align: center;
}
.final-cta .container { display: flex; flex-direction: column; align-items: center; }
.cta-title {
  font-size: var(--text-h2);
  color: var(--white);
  margin-bottom: var(--space-2);
  max-width: 18ch;
}
.final-cta .section-lead { margin-inline: auto; margin-bottom: var(--space-4); color: var(--gray-300); }
.final-cta .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */
.footer { background: var(--brown-900); color: var(--gray-300); padding-block: var(--space-6) var(--space-3); }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
.footer h4 { color: var(--white); font-family: var(--font-body); font-size: var(--text-small); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: var(--space-2); }
.footer ul { display: flex; flex-direction: column; gap: 0.6rem; font-size: var(--text-small); }
.footer ul a:hover { color: var(--terracotta-400); }
.footer-menu a { display: inline-flex; align-items: center; gap: 0.4rem; }
.footer-menu-arrow { flex-shrink: 0; color: var(--terracotta-400); }

/* ---- Footer menu hover: link slides right, arrow leads it ---- */
.footer ul a {
  transition: color var(--duration-base) var(--ease-out);
}
/* `.footer ul a` above is more specific than `.footer-menu a`,
   so these need the extra `.footer` to win the cascade. */
.footer .footer-menu a {
  transition:
    color var(--duration-base) var(--ease-out),
    transform var(--duration-base) var(--ease-out);
}
.footer .footer-menu a:hover { transform: translateX(4px); }

.footer-menu-arrow {
  transition:
    transform var(--duration-base) var(--ease-out),
    opacity var(--duration-base) var(--ease-out);
  opacity: 0.65;
}
.footer .footer-menu a:hover .footer-menu-arrow {
  transform: translateX(2px);
  opacity: 1;
}

/* ---- Contact column: icon + text ---- */
.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.footer .footer-contact li > a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  transition:
    color var(--duration-base) var(--ease-out),
    transform var(--duration-base) var(--ease-out);
}
.footer .footer-contact li > a:hover { transform: translateX(4px); }

.footer-contact-icon {
  flex-shrink: 0;
  color: var(--terracotta-400);
  opacity: 0.8;
  transition: opacity var(--duration-base) var(--ease-out);
}
.footer .footer-contact li > a:hover .footer-contact-icon { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .footer .footer-menu a:hover,
  .footer .footer-contact li > a:hover,
  .footer .footer-menu a:hover .footer-menu-arrow { transform: none; }
}
.footer-note { margin-top: var(--space-2); font-size: var(--text-small); max-width: 32ch; }
.footer-bottom {
  margin-top: var(--space-5);
  padding-top: var(--space-3);
  border-top: 1px solid var(--border-on-dark);
  font-size: var(--text-label);
  text-align: center;
}

/* ============================================================
   BREAKPOINTS
   ============================================================ */
@media (min-width: 640px) {
  .trust-grid    { grid-template-columns: repeat(4, 1fr); }
  .why-us__cards { grid-template-columns: repeat(2, 1fr); }
  /* Services: tighten cards on small-but-not-tiny screens */
  .sp__card { flex-basis: 420px; height: 280px; }
}

@media (min-width: 768px) {
  /* pfc: responsive handled by its own mobile block */
  .footer-grid   { grid-template-columns: 1.4fr repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .why-us__cards { grid-template-columns: repeat(4, 1fr); }
  .area           { min-height: 100vh; }
}

@media (min-width: 1440px) {
  .hero-title { max-width: 20ch; }
}


/* ============================================================
   GALLERY — Sticky-scroll three-column photo gallery
   Ported from the sticky-scroll React component (lenis/react).
   Smooth scroll: handled by existing Lenis in smooth-scroll.js.

   Core trick:
     .gallery__intro  → position:sticky; top:0; height:100dvh
       Appears as a full-screen title frame. Scrolls away once
       the gallery grid reaches the viewport top.

     .gallery__col--center → position:sticky; top:0; height:100dvh
       The centre column of three images stays pinned to the
       viewport top while the left and right columns scroll past,
       creating the cinematic "moving flanks / fixed window" feel.

   No JavaScript animation required — pure CSS positioning.
   ============================================================ */

/* ── Shell ──────────────────────────────────────────────── */
.gallery {
  background: var(--bg-primary); /* cinema-dark to match reviews */
}

/* ── Sticky intro frame ─────────────────────────────────── */
/*
 * Stays glued to the top of the viewport while the section
 * has not yet scrolled past it. Once the grid section reaches
 * the viewport top, this frame slides up and out of view.
 */
.gallery__intro {
  position: sticky;
  top: 0;
  height: 100dvh;
  display: grid;
  place-content: center;
  text-align: center;
  background: var(--bg-primary);
  overflow: hidden;
  z-index: 2;   /* sits above the grid while pinned */
}

/*
 * Subtle cross-hatch grid pattern — direct CSS port of the
 * Tailwind utility classes in the reference component:
 * bg-[linear-gradient(to_right,#4f4f4f2e…)] bg-[size:54px_54px]
 * [mask-image:radial-gradient(ellipse_60%_50%_at_50%_0%...)]
 */
.gallery__intro-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right,  rgba(79, 79, 79, 0.18) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(79, 79, 79, 0.18) 1px, transparent 1px);
  background-size: 54px 54px;
  /* Radial fade: solid in the upper half, transparent at the edges */
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000 70%, transparent 100%);
          mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000 70%, transparent 100%);
  pointer-events: none;
}

.gallery__intro-inner {
  position: relative;
  z-index: 1;
  padding-inline: var(--container-pad);
  max-width: var(--container-max);
}

.gallery__eyebrow {
  color: var(--terracotta-400);
  margin-bottom: var(--space-2);
  /* Eyebrow over dark bg: subtle warm glow */
  text-shadow: 0 0 32px rgba(160, 82, 45, 0.40);
}

.gallery__heading {
  font-size: var(--text-hero);
  color: var(--white);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-3);
  /* Dual-shadow for crisp legibility */
  text-shadow:
    0 2px 28px rgba(0, 0, 0, 0.55),
    0 1px 4px  rgba(0, 0, 0, 0.75);
}

.gallery__intro-sub {
  font-size: var(--text-lead);
  color: var(--gray-400);
  max-width: 44ch;
  margin-inline: auto;
  line-height: var(--leading-normal);
  margin-bottom: var(--space-4);
}

/* Subtle animated scroll cue below the intro text */
.gallery__scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--text-small);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-400);
}
.gallery__scroll-hint span {
  display: inline-block;
  width: 20px;
  height: 34px;
  border: 1.5px solid var(--gray-400);
  border-radius: var(--radius-pill);
  position: relative;
}
.gallery__scroll-hint span::after {
  content: '';
  position: absolute;
  top: 5px;
  left: 50%;
  translate: -50% 0;
  width: 3px;
  height: 7px;
  background: var(--terracotta-400);
  border-radius: 2px;
  animation: scrollCue 1.6s ease-in-out infinite;
}

/* ── Three-column grid ──────────────────────────────────── */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  padding: 0 0.5rem 0.5rem;
  background: var(--bg-primary);
  position: relative;   /* stacking context for the sticky col */
  z-index: 9;
}

/* ── Shared column base ─────────────────────────────────── */
.gallery__col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Right column: offset 8rem down for visual stagger */
.gallery__col--right { margin-top: 8rem; }

/* ── Sticky centre column ───────────────────────────────── */
/*
 * This is the magic — the centre column is sticky so it stays
 * in the viewport while left and right columns scroll past.
 * Three images are arranged in equal grid rows inside 100dvh.
 */
.gallery__col--center {
  position: sticky;
  top: 0;
  height: 100dvh;
  /* Switch from flex column to grid-rows for equal thirds */
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 0.5rem;
}

/* ── Image figures ──────────────────────────────────────── */
.gallery__fig {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  height: 24rem;   /* h-96 = 384 px — matches reference component */
}

/* Centre column figures fill their grid row */
.gallery__col--center .gallery__fig {
  height: 100%;
}

.gallery__fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s var(--ease-out);
}
.gallery__fig:hover img {
  transform: scale(1.06);
}

/* Gradient overlay: darkens the bottom for label legibility */
.gallery__fig::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 55%;
  background: linear-gradient(to top, rgba(33,19,19,0.80) 0%, transparent 100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}
.gallery__fig:hover::after,
.gallery__col--center .gallery__fig::after {
  opacity: 1;
}

/* Caption label on centre images */
.gallery__fig-label {
  position: absolute;
  bottom: var(--space-2);
  left: var(--space-2);
  right: var(--space-2);
  font-size: var(--text-small);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--beige-200);
  z-index: 1;
  /* The label is always visible on the pinned centre images */
}

/* Terracotta top-stripe on hover (left / right columns) */
.gallery__col--left .gallery__fig::before,
.gallery__col--right .gallery__fig::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
  z-index: 2;
}
.gallery__col--left .gallery__fig:hover::before,
.gallery__col--right .gallery__fig:hover::before {
  transform: scaleX(1);
}

/* ── Mobile: single column stack ───────────────────────── */
@media (max-width: 767px) {
  .gallery__intro {
    position: static;
    height: auto;
    padding-block: var(--space-7);
  }
  .gallery__intro-grid-bg { display: none; }
  .gallery__scroll-hint   { display: none; }

  .gallery__grid {
    grid-template-columns: 1fr;
    padding: 0 0.5rem 0.5rem;
  }
  .gallery__col--center {
    position: static;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  .gallery__col--center .gallery__fig { height: 24rem; }
  .gallery__col--right  { margin-top: 0; }
}

/* ── Reduced motion ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .gallery__fig img      { transition: none; }
  .gallery__fig::before,
  .gallery__fig::after   { transition: none; }
  .gallery__scroll-hint span::after { animation: none; }
}

/* ============================================================
   SCROLL EXPAND HERO
   Vanilla-JS port of the ScrollExpandMedia React component.
   All layout driven via JS; these rules set up structure only.
   ============================================================ */

/* ---------- Outer shell ---------- */
.scroll-hero {
  position: relative;
  background: var(--bg-primary);
  overflow-x: hidden;
}

/* ---------- Background image (fades out during expansion) ---------- */
.scroll-hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 100dvh;           /* covers only the viewport-height stage */
  z-index: 0;
  pointer-events: none;
}
.scroll-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.scroll-hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.50);
}

/* ---------- Stage: viewport-height frame ---------- */
.scroll-hero-stage {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100dvh;
  overflow: visible;        /* lets labels peek below the card */
}

/* ---------- Expanding media card ---------- */
.scroll-hero-media {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  will-change: width, height;
  /* width / height applied by JS */
}

.scroll-hero-media-inner {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  transition: border-radius 0.05s linear;
  overflow: hidden;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.35);
  position: relative;
}
.scroll-hero-media-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Darkening veil — lightens as card expands */
.scroll-hero-media-veil {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.60);
  border-radius: var(--radius-lg);
  pointer-events: none;
}

/* ---------- Labels below the card (slide apart via JS) ---------- */
.scroll-hero-labels {
  position: relative;
  z-index: 2;
  margin-top: var(--space-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.25rem;
  will-change: transform;
}
.scroll-hero-labels p {
  margin: 0;
  color: var(--beige-200);
}
#scroll-hero-eyebrow {
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  will-change: transform;
}
#scroll-hero-hint {
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-primary);
  will-change: transform;
}

/* ---------- Split headline (sits above media via z-index) ---------- */
.scroll-hero-titles {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-1);
  padding-inline: var(--container-pad);
  pointer-events: none;
  user-select: none;
}
.scroll-hero-title-a,
.scroll-hero-title-b {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-hero);
  line-height: var(--leading-tight);
  color: var(--beige-200);
  margin: 0;
  will-change: transform;
  /* mix-blend-mode: difference; — uncomment for textBlend variant */
}

/* ---------- Revealed content (below stage, fades in) ---------- */
/* Old reveal section — hidden; text now lives inside .scroll-hero-fullscreen */
.scroll-hero-reveal { display: none; }

/* ---- Full-screen text overlay (fades in at progress = 1) ----
   Opacity is set inline by js/scroll-hero.js's render(p) on every
   frame — deliberately NOT via a CSS transition. A CSS transition
   here previously ran on its own 0.65s clock while the split
   titles above snap instantly (no easing) on every wheel/touch
   event; reversing direction right at p=1 could catch the overlay
   still mid-fade while the titles had already snapped back
   on-screen, showing both at once (ghosted double text). Driving
   both from the same `p` value in the same synchronous call closes
   that gap — see the render() comment for the full explanation. */
.scroll-hero-fullscreen {
  position: absolute;
  inset: 0;
  z-index: 5;                     /* above .scroll-hero-media (z:1) and titles (z:2) */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;                     /* default before JS's first render() call */
  pointer-events: none;
  /* Bottom gradient so CTAs stay readable against the image */
  background: linear-gradient(
    to bottom,
    rgba(33, 19, 19, 0.15) 0%,
    rgba(33, 19, 19, 0.55) 100%
  );
}
.scroll-hero-fullscreen.is-visible { pointer-events: auto; }
.scroll-hero-fullscreen[aria-hidden="false"] { pointer-events: auto; }

.scroll-hero-fs-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding-top: 5rem;              /* clear the fixed nav */
}

.scroll-hero-fs-eyebrow {
  color: var(--terracotta-400);
  margin-bottom: var(--space-2);
}

.scroll-hero-fs-title {
  font-size: var(--text-hero);
  color: var(--white);
  margin-bottom: var(--space-3);
}
.scroll-hero-fs-title .line   { display: block; }
.scroll-hero-fs-title .accent { color: var(--terracotta-400); }

.scroll-hero-fs-sub {
  max-width: 44ch;
  color: var(--gray-300);
  font-size: var(--text-lead);
  margin-bottom: var(--space-4);
}

/* ---------- Reduced-motion fallback ---------- */
@media (prefers-reduced-motion: reduce) {
  /* Why Us: disable card hover lift */
  .why-us__card { transition: none; }

  .scroll-hero-bg    { display: none; }
  .scroll-hero-stage {
    height: auto;
    padding-block: 7rem var(--space-5);
    position: relative;
  }
  .scroll-hero-media {
    position: static !important;
    transform: none !important;
    width: 100% !important;
    height: 55vh !important;
    max-width: none !important;
    max-height: none !important;
  }
  .scroll-hero-media-inner   { border-radius: 0; }
  .scroll-hero-titles        { margin-top: var(--space-4); }
  .scroll-hero-labels        { display: none; }
  /* Show fullscreen content statically in reduced-motion */
  .scroll-hero-fullscreen {
    position: static !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    background: rgba(33, 19, 19, 0.60);
    padding-block: var(--space-6);
  }
}


/* ============================================================
   LIGHTBOX
   ============================================================ */

/* Cursor hint so users know images are clickable */
.gallery__fig          { cursor: zoom-in; }

/* Labels must not block clicks — they're display-only */
.gallery__fig-label    { pointer-events: none; }

/* ── Overlay wrapper ──────────────────────────────── */
/*
 * Hidden with display:none (not opacity) for reliability.
 * JS sets display:flex, then adds .lb--open on the next two
 * animation frames so CSS transitions actually fire.
 */
.lb {
  display: none;                /* JS switches to flex on open */
  position: fixed;
  inset: 0;
  z-index: 99999;               /* above everything */
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(5, 2, 2, 0.94);
}

/* ── Image box — animates in/out ──────────────────── */
.lb__box {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.875rem;
  max-width: min(96vw, 1000px);
  /* Start scaled down + invisible — CSS transitions to final */
  opacity: 0;
  transform: scale(0.90);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.lb--open .lb__box {
  opacity: 1;
  transform: scale(1);
}

/* ── The lightbox image ───────────────────────────── */
.lb__img {
  display: block;
  max-width: 100%;
  max-height: 80dvh;
  width: auto;
  height: auto;
  object-fit: contain;          /* show full image, no cropping */
  border-radius: 10px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.80);
}

/* ── Caption row ──────────────────────────────────── */
.lb__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 1rem;
}
.lb__caption {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.70);
  flex: 1;
  line-height: 1.4;
  margin: 0;
}
.lb__counter {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.40);
  white-space: nowrap;
}

/* ── Dark backdrop (behind .lb__box) ─────────────── */
.lb__bg {
  position: absolute;
  inset: 0;
  cursor: zoom-out;
  z-index: 0;
}

/* ── Close button (top-right corner) ─────────────── */
.lb__close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  transition: background 0.18s ease;
}
.lb__close:hover { background: rgba(255, 255, 255, 0.22); }

/* ── Prev / Next arrows ───────────────────────────── */
.lb__arrow {
  position: fixed;
  top: 50%;
  translate: 0 -50%;
  z-index: 2;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.lb__arrow:hover:not(:disabled) {
  background: #a0522d;          /* brand terracotta */
  border-color: #a0522d;
}
.lb__arrow--prev { left:  1rem; }
.lb__arrow--next { right: 1rem; }

/* ── Reduced motion ───────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .lb__box { transition: none; }
}


/* ============================================================
   ABOUT US — Editorial split layout
   Left 42%: full-bleed image + founder quote overlay + brand stamp.
   Right 58%: textured dark content, brand story, animated stats, CTA.

   All animations use existing systems:
     • data-reveal / data-reveal-stagger → scroll-animations.js
     • .stat[data-count] / .stat-num    → counters.js
   No new JavaScript required.
   ============================================================ */

/* ── Section shell ──────────────────────────────────── */
/*
 * Contained layout: the .container inside constrains the grid
 * to max-width with side padding. Image gets border-radius
 * rather than bleeding to the viewport edge.
 */
.abt {
  position: relative;
  background: #351f1f;
  padding-block: var(--space-7);
  /* Crosshatch grid texture applied at section level */
  background-image:
    linear-gradient(rgba(79, 79, 79, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 79, 79, 0.055) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* Container wrapper — standard site max-width + side padding */
.abt__container { /* uses .container styles — no extra rules needed */ }

/* ── Two-column grid ────────────────────────────────── */
.abt__grid {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: var(--space-5);
  align-items: stretch;
  min-height: 580px;
}

/* ── LEFT: Image column (contained, rounded) ────────── */
.abt__img-col {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 480px;
}

/* Image fills the rounded column */
.abt__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

/* Bottom gradient: lightens the founder quote area */
.abt__img-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(33, 19, 19, 0.05) 0%,
    rgba(33, 19, 19, 0.20) 45%,
    rgba(33, 19, 19, 0.88) 75%,
    rgba(33, 19, 19, 0.97) 100%
  );
}

/* Founder quote sits over the gradient bottom */
.abt__img-quote {
  position: absolute;
  bottom: 6.5rem;     /* leaves room for the brand stamp */
  left: 2rem;
  right: 2rem;
  z-index: 2;
  margin: 0;
}
.abt__img-quote-text {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-style: italic;
  color: var(--beige-100);
  line-height: var(--leading-normal);
  margin: 0 0 0.875rem;
  /* subtle text-shadow for crisp legibility over any image tone */
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
}
.abt__img-quote-text::before { content: '\201C'; }
.abt__img-quote-text::after  { content: '\201D'; }

.abt__img-quote-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--terracotta-400);
  letter-spacing: 0.04em;
}
.abt__img-quote-line {
  width: 32px;
  height: 1px;
  background: var(--terracotta-500);
  flex-shrink: 0;
}

/* Brand stamp at the very bottom of the image column */
.abt__stamp {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 5.5rem;
  background: rgba(33, 19, 19, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 2;
}
.abt__stamp-img {
  height: 3.5rem;
  width: auto;
  object-fit: contain;
  /* Slight brightness pull — logo has white bg, blend it in */
  mix-blend-mode: lighten;
  opacity: 0.80;
}

/* ── RIGHT: Content column ──────────────────────────── */
/*
 * No background of its own — sits on the section's texture.
 * Padding left gives breathing room from the image column gap.
 */
.abt__content {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: var(--space-3) 0 var(--space-3) var(--space-4);
}

/* Left accent bar — terracotta gradient line */
.abt__content::after {
  content: '';
  position: absolute;
  left: 0; top: 15%; bottom: 15%;
  width: 3px;
  background: linear-gradient(to bottom, transparent, var(--terracotta-500) 40%, transparent);
}

/* Faint founding-year watermark in bottom-right of content */
.abt__watermark {
  position: absolute;
  right: -1.5rem;
  bottom: -2rem;
  font-family: var(--font-display);
  font-size: clamp(8rem, 14vw, 16rem);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.025);
  line-height: 1;
  user-select: none;
  pointer-events: none;
  letter-spacing: -0.04em;
}

/* Inner content wrapper — stacks all content with consistent gap */
.abt__content-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

/* Section header */
.abt__header { display: flex; flex-direction: column; gap: var(--space-2); }
.abt__header .eyebrow { color: var(--terracotta-400); }
.abt__heading { color: var(--white); }

/* Story paragraphs */
.abt__story {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.abt__story p {
  color: var(--gray-300);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  margin: 0;
  max-width: 48ch;
}

/* Terracotta divider between story and stats */
.abt__divider {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--terracotta-400);
}
.abt__divider-line {
  flex: 0 0 40px;
  height: 1px;
  background: linear-gradient(to right, var(--terracotta-500), transparent);
}
.abt__divider-line:last-child {
  background: linear-gradient(to left, var(--terracotta-500), transparent);
}

/* Stats grid — 2×2 (desktop) / 2×2 (tablet) / 2×2 (mobile) */
.abt__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3) var(--space-4);
}

.abt__stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

/* Number — uses GSAP counter animation from counters.js */
.abt__stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--terracotta-400);
  line-height: 1;
}
/* Text variant (VIC) — same size but no animation */
.abt__stat-num--text {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--terracotta-400);
  line-height: 1;
}

.abt__stat-label {
  font-size: var(--text-label);
  color: var(--gray-400);
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

/* CTA row */
.abt__cta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
  padding-top: var(--space-1);
}

.abt__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--gray-300);
  text-decoration: none;
  transition: color var(--duration-base) var(--ease-out);
}
.abt__phone:hover { color: var(--terracotta-400); }

/* ── Responsive ─────────────────────────────────────── */
/* Large desktop: slightly wider content col */
@media (min-width: 1280px) {
  .abt__stats { grid-template-columns: repeat(4, 1fr); }
}

/* Tablet: tighten layout */
@media (max-width: 1023px) {
  .abt__grid { grid-template-columns: 45% 55%; }
  .abt__stats { grid-template-columns: repeat(2, 1fr); }
  .abt__watermark { font-size: 8rem; }
}

/* Mobile: stack vertically */
@media (max-width: 767px) {
  .abt__grid {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: var(--space-4);
  }
  .abt__img-col {
    min-height: 280px;
    max-height: 380px;
  }
  .abt__img { position: absolute; }
  .abt__content {
    padding: var(--space-3) 0;
  }
  .abt__content::after { display: none; }
  .abt__watermark { display: none; }
  .abt__img-quote { bottom: 5rem; left: 1.25rem; right: 1.25rem; }
  .abt__stamp { height: 4.5rem; }
  .abt__stamp-img { height: 2.75rem; }
  .abt__stats { grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .abt__img { transition: none; }
}


/* ============================================================
   CONTACT SECTION — Form left · Info + Map right
   
   Design highlights:
   • Terracotta top-border card containing the form
   • Input focus: terracotta ring + bg lift (no jarring flashes)
   • Custom select arrow in brand orange
   • Info cards: icon badge + label + value, link cards have hover
   • Map: dark-tinted iframe with a floating area label
   • Full responsive: stacks to single column on tablet/mobile
   ============================================================ */

/* ── Section shell ──────────────────────────────────── */
.ctc {
  background: #351f1f;
  padding-block: var(--space-7);
  /* Subtle crosshatch matches the About section texture */
  background-image:
    linear-gradient(rgba(79, 79, 79, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 79, 79, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* ── Section header (centred) ───────────────────────── */
.ctc__header {
  text-align: center;
  max-width: 580px;
  margin-inline: auto;
  margin-bottom: var(--space-6);
}
.ctc__header .eyebrow { color: var(--terracotta-400); margin-bottom: var(--space-2); }
.ctc__heading { color: var(--white); margin-bottom: var(--space-2); }
.ctc__intro   { font-size: var(--text-lead); color: var(--gray-300); }

/* ── Two-column grid ────────────────────────────────── */
.ctc__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-5);
  align-items: start;
}

/* ═══════════════════════════════════════════════════
   FORM CARD
   ═══════════════════════════════════════════════════ */
.ctc__form-card {
  background: rgba(255, 255, 255, 0.030);
  border: 1px solid rgba(255, 255, 255, 0.08);
  /* Terracotta top accent — same treatment as .why-us__card */
  border-top: 3px solid var(--accent-primary);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2.5rem;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

.ctc__form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Two-column row inside the form */
.ctc__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

/* Field wrapper */
.ctc__field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

/* Labels */
.ctc__label {
  font-size: var(--text-label);
  font-weight: 600;
  color: var(--gray-300);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.ctc__req { color: var(--terracotta-400); }

/* ── Inputs, select, textarea ───────────────────────── */
.ctc__input {
  width: 100%;
  background: rgba(255, 255, 255, 0.048);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-md);
  color: var(--white);
  padding: 0.82rem 1rem;
  font-size: var(--text-base);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-appearance: none;
  appearance: none;
  transition:
    border-color  0.22s ease,
    background    0.22s ease,
    box-shadow    0.22s ease;
}
.ctc__input::placeholder { color: rgba(255, 255, 255, 0.26); }

/* Hover state: subtle border lift before focus */
.ctc__input:hover:not(:focus) {
  border-color: rgba(255, 255, 255, 0.18);
}

/* Focus state: terracotta ring */
.ctc__input:focus {
  outline: none;
  border-color: var(--terracotta-400);
  background: rgba(255, 255, 255, 0.068);
  box-shadow: 0 0 0 3px rgba(160, 82, 45, 0.20);
}

/* Textarea height */
.ctc__textarea {
  resize: vertical;
  min-height: 112px;
}

/* Custom select — SVG chevron in terracotta */
.ctc__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%23a0522d' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  padding-right: 2.75rem;
  cursor: pointer;
}
/* Select option text in dark bg */
.ctc__select option {
  background: #211313;
  color: var(--white);
}

/* Submit button — full width, icon + text */
.ctc__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  width: 100%;
  padding-block: 0.9rem;
  font-size: var(--text-base);
  margin-top: 0.25rem;
}

/* Small privacy note below submit */
.ctc__form-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--gray-400);
  text-align: center;
  margin-top: -0.25rem;
}

/* ═══════════════════════════════════════════════════
   RIGHT SIDE: INFO CARDS + MAP
   ═══════════════════════════════════════════════════ */
.ctc__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

/* 2-up grid of info cards */
.ctc__info-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.875rem;
}

/* Individual info card */
.ctc__info-card {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  text-decoration: none;
  position: relative;
  transition:
    background    0.22s ease,
    border-color  0.22s ease,
    transform     var(--duration-slow) var(--ease-out);
}

/* Link-type cards get hover state */
.ctc__info-card--link:hover {
  background: rgba(160, 82, 45, 0.12);
  border-color: rgba(160, 82, 45, 0.30);
  transform: translateY(-2px);
}

/* Icon badge */
.ctc__info-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: rgba(160, 82, 45, 0.15);
  border: 1px solid rgba(160, 82, 45, 0.38);
  border-radius: var(--radius-sm);
  color: var(--terracotta-400);
}

/* Text content */
.ctc__info-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
  flex: 1;
}
.ctc__info-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
}
.ctc__info-value {
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--white);
  word-break: break-word;
  line-height: 1.35;
}

/* Diagonal arrow on link cards */
.ctc__info-arrow {
  position: absolute;
  top: 0.875rem;
  right: 0.875rem;
  color: var(--gray-400);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.ctc__info-card--link:hover .ctc__info-arrow {
  opacity: 1;
  transform: translate(2px, -2px);
}

/* ── Map ────────────────────────────────────────────── */
.ctc__map {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 290px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.ctc__map iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  /*
   * Grayscale + contrast + brightness shift blends the Google
   * Maps palette into the dark site theme.
   */
  filter: grayscale(40%) contrast(1.08) brightness(0.82);
}

/* Floating area label over the map */
.ctc__map-pin {
  position: absolute;
  bottom: 0.875rem;
  left: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(33, 19, 19, 0.90);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(160, 82, 45, 0.35);
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.75rem;
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.04em;
  pointer-events: none;
  z-index: 1;
}

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 1023px) {
  .ctc__grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
}

@media (max-width: 640px) {
  .ctc__row { grid-template-columns: 1fr; }
  .ctc__form-card { padding: 1.5rem; }
  .ctc__info-cards { grid-template-columns: 1fr; }
  .ctc__map { height: 230px; }
}

/* ── Reduced motion ─────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .ctc__input,
  .ctc__info-card { transition: none; }
}




/* =========================
   ABOUT STATS / TRUST POINTS
   ========================= */

.abt__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  width: 100%;
  align-items: start;
}

.abt__stat {
  position: relative;
  min-width: 0;
  width: 100%;
}

/* Main heading */
.abt__stat-num--text {
  display: block;
  width: 100%;

  font-size: clamp(22px, 2vw, 31px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;

  text-transform: uppercase;

  /* Prevent ugly word splitting */
  word-break: keep-all;
  overflow-wrap: normal;
  hyphens: none;

  margin: 0;
}

/* Description below heading */
.abt__stat-label {
  display: block;

  margin-top: 12px;
  max-width: 175px;

  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;

  /* Keep description in sentence case */
  text-transform: none !important;

  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

/* Remove any old counter styling */
.abt__stat .stat-num,
.abt__stat-num {
  font-variant-numeric: normal;
}

/* =========================
   TABLET
   ========================= */

@media (max-width: 1100px) {
  .abt__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 40px;
  }

  .abt__stat-num--text {
    font-size: 28px;
  }

  .abt__stat-label {
    max-width: 220px;
    font-size: 12px;
  }
}

/* =========================
   MOBILE
   ========================= */

@media (max-width: 600px) {
  .abt__stats {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .abt__stat-num--text {
    font-size: 26px;
    line-height: 1.05;
  }

  .abt__stat-label {
    max-width: 100%;
    font-size: 15px;
    line-height: 1.55;
    margin-top: 8px;
  }
}




/* WHY US CARDS */

.why-us__cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.why-us__card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 22px 20px 24px;
  box-sizing: border-box;
}

.why-us__card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  flex-shrink: 0;
}

/* Keep all titles aligned */
.why-us__card h3 {
  margin: 0 0 10px;
  min-height: 27px;

  font-size: 16px;
  line-height: 1.1;
  font-weight: 500;

  display: flex;
  align-items: flex-start;
}

/* Supporting copy starts at the same level */
.why-us__card p {
  margin: 0;

  font-size: 13px;
  line-height: 1.55;
  font-weight: 400;

  max-width: 100%;
}

/* Tablet */
@media (max-width: 1024px) {
  .why-us__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .why-us__card h3 {
    min-height: auto;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .why-us__cards {
    grid-template-columns: 1fr;
  }

  .why-us__card {
    padding: 20px;
  }
}
