/* ==========================================================================
   Ayres Electrical: landing page
   Monochrome palette taken from the logo (black + #a6a6a6 grey).
   ========================================================================== */

:root {
  --ink: #0b0b0b;
  --ink-2: #141414;
  --ink-3: #232323;
  --steel: #a6a6a6;          /* logo grey */
  --text: #161616;
  --text-mute: #555555;      /* 7.4:1 on white */
  --text-on-dark: #f5f5f5;
  --text-on-dark-mute: #b8b8b8; /* 9.6:1 on --ink */
  --paper: #ffffff;
  --paper-2: #f3f3f2;
  --line: #e2e2e0;
  --line-dark: #2c2c2c;

  --font-display: "Saira Condensed", "Arial Narrow", sans-serif;
  --font-body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 4px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(64px, 9vw, 112px);
  --header-h: 76px;

  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --t-fast: 160ms;
  --t-med: 320ms;

  /* Set to "grayscale(1)" to show the job photos in black and white */
  --photo-filter: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.005em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6.2vw, 4.75rem); font-weight: 800; text-transform: uppercase; }
h2 { font-size: clamp(2rem, 4vw, 3rem); text-transform: uppercase; }
h3 { font-size: 1.4rem; text-transform: uppercase; letter-spacing: .01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon--lg { width: 26px; height: 26px; }
.icon--xl { width: 36px; height: 36px; stroke-width: 1.6; }

:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--ink); color: #fff; padding: 10px 16px; text-decoration: none; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }

/* Placeholder marker: remove the class once real content is in */
.ph {
  background: repeating-linear-gradient(-45deg, rgba(0,0,0,.06) 0 6px, rgba(0,0,0,.12) 6px 12px);
  outline: 1px dashed rgba(0,0,0,.45);
  outline-offset: 1px;
  border-radius: 2px;
  padding: 0 .2em;
}
.ph--dark, .footer .ph, .section--dark .ph, .hero .ph, .cta .ph {
  background: repeating-linear-gradient(-45deg, rgba(255,255,255,.08) 0 6px, rgba(255,255,255,.16) 6px 12px);
  outline-color: rgba(255,255,255,.55);
}
.hero__card .ph {
  background: repeating-linear-gradient(-45deg, rgba(0,0,0,.06) 0 6px, rgba(0,0,0,.12) 6px 12px);
  outline-color: rgba(0,0,0,.45);
}

/* Eyebrow: echoes the slatted roof in the logo */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--text-mute);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 28px; height: 10px; flex: none;
  background: repeating-linear-gradient(135deg, currentColor 0 3px, transparent 3px 7px);
}
.eyebrow--light { color: var(--text-on-dark-mute); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  border: 2px solid transparent; border-radius: var(--radius);
  cursor: pointer; touch-action: manipulation;
  transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.btn:active { transform: translateY(1px); }
.btn .icon { transition: transform var(--t-fast) var(--ease-out); }
.btn:hover > .icon:last-child { transform: translateX(3px); }
.btn--lg { min-height: 56px; padding: 14px 28px; font-size: 1.15rem; }
.btn--block { width: 100%; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-3); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #e6e6e6; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }

/* ---------------- Top bar ---------------- */
.topbar { background: var(--ink); color: var(--text-on-dark-mute); font-size: .875rem; }
.topbar__inner { display: flex; gap: 28px; align-items: center; min-height: 40px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.topbar__item:first-child { margin-right: auto; }
.topbar .icon { color: #fff; }

/* ---------------- Header ---------------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--t-med);
}
.header.is-scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.08); }
.header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: block; flex: none; }
.brand img { width: auto; height: 58px; }
.nav { margin-left: auto; }
.nav__list { display: flex; gap: 4px; }
.nav__list a {
  display: block; padding: 10px 12px; text-decoration: none;
  font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; letter-spacing: .05em; text-transform: uppercase;
  position: relative;
}
.nav__list a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--ink);
  transform: scaleX(0); transform-origin: left; transition: transform var(--t-med) var(--ease-out);
}
.nav__list a:hover::after, .nav__list a:focus-visible::after { transform: scaleX(1); }
.nav__mobile-cta { display: none; }
.header__actions { display: flex; align-items: center; gap: 16px; }
.header__phone {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: .03em; white-space: nowrap;
}
.nav-toggle {
  display: none; width: 48px; height: 48px; align-items: center; justify-content: center;
  background: none; border: 2px solid var(--ink); border-radius: var(--radius); color: var(--ink); cursor: pointer;
}
.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; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--ink); color: var(--text-on-dark);
  min-height: min(760px, calc(100dvh - var(--header-h) - 40px));
  display: flex; align-items: center;
  padding-block: clamp(56px, 8vw, 96px);
}
.hero__bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  filter: brightness(.85);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(11,11,11,.94) 0%, rgba(11,11,11,.82) 45%, rgba(11,11,11,.45) 100%),
    linear-gradient(0deg, rgba(11,11,11,.6), transparent 40%);
}
.hero__roof {
  position: absolute; right: -6%; bottom: -2px; width: min(62vw, 820px); aspect-ratio: 1234 / 435; z-index: -1;
  fill: #fff; opacity: .07;
}
.hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: center; }
.hero__copy { max-width: 680px; }
.hero h1 { margin-bottom: 20px; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: #d6d6d6; max-width: 58ch; margin-bottom: 32px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 32px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 26px; font-weight: 500; color: #e6e6e6; }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust .icon { color: #fff; }

.hero__card {
  background: #fff; color: var(--text); padding: 30px; border-radius: var(--radius);
  box-shadow: 0 30px 60px rgba(0,0,0,.35);
  position: relative;
}
.hero__card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px;
  background: repeating-linear-gradient(135deg, var(--ink) 0 8px, var(--steel) 8px 16px);
  border-radius: var(--radius) var(--radius) 0 0;
}
.hero__card-title { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; text-transform: uppercase; margin-bottom: 18px; }
.hero__card-list { display: grid; gap: 14px; margin-bottom: 24px; }
.hero__card-list li { display: flex; align-items: center; gap: 12px; }
.hero__card-list .icon { width: 20px; height: 20px; }
.hero__card-list a { text-decoration: none; font-weight: 600; }
.hero__card-list a:hover { text-decoration: underline; }

/* ---------------- Values ---------------- */
.values { background: var(--ink-2); color: var(--text-on-dark); border-top: 1px solid var(--line-dark); }
.values__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.value { padding: 40px 32px; border-left: 1px solid var(--line-dark); }
.value:last-child { border-right: 1px solid var(--line-dark); }
.value .icon { margin-bottom: 18px; }
.value__title { font-size: 1.5rem; margin-bottom: 8px; }
.value p { color: var(--text-on-dark-mute); margin: 0; }

/* ---------------- Sections ---------------- */
.section { padding-block: var(--section-y); position: relative; }
.section--tint { background: var(--paper-2); }
.section--dark { background: var(--ink); color: var(--text-on-dark); overflow: hidden; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head__lead { color: var(--text-mute); font-size: 1.1rem; margin: 0; }
.section-head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 32px; }
.section-head--row .section-head__lead { max-width: 420px; }
.section-head--row h2 { margin: 0; }

/* ---------------- Services ---------------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color var(--t-med), box-shadow var(--t-med), transform var(--t-med) var(--ease-out);
}
.service:hover { border-color: var(--ink); box-shadow: 0 18px 40px rgba(0,0,0,.10); transform: translateY(-3px); }
.service__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.service__media img { width: 100%; height: 100%; object-fit: cover; filter: var(--photo-filter); transition: transform 700ms var(--ease-out); }
/* Soft shade at rest that lifts on hover, so the hovered photo pops */
.service__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(11,11,11,0) 40%, rgba(11,11,11,.35) 100%), rgba(11,11,11,.12);
  transition: opacity var(--t-med) var(--ease-out);
}
.service__media .img--top { object-position: top; transform-origin: top; }
.service:hover .service__media img { transform: scale(1.08); }
.service:hover .service__media::after { opacity: 0; }
.service__body { padding: 22px 22px 26px; border-top: 4px solid var(--ink); }
.service__body h3 { margin-bottom: 8px; }
.service__body p { color: var(--text-mute); margin: 0; font-size: .97rem; }

/* ---------------- Smoke alarm band ---------------- */
.alert-band { background: var(--ink-3); color: var(--text-on-dark); padding-block: 36px; }
.alert-band__inner { display: flex; align-items: center; gap: 28px; }
.alert-band__icon { color: #fff; }
.alert-band__copy { flex: 1; }
.alert-band h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 6px; }
.alert-band p { margin: 0; color: var(--text-on-dark-mute); max-width: 70ch; }
.alert-band .btn { flex: none; }

/* ---------------- Split (why / about) ---------------- */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); filter: var(--photo-filter); }
.split__media::after {
  content: ""; position: absolute; left: -14px; top: -14px; width: 120px; height: 120px; z-index: -1;
  background: repeating-linear-gradient(135deg, var(--ink) 0 4px, transparent 4px 12px);
}
.section--dark .split__media::after { background: repeating-linear-gradient(135deg, var(--steel) 0 4px, transparent 4px 12px); opacity: .5; }
.split__badge {
  position: absolute; right: -18px; bottom: 28px; background: var(--ink); color: #fff;
  padding: 18px 22px; border-radius: var(--radius); display: grid; box-shadow: 0 20px 40px rgba(0,0,0,.25);
}
.split__badge-num { font-family: var(--font-display); font-weight: 800; font-size: 2.8rem; line-height: 1; }
.split__badge-label { font-size: .9rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-on-dark-mute); }
.split__copy > p { font-size: 1.08rem; color: var(--text-mute); }
.section--dark .split__copy > p { color: var(--text-on-dark-mute); }

.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin: 28px 0 36px; }
.checklist li { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; }
.checklist .icon {
  width: 22px; height: 22px; padding: 4px; margin-top: 1px; border-radius: 50%;
  background: var(--ink); color: #fff; stroke-width: 3;
}

/* ---------------- Stats ---------------- */
.stats { background: var(--ink); color: #fff; padding-block: 48px; }
.stats__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { display: grid; gap: 4px; padding: 8px 24px; border-left: 1px solid var(--line-dark); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 4.5vw, 3.5rem); line-height: 1; font-variant-numeric: tabular-nums; }
.stat__label { color: var(--text-on-dark-mute); text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; }

/* ---------------- Gallery ---------------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 16px; }
.gallery__item {
  position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--paper-2);
  transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med);
}
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; filter: var(--photo-filter); transition: transform 700ms var(--ease-out); }
/* Shade at rest; on hover it lifts and a white inset frame snaps in */
.gallery__item::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(11,11,11,0) 50%, rgba(11,11,11,.45) 100%), rgba(11,11,11,.15);
  transition: opacity var(--t-med) var(--ease-out);
}
.gallery__item::after {
  content: ""; position: absolute; inset: 10px; z-index: 1; pointer-events: none;
  border: 2px solid #fff; border-radius: 2px;
  opacity: 0; transform: scale(1.04);
  transition: opacity var(--t-med) var(--ease-out), transform var(--t-med) var(--ease-out);
}
.gallery__item:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(0,0,0,.22); z-index: 2; }
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item:hover::before { opacity: .35; }
.gallery__item:hover::after { opacity: 1; transform: none; }
.gallery__item figcaption {
  position: absolute; left: 12px; bottom: 12px; z-index: 2;
  background: var(--ink); color: #fff; padding: 6px 12px; border-radius: var(--radius);
  font-family: var(--font-display); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .95rem;
  transition: background-color var(--t-med), color var(--t-med), transform var(--t-med) var(--ease-out);
}
.gallery__item:hover figcaption { background: #fff; color: var(--ink); transform: translate(8px, -8px); }
.gallery__more { margin: 28px 0 0; color: var(--text-mute); }

/* ---------------- About ---------------- */
.about__roof { position: absolute; left: -8%; top: 40px; width: 560px; aspect-ratio: 1234 / 435; fill: #fff; opacity: .04; pointer-events: none; }
.about { position: relative; max-width: 760px; }
.about__head { text-align: center; margin-bottom: clamp(28px, 4vw, 44px); }
.about__head .eyebrow { justify-content: center; }
.about__role { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); margin: -.4em 0 0; }
.about__media { position: relative; isolation: isolate; max-width: 520px; margin: 0 auto clamp(32px, 5vw, 48px); }
.about__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); filter: var(--photo-filter); }
.about__media::after {
  content: ""; position: absolute; right: -14px; bottom: -14px; width: 120px; height: 120px; z-index: -1;
  background: repeating-linear-gradient(135deg, var(--steel) 0 4px, transparent 4px 12px); opacity: .5;
}
.about__body > p { font-size: 1.08rem; color: var(--text-on-dark-mute); }
.creds { display: grid; gap: 0; margin: 32px 0 0; border-top: 1px solid var(--line-dark); }
.creds > div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
.creds dt { color: var(--text-on-dark-mute); }
.creds dd { margin: 0; font-weight: 600; text-align: right; }

/* ---------------- Reviews ---------------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review {
  margin: 0; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  display: flex; flex-direction: column; gap: 18px; position: relative;
}
.review::before {
  content: "“"; position: absolute; right: 24px; top: 4px;
  font-family: var(--font-display); font-weight: 800; font-size: 6rem; line-height: 1; color: var(--line);
}
.stars { display: flex; gap: 3px; }
.stars .icon { fill: var(--ink); stroke: var(--ink); width: 18px; height: 18px; }
.review blockquote { margin: 0; flex: 1; font-size: 1.05rem; }
.review blockquote p { margin: 0; }
.review figcaption { display: grid; gap: 2px; font-size: .95rem; color: var(--text-mute); }
.review figcaption strong { color: var(--text); font-size: 1rem; }

/* ---------------- Service area ---------------- */
.area { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.area__copy p { color: var(--text-mute); font-size: 1.08rem; margin: 0; }
.area__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.area__list li {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px 14px; font-weight: 500; font-size: .95rem; display: flex; align-items: center; gap: 8px;
}
.area__list li::before { content: ""; width: 6px; height: 6px; background: var(--ink); transform: rotate(45deg); flex: none; }

/* ---------------- CTA ---------------- */
.cta { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding-block: clamp(56px, 7vw, 88px); }
.cta__roof { position: absolute; right: 4%; top: 50%; transform: translateY(-50%); width: min(520px, 50vw); aspect-ratio: 1234 / 435; fill: #fff; opacity: .06; }
.cta__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta h2 { margin-bottom: 8px; }
.cta p { margin: 0; color: var(--text-on-dark-mute); font-size: 1.1rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; flex: none; }

/* ---------------- Footer ---------------- */
.footer { background: var(--ink-2); color: var(--text-on-dark-mute); padding-top: 64px; border-top: 1px solid var(--line-dark); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer__brand img { width: 160px; height: auto; margin-bottom: 18px; }
.footer__brand p { max-width: 36ch; }
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-dark); border-radius: var(--radius); color: #fff;
  transition: background-color var(--t-fast), border-color var(--t-fast);
}
.footer__social a:hover { background: #fff; color: var(--ink); border-color: #fff; }
.footer__title { font-size: 1.2rem; letter-spacing: .1em; color: #fff; margin-bottom: 18px; }
.footer__links, .footer__contact { display: grid; gap: 10px; }
.footer__links a { text-decoration: none; }
.footer__links a:hover, .footer__contact a:hover { color: #fff; text-decoration: underline; }
.footer__contact li { display: flex; align-items: center; gap: 10px; }
.footer__contact a { text-decoration: none; }
.footer__contact .icon { color: #fff; }
.footer__legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  border-top: 1px solid var(--line-dark); padding-block: 22px; font-size: .875rem;
}
.footer__legal p { margin: 0; }

/* ---------------- Reveal on scroll ---------------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0ms !important; }
}

/* ---------------- Responsive ---------------- */
@media (max-width: 1100px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__card { max-width: 480px; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .area { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .brand img { height: 50px; }
  .nav-toggle { display: inline-flex; }
  .header__phone { display: none; }
  .header__actions { margin-left: auto; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: 40;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 24px;
    box-shadow: 0 24px 40px rgba(0,0,0,.12);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity var(--t-med) var(--ease-out), transform var(--t-med) var(--ease-out), visibility 0s linear var(--t-med);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { padding: 14px 0; font-size: 1.3rem; border-bottom: 1px solid var(--line); }
  .nav__list a::after { display: none; }
  .nav__mobile-cta { display: grid; gap: 12px; margin-top: 20px; }

  .values__grid { grid-template-columns: 1fr; }
  .value { border-left: 0; border-right: 0 !important; border-bottom: 1px solid var(--line-dark); padding: 28px 0; display: grid; grid-template-columns: auto 1fr; column-gap: 20px; }
  .value:last-child { border-bottom: 0; }
  .value .icon { grid-row: span 2; margin: 0; }

  .split, .split--reverse { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split__media { max-width: 560px; }
  .split__badge { right: 12px; }

  .stat { padding: 8px 16px; }
  .stat__label { font-size: .75rem; letter-spacing: .06em; }

  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .reviews { grid-template-columns: 1fr; }
  .section-head--row { flex-direction: column; align-items: start; }
  .alert-band__inner { flex-direction: column; align-items: flex-start; gap: 18px; }
  .cta__inner { flex-direction: column; align-items: flex-start; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .topbar { font-size: .8rem; }
  .topbar__hide-sm { display: none; }
  .header__quote { display: none; }
  .hero { min-height: 0; }
  .hero__ctas .btn { width: 100%; }
  .hero__card { padding: 24px; }
  .services { grid-template-columns: 1fr; }
  .service { flex-direction: row; }
  .service__media { aspect-ratio: auto; width: 38%; flex: none; }
  .service__body { border-top: 0; border-left: 4px solid var(--ink); padding: 16px 18px; }
  .service__body h3 { font-size: 1.2rem; }
  .service__body p { font-size: .92rem; }
  .checklist { grid-template-columns: 1fr; }
  .gallery { grid-auto-rows: 160px; gap: 10px; }
  .gallery__item figcaption { font-size: .8rem; padding: 4px 8px; left: 8px; bottom: 8px; }
  .area__list { grid-template-columns: repeat(2, 1fr); }
  .cta__actions, .cta__actions .btn { width: 100%; }
  .alert-band .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; }
  .creds > div { flex-direction: column; gap: 2px; }
  .creds dd { text-align: left; }
}
