/* ============================================================
   SUBPAGE.CSS — GENERATED FILE, DO NOT EDIT BY HAND
   ------------------------------------------------------------
   Built by tools/build-subpage-css.py from:
     tokens.css
     base.css
     components.css
     sections.css
     animations.css
     subpage.src.css
   Edit those sources, then re-run:
     python tools/build-subpage-css.py
   ============================================================ */


/* ===== BEGIN tokens.css ============================== */

/* ============================================================
   GOSHEN ROOF RESTORATION & GUTTERS — DESIGN TOKENS
   Three-layer system: primitive -> semantic -> component
   Brand hexes (fixed, do not change): #A0522D #D2B48C #4B2E2E #FFFFFF #000000
   ============================================================ */

:root {
  /* ---------- 1. PRIMITIVE TOKENS ---------- */

  /* Brown / near-black scale (built around brand Dark Brown #4B2E2E) */
  --brown-900: #211313; /* darkened base, hero/page background */
  --brown-800: #4B2E2E; /* brand Dark Brown */
  --brown-700: #6B4340;
  --brown-600: #8A5B54;

  /* Terracotta / accent scale (built around brand Reddish-Brown #A0522D) */
  --terracotta-600: #A0522D; /* brand Reddish-Brown Roof */
  --terracotta-500: #B8663F; /* hover */
  --terracotta-400: #C97F52; /* active/light */
  --terracotta-glow: rgba(160, 82, 45, 0.35);

  /* Beige scale (built around brand Warm Beige #D2B48C) */
  --beige-300: #D2B48C; /* brand Warm Beige */
  --beige-200: #E3D0B5;
  --beige-100: #F3E9DA;

  /* Fixed neutrals */
  --white: #FFFFFF;
  --black: #000000;

  /* Neutral grays for legibility on dark surfaces */
  --gray-400: #A69C97;
  --gray-300: #C9C1BC;
  --gray-200: #E5E0DC;

  /* ---------- 2. SEMANTIC TOKENS ---------- */

  /* Backgrounds */
  --bg-primary: var(--brown-900);      /* dark hero / final-CTA sections */
  --bg-primary-alt: var(--brown-800);  /* slightly lighter dark section */
  --bg-secondary: var(--beige-100);    /* light content sections */
  --bg-surface: var(--brown-800);      /* cards on dark */
  --bg-surface-light: var(--white);    /* cards on light */

  /* Text */
  --text-on-dark: var(--white);
  --text-on-dark-muted: var(--gray-300);
  --text-on-light: var(--brown-900);
  --text-on-light-muted: var(--brown-700);

  /* Accent / interactive */
  --accent-primary: var(--terracotta-600);
  --accent-hover: var(--terracotta-500);
  --accent-active: var(--terracotta-400);
  --accent-on: var(--white);

  /* Borders & rings */
  --border-on-dark: rgba(255, 255, 255, 0.12);
  --border-on-light: rgba(33, 19, 19, 0.12);
  --focus-ring: var(--beige-300);

  /* ---------- 3. COMPONENT TOKENS ---------- */

  --btn-primary-bg: var(--accent-primary);
  --btn-primary-bg-hover: var(--accent-hover);
  --btn-primary-text: var(--white);

  --btn-secondary-bg: transparent;
  --btn-secondary-border: var(--border-on-dark);
  --btn-secondary-text: var(--text-on-dark);

  --card-bg-dark: var(--bg-surface);
  --card-border-dark: var(--border-on-dark);
  --card-bg-light: var(--bg-surface-light);
  --card-border-light: var(--border-on-light);
  --card-radius: 16px;

  --nav-bg: rgba(33, 19, 19, 0.0);
  --nav-bg-scrolled: rgba(33, 19, 19, 0.85);

  /* ---------- TYPOGRAPHY ---------- */
  --font-display: 'Calistoga', 'Georgia', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --text-hero: clamp(1.75rem, 1rem + 4vw, 3.5rem);
  --text-h2: clamp(2rem, 1.6rem + 2.5vw, 3.5rem);
  --text-h3: clamp(1.375rem, 1.2rem + 1vw, 1.875rem);
  --text-lead: clamp(0.325rem, 1rem + 1vw, 1rem);
  --text-body: 1rem;
  --text-small: 0.875rem;
  --text-label: 1rem;

  --leading-tight: 1.1;
  --leading-snug: 1.3;
  --leading-normal: 1.6;

  /* ---------- SPACING (8px rhythm) ---------- */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  --space-7: 6rem;
  --space-8: 8rem;

  --container-max: 1280px;
  --container-pad: clamp(1.25rem, 4vw, 3rem);

  /* ---------- RADIUS / SHADOW / MOTION ---------- */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 48px var(--terracotta-glow);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 150ms;
  --duration-base: 250ms;
  --duration-slow: 400ms;

  --z-nav: 100;
  --z-cursor: 200;
  --z-overlay: 150;
}

/* ===== END tokens.css ================================ */

/* ===== BEGIN base.css ============================== */

/* ============================================================
   BASE — resets, global typography, layout primitives
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: auto; /* Lenis handles smooth scroll when active */
}

body {
  margin: 0;
  background: var(--bg-secondary);
  color: var(--text-on-light);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100dvh;
}

img, canvas, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  line-height: var(--leading-tight);
}

p { margin: 0; }

ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent-primary);
  color: var(--white);
  padding: var(--space-1) var(--space-2);
  z-index: 1000;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus {
  left: 0;
}

/* Focus visibility — never removed for keyboard users, cursor effects are pointer-only */
:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
  border-radius: 4px;
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: var(--space-2);
  display: block;
}

.section-title {
  font-size: var(--text-h2);
  max-width: 20ch;
  margin-bottom: var(--space-3);
}

.section-lead {
  font-size: var(--text-lead);
  max-width: 56ch;
  color: var(--text-on-light-muted);
}

.section-note {
  font-size: var(--text-small);
  color: var(--text-on-light-muted);
  margin-top: var(--space-1);
  font-style: italic;
}

/* Dark-section overrides applied via class on the parent section */
.on-dark { color: var(--text-on-dark); }
.on-dark .section-lead,
.on-dark p:not(.eyebrow) { color: var(--text-on-dark-muted); }

/* ===== END base.css ================================ */

/* ===== BEGIN components.css ============================== */

/* ============================================================
   COMPONENTS — buttons, cards, nav, badges
   ============================================================ */

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  min-height: 44px;
  cursor: pointer;
  transition: transform var(--duration-base) var(--ease-out),
              background var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out),
              border-color var(--duration-base) var(--ease-out);
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--btn-primary-bg-hover);
  box-shadow: var(--shadow-glow);
}

.btn-ghost {
    background: #e3cfa3;
    color: #331a15;
    border: 1.5px solid var(--btn-secondary-border);
}
.btn-ghost:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

.btn-lg { padding: 1.1rem 2rem; font-size: 1.05rem; }

img.nav-logo-img {
    height: auto;
}


/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-nav);
  background: var(--nav-bg);
  transition: background var(--duration-base) var(--ease-out);
}
.nav.is-scrolled {
  background: var(--nav-bg-scrolled);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-block: var(--space-2);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--white);
}
.nav-logo-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--accent-primary);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1rem;
  flex-shrink: 0;
}
.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.2;
}
.nav-logo-text small {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-300);
}

.nav-links {
  display: none;
  gap: var(--space-4);
  font-weight: 500;
  color: var(--gray-200);
}
.nav-links a {
  position: relative;
  padding-block: 4px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--accent-primary);
  transition: right var(--duration-base) var(--ease-out);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { right: 0; }

.nav-cta { display: none; align-items: center; gap: var(--space-2); }

/* ═══════════════════════════════════════════════════════════
   DESKTOP SERVICES DROPDOWN
   Hover is handled by CSS. Click/keyboard managed by nav.js.
   Gap fix: menu starts at top:100% with padding-top so the
   hover zone is continuous — mouse never leaves .nav-dropdown.
═══════════════════════════════════════════════════════════ */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown__trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding-block: 4px;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: inherit;
  font-weight: 500;
  color: var(--gray-200);
  cursor: pointer;
  position: relative;
  transition: color var(--duration-base) var(--ease-out);
}
/* Matching underline animation as the plain <a> links */
.nav-dropdown__trigger::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--accent-primary);
  transition: right var(--duration-base) var(--ease-out);
}
.nav-dropdown:hover .nav-dropdown__trigger,
.nav-dropdown__trigger[aria-expanded="true"] {
  color: var(--white);
}
.nav-dropdown:hover .nav-dropdown__trigger::after,
.nav-dropdown__trigger[aria-expanded="true"]::after {
  right: 0;
}

.nav-dropdown__chevron {
  flex-shrink: 0;
  transition: transform var(--duration-base) var(--ease-out);
}
.nav-dropdown:hover .nav-dropdown__chevron,
.nav-dropdown__trigger[aria-expanded="true"] .nav-dropdown__chevron {
  transform: rotate(180deg);
}

/* ── Menu panel ─────────────────────────────────────── */
.nav-dropdown__menu {
  position: absolute;
  /* flush with trigger bottom — padding-top IS the visual gap,
     keeping the hover zone unbroken so the menu never flickers */
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 232px;
  list-style: none;
  margin: 0;
  padding: 12px 0 0 0;   /* 12px invisible bridge above the visual card */
  /* Hidden state */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s var(--ease-out),
              transform .22s var(--ease-out),
              visibility 0s .22s;
  z-index: 200;
}

/* Visual card lives on ::after so it doesn't cover the padding bridge */
.nav-dropdown__menu::after {
  content: '';
  position: absolute;
  inset: 12px 0 0 0;
  background: var(--brown-900);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 48px rgba(0,0,0,.5), 0 0 0 1px rgba(160,82,45,.10);
  z-index: -1;
}
/* Notch arrow pointing up */
.nav-dropdown__menu::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px; height: 6px;
  background: var(--brown-900);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  z-index: 1;
}

/* Open: hover OR .is-open class from JS (keyboard / click) */
.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown__menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity .22s var(--ease-out),
              transform .22s var(--ease-out),
              visibility 0s 0s;
}

.nav-dropdown__menu li {
  position: relative;
  z-index: 1;   /* above ::after background */
  margin: 0;
}

.nav-dropdown__menu a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-300);
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease, padding-left .15s ease;
}
.nav-dropdown__menu li + li a {
  border-top: 1px solid rgba(255,255,255,.04);
}
.nav-dropdown__menu a svg {
  flex-shrink: 0;
  color: var(--terracotta-400);
  opacity: .7;
  transition: opacity .15s ease;
}
.nav-dropdown__menu a:hover {
  background: rgba(160,82,45,.12);
  color: var(--white);
  padding-left: 18px;
}
.nav-dropdown__menu a:hover svg { opacity: 1; }

/* ═══════════════════════════════════════════════════════════
   MOBILE OFF-CANVAS ACCORDION
   Compact sizing (smaller font + tight padding) to fit the panel.
═══════════════════════════════════════════════════════════ */
.oc-accordion {
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.oc-accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.6rem 0.75rem;
  background: none;
  border: none;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--gray-200);
  cursor: pointer;
  text-align: left;
  line-height: 1.2;
  transition: color .2s ease;
}
.oc-accordion__trigger:hover,
.oc-accordion__trigger[aria-expanded="true"] { color: var(--white); }

.oc-accordion__chevron {
  flex-shrink: 0;
  color: var(--terracotta-400);
  transition: transform .3s var(--ease-out);
}
.oc-accordion__trigger[aria-expanded="true"] .oc-accordion__chevron {
  transform: rotate(180deg);
}

/* Slide-down list */
.oc-accordion__list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  background: rgba(0,0,0,.18);
  border-radius: 0 0 8px 8px;
  transition: max-height .35s var(--ease-out), opacity .3s ease;
}
.oc-accordion__list.is-open {
  max-height: 380px;
  opacity: 1;
}

.oc-accordion__list li { margin: 0; }

.oc-accordion__list a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.45rem 1rem 0.45rem 1.2rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-300);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.04);
  transition: color .2s ease, padding-left .2s ease, background .2s ease;
}
.oc-accordion__list li:last-child a {
  border-bottom: none;
  padding-bottom: 0.65rem;
}
.oc-accordion__list a svg {
  flex-shrink: 0;
  color: var(--terracotta-400);
}
.oc-accordion__list a:hover {
  color: var(--white);
  padding-left: 1.6rem;
  background: rgba(160,82,45,.08);
}

.nav-toggle {
  display: grid;
  place-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: transform var(--duration-base) var(--ease-out), opacity var(--duration-base) var(--ease-out);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Off-canvas overlay ─────────────────────────────── */
/*
 * .is-open class added by nav.js to #off-canvas.
 * Panel slides in from the RIGHT via translateX(100% → 0).
 * Backdrop fades in behind the panel.
 * Works purely with CSS transitions — no JS animation library.
 */
.off-canvas {
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;        /* transparent when closed */
  visibility: hidden;
  transition: visibility 0s 0.4s; /* delay hides after close animation */
}
.off-canvas.is-open {
  pointer-events: auto;
  visibility: visible;
  transition: visibility 0s 0s;
}

/* Dark backdrop */
.off-canvas__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 5, 5, 0.78);
  opacity: 0;
  transition: opacity 0.35s ease;
  cursor: pointer;
}
.off-canvas.is-open .off-canvas__backdrop { opacity: 1; }

/* Slide-in panel */
.off-canvas__panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(340px, 88vw);
  background: var(--brown-900);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.off-canvas.is-open .off-canvas__panel { transform: translateX(0); }

/* Top bar: logo + close button */
.off-canvas__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.125rem 1.375rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  flex-shrink: 0;
}

.off-canvas__logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: lighten;   /* removes white PNG background on dark panel */
}

.off-canvas__close {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: var(--white);
  cursor: pointer;
  transition: background 0.2s ease;
  flex-shrink: 0;
}
.off-canvas__close:hover { background: rgba(255, 255, 255, 0.14); }

/* Navigation links */
.off-canvas__links {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0.4rem 1rem;
}
.off-canvas__links a {
  display: block;
  padding: 0.6rem 0.75rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--gray-200);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: color 0.2s ease, padding-left 0.2s ease;
  line-height: 1.2;
}
.off-canvas__links a:last-child { border-bottom: none; }
.off-canvas__links a:hover {
  color: var(--white);
  padding-left: 1.25rem;
}

/* Bottom CTAs + badge */
.off-canvas__footer {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.25rem 1.375rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  flex-shrink: 0;
}
.off-canvas__btn {
  justify-content: center;
  width: 100%;
}

/* Trust badge at the very bottom */
.off-canvas__badge {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gray-400);
  text-transform: uppercase;
  margin-top: 0.25rem;
  margin-bottom: 0;
}

@media (min-width: 900px) {
  .nav-links, .nav-cta { display: flex; }
  .nav-toggle { display: none; }
  /* Off-canvas: hidden on desktop (only shown on mobile via toggle) */
  .off-canvas { display: none; }
}

/* Hide desktop nav links on mobile — show only the hamburger */
@media (max-width: 899px) {
  .nav-links { display: none !important; }
  .nav-cta   { display: none !important; }
  .nav-toggle { display: grid; }
}
/* ---------- Cards ---------- */
.service-card {
  background: var(--card-bg-light);
  border: 1px solid var(--card-border-light);
  border-radius: var(--card-radius);
  padding: var(--space-3);
  box-shadow: var(--shadow-sm);
  transform-style: preserve-3d;
  transition: transform var(--duration-base) var(--ease-out), box-shadow var(--duration-base) var(--ease-out);
  will-change: transform;
}
.service-card:hover {
  box-shadow: var(--shadow-md);
}
.service-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--beige-200);
  color: var(--accent-primary);
  margin-bottom: var(--space-2);
}
.service-card h3 { font-size: 1.2rem; margin-bottom: var(--space-1); }
.service-card p { color: var(--text-on-light-muted); }

.feature {
  padding: var(--space-3);
  border-radius: var(--card-radius);
  border: 1px solid var(--border-on-dark);
}
.feature-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(160, 82, 45, 0.18);
  color: var(--terracotta-400);
  margin-bottom: var(--space-2);
}
.feature h3 { font-size: 1.1rem; color: var(--white); margin-bottom: 0.4rem; }
.feature p { color: var(--text-on-dark-muted); font-size: var(--text-small); }

.review-card {
  flex: 0 0 min(85vw, 380px);
  scroll-snap-align: start;
  background: var(--card-bg-dark);
  border: 1px solid var(--border-on-dark);
  border-radius: var(--card-radius);
  padding: var(--space-3);
  color: var(--text-on-dark);
}
.review-card .stars { color: var(--terracotta-400); letter-spacing: 2px; margin-bottom: var(--space-2); }
.review-card p { color: var(--text-on-dark-muted); margin-bottom: var(--space-2); }
.review-author { font-size: var(--text-small); font-weight: 600; color: var(--white); display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.review-tag {
  font-weight: 500;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--terracotta-400);
  border: 1px solid var(--terracotta-400);
  border-radius: var(--radius-pill);
  padding: 2px 8px;
}

/* ---------- Cursor (desktop only) ---------- */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: var(--z-cursor);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity var(--duration-base) var(--ease-out);
}
.cursor-dot {
  width: 8px; height: 8px;
  background: var(--accent-primary);
}
.cursor-ring {
  width: 34px; height: 34px;
  border: 1.5px solid var(--accent-primary);
  transition: opacity var(--duration-base) var(--ease-out), width var(--duration-base) var(--ease-out), height var(--duration-base) var(--ease-out);
}
.cursor-dot.is-visible, .cursor-ring.is-visible { opacity: 1; }
.cursor-ring.is-hovering { width: 54px; height: 54px; }

@media (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ===== END components.css ================================ */

/* ===== BEGIN sections.css ============================== */

/* ============================================================
   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: var(--terracotta-400);
  /* 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; }
}

/* ===== END sections.css ================================ */

/* ===== BEGIN animations.css ============================== */

/* ============================================================
   ANIMATIONS — base visible state + reduced-motion overrides
   IMPORTANT: [data-reveal] / [data-reveal-stagger] elements are
   fully visible by default in CSS. JS (scroll-animations.js)
   animates FROM this visible state — it never hides content
   that JS then fails to reveal (progressive enhancement).
   ============================================================ */

[data-reveal],
[data-reveal-stagger] {
  opacity: 1;
  transform: none;
}

/* Preloader never blocks content if JS fails to run */
#preloader {
  animation: none;
}
@media (prefers-reduced-motion: no-preference) {
  #preloader { transition: opacity 0.4s ease; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  #preloader { display: none !important; }
  .scroll-cue-mouse span { animation: none !important; }
  /* scroll-hero reduced-motion handled in sections.css */
}

/* ===== END animations.css ================================ */

/* ===== BEGIN subpage.src.css ============================== */

/* ============================================================
   SUBPAGE.CSS — service detail pages (e.g. /full-roof-restoration/)

   Continues the homepage design system:
     • Tokens only — no new brand hexes are introduced here
     • Beige (--bg-secondary) light sections alternating with
       brown-900 dark sections, terracotta as the single accent
     • Calistoga display headings, Inter body
     • Loaded LAST so it may override shared component styles
       (e.g. .gallery__fig sizing inside .srv-gal)
   ============================================================ */

/* ─────────────────────────────────────────────────────────
   0. PAGE SHELL
───────────────────────────────────────────────────────── */

/* Nav sits over the dark hero — add a scrim so the logo and
   links stay legible before the .is-scrolled state kicks in. */
.nav.is-solid {
  background: linear-gradient(to bottom, rgba(33, 19, 19, 0.75), rgba(33, 19, 19, 0));
}
.nav.is-solid.is-scrolled {
  background: var(--nav-bg-scrolled);
}

/* Room for the sticky mobile action bar at the very bottom */
body.subpage .footer-bottom {
  padding-bottom: 5.5rem;
}
@media (min-width: 900px) {
  body.subpage .footer-bottom { padding-bottom: 0; }
}

/* ─────────────────────────────────────────────────────────
   1. HERO  (.sh)
───────────────────────────────────────────────────────── */
.sh {
  position: relative;
  background: var(--bg-primary);
  color: var(--text-on-dark);
  overflow: hidden;
  isolation: isolate;
}

.sh__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.sh__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}
.sh__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(33, 19, 19, 0.94) 0%, rgba(33, 19, 19, 0.78) 45%, rgba(33, 19, 19, 0.45) 100%),
    linear-gradient(to top, rgba(33, 19, 19, 0.95) 0%, rgba(33, 19, 19, 0) 55%);
}

.sh__inner {
  padding-top: calc(var(--nav-h, 80px) + clamp(2rem, 7vh, 4.5rem));
  padding-bottom: var(--space-6);
  max-width: 1100px;
}

/* Breadcrumb */
.crumb {
  margin-bottom: var(--space-4);
}
.crumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-small);
  color: var(--gray-300);
}
.crumb a {
  color: var(--gray-300);
  transition: color var(--duration-fast) var(--ease-out);
}
.crumb a:hover { color: var(--white); }
.crumb__sep { color: rgba(255, 255, 255, 0.35); }
.crumb [aria-current="page"] { color: var(--beige-300); font-weight: 600; }

.sh__eyebrow { color: var(--beige-300); }

.sh__title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  line-height: 0.98;
  margin-bottom: var(--space-3);
  text-wrap: balance;
}
.sh__title .accent { color: var(--terracotta-400); }

.sh__sub {
  font-size: var(--text-lead);
  color: var(--gray-200);
  max-width: 56ch;
  margin-bottom: var(--space-4);
}

.sh__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.sh__facts {
  display: grid;
  gap: 0.75rem;
  padding-top: var(--space-3);
  border-top: 1px solid var(--border-on-dark);
}
.sh__facts li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--gray-200);
}
.sh__facts svg { color: var(--terracotta-400); flex-shrink: 0; }

@media (min-width: 800px) {
  .sh__facts {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3);
  }
}

/* ─────────────────────────────────────────────────────────
   1b. QUICK ENQUIRY BAR  (.qbar)
   Terracotta band directly under the banner — same #A0522D
   the homepage trust bar uses, via --accent-primary.
───────────────────────────────────────────────────────── */
.qbar {
  background: var(--accent-primary);
  color: var(--white);
  padding-block: var(--space-3);
}

.qbar__inner {
  display: grid;
  gap: var(--space-3);
  align-items: center;
}
@media (min-width: 1200px) {
  .qbar__inner {
    grid-template-columns: minmax(14rem, 20rem) 1fr;
    gap: var(--space-4);
  }
}

.qbar__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.2;
}
.qbar__sub {
  font-size: var(--text-small);
  color: rgba(255, 255, 255, 0.82);
  margin-top: 0.25rem;
}

/* The form itself — stacks on mobile, two rows of three from 820px up:
     row 1 → name · phone · email
     row 2 → suburb · roof type · message
     row 3 → submit button */
.qbar__form {
  display: grid;
  gap: 0.75rem;
  align-items: end;
}
@media (min-width: 560px) {
  .qbar__form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 820px) {
  .qbar__form {
    /* three field columns + a fourth column for the button */
    grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(11rem, auto);
    gap: 0.7rem 0.9rem;
  }
}

.qbar__field { display: grid; gap: 0.3rem; min-width: 0; }

/* Labels are visually hidden — the placeholder carries the name on screen,
   but assistive tech and browser autofill still get a real label. */
.qbar__label {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  border: 0;
}

.qbar__input {
  width: 100%;
  padding: 0.75rem 0.85rem;
  font: inherit;
  font-size: 0.95rem;
  color: var(--text-on-light);
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-sm);
  transition:
    border-color var(--duration-fast) var(--ease-out),
    box-shadow var(--duration-fast) var(--ease-out);
}
.qbar__input::placeholder { color: var(--gray-400); }
.qbar__input:focus {
  outline: none;
  border-color: var(--brown-900);
  box-shadow: 0 0 0 3px rgba(33, 19, 19, 0.28);
}
.qbar__input.is-invalid {
  border-color: var(--brown-900);
  box-shadow: 0 0 0 3px rgba(33, 19, 19, 0.35);
}
/* Select: grey text while it still shows its placeholder option, plus a
   chevron since we've removed the native arrow with appearance:none. */
.qbar__select {
  appearance: none;
  cursor: pointer;
  padding-right: 2.2rem;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23211313' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 15px;
}
.qbar__select.is-placeholder { color: var(--gray-400); }
.qbar__select option { color: var(--text-on-light); }

.qbar__error {
  font-size: var(--text-label);
  font-weight: 600;
  color: var(--beige-100);
}

/* Dark button so it reads as the action against the terracotta.
   Sits on its own row under the two field rows. */
.qbar__submit {
  grid-column: 1 / -1;
  justify-self: stretch;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
  padding: 0.85rem 2rem;
  white-space: nowrap;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
  background: var(--brown-900);
  border-radius: var(--radius-sm);
  transition:
    background var(--duration-base) var(--ease-out),
    transform var(--duration-fast) var(--ease-out);
}
.qbar__submit:hover { background: var(--brown-800); }
.qbar__submit:active { transform: scale(0.98); }

/* Tablet (2 field columns): button takes the last column of its own row */
@media (min-width: 560px) {
  .qbar__submit {
    grid-column: -2 / -1;
    justify-self: stretch;
  }
}

/* Desktop: button lives in the 4th column, alongside both field rows */
@media (min-width: 820px) {
  .qbar__submit {
    grid-column: 4;
    grid-row: 1 / 3;
    align-self: end;
    margin-top: 0;
  }
}

/* Status message spans the whole row */
.qbar__status {
  grid-column: 1 / -1;
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--white);
}
.qbar__status:empty { display: none; }
.qbar__status.is-error { color: var(--beige-100); }

/* ─────────────────────────────────────────────────────────
   2. STICKY SUB-NAV  (.subnav)
───────────────────────────────────────────────────────── */
.subnav {
  position: sticky;
  /* --nav-h is measured and kept in sync by subpage.js */
  top: var(--nav-h, 80px);
  z-index: 90;
  background: rgba(243, 233, 218, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-on-light);
}

.subnav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-block: 0.6rem;
}

.subnav__list {
  display: flex;
  gap: var(--space-3);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.subnav__list::-webkit-scrollbar { display: none; }

.subnav__list a {
  position: relative;
  display: block;
  white-space: nowrap;
  padding: 0.45rem 0;
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--text-on-light-muted);
  transition: color var(--duration-fast) var(--ease-out);
}
.subnav__list a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--accent-primary);
  transition: right var(--duration-base) var(--ease-out);
}
.subnav__list a:hover { color: var(--text-on-light); }
.subnav__list a.is-active { color: var(--accent-primary); }
.subnav__list a.is-active::after,
.subnav__list a:hover::after { right: 0; }

.subnav__cta { display: none; flex-shrink: 0; padding: 0.6rem 1.1rem; font-size: var(--text-small); }
@media (min-width: 1024px) {
  .subnav__cta { display: inline-flex; }
}

/* ─────────────────────────────────────────────────────────
   3. OVERVIEW  (.ov)
───────────────────────────────────────────────────────── */
.ov {
  background: var(--bg-secondary);
  padding-block: var(--space-7);
}
.ov__grid {
  display: grid;
  gap: var(--space-5);
  align-items: start;
}
@media (min-width: 1024px) {
  .ov__grid {
    grid-template-columns: 0.85fr 1fr;
    gap: var(--space-6);
  }
  .ov__media { position: sticky; }
}

.ov__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.ov__media img {
  width: 100%;
  object-fit: cover;
}

.ov__badge {
  position: absolute;
  left: var(--space-2);
  bottom: var(--space-2);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-md);
  background: var(--accent-primary);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.ov__badge-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 1;
}
.ov__badge-txt {
  font-size: 0.7rem;
  line-height: 1.25;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

.ov__points {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-4);
}
.ov__points li {
  display: flex;
  gap: var(--space-2);
  align-items: flex-start;
}
.ov__point-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(160, 82, 45, 0.12);
  color: var(--accent-primary);
}
.ov__points h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.02rem;
  margin-bottom: 0.15rem;
  color: var(--text-on-light);
}
.ov__points p {
  font-size: var(--text-small);
  color: var(--text-on-light-muted);
}
@media (min-width: 700px) {
  .ov__points { grid-template-columns: repeat(2, 1fr); gap: var(--space-3) var(--space-4); }
}

.ov__quote {
  margin: var(--space-4) 0 0;
  padding: var(--space-3);
  border-left: 3px solid var(--accent-primary);
  background: rgba(255, 255, 255, 0.55);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.ov__quote p {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.45;
  color: var(--text-on-light);
  margin-bottom: 0.6rem;
}
.ov__quote footer {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--text-small);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-on-light-muted);
}
.ov__quote-line {
  width: 28px;
  height: 2px;
  background: var(--accent-primary);
}
@media(max-width:768px){
.ov__media img {
    height: clamp(20rem, 46vh, 34rem);
}
}
/* ─────────────────────────────────────────────────────────
   4. WHAT'S INCLUDED  (.inc)
───────────────────────────────────────────────────────── */
.inc {
  background: var(--white);
  padding-block: var(--space-7);
}
.inc__header {
  max-width: 75ch;
  margin-bottom: var(--space-5);
}
.inc__title { max-width: 24ch; }

.inc__grid {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .inc__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .inc__grid { grid-template-columns: repeat(4, 1fr); } }

.inc__card {
  position: relative;
  padding: var(--space-3);
  padding-top: var(--space-4);
  background: var(--bg-secondary);
  border: 1px solid var(--card-border-light);
  border-radius: var(--card-radius);
  overflow: hidden;
  transition:
    transform var(--duration-base) var(--ease-out),
    box-shadow var(--duration-base) var(--ease-out),
    border-color var(--duration-base) var(--ease-out);
}
.inc__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 var(--duration-slow) var(--ease-out);
}
.inc__card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(160, 82, 45, 0.35);
}
.inc__card:hover::before { transform: scaleX(1); }

.inc__num {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1;
  color: rgba(160, 82, 45, 0.14);
  pointer-events: none;
}
.inc__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: var(--space-2);
  border-radius: var(--radius-sm);
  background: var(--accent-primary);
  color: var(--white);
}
.inc__card h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}
.inc__card p {
  font-size: var(--text-small);
  color: var(--text-on-light-muted);
}

/* ─────────────────────────────────────────────────────────
   5. WARNING SIGNS  (.sgn) — dark section
───────────────────────────────────────────────────────── */
.sgn {
  background: var(--bg-primary);
  color: var(--text-on-dark);
  padding-block: var(--space-7);
  position: relative;
  overflow: hidden;
}
.sgn::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60rem 32rem at 15% 0%, rgba(160, 82, 45, 0.28), transparent 70%);
  pointer-events: none;
}
.sgn__inner { position: relative; }

.sgn__header {
  max-width: 60ch;
  margin-bottom: var(--space-5);
}
.sgn__title { color: var(--white); max-width: 22ch; }
.sgn__sub { color: var(--gray-300); font-size: var(--text-lead); max-width: 56ch; }

.sgn__grid {
  display: grid;
  gap: var(--space-3);
}
@media (min-width: 700px)  { .sgn__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .sgn__grid { grid-template-columns: repeat(3, 1fr); } }

.sgn__card {
  position: relative;
  padding: var(--space-3);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-on-dark);
  border-radius: var(--card-radius);
  transition:
    background var(--duration-base) var(--ease-out),
    border-color var(--duration-base) var(--ease-out),
    transform var(--duration-base) var(--ease-out);
}
.sgn__card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(201, 127, 82, 0.5);
  transform: translateY(-4px);
}
.sgn__mark {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--terracotta-400);
  margin-bottom: 0.5rem;
}
.sgn__card h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 0.35rem;
}
.sgn__card p {
  font-size: var(--text-small);
  color: var(--gray-300);
}

.sgn__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  margin-top: var(--space-5);
  padding: var(--space-3);
  border: 1px dashed rgba(210, 180, 140, 0.4);
  border-radius: var(--card-radius);
}
.sgn__cta p {
  font-size: var(--text-lead);
  color: var(--beige-200);
  font-family: var(--font-display);
}

/* ─────────────────────────────────────────────────────────
   6. PROCESS TIMELINE  (.tl)
───────────────────────────────────────────────────────── */
.tl {
  background: var(--bg-secondary);
  padding-block: var(--space-7);
}
.tl__header { margin-bottom: var(--space-5); }
.tl__title { max-width: 24ch; }

.tl__list {
  position: relative;
  display: grid;
  gap: var(--space-4);
  padding-left: 2.25rem;
  
  list-style: none;
  margin: 0;
}

/* Vertical rail + scroll-driven fill (subpage.js sets --tl-progress) */
.tl__rail {
  position: absolute;
  top: 0.5rem;
  bottom: 0.5rem;
  left: 0.55rem;
  width: 2px;
  background: rgba(75, 46, 46, 0.15);
  border-radius: 2px;
  overflow: hidden;
}
.tl__rail-fill {
  display: block;
  width: 100%;
  height: var(--tl-progress, 0%);
  background: linear-gradient(to bottom, var(--terracotta-400), var(--accent-primary));
  transition: height 120ms linear;
}

.tl__item { position: relative;
list-style: none;
 }

.tl__dot {
  position: absolute;
  left: -2.25rem;
  top: 0.35rem;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 3px solid var(--accent-primary);
  box-shadow: 0 0 0 4px rgba(160, 82, 45, 0.12);
}

.tl__step {
  display: inline-block;
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: 0.35rem;
}
.tl__body h3 {
  font-size: var(--text-h3);
  margin-bottom: 0.4rem;
}
.tl__body p {
  color: var(--text-on-light-muted);
  max-width: 62ch;
}

@media (min-width: 900px) {
  .tl__list { padding-left: 0; gap: 0; }
  .tl__rail { left: 50%; transform: translateX(-50%); }
  .tl__item { width: 50%; padding: var(--space-3) var(--space-5); }
  .tl__item:nth-child(odd)  { margin-left: 0;   text-align: right; }
  .tl__item:nth-child(even) { margin-left: 50%; text-align: left; }
  .tl__item:nth-child(odd) .tl__dot  { left: auto; right: -0.5rem; }
  .tl__item:nth-child(even) .tl__dot { left: -0.47rem; right: auto; }
  .tl__item:nth-child(odd) .tl__body p { margin-left: auto; }
}

/* ─────────────────────────────────────────────────────────
   7. ROOF TYPES TABS  (.rt)
───────────────────────────────────────────────────────── */
.rt {
  background: var(--white);
  padding-block: var(--space-7);
}
.rt__header {
  max-width: 62ch;
  margin-bottom: var(--space-4);
}

.rt__tablist {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--card-border-light);
  margin-bottom: var(--space-4);
}
.rt__tablist::-webkit-scrollbar { display: none; }

.rt__tab {
  position: relative;
  white-space: nowrap;
  padding: 0.8rem 1.1rem;
  font-weight: 600;
  font-size: var(--text-small);
  color: var(--text-on-light-muted);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  transition: color var(--duration-fast) var(--ease-out), background var(--duration-fast) var(--ease-out);
}
.rt__tab::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 3px;
  background: var(--accent-primary);
  transform: scaleX(0);
  transition: transform var(--duration-base) var(--ease-out);
}
.rt__tab:hover { color: var(--text-on-light); background: rgba(160, 82, 45, 0.06); }
.rt__tab.is-active { color: var(--accent-primary); }
.rt__tab.is-active::after { transform: scaleX(1); }

.rt__panel { display: none; }
.rt__panel.is-active {
  display: grid;
  gap: var(--space-4);
  animation: rtFade var(--duration-slow) var(--ease-out) both;
}
@keyframes rtFade {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .rt__panel.is-active { animation: none; }
}

@media (min-width: 900px) {
  .rt__panel.is-active {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--space-5);
  }
}

.rt__panel-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.rt__panel-media img {
  width: 100%;
  height: clamp(16rem, 38vh, 26rem);
  object-fit: cover;
}
.rt__panel-body h3 {
  font-size: var(--text-h3);
  margin-bottom: var(--space-2);
}
.rt__panel-body p {
  color: var(--text-on-light-muted);
  margin-bottom: var(--space-3);
  max-width: 60ch;
}
.rt__list { display: grid; gap: 0.6rem; }
.rt__list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: var(--text-small);
  color: var(--text-on-light);
}
.rt__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.45rem;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-primary);
}

/* ─────────────────────────────────────────────────────────
   8. WORK GALLERY  (.srv-gal)
   Overrides the homepage .gallery__fig sizing — this file
   loads after sections.css, so these win.
───────────────────────────────────────────────────────── */
.srv-gal {
  background: var(--bg-secondary);
  padding-block: var(--space-7);
}
.srv-gal__header { margin-bottom: var(--space-4); }
.srv-gal__hint {
  color: var(--text-on-light-muted);
}

.srv-gal__grid {
  display: grid;
  gap: var(--space-2);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 900px) {
  .srv-gal__grid { grid-template-columns: repeat(4, 1fr); }
}

.srv-gal .gallery__fig.srv-gal__fig {
  height: clamp(9rem, 22vw, 15rem);
  cursor: pointer;
  border-radius: var(--radius-md);
}
.srv-gal__fig--wide { grid-column: span 2; }

.srv-gal__more {
  display: flex;
  justify-content: center;
  margin-top: var(--space-4);
}

/* ─────────────────────────────────────────────────────────
   9. COST  (.cst)
───────────────────────────────────────────────────────── */
.cst {
  background: var(--white);
  padding-block: var(--space-7);
}
.cst__grid {
  display: grid;
  gap: var(--space-5);
  align-items: start;
}
@media (min-width: 1024px) {
  .cst__grid { grid-template-columns: 1.15fr 0.85fr; gap: var(--space-6); }
}

.cst__factors {
  display: grid;
  gap: var(--space-2);
  margin-top: var(--space-4);
}
.cst__factors li {
  padding: var(--space-2) var(--space-3);
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--accent-primary);
}
.cst__factors strong {
  display: block;
  font-size: 1.02rem;
  margin-bottom: 0.15rem;
}
.cst__factors span {
  display: block;
  font-size: var(--text-small);
  color: var(--text-on-light-muted);
}

.cst__card {
  padding: var(--space-4);
  border-radius: var(--card-radius);
  background: var(--bg-primary);
  color: var(--text-on-dark);
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: calc(var(--nav-h, 80px) + 5rem);
}
.cst__card-title {
  font-size: var(--text-h3);
  color: var(--white);
  margin-bottom: var(--space-3);
}
.cst__inc { display: grid; gap: 0.7rem; }
.cst__inc li {
  position: relative;
  padding-left: 1.75rem;
  font-size: var(--text-small);
  color: var(--gray-200);
}
.cst__inc li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.15rem;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent-primary);
  /* tick mark */
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 12l5 5L19 7'/></svg>") center / 78% no-repeat,
           linear-gradient(#000, #000);
  -webkit-mask-composite: xor;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 12l5 5L19 7'/></svg>") center / 78% no-repeat;
}
.cst__divider {
  height: 1px;
  background: var(--border-on-dark);
  margin-block: var(--space-3);
}
.cst__note {
  font-size: var(--text-small);
  color: var(--gray-300);
  margin-bottom: var(--space-3);
}
.cst__btn {
  width: 100%;
  justify-content: center;
  margin-bottom: 0.6rem;
}

/* ─────────────────────────────────────────────────────────
   10. FAQ  (.faq)
───────────────────────────────────────────────────────── */
.faq {
  background: var(--bg-secondary);
  padding-block: var(--space-7);
}
.faq__inner { max-width: 900px; }
.faq__header { margin-bottom: var(--space-4); }

.faq__list { display: grid; gap: 0.75rem; }

/* Two columns from 900px: grid-auto-flow:column with 3 explicit rows
   fills DOWN each column, so questions 1–3 sit in the left column and
   4–6 in the right (row flow would interleave them 1,2 / 3,4 / 5,6).
   align-items:start keeps an opened answer from stretching its neighbour. */
@media (min-width: 900px) {
  .faq__inner { max-width: var(--container-max); }
  .faq__list {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, auto);
    grid-auto-flow: column;
    align-items: start;
    column-gap: var(--space-3);
  }
}

.faq__item {
  background: var(--white);
  border: 1px solid var(--card-border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--duration-base) var(--ease-out), box-shadow var(--duration-base) var(--ease-out);
}
.faq__item.is-open {
  border-color: rgba(160, 82, 45, 0.4);
  box-shadow: var(--shadow-sm);
}
.faq__item h3 { margin: 0; }

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  width: 100%;
  padding: var(--space-3);
  text-align: left;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--text-on-light);
  transition: color var(--duration-fast) var(--ease-out);
}
.faq__q:hover { color: var(--accent-primary); }
.faq__chev {
  flex-shrink: 0;
  color: var(--accent-primary);
  transition: transform var(--duration-base) var(--ease-out);
}
.faq__q[aria-expanded="true"] .faq__chev { transform: rotate(180deg); }

.faq__a {
  padding: 0 var(--space-3) var(--space-3);
  color: var(--text-on-light-muted);
  font-size: 0.95rem;
}
/* JS animates max-height; hidden attribute is the no-JS fallback */
.faq__a[hidden] { display: none; }

/* ─────────────────────────────────────────────────────────
   11. QUOTE / CTA  (.qte) — dark section
───────────────────────────────────────────────────────── */
.qte {
  background: var(--bg-primary);
  color: var(--text-on-dark);
  padding-block: var(--space-7);
  position: relative;
  overflow: hidden;
}
.qte::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(50rem 30rem at 85% 20%, rgba(160, 82, 45, 0.3), transparent 70%);
  pointer-events: none;
}
.qte__grid {
  position: relative;
  display: grid;
  gap: var(--space-5);
  align-items: start;
}
@media (min-width: 1024px) {
  .qte__grid { grid-template-columns: 1fr 1fr; gap: var(--space-6); }
}

.qte__title { color: var(--white); max-width: 20ch; }
.qte__sub {
  color: var(--gray-300);
  font-size: var(--text-lead);
  max-width: 52ch;
  margin-bottom: var(--space-3);
}
.qte__points { display: grid; gap: 0.6rem; margin-bottom: var(--space-4); }
.qte__points li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--text-small);
  color: var(--gray-200);
}
.qte__points svg { color: var(--terracotta-400); flex-shrink: 0; }

.qte__call {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--border-on-dark);
  border-radius: var(--card-radius);
  transition: border-color var(--duration-base) var(--ease-out), background var(--duration-base) var(--ease-out);
}
.qte__call:hover {
  border-color: var(--terracotta-400);
  background: rgba(255, 255, 255, 0.05);
}
.qte__call-icon {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--accent-primary);
  color: var(--white);
  flex-shrink: 0;
}
.qte__call small {
  display: block;
  font-size: var(--text-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
}
.qte__call strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.3rem;
  color: var(--white);
}

/* --- Form card --- */
.qte__card {
  padding: var(--space-4);
  border-radius: var(--card-radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-on-dark);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-lg);
}
.qte__form { display: grid; gap: var(--space-2); }
.qte__row { display: grid; gap: var(--space-2); }
@media (min-width: 560px) {
  .qte__row { grid-template-columns: 1fr 1fr; }
}
.qte__field { display: grid; gap: 0.35rem; }
.qte__label {
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--beige-200);
}
.qte__req { color: var(--terracotta-400); }

.qte__input {
  width: 100%;
  padding: 0.8rem 0.9rem;
  font: inherit;
  font-size: 0.95rem;
  color: var(--white);
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius-sm);
  transition: border-color var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) var(--ease-out);
}
.qte__input::placeholder { color: var(--gray-400); }
.qte__input:focus {
  outline: none;
  border-color: var(--terracotta-400);
  box-shadow: 0 0 0 3px rgba(160, 82, 45, 0.28);
}
.qte__input.is-invalid {
  border-color: #E06A5A;
  box-shadow: 0 0 0 3px rgba(224, 106, 90, 0.22);
}
.qte__select { appearance: none; cursor: pointer; }
.qte__select option { color: var(--text-on-light); background: var(--white); }
.qte__textarea { resize: vertical; min-height: 7rem; }

.qte__error {
  font-size: var(--text-label);
  font-weight: 600;
  color: #F0A093;
}

/* Honeypot — visually removed, still reachable by bots */
.qte__hp {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.qte__submit {
  width: 100%;
  justify-content: center;
  margin-top: 0.4rem;
}
.qte__status {
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--beige-200);
  min-height: 1.2em;
}
.qte__status.is-success { color: #8FD3A5; }
.qte__status.is-error   { color: #F0A093; }

.qte__note {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--text-label);
  color: var(--gray-400);
}

/* ─────────────────────────────────────────────────────────
   12. RELATED SERVICES  (.rel)
───────────────────────────────────────────────────────── */
.rel {
  background: var(--white);
  padding-block: var(--space-7);
}
.rel__header { margin-bottom: var(--space-4); }
.rel__grid {
  display: grid;
  gap: var(--space-3);
}
@media (min-width: 800px) {
  .rel__grid { grid-template-columns: repeat(3, 1fr); }
}

.rel__card {
  display: block;
  border-radius: var(--card-radius);
  overflow: hidden;
  border: 1px solid var(--card-border-light);
  background: var(--bg-secondary);
  transition: transform var(--duration-base) var(--ease-out), box-shadow var(--duration-base) var(--ease-out);
}
.rel__card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.rel__card img {
  width: 100%;
  height: 12rem;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.rel__card:hover img { transform: scale(1.05); }
.rel__card-body { padding: var(--space-3); }
.rel__card-body h3 {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}
.rel__card-body p {
  font-size: var(--text-small);
  color: var(--text-on-light-muted);
  margin-bottom: var(--space-2);
}
.rel__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--text-small);
  font-weight: 700;
  color: var(--accent-primary);
}
.rel__card:hover .rel__link svg { transform: translateX(4px); }
.rel__link svg { transition: transform var(--duration-base) var(--ease-out); }

/* ═════════════════════════════════════════════════════════
   CONTACT PAGE  (/contact-us/)
   Reuses .sh (hero), .qte (form section) and .rel (cards)
   from above — only the pieces below are contact-specific.
   ═════════════════════════════════════════════════════════ */

/* Shorter hero variant — no long body copy to make room for */
.sh--compact .sh__inner {
  padding-bottom: var(--space-5);
}
.sh--compact .sh__title {
  font-size: clamp(2.5rem, 2rem + 3.5vw, 5rem);
}

/* ---------- Ways to reach us ---------- */
.cu-ways {
  background: var(--bg-secondary);
  padding-block: var(--space-6);
}
.cu-ways__grid {
  display: grid;
  gap: var(--space-3);
}
@media (min-width: 640px)  { .cu-ways__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cu-ways__grid { grid-template-columns: repeat(4, 1fr); } }

.cu-way {
  display: block;
  padding: var(--space-3);
  background: var(--white);
  border: 1px solid var(--card-border-light);
  border-radius: var(--card-radius);
  transition:
    transform var(--duration-base) var(--ease-out),
    box-shadow var(--duration-base) var(--ease-out),
    border-color var(--duration-base) var(--ease-out);
}
.cu-way--link:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(160, 82, 45, 0.35);
}

.cu-way__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: var(--space-2);
  border-radius: var(--radius-sm);
  background: var(--accent-primary);
  color: var(--white);
}
.cu-way__label {
  display: block;
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: 0.3rem;
}
.cu-way__value {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--text-on-light);
  overflow-wrap: anywhere;
}
.cu-way__note {
  display: block;
  margin-top: 0.35rem;
  font-size: var(--text-small);
  color: var(--text-on-light-muted);
}

/* ---------- "What happens next" steps (inside the dark .qte) ---------- */
.cu-next {
  display: grid;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}
.cu-next li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
}
.cu-next__num {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent-primary);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.95rem;
}
.cu-next h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 0.1rem;
}
.cu-next p {
  font-size: var(--text-small);
  color: var(--gray-300);
}

/* ---------- Map ---------- */
.cu-map-sec {
  background: var(--white);
  padding-block: var(--space-7);
}
.cu-map-sec__header {
  max-width: 62ch;
  margin-bottom: var(--space-4);
}

.cu-map {
  position: relative;
  height: clamp(18rem, 45vh, 30rem);
  border-radius: var(--card-radius);
  overflow: hidden;
  border: 1px solid var(--card-border-light);
  background: var(--bg-secondary);
  box-shadow: var(--shadow-md);
}
.cu-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(0.35) contrast(1.05);
}

/* Shown until subpage.js swaps in the iframe */
.cu-map__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.5rem;
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--text-on-light-muted);
}
.cu-map.is-loaded .cu-map__placeholder { display: none; }

.cu-map__pin {
  position: absolute;
  left: var(--space-2);
  bottom: var(--space-2);
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-pill);
  background: var(--bg-primary);
  color: var(--white);
  font-size: var(--text-small);
  font-weight: 600;
  box-shadow: var(--shadow-md);
}

/* ---------- Suburb chips ---------- */
.cu-areas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: var(--space-3);
}
.cu-areas li {
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  background: var(--bg-secondary);
  border: 1px solid var(--card-border-light);
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--text-on-light-muted);
}

/* ---------- Urgent band ---------- */
.cu-band {
  background: var(--accent-primary);
  color: var(--white);
  padding-block: var(--space-4);
}
.cu-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}
.cu-band__title {
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem);
  margin-bottom: 0.25rem;
}
.cu-band__sub {
  font-size: var(--text-small);
  color: rgba(255, 255, 255, 0.85);
  max-width: 52ch;
}
.cu-band__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius-pill);
  background: var(--brown-900);
  color: var(--white);
  font-weight: 700;
  white-space: nowrap;
  transition: background var(--duration-base) var(--ease-out), transform var(--duration-fast) var(--ease-out);
}
.cu-band__btn:hover { background: var(--brown-800); }
.cu-band__btn:active { transform: scale(0.98); }

/* ─────────────────────────────────────────────────────────
   13. STICKY MOBILE ACTION BAR  (.mbar)
───────────────────────────────────────────────────────── */
.mbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 95;
  display: flex;
  gap: 0.6rem;
  padding: 0.7rem var(--space-2) calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(33, 19, 19, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-on-dark);
  transform: translateY(120%);
  transition: transform var(--duration-slow) var(--ease-out);
}
.mbar.is-visible { transform: translateY(0); }

.mbar__btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
}
.mbar__btn--primary { background: var(--accent-primary); color: var(--white); }
.mbar__btn--ghost {
  border: 1px solid var(--border-on-dark);
  color: var(--white);
}

@media (min-width: 900px) {
  .mbar { display: none; }
}

/* ─────────────────────────────────────────────────────────
   14. REDUCED MOTION
───────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .inc__card:hover,
  .sgn__card:hover,
  .cu-way--link:hover,
  .rel__card:hover { transform: none; }
  .rel__card:hover img { transform: none; }
  .mbar { transition: none; }
  .tl__rail-fill { transition: none; }
}



/* =========================================================
   GOSHEN ROOFING - ABOUT HERO
========================================================= */

.about-hero {
  position: relative;
  overflow: hidden;
  background: #241513;
  color: #fff;
}


/* Background
--------------------------------------------------------- */

.about-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.about-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-hero__overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(28, 14, 12, 0.96) 0%,
      rgba(35, 17, 14, 0.90) 42%,
      rgba(43, 22, 18, 0.68) 72%,
      rgba(39, 20, 17, 0.70) 100%
    ),
    linear-gradient(
      180deg,
      rgba(20, 11, 10, 0.15) 0%,
      rgba(20, 11, 10, 0.50) 100%
    );
}


/* Main container
--------------------------------------------------------- */

.about-hero__inner {
  position: relative;
  z-index: 2;

  padding-top: clamp(90px, 10vw, 150px);
  padding-bottom: clamp(65px, 8vw, 105px);
}


/* Layout
--------------------------------------------------------- */

.about-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: clamp(50px, 8vw, 120px);
  align-items: end;
}


/* Left content
--------------------------------------------------------- */

.about-hero__content {
  max-width: 760px;
}

.about-hero__eyebrow {
  margin: 0 0 20px;

  color: #e0ba8d;

  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;

  letter-spacing: 0.20em;
  text-transform: uppercase;
}


.about-hero__title {
  max-width: 760px;

  margin: 0;

  color: #fff;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 6vw, 82px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.035em;
}


.about-hero__title span {
  display: block;

  margin-top: 8px;

  color: #cf7648;
}


.about-hero__text {
  max-width: 650px;

  margin: 30px 0 0;

  color: rgba(255, 255, 255, 0.88);

  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.75;
}


.about-hero__text--secondary {
  max-width: 610px;

  margin-top: 12px;

  color: rgba(255, 255, 255, 0.68);
}


/* Buttons
--------------------------------------------------------- */

.about-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;

  margin-top: 34px;
}


.about-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 10px;

  min-height: 54px;
  padding: 0 26px;

  border-radius: 999px;

  font-size: 14px;
  font-weight: 700;
  line-height: 1;

  text-decoration: none;

  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
}


.about-hero__btn:hover {
  transform: translateY(-2px);
}


.about-hero__btn--primary {
  background: #b9572d;
  color: #fff;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.20);
}


.about-hero__btn--primary:hover {
  background: #cc673a;
}


.about-hero__btn--light {
  background: #ead6a7;
  color: #33201a;
}


.about-hero__btn--light:hover {
  background: #f4e2ba;
}


/* Right feature
--------------------------------------------------------- */

.about-hero__feature {
  position: relative;

  max-width: 360px;

  padding: 0 0 4px 36px;

  border-left: 1px solid rgba(255, 255, 255, 0.18);
}


.about-hero__years {
  display: flex;
  flex-direction: column;
}


.about-hero__years-number {
  color: #e5c594;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(86px, 9vw, 138px);
  font-weight: 700;
  line-height: 0.78;
  letter-spacing: -0.06em;
}


.about-hero__years-label {
  margin-top: 20px;

  color: #fff;

  font-size: clamp(22px, 2vw, 30px);
  font-weight: 700;

  letter-spacing: -0.02em;
}


.about-hero__feature-divider {
  width: 44px;
  height: 2px;

  margin: 28px 0 22px;

  background: #c76439;
}


.about-hero__feature-copy {
  max-width: 290px;

  margin: 0;

  color: rgba(255, 255, 255, 0.72);

  font-size: 15px;
  line-height: 1.65;
}


.about-hero__mini-stat {
  display: flex;
  align-items: center;

  gap: 15px;

  margin-top: 26px;
  padding-top: 22px;

  border-top: 1px solid rgba(255, 255, 255, 0.12);
}


.about-hero__mini-stat strong {
  color: #cf7648;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  line-height: 1;
}


.about-hero__mini-stat span {
  max-width: 150px;

  color: rgba(255, 255, 255, 0.68);

  font-size: 12px;
  line-height: 1.45;
}


/* =========================================================
   MARQUEE
========================================================= */

.about-marquee {
  position: relative;
  z-index: 3;

  width: 100%;

  overflow: hidden;

  padding: 21px 0;

  border-top: 1px solid rgba(255, 255, 255, 0.13);

  background: rgba(20, 10, 9, 0.52);

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}


/* Soft fading edges */

.about-marquee::before,
.about-marquee::after {
  content: "";

  position: absolute;
  top: 0;
  bottom: 0;

  z-index: 5;

  width: 100px;

  pointer-events: none;
}


.about-marquee::before {
  left: 0;

  background: linear-gradient(
    90deg,
    rgba(27, 14, 12, 1) 0%,
    rgba(27, 14, 12, 0) 100%
  );
}


.about-marquee::after {
  right: 0;

  background: linear-gradient(
    270deg,
    rgba(27, 14, 12, 1) 0%,
    rgba(27, 14, 12, 0) 100%
  );
}


/* Moving track */

.about-marquee__track {
  display: flex;

  width: max-content;

  will-change: transform;

  animation: goshenAboutMarquee 35s linear infinite;
}


.about-marquee__group {
  display: flex;
  flex-shrink: 0;
  align-items: center;

  gap: 30px;

  padding-right: 30px;
}


.about-marquee__group span {
  white-space: nowrap;

  color: rgba(255, 255, 255, 0.83);

  font-size: 12px;
  font-weight: 600;

  letter-spacing: 0.055em;

  text-transform: uppercase;
}


.about-marquee__group i {
  color: #ca7045;

  font-size: 10px;
  font-style: normal;
}


.about-marquee:hover .about-marquee__track {
  animation-play-state: paused;
}


@keyframes goshenAboutMarquee {

  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 960px) {

  .about-hero__grid {
    grid-template-columns: 1fr;
    gap: 55px;
  }


  .about-hero__content {
    max-width: 700px;
  }


  .about-hero__feature {
    display: grid;

    grid-template-columns: auto 1fr;
    column-gap: 32px;
    row-gap: 12px;

    max-width: 600px;

    padding: 28px 0 0;

    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.17);
  }


  .about-hero__years {
    grid-row: 1 / 4;
  }


  .about-hero__years-number {
    font-size: 95px;
  }


  .about-hero__years-label {
    margin-top: 14px;

    font-size: 23px;
  }


  .about-hero__feature-divider {
    margin: 6px 0 6px;
  }


  .about-hero__mini-stat {
    margin-top: 5px;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 640px) {

  .about-hero__inner {
    padding-top: 80px;
    padding-bottom: 55px;
  }


  .about-hero__grid {
    gap: 42px;
  }


  .about-hero__eyebrow {
    margin-bottom: 16px;

    font-size: 10px;
    letter-spacing: 0.17em;
  }


  .about-hero__title {
    font-size: clamp(42px, 13vw, 58px);
    line-height: 0.99;
  }


  .about-hero__title span {
    margin-top: 7px;
  }


  .about-hero__text {
    margin-top: 24px;

    font-size: 15px;
    line-height: 1.7;
  }


  .about-hero__text--secondary {
    margin-top: 10px;
  }


  .about-hero__actions {
    flex-direction: column;

    margin-top: 28px;
  }


  .about-hero__btn {
    width: 100%;
    min-height: 54px;
  }


  .about-hero__feature {
    display: block;

    padding-top: 28px;
  }


  .about-hero__years {
    display: flex;
    flex-direction: row;
    align-items: baseline;

    gap: 14px;
  }


  .about-hero__years-number {
    font-size: 80px;
  }


  .about-hero__years-label {
    margin: 0;

    font-size: 21px;
  }


  .about-hero__feature-copy {
    margin-top: 20px;
  }


  .about-hero__mini-stat {
    margin-top: 20px;
  }


  .about-marquee {
    padding: 18px 0;
  }


  .about-marquee__group {
    gap: 22px;
    padding-right: 22px;
  }


  .about-marquee__group span {
    font-size: 10px;
  }


  .about-marquee::before,
  .about-marquee::after {
    width: 45px;
  }

}


/* Accessibility - reduced motion
--------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

  .about-marquee__track {
    animation: none;
  }

  .about-marquee {
    overflow-x: auto;
  }

  .about-hero__btn {
    transition: none;
  }

}



/* =========================================================
   GOSHEN ROOFING - OUR STORY
========================================================= */

/* =========================================================
   GOSHEN ROOFING - OUR STORY
   FINAL VERSION
========================================================= */

.story {
  position: relative;
  overflow: hidden;
  padding: 110px 0 130px;

  background:
    radial-gradient(
      circle at 9% 16%,
      rgba(181, 83, 43, 0.06),
      transparent 22%
    ),
    #f3e8d6;

  color: #2c1713;
}


/* Decorative circles */
.story::before {
  content: "";
  position: absolute;
  left: -95px;
  top: 420px;

  width: 220px;
  height: 220px;

  border: 1px solid rgba(178, 80, 40, 0.16);
  border-radius: 50%;

  pointer-events: none;
}

.story::after {
  content: "";
  position: absolute;
  right: -140px;
  bottom: 45px;

  width: 340px;
  height: 340px;

  border: 1px solid rgba(178, 80, 40, 0.12);
  border-radius: 50%;

  pointer-events: none;
}


/* =========================================================
   CONTAINER
========================================================= */

.story .container {
  position: relative;
  z-index: 2;

  width: min(92%, 1280px);
  margin-inline: auto;
}

.story__wrap {
  position: relative;
}


/* =========================================================
   INTRO
========================================================= */

.story__intro {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  column-gap: 70px;
  align-items: start;

  max-width: 1120px;
  margin: 0 auto 72px;
}

.story__intro-content {
  min-width: 0;
}

.story__eyebrow {
  align-self: center;

  color: #ad522d;

  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;

  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.story__title {
  max-width: 820px;
  margin: 0;

  color: #2a1713;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 5vw, 70px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}

.story__title span {
  display: block;
  color: #b65a32;
}

.story__lead {
  max-width: 720px;
  margin: 22px 0 0;
  color: #715249;
  line-height: 1.75;
}

.story__lead strong {
  color: #3a211b;
  font-weight: 700;
}


/* =========================================================
   MAIN GRID
========================================================= */

.story__stage {
  display: grid;
  grid-template-columns: 460px minmax(0, 1fr);
  column-gap: 90px;
  row-gap: 72px;
  align-items: start;

  max-width: 1120px;
  margin: 0 auto;
}


/* =========================================================
   LEFT VISUAL
========================================================= */

.story__visual {
  position: relative;
  width: 100%;
}

.story__frame {
  position: relative;
  width: 100%;

  padding: 18px 18px 54px 46px;

  border: 1px solid rgba(105, 52, 34, 0.25);
}


/* Decorative top-right frame corner */
.story__frame::before {
  content: "";
  position: absolute;
  top: -10px;
  right: -10px;

  width: 42%;
  height: 42%;

  border-top: 2px solid #b85b34;
  border-right: 2px solid #b85b34;

  pointer-events: none;
}


/* Decorative bottom-left frame corner */
.story__frame::after {
  content: "";
  position: absolute;
  left: -10px;
  bottom: -10px;

  width: 42%;
  height: 42%;

  border-left: 2px solid #b85b34;
  border-bottom: 2px solid #b85b34;

  pointer-events: none;
}


/* =========================================================
   IMAGE
========================================================= */

.story__image {
  position: relative;
  overflow: hidden;

  width: 100%;
  aspect-ratio: 4 / 5;

  background: #d6c2a8;
}

.story__image::after {
  content: "";
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      180deg,
      transparent 52%,
      rgba(37, 18, 13, 0.35) 100%
    );

  pointer-events: none;
}

.story__image img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform 0.7s ease;
}

.story__visual:hover .story__image img {
  transform: scale(1.025);
}


/* =========================================================
   FRAME LABELS
========================================================= */

.story__frame-label {
  position: absolute;
  z-index: 3;

  color: #8e6354;

  font-size: 8px;
  font-weight: 700;

  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.story__frame-label--top {
  left: 46px;
  bottom: 18px;
}

.story__frame-label--side {
  top: 18px;
  left: 16px;

  writing-mode: vertical-rl;
  transform: rotate(180deg);
}


/* =========================================================
   2009 STAMP
========================================================= */

.story__stamp {
  position: absolute;
  right: -25px;
  bottom: 86px;
  z-index: 4;

  display: flex;
  flex-direction: column;
  align-items: center;

  min-width: 112px;

  padding: 18px 16px;

  background: #a94d29;
  color: #fff;

  box-shadow: 0 18px 40px rgba(65, 28, 17, 0.22);
}

.story__stamp::before {
  content: "";
  position: absolute;
  inset: 7px;

  border: 1px solid rgba(255, 255, 255, 0.34);

  pointer-events: none;
}

.story__stamp strong {
  position: relative;
  z-index: 2;

  color: #fff;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
}

.story__stamp-small {
  position: relative;
  z-index: 2;

  margin: 4px 0;

  color: rgba(255, 255, 255, 0.86);

  font-size: 8px;
  font-weight: 700;

  letter-spacing: 0.14em;
  text-transform: uppercase;
}


/* =========================================================
   QUOTE
========================================================= */

.story__quote {
  position: relative;
  z-index: 5;

  width: calc(100% - 42px);

  /* Small overlap only */
  margin: -8px 0 0 42px;

  padding: 30px 30px 28px;

  background: #2e1814;
  color: #fff;

  box-shadow: 0 20px 45px rgba(49, 25, 18, 0.17);
}

.story__quote-mark {
  position: absolute;
  top: -13px;
  right: 22px;

  color: #cc7047;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 72px;
  line-height: 1;
}

.story__quote p {
  position: relative;
  z-index: 2;

  margin: 0;

  color: rgba(255, 255, 255, 0.92);

  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
}

.story__quote footer {
  display: flex;
  align-items: center;

  gap: 12px;

  margin-top: 20px;
}

.story__quote-line {
  flex: 0 0 30px;

  width: 30px;
  height: 1px;

  background: #c96840;
}

.story__quote footer div {
  display: flex;
  flex-direction: column;
}

.story__quote footer strong {
  color: #e7c99c;

  font-size: 12px;
  line-height: 1.3;
}

.story__quote footer span:not(.story__quote-line) {
  margin-top: 2px;

  color: rgba(255, 255, 255, 0.55);

  font-size: 10px;
}


/* =========================================================
   RIGHT CONTENT
========================================================= */

.story__content {
  width: 100%;
  min-width: 0;
  max-width: 610px;
}


/* =========================================================
   TIMELINE
========================================================= */

.story__timeline {
  position: relative;
  width: 100%;
}

.story__timeline::before {
  content: "";

  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 28px;

  width: 1px;

  background:
    linear-gradient(
      180deg,
      #b95c33 0%,
      rgba(185, 92, 51, 0.18) 100%
    );
}

.story__chapter {
  position: relative;

  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 28px;

  padding-bottom: 52px;
}

.story__chapter:last-child {
  padding-bottom: 0;
}

.story__chapter-marker {
  position: relative;
  z-index: 3;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 56px;
  height: 56px;

  border: 1px solid rgba(165, 78, 42, 0.33);
  border-radius: 50%;

  background: #f3e8d6;
}

.story__chapter-marker::after {
  content: "";
  position: absolute;
  inset: 7px;

  border-radius: 50%;

  background: #fff7ea;
}

.story__chapter-marker span {
  position: relative;
  z-index: 2;

  color: #a94d29;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 700;
}


/* Current marker */
.story__chapter--current .story__chapter-marker {
  background: #a84d2a;
  border-color: #a84d2a;
}

.story__chapter--current .story__chapter-marker::after {
  background: #a84d2a;
}

.story__chapter--current .story__chapter-marker span {
  color: #fff;
}


/* Timeline label */
.story__chapter-year {
  margin: 2px 0 8px;

  color: #ac552f;

  font-size: 10px;
  font-weight: 800;

  letter-spacing: 0.16em;
  text-transform: uppercase;
}


/* Timeline heading */
.story__chapter-body h3 {
  max-width: 520px;

  margin: 0 0 14px;

  color: #2e1914;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(27px, 2.4vw, 34px);
  font-weight: 700;
  line-height: 1.12;

  letter-spacing: -0.025em;
}


/* Timeline text */
.story__chapter-body p:not(.story__chapter-year) {
  max-width: 540px;

  margin: 0 0 10px;

  color: #705047;

  line-height: 1.72;
}

.story__chapter-body strong {
  color: #4d2b23;
}


/* =========================================================
   FULL WIDTH PRINCIPLES
========================================================= */

.story__principles {
  /* This is what makes it span BOTH columns */
  grid-column: 1 / -1;

  display: grid;
  grid-template-columns: repeat(3, 1fr);

  width: 100%;

  margin-top: 4px;

  border-top: 1px solid rgba(83, 45, 33, 0.18);
  border-bottom: 1px solid rgba(83, 45, 33, 0.18);
}

.story__principle {
  position: relative;

  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 18px;

  min-height: 180px;

  padding: 30px 32px;

  border-right: 1px solid rgba(83, 45, 33, 0.18);

  transition: background-color 0.3s ease;
}

.story__principle:last-child {
  border-right: 0;
}

.story__principle:hover {
  background: rgba(255, 255, 255, 0.27);
}

.story__principle-no {
  margin-top: 3px;

  color: #b75a32;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 700;
}

.story__principle h3 {
  margin: 0 0 10px;

  color: #301b16;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.2;
}

.story__principle p {
  max-width: 260px;

  margin: 0;

  color: #78584e;

  line-height: 1.65;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1024px) {

  .story {
    padding: 90px 0 110px;
  }

  .story__intro {
    grid-template-columns: 1fr;

    gap: 10px;

    max-width: 760px;

    margin: 0 0 60px;
  }

  .story__eyebrow {
    margin: 0 0 8px;
  }

  .story__title {
    max-width: 720px;
  }

  .story__lead {
    max-width: 680px;
  }

  .story__stage {
    grid-template-columns: 1fr;

    row-gap: 65px;

    max-width: 760px;

    margin-left: 0;
  }

  .story__visual {
    max-width: 620px;
  }

  .story__image {
    aspect-ratio: 16 / 11;
  }

  .story__content {
    max-width: 760px;
  }

  .story__chapter-body h3,
  .story__chapter-body p:not(.story__chapter-year) {
    max-width: 650px;
  }

  .story__principles {
    grid-column: 1;

    grid-template-columns: repeat(3, 1fr);

    margin-top: 0;
  }

  .story__principle {
    display: block;

    min-height: 190px;

    padding: 26px 22px;
  }

  .story__principle-no {
    display: block;

    margin: 0 0 24px;
  }

  .story__principle p {
    max-width: 100%;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 680px) {

  .story {
    padding: 75px 0 90px;
  }

  .story .container {
    width: min(90%, 1280px);
  }

  .story__intro {
    margin-bottom: 48px;
  }

  .story__title {
    font-size: clamp(40px, 12vw, 53px);
  }

  .story__lead {
    margin-top: 18px;

    font-size: 14px;
    line-height: 1.7;
  }

  .story__stage {
    row-gap: 55px;
  }

  .story__frame {
    padding: 12px 12px 46px 32px;
  }

  .story__image {
    aspect-ratio: 4 / 5;
  }

  .story__frame-label--top {
    left: 32px;
    bottom: 16px;

    font-size: 7px;
  }

  .story__frame-label--side {
    top: 14px;
    left: 10px;

    font-size: 7px;
  }

  .story__stamp {
    right: 0;
    bottom: 68px;

    min-width: 94px;

    padding: 15px 11px;
  }

  .story__stamp strong {
    font-size: 27px;
  }

  .story__stamp-small {
    font-size: 7px;
  }

  .story__quote {
    width: calc(100% - 18px);

    margin: -5px 0 0 18px;

    padding: 26px 22px;
  }

  .story__quote p {
    font-size: 16px;
  }

  .story__quote-mark {
    top: -10px;
    right: 15px;

    font-size: 60px;
  }

  .story__timeline::before {
    left: 20px;
  }

  .story__chapter {
    grid-template-columns: 42px minmax(0, 1fr);

    gap: 18px;

    padding-bottom: 42px;
  }

  .story__chapter-marker {
    width: 42px;
    height: 42px;
  }

  .story__chapter-marker::after {
    inset: 5px;
  }

  .story__chapter-marker span {
    font-size: 11px;
  }

  .story__chapter-year {
    margin-top: 0;

    font-size: 9px;
  }

  .story__chapter-body h3 {
    margin-bottom: 11px;

    font-size: 25px;
  }

  .story__chapter-body p:not(.story__chapter-year) {
    font-size: 13px;
    line-height: 1.7;
  }

  .story__principles {
    grid-template-columns: 1fr;

    margin-top: 0;
  }

  .story__principle {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);

    gap: 16px;

    min-height: 0;

    padding: 24px 0;

    border-right: 0;
    border-bottom: 1px solid rgba(83, 45, 33, 0.17);
  }

  .story__principle:last-child {
    border-bottom: 0;
  }

  .story__principle-no {
    margin: 3px 0 0;
  }

  .story__principle p {
    max-width: 100%;
  }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

  .story__stamp {
    right: -4px;
    min-width: 86px;
  }

  .story__stamp strong {
    font-size: 24px;
  }

  .story__quote {
    width: calc(100% - 10px);

    margin-left: 10px;

    padding: 23px 19px;
  }

  .story__quote p {
    font-size: 15px;
  }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

  .story__image img,
  .story__principle {
    transition: none;
  }

}


/* =========================================================
   GOSHEN ROOFING - TECHNICAL VALUES
========================================================= */

.roof-tech {
  position: relative;
  overflow: hidden;

  padding: clamp(100px, 10vw, 150px) 0;

  background:
    radial-gradient(
      circle at 50% 48%,
      rgba(171, 78, 39, 0.07),
      transparent 34%
    ),
    #2c1814;

  color: #fff;
}


/* subtle architectural grid */
.roof-tech::before {
  content: "";

  position: absolute;
  inset: 0;

  opacity: 0.06;

  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.1) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.1) 1px,
      transparent 1px
    );

  background-size: 55px 55px;

  pointer-events: none;
}


.roof-tech .container {
  position: relative;
  z-index: 2;
}


/* =========================================================
   HEADER
========================================================= */

.roof-tech__header {
  max-width: 800px;

  margin: 0 auto 55px;

  text-align: center;
}


.roof-tech__eyebrow {
  margin: 0 0 17px;

  color: #cf7348;

  font-size: 11px;
  font-weight: 800;

  letter-spacing: 0.22em;

  text-transform: uppercase;
}


.roof-tech__title {
  margin: 0;

  color: #fff7eb;

  font-family: Georgia, "Times New Roman", serif;

  font-size: clamp(46px, 5.5vw, 72px);
  font-weight: 700;
  line-height: 1;

  letter-spacing: -0.04em;
}


.roof-tech__title span {
  display: block;

  color: #c6683d;
}


.roof-tech__lead {
  max-width: 650px;

  margin: 24px auto 0;

  color: rgba(255, 255, 255, 0.58);

  font-size: 14px;
  line-height: 1.75;
}


/* =========================================================
   STAGE
========================================================= */

.roof-tech__stage {
  position: relative;

  max-width: 1180px;
  min-height: 720px;

  margin: 0 auto;
}


/* =========================================================
   MAIN BLUEPRINT
========================================================= */

.roof-tech__main-graphic {
  position: absolute;

  top: 65px;
  left: 50%;

  z-index: 1;

  width: min(76%, 900px);

  transform: translateX(-50%);

  opacity: 0.72;

  pointer-events: none;
}


.roof-tech__main-graphic svg {
  display: block;

  width: 100%;
  height: auto;
}


.roof-tech__svg-main {
  stroke: rgba(227, 139, 91, 0.8);

  stroke-width: 1.5;
}


.roof-tech__svg-soft {
  stroke: rgba(255, 255, 255, 0.18);

  stroke-width: 1.1;
}


.roof-tech__svg-detail {
  stroke: rgba(255, 255, 255, 0.09);

  stroke-width: 1;
}


.roof-tech__svg-guide {
  stroke: rgba(255, 255, 255, 0.14);

  stroke-width: 1;
}


.roof-tech__svg-guide--dash {
  stroke-dasharray: 5 8;
}


.roof-tech__svg-accent {
  stroke: #d17547;

  stroke-width: 2;
}


.roof-tech__svg-dot {
  fill: #c9693d;
}


/* =========================================================
   TECHNICAL LABELS
========================================================= */

.roof-tech__measure {
  position: absolute;

  z-index: 3;

  color: rgba(255, 255, 255, 0.27);

  font-size: 8px;
  font-weight: 700;

  letter-spacing: 0.2em;

  text-transform: uppercase;
}


.roof-tech__measure--top {
  top: 80px;
  left: 50%;

  transform: translateX(-50%);
}


.roof-tech__measure--left {
  top: 250px;
  left: 8%;
}


.roof-tech__measure--right {
  top: 270px;
  right: 8%;
}


.roof-tech__measure--bottom {
  left: 50%;
  bottom: 170px;

  transform: translateX(-50%);
}


/* =========================================================
   CENTRE LABEL
========================================================= */

.roof-tech__centre {
  position: absolute;

  z-index: 5;

  top: 285px;
  left: 50%;

  transform: translateX(-50%);

  display: flex;
  flex-direction: column;
  align-items: center;

  text-align: center;
}


.roof-tech__centre-small {
  margin-bottom: 5px;

  color: #c86b40;

  font-size: 9px;
  font-weight: 800;

  letter-spacing: 0.2em;

  text-transform: uppercase;
}


.roof-tech__centre strong {
  color: #fff7eb;

  font-family: Georgia, "Times New Roman", serif;

  font-size: 36px;
  line-height: 1;
}


.roof-tech__centre-label {
  margin-top: 4px;

  color: rgba(255, 255, 255, 0.52);

  font-size: 9px;
  font-weight: 800;

  letter-spacing: 0.18em;

  text-transform: uppercase;
}


.roof-tech__centre-line {
  width: 30px;
  height: 1px;

  margin: 13px 0 8px;

  background: #c86b40;
}


.roof-tech__centre small {
  color: rgba(255, 255, 255, 0.35);

  font-size: 8px;

  letter-spacing: 0.13em;

  text-transform: uppercase;
}


/* =========================================================
   VALUES
========================================================= */

.roof-tech__value {
  position: absolute;

  z-index: 6;

  max-width: 250px;
}


.roof-tech__value-graphic {
  width: 62px;
  height: 62px;

  margin-bottom: 13px;

  color: #cd7043;

  opacity: 0.75;
}


.roof-tech__value-graphic svg {
  width: 100%;
  height: 100%;
}


.roof-tech__value-no {
  display: block;

  margin-bottom: 6px;

  color: rgba(209, 112, 68, 0.72);

  font-family: Georgia, "Times New Roman", serif;

  font-size: 11px;
  font-weight: 700;
}


.roof-tech__value h3 {
  margin: 0 0 10px;

  color: #fff5e7;

  font-family: Georgia, "Times New Roman", serif;

  font-size: 28px;
  font-weight: 700;
  line-height: 1.05;

  letter-spacing: -0.025em;
}


.roof-tech__value p {
  margin: 0;

  color: rgba(255, 255, 255, 0.55);

  font-size: 12px;
  line-height: 1.65;
}


/* top left */
.roof-tech__value--inspect {
  top: 50px;
  left: 1%;

  text-align: right;
}


.roof-tech__value--inspect .roof-tech__value-graphic {
  margin-left: auto;
}


/* top right */
.roof-tech__value--explain {
  top: 50px;
  right: 1%;
}


/* bottom left */
.roof-tech__value--prepare {
  left: 5%;
  bottom: 20px;

  text-align: right;
}


.roof-tech__value--prepare .roof-tech__value-graphic {
  margin-left: auto;
}


/* bottom right */
.roof-tech__value--stand {
  right: 5%;
  bottom: 20px;
}


/* =========================================================
   FOOTER
========================================================= */

.roof-tech__footer {
  display: flex;
  align-items: center;

  gap: 24px;

  max-width: 900px;

  margin: 60px auto 0;

  text-align: center;
}


.roof-tech__footer > span {
  flex: 1;

  height: 1px;

  background: rgba(255, 255, 255, 0.12);
}


.roof-tech__footer p {
  margin: 0;

  color: rgba(255, 255, 255, 0.55);

  font-size: 12px;
  line-height: 1.6;

  letter-spacing: 0.03em;
}


.roof-tech__footer strong {
  color: #d07649;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 950px) {

  .roof-tech__stage {
    max-width: 760px;
    min-height: 790px;
  }


  .roof-tech__main-graphic {
    top: 115px;

    width: 92%;
  }


  .roof-tech__value--inspect {
    left: 0;
  }


  .roof-tech__value--explain {
    right: 0;
  }


  .roof-tech__value--prepare {
    left: 0;
  }


  .roof-tech__value--stand {
    right: 0;
  }


  .roof-tech__measure--left {
    left: 3%;
  }


  .roof-tech__measure--right {
    right: 3%;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 680px) {

  .roof-tech {
    padding: 80px 0;
  }


  .roof-tech__header {
    margin-bottom: 50px;

    text-align: left;
  }


  .roof-tech__title {
    font-size: clamp(40px, 12vw, 53px);
  }


  .roof-tech__lead {
    margin-left: 0;

    font-size: 14px;
  }


  .roof-tech__stage {
    display: grid;

    grid-template-columns: 1fr;

    min-height: 0;
  }


  .roof-tech__main-graphic {
    position: relative;

    top: auto;
    left: auto;

    width: 100%;

    margin-bottom: 25px;

    transform: none;

    opacity: 0.6;
  }


  .roof-tech__centre {
    top: 125px;
  }


  .roof-tech__measure {
    display: none;
  }


  .roof-tech__value {
    position: relative;

    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;

    display: grid;

    grid-template-columns: 58px minmax(0, 1fr);

    column-gap: 18px;

    max-width: none;

    padding: 24px 0;

    text-align: left !important;

    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }


  .roof-tech__value:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }


  .roof-tech__value-graphic {
    grid-row: 1 / 4;

    width: 52px;
    height: 52px;

    margin: 0 !important;
  }


  .roof-tech__value-no {
    margin-bottom: 5px;
  }


  .roof-tech__value h3 {
    font-size: 26px;
  }


  .roof-tech__value p {
    max-width: 420px;
  }


  .roof-tech__footer {
    display: block;

    margin-top: 45px;

    text-align: left;
  }


  .roof-tech__footer > span {
    display: none;
  }

}



/* =========================================================
   GOSHEN ROOFING - DARK SERVICE GRID
========================================================= */

.service-dark {
  position: relative;
  overflow: hidden;

  padding: clamp(90px, 9vw, 130px) 0;

  /* Matches attached dark section */
  background: #211313;

  color: #fff;
}


/* subtle decorative glow */
.service-dark::before {
  content: "";

  position: absolute;
  top: -180px;
  right: -180px;

  width: 500px;
  height: 500px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(148, 66, 38, 0.10) 0%,
      rgba(148, 66, 38, 0) 70%
    );

  pointer-events: none;
}


/* =========================================================
   HEADER
========================================================= */

.service-dark__header {
  position: relative;
  z-index: 2;

  max-width: 760px;

  margin-bottom: 48px;
}


.service-dark__eyebrow {
  margin: 0 0 15px;

  color: #bf633a;

  font-size: 11px;
  font-weight: 800;

  letter-spacing: 0.2em;

  text-transform: uppercase;
}


.service-dark__title {
  max-width: 720px;

  margin: 0;

  color: #fff8ee;

  font-family: Georgia, "Times New Roman", serif;

  font-size: clamp(44px, 5vw, 66px);

  font-weight: 700;
  line-height: 1;

  letter-spacing: -0.04em;
}


.service-dark__title span {
  display: block;

  color: #c5673c;
}


.service-dark__lead {
  max-width: 640px;

  margin: 22px 0 0;

  color: rgba(255,255,255,.65);

  line-height: 1.75;
}


/* =========================================================
   GRID
========================================================= */

.service-dark__grid {
  position: relative;
  z-index: 2;

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 18px;
}


/* =========================================================
   CARD
========================================================= */

.service-dark__card {
  position: relative;

  overflow: hidden;

  display: flex;
  flex-direction: column;

  border:
    1px solid
    rgba(255,255,255,.13);

  border-radius: 11px;

  background:
    rgba(255,255,255,.035);

  color: inherit;

  text-decoration: none;

  transition:
    transform .3s ease,
    border-color .3s ease,
    background-color .3s ease,
    box-shadow .3s ease;
}


.service-dark__card:hover {
  transform: translateY(-6px);

  border-color:
    rgba(197,103,60,.55);

  background:
    rgba(255,255,255,.055);

  box-shadow:
    0 20px 40px
    rgba(0,0,0,.20);
}


/* =========================================================
   IMAGE
========================================================= */

.service-dark__image {
  position: relative;

  overflow: hidden;

  aspect-ratio: 16 / 9;

  background: #160d0c;
}


.service-dark__image::after {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      180deg,
      rgba(30,15,12,.02) 45%,
      rgba(30,15,12,.60) 100%
    );

  pointer-events: none;
}


.service-dark__image img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

  transition:
    transform .55s ease,
    filter .55s ease;
}


.service-dark__card:hover
.service-dark__image img {
  transform: scale(1.05);

  filter: brightness(1.05);
}


/* =========================================================
   NUMBER OVER IMAGE
========================================================= */

.service-dark__number {
  position: absolute;

  z-index: 3;

  top: 15px;
  right: 17px;

  color: rgba(255,255,255,.83);

  font-family: Georgia, "Times New Roman", serif;

  font-size: 32px;
  font-weight: 700;
  line-height: 1;
}


/* =========================================================
   BODY
========================================================= */

.service-dark__body {
  display: flex;
  flex: 1;
  flex-direction: column;

  padding: 23px 23px 25px;
}


.service-dark__body h3 {
  margin: 0 0 11px;

  color: #fff8ed;

  font-family: Georgia, "Times New Roman", serif;

  font-size: 22px;
  font-weight: 700;
  line-height: 1.18;

  letter-spacing: -.02em;
}


.service-dark__body p {
  margin: 0;

  color:
    rgba(255,255,255,.60);

  font-size: 15px;
  line-height: 1.7;
}


/* =========================================================
   VIEW SERVICE
========================================================= */

.service-dark__link {
  display: inline-flex;
  align-items: center;

  gap: 7px;

  margin-top: auto;
  padding-top: 20px;

  color: #d17347;

  font-size: 10px;
  font-weight: 800;

  letter-spacing: .07em;

  text-transform: uppercase;

  transition:
    gap .25s ease,
    color .25s ease;
}


.service-dark__card:hover
.service-dark__link {
  gap: 12px;

  color: #e58d64;
}


/* =========================================================
   FOCUS
========================================================= */

.service-dark__card:focus-visible {
  outline: 2px solid #c5673c;
  outline-offset: 4px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

  .service-dark__grid {
    grid-template-columns:
      repeat(2, 1fr);
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 620px) {

  .service-dark {
    padding: 75px 0 85px;
  }


  .service-dark__header {
    margin-bottom: 38px;
  }


  .service-dark__title {
    font-size:
      clamp(40px, 12vw, 53px);
  }


  .service-dark__lead {
    font-size: 13px;
  }


  .service-dark__grid {
    grid-template-columns: 1fr;

    gap: 15px;
  }


  .service-dark__body {
    padding: 21px 20px 23px;
  }


  .service-dark__body h3 {
    font-size: 21px;
  }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

  .service-dark__card,
  .service-dark__image img,
  .service-dark__link {
    transition: none;
  }

}




/* =========================================================
   GOSHEN ROOFING - CONTACT / ROOF CTA
   FINAL FULL VERSION
========================================================= */

.contact-roof {
  position: relative;
  overflow: hidden;

  padding: clamp(90px, 9vw, 125px) 0;

  background: #ffffff;
  color: #2b1713;
}


/* =========================================================
   MAIN LAYOUT
========================================================= */

.contact-roof__shell {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);

  gap: clamp(65px, 8vw, 110px);

  align-items: center;

  max-width: 1180px;
  margin: 0 auto;
}


/* =========================================================
   LEFT
========================================================= */

.contact-roof__content {
  max-width: 520px;
}


.contact-roof__eyebrow {
  margin: 0 0 17px;

  color: #b65a32;

  font-size: 11px;
  font-weight: 800;
  letter-spacing: .20em;

  text-transform: uppercase;
}


.contact-roof__title {
  margin: 0;

  color: #2b1713;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(47px, 5vw, 67px);
  font-weight: 700;
  line-height: .98;

  letter-spacing: -.04em;
}


.contact-roof__title span {
  display: block;

  margin-top: 6px;

  color: #b65a32;
}


.contact-roof__lead {
  max-width: 500px;

  margin: 26px 0 0;

  color: #74554c;

  line-height: 1.75;
}


/* =========================================================
   ACTIONS
========================================================= */

.contact-roof__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;

  gap: 22px;

  margin-top: 34px;
}


.contact-roof__call {
  display: flex;
  flex-direction: column;

  color: #2b1713;

  text-decoration: none;
}


.contact-roof__call-small {
  margin-bottom: 5px;

  color: #b65a32;

  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;

  text-transform: uppercase;
}


.contact-roof__call strong {
  color: #2b1713;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
}


.contact-roof__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 10px;

  min-height: 50px;

  padding: 0 23px;

  border-radius: 999px;

  background: #b65a32;
  color: #fff;

  font-size: 12px;
  font-weight: 800;

  text-decoration: none;

  transition:
    transform .25s ease,
    background-color .25s ease;
}


.contact-roof__button:hover {
  transform: translateY(-2px);

  background: #c8693d;
}


/* =========================================================
   RIGHT 4-CARD GRID
========================================================= */

.contact-roof__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));

  overflow: hidden;

  border: 1px solid #dfd0bd;
  border-radius: 18px;

  background: #f3e8d6;

  box-shadow:
    0 20px 45px rgba(63, 35, 25, .09);
}


/* =========================================================
   CARD
========================================================= */

.contact-roof__item {
  position: relative;

  min-width: 0;
  min-height: 230px;

  padding: 29px 25px;

  color: inherit;

  text-decoration: none;

  transition:
    background-color .28s ease,
    transform .28s ease;
}


.contact-roof__item:nth-child(1),
.contact-roof__item:nth-child(3) {
  border-right: 1px solid #dfd0bd;
}


.contact-roof__item:nth-child(1),
.contact-roof__item:nth-child(2) {
  border-bottom: 1px solid #dfd0bd;
}


.contact-roof__item:hover {
  z-index: 2;

  background: #fff8ee;

  transform: translateY(-3px);
}


/* =========================================================
   ICON
========================================================= */

.contact-roof__icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 48px;
  height: 48px;

  margin-bottom: 20px;

  border-radius: 11px;

  background: #b65a32;

  color: #fff;
}


.contact-roof__icon svg {
  width: 22px;
  height: 22px;
}


/* =========================================================
   CARD TEXT
========================================================= */

.contact-roof__label {
  display: block;

  margin-bottom: 8px;

  color: #aa4e29;

  font-size: 10px;
  font-weight: 800;

  letter-spacing: .16em;

  text-transform: uppercase;
}


.contact-roof__item h3 {
  margin: 0;

  color: #2b1713;

  font-family: Georgia, "Times New Roman", serif;

  font-size: 20px;
  line-height: 1.2;

  overflow-wrap: normal;
  word-break: normal;
}


.contact-roof__email {
  white-space: nowrap;

  font-size: 16px !important;

  letter-spacing: -.025em;
}


.contact-roof__item p {
  max-width: 240px;

  margin: 11px 0 0;

  color: #75564c;

  font-size: 14px;
  line-height: 1.65;
}


/* =========================================================
   BOTTOM CTA
========================================================= */

.contact-roof__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 30px;

  max-width: 1180px;

  margin: 48px auto 0;

  padding: 22px 24px;

  border: 1px dashed rgba(182,90,50,.48);
  border-radius: 12px;

  background: #f8f1e7;
}


.contact-roof__bottom-copy {
  display: flex;
  align-items: center;

  gap: 17px;
}


.contact-roof__bottom-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  flex: 0 0 auto;

  width: 50px;
  height: 50px;

  border-radius: 50%;

  background: #b65a32;

  color: #fff;
}


.contact-roof__bottom-icon svg {
  width: 27px;
  height: 27px;
}


.contact-roof__bottom-copy strong {
  display: block;

  color: #2b1713;

  font-family: Georgia, "Times New Roman", serif;

  font-size: 17px;
}


.contact-roof__bottom-copy p {
  margin: 5px 0 0;

  color: #75564c;

}


.contact-roof__bottom-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 12px;

  min-height: 52px;

  padding: 0 25px;

  border-radius: 999px;

  background: #b65a32;

  color: #fff;

  font-size: 14px;
  font-weight: 800;

  text-decoration: none;

  transition:
    transform .25s ease,
    background-color .25s ease;
}


.contact-roof__bottom-button:hover {
  transform: translateY(-2px);

  background: #c96a3e;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

  .contact-roof__shell {
    grid-template-columns: 1fr;

    gap: 60px;
  }


  .contact-roof__content {
    max-width: 700px;
  }


  .contact-roof__cards {
    max-width: 720px;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 620px) {

  .contact-roof {
    padding: 75px 0;
  }


  .contact-roof__title {
    font-size: clamp(40px, 12vw, 52px);
  }


  .contact-roof__lead {
    font-size: 13px;
  }


  .contact-roof__actions {
    align-items: stretch;
    flex-direction: column;
  }


  .contact-roof__button {
    width: 100%;
  }


  .contact-roof__cards {
    grid-template-columns: 1fr;
  }


  .contact-roof__item {
    min-height: 0;

    padding: 26px;
  }


  .contact-roof__item {
    border-right: 0 !important;

    border-bottom: 1px solid #dfd0bd !important;
  }


  .contact-roof__item:last-child {
    border-bottom: 0 !important;
  }


  .contact-roof__email {
    white-space: normal;

    font-size: 17px !important;

    overflow-wrap: anywhere;
  }


  .contact-roof__bottom {
    align-items: stretch;
    flex-direction: column;

    margin-top: 35px;
  }


  .contact-roof__bottom-copy {
    align-items: flex-start;
  }


  .contact-roof__bottom-button {
    width: 100%;
  }

}

/* ===== END subpage.src.css ================================ */

/* =========================================================
   GOSHEN ROOFING — SERVICE AREAS  (.sa-*)
   Used by /suburbs/. Hand-maintained: this file is NOT
   regenerated by tools/build-subpage-css.py any more.

   Suburb pills reuse .cu-areas / .cu-areas li — .sa-group__list
   only adjusts spacing, so the contact page is untouched.
   NOTE: no `position` on any .sa-* rule — the sub-nav scroll-spy
   in js/subpage.js reads offsetTop, which breaks if an ancestor
   of a spied section becomes a positioned offsetParent.
========================================================= */

.sa-regions {
  background: var(--bg-secondary);
  padding-block: var(--space-6);
}

.sa-regions__header {
  max-width: 62ch;
  margin-bottom: var(--space-4);
}

/* ---- Region jump chips ---- */
.sa-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--space-4);
}
.sa-jump a {
  display: inline-block;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--accent-primary);
  color: var(--accent-primary);
  font-size: var(--text-small);
  font-weight: 700;
  transition:
    background var(--duration-base) var(--ease-out),
    color var(--duration-base) var(--ease-out);
}
.sa-jump a:hover,
.sa-jump a:focus-visible {
  background: var(--accent-primary);
  color: var(--white);
}

/* ---- Region cards ---- */
.sa-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  align-items: start;
}
@media (min-width: 760px)  { .sa-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .sa-grid { grid-template-columns: repeat(3, 1fr); } }

.sa-group {
  padding: var(--space-3);
  background: var(--card-bg-light);
  border: 1px solid var(--card-border-light);
  border-radius: var(--card-radius);
  /* clears the fixed nav when a #region hash is loaded directly */
  scroll-margin-top: calc(var(--nav-h, 80px) + 5rem);
}

.sa-group__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--card-border-light);
}
.sa-group__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: var(--leading-snug);
  color: var(--text-on-light);
}
.sa-group__count {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-primary);
}
.sa-group__note {
  font-size: var(--text-small);
  color: var(--text-on-light-muted);
  margin-bottom: 0.75rem;
}

/* Sits alongside .cu-areas — inherits the pill shape from it */
.sa-group__list {
  margin-top: 0;
  gap: 0.4rem;
}
.sa-group__list li {
  background: var(--beige-100);
}

/* ---------- Suburb search (service area page) ---------- */
.sa-search {
  max-width: 34rem;
  margin-bottom: var(--space-4);
}
.sa-search__label {
  display: block;
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
}
.sa-search__field {
  position: relative;
  display: flex;
  align-items: center;
}
.sa-search__icon {
  position: absolute;
  left: 0.9rem;
  color: var(--text-on-light-muted);
  pointer-events: none;
}
.sa-search__input {
  width: 100%;
  padding: 0.85rem 2.6rem;
  font: inherit;
  font-size: 1rem;
  color: var(--text-on-light);
  background: var(--card-bg-light);
  border: 1px solid var(--card-border-light);
  border-radius: var(--radius-pill);
  transition:
    border-color var(--duration-fast) var(--ease-out),
    box-shadow var(--duration-fast) var(--ease-out);
}
.sa-search__input::placeholder { color: var(--gray-400); }
.sa-search__input:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(160, 82, 45, 0.22);
}
/* the browser's own clear button would sit under ours */
.sa-search__input::-webkit-search-cancel-button { display: none; }

.sa-search__clear {
  position: absolute;
  right: 0.75rem;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: var(--text-on-light-muted);
  transition: background var(--duration-fast) var(--ease-out), color var(--duration-fast) var(--ease-out);
}
.sa-search__clear:hover {
  background: rgba(160, 82, 45, 0.12);
  color: var(--accent-primary);
}

.sa-search__status {
  min-height: 1.3em;
  margin-top: 0.5rem;
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--text-on-light-muted);
}

/* No-match message */
.sa-empty {
  margin-top: var(--space-3);
  padding: var(--space-3);
  border: 1px dashed var(--accent-primary);
  border-radius: var(--card-radius);
  font-size: var(--text-lead);
  font-family: var(--font-display);
  line-height: var(--leading-snug);
  color: var(--text-on-light);
}
.sa-empty a {
  color: var(--accent-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
