:root {
  /* Shared professional service-page design tokens */
  --brand-primary: #172a37;
  --color-text-dark: #172027;
  --color-text-muted: #52606a;
  --color-page-light: #f5f7f8;
  --color-surface-white: #ffffff;
  --color-border: #dce3e7;
  --color-accent: #8a6200;
  --content-max: 1200px;
  --section-spacing: clamp(4rem, 7vw, 6.5rem);
  --card-radius: 20px;
  --button-radius: 12px;
  --shadow-small: 0 8px 24px rgba(18, 35, 45, 0.07);
  --shadow-medium: 0 18px 44px rgba(18, 35, 45, 0.11);
  --font-heading: system-ui, -apple-system, "Segoe UI", Roboto, Inter, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, Inter, sans-serif;
  --transition-standard: 180ms ease;

  --bg: #ffffff;
  --surface: rgba(255, 255, 255, 0.96);
  --surface-soft: rgba(255, 255, 255, 0.72);

  --text: #111111;
  --muted: #111111;

  --line: rgba(0, 0, 0, 0.08);
  --line-strong: rgba(0, 0, 0, 0.12);

  --shadow-soft: 0 12px 28px rgba(0, 0, 0, 0.05);
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
  --shadow-strong: 0 24px 60px rgba(0, 0, 0, 0.1);

  --radius: 24px;
  --radius-sm: 18px;
  --wrap: 1200px;

  --seo-black: #111111;
  --seo-white: #ffffff;
  --seo-soft: #f7f7f7;
  --seo-soft-2: #fafafa;
  --seo-muted: #444444;
  --seo-line: rgba(0, 0, 0, 0.08);
  --seo-line-strong: rgba(0, 0, 0, 0.14);
  --seo-gold: #ffbf00;
  --seo-blue: #4da3ff;
  --seo-radius: 24px;
  --seo-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
  --seo-shadow-strong: 0 24px 70px rgba(0, 0, 0, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  background: #ffffff;
}

body {
  margin: 0;
  font-family:
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Inter,
    "Helvetica Neue",
    Arial,
    sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: #ffffff;
  overflow-x: clip;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: #111111;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2rem));
  margin-inline: auto;
}

/* ===== Shared Surfaces ===== */

.card,
.step,
.tile,
.cta,
.contact-grid form,
.contact-grid aside,
.about-dropdown,
.education-list li {
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  border-radius: 22px;
}

/* ===== Header ===== */

header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  min-width: 0;
}

.brand img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid var(--line);
}

.brand h1,
.brand-name {
  margin: 0;
  font-size: 1.8rem;
  white-space: nowrap;
  letter-spacing: 0.02em;
  color: #111111;
}

.desktop-nav ul,
.menu-dropdown ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.desktop-nav ul {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.desktop-nav a,
.menu-dropdown a {
  text-decoration: none;
  color: #111111;
  font-weight: 700;
  padding: 0.7rem 1rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.desktop-nav a:hover,
.menu-dropdown a:hover {
  color: #ffffff;
  background: #111111;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1100;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  background: #111111;
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid #4da3ff;
  outline-offset: 3px;
}

.services-nav-item {
  position: relative;
}

.services-nav > summary,
.mobile-services > details > summary,
.service-location-nav > summary,
.mobile-service-group > summary {
  cursor: pointer;
  list-style: none;
  color: #111111;
  font-weight: 700;
  padding: 0.7rem 1rem;
  border-radius: 12px;
}

.services-nav > summary::-webkit-details-marker,
.mobile-services > details > summary::-webkit-details-marker,
.service-location-nav > summary::-webkit-details-marker,
.mobile-service-group > summary::-webkit-details-marker {
  display: none;
}

.services-nav > summary:hover,
.services-nav[open] > summary {
  color: #ffffff;
  background: #111111;
}

.services-nav-menu {
  position: absolute;
  top: calc(100% + 0.65rem);
  right: 0;
  width: 270px;
  padding: 0.6rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.services-nav-menu a {
  display: flex;
  width: 100%;
  padding: 0.65rem 0.8rem;
}

.service-location-nav > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.65rem 0.8rem;
}

.service-location-nav > summary::after,
.mobile-service-group > summary::after {
  content: "+";
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-left: 0.5rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.9rem;
  line-height: 1;
}

.service-location-nav[open] > summary::after,
.mobile-service-group[open] > summary::after {
  content: "−";
}

.service-location-nav > summary:hover,
.service-location-nav[open] > summary {
  background: #f3f4f6;
}

.service-location-nav .service-location-submenu {
  margin: 0.15rem 0 0.35rem 0.7rem;
  padding-left: 0.45rem;
  border-left: 1px solid var(--line);
}

.service-location-nav .service-location-submenu a {
  padding: 0.55rem 0.7rem;
  font-size: 0.92rem;
}

.service-location-nav.is-current > summary {
  color: #ffffff;
  background: #111111;
}

.desktop-nav [aria-current="page"],
.desktop-nav .services-nav-item.is-current > .services-nav > summary {
  color: #ffffff;
  background: #111111;
}

.menu-wrap {
  display: none;
  position: relative;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: 1rem;
}

.header-actions .btn {
  min-height: 44px;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  color: #111111;
  font-weight: 800;
  text-decoration: none;
}

.header-phone:hover {
  background: #f7f7f7;
}

.header-consultation { min-height: 44px !important; }
.mobile-action-bar { display: none; }

@media (max-width: 1180px) {
  .header-actions {
    display: none;
  }
}

.menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid var(--line);
  background: #ffffff;
  color: #111111;
  padding: 0.78rem 1rem;
  border-radius: 14px;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.menu-dropdown {
  position: absolute;
  top: calc(100% + 0.7rem);
  right: 0;
  min-width: 220px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0.6rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.menu-dropdown a {
  display: block;
}

.mobile-services summary {
  display: block;
}

.mobile-services .service-submenu {
  margin: 0.2rem 0 0.45rem 0.7rem;
  padding-left: 0.5rem;
  border-left: 1px solid var(--line);
}

.mobile-services .service-submenu a {
  padding: 0.55rem 0.7rem;
  font-size: 0.92rem;
}

.form-guidance {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-left: 3px solid #4da3ff;
  border-radius: 0 12px 12px 0;
  background: #f5faff;
  color: #1f2937;
  font-size: 0.94rem;
}

/* ===== Buttons ===== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.9rem 1.2rem;
  border-radius: 14px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
}

.btn-primary:hover {
  background: #2a2a2a;
  color: #ffffff;
  border-color: #2a2a2a;
}

.btn-secondary {
  background: #ffffff;
  color: #111111;
  border-color: #d1d5db;
}

.btn-secondary:hover {
  background: #f3f4f6;
  color: #111111;
  border-color: #c7ccd3;
}

/* =========================================================
   INDEX / HOMEPAGE HERO IMAGE
========================================================= */

.hero-image {
  position: relative;
  margin-top: 78px;
  background: #ffffff;
  overflow: hidden;
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.02) 0%,
      rgba(255, 255, 255, 0) 24%
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0) 55%,
      rgba(0, 0, 0, 0.12) 100%
    );
  pointer-events: none;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-book-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  width: min(92%, 340px);
  transform: translate(-50%, -58%);
}

.hero-book-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;

  padding: 1rem 1.25rem;
  border-radius: 18px;

  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.72);
  color: #111111;

  font-weight: 800;
  font-size: 1.8rem;
  line-height: 1.2;

  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  transition:
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.hero-book-link:hover {
  background: rgba(255, 255, 255, 0.92);
  transform: translateY(-1px);
}

.hero-municipalities {
  position: absolute;
  top: 64%;
  left: 50%;
  z-index: 3;

  width: min(1200px, calc(100% - 2rem));
  overflow: hidden;

  transform: translateX(-50%);

  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-municipalities-track {
  display: flex;
  width: max-content;
  animation: simcoeTicker 34s linear infinite;
}

.hero-municipalities-track span {
  display: flex;
  align-items: center;
  white-space: nowrap;

  padding: 1rem 1.4rem;

  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
  color: #111111;
}

@keyframes simcoeTicker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* =========================================================
   RESIDENTIAL SERVICES HERO
========================================================= */

.hero.hero-residential.hero-services {
  position: relative;
  min-height: 640px;
  margin-top: 78px;

  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;

  background-image:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.5) 0%,
      rgba(0, 0, 0, 0.24) 46%,
      rgba(0, 0, 0, 0.05) 100%
    ),
    url("../images/barrie-design-services.avif");

  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero.hero-residential.hero-services::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;

  height: 24%;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(255, 255, 255, 0.9)
  );

  pointer-events: none;
}

.hero-services .hero-inner {
  position: relative;
  z-index: 2;

  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;

  padding: clamp(2rem, 5vw, 4rem) 1rem;
}

.hero-services-content {
  width: min(92vw, 760px);
  max-width: 760px;

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  padding: clamp(1.5rem, 3.5vw, 2.25rem);
  border-radius: 26px;

  background: rgba(15, 15, 15, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-services-content .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;

  margin-bottom: 0.95rem;

  color: rgba(255, 255, 255, 0.78);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
  font-weight: 800;
}

.hero-services-content .hero-eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: rgba(255, 255, 255, 0.52);
}

.hero-services-content h1,
.hero-services-content h2 {
  max-width: 10ch;
  margin: 0 auto 2.4rem;

  color: #ffffff;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 0.94;
  font-weight: 850;
  letter-spacing: -0.055em;
  text-align: center;
}

/* Services carousel */

.services-carousel {
  width: 100%;
  max-width: 100%;
  margin: 0 auto 1.35rem;
  padding: 0;
  overflow: hidden;

  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.services-track {
  display: flex;
  width: max-content;
  animation: servicesScroll 34s linear infinite;
  will-change: transform;
}

.services-track span {
  display: flex;
  align-items: center;
  white-space: nowrap;

  padding: 1rem 1.4rem;

  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
  color: #111111;
}

.services-track span::after {
  content: "•";
  margin-left: 1.4rem;
  color: #111111;
  font-weight: 700;
}

.services-carousel:hover .services-track {
  animation-play-state: paused;
}

@keyframes servicesScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.hero-services .hero-actions {
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.hero-services .btn-primary {
  width: 100%;
  min-height: auto;

  padding: 1rem 1.25rem;
  border-radius: 18px;

  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.72);
  color: #111111;

  font-weight: 800;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  line-height: 1.2;
  text-align: center;
  text-decoration: none;

  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-services .btn-primary:hover {
  background: rgba(255, 255, 255, 0.92);
  color: #111111;
  transform: translateY(-1px);
}

/* =========================================================
   STANDARD RESIDENTIAL HERO
========================================================= */

.hero.hero-residential:not(.hero-services) {
  position: relative;
  min-height: 640px;
  margin-top: 78px;

  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;

  background-image:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.58) 0%,
      rgba(0, 0, 0, 0.28) 46%,
      rgba(0, 0, 0, 0.04) 100%
    ),
    url("../images/barrie-design-services.avif");

  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero.hero-residential:not(.hero-services)::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;

  height: 22%;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(255, 255, 255, 0.88)
  );

  pointer-events: none;
}

.hero.hero-residential.hero-deck-design {
  background-image:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.42) 0%,
      rgba(0, 0, 0, 0.14) 46%,
      rgba(0, 0, 0, 0.01) 100%
    ),
    url("../images/deck-design-bcin-barrie-simcoe-county.avif");
  background-position: center 68%;
}

.hero.hero-residential.hero-deck-design::after {
  height: 14%;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(255, 255, 255, 0.58)
  );
}

.hero.hero-residential:not(.hero-services) .hero-inner {
  position: relative;
  z-index: 2;
}

.hero.hero-residential:not(.hero-services) .hero-content {
  max-width: 580px;
  padding: clamp(1.4rem, 3vw, 2rem);
  border-radius: 26px;

  background: rgba(15, 15, 15, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero.hero-residential:not(.hero-services) h1,
.hero.hero-residential:not(.hero-services) h2 {
  margin: 0;
  max-width: 11ch;

  color: #ffffff;
  font-size: clamp(2.25rem, 4.7vw, 4.4rem);
  line-height: 0.98;
  font-weight: 850;
  letter-spacing: -0.045em;
}

.hero.hero-residential:not(.hero-services) p {
  max-width: 46ch;
  margin: 1.1rem 0 0;

  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(0.98rem, 1.15vw, 1.08rem);
  line-height: 1.65;
}

.hero.hero-residential:not(.hero-services) .hero-actions {
  margin-top: 1.45rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero.hero-residential:not(.hero-services) .btn {
  min-height: 46px;
  padding: 0.74rem 1.15rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.92rem;
}

.hero.hero-residential:not(.hero-services) .btn-primary {
  background: #ffffff;
  color: #111111;
  border: 1px solid #ffffff;
}

.hero.hero-residential:not(.hero-services) .btn-primary:hover {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
}

.hero.hero-residential:not(.hero-services) .btn-ghost {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.38);
}

.hero.hero-residential:not(.hero-services) .btn-ghost:hover {
  background: #ffffff;
  color: #111111;
  border-color: #ffffff;
}

.hero-mini-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.15rem;
}

.hero-mini-list span {
  display: inline-flex;
  align-items: center;

  color: rgba(255, 255, 255, 0.84);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.hero-mini-list span:not(:last-child)::after {
  content: "•";
  margin-left: 0.55rem;
  color: rgba(255, 255, 255, 0.45);
}

/* =========================================================
   HOMEPAGE TEXT PANEL
========================================================= */

.hero-copy {
  margin-top: 0;
  padding: 0;
  background: #ffffff;
}

.hero-panel {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: none;
  border-radius: 0;
  padding: clamp(2rem, 4vw, 3.5rem) 0;
}

.hero-panel-split {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 320px;
  gap: 2rem;
  align-items: center;
}

.hero-panel-copy {
  min-width: 0;
}

.hero-panel-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-panel-logo img {
  width: 100%;
  max-width: 260px;
  height: auto;
  object-fit: contain;
}

.hero-title {
  margin: 0 0 0.85rem;

  color: #111111;
  font-size: clamp(1.7rem, 2.3vw, 2.6rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.hero-kicker {
  margin: 0 0 0.9rem;

  color: #111111;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.5;
}

.hero-lead {
  max-width: 68ch;
  margin: 0;

  color: #111111;
  font-size: 1.05rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.6rem;
  width: 100%;
  flex-wrap: wrap;
}

.hero-actions .btn {
  flex: 1 1 220px;
  min-width: 0;
  text-align: center;
}

/* =========================================================
   SECTIONS
========================================================= */

.page-section,
section.wrap,
.wrap.page-section {
  padding-top: 4.5rem;
  background: #ffffff;
}

.muted {
  margin: 0 0 0.35rem;

  color: #111111;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 2rem;
  font-weight: 800;
}

.section-title {
  margin: 0.05rem 0 1.35rem;

  color: #111111;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.1;
}

.page-section > .wrap > p:not(.muted):not(.section-title) {
  color: #111111;
  font-size: 1.02rem;
}

/* =========================================================
   CARDS
========================================================= */

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.about-cards {
  grid-template-columns: 1fr;
}

.card {
  padding: 1.35rem;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.7rem;

  color: #111111;
  font-size: 1.1rem;
}

.card p,
.card li,
.step,
.tile p,
.message,
.hours li,
aside p,
aside address {
  color: #111111;
}

.card ul,
.hours,
.after-hours {
  padding-left: 1.2rem;
  margin: 0.7rem 0 0;
}

.service-link {
  display: inline-flex;
  margin-top: 1rem;
  color: #111111;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

.service-link:hover {
  opacity: 0.78;
}

/* =========================================================
   ABOUT
========================================================= */

.about-profile-card {
  padding: 1.2rem;
}

.about-profile {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 1.5rem;
  align-items: start;
}

.about-photo img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.about-content p {
  margin-top: 0;
  color: #111111;
}

.about-dropdown {
  margin-top: 0.5rem;
  overflow: hidden;
}

.about-dropdown summary {
  cursor: pointer;
  list-style: none;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;

  padding: 1rem 1.15rem;

  color: #111111;
  background: #ffffff;
  font-weight: 800;

  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.about-dropdown summary:hover {
  background: #f8f8f8;
}

.about-dropdown summary::-webkit-details-marker {
  display: none;
}

.about-dropdown summary::after {
  content: "+";

  flex: 0 0 auto;
  width: 30px;
  height: 30px;

  display: inline-grid;
  place-items: center;

  border-radius: 999px;
  background: #ffffff;
  color: #111111;
  border: 1px solid var(--line);

  font-size: 1.2rem;
  line-height: 1;
  font-weight: 800;
}

.about-dropdown[open] summary {
  background: #fafafa;
}

.about-dropdown[open] summary::after {
  content: "−";
}

.about-dropdown-content {
  padding: 1rem 1.15rem 1.2rem;
}

.about-dropdown-content p:last-child {
  margin-bottom: 0;
}

.about-dropdown-content a,
.education-list a,
.message a,
aside a,
p a {
  color: #111111;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 2px;
}

.about-section-block {
  margin-top: 1.1rem;
}

.about-section-title {
  margin: 0 0 0.7rem;

  color: #111111;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 0 1rem;
}

.about-tag {
  display: inline-flex;
  align-items: center;

  padding: 0.45rem 0.75rem;
  border-radius: 999px;

  border: 1px solid var(--line);
  background: #ffffff;
  color: #111111;

  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1;
}

.education-list {
  list-style: none;
  margin: 0;
  padding: 0;

  display: grid;
  gap: 0.85rem;
}

.education-list li {
  padding: 0.95rem 1rem;
}

.education-list strong {
  display: block;
  margin-bottom: 0.2rem;
  color: #111111;
}

.education-list span {
  display: block;
  color: #111111;
  font-size: 0.96rem;
}

/* =========================================================
   STEPS / PORTFOLIO / CTA
========================================================= */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.step {
  padding: 1rem;
}

.step strong {
  color: #111111;
}

.thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 0.9rem;
  border: 1px solid var(--line);
}

.portfolio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.tile {
  overflow: hidden;
}

.tile img {
  width: 100%;
  aspect-ratio: 10 / 7;
  object-fit: cover;
}

.tile figcaption {
  padding: 1rem 1.1rem 1.15rem;
  color: #111111;
}

.tile strong {
  display: block;
  margin-bottom: 0.45rem;
  color: #111111;
  font-size: 1.05rem;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.45rem;
}

.cta h3,
.cta p {
  color: #111111;
}

/* =========================================================
   CONTACT
========================================================= */

.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr;
  gap: 1rem;
}

.contact-grid form,
.contact-grid aside {
  padding: 1.3rem;
}

label {
  display: block;
  margin: 0 0 0.4rem;
  color: #111111;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  margin: 0 0 1rem;
  padding: 0.92rem 1rem;

  border-radius: 14px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: #111111;

  font: inherit;
  outline: none;
}

input::placeholder,
textarea::placeholder {
  color: #111111;
  opacity: 0.65;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(0, 0, 0, 0.25);
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.05);
}

select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  background-image:
    linear-gradient(45deg, transparent 50%, #111111 50%),
    linear-gradient(135deg, #111111 50%, transparent 50%);
  background-position:
    calc(100% - 20px) calc(50% - 3px),
    calc(100% - 14px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;

  padding-right: 2.8rem;
}

.contact-actions,
.form-actions {
  display: flex;
  gap: 0.7rem;
  margin-top: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.privacy-note {
  margin-top: 0.75rem;
  max-width: 62ch;
  font-size: 0.92rem;
  line-height: 1.6;
}

.map-wrap {
  width: 100%;
  overflow: hidden;
  border-radius: 14px;
  margin-bottom: 1rem;
  border: 1px solid var(--line);
}

/* =========================================================
   FOOTER
========================================================= */

footer.site-footer {
  margin-top: 4.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 5% 0%, rgba(77, 163, 255, 0.16), transparent 28rem),
    linear-gradient(145deg, #10161a, #202b32);
  color: #ffffff;
}

.site-footer .footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(150px, 0.7fr));
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  padding: clamp(3.5rem, 6vw, 5.5rem) 0 3rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 900;
  text-decoration: none;
}

.footer-brand img {
  width: 54px;
  height: 54px;
  border-radius: 14px;
}

.footer-brand-column > p {
  max-width: 42ch;
  margin: 1.15rem 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-brand-column address {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  font-style: normal;
  line-height: 1.75;
}

.footer-brand-column address a {
  color: #ffffff;
}

.footer-nav-column h2 {
  margin: 0 0 1rem;
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-nav-column ul {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav-column a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  text-decoration: none;
  line-height: 1.4;
}

.footer-nav-column a:hover {
  color: #ffffff;
}

.footer-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  color: #ffffff !important;
  font-weight: 850;
  text-align: center;
}

.site-footer .footer-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin: 0 auto;
  padding: 1.25rem 0 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.78rem;
}

.site-footer .footer-meta p {
  margin: 0;
}

@media (max-width: 980px) {
  .site-footer .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .site-footer .footer-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.25rem;
    padding: 3rem 0 2.25rem;
  }

  .site-footer .footer-meta {
    flex-direction: column;
    padding-bottom: 5.5rem;
  }
}

.foot,
.legal {
  padding: 1.25rem 0;
}

.foot strong {
  color: #111111;
}

.legal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;

  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.legal-copy {
  color: #111111;
}

.legal-link {
  color: #111111;
  text-decoration: none;
  font-weight: 700;
}

.legal-link:hover {
  color: #000000;
  text-decoration: underline;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;

  color: #111111;
  text-decoration: none;
}

.social-link:hover {
  color: #000000;
}

.privacy-content {
  max-width: 880px;
}

.privacy-content h3 {
  margin: 2rem 0 0.65rem;
  color: #111111;
  font-size: 1.18rem;
}

.privacy-content p,
.privacy-content li,
.privacy-content address {
  color: #111111;
  font-size: 1rem;
  line-height: 1.75;
}

.privacy-content ul {
  padding-left: 1.25rem;
}

/* =========================================================
   CUSTOM HOME HERO
========================================================= */

.hero.hero-residential.hero-custom-home {
  min-height: 640px;
  background-image:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.58) 0%,
      rgba(0, 0, 0, 0.28) 46%,
      rgba(0, 0, 0, 0.04) 100%
    ),
    url("../images/custom-home-design-barrie-hero.avif");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero.hero-residential.hero-custom-home .hero-inner {
  min-height: 640px;
  display: flex;
  align-items: center;
}

.custom-home-page .hero.hero-residential.hero-custom-home .hero-eyebrow {
  display: inline-flex;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

/* =========================================================
   SAFE SEO HOMEPAGE SECTIONS
   Scoped only to .seo-* sections
========================================================= */

.seo-intro,
.seo-services,
.seo-areas,
.seo-process,
.seo-faq,
.seo-final-cta,
.noscript-seo {
  position: relative;
  padding: clamp(4rem, 7vw, 7rem) 0;
  background: #ffffff;
  color: #111111;
  overflow: hidden;
}

.seo-intro *,
.seo-services *,
.seo-areas *,
.seo-process *,
.seo-faq *,
.seo-final-cta *,
.noscript-seo * {
  box-sizing: border-box;
}

.seo-intro .wrap,
.seo-services .wrap,
.seo-areas .wrap,
.seo-process .wrap,
.seo-faq .wrap,
.seo-final-cta .wrap,
.noscript-seo .wrap {
  width: min(var(--wrap), calc(100% - 2rem));
  margin-inline: auto;
}

/* Decorative soft background */
.seo-intro::before,
.seo-services::before,
.seo-process::before,
.seo-final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 0%, rgba(77, 163, 255, 0.12), transparent 28rem),
    radial-gradient(circle at 92% 12%, rgba(255, 191, 0, 0.12), transparent 26rem);
}

.seo-intro .wrap,
.seo-services .wrap,
.seo-areas .wrap,
.seo-process .wrap,
.seo-faq .wrap,
.seo-final-cta .wrap {
  position: relative;
  z-index: 1;
}

.seo-intro .eyebrow,
.seo-services .eyebrow,
.seo-areas .eyebrow,
.seo-process .eyebrow,
.seo-faq .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1rem;
  color: #111111;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 900;
}

.seo-intro .eyebrow::before,
.seo-services .eyebrow::before,
.seo-areas .eyebrow::before,
.seo-process .eyebrow::before,
.seo-faq .eyebrow::before {
  content: "";
  width: 42px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--seo-gold), var(--seo-blue));
}

.seo-intro h1,
.seo-services h2,
.seo-areas h2,
.seo-process h2,
.seo-faq h2,
.seo-final-cta h2 {
  max-width: 980px;
  margin: 0 0 1.25rem;
  color: #111111;
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 900;
}

.seo-intro h1 {
  font-size: clamp(2.35rem, 5.8vw, 5rem);
}

.seo-services h2,
.seo-areas h2,
.seo-process h2,
.seo-faq h2,
.seo-final-cta h2 {
  font-size: clamp(2rem, 4vw, 3.8rem);
}

.seo-intro h3,
.seo-services h3,
.seo-areas h3,
.seo-process h3,
.seo-faq h3,
.seo-final-cta h3 {
  color: #111111;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.seo-intro p,
.seo-services p,
.seo-areas p,
.seo-process p,
.seo-faq p,
.seo-final-cta p,
.noscript-seo p {
  max-width: 820px;
  color: #333333;
  font-size: clamp(1rem, 1.1vw, 1.08rem);
  line-height: 1.8;
}

.seo-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.seo-trust {
  margin-top: 2rem;
}

.seo-trust .trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.seo-trust .trust-card {
  padding: 1.5rem;
  background: #ffffff;
  border: 1px solid var(--seo-line);
  border-radius: 24px;
  box-shadow: var(--seo-shadow);
}

.seo-trust .trust-card h3 {
  margin-top: 0;
}

/* SEO buttons only */
.seo-intro .btn,
.seo-final-cta .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.9rem 1.3rem;
  border-radius: 14px;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.seo-intro .btn:hover,
.seo-final-cta .btn:hover {
  transform: translateY(-2px);
}

.seo-intro .btn.primary,
.seo-final-cta .btn.primary {
  background: #111111;
  color: #ffffff;
  border: 1px solid #111111;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
}

.seo-intro .btn.primary:hover,
.seo-final-cta .btn.primary:hover {
  background: #2a2a2a;
  color: #ffffff;
}

.seo-intro .btn.secondary {
  background: #ffffff;
  color: #111111;
  border: 1px solid #d1d5db;
}

.seo-intro .btn.secondary:hover {
  background: #f3f4f6;
}

/* SEO service cards */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.3rem;
}

.service-card {
  position: relative;
  min-height: 310px;
  padding: 1.45rem;
  padding-bottom: 5.8rem;
  border-radius: var(--seo-radius);
  border: 1px solid var(--seo-line);
  background:
    radial-gradient(circle at 12% 0%, rgba(77, 163, 255, 0.08), transparent 34%),
    radial-gradient(circle at 100% 100%, rgba(255, 191, 0, 0.09), transparent 38%),
    linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
  box-shadow: var(--seo-shadow);
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    border-color 0.24s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--seo-line-strong);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
}

.service-card h3 {
  margin: 0 0 0.75rem;
  color: #111111;
  font-size: 1.2rem;
  font-weight: 900;
}

.service-card p {
  margin: 0 0 1.2rem;
  color: #444444;
  font-size: 0.98rem;
  line-height: 1.7;
}

.service-card a {
  position: absolute;
  left: 1.45rem;
  right: 1.45rem;
  bottom: 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--seo-line);
  color: #111111;
  font-weight: 900;
  text-decoration: none;
}

.service-card a::after {
  content: "→";
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  transition: transform 0.2s ease;
}

.service-card:hover a::after {
  transform: translateX(4px);
}

/* Areas served */
.seo-areas {
  background:
    linear-gradient(180deg, #ffffff 0%, #f8f8f8 100%);
}

.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
}

.area-list li {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: #ffffff;
  color: #111111;
  border: 1px solid var(--seo-line);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.045);
  font-weight: 750;
}

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.3rem;
  counter-reset: process;
}

.process-grid article {
  position: relative;
  min-height: 240px;
  padding: 1.45rem;
  border-radius: var(--seo-radius);
  border: 1px solid var(--seo-line);
  background: #ffffff;
  box-shadow: var(--seo-shadow);
  overflow: hidden;
}

.process-grid article::before {
  counter-increment: process;
  content: counter(process);
  position: absolute;
  right: 1rem;
  top: 0.4rem;
  color: rgba(0, 0, 0, 0.055);
  font-size: 5rem;
  font-weight: 950;
  line-height: 1;
}

.process-grid article::after {
  content: "";
  position: absolute;
  left: 1.45rem;
  top: 0;
  width: 56px;
  height: 4px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, var(--seo-blue), var(--seo-gold));
}

.process-grid h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 0.75rem;
  color: #111111;
  font-size: 1.2rem;
  font-weight: 900;
}

.process-grid p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #444444;
  font-size: 0.98rem;
  line-height: 1.7;
}

/* FAQ */
.seo-faq {
  background:
    linear-gradient(180deg, #ffffff 0%, #f8f8f8 100%);
}

.seo-faq details {
  max-width: 920px;
  margin: 0.85rem 0;
  border-radius: 18px;
  border: 1px solid var(--seo-line);
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.055);
  overflow: hidden;
}

.seo-faq summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 4rem 1.15rem 1.25rem;
  color: #111111;
  font-weight: 900;
}

.seo-faq summary::-webkit-details-marker {
  display: none;
}

.seo-faq summary::after {
  content: "+";
  position: absolute;
  right: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  font-weight: 900;
}

.seo-faq details[open] summary::after {
  content: "−";
}

.seo-faq details p {
  margin: 0;
  padding: 0 1.25rem 1.2rem;
  color: #444444;
}

/* Final CTA */
.seo-final-cta {
  background: #ffffff;
}

.seo-final-cta .wrap {
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 28px;
  border: 1px solid var(--seo-line);
  background:
    radial-gradient(circle at 0% 0%, rgba(77, 163, 255, 0.16), transparent 34%),
    radial-gradient(circle at 100% 100%, rgba(255, 191, 0, 0.18), transparent 36%),
    linear-gradient(180deg, #ffffff 0%, #f8f8f8 100%);
  box-shadow: var(--seo-shadow-strong);
}

.noscript-seo {
  background: #ffffff;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1080px) {
  .service-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card {
    min-height: 280px;
  }
}

@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }

  .menu-wrap {
    display: block;
    position: static;
  }

  .menu-btn {
    min-width: 104px;
    min-height: 48px;
    justify-content: center;
  }

  .menu-btn .caret {
    transition: transform 0.2s ease;
  }

  .menu-btn[aria-expanded="true"] .caret {
    transform: rotate(180deg);
  }

  .menu-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    width: 100%;
    min-width: 0;
    max-height: calc(100vh - 78px - 72px);
    max-height: calc(100dvh - 78px - 72px);
    padding: 0.75rem max(0.75rem, env(safe-area-inset-right)) 1.25rem max(0.75rem, env(safe-area-inset-left));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    border-width: 1px 0 0;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.16);
  }

  .menu-dropdown > ul {
    width: min(100%, 680px);
    margin-inline: auto;
  }

  .menu-dropdown > ul > li > a,
  .mobile-services > details > summary {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 0.75rem 0.85rem;
  }

  .mobile-services > details > summary {
    justify-content: space-between;
  }

  .mobile-services > details > summary::after {
    content: "+";
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border: 1px solid var(--line);
    border-radius: 999px;
  }

  .mobile-services > details[open] > summary::after {
    content: "−";
  }

  .mobile-services .service-submenu {
    margin: 0 0 0.6rem 0.7rem;
    padding: 0.15rem 0 0.15rem 0.65rem;
  }

  .mobile-services .service-submenu a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0.62rem 0.75rem;
  }

  .mobile-service-group > summary {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.62rem 0.75rem;
    font-size: 0.92rem;
  }

  .mobile-service-group .service-location-submenu {
    margin: 0 0 0.45rem 0.75rem;
    padding: 0.1rem 0 0.1rem 0.55rem;
    border-left: 1px solid var(--line);
  }

  .mobile-service-group .service-location-submenu a {
    min-height: 42px;
    padding: 0.55rem 0.7rem;
    font-size: 0.88rem;
  }

  .mobile-service-group.is-current > summary {
    color: #ffffff;
    background: #111111;
  }

  .menu-dropdown [aria-current="page"] {
    color: #ffffff;
    background: #111111;
  }

  body.nav-open {
    overflow: hidden;
  }

  .mobile-action-bar {
    position: fixed;
    right: 0.65rem;
    bottom: max(0.65rem, env(safe-area-inset-bottom));
    left: 0.65rem;
    z-index: 1100;
    display: grid;
    grid-template-columns: 0.8fr 0.8fr 1.4fr;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 16px;
    background: #111111;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
    isolation: isolate;
  }

  .mobile-action-bar a {
    min-height: 48px;
    display: grid;
    place-items: center;
    padding: 0.65rem 0.5rem;
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 800;
    text-decoration: none;
  }

  .mobile-action-bar a + a {
    border-left: 1px solid rgba(255, 255, 255, 0.22);
  }

  body { padding-bottom: 4.8rem; }

  .cards,
  .steps,
  .portfolio,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero.hero-residential.hero-services,
  .hero.hero-residential:not(.hero-services) {
    min-height: 600px;
  }

  .hero.hero-residential:not(.hero-services) .hero-actions {
    align-items: stretch;
  }

  .hero.hero-residential:not(.hero-services) .hero-actions .btn {
    flex: 1 1 0;
    min-width: 0;
    min-height: 52px;
    line-height: 1.25;
    white-space: normal;
    text-align: center;
    text-wrap: balance;
  }
}

@media (max-width: 900px) {
  .about-profile {
    grid-template-columns: 1fr;
  }

  .about-photo {
    max-width: 360px;
  }

  .hero-panel-split {
    grid-template-columns: 1fr;
  }

  .hero-panel-logo {
    order: -1;
    justify-content: flex-start;
  }

  .hero-panel-logo img {
    max-width: 180px;
  }
}

@media (max-width: 760px) {
  .seo-intro,
  .seo-services,
  .seo-areas,
  .seo-process,
  .seo-faq,
  .seo-final-cta,
  .noscript-seo {
    padding: 3.5rem 0;
  }

  .seo-intro h1 {
    font-size: clamp(2rem, 11vw, 3.4rem);
  }

  .seo-services h2,
  .seo-areas h2,
  .seo-process h2,
  .seo-faq h2,
  .seo-final-cta h2 {
    font-size: clamp(1.85rem, 9vw, 2.9rem);
  }

  .service-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .seo-cta-row {
    flex-direction: column;
  }

  .seo-intro .btn,
  .seo-final-cta .btn {
    width: 100%;
  }

  .area-list li {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(var(--wrap), calc(100% - 1rem));
  }

  .nav {
    min-height: 72px;
    gap: 0.5rem;
  }

  .brand {
    flex: 1 1 auto;
    gap: 0.5rem;
  }

  .brand img {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
  }

  .brand h1,
  .brand-name {
    min-width: 0;
    overflow: hidden;
    font-size: 1rem;
    text-overflow: ellipsis;
  }

  .menu-wrap {
    flex: 0 0 auto;
  }

  .menu-dropdown {
    max-height: calc(100vh - 72px - 68px);
    max-height: calc(100dvh - 72px - 68px);
  }

  .menu-btn {
    min-width: 96px;
    padding-inline: 0.8rem;
  }

  .hero-image {
    margin-top: 72px;
  }

  .hero-image img {
    height: clamp(300px, 70vw, 520px);
    object-fit: cover;
  }

  .hero-book-btn {
    top: 48%;
    width: min(92%, 300px);
    transform: translate(-50%, -56%);
  }

  .hero-book-link {
    font-size: 1.2rem;
    padding: 0.9rem 1rem;
  }

  .hero-municipalities {
    top: 62%;
    width: calc(100% - 1rem);
    border-radius: 14px;
  }

  .hero-municipalities-track span {
    padding: 0.85rem 1rem;
    font-size: 13px;
  }

  .hero.hero-residential.hero-services,
  .hero.hero-residential:not(.hero-services) {
    min-height: 590px;
    margin-top: 72px;
    background-position: center center;
  }

  .hero.hero-residential.hero-deck-design {
    background-position: center 68%;
  }

  .hero-services .hero-inner {
    min-height: 590px;
    padding: 1rem;
  }

  .hero-services-content {
    width: min(100%, calc(100vw - 1rem));
    padding: 1.25rem;
    border-radius: 24px;
    background: rgba(15, 15, 15, 0.64);
  }

  .hero-services-content .hero-eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.13em;
  }

  .hero-services-content h1,
  .hero-services-content h2 {
    max-width: 10ch;
    margin-bottom: 1.7rem;
    font-size: clamp(2.35rem, 12vw, 3.4rem);
  }

  .services-carousel {
    border-radius: 14px;
    margin-bottom: 1rem;
  }

  .services-track span {
    padding: 0.85rem 1rem;
    font-size: 13px;
  }

  .services-track span::after {
    margin-left: 1rem;
  }

  .hero-services .hero-actions {
    max-width: 300px;
  }

  .hero-services .btn-primary {
    font-size: 1.2rem;
    padding: 0.9rem 1rem;
  }

  .hero.hero-residential:not(.hero-services) .hero-content {
    max-width: 100%;
    padding: 1.25rem;
    border-radius: 24px;
    background: rgba(15, 15, 15, 0.64);
  }

  .hero.hero-residential:not(.hero-services) h1,
  .hero.hero-residential:not(.hero-services) h2 {
    max-width: 10ch;
    font-size: clamp(2.2rem, 12vw, 3.4rem);
  }

  .hero.hero-residential:not(.hero-services) p {
    max-width: 34ch;
  }

  .hero.hero-residential:not(.hero-services) .hero-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: minmax(52px, 1fr);
    align-items: stretch;
    gap: 0.625rem;
  }

  .hero.hero-residential:not(.hero-services) .hero-actions .btn {
    flex: none;
    width: 100%;
    height: 100%;
  }

  .hero.hero-residential:not(.hero-services) .btn,
  .btn {
    width: 100%;
  }

  .hero-panel {
    border-radius: 0;
    padding: 2rem 0;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-title {
    font-size: 1.55rem;
  }

  .hero-kicker {
    font-size: 0.92rem;
    letter-spacing: 0.06em;
  }

  .hero-lead {
    font-size: 1rem;
    line-height: 1.7;
  }

  .hero.hero-residential.hero-custom-home {
    min-height: 590px;
    background-size: cover;
    background-position: center center;
  }

  .hero.hero-residential.hero-custom-home .hero-inner {
    min-height: 590px;
  }

  :where(input, select, textarea) {
    font-size: 16px;
  }
}

/* Match Residential Services hero height to index hero image */
.hero.hero-residential.hero-services {
  min-height: auto;
  height: auto;
  aspect-ratio: 1800 / 1200;
}

.hero-services .hero-inner {
  min-height: auto;
  height: 100%;
}

.hero.hero-residential.hero-services {
  background-size: cover;
  background-position: center center;
}

@media (max-width: 640px) {
  .hero.hero-residential.hero-services {
    min-height: auto;
    height: clamp(300px, 70vw, 520px);
    aspect-ratio: auto;
  }

  .hero-services .hero-inner {
    min-height: 100%;
    height: 100%;
  }
}

/* Homepage hero controls: scoped so other image heroes keep their layout. */
@media (max-width: 980px) {
  .home-page .hero-book-btn {
    width: min(calc(100% - 2rem), 320px);
  }

  .home-page .hero-book-link {
    width: 100%;
    min-height: 52px;
    padding: 0.8rem 1rem;
    border-color: rgba(255, 255, 255, 0.5);
    border-radius: 14px;
    background: rgba(17, 17, 17, 0.9);
    color: #ffffff;
    font-size: clamp(1rem, 3vw, 1.15rem);
    line-height: 1.2;
    text-wrap: balance;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
    touch-action: manipulation;
  }

  .home-page .hero-book-link:hover,
  .home-page .hero-book-link:focus-visible {
    background: rgba(17, 17, 17, 0.98);
    color: #ffffff;
  }

  .home-page .mobile-action-bar {
    right: max(0.65rem, env(safe-area-inset-right));
    left: max(0.65rem, env(safe-area-inset-left));
  }

  .home-page .mobile-action-bar a {
    min-width: 0;
    line-height: 1.2;
    text-align: center;
  }

  .home-page {
    padding-bottom: calc(5rem + env(safe-area-inset-bottom));
  }
}

@media (max-width: 640px) {
  .home-page .hero-book-btn {
    top: auto;
    bottom: 4.75rem;
    width: min(calc(100% - 1.5rem), 360px);
    transform: translateX(-50%);
  }

  .home-page .hero-municipalities {
    top: auto;
    bottom: 0.75rem;
    width: min(calc(100% - 1.5rem), 360px);
  }
}

@media (max-width: 980px) and (max-height: 500px) and (orientation: landscape) {
  .home-page .hero-book-btn {
    top: 32%;
    bottom: auto;
    transform: translate(-50%, -50%);
  }

  .home-page .hero-municipalities {
    display: none;
  }
}

/* Custom Home Design: compact, touch-friendly layouts for tablets and phones. */
@media (max-width: 980px) {
  .custom-home-page {
    padding-bottom: calc(5rem + env(safe-area-inset-bottom));
  }

  .custom-home-page .mobile-action-bar {
    right: max(0.65rem, env(safe-area-inset-right));
    left: max(0.65rem, env(safe-area-inset-left));
    grid-template-columns:
      minmax(0, 0.8fr)
      minmax(0, 0.8fr)
      minmax(0, 1.4fr);
  }

  .custom-home-page .mobile-action-bar a {
    min-width: 0;
    line-height: 1.2;
    text-align: center;
    touch-action: manipulation;
  }

  .custom-home-page .hero.hero-residential.hero-custom-home,
  .custom-home-page .hero.hero-residential.hero-custom-home .hero-inner {
    min-height: 560px;
  }

  .custom-home-page main .page-section {
    padding-top: clamp(3.25rem, 7vw, 4rem);
  }

  .custom-home-page main .muted {
    font-size: 0.95rem;
    line-height: 1.35;
    letter-spacing: 0.11em;
  }

  .custom-home-page main .service-card {
    min-height: 0;
    padding: 1.25rem;
  }
}

@media (min-width: 641px) and (max-width: 980px) {
  .custom-home-page .hero.hero-residential.hero-custom-home {
    margin-top: 90px;
  }
}

@media (max-width: 640px) {
  .custom-home-page .hero.hero-residential.hero-custom-home {
    min-height: auto;
    padding: 1rem 0 1.5rem;
    background-position: center center;
  }

  .custom-home-page .hero.hero-residential.hero-custom-home .hero-inner {
    min-height: 0;
    padding: 0;
  }

  .custom-home-page .hero.hero-residential.hero-custom-home .hero-content {
    width: 100%;
    padding: 1.1rem;
    border-radius: 18px;
  }

  .custom-home-page .hero.hero-residential.hero-custom-home .hero-eyebrow {
    margin-bottom: 0.55rem;
    font-size: 0.68rem;
  }

  .custom-home-page .hero.hero-residential.hero-custom-home h1 {
    max-width: none;
    font-size: clamp(2rem, 9.5vw, 2.75rem);
    line-height: 1.03;
    text-wrap: balance;
  }

  .custom-home-page .hero.hero-residential.hero-custom-home p {
    max-width: none;
    margin-top: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .custom-home-page .hero.hero-residential.hero-custom-home .hero-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: minmax(52px, 1fr);
    align-items: stretch;
    gap: 0.6rem;
    margin-top: 1rem;
  }

  .custom-home-page .hero.hero-residential.hero-custom-home .hero-actions .btn {
    flex: none;
    width: 100%;
    height: 100%;
    min-height: 52px;
    padding: 0.72rem 0.65rem;
    border-radius: 14px;
    font-size: clamp(0.78rem, 3vw, 0.9rem);
    line-height: 1.25;
    text-align: center;
    text-wrap: balance;
  }

  .custom-home-page .hero-mini-list {
    gap: 0.4rem;
    margin-top: 0.85rem;
  }

  .custom-home-page .hero-mini-list span {
    justify-content: center;
    padding: 0.35rem 0.55rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    font-size: 0.7rem;
    line-height: 1.2;
    text-align: center;
  }

  .custom-home-page .hero-mini-list span:not(:last-child)::after {
    display: none;
  }

  .custom-home-page main .page-section {
    padding-top: 3rem;
  }

  .custom-home-page main .muted {
    margin-bottom: 0.45rem;
    font-size: 0.78rem;
  }

  .custom-home-page main .section-title {
    margin-bottom: 1rem;
    font-size: clamp(1.55rem, 7vw, 2rem);
    line-height: 1.15;
    text-wrap: balance;
  }

  .custom-home-page main .cards,
  .custom-home-page main .steps,
  .custom-home-page main .contact-grid {
    gap: 0.75rem;
  }

  .custom-home-page main .card,
  .custom-home-page main .step,
  .custom-home-page main .contact-grid form,
  .custom-home-page main .contact-grid aside {
    padding: 1rem;
    border-radius: 18px;
  }

  .custom-home-page main .service-card {
    min-height: 0;
    padding: 1rem;
  }

  .custom-home-page main .about-dropdown {
    border-radius: 18px;
  }

  .custom-home-page main .about-dropdown summary {
    min-height: 52px;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    line-height: 1.35;
  }

  .custom-home-page main .about-dropdown-content {
    padding: 0.8rem 1rem 1rem;
  }

  .custom-home-page main .cta {
    align-items: stretch;
    padding: 1rem;
    border-radius: 18px;
  }

  .custom-home-page main input,
  .custom-home-page main select,
  .custom-home-page main textarea {
    min-height: 48px;
    padding: 0.82rem 0.9rem;
    border-radius: 12px;
    font-size: 16px;
  }

  .custom-home-page main .form-actions {
    align-items: stretch;
  }

  .custom-home-page main .message a,
  .custom-home-page main aside a {
    overflow-wrap: anywhere;
  }

  .custom-home-page .mobile-action-bar a {
    padding: 0.6rem 0.35rem;
    font-size: clamp(0.76rem, 3vw, 0.88rem);
  }
}

@media (max-width: 380px) {
  .custom-home-page .hero.hero-residential.hero-custom-home .hero-content {
    padding: 0.95rem;
  }

  .custom-home-page .hero.hero-residential.hero-custom-home h1 {
    font-size: 1.95rem;
  }

}

@media (max-width: 980px) and (max-height: 600px) and (orientation: landscape) {
  .custom-home-page {
    padding-bottom: 0;
  }

  .custom-home-page .mobile-action-bar {
    display: none;
  }

  .custom-home-page .hero.hero-residential.hero-custom-home {
    min-height: auto;
    padding: 0.75rem 0 1rem;
  }

  .custom-home-page .hero.hero-residential.hero-custom-home .hero-inner {
    min-height: 0;
  }

  .custom-home-page .hero.hero-residential.hero-custom-home .hero-content {
    width: min(100%, 760px);
    max-width: 760px;
    padding: 1rem 1.25rem;
  }

  .custom-home-page .hero.hero-residential.hero-custom-home h1 {
    max-width: 18ch;
    font-size: clamp(1.8rem, 4.5vw, 2.5rem);
  }

  .custom-home-page .hero.hero-residential.hero-custom-home p {
    max-width: 62ch;
    margin-top: 0.6rem;
  }

  .custom-home-page .hero.hero-residential.hero-custom-home .hero-actions {
    display: flex;
    flex-flow: row nowrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
  }

  .custom-home-page .hero.hero-residential.hero-custom-home .hero-actions .btn {
    flex: 1 1 0;
    width: auto;
    min-height: 44px;
  }

  .custom-home-page .hero-mini-list {
    display: none;
  }
}

/* Residential Services: compact, unclipped layouts for tablets and phones. */
.residential-services-page .hero.hero-residential.hero-services {
  margin-top: 90px;
}

@media (max-width: 980px) {
  .residential-services-page {
    padding-bottom: calc(5rem + env(safe-area-inset-bottom));
  }

  .residential-services-page .mobile-action-bar {
    right: max(0.65rem, env(safe-area-inset-right));
    left: max(0.65rem, env(safe-area-inset-left));
    grid-template-columns:
      minmax(0, 0.8fr)
      minmax(0, 0.8fr)
      minmax(0, 1.4fr);
  }

  .residential-services-page .mobile-action-bar a {
    min-width: 0;
    line-height: 1.2;
    text-align: center;
    touch-action: manipulation;
  }

  .residential-services-page .hero.hero-residential.hero-services {
    height: auto;
    min-height: clamp(500px, 72svh, 620px);
    padding: clamp(1.5rem, 4vw, 2.5rem) 0;
    aspect-ratio: auto;
  }

  .residential-services-page .hero.hero-residential.hero-services .hero-inner {
    height: auto;
    min-height: 0;
    padding: 0;
  }

  .residential-services-page main .page-section {
    padding-top: clamp(3.25rem, 7vw, 4rem);
  }

  .residential-services-page main .muted {
    font-size: 0.95rem;
    line-height: 1.35;
    letter-spacing: 0.11em;
  }

  .residential-services-page main .service-card {
    min-height: 0;
    padding-bottom: 1.25rem;
  }

  .residential-services-page main .service-card .service-link {
    position: static;
    inset: auto;
    width: 100%;
    margin-top: 1rem;
    padding-top: 0.9rem;
    line-height: 1.35;
  }
}

@media (max-width: 640px) {
  .residential-services-page .hero.hero-residential.hero-services {
    height: auto;
    min-height: clamp(460px, 72svh, 560px);
    margin-top: 72px;
    padding: 1rem 0 1.5rem;
    aspect-ratio: auto;
    background-position: center center;
  }

  .residential-services-page .hero.hero-residential.hero-services .hero-inner {
    height: auto;
    min-height: 0;
    padding: 0;
  }

  .residential-services-page .hero-services-content {
    width: 100%;
    padding: 1rem;
    border-radius: 18px;
  }

  .residential-services-page .hero-services-content .hero-eyebrow {
    margin-bottom: 0.55rem;
    font-size: 0.66rem;
  }

  .residential-services-page .hero-services-content h1 {
    max-width: none;
    margin-bottom: 1rem;
    font-size: clamp(2rem, 10vw, 2.75rem);
    line-height: 1.03;
    text-wrap: balance;
  }

  .residential-services-page .services-carousel {
    margin-bottom: 0.85rem;
    border-radius: 12px;
  }

  .residential-services-page .services-track span {
    padding: 0.75rem 0.85rem;
    font-size: 13px;
  }

  .residential-services-page .services-track span::after {
    margin-left: 0.85rem;
  }

  .residential-services-page .hero-services .hero-actions {
    max-width: 340px;
    margin-top: 0;
  }

  .residential-services-page .hero-services .hero-actions .btn {
    flex: none;
    width: 100%;
    height: auto;
    min-height: 52px;
    padding: 0.8rem 1rem;
    border-radius: 14px;
    font-size: clamp(1rem, 3vw, 1.1rem);
    line-height: 1.2;
    text-wrap: balance;
    touch-action: manipulation;
  }

  .residential-services-page main .page-section {
    padding-top: 3rem;
  }

  .residential-services-page main .muted {
    margin-bottom: 0.45rem;
    font-size: 0.78rem;
  }

  .residential-services-page main .section-title {
    margin-bottom: 1rem;
    font-size: clamp(1.55rem, 7vw, 2rem);
    line-height: 1.15;
    text-wrap: balance;
  }

  .residential-services-page main .cards,
  .residential-services-page main .steps,
  .residential-services-page main .contact-grid {
    gap: 0.75rem;
  }

  .residential-services-page main .card:not(.service-card),
  .residential-services-page main .step,
  .residential-services-page main .contact-grid form,
  .residential-services-page main .contact-grid aside {
    padding: 1rem;
    border-radius: 18px;
  }

  .residential-services-page main .service-card {
    min-height: 0;
    padding: 1rem;
    border-radius: 18px;
  }

  .residential-services-page main .service-card .service-link {
    gap: 0.75rem;
    font-size: 0.9rem;
  }

  .residential-services-page main .service-card .service-link::after {
    width: 32px;
    height: 32px;
  }

  .residential-services-page main input,
  .residential-services-page main select,
  .residential-services-page main textarea {
    min-height: 48px;
    padding: 0.82rem 0.9rem;
    border-radius: 12px;
    font-size: 16px;
  }

  .residential-services-page main .form-actions {
    align-items: stretch;
  }

  .residential-services-page main .message a,
  .residential-services-page main aside a {
    overflow-wrap: anywhere;
  }

  .residential-services-page main .map-wrap iframe {
    display: block;
    height: 220px;
  }

  .residential-services-page .mobile-action-bar a {
    padding: 0.6rem 0.35rem;
    font-size: clamp(0.76rem, 3vw, 0.88rem);
  }
}

@media (max-width: 380px) {
  .residential-services-page .hero-services-content {
    padding: 0.9rem;
  }

  .residential-services-page .hero-services-content h1 {
    font-size: 1.95rem;
  }
}

@media (max-width: 980px) and (max-height: 600px) and (orientation: landscape) {
  .residential-services-page {
    padding-bottom: 0;
  }

  .residential-services-page .mobile-action-bar {
    display: none;
  }

  .residential-services-page .hero.hero-residential.hero-services {
    height: auto;
    min-height: auto;
    padding: 0.75rem 0 1rem;
  }

  .residential-services-page .hero.hero-residential.hero-services .hero-inner {
    min-height: 0;
  }

  .residential-services-page .hero-services-content {
    width: min(100%, 760px);
    max-width: 760px;
    padding: 1rem 1.25rem;
  }

  .residential-services-page .hero-services-content .hero-eyebrow {
    margin-bottom: 0.45rem;
  }

  .residential-services-page .hero-services-content h1 {
    max-width: 18ch;
    margin-bottom: 0.75rem;
    font-size: clamp(1.8rem, 4.5vw, 2.5rem);
  }

  .residential-services-page .services-carousel {
    margin-bottom: 0.65rem;
  }

  .residential-services-page .services-track span {
    padding: 0.6rem 0.8rem;
  }

  .residential-services-page .hero-services .hero-actions .btn {
    min-height: 44px;
  }
}

/* Team page: balanced desktop hierarchy and consistent profile cards. */
.team-page main {
  padding-top: 90px;
}

.team-page .team-page-intro {
  padding: clamp(4rem, 6vw, 5.5rem) 0;
  background:
    radial-gradient(circle at 88% 18%, rgba(77, 163, 255, 0.13), transparent 30%),
    radial-gradient(circle at 8% 92%, rgba(255, 191, 0, 0.12), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
}

.team-page .team-page-intro .wrap,
.team-page .team-section > .wrap {
  display: grid;
  column-gap: clamp(2rem, 5vw, 5rem);
  row-gap: 0.85rem;
  align-items: end;
}

.team-page .team-page-intro .wrap {
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
}

.team-page .team-section > .wrap {
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
}

.team-page main .muted {
  grid-column: 1 / -1;
  margin-bottom: 0.2rem;
  font-size: 0.82rem;
  line-height: 1.35;
  letter-spacing: 0.14em;
}

.team-page .team-page-intro .section-title,
.team-page .team-section > .wrap > .section-title {
  grid-column: 1;
  margin: 0;
  text-wrap: balance;
}

.team-page .team-page-intro .section-title {
  max-width: 18ch;
  font-size: clamp(2.7rem, 4.5vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.team-page .team-section > .wrap > .section-title {
  max-width: 24ch;
  font-size: clamp(2.15rem, 3.4vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.team-page .section-intro {
  grid-column: 2;
  max-width: 72ch;
  margin: 0;
  color: #444444;
  font-size: 1.06rem;
  line-height: 1.75;
}

.team-page .team-page-intro .section-intro {
  max-width: 42ch;
  justify-self: end;
}

.team-page .team-section > .wrap > .section-intro {
  max-width: 46ch;
  justify-self: end;
}

.team-page .team-section {
  padding: clamp(4.25rem, 6vw, 6rem) 0 clamp(5rem, 7vw, 7rem);
  background: #ffffff;
}

.team-page .team-cards {
  grid-column: 1 / -1;
  gap: clamp(1.25rem, 2.5vw, 2rem);
  margin-top: 2rem;
}

.team-page .about-profile-card {
  padding: clamp(1.25rem, 2.5vw, 2rem);
  overflow: visible;
  border-radius: 28px;
  background:
    radial-gradient(circle at 0% 0%, rgba(77, 163, 255, 0.06), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #fcfcfc 100%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.team-page .about-profile {
  grid-template-columns: clamp(260px, 25vw, 320px) minmax(0, 1fr);
  gap: clamp(1.5rem, 3.5vw, 2.5rem);
}

.team-page .about-photo {
  position: sticky;
  top: 114px;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #f3f4f6;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.1);
}

.team-page .about-photo img {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
  box-shadow: none;
}

.team-page .about-content {
  min-width: 0;
}

.team-page .team-kicker {
  margin: 0 0 0.6rem;
  color: #444444;
  font-size: 0.76rem;
  line-height: 1.4;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.team-page .about-content h3 {
  max-width: 24ch;
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 2.7vw, 2.35rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.team-page .about-content > p:not(.team-kicker) {
  max-width: 70ch;
  margin-bottom: 1.25rem;
  color: #333333;
  font-size: 1rem;
  line-height: 1.75;
}

.team-page .about-section-block {
  margin-top: 1.35rem;
}

.team-page .about-section-title {
  margin-bottom: 0.75rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

.team-page .about-tags {
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.team-page .about-tag {
  min-height: 34px;
  padding: 0.5rem 0.8rem;
  line-height: 1.2;
}

.team-page .about-tag.blue {
  border-color: rgba(77, 163, 255, 0.24);
  background: rgba(77, 163, 255, 0.1);
}

.team-page .about-tag.green {
  border-color: rgba(34, 139, 94, 0.22);
  background: rgba(34, 139, 94, 0.09);
}

.team-page .about-tag.purple {
  border-color: rgba(124, 58, 237, 0.2);
  background: rgba(124, 58, 237, 0.08);
}

.team-page .about-tag.gold {
  border-color: rgba(190, 135, 0, 0.25);
  background: rgba(255, 191, 0, 0.13);
}

.team-page .about-tag.gray {
  border-color: rgba(75, 85, 99, 0.18);
  background: rgba(75, 85, 99, 0.07);
}

.team-page .about-dropdown {
  margin-top: 1.25rem;
  border-radius: 18px;
  background: rgba(250, 250, 250, 0.9);
}

.team-page .about-dropdown summary {
  min-height: 56px;
  line-height: 1.35;
}

.team-page .about-dropdown-content {
  border-top: 1px solid var(--line);
}

.team-page .education-list li {
  background: #ffffff;
}

.team-page footer.site-footer {
  margin-top: 0;
}

@media (min-width: 1100px) {
  .team-page .education-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .team-page .team-page-intro .wrap,
  .team-page .team-section > .wrap {
    display: block;
  }

  .team-page .team-page-intro,
  .team-page .team-section {
    padding: 3.5rem 0 4rem;
  }

  .team-page .team-page-intro .section-title,
  .team-page .team-section > .wrap > .section-title {
    max-width: 22ch;
  }

  .team-page .team-page-intro .section-intro,
  .team-page .team-section > .wrap > .section-intro {
    max-width: 68ch;
    margin-top: 1rem;
    justify-self: auto;
  }

  .team-page .team-cards {
    margin-top: 2rem;
  }

  .team-page .about-profile {
    grid-template-columns: minmax(0, 1fr);
  }

  .team-page .about-photo {
    position: static;
    max-width: 360px;
  }
}

@media (max-width: 640px) {
  .team-page main {
    padding-top: 72px;
  }

  .team-page .team-page-intro {
    padding: 3rem 0;
  }

  .team-page .team-section {
    padding: 3rem 0 4rem;
  }

  .team-page main .muted {
    font-size: 0.75rem;
  }

  .team-page .team-page-intro .section-title {
    font-size: clamp(2.2rem, 11vw, 3rem);
  }

  .team-page .team-section > .wrap > .section-title {
    font-size: clamp(1.8rem, 8.5vw, 2.35rem);
  }

  .team-page .section-intro {
    font-size: 1rem;
    line-height: 1.65;
  }

  .team-page .about-profile-card {
    padding: 1rem;
    border-radius: 20px;
  }

  .team-page .about-profile {
    gap: 1.25rem;
  }

  .team-page .about-photo {
    max-width: 100%;
    border-radius: 16px;
  }

  .team-page .about-content h3 {
    font-size: 1.7rem;
  }

  .team-page .about-dropdown summary {
    min-height: 52px;
    padding: 0.85rem 1rem;
    font-size: 0.92rem;
  }

  .team-page .about-dropdown-content {
    padding: 0.85rem 1rem 1rem;
  }
}

/* =========================================================
   HOMEPAGE VISUAL REFRESH
========================================================= */

.home-page {
  --home-ink: #101418;
  --home-ink-soft: #28323b;
  --home-warm: #f5f3ee;
  --home-blue: #4da3ff;
  --home-gold: #ffbf00;
}

.home-page .hero-image {
  min-height: clamp(650px, calc(100svh - 78px), 820px);
  height: clamp(650px, calc(100svh - 78px), 820px);
  isolation: isolate;
  background: #182027;
}

.home-page .hero-image::after {
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(8, 13, 17, 0.88) 0%,
      rgba(8, 13, 17, 0.7) 38%,
      rgba(8, 13, 17, 0.24) 72%,
      rgba(8, 13, 17, 0.08) 100%
    ),
    linear-gradient(
      180deg,
      rgba(8, 13, 17, 0.08) 46%,
      rgba(8, 13, 17, 0.68) 100%
    );
}

.home-page .hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
}

.home-hero-inner {
  position: relative;
  z-index: 2;
  min-height: inherit;
  height: 100%;
  display: flex;
  align-items: center;
  padding-top: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(7.5rem, 12vw, 9rem);
}

.home-hero-content {
  width: min(100%, 720px);
  color: #ffffff;
}

.home-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-hero-eyebrow::before {
  content: "";
  width: 44px;
  height: 2px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--home-blue), var(--home-gold));
}

.home-hero-content h1 {
  max-width: 13ch;
  margin: 0;
  color: #ffffff;
  font-size: clamp(3.4rem, 6.3vw, 5.7rem);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.home-hero-lead {
  max-width: 59ch;
  margin: 1.35rem 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  line-height: 1.7;
}

.home-hero-reassurance {
  max-width: 62ch;
  margin: 0.9rem 0 0;
  padding-left: 0.85rem;
  border-left: 2px solid rgba(255, 191, 0, 0.75);
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  line-height: 1.55;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.home-hero-actions a {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.home-hero-actions a:hover {
  transform: translateY(-2px);
}

.home-hero-primary {
  border: 1px solid #ffffff;
  background: #ffffff;
  color: #111111;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

.home-hero-primary:hover {
  background: #f0f3f5;
  color: #111111;
}

.home-hero-secondary {
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(12, 18, 22, 0.3);
  color: #ffffff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.home-hero-secondary:hover {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.home-hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.15rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.home-hero-proof li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.82rem;
  font-weight: 750;
}

.home-hero-proof li::before {
  content: "✓";
  color: var(--home-gold);
  font-weight: 900;
}

.home-page .hero-municipalities {
  top: auto;
  bottom: 1.25rem;
  z-index: 3;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(12, 18, 22, 0.74);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.2);
}

.home-page .hero-municipalities-track span {
  padding: 0.85rem 1.3rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.83rem;
  font-weight: 750;
  letter-spacing: 0.035em;
}

.home-page .seo-intro {
  background: var(--home-warm);
}

.home-page .seo-intro::before {
  background:
    radial-gradient(circle at 8% 8%, rgba(77, 163, 255, 0.13), transparent 26rem),
    radial-gradient(circle at 94% 88%, rgba(255, 191, 0, 0.12), transparent 24rem);
}

.home-page .seo-intro h2 {
  max-width: 17ch;
  margin: 0;
  color: var(--home-ink);
  font-size: clamp(2.7rem, 5.2vw, 4.8rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.home-intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  margin-top: clamp(2rem, 4vw, 3.5rem);
}

.home-intro-copy > p {
  margin-top: 0;
}

.home-intro-copy .brand-relationship {
  color: var(--home-ink-soft);
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
}

.home-intro-expectations {
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 26px;
  background:
    radial-gradient(circle at 100% 0%, rgba(77, 163, 255, 0.22), transparent 48%),
    linear-gradient(145deg, #11171c, #202a32);
  color: #ffffff;
  box-shadow: 0 24px 60px rgba(16, 20, 24, 0.16);
}

.home-intro-expectations .home-intro-label {
  margin: 0 0 1rem;
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-intro-expectations ul {
  display: grid;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-intro-expectations li {
  position: relative;
  padding-left: 1.35rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
}

.home-intro-expectations li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--home-gold);
  box-shadow: 0 0 0 4px rgba(255, 191, 0, 0.12);
}

.home-page .seo-trust {
  margin-top: clamp(2.75rem, 6vw, 5rem);
}

.home-page .seo-trust .trust-grid {
  counter-reset: home-trust;
  gap: 1.25rem;
  margin-top: 0;
}

.home-page .seo-trust .trust-card {
  position: relative;
  padding: 1.75rem;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 44px rgba(16, 20, 24, 0.07);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.home-page .seo-trust .trust-card::before {
  counter-increment: home-trust;
  content: "0" counter(home-trust);
  display: block;
  margin-bottom: 1.5rem;
  color: #7a858e;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.home-page .seo-trust .trust-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--home-blue), var(--home-gold));
}

.home-page .seo-trust .trust-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 52px rgba(16, 20, 24, 0.1);
}

.home-page .seo-trust .trust-card h3 {
  margin-bottom: 0.65rem;
}

.home-page .seo-trust .trust-card p {
  margin-bottom: 0;
}

.home-page .seo-services {
  background: #ffffff;
}

.home-page .service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2.75rem;
}

.home-page .seo-services .service-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 0;
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(16, 20, 24, 0.09);
}

.service-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e9ecef;
}

.service-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10, 14, 17, 0.18));
  pointer-events: none;
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.home-page .service-card:nth-child(2) .service-card-media img {
  object-position: center 68%;
}

.home-page .service-card:hover .service-card-media img {
  transform: scale(1.045);
}

.service-card-body {
  min-height: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
}

.service-card-index {
  margin-bottom: 0.75rem;
  color: #77818a;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.home-page .seo-services .service-card h3 {
  margin-bottom: 0.65rem;
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
}

.home-page .seo-services .service-card p {
  margin-bottom: 1.35rem;
}

.home-page .seo-services .service-card a {
  position: static;
  margin-top: auto;
  padding-top: 1rem;
}

.home-page .seo-areas {
  background:
    radial-gradient(circle at 92% 10%, rgba(77, 163, 255, 0.1), transparent 24rem),
    linear-gradient(180deg, #f7f6f2 0%, #efeee9 100%);
}

.home-page .area-list {
  gap: 0.75rem;
  max-width: 1000px;
}

.home-page .area-list li {
  border-color: rgba(16, 20, 24, 0.1);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 10px 22px rgba(16, 20, 24, 0.05);
}

.home-page .seo-process {
  background: #10161a;
  color: #ffffff;
}

.home-page .seo-process::before {
  background:
    radial-gradient(circle at 8% 0%, rgba(77, 163, 255, 0.2), transparent 28rem),
    radial-gradient(circle at 96% 100%, rgba(255, 191, 0, 0.13), transparent 24rem);
}

.home-page .seo-process .eyebrow,
.home-page .seo-process h2,
.home-page .seo-process h3 {
  color: #ffffff;
}

.home-page .process-grid article {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: none;
}

.home-page .process-grid article::before {
  color: rgba(255, 255, 255, 0.075);
}

.home-page .process-grid p {
  color: rgba(255, 255, 255, 0.7);
}

.home-page .seo-faq {
  background: #ffffff;
}

.home-faq-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.home-faq-heading {
  position: sticky;
  top: 120px;
}

.home-page .home-faq-heading h2 {
  max-width: 12ch;
}

.home-faq-heading > p:last-child {
  max-width: 43ch;
}

.home-faq-list details {
  max-width: none;
  margin: 0 0 0.9rem;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(16, 20, 24, 0.055);
}

.home-page .seo-final-cta {
  padding: clamp(4rem, 7vw, 6.5rem) 0;
}

.home-page .seo-final-cta .wrap {
  padding: clamp(2.25rem, 6vw, 5rem);
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  background:
    radial-gradient(circle at 5% 0%, rgba(77, 163, 255, 0.3), transparent 34%),
    radial-gradient(circle at 100% 100%, rgba(255, 191, 0, 0.18), transparent 32%),
    linear-gradient(145deg, #10161a, #26323a);
  box-shadow: 0 28px 70px rgba(16, 20, 24, 0.18);
}

.home-page .seo-final-cta h2 {
  max-width: 15ch;
  color: #ffffff;
  text-wrap: balance;
}

.home-page .seo-final-cta p {
  color: rgba(255, 255, 255, 0.74);
}

.seo-final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.home-page .seo-final-cta .btn.primary {
  border-color: #ffffff;
  background: #ffffff;
  color: #111111;
}

.home-page .seo-final-cta .btn.primary:hover {
  background: #f0f3f5;
  color: #111111;
}

.home-page .seo-final-cta .btn.secondary {
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.home-page .seo-final-cta .btn.secondary:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.home-page #contact-form-section {
  padding-top: clamp(4rem, 7vw, 7rem);
  padding-bottom: clamp(4rem, 7vw, 7rem);
}

.home-page #contact-form-section .contact-grid {
  gap: 1.5rem;
}

.home-page #contact-form-section form,
.home-page #contact-form-section aside {
  border-radius: 26px;
  box-shadow: 0 20px 50px rgba(16, 20, 24, 0.08);
}

.home-page .corporate-relationship {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  border-top: 1px solid var(--line);
  background: #f5f5f3;
}

.home-page .corporate-relationship h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  letter-spacing: -0.025em;
}

.home-page .corporate-relationship p {
  max-width: 850px;
  margin: 0;
  color: #4a4f54;
}

/* Homeowner project selector */
.home-project-selector {
  position: relative;
  padding: clamp(4rem, 7vw, 6.5rem) 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 4% 0%, rgba(77, 163, 255, 0.24), transparent 30rem),
    radial-gradient(circle at 96% 100%, rgba(255, 191, 0, 0.13), transparent 26rem),
    #10161a;
  color: #ffffff;
}

.home-project-selector .wrap {
  position: relative;
  z-index: 1;
}

.home-project-selector-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.65fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
}

.home-project-selector .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.home-project-selector .eyebrow::before {
  content: "";
  width: 42px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--home-blue), var(--home-gold));
}

.home-project-selector h2 {
  max-width: 16ch;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.5rem, 4.6vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.home-project-selector-heading > p {
  max-width: 54ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.75;
}

.home-project-paths {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: clamp(2.25rem, 5vw, 4rem);
}

.home-project-path {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  padding: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.055);
  color: #ffffff;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.home-project-path:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.home-project-path-number {
  margin-bottom: auto;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.home-project-path strong {
  display: block;
  margin: 1.5rem 0 0.65rem;
  color: #ffffff;
  font-size: 1.08rem;
  line-height: 1.25;
}

.home-project-path > span:not(.home-project-path-number, .home-project-path-action) {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  line-height: 1.55;
}

.home-project-path-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 850;
}

.home-project-path-action::after {
  content: "→";
  color: var(--home-gold);
  font-size: 1rem;
}

/* Shared section lead */
.home-page .home-section-lead {
  max-width: 760px;
  margin: 1rem 0 0;
  color: #4c565e;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.75;
}

/* Existing-work conversion panel */
.home-compliance-cta {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(250px, 0.65fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  margin-top: 1.5rem;
  padding: clamp(1.75rem, 4vw, 3rem);
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(circle at 0% 0%, rgba(77, 163, 255, 0.24), transparent 35%),
    linear-gradient(145deg, #11171c, #26323a);
  box-shadow: 0 24px 60px rgba(16, 20, 24, 0.14);
}

.home-page .seo-services .home-compliance-label {
  margin: 0 0 0.75rem;
  color: var(--home-gold);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.home-page .seo-services .home-compliance-cta h3 {
  max-width: 18ch;
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.75rem, 3vw, 2.65rem);
  line-height: 1.08;
  text-wrap: balance;
}

.home-page .seo-services .home-compliance-cta p:not(.home-compliance-label) {
  max-width: 68ch;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  line-height: 1.65;
}

.home-compliance-actions,
.home-start-ready-actions {
  display: grid;
  gap: 0.7rem;
}

.home-compliance-actions .btn,
.home-start-ready-actions .btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

.home-compliance-actions .primary {
  border: 1px solid #ffffff;
  background: #ffffff;
  color: #111111;
}

.home-compliance-actions .secondary {
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

/* Linked municipality pathways */
.home-page .home-area-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  max-width: none;
  margin-top: 2.25rem;
}

.home-page .home-area-links li {
  padding: 0;
  overflow: hidden;
  border-radius: 20px;
}

.home-area-links a {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.25rem 3.4rem 1.25rem 1.25rem;
  color: var(--home-ink);
  text-decoration: none;
}

.home-area-links a::after {
  content: "→";
  position: absolute;
  right: 1.15rem;
  top: 50%;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  background: var(--home-ink);
  color: #ffffff;
  transform: translateY(-50%);
  transition: transform 0.2s ease;
}

.home-page .home-area-links li {
  position: relative;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.home-page .home-area-links li:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(16, 20, 24, 0.09);
}

.home-page .home-area-links li:hover a::after {
  transform: translate(3px, -50%);
}

.home-area-links strong {
  color: var(--home-ink);
  font-size: 1.05rem;
}

.home-area-links span {
  margin-top: 0.25rem;
  color: #68727a;
  font-size: 0.84rem;
  font-weight: 650;
}

.home-page .home-area-note {
  max-width: 900px;
  margin: 1.25rem 0 0;
  color: #6a737a;
  font-size: 0.87rem;
  line-height: 1.6;
}

/* Consultation-readiness split section */
.home-start-ready {
  padding: clamp(4rem, 7vw, 7rem) 0;
  background: var(--home-warm);
}

.home-start-ready-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.home-start-ready-media {
  position: relative;
  min-height: 510px;
  margin: 0;
  overflow: hidden;
  border-radius: 30px;
  background: #dfe3e5;
  box-shadow: 0 28px 70px rgba(16, 20, 24, 0.15);
}

.home-start-ready-media img {
  width: 100%;
  height: 100%;
  min-height: 510px;
  object-fit: cover;
}

.home-start-ready-media figcaption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: rgba(10, 15, 19, 0.8);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem;
  line-height: 1.45;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.home-start-ready-copy .eyebrow {
  margin-bottom: 0.8rem;
  color: #5f6971;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.home-start-ready-copy h2 {
  max-width: 15ch;
  margin: 0;
  color: var(--home-ink);
  font-size: clamp(2.35rem, 4.2vw, 4rem);
  line-height: 1.03;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.home-start-ready-copy > p {
  max-width: 60ch;
  margin: 1.25rem 0 0;
  color: #4e5860;
  line-height: 1.75;
}

.home-start-ready-copy ul {
  display: grid;
  gap: 0.75rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.home-start-ready-copy li {
  position: relative;
  padding-left: 1.55rem;
  color: #29333a;
  line-height: 1.55;
}

.home-start-ready-copy li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #9a6c00;
  font-weight: 900;
}

.home-start-ready-actions {
  grid-template-columns: repeat(2, minmax(0, max-content));
  margin-top: 1.75rem;
}

.home-start-ready-actions .primary {
  border: 1px solid var(--home-ink);
  background: var(--home-ink);
  color: #ffffff;
}

.home-start-ready-actions .secondary {
  border: 1px solid rgba(16, 20, 24, 0.18);
  background: transparent;
  color: var(--home-ink);
}

.home-page #contact-form-section .section-title {
  max-width: 17ch;
}

@media (max-width: 1080px) {
  .home-page .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-project-paths {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-project-path {
    min-height: 225px;
  }
}

@media (max-width: 900px) {
  .home-intro-layout,
  .home-faq-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-project-selector-heading,
  .home-compliance-cta,
  .home-start-ready-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-project-selector-heading {
    align-items: start;
  }

  .home-project-selector-heading > p {
    max-width: 64ch;
  }

  .home-compliance-actions {
    grid-template-columns: repeat(2, minmax(0, max-content));
  }

  .home-page .home-area-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-start-ready-media,
  .home-start-ready-media img {
    min-height: 440px;
  }

  .home-page .seo-trust .trust-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-faq-heading {
    position: static;
  }

  .home-page .home-faq-heading h2 {
    max-width: 18ch;
  }
}

@media (max-width: 760px) {
  .home-page .hero-image {
    min-height: 720px;
    height: auto;
    margin-top: 72px;
  }

  .home-page .hero-image::after {
    background:
      linear-gradient(
        180deg,
        rgba(8, 13, 17, 0.36) 0%,
        rgba(8, 13, 17, 0.76) 48%,
        rgba(8, 13, 17, 0.92) 100%
      );
  }

  .home-page .hero-image img {
    height: 100%;
    object-position: 58% center;
  }

  .home-hero-inner {
    min-height: 720px;
    align-items: flex-end;
    padding-top: 3rem;
    padding-bottom: 7.25rem;
  }

  .home-hero-eyebrow {
    gap: 0.55rem;
    margin-bottom: 0.75rem;
    font-size: 0.67rem;
    letter-spacing: 0.1em;
  }

  .home-hero-eyebrow::before {
    width: 28px;
  }

  .home-hero-content h1 {
    max-width: 12ch;
    font-size: clamp(2.55rem, 12vw, 3.65rem);
    line-height: 0.98;
  }

  .home-hero-lead {
    margin-top: 1rem;
    font-size: 0.98rem;
    line-height: 1.6;
  }

  .home-hero-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    margin-top: 1.25rem;
  }

  .home-hero-reassurance {
    margin-top: 0.75rem;
    font-size: 0.73rem;
  }

  .home-hero-actions a {
    width: 100%;
    min-height: 50px;
  }

  .home-hero-proof {
    gap: 0.45rem 0.9rem;
    margin-top: 1rem;
  }

  .home-hero-proof li {
    font-size: 0.74rem;
  }

  .home-page .hero-municipalities {
    bottom: 0.75rem;
    width: min(calc(100% - 1.5rem), 520px);
    border-radius: 14px;
  }

  .home-page .hero-municipalities-track span {
    padding: 0.75rem 1rem;
    font-size: 0.72rem;
  }

  .home-page .seo-intro h2 {
    max-width: 15ch;
    font-size: clamp(2.35rem, 11vw, 3.25rem);
  }

  .home-project-selector {
    padding: 3.75rem 0;
  }

  .home-project-selector h2 {
    max-width: 14ch;
    font-size: clamp(2.25rem, 10.5vw, 3.1rem);
  }

  .home-project-selector-heading {
    gap: 1.25rem;
  }

  .home-project-paths {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
    margin-top: 1.75rem;
  }

  .home-project-path {
    min-height: 0;
    padding: 1.15rem;
  }

  .home-project-path-number {
    margin-bottom: 0;
  }

  .home-project-path strong {
    margin-top: 1rem;
  }

  .home-intro-layout {
    margin-top: 2rem;
  }

  .home-intro-expectations {
    padding: 1.35rem;
    border-radius: 22px;
  }

  .home-page .service-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }

  .home-compliance-cta {
    gap: 1.5rem;
    padding: 1.35rem;
    border-radius: 22px;
  }

  .home-page .seo-services .home-compliance-cta h3 {
    font-size: 1.85rem;
  }

  .home-compliance-actions,
  .home-start-ready-actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-page .home-area-links {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-area-links a {
    min-height: 96px;
  }

  .home-start-ready {
    padding: 3.75rem 0;
  }

  .home-start-ready-grid {
    gap: 1.75rem;
  }

  .home-start-ready-media,
  .home-start-ready-media img {
    min-height: 330px;
  }

  .home-start-ready-media {
    border-radius: 22px;
  }

  .home-start-ready-copy h2 {
    max-width: 16ch;
    font-size: clamp(2.2rem, 10vw, 3rem);
  }

  .home-page .seo-services .service-card {
    border-radius: 22px;
  }

  .service-card-body {
    padding: 1.25rem;
  }

  .home-page .area-list li {
    width: auto;
    text-align: left;
  }

  .home-page .process-grid article {
    min-height: 210px;
  }

  .home-faq-layout {
    gap: 1.5rem;
  }

  .home-faq-list details {
    border-radius: 16px;
  }

  .seo-final-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .home-page .seo-final-cta .wrap {
    border-radius: 24px;
  }
}

@media (max-width: 390px) {
  .home-page .hero-image,
  .home-hero-inner {
    min-height: 790px;
  }

  .home-hero-content h1 {
    font-size: clamp(2.3rem, 11.5vw, 3rem);
  }

  .home-hero-proof {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .home-start-ready-media,
  .home-start-ready-media img {
    min-height: 290px;
  }
}

/* =========================================================
   RESIDENTIAL SERVICES PAGE VISUAL REFRESH
========================================================= */

.residential-services-page {
  --services-ink: #10161a;
  --services-slate: #26323a;
  --services-warm: #f5f3ee;
  --services-blue: #4da3ff;
  --services-gold: #ffbf00;
  background: #ffffff;
}

.residential-services-page .hero.hero-residential.hero-services {
  min-height: 720px;
  margin-top: 90px;
  background-image:
    linear-gradient(
      90deg,
      rgba(7, 12, 16, 0.86) 0%,
      rgba(7, 12, 16, 0.62) 43%,
      rgba(7, 12, 16, 0.2) 75%,
      rgba(7, 12, 16, 0.08) 100%
    ),
    url("../images/custom-home-design-barrie-hero.avif");
  background-position: center 52%;
}

.residential-services-page .hero.hero-residential.hero-services::after {
  height: 16%;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(255, 255, 255, 0.62)
  );
}

.residential-services-page .hero.hero-residential.hero-services .hero-inner {
  min-height: 720px;
  justify-content: flex-start;
  padding-block: clamp(3rem, 7vw, 5rem) clamp(5.5rem, 9vw, 7rem);
}

.residential-services-page .hero-services-content {
  width: min(100%, 720px);
  max-width: 720px;
  align-items: flex-start;
  padding: clamp(1.75rem, 3vw, 2.4rem);
  border-color: rgba(255, 255, 255, 0.17);
  border-radius: 28px;
  background: rgba(10, 15, 19, 0.68);
  text-align: left;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.residential-services-page .hero-services-content .hero-eyebrow {
  margin-bottom: 0.8rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.72rem;
}

.residential-services-page .hero-services-content .hero-eyebrow::before {
  width: 42px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--services-blue), var(--services-gold));
}

.residential-services-page .hero-services-content h1 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(3.25rem, 5.7vw, 5.25rem);
  line-height: 0.96;
  text-align: left;
  text-wrap: balance;
}

.services-hero-lead {
  max-width: 58ch;
  margin: 1.15rem 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.68;
}

.residential-services-page .services-carousel {
  width: 100%;
  margin: 1.35rem 0 0;
  border-color: rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: none;
}

.residential-services-page .services-track span {
  padding: 0.75rem 1rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

.residential-services-page .services-track span::after {
  margin-left: 1rem;
  color: var(--services-gold);
}

.residential-services-page .hero-services .hero-actions {
  width: 100%;
  max-width: none;
  justify-content: flex-start;
  gap: 0.7rem;
  margin-top: 1.25rem;
}

.residential-services-page .hero-services .hero-actions .btn {
  width: auto;
  min-height: 50px;
  flex: 0 1 auto;
  padding: 0.8rem 1.15rem;
  border-radius: 999px;
  font-size: 0.95rem;
  line-height: 1.2;
}

.residential-services-page .hero-services .btn-primary {
  border-color: #ffffff;
  background: #ffffff;
  color: #111111;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.2);
}

.residential-services-page .hero-services .btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.residential-services-page .hero-services .btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.services-hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  margin-top: 1.1rem;
}

.services-hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.76rem;
  font-weight: 750;
}

.services-hero-proof span::before {
  content: "✓";
  color: var(--services-gold);
  font-weight: 900;
}

.residential-services-page main {
  background: #ffffff;
}

.residential-services-page main .page-section {
  padding-top: clamp(4.5rem, 7vw, 7rem);
}

.residential-services-page main .muted {
  margin-bottom: 0.7rem;
  color: #5b6670;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.residential-services-page main .section-title {
  max-width: 18ch;
  margin-bottom: 0;
  color: var(--services-ink);
  font-size: clamp(2.5rem, 4.5vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.services-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  margin-top: clamp(2rem, 4vw, 3.5rem);
}

.services-overview-copy > p {
  max-width: 64ch;
  margin: 0 0 1rem;
  color: #3d464e;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.78;
}

.services-overview-highlights {
  display: grid;
  gap: 0.8rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

.services-overview-highlights li {
  display: grid;
  grid-template-columns: minmax(145px, 0.38fr) minmax(0, 0.62fr);
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(16, 22, 26, 0.1);
}

.services-overview-highlights strong {
  color: var(--services-ink);
  font-size: 0.9rem;
}

.services-overview-highlights span {
  color: #5d666d;
  font-size: 0.92rem;
  line-height: 1.55;
}

.services-overview-media {
  position: relative;
  min-height: 470px;
  display: grid;
  place-items: center;
  margin: 0;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  overflow: hidden;
  border: 1px solid rgba(16, 22, 26, 0.08);
  border-radius: 30px;
  background:
    radial-gradient(circle at 15% 12%, rgba(77, 163, 255, 0.18), transparent 32%),
    radial-gradient(circle at 92% 90%, rgba(255, 191, 0, 0.14), transparent 34%),
    linear-gradient(145deg, #f8f8f5, #e8ecef);
  box-shadow: 0 24px 60px rgba(16, 22, 26, 0.11);
}

.services-overview-media img {
  width: min(100%, 520px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 24px rgba(16, 22, 26, 0.13));
}

.services-overview-media figcaption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: rgba(15, 21, 25, 0.78);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.8rem;
  line-height: 1.45;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.residential-services-page #residential-services {
  width: 100%;
  max-width: none;
  padding-right: max(1rem, calc((100% - var(--wrap)) / 2));
  padding-left: max(1rem, calc((100% - var(--wrap)) / 2));
  background: var(--services-warm);
}

.residential-services-page #residential-services > .muted,
.residential-services-page #residential-services > .section-title,
.residential-services-page #residential-services > .cards {
  width: min(var(--wrap), 100%);
  margin-right: auto;
  margin-left: auto;
}

.residential-services-page #residential-services > .cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: clamp(2rem, 4vw, 3.5rem);
}

.residential-services-page #residential-services .service-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  border-color: rgba(16, 22, 26, 0.09);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 20px 50px rgba(16, 22, 26, 0.08);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.residential-services-page #residential-services .service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 64px rgba(16, 22, 26, 0.13);
}

.residential-service-media {
  position: relative;
  aspect-ratio: 16 / 8.6;
  overflow: hidden;
  background: #e6eaed;
}

.residential-service-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(10, 14, 17, 0.2));
  pointer-events: none;
}

.residential-service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.residential-services-page #secondary-suites .residential-service-media img {
  object-position: center 68%;
}

.residential-services-page #order-to-comply .residential-service-media img {
  object-position: center 46%;
}

.residential-services-page #residential-services .service-card:hover .residential-service-media img {
  transform: scale(1.045);
}

.residential-service-content {
  min-height: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: clamp(1.35rem, 2.5vw, 2rem);
}

.residential-service-index {
  margin-bottom: 0.8rem;
  color: #78828a;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.residential-services-page #residential-services .service-card h3 {
  margin: 0 0 0.8rem;
  color: var(--services-ink);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.residential-services-page #residential-services .service-card p {
  color: #465058;
  line-height: 1.7;
}

.residential-services-page #residential-services .service-card ul {
  margin: 0 0 1.3rem;
  padding-left: 1.15rem;
  color: #343d44;
}

.residential-services-page #residential-services .service-card li {
  margin-bottom: 0.35rem;
  line-height: 1.55;
}

.residential-services-page #residential-services .service-card li::marker {
  color: #bb8500;
}

.residential-services-page #residential-services .service-card .message {
  padding: 0.8rem 0.9rem;
  border-radius: 12px;
  background: #f6f5f1;
  font-size: 0.86rem;
}

.residential-services-page #residential-services .service-card .service-link {
  position: static;
  width: 100%;
  margin-top: auto;
  padding-top: 1rem;
  line-height: 1.35;
}

.residential-services-page #why-escl {
  width: min(var(--wrap), calc(100% - 2rem));
  margin-top: clamp(4.5rem, 7vw, 7rem);
  padding: clamp(2.25rem, 5vw, 4.5rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  background:
    radial-gradient(circle at 5% 0%, rgba(77, 163, 255, 0.28), transparent 32%),
    radial-gradient(circle at 100% 100%, rgba(255, 191, 0, 0.16), transparent 30%),
    linear-gradient(145deg, #10161a, #27343c);
  color: #ffffff;
  box-shadow: 0 28px 70px rgba(16, 22, 26, 0.18);
}

.residential-services-page #why-escl .muted,
.residential-services-page #why-escl .section-title {
  color: #ffffff;
}

.residential-services-page #why-escl .section-title {
  max-width: 15ch;
}

.residential-services-page #why-escl .steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 2.25rem;
}

.residential-services-page #why-escl .step {
  min-height: 210px;
  padding: 1.35rem;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.72);
  box-shadow: none;
}

.residential-services-page #why-escl .step strong {
  display: inline-block;
  margin-bottom: 0.6rem;
  color: #ffffff;
  font-size: 1.05rem;
  line-height: 1.25;
}

.residential-services-page #contact-form-section {
  padding-bottom: clamp(4.5rem, 7vw, 7rem);
}

.residential-services-page #contact-form-section .contact-grid {
  gap: 1.5rem;
  margin-top: 2.25rem;
}

.residential-services-page #contact-form-section form,
.residential-services-page #contact-form-section aside {
  border-radius: 26px;
  box-shadow: 0 20px 50px rgba(16, 22, 26, 0.08);
}

@media (max-width: 980px) {
  .residential-services-page .hero.hero-residential.hero-services {
    min-height: 700px;
    height: auto;
    padding: 0;
    background-position: 58% center;
  }

  .residential-services-page .hero.hero-residential.hero-services .hero-inner {
    min-height: 700px;
    align-items: flex-end;
    padding: 3rem 0 5.5rem;
  }

  .residential-services-page .hero-services-content {
    width: min(100%, 680px);
  }

  .services-overview-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .services-overview-media {
    min-height: 420px;
  }

  .residential-services-page #why-escl .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .residential-services-page .hero.hero-residential.hero-services {
    min-height: 760px;
    margin-top: 72px;
    background-position: 62% center;
  }

  .residential-services-page .hero.hero-residential.hero-services::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(
      180deg,
      rgba(7, 12, 16, 0.28) 0%,
      rgba(7, 12, 16, 0.72) 48%,
      rgba(7, 12, 16, 0.94) 100%
    );
  }

  .residential-services-page .hero.hero-residential.hero-services::after {
    display: none;
  }

  .residential-services-page .hero.hero-residential.hero-services .hero-inner {
    min-height: 760px;
    align-items: flex-end;
    padding: 2.5rem 0 2.25rem;
  }

  .residential-services-page .hero-services-content {
    width: 100%;
    padding: 1.15rem;
    border-radius: 22px;
    background: rgba(10, 15, 19, 0.76);
  }

  .residential-services-page .hero-services-content .hero-eyebrow {
    font-size: 0.64rem;
    letter-spacing: 0.11em;
  }

  .residential-services-page .hero-services-content .hero-eyebrow::before {
    width: 28px;
  }

  .residential-services-page .hero-services-content h1 {
    max-width: 11ch;
    font-size: clamp(2.4rem, 11.5vw, 3.35rem);
    line-height: 0.98;
  }

  .services-hero-lead {
    margin-top: 0.85rem;
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .residential-services-page .services-carousel {
    margin-top: 1rem;
  }

  .residential-services-page .services-track span {
    padding: 0.65rem 0.8rem;
    font-size: 0.72rem;
  }

  .residential-services-page .hero-services .hero-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .residential-services-page .hero-services .hero-actions .btn {
    width: 100%;
    min-height: 48px;
  }

  .services-hero-proof {
    gap: 0.4rem 0.8rem;
    margin-top: 0.85rem;
  }

  .services-hero-proof span {
    font-size: 0.7rem;
  }

  .residential-services-page main .page-section {
    padding-top: 3.75rem;
  }

  .residential-services-page main .section-title {
    max-width: 17ch;
    font-size: clamp(2.15rem, 10vw, 3rem);
  }

  .services-overview-grid {
    gap: 1.5rem;
    margin-top: 1.75rem;
  }

  .services-overview-highlights li {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.25rem;
  }

  .services-overview-media {
    min-height: 350px;
    border-radius: 22px;
  }

  .residential-services-page #residential-services {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
  }

  .residential-services-page #residential-services > .muted,
  .residential-services-page #residential-services > .section-title,
  .residential-services-page #residential-services > .cards {
    width: 100%;
  }

  .residential-services-page #residential-services > .cards {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }

  .residential-services-page #residential-services .service-card {
    border-radius: 22px;
  }

  .residential-service-content {
    padding: 1.25rem;
  }

  .residential-services-page #residential-services .service-card h3 {
    font-size: 1.4rem;
  }

  .residential-services-page #why-escl {
    width: calc(100% - 1rem);
    margin-top: 3.75rem;
    padding: 1.5rem 1rem;
    border-radius: 24px;
  }

  .residential-services-page #why-escl .steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
    margin-top: 1.5rem;
  }

  .residential-services-page #why-escl .step {
    min-height: 0;
    padding: 1.15rem;
    border-radius: 16px;
  }

  .residential-services-page #contact-form-section .contact-grid {
    margin-top: 1.5rem;
  }
}

@media (max-width: 390px) {
  .residential-services-page .hero.hero-residential.hero-services,
  .residential-services-page .hero.hero-residential.hero-services .hero-inner {
    min-height: 780px;
  }

  .residential-services-page .hero-services-content h1 {
    font-size: clamp(2.15rem, 11vw, 2.75rem);
  }

  .services-hero-proof {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 980px) and (max-height: 600px) and (orientation: landscape) {
  .residential-services-page .hero.hero-residential.hero-services {
    min-height: 560px;
  }

  .residential-services-page .hero.hero-residential.hero-services .hero-inner {
    min-height: 560px;
    align-items: center;
    padding: 1rem 0;
  }

  .residential-services-page .hero-services-content {
    width: min(100%, 780px);
    max-width: 780px;
    padding: 1rem 1.25rem;
  }

  .residential-services-page .hero-services-content h1 {
    max-width: 18ch;
    font-size: clamp(2rem, 5vw, 3rem);
  }

  .residential-services-page .services-carousel,
  .residential-services-page .services-hero-proof {
    display: none;
  }
}

/* =========================================================
   PROJECT GALLERY PAGE
========================================================= */

.projects-page {
  background: #ffffff;
}

.projects-hero {
  margin-top: 90px;
  padding: clamp(4rem, 7vw, 7rem) 0;
  background:
    radial-gradient(circle at 6% 4%, rgba(77, 163, 255, 0.14), transparent 30rem),
    #f5f3ee;
}

.projects-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.projects-page .eyebrow {
  margin: 0 0 0.9rem;
  color: #59646c;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.projects-hero h1 {
  max-width: 13ch;
  margin: 0;
  color: #10161a;
  font-size: clamp(3rem, 5.6vw, 5.3rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.projects-hero-grid > div > p:not(.eyebrow) {
  max-width: 56ch;
  margin: 1.25rem 0 0;
  color: #465159;
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.75;
}

.projects-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.projects-hero-actions .btn,
.projects-cta .btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.1rem;
  border-radius: 999px;
  font-weight: 850;
  text-decoration: none;
}

.projects-hero-actions .btn-primary,
.projects-cta .btn-primary {
  border: 1px solid #10161a;
  background: #10161a;
  color: #ffffff;
}

.projects-hero-actions .btn-ghost {
  border: 1px solid rgba(16, 22, 26, 0.2);
  color: #10161a;
}

.projects-hero figure {
  position: relative;
  min-height: 520px;
  margin: 0;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: 0 28px 70px rgba(16, 22, 26, 0.16);
}

.projects-hero figure img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.projects-disclosure {
  background: #10161a;
  color: #ffffff;
}

.projects-disclosure .wrap {
  display: grid;
  grid-template-columns: minmax(160px, 0.25fr) minmax(0, 0.75fr);
  gap: 1.5rem;
  align-items: start;
  padding: 1.35rem 0;
}

.projects-disclosure strong {
  color: #ffffff;
}

.projects-disclosure p {
  max-width: 84ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.86rem;
  line-height: 1.6;
}

.projects-pathways {
  background: #ffffff;
}

.projects-pathways-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.38fr) minmax(0, 0.62fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.projects-pathways .section-title {
  max-width: 14ch;
}

.projects-pathways-copy p {
  max-width: 70ch;
  margin: 0 0 1.35rem;
  color: #4e5961;
  line-height: 1.75;
}

.projects-pathway-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.projects-pathway-links a {
  display: flex;
  min-height: 64px;
  align-items: center;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(16, 22, 26, 0.1);
  color: #10161a;
  font-weight: 850;
  line-height: 1.35;
  text-decoration: none;
}

.projects-pathway-links a:hover,
.projects-pathway-links a:focus-visible {
  border-color: #10161a;
  background: #f5f3ee;
}

.projects-gallery {
  background: #ffffff;
}

.projects-gallery .section-title {
  max-width: 16ch;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2.75rem;
}

.project-card {
  min-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(16, 22, 26, 0.09);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 20px 50px rgba(16, 22, 26, 0.08);
}

.project-card > img {
  width: 100%;
  aspect-ratio: 16 / 9.5;
  object-fit: cover;
}

.project-card:nth-child(3) > img {
  object-position: center 68%;
}

.project-card > div {
  padding: clamp(1.35rem, 2.5vw, 2rem);
}

.project-card .project-type {
  margin: 0 0 0.7rem;
  color: #65717a;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-card h3 {
  margin: 0 0 0.75rem;
  color: #10161a;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  line-height: 1.12;
}

.project-card p:not(.project-type) {
  margin: 0 0 1.2rem;
  color: #4e5961;
  line-height: 1.7;
}

.project-card a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #10161a;
  font-weight: 850;
  text-decoration: none;
}

.project-card a::after {
  content: "→";
}

.projects-cta {
  padding: clamp(4rem, 7vw, 6.5rem) 0;
  background:
    radial-gradient(circle at 8% 0%, rgba(77, 163, 255, 0.24), transparent 30rem),
    linear-gradient(145deg, #10161a, #26323a);
  color: #ffffff;
}

.projects-cta h2 {
  max-width: 18ch;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.5rem, 4.5vw, 4.2rem);
  line-height: 1.03;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.projects-cta p:not(.eyebrow) {
  max-width: 62ch;
  margin: 1rem 0 1.5rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.projects-cta .btn-primary {
  border-color: #ffffff;
  background: #ffffff;
  color: #10161a;
}

.projects-page footer.site-footer {
  margin-top: 0;
}

/* =========================================================
   PERMIT DRAWINGS PAGE — SCOPED DESIGN SYSTEM
========================================================= */

.permit-drawings-page {
  --permit-primary: var(--brand-primary);
  --permit-text: var(--color-text-dark);
  --permit-muted: var(--color-text-muted);
  --permit-bg: var(--color-page-light);
  --permit-surface: var(--color-surface-white);
  --permit-border: var(--color-border);
  --permit-accent: var(--color-accent);
  overflow-x: clip;
  background: var(--permit-surface);
  color: var(--permit-text);
  font-family: var(--font-body);
}

.permit-drawings-page :where(h1, h2, h3) {
  font-family: var(--font-heading);
}

.permit-drawings-page :where(main a, .permit-contact-links) {
  overflow-wrap: anywhere;
}

.permit-drawings-page :where(section[id], h2[id]) {
  scroll-margin-top: 7rem;
}

.permit-drawings-page .wrap {
  width: min(var(--content-max), calc(100% - clamp(1.5rem, 5vw, 3rem)));
  margin-inline: auto;
}

.permit-drawings-page img {
  max-width: 100%;
  height: auto;
}

.permit-drawings-page .section-header {
  max-width: 46rem;
}

.permit-drawings-page .section-eyebrow {
  margin: 0 0 0.55rem;
  color: var(--permit-accent);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1.4;
  text-transform: uppercase;
}

.permit-drawings-page .section-title {
  max-width: 20ch;
  margin: 0;
  color: var(--permit-text);
  font-size: clamp(2rem, 5.5vw, 3.35rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-wrap: balance;
}

.permit-drawings-page .section-description {
  max-width: 65ch;
  margin: 1rem 0 0;
  color: var(--permit-muted);
  line-height: 1.7;
}

.permit-drawings-page .btn {
  min-height: 48px;
  padding: 0.8rem 1.15rem;
  border: 1px solid transparent;
  border-radius: var(--button-radius);
  font-weight: 750;
  line-height: 1.25;
  transition:
    background-color var(--transition-standard),
    border-color var(--transition-standard),
    color var(--transition-standard),
    box-shadow var(--transition-standard);
}

.permit-drawings-page .btn:hover {
  transform: none;
}

.permit-drawings-page .btn-primary {
  border-color: var(--permit-primary);
  background: var(--permit-primary);
  color: #ffffff;
}

.permit-drawings-page .btn-primary:hover {
  border-color: #254457;
  background: #254457;
  color: #ffffff;
}

.permit-drawings-page .btn-secondary {
  border-color: #aebbc3;
  background: var(--permit-surface);
  color: var(--permit-primary);
}

.permit-drawings-page .btn-secondary:hover {
  border-color: var(--permit-primary);
  background: #eef2f4;
  color: var(--permit-primary);
}

.permit-drawings-page .btn-text {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 0.45rem;
  color: var(--permit-primary);
  font-weight: 800;
  text-underline-offset: 0.2em;
}

.permit-drawings-page .btn-text::after {
  content: "→";
}

.permit-drawings-page :where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid #2f76b7;
  outline-offset: 3px;
}

/* Hero */

.permit-hero {
  margin-top: 72px;
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  border-bottom: 1px solid var(--permit-border);
  background: var(--permit-bg);
}

.permit-hero-layout {
  display: grid;
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: center;
}

.permit-hero-content {
  min-width: 0;
}

.permit-hero h1 {
  max-width: 14ch;
  margin: 0;
  color: var(--permit-text);
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 850;
  letter-spacing: -0.045em;
  line-height: 1.02;
  text-wrap: balance;
}

.permit-hero-content > p:not(.section-eyebrow) {
  max-width: 650px;
  margin: 1.1rem 0 0;
  color: var(--permit-muted);
  font-size: clamp(1rem, 1.8vw, 1.1rem);
  line-height: 1.68;
}

.permit-hero .hero-actions {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.permit-hero .hero-actions .btn {
  width: 100%;
}

.permit-hero-proof {
  display: grid;
  gap: 0.55rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.permit-hero-proof li {
  position: relative;
  padding-left: 1.45rem;
  color: var(--permit-muted);
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.5;
}

.permit-hero-proof li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--permit-accent);
  font-weight: 900;
}

.permit-hero-media {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--permit-border);
  border-radius: var(--card-radius);
  background: var(--permit-surface);
  box-shadow: var(--shadow-medium);
}

.permit-hero-media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* Shared section rhythm */

.permit-intro,
.permit-projects,
.permit-package,
.permit-process,
.permit-guidance,
.permit-contact {
  padding: var(--section-spacing) 0;
}

.permit-intro {
  border-bottom: 1px solid var(--permit-border);
  background: var(--permit-surface);
}

.permit-intro-grid {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

.permit-intro-copy {
  max-width: 45rem;
}

.permit-intro-copy p {
  margin: 0;
  color: var(--permit-muted);
  font-size: clamp(1rem, 1.5vw, 1.08rem);
  line-height: 1.72;
}

.permit-intro-copy p + p {
  margin-top: 1rem;
}

/* Project cards */

.permit-projects {
  background: var(--permit-bg);
}

.permit-project-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  margin-top: clamp(2rem, 4vw, 2.75rem);
}

.permit-project-grid a {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 1.4rem;
  border: 1px solid var(--permit-border);
  border-radius: var(--card-radius);
  background: var(--permit-surface);
  color: var(--permit-text);
  text-decoration: none;
  box-shadow: var(--shadow-small);
  transition:
    border-color var(--transition-standard),
    box-shadow var(--transition-standard),
    background-color var(--transition-standard);
}

.permit-project-grid a:hover,
.permit-project-grid a:focus-visible {
  border-color: #9babb4;
  background: #fbfcfc;
  box-shadow: var(--shadow-medium);
}

.permit-project-grid a > span {
  margin-bottom: 1.1rem;
  color: var(--permit-accent);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.permit-project-grid strong {
  font-size: 1.18rem;
  line-height: 1.3;
}

.permit-project-grid p {
  margin: 0.65rem 0 0;
  color: var(--permit-muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.permit-project-grid a::after {
  content: "View service →";
  margin-top: auto;
  padding-top: 1.25rem;
  color: var(--permit-primary);
  font-size: 0.82rem;
  font-weight: 800;
}

/* Drawing package and image */

.permit-package {
  background: var(--permit-surface);
}

.permit-package-grid {
  display: grid;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.permit-package figure {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--permit-border);
  border-radius: var(--card-radius);
  background: var(--permit-bg);
  box-shadow: var(--shadow-small);
}

.permit-package figure img {
  width: 100%;
  aspect-ratio: 400 / 249;
  object-fit: cover;
}

.permit-package-content {
  min-width: 0;
}

.permit-package-content > .section-description {
  margin-top: 1rem;
}

.permit-package ul {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem 1.25rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.permit-package li {
  position: relative;
  padding: 0.75rem 0.75rem 0.75rem 2.2rem;
  border: 1px solid var(--permit-border);
  border-radius: 12px;
  color: var(--permit-text);
  line-height: 1.55;
}

.permit-package li::before {
  content: "✓";
  position: absolute;
  top: 0.75rem;
  left: 0.85rem;
  color: var(--permit-accent);
  font-weight: 900;
}

/* Four-step process */

.permit-process {
  background: var(--permit-primary);
  color: #ffffff;
}

.permit-process .section-eyebrow {
  color: #f2cc72;
}

.permit-process .section-title {
  color: #ffffff;
}

.permit-process .process-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  margin-top: clamp(2rem, 4vw, 2.75rem);
  counter-reset: none;
}

.permit-process .process-grid article {
  min-height: 0;
  padding: 1.35rem;
  overflow: visible;
  border: 1px solid #456071;
  border-radius: var(--card-radius);
  background: #213845;
  box-shadow: none;
}

.permit-process .process-grid article::before,
.permit-process .process-grid article::after {
  content: none;
}

.permit-process .process-grid h3 {
  margin: 0 0 0.65rem;
  color: #ffffff;
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.35;
}

.permit-process .process-grid p {
  margin: 0;
  color: #d4dee4;
  font-size: 0.94rem;
  line-height: 1.65;
}

/* Municipal guidance */

.permit-guidance {
  background: var(--permit-surface);
}

.permit-guidance .wrap {
  display: grid;
  gap: 1.5rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--permit-border);
  border-left: 4px solid var(--permit-accent);
  border-radius: var(--card-radius);
  background: var(--permit-bg);
}

.permit-guidance p {
  max-width: 66ch;
  margin: 0;
  color: var(--permit-muted);
  line-height: 1.7;
}

.permit-guidance p + p {
  margin-top: 1rem;
}

.permit-guidance .btn-text {
  margin-top: 0.65rem;
}

/* Contact and project review */

.permit-contact {
  border-top: 1px solid var(--permit-border);
  background: #eef2f4;
}

.permit-contact-grid {
  display: grid;
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: start;
}

.permit-contact-intro {
  min-width: 0;
}

.permit-help {
  margin-top: 1.75rem;
  padding: 1.35rem;
  border: 1px solid var(--permit-border);
  border-radius: var(--card-radius);
  background: var(--permit-surface);
  box-shadow: var(--shadow-small);
}

.permit-help h3 {
  margin: 0;
  color: var(--permit-text);
  font-size: 1.15rem;
}

.permit-help ul {
  display: grid;
  gap: 0.65rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.permit-help li {
  position: relative;
  padding-left: 1.45rem;
  color: var(--permit-muted);
  line-height: 1.5;
}

.permit-help li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--permit-accent);
  font-weight: 900;
}

.permit-contact-links {
  margin: 1.25rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--permit-border);
  color: var(--permit-muted);
  line-height: 1.9;
}

.permit-contact-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--permit-primary);
  font-weight: 800;
  text-underline-offset: 0.18em;
}

.permit-review-form {
  min-width: 0;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--permit-border);
  border-radius: var(--card-radius);
  background: var(--permit-surface);
  box-shadow: var(--shadow-medium);
}

.permit-review-form .form-guidance {
  margin-bottom: 1.25rem;
  border-left-color: #2f76b7;
  background: #eef5fa;
  color: var(--permit-text);
}

.permit-review-form label {
  margin: 0 0 0.4rem;
  color: var(--permit-text);
  font-size: 0.92rem;
  font-weight: 750;
}

.permit-review-form :where(input:not([type="hidden"]), select, textarea) {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  margin: 0 0 1rem;
  padding: 0.82rem 0.9rem;
  border: 1px solid #b8c3ca;
  border-radius: 10px;
  background-color: #ffffff;
  color: var(--permit-text);
  font: inherit;
  font-size: 1rem;
}

.permit-review-form textarea {
  min-height: 150px;
  resize: vertical;
}

.permit-review-form input:focus,
.permit-review-form select:focus,
.permit-review-form textarea:focus {
  border-color: #2f76b7;
  box-shadow: 0 0 0 3px rgba(47, 118, 183, 0.18);
  outline: none;
}

.permit-review-form .form-actions {
  display: flex;
  gap: 0.75rem 1rem;
  align-items: center;
  margin-top: 0.25rem;
}

.permit-review-form .form-actions .btn {
  min-width: min(100%, 14rem);
}

.permit-review-form .message {
  color: var(--permit-muted);
  overflow-wrap: anywhere;
}

.permit-review-form #formStatus {
  min-height: 1.5rem;
  margin: 0.75rem 0 0;
  font-weight: 700;
}

.permit-review-form #formStatus:not(:empty) {
  padding: 0.75rem 0.85rem;
  border-left: 3px solid #2f76b7;
  border-radius: 0 8px 8px 0;
  background: #eef5fa;
  color: var(--permit-text);
}

.permit-review-form .privacy-note {
  margin: 0.75rem 0 0;
  font-size: 0.84rem;
  line-height: 1.6;
}

.permit-review-form .privacy-note a {
  color: var(--permit-primary);
  font-weight: 700;
}

.permit-drawings-page footer.site-footer {
  margin-top: 0;
}

/* Tablet */

@media (min-width: 48rem) {
  .permit-hero .hero-actions {
    display: flex;
    flex-wrap: wrap;
  }

  .permit-hero .hero-actions .btn {
    width: auto;
    flex: 0 1 auto;
  }

  .permit-hero-proof {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .permit-project-grid,
  .permit-process .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .permit-package ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Desktop */

@media (min-width: 62rem) {
  .permit-hero {
    margin-top: 90px;
  }

  .permit-hero-layout {
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  }

  .permit-intro-grid,
  .permit-guidance .wrap {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(2.5rem, 6vw, 5rem);
  }

  .permit-project-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .permit-project-grid a {
    min-height: 15rem;
  }

  .permit-package-grid {
    grid-template-columns: minmax(340px, 0.9fr) minmax(0, 1.1fr);
  }

  .permit-process .process-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .permit-contact-grid {
    grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  }
}

/* Small phones */

@media (max-width: 30rem) {
  .permit-drawings-page .section-title {
    font-size: clamp(1.85rem, 9vw, 2.35rem);
  }

  .permit-hero h1 {
    font-size: clamp(2.3rem, 11vw, 3rem);
  }

  .permit-review-form {
    padding: 1rem;
  }

  .permit-review-form .form-actions,
  .permit-review-form .form-actions .btn {
    width: 100%;
  }
}

/* Projects page responsive rules retained from the shared block. */

@media (max-width: 980px) {
  .projects-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .projects-hero figure,
  .projects-hero figure img {
    min-height: 420px;
  }
}

@media (max-width: 700px) {
  .projects-hero {
    margin-top: 72px;
    padding: 3.75rem 0;
  }

  .projects-hero h1 {
    font-size: clamp(2.5rem, 12vw, 3.5rem);
  }

  .projects-hero-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .projects-hero-actions .btn {
    width: 100%;
  }

  .projects-hero figure,
  .projects-hero figure img {
    min-height: 320px;
  }

  .projects-disclosure .wrap,
  .projects-pathways-grid,
  .projects-pathway-links,
  .projects-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .project-card {
    border-radius: 22px;
  }

  .projects-cta h2 {
    font-size: clamp(2.2rem, 10vw, 3rem);
  }
}

/* =========================================================
   FREE PERMIT READINESS CHECK LANDING PAGE
========================================================= */

.readiness-page {
  --ready-ink: #172027;
  --ready-slate: #26343c;
  --ready-warm: #f5f7f8;
  --ready-surface: #ffffff;
  --ready-border: rgba(23, 32, 39, 0.1);
  --ready-blue: #4da3ff;
  --ready-gold: #8a6200;
  background:
    radial-gradient(circle at top left, rgba(77, 163, 255, 0.1), transparent 30rem),
    linear-gradient(180deg, #ffffff 0%, #f6f7f8 100%);
}

.readiness-hero {
  position: relative;
  min-height: 740px;
  margin-top: 78px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 8% 20%, rgba(77, 163, 255, 0.18), transparent 18rem),
    linear-gradient(145deg, #10161a, #26343c);
}

.readiness-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 85% 25%, rgba(255, 191, 0, 0.14), transparent 12rem),
    linear-gradient(90deg, rgba(7, 12, 16, 0.92) 0%, rgba(7, 12, 16, 0.75) 52%, rgba(7, 12, 16, 0.45) 100%);
}

.readiness-hero-grid {
  min-height: 740px;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding-block: 4.5rem 5.25rem;
}

.readiness-hero-copy {
  color: #ffffff;
}

.readiness-eyebrow {
  margin: 0 0 0.85rem;
  color: var(--ready-gold);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.readiness-hero .readiness-eyebrow,
.readiness-process .readiness-eyebrow,
.readiness-form-section .readiness-eyebrow {
  color: rgba(255, 255, 255, 0.7);
}

.readiness-hero h1 {
  max-width: 11ch;
  margin: 0;
  color: #ffffff;
  font-size: clamp(3.25rem, 6vw, 5.9rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
  text-wrap: balance;
}

.readiness-hero-lead {
  max-width: 58ch;
  margin: 1.3rem 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.02rem, 1.25vw, 1.15rem);
  line-height: 1.65;
}

.readiness-hero-copy > p:not(.readiness-eyebrow, .readiness-hero-lead) {
  max-width: 62ch;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.readiness-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.readiness-actions .btn,
.readiness-dark-button,
.readiness-centred-action .btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.2rem;
  border-radius: 12px;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.readiness-primary {
  border: 1px solid #ffffff;
  background: #ffffff;
  color: var(--ready-ink);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.readiness-secondary {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.readiness-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.readiness-proof li {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  font-weight: 750;
}

.readiness-proof li::before {
  content: "✓";
  margin-right: 0.4rem;
  color: var(--ready-gold);
}

.readiness-hero-panel {
  padding: clamp(1.6rem, 3vw, 2.2rem);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: rgba(17, 24, 28, 0.72);
  color: #ffffff;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.readiness-hero-panel > p {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.readiness-hero-panel ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.readiness-hero-panel li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 0.75rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.45;
}

.readiness-hero-panel li span {
  color: var(--ready-gold);
  font-size: 0.7rem;
  font-weight: 900;
}

.readiness-hero-panel > a {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  color: #ffffff;
  font-weight: 850;
  text-decoration: none;
}

.readiness-split,
.readiness-area-grid,
.readiness-faq-grid,
.readiness-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.25rem, 5vw, 5rem);
  align-items: start;
}

.readiness-page main h2 {
  max-width: 16ch;
  margin: 0;
  color: var(--ready-ink);
  font-size: clamp(2.5rem, 4.7vw, 4.35rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.readiness-split > div:last-child > p,
.readiness-faq-grid > div:first-child > p:not(.readiness-eyebrow),
.readiness-form-heading > p:not(.readiness-eyebrow) {
  max-width: 64ch;
  margin: 0 0 1rem;
  color: #52606a;
  font-size: clamp(1rem, 1.2vw, 1.08rem);
  line-height: 1.78;
}

.readiness-text-link {
  display: inline-flex;
  margin-top: 0.5rem;
  color: var(--ready-ink);
  font-weight: 850;
}

.readiness-review {
  background: var(--ready-warm);
}

.readiness-review > .wrap > h2,
.readiness-process > .wrap > h2,
.readiness-receive > .wrap > h2 {
  max-width: 18ch;
}

.readiness-review-grid,
.readiness-process-grid,
.readiness-receive-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2.75rem;
}

.readiness-review-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.readiness-review-grid article {
  min-height: 270px;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border: 1px solid var(--ready-border);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 16px 36px rgba(18, 35, 45, 0.06);
}

.readiness-review-grid article > span {
  margin-bottom: auto;
  color: #7c878e;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.readiness-review-grid h3,
.readiness-process-grid h3 {
  margin: 1.5rem 0 0.65rem;
  font-size: 1.25rem;
  line-height: 1.2;
}

.readiness-review-grid p,
.readiness-process-grid p {
  margin: 0;
  color: #59646c;
  font-size: 0.92rem;
  line-height: 1.65;
}

.readiness-note,
.readiness-disclaimer {
  max-width: 88ch;
  margin: 1.25rem 0 0;
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--ready-gold);
  background: rgba(255, 255, 255, 0.72);
  color: #5a646c;
  font-size: 0.86rem;
  line-height: 1.6;
}

.readiness-for {
  background: #ffffff;
}

.readiness-dark-button {
  margin-top: 1.5rem;
  border: 1px solid var(--ready-ink);
  background: var(--ready-ink);
  color: #ffffff;
}

.readiness-check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.readiness-check-list li {
  position: relative;
  padding: 1rem 1rem 1rem 2.5rem;
  border: 1px solid var(--ready-border);
  border-radius: 16px;
  background: #f8f8f6;
  color: #273139;
  line-height: 1.45;
}

.readiness-check-list li::before {
  content: "✓";
  position: absolute;
  left: 1rem;
  color: var(--ready-gold);
  font-weight: 900;
}

.readiness-process {
  background: linear-gradient(145deg, #10161a, #26343c);
  color: #ffffff;
}

.readiness-process h2,
.readiness-process h3 {
  color: #ffffff;
}

.readiness-process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.readiness-process-grid article {
  min-height: 260px;
  padding: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.055);
}

.readiness-process-grid article > span {
  color: var(--ready-gold);
  font-size: 0.76rem;
  font-weight: 900;
}

.readiness-process-grid p {
  color: rgba(255, 255, 255, 0.68);
}

.readiness-centred-action {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.readiness-receive {
  background: var(--ready-warm);
}

.readiness-receive-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.readiness-receive-grid article,
.readiness-why-grid article {
  display: grid;
  gap: 0.5rem;
  padding: 1.3rem;
  border: 1px solid var(--ready-border);
  border-radius: 18px;
  background: #ffffff;
}

.readiness-receive-grid strong,
.readiness-why-grid strong {
  color: var(--ready-ink);
}

.readiness-receive-grid span,
.readiness-why-grid span {
  color: #626d74;
  font-size: 0.88rem;
  line-height: 1.55;
}

.readiness-why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.readiness-areas {
  background: #f6f7f7;
}

.readiness-area-grid {
  align-items: center;
}

.readiness-map {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 22px 56px rgba(16, 22, 26, 0.12);
}

.readiness-map iframe {
  display: block;
}

.readiness-area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.5rem 0 1rem;
  padding: 0;
  list-style: none;
}

.readiness-area-list li {
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--ready-border);
  border-radius: 999px;
  background: #ffffff;
  font-size: 0.84rem;
  font-weight: 750;
}

.readiness-faq {
  background: #ffffff;
}

.readiness-faq-grid > div:first-child {
  position: sticky;
  top: 120px;
}

.readiness-faq-list details {
  margin-bottom: 0.8rem;
  overflow: hidden;
  border: 1px solid var(--ready-border);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(18, 35, 45, 0.05);
}

.readiness-faq-list summary {
  position: relative;
  padding: 1.1rem 3.5rem 1.1rem 1.15rem;
  cursor: pointer;
  list-style: none;
  color: var(--ready-ink);
  font-weight: 850;
}

.readiness-faq-list summary::after {
  content: "+";
  position: absolute;
  right: 1rem;
  top: 50%;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--ready-ink);
  color: #ffffff;
  transform: translateY(-50%);
}

.readiness-faq-list details[open] summary::after { content: "−"; }
.readiness-faq-list details p { margin: 0; padding: 0 1.15rem 1.15rem; color: #536069; line-height: 1.7; }

.readiness-form-section {
  background:
    radial-gradient(circle at 6% 0%, rgba(77, 163, 255, 0.16), transparent 26rem),
    linear-gradient(180deg, #f5f7f8 0%, #ffffff 100%);
  color: #ffffff;
}

.readiness-form-section h2 { color: var(--ready-ink); }
.readiness-form-heading > p:not(.readiness-eyebrow) { color: #52606a; }
.readiness-form-heading ul { display: grid; gap: 0.7rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.readiness-form-heading li { color: #44515a; }
.readiness-form-heading li::before { content: "✓"; margin-right: 0.5rem; color: var(--ready-gold); }

.readiness-form {
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid var(--ready-border);
  border-radius: 24px;
  background: #ffffff;
  color: var(--ready-ink);
  box-shadow: var(--shadow-medium);
}

.readiness-field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.readiness-form label {
  display: block;
  margin: 0.8rem 0 0.35rem;
  font-size: 0.86rem;
  font-weight: 800;
}

.readiness-form h2 {
  margin-top: 1.6rem;
  margin-bottom: 0.2rem;
  color: var(--ready-ink);
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
}

.readiness-form h2:first-of-type {
  margin-top: 0;
}

.readiness-form input:not([type="checkbox"]),
.readiness-form select,
.readiness-form textarea {
  width: 100%;
  min-height: 48px;
  margin-top: 0.45rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid #d3d8dc;
  border-radius: 12px;
  background: #ffffff;
  color: var(--ready-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.readiness-form input::placeholder,
.readiness-form textarea::placeholder {
  color: #8a949b;
}

.readiness-form textarea { min-height: 150px; }
.readiness-upload-row small { display: block; margin-top: 0.35rem; color: #69747c; font-size: 0.72rem; }
.readiness-form input[type="file"] { padding: 0.6rem; font-size: 0.78rem; }

.readiness-consent {
  display: grid !important;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
  margin-top: 1rem !important;
  font-weight: 650 !important;
  line-height: 1.5;
  color: #44515a;
}

.readiness-consent input { width: 18px; height: 18px; margin-top: 0.15rem; }

.readiness-submit {
  width: 100%;
  min-height: 54px;
  margin-top: 1rem;
  border: 1px solid var(--ready-ink);
  border-radius: 12px;
  background: var(--ready-ink);
  color: #ffffff;
  font-weight: 900;
  box-shadow: 0 16px 30px rgba(23, 32, 39, 0.16);
}

.readiness-submit:hover {
  transform: translateY(-1px);
}

.readiness-privacy {
  margin: 0.8rem 0 0;
  color: #68737b;
  font-size: 0.75rem;
  line-height: 1.55;
}

.readiness-page footer.site-footer {
  margin-top: 0;
}

.readiness-page footer.site-footer .wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.readiness-page footer.site-footer a {
  color: inherit;
  text-decoration: none;
}

.readiness-page footer.site-footer a:hover {
  text-decoration: underline;
}

/* Legacy standalone lead-page styles. The maintained version lives in lead-form.css. */
@media not all {
.announcement {
  position: sticky;
  top: 0;
  z-index: 1100;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: #0f172a;
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 700;
}

.announcement a {
  color: #ffffff;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 42px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.site-header .brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: #111111;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: #111111;
  color: #ffffff;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.site-header nav a {
  padding: 0.7rem 0.95rem;
  border-radius: 12px;
  text-decoration: none;
  color: #111111;
  font-weight: 750;
}

.site-header nav a.nav-cta {
  background: #111111;
  color: #ffffff;
}

.hero {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.hero-copy h1 {
  margin: 0.3rem 0 0;
  max-width: 12ch;
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.hero-lede {
  max-width: 58ch;
  margin: 1.25rem 0 0;
  color: #52606a;
  font-size: clamp(1.02rem, 1.25vw, 1.15rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.85rem 1.15rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
}

.button.primary {
  background: #111111;
  color: #ffffff;
}

.button.secondary {
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #ffffff;
  color: #111111;
}

.button.full {
  width: 100%;
}

.microcopy {
  margin: 1rem 0 0;
  color: #68737b;
  font-size: 0.78rem;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
}

.trust-list li::before {
  content: "✓";
  margin-right: 0.35rem;
  color: #8a6200;
}

.hero-visual,
.summary-card {
  position: relative;
}

.hero-visual img {
  width: 100%;
  min-height: 560px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 28px 70px rgba(18, 35, 45, 0.14);
}

.summary-card {
  margin-top: -5.5rem;
  margin-left: auto;
  width: min(100%, 460px);
  padding: 1.35rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 60px rgba(18, 35, 45, 0.12);
}

.card-kicker {
  color: #8a6200;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.summary-card h2 {
  margin: 0.55rem 0 0;
  font-size: 1.4rem;
  line-height: 1.15;
}

.summary-card ul {
  display: grid;
  gap: 0.55rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.summary-card li {
  position: relative;
  padding-left: 1.2rem;
  color: #44515a;
}

.summary-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #8a6200;
}

.form-section {
  background: linear-gradient(180deg, #f5f7f8 0%, #ffffff 100%);
}

.form-intro,
.form-wrap,
.problem,
.content-section,
.split-section,
.qualification,
.process,
.authority,
.faq,
.final-cta,
.disclaimer {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
}

.form-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr);
  padding-top: 1.5rem;
}

.form-intro h2,
.content-section h2,
.split-section h2,
.qualification h2,
.process h2,
.authority h2,
.faq h2,
.final-cta h2 {
  margin: 0.25rem 0 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.contact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.contact-strip a {
  padding: 0.7rem 0.95rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 999px;
  background: #ffffff;
  text-decoration: none;
  color: #111111;
  font-weight: 700;
}

.form-wrap {
  padding: 1.5rem 0 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.8fr);
  gap: 2rem;
  align-items: start;
}

.readiness-form {
  padding: 1.4rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}

.desktop-summary {
  display: block;
}

.form-progress {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.progress-step {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: #52606a;
  font-weight: 800;
}

.progress-step.active {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
}

.progress-line {
  flex: 1;
  height: 2px;
  background: rgba(0, 0, 0, 0.1);
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

.field-grid {
  display: grid;
  gap: 0.9rem;
}

.field-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.form-step label,
.radio-group,
.checkbox-field {
  display: block;
  margin-top: 0.95rem;
  font-size: 0.88rem;
  font-weight: 800;
}

.readiness-form input:not([type="radio"]):not([type="checkbox"]),
.readiness-form select,
.readiness-form textarea {
  width: 100%;
  min-height: 48px;
  margin-top: 0.45rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid #d3d8dc;
  border-radius: 12px;
  background: #ffffff;
  color: #111111;
}

.readiness-form textarea {
  min-height: 160px;
}

.file-field small,
.privacy {
  display: block;
  margin-top: 0.35rem;
  color: #68737b;
  font-size: 0.76rem;
  line-height: 1.5;
}

.radio-group.inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 1rem;
  font-weight: 700;
}

.radio-group.inline span {
  width: 100%;
}

.radio-group label,
.checkbox-field {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 0.6rem;
  align-items: start;
  font-weight: 650;
}

.form-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.problem,
.content-section,
.split-section,
.qualification,
.process,
.authority,
.faq,
.final-cta,
.disclaimer {
  padding: var(--section-spacing) 0;
}

.text-columns,
.qual-grid,
.process-steps,
.authority {
  display: grid;
  gap: 1.2rem;
}

.text-columns,
.qual-grid,
.authority {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-list,
.deliverable-grid,
.faq-list,
.check-list,
.x-list {
  display: grid;
  gap: 0.8rem;
}

.project-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-list span,
.deliverable-grid article,
.faq-list details,
.authority-card,
.final-cta,
.disclaimer {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(18, 35, 45, 0.06);
}

.project-list span {
  padding: 1rem;
}

.deliverable-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.5rem;
}

.deliverable-grid article {
  padding: 1.25rem;
}

.deliverable-grid span {
  color: #8a6200;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.deliverable-grid h3 {
  margin: 1rem 0 0.55rem;
}

.check-list,
.x-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.x-list li {
  position: relative;
  padding-left: 1.5rem;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #8a6200;
}

.x-list li::before {
  content: "×";
  position: absolute;
  left: 0;
  color: #8a6200;
}

.process-steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.5rem;
}

.process-steps article {
  padding: 1.25rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  background: #ffffff;
}

.process-steps span {
  color: #8a6200;
  font-size: 0.75rem;
  font-weight: 900;
}

.authority-card,
.final-cta,
.disclaimer {
  padding: 1.3rem;
}

.authority-card {
  display: grid;
  gap: 0.6rem;
}

.faq-list details {
  padding: 0.95rem 1rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-list p {
  color: #52606a;
}

.final-cta {
  text-align: center;
}

.final-cta small {
  display: block;
  margin-top: 0.7rem;
  color: #68737b;
}

.cookie-banner {
  position: fixed;
  inset: auto 1rem 1rem 1rem;
  z-index: 1200;
}

.cookie-banner-inner {
  width: min(100%, 760px);
  margin-inline: auto;
  padding: 1rem 1.1rem;
  border: 1px solid var(--ready-border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 60px rgba(18, 35, 45, 0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.cookie-banner-title {
  margin: 0;
  color: var(--ready-ink);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cookie-banner-copy {
  margin: 0.45rem 0 0;
  color: #52606a;
  font-size: 0.92rem;
  line-height: 1.6;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.9rem;
}

.cookie-banner-actions .btn {
  flex: 1 1 220px;
}

@media (max-width: 980px) {
  .announcement,
  .site-header,
  .hero,
  .form-intro,
  .form-wrap,
  .problem,
  .content-section,
  .split-section,
  .qualification,
  .process,
  .authority,
  .faq,
  .final-cta,
  .disclaimer {
    width: calc(100% - 1.5rem);
  }

  .hero,
  .form-wrap,
  .text-columns,
  .qual-grid,
  .authority,
  .split-section {
    grid-template-columns: minmax(0, 1fr);
  }

  .deliverable-grid,
  .process-steps,
  .project-list,
  .field-grid.three {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-header {
    top: 0;
    padding: 0.85rem 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-visual img {
    min-height: 380px;
  }

  .summary-card {
    margin-top: -3rem;
    width: min(100%, 100%);
  }

  .desktop-summary {
    display: none;
  }

  .form-actions,
  .hero-actions,
  .cookie-banner-actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .cookie-banner-actions {
    display: grid;
  }

  .field-grid.three {
    gap: 0;
  }
}

@media (max-width: 700px) {
  .announcement {
    position: static;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 13vw, 3.5rem);
  }

  .form-actions,
  .hero-actions {
    display: grid;
  }

  .hero-visual img {
    min-height: 300px;
  }

  .readiness-form {
    padding: 1rem;
  }

  .cookie-banner {
    inset: auto 0.75rem 0.75rem 0.75rem;
  }

  .cookie-banner-inner {
    padding: 0.9rem;
    border-radius: 16px;
  }
}
}

.cookie-banner {
  position: fixed;
  inset: auto 1rem 1rem 1rem;
  z-index: 1200;
}

.cookie-banner-inner {
  width: min(100%, 760px);
  margin-inline: auto;
  padding: 1rem 1.1rem;
  border: 1px solid var(--ready-border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 60px rgba(18, 35, 45, 0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.cookie-banner-title {
  margin: 0;
  color: var(--ready-ink);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cookie-banner-copy {
  margin: 0.45rem 0 0;
  color: #52606a;
  font-size: 0.92rem;
  line-height: 1.6;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.9rem;
}

.cookie-banner-actions .btn {
  flex: 1 1 220px;
}

@media (max-width: 980px) {
  .readiness-hero-grid, .readiness-split, .readiness-area-grid, .readiness-faq-grid, .readiness-form-grid { grid-template-columns: minmax(0, 1fr); }
  .readiness-hero-grid { align-content: center; }
  .readiness-hero-panel { max-width: 680px; }
  .readiness-process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .readiness-faq-grid > div:first-child { position: static; }
}

@media (max-width: 700px) {
  .readiness-hero { min-height: 0; margin-top: 70px; }
  .readiness-hero-grid { min-height: 0; padding-block: 3.25rem 3.75rem; }
  .readiness-hero h1 { font-size: clamp(2.7rem, 13vw, 3.7rem); }
  .readiness-actions, .readiness-field-row { grid-template-columns: minmax(0, 1fr); }
  .readiness-actions { display: grid; }
  .readiness-actions .btn { width: 100%; }
  .readiness-proof { display: grid; }
  .readiness-intro, .readiness-review, .readiness-for, .readiness-process, .readiness-receive, .readiness-why, .readiness-areas, .readiness-faq, .readiness-form-section { padding: 3.75rem 0; }
  .readiness-page main h2 { font-size: clamp(2.2rem, 10.5vw, 3rem); }
  .readiness-review-grid, .readiness-process-grid, .readiness-receive-grid, .readiness-why-grid, .readiness-check-list { grid-template-columns: minmax(0, 1fr); }
  .readiness-review-grid article, .readiness-process-grid article { min-height: 0; }
  .readiness-map iframe { height: 340px; }
  .readiness-form { padding: 1.1rem; border-radius: 20px; }
  .readiness-form h2 { font-size: 1.2rem; }
  .cookie-banner {
    inset: auto 0.75rem 0.75rem 0.75rem;
  }
  .cookie-banner-inner {
    padding: 0.9rem;
    border-radius: 16px;
  }
  .cookie-banner-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
  .readiness-page footer.site-footer .wrap {
    min-height: 0;
    padding-block: 1rem;
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================================================
   HOME ADDITIONS & RENOVATIONS PAGE
========================================================= */

.additions-page {
  --addition-primary: var(--brand-primary);
  --addition-text: var(--color-text-dark);
  --addition-muted: var(--color-text-muted);
  --addition-bg: var(--color-page-light);
  --addition-surface: var(--color-surface-white);
  --addition-border: var(--color-border);
  --addition-accent: var(--color-accent);
  overflow-x: clip;
  background: var(--addition-surface);
  color: var(--addition-text);
  font-family: var(--font-body);
}

.additions-page main {
  overflow: clip;
}

.additions-page main :where(h1, h2, h3) {
  font-family: var(--font-heading);
  text-wrap: balance;
}

.additions-page main :where(section[id], h2[id]) {
  scroll-margin-top: 7rem;
}

.additions-page main :where(a, p, li, label, input, select, textarea) {
  overflow-wrap: anywhere;
}

.additions-page .wrap {
  width: min(var(--content-max), calc(100% - clamp(2.25rem, 5vw, 3rem)));
  margin-inline: auto;
}

.additions-page main h2 {
  max-width: 20ch;
  margin: 0;
  color: var(--addition-text);
  font-size: clamp(2rem, 6.5vw, 3.55rem);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.addition-eyebrow {
  margin: 0 0 0.6rem;
  color: var(--addition-accent);
  font-size: 0.74rem;
  font-weight: 850;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.addition-section-header {
  max-width: 48rem;
}

.addition-section-header > p:not(.addition-eyebrow) {
  max-width: 68ch;
  margin: 1rem 0 0;
  color: var(--addition-muted);
  line-height: 1.7;
}

.additions-page main .btn {
  min-height: 48px;
  padding: 0.82rem 1.15rem;
  border-radius: var(--button-radius);
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  transition:
    background-color var(--transition-standard),
    border-color var(--transition-standard),
    color var(--transition-standard),
    box-shadow var(--transition-standard);
}

.additions-page main .btn:hover {
  transform: none;
}

.addition-primary,
.addition-form-submit {
  border: 1px solid var(--addition-primary);
  background: var(--addition-primary);
  color: #ffffff;
}

.addition-primary:hover,
.addition-form-submit:hover {
  border-color: #254457;
  background: #254457;
  color: #ffffff;
}

.addition-secondary {
  border: 1px solid #aebbc3;
  background: var(--addition-surface);
  color: var(--addition-primary);
}

.addition-secondary:hover {
  border-color: var(--addition-primary);
  background: #edf2f4;
  color: var(--addition-primary);
}

.additions-page main :where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid #2f76b7;
  outline-offset: 3px;
}

/* Hero */

.addition-hero {
  margin-top: 72px;
  padding: clamp(2.25rem, 7vw, 5.5rem) 0;
  border-bottom: 1px solid var(--addition-border);
  background: var(--addition-bg);
}

.addition-hero-grid {
  display: grid;
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: center;
}

.addition-hero-copy,
.addition-hero-media {
  min-width: 0;
}

.addition-breadcrumb {
  margin-bottom: 1.5rem;
}

.addition-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #64717a;
  font-size: 0.76rem;
  font-weight: 700;
}

.addition-breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 0.55rem;
  color: #99a4aa;
}

.addition-breadcrumb a {
  color: var(--addition-primary);
  text-underline-offset: 0.2em;
}

.addition-hero h1 {
  max-width: 15ch;
  margin: 0;
  color: var(--addition-text);
  font-size: clamp(2.5rem, 9vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.052em;
}

.addition-hero-lead {
  max-width: 68ch;
  margin: 1.2rem 0 0;
  color: var(--addition-muted);
  font-size: clamp(1rem, 1.7vw, 1.12rem);
  line-height: 1.72;
}

.addition-actions {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.addition-actions .btn {
  width: 100%;
}

.addition-trust {
  display: grid;
  gap: 0.55rem;
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
}

.addition-trust li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--addition-muted);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.5;
}

.addition-trust li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--addition-accent);
  font-weight: 900;
}

.addition-hero-media {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--addition-border);
  border-radius: var(--card-radius);
  background: var(--addition-surface);
  box-shadow: var(--shadow-medium);
}

.addition-hero-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* Shared section layout */

.addition-intro,
.addition-services,
.addition-benefits,
.addition-process,
.addition-information,
.addition-locations,
.addition-faq,
.addition-cta,
.addition-contact {
  padding: var(--section-spacing) 0;
}

.addition-intro,
.addition-information,
.addition-faq {
  background: var(--addition-surface);
}

.addition-intro-grid,
.addition-information-grid,
.addition-locations-grid,
.addition-faq-grid,
.addition-contact-grid {
  display: grid;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.addition-intro-copy > p:not(.addition-eyebrow),
.addition-information-grid > div > p:not(.addition-eyebrow),
.addition-locations-grid > div > p:not(.addition-eyebrow),
.addition-faq-heading > p:not(.addition-eyebrow),
.addition-contact-copy > p:not(.addition-eyebrow) {
  max-width: 68ch;
  color: var(--addition-muted);
  line-height: 1.72;
}

.addition-intro-copy > p + p {
  margin-top: 1rem;
}

.addition-starting-points {
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid var(--addition-border);
  border-radius: var(--card-radius);
  background: var(--addition-bg);
}

.addition-starting-points h3 {
  margin: 0;
  color: var(--addition-text);
  font-size: 1.2rem;
}

.addition-starting-points ul,
.addition-information-grid > ul {
  display: grid;
  gap: 0.7rem;
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
}

.addition-starting-points li,
.addition-information-grid > ul li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--addition-muted);
  line-height: 1.55;
}

.addition-starting-points li::before,
.addition-information-grid > ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--addition-accent);
  font-weight: 900;
}

/* Service cards */

.addition-services {
  background: var(--addition-bg);
}

.addition-service-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  margin-top: clamp(2rem, 4vw, 2.75rem);
}

.addition-service-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 1.4rem;
  border: 1px solid var(--addition-border);
  border-radius: var(--card-radius);
  background: var(--addition-surface);
  box-shadow: var(--shadow-small);
  transition:
    border-color var(--transition-standard),
    box-shadow var(--transition-standard);
}

.addition-service-card:hover {
  border-color: #aab7be;
  box-shadow: var(--shadow-medium);
}

.addition-card-number {
  margin: 0 0 1.1rem;
  color: var(--addition-accent);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.addition-service-card h3 {
  margin: 0;
  color: var(--addition-text);
  font-size: 1.22rem;
  line-height: 1.28;
}

.addition-service-card > p:not(.addition-card-number) {
  margin: 0.75rem 0 0;
  color: var(--addition-muted);
  line-height: 1.65;
}

.addition-service-card > ul {
  display: grid;
  gap: 0.55rem;
  margin: 1rem 0 0;
  padding-left: 1.15rem;
  color: #39474f;
  line-height: 1.5;
}

.addition-service-card > ul li::marker {
  color: var(--addition-accent);
}

.addition-card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
  margin-top: auto;
  padding-top: 1.2rem;
}

.addition-card-links a,
.addition-related-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--addition-primary);
  font-size: 0.86rem;
  font-weight: 800;
  text-underline-offset: 0.2em;
}

.addition-related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--addition-border);
}

/* Homeowner benefits */

.addition-benefits {
  background: var(--addition-surface);
}

.addition-benefit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  margin-top: clamp(2rem, 4vw, 2.75rem);
}

.addition-benefit-grid article {
  min-width: 0;
  padding: 1.35rem;
  border: 1px solid var(--addition-border);
  border-radius: var(--card-radius);
  background: var(--addition-bg);
}

.addition-benefit-grid h3 {
  margin: 0;
  color: var(--addition-text);
  font-size: 1.15rem;
  line-height: 1.3;
}

.addition-benefit-grid p {
  margin: 0.7rem 0 0;
  color: var(--addition-muted);
  line-height: 1.65;
}

.addition-notice {
  max-width: 70rem;
  margin: 1.25rem 0 0;
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--addition-accent);
  border-radius: 0 12px 12px 0;
  background: var(--addition-bg);
  color: var(--addition-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* Process */

.addition-process {
  background: var(--addition-primary);
  color: #ffffff;
}

.addition-process .addition-eyebrow {
  color: #f2cc72;
}

.addition-process h2 {
  color: #ffffff;
}

.addition-process-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  margin: clamp(2rem, 4vw, 2.75rem) 0 0;
  padding: 0;
  list-style: none;
}

.addition-process-grid li {
  min-width: 0;
  padding: 1.35rem;
  border: 1px solid #456071;
  border-radius: var(--card-radius);
  background: #213845;
}

.addition-process-grid span {
  color: #f2cc72;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.addition-process-grid h3 {
  margin: 1rem 0 0.6rem;
  color: #ffffff;
  font-size: 1.15rem;
}

.addition-process-grid p {
  margin: 0;
  color: #d4dee4;
  font-size: 0.94rem;
  line-height: 1.65;
}

/* Information and locations */

.addition-information-grid > div > p:not(.addition-eyebrow) {
  margin: 1rem 0 1.35rem;
}

.addition-information-grid > ul {
  margin-top: 0;
  padding: 1.35rem;
  border: 1px solid var(--addition-border);
  border-radius: var(--card-radius);
  background: var(--addition-bg);
}

.addition-locations {
  background: var(--addition-bg);
}

.addition-locations-grid > div > p:not(.addition-eyebrow) {
  margin: 1rem 0 0;
}

.addition-location-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.addition-location-list li {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--addition-border);
  border-radius: 999px;
  background: var(--addition-surface);
  color: #39474f;
  font-size: 0.84rem;
  font-weight: 750;
}

.addition-location-list a {
  color: var(--addition-primary);
  text-underline-offset: 0.18em;
}

/* FAQ */

.addition-faq-heading > p:not(.addition-eyebrow) {
  margin: 1rem 0 0;
}

.addition-faq-item {
  margin-bottom: 0.75rem;
  overflow: hidden;
  border: 1px solid var(--addition-border);
  border-radius: 14px;
  background: var(--addition-surface);
  box-shadow: var(--shadow-small);
}

.addition-faq-item h3 {
  margin: 0;
}

.addition-faq-item button {
  width: 100%;
  min-height: 52px;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.1rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--addition-text);
  font: inherit;
  font-weight: 800;
  line-height: 1.45;
  text-align: left;
}

.addition-faq-icon {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--addition-primary);
  color: #ffffff;
  font-size: 1.1rem;
  line-height: 1;
}

.addition-faq-answer p {
  margin: 0;
  padding: 0 1.1rem 1.1rem;
  color: var(--addition-muted);
  line-height: 1.7;
}

/* Conversion and quote form */

.addition-cta {
  background: var(--addition-surface);
}

.addition-cta-panel {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--card-radius);
  background: var(--addition-primary);
  color: #ffffff;
  box-shadow: var(--shadow-medium);
}

.addition-cta .addition-eyebrow {
  color: #f2cc72;
}

.addition-cta h2 {
  color: #ffffff;
}

.addition-cta-panel p:not(.addition-eyebrow) {
  max-width: 66ch;
  margin: 1rem 0 0;
  color: #d4dee4;
  line-height: 1.7;
}

.addition-cta .addition-primary {
  border-color: #ffffff;
  background: #ffffff;
  color: var(--addition-primary);
}

.addition-cta .addition-primary:hover {
  border-color: #dce3e7;
  background: #eef2f4;
  color: var(--addition-primary);
}

.addition-cta-actions {
  display: grid;
  gap: 0.75rem;
}

.addition-phone-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 800;
  text-underline-offset: 0.2em;
}

.addition-contact {
  border-top: 1px solid var(--addition-border);
  background: #eef2f4;
}

.addition-contact-copy > p:not(.addition-eyebrow) {
  margin: 1rem 0 0;
}

.addition-contact-details {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.addition-contact-details p {
  display: grid;
  gap: 0.25rem;
  margin: 0;
  padding: 1rem;
  border: 1px solid var(--addition-border);
  border-radius: 12px;
  background: var(--addition-surface);
}

.addition-contact-details strong {
  color: var(--addition-muted);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.addition-contact-details a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--addition-primary);
  font-weight: 850;
  text-underline-offset: 0.2em;
}

.addition-form {
  min-width: 0;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--addition-border);
  border-radius: var(--card-radius);
  background: var(--addition-surface);
  box-shadow: var(--shadow-medium);
}

.addition-form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0 0.9rem;
}

.addition-form-row > div {
  min-width: 0;
}

.addition-form label {
  margin: 0 0 0.4rem;
  color: var(--addition-text);
  font-size: 0.9rem;
  font-weight: 800;
}

.addition-form :where(input:not([type="hidden"]), select, textarea) {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  margin: 0 0 1rem;
  padding: 0.82rem 0.9rem;
  border: 1px solid #b8c3ca;
  border-radius: 10px;
  background-color: #ffffff;
  color: var(--addition-text);
  font: inherit;
  font-size: 1rem;
}

.addition-form textarea {
  min-height: 150px;
  resize: vertical;
}

.addition-form :where(input, select, textarea)[aria-invalid="true"] {
  border-color: #a32626;
  box-shadow: 0 0 0 2px rgba(163, 38, 38, 0.12);
}

.addition-field-error {
  min-height: 1.25rem;
  margin: -0.7rem 0 0.75rem;
  color: #8d2020;
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1.45;
}

.addition-field-error:empty {
  min-height: 0;
  margin: 0;
}

.addition-form input:focus,
.addition-form select:focus,
.addition-form textarea:focus {
  border-color: #2f76b7;
  box-shadow: 0 0 0 3px rgba(47, 118, 183, 0.18);
  outline: none;
}

.addition-form-note.form-guidance {
  margin: 0 0 1rem;
  border-left-color: #2f76b7;
  background: #eef5fa;
  color: var(--addition-text);
  line-height: 1.6;
}

.addition-form-submit {
  width: 100%;
}

.addition-form-status {
  min-height: 1.5rem;
  margin: 0.75rem 0 0;
  color: var(--addition-text);
  font-weight: 700;
}

.addition-form-status:not(:empty) {
  padding: 0.75rem 0.85rem;
  border-left: 3px solid #2f76b7;
  border-radius: 0 8px 8px 0;
  background: #eef5fa;
}

.addition-privacy {
  margin: 0.75rem 0 0;
  color: var(--addition-muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

.addition-privacy a {
  color: var(--addition-primary);
  font-weight: 700;
}

.additions-page footer.site-footer {
  margin-top: 0;
}

/* Tablet */

@media (min-width: 48rem) {
  .addition-actions,
  .addition-cta-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }

  .addition-actions .btn {
    width: auto;
  }

  .addition-trust,
  .addition-service-grid,
  .addition-benefit-grid,
  .addition-process-grid,
  .addition-form-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .addition-trust {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .addition-cta-panel {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

/* Desktop */

@media (min-width: 64rem) {
  .addition-hero {
    margin-top: 90px;
  }

  .addition-hero-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  }

  .addition-intro-grid,
  .addition-information-grid,
  .addition-locations-grid,
  .addition-faq-grid,
  .addition-contact-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .addition-service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .addition-benefit-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .addition-service-card {
    min-height: 25rem;
  }

  .addition-process-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .addition-faq-heading {
    position: sticky;
    top: 7rem;
  }
}

/* Small phones */

@media (max-width: 30rem) {
  .additions-page main h2 {
    font-size: clamp(1.85rem, 9.5vw, 2.4rem);
  }

  .addition-hero h1 {
    font-size: clamp(2.25rem, 11.5vw, 3rem);
  }

  .addition-service-card,
  .addition-form {
    padding: 1.25rem;
  }

  .addition-related-links {
    display: grid;
  }
}

/* =========================================================
   SECONDARY SUITE LOCATION PAGES
========================================================= */

.suite-page {
  --suite-primary: var(--brand-primary);
  --suite-text: var(--color-text-dark);
  --suite-muted: var(--color-text-muted);
  --suite-bg: var(--color-page-light);
  --suite-surface: var(--color-surface-white);
  --suite-border: var(--color-border);
  --suite-accent: var(--color-accent);
  overflow-x: clip;
  background: var(--suite-surface);
  color: var(--suite-text);
  font-family: var(--font-body);
}

.suite-page main {
  overflow: clip;
}

.suite-page .wrap {
  width: min(var(--content-max), calc(100% - clamp(2.25rem, 5vw, 3rem)));
  margin-inline: auto;
}

.suite-page main :where(h1, h2, h3) {
  font-family: var(--font-heading);
  text-wrap: balance;
}

.suite-page main :where(section[id], h2[id]) {
  scroll-margin-top: 7rem;
}

.suite-page main :where(a, p, li, label, input, select, textarea) {
  overflow-wrap: anywhere;
}

.suite-page main h2 {
  max-width: 22ch;
  margin: 0;
  color: var(--suite-text);
  font-size: clamp(1.9rem, 6.2vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.042em;
}

.suite-eyebrow {
  margin: 0 0 0.6rem;
  color: var(--suite-accent);
  font-size: 0.74rem;
  font-weight: 850;
  line-height: 1.45;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.suite-section {
  padding: clamp(3.25rem, 7vw, 5.5rem) 0;
}

.suite-section-header {
  max-width: 48rem;
}

.suite-section-header > p:not(.suite-eyebrow) {
  max-width: 67ch;
  margin: 1rem 0 0;
  color: var(--suite-muted);
  line-height: 1.7;
}

.suite-page main .btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.82rem 1.1rem;
  border-radius: var(--button-radius);
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  transition:
    background-color var(--transition-standard),
    border-color var(--transition-standard),
    color var(--transition-standard);
}

.suite-page main .btn:hover {
  transform: none;
}

.suite-primary,
.suite-form-submit {
  border: 1px solid var(--suite-primary);
  background: var(--suite-primary);
  color: #ffffff;
}

.suite-primary:hover,
.suite-form-submit:hover {
  border-color: #254457;
  background: #254457;
  color: #ffffff;
}

.suite-secondary {
  border: 1px solid #aebbc3;
  background: var(--suite-surface);
  color: var(--suite-primary);
}

.suite-secondary:hover {
  border-color: var(--suite-primary);
  background: #edf2f4;
  color: var(--suite-primary);
}

.suite-page main :where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid #2f76b7;
  outline-offset: 3px;
}

/* Hero */

.suite-hero {
  margin-top: 72px;
  padding: clamp(2.25rem, 7vw, 5.5rem) 0;
  border-bottom: 1px solid var(--suite-border);
  background: var(--suite-bg);
}

.suite-hero-grid {
  display: grid;
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: center;
}

.suite-hero-copy,
.suite-hero-media {
  min-width: 0;
}

.suite-breadcrumb {
  margin-bottom: 1.35rem;
}

.suite-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #64717a;
  font-size: 0.76rem;
  font-weight: 700;
}

.suite-breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 0.55rem;
  color: #99a4aa;
}

.suite-breadcrumb a {
  color: var(--suite-primary);
  text-underline-offset: 0.2em;
}

.suite-hero h1 {
  max-width: 17ch;
  margin: 0;
  color: var(--suite-text);
  font-size: clamp(2.15rem, 8.7vw, 4.15rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.suite-hero-lead {
  max-width: 65ch;
  margin: 1.15rem 0 0;
  color: var(--suite-muted);
  font-size: clamp(1rem, 1.7vw, 1.1rem);
  line-height: 1.7;
}

.suite-actions {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.suite-actions .btn {
  width: 100%;
}

.suite-trust {
  display: grid;
  gap: 0.55rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.suite-trust li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--suite-muted);
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1.5;
}

.suite-trust li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--suite-accent);
  font-weight: 900;
}

.suite-hero-media {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--suite-border);
  border-radius: var(--card-radius);
  background: var(--suite-surface);
  box-shadow: var(--shadow-small);
}

.suite-hero-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

/* Problem and services */

.suite-intro,
.suite-prep,
.suite-faq,
.suite-contact {
  background: var(--suite-surface);
}

.suite-intro-grid,
.suite-fit-grid,
.suite-prep-grid,
.suite-local-grid,
.suite-faq-grid,
.suite-contact-grid {
  display: grid;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.suite-intro-copy p,
.suite-fit-copy p,
.suite-prep-copy > p:not(.suite-eyebrow),
.suite-local-copy > p:not(.suite-eyebrow),
.suite-faq-heading > p:not(.suite-eyebrow),
.suite-contact-copy > p:not(.suite-eyebrow) {
  max-width: 67ch;
  margin: 1rem 0 0;
  color: var(--suite-muted);
  line-height: 1.72;
}

.suite-services {
  background: var(--suite-bg);
}

.suite-service-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  margin-top: clamp(2rem, 4vw, 2.75rem);
}

.suite-service-card {
  min-width: 0;
  padding: 1.35rem;
  border: 1px solid var(--suite-border);
  border-radius: var(--card-radius);
  background: var(--suite-surface);
  box-shadow: var(--shadow-small);
}

.suite-service-card h3 {
  margin: 0;
  color: var(--suite-text);
  font-size: 1.2rem;
  line-height: 1.3;
}

.suite-service-card ul,
.suite-checklist,
.suite-prep-list {
  display: grid;
  gap: 0.65rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.suite-service-card li,
.suite-checklist li,
.suite-prep-list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--suite-muted);
  line-height: 1.55;
}

.suite-service-card li::before,
.suite-checklist li::before,
.suite-prep-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--suite-accent);
  font-weight: 900;
}

/* Fit and process */

.suite-fit {
  background: var(--suite-surface);
}

.suite-checklist {
  grid-template-columns: minmax(0, 1fr);
  margin-top: 0;
}

.suite-checklist li {
  padding: 0.85rem 0.9rem 0.85rem 2.4rem;
  border: 1px solid var(--suite-border);
  border-radius: 12px;
  background: #fafbfb;
  color: var(--suite-text);
}

.suite-checklist li::before {
  top: 0.85rem;
  left: 0.9rem;
}

.suite-fit-note {
  margin: 1.1rem 0 0;
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--suite-accent);
  border-radius: 0 12px 12px 0;
  background: var(--suite-bg);
  color: var(--suite-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.suite-process {
  background: var(--suite-primary);
  color: #ffffff;
}

.suite-process .suite-eyebrow {
  color: #f2cc72;
}

.suite-process h2 {
  color: #ffffff;
}

.suite-process-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  margin: clamp(2rem, 4vw, 2.75rem) 0 0;
  padding: 0;
  list-style: none;
}

.suite-process-grid li {
  min-width: 0;
  padding: 1.25rem;
  border: 1px solid #456071;
  border-radius: var(--card-radius);
  background: #213845;
}

.suite-process-grid span {
  color: #f2cc72;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.suite-process-grid h3 {
  margin: 0.85rem 0 0.55rem;
  color: #ffffff;
  font-size: 1.12rem;
}

.suite-process-grid p {
  margin: 0;
  color: #d4dee4;
  font-size: 0.94rem;
  line-height: 1.62;
}

/* Preparation and local service */

.suite-prep-list {
  margin-top: 0;
  padding: 1.35rem;
  border: 1px solid var(--suite-border);
  border-radius: var(--card-radius);
  background: var(--suite-bg);
}

.suite-prep-copy .btn {
  width: 100%;
  margin-top: 1.25rem;
}

.suite-local {
  background: var(--suite-bg);
}

.suite-local-panel {
  padding: 1.35rem;
  border: 1px solid var(--suite-border);
  border-radius: var(--card-radius);
  background: var(--suite-surface);
}

.suite-local-panel h3 {
  margin: 0;
  color: var(--suite-text);
  font-size: 1.15rem;
}

.suite-local-panel p {
  margin: 0.7rem 0 0;
  color: var(--suite-muted);
  line-height: 1.65;
}

.suite-related-links {
  display: grid;
  gap: 0.35rem;
  margin: 1rem 0 0;
  padding: 1rem 0 0;
  border-top: 1px solid var(--suite-border);
}

.suite-related-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--suite-primary);
  font-size: 0.88rem;
  font-weight: 800;
  text-underline-offset: 0.2em;
}

/* FAQ */

.suite-faq-item {
  margin-bottom: 0.75rem;
  overflow: hidden;
  border: 1px solid var(--suite-border);
  border-radius: 14px;
  background: var(--suite-surface);
  box-shadow: var(--shadow-small);
}

.suite-faq-item h3 {
  margin: 0;
}

.suite-faq-item button {
  width: 100%;
  min-height: 52px;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.1rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--suite-text);
  font: inherit;
  font-weight: 800;
  line-height: 1.45;
  text-align: left;
}

.suite-faq-icon {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--suite-primary);
  color: #ffffff;
  font-size: 1.1rem;
  line-height: 1;
}

.suite-faq-answer p {
  margin: 0;
  padding: 0 1.1rem 1.1rem;
  color: var(--suite-muted);
  line-height: 1.7;
}

/* Conversion and form */

.suite-cta {
  background: var(--suite-surface);
}

.suite-cta-panel {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--card-radius);
  background: var(--suite-primary);
  color: #ffffff;
  box-shadow: var(--shadow-medium);
}

.suite-cta .suite-eyebrow {
  color: #f2cc72;
}

.suite-cta h2 {
  color: rgb(242, 204, 114); 
}

.suite-cta-panel p:not(.suite-eyebrow) {
  max-width: 65ch;
  margin: 1rem 0 0;
  color: #d4dee4;
  line-height: 1.7;
}

.suite-cta-actions {
  display: grid;
  gap: 0.75rem;
}

.suite-cta .suite-primary {
  border-color: #ffffff;
  background: #ffffff;
  color: var(--suite-primary);
}

.suite-cta .suite-primary:hover {
  border-color: #dce3e7;
  background: #eef2f4;
  color: var(--suite-primary);
}

.suite-cta .suite-secondary {
  border-color: #aebbc3;
  background: transparent;
  color: #ffffff;
}

.suite-cta .suite-secondary:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.suite-contact-links {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.suite-contact-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--suite-primary);
  font-weight: 800;
  text-underline-offset: 0.2em;
}

.suite-cta .suite-contact-links a {
  color: #ffffff;
}

.suite-contact {
  border-top: 1px solid var(--suite-border);
  background: #eef2f4;
}

.suite-form {
  min-width: 0;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--suite-border);
  border-radius: var(--card-radius);
  background: var(--suite-surface);
  box-shadow: var(--shadow-medium);
}

.suite-form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0 0.9rem;
}

.suite-form-row > div {
  min-width: 0;
}

.suite-form label {
  margin: 0 0 0.4rem;
  color: var(--suite-text);
  font-size: 0.9rem;
  font-weight: 800;
}

.suite-form :where(input:not([type="hidden"]), select, textarea) {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  margin: 0 0 1rem;
  padding: 0.82rem 0.9rem;
  border: 1px solid #b8c3ca;
  border-radius: 10px;
  background: #ffffff;
  color: var(--suite-text);
  font: inherit;
  font-size: 1rem;
}

.suite-form textarea {
  min-height: 150px;
  resize: vertical;
}

.suite-form :where(input, select, textarea):focus {
  border-color: #2f76b7;
  box-shadow: 0 0 0 3px rgba(47, 118, 183, 0.18);
  outline: none;
}

.suite-form-note.form-guidance {
  margin: 0 0 1rem;
  border-left-color: #2f76b7;
  background: #eef5fa;
  color: var(--suite-text);
  line-height: 1.6;
}

.suite-form-submit {
  width: 100%;
}

.suite-form-status {
  min-height: 1.5rem;
  margin: 0.75rem 0 0;
  color: var(--suite-text);
  font-weight: 700;
}

.suite-form-status:not(:empty) {
  padding: 0.75rem 0.85rem;
  border-left: 3px solid #2f76b7;
  border-radius: 0 8px 8px 0;
  background: #eef5fa;
}

.suite-privacy {
  margin: 0.75rem 0 0;
  color: var(--suite-muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

.suite-privacy a {
  color: var(--suite-primary);
  font-weight: 700;
}

.suite-page footer.site-footer {
  margin-top: 0;
}

@media (min-width: 48rem) {
  .suite-actions,
  .suite-cta-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }

  .suite-actions .btn,
  .suite-prep-copy .btn {
    width: auto;
  }

  .suite-trust {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .suite-service-grid,
  .suite-checklist,
  .suite-process-grid,
  .suite-form-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .suite-cta-panel {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

@media (min-width: 64rem) {
  .suite-hero {
    margin-top: 90px;
  }

  .suite-hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  }

  .suite-intro-grid,
  .suite-fit-grid,
  .suite-prep-grid,
  .suite-local-grid,
  .suite-faq-grid,
  .suite-contact-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .suite-service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .suite-process-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .suite-faq-heading {
    position: sticky;
    top: 7rem;
  }
}

@media (max-width: 30rem) {
  .suite-page main h2 {
    font-size: clamp(1.8rem, 9vw, 2.3rem);
  }

  .suite-hero h1 {
    font-size: clamp(2.05rem, 10.5vw, 2.75rem);
  }

  .suite-service-card,
  .suite-form {
    padding: 1.25rem;
  }
}

/* ===== Contact Page: Mobile Form ===== */

@media (max-width: 47.5rem) {
  #contact {
    padding-top: 3.5rem;
  }

  #contact > .muted {
    margin-bottom: 0.4rem;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  #contact > .section-title {
    max-width: 18ch;
    margin-bottom: 1.35rem;
    font-size: clamp(1.85rem, 8.5vw, 2.5rem);
    line-height: 1.1;
  }

  #contact .contact-grid {
    gap: 1rem;
  }

  #contact .contact-grid form,
  #contact .contact-grid aside {
    min-width: 0;
    padding: 1rem;
    border-radius: 18px;
  }

  #contact .contact-grid form {
    position: relative;
    overflow: hidden;
    border-color: rgba(23, 42, 55, 0.14);
    box-shadow: 0 14px 34px rgba(18, 35, 45, 0.09);
  }

  #contact .contact-grid form::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, #4da3ff, #ffbf00);
  }

  #contact .contact-grid form label {
    margin-bottom: 0.35rem;
    font-size: 0.92rem;
    line-height: 1.35;
  }

  #contact .contact-grid form :where(input, select, textarea) {
    min-height: 52px;
    margin-bottom: 0.9rem;
    padding: 0.85rem 0.9rem;
    border-color: rgba(23, 42, 55, 0.18);
    border-radius: 12px;
    background-color: #fbfcfd;
    box-shadow: inset 0 1px 2px rgba(18, 35, 45, 0.04);
    font-size: 16px;
    line-height: 1.45;
  }

  #contact .contact-grid form select {
    background-position:
      calc(100% - 19px) calc(50% - 3px),
      calc(100% - 13px) calc(50% - 3px);
  }

  #contact .contact-grid form textarea {
    min-height: 160px;
    resize: vertical;
  }

  #contact .contact-grid form :where(input, select, textarea):focus {
    border-color: #4d84b8;
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(77, 163, 255, 0.14);
  }

  #contact .form-actions {
    display: grid;
    gap: 0.75rem;
    margin-top: 0.35rem;
  }

  #contact .form-actions .btn {
    width: 100%;
    min-height: 54px;
    padding-inline: 1rem;
    font-size: 1rem;
  }

  #contact .form-actions .message {
    text-align: center;
  }

  #contact #formStatus:not(:empty) {
    margin: 1rem 0 0;
    padding: 0.8rem 0.9rem;
    border-radius: 10px;
    background: #f1f6fa;
    color: #172a37;
    font-weight: 700;
  }

  #contact .privacy-note {
    margin: 0.9rem 0 0;
    padding-top: 0.9rem;
    border-top: 1px solid var(--line);
    font-size: 0.82rem;
    line-height: 1.55;
  }

  #contact .message,
  #contact .contact-grid aside :where(a, p, li) {
    overflow-wrap: anywhere;
  }

  #contact .contact-grid aside {
    box-shadow: 0 10px 26px rgba(18, 35, 45, 0.07);
  }

  #contact .contact-grid aside h3 {
    margin: 1.1rem 0 0.45rem;
    font-size: 1.08rem;
  }

  #contact .contact-grid aside p,
  #contact .contact-grid aside li {
    font-size: 0.94rem;
    line-height: 1.6;
  }

  #contact .map-wrap {
    margin-bottom: 0.85rem;
    border-radius: 12px;
  }

  #contact .map-wrap iframe {
    display: block;
    height: 210px;
  }
}

@media (max-width: 23.75rem) {
  #contact .contact-grid form,
  #contact .contact-grid aside {
    padding: 0.85rem;
    border-radius: 16px;
  }

  #contact .contact-grid form :where(input, select, textarea) {
    padding-inline: 0.8rem;
  }
}

/* ===== Contact Page: Homepage Visual System ===== */

.contact-page #contact {
  --contact-ink: #172a37;
  --contact-copper: #a96632;
  --contact-cream: #f2eee7;
  --contact-paper: #fbfaf7;
  --contact-line: #d9d3ca;
  --contact-muted: #5f696f;
  color: var(--contact-ink);
}

.contact-page #contact > .muted {
  margin: 0 0 18px;
  color: var(--contact-copper);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.contact-page #contact > .section-title {
  max-width: 760px;
  margin: 0 0 44px;
  color: var(--contact-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 4vw, 4.4rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.contact-page #contact .contact-grid {
  grid-template-columns: minmax(0, 1.18fr) minmax(310px, 0.82fr);
  align-items: start;
  gap: clamp(24px, 4vw, 52px);
}

.contact-page #contact .contact-grid form,
.contact-page #contact .contact-grid aside {
  min-width: 0;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--contact-line);
  border-radius: 0;
}

.contact-page #contact .contact-grid form {
  position: relative;
  overflow: hidden;
  border-top: 4px solid var(--contact-copper);
  background: #ffffff;
  box-shadow: 0 26px 65px rgba(13, 28, 37, 0.16);
}

.contact-page #contact .contact-grid form::before {
  display: none;
}

.contact-page #contact .contact-grid form label {
  margin-bottom: 0.45rem;
  color: var(--contact-ink);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.contact-page #contact .contact-grid form :where(input, select, textarea) {
  min-height: 52px;
  margin-bottom: 1rem;
  padding: 0.88rem 0.95rem;
  border: 1px solid #c8c0b5;
  border-radius: 4px;
  background-color: var(--contact-paper);
  box-shadow: none;
  color: var(--contact-ink);
  font-size: 1rem;
  line-height: 1.45;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.contact-page #contact .contact-grid form :where(input, textarea)::placeholder {
  color: #747d82;
  opacity: 1;
}

.contact-page #contact .contact-grid form select {
  background-image:
    linear-gradient(45deg, transparent 50%, var(--contact-ink) 50%),
    linear-gradient(135deg, var(--contact-ink) 50%, transparent 50%);
}

.contact-page #contact .contact-grid form textarea {
  min-height: 170px;
  resize: vertical;
}

.contact-page #contact .contact-grid form :where(input, select, textarea):focus {
  border-color: var(--contact-copper);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(169, 102, 50, 0.14);
  outline: none;
}

.contact-page #contact .form-actions {
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.35rem;
}

.contact-page #contact .form-actions .btn {
  min-height: 52px;
  padding: 14px 22px;
  border-color: var(--contact-ink);
  border-radius: 4px;
  background: var(--contact-ink);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 800;
}

.contact-page #contact .form-actions .btn:hover {
  border-color: var(--contact-copper);
  background: var(--contact-copper);
  color: #ffffff;
  transform: translateY(-2px);
}

.contact-page #contact .message {
  color: var(--contact-muted);
}

.contact-page #contact .message a,
.contact-page #contact .contact-grid aside a {
  color: var(--contact-ink);
  text-decoration-color: var(--contact-copper);
  text-underline-offset: 0.2em;
}

.contact-page #contact #formStatus:not(:empty) {
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--contact-copper);
  border-radius: 0;
  background: var(--contact-cream);
  color: var(--contact-ink);
  font-weight: 700;
}

.contact-page #contact .privacy-note {
  margin: 1rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--contact-line);
  font-size: 0.82rem;
  line-height: 1.6;
}

.contact-page #contact .contact-grid aside {
  background: var(--contact-cream);
  box-shadow: none;
}

.contact-page #contact .contact-grid aside h3 {
  margin: 1.25rem 0 0.5rem;
  color: var(--contact-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.contact-page #contact .contact-grid aside h3:first-of-type {
  margin-top: 1rem;
}

.contact-page #contact .contact-grid aside :where(p, li) {
  color: var(--contact-muted);
  line-height: 1.65;
}

.contact-page #contact .map-wrap {
  margin-bottom: 1rem;
  border-color: var(--contact-line);
  border-radius: 0;
}

.contact-page #contact .map-wrap iframe {
  display: block;
}

@media (max-width: 61.25rem) {
  .contact-page #contact .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 47.5rem) {
  .contact-page #contact {
    padding-top: 3.5rem;
  }

  .contact-page #contact > .section-title {
    max-width: 18ch;
    margin-bottom: 1.75rem;
    font-size: clamp(2.15rem, 10vw, 3.2rem);
  }

  .contact-page #contact .contact-grid form,
  .contact-page #contact .contact-grid aside {
    padding: 1.2rem;
    border-radius: 0;
  }

  .contact-page #contact .form-actions {
    display: grid;
    gap: 0.75rem;
  }

  .contact-page #contact .form-actions .btn {
    width: 100%;
  }

  .contact-page #contact .form-actions .message {
    text-align: center;
  }
}

@media (max-width: 23.75rem) {
  .contact-page #contact .contact-grid form,
  .contact-page #contact .contact-grid aside {
    padding: 1rem;
  }
}

/* ===== Motion Preferences ===== */

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

  .hero-municipalities-track,
  .services-track {
    animation: none;
  }
}

/* Team page trust and support sections */
.team-page .team-trust-section,
.team-page .team-support-section,
.team-page .team-network-section {
  padding: clamp(3.75rem, 6vw, 5.5rem) 0;
  background: #ffffff;
}

.team-page .team-trust-section,
.team-page .team-network-section {
  background: #fafafa;
}

.team-page .team-trust-section .wrap,
.team-page .team-support-section .wrap,
.team-page .team-network-section .wrap {
  display: block;
}

.team-page .team-trust-section .section-title,
.team-page .team-support-section .section-title,
.team-page .team-network-section .section-title {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.team-page .team-trust-grid,
.team-page .team-support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.team-page .team-support-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.team-page .team-trust-grid article,
.team-page .team-support-grid article {
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.055);
}

.team-page .team-trust-grid h3,
.team-page .team-support-grid h3 {
  margin: 0 0 0.65rem;
  font-size: 1.08rem;
  line-height: 1.25;
}

.team-page .team-trust-grid p,
.team-page .team-support-grid p {
  margin: 0;
  color: #444444;
  font-size: 0.96rem;
  line-height: 1.65;
}

.team-page .team-network-section .section-intro {
  max-width: 760px;
  margin-top: 1rem;
}

.team-page .team-final-cta {
  margin-top: 0;
}

.team-page .team-final-cta .wrap {
  max-width: 980px;
}

@media (max-width: 900px) {
  .team-page .team-trust-grid,
  .team-page .team-support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .team-page .team-trust-section,
  .team-page .team-support-section,
  .team-page .team-network-section {
    padding: 3rem 0;
  }

  .team-page .team-trust-grid,
  .team-page .team-support-grid {
    grid-template-columns: 1fr;
  }
}
