/* ==========================================================================
   Apex Exterior Services — design system
   Brand colours sampled directly from Media/Main Logo and colors.png
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@100..125,400..900&family=Barlow:wght@300;400;500;600;700&display=swap');

:root {
  /* --- brand (from logo) --- */
  --brand-blue:   #0060E8;
  --brand-orange: #F88000;
  --brand-green:  #78D040;
  --brand-gray:   #686868;

  /* --- lifted variants: brand colours are too dark for text on near-black --- */
  --blue-text:  #4D94FF;   /* 6.3:1 on --ink-900 */
  --green-text: #8FDD5E;

  /* --- surfaces (cool near-black, biased blue to sit with brand blue) --- */
  --ink-900: #0B0F14;
  --ink-800: #10161E;
  --ink-700: #161E28;
  --ink-600: #1E2833;

  /* --- text --- */
  --text:       #E8EDF2;   /* 15:1  */
  --text-muted: #9AA4B0;   /* 7.5:1 */
  --text-dim:   #6F7A87;   /* decorative / large only */

  --line:        rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .16);

  --danger:  #FF5A52;
  --success: var(--brand-green);

  /* --- spacing: 4/8 rhythm --- */
  --sp-1: .25rem;  --sp-2: .5rem;   --sp-3: .75rem;  --sp-4: 1rem;
  --sp-5: 1.5rem;  --sp-6: 2rem;    --sp-7: 3rem;    --sp-8: 4rem;
  --sp-9: 6rem;    --sp-10: 8rem;

  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 16px;

  --container: 1200px;
  --header-h: 76px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur-fast: 160ms;
  --dur: 240ms;

  --shadow-card: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px -12px rgba(0,0,0,.7);
  --shadow-pop:  0 24px 60px -20px rgba(0,0,0,.85);

  --z-header: 100;
  --z-drawer: 200;
  --z-bar:    150;
}

/* ==========================================================================
   base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  /* faint brand-coloured glows so the dark surface has some depth rather than
     reading as flat black. Kept under 11% so text contrast is unaffected. */
  background-color: var(--ink-900);
  background-image:
    radial-gradient(900px 620px at 10% 4%,  rgba(0, 96, 232, .11), transparent 62%),
    radial-gradient(820px 560px at 92% 24%, rgba(248, 128, 0, .075), transparent 62%),
    radial-gradient(900px 640px at 6% 52%,  rgba(120, 208, 64, .065), transparent 62%),
    radial-gradient(860px 600px at 96% 72%, rgba(0, 96, 232, .09), transparent 62%),
    radial-gradient(820px 560px at 20% 94%, rgba(248, 128, 0, .06), transparent 62%);
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: var(--text);
  font-family: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: 'Archivo', system-ui, sans-serif;
  font-variation-settings: 'wdth' 118;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.01em;
  text-transform: uppercase;
  margin: 0 0 var(--sp-4);
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 6.4vw, 4.6rem); }

/* The two-tone headline device: the accent half always drops to its own line.
   Scoped only to the hero before, which made it run into the preceding word
   ("DONEPROPERLY") anywhere else. */
h1 .accent,
h2 .accent { display: block; color: var(--brand-green); }
h2 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); font-variation-settings: 'wdth' 110; }
h4 { font-size: 1.0625rem; font-variation-settings: 'wdth' 108; letter-spacing: .01em; }

p { margin: 0 0 var(--sp-4); max-width: 68ch; }

a { color: var(--blue-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #7FB2FF; }

ul, ol { margin: 0 0 var(--sp-4); padding-left: 1.15rem; }
li { margin-bottom: var(--sp-2); }

strong { font-weight: 600; color: #fff; }

/* long user content / URLs must reflow, never force-break prose */
.wrap-anywhere { overflow-wrap: anywhere; min-width: 0; }

:focus-visible {
  outline: 3px solid var(--blue-text);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--brand-blue); color: #fff; }

/* anchors must clear the sticky header — keeps focus visible (WCAG 2.4.11) */
[id] { scroll-margin-top: calc(var(--header-h) + var(--sp-5)); }

.skip-link {
  position: absolute; left: var(--sp-4); top: var(--sp-4);
  transform: translateY(-200%);
  background: var(--brand-orange); color: #000;
  padding: var(--sp-3) var(--sp-5);
  border-radius: var(--radius-sm);
  font-weight: 700; text-decoration: none;
  z-index: 999;
  transition: transform var(--dur-fast) var(--ease);
}
.skip-link:focus { transform: translateY(0); color: #000; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ==========================================================================
   layout
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-5);
}
@media (min-width: 768px) { .container { padding-inline: var(--sp-6); } }

.section { padding-block: clamp(3.5rem, 8vw, var(--sp-9)); }
.section--tight { padding-block: clamp(2.5rem, 5vw, var(--sp-7)); }
.section--alt { background: rgba(16, 22, 30, .78); }

.section-head { max-width: 62ch; margin-bottom: var(--sp-7); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--text-muted); font-size: 1.125rem; margin-bottom: 0; }
.section-head--center p { margin-inline: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-family: 'Archivo', sans-serif;
  font-variation-settings: 'wdth' 100;
  font-size: .78rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue-text);
  margin-bottom: var(--sp-3);
}
.eyebrow::before {
  content: ''; width: 26px; height: 3px; flex: none;
  /* the signature: the three stripes of the logo's X */
  background: linear-gradient(90deg,
    var(--brand-blue) 0 33.33%,
    var(--brand-orange) 33.33% 66.66%,
    var(--brand-green) 66.66% 100%);
}
.eyebrow--center { justify-content: center; }

.grid { display: grid; gap: var(--sp-5); }
@media (min-width: 640px)  { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 640px)  { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }

/* the brand chevron, used as a section rule */
.stripe-rule {
  height: 4px; border: 0; margin: 0;
  background: linear-gradient(90deg,
    var(--brand-blue) 0 33.33%,
    var(--brand-orange) 33.33% 66.66%,
    var(--brand-green) 66.66% 100%);
}

/* ==========================================================================
   buttons
   ========================================================================== */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--sp-2);
  min-height: 48px;                 /* ≥44px touch target */
  padding: var(--sp-3) var(--sp-6);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: 'Archivo', sans-serif;
  font-variation-settings: 'wdth' 105;
  font-size: .95rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease),
              transform var(--dur-fast) var(--ease);
}
.btn:active { transform: scale(.98); }

/* ONE primary action per screen — orange is reserved for it */
.btn--primary { background: var(--brand-orange); color: #14100A; }
.btn--primary:hover { background: #FF9021; color: #14100A; }

.btn--blue { background: var(--brand-blue); color: #fff; }
.btn--blue:hover { background: #1B72F5; color: #fff; }

.btn--ghost {
  background: rgba(255,255,255,.04);
  border-color: var(--line-strong);
  color: var(--text);
}
.btn--ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); color: #fff; }

.btn--full { width: 100%; }
.btn--lg { min-height: 56px; padding-inline: var(--sp-6); font-size: 1rem; }

.btn svg { width: 18px; height: 18px; flex: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

/* text link with arrow */
.link-arrow {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-weight: 600; text-decoration: none;
  color: var(--blue-text);
  min-height: 44px;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--dur-fast) var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ==========================================================================
   header
   ========================================================================== */

.topbar {
  background: var(--ink-800);
  border-bottom: 1px solid var(--line);
  font-size: .875rem;
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-4); min-height: 44px;
}
.topbar a { color: var(--text-muted); text-decoration: none; display: inline-flex; align-items: center; gap: var(--sp-2); }
.topbar a:hover { color: var(--text); }
.topbar svg { width: 16px; height: 16px; }
.topbar__social { display: flex; gap: var(--sp-1); }
.topbar__social a {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
}
.topbar__social a:hover { background: rgba(255,255,255,.07); border-color: var(--line-strong); }
@media (max-width: 640px) { .topbar { display: none; } }

.header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgba(11, 15, 20, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-5); min-height: var(--header-h);
}
.brand { display: flex; align-items: center; flex: none; text-decoration: none; }
.brand img { height: 46px; width: auto; }
@media (min-width: 768px) { .brand img { height: 54px; } }

.nav { display: none; }
/* the header band runs wider than the content column — 8 nav items plus the
   phone and CTA do not fit inside 1200px */
.header .container, .topbar .container { max-width: 1440px; }

@media (min-width: 1300px) {
  .nav { display: flex; align-items: center; gap: 0; margin-left: auto; }
}
.nav__link {
  position: relative;
  display: inline-flex; align-items: center;
  min-height: 44px; padding: 0 var(--sp-2);
  font-family: 'Archivo', sans-serif;
  font-variation-settings: 'wdth' 100;
  font-size: .8rem; font-weight: 600;
  letter-spacing: .035em; text-transform: uppercase;
  color: var(--text-muted); text-decoration: none;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: color var(--dur-fast) var(--ease);
}
.nav__link:hover { color: var(--text); }
.nav__link[aria-current="page"] { color: #fff; }
/* active state uses the brand chevron, not just colour */
.nav__link[aria-current="page"]::after {
  content: ''; position: absolute; left: var(--sp-2); right: var(--sp-2); bottom: 11px;
  height: 3px;
  background: linear-gradient(90deg,
    var(--brand-blue) 0 33.33%,
    var(--brand-orange) 33.33% 66.66%,
    var(--brand-green) 66.66% 100%);
}

.header__actions { display: flex; align-items: center; gap: var(--sp-3); margin-left: auto; }
@media (min-width: 1300px) { .header__actions { margin-left: 0; } }
.header__phone {
  display: none; align-items: center; gap: var(--sp-2);
  font-family: 'Archivo', sans-serif; font-weight: 700;
  font-size: 1rem; letter-spacing: .02em;
  color: var(--text); text-decoration: none;
  min-height: 44px; padding-inline: var(--sp-2);
  white-space: nowrap;
}
.header__phone:hover { color: #fff; }
.header__phone svg { width: 18px; height: 18px; color: var(--brand-green); }
@media (min-width: 560px) { .header__phone { display: inline-flex; } }
.header .btn { display: none; }
@media (min-width: 768px) { .header .btn { display: inline-flex; } }

.burger {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--text); cursor: pointer;
}
.burger:hover { background: rgba(255,255,255,.1); }
.burger svg { width: 22px; height: 22px; }
@media (min-width: 1300px) { .burger { display: none; } }

/* mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: var(--z-drawer);
  display: grid; grid-template-columns: 1fr min(88vw, 380px);
  visibility: hidden;
}
.drawer[data-open="true"] { visibility: visible; }
.drawer__scrim {
  background: rgba(0,0,0,.66);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
  border: 0; padding: 0; cursor: pointer;
}
.drawer[data-open="true"] .drawer__scrim { opacity: 1; }
.drawer__panel {
  background: var(--ink-800);
  border-left: 1px solid var(--line);
  padding: var(--sp-5);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--dur) var(--ease);
  display: flex; flex-direction: column; gap: var(--sp-2);
}
.drawer[data-open="true"] .drawer__panel { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--sp-4); }
.drawer__close {
  width: 48px; height: 48px; flex: none;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  color: var(--text); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.drawer__close svg { width: 22px; height: 22px; }
.drawer__link {
  display: flex; align-items: center; min-height: 52px;
  padding: 0 var(--sp-3);
  border-bottom: 1px solid var(--line);
  font-family: 'Archivo', sans-serif; font-weight: 600;
  font-size: 1rem; letter-spacing: .04em; text-transform: uppercase;
  color: var(--text); text-decoration: none;
}
.drawer__link[aria-current="page"] { color: var(--blue-text); }
.drawer__sub {
  padding-left: var(--sp-5); font-size: .95rem;
  text-transform: none; letter-spacing: 0; color: var(--text-muted);
  min-height: 46px;
}

/* ==========================================================================
   hero
   ========================================================================== */

.hero { position: relative; overflow: hidden; background: var(--ink-900); }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
/* Dark enough for text on the left, light enough that the photo still reads
   on the right. Combined alpha behind the headline is ~0.93, so contrast holds. */
.hero__media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,15,20,.55) 0%, rgba(11,15,20,.42) 45%, rgba(11,15,20,.93) 100%),
    linear-gradient(90deg, rgba(11,15,20,.86) 0%, rgba(11,15,20,.55) 45%, rgba(11,15,20,.12) 100%);
}
.hero__inner {
  position: relative;
  z-index: 3;                       /* above the video (1) and its overlay (2) */
  display: grid; gap: var(--sp-7);
  padding-block: clamp(3rem, 8vw, var(--sp-9));
  align-items: center;
}
@media (min-width: 1000px) {
  .hero__inner { grid-template-columns: 1.05fr .95fr; gap: var(--sp-8); }
}
/* the global h1 scale is tuned for full-width headings; in the hero the
   headline shares the row with the quote card, so it needs its own ceiling */
.hero h1 {
  font-size: clamp(2.15rem, 4vw, 3.35rem);
  margin-bottom: var(--sp-4);
}
.hero h1 .accent { color: var(--brand-green); display: block; }
.hero__lede { font-size: 1.15rem; color: var(--text-muted); max-width: 54ch; }
.hero--compact .hero__inner { padding-block: clamp(2.5rem, 6vw, var(--sp-8)); }
.hero--compact .hero__inner { grid-template-columns: 1fr; }

/* google rating pill */
.rating-pill {
  display: inline-flex; align-items: center; gap: var(--sp-3);
  background: rgba(255,255,255,.07);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: var(--sp-2) var(--sp-4) var(--sp-2) var(--sp-3);
  margin-bottom: var(--sp-5);
  font-size: .9rem;
}
.rating-pill__stars { display: inline-flex; gap: 2px; color: #FFC53D; }
.rating-pill__stars svg { width: 16px; height: 16px; }
.rating-pill strong { font-family: 'Archivo', sans-serif; font-weight: 700; }

/* ==========================================================================
   quote form
   ========================================================================== */

.quote-card {
  background: var(--ink-700);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  box-shadow: var(--shadow-pop);
}
@media (min-width: 480px) { .quote-card { padding: var(--sp-6); } }
.quote-card__head { margin-bottom: var(--sp-5); }
.quote-card__head h2 { font-size: 1.5rem; margin-bottom: var(--sp-2); }
.quote-card__head p { font-size: .95rem; color: var(--text-muted); margin: 0; }

.field { margin-bottom: var(--sp-4); }
.field > label {
  display: block; margin-bottom: var(--sp-2);
  font-size: .85rem; font-weight: 600; letter-spacing: .02em;
  color: var(--text);
}
.field .req { color: var(--brand-orange); }
.field__hint { display: block; margin-top: var(--sp-2); font-size: .8rem; color: var(--text-muted); }

.input, .select, .textarea {
  width: 100%;
  min-height: 48px;                 /* mobile-friendly, ≥44px */
  padding: var(--sp-3) var(--sp-4);
  background: var(--ink-900);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;                  /* 16px — stops iOS auto-zoom */
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.textarea { min-height: 110px; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: var(--text-dim); }
.input:hover, .select:hover, .textarea:hover { border-color: rgba(255,255,255,.28); }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--blue-text);
  box-shadow: 0 0 0 3px rgba(77,148,255,.25);
}
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239AA4B0' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--sp-4) center;
  background-size: 18px;
  padding-right: var(--sp-8);
}
.field-row { display: grid; gap: var(--sp-4); }
@media (min-width: 520px) { .field-row--2 { grid-template-columns: 1fr 1fr; } }

/* validation */
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] {
  border-color: var(--danger);
}
.field__error {
  display: none;
  margin-top: var(--sp-2);
  font-size: .85rem; font-weight: 600; color: var(--danger);
}
.field__error::before { content: '⚠ '; }
.field[data-invalid="true"] .field__error { display: block; }

.form-summary {
  display: none;
  margin-bottom: var(--sp-5); padding: var(--sp-4);
  background: rgba(255,90,82,.1);
  border: 1px solid rgba(255,90,82,.45);
  border-left-width: 4px;
  border-radius: var(--radius-sm);
}
.form-summary[data-show="true"] { display: block; }
.form-summary h3 { font-size: 1rem; color: var(--danger); margin-bottom: var(--sp-2); }
.form-summary ul { margin: 0; padding-left: 1.1rem; font-size: .9rem; }
.form-summary a { color: var(--danger); }

.form-success {
  display: none;
  padding: var(--sp-5);
  background: rgba(120,208,64,.1);
  border: 1px solid rgba(120,208,64,.4);
  border-radius: var(--radius);
  text-align: center;
}
.form-success[data-show="true"] { display: block; }
.form-success h3 { color: var(--green-text); }
.form-success p { margin: 0 auto; color: var(--text-muted); }

.form-note { font-size: .8rem; color: var(--text-muted); text-align: center; margin: var(--sp-3) 0 0; }

/* ==========================================================================
   stat ticker
   ========================================================================== */

.ticker {
  position: relative;
  background: var(--ink-800);
  border-block: 1px solid var(--line);
  overflow: hidden;
  display: flex; align-items: center;
}
.ticker__viewport { overflow: hidden; flex: 1; }
.ticker__track {
  display: flex; align-items: center; gap: var(--sp-7);
  padding-block: var(--sp-4);
  width: max-content;
  animation: ticker-scroll 42s linear infinite;
}
.ticker[data-paused="true"] .ticker__track { animation-play-state: paused; }
.ticker__item {
  display: inline-flex; align-items: center; gap: var(--sp-3);
  font-family: 'Archivo', sans-serif;
  font-variation-settings: 'wdth' 104;
  font-size: .9rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-muted); white-space: nowrap;
}
.ticker__item b { color: var(--text); }
.ticker__dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* auto-moving content needs a control (WCAG 2.2.2) */
.ticker__toggle {
  flex: none; width: 44px; height: 44px;
  margin-inline: var(--sp-5) var(--sp-4);
  background: transparent; border: 1px solid var(--line);
  border-radius: var(--radius-sm); color: var(--text-muted);
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
.ticker__toggle:hover { color: var(--text); border-color: var(--line-strong); }
.ticker__toggle svg { width: 16px; height: 16px; }
.ticker__toggle .icon-play { display: none; }
.ticker[data-paused="true"] .ticker__toggle .icon-play { display: block; }
.ticker[data-paused="true"] .ticker__toggle .icon-pause { display: none; }

/* ==========================================================================
   cards
   ========================================================================== */

.card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--ink-700);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-600); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { padding: var(--sp-5); display: flex; flex-direction: column; flex: 1; }
.card__body h3 { margin-bottom: var(--sp-2); }
.card__body p { font-size: .95rem; color: var(--text-muted); flex: 1; margin-bottom: var(--sp-4); }
.card__price {
  font-family: 'Archivo', sans-serif; font-weight: 700;
  font-size: .85rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--green-text);
  margin-bottom: var(--sp-3);
}

/* whole-card link, keyboard reachable via the inner anchor */
.card__link::after { content: ''; position: absolute; inset: 0; }

.icon-badge {
  width: 46px; height: 46px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(0,96,232,.14);
  border: 1px solid rgba(0,96,232,.35);
  color: var(--blue-text);
  margin-bottom: var(--sp-4);
}
.icon-badge svg { width: 22px; height: 22px; }
.icon-badge--orange { background: rgba(248,128,0,.14); border-color: rgba(248,128,0,.35); color: var(--brand-orange); }
.icon-badge--green  { background: rgba(120,208,64,.14); border-color: rgba(120,208,64,.35); color: var(--green-text); }

/* ==========================================================================
   before / after slider
   ========================================================================== */

.ba {
  background: var(--ink-700);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.ba__stage {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ink-600);
  --pos: 50%;
}
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__img--after { clip-path: inset(0 0 0 var(--pos)); }
.ba__tag {
  position: absolute; top: var(--sp-3); z-index: 3;
  padding: var(--sp-1) var(--sp-3);
  background: rgba(11,15,20,.85);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: 'Archivo', sans-serif; font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
}
.ba__tag--before { left: var(--sp-3); color: var(--text-muted); }
.ba__tag--after  { right: var(--sp-3); color: var(--green-text); }

.ba__divider {
  position: absolute; top: 0; bottom: 0; left: var(--pos);
  width: 3px; margin-left: -1.5px; z-index: 4;
  background: #fff; pointer-events: none;
}
.ba__divider::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  width: 44px; height: 44px; transform: translate(-50%, -50%);
  border-radius: 50%; background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.5);
}
.ba__divider::before {
  content: ''; position: absolute; top: 50%; left: 50%; z-index: 1;
  width: 22px; height: 22px; transform: translate(-50%, -50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B0F14' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6-5 6 5 6'/%3E%3Cpath d='m15 6 5 6-5 6'/%3E%3C/svg%3E")
    center / 22px 22px no-repeat;
}

/* the range input IS the control: pointer + keyboard for free (WCAG 2.5.7) */
.ba__range {
  position: absolute; inset: 0; z-index: 5;
  width: 100%; height: 100%;
  margin: 0; padding: 0;
  background: transparent;
  appearance: none;
  cursor: ew-resize;
}
.ba__range::-webkit-slider-thumb {
  appearance: none; width: 48px; height: 100%;
  background: transparent; cursor: ew-resize;
}
.ba__range::-moz-range-thumb {
  width: 48px; height: 100%; border: 0;
  background: transparent; cursor: ew-resize;
}
.ba__range:focus-visible { outline: 3px solid var(--blue-text); outline-offset: -3px; }
.ba__caption { padding: var(--sp-4) var(--sp-5); border-top: 1px solid var(--line); }
.ba__caption h3 { font-size: 1.05rem; margin-bottom: var(--sp-1); }
.ba__caption p { font-size: .9rem; color: var(--text-muted); margin: 0; }
.ba__hint { font-size: .8rem; color: var(--text-dim); margin-top: var(--sp-2); }

/* ==========================================================================
   service area
   ========================================================================== */

.area { display: grid; gap: var(--sp-6); }
@media (min-width: 900px) { .area { grid-template-columns: 1fr 1fr; align-items: start; } }

.area__map {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-700);
}
.area__map svg { width: 100%; height: 100%; display: block; }

/* live map embed */
.area__frame {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 320px;
  border: 0;
}
.area__maplink {
  display: flex; align-items: center; justify-content: center; gap: var(--sp-2);
  min-height: 48px;
  border-top: 1px solid var(--line-strong);
  background: var(--ink-700);
  color: var(--text); text-decoration: none;
  font-family: 'Archivo', sans-serif;
  font-size: .74rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.area__maplink:hover { background: var(--ink-600); color: #fff; }
.area__maplink svg { width: 14px; height: 14px; }

.town-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-2); }
@media (min-width: 520px) { .town-list { grid-template-columns: 1fr 1fr; } }
.town-list li { margin: 0; }
.town-list a {
  display: flex; align-items: center; gap: var(--sp-3);
  min-height: 48px; padding: var(--sp-2) var(--sp-3);
  background: var(--ink-700);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text); text-decoration: none;
  font-size: .95rem;
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.town-list a:hover { background: var(--ink-600); border-color: var(--line-strong); color: #fff; }
.town-list .num {
  font-family: 'Archivo', sans-serif; font-weight: 700;
  font-size: .8rem; color: var(--blue-text);
  font-variant-numeric: tabular-nums;
  flex: none; min-width: 1.6em;
}

/* ==========================================================================
   pricing
   ========================================================================== */

.price-card {
  display: flex; flex-direction: column;
  background: var(--ink-700);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
}
.price-card--featured {
  border-color: rgba(248,128,0,.5);
  background: linear-gradient(180deg, rgba(248,128,0,.07), transparent 40%), var(--ink-700);
}
.price-card__flag {
  align-self: flex-start;
  padding: var(--sp-1) var(--sp-3);
  border-radius: 999px;
  background: var(--brand-orange); color: #14100A;
  font-family: 'Archivo', sans-serif; font-size: .7rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: var(--sp-4);
}
.price-card h3 { margin-bottom: var(--sp-2); }
.price-card__amount {
  font-family: 'Archivo', sans-serif;
  font-variation-settings: 'wdth' 115;
  font-size: 2.6rem; font-weight: 800; line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
  margin-bottom: var(--sp-1);
}
.price-card__amount .from {
  display: block; font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; color: var(--text-muted);
  margin-bottom: var(--sp-2);
}
.price-card__unit { font-size: 1rem; color: var(--text-muted); font-weight: 500; }
.price-card__desc { font-size: .93rem; color: var(--text-muted); margin-block: var(--sp-4); }
.price-card__list { list-style: none; margin: 0 0 var(--sp-6); padding: 0; flex: 1; }
.price-card__list li {
  display: flex; align-items: flex-start; gap: var(--sp-3);
  padding-block: var(--sp-2);
  border-bottom: 1px solid var(--line);
  font-size: .93rem;
}
.price-card__list svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--green-text); }

/* ==========================================================================
   reviews
   ========================================================================== */

.review {
  display: flex; flex-direction: column;
  background: var(--ink-700);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--sp-5);
}
.review__stars { display: flex; gap: 2px; color: #FFC53D; margin-bottom: var(--sp-3); }
.review__stars svg { width: 17px; height: 17px; }
.review blockquote { margin: 0 0 var(--sp-4); font-size: 1rem; color: var(--text); flex: 1; }
.review__by { display: flex; align-items: center; gap: var(--sp-3); font-size: .88rem; color: var(--text-muted); }
.review__avatar {
  width: 38px; height: 38px; flex: none; border-radius: 50%;
  background: var(--ink-600);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Archivo', sans-serif; font-weight: 700; color: var(--blue-text);
}

/* ==========================================================================
   faq
   ========================================================================== */

.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-4);
  min-height: 64px; padding: var(--sp-4) 0;
  background: none; border: 0;
  color: var(--text); text-align: left;
  font-family: 'Archivo', sans-serif;
  font-variation-settings: 'wdth' 108;
  font-size: 1.05rem; font-weight: 700; letter-spacing: .01em;
  cursor: pointer;
}
.faq__q:hover { color: #fff; }
.faq__q svg { width: 20px; height: 20px; flex: none; color: var(--blue-text); transition: transform var(--dur) var(--ease); }
.faq__q[aria-expanded="true"] svg { transform: rotate(45deg); }
.faq__a { display: none; padding-bottom: var(--sp-5); }
.faq__a[data-open="true"] { display: block; }
.faq__a p { color: var(--text-muted); margin-bottom: 0; }

/* ==========================================================================
   cta band
   ========================================================================== */

.cta-band {
  position: relative;
  background: linear-gradient(120deg, #06254F 0%, var(--ink-800) 60%);
  border-block: 1px solid var(--line);
  overflow: hidden;
}
.cta-band__inner {
  position: relative;
  display: grid; gap: var(--sp-5);
  padding-block: clamp(3rem, 7vw, var(--sp-8));
  align-items: center;
}
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: 1.4fr 1fr; } }
.cta-band h2 { margin-bottom: var(--sp-3); }
.cta-band p { color: var(--text-muted); margin-bottom: 0; font-size: 1.1rem; }
.cta-band .btn-row { justify-content: flex-start; }
@media (min-width: 900px) { .cta-band .btn-row { justify-content: flex-end; } }

/* ==========================================================================
   footer
   ========================================================================== */

.footer { background: var(--ink-800); border-top: 1px solid var(--line); }
.footer__grid {
  display: grid; gap: var(--sp-6);
  padding-block: var(--sp-8);
}
@media (min-width: 640px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer h4 {
  font-size: .82rem; letter-spacing: .14em;
  color: var(--text-muted); margin-bottom: var(--sp-4);
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: var(--sp-1); }
.footer a {
  color: var(--text-muted); text-decoration: none;
  display: inline-flex; align-items: center; gap: var(--sp-2);
  min-height: 40px; font-size: .95rem;
}
.footer a:hover { color: var(--text); }
.footer__logo img { height: 58px; width: auto; margin-bottom: var(--sp-4); }
.footer__about { font-size: .95rem; color: var(--text-muted); }
.footer svg { width: 16px; height: 16px; flex: none; }
.footer__bottom {
  border-top: 1px solid var(--line);
  padding-block: var(--sp-5);
  display: flex; flex-wrap: wrap; gap: var(--sp-3);
  align-items: center; justify-content: space-between;
  font-size: .85rem; color: var(--text-dim);
}
.footer__bottom p { margin: 0; }

/* ==========================================================================
   sticky mobile contact bar
   ========================================================================== */

.contact-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-bar);
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: rgba(16, 22, 30, .97);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line-strong);
  padding-bottom: env(safe-area-inset-bottom);
}
.contact-bar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; min-height: 60px; padding: var(--sp-2);
  color: var(--text-muted); text-decoration: none;
  font-family: 'Archivo', sans-serif; font-size: .7rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  border-right: 1px solid var(--line);
}
.contact-bar a:last-child { border-right: 0; }
.contact-bar a:hover, .contact-bar a:active { color: #fff; background: rgba(255,255,255,.06); }
.contact-bar svg { width: 20px; height: 20px; }
.contact-bar a:nth-child(1) svg { color: var(--brand-green); }
.contact-bar a:nth-child(2) svg { color: var(--blue-text); }
.contact-bar a:nth-child(3) svg { color: var(--brand-orange); }
.contact-bar a:nth-child(4) svg { color: var(--text-muted); }

@media (min-width: 1300px) { .contact-bar { display: none; } }
/* keep the bar from covering page content / focused controls */
@media (max-width: 1299px) { body { padding-bottom: 60px; } }

/* ==========================================================================
   misc
   ========================================================================== */

.breadcrumb { font-size: .85rem; color: var(--text-muted); margin-bottom: var(--sp-4); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: var(--sp-2); margin: 0; padding: 0; }
.breadcrumb li { margin: 0; display: flex; align-items: center; gap: var(--sp-2); }
.breadcrumb li + li::before { content: '/'; color: var(--text-dim); }
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--text); text-decoration: underline; }

.prose h2 { margin-top: var(--sp-7); }
.prose h3 { margin-top: var(--sp-6); }
.prose ul li { color: var(--text-muted); }

.checklist { list-style: none; padding: 0; }
.checklist li { display: flex; align-items: flex-start; gap: var(--sp-3); color: var(--text-muted); }
.checklist svg { width: 19px; height: 19px; flex: none; margin-top: 4px; color: var(--green-text); }

.split { display: grid; gap: var(--sp-6); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: var(--sp-8); } }
.split__media img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.placeholder-note {
  display: block;
  background: rgba(248,128,0,.1);
  border: 1px dashed rgba(248,128,0,.5);
  border-radius: var(--radius-sm);
  padding: var(--sp-2) var(--sp-3);
  font-size: .8rem; color: var(--brand-orange);
}

/* ==========================================================================
   reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .ticker__track { animation: none; }
  .card:hover { transform: none; }
  .card:hover .card__media img { transform: none; }
}

/* ==========================================================================
   service card extras — tag badge + icon fallback for services with no photo
   ========================================================================== */

.card__media { position: relative; }

.card__tag {
  position: absolute; left: var(--sp-3); top: var(--sp-3); z-index: 2;
  padding: var(--sp-1) var(--sp-3);
  background: rgba(11, 15, 20, .8);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  backdrop-filter: blur(6px);
  font-family: 'Archivo', sans-serif;
  font-size: .68rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--text);
}

/* keeps the grid rhythm intact when a service has no photograph yet */
.card__media--icon {
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(130% 130% at 28% 0%, rgba(0, 96, 232, .22), transparent 62%),
    var(--ink-600);
}
.card__glyph {
  display: inline-flex; align-items: center; justify-content: center;
  width: 78px; height: 78px; border-radius: 50%;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line-strong);
  color: var(--blue-text);
}
.card__glyph svg { width: 34px; height: 34px; }

/* service pages with no photo get a brand gradient instead of a dark box */
.hero__media--flat {
  background: linear-gradient(120deg, #06254F 0%, var(--ink-800) 55%, var(--ink-900) 100%);
}
.hero__media--flat::after {
  background: linear-gradient(180deg, rgba(11, 15, 20, .2) 0%, rgba(11, 15, 20, .8) 100%);
}

/* ==========================================================================
   centred section header with a small letterspaced line underneath
   ========================================================================== */

.section-sub {
  font-family: 'Archivo', sans-serif;
  font-variation-settings: 'wdth' 100;
  font-size: .76rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--text-muted);
  margin: var(--sp-3) 0 0;
}
.section-head--center .section-sub { margin-inline: auto; }

/* ==========================================================================
   about strip — sits between the hero and the service blocks
   ========================================================================== */

.about-strip { display: grid; gap: var(--sp-7); align-items: center; }
@media (min-width: 900px) {
  .about-strip { grid-template-columns: 1.15fr .85fr; gap: var(--sp-8); }
}
.about-strip h2 { margin-bottom: var(--sp-4); }
.about-strip p { color: var(--text-muted); }
.about-strip__media { justify-self: center; }
.about-strip__media img {
  width: min(360px, 78vw);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .9);
}

.about-facts {
  list-style: none; padding: 0; margin: var(--sp-5) 0 0;
  display: grid; gap: var(--sp-3);
}
@media (min-width: 560px) { .about-facts { grid-template-columns: 1fr 1fr; } }
.about-facts li {
  display: flex; align-items: center; gap: var(--sp-3);
  margin: 0; font-size: .98rem; font-weight: 600; color: var(--text);
}
.about-facts .dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }

/* ==========================================================================
   compact service tiles
   ========================================================================== */

/* Flex rather than grid on purpose: a short final row (11 services at 4 across
   leaves 3) centres itself, which grid cannot do without extra markup. */
.svc-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-4);
}
.svc { flex: 0 1 100%; }
@media (min-width: 560px)  { .svc { flex-basis: calc((100% - var(--sp-4)) / 2); } }
@media (min-width: 900px)  { .svc { flex-basis: calc((100% - 2 * var(--sp-4)) / 3); } }
@media (min-width: 1180px) { .svc { flex-basis: calc((100% - 3 * var(--sp-4)) / 4); } }

.svc {
  position: relative;
  display: flex; flex-direction: column;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, .04), transparent 55%),
    var(--ink-700);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.svc:hover { transform: translateY(-3px); }

.svc__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--ink-600);
}
.svc__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 500ms var(--ease);
}
.svc:hover .svc__media img { transform: scale(1.05); }

/* no photo yet — same footprint, deliberate look */
.svc__media--icon {
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(130% 130% at 28% 0%, rgba(0, 96, 232, .2), transparent 62%),
    var(--ink-600);
}
.svc__glyph {
  display: inline-flex; align-items: center; justify-content: center;
  width: 74px; height: 74px; border-radius: 50%;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line-strong);
}
.svc__glyph svg { width: 32px; height: 32px; }

.svc__tag {
  position: absolute; left: var(--sp-3); top: var(--sp-3); z-index: 2;
  padding: 4px var(--sp-3);
  border-radius: 999px;
  backdrop-filter: blur(6px);
  font-family: 'Archivo', sans-serif;
  font-size: .64rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
}

.svc__body {
  display: flex; flex-direction: column; flex: 1;
  padding: var(--sp-5);
}
.svc__title { font-size: 1.08rem; margin-bottom: var(--sp-2); }
.svc__desc {
  font-size: .89rem; color: var(--text-muted);
  flex: 1; margin-bottom: var(--sp-4); max-width: none;
}
.svc__link {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  align-self: flex-start;
  min-height: 44px;
  padding: 0 var(--sp-4);
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line-strong);
  color: var(--text); text-decoration: none;
  font-family: 'Archivo', sans-serif;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.svc__link svg { width: 14px; height: 14px; }
.svc__link::after { content: ''; position: absolute; inset: 0; }

/* one accent per block so the three sections read as distinct families */
.svc--residential .svc__tag  { background: rgba(2,32,74,.82);  border: 1px solid rgba(0,96,232,.5);  color: #9BC4FF; }
.svc--residential .svc__glyph { color: var(--blue-text); }
.svc--residential:hover      { border-color: rgba(0,96,232,.5); }
.svc--residential .svc__link:hover { background: rgba(0,96,232,.18); border-color: rgba(0,96,232,.55); color: #fff; }

.svc--hardscape .svc__tag  { background: rgba(58,28,0,.82); border: 1px solid rgba(248,128,0,.5); color: #FFC07A; }
.svc--hardscape .svc__glyph { color: var(--brand-orange); }
.svc--hardscape:hover      { border-color: rgba(248,128,0,.5); }
.svc--hardscape .svc__link:hover { background: rgba(248,128,0,.18); border-color: rgba(248,128,0,.55); color: #fff; }

.svc--commercial .svc__tag  { background: rgba(24,48,8,.82); border: 1px solid rgba(120,208,64,.5); color: #B6EE86; }
.svc--commercial .svc__glyph { color: var(--green-text); }
.svc--commercial:hover      { border-color: rgba(120,208,64,.5); }
.svc--commercial .svc__link:hover { background: rgba(120,208,64,.18); border-color: rgba(120,208,64,.55); color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .svc:hover { transform: none; }
  .svc:hover .svc__media img { transform: none; }
}

/* ==========================================================================
   hero video background
   ========================================================================== */

.hero__media--video { position: absolute; inset: 0; }
.hero__poster,
.hero__video {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%;
  object-fit: cover;
}
/* the video fades in over the poster once it can actually play, so there is
   never a black gap while it buffers */
.hero__video { opacity: 0; transition: opacity 900ms var(--ease); }
.hero__video.is-playing { opacity: 1; }
/* the darkening gradient has to sit above both layers */
.hero__media::after { z-index: 2; }

/* ==========================================================================
   scroll reveal
   The hidden state is scoped to .reveal-ready, which JS adds. Without JS —
   or with reduced motion — everything is simply visible.
   ========================================================================== */

.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal-ready [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal-ready [data-reveal] {
    opacity: 1; transform: none; transition: none;
  }
  .hero__video { display: none; }
}

/* ==========================================================================
   property plans — homepage strip
   ========================================================================== */

/* align-items: stretch is the point — the photo column takes the full height
   of the text column instead of leaving a void under the buttons */
.plans-strip {
  display: grid;
  gap: var(--sp-6);
  align-items: stretch;
}
@media (min-width: 980px) {
  .plans-strip { grid-template-columns: 1.08fr .92fr; gap: var(--sp-8); }
}

.plans-strip__body { display: flex; flex-direction: column; }
.plans-strip h2 { margin-bottom: var(--sp-4); }
.plans-strip__lede { color: var(--text-muted); margin-bottom: var(--sp-6); }
.plans-strip .checklist { margin-bottom: var(--sp-6); }
.plans-strip .checklist li { color: var(--text); font-size: 1.02rem; }

.plans-note {
  padding: var(--sp-5);
  margin-bottom: var(--sp-6);
  background: rgba(0, 96, 232, .09);
  border: 1px solid rgba(0, 96, 232, .32);
  border-left-width: 4px;
  border-radius: var(--radius);
}
.plans-note h3 { font-size: 1rem; margin-bottom: var(--sp-2); color: var(--blue-text); }
.plans-note p { margin: 0; font-size: .95rem; color: var(--text-muted); }

/* the button row sits last, so push it to the bottom of the column */
.plans-strip .btn-row { margin-top: auto; }

.plans-strip__media {
  position: relative;
  min-height: 320px;          /* mobile, where the grid is a single column */
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-strong);
}
.plans-strip__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
/* a touch of brand light across the photo so it sits in the page rather than
   reading as a pasted-in rectangle */
.plans-strip__media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(0, 96, 232, .18), transparent 55%);
  pointer-events: none;
}

/* ==========================================================================
   plan group cards
   ========================================================================== */

.plan-group-grid { display: grid; gap: var(--sp-5); }
@media (min-width: 760px)  { .plan-group-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .plan-group-grid { grid-template-columns: repeat(3, 1fr); } }

.plan-group {
  display: flex; flex-direction: column;
  background: var(--ink-700);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.plan-group:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.plan-group--featured {
  border-color: rgba(248, 128, 0, .5);
  background: linear-gradient(180deg, rgba(248, 128, 0, .09), transparent 38%), var(--ink-700);
}
.plan-group__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.plan-group__media img { width: 100%; height: 100%; object-fit: cover; }
.plan-group__tag {
  position: absolute; left: var(--sp-3); top: var(--sp-3);
  padding: 4px var(--sp-3);
  border-radius: 999px;
  background: rgba(11, 15, 20, .82);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(6px);
  font-family: 'Archivo', sans-serif;
  font-size: .64rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--text);
}
.plan-group--featured .plan-group__tag {
  background: var(--brand-orange); border-color: transparent; color: #14100A;
}
.plan-group__body { display: flex; flex-direction: column; flex: 1; padding: var(--sp-5); }
.plan-group__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line-strong);
  color: var(--blue-text);
  margin-bottom: var(--sp-4);
}
.plan-group--featured .plan-group__icon { color: var(--brand-orange); }
.plan-group__icon svg { width: 21px; height: 21px; }
.plan-group__body h3 { margin-bottom: var(--sp-2); }
.plan-group__body p { font-size: .93rem; color: var(--text-muted); flex: 1; margin-bottom: var(--sp-5); }

/* ==========================================================================
   tier value stack
   ========================================================================== */

.price-card__blurb { font-size: .93rem; color: var(--text-muted); margin-bottom: var(--sp-5); }
.price-card__annual { font-size: .9rem; color: var(--text-muted); margin-bottom: var(--sp-4); }

.price-stack {
  display: flex; flex-wrap: wrap; gap: var(--sp-4);
  justify-content: space-between;
  padding: var(--sp-4);
  margin-bottom: var(--sp-5);
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.price-stack__label {
  display: block;
  font-family: 'Archivo', sans-serif;
  font-size: .62rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.price-stack s { color: var(--text-muted); font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.price-stack__save { text-align: right; }
.price-stack__save strong {
  color: var(--green-text); font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
}

@media (prefers-reduced-motion: reduce) { .plan-group:hover { transform: none; } }

/* Eyebrow keeps the left edge; the pill drops to its own line and centres.
   They cannot share a line — the pill alone is 291px and the hero column is
   563px, so inline flow crushed them to a 3px gap. */
.hero__meta { margin-bottom: var(--sp-5); }
.hero__meta .eyebrow { margin-bottom: var(--sp-4); }
.hero__meta .rating-pill {
  display: flex;
  width: fit-content;
  margin-inline: 0;          /* flush left with the headline and buttons */
}

/* ==========================================================================
   nav dropdown + sliding indicator
   ========================================================================== */

.nav { position: relative; }

.nav__group { position: relative; display: inline-flex; }

/* the dropdown parent is a button (it opens a menu, it is not a destination),
   so it needs the button chrome stripped back to match the link siblings */
.nav__link--parent {
  background: none;
  border: 0;
  cursor: pointer;
  gap: var(--sp-1);
  padding-right: var(--sp-1);   /* the chevron already adds visual width */
}
.nav__link--parent svg {
  width: 13px; height: 13px;
  transition: transform var(--dur-fast) var(--ease);
}
.nav__group[data-open="true"] .nav__link--parent svg { transform: rotate(180deg); }

.nav__menu {
  position: absolute; top: 100%; left: 0;
  /* The 11-item residential menu is ~530px tall. The old min(60vh, 520px) cut
     it by a hair, which is all it takes to summon a scrollbar. This clears it
     on any normal window and only engages on a genuinely short one, so the
     menu still can't be cut off. */
  max-height: calc(100vh - 8rem);
  overflow-y: auto;
  z-index: 20;
  min-width: 210px;
  padding: var(--sp-2);
  background: var(--ink-800);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-pop);
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--dur) var(--ease),
              transform var(--dur) var(--ease),
              visibility var(--dur) var(--ease);
}
.nav__group[data-open="true"] .nav__menu {
  opacity: 1; visibility: visible; transform: none;
}
.nav__subitem {
  display: flex; align-items: center;
  min-height: 44px; padding: 0 var(--sp-3);
  border-radius: var(--radius-sm);
  color: var(--text-muted); text-decoration: none;
  font-family: 'Archivo', sans-serif;
  font-size: .8rem; font-weight: 600;
  letter-spacing: .035em; text-transform: uppercase;
  white-space: nowrap;
}
.nav__subitem:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.nav__subitem[aria-current="page"] { color: var(--blue-text); }

/* the brand chevron, now a single bar that slides between items */
.nav__indicator {
  position: absolute; left: 0; bottom: 11px;
  height: 3px; width: 0;
  background: linear-gradient(90deg,
    var(--brand-blue) 0 33.33%,
    var(--brand-orange) 33.33% 66.66%,
    var(--brand-green) 66.66% 100%);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--dur) var(--ease),
              width var(--dur) var(--ease),
              opacity var(--dur-fast) var(--ease);
}
/* once JS drives the bar, drop the per-link static one so there is only ever
   one indicator on screen. Without JS the static rule still applies. */
.nav[data-slider="on"] .nav__link[aria-current="page"]::after { display: none; }

.drawer__heading {
  margin: var(--sp-4) 0 var(--sp-1);
  font-family: 'Archivo', sans-serif;
  font-size: .7rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-dim);
}

@media (prefers-reduced-motion: reduce) {
  .nav__indicator { transition: none; }
  .nav__menu { transition: none; }
}

/* ==========================================================================
   FAQs page
   ========================================================================== */

.faq-service { margin-bottom: var(--sp-7); }
.faq-service__name {
  font-size: 1.05rem;
  margin-bottom: var(--sp-2);
  color: var(--text-muted);
}
.faq-service__name a { color: var(--blue-text); text-decoration: none; }
.faq-service__name a:hover { text-decoration: underline; }

/* ==========================================================================
   service pages — centred hero, promises, plan promo
   ========================================================================== */

.hero--centred .hero__inner { grid-template-columns: 1fr; }
.hero--centred .hero__inner > div {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}
.hero--centred .breadcrumb ol { justify-content: center; }
.hero--centred h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
.hero--centred .hero__lede { margin-inline: auto; }
.hero--centred .btn-row { justify-content: center; }

.chip {
  display: inline-flex; align-items: center;
  padding: var(--sp-2) var(--sp-4);
  margin-bottom: var(--sp-4);
  border-radius: 999px;
  background: rgba(0, 96, 232, .16);
  border: 1px solid rgba(0, 96, 232, .4);
  color: #9BC4FF;
  font-family: 'Archivo', sans-serif;
  font-size: .7rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
}

.rating-card {
  display: inline-flex; flex-direction: column; align-items: center; gap: 2px;
  padding: var(--sp-4) var(--sp-6);
  margin-block: var(--sp-5);
  background: rgba(11, 15, 20, .72);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
}
.rating-card__label {
  font-family: 'Archivo', sans-serif;
  font-size: .66rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-muted);
}
.rating-card__row { display: inline-flex; align-items: center; gap: var(--sp-3); }
.rating-card__row strong {
  font-family: 'Archivo', sans-serif;
  font-size: 1.5rem; font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.rating-card__stars { display: inline-flex; gap: 2px; color: #FFC53D; }
.rating-card__stars svg { width: 15px; height: 15px; }
.rating-card__link {
  font-family: 'Archivo', sans-serif;
  font-size: .66rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-muted); text-decoration: none;
}
.rating-card__link:hover { color: var(--blue-text); }

/* photo with the floating credential badge */
.split-photo { position: relative; }
.split-photo img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
}
.split-photo--icon {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(130% 130% at 28% 0%, rgba(0, 96, 232, .22), transparent 62%),
    var(--ink-600);
  color: var(--blue-text);
}
.split-photo__badge {
  position: absolute; left: var(--sp-5); bottom: calc(var(--sp-5) * -1);
  display: inline-flex; align-items: center; gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5);
  background: var(--ink-700);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-pop);
  max-width: calc(100% - var(--sp-8));
}
.split-photo__badge svg { width: 20px; height: 20px; flex: none; color: var(--green-text); }
.split-photo__badge strong {
  display: block;
  font-family: 'Archivo', sans-serif; font-size: .92rem;
}
.split-photo__badge span span {
  font-size: .78rem; color: var(--text-muted);
}
@media (max-width: 899px) { .split-photo__badge { position: static; margin-top: var(--sp-4); } }

.include-card {
  padding: var(--sp-6);
  background: var(--ink-700);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
@media (min-width: 760px) {
  .include-card__list { columns: 2; column-gap: var(--sp-7); }
  .include-card__list li { break-inside: avoid; }
}

.promise { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--sp-5); }
.promise li { display: flex; gap: var(--sp-4); margin: 0; }
.promise__icon {
  flex: none;
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(120, 208, 64, .14);
  border: 1px solid rgba(120, 208, 64, .38);
  color: var(--green-text);
}
.promise__icon svg { width: 19px; height: 19px; }
.promise h3 { font-size: 1.05rem; margin-bottom: var(--sp-1); }
.promise p { font-size: .93rem; color: var(--text-muted); margin: 0; }

/* ==========================================================================
   plan promo — the card with the pulsing brand glow
   ========================================================================== */

.plan-promo { position: relative; isolation: isolate; }

/* the glow itself: a blurred brand-gradient sitting behind the card, drifting
   and breathing so the block catches the eye without moving anything */
.plan-promo::before {
  content: '';
  position: absolute; inset: -3px;
  z-index: -1;
  border-radius: calc(var(--radius-lg) + 4px);
  background: linear-gradient(120deg,
    var(--brand-blue), var(--brand-orange), var(--brand-green), var(--brand-blue));
  background-size: 300% 300%;
  filter: blur(16px);
  opacity: .38;
  animation: promo-glow 7s ease-in-out infinite;
}

.plan-promo__inner {
  position: relative;
  padding: clamp(2rem, 5vw, var(--sp-8));
  text-align: center;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, .14);
  background:
    radial-gradient(120% 140% at 50% 0%, rgba(0, 96, 232, .18), transparent 60%),
    var(--ink-700);
}
.plan-promo__badge {
  display: inline-flex;
  padding: var(--sp-2) var(--sp-4);
  margin-bottom: var(--sp-4);
  border-radius: 999px;
  background: var(--brand-orange); color: #14100A;
  font-family: 'Archivo', sans-serif;
  font-size: .68rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
}
.plan-promo h2 { margin-bottom: var(--sp-4); }
.plan-promo h2 .accent { color: var(--brand-green); }
.plan-promo p {
  max-width: 60ch; margin: 0 auto var(--sp-6);
  color: var(--text-muted); font-size: 1.05rem;
}

@keyframes promo-glow {
  0%, 100% { opacity: .3;  background-position: 0% 50%; }
  50%      { opacity: .62; background-position: 100% 50%; }
}

/* a pulsing glow is exactly the kind of thing reduced-motion is for — hold it
   at a steady, still state rather than removing the emphasis entirely */
@media (prefers-reduced-motion: reduce) {
  .plan-promo::before { animation: none; opacity: .4; }
}

/* ==========================================================================
   hardscape pages — project layout
   ========================================================================== */

.chip--hardscape {
  background: rgba(248, 128, 0, .16);
  border-color: rgba(248, 128, 0, .42);
  color: #FFC07A;
}

/* content + sticky sidebar */
.layout-aside { display: grid; gap: var(--sp-7); align-items: start; }
@media (min-width: 1000px) {
  .layout-aside { grid-template-columns: minmax(0, 1fr) 340px; gap: var(--sp-8); }
}
.aside__sticky { position: sticky; top: calc(var(--header-h) + var(--sp-5)); }

.side-nav {
  padding: var(--sp-4);
  background: var(--ink-700);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: var(--sp-5);
}
.side-nav__title {
  margin: 0 0 var(--sp-2);
  padding-inline: var(--sp-3);
  font-family: 'Archivo', sans-serif;
  font-size: .68rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-dim);
}
.side-nav__item {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3);
  min-height: 52px; padding: 0 var(--sp-3);
  border-radius: var(--radius-sm);
  border-bottom: 1px solid var(--line);
  color: var(--text-muted); text-decoration: none;
  font-family: 'Archivo', sans-serif;
  font-size: .9rem; font-weight: 600;
}
.side-nav__item:last-child { border-bottom: 0; }
.side-nav__item svg { width: 15px; height: 15px; opacity: .55; }
.side-nav__item:hover { background: rgba(255, 255, 255, .05); color: #fff; }
.side-nav__item.is-current {
  color: #fff;
  background: rgba(248, 128, 0, .1);
}
.side-nav__item.is-current::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand-orange); flex: none; margin-right: var(--sp-1);
}
.side-nav__item.is-current svg { display: none; }
/* with the arrow hidden, space-between flings the label to the far edge —
   push it back against the dot */
.side-nav__item.is-current > span { margin-right: auto; }

.side-cta {
  padding: var(--sp-5);
  background:
    radial-gradient(120% 130% at 50% 0%, rgba(248, 128, 0, .14), transparent 62%),
    var(--ink-700);
  border: 1px solid rgba(248, 128, 0, .3);
  border-radius: var(--radius);
}
.side-cta h3 { font-size: 1.1rem; margin-bottom: var(--sp-2); }
.side-cta p { font-size: .9rem; color: var(--text-muted); margin-bottom: var(--sp-5); }

.overview__lede { font-size: 1.1rem; }
.overview__figure { margin: var(--sp-6) 0; }
.overview__figure img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
}
.overview__figure figcaption {
  margin-top: var(--sp-3);
  font-family: 'Archivo', sans-serif;
  font-size: .7rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-dim);
}

/* ---- numbered build process ---- */

.process { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-7); }
.process__step { position: relative; margin: 0; padding-left: 76px; }
.process__num {
  position: absolute; left: 0; top: 0;
  width: 52px; height: 52px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius);
  background: var(--ink-700);
  border: 1px solid rgba(248, 128, 0, .45);
  color: var(--brand-orange);
  font-family: 'Archivo', sans-serif;
  font-variation-settings: 'wdth' 115;
  font-size: 1.25rem; font-weight: 800;
  font-variant-numeric: tabular-nums;
}
/* the connector between stages */
.process__step:not(:last-child)::before {
  content: '';
  position: absolute; left: 26px; top: 60px; bottom: calc(var(--sp-7) * -1 + 8px);
  width: 2px;
  background: linear-gradient(180deg, rgba(248, 128, 0, .45), rgba(255, 255, 255, .06));
}
.process__body h3 { margin-bottom: var(--sp-2); }
.process__body p { color: var(--text-muted); margin: 0; }

/* alternating on desktop, like a real project timeline */
@media (min-width: 900px) {
  .process__step {
    padding-left: 0;
    display: grid;
    grid-template-columns: 1fr 52px 1fr;
    column-gap: var(--sp-6);
    align-items: start;
  }
  .process__num { position: static; grid-column: 2; }
  .process__step:nth-child(odd) .process__body { grid-column: 1; text-align: right; }
  .process__step:nth-child(even) .process__body { grid-column: 3; }
  .process__step:not(:last-child)::before {
    left: 50%; transform: translateX(-50%);
  }
}

/* ---- principles ---- */

.principle {
  padding: var(--sp-5);
  background: var(--ink-700);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.principle__num {
  display: block;
  font-family: 'Archivo', sans-serif;
  font-variation-settings: 'wdth' 120;
  font-size: 2rem; font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: rgba(248, 128, 0, .38);
  line-height: 1;
  margin-bottom: var(--sp-3);
}
.principle h3 { margin-bottom: var(--sp-2); }
.principle p { color: var(--text-muted); font-size: .93rem; margin: 0; }

/* ---- numbered FAQ, always open ---- */

.faq-num { list-style: none; margin: 0; padding: 0; }
.faq-num__item {
  display: flex; gap: var(--sp-5);
  margin: 0;
  padding: var(--sp-5) 0;
  border-top: 1px solid var(--line);
}
.faq-num__item:last-child { border-bottom: 1px solid var(--line); }
.faq-num__n {
  flex: none;
  font-family: 'Archivo', sans-serif;
  font-variation-settings: 'wdth' 120;
  font-size: 1.9rem; font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, .13);
  line-height: 1.1;
}
.faq-num__item h3 { font-size: 1.08rem; margin-bottom: var(--sp-2); }
.faq-num__item p { color: var(--text-muted); margin: 0; }

/* town pages: nearby-town links reuse the numbered list without the numbers */
.town-list--plain .num {
  display: inline-flex; align-items: center;
  min-width: auto; color: var(--brand-orange);
}
.town-list--plain .num svg { width: 15px; height: 15px; }
.town-note {
  padding: var(--sp-4) var(--sp-5);
  border-left: 3px solid var(--brand-orange);
  background: rgba(248, 128, 0, .07);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* submission failure — must look like an error, not a confirmation */
.form-error {
  display: none;
  margin-bottom: var(--sp-5);
  padding: var(--sp-4);
  background: rgba(255, 90, 82, .1);
  border: 1px solid rgba(255, 90, 82, .45);
  border-left-width: 4px;
  border-radius: var(--radius-sm);
}
.form-error[data-show="true"] { display: block; }
.form-error h3 { font-size: 1rem; color: var(--danger); margin-bottom: var(--sp-2); }
.form-error p { margin: 0; font-size: .9rem; color: var(--text-muted); }
.form-error a { color: var(--danger); }
.form-error__detail {
  margin-top: var(--sp-3) !important;
  padding-top: var(--sp-3);
  border-top: 1px solid rgba(255, 90, 82, .3);
  font-size: .85rem; color: var(--text-muted);
}
