/* ==========================================================================
   Walker Window Works LLC — Blaine, MN
   Design system + site styles
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand — deep navy / electric blue, per the inspiration board */
  --navy-950: #04101f;
  --navy-900: #071a2e;
  --navy-850: #0a2036;
  --navy-800: #0e2b47;
  --navy-700: #14395c;
  --navy-600: #1d4a75;

  /* blue-600/700 are the action colors and carry white text, so both are tuned
     to clear 4.5:1 against #fff (measured 5.22 and 6.97). Don't lighten them
     without re-checking contrast. */
  --blue-700: #0d55b8;
  --blue-600: #1668d9;
  --blue-500: #3a90ff;
  --blue-400: #63a9ff;
  --sky-300:  #9bccff;
  --sky-100:  #dcebfc;

  /* Neutrals for light content sections */
  --ink-900: #0b1522;
  --ink-700: #26364a;
  --ink-600: #47576b;
  --ink-400: #5f7189;   /* 4.96:1 on white — do not lighten */
  --surface: #ffffff;
  --surface-alt: #f2f7fd;
  --line: #d9e4f1;

  /* Semantic */
  --brand: var(--blue-600);
  --brand-strong: var(--blue-700);
  --on-dark: #ffffff;
  --on-dark-muted: #b9cde4;
  --success: #17915f;
  --danger: #c9342b;
  --focus: var(--blue-400);

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

  --fs-display: clamp(2.6rem, 6.2vw, 4.6rem);
  --fs-h1: clamp(2.1rem, 4.6vw, 3.3rem);
  --fs-h2: clamp(1.8rem, 3.4vw, 2.6rem);
  --fs-h3: clamp(1.2rem, 1.8vw, 1.4rem);
  --fs-lead: clamp(1.05rem, 1.5vw, 1.2rem);
  --fs-body: 1.0625rem;
  --fs-sm: 0.9375rem;
  --fs-xs: 0.8125rem;

  /* 4/8 spacing rhythm */
  --sp-1: 0.25rem;  --sp-2: 0.5rem;   --sp-3: 0.75rem;  --sp-4: 1rem;
  --sp-5: 1.5rem;   --sp-6: 2rem;     --sp-7: 2.5rem;   --sp-8: 3rem;
  --sp-9: 4rem;     --sp-10: 5rem;    --sp-11: 6rem;

  --section-y: clamp(3.5rem, 8vw, 6rem);
  --container: 1200px;
  --container-narrow: 780px;

  /* Radius + elevation */
  --r-sm: 8px;  --r-md: 14px;  --r-lg: 20px;  --r-xl: 28px;  --r-pill: 999px;
  --e-1: 0 1px 2px rgba(7, 26, 46, 0.06), 0 2px 8px rgba(7, 26, 46, 0.05);
  --e-2: 0 2px 6px rgba(7, 26, 46, 0.07), 0 10px 26px rgba(7, 26, 46, 0.09);
  --e-3: 0 6px 14px rgba(7, 26, 46, 0.10), 0 24px 56px rgba(7, 26, 46, 0.14);
  --glow: 0 8px 30px rgba(26, 117, 232, 0.36);

  /* Motion */
  --dur-fast: 150ms;
  --dur: 240ms;
  --dur-slow: 400ms;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in: cubic-bezier(0.55, 0, 1, 0.45);

  /* Layers */
  --z-base: 0; --z-raised: 10; --z-sticky: 40; --z-header: 60; --z-drawer: 80; --z-modal: 100;
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 92px; /* clears the sticky header on anchor jumps */
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink-700);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink-900);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 var(--sp-4);
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); font-weight: 800; }
h2 { font-size: var(--fs-h2); font-weight: 800; }
h3 { font-size: var(--fs-h3); font-weight: 700; letter-spacing: -0.01em; }

p { margin: 0 0 var(--sp-4); max-width: 68ch; }
a { color: var(--brand-strong); text-decoration-thickness: 1px; text-underline-offset: 3px; }
img, svg, video { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0 0 var(--sp-4); padding-left: 1.25rem; }
li { margin-bottom: var(--sp-2); }
strong { color: var(--ink-900); font-weight: 650; }

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

.skip-link {
  position: absolute; left: var(--sp-4); top: -100px;
  z-index: var(--z-modal);
  background: var(--navy-900); color: #fff;
  padding: var(--sp-3) var(--sp-5);
  border-radius: 0 0 var(--r-md) var(--r-md);
  font-weight: 600; text-decoration: none;
  transition: top var(--dur) var(--ease-out);
}
.skip-link:focus { top: 0; }

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

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.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); } }
@media (min-width: 1024px) { .container { padding-inline: var(--sp-7); } }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--alt { background: var(--surface-alt); }
.section--dark { background: var(--navy-900); color: var(--on-dark-muted); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark a { color: var(--sky-300); }

.section-head { max-width: 62ch; margin-bottom: var(--sp-8); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { font-size: var(--fs-lead); color: var(--ink-600); margin-bottom: 0; }
.section--dark .section-head p { color: var(--on-dark-muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-family: var(--font-display);
  font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand-strong);
  margin-bottom: var(--sp-3);
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--blue-600), var(--blue-400));
}
.section--dark .eyebrow { color: var(--blue-400); }

.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: 1024px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--sp-2);
  min-height: 52px;               /* comfortably over the 44px touch minimum */
  padding: var(--sp-3) var(--sp-6);
  border: 2px solid transparent;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 700; letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer;
  transition: background-color var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out),
              color var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
}
.btn:active { transform: scale(0.975); }
.btn svg { width: 20px; height: 20px; flex: none; }

.btn--primary {
  background: var(--blue-600); color: #fff; box-shadow: var(--glow);
}
.btn--primary:hover { background: var(--blue-700); box-shadow: 0 10px 34px rgba(26,117,232,.5); }

.btn--ghost {
  background: transparent; color: #fff; border-color: rgba(255,255,255,.42);
}
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }

.btn--outline {
  background: transparent; color: var(--navy-800); border-color: var(--line);
}
.btn--outline:hover { border-color: var(--blue-600); color: var(--blue-700); background: var(--surface-alt); }

.btn--lg { min-height: 58px; padding-inline: var(--sp-7); font-size: 1.0625rem; }
.btn--block { width: 100%; }

.btn[disabled], .btn[aria-disabled="true"] {
  opacity: 0.45; cursor: not-allowed; box-shadow: none; transform: none;
}

.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

/* --------------------------------------------------------------------------
   5. Offer bar
   -------------------------------------------------------------------------- */
.offer-bar {
  background: linear-gradient(90deg, var(--navy-950), var(--blue-700) 55%, var(--blue-600));
  color: #fff;
  font-size: var(--fs-sm);
  text-align: center;
}
.offer-bar__inner {
  display: flex; align-items: center; justify-content: center; gap: var(--sp-3);
  flex-wrap: wrap;
  padding: var(--sp-3) var(--sp-5);
  min-height: 46px;
}
.offer-bar strong { color: #fff; font-weight: 700; }
.offer-bar a {
  display: inline-flex; align-items: center;
  min-height: 44px; padding-inline: var(--sp-1);
  color: #fff; font-weight: 600; text-underline-offset: 4px;
}
.offer-bar__tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.16);
  border-radius: var(--r-pill);
  padding: 3px 10px;
  font-family: var(--font-display);
  font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   6. Header + navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgba(4, 16, 31, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(155, 204, 255, 0.16);
}
.site-header__inner {
  display: flex; align-items: center; gap: var(--sp-5);
  min-height: 76px;
}

.brand {
  display: inline-flex; align-items: center; gap: var(--sp-3);
  text-decoration: none; color: #fff; margin-right: auto;
  padding: var(--sp-1) 0;
}
.brand__mark { width: 44px; height: 44px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 800; font-size: 1.06rem;
  letter-spacing: -0.015em; text-transform: uppercase;
  color: #fff;
}
.brand__name span { color: var(--blue-400); }
.brand__tag {
  font-size: 0.625rem; font-weight: 600;
  letter-spacing: 0.17em; text-transform: uppercase;
  color: var(--on-dark-muted); margin-top: 5px;
}

.nav { display: none; }
@media (min-width: 1024px) {
  .nav { display: flex; align-items: center; gap: var(--sp-1); }
}
.nav__link {
  position: relative;
  display: inline-flex; align-items: center;
  min-height: 44px; padding: 0 var(--sp-4);
  border-radius: var(--r-sm);
  font-size: var(--fs-sm); font-weight: 600;
  color: var(--on-dark-muted); text-decoration: none;
  white-space: nowrap;   /* "Before & After" must not break onto two lines */
  transition: color var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out);
}
.nav__link:hover { color: #fff; background: rgba(255,255,255,.07); }
.nav__link[aria-current="page"] { color: #fff; }
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute; left: var(--sp-4); right: var(--sp-4); bottom: 4px;
  height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--blue-500), var(--blue-400));
}

.header-cta { display: none; }
@media (min-width: 1024px) { .header-cta { display: inline-flex; } }

.header-phone {
  display: none; align-items: center; gap: var(--sp-2);
  color: #fff; text-decoration: none; font-weight: 700;
  font-family: var(--font-display);
  min-height: 44px; padding-inline: var(--sp-2);
  white-space: nowrap;   /* keep the number on one line */
}
@media (min-width: 640px) { .header-phone { display: inline-flex; } }
.header-phone svg { width: 18px; height: 18px; color: var(--blue-400); }
.header-phone:hover { color: var(--blue-400); }

/* Mobile drawer trigger */
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--r-sm);
  color: #fff; cursor: pointer;
  transition: background-color var(--dur) var(--ease-out);
}
.nav-toggle:hover { background: rgba(255,255,255,.16); }
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }
@media (min-width: 1024px) { .nav-toggle { display: none; } }

.drawer {
  position: fixed; inset: 0; z-index: var(--z-drawer);
  background: rgba(4, 16, 31, 0.97);
  backdrop-filter: blur(8px);
  display: flex; flex-direction: column;
  padding: var(--sp-6) var(--sp-5) calc(var(--sp-8) + env(safe-area-inset-bottom));
  overflow-y: auto;
  opacity: 0; visibility: hidden;
  transform: translateY(-12px);
  transition: opacity var(--dur) var(--ease-out),
              transform var(--dur) var(--ease-out),
              visibility 0s linear var(--dur);
}
.drawer[data-open="true"] {
  opacity: 1; visibility: visible; transform: translateY(0);
  transition-delay: 0s;
}
.drawer__head { display: flex; justify-content: flex-end; margin-bottom: var(--sp-6); }
.drawer__link {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 60px; padding: var(--sp-3) var(--sp-2);
  border-bottom: 1px solid rgba(255,255,255,.1);
  color: #fff; text-decoration: none;
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 700;
}
.drawer__link[aria-current="page"] { color: var(--blue-400); }
.drawer__link svg { width: 20px; height: 20px; opacity: .5; }
.drawer__actions { margin-top: var(--sp-7); display: grid; gap: var(--sp-3); }
body.is-locked { overflow: hidden; }

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero { position: relative; background: var(--navy-950); color: #fff; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  /* Dark enough on the left for AA text contrast, light enough on the right
     that the photo is still visibly a house. */
  background:
    linear-gradient(180deg, rgba(4,16,31,.72) 0%, rgba(4,16,31,.34) 45%, rgba(4,16,31,.88) 100%),
    linear-gradient(100deg, rgba(4,16,31,.93) 0%, rgba(4,16,31,.82) 34%, rgba(10,32,54,.42) 68%, rgba(26,117,232,.18) 100%);
}
@media (max-width: 899px) {
  /* Narrow screens put text over the whole photo, so the veil has to be flatter. */
  .hero::after {
    background: linear-gradient(180deg, rgba(4,16,31,.9) 0%, rgba(4,16,31,.74) 48%, rgba(4,16,31,.94) 100%);
  }
}
.hero__inner {
  padding-block: clamp(3.5rem, 9vw, 7rem);
  max-width: 46rem;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  background: rgba(155, 204, 255, .14);
  border: 1px solid rgba(155, 204, 255, .3);
  border-radius: var(--r-pill);
  padding: 7px var(--sp-4);
  font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: .04em; color: var(--sky-100);
  margin-bottom: var(--sp-5);
}
.hero__badge svg { width: 15px; height: 15px; color: var(--blue-400); }

.hero h1 {
  font-size: var(--fs-display);
  color: #fff; margin-bottom: var(--sp-5);
  letter-spacing: -0.032em; line-height: 1.02;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--blue-400), var(--sky-300));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero__lead {
  font-size: var(--fs-lead); color: #d3e3f6;
  max-width: 40rem; margin-bottom: var(--sp-6);
}
.hero .btn-row { margin-bottom: var(--sp-7); }

.hero__points {
  display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-5);
  list-style: none; padding: 0; margin: 0;
}
.hero__points li {
  display: flex; align-items: center; gap: var(--sp-2);
  font-size: var(--fs-sm); font-weight: 500; color: #cfe1f5; margin: 0;
}
.hero__points svg { width: 18px; height: 18px; color: var(--blue-400); flex: none; }

/* Trust strip */
.trust {
  background: var(--navy-850);
  border-top: 1px solid rgba(155,204,255,.14);
  color: var(--on-dark-muted);
}
.trust__grid {
  display: grid; gap: var(--sp-4);
  grid-template-columns: repeat(2, 1fr);
  padding-block: var(--sp-6);
}
@media (min-width: 900px) { .trust__grid { grid-template-columns: repeat(4, 1fr); } }
.trust__item { display: flex; align-items: center; gap: var(--sp-3); }
.trust__icon {
  display: grid; place-items: center;
  width: 44px; height: 44px; flex: none;
  border-radius: var(--r-md);
  background: rgba(26,117,232,.18);
  border: 1px solid rgba(99,169,255,.3);
  color: var(--blue-400);
}
.trust__icon svg { width: 22px; height: 22px; }
.trust__label {
  display: block;
  font-family: var(--font-display); font-weight: 700;
  color: #fff; font-size: 0.95rem; line-height: 1.25;
  margin-bottom: 2px;
}
.trust__sub { display: block; font-size: var(--fs-xs); color: var(--on-dark-muted); line-height: 1.35; }

/* --------------------------------------------------------------------------
   8. Page header (interior pages)
   -------------------------------------------------------------------------- */
.page-head {
  background:
    radial-gradient(1100px 420px at 15% -10%, rgba(26,117,232,.4), transparent 62%),
    linear-gradient(170deg, var(--navy-900), var(--navy-950));
  color: #fff;
  padding-block: clamp(3rem, 7vw, 5rem);
  border-bottom: 1px solid rgba(155,204,255,.14);
}
.page-head h1 { color: #fff; margin-bottom: var(--sp-4); }
.page-head p { font-size: var(--fs-lead); color: #cfe1f5; max-width: 56ch; margin-bottom: 0; }

.breadcrumb { font-size: var(--fs-sm); margin-bottom: var(--sp-4); color: var(--on-dark-muted); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: var(--sp-2); padding: 0; margin: 0; }
.breadcrumb li { margin: 0; display: flex; align-items: center; gap: var(--sp-2); }
.breadcrumb li + li::before { content: "/"; color: rgba(255,255,255,.35); }
.breadcrumb a { color: var(--sky-300); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: #fff; }

/* --------------------------------------------------------------------------
   9. Cards + services
   -------------------------------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  box-shadow: var(--e-1);
  transition: transform var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out);
}
.card__icon {
  display: grid; place-items: center;
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  margin-bottom: var(--sp-5);
  background: linear-gradient(140deg, var(--navy-800), var(--blue-700));
  color: #fff;
  box-shadow: 0 6px 18px rgba(15, 95, 196, .3);
}
.card__icon svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: var(--sp-3); }
.card p { font-size: var(--fs-sm); color: var(--ink-600); margin-bottom: var(--sp-4); }
.card__list { list-style: none; padding: 0; margin: 0 0 var(--sp-5); }
.card__list li {
  display: flex; align-items: flex-start; gap: var(--sp-2);
  font-size: var(--fs-sm); color: var(--ink-600); margin-bottom: var(--sp-2);
}
.card__list svg { width: 17px; height: 17px; color: var(--blue-600); flex: none; margin-top: 4px; }
.card__link {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  min-height: 44px;
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-sm);
  color: var(--brand-strong); text-decoration: none;
}
.card__link svg { width: 16px; height: 16px; transition: transform var(--dur) var(--ease-out); }
.card__link:hover { text-decoration: underline; }
.card__link:hover svg { transform: translateX(3px); }

a.card, .card--link { display: block; text-decoration: none; color: inherit; }
.card:is(a):hover, .card--interactive:hover {
  transform: translateY(-4px);
  box-shadow: var(--e-3);
  border-color: rgba(26,117,232,.4);
}

/* Detailed service block (services page) */
.service-block {
  display: grid; gap: var(--sp-6);
  align-items: center;
  padding-block: var(--sp-8);
  border-bottom: 1px solid var(--line);
}
.service-block:last-of-type { border-bottom: 0; }
@media (min-width: 900px) {
  .service-block { grid-template-columns: 1fr 1fr; gap: var(--sp-9); }
  .service-block--flip .service-block__media { order: -1; }
}
.service-block__media {
  position: relative;
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--e-2); background: var(--surface-alt);
}

/* Credential tag laid over a service photo — names the building and, just as
   importantly, says what our involvement in it actually was. */
.media-tag {
  position: absolute;
  left: var(--sp-4); bottom: var(--sp-4);
  right: var(--sp-4);
  display: flex; align-items: center; gap: var(--sp-3);
  width: fit-content; max-width: calc(100% - var(--sp-8));
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-md);
  background: rgba(4, 16, 31, 0.84);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(155, 204, 255, 0.26);
  color: #fff;
}
.media-tag__icon { width: 20px; height: 20px; flex: none; color: var(--blue-400); }
.media-tag strong {
  display: block; color: #fff;
  font-family: var(--font-display); font-weight: 700;
  font-size: 0.9375rem; line-height: 1.2;
}
.media-tag small {
  display: block; margin-top: 2px;
  font-size: var(--fs-xs); line-height: 1.35;
  color: var(--on-dark-muted);
}
@media (max-width: 560px) {
  .media-tag { left: var(--sp-3); right: var(--sp-3); bottom: var(--sp-3); padding: var(--sp-2) var(--sp-3); }
  .media-tag strong { font-size: 0.875rem; }
}
.service-block__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.service-block__num {
  font-family: var(--font-display); font-weight: 800;
  font-size: var(--fs-xs); letter-spacing: .16em;
  color: var(--blue-600); text-transform: uppercase;
  margin-bottom: var(--sp-2); display: block;
}

/* --------------------------------------------------------------------------
   9b. Feature shot
   One photo carrying a section on its own, for work that has no meaningful
   "before" to compare against.
   -------------------------------------------------------------------------- */
.feature-shot {
  max-width: 940px;
  margin: 0 auto;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--e-3);
}
.feature-shot img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}
.feature-shot figcaption { padding: var(--sp-5) var(--sp-6); }
.feature-shot h3 { font-size: 1.0625rem; margin-bottom: var(--sp-1); }
.feature-shot p { font-size: var(--fs-sm); color: var(--ink-600); margin: 0; }
.section--dark .feature-shot { background: var(--navy-850); border-color: rgba(155,204,255,.18); }
.section--dark .feature-shot h3 { color: #fff; }
.section--dark .feature-shot p { color: var(--on-dark-muted); }
@media (max-width: 560px) {
  .feature-shot figcaption { padding: var(--sp-4) var(--sp-5); }
}

/* --------------------------------------------------------------------------
   10. Before / After comparison slider
   -------------------------------------------------------------------------- */
.ba-grid { display: grid; gap: var(--sp-6); }
@media (min-width: 900px) { .ba-grid { grid-template-columns: repeat(2, 1fr); } }

.ba {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--e-2);
}
.section--dark .ba { background: var(--navy-850); border-color: rgba(155,204,255,.18); }

.ba__frame {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  /* The gutter shots are portrait; cropping them to 4:3 throws away most of
     the run. .ba--tall matches the frame to the source instead. */
  background: var(--navy-900);
  touch-action: pan-y;          /* keeps vertical page scroll working over the slider */
  user-select: none;
  cursor: ew-resize;
}
.ba__frame img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}
/* The "after" image is clipped from the left edge to the handle position. */
.ba__after {
  clip-path: inset(0 0 0 var(--pos, 50%));
}
.ba--tall .ba__frame { aspect-ratio: 3 / 4; }
@media (min-width: 900px) {
  /* Two-up on desktop, so cap the height or the tall pairs dominate the fold. */
  .ba--tall .ba__frame { aspect-ratio: 4 / 5; }
}

.ba__tag {
  position: absolute; top: var(--sp-3); z-index: 2;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: #fff;
  backdrop-filter: blur(6px);
  pointer-events: none;
}
.ba__tag--before { left: var(--sp-3); background: rgba(4,16,31,.82); }
.ba__tag--after  { right: var(--sp-3); background: rgba(13,85,184,.94); }

.ba__handle {
  position: absolute; top: 0; bottom: 0;
  left: var(--pos, 50%);
  width: 4px; margin-left: -2px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(4,16,31,.25), 0 0 22px rgba(4,16,31,.5);
  z-index: 3;
  pointer-events: none;
}
.ba__knob {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 52px; height: 52px;          /* above the 44px touch minimum */
  border-radius: 50%;
  background: #fff;
  color: var(--navy-900);
  display: grid; place-items: center;
  box-shadow: 0 4px 16px rgba(4,16,31,.4);
}
.ba__knob svg { width: 24px; height: 24px; }

/* The range input is the real control: keyboard + screen-reader accessible,
   laid transparently over the frame. */
.ba__range {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  margin: 0; padding: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 4;
  -webkit-appearance: none; appearance: none;
  background: transparent;
}
.ba__range::-webkit-slider-thumb { -webkit-appearance: none; width: 52px; height: 52px; }
.ba__range::-moz-range-thumb { width: 52px; height: 52px; border: 0; opacity: 0; }
.ba__frame:focus-within .ba__handle { box-shadow: 0 0 0 3px var(--focus), 0 0 22px rgba(4,16,31,.5); }

/* --- Side-by-side pair ---------------------------------------------------
   Used where the subject only occupies part of the frame (the gutter runs
   diagonally), so a wipe would compare roof-to-gutter instead of
   gutter-to-gutter. Both photos stay fully visible. Needs no JS.            */
.ba-pair {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--e-2);
  margin: 0;
}
.section--dark .ba-pair { background: var(--navy-850); border-color: rgba(155,204,255,.18); }

.ba-pair__imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: rgba(155,204,255,.22);
}
.ba-pair__side { position: relative; margin: 0; overflow: hidden; }
.ba-pair__side img {
  width: 100%; height: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}
.ba-pair__tag {
  position: absolute; top: var(--sp-3); left: var(--sp-3);
  padding: 5px 12px;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: #fff;
  backdrop-filter: blur(6px);
}
.ba-pair__tag--before { background: rgba(4,16,31,.82); }
.ba-pair__tag--after  { background: rgba(13,85,184,.94); }

.ba__meta { padding: var(--sp-4) var(--sp-5); }
.ba__meta h3 { font-size: 1.0625rem; margin-bottom: var(--sp-1); }
.ba__meta p { font-size: var(--fs-sm); color: var(--ink-600); margin: 0; }
.section--dark .ba__meta h3 { color: #fff; }
.section--dark .ba__meta p { color: var(--on-dark-muted); }
.ba__hint {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: var(--sp-2);
  font-size: var(--fs-xs); color: var(--ink-400);
}
.ba__hint svg { width: 14px; height: 14px; }
.section--dark .ba__hint { color: var(--sky-300); }

/* --------------------------------------------------------------------------
   11. Gallery grid
   -------------------------------------------------------------------------- */
.gallery-grid {
  display: grid; gap: var(--sp-4);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px)  { .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); } }
@media (min-width: 1200px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }

.gallery-item {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface-alt);
  box-shadow: var(--e-1);
  aspect-ratio: 3 / 4;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: var(--sp-5) var(--sp-4) var(--sp-3);
  background: linear-gradient(to top, rgba(4,16,31,.9), transparent);
  color: #fff; font-size: var(--fs-xs); font-weight: 600;
}

/* --------------------------------------------------------------------------
   12. Reviews
   -------------------------------------------------------------------------- */
.review {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  box-shadow: var(--e-1);
  height: 100%;
}
.section--dark .review { background: var(--navy-850); border-color: rgba(155,204,255,.18); }
.stars { display: flex; gap: 3px; margin-bottom: var(--sp-4); }
.stars svg { width: 19px; height: 19px; color: #f5a623; }
.review blockquote {
  margin: 0 0 var(--sp-5); padding: 0;
  font-size: 1.0625rem; color: var(--ink-700); line-height: 1.6;
  flex: 1;
}
.section--dark .review blockquote { color: #dbe8f7; }
.review__author { display: flex; align-items: center; gap: var(--sp-3); }
.review__avatar {
  width: 44px; height: 44px; flex: none;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--navy-800), var(--blue-600));
  color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: 1rem;
}
.review__name {
  display: block;
  font-family: var(--font-display); font-weight: 700;
  color: var(--ink-900); font-size: var(--fs-sm); line-height: 1.3;
}
.section--dark .review__name { color: #fff; }
.review__where { display: block; font-size: var(--fs-xs); color: var(--ink-400); }
.section--dark .review__where { color: var(--on-dark-muted); }

/* --------------------------------------------------------------------------
   13. Stats
   -------------------------------------------------------------------------- */
.stats { display: grid; gap: var(--sp-5); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat {
  text-align: center;
  padding: var(--sp-5) var(--sp-3);
  border-radius: var(--r-lg);
  background: rgba(155,204,255,.07);
  border: 1px solid rgba(155,204,255,.16);
}
.stat__num {
  display: block;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2rem, 4.4vw, 3rem);
  line-height: 1;
  background: linear-gradient(120deg, #fff, var(--sky-300));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: var(--sp-2);
  font-variant-numeric: tabular-nums;
}
.stat__label { font-size: var(--fs-xs); letter-spacing: .07em; text-transform: uppercase; color: var(--on-dark-muted); }

/* --------------------------------------------------------------------------
   14. Steps
   -------------------------------------------------------------------------- */
.steps { display: grid; gap: var(--sp-6); counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; padding-top: 3.5rem; }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0;
  font-family: var(--font-display); font-weight: 800;
  font-size: 2.5rem; line-height: 1;
  color: rgba(26,117,232,.24);
}
.section--dark .step::before { color: rgba(99,169,255,.32); }
.step h3 { margin-bottom: var(--sp-2); }
.step p { font-size: var(--fs-sm); color: var(--ink-600); margin: 0; }

/* --------------------------------------------------------------------------
   15. FAQ (native <details> keeps it keyboard + screen-reader friendly)
   -------------------------------------------------------------------------- */
.faq { display: grid; gap: var(--sp-3); max-width: var(--container-narrow); margin-inline: auto; }
.faq__item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.faq__item[open] { border-color: rgba(26,117,232,.45); box-shadow: var(--e-2); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  min-height: 60px; padding: var(--sp-4) var(--sp-5);
  cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem;
  color: var(--ink-900);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { background: var(--surface-alt); }
.faq__q svg {
  width: 22px; height: 22px; flex: none; color: var(--blue-600);
  transition: transform var(--dur) var(--ease-out);
}
.faq__item[open] .faq__q svg { transform: rotate(45deg); }
.faq__a { padding: 0 var(--sp-5) var(--sp-5); }
.faq__a p { font-size: var(--fs-sm); color: var(--ink-600); margin-bottom: var(--sp-3); }
.faq__a p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   16. Split / about
   -------------------------------------------------------------------------- */
.split { display: grid; gap: var(--sp-7); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--sp-9); }
  .split--media-first .split__media { order: -1; }
}
.split__media { position: relative; }
.split__media img {
  width: 100%; border-radius: var(--r-lg);
  box-shadow: var(--e-3);
  aspect-ratio: 3 / 4; object-fit: cover;
}
.split__media--wide img { aspect-ratio: 4 / 3; }
.split__stamp {
  position: absolute; right: -12px; bottom: -18px;
  background: var(--blue-600); color: #fff;
  border-radius: var(--r-md);
  padding: var(--sp-4) var(--sp-5);
  box-shadow: var(--glow);
  max-width: 220px;
}
.split__stamp strong {
  display: block; color: #fff;
  font-family: var(--font-display); font-size: 1.5rem; line-height: 1;
  margin-bottom: 4px;
}
.split__stamp span { font-size: var(--fs-xs); color: rgba(255,255,255,.94); }

.checklist { list-style: none; padding: 0; margin: 0 0 var(--sp-6); }
.checklist li {
  display: flex; align-items: flex-start; gap: var(--sp-3);
  margin-bottom: var(--sp-3);
  font-size: var(--fs-sm);
}
.checklist svg { width: 20px; height: 20px; color: var(--blue-600); flex: none; margin-top: 3px; }
.section--dark .checklist svg { color: var(--blue-400); }

/* --------------------------------------------------------------------------
   17. Service area
   -------------------------------------------------------------------------- */
.area-list {
  display: flex; flex-wrap: wrap; gap: var(--sp-2);
  list-style: none; padding: 0; margin: 0 0 var(--sp-6);
}
.area-list li { margin: 0; }
.area-list span {
  display: inline-block;
  padding: 7px var(--sp-4);
  border-radius: var(--r-pill);
  background: rgba(155,204,255,.1);
  border: 1px solid rgba(155,204,255,.22);
  font-size: var(--fs-sm); color: #dbe8f7;
}
.area-list--light span {
  background: var(--surface); border-color: var(--line); color: var(--ink-700);
}

/* --------------------------------------------------------------------------
   18. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative; isolation: isolate;
  background:
    radial-gradient(900px 380px at 82% 12%, rgba(26,117,232,.5), transparent 60%),
    linear-gradient(150deg, var(--navy-900), var(--navy-950));
  color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(2.5rem, 5.5vw, 4rem);
  overflow: hidden;
  box-shadow: var(--e-3);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #cfe1f5; font-size: var(--fs-lead); max-width: 52ch; }
.cta-band__inner { display: grid; gap: var(--sp-6); align-items: center; }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: 1.4fr 1fr; } }
.cta-band .btn-row { margin-top: var(--sp-2); }

/* --------------------------------------------------------------------------
   19. Forms
   -------------------------------------------------------------------------- */
.form-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  box-shadow: var(--e-2);
}
.form-grid { display: grid; gap: var(--sp-5); }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: repeat(2, 1fr); } }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-family: var(--font-display); font-weight: 700;
  font-size: var(--fs-sm); color: var(--ink-900);
}
.field .req { color: var(--danger); margin-left: 2px; }
.field__help { font-size: var(--fs-xs); color: var(--ink-400); }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;                 /* >= 44px touch target */
  padding: var(--sp-3) var(--sp-4);
  font-family: inherit; font-size: 1rem;  /* 16px avoids iOS zoom-on-focus */
  color: var(--ink-900);
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
.field 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='%2347576b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='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: 20px;
  padding-right: var(--sp-8);
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: #b9c9dd; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue-600);
  box-shadow: 0 0 0 4px rgba(26,117,232,.16);
}
/* Placeholders are real text for WCAG 1.4.3, so they carry the same 4.5:1
   token as other meta text. Every field also has a visible label above it. */
.field input::placeholder, .field textarea::placeholder { color: var(--ink-400); }

.field[data-invalid="true"] input,
.field[data-invalid="true"] select,
.field[data-invalid="true"] textarea {
  border-color: var(--danger);
  box-shadow: 0 0 0 4px rgba(201,52,43,.12);
}
.field__error {
  display: none;
  align-items: center; gap: 6px;
  font-size: var(--fs-xs); font-weight: 600; color: var(--danger);
}
.field__error svg { width: 15px; height: 15px; flex: none; }
.field[data-invalid="true"] .field__error { display: flex; }

.checkbox-row {
  display: flex; align-items: flex-start; gap: var(--sp-3);
  font-size: var(--fs-sm); color: var(--ink-600);
}
.checkbox-row input {
  width: 22px; height: 22px; min-height: 0; flex: none; margin-top: 2px;
  accent-color: var(--blue-600);
}

.form-status {
  border-radius: var(--r-md);
  padding: var(--sp-4) var(--sp-5);
  font-size: var(--fs-sm); font-weight: 500;
  display: flex; align-items: flex-start; gap: var(--sp-3);
}
.form-status[hidden] { display: none; }
.form-status svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.form-status--ok { background: #e7f6ef; color: #0e6b45; border: 1px solid #b6e2cd; }
.form-status--err { background: #fdecea; color: #92251e; border: 1px solid #f3c4c0; }

.btn__spinner { display: none; width: 18px; height: 18px; animation: spin 0.8s linear infinite; }
.btn[data-loading="true"] .btn__spinner { display: block; }
.btn[data-loading="true"] .btn__label { opacity: .8; }
@keyframes spin { to { transform: rotate(360deg); } }

/* --------------------------------------------------------------------------
   20. Contact details
   -------------------------------------------------------------------------- */
.contact-list { padding: 0; margin: 0; }
.contact-list__row { display: flex; gap: var(--sp-4); margin-bottom: var(--sp-5); }
.contact-list__icon {
  display: grid; place-items: center;
  width: 46px; height: 46px; flex: none;
  border-radius: var(--r-md);
  background: rgba(26,117,232,.12);
  border: 1px solid rgba(26,117,232,.22);
  color: var(--blue-700);
}
.section--dark .contact-list__icon {
  background: rgba(155,204,255,.12); border-color: rgba(155,204,255,.26); color: var(--blue-400);
}
.contact-list__icon svg { width: 22px; height: 22px; }
.contact-list dt {
  font-family: var(--font-display); font-weight: 700;
  font-size: var(--fs-xs); letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-400); margin-bottom: 3px;
}
.section--dark .contact-list dt { color: var(--on-dark-muted); }
.contact-list dd { margin: 0; font-size: 1.0625rem; font-weight: 600; color: var(--ink-900); }
.section--dark .contact-list dd { color: #fff; }
.contact-list dd a { color: inherit; text-decoration: none; }
.contact-list dd a:hover { color: var(--brand-strong); text-decoration: underline; }
.section--dark .contact-list dd a:hover { color: var(--blue-400); }
.contact-list dd small { display: block; font-size: var(--fs-xs); font-weight: 400; color: var(--ink-400); margin-top: 2px; }
.section--dark .contact-list dd small { color: var(--on-dark-muted); }

.hours { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.hours th, .hours td { text-align: left; padding: var(--sp-3) 0; border-bottom: 1px solid var(--line); }
.hours th { font-weight: 600; color: var(--ink-700); }
.hours td { text-align: right; color: var(--ink-600); font-variant-numeric: tabular-nums; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }

/* --------------------------------------------------------------------------
   21. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--navy-950);
  color: var(--on-dark-muted);
  padding-top: var(--sp-9);
  border-top: 1px solid rgba(155,204,255,.14);
}
.site-footer h3 {
  color: #fff; font-size: 0.9375rem;
  letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: var(--sp-4);
}
.footer-grid { display: grid; gap: var(--sp-7); }
@media (min-width: 700px)  { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: var(--sp-6); } }
.site-footer p { font-size: var(--fs-sm); color: var(--on-dark-muted); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: var(--sp-1); }
.footer-links a {
  display: inline-flex; align-items: center;
  min-height: 44px; min-width: 44px;
  font-size: var(--fs-sm); color: var(--on-dark-muted); text-decoration: none;
}
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-brand .brand { margin-right: 0; margin-bottom: var(--sp-4); }
.footer-bottom {
  margin-top: var(--sp-8);
  padding-block: var(--sp-5);
  border-top: 1px solid rgba(155,204,255,.14);
  display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-5);
  align-items: center; justify-content: space-between;
  font-size: var(--fs-xs);
}
.footer-bottom p { margin: 0; font-size: var(--fs-xs); }

/* --------------------------------------------------------------------------
   22. Sticky mobile call bar
   -------------------------------------------------------------------------- */
.call-bar {
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: var(--z-sticky);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(155,204,255,.2);
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -6px 24px rgba(4,16,31,.28);
}
@media (min-width: 1024px) { .call-bar { display: none; } }
.call-bar a {
  display: flex; align-items: center; justify-content: center; gap: var(--sp-2);
  min-height: 58px;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  text-decoration: none;
}
.call-bar a svg { width: 20px; height: 20px; }
.call-bar__call { background: var(--navy-900); color: #fff; }
.call-bar__quote { background: var(--blue-600); color: #fff; }
/* Reserve room so the fixed bar never covers the end of the page. */
@media (max-width: 1023px) {
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
}

/* --------------------------------------------------------------------------
   23. Motion — reveal on scroll
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .gallery-item:hover img { transform: none; }
}

/* --------------------------------------------------------------------------
   24. Print
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .call-bar, .offer-bar, .cta-band, .drawer { display: none !important; }
  body { color: #000; padding-bottom: 0; }
  .section { padding-block: 1rem; }
}
