/*
 * Welsh Global Energy — immersive product-led theme
 *
 * This layer intentionally sits after application.css. The base stylesheet owns
 * document structure and behavior; this file owns the current visual direction.
 */

:root {
  --header-height: 56px;
  --container-wide: 1320px;
  --container-shell: 1320px;
  --container-medium: 1120px;
  --container-narrow: 780px;
  --page-gutter: clamp(20px, 4.5vw, 48px);
  --section-space: clamp(88px, 9vw, 128px);
  --section-space-tight: clamp(64px, 6vw, 88px);
  --radius: 12px;
  --radius-pill: 4px;
  --shadow-card: none;
  --theme-ink: #171a20;
  --theme-muted: #5c5e62;
  --theme-soft: #f4f5f6;
  --theme-line: rgba(28, 49, 68, 0.14);
  --hero-min-height: auto;
  --hero-padding-block: clamp(40px, 4.5vw, 56px) clamp(36px, 4vw, 48px);
  --hero-compact-min-height: auto;
  --hero-blog-min-height: auto;
  --page-hero-eyebrow-gap: 0.5rem;
  --page-hero-column-gap: clamp(28px, 5vw, 64px);
  --page-hero-stack-gap: clamp(18px, 3vw, 28px);
  --font-size-label: 0.9375rem;
}

html {
  scroll-padding-top: calc(var(--header-height) + 16px);
}

body {
  padding-top: var(--header-height);
  background: var(--color-surface);
  color: var(--theme-ink);
  font-size: 17px;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--theme-ink);
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

a {
  color: var(--color-navy-mid);
}

a:hover {
  color: var(--color-red);
}

.container,
.container--medium,
.container--wide,
.container--narrow {
  padding-inline: var(--page-gutter);
}

.site-main {
  min-height: 50vh;
}

.section {
  padding-block: var(--section-space);
}

.section--compact {
  padding-block: clamp(80px, 8vw, 120px);
}

.section-heading,
.section__title {
  color: var(--theme-ink);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.section__title {
  margin-bottom: clamp(48px, 6vw, 88px);
}

/* Header — light bar + blue logo by default */
.site-header {
  height: var(--header-height);
  border-bottom: 1px solid rgba(28, 49, 68, 0.1);
  background: #f7f8f9;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.home-page .site-header {
  border-bottom-color: rgba(28, 49, 68, 0.1);
  background: #f7f8f9;
}

.site-header__inner {
  height: var(--header-height);
  max-width: var(--container-shell);
}

.site-header__brand {
  flex: 0 0 auto;
  padding: 10px 0;
}

.site-header__brand img {
  width: clamp(190px, 17vw, 244px);
  max-width: none;
  max-height: 20px;
  /* White logo asset → brand navy/blue */
  filter: brightness(0) saturate(100%) invert(18%) sepia(28%) saturate(1100%) hue-rotate(173deg) brightness(92%) contrast(92%);
  transition: filter 180ms ease;
}

.desktop-navigation {
  position: relative;
  gap: 2px;
}

.desktop-navigation__indicator {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  border-radius: 4px;
  background: rgba(28, 49, 68, 0.08);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    width 320ms cubic-bezier(0.22, 1, 0.36, 1),
    height 320ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 180ms ease;
  will-change: transform, width, height;
}

.desktop-navigation__indicator.is-visible {
  opacity: 1;
}

.desktop-navigation a {
  position: relative;
  z-index: 1;
  min-height: 38px;
  padding: 9px 15px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--color-navy);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color 160ms ease;
}

.desktop-navigation a:hover,
.desktop-navigation a.is-active,
.desktop-navigation a[aria-expanded="true"] {
  background: transparent;
  color: var(--color-navy);
}

.desktop-navigation .desktop-navigation__contact {
  margin-left: 0;
  padding-inline: 15px;
  border: 0;
  background: transparent;
  color: var(--color-navy);
}

.desktop-navigation .desktop-navigation__contact:hover,
.desktop-navigation .desktop-navigation__contact.is-active {
  background: transparent;
  color: var(--color-navy);
}

.navigation-toggle {
  width: 42px;
  height: 42px;
  padding: 7px 9px;
  border-radius: 4px;
  background: rgba(28, 49, 68, 0.06);
}

.navigation-toggle span {
  width: 24px;
  height: 1.5px;
  margin: 5px 0;
  background: var(--color-navy);
}

.mobile-navigation {
  top: var(--header-height);
  right: 0;
  bottom: 0;
  left: auto;
  width: min(420px, 100%);
  padding: 22px;
  border-top: 1px solid var(--theme-line);
  background: white;
  box-shadow: none;
}

.mobile-navigation a {
  margin-bottom: 2px;
  padding: 14px 16px;
  border-radius: 4px;
  color: var(--theme-ink);
  font-size: 1rem;
  font-weight: 500;
}

.mobile-navigation a:hover,
.mobile-navigation a.is-active {
  background: var(--theme-soft);
  color: var(--color-navy);
}

.mobile-navigation .mobile-navigation__header a {
  color: #fff;
}

.mobile-navigation .mobile-navigation__header a:hover {
  background: #29465f;
  color: #fff;
}

.brand-tagline {
  height: 44px;
  border-bottom: 1px solid var(--theme-line);
  background: white;
}

.brand-tagline .container {
  justify-content: center;
}

.brand-tagline img {
  width: 188px;
  opacity: 1;
  animation: none;
}

/* Buttons */
.button {
  min-width: 220px;
  min-height: 48px;
  padding: 12px 26px;
  border: 1px solid var(--color-navy);
  border-radius: 4px;
  background: var(--color-navy);
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button:hover {
  border-color: #29465f;
  background: #29465f;
  color: white;
  transform: none;
}

.button--navy {
  border-color: var(--color-navy);
  background: var(--color-navy);
}

.button--navy:hover {
  border-color: #29465f;
  background: #29465f;
}

.button--light {
  border-color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.94);
  color: var(--color-navy);
}

.button--light:hover {
  border-color: white;
  background: white;
  color: var(--color-navy);
}

.button--outline {
  background: transparent;
  color: var(--color-navy);
}

.button--outline:hover {
  background: var(--color-navy);
  color: white;
}

.button-row {
  gap: 12px;
  margin-top: 40px;
}

/* Page mastheads — shared interior-page header system
   Hierarchy: eyebrow → title → supporting dek (optional second column)
*/
.page-hero {
  position: relative;
  display: block;
  min-height: var(--hero-min-height);
  padding-block: var(--hero-padding-block);
  overflow: hidden;
  border-bottom: 0;
  background: #0b1117;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.55fr);
  gap: var(--page-hero-column-gap);
  align-items: end;
}

.page-hero__title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--page-hero-eyebrow-gap);
  min-width: 0;
}

.page-hero__title .eyebrow,
.page-hero__title .eyebrow--light {
  margin: 0;
  color: var(--color-red);
  font-size: var(--font-size-label);
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-transform: uppercase;
}

.page-hero__title h1,
.page-hero__title h2 {
  max-width: 950px;
  margin: 0;
  color: #fff;
  font-size: clamp(3rem, 5.8vw, 5.75rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.98;
  text-align: left;
  text-wrap: balance;
}

.page-hero__title h1::after,
.page-hero h1::after {
  display: none;
  content: none;
}

.page-hero__dek {
  max-width: 420px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1rem, 1.35vw, 1.125rem);
  line-height: 1.65;
  text-align: left;
}

.page-hero--compact .page-hero__inner {
  grid-template-columns: minmax(0, 1fr);
}

.page-hero--compact .page-hero__title h1 {
  font-size: clamp(2.75rem, 5.2vw, 5rem);
}

.page-hero--article {
  min-height: 0;
}

.page-hero--article h1 {
  font-size: clamp(2.45rem, 5.2vw, 4.8rem);
}

.page-hero--article time {
  margin-top: 28px;
  color: var(--theme-muted);
  font-size: 0.875rem;
}

@media (max-width: 1050px) {
  .page-hero__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--page-hero-stack-gap);
    align-items: start;
  }

  .page-hero__dek {
    max-width: 720px;
  }

  .page-hero__title h1,
  .page-hero__title h2 {
    font-size: clamp(2.5rem, 8vw, 3.75rem);
  }
}

@media (max-width: 767px) {
  .page-hero {
    padding-block: clamp(32px, 6vw, 40px) clamp(28px, 5vw, 36px);
  }

  .page-hero__title h1,
  .page-hero__title h2 {
    font-size: clamp(2.25rem, 10vw, 3.1rem);
  }

  .page-hero__dek {
    font-size: 1rem;
  }
}

/* Forms */
.form-grid {
  gap: 22px 16px;
}

.field {
  gap: 8px;
}

.field label,
.newsletter label {
  color: var(--theme-ink);
  font-size: 0.78rem;
  font-weight: 600;
}

input,
select,
textarea {
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: var(--theme-soft);
  color: var(--theme-ink);
}

textarea {
  min-height: 150px;
}

input:hover,
select:hover,
textarea:hover {
  border-color: rgba(28, 49, 68, 0.2);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--color-navy-mid);
  background: white;
  outline: 2px solid rgba(93, 134, 175, 0.2);
}

.form-notice {
  padding: 14px 16px;
  border-left: 3px solid var(--color-red);
  border-radius: 0 4px 4px 0;
  background: #fff2f3;
}

/* Newsletter */
.newsletter {
  margin-top: 0;
  padding-block: clamp(72px, 8vw, 112px);
  background: var(--color-pale-blue);
}

.newsletter__form {
  grid-template-columns: minmax(220px, 0.8fr) minmax(360px, 1.2fr);
  gap: 20px clamp(36px, 6vw, 88px);
  padding: clamp(32px, 5vw, 64px);
  border-radius: var(--radius);
  background: white;
}

.newsletter h2 {
  align-self: center;
  color: var(--color-navy);
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
}

.newsletter__fields {
  gap: 9px;
}

.newsletter__controls {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.newsletter__controls input,
.newsletter__controls button {
  min-height: 52px;
}

.newsletter__controls button {
  min-width: 160px;
}

.newsletter__privacy {
  color: var(--theme-muted);
}

/* Footer */
.site-footer {
  padding: 64px 0 28px;
  background: var(--color-navy);
}

.site-footer > .container {
  max-width: var(--container-shell);
}

.site-footer__grid {
  grid-template-columns: 1fr 1fr 1.25fr;
  gap: clamp(28px, 6vw, 88px);
}

.site-footer__links {
  gap: 10px;
}

.site-footer__links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  font-weight: 500;
}

.site-footer__links a:hover {
  color: white;
  text-decoration: none;
}

.site-footer__social {
  justify-self: end;
}

.site-footer__social h2 {
  color: rgba(255, 255, 255, 0.64);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.social-buttons {
  gap: 16px;
}

.social-buttons button {
  width: 30px;
  height: 30px;
  color: rgba(255, 255, 255, 0.86);
}

.site-footer__logo {
  width: 260px;
  margin-top: 48px;
}

.site-footer__copyright {
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.72rem;
}

.social-dialog {
  padding: 40px;
  border-radius: 8px;
}

.social-dialog h2 {
  font-size: 2.25rem;
}

/* Home — cinematic hero followed by modular product and story panels. */
.home-hero {
  min-height: 560px;
  height: 72vh;
  max-height: 760px;
  background: var(--color-navy);
}

.home-hero__video,
.home-hero__overlay {
  height: 100%;
}

.home-hero__video {
  object-position: center center;
}

.home-hero__overlay {
  background: rgba(7, 14, 22, 0.36);
}

.home-hero__inner {
  min-height: 560px;
  height: 72vh;
  max-height: 760px;
}

.home-hero__mark {
  top: 10%;
  width: min(520px, 62vw);
  opacity: 0.55;
  filter: brightness(0) invert(1);
  transform: translateX(-50%);
  animation: hero-mark-breathe 7.5s ease-in-out infinite;
}

.home-hero__tagline {
  position: absolute;
  z-index: 1;
  top: 44%;
  left: 50%;
  width: min(900px, calc(100% - 48px));
  margin: 0;
  overflow: visible;
  text-align: center;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.home-hero__tagline-text {
  display: inline-block;
  max-width: 100%;
  color: var(--color-red);
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: clamp(2.4rem, 5.6vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.02;
  text-wrap: balance;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.22);
  text-shadow:
    0 0 1px rgba(255, 255, 255, 0.35),
    0 2px 0 rgba(28, 49, 68, 0.25),
    0 18px 40px rgba(0, 0, 0, 0.35);
  will-change: transform, opacity;
  animation: hero-tagline-drift 7.5s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

@keyframes hero-tagline-drift {
  0% {
    opacity: 0;
    transform: translateX(32%);
  }

  14% {
    opacity: 1;
    transform: translateX(0);
  }

  58% {
    opacity: 1;
    transform: translateX(0);
  }

  78% {
    opacity: 0;
    transform: translateX(-28%);
  }

  100% {
    opacity: 0;
    transform: translateX(-28%);
  }
}

@keyframes hero-mark-breathe {
  0%,
  100% { opacity: 0.42; }
  20%,
  55% { opacity: 0.62; }
  80% { opacity: 0.38; }
}

.home-hero__actions {
  top: auto;
  bottom: 38px;
  width: min(472px, calc(100% - 32px));
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.home-hero__actions .button {
  min-width: 0;
  min-height: 46px;
  border-radius: 4px;
  font-size: 0.85rem;
}

.home-hero__primary {
  border-color: var(--color-red) !important;
  background: rgba(174, 3, 23, 0.94) !important;
  color: white !important;
}

.home-hero__primary:hover {
  border-color: #c50820 !important;
  background: #c50820 !important;
}

.home-hero__actions .button--light {
  border-color: rgba(255, 255, 255, 0.94);
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-navy);
}

.home-hero__actions .button--light:hover {
  background: white;
  color: var(--color-navy);
}

.home-equipment {
  min-height: auto;
  padding-block: clamp(88px, 9vw, 128px);
  background: white;
}

.home-equipment .container {
  max-width: 1320px;
}

.home-statement {
  max-width: 940px;
  margin: 0 auto clamp(48px, 6vw, 76px);
  color: var(--theme-ink);
  font-size: clamp(2.3rem, 4.4vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.02;
  text-wrap: balance;
}

.home-equipment__grid {
  gap: 12px;
}

.home-equipment__grid img {
  width: 100%;
  height: clamp(420px, 42vw, 560px);
  padding: clamp(22px, 3vw, 44px);
  border-radius: var(--radius);
  background: var(--theme-soft);
  object-fit: contain;
  opacity: 1;
  transform: none;
}

.home-access {
  padding: clamp(88px, 9vw, 128px) 0 16px;
  background: white;
}

.home-access > .container {
  max-width: 1320px;
}

.home-access__grid {
  min-height: 620px;
  grid-template-areas: "copy image";
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
  gap: 0;
  border-radius: var(--radius);
  background: var(--color-navy);
}

.home-access__image {
  height: 100%;
  overflow: hidden;
}

.home-access__image img {
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: 620px;
  margin: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
  transition: transform 450ms ease;
}

.home-access__grid:hover .home-access__image img {
  transform: scale(1.015);
}

.home-access__copy {
  display: flex;
  align-items: center;
  padding: clamp(42px, 5vw, 72px);
}

.home-access__copy h3 {
  color: white;
  font-size: clamp(1.75rem, 3.1vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.home-why {
  width: calc(100% - 32px);
  max-width: 1408px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 0;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--theme-soft);
}

.home-why__image {
  min-height: 720px;
  border-radius: 0;
  background-position: center;
}

.home-why__content {
  max-width: none;
  padding: 28px clamp(36px, 4vw, 64px) clamp(36px, 5vw, 64px);
}

.home-why__content .section-heading {
  font-size: clamp(2.5rem, 4vw, 4rem);
  text-align: left;
}

.benefits-grid {
  gap: 26px 28px;
  margin-top: 42px;
}

.benefit {
  display: block;
  gap: 0;
  padding-top: 16px;
  border-top: 1px solid var(--theme-line);
}

.benefit__number {
  display: none;
}

.benefit h3 {
  color: var(--color-navy);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.benefit p {
  color: var(--theme-muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.home-why__content .button-row {
  justify-content: flex-start;
}

.home-locations {
  padding-top: clamp(80px, 8vw, 120px);
}

.home-locations > .container {
  display: grid;
  max-width: 1320px;
  min-height: 560px;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  grid-template-rows: 1fr auto auto 1fr;
  gap: 22px 0;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--theme-soft);
}

.home-locations .section-heading {
  grid-column: 1;
  grid-row: 2;
  align-self: end;
  padding-inline: clamp(36px, 5vw, 70px);
  font-size: clamp(2.5rem, 4vw, 4rem);
  text-align: left;
}

.home-locations .container > p {
  grid-column: 1;
  grid-row: 3;
  margin: 0;
  padding-inline: clamp(36px, 5vw, 70px);
  color: var(--theme-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.home-locations__preview {
  width: 100%;
  height: 100%;
  min-height: 560px;
  grid-column: 2;
  grid-row: 1 / -1;
  margin: 0;
  object-fit: cover;
  opacity: 1;
  transform: none;
}

.home-locations__button {
  width: auto;
  grid-column: 1;
  grid-row: 4;
  align-self: start;
  justify-self: start;
  margin: 4px clamp(36px, 5vw, 70px) 0;
}

.home-map {
  height: min(68vh, 680px);
  min-height: 460px;
  margin-top: 16px;
}

.home-map::before,
.home-map::after {
  display: none;
}

.home-faq-cta {
  padding-block: clamp(72px, 8vw, 104px);
  background: var(--color-pale-blue);
}

.home-faq-cta__button {
  width: min(760px, 100%);
  min-height: 58px;
  margin-inline: auto;
  border-color: var(--color-navy);
  background: var(--color-navy);
  color: white;
  font-size: 0.95rem;
}

.latest-articles {
  background: white;
}

.latest-articles .container {
  max-width: 1320px;
}

.latest-articles .section-heading {
  text-align: left;
}

.latest-articles .blog-grid {
  grid-template-columns: minmax(0, 1fr);
  margin-block: 48px 0;
}

.latest-articles .blog-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 24px clamp(36px, 6vw, 84px);
  padding: clamp(36px, 5vw, 64px);
  border: 0;
  border-radius: var(--radius);
  background: var(--theme-soft);
  box-shadow: none;
}

.latest-articles .blog-card h3 {
  grid-row: 1 / 3;
  margin: 0;
  font-size: clamp(1.6rem, 2.8vw, 2.65rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.latest-articles .blog-card h3 a {
  color: var(--color-navy);
  text-decoration: none;
}

.latest-articles .blog-card p {
  margin: 0;
  color: var(--theme-muted);
}

.latest-articles .blog-card > a {
  align-self: end;
  color: var(--color-red);
  font-weight: 600;
  text-decoration: none;
}

.latest-articles .button-row {
  justify-content: flex-start;
}

/* Locations */
.locations-section {
  padding: clamp(56px, 7vw, 96px) 0 clamp(88px, 9vw, 128px);
}

.location-layout {
  grid-template-columns: minmax(300px, 0.34fr) minmax(0, 1fr);
  gap: 12px;
}

.location-list {
  height: auto;
  overflow: visible;
}

.location-card {
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  background: var(--theme-soft);
}

.location-card__content {
  padding: 28px;
}

.location-card h2 {
  color: var(--color-navy);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.location-card h2 span {
  color: var(--color-red);
  font-size: 0.78em;
}

.location-card p {
  color: var(--theme-muted);
}

.location-card__image {
  height: 260px;
  margin: 0;
  object-fit: cover;
}

.map-frame {
  height: 620px;
  border-radius: var(--radius);
}

.location-help {
  width: min(760px, 100%);
  grid-template-columns: minmax(0, 1fr) auto;
  justify-items: stretch;
  align-items: center;
  gap: 24px;
  margin-top: 64px;
  padding: 28px 32px;
  border-radius: var(--radius);
  background: var(--color-pale-blue);
  text-align: left;
}

.location-help h2 {
  color: var(--color-navy);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.location-help .button {
  width: auto;
  min-width: 260px;
}

/* Equipment */
.equipment-section {
  padding: clamp(56px, 7vw, 96px) 0 clamp(88px, 9vw, 128px);
}

.equipment-grid {
  display: grid;
  grid-template-columns: none;
  grid-auto-columns: min(620px, 82vw);
  grid-auto-flow: column;
  gap: 12px;
  padding-bottom: 18px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scrollbar-color: var(--color-blue-light) transparent;
  scrollbar-width: thin;
}

.equipment-card {
  align-content: start;
  gap: 22px;
  min-height: 700px;
  padding: clamp(28px, 4vw, 48px);
  border: 0;
  border-radius: var(--radius);
  background: var(--theme-soft);
  scroll-snap-align: start;
}

.equipment-card__image {
  height: 470px;
  padding: 12px;
}

.equipment-card h2 {
  color: var(--color-navy);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.equipment-card ul {
  color: var(--theme-muted);
  font-size: 0.9rem;
}

.equipment-gallery {
  gap: 12px;
  margin-top: 72px;
}

.equipment-gallery img,
.equipment-gallery img:first-child,
.equipment-gallery img:last-child {
  height: clamp(320px, 34vw, 480px);
  border-radius: var(--radius);
  background: var(--theme-soft);
  object-fit: cover;
}

.video-grid {
  gap: 12px;
  margin-top: 88px;
}

.video-card {
  min-width: 0;
}

.video-card h2 {
  margin-bottom: 22px;
  color: var(--color-navy);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  text-align: left;
}

.video-embed,
.video-card:first-child .video-embed {
  height: min(42vw, 520px);
  min-height: 360px;
  padding: 0;
  border-radius: var(--radius);
  background: var(--theme-soft);
}

.home-chargers {
  padding-block: clamp(80px, 9vw, 128px);
  background: var(--color-navy);
}

.home-chargers h2 {
  font-size: clamp(2.5rem, 4.8vw, 4.4rem);
  font-weight: 500;
  letter-spacing: -0.055em;
}

.home-chargers p {
  margin: 18px 0 32px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
}

.home-chargers__image {
  width: min(760px, 100%);
  margin-bottom: 32px;
  border-radius: var(--radius);
}

/* Residential */
.residential-services {
  padding: clamp(56px, 7vw, 96px) 0 clamp(88px, 9vw, 128px);
}

.feature-grid {
  gap: 12px;
}

.feature-card {
  min-height: 260px;
  padding: 36px 36px 48px;
  border: 0;
  border-radius: var(--radius);
  background: var(--theme-soft);
}

.feature-card::after {
  right: 36px;
  bottom: 30px;
  left: 36px;
  height: 4px;
}

.feature-card h2 {
  margin-bottom: 24px;
  color: var(--color-navy);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  text-align: left;
}

.feature-card ul {
  padding-left: 20px;
  color: var(--theme-muted);
}

.residential-overview {
  min-height: 620px;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  gap: 0;
  margin-top: 64px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--theme-soft);
}

.residential-overview .split-section__content {
  max-width: none;
  padding: clamp(40px, 5vw, 72px);
}

.residential-overview .split-section__content h2 {
  color: var(--color-navy);
  font-size: clamp(2rem, 3.3vw, 3.25rem);
  font-weight: 500;
  letter-spacing: -0.05em;
}

.residential-overview .split-section__content p {
  color: var(--theme-muted);
}

.residential-overview .split-section__media {
  height: 100%;
}

.residential-overview .split-section__image {
  width: 100%;
  height: 100%;
  min-height: 620px;
  border-radius: 0;
  object-fit: cover;
}

.residential-cta {
  grid-template-columns: auto auto;
  justify-content: center;
  align-items: center;
  gap: 28px;
  margin-top: 64px;
  padding: 34px;
  border-radius: var(--radius);
  background: var(--color-pale-blue);
  text-align: left;
}

.residential-cta p {
  color: var(--color-navy);
  font-size: 1.15rem;
  font-weight: 600;
}

/* Contact — base layout owned by the cohesive contact block near file end. */

/* Client survey */
.survey-section {
  padding: clamp(56px, 7vw, 88px) 0 clamp(88px, 9vw, 128px);
  background: var(--theme-soft);
}

.survey-form {
  max-width: 1040px;
  gap: 14px;
}

.survey-form > .form-grid {
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius);
  background: white;
}

.survey-card {
  padding: clamp(24px, 4vw, 40px);
  border: 0;
  border-radius: var(--radius);
  background: white;
}

.survey-card > legend:not(.visually-hidden) {
  padding: 0 10px;
  color: var(--color-navy);
  font-family: var(--font-body);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.survey-uploads {
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius);
  background: white;
}

.survey-uploads > h2 {
  color: var(--color-navy);
  font-size: 1.45rem;
  font-weight: 600;
}

.upload-field {
  border: 0;
  border-radius: 8px;
  background: var(--theme-soft);
}

.upload-field h3 {
  color: var(--color-navy);
  font-weight: 600;
}

.upload-field__dropzone {
  border-color: rgba(28, 49, 68, 0.25);
  border-radius: 6px;
}

.survey-form__actions .button {
  min-width: 240px;
}

/* About */
.about-overview {
  padding: clamp(56px, 7vw, 96px) 0 clamp(72px, 8vw, 112px);
}

.about-overview__grid {
  gap: 12px;
}

.about-overview__item {
  min-height: 250px;
  padding: 40px 36px 48px;
  border: 0;
  border-radius: var(--radius);
  background: var(--theme-soft);
}

.about-overview__item::after {
  right: 36px;
  bottom: 28px;
  left: 36px;
  height: 4px;
}

.about-overview__item h2 {
  color: var(--color-navy);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.about-overview__item p {
  color: var(--theme-muted);
  font-size: 1rem;
}

.service-provider {
  max-width: 760px;
  gap: 48px;
  margin-top: 64px;
  padding: 38px 48px;
  border-radius: var(--radius);
  background: var(--color-pale-blue);
}

.service-provider p {
  color: var(--color-navy);
  font-family: var(--font-body);
  font-size: 1.05rem;
}

.team-section {
  padding-block: clamp(72px, 8vw, 112px);
}

.team-grid {
  gap: 12px;
  align-items: start;
}

.team-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--theme-soft);
}

.team-card__image {
  width: 100%;
  height: 500px;
  padding-top: 30px;
  background: var(--color-pale-blue);
  object-fit: contain;
}

.team-card__content {
  padding: 34px;
}

.team-card h3 {
  color: var(--color-navy);
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.team-card__role {
  color: var(--color-red);
  font-size: 0.86rem;
  font-weight: 600;
}

.team-card__content p:not(.team-card__role) {
  color: var(--theme-muted);
}

.team-card:nth-child(2) .team-card__content {
  max-height: none;
  padding-right: 34px;
  overflow: visible;
}

.values-section {
  padding-block: clamp(72px, 8vw, 112px);
  background: var(--color-pale-blue);
}

.values-grid {
  max-width: 1160px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.value-card {
  min-height: 210px;
  padding: 68px 28px 28px;
  border-radius: 8px;
  background: white;
}

.value-card::before {
  top: 24px;
  left: 28px;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: var(--color-red);
  font-size: 1.25rem;
  font-weight: 600;
}

.value-card h3 {
  color: var(--color-navy);
  font-size: 1.05rem;
  font-weight: 600;
}

.value-card p {
  color: var(--theme-muted);
  font-size: 0.9rem;
}

/* Community */
.community-section {
  padding: 8px 0;
}

.community-section:first-of-type {
  padding-top: clamp(72px, 8vw, 112px);
}

.community-section:last-of-type {
  padding-bottom: clamp(72px, 8vw, 112px);
}

.community-section .split-section {
  min-height: 560px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--theme-soft);
}

.community-section .split-section__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(42px, 5vw, 72px);
}

.community-section .split-section__content h2 {
  color: var(--color-navy);
  font-size: clamp(2rem, 3.5vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.05em;
}

.community-section .split-section__content p {
  color: var(--theme-muted);
}

.community-section .split-section__media,
.community-section picture {
  display: block;
  height: 100%;
}

.community-section .split-section__image {
  width: 100%;
  height: 100%;
  min-height: 560px;
  border-radius: 0;
  object-fit: cover;
}

.community-section .split-section--reverse {
  background: var(--color-navy);
}

.community-section .split-section--reverse .split-section__content h2,
.community-section .split-section--reverse .split-section__content p {
  color: white;
}

.community-section .split-section--reverse .split-section__content p {
  opacity: 0.76;
}

/* Blog, article, FAQ, and legal content */
.blog-index-section {
  padding: clamp(64px, 8vw, 112px) 0;
}

.blog-index-section .blog-grid {
  grid-template-columns: minmax(0, 1fr);
  margin: 0;
}

.blog-index-section .blog-card {
  padding: clamp(36px, 6vw, 72px);
  border: 0;
  border-radius: var(--radius);
  background: var(--theme-soft);
  box-shadow: none;
}

.blog-card__content {
  max-width: 940px;
}

.blog-card__title {
  margin-bottom: 24px;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.04;
}

.blog-card__title a {
  color: var(--color-navy);
}

.blog-card__content p {
  color: var(--theme-muted);
}

.blog-card__link {
  color: var(--color-red);
  font-weight: 600;
  text-decoration: none;
}

.blog-article {
  padding: clamp(64px, 8vw, 112px) 0;
}

.blog-article .container > p,
.blog-article li {
  font-size: 1.02rem;
  line-height: 1.78;
}

.blog-article section {
  margin-top: 56px;
}

.blog-article h2 {
  margin-bottom: 18px;
  color: var(--color-navy);
  font-size: clamp(1.55rem, 2.5vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.035em;
}

.blog-article__sources {
  padding: 24px;
  border-radius: 8px;
  background: var(--color-pale-blue);
}

.faq-section {
  padding: clamp(56px, 7vw, 88px) 0 clamp(88px, 9vw, 128px);
}

.faq-list {
  margin-top: 0;
  border-top: 1px solid var(--theme-line);
}

.faq-item {
  border-bottom-color: var(--theme-line);
}

.faq-item summary {
  padding: 26px 46px 26px 0;
  color: var(--color-navy);
  font-size: 1rem;
  font-weight: 600;
}

.faq-item__answer {
  max-width: 680px;
  padding: 0 46px 28px 0;
  color: var(--theme-muted);
}

.legal-page {
  padding: clamp(64px, 8vw, 112px) 0;
}

.legal-page .container > p,
.legal-page li {
  line-height: 1.75;
}

.legal-page section {
  margin-top: 52px;
}

.legal-page h2 {
  color: var(--color-navy);
  font-size: clamp(1.5rem, 2.5vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -0.035em;
}

/* Motion stays subtle and content-led. */
[data-controller~="reveal"].reveal-is-ready {
  transform: translateY(18px);
  transition: opacity 380ms ease, transform 420ms ease;
}

[data-controller~="reveal"].reveal-is-ready.reveal--scale {
  transform: translateY(18px) scale(0.985);
}

[data-controller~="reveal"].reveal-is-ready.is-visible {
  transform: none;
}

.desktop-navigation__about {
  display: block;
}

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

  .navigation-toggle {
    display: block;
  }

  .site-header__brand {
    max-width: none;
  }

  .equipment-grid {
    grid-auto-columns: minmax(350px, 58vw);
  }
}

@media (max-width: 900px) {
  :root {
    --page-gutter: 20px;
  }

  .page-hero,
  .page-hero--about,
  .page-hero--community,
  .page-hero--residential,
  .page-hero--contact,
  .page-hero--survey {
    min-height: var(--hero-min-height);
    padding-block: var(--hero-padding-block);
  }

  .page-hero--compact {
    min-height: var(--hero-compact-min-height);
  }

  .page-hero--article {
    min-height: 0;
  }

  .newsletter__form {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__social {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .home-equipment__grid {
    grid-template-columns: none;
    grid-auto-columns: 72vw;
    grid-auto-flow: column;
    gap: 12px;
    padding-bottom: 16px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-color: var(--color-blue-light) transparent;
    scrollbar-width: thin;
  }

  .home-equipment__grid img {
    scroll-snap-align: start;
  }

  .home-access__grid {
    min-height: 0;
    grid-template-areas: "copy" "image";
    grid-template-columns: minmax(0, 1fr);
  }

  .home-access__copy {
    min-height: 360px;
  }

  .home-access__image img {
    min-height: 540px;
  }

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

  .home-why__image {
    min-height: 580px;
  }

  .home-why__content {
    padding: 24px 40px 40px;
  }

  .home-locations > .container {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto auto;
    gap: 0;
  }

  .home-locations__preview {
    min-height: 500px;
    grid-column: 1;
    grid-row: 1;
  }

  .home-locations .section-heading {
    grid-row: 2;
    padding-top: 42px;
  }

  .home-locations .container > p {
    grid-row: 3;
    padding-top: 18px;
  }

  .home-locations__button {
    grid-row: 4;
    margin-top: 28px;
    margin-bottom: 42px;
  }

  .latest-articles .blog-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .latest-articles .blog-card h3 {
    grid-row: auto;
  }

  .location-layout,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-form .form-grid,
  .survey-form .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-form .field--full,
  .survey-form .field--full,
  .survey-card--service .field {
    grid-column: auto;
  }

  .map-frame {
    height: 560px;
  }

  .equipment-grid {
    grid-auto-columns: 72vw;
  }

  .feature-grid {
    grid-template-columns: none;
    grid-auto-columns: 68vw;
    grid-auto-flow: column;
    gap: 12px;
    padding-bottom: 16px;
    overflow-x: auto;
    scroll-snap-type: inline mandatory;
    scrollbar-color: var(--color-blue-light) transparent;
    scrollbar-width: thin;
  }

  .feature-card {
    scroll-snap-align: start;
  }

  .residential-overview {
    grid-template-columns: minmax(0, 1fr);
  }

  .residential-overview .split-section__image {
    min-height: 540px;
  }

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

  .values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .community-section .split-section {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
  }

  .community-section .split-section__content,
  .community-section .split-section--reverse .split-section__content {
    order: 2;
    min-height: 380px;
  }

  .community-section .split-section__media,
  .community-section .split-section--reverse .split-section__media {
    order: 1;
  }

  .community-section .split-section__image {
    min-height: 500px;
  }
}

@media (max-width: 767px) {
  :root {
    --page-gutter: 16px;
    --section-space: 72px;
  }

  .site-main {
    min-height: 50vh;
  }

  .site-header__brand {
    max-width: none;
  }

  .site-header__brand img {
    width: 196px;
  }

  .mobile-navigation:not([hidden]) {
    animation: mobile-navigation-in 180ms ease-out both;
  }

  .brand-tagline {
    height: 40px;
  }

  .brand-tagline img {
    width: 166px;
  }

  .section-heading,
  .section__title {
    font-size: clamp(2.25rem, 10vw, 3.25rem);
  }

  .home-hero,
  .home-hero__inner {
    min-height: 520px;
    height: 78svh;
    max-height: 680px;
  }

  .home-hero__video {
    display: block;
    object-position: 52% center;
  }

  .home-hero__overlay {
    background: rgba(7, 14, 22, 0.42);
  }

  .home-hero__mark {
    top: 7%;
    width: min(330px, 78vw);
    opacity: 1;
  }

  .home-hero__tagline {
    top: 42%;
    width: min(340px, 86vw);
  }

  .home-hero__tagline-text {
    font-size: clamp(1.7rem, 8vw, 2.35rem);
  }

  .home-hero__actions {
    top: auto;
    bottom: 18px;
    width: calc(100% - 32px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .home-statement {
    margin-bottom: 42px;
    font-size: clamp(2.05rem, 9vw, 3rem);
  }

  .home-equipment__grid {
    grid-template-columns: none;
    grid-auto-columns: 84vw;
    grid-auto-flow: column;
  }

  .home-equipment__grid img {
    height: 470px;
  }

  .home-access__grid {
    grid-template-areas: "copy" "image";
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .home-access__copy {
    min-height: 330px;
    padding: 36px 30px;
  }

  .home-access__copy h3 {
    font-size: clamp(1.75rem, 7.8vw, 2.45rem);
  }

  .home-access__image img {
    min-height: 460px;
  }

  .home-why {
    width: calc(100% - 24px);
    gap: 0;
  }

  .home-why__image {
    min-height: 470px;
  }

  .home-why__content {
    padding: 22px 24px 36px;
  }

  .benefits-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .home-why__content .button-row {
    justify-content: stretch;
  }

  .home-locations > .container {
    width: calc(100% - 24px);
  }

  .home-locations__preview {
    min-height: 340px;
  }

  .home-locations .section-heading,
  .home-locations .container > p {
    padding-inline: 28px;
  }

  .home-locations__button {
    width: calc(100% - 56px);
    margin-right: 28px;
    margin-left: 28px;
  }

  .home-map {
    height: 440px;
    min-height: 440px;
  }

  .home-faq-cta__button {
    font-size: 0.88rem;
  }

  .latest-articles .section-heading {
    text-align: center;
  }

  .latest-articles .blog-card {
    gap: 24px;
    padding: 32px 26px;
  }

  .latest-articles .button-row {
    justify-content: stretch;
  }

  .newsletter {
    padding-block: 64px;
  }

  .newsletter__form {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 28px 24px;
  }

  .newsletter h2 {
    font-size: 2rem;
  }

  .newsletter__privacy,
  .newsletter .form-notice {
    grid-column: auto;
  }

  .site-footer {
    min-height: 0;
    padding: 52px 0 26px;
  }

  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 20px;
    padding-left: 0;
  }

  .site-footer__logo {
    width: min(240px, 72%);
    margin-top: 44px;
  }

  .location-layout,
  .contact-grid,
  .equipment-gallery,
  .video-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .location-card__image {
    height: 240px;
  }

  .map-frame {
    height: 460px;
  }

  .location-help {
    grid-template-columns: minmax(0, 1fr);
    padding: 28px;
    text-align: center;
  }

  .location-help .button {
    width: 100%;
    min-width: 0;
  }

  .equipment-grid {
    grid-template-columns: none;
    grid-auto-columns: calc(100vw - 48px);
    grid-auto-flow: column;
  }

  .equipment-card {
    min-height: 640px;
    padding: 30px 24px;
  }

  .equipment-card__image {
    height: 390px;
  }

  .equipment-gallery,
  .video-grid {
    gap: 28px;
    margin-top: 64px;
  }

  .equipment-gallery img,
  .equipment-gallery img:first-child,
  .equipment-gallery img:last-child {
    height: 340px;
  }

  .video-card h2 {
    font-size: 1.75rem;
  }

  .video-embed,
  .video-card:first-child .video-embed {
    height: 58vw;
    min-height: 250px;
  }

  .home-chargers h2 {
    font-size: 2.5rem;
  }

  .feature-grid {
    grid-template-columns: none;
    grid-auto-columns: calc(100vw - 64px);
    grid-auto-flow: column;
  }

  .feature-card {
    min-height: 270px;
    padding: 32px 28px 46px;
  }

  .residential-overview {
    margin-top: 52px;
  }

  .residential-overview .split-section__content {
    padding: 38px 28px;
  }

  .residential-overview .split-section__image {
    min-height: 440px;
  }

  .residential-cta {
    grid-template-columns: minmax(0, 1fr);
    padding: 30px 24px;
    text-align: center;
  }

  .contact-form {
    padding: 28px 22px;
  }

  .survey-card,
  .survey-uploads {
    padding: 24px 18px;
  }

  .survey-card--service .field {
    grid-column: auto;
  }

  .survey-form__actions .button {
    width: 100%;
    min-width: 0;
  }

  .about-overview__grid,
  .service-provider,
  .values-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-overview__grid {
    gap: 12px;
  }

  .service-provider {
    gap: 26px;
    padding: 34px 28px;
  }

  .team-card__image {
    height: 440px;
  }

  .team-card__content,
  .team-card:nth-child(2) .team-card__content {
    padding: 28px 24px;
  }

  .value-card {
    min-height: 190px;
  }

  .community-section .split-section__content {
    min-height: 0;
    padding: 38px 28px;
  }

  .community-section .split-section__image {
    min-height: 390px;
  }

  .blog-index-section .blog-card {
    padding: 34px 26px;
  }

  .blog-card__title {
    font-size: 2.15rem;
  }

  .faq-item summary {
    padding-block: 24px;
  }

  .legal-page h2 {
    font-size: 1.55rem;
  }
}

@media (max-width: 520px) {
  .newsletter__controls {
    grid-template-columns: minmax(0, 1fr);
  }

  .newsletter__controls button {
    width: 100%;
  }
}

@media (max-width: 359px) {
  .home-hero__actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-hero__tagline {
    top: 40%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-access__image img {
    transition: none;
  }

  .home-access__grid:hover .home-access__image img {
    transform: none;
  }
}

/* Editorial SEO hub and long-form guides */
.blog-index-hero {
  min-height: var(--hero-blog-min-height);
  padding-block: var(--hero-padding-block);
  border-bottom: 0;
  background: #0b1117;
}

.blog-index-hero__grid {
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
}

.page-hero.blog-index-hero .page-hero__title h1 {
  max-width: 920px;
  font-size: clamp(3.4rem, 6.5vw, 6.5rem);
}

.page-hero.blog-index-hero .page-hero__dek {
  max-width: 460px;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
}

.blog-featured {
  background: #fff;
}

.blog-featured__card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  overflow: hidden;
  border: 1px solid var(--theme-line);
  border-radius: 5px;
}

.blog-featured__media {
  min-height: 590px;
  overflow: hidden;
  background: var(--theme-soft);
}

.blog-featured__media img,
.blog-library-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 360ms ease;
}

.blog-featured__media:hover img,
.blog-library-card__media:hover img {
  transform: scale(1.012);
}

.blog-featured__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(44px, 6vw, 88px);
}

.blog-featured__content .eyebrow {
  margin: 54px 0 16px;
}

.blog-featured__content h2 {
  margin-bottom: 24px;
  font-size: clamp(2.25rem, 4.2vw, 4.3rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.blog-featured__content h2 a,
.blog-library-card h3 a,
.article-related h3 a,
.latest-articles h3 a {
  color: inherit;
  text-decoration: none;
}

.blog-featured__content > p:not(.eyebrow) {
  margin-bottom: 30px;
  color: var(--theme-muted);
  font-size: 1rem;
  line-height: 1.75;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 16px;
  color: var(--theme-muted);
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.blog-meta > * + *::before {
  margin-right: 16px;
  color: rgba(28, 49, 68, 0.28);
  content: "•";
}

.blog-topic-strip {
  border-block: 1px solid var(--theme-line);
  background: var(--theme-soft);
}

.blog-topic-strip .container {
  display: flex;
  min-height: 76px;
  gap: 18px 36px;
  align-items: center;
}

.blog-topic-strip .eyebrow {
  margin: 0 auto 0 0;
}

.blog-topic-strip a {
  color: var(--theme-ink);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
}

.blog-topic-strip a:hover {
  color: var(--color-red);
}

.blog-index-section {
  padding-block: var(--section-space);
  background: #fff;
}

.blog-index-section__header {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.55fr);
  gap: clamp(40px, 8vw, 120px);
  align-items: end;
  margin-bottom: clamp(48px, 7vw, 88px);
}

.blog-index-section__header .section-heading {
  max-width: 720px;
  margin-top: 16px;
  text-align: left;
}

.blog-index-section__header > p {
  max-width: 430px;
  margin: 0 0 5px;
  color: var(--theme-muted);
  line-height: 1.75;
}

.blog-library-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(26px, 3vw, 44px);
}

.blog-library-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border-top: 1px solid var(--theme-line);
}

.blog-library-card__media {
  aspect-ratio: 4 / 3;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 4px;
  background: var(--theme-soft);
}

.blog-library-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 24px;
}

.blog-library-card h3 {
  margin: 22px 0 16px;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  font-weight: 450;
  line-height: 1.08;
}

.blog-library-card__body > p {
  margin-bottom: 24px;
  color: var(--theme-muted);
  line-height: 1.7;
}

.blog-library-card__body > .text-link {
  margin-top: auto;
}

.blog-editorial-note {
  position: relative;
  padding-block: clamp(68px, 7.5vw, 108px);
  background: #0b1117;
  overflow: hidden;
}

.blog-editorial-note__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  grid-template-areas:
    "intro secondary"
    "headline secondary";
  column-gap: clamp(40px, 5.5vw, 80px);
  row-gap: 14px;
  align-items: start;
}

.blog-editorial-note__intro {
  grid-area: intro;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.blog-editorial-note__mark {
  display: block;
  width: 88px;
  height: auto;
  opacity: 0.82;
  filter: brightness(0) invert(1);
}

.blog-editorial-note__intro .eyebrow {
  margin: 0;
  color: var(--color-blue-light);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
}

.blog-editorial-note__headline {
  grid-area: headline;
  margin: 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(2.35rem, 4.1vw, 4.05rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1.04;
}

.blog-editorial-note__accent {
  color: var(--color-blue-light);
}

.blog-editorial-note__secondary {
  grid-area: secondary;
  align-self: center;
  max-width: 36rem;
}

.blog-editorial-note__secondary > p {
  margin: 0;
  padding-left: 18px;
  border-left: 2px solid var(--color-blue);
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.125rem, 1.3vw, 1.25rem);
  line-height: 1.6;
}

.blog-editorial-note__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(157, 188, 214, 0.5);
  color: #fff;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.3;
  text-decoration: none;
  transition: color 160ms ease, border-color 160ms ease;
}

.blog-editorial-note__cta span {
  display: inline-block;
  transition: transform 160ms ease;
}

.blog-editorial-note__cta:hover {
  color: var(--color-pale-blue);
  border-bottom-color: var(--color-pale-blue);
}

.blog-editorial-note__cta:hover span {
  transform: translateX(4px);
}

/* Homepage article composition */
.latest-articles__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(330px, 0.55fr);
  gap: 18px;
}

.latest-articles__grid .blog-card {
  display: grid;
  min-width: 0;
  gap: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--theme-line);
  border-radius: 5px;
  background: #fff;
}

.latest-articles__grid .blog-card--featured {
  grid-template-columns: minmax(0, 1fr);
}

.latest-articles__grid .blog-card--featured .blog-card__media {
  min-height: 0;
  aspect-ratio: 16 / 8.7;
}

.latest-articles__grid .blog-card__media {
  min-height: 0;
  overflow: hidden;
}

.latest-articles__grid .blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.latest-articles__grid .blog-card__editorial {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.latest-articles__grid .blog-card--featured .blog-card__editorial {
  padding: clamp(34px, 4.5vw, 64px);
}

.latest-articles__grid .blog-card--featured h3 {
  max-width: 850px;
  margin: 22px 0 20px;
  font-size: clamp(2rem, 3.5vw, 3.8rem);
}

.latest-articles__grid .blog-card--featured p {
  max-width: 720px;
}

.latest-articles__secondary {
  display: grid;
  gap: 18px;
}

.latest-articles__grid .blog-card--compact {
  grid-template-rows: minmax(170px, 0.72fr) auto;
}

.latest-articles__grid .blog-card--compact .blog-card__media {
  min-height: 220px;
}

.latest-articles__grid .blog-card--compact .blog-card__editorial {
  justify-content: flex-start;
  padding: 26px 28px 30px;
}

.latest-articles__grid .blog-card--compact h3 {
  margin: 18px 0 24px;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
}

.latest-articles__grid .blog-card--compact .text-link {
  margin-top: auto;
}

.latest-articles__grid .blog-meta time {
  margin: 0;
}

/* Article masthead */
.article-hero {
  min-height: 0;
  place-items: stretch;
  padding-block: clamp(36px, 4vw, 56px) clamp(40px, 4.5vw, 64px);
  border-bottom: 0;
  background: #0b1117;
}

.article-breadcrumbs {
  margin: 0 0 22px;
}

.article-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-breadcrumbs li {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.article-breadcrumbs li + li::before {
  margin-inline: 8px;
  color: rgba(255, 255, 255, 0.28);
  content: "/";
}

.article-breadcrumbs a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.article-breadcrumbs a:hover {
  color: #fff;
}

.article-breadcrumbs [aria-current="page"] {
  color: rgba(255, 255, 255, 0.92);
}

.article-hero__grid {
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
}

.page-hero.article-hero .page-hero__title h1 {
  max-width: 900px;
  font-size: clamp(2.4rem, 4.6vw, 4.4rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.article-hero__summary.page-hero__dek {
  max-width: 460px;
}

.article-hero__summary > p {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(0.95rem, 1.25vw, 1.08rem);
  line-height: 1.6;
  text-align: left;
}

.article-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 4px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.article-byline > span + span::before {
  margin-right: 10px;
  margin-left: 6px;
  color: rgba(255, 255, 255, 0.25);
  content: "•";
}

.article-cover {
  margin-block: 0;
  padding-top: clamp(14px, 1.8vw, 22px);
}

.article-cover img {
  width: 100%;
  max-height: 720px;
  aspect-ratio: 16 / 7.5;
  border-radius: 5px;
  object-fit: cover;
}

.blog-article {
  padding: clamp(72px, 9vw, 126px) 0 0;
}

.article-content {
  font-size: 1rem;
}

.article-content > section,
.article-content > aside,
.article-content > nav {
  scroll-margin-top: calc(var(--header-height) + 28px);
}

.article-content section {
  margin-top: clamp(64px, 8vw, 92px);
}

.article-content h2 {
  margin-bottom: 24px;
  color: var(--theme-ink);
  font-size: clamp(2rem, 3.5vw, 3.15rem);
  font-weight: 450;
  letter-spacing: -0.05em;
  line-height: 1.02;
}

.article-content h3 {
  margin: 36px 0 14px;
  color: var(--theme-ink);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 550;
}

.article-content p,
.article-content li {
  color: #3f4247;
  font-size: clamp(1rem, 1.25vw, 1.08rem);
  line-height: 1.82;
}

.article-content p + p {
  margin-top: 22px;
}

.article-content a:not(.button):not(.text-link) {
  color: var(--color-navy-mid);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.19em;
}

.article-kicker {
  margin-bottom: 14px;
  color: var(--color-red) !important;
  font-size: 0.7rem !important;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.article-status {
  margin-bottom: clamp(54px, 7vw, 82px);
  padding: 28px 30px;
  border-top: 3px solid var(--color-red);
  background: var(--theme-soft);
}

.article-status .eyebrow {
  margin-bottom: 10px;
}

.article-status p:last-child {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.7;
}

.article-status--current {
  border-top-color: var(--color-navy-mid);
  background: var(--color-pale-blue);
}

.article-toc {
  padding-block: 25px;
  border-block: 1px solid var(--theme-line);
}

.article-toc .eyebrow {
  margin-bottom: 18px;
}

.article-toc ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 34px;
  margin: 0;
  padding-left: 22px;
}

.article-toc li {
  padding-left: 4px;
  font-size: 0.88rem;
  line-height: 1.5;
}

.article-toc a {
  color: var(--theme-ink) !important;
  text-decoration: none !important;
}

.article-toc a:hover {
  color: var(--color-red) !important;
}

.article-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 42px 0;
  border-block: 1px solid var(--theme-line);
}

.article-stat-grid > div {
  padding: 30px 24px 30px 0;
}

.article-stat-grid > div + div {
  padding-left: 24px;
  border-left: 1px solid var(--theme-line);
}

.article-stat-grid strong {
  display: block;
  margin-bottom: 10px;
  color: var(--theme-ink);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 450;
  letter-spacing: -0.055em;
  line-height: 1;
}

.article-stat-grid span {
  color: var(--theme-muted);
  font-size: 0.75rem;
  line-height: 1.45;
}

.article-callout {
  margin: 42px 0 0;
  padding: clamp(30px, 5vw, 48px);
  border-left: 3px solid var(--color-red);
  background: var(--color-pale-blue);
}

.article-callout .eyebrow {
  margin-bottom: 12px;
}

.article-callout p:last-child {
  margin: 0;
  color: var(--color-navy);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.55;
}

.article-numbered-list {
  margin: 34px 0 0;
  padding: 0;
  border-top: 1px solid var(--theme-line);
  counter-reset: article-step;
  list-style: none;
}

.article-numbered-list > li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  padding: 24px 0;
  border-bottom: 1px solid var(--theme-line);
  counter-increment: article-step;
}

.article-numbered-list > li::before {
  grid-row: 1 / span 2;
  color: var(--theme-muted);
  content: counter(article-step, decimal-leading-zero);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.article-numbered-list strong {
  color: var(--theme-ink);
  font-size: 1.05rem;
  font-weight: 650;
}

.article-numbered-list p {
  margin: 6px 0 0;
  font-size: 0.96rem;
  line-height: 1.7;
}

.article-checklist {
  display: grid;
  gap: 0;
  margin: 30px 0 0;
  padding: 0;
  border-top: 1px solid var(--theme-line);
  list-style: none;
}

.article-checklist li {
  position: relative;
  padding: 18px 0 18px 34px;
  border-bottom: 1px solid var(--theme-line);
  font-size: 0.98rem;
}

.article-checklist li::before {
  position: absolute;
  top: 22px;
  left: 2px;
  width: 10px;
  height: 10px;
  border: 2px solid var(--color-red);
  content: "";
}

.article-table-wrap {
  margin: 40px 0;
  overflow-x: auto;
  border-block: 1px solid var(--theme-line);
}

.article-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  text-align: left;
}

.article-table th,
.article-table td {
  padding: 20px 20px 20px 0;
  border-bottom: 1px solid var(--theme-line);
  vertical-align: top;
}

.article-table th {
  color: var(--theme-muted);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article-table td {
  color: #3f4247;
  font-size: 0.88rem;
  line-height: 1.6;
}

.article-table tbody tr:last-child td {
  border-bottom: 0;
}

.article-factors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 38px 0;
  border-top: 1px solid var(--theme-line);
  border-left: 1px solid var(--theme-line);
}

.article-factors--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.article-factors > div {
  padding: 28px;
  border-right: 1px solid var(--theme-line);
  border-bottom: 1px solid var(--theme-line);
}

.article-factors span {
  color: var(--color-red);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.article-factors h3 {
  margin: 22px 0 10px;
  font-size: 1.25rem;
}

.article-factors p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.65;
}

.article-cta {
  padding: clamp(38px, 6vw, 62px);
  border-radius: 5px;
  background: var(--color-navy);
}

.article-cta .eyebrow {
  margin-bottom: 16px;
  color: var(--color-pale-blue);
}

.article-cta h2 {
  max-width: 620px;
  color: #fff;
}

.article-cta > p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.7);
}

.article-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 30px;
  align-items: center;
  margin-top: 32px;
}

.article-cta .button {
  border-color: #fff;
  background: #fff;
  color: var(--color-navy);
}

.article-cta .text-link {
  color: #fff;
}

.article-sources {
  padding: clamp(30px, 5vw, 48px);
  border-top: 1px solid var(--theme-line);
  border-radius: 5px;
  background: var(--theme-soft);
}

.article-sources h2 {
  font-size: clamp(1.55rem, 2.5vw, 2rem);
}

.article-sources ul {
  margin: 24px 0;
  padding-left: 20px;
}

.article-sources li {
  margin-bottom: 12px;
  font-size: 0.86rem;
  line-height: 1.6;
}

.article-sources p:last-child {
  margin: 24px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--theme-line);
  color: var(--theme-muted);
  font-size: 0.76rem;
  line-height: 1.6;
}

.article-author {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
  margin-top: clamp(72px, 9vw, 110px);
  padding-block: 34px;
  border-block: 1px solid var(--theme-line);
}

.article-author__mark {
  display: grid;
  width: 100px;
  aspect-ratio: 1;
  place-items: center;
  background: var(--color-navy);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.article-author .eyebrow {
  margin-bottom: 9px;
}

.article-author h2 {
  margin-bottom: 12px;
  font-size: 1.45rem;
}

.article-author p:last-child {
  margin: 0;
  color: var(--theme-muted);
  font-size: 0.87rem;
  line-height: 1.65;
}

.blog-article__back {
  margin: 38px 0 0;
}

.article-related {
  margin-top: clamp(72px, 9vw, 118px);
  padding-block: clamp(72px, 8vw, 108px);
  background: var(--theme-soft);
}

.article-related header {
  margin-bottom: 42px;
}

.article-related header h2 {
  margin-top: 14px;
  font-size: clamp(2.5rem, 4.8vw, 4.6rem);
  font-weight: 400;
  letter-spacing: -0.055em;
}

.article-related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--theme-line);
}

.article-related__grid article {
  display: flex;
  min-height: 270px;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 30px 30px 0;
}

.article-related__grid article + article {
  padding-left: 30px;
  border-left: 1px solid var(--theme-line);
}

.article-related__grid span {
  color: var(--theme-muted);
  font-size: 0.67rem;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.article-related h3 {
  margin: 24px 0;
  font-size: clamp(1.45rem, 2.5vw, 2.15rem);
  font-weight: 450;
  line-height: 1.08;
}

.article-related__grid .text-link {
  margin-top: auto;
}

@media (max-width: 1080px) {
  .blog-featured__card,
  .article-hero__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .blog-featured__media {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .blog-library-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-editorial-note__layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "intro"
      "headline"
      "secondary";
    row-gap: 20px;
  }

  .blog-editorial-note__headline {
    font-size: clamp(2.35rem, 5vw, 3.1rem);
  }

  .blog-editorial-note__secondary {
    max-width: 40rem;
  }

  .latest-articles__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .latest-articles__secondary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-hero {
    min-height: 0;
  }

  .article-hero__summary > p {
    max-width: 720px;
  }
}

@media (max-width: 767px) {
  .blog-index-hero {
    min-height: var(--hero-blog-min-height);
  }

  .blog-index-hero__grid,
  .blog-index-section__header {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .page-hero.blog-index-hero .page-hero__title h1 {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  .blog-featured__content {
    padding: 34px 26px 42px;
  }

  .blog-featured__content .eyebrow {
    margin-top: 38px;
  }

  .blog-topic-strip .container {
    padding-block: 22px;
    flex-wrap: wrap;
  }

  .blog-topic-strip .eyebrow {
    width: 100%;
  }

  .blog-library-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .blog-editorial-note {
    padding-block: 56px 64px;
  }

  .blog-editorial-note__layout {
    row-gap: 18px;
  }

  .blog-editorial-note__mark {
    width: 72px;
  }

  .blog-editorial-note__headline {
    font-size: clamp(2.15rem, 9.5vw, 2.75rem);
  }

  .blog-editorial-note__secondary {
    max-width: none;
  }

  .blog-editorial-note__secondary > p {
    font-size: 1.0625rem;
  }

  .blog-editorial-note__cta {
    margin-top: 28px;
  }

  .latest-articles__secondary {
    grid-template-columns: minmax(0, 1fr);
  }

  .article-hero {
    padding-block: 28px 36px;
  }

  .article-breadcrumbs {
    margin-bottom: 16px;
  }

  .article-hero__grid {
    gap: 20px;
  }

  .page-hero.article-hero .page-hero__title h1 {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .article-hero__summary > p {
    margin-bottom: 12px;
  }

  .article-cover {
    padding-inline: 12px;
  }

  .article-cover img {
    aspect-ratio: 4 / 3;
  }

  .article-status,
  .article-callout,
  .article-sources,
  .article-cta {
    padding: 26px 22px;
  }

  .article-toc ol,
  .article-stat-grid,
  .article-factors,
  .article-factors--three {
    grid-template-columns: minmax(0, 1fr);
  }

  .article-stat-grid > div + div {
    padding-left: 0;
    border-top: 1px solid var(--theme-line);
    border-left: 0;
  }

  .article-stat-grid > div {
    padding-block: 24px;
  }

  .article-numbered-list > li {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .article-author {
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 20px;
  }

  .article-author__mark {
    width: 70px;
    font-size: 0.95rem;
  }

  .article-related__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .article-related__grid article {
    min-height: 220px;
    padding: 28px 0;
  }

  .article-related__grid article + article {
    padding-left: 0;
    border-top: 1px solid var(--theme-line);
    border-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .blog-featured__media img,
  .blog-library-card__media img {
    transition: none;
  }
}

/* Premium refinement layer — Tesla-led structure with WGE visual language. */
:root {
  --header-height: 64px;
  --container-wide: 1320px;
  --container-shell: 1320px;
  --container-medium: 1120px;
  --container-narrow: 780px;
  --page-gutter: clamp(20px, 4.5vw, 48px);
  --section-space: clamp(88px, 9vw, 128px);
  --section-space-tight: clamp(64px, 6vw, 88px);
  --radius: 6px;
  --radius-pill: 4px;
  --theme-soft: #f3f4f4;
  --theme-line: rgba(28, 49, 68, 0.16);
  --theme-line-dark: rgba(255, 255, 255, 0.18);
}

body {
  font-size: 16px;
  line-height: 1.55;
}

.home-page {
  padding-top: 0;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--color-red);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow--light {
  color: var(--color-pale-blue);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-navy);
  font-size: 0.83rem;
  font-weight: 600;
  text-decoration: none;
}

.text-link::after {
  content: "\2192";
  font-size: 1rem;
  transition: transform 160ms ease;
}

.text-link:hover {
  color: var(--color-red);
}

.text-link:hover::after {
  transform: translateX(3px);
}

/* Header and navigation */
.site-header {
  z-index: 300;
  height: var(--header-height);
  border-bottom: 1px solid rgba(28, 49, 68, 0.1);
  background: #f7f8f9;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header__inner {
  position: relative;
  z-index: 4;
  display: grid;
  height: var(--header-height);
  max-width: 1600px;
  grid-template-columns: minmax(250px, 1fr) auto minmax(250px, 1fr);
  gap: 28px;
}

.site-header__brand {
  justify-self: start;
}

.site-header__brand img {
  width: 224px;
  max-height: 18px;
  filter: brightness(0) saturate(100%) invert(18%) sepia(28%) saturate(1100%) hue-rotate(173deg) brightness(92%) contrast(92%);
}

.desktop-navigation {
  position: relative;
  grid-column: 2;
  gap: 2px;
  justify-self: center;
}

.desktop-navigation__item {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
}

.desktop-navigation__indicator {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  border-radius: 4px;
  background: rgba(28, 49, 68, 0.08);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    width 320ms cubic-bezier(0.22, 1, 0.36, 1),
    height 320ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 180ms ease;
  will-change: transform, width, height;
}

.desktop-navigation__indicator.is-visible {
  opacity: 1;
}

.desktop-navigation a {
  position: relative;
  z-index: 1;
  min-height: 36px;
  padding: 9px 14px;
  border-radius: 4px;
  background: transparent;
  color: var(--color-navy);
  font-size: 0.84rem;
  font-weight: 500;
}

.desktop-navigation a[aria-expanded="true"],
.desktop-navigation a:hover,
.desktop-navigation a.is-active {
  background: transparent;
  color: var(--color-navy);
}

.site-header__contact {
  min-width: 138px;
  min-height: 38px;
  padding: 9px 20px;
  border: 1px solid var(--color-navy);
  border-radius: 4px;
  background: var(--color-navy);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  justify-self: end;
}

.site-header__contact:hover,
.site-header__contact.is-active {
  border-color: var(--color-navy-mid);
  background: var(--color-navy-mid);
  color: #fff;
}

/* Home hero: transparent until scroll / menu open */
.home-page .site-header:not(.site-header--scrolled):not(.site-header--mega-open):not(.site-header--menu-open) {
  border-bottom-color: transparent;
  background: transparent;
  box-shadow: none;
}

.home-page .site-header:not(.site-header--scrolled):not(.site-header--mega-open):not(.site-header--menu-open) .site-header__brand img {
  filter: none;
}

.home-page .site-header:not(.site-header--scrolled):not(.site-header--mega-open):not(.site-header--menu-open) .desktop-navigation a {
  color: rgba(255, 255, 255, 0.9);
}

.home-page .site-header:not(.site-header--scrolled):not(.site-header--mega-open):not(.site-header--menu-open) .desktop-navigation a:hover,
.home-page .site-header:not(.site-header--scrolled):not(.site-header--mega-open):not(.site-header--menu-open) .desktop-navigation a[aria-expanded="true"],
.home-page .site-header:not(.site-header--scrolled):not(.site-header--mega-open):not(.site-header--menu-open) .desktop-navigation a.is-active {
  background: transparent;
  color: #fff;
}

.home-page .site-header:not(.site-header--scrolled):not(.site-header--mega-open):not(.site-header--menu-open) .desktop-navigation__indicator {
  background: rgba(255, 255, 255, 0.16);
}

@media (prefers-reduced-motion: reduce) {
  .desktop-navigation__indicator {
    transition: opacity 120ms ease;
  }
}

.home-page .site-header:not(.site-header--scrolled):not(.site-header--mega-open):not(.site-header--menu-open) .site-header__contact {
  border-color: rgba(255, 255, 255, 0.85);
  background: #fff;
  color: var(--color-navy);
}

.desktop-mega-menu {
  position: absolute;
  z-index: 3;
  top: 100%;
  right: 0;
  left: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--theme-line);
  background: #fff;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 180ms ease, transform 200ms ease;
}

.desktop-mega-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.mega-menu__panel {
  background: #fff;
}

.mega-menu__panel:not([hidden]) {
  animation: mega-panel-in 180ms ease both;
}

@keyframes mega-panel-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

.mega-menu__layout {
  display: grid;
  max-width: 1360px;
  grid-template-columns: minmax(360px, 1.15fr) minmax(220px, 0.75fr) minmax(220px, 0.75fr);
  gap: clamp(42px, 6vw, 84px);
  align-items: start;
  padding-top: 40px;
  padding-bottom: 44px;
}

.mega-menu__feature {
  display: grid;
  min-width: 0;
  grid-template-columns: 180px minmax(0, 1fr);
  grid-template-rows: auto auto 1fr;
  gap: 6px 22px;
  color: var(--theme-ink);
  text-decoration: none;
}

.mega-menu__feature img {
  width: 180px;
  height: 132px;
  grid-row: 1 / 4;
  border-radius: 4px;
  object-fit: cover;
}

.mega-menu__feature--product img {
  padding: 14px;
  background: var(--theme-soft);
  object-fit: contain;
}

.mega-menu__feature .mega-menu__eyebrow,
.mega-menu__label {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mega-menu__feature .mega-menu__eyebrow {
  color: var(--color-red);
}

.mega-menu__label {
  color: var(--color-red);
}

.mega-menu__feature strong {
  align-self: end;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.mega-menu__feature > span:last-child {
  color: var(--theme-muted);
  font-size: 0.8rem;
}

.mega-menu__feature:hover strong {
  color: var(--color-red);
}

.mega-menu__links {
  display: grid;
  gap: 7px;
}

.mega-menu__label {
  margin-bottom: 8px;
}

.mega-menu__links a {
  display: grid;
  gap: 3px;
  padding: 9px 0 10px;
  color: var(--theme-ink);
  text-decoration: none;
}

.mega-menu__links strong {
  font-size: 0.93rem;
  font-weight: 600;
}

.mega-menu__links a span {
  color: var(--theme-muted);
  font-size: 0.76rem;
}

.mega-menu__links a:hover strong {
  color: var(--color-red);
}

.mega-menu__links--utility {
  padding-left: clamp(28px, 4vw, 54px);
  border-left: 1px solid var(--theme-line);
}

.navigation-backdrop {
  position: fixed;
  z-index: 2;
  inset: var(--header-height) 0 0;
  display: block;
  width: 100%;
  height: calc(100dvh - var(--header-height));
  padding: 0;
  border: 0;
  background: rgba(7, 14, 22, 0.42);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}

.navigation-backdrop.is-desktop {
  background: rgba(7, 14, 22, 0.24);
}

.navigation-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.navigation-toggle {
  z-index: 5;
  grid-column: 3;
  justify-self: end;
}

.mobile-navigation {
  z-index: 3;
  top: var(--header-height);
  width: min(440px, 100%);
  height: calc(100dvh - var(--header-height));
  padding: 22px clamp(20px, 5vw, 34px) 32px;
  border-top: 1px solid var(--theme-line);
  background: #fff;
  box-shadow: none;
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 180ms ease, transform 240ms ease;
}

.mobile-navigation.is-open {
  opacity: 1;
  transform: none;
}

.mobile-navigation__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 4px 20px;
  border-bottom: 1px solid var(--theme-line);
  color: var(--theme-muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mobile-navigation__header a {
  margin: 0;
  padding: 8px 12px;
  background: var(--color-navy);
  color: #fff;
  font-size: 0.7rem;
}

.mobile-navigation__group {
  display: grid;
  padding: 24px 0 12px;
}

.mobile-navigation__group + .mobile-navigation__group {
  border-top: 1px solid var(--theme-line);
}

.mobile-navigation__label {
  padding: 0 12px 10px;
  color: var(--theme-muted);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mobile-navigation a {
  position: relative;
  margin: 0;
  padding: 11px 34px 11px 12px;
  border-radius: 4px;
  color: var(--theme-ink);
  font-size: 1rem;
  font-weight: 500;
}

.mobile-navigation__group a::after {
  position: absolute;
  top: 50%;
  right: 12px;
  content: "\2192";
  color: var(--theme-muted);
  transform: translateY(-50%);
}

.mobile-navigation a:hover,
.mobile-navigation a.is-active {
  background: var(--theme-soft);
  color: var(--color-navy);
}

.mobile-navigation__footer {
  margin: 24px 12px 0;
  color: var(--color-red);
  font-size: 0.78rem;
  font-weight: 500;
}

/* Home */
.home-hero,
.home-hero__inner {
  min-height: 680px;
  height: min(86svh, 860px);
  max-height: 860px;
}

.home-hero__overlay {
  background: rgba(7, 14, 22, 0.38);
}

.home-hero__mark {
  top: 12%;
  width: min(470px, 58vw);
  opacity: 0.72;
}

.home-hero__tagline {
  top: 43%;
  width: min(860px, 72vw);
}

.home-hero__tagline-text {
  font-size: clamp(2.5rem, 5.2vw, 4.6rem);
}

.home-hero__actions {
  bottom: 42px;
  width: min(500px, calc(100% - 40px));
}

.home-section-intro {
  margin-bottom: clamp(48px, 6vw, 76px);
}

.home-section-intro--center {
  text-align: center;
}

.home-statement {
  margin-bottom: 0;
  font-size: clamp(2.6rem, 4.8vw, 4.5rem);
  font-weight: 400;
  line-height: 0.98;
}

.home-equipment {
  padding-block: clamp(100px, 10vw, 148px);
}

.home-equipment__grid {
  gap: 10px;
}

.home-equipment__card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--theme-line);
  border-radius: 5px;
  background: var(--theme-soft);
}

.home-equipment__grid .home-equipment__card img {
  height: clamp(400px, 40vw, 540px);
  padding: clamp(28px, 4vw, 54px);
  border-radius: 0;
  background: transparent;
}

.home-equipment__card > div {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border-top: 1px solid var(--theme-line);
  background: #fff;
}

.home-equipment__card span {
  color: var(--theme-muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.home-equipment__card strong {
  color: var(--color-navy);
  font-size: 0.95rem;
  font-weight: 600;
}

.home-access {
  padding-top: clamp(96px, 9vw, 136px);
}

.home-access__grid {
  min-height: 640px;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1.28fr);
  border: 1px solid var(--theme-line);
  border-radius: 5px;
}

.home-access__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.home-why {
  position: relative;
  width: calc(100% - 40px);
  margin-top: 12px;
  border-radius: 5px;
  background: var(--color-navy);
}

.home-why::after {
  position: absolute;
  z-index: 0;
  right: 2%;
  bottom: -0.16em;
  color: rgba(255, 255, 255, 0.035);
  content: "WGE";
  font-size: clamp(10rem, 24vw, 24rem);
  font-weight: 600;
  letter-spacing: -0.08em;
  line-height: 0.8;
  pointer-events: none;
}

.home-why__image,
.home-why__content {
  position: relative;
  z-index: 1;
}

.home-why__image {
  min-height: 760px;
}

.home-why__content .section-heading {
  color: #fff;
  font-weight: 400;
  background: none;
}

.home-why .benefit {
  border-top-color: var(--theme-line-dark);
}

.home-why .benefit__number {
  display: none;
}

.home-why .benefit h3 {
  color: #fff;
}

.home-why .benefit p {
  color: rgba(255, 255, 255, 0.66);
}

.home-why .button {
  border-color: #fff;
  background: #fff;
  color: var(--color-navy);
}

.home-why .button:hover {
  border-color: var(--color-pale-blue);
  background: var(--color-pale-blue);
  color: var(--color-navy);
}

.home-locations > .container {
  min-height: 600px;
  grid-template-rows: 1fr auto auto auto auto 1fr;
  border: 1px solid var(--theme-line);
  border-radius: 5px;
}

.home-locations .eyebrow {
  grid-column: 1;
  grid-row: 2;
  align-self: end;
  margin: 0;
  padding-inline: clamp(36px, 5vw, 70px);
}

.home-locations .section-heading {
  grid-row: 3;
  padding-top: 12px;
}

.home-locations .container > p:not(.eyebrow) {
  grid-row: 4;
}

.home-locations__preview {
  min-height: 600px;
}

.home-locations__button {
  grid-row: 5;
}

.home-map {
  width: calc(100% - 40px);
  max-width: 1400px;
  height: min(62vh, 620px);
  min-height: 460px;
  margin: 12px auto 0;
  border: 1px solid var(--theme-line);
  border-radius: 5px;
}

.home-faq-preview {
  padding-block: var(--section-space);
  background: #fff;
}

.home-faq-preview__header,
.latest-articles__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: clamp(44px, 5vw, 68px);
}

.home-faq-preview__header h2 {
  max-width: 720px;
  color: var(--theme-ink);
  font-size: clamp(2.5rem, 4.8vw, 4.6rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.home-faq-preview__grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.74fr) minmax(0, 1.26fr);
  gap: clamp(32px, 6vw, 92px);
  align-items: stretch;
}

.home-faq-preview__grid > img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  border-radius: 4px;
  object-fit: cover;
}

.home-faq-preview__list {
  border-top: 1px solid var(--theme-line);
}

.home-faq-preview__list a {
  display: grid;
  min-height: 88px;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  border-bottom: 1px solid var(--theme-line);
  color: var(--theme-ink);
  text-decoration: none;
}

.home-faq-preview__list a > span:first-child {
  color: var(--theme-muted);
  font-size: 0.72rem;
}

.home-faq-preview__list strong {
  font-size: 0.94rem;
  font-weight: 500;
}

.home-faq-preview__list a > span:last-child {
  transition: transform 160ms ease;
}

.home-faq-preview__list a:hover {
  color: var(--color-red);
}

.home-faq-preview__list a:hover > span:last-child {
  transform: translate(2px, -2px);
}

.latest-articles {
  background: var(--theme-soft);
}

.latest-articles__header .section-heading {
  text-align: left;
}

.latest-articles .blog-grid {
  margin-top: 0;
}

.latest-articles .blog-card {
  grid-template-columns: minmax(360px, 0.86fr) minmax(0, 1.14fr);
  gap: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--theme-line);
  border-radius: 5px;
  background: #fff;
}

.latest-articles .blog-card__media {
  min-height: 500px;
  overflow: hidden;
}

.latest-articles .blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.latest-articles .blog-card__media:hover img {
  transform: scale(1.01);
}

.latest-articles .blog-card__editorial {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(38px, 6vw, 82px);
}

.latest-articles .blog-card__editorial time {
  margin-bottom: 22px;
  color: var(--theme-muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.latest-articles .blog-card__editorial h3 {
  margin-bottom: 24px;
  font-size: clamp(1.8rem, 3.1vw, 3.2rem);
  font-weight: 400;
  line-height: 1.04;
}

.latest-articles .blog-card__editorial p {
  margin-bottom: 28px;
  font-size: 0.94rem;
  line-height: 1.65;
}

/* Shared ending and interior-page polish */
.newsletter {
  padding-block: clamp(76px, 8vw, 112px);
}

.newsletter__form {
  border: 1px solid rgba(28, 49, 68, 0.12);
  border-radius: 5px;
}

.site-footer {
  padding-top: 0;
}

.site-footer__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: end;
  padding-block: clamp(58px, 7vw, 92px);
  border-bottom: 1px solid var(--theme-line-dark);
}

.site-footer__intro p {
  margin-bottom: 18px;
  color: var(--color-pale-blue);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer__intro h2 {
  max-width: 760px;
  color: #fff;
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.site-footer__intro .button {
  min-width: 180px;
  border-color: rgba(255, 255, 255, 0.72);
  background: transparent;
  color: #fff;
}

.site-footer__intro .button:hover {
  border-color: #fff;
  background: #fff;
  color: var(--color-navy);
}

.site-footer__grid {
  padding-top: 52px;
}

.site-footer__wordmark {
  margin: 52px 0 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.055);
  font-size: clamp(9rem, 23vw, 22rem);
  font-weight: 600;
  letter-spacing: -0.09em;
  line-height: 0.72;
  white-space: nowrap;
}

.site-footer__logo {
  width: 224px;
  margin: 34px 0 0;
}

.site-footer__copyright {
  padding-top: 22px;
  border-top: 1px solid var(--theme-line-dark);
  text-align: left;
}

.location-card,
.map-frame,
.equipment-card,
.equipment-gallery img,
.video-embed,
.feature-card,
.residential-overview,
.contact-form,
.contact-card,
.survey-card,
.survey-uploads,
.about-overview__item,
.service-provider,
.team-card,
.value-card,
.community-section .split-section,
.blog-index-section .blog-card,
.blog-article__sources {
  border-radius: 5px;
}

.faq-list {
  counter-reset: faq;
}

.faq-item {
  counter-increment: faq;
}

.faq-item summary {
  padding-left: 56px;
  font-weight: 500;
}

.faq-item summary::before {
  position: absolute;
  top: 28px;
  left: 0;
  color: var(--theme-muted);
  content: counter(faq, decimal-leading-zero);
  font-size: 0.7rem;
  font-weight: 500;
}

.faq-item__answer {
  padding-left: 56px;
}

@media (max-width: 1180px) {
  .site-header__inner {
    grid-template-columns: minmax(210px, 1fr) auto minmax(210px, 1fr);
    gap: 18px;
  }

  .desktop-navigation a {
    padding-inline: 11px;
  }

  .site-header__contact {
    min-width: 120px;
  }

  .mega-menu__layout {
    grid-template-columns: minmax(320px, 1fr) minmax(190px, 0.7fr) minmax(190px, 0.7fr);
    gap: 40px;
  }
}

@media (max-width: 1050px) {
  .site-header__inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .site-header__contact,
  .desktop-mega-menu {
    display: none;
  }

  .navigation-toggle {
    grid-column: 2;
  }

  .home-page .site-header:not(.site-header--scrolled):not(.site-header--menu-open) .navigation-toggle {
    background: rgba(255, 255, 255, 0.14);
  }

  .home-page .site-header:not(.site-header--scrolled):not(.site-header--menu-open) .navigation-toggle span {
    background: #fff;
  }
}

@media (max-width: 900px) {
  .home-hero,
  .home-hero__inner {
    min-height: 640px;
    height: 82svh;
  }

  .home-equipment__grid .home-equipment__card {
    scroll-snap-align: start;
  }

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

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

  .home-locations > .container {
    grid-template-rows: auto auto auto auto auto;
  }

  .home-locations .eyebrow {
    grid-column: 1;
    grid-row: 2;
    padding-top: 40px;
  }

  .home-locations .section-heading {
    grid-row: 3;
    padding-top: 12px;
  }

  .home-locations .container > p:not(.eyebrow) {
    grid-row: 4;
    padding-top: 18px;
  }

  .home-locations__button {
    grid-row: 5;
  }

  .home-faq-preview__grid {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: 34px;
  }

  .latest-articles .blog-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .latest-articles .blog-card__media {
    min-height: 460px;
  }
}

@media (max-width: 767px) {
  :root {
    --page-gutter: 18px;
    --section-space: 80px;
  }

  .site-header__brand img {
    width: 192px;
  }

  .mobile-navigation:not([hidden]) {
    animation: none;
  }

  .home-hero,
  .home-hero__inner {
    min-height: 600px;
    height: 80svh;
    max-height: 720px;
  }

  .home-hero__mark {
    top: 11%;
    width: min(340px, 80vw);
  }

  .home-hero__tagline {
    top: 40%;
    width: min(340px, 86vw);
  }

  .home-hero__tagline-text {
    font-size: clamp(1.65rem, 7.4vw, 2.25rem);
  }

  .home-hero__actions {
    bottom: 20px;
  }

  .home-statement {
    font-size: clamp(2.3rem, 10vw, 3.4rem);
  }

  .home-equipment__grid {
    grid-auto-columns: 86vw;
  }

  .home-equipment__grid .home-equipment__card img {
    height: 430px;
  }

  .home-equipment__card > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .home-access__grid {
    grid-template-areas: "copy" "image";
  }

  .home-access__copy {
    min-height: 360px;
  }

  .home-why {
    width: calc(100% - 24px);
  }

  .home-why__image {
    min-height: 500px;
  }

  .home-locations > .container,
  .home-map {
    width: calc(100% - 24px);
  }

  .home-locations .eyebrow,
  .home-locations .section-heading,
  .home-locations .container > p:not(.eyebrow) {
    padding-inline: 28px;
  }

  .home-faq-preview__header,
  .latest-articles__header {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

  .home-faq-preview__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-faq-preview__grid > img {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .home-faq-preview__list a {
    min-height: 82px;
    grid-template-columns: 30px minmax(0, 1fr) auto;
    gap: 14px;
  }

  .latest-articles .section-heading {
    text-align: left;
  }

  .latest-articles .blog-card__media {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .latest-articles .blog-card__editorial {
    padding: 34px 26px 40px;
  }

  .site-footer__intro {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .site-footer__intro .button {
    width: 100%;
  }

  .site-footer__wordmark {
    margin-top: 42px;
    font-size: 42vw;
  }

  .site-footer__logo {
    margin-inline: 0;
  }

  .page-hero,
  .page-hero--about,
  .page-hero--community,
  .page-hero--residential,
  .page-hero--contact,
  .page-hero--survey {
    min-height: var(--hero-min-height);
  }
}

@media (max-width: 520px) {
  .home-faq-preview__header h2 {
    font-size: 2.55rem;
  }

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

  .home-hero__actions .button {
    padding-inline: 14px;
  }
}

@media (max-width: 359px) {
  .home-hero__actions {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .desktop-mega-menu,
  .navigation-backdrop,
  .mobile-navigation,
  .latest-articles .blog-card__media img,
  .text-link::after,
  .home-faq-preview__list a > span:last-child {
    transition: none;
  }

  .mega-menu__panel:not([hidden]) {
    animation: none;
  }
}

/* UI cohesion pass — calmer proportions and responsive polish. */

/* Keep motion visible without making content feel absent while entering. */
[data-controller~="reveal"].reveal-is-ready {
  transform: translateY(12px);
  transition-duration: 260ms, 300ms;
}

[data-controller~="reveal"].reveal-is-ready.reveal--scale {
  transform: translateY(12px) scale(0.992);
}

/* Home-page rhythm */
.home-section-intro {
  max-width: 1080px;
  margin-inline: auto;
  margin-bottom: clamp(42px, 5vw, 66px);
}

.home-statement {
  max-width: 1040px;
  font-size: clamp(2.35rem, 4.2vw, 4rem);
  line-height: 1.01;
}

.home-equipment {
  padding-block: clamp(88px, 8vw, 124px);
}

.home-equipment__grid .home-equipment__card img {
  height: clamp(350px, 34vw, 470px);
}

.home-access {
  padding-top: clamp(82px, 8vw, 116px);
}

.home-access__grid {
  min-height: 570px;
}

.home-access__image img {
  min-height: 570px;
}

.home-access__copy h3 {
  font-size: clamp(1.9rem, 2.8vw, 2.75rem);
}

.home-locations .container > .eyebrow {
  grid-column: 1;
  grid-row: 2;
  align-self: end;
  margin: 0;
  padding-inline: clamp(36px, 5vw, 70px);
}

.home-locations .container > .section-heading {
  grid-column: 1;
  grid-row: 3;
  padding-top: 10px;
}

.home-locations .container > p:not(.eyebrow) {
  grid-column: 1;
  grid-row: 4;
}

.home-locations .container > .home-locations__button {
  grid-column: 1;
  grid-row: 5;
}

.latest-articles__grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.65fr);
}

.latest-articles__grid .blog-card--featured,
.latest-articles__grid .blog-card--compact {
  grid-template-columns: minmax(0, 1fr);
}

.latest-articles__grid .blog-card--featured .blog-card__media {
  min-height: 0;
  aspect-ratio: 16 / 8.5;
}

.latest-articles__grid .blog-card--featured .blog-card__editorial {
  padding: clamp(34px, 4vw, 54px);
}

.latest-articles__grid .blog-card--featured h3 {
  max-width: 790px;
  margin: 20px 0 18px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.01;
}

.latest-articles__grid .blog-card--compact {
  grid-template-rows: auto 1fr;
}

.latest-articles__grid .blog-card--compact .blog-card__media {
  min-height: 0;
  aspect-ratio: 16 / 8.8;
}

.latest-articles__grid .blog-card--compact .blog-card__editorial {
  padding: 24px 26px 28px;
}

.latest-articles__grid .blog-card--compact h3 {
  margin: 16px 0 22px;
  font-size: clamp(1.3rem, 1.8vw, 1.65rem);
  line-height: 1.08;
}

/* Blog hierarchy and metadata */
.blog-meta > *,
.article-byline > span {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.blog-meta > * + *::before,
.article-byline > span + span::before {
  flex: 0 0 auto;
}

.blog-featured__content h2 {
  font-size: clamp(2.2rem, 3.5vw, 3.55rem);
  line-height: 1;
  text-wrap: balance;
}

.blog-library-card h3 {
  font-size: clamp(1.4rem, 1.9vw, 1.8rem);
}



/* Equipment cards now read as a deliberate comparison grid on desktop. */
.equipment-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-columns: initial;
  grid-auto-flow: row;
  gap: 12px;
  padding-bottom: 0;
  overflow: visible;
  scroll-snap-type: none;
}

.equipment-card {
  min-height: 0;
  gap: 0;
  padding: clamp(28px, 3.5vw, 46px);
  border: 1px solid var(--theme-line);
  background: #fff;
}

.equipment-card__image {
  height: clamp(330px, 32vw, 440px);
  margin-bottom: 26px;
  padding: clamp(14px, 2.5vw, 30px);
}

.equipment-card__eyebrow {
  margin: 0 0 10px;
  color: var(--color-red);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.equipment-card h2 {
  margin-bottom: 20px;
  font-size: clamp(1.65rem, 2.4vw, 2.2rem);
  font-weight: 500;
}

.equipment-card ul {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--theme-line);
  list-style: none;
}

.equipment-card li {
  padding: 10px 0;
  border-bottom: 1px solid var(--theme-line);
  line-height: 1.5;
}

.equipment-gallery {
  margin-top: clamp(64px, 7vw, 92px);
}

.home-chargers .container {
  display: grid;
  grid-template-columns: minmax(280px, 0.65fr) minmax(0, 1.35fr);
  grid-template-rows: auto auto auto;
  gap: 20px clamp(48px, 7vw, 100px);
  align-items: center;
  text-align: left;
}

.home-chargers h2,
.home-chargers p,
.home-chargers .button {
  grid-column: 1;
}

.home-chargers h2 {
  align-self: end;
  margin: 0;
  font-size: clamp(2.6rem, 4.3vw, 4.1rem);
  line-height: 0.98;
}

.home-chargers p {
  margin: 0;
}

.home-chargers .button {
  width: fit-content;
  align-self: start;
}

.home-chargers__image {
  width: 100%;
  max-width: none;
  grid-column: 2;
  grid-row: 1 / -1;
  margin: 0;
}

/* Residential and location content */
.feature-card {
  min-height: 240px;
  padding: 34px 34px 42px;
  border: 1px solid var(--theme-line);
  background: #fff;
}

.feature-grid .feature-card::after {
  right: 34px;
  bottom: 26px;
  left: 34px;
  height: 2px;
  background: var(--color-red);
}

.residential-overview .split-section__content {
  padding: clamp(42px, 5vw, 68px);
}

.residential-overview .split-section__content > .eyebrow {
  margin-bottom: 14px;
}

.residential-overview__lead {
  color: var(--theme-ink) !important;
  font-size: 1.05rem;
  line-height: 1.7;
}

.residential-overview__list {
  margin: 26px 0;
  padding: 0;
  border-top: 1px solid var(--theme-line);
  list-style: none;
}

.residential-overview__list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--theme-line);
  color: var(--theme-muted);
  font-size: 0.9rem;
}

.residential-cta {
  padding: clamp(34px, 5vw, 52px);
  border: 0;
  background: var(--color-navy);
}

.residential-cta p {
  color: #fff;
}

.residential-cta .button {
  border-color: var(--color-red);
  background: var(--color-red);
  color: #fff;
}

.residential-cta .button:hover {
  border-color: #8f0213;
  background: #8f0213;
  color: #fff;
}

.location-layout {
  grid-template-columns: minmax(360px, 0.65fr) minmax(0, 1.35fr);
  gap: 12px;
}

.location-card {
  border: 1px solid var(--theme-line);
  background: #fff;
}

.location-card__content {
  padding: 30px;
}

.location-card__status {
  margin: 0 0 18px !important;
  color: var(--color-red) !important;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.location-card h2 {
  font-size: 1.65rem;
  font-weight: 500;
}

.location-card__image {
  height: 400px;
}

.location-help {
  width: 100%;
  margin-top: 12px;
  padding: 28px 30px;
  border: 1px solid var(--theme-line);
  background: #fff;
}

/* Reduce nested boxes between the main content and footer. */
.newsletter {
  border-top: 1px solid var(--theme-line);
  background: var(--theme-soft);
}

.newsletter__form {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.newsletter__controls input {
  border-color: var(--theme-line);
  background: #fff;
}

.navigation-toggle,
.social-buttons button {
  min-width: 44px;
  min-height: 44px;
}

@media (max-width: 1050px) {
  .latest-articles__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .latest-articles__secondary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-chargers .container {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  }

  .location-layout {
    grid-template-columns: minmax(300px, 0.75fr) minmax(0, 1.25fr);
  }
}

@media (max-width: 767px) {
  .home-statement {
    font-size: clamp(2.15rem, 9.5vw, 3rem);
  }

  .home-equipment__grid .home-equipment__card img {
    height: 350px;
  }

  .home-access__grid,
  .home-access__image img {
    min-height: 0;
  }

  .home-access__copy {
    min-height: 320px;
  }

  .home-locations .container > .eyebrow,
  .home-locations .container > .section-heading,
  .home-locations .container > p:not(.eyebrow) {
    padding-inline: 28px;
  }

  .latest-articles__secondary {
    grid-template-columns: minmax(0, 1fr);
  }

  .blog-meta {
    gap: 8px 12px;
  }

  .blog-meta > * + *::before {
    margin-right: 12px;
  }

  .blog-featured__content h2 {
    font-size: clamp(2rem, 10vw, 2.55rem);
  }

  .blog-topic-strip .container {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .blog-topic-strip .container::-webkit-scrollbar {
    display: none;
  }

  .blog-topic-strip .eyebrow {
    width: auto;
    flex: 0 0 auto;
  }

  .blog-topic-strip a {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .page-hero.article-hero h1 {
    font-size: clamp(2.45rem, 11.5vw, 3.6rem);
  }

  .article-byline {
    gap: 8px 12px;
  }

  .article-byline > span + span::before {
    margin-right: 12px;
  }

  .equipment-grid {
    grid-template-columns: none;
    grid-auto-columns: 86vw;
    grid-auto-flow: column;
    gap: 10px;
    padding-bottom: 14px;
    overflow-x: auto;
    scroll-snap-type: inline mandatory;
  }

  .equipment-card {
    scroll-snap-align: start;
  }

  .equipment-card__image {
    height: 310px;
  }

  .home-chargers .container {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    gap: 22px;
  }

  .home-chargers h2,
  .home-chargers p,
  .home-chargers .button,
  .home-chargers__image {
    grid-column: 1;
    grid-row: auto;
  }

  .home-chargers__image {
    order: 3;
  }

  .home-chargers .button {
    width: 100%;
    order: 4;
  }

  .residential-overview {
    grid-template-columns: minmax(0, 1fr);
  }

  .residential-overview .split-section__image {
    min-height: 420px;
  }

  .residential-cta {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .residential-cta .button {
    width: 100%;
  }

  .location-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .location-card__image,
  .map-frame {
    height: 390px;
    min-height: 390px;
  }

  .location-help {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .location-help .button {
    width: 100%;
    min-width: 0;
  }

  .newsletter__form {
    grid-template-columns: minmax(0, 1fr);
  }

  .newsletter__controls {
    grid-template-columns: minmax(0, 1fr);
  }

  .newsletter__controls button {
    width: 100%;
  }
}

/* Final UI/UX cohesion — calmer product cards, premium endings, mobile rhythm. */

.equipment-grid {
  gap: 14px;
}

.equipment-card {
  display: grid;
  align-content: start;
  padding: clamp(20px, 2.4vw, 30px);
}

.equipment-card__image {
  height: clamp(200px, 20vw, 280px);
  margin-bottom: 18px;
  padding: clamp(10px, 1.6vw, 18px);
}

.equipment-card__eyebrow {
  margin-bottom: 8px;
}

.equipment-card h2 {
  margin-bottom: 14px;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.equipment-card li {
  padding: 8px 0;
  font-size: 0.88rem;
}

.blog-featured__content .eyebrow {
  margin: 16px 0 14px;
}

.blog-featured__media {
  min-height: 0;
  aspect-ratio: 4 / 5;
}

.article-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  row-gap: 8px;
}

.article-byline > span {
  white-space: nowrap;
}

.newsletter {
  border-top: 0;
  background: var(--color-navy);
}

.newsletter__form {
  align-items: start;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 18px 40px rgba(0, 0, 0, 0.18);
}

.newsletter h2 {
  color: #fff;
}

.newsletter label {
  color: rgba(255, 255, 255, 0.72);
}

.newsletter__controls input {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.newsletter__controls input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.newsletter__controls input:hover,
.newsletter__controls input:focus {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
  outline-color: rgba(204, 236, 255, 0.28);
}

.newsletter__controls .newsletter__submit,
.newsletter__controls button.newsletter__submit,
.newsletter__controls input[type="submit"].newsletter__submit {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  min-height: 52px;
  padding: 12px 28px;
  border: 1px solid var(--color-red);
  border-radius: 4px;
  background: var(--color-red);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.newsletter__controls .newsletter__submit:hover,
.newsletter__controls button.newsletter__submit:hover,
.newsletter__controls input[type="submit"].newsletter__submit:hover {
  border-color: #8f0213;
  background: #8f0213;
  color: #fff;
}

.newsletter__controls .newsletter__submit:focus-visible {
  outline: 3px solid var(--color-pale-blue);
  outline-offset: 3px;
}

.newsletter__privacy {
  color: rgba(255, 255, 255, 0.55);
}

.newsletter__privacy a {
  color: var(--color-pale-blue);
}

.newsletter .form-notice {
  border-left-color: var(--color-pale-blue);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.home-faq-cta {
  background: var(--color-navy);
}

.home-faq-cta__button {
  border-color: rgba(255, 255, 255, 0.78);
  background: transparent;
  color: #fff;
}

.home-faq-cta__button:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.home-equipment__grid .home-equipment__card img {
  height: clamp(280px, 28vw, 380px);
}

.home-access__grid,
.home-access__image img {
  min-height: 520px;
}

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

  .blog-featured__media {
    aspect-ratio: 16 / 11;
    min-height: 320px;
  }
}

@media (max-width: 767px) {
  .equipment-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-columns: initial;
    grid-auto-flow: row;
    overflow: visible;
    scroll-snap-type: none;
    padding-bottom: 0;
  }

  .equipment-card__image {
    height: 240px;
  }

  .blog-featured__media {
    min-height: 260px;
    aspect-ratio: 16 / 11;
  }

  .blog-meta,
  .article-byline {
    row-gap: 10px;
  }

  .blog-meta > *,
  .article-byline > span {
    white-space: nowrap;
  }

  .home-access__grid,
  .home-access__image img {
    min-height: 0;
  }

  .home-equipment__grid .home-equipment__card img {
    height: 280px;
  }

  .newsletter h2 {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
  }
}

.site-header__contact {
  align-self: center;
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__tagline-text {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .home-hero__mark {
    animation: none !important;
    opacity: 0.94 !important;
    transform: translateX(-50%) !important;
  }

  .home-hero__tagline {
    transform: translate(-50%, -50%);
  }
}

/* Keep article mastheads compact even after earlier cohesion passes. */
.page-hero.article-hero {
  min-height: 0 !important;
  padding-block: clamp(36px, 4vw, 56px) clamp(40px, 4.5vw, 64px) !important;
}

.page-hero.article-hero .article-breadcrumbs {
  margin-bottom: 22px !important;
}

.page-hero.article-hero .page-hero__title h1 {
  margin-top: 0 !important;
  font-size: clamp(2.4rem, 4.6vw, 4.4rem) !important;
  line-height: 1.02 !important;
}

@media (max-width: 767px) {
  .page-hero.article-hero {
    padding-block: 28px 36px !important;
  }

  .page-hero.article-hero .article-breadcrumbs {
    margin-bottom: 16px !important;
  }

  .page-hero.article-hero .page-hero__title h1 {
    font-size: clamp(2rem, 9vw, 2.8rem) !important;
  }
}

/* Light header polish — keep blue logo + off-white bar as the default chrome */
.site-header.site-header--scrolled,
.site-header.site-header--mega-open,
.site-header.site-header--menu-open {
  border-bottom-color: rgba(28, 49, 68, 0.1);
  background: #f7f8f9;
  box-shadow: 0 1px 0 rgba(28, 49, 68, 0.04);
}

.site-header__contact {
  min-height: 36px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
}

.navigation-toggle {
  border-radius: 4px;
  background: rgba(28, 49, 68, 0.06);
}

.navigation-toggle:hover {
  background: rgba(28, 49, 68, 0.1);
}

.home-page .site-header:not(.site-header--scrolled):not(.site-header--mega-open):not(.site-header--menu-open) .navigation-toggle {
  background: rgba(255, 255, 255, 0.14);
}

.home-page .site-header:not(.site-header--scrolled):not(.site-header--mega-open):not(.site-header--menu-open) .navigation-toggle span {
  background: #fff;
}

.home-page .site-header:not(.site-header--scrolled):not(.site-header--mega-open):not(.site-header--menu-open) .site-header__contact:hover {
  border-color: #fff;
  background: transparent;
  color: #fff;
}

/* Clean modern footer */
.site-footer {
  padding: 0 0 36px;
  background: var(--color-navy);
}

.site-footer__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  padding-block: clamp(48px, 6vw, 72px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__intro p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer__intro h2 {
  margin: 0;
  max-width: 680px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.site-footer__intro .button {
  min-width: 148px;
  min-height: 44px;
  border-color: #fff;
  border-radius: 0;
  background: #fff;
  color: var(--color-navy);
  font-size: 0.84rem;
}

.site-footer__intro .button:hover {
  background: transparent;
  color: #fff;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-block: clamp(36px, 5vw, 56px);
}

.site-footer__label {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.site-footer__links a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 150ms ease;
}

.site-footer__links a:hover {
  color: #fff;
  text-decoration: none;
}

.site-footer__social h2 {
  display: none;
}

.site-footer__social .social-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 22px;
}

.site-footer__social .social-buttons button {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s ease;
}

.site-footer__social .social-buttons button:hover {
  color: #fff;
}

.site-footer__legal {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer__legal a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.84rem;
  text-decoration: none;
}

.site-footer__legal a:hover {
  color: #fff;
}

.site-footer__wordmark {
  display: none;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__logo {
  width: min(200px, 55vw);
  margin: 0;
}

.site-footer__copyright {
  margin: 0;
  padding: 0;
  border: 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.78rem;
  text-align: left;
}

@media (max-width: 767px) {
  .site-footer__intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding-block: 40px;
  }

  .site-footer__intro .button {
    width: 100%;
  }

  .site-footer__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding-block: 36px;
  }

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

/* Final detail pass: align legacy cards and conversion panels with the editorial system. */
.about-overview__grid {
  counter-reset: about-principle;
}

.about-overview__item {
  position: relative;
  min-height: 240px;
  padding: 34px 34px 44px;
  border: 1px solid var(--theme-line);
  background: #fff;
  counter-increment: about-principle;
  text-align: left;
}

.about-overview__item::before {
  display: block;
  margin-bottom: 48px;
  color: var(--theme-muted);
  content: "0" counter(about-principle);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.about-overview__item::after,
.about-overview__item:nth-child(2)::after,
.about-overview__item:nth-child(3)::after {
  right: 34px;
  bottom: 26px;
  left: 34px;
  height: 2px;
  background: var(--color-red);
}

.about-overview__item h2,
.about-overview__item p {
  text-align: left;
}

.service-provider {
  border: 1px solid var(--theme-line);
  background: var(--theme-soft);
}

.residential-cta {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
}

.residential-cta .eyebrow {
  margin: 0 0 12px;
  color: var(--color-pale-blue);
}

.residential-cta h2 {
  max-width: 680px;
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 3.4vw, 3.25rem);
  font-weight: 400;
  line-height: 1;
  text-wrap: balance;
}

.residential-cta .button {
  min-width: 260px;
  min-height: 52px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.home-hero__mark {
  animation: none;
  opacity: 0.52;
}

.home-hero__tagline-text {
  color: #fff;
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: -0.055em;
  -webkit-text-stroke: 0;
  text-shadow: none;
  animation: hero-tagline-reveal 800ms cubic-bezier(0.22, 1, 0.36, 1) 120ms both;
}

@keyframes hero-tagline-reveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 767px) {
  .about-overview__item {
    min-height: 220px;
    padding: 30px 28px 40px;
  }

  .about-overview__item::before {
    margin-bottom: 36px;
  }

  .about-overview__item::after,
  .about-overview__item:nth-child(2)::after,
  .about-overview__item:nth-child(3)::after {
    right: 28px;
    left: 28px;
  }

  .residential-cta {
    grid-template-columns: minmax(0, 1fr);
  }

  .residential-cta .button {
    width: 100%;
    min-width: 0;
  }
}

/* Three-product equipment comparison — centered, denser cards. */
.equipment-section {
  padding: clamp(48px, 6vw, 88px) 0 clamp(72px, 8vw, 112px);
  background: #fff;
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-columns: initial;
  grid-auto-flow: row;
  gap: clamp(18px, 2.2vw, 28px);
  width: min(100%, 1280px);
  margin-inline: auto;
  padding-bottom: 0;
  overflow: visible;
  scroll-snap-type: none;
}

.equipment-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(28, 49, 68, 0.16);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(23, 26, 32, 0.04), 0 14px 32px rgba(23, 26, 32, 0.06);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.equipment-card:hover {
  border-color: rgba(28, 49, 68, 0.3);
  box-shadow: 0 1px 2px rgba(23, 26, 32, 0.05), 0 18px 40px rgba(23, 26, 32, 0.1);
  transform: translateY(-2px);
}

.equipment-card__media {
  position: relative;
  display: grid;
  place-items: stretch;
  flex: 0 0 auto;
  min-height: clamp(240px, 28vw, 320px);
  padding: 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(28, 49, 68, 0.1);
  /* A neutral card surface shows through the transparent product renders. */
  background: #f5f4f3;
}

.equipment-card__status {
  position: absolute;
  z-index: 1;
  top: 18px;
  left: 18px;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--color-navy);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.equipment-card:first-child .equipment-card__media {
  background: #f2f0f1;
}

.equipment-card:last-child .equipment-card__media,
.equipment-card:nth-child(2) .equipment-card__media {
  background: #f9f8f6;
}

.equipment-card__image {
  display: block;
  width: 100%;
  max-width: none;
  height: clamp(240px, 28vw, 320px);
  margin: 0;
  padding: clamp(18px, 2.4vw, 32px);
  object-fit: contain;
  object-position: center bottom;
  background: transparent;
}

.equipment-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 0;
  padding: clamp(22px, 2.6vw, 28px);
}

.equipment-card__eyebrow {
  margin: 0 0 8px;
  color: var(--color-red);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.equipment-card h2 {
  margin: 0 0 14px;
  color: var(--theme-ink);
  font-size: clamp(1.5rem, 2.1vw, 1.85rem);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.equipment-card__power {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 10px;
  margin: 0 0 4px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--theme-line);
}

.equipment-card__power strong {
  color: var(--color-navy);
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
}

.equipment-card__power span {
  color: var(--theme-muted);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.equipment-card__power--compact {
  flex-wrap: nowrap;
  gap: 8px;
  white-space: nowrap;
}

.equipment-card__power--compact strong {
  font-size: clamp(1.3rem, 1.8vw, 1.75rem);
  letter-spacing: -0.045em;
}

.equipment-card__power--compact span {
  flex: 0 0 auto;
}

.equipment-card__specs {
  display: grid;
  gap: 0;
  margin: 12px 0 0;
}

.equipment-card__specs > div {
  display: grid;
  grid-template-columns: minmax(104px, 0.4fr) minmax(0, 1fr);
  gap: 12px 16px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--theme-line);
}

.equipment-card__specs > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.equipment-card__specs dt {
  margin: 0;
  color: var(--theme-muted);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.equipment-card__specs dd {
  margin: 0;
  color: var(--theme-ink);
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.4;
  text-align: right;
}

.equipment-gallery {
  margin-top: clamp(56px, 7vw, 80px);
}

.equipment-residential-cta {
  padding: 0 0 clamp(72px, 8vw, 112px);
  background: #fff;
}

.equipment-residential-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  min-height: clamp(440px, 46vw, 580px);
  overflow: hidden;
  border-radius: 16px;
  background: var(--color-navy);
  box-shadow: 0 20px 48px rgba(23, 26, 32, 0.14);
}

.equipment-residential-cta__media,
.equipment-residential-cta__media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
}

.equipment-residential-cta__media img {
  display: block;
  object-fit: cover;
  object-position: center;
}

.equipment-residential-cta__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(38px, 5vw, 72px);
  color: #fff;
}

.equipment-residential-cta__content .eyebrow {
  margin: 0 0 18px;
  color: var(--color-pale-blue);
}

.equipment-residential-cta__content h2 {
  max-width: 10ch;
  margin: 0;
  color: #fff;
  font-size: clamp(2.35rem, 4vw, 4.25rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.98;
  text-wrap: balance;
}

.equipment-residential-cta__content > p:not(.eyebrow) {
  max-width: 35rem;
  margin: 24px 0 30px;
  color: rgba(255, 255, 255, 0.8);
}

.equipment-residential-cta__content .button {
  border-color: var(--color-red);
  background: var(--color-red);
  color: #fff;
}

.equipment-residential-cta__content .button:hover {
  border-color: #8f0213;
  background: #8f0213;
  color: #fff;
}

.charging-guides-section {
  padding-top: 0;
}

.charging-guides-section .video-grid {
  margin-top: 0;
}

@media (max-width: 900px) {
  .equipment-grid {
    width: min(100%, 520px);
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .equipment-card:hover {
    transform: none;
  }

  .equipment-card__media {
    min-height: 260px;
  }

  .equipment-card__image {
    height: 260px;
  }

  .equipment-residential-cta__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .equipment-residential-cta__media,
  .equipment-residential-cta__media img {
    min-height: 320px;
    height: 320px;
  }

  .equipment-residential-cta__content h2 {
    max-width: 12ch;
  }

  .equipment-residential-cta__content .button {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .equipment-card__specs > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .equipment-card__specs dd {
    text-align: left;
  }
}

/* Home hero mark + tagline — larger white-gradient WG mark, brand-red tagline. */
.home-hero {
  --hero-red: #e10600;
}

.home-hero__mark {
  position: absolute;
  z-index: 1;
  top: 1%;
  left: 50%;
  width: min(1100px, 96vw);
  aspect-ratio: 4 / 3;
  background-color: transparent;
  background-image: url("/assets/welshge/hero-logo-bg-e9183fd6.png");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.96;
  pointer-events: none;
  transform: translateX(-50%);
  -webkit-mask-image: none;
  mask-image: none;
  filter:
    drop-shadow(0 0 1px rgba(255, 255, 255, 0.55))
    drop-shadow(0 10px 28px rgba(0, 0, 0, 0.35));
  animation: hero-mark-breathe 7.5s ease-in-out infinite;
}

.home-hero__tagline-text {
  color: var(--hero-red);
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: clamp(2.6rem, 5.8vw, 5.2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  -webkit-text-stroke: 0;
  text-shadow:
    -2px -2px 0 #fff,
    2px -2px 0 #fff,
    -2px 2px 0 #fff,
    2px 2px 0 #fff,
    -3px 0 0 #fff,
    3px 0 0 #fff,
    0 -3px 0 #fff,
    0 3px 0 #fff,
    0 2px 0 rgba(28, 49, 68, 0.28),
    0 16px 40px rgba(0, 0, 0, 0.45),
    0 0 36px rgba(225, 6, 0, 0.45);
  animation: hero-tagline-reveal 800ms cubic-bezier(0.22, 1, 0.36, 1) 120ms both;
}

@keyframes hero-mark-breathe {
  0%,
  100% { opacity: 0.82; }
  45% { opacity: 0.98; }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__mark {
    animation: none !important;
    opacity: 0.94 !important;
    filter:
      drop-shadow(0 0 1px rgba(255, 255, 255, 0.65))
      drop-shadow(0 12px 30px rgba(0, 0, 0, 0.4)) !important;
  }
}

@media (max-width: 767px) {
  .home-hero__mark {
    top: 3%;
    width: min(620px, 98vw);
  }

  .home-hero__tagline-text {
    font-size: clamp(1.9rem, 8.4vw, 2.55rem);
    text-shadow:
      -1.5px -1.5px 0 #fff,
      1.5px -1.5px 0 #fff,
      -1.5px 1.5px 0 #fff,
      1.5px 1.5px 0 #fff,
      -2px 0 0 #fff,
      2px 0 0 #fff,
      0 -2px 0 #fff,
      0 2px 0 #fff,
      0 12px 28px rgba(0, 0, 0, 0.4),
      0 0 24px rgba(174, 3, 23, 0.35);
  }
}


/* Type system — Fraunces / Source Sans 3 / JetBrains Mono (SubstrateRx-inspired). */
body {
  font-family: var(--font-body);
  font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6,
.home-statement,
.section-heading,
.page-hero h1,
.page-hero h2 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
}

.button,
.site-nav a,
.nav-link,
input,
select,
textarea {
  font-family: var(--font-body);
}

.eyebrow,
.equipment-card__eyebrow,
.home-equipment__card span,
.blog-meta,
.article-byline {
  font-family: var(--font-mono);
}

.home-hero__tagline-text {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 700;
}

/* Larger primary nav labels (Locations / Equipment / Residential / About). */
.desktop-navigation a {
  min-height: 42px;
  padding: 10px 16px;
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.desktop-navigation .desktop-navigation__contact,
.site-header__contact {
  min-height: 42px;
  padding: 10px 22px;
  font-size: 0.95rem;
}

.mobile-navigation a {
  font-size: 1.125rem;
}

/* ------------------------------------------------------------------
   Readability pass — no tiny type.
   Floor: 15px UI / 17px body. Aligns with common WCAG-friendly sizes.
------------------------------------------------------------------- */
:root {
  --font-size-body: 1.0625rem;   /* 17px */
  --font-size-ui: 0.9375rem;     /* 15px minimum for chrome */
  --font-size-label: 0.9375rem;  /* 15px eyebrows / meta */
  --font-size-button: 1rem;      /* 16px */
  --font-size-small: 0.9375rem;  /* replaces former 12–13px legal/meta */
}

body {
  font-size: var(--font-size-body);
  line-height: 1.65;
}

p,
li,
dd,
td,
th,
label,
input,
select,
textarea,
.button,
.form-notice,
.field,
.site-main {
  font-size: inherit;
}

p,
li,
.home-access p,
.feature-card p,
.about-overview__item p,
.team-card p,
.split-section__content p,
.page-hero__dek,
.location-card p,
.blog-card p,
.faq-item p,
.newsletter p {
  font-size: 1.0625rem;
  line-height: 1.65;
}

/* Keep page-hero eyebrows on the shared label token, not body paragraph size. */
.page-hero__title .eyebrow,
.page-hero__title .eyebrow--light {
  font-size: var(--font-size-label) !important;
  letter-spacing: 0.1em;
  line-height: 1.3;
}

/* Eyebrows / uppercase labels — was ~11px */
.eyebrow,
.eyebrow--light,
.equipment-card__eyebrow,
.mega-menu__eyebrow,
.mega-menu__label,
.blog-topic-strip a,
.home-equipment__card span,
.article-breadcrumbs,
.article-breadcrumbs a {
  font-size: var(--font-size-label) !important;
  letter-spacing: 0.08em;
  line-height: 1.35;
}

/* Meta / bylines / tags */
.blog-meta,
.blog-meta span,
.article-byline,
.article-byline span,
.team-card__role,
.text-link,
.blog-card .text-link {
  font-size: var(--font-size-ui) !important;
  line-height: 1.45;
}

/* Specs / definition lists */
.equipment-card__specs dt,
.equipment-card__power span {
  font-size: var(--font-size-label) !important;
  letter-spacing: 0.06em;
}

.equipment-card__specs dd {
  font-size: 1.0625rem !important;
}

/* Buttons & CTAs */
.button,
.home-hero__actions .button,
.site-header__contact,
.desktop-navigation .desktop-navigation__contact,
button.button {
  font-size: var(--font-size-button) !important;
  line-height: 1.25;
}

.desktop-navigation a {
  font-size: 1.0625rem !important;
}

.mobile-navigation a {
  font-size: 1.125rem !important;
}

/* Forms */
label,
.field label,
.newsletter label,
.contact-form label,
.survey-form label {
  font-size: var(--font-size-ui) !important;
}

input,
select,
textarea,
.newsletter__controls input {
  font-size: 1.0625rem !important;
}

/* Footer / legal / newsletter fine print */
.site-footer,
.site-footer a,
.site-footer p,
.site-footer__copyright,
.newsletter__privacy,
.newsletter__privacy a,
.mega-menu__links span,
.mega-menu__links a span {
  font-size: var(--font-size-small) !important;
  line-height: 1.5;
}

.mega-menu__links a strong,
.mega-menu__feature strong {
  font-size: 1.0625rem !important;
}

/* Numbered steps / small badges on home */
.home-why span,
.feature-card span,
.about-overview__item::before,
.home-access__grid span {
  font-size: var(--font-size-label) !important;
}

/* FAQ / cards secondary copy */
.faq-item summary,
.location-card li,
.residential-overview li,
.feature-card li {
  font-size: 1.0625rem !important;
}

/* Blog topic chips / filters */
.blog-topic-strip a {
  font-size: var(--font-size-ui) !important;
  letter-spacing: 0.02em;
  text-transform: none;
  font-family: var(--font-body) !important;
  font-weight: 500;
}

@media (max-width: 767px) {
  body {
    font-size: 1.0625rem;
  }

  p,
  li {
    font-size: 1.0625rem;
  }

  .button {
    font-size: 1rem !important;
  }
}

/* Remaining small-type fixes */
.home-faq-preview__list a > span:first-child {
  font-size: var(--font-size-label) !important;
  font-family: var(--font-mono);
  font-weight: 500;
}

.home-faq-preview__list strong {
  font-size: 1.0625rem !important;
}

.value-card h3 {
  font-size: 1.125rem !important;
}

.value-card p {
  font-size: 1.0625rem !important;
  line-height: 1.6;
}

.mega-menu__feature > span:last-child,
.mega-menu__links a span {
  font-size: var(--font-size-ui) !important;
  line-height: 1.45;
}

.mobile-navigation__label {
  font-size: var(--font-size-label) !important;
  letter-spacing: 0.1em;
}

.mobile-navigation__header,
.mobile-navigation__header a,
.mobile-navigation__footer {
  font-size: var(--font-size-ui) !important;
}

.benefit__number {
  font-size: 1.125rem !important;
}

.blog-meta time,
.article-byline time,
time {
  font-size: var(--font-size-ui) !important;
}

/* Map embeds — muted navy color scheme via CSS filters (no Maps JS API key). */
.home-map,
.map-frame {
  position: relative;
  overflow: hidden;
  background: var(--color-navy);
}

.home-map iframe,
.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter:
    grayscale(0.38)
    saturate(0.5)
    brightness(0.7)
    contrast(1.1)
    hue-rotate(195deg);
}

.home-map::before {
  display: none !important;
}

.home-map::after,
.map-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: auto;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(28, 49, 68, 0.22),
    rgba(28, 49, 68, 0.08) 42%,
    rgba(28, 49, 68, 0.28)
  );
}

/* ------------------------------------------------------------------
   Home hero nav — larger logo on transparent load, compact on scroll.
------------------------------------------------------------------- */
.site-header,
.site-header__inner {
  transition:
    height 320ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.site-header__brand img {
  width: 220px;
  max-height: 18px;
  transition:
    width 320ms cubic-bezier(0.22, 1, 0.36, 1),
    max-height 320ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 220ms ease;
}

/* Transparent hero: more presence */
.home-page .site-header:not(.site-header--scrolled):not(.site-header--mega-open):not(.site-header--menu-open) {
  height: 76px;
}

.home-page .site-header:not(.site-header--scrolled):not(.site-header--mega-open):not(.site-header--menu-open) .site-header__inner {
  height: 76px;
}

.home-page .site-header:not(.site-header--scrolled):not(.site-header--mega-open):not(.site-header--menu-open) .site-header__brand img {
  width: min(300px, 34vw);
  max-height: 28px;
  filter: none;
}

/* Compact when scrolled / menus open */
.home-page .site-header.site-header--scrolled,
.home-page .site-header.site-header--mega-open,
.home-page .site-header.site-header--menu-open {
  height: var(--header-height);
}

.home-page .site-header.site-header--scrolled .site-header__inner,
.home-page .site-header.site-header--mega-open .site-header__inner,
.home-page .site-header.site-header--menu-open .site-header__inner {
  height: var(--header-height);
}

.home-page .site-header.site-header--scrolled .site-header__brand img,
.home-page .site-header.site-header--mega-open .site-header__brand img,
.home-page .site-header.site-header--menu-open .site-header__brand img {
  width: 220px;
  max-height: 18px;
}

@media (max-width: 1050px) {
  .home-page .site-header:not(.site-header--scrolled):not(.site-header--mega-open):not(.site-header--menu-open) {
    height: 70px;
  }

  .home-page .site-header:not(.site-header--scrolled):not(.site-header--mega-open):not(.site-header--menu-open) .site-header__inner {
    height: 70px;
  }

  .home-page .site-header:not(.site-header--scrolled):not(.site-header--mega-open):not(.site-header--menu-open) .site-header__brand img {
    width: min(248px, 58vw);
    max-height: 24px;
  }

  .home-page .site-header.site-header--scrolled .site-header__brand img,
  .home-page .site-header.site-header--mega-open .site-header__brand img,
  .home-page .site-header.site-header--menu-open .site-header__brand img {
    width: 196px;
    max-height: 17px;
  }
}

@media (max-width: 767px) {
  .home-page .site-header:not(.site-header--scrolled):not(.site-header--mega-open):not(.site-header--menu-open) .site-header__brand img {
    width: min(220px, 56vw);
    max-height: 22px;
  }

  .home-page .site-header.site-header--scrolled .site-header__brand img,
  .home-page .site-header.site-header--mega-open .site-header__brand img,
  .home-page .site-header.site-header--menu-open .site-header__brand img {
    width: 180px;
    max-height: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .site-header__inner,
  .site-header__brand img {
    transition-duration: 0.01ms !important;
  }
}

/* Thank-you submission summary */
.thank-you-summary {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
}

.thank-you-summary > div {
  display: grid;
  grid-template-columns: minmax(140px, 0.35fr) minmax(0, 1fr);
  gap: 12px 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--theme-line);
}

.thank-you-summary dt {
  margin: 0;
  color: var(--theme-muted);
  font-family: var(--font-mono);
  font-size: var(--font-size-label);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.thank-you-summary dd {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.55;
}

.thank-you-summary dd p:last-child {
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .thank-you-summary > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
}

/* ==========================================================================
   Site layout system
   Full-width section backgrounds → shared max-width containers → flexible content
   ========================================================================== */

:root {
  --container-wide: 1320px;
  --container-shell: 1320px;
  --container-medium: 1120px;
  --container-narrow: 780px;
  --page-gutter: clamp(20px, 4.5vw, 48px);
  --section-space: clamp(88px, 9vw, 128px);
  --section-space-tight: clamp(64px, 6vw, 88px);
}

/* Sections always span the viewport so backgrounds never "cut short". */
.section,
.home-equipment,
.home-access,
.home-locations,
.home-faq-preview,
.latest-articles,
.newsletter,
.page-hero,
.equipment-section,
.contact-section,
.survey-section,
.locations-section,
.team-section,
.values-section,
.community-section,
.faq-section,
.blog-index-section,
.residential-overview,
.about-overview,
.site-footer {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  box-sizing: border-box;
}

/* Shared inner content rail — same gutter and centering everywhere. */
.container,
.container--wide,
.container--medium,
.container--narrow,
.site-header__inner,
.site-footer > .container {
  width: 100%;
  margin-inline: auto;
  padding-inline: var(--page-gutter);
  box-sizing: border-box;
}

.container,
.container--wide,
.site-header__inner,
.site-footer > .container {
  max-width: var(--container-wide);
}

.container--medium {
  max-width: var(--container-medium);
}

.container--narrow {
  max-width: var(--container-narrow);
}

/* Kill one-off container widths that fought the shared rail. */
.home-equipment .container,
.home-access > .container,
.home-locations > .container,
.latest-articles .container,
.mega-menu__panel-inner {
  max-width: var(--container-wide) !important;
}

/* ---------- Home: Why WGE — full-bleed band ---------- */
.home-why {
  display: grid;
  width: 100% !important;
  max-width: none !important;
  margin: clamp(48px, 6vw, 72px) 0 0 !important;
  overflow: hidden;
  border-radius: 0 !important;
  background: var(--color-navy);
}

.home-why__content {
  padding: 24px var(--page-gutter) clamp(36px, 5vw, 64px);
}

@media (min-width: 901px) {
  .home-why {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  }

  .home-why__content {
    /* Align copy with the shared content rail on wide screens. */
    padding-right: max(var(--page-gutter), calc((100vw - var(--container-wide)) / 2 + var(--page-gutter)));
  }
}

/* ---------- Home: Locations — full-bleed soft band + aligned inner ---------- */
.home-locations {
  padding-top: var(--section-space);
  padding-bottom: 0;
  background: var(--theme-soft);
}

.home-locations__inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding-block: clamp(48px, 6vw, 80px);
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  min-height: 0 !important;
  overflow: visible !important;
}

.home-locations__copy {
  display: grid;
  gap: 18px;
  align-content: start;
}

.home-locations__copy .eyebrow,
.home-locations__copy .section-heading,
.home-locations__copy p,
.home-locations__button {
  grid-column: auto;
  grid-row: auto;
  margin: 0;
  padding-inline: 0 !important;
}

.home-locations__copy .section-heading {
  text-align: left;
  font-size: clamp(2.5rem, 4.8vw, 4.4rem);
}

.home-locations__preview {
  width: 100%;
  min-height: 420px;
  height: clamp(420px, 42vw, 560px);
  border-radius: var(--radius);
  object-fit: cover;
}

.home-locations__button {
  justify-self: start;
  margin-top: 8px;
}

/* Map: full-bleed under the locations band */
.home-map {
  width: 100% !important;
  max-width: none !important;
  height: min(58vh, 560px);
  min-height: 420px;
  margin: 0 !important;
  border: 0;
  border-radius: 0 !important;
  border-top: 1px solid var(--theme-line);
}

.home-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Content-width constraints stay inside the shared rail (forms, prose). */
.survey-form,
.contact-form,
.thank-you-card {
  width: min(100%, 1040px);
  margin-inline: 0;
}

.values-grid {
  width: 100%;
  max-width: none;
}

.home-statement,
.home-section-intro--center .home-statement {
  max-width: 52rem;
}

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

  .home-why__image {
    min-height: 360px;
  }

  .home-why__content {
    padding: 20px var(--page-gutter) 40px;
  }

  .home-locations__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .home-locations__preview {
    min-height: 280px;
    height: 300px;
  }

  .home-map {
    min-height: 320px;
    height: 360px;
  }
}

/* Home locations — force shared-rail two-column layout over legacy grid. */
.home-locations > .container.home-locations__inner,
.home-locations__inner {
  display: grid !important;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr) !important;
  grid-template-rows: none !important;
  gap: clamp(28px, 4vw, 56px) !important;
  align-items: center !important;
  min-height: 0 !important;
  padding: clamp(48px, 6vw, 80px) var(--page-gutter) !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.home-locations__copy {
  display: grid !important;
  grid-column: 1 !important;
  grid-row: 1 !important;
  gap: 18px;
  align-content: start;
  padding: 0 !important;
}

.home-locations__preview {
  grid-column: 2 !important;
  grid-row: 1 !important;
  grid-area: auto !important;
  width: 100% !important;
  min-height: 420px !important;
  height: clamp(420px, 42vw, 560px) !important;
  margin: 0 !important;
  border-radius: var(--radius) !important;
  object-fit: cover !important;
}

.home-locations__copy .eyebrow,
.home-locations__copy .section-heading,
.home-locations__copy > p,
.home-locations__button {
  grid-column: auto !important;
  grid-row: auto !important;
  align-self: start !important;
  margin: 0 !important;
  padding: 0 !important;
  padding-inline: 0 !important;
}

.home-locations__copy .section-heading {
  text-align: left !important;
}

.home-locations__button {
  justify-self: start !important;
  margin-top: 8px !important;
}

@media (max-width: 900px) {
  .home-locations > .container.home-locations__inner,
  .home-locations__inner {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .home-locations__copy,
  .home-locations__preview {
    grid-column: 1 !important;
    grid-row: auto !important;
  }

  .home-locations__preview {
    min-height: 280px !important;
    height: 300px !important;
  }
}

.home-equipment .equipment-grid {
  margin-bottom: clamp(28px, 4vw, 40px);
}

.home-equipment .button-row {
  justify-content: center;
}

/* ==========================================================================
   Home vertical rhythm + measure
   Section bands sit flush (no stacked padding/margins between them).
   Content breathing room lives on inner containers only.
   ========================================================================== */

.home-equipment,
.home-access,
.home-faq-preview,
.latest-articles,
.newsletter {
  padding-block: 0 !important;
}

.home-equipment > .container,
.home-faq-preview > .container,
.latest-articles > .container {
  padding-block: var(--section-space-tight) !important;
}

.home-access > .container {
  padding-block: var(--section-space-tight) !important;
}

.newsletter > .container {
  padding-block: var(--section-space-tight) !important;
}

.home-locations {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.home-locations__inner,
.home-locations > .container.home-locations__inner {
  padding-block: var(--section-space-tight) !important;
  padding-inline: var(--page-gutter) !important;
}

.home-why {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.home-map {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Keep FAQ on the same rail as Equipment / Articles (no 1440 outlier). */
.home-faq-preview > .container,
.home-faq-preview .container--wide {
  max-width: var(--container-wide) !important;
}

/* Text measure — statements stay readable inside the wide rail. */
.home-section-intro {
  max-width: min(1080px, 100%);
  margin-inline: auto;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.home-statement,
.home-section-intro--center .home-statement {
  max-width: min(52rem, 100%) !important;
  margin-inline: auto;
}

.home-faq-preview__header h2 {
  max-width: min(40rem, 100%);
}

.home-access__copy h3 {
  max-width: 36rem;
}

.latest-articles__header .section-heading {
  max-width: min(22rem, 100%);
}

/* Newsletter stays intentionally inset (form panel), same vertical rhythm. */
.newsletter > .container {
  max-width: var(--container-medium) !important;
}

@media (max-width: 900px) {
  :root {
    --page-gutter: 20px;
    --section-space: 80px;
    --section-space-tight: 56px;
  }

  .home-locations__inner,
  .home-locations > .container.home-locations__inner {
    padding-block: var(--section-space-tight) !important;
  }
}

@media (max-width: 767px) {
  :root {
    --page-gutter: 18px;
    --section-space: 72px;
    --section-space-tight: 48px;
  }

  .home-equipment > .container,
  .home-access > .container,
  .home-faq-preview > .container,
  .latest-articles > .container,
  .newsletter > .container {
    padding-block: var(--section-space-tight) !important;
  }
}

/* Contact page — balanced form + cohesive contact card */
.contact-section {
  padding: clamp(40px, 5vw, 64px) 0 clamp(72px, 8vw, 112px);
  background: #fff;
}

.contact-section > .container {
  display: block;
  max-width: var(--container-wide) !important;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  gap: clamp(18px, 2.2vw, 28px);
  align-items: stretch;
}

.contact-form {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(28px, 3.5vw, 40px);
  border: 1px solid var(--theme-line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: none;
}

.contact-form__intro {
  margin-bottom: 24px;
}

.contact-form__intro h2 {
  margin: 0 0 8px;
  color: var(--theme-ink);
  font-size: clamp(1.65rem, 2.5vw, 2.1rem);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.contact-form__intro p {
  margin: 0;
  color: var(--theme-muted);
  font-size: 1.0625rem;
  line-height: 1.5;
}

.contact-form .form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 16px;
}

.contact-form .field {
  display: grid;
  gap: 7px;
}

.contact-form .field--full {
  grid-column: 1 / -1;
}

.contact-form .field label {
  margin: 0;
  color: var(--theme-muted);
  font-size: var(--font-size-ui);
  font-weight: 500;
}

.contact-form input:not([type="submit"]):not([type="button"]),
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid rgba(28, 49, 68, 0.16);
  border-radius: 4px;
  background: #fff;
  color: var(--theme-ink);
  font: inherit;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.contact-form input:not([type="submit"]):not([type="button"]):hover,
.contact-form textarea:hover {
  border-color: rgba(28, 49, 68, 0.28);
}

.contact-form input:not([type="submit"]):not([type="button"]):focus,
.contact-form textarea:focus {
  border-color: rgba(28, 49, 68, 0.5);
  box-shadow: 0 0 0 3px rgba(28, 49, 68, 0.08);
  outline: none;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form__submit,
.contact-form button.contact-form__submit {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  width: auto;
  min-width: 180px;
  min-height: 48px;
  margin-top: 24px;
  padding: 12px 28px;
  border: 1px solid var(--color-navy);
  border-radius: 4px;
  background: var(--color-navy);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.contact-form__submit:hover,
.contact-form button.contact-form__submit:hover {
  border-color: var(--color-navy-mid);
  background: var(--color-navy-mid);
  color: #fff;
}

.contact-form__submit:focus-visible {
  outline: 3px solid var(--color-red);
  outline-offset: 3px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(28, 49, 68, 0.14);
  border-radius: var(--radius);
  background: #f3f7fb;
}

.contact-card__body {
  display: grid;
  gap: 24px;
  padding: clamp(28px, 3.5vw, 36px);
}

.contact-card__intro .eyebrow {
  margin: 0 0 10px;
  color: var(--color-navy-mid);
}

.contact-card__intro h2 {
  margin: 0 0 10px;
  color: var(--color-navy);
  font-size: clamp(1.55rem, 2.3vw, 1.9rem);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.contact-card__intro p {
  margin: 0;
  color: rgba(28, 49, 68, 0.78);
  font-size: 1rem;
  line-height: 1.55;
}

.contact-card__methods {
  display: grid;
  gap: 12px;
}

.contact-method {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid rgba(28, 49, 68, 0.12);
  border-radius: 8px;
  background: #fff;
  color: var(--color-navy);
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.contact-method:hover {
  border-color: rgba(28, 49, 68, 0.28);
  background: #fff;
  color: var(--color-navy);
}

.contact-method:hover .contact-method__icon {
  border-color: var(--color-navy);
  color: var(--color-navy);
}

.contact-method__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1.5px solid rgba(28, 49, 68, 0.22);
  border-radius: 999px;
  background: transparent;
  color: var(--color-navy);
}

.contact-method__icon svg {
  width: 20px;
  height: 20px;
}

.contact-method__copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.contact-method__label {
  color: rgba(28, 49, 68, 0.58);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.contact-method strong {
  color: var(--color-navy);
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  word-break: break-word;
}

.contact-card__image {
  display: block;
  width: 100%;
  min-height: 220px;
  height: clamp(220px, 26vw, 300px);
  margin-top: auto;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .contact-form .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-form__submit,
  .contact-form button.contact-form__submit {
    width: 100%;
  }

  .contact-card__image {
    min-height: 200px;
    height: 220px;
  }
}

/* Survey form footer CTA — consent + button inline */
.survey-form__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: clamp(8px, 1.5vw, 16px);
  padding-top: clamp(8px, 1.5vw, 12px);
}

.survey-form__consent {
  flex: 1 1 280px;
  margin: 0;
  max-width: 36rem;
  color: var(--theme-muted);
  font-size: var(--font-size-ui);
  line-height: 1.55;
}

.survey-form__actions {
  display: flex;
  flex: 0 0 auto;
  justify-content: flex-end;
  margin: 0;
  text-align: right;
}

.survey-form__submit,
.survey-form__actions .survey-form__submit.button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: auto;
  min-width: 220px;
  max-width: 260px;
  min-height: 50px;
  padding: 12px 22px 12px 26px;
  border: 1px solid var(--color-navy);
  border-radius: var(--radius-pill, 4px);
  background: var(--color-navy);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.survey-form__submit:hover,
.survey-form__actions .survey-form__submit.button:hover {
  border-color: var(--color-navy-mid);
  background: var(--color-navy-mid);
  color: #fff;
}

.survey-form__submit:focus-visible {
  outline: 3px solid var(--color-red);
  outline-offset: 3px;
}

.survey-form__submit:active {
  transform: translateY(1px);
}

.survey-form__submit:disabled,
.survey-form__submit[aria-disabled="true"],
.survey-form__submit.is-loading {
  border-color: rgba(28, 49, 68, 0.45);
  background: rgba(28, 49, 68, 0.45);
  color: rgba(255, 255, 255, 0.85);
  cursor: not-allowed;
  transform: none;
}

.survey-form__submit-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  transition: transform 160ms ease;
}

.survey-form__submit:hover .survey-form__submit-icon {
  transform: translateX(3px);
}

.survey-form__submit.is-loading .survey-form__submit-icon {
  opacity: 0.7;
}

@media (max-width: 700px) {
  .survey-form__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .survey-form__consent {
    max-width: none;
  }

  .survey-form__actions {
    justify-content: stretch;
    width: 100%;
  }

  .survey-form__submit,
  .survey-form__actions .survey-form__submit.button {
    width: 100%;
    max-width: none;
  }
}

/* Survey section headings — inside the card, not on the border */
.survey-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 28px clamp(24px, 4vw, 40px) clamp(24px, 4vw, 40px);
  border: 0;
  border-radius: var(--radius);
  background: #fff;
}

.survey-card > legend:not(.visually-hidden) {
  position: static;
  float: none;
  display: block;
  width: 100%;
  max-width: none;
  margin: 0 0 22px;
  padding: 0;
  border: 0;
  color: var(--color-navy);
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: clamp(1.25rem, 2vw, 1.5rem); /* ~20–24px */
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

/* Ensure the first content block clears any legacy legend float */
.survey-card > legend:not(.visually-hidden) + * {
  clear: both;
}

.survey-uploads {
  padding: 28px clamp(24px, 4vw, 40px) clamp(24px, 4vw, 40px);
  border-radius: var(--radius);
  background: #fff;
}

.survey-uploads > h2 {
  margin: 0 0 22px;
  padding: 0;
  color: var(--color-navy);
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.survey-form > .form-grid {
  padding: 28px clamp(24px, 4vw, 40px) clamp(24px, 4vw, 40px);
}

/* Survey card titles — normal in-card headings (legend stays visually hidden). */
.survey-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 28px clamp(24px, 4vw, 40px) clamp(24px, 4vw, 40px) !important;
  border: 0;
  border-radius: var(--radius);
  background: #fff;
}

.survey-card__title,
.survey-uploads > .survey-card__title {
  margin: 0 0 22px !important;
  padding: 0 !important;
  color: var(--color-red) !important;
  font-family: var(--font-display) !important;
  font-optical-sizing: auto;
  font-size: clamp(1.25rem, 2vw, 1.5rem) !important; /* 20–24px */
  font-weight: 600 !important;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.survey-uploads {
  padding: 28px clamp(24px, 4vw, 40px) clamp(24px, 4vw, 40px) !important;
}

.survey-form > .form-grid {
  padding: 28px clamp(24px, 4vw, 40px) clamp(24px, 4vw, 40px) !important;
}

/* Keep form grids inside cards from adding their own competing padding */
.survey-card > .form-grid {
  padding: 0 !important;
  margin: 0;
}

/* Form labels — always above the control, never centered inside the field. */
.survey-form .field,
.contact-form .field {
  position: relative;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 8px !important;
  align-content: start;
  justify-items: stretch;
}

.survey-form .field > label,
.contact-form .field > label {
  position: static !important;
  inset: auto !important;
  display: block !important;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  text-align: left !important;
  color: var(--theme-muted) !important;
  font-size: var(--font-size-ui) !important;
  font-weight: 500 !important;
  line-height: 1.35;
  pointer-events: auto;
}

.survey-form .field > input,
.survey-form .field > select,
.survey-form .field > textarea,
.contact-form .field > input,
.contact-form .field > select,
.contact-form .field > textarea {
  position: static !important;
  width: 100%;
  margin: 0;
}

/* Empty select prompt should read as placeholder, not selected value. */
.survey-form select:has(option[value=""]:checked),
.contact-form select:has(option[value=""]:checked) {
  color: rgba(28, 49, 68, 0.45);
}

.survey-form select option,
.contact-form select option {
  color: var(--theme-ink);
}

/* Locations map — muted navy wash, no red tint. */
.home-map iframe,
.map-frame iframe {
  filter:
    grayscale(0.38)
    saturate(0.5)
    brightness(0.72)
    contrast(1.08)
    hue-rotate(195deg) !important;
}

.home-map::after,
.map-frame::after {
  background: rgba(28, 49, 68, 0.18) !important;
  background-image: linear-gradient(
    180deg,
    rgba(28, 49, 68, 0.22),
    rgba(28, 49, 68, 0.08) 42%,
    rgba(28, 49, 68, 0.28)
  ) !important;
}

/* Keep the homepage Google Map in its original colors. */
.home-map iframe {
  filter: none !important;
}

.home-map::after {
  display: none !important;
  content: none;
  background: none !important;
  background-image: none !important;
}

/* =============================================================================
   Home hero — centered brand cluster
   Video → soft radial navy glow behind cluster → WG → name → red tagline → CTAs
   Appended last so it wins over earlier .home-hero* overrides.
   ============================================================================= */

.home-hero {
  --hero-red: #e10600;
  --hero-navy: 28, 49, 68;
  position: relative;
  min-height: 100svh;
  height: 100svh;
  max-height: none;
  overflow: hidden;
  background: var(--color-navy);
}

.home-hero__video,
.home-hero__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-hero__video {
  object-fit: cover;
  object-position: center center;
}

/* Light full-bleed wash only — not the cluster glow */
.home-hero__overlay {
  background:
    linear-gradient(
      180deg,
      rgba(7, 14, 22, 0.22) 0%,
      rgba(7, 14, 22, 0.05) 40%,
      rgba(7, 14, 22, 0.08) 70%,
      rgba(7, 14, 22, 0.28) 100%
    );
}

.home-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100svh;
  height: 100svh;
  max-height: none;
  padding:
    calc(var(--header-height, 72px) + 12px)
    var(--page-gutter, 24px)
    32px;
  box-sizing: border-box;
}

/* Single centered content group */
.home-hero__cluster {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(640px, 100%);
  padding: clamp(12px, 2vh, 28px) clamp(12px, 3vw, 28px);
  text-align: center;
}

/* Soft navy glow — behind cluster only, radial, not a panel */
.home-hero__glow {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  width: min(920px, 160vw);
  height: min(720px, 120vw);
  pointer-events: none;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    ellipse 50% 42% at 50% 48%,
    rgba(var(--hero-navy), 0.78) 0%,
    rgba(var(--hero-navy), 0.55) 22%,
    rgba(var(--hero-navy), 0.28) 42%,
    rgba(var(--hero-navy), 0.1) 62%,
    rgba(var(--hero-navy), 0) 78%
  );
  filter: blur(28px);
}

.home-hero__brand,
.home-hero__tagline,
.home-hero__actions {
  position: relative;
  z-index: 1;
}

.home-hero__brand {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0 0 4px;
}

/* Full WG + wordmark — nothing cut off, larger */
.home-hero__logo {
  display: block;
  width: min(680px, 92vw) !important;
  max-width: 92vw !important;
  height: auto !important;
  margin: 0 auto;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.28));
  pointer-events: none;
  user-select: none;
}

/* Kill legacy floating title / oversized mark rules */
.home-hero__mark,
.home-hero__monogram,
.home-hero__name,
.home-hero__copy,
.home-hero__title,
.home-hero__tagline-text {
  display: none !important;
}

.home-hero__tagline {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  display: block !important;
  width: min(620px, 92vw);
  margin: 2px 0 20px;
  overflow: visible;
  text-align: center;
  pointer-events: auto;
  transform: none !important;
  animation: none !important;
  isolation: isolate;
}

/* SVG accents — hug the letterforms, soft pulse, no framing box */
.home-hero__tagline-bolts {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: visible;
  pointer-events: none;
  user-select: none;
  color: rgba(220, 245, 255, 0.85);
  background: none;
  filter:
    drop-shadow(0 0 1.5px rgba(200, 235, 255, 0.55))
    drop-shadow(0 0 6px rgba(110, 190, 255, 0.28));
}

.home-hero__bolt-core {
  stroke: rgba(245, 252, 255, 0.85);
  stroke-width: 1.35;
}

.home-hero__bolt-core--live {
  stroke-dasharray: 36 160;
  stroke-dashoffset: 0;
  animation: hero-bolt-current 9.5s ease-in-out infinite;
}

.home-hero__bolt-glow {
  stroke: rgba(150, 210, 255, 0.28);
  stroke-width: 3.4;
  opacity: 0.55;
}

.home-hero__bolt--sparks {
  color: rgba(230, 248, 255, 0.7);
  animation: hero-bolt-pulse 8.5s ease-in-out infinite;
}

.home-hero__bolt--a { animation: hero-bolt-pulse 9s ease-in-out infinite; }
.home-hero__bolt--b { animation: hero-bolt-pulse 10s ease-in-out -1.4s infinite; }
.home-hero__bolt--c { animation: hero-bolt-pulse 11s ease-in-out -2.8s infinite; }
.home-hero__bolt--d { animation: hero-bolt-pulse 9.5s ease-in-out -0.8s infinite; }
.home-hero__bolt--e { animation: hero-bolt-pulse 10.5s ease-in-out -3.6s infinite; }
.home-hero__bolt--f { animation: hero-bolt-pulse 10s ease-in-out -2s infinite; }
.home-hero__bolt--g { animation: hero-bolt-pulse 11s ease-in-out -4.2s infinite; }
.home-hero__bolt--h { animation: hero-bolt-pulse 9.5s ease-in-out -5s infinite; }

.home-hero__bolt--a .home-hero__bolt-core--live { animation-delay: 0s; }
.home-hero__bolt--b .home-hero__bolt-core--live { animation-delay: -1.2s; }
.home-hero__bolt--c .home-hero__bolt-core--live { animation-delay: -2.5s; }
.home-hero__bolt--d .home-hero__bolt-core--live { animation-delay: -0.6s; }
.home-hero__bolt--e .home-hero__bolt-core--live { animation-delay: -3.4s; }
.home-hero__bolt--f .home-hero__bolt-core--live { animation-delay: -1.8s; }
.home-hero__bolt--g .home-hero__bolt-core--live { animation-delay: -4s; }
.home-hero__bolt--h .home-hero__bolt-core--live { animation-delay: -5.2s; }

.home-hero__tagline-image {
  position: relative;
  z-index: 1;
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 auto;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.28));
  pointer-events: none;
  user-select: none;
}

/* Slow traveling highlight along each accent */
@keyframes hero-bolt-current {
  0% { stroke-dashoffset: 196; opacity: 0.35; }
  45% { opacity: 0.9; }
  100% { stroke-dashoffset: -196; opacity: 0.35; }
}

/* Gentle breathe — no hard flicker */
@keyframes hero-bolt-pulse {
  0%,
  100% { opacity: 0.22; }
  50% { opacity: 0.58; }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__bolt,
  .home-hero__bolt-core--live,
  .home-hero__bolt--sparks {
    animation: none !important;
  }

  .home-hero__bolt,
  .home-hero__bolt--sparks {
    opacity: 0.4;
  }

  .home-hero__bolt-core--live {
    stroke-dasharray: none;
    stroke-dashoffset: 0;
    opacity: 0.7;
  }
}

@media (max-width: 767px) {
  .home-hero__bolt-core {
    stroke-width: 1.5;
  }

  .home-hero__bolt-glow {
    stroke-width: 3.8;
  }
}

.home-hero__actions {
  position: relative;
  top: auto;
  bottom: auto;
  left: auto;
  display: grid;
  width: min(400px, 100%);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  transform: none;
}

.home-hero__actions .button {
  min-width: 0;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 4px;
  font-size: 0.875rem !important;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-align: center;
}

.home-hero__primary {
  border-color: var(--color-red) !important;
  background: var(--color-red) !important;
  color: #fff !important;
}

.home-hero__primary:hover {
  border-color: #c50820 !important;
  background: #c50820 !important;
  color: #fff !important;
}

.home-hero__actions .button--light {
  border-color: rgba(255, 255, 255, 0.95) !important;
  background: rgba(255, 255, 255, 0.9) !important;
  color: rgba(23, 26, 32, 0.96) !important;
}

.home-hero__actions .button--light:hover {
  border-color: #fff !important;
  background: #fff !important;
  color: #000 !important;
}

@media (max-width: 900px) {
  .home-hero,
  .home-hero__inner {
    min-height: 100svh;
    height: 100svh;
    max-height: none;
  }

  .home-hero__logo {
    width: min(480px, 90vw) !important;
  }

  .home-hero__tagline {
    width: min(520px, 92vw);
    margin-bottom: 18px;
  }

  .home-hero__actions {
    width: min(360px, 100%);
  }
}

@media (max-width: 767px) {
  .home-hero__inner {
    padding:
      calc(var(--header-height, 64px) + 8px)
      var(--page-gutter, 18px)
      24px;
  }

  .home-hero__cluster {
    width: min(420px, 100%);
    padding: 24px 16px;
  }

  .home-hero__glow {
    width: 160%;
    height: 140%;
  }

  .home-hero__logo {
    width: min(380px, 92vw) !important;
  }

  .home-hero__tagline {
    width: min(400px, 94vw);
    margin: 2px 0 16px;
  }

  .home-hero__actions {
    width: 100%;
    max-width: 320px;
    gap: 10px;
  }

  .home-hero__actions .button {
    min-height: 42px;
    padding: 11px 14px;
    font-size: 0.8125rem !important;
  }
}

@media (max-width: 420px) {
  .home-hero__actions {
    grid-template-columns: 1fr;
    max-width: 260px;
  }
}
