/* ==========================================================================
   GASCON ENGINEERING & STRUCTURAL DESIGN INC.
   main.css — design system + all components
   --------------------------------------------------------------------------
   EDITING GUIDE
   · Brand colours live in :root below — change them once, they apply everywhere.
   · Each section of the stylesheet is labelled with a banner comment.
   · The logo entrance animation is embedded inside assets/img/logo.svg
     (ported verbatim from the original site). This file only scales it.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Brand — sampled from the Gascon logo */
  --green: #2bb673;        /* primary brand green (decorative accents) */
  --green-bright: #39b54a; /* accent green         */
  --green-deep: #17714a;   /* text-safe green: CTA fills, links, eyebrows (6.2:1 on white) */
  --green-darker: #11562f; /* hover / pressed      */
  --green-tint: #e6f6ee;   /* soft background wash */
  --ink: #231f20;          /* near-black from logo */
  --gray: #6d6e71;         /* logo grey            */
  --ink-soft: #4d5452;

  /* Surfaces */
  --paper: #f7f9f8;
  --white: #ffffff;
  --line: #e2e9e5;

  /* Type */
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Rhythm */
  --container: 72rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4rem, 9vw, 7rem);
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(35, 31, 32, 0.06), 0 2px 8px rgba(35, 31, 32, 0.05);
  --shadow-md: 0 2px 6px rgba(35, 31, 32, 0.07), 0 12px 32px rgba(35, 31, 32, 0.09);
  --shadow-lg: 0 4px 12px rgba(35, 31, 32, 0.08), 0 24px 56px rgba(35, 31, 32, 0.14);

  --header-h: 92px;
  --header-h-compact: 68px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --------------------------------------------------------------------------
   2. RESET & BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

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

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* accessible visually-hidden utility + anchor offset under sticky header */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
[id] { scroll-margin-top: calc(var(--header-h-compact) + 24px); }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; padding: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
a { color: var(--green-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.35rem, 5.2vw, 3.65rem); font-weight: 700; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.6rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); font-weight: 600; }
h4 { font-size: 1.125rem; font-weight: 600; }

p { text-wrap: pretty; }

::selection { background: rgba(43, 182, 115, 0.25); }

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.skip-link {
  position: absolute;
  left: 1rem; top: -100%;
  z-index: 200;
  background: var(--ink); color: #fff;
  padding: 0.6rem 1rem; border-radius: 8px;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; color: #fff; }

/* --------------------------------------------------------------------------
   3. LAYOUT PRIMITIVES
   -------------------------------------------------------------------------- */
.container {
  width: min(var(--container), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.section { padding-block: var(--section); position: relative; }
.section--tint { background: var(--paper); }
.section--dark { background: var(--ink); color: #eef2f0; }
.section--dark h2, .section--dark h3 { color: #fff; }

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--ink-soft); margin-top: 0.9rem; font-size: 1.0625rem; }
.section--dark .section-head p { color: #b9c4bf; }

/* Green window-grid eyebrow — echoes the logo's block motif */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 12px;
  background:
    linear-gradient(90deg, var(--green) 0 10px, transparent 10px 12px, var(--green) 12px 22px) 0 0 / 22px 5px no-repeat,
    linear-gradient(90deg, var(--green) 0 10px, transparent 10px 12px, var(--green) 12px 22px) 0 7px / 22px 5px no-repeat;
}

.section--dark .eyebrow { color: var(--green); }

/* --------------------------------------------------------------------------
   4. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 1rem 1.7rem;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              background-color 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--green-deep);
  color: #fff;
  box-shadow: 0 6px 18px rgba(23, 113, 74, 0.35);
}
.btn--primary:hover { background: var(--green-darker); color: #fff; box-shadow: 0 10px 26px rgba(23, 113, 74, 0.45); }

.btn--ghost {
  border-color: rgba(35, 31, 32, 0.22);
  color: var(--ink);
  background: transparent;
}
.btn--ghost:hover { border-color: var(--green); color: var(--green-deep); background: rgba(43, 182, 115, 0.06); }

.btn--light {
  background: #fff; color: var(--ink);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}
.btn--light:hover { color: var(--green-deep); }

.btn--outline-light {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}
.btn--outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); color: #fff; }

.btn--sm { padding: 0.7rem 1.25rem; font-size: 0.925rem; }

.btn .btn-arrow { transition: transform 0.25s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   5. HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(35, 31, 32, 0.07);
}
/* while the mobile drawer is open, the header edge must not draw a line
   between itself and the panel */
.site-header.nav-open {
  border-bottom-color: transparent;
  box-shadow: none;
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-h);
}

.logo-link {
  display: inline-block;
  flex-shrink: 0;
}
.logo-img {
  width: auto;
  height: calc(var(--header-h) * 0.62);
  max-width: 42vw;
  object-fit: contain;
  transition: transform 0.3s var(--ease);
  transform-origin: left center;
}
.site-header.is-scrolled .logo-img {
  transform: scale(0.82);
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(0.4rem, 1.6vw, 1.1rem);
}
.primary-nav a:not(.btn) {
  position: relative;
  display: inline-block;
  padding: 0.55rem 0.65rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--ink);
  text-decoration: none;
}
.primary-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0.65rem; right: 0.65rem; bottom: 0.15rem;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}
.primary-nav a:not(.btn):hover::after,
.primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav a[aria-current="page"] { color: var(--green-deep); }

.header-cta { flex-shrink: 0; }
.primary-nav li.is-cta { display: none; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px; height: 46px;
  padding: 10px;
  border-radius: 10px;
}
.nav-toggle span {
  display: block;
  height: 2.5px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 920px) {
  .nav-toggle { display: flex; }
  .header-cta { display: none; }

  .primary-nav {
    /* anchored to the header's live bottom edge — tracks it when the header
       compacts on scroll, so no gap can open between header and panel */
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(35, 31, 32, 0.12);
    transition: max-height 0.4s var(--ease), visibility 0s linear 0.4s;
  }
  .primary-nav.is-open {
    max-height: min(70vh, 30rem);
    overflow-y: auto;
    visibility: visible;
    transition: max-height 0.4s var(--ease), visibility 0s linear 0s;
  }
  .primary-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 0 1.25rem;
  }
  .primary-nav a:not(.btn) {
    display: block;
    padding: 0.9rem clamp(1.25rem, 5vw, 2.5rem);
    font-size: 1.1rem;
  }
  .primary-nav a:not(.btn)::after { display: none; }
  .primary-nav li.is-cta { display: block; padding: 0.9rem clamp(1.25rem, 5vw, 2.5rem) 0.4rem; }
  .primary-nav li.is-cta .btn { width: 100%; }
}

/* --------------------------------------------------------------------------
   6. HERO (home)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(52rem 30rem at 85% -10%, rgba(43, 182, 115, 0.14), transparent 60%),
    linear-gradient(180deg, #f4f8f6 0%, #ffffff 78%);
}
/* faint structural grid backdrop */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(43, 182, 115, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43, 182, 115, 0.055) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(60rem 40rem at 30% 20%, #000 30%, transparent 75%);
  mask-image: radial-gradient(60rem 40rem at 30% 20%, #000 30%, transparent 75%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-block: clamp(3.5rem, 7vw, 6.5rem) clamp(3.5rem, 7vw, 6rem);
}

.hero h1 em {
  font-style: normal;
  color: var(--green-deep);
  position: relative;
  isolation: isolate;
  white-space: nowrap;
}
.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.08em;
  height: 0.16em;
  background: rgba(43, 182, 115, 0.28);
  border-radius: 3px;
  z-index: -1;
}

.hero-lede {
  margin-top: 1.35rem;
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: var(--ink-soft);
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.1rem;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.9rem;
  margin-top: 2.4rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.hero-facts div { display: flex; align-items: center; gap: 0.55rem; font-size: 0.95rem; color: var(--ink-soft); }
.hero-facts .tick {
  width: 20px; height: 20px; flex: none;
  border-radius: 6px;
  background: var(--green);
  display: grid; place-items: center;
  color: #fff;
}
.hero-facts .tick svg { width: 11px; height: 11px; }

.hero-visual { position: relative; }
.house-wrap {
  display: block;
  width: min(100%, 40rem);
  margin-inline: auto;
  filter: drop-shadow(0 30px 40px rgba(35, 31, 32, 0.16));
}
.hero-visual .house {
  width: 100%;
  height: auto;
  animation: hero-float 7s ease-in-out infinite;
}
@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-chip {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 0.8rem 1.05rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}
.hero-chip small { display: block; font-weight: 500; color: var(--gray); font-size: 0.78rem; }
.hero-chip .chip-icon {
  width: 38px; height: 38px; flex: none;
  border-radius: 10px;
  display: grid; place-items: center;
  background: var(--green-tint);
  color: var(--green-deep);
}
.hero-chip--years { top: 4%; left: -2%; animation: hero-float 7s 0.6s ease-in-out infinite; }
.hero-chip--eng { bottom: 6%; right: -2%; animation: hero-float 7s 1.2s ease-in-out infinite; }

@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; }
  .house-wrap { width: min(100%, 26rem); }
  .hero-chip--years { left: 0; }
  .hero-chip--eng { right: 0; }
}

/* --------------------------------------------------------------------------
   7. TRUST / STATS BAND
   -------------------------------------------------------------------------- */
.stats {
  background: var(--ink);
  color: #fff;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-block: clamp(2.2rem, 4.5vw, 3.4rem);
}
.stat { text-align: center; position: relative; }
.stat + .stat::before {
  content: "";
  position: absolute;
  left: -0.75rem; top: 15%; bottom: 15%;
  width: 1px;
  background: rgba(255, 255, 255, 0.14);
}
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 700;
  color: var(--green);
  line-height: 1.1;
}
.stat span { font-size: 0.9rem; color: #b9c4bf; letter-spacing: 0.02em; }

@media (max-width: 820px) {
  .stats-grid { grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 2rem 1rem; }
  .stat b { font-size: clamp(1.35rem, 5.5vw, 1.9rem); }
}

/* --------------------------------------------------------------------------
   8. SPLIT FEATURE (about / intro blocks)
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
.split--reverse .split-media { order: 2; }

.split-media { position: relative; }
.split-media .media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--green-tint);
}
.split-media .media-frame img { width: 100%; object-fit: cover; }

.split-media .media-accent {
  position: absolute;
  z-index: 1;
  inset: auto auto -1.4rem -1.4rem;
  width: 120px; height: 120px;
  background:
    conic-gradient(var(--green) 90deg, transparent 90deg 180deg, var(--green) 180deg 270deg, transparent 270deg) 0 0 / 100% 100%;
  opacity: 0.16;
  border-radius: 18px;
}

.split-body .quote-signature {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.split-body .quote-signature img {
  width: 58px; height: 58px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--green-tint);
  box-shadow: var(--shadow-sm);
}
.split-body .quote-signature b { display: block; font-family: var(--font-display); font-size: 1rem; }
.split-body .quote-signature span { color: var(--gray); font-size: 0.9rem; }

@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: 0; }
  .split-media { max-width: 34rem; }
}

/* --------------------------------------------------------------------------
   9. SERVICE CARDS
   -------------------------------------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  gap: 1.6rem;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(43, 182, 115, 0.45);
}

.service-card .card-media {
  position: relative;
  aspect-ratio: 16 / 9.5;
  overflow: hidden;
  background: var(--green-tint);
}
.service-card .card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.service-card:hover .card-media img { transform: scale(1.055); }
.service-card .card-media .card-flag {
  position: absolute;
  left: 1.1rem; top: 1.1rem;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  color: var(--green-deep);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.42rem 0.8rem;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
/* transparent render (residential.png) sits on a brand gradient instead of a photo */
.service-card .card-media--render,
.service-card .card-media--cta {
  background:
    radial-gradient(26rem 16rem at 80% -20%, rgba(57, 181, 74, 0.32), transparent 60%),
    linear-gradient(150deg, #17352a 0%, #1d4a38 55%, #22654a 100%);
  display: grid;
  place-items: center;
}
.service-card .card-media--render img {
  width: 82%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 22px rgba(0, 0, 0, 0.35));
}
/* scope-and-quote note on service panels */
.scope-note {
  margin-top: 1rem;
  padding: 0.85rem 1.1rem;
  border-left: 3px solid var(--green);
  background: var(--green-tint);
  border-radius: 0 10px 10px 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* icon tile for "start here" style cards */
.service-card .card-media--cta .cta-glyph {
  width: 84px; height: 84px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  display: grid;
  place-items: center;
  color: #7fe0ae;
  transition: transform 0.4s var(--ease-spring), background 0.3s var(--ease);
}
.service-card:hover .card-media--cta .cta-glyph {
  transform: translateY(-4px) scale(1.06);
  background: rgba(43, 182, 115, 0.35);
}

.service-card .card-body { padding: 1.5rem 1.5rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.service-card .card-body p { color: var(--ink-soft); font-size: 0.97rem; margin-top: 0.55rem; flex: 1; }
.service-card .card-more {
  margin-top: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--green-deep);
}
.service-card .card-more svg { transition: transform 0.25s var(--ease); }
.service-card:hover .card-more svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   10. SERVICE DETAIL PANELS (residential/commercial pages)
   -------------------------------------------------------------------------- */
.service-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.service-panel + .service-panel { margin-top: 2.2rem; }

.service-panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}
.service-panel-grid.reverse { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.service-panel-grid.reverse .service-panel-media { order: 2; }

.service-panel-media { position: relative; min-height: 100%; background: var(--green-tint); }
.service-panel-media img { width: 100%; height: 100%; object-fit: cover; }

.service-panel-body { padding: clamp(1.75rem, 4vw, 2.75rem); }
.service-panel-body > p { color: var(--ink-soft); margin-top: 0.7rem; max-width: 38rem; }

.check-list {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
  gap: 0.7rem 1.6rem;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-weight: 500;
  font-size: 0.99rem;
}
.check-list .tick {
  width: 21px; height: 21px;
  flex: none;
  margin-top: 0.16rem;
  border-radius: 7px;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
}
.check-list .tick svg { width: 11px; height: 11px; }

@media (max-width: 880px) {
  .service-panel-grid, .service-panel-grid.reverse { grid-template-columns: 1fr; }
  .service-panel-grid.reverse .service-panel-media { order: 0; }
  .service-panel-media { max-height: 300px; }
}

/* --------------------------------------------------------------------------
   11. PROCESS STEPS
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 1.5rem;
  counter-reset: step;
}
.step {
  position: relative;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 1.7rem 1.6rem 1.8rem;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.step:hover { transform: translateY(-5px); border-color: rgba(43, 182, 115, 0.55); background: rgba(43, 182, 115, 0.09); }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: var(--green);
  display: inline-grid;
  place-items: center;
  width: 46px; height: 46px;
  border: 2px solid rgba(43, 182, 115, 0.5);
  border-radius: 12px;
  margin-bottom: 1.1rem;
}
.step h3 { font-size: 1.2rem; color: #fff; }
.step p { color: #b9c4bf; font-size: 0.95rem; margin-top: 0.55rem; }

/* --------------------------------------------------------------------------
   12. MATERIALS MARQUEE
   -------------------------------------------------------------------------- */
.materials { border-block: 1px solid var(--line); background: #fff; overflow: hidden; }
.materials-track {
  display: flex;
  gap: 3.2rem;
  width: max-content;
  padding: 1.35rem 3.2rem 1.35rem 0; /* trailing padding = one gap, keeps the -50% loop seamless */
  animation: marquee 30s linear infinite;
}
.materials:hover .materials-track { animation-play-state: paused; }
.materials-track span {
  display: flex;
  align-items: center;
  gap: 3.2rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--gray);
  white-space: nowrap;
}
.materials-track span::after {
  content: "";
  width: 9px; height: 9px;
  background: var(--green);
  border-radius: 2px;
  transform: rotate(45deg);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   13. CTA BAND
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(40rem 24rem at 15% 120%, rgba(57, 181, 74, 0.25), transparent 60%),
    radial-gradient(40rem 24rem at 90% -20%, rgba(43, 182, 115, 0.3), transparent 55%),
    var(--ink);
  color: #fff;
  text-align: center;
}
.cta-band .container { position: relative; padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.cta-band h2 { max-width: 30ch; margin-inline: auto; }
.cta-band p { color: #b9c4bf; max-width: 52ch; margin: 1rem auto 0; }
.cta-band .hero-actions { justify-content: center; }
.cta-band .contact-inline {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem 2.2rem;
  font-size: 1rem;
}
.cta-band .contact-inline a {
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}
.cta-band .contact-inline a:hover { color: var(--green); }
.cta-band .contact-inline svg { color: var(--green); }

/* --------------------------------------------------------------------------
   14. PAGE HERO (inner pages)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(46rem 26rem at 90% -30%, rgba(43, 182, 115, 0.16), transparent 60%),
    linear-gradient(180deg, #f2f7f4, #ffffff);
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(43, 182, 115, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43, 182, 115, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(50rem 30rem at 70% 0%, #000 20%, transparent 70%);
  mask-image: radial-gradient(50rem 30rem at 70% 0%, #000 20%, transparent 70%);
}
.page-hero .container {
  position: relative;
  padding-block: clamp(3rem, 6vw, 4.8rem);
  max-width: 52rem;
}
.page-hero p.lede { margin-top: 1rem; font-size: 1.13rem; color: var(--ink-soft); max-width: 44rem; }

/* --------------------------------------------------------------------------
   15. FORMS (inquiry + application)
   -------------------------------------------------------------------------- */
.form-shell {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(1.6rem, 4vw, 2.6rem);
}

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem 1.25rem; }
.form-grid .field--full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.field label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.45rem;
}
.field label .req { color: var(--green-deep); }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 11px;
  background: var(--paper);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field :is(input, select, textarea):hover { border-color: #c8d4cd; }
.field :is(input, select, textarea):focus {
  outline: none;
  border-color: var(--green);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(43, 182, 115, 0.15);
}

/* Reason chips */
.chip-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.62rem 1.15rem;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink-soft);
  background: #fff;
  transition: all 0.22s var(--ease);
}
.chip:hover { border-color: var(--green); color: var(--green-deep); transform: translateY(-1px); }
.chip[aria-pressed="true"] {
  background: var(--green-deep);
  border-color: var(--green-deep);
  color: #fff;
  box-shadow: 0 5px 14px rgba(23, 113, 74, 0.35);
}
.chip .chip-check { display: none; }
.chip[aria-pressed="true"] .chip-check { display: inline; }

/* File drop zone */
.dropzone {
  border: 2px dashed #c8d4cd;
  border-radius: var(--radius);
  background: var(--paper);
  padding: 1.6rem 1.4rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}
.dropzone:hover, .dropzone.is-drag { border-color: var(--green); background: var(--green-tint); }
.dropzone .dz-icon {
  width: 46px; height: 46px;
  margin: 0 auto 0.7rem;
  border-radius: 13px;
  background: #fff;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--green-deep);
  box-shadow: var(--shadow-sm);
}
.dropzone b { font-family: var(--font-display); font-size: 0.98rem; display: block; }
.dropzone small { color: var(--gray); font-size: 0.82rem; }

.file-list { margin-top: 0.9rem; display: grid; gap: 0.5rem; }
.file-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 0.85rem;
  background: var(--green-tint);
  border: 1px solid rgba(43, 182, 115, 0.25);
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  animation: file-in 0.3s var(--ease-spring);
}
@keyframes file-in { from { opacity: 0; transform: translateY(6px) scale(0.98); } }
.file-item .fi-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-item .fi-size { color: var(--gray); font-weight: 400; white-space: nowrap; }
.file-item .fi-remove {
  width: 26px; height: 26px; flex: none;
  border-radius: 8px;
  display: grid; place-items: center;
  color: var(--gray);
  transition: all 0.2s var(--ease);
}
.file-item .fi-remove:hover { background: rgba(35, 31, 32, 0.08); color: var(--ink); }

.file-meter { margin-top: 0.75rem; font-size: 0.83rem; color: var(--gray); }
.file-meter .meter {
  height: 5px;
  background: var(--line);
  border-radius: 99px;
  margin-top: 0.4rem;
  overflow: hidden;
}
.file-meter .meter i {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--green);
  border-radius: 99px;
  transition: width 0.3s var(--ease), background 0.3s var(--ease);
}
.file-meter.is-over .meter i { background: #d64545; }
.file-meter.is-over { color: #b23030; }

.form-status {
  display: none;
  margin-top: 1.1rem;
  padding: 0.95rem 1.15rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 500;
}
.form-status.is-ok { display: block; background: var(--green-tint); color: #17603f; border: 1px solid rgba(43, 182, 115, 0.35); }
.form-status.is-error { display: block; background: #fdeeee; color: #8f2f2f; border: 1px solid #f2c4c4; }

.form-note { font-size: 0.83rem; color: var(--gray); margin-top: 1rem; }

/* honeypot — hidden from humans, visible to bots */
.hp-field {
  position: absolute !important;
  left: -5000px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   16. CONTACT SPLIT
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: start;
}
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-card {
  background: var(--ink);
  color: #eef2f0;
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3.5vw, 2.4rem);
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: calc(var(--header-h-compact) + 1.5rem);
}
@media (max-width: 920px) { .contact-card { position: static; } }
.contact-card h2 { color: #fff; font-size: 1.35rem; }
.contact-card .cc-block { margin-top: 1.6rem; }
.contact-card .cc-block + .cc-block { padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.contact-card .cc-label {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.contact-card a { color: #fff; text-decoration: none; }
.contact-card a:hover { color: var(--green); }
.contact-card address { font-style: normal; line-height: 1.6; }
.contact-card .cc-line { display: flex; gap: 0.7rem; align-items: flex-start; }
.contact-card .cc-line + .cc-line { margin-top: 0.85rem; }
.contact-card .cc-note { margin-top: 0.85rem; }
.contact-card .cc-line svg { flex: none; margin-top: 0.2rem; color: var(--green); }
.cc-directions {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.4rem;
  font-weight: 600;
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   17. JOBS PAGE
   -------------------------------------------------------------------------- */
.job-list { display: grid; gap: 1.4rem; }

.job-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.job-card:hover { box-shadow: var(--shadow-md); border-color: rgba(43, 182, 115, 0.4); }

.job-card summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.45rem clamp(1.3rem, 3.5vw, 2rem);
  cursor: pointer;
}
.job-card summary::-webkit-details-marker { display: none; }
.job-card summary h3 { font-size: clamp(1.12rem, 2vw, 1.35rem); }
.job-card summary .job-meta { color: var(--gray); font-size: 0.92rem; margin-top: 0.2rem; }
.job-card summary .job-chev {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  display: grid; place-items: center;
  color: var(--green-deep);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.job-card[open] summary .job-chev { transform: rotate(180deg); background: var(--green); border-color: var(--green); color: #fff; }

.job-card .job-body {
  padding: 0.25rem clamp(1.3rem, 3.5vw, 2rem) 1.9rem;
  animation: job-open 0.35s var(--ease);
}
@keyframes job-open { from { opacity: 0; transform: translateY(-6px); } }
.job-card .job-body h4 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin: 1.5rem 0 0.7rem;
}
.job-card .job-body ul { display: grid; gap: 0.45rem; }
.job-card .job-body ul li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--ink-soft);
  font-size: 0.97rem;
}
.job-card .job-body ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.58em;
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 2.5px;
}

/* --------------------------------------------------------------------------
   18. PAGE-WIDE ENTRANCE / SCROLL REVEALS
   -------------------------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; }
  .hero-visual .house, .hero-chip, .materials-track { animation: none !important; }
}

/* ?capture=1 — deterministic rendering for full-page screenshots / QA */
html.capture-mode { scroll-behavior: auto !important; }
html.capture-mode *,
html.capture-mode *::before,
html.capture-mode *::after {
  animation: none !important;
  transition: none !important;
}
html.capture-mode [data-reveal] { opacity: 1 !important; transform: none !important; }
html.capture-mode .hero-visual .house,
html.capture-mode .hero-chip { animation: none !important; }

/* --------------------------------------------------------------------------
   19. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: #b9c4bf;
  padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 2.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-brand .logo-card {
  display: inline-block;
  background: #fff;
  border-radius: 14px;
  padding: 12px 16px;
  margin-bottom: 1.1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.footer-brand img { width: 172px; height: auto; }
.footer-brand p { max-width: 26rem; }

.site-footer h4 {
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.site-footer ul { display: grid; gap: 0.55rem; }
.site-footer a { color: #b9c4bf; text-decoration: none; transition: color 0.2s var(--ease); }
.site-footer a:hover { color: var(--green); }
.footer-contact li { display: flex; gap: 0.65rem; align-items: flex-start; }
.footer-contact svg { flex: none; margin-top: 0.2rem; color: var(--green); }

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  padding-top: 1.6rem;
  font-size: 0.86rem;
}
.footer-base a { color: #b9c4bf; }
.footer-base .footer-directions { white-space: nowrap; }

@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2.2rem; }
}

/* --------------------------------------------------------------------------
   20. 404
   -------------------------------------------------------------------------- */
.notfound { text-align: center; padding: clamp(5rem, 12vw, 9rem) 0; }
.notfound b {
  font-family: var(--font-display);
  font-size: clamp(5rem, 14vw, 9rem);
  font-weight: 700;
  color: var(--green);
  line-height: 1;
  display: block;
  margin-bottom: 0.5rem;
}

/* brand tile — replaces stock photography on commercial surfaces */
.brand-tile {
  display: grid;
  place-items: center;
  background:
    radial-gradient(26rem 16rem at 80% -20%, rgba(57, 181, 74, 0.3), transparent 60%),
    linear-gradient(150deg, #14332a 0%, #1b4434 55%, #1f5a41 100%);
}
.brand-tile .brand-tile-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 2px, transparent 2px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 2px, transparent 2px);
  background-size: 36px 36px;
  background-position: center;
}
.brand-tile .brand-tile-mark,
.brand-tile .brand-tile-inner {
  position: relative;
  z-index: 1;
}
.brand-tile .brand-tile-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}
.brand-tile .brand-tile-inner {
  display: grid;
  justify-items: center;
  gap: 0.4rem;
  text-align: center;
  padding: 1rem;
}
.brand-tile .brand-tile-inner b {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.95);
}
.brand-tile .brand-tile-inner > span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(127, 224, 174, 0.9);
}
