/* --- Brightbeam SEO · Home --- */
:root {
  --color-bg: #0f1216;
  --color-surface: #1a1e26;
  --color-text: #e8eaed;
  --color-text-muted: #9ca3af;
  /* Logo yellow — vivid gold so it reads clearly on white & dark (not cream/washed) */
  --color-accent: #ffd700;
  /* Glow / shadows — must stay in sync with --color-accent (same RGB as #ffd700) */
  --color-accent-rgb: 255, 215, 0;
  --color-accent-soft: rgba(var(--color-accent-rgb), 0.18);
  --color-accent-hover: #f0ca00;
  --color-accent-active: #d4b000;
  /* Link / contrast green — matches brightbeamseo.com Elementor default (`#1eb861`) */
  --color-brand-green: #1eb861;
  --color-brand-green-soft: rgba(30, 184, 97, 0.14);
  /* Primary CTA — brand green fill, white type, focus ring only */
  --color-btn-primary-bg: #1eb861;
  --color-btn-primary-hover: #24c76a;
  --color-btn-primary-active: #159a52;
  --color-btn-primary-text: #ffffff;
  --color-btn-primary-border: #0d5c30;
  --color-btn-outline: #000000;
  --color-border: #2d333b;
  /* Body — paragraphs, inputs, legal */
  --font-body: "Poppins", system-ui, sans-serif;
  /* Display — Oswald (condensed; coordinates with hero H1) */
  --font-display: "Oswald", system-ui, sans-serif;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --radius: 0;
  --radius-lg: 0;
  --radius-card: 12px;
  /* Hero + header + credibility — same live area as first sections below the hero */
  --layout-max-width: 1180px;
  /* Eyebrow rules — same length left & right of label */
  --eyebrow-rule-length: clamp(1.75rem, 6vw, 3.25rem);
  --eyebrow-rule-length-banner: clamp(2rem, 10vw, 5.5rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img,
video {
  max-width: 100%;
  height: auto;
}

main {
  font-family: var(--font-body);
}

main h1,
main h2,
main h3 {
  overflow-wrap: break-word;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Header — always black */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15, 18, 22, 0.95);
  backdrop-filter: blur(12px);
  padding-left: env(safe-area-inset-left, 0);
  padding-right: env(safe-area-inset-right, 0);
}

.header-inner {
  max-width: var(--layout-max-width);
  margin: 0 auto;
  padding: var(--space-sm) var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.nav-group {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
  opacity: 0.9;
}

.logo-img {
  display: block;
  height: 38px;
  width: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(0.65rem, 1.5vw, 1.15rem);
}

/* Mega nav — top-level labels stay ALL CAPS; sublinks use sentence case */
.nav-mega__item {
  position: relative;
}

.nav-mega__trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.35rem 0.2rem;
  font-family: var(--font-display);
  color: #fff;
  font-weight: 400;
  font-size: 0.9375rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.2;
  background: none;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.nav-mega__trigger:hover {
  color: rgba(255, 255, 255, 0.9);
}

.nav-mega__trigger:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* Desktop: wedge / caret shows item opens a dropdown */
@media (min-width: 901px) {
  .nav-mega__trigger {
    gap: 0.25rem;
    padding-right: 0.05rem;
  }

  .nav-mega__trigger::after {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 0.2rem;
    flex-shrink: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid rgba(255, 255, 255, 0.58);
    border-bottom: 0 solid transparent;
    transform: translateY(1px);
    transition: border-top-color 0.15s ease, transform 0.15s ease;
  }

  .nav-mega__trigger:hover::after {
    border-top-color: rgba(255, 255, 255, 0.92);
  }

  .nav-mega__item:hover .nav-mega__trigger::after,
  .nav-mega__item:focus-within .nav-mega__trigger::after {
    border-top-color: rgba(255, 255, 255, 0.95);
    transform: translateY(2px);
  }
}

.nav-mega__panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: min(52rem, calc(100vw - 1.5rem));
  max-width: none;
  min-width: 0;
  padding: 0.65rem 0.85rem 0.85rem;
  margin: 0;
  background: #eff1f4;
  border: 1px solid rgba(15, 18, 22, 0.08);
  border-radius: 14px;
  box-shadow: 0 22px 50px rgba(15, 18, 22, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  z-index: 120;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.14s ease 0.08s, visibility 0s linear 0.22s;
}

.nav-mega__item:hover .nav-mega__panel,
.nav-mega__item:focus-within .nav-mega__panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.nav-mega__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 901px) {
  .nav-mega__list--rich {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(15.25rem, 1fr));
    gap: 0.35rem 0.45rem;
  }
}

.nav-mega__card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.65rem 0.7rem;
  margin: 0;
  border-radius: 11px;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease, box-shadow 0.15s ease;
  outline: none;
}

.nav-mega__card:hover,
.nav-mega__card:focus-visible {
  background: #ffffff;
  box-shadow: 0 6px 22px rgba(15, 18, 22, 0.08);
  text-decoration: none;
}

.nav-mega__card:focus-visible {
  outline: 2px solid var(--color-brand-green);
  outline-offset: 2px;
}

.nav-mega__card-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 10px;
  background: var(--color-brand-green);
  color: #ffffff;
}

.nav-mega__card-icon svg {
  display: block;
}

.nav-mega__card-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.nav-mega__card-title {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: #111827;
  line-height: 1.25;
  letter-spacing: 0.01em;
  transition: color 0.15s ease;
}

.nav-mega__card-desc {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 400;
  color: #6b7280;
  line-height: 1.45;
}

.nav-mega__card:hover .nav-mega__card-title,
.nav-mega__card:focus-visible .nav-mega__card-title {
  color: var(--color-brand-green);
}

.nav-toggle {
  display: none;
  position: relative;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.85rem;
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  cursor: pointer;
  line-height: 1;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.nav-toggle__icon {
  display: block;
  width: 1.35rem;
  height: 2px;
  background: #fff;
  box-shadow: 0 -6px 0 #fff, 0 6px 0 #fff;
}

.nav-toggle__text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    align-self: stretch;
    width: auto;
    aspect-ratio: 1;
    height: auto;
    min-width: 2.75rem;
    min-height: 2.75rem;
    padding: 0;
    border-radius: 0;
    gap: 0;
  }

  .nav-toggle__icon {
    width: 1.5rem;
    height: 2px;
    box-shadow: 0 -8px 0 #fff, 0 8px 0 #fff;
  }

  .header-inner {
    align-items: center;
    gap: var(--space-sm);
    padding-top: var(--space-sm);
    padding-bottom: var(--space-sm);
    padding-left: max(env(safe-area-inset-left), var(--space-md));
    padding-right: max(env(safe-area-inset-right), var(--space-md));
  }

  .nav-group {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: stretch;
    gap: var(--space-sm);
    min-width: 0;
  }

  /* Icon-only contact control: same primary styling, envelope instead of label */
  .nav-group > .btn.btn-primary {
    align-self: stretch;
    box-sizing: border-box;
    padding: 0;
    min-height: 2.75rem;
    min-width: 2.75rem;
    width: auto;
    aspect-ratio: 1;
    font-size: 0;
    letter-spacing: 0;
    line-height: 0;
    color: transparent;
  }

  .nav-group > .btn.btn-primary::after {
    content: "";
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    width: 1.35rem;
    height: 1.05rem;
    background: center / contain no-repeat
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4-7.53 5.47a1.85 1.85 0 0 1-2.05 0L4 8V6l8 5.33L20 6v2z'/%3E%3C/svg%3E");
  }

  .nav.nav-mega {
    display: none;
    flex-direction: column;
    align-items: stretch;
    flex-basis: 100%;
    width: 100%;
    order: 10;
    gap: 0;
    padding: var(--space-xs) 0 0;
    margin-top: var(--space-xs);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .site-header.is-menu-open .nav.nav-mega {
    display: flex;
  }

  .nav-mega__item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-mega__item:last-of-type {
    border-bottom: none;
  }

  .nav-mega__trigger {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    min-height: 48px;
    padding: 0.65rem 0;
    font-size: 0.8125rem;
    letter-spacing: 0.08em;
    text-align: left;
    box-sizing: border-box;
  }

  .nav-mega__trigger::after {
    content: "";
    width: 0;
    height: 0;
    margin-left: 0.5rem;
    flex-shrink: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid rgba(255, 255, 255, 0.55);
    border-bottom: 0 solid transparent;
    transform: translateY(1px);
    transition: transform 0.2s ease, border-top-color 0.15s ease;
  }

  .nav-mega__trigger[aria-expanded="true"]::after {
    transform: translateY(3px) rotate(180deg);
    border-top-color: rgba(255, 255, 255, 0.85);
  }

  .nav-mega__panel {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    min-width: 0;
    width: 100%;
    padding: 0 0 0.35rem;
    margin: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: none;
    display: none;
  }

  .nav-mega__trigger[aria-expanded="true"] + .nav-mega__panel {
    display: block;
  }

  .nav-mega__list--rich {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding-bottom: 0.25rem;
  }

  .nav-mega__card {
    align-items: center;
    padding: 0.55rem 0.5rem 0.55rem 0.35rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    min-height: 3.25rem;
  }

  .nav-mega__card:hover,
  .nav-mega__card:focus-visible {
    background: rgba(255, 255, 255, 0.09);
    box-shadow: none;
  }

  .nav-mega__card-title {
    color: rgba(255, 255, 255, 0.96);
    font-size: 0.8125rem;
  }

  .nav-mega__card-desc {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.75rem;
  }

  .nav-mega__card:hover .nav-mega__card-title,
  .nav-mega__card:focus-visible .nav-mega__card-title {
    color: #ffffff;
  }

  .nav-mega__card-icon {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 9px;
  }

  .nav-mega__card-icon svg {
    width: 17px;
    height: 17px;
  }

  .logo-img {
    height: 32px;
  }
}

/* Keep default cursor on links */
a {
  cursor: pointer;
}

/* Buttons — no shadows (explicit; kills browser defaults / stale perceived glow) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.25rem;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  box-shadow: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.022em;
}

.btn:hover,
.btn:active,
.btn:focus,
.btn:focus-visible {
  box-shadow: none;
}

.btn-primary {
  position: relative;
  overflow: hidden;
  background: var(--color-btn-primary-bg);
  color: var(--color-btn-primary-text);
  border: none;
}

/* Soft moving highlight — transform + linear loop (avoids bg-position glitches / ease-in-out stall) */
.btn-primary::before {
  content: "";
  position: absolute;
  top: -15%;
  bottom: -15%;
  left: 0;
  width: 42%;
  z-index: 0;
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 34%,
    rgba(255, 255, 255, 0.14) 48%,
    rgba(255, 255, 255, 0.32) 50%,
    rgba(255, 255, 255, 0.14) 52%,
    transparent 66%,
    transparent 100%
  );
  transform: translate3d(-115%, 0, 0);
  animation: btn-primary-sheen 3.2s linear infinite;
  pointer-events: none;
}

@keyframes btn-primary-sheen {
  from {
    transform: translate3d(-115%, 0, 0);
  }

  to {
    transform: translate3d(310%, 0, 0);
  }
}

.btn-primary:hover {
  background: var(--color-btn-primary-hover);
  color: var(--color-btn-primary-text);
  text-decoration: none;
}

.btn-primary:active {
  background: var(--color-btn-primary-active);
}

.btn-primary:focus-visible {
  outline: 2px solid var(--color-btn-primary-border);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .btn-primary::before {
    animation: none;
    opacity: 0;
  }
}

.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border: 2px solid var(--color-btn-outline);
}

.btn-secondary:hover {
  background: var(--color-surface);
  border-color: var(--color-btn-outline);
  text-decoration: none;
}

.btn-secondary:focus-visible {
  outline: none;
}

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border: 2px solid var(--color-btn-outline);
}

.btn-ghost:hover {
  background: var(--color-surface);
  border-color: var(--color-btn-outline);
  text-decoration: none;
}

.btn-ghost:focus-visible {
  outline: none;
}

.btn-lg {
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
}

/* Hero — split layout: left copy / right proposal card */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  /* Horizontal inset lives on .hero-inner so it matches .header-inner (logo alignment) */
  padding: calc(72px + var(--space-2xl)) 0 var(--space-2xl);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("Images/hero-background.png") center center / cover no-repeat #080a0e;
  pointer-events: none;
}

.lead-banner .hero-bg {
  background: url("Images/lead-banner-background.png") center center / cover no-repeat #000000;
}

/* Photo hero: screen; do not set opacity on this wrapper — values below 1 isolate stacking and break mix-blend with the photo */
.hero--photo-bg .hero-spotlights {
  display: block;
}

.hero--photo-bg .hero-inner,
.hero--photo-bg .hero-split,
.hero--photo-bg .hero-aside {
  overflow: visible;
}

.hero--photo-bg .hero-spotlights .hero-spotlight {
  mix-blend-mode: screen;
  opacity: 0.88;
  filter: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--layout-max-width);
  margin: 0 auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: var(--space-lg);
  padding-right: var(--space-lg);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  box-sizing: border-box;
}

.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(268px, 0.92fr);
  gap: var(--space-2xl);
  align-items: center;
}

.hero-copy {
  text-align: left;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin: 0 0 var(--space-md);
}

.hero-eyebrow-line {
  width: var(--eyebrow-rule-length);
  height: 2px;
  border-radius: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-accent) 30%,
    var(--color-accent) 70%,
    transparent
  );
}

.hero-eyebrow > .hero-eyebrow-line:last-of-type {
  transform: scaleX(-1);
}

.hero-eyebrow-text {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  -webkit-text-fill-color: var(--color-accent);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 4.35vw, 3.45rem);
  font-weight: 300;
  line-height: 1.03;
  margin: 0 0 var(--space-md);
  text-transform: uppercase;
  letter-spacing: 0.012em;
  color: #fff;
}

.hero-title-accent {
  color: var(--color-accent);
}

.hero-title-rest {
  color: #fff;
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 2.15vw, 1.55rem);
  font-weight: 300;
  font-style: normal;
  line-height: 1.35;
  margin: 0 0 var(--space-md);
  color: rgba(255, 255, 255, 0.95);
  text-transform: none;
  letter-spacing: 0.018em;
  text-wrap: balance;
  text-rendering: optimizeLegibility;
}

.hero-tagline-prefix {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: normal;
  letter-spacing: 0.018em;
  color: rgba(255, 255, 255, 0.96);
  -webkit-text-fill-color: rgba(255, 255, 255, 0.96);
}

.hero-tagline-rotating {
  display: inline;
  font-family: var(--font-display);
}

.hero-rotating-text {
  display: inline;
  font-family: var(--font-display);
  font-weight: 400;
  font-style: normal;
  color: var(--color-accent);
  -webkit-text-fill-color: var(--color-accent);
  letter-spacing: 0.018em;
  transition: opacity 0.48s cubic-bezier(0.4, 0, 0.2, 1), filter 0.48s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, filter;
}

@media (prefers-reduced-motion: reduce) {
  .hero-rotating-text {
    transition: opacity 0.18s ease;
    filter: none !important;
  }
}

.hero-lead {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: rgba(232, 234, 237, 0.85);
  margin: 0 0 var(--space-xl);
  max-width: 34rem;
}

/* Trust badge images (home hero) */
.hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md) var(--space-xl);
  margin: 0;
}

.hero-trust-badge-img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
}

.hero-trust-badge-img--google-rating {
  max-height: 2.85rem;
}

.hero-trust-badge-img--partner {
  max-height: 3.35rem;
}

.hero-trust-badge-img--clutch {
  max-height: 3.1rem;
}

.hero-aside {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
}

.hero-form-card {
  position: relative;
  overflow: visible;
  isolation: isolate;
  z-index: 1;
  width: 100%;
  max-width: min(27.5rem, 100%);
  background: #fff;
  border-radius: var(--radius-card);
  padding: var(--space-lg) var(--space-lg);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  /* Default copy color only — avoid -webkit-text-fill on the form root (fixes muted copy on child <p> in WebKit) */
  color: #6b7280;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.hero-form-head {
  flex-shrink: 0;
  margin-bottom: var(--space-md);
}

.hero-form-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0;
  color: var(--color-brand-green) !important;
  -webkit-text-fill-color: var(--color-brand-green);
}

.hero-form-intro {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.45;
  color: #6b7280 !important;
  -webkit-text-fill-color: #6b7280 !important;
  margin: 0.55rem 0 0;
  max-width: 32em;
}

/* Pin contrast: body uses light `--color-text`; ensure intro never inherits muted hero tones */
form#hero-proposal.hero-form-card p.hero-form-intro {
  color: #6b7280 !important;
  -webkit-text-fill-color: #6b7280 !important;
}

.hero-form-fields {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.hero-field {
  display: flex;
  flex-direction: column;
  margin: 0;
}

.hero-field input,
.hero-field select,
.hero-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.875rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #fff;
  color: #000000 !important;
  -webkit-text-fill-color: #000000;
}

.hero-field textarea {
  display: block;
  min-height: 2.75rem;
  line-height: 1.5;
  resize: vertical;
}

.hero-field input::placeholder,
.hero-field textarea::placeholder {
  color: #9ca3af;
}

.hero-field input:focus,
.hero-field select:focus,
.hero-field textarea:focus {
  outline: none;
  border-color: var(--color-btn-primary-bg);
}

.hero-field-optin {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.45rem;
  align-items: start;
  cursor: pointer;
}

.hero-field-optin input[type="checkbox"] {
  margin: 0.18rem 0 0;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  accent-color: var(--color-btn-primary-bg);
  cursor: pointer;
}

.hero-optin-disclosure {
  display: block;
  font-family: var(--font-body);
  font-size: 0.625rem;
  line-height: 1.45;
  color: #4b5563 !important;
  -webkit-text-fill-color: #4b5563;
  margin: 0;
}

.hero-form-submit {
  flex-shrink: 0;
  width: 100%;
  margin-top: 0.125rem;
  margin-bottom: var(--space-sm);
}

.hero-form-status {
  margin: 0.5rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  text-align: center;
  color: #4b5563;
}

.hero-form-status--success {
  color: var(--color-brand-green, #1eb861);
}

.hero-form-status--error {
  color: #b91c1c;
}

.hero-form-card .hero-form-submit.btn-lg {
  padding: 0.7rem 1.35rem;
  font-size: 0.9375rem;
}

.hero-form-foot {
  flex-shrink: 0;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  text-align: center;
  color: #6b7280 !important;
  -webkit-text-fill-color: #6b7280;
  margin: 0.25rem 0 0;
  line-height: 1.4;
}

.hero-form-foot p {
  margin: 0;
}

.hero-form-foot p + p {
  margin-top: 0.35rem;
}

/* Primary CTA inside card: parent sets dark text-fill — keep label white */
.hero-form-card .btn-primary,
.hero-form-card .btn-primary:hover,
.hero-form-card .btn-primary:active {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
}

/* Theatrical spotlight — white beam (narrow top → wide), soft feather, floor pool (screen blend) */
.hero-spotlights {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

/* Spotlight: transform animates on .hero-spotlight-track only — Brave/Chromium often skips repaints when mix-blend-mode shares the same element as the animation */
.hero-spotlights .hero-spotlight-track {
  position: absolute;
  left: 50%;
  top: -14%;
  width: min(140vw, 1800px);
  height: 145%;
  margin-left: calc(min(140vw, 1800px) / -2);
  transform-origin: 50% 0%;
  will-change: transform;
  animation: hero-spotlight-sweep 18s cubic-bezier(0.42, 0.02, 0.58, 0.98) infinite alternate;
}

.hero-spotlights .hero-spotlight {
  position: absolute;
  inset: 0;
  mix-blend-mode: screen;
  /*
    Layers (top-painted first): concentrated source, tall misty shaft, floor ellipse.
    All neutral white/grey — reads like stage lighting, not brand gold.
  */
  background:
    /* bright point at rig — soft falloff */
    radial-gradient(
      circle 5.5rem at 50% 0,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0.55) 38%,
      rgba(255, 255, 255, 0.1) 68%,
      transparent 82%
    ),
    /* tall diffuse shaft — reads as cone widening downward */
    radial-gradient(
      ellipse 34% 92% at 50% 48%,
      rgba(252, 253, 255, 0.5) 0%,
      rgba(255, 255, 255, 0.2) 24%,
      rgba(240, 243, 248, 0.08) 45%,
      rgba(200, 208, 222, 0.03) 60%,
      transparent 76%
    ),
    /* soft pool on the “floor” */
    radial-gradient(
      ellipse 88% 21% at 50% 93%,
      rgba(255, 255, 255, 0.9) 0%,
      rgba(238, 241, 247, 0.45) 42%,
      rgba(190, 198, 216, 0.15) 62%,
      transparent 80%
    );
}

@keyframes hero-spotlight-sweep {
  0% {
    transform: translate3d(-32vw, 0.6vh, 0.02px) rotate(-7deg);
  }
  100% {
    transform: translate3d(32vw, -0.6vh, 0.02px) rotate(7deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-spotlights .hero-spotlight-track {
    animation: none !important;
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
}

/* Lead banner — stage background image + foreground copy */
.lead-banner {
  position: relative;
  font-family: var(--font-body);
  color: var(--color-text);
  padding: clamp(4.75rem, 13vw, 10rem) var(--space-lg);
  text-align: center;
  border-top: 1px solid var(--color-border);
  overflow: hidden;
  --lead-banner-overlay-alpha: 0.38;
}

.lead-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: rgba(0, 0, 0, var(--lead-banner-overlay-alpha));
}

.lead-banner .lead-banner__inner {
  position: relative;
  z-index: 2;
  max-width: var(--layout-max-width);
  margin: 0 auto;
}

.lead-banner__eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.65rem, 2.5vw, 1.15rem);
  flex-wrap: wrap;
  margin: 0 0 clamp(1.25rem, 3vw, 1.75rem);
}

.lead-banner__eyebrow-line {
  width: var(--eyebrow-rule-length-banner);
  height: 2px;
  border-radius: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-brand-green) 22%,
    var(--color-brand-green) 78%,
    transparent
  );
  opacity: 0.85;
}

.lead-banner__eyebrow > .lead-banner__eyebrow-line:last-of-type {
  transform: scaleX(-1);
}

.lead-banner__eyebrow-text {
  font-family: var(--font-display);
  font-size: 0.625rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-brand-green);
}

.lead-banner__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  line-height: 1.06;
  letter-spacing: 0.012em;
  text-transform: uppercase;
  margin: 0 0 clamp(1.25rem, 3vw, 1.75rem);
  color: #ffffff;
}

.lead-banner__title-line {
  display: block;
}

.lead-banner__lead {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: rgba(232, 234, 237, 0.85);
  max-width: 34rem;
  margin: 0 auto var(--space-xl);
}

.lead-banner__cta.btn {
  margin-top: 0;
}

/* Case studies — Firestarter-style rail layout, Brightbeam tokens, tight copy */
.case-studies {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  padding: clamp(4.25rem, 11vw, 6.75rem) var(--space-lg);
  border-top: 1px solid var(--color-border);
}

.case-studies__inner {
  max-width: var(--layout-max-width);
  margin: 0 auto;
}

.case-studies__header {
  text-align: left;
  max-width: 40rem;
  margin: 0 0 clamp(2.25rem, 4.5vw, 3.25rem);
}

.case-studies__eyebrow {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin: 0 0 1rem;
}

.case-studies__eyebrow-line {
  width: var(--eyebrow-rule-length);
  height: 2px;
  border-radius: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-accent) 25%,
    var(--color-accent) 75%,
    transparent
  );
}

.case-studies__eyebrow > .case-studies__eyebrow-line:last-of-type {
  transform: scaleX(-1);
}

.case-studies__eyebrow-text {
  font-family: var(--font-display);
  font-size: 0.625rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.case-studies__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 3.15vw, 2.125rem);
  line-height: 1.12;
  letter-spacing: 0.018em;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0 0 0.85rem;
}

.case-studies__intro {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(232, 234, 237, 0.88);
  margin: 0;
}

.case-studies__panel {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--color-surface);
}

.case-studies__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
}

.case-card {
  margin: 0;
  padding: clamp(1.5rem, 3.25vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  text-align: left;
  min-height: 0;
  border: none;
  border-radius: 0;
  border-right: 1px solid var(--color-border);
  background: transparent;
}

.case-card:last-child {
  border-right: none;
}

.case-card__tag {
  align-self: flex-start;
  margin: 0;
  padding: 0.3rem 0.55rem;
  font-family: var(--font-display);
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  border: 1px solid rgba(var(--color-accent-rgb), 0.55);
  border-radius: 4px;
}

.case-card__tag--client {
  font-size: 0.625rem;
  letter-spacing: 0.06em;
  text-transform: none;
  line-height: 1.25;
  max-width: 100%;
}

.case-card__stat {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 3.75vw, 2.85rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--color-accent);
}

.case-card__stat-word {
  font-size: 0.58em;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.case-card__kicker {
  margin: -0.15rem 0 0;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.82);
  line-height: 1.35;
}

.case-card__rule {
  margin: 0.15rem 0 0.15rem;
  border: none;
  height: 1px;
  background: var(--color-border);
  width: 100%;
}

.case-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(0.8125rem, 1.35vw, 0.9375rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  color: #f8fafc;
}

.case-card__body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.58;
  color: rgba(156, 163, 175, 0.98);
}

.case-card__quote {
  margin: 0;
  padding: 0 0 0 1rem;
  border-left: 3px solid var(--color-accent);
}

.case-card__quote p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-style: italic;
  line-height: 1.55;
  color: rgba(232, 234, 237, 0.9);
}

.case-card__ministats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.case-card__ministats--triple {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.case-ministat {
  padding: 0.65rem 0.5rem;
  text-align: center;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--color-border);
  border-radius: 6px;
}

.case-ministat__num {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1;
  color: var(--color-accent);
}

.case-ministat__label {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(209, 213, 219, 0.92);
}

.case-ministat__num--text {
  font-size: 0.8125rem;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: none;
}

.case-card__link {
  margin-top: auto;
  padding-top: 0.35rem;
  align-self: flex-start;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-accent) !important;
}

.case-card__link:hover {
  color: var(--color-accent-hover) !important;
  text-decoration: none;
}

.case-card__link:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

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

  .case-card {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
  }

  .case-card:last-child {
    border-bottom: none;
  }

  .case-card__ministats--triple {
    grid-template-columns: 1fr;
  }
}

/* Credibility band — green accents (brightbeamseo.com links) + yellow CTA hover */
.credibility-banner {
  --cred-accent: var(--color-brand-green);
  --cred-text: #0a0a0a;
  --cred-muted: #4a5560;

  font-family: var(--font-body);
  background: #ffffff;
  color: var(--cred-text);
  padding: clamp(4.75rem, 13vw, 10rem) var(--space-lg);
}

.credibility-banner__inner {
  max-width: var(--layout-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2.75rem, 7vw, 5.25rem);
  align-items: center;
}

.credibility-banner__copy {
  min-width: 0;
}

.october-framework__eyebrow,
.credibility-eyebrow {
  font-family: var(--font-display);
  font-size: 0.625rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-brand-green);
}

.october-framework__eyebrow {
  margin: 0 0 1rem;
}

.credibility-eyebrow {
  position: relative;
  top: -0.45rem;
  margin: 0 0 0.35rem;
}

.credibility-heading {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.06;
  margin: 0 0 var(--space-xl);
  letter-spacing: 0.018em;
}

.credibility-heading__muted {
  display: block;
  font-size: clamp(1.625rem, 3.25vw, 2.125rem);
  color: var(--cred-text);
  margin-bottom: 0.45rem;
}

.credibility-heading__accent {
  display: block;
  font-size: clamp(2.35rem, 5.75vw, 3.55rem);
  color: var(--cred-accent);
}

.credibility-lead {
  font-family: var(--font-body);
  font-size: clamp(1.0625rem, 1.35vw, 1.1875rem);
  line-height: 1.65;
  color: var(--cred-muted);
  margin: 0 0 var(--space-xl);
  max-width: 38rem;
}

.credibility-lead strong {
  color: var(--cred-text);
  font-weight: 700;
}

.credibility-btn-outline {
  font-family: var(--font-display);
  background: #fff;
  color: #000;
  border: 1px solid var(--cred-text);
  text-decoration: none;
  box-shadow: none;
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.022em;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.credibility-btn-outline:hover {
  background: #eceff1;
  border-color: #6b7280;
  text-decoration: none;
  color: #0f1216;
}

.credibility-btn-outline:focus-visible {
  outline: 2px solid var(--color-brand-green);
  outline-offset: 2px;
}

.credibility-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 1.5rem);
  min-width: 0;
}

.cred-badge {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cred-badge__img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  max-height: clamp(112px, 14vw, 152px);
  object-fit: contain;
  object-position: center;
}

.cred-badge__img--superior,
.cred-badge__img--sol,
.cred-badge__img--erwin {
  width: 78%;
  max-height: clamp(88px, 11vw, 118px);
  margin-inline: auto;
}

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

  .credibility-badges {
    max-width: min(480px, 100%);
    margin: 0 auto;
  }

  .credibility-btn-outline {
    width: 100%;
  }
}

/* Founder — split layout, dark band, photo color correction via CSS filters */
.founder-about {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  padding: clamp(3.75rem, 9vw, 5.75rem) var(--space-lg);
  border-top: 1px solid var(--color-border);
}

.founder-about__inner {
  max-width: var(--layout-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(2rem, 5vw, 3.75rem);
  align-items: center;
}

.founder-about__figure {
  margin: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--color-surface);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.founder-about__img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
  object-fit: cover;
  aspect-ratio: 1024 / 682;
  object-position: center 26%;
  /* Mixed window + indoor light: lift shadows, neutralize yellow wall, natural saturation */
  filter: brightness(1.07) contrast(1.06) saturate(0.96) hue-rotate(-8deg);
}

.founder-about__copy {
  min-width: 0;
}

.founder-about__eyebrow {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin: 0 0 0.75rem;
}

.founder-about__eyebrow-line {
  width: var(--eyebrow-rule-length);
  height: 2px;
  border-radius: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-brand-green) 25%,
    var(--color-brand-green) 75%,
    transparent
  );
  opacity: 0.9;
}

.founder-about__eyebrow > .founder-about__eyebrow-line:last-of-type {
  transform: scaleX(-1);
}

.founder-about__eyebrow-text {
  font-family: var(--font-display);
  font-size: 0.625rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-brand-green);
}

.founder-about__title {
  margin: 0 0 1.15rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.45rem, 2.85vw, 2.05rem);
  line-height: 1.15;
  letter-spacing: 0.018em;
  text-transform: uppercase;
  color: #ffffff;
}

.founder-about__title-accent {
  color: var(--color-brand-green);
}

.founder-about__lead {
  margin: 0 0 1rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: rgba(232, 234, 237, 0.88);
}

.founder-about__body {
  margin: 0 0 var(--space-md);
  font-size: 0.9375rem;
  line-height: 1.68;
  color: var(--color-text-muted);
}

.founder-about__learn-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.25rem;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-brand-green) !important;
  text-decoration: none !important;
  -webkit-text-fill-color: var(--color-brand-green);
}

.founder-about__learn-more:hover {
  color: var(--color-btn-primary-hover) !important;
  -webkit-text-fill-color: var(--color-btn-primary-hover);
  text-decoration: underline !important;
  text-underline-offset: 0.2em;
}

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

  .founder-about__figure {
    max-width: min(36rem, 100%);
    margin: 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .founder-about__img {
    filter: brightness(1.05) contrast(1.04) saturate(0.94) hue-rotate(-6deg);
  }
}

/* Testimonials — dark band, yellow accents, 6-card grid */
.testimonials-band {
  --tb-accent: var(--color-accent);
  font-family: var(--font-body);
  background: #0a0a0b;
  color: #e8e8ec;
  padding: clamp(4rem, 10vw, 6.25rem) var(--space-lg);
  border-top: 1px solid rgba(var(--color-accent-rgb), 0.22);
}

.testimonials-band__inner {
  max-width: var(--layout-max-width);
  margin: 0 auto;
}

.testimonials-band__header {
  text-align: center;
  max-width: 38rem;
  margin: 0 auto clamp(2.25rem, 4.5vw, 3.25rem);
}

.testimonials-band__eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin: 0 0 1rem;
}

.testimonials-band__eyebrow-line {
  width: var(--eyebrow-rule-length);
  height: 2px;
  border-radius: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--tb-accent) 25%,
    var(--tb-accent) 75%,
    transparent
  );
}

.testimonials-band__eyebrow > .testimonials-band__eyebrow-line:last-of-type {
  transform: scaleX(-1);
}

.testimonials-band__eyebrow-text {
  font-family: var(--font-display);
  font-size: 0.625rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tb-accent);
}

.testimonials-band__title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  line-height: 1.12;
  letter-spacing: 0.018em;
  text-transform: uppercase;
  color: #fafafa;
}

.testimonials-band__intro {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: #a3a3ad;
}

.testimonials-band__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md);
  align-items: stretch;
}

.testimonials-band__more {
  margin: var(--space-md) 0 0;
  text-align: center;
  font-size: 0.9375rem;
  color: #a3a3ad;
}

.testimonials-band__more a {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: none;
  -webkit-text-fill-color: var(--color-accent);
}

.testimonials-band__more a:hover {
  text-decoration: underline;
}

.testimonials-band__more a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  background: #121214;
  border: 1px solid rgba(var(--color-accent-rgb), 0.2);
  border-radius: 8px;
  padding: 1.25rem 1.35rem;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
}

.testimonial-card__top {
  flex: 1;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(var(--color-accent-rgb), 0.12);
}

.testimonial-card__stars {
  margin: 0 0 0.65rem;
  font-size: 0.9375rem;
  line-height: 1;
  letter-spacing: 0.12em;
  color: var(--color-accent);
}

.testimonial-card__stars span {
  filter: drop-shadow(0 1px 2px rgba(var(--color-accent-rgb), 0.35));
}

.testimonial-card__quote {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.62;
  font-style: italic;
  color: #c4c4cc;
}

.testimonial-card__quote strong {
  font-weight: 600;
  font-style: italic;
  color: #fafafa;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-card__avatar {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: #141416;
  background: var(--color-accent);
}

.testimonial-card__meta {
  min-width: 0;
}

.testimonial-card__name {
  margin: 0 0 0.15rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 700;
  color: #f5f5f5;
}

.testimonial-card__company {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.35;
  color: var(--color-accent);
  -webkit-text-fill-color: var(--color-accent);
}

.testimonial-card__when {
  margin: 0 0 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8a8a94;
  font-style: normal;
}

.testimonials-band--page {
  padding-top: clamp(3rem, 8vw, 5rem);
}

.testimonials-band__more--header {
  margin: 1rem 0 0;
}

.testimonials-band__grid--reviews .testimonial-card__quote {
  font-size: 0.8125rem;
  line-height: 1.65;
}

@media (max-width: 1000px) {
  .testimonials-band__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .testimonials-band__grid {
    grid-template-columns: 1fr;
  }
}

/* Blog preview — white band, left header, 3 posts */
.blog-preview {
  font-family: var(--font-body);
  background: #ffffff;
  color: #0f1216;
  padding: clamp(3.75rem, 9vw, 5.75rem) var(--space-lg);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.blog-preview__inner {
  max-width: var(--layout-max-width);
  margin: 0 auto;
}

.blog-preview__header {
  text-align: left;
  max-width: 38rem;
  margin: 0 0 clamp(2rem, 4vw, 2.75rem);
}

.blog-preview__eyebrow {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin: 0 0 1rem;
}

.blog-preview__eyebrow-line {
  width: var(--eyebrow-rule-length);
  height: 2px;
  border-radius: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-brand-green) 25%,
    var(--color-brand-green) 75%,
    transparent
  );
}

.blog-preview__eyebrow > .blog-preview__eyebrow-line:last-of-type {
  transform: scaleX(-1);
}

.blog-preview__eyebrow-text {
  font-family: var(--font-display);
  font-size: 0.625rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-brand-green);
}

.blog-preview__title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.45rem, 2.85vw, 2rem);
  line-height: 1.14;
  letter-spacing: 0.018em;
  text-transform: uppercase;
  color: #0f1216;
}

.blog-preview__intro {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: #4b5563;
}

.blog-preview__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-md);
  align-items: stretch;
}

.blog-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-card);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(15, 18, 22, 0.08);
}

.blog-card__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e8ecf0;
}

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

.blog-card__content {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: var(--space-md);
  flex: 1;
}

.blog-card__date {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b7280;
}

.blog-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.blog-card__title a {
  color: #0f1216;
  text-decoration: none;
}

.blog-card__title a:hover {
  color: var(--color-brand-green);
  text-decoration: none;
}

.blog-card__excerpt {
  flex: 1;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.58;
  color: #4b5563;
}

.blog-card__more {
  margin-top: 0.25rem;
  align-self: flex-start;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-brand-green) !important;
  text-decoration: none !important;
}

.blog-card__more:hover {
  color: var(--color-btn-primary-hover) !important;
}

@media (max-width: 1100px) {
  .blog-preview__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .blog-preview__grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .blog-card:hover {
    transform: none;
  }
}

/* Services grid — green accents, Brightbeam type */
.services-band {
  font-family: var(--font-body);
  background: #ffffff;
  color: #0f1216;
  padding: clamp(4rem, 10vw, 6.5rem) var(--space-lg);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.services-band__inner {
  max-width: var(--layout-max-width);
  margin: 0 auto;
}

.services-band__header {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
}

.services-band__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  line-height: 1.12;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}

.services-band__title-muted {
  color: #0f1216;
}

.services-band__title-accent {
  background: linear-gradient(
    90deg,
    var(--color-btn-primary-bg) 0%,
    var(--color-btn-primary-hover) 45%,
    var(--color-btn-primary-active) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.services-band__intro {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: #4b5563;
}

.services-band__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-md);
  align-items: stretch;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: var(--space-md);
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-card);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(15, 18, 22, 0.09);
}

.service-card__icon {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(
    135deg,
    var(--color-btn-primary-bg) 0%,
    var(--color-btn-primary-hover) 42%,
    var(--color-btn-primary-active) 100%
  );
  box-shadow: 0 4px 14px rgba(30, 184, 97, 0.35);
}

.service-card__icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.service-card__title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.service-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.35;
  color: #0f1216;
}

.service-card__badge {
  display: inline-block;
  padding: 0.2rem 0.45rem;
  font-family: var(--font-display);
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
  border-radius: 4px;
  background: linear-gradient(
    90deg,
    var(--color-btn-primary-bg),
    var(--color-btn-primary-hover)
  );
}

.service-card__body {
  margin: 0;
  flex: 1;
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.58;
  color: #4b5563;
}

@media (max-width: 1100px) {
  .services-band__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .services-band__grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-card:hover {
    transform: none;
  }
}

/* October method — split: black pillar stack + cream framework detail */
.october-framework {
  overflow: hidden;
}

.october-framework__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  max-width: 1280px;
  margin: 0 auto;
  min-height: 0;
  align-items: stretch;
}

.october-framework__visual {
  background: #0a0a0a;
  color: #f8fafc;
  padding: clamp(3.5rem, 9vw, 6.5rem) clamp(2rem, 5vw, 3rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  /* Row padding drives vertical tightness; edge-gap matches label→list spacing */
  --october-pillar-row-pad: 0.875rem;
  --october-pillar-edge-gap: calc(2 * var(--october-pillar-row-pad));
}

.october-framework__visual-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 clamp(var(--october-pillar-edge-gap), 5vw, 3.25rem);
  color: rgba(248, 250, 252, 0.88);
}

.october-framework__visual-label-word {
  font-weight: 600;
  color: var(--color-accent);
  text-shadow:
    0 0 10px rgba(var(--color-accent-rgb), 0.65),
    0 0 28px rgba(var(--color-accent-rgb), 0.3);
  animation: october-pillar-glow 2.75s ease-in-out infinite;
}

.october-pillars {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 22rem;
}

.october-pillars li {
  margin: 0;
  padding: var(--october-pillar-row-pad, 0.875rem) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.october-pillars li:first-child {
  padding-top: 0;
}

.october-pillars li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.october-pillars__line {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.1vw, 1.28rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-block;
  color: #f8fafc;
}

.october-pillars__initial {
  color: var(--color-accent);
  text-shadow:
    0 0 10px rgba(var(--color-accent-rgb), 0.65),
    0 0 28px rgba(var(--color-accent-rgb), 0.3);
  animation: october-pillar-glow 2.75s ease-in-out infinite;
}

.october-pillars li:nth-child(1) .october-pillars__initial {
  animation-delay: 0s;
}

.october-pillars li:nth-child(2) .october-pillars__initial {
  animation-delay: 0.55s;
}

.october-pillars li:nth-child(3) .october-pillars__initial {
  animation-delay: 1.1s;
}

.october-pillars li:nth-child(4) .october-pillars__initial {
  animation-delay: 1.65s;
}

.october-pillars li:nth-child(5) .october-pillars__initial {
  animation-delay: 2.2s;
}

@keyframes october-pillar-glow {
  0%,
  100% {
    text-shadow:
      0 0 8px rgba(var(--color-accent-rgb), 0.55),
      0 0 22px rgba(var(--color-accent-rgb), 0.22);
  }

  50% {
    text-shadow:
      0 0 16px rgba(var(--color-accent-rgb), 0.95),
      0 0 36px rgba(var(--color-accent-rgb), 0.45);
  }
}

.october-framework__copy {
  background: linear-gradient(to bottom, #fdfaf5 0%, #f7f4ef 100%);
  color: #111;
  padding: clamp(2.75rem, 6.5vw, 4.5rem) clamp(2rem, 5vw, 3.25rem);
  border-left: 1px solid rgba(0, 0, 0, 0.06);
}

.october-framework__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.45rem, 2.85vw, 2.05rem);
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.018em;
  margin: 0 0 1.45rem;
}

.october-framework__title-accent {
  color: var(--color-brand-green);
}

.october-framework__intro {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.68;
  color: #374151;
  margin: 0 0 1rem;
  max-width: 42rem;
}

.october-framework__intro--emph {
  margin-bottom: 1.75rem;
}

.october-framework__intro strong {
  color: #0f1216;
}

.october-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 42rem;
}

.october-steps__item {
  display: flex;
  gap: 1.05rem;
  align-items: flex-start;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.october-steps__item:first-child {
  border-top: none;
  padding-top: 0.35rem;
}

.october-steps__marker {
  flex-shrink: 0;
  width: 1.875rem;
  height: 1.875rem;
  border-radius: 999px;
  background: var(--color-brand-green);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.875rem;
  text-align: center;
}

.october-steps__name {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.045em;
  margin: 0 0 0.5rem;
  color: #0f1216;
  line-height: 1.35;
}

.october-steps__detail {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.62;
  color: #4b5563;
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  .october-pillars__initial,
  .october-framework__visual-label-word {
    animation: none;
    animation-delay: 0s !important;
    text-shadow: 0 0 12px rgba(var(--color-accent-rgb), 0.5);
  }
}

@media (max-width: 900px) {
  .october-framework__inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .october-framework__copy {
    border-left: none;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
  }
}

.container {
  max-width: 1000px;
  margin: 0 auto;
}

/* Prefooter — 50/50 contact + proposal form (place before <footer> on every page) */
.prefooter {
  font-family: var(--font-body);
  background: #f4f6f8;
  color: #0f1216;
  padding: clamp(3.25rem, 8vw, 5rem) var(--space-lg);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* Contact page: prefooter is primary content under fixed header (no inner hero). */
body.page-contact .page-inner-main > .prefooter {
  padding-top: calc(72px + var(--space-xl));
  border-top: none;
}

.prefooter__inner {
  max-width: var(--layout-max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.prefooter__grid {
  display: grid;
  grid-template-columns: minmax(0, 28rem) minmax(0, 27.5rem);
  gap: clamp(3rem, 10vw, 6rem);
  align-items: start;
  width: max-content;
  max-width: 100%;
  box-sizing: border-box;
}

.prefooter__contact {
  text-align: left;
  padding-top: 0.25rem;
}

.prefooter__eyebrow {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0 0 1rem;
}

.prefooter__eyebrow-line {
  width: var(--eyebrow-rule-length);
  height: 2px;
  border-radius: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-brand-green) 30%,
    var(--color-brand-green) 70%,
    transparent
  );
}

.prefooter__eyebrow > .prefooter__eyebrow-line:last-of-type {
  transform: scaleX(-1);
}

.prefooter__eyebrow-text {
  font-family: var(--font-display);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-brand-green);
}

.prefooter__title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  line-height: 1.14;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #0f1216;
}

.prefooter__lead {
  margin: 0 0 1.1rem;
  font-size: 1rem;
  line-height: 1.6;
  color: #4b5563;
  max-width: 28rem;
}

.prefooter-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.prefooter-contact-list__item {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
}

.prefooter-contact-list__icon {
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.06rem;
  color: var(--color-brand-green);
  -webkit-text-fill-color: var(--color-brand-green);
  display: flex;
  align-items: center;
  justify-content: center;
}

.prefooter-contact-list__icon svg {
  display: block;
}

.prefooter-contact-list__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
}

.prefooter-contact-list__label {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
}

.prefooter-contact-list__value {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: #0f1216;
}

.prefooter-contact-list__value--multiline {
  display: block;
}

.prefooter-contact-list a.prefooter-contact-list__value {
  color: var(--color-brand-green);
  text-decoration: none;
  font-weight: 600;
}

.prefooter-contact-list a.prefooter-contact-list__value:hover {
  color: var(--color-btn-primary-hover);
  text-decoration: underline;
}

.prefooter__form-col {
  width: 100%;
  display: flex;
  justify-content: flex-start;
}

.prefooter-form-card.hero-form-card {
  width: 100%;
  max-width: min(27.5rem, 100%);
  margin-left: 0;
  box-shadow: 0 12px 36px rgba(15, 18, 22, 0.12);
}

form.prefooter-form-card.hero-form-card p.hero-form-intro {
  color: #6b7280 !important;
  -webkit-text-fill-color: #6b7280 !important;
}

@media (max-width: 900px) {
  .prefooter__inner {
    align-items: stretch;
  }

  .prefooter__grid {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: none;
  }

  .prefooter__form-col {
    justify-content: stretch;
  }

  .prefooter-form-card.hero-form-card {
    margin-left: 0;
    max-width: none;
  }
}

/* Footer — mega (dark multi-column + sub-bar) */
.site-footer--mega {
  --footer-bg: #1a1523;
  --footer-border: rgba(255, 255, 255, 0.08);
  --footer-muted: #9ca3af;
  --footer-link: #e5e7eb;
  font-family: var(--font-body);
  background: var(--footer-bg);
  color: var(--footer-muted);
  border-top: 1px solid var(--footer-border);
  padding: clamp(2.75rem, 6vw, 4rem) var(--space-lg) clamp(1.5rem, 3vw, 2rem);
}

.site-footer__inner {
  max-width: var(--layout-max-width);
  margin: 0 auto;
}

.site-footer__grid {
  display: grid;
  grid-template-columns:
    minmax(14rem, 1.12fr)
    minmax(9rem, 11.5rem)
    repeat(3, minmax(6rem, 1fr));
  grid-template-rows: auto auto;
  grid-template-areas:
    "brand menus industries locations company"
    "brand menus map map map";
  gap: clamp(1.25rem, 2.5vw, 2rem);
  align-items: start;
}

.site-footer__brand {
  grid-area: brand;
}

.site-footer__menus-col {
  grid-area: menus;
  min-width: 0;
  max-width: 13.5rem;
}

.site-footer__grid > .site-footer__col[aria-label="Industries"] {
  grid-area: industries;
}

.site-footer__grid > .site-footer__col[aria-label="Locations"] {
  grid-area: locations;
}

.site-footer__grid > .site-footer__col[aria-label="Company"] {
  grid-area: company;
}

.site-footer__grid > .site-footer__map {
  grid-area: map;
  align-self: end;
  justify-self: stretch;
  width: 100%;
  max-width: none;
  min-width: 0;
}

.site-footer__nav-section + .site-footer__nav-section {
  margin-top: 1.15rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--footer-border);
}

.site-footer__brand {
  padding-right: clamp(0.5rem, 2vw, 1.25rem);
  align-self: start;
}

.site-footer__logo-link {
  display: inline-block;
  margin: 0 0 1.15rem;
  text-decoration: none;
}

.site-footer__logo-link:hover {
  text-decoration: none;
  opacity: 0.92;
}

.site-footer__logo {
  display: block;
  height: auto;
  width: min(11rem, 100%);
  max-height: 40px;
  object-fit: contain;
}

.site-footer__tagline {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #f9fafb;
  line-height: 1.25;
}

.site-footer__about {
  margin: 0 0 1.5rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--footer-muted);
  max-width: 26rem;
}

.site-footer__contact-lines {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.site-footer__contact-line {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.875rem;
  line-height: 1.45;
  margin: 0;
}

.site-footer__contact-icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.1rem;
  color: var(--color-accent);
  -webkit-text-fill-color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-footer__contact-icon svg {
  display: block;
}

.site-footer__contact-line a {
  color: var(--footer-link);
  text-decoration: none;
  font-weight: 500;
}

.site-footer__contact-line a:hover {
  color: var(--color-brand-green);
  text-decoration: underline;
}

.site-footer__contact-text {
  color: var(--footer-link);
  font-weight: 500;
}

.site-footer__social {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.site-footer__social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--footer-border);
  color: #e5e7eb;
  text-decoration: none !important;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.site-footer__social-btn:hover {
  background: rgba(30, 184, 97, 0.15);
  border-color: rgba(30, 184, 97, 0.45);
  color: var(--color-brand-green);
}

.site-footer__social-letter {
  line-height: 1;
}

.site-footer__col {
  min-width: 0;
}

.site-footer__map {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.site-footer__map-embed {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--footer-border);
  background: rgba(0, 0, 0, 0.2);
}

.site-footer__map-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: inherit;
  border: 0;
}

@media (min-width: 1025px) {
  .site-footer__map-embed {
    aspect-ratio: 16 / 9;
    min-height: 14.5rem;
  }
}

@media (min-width: 1280px) {
  .site-footer__map-embed {
    min-height: 16.5rem;
  }
}

.site-footer__map-link {
  margin: 0.55rem 0 0;
  font-size: 0.75rem;
  line-height: 1.4;
}

.site-footer__map-link a {
  color: var(--footer-muted);
  text-decoration: none;
  font-weight: 500;
}

.site-footer__map-link a:hover {
  color: var(--color-brand-green);
  text-decoration: underline;
}

.site-footer__nav-heading {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--footer-muted);
}

.site-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.site-footer__links a {
  font-size: 0.875rem;
  color: var(--footer-link);
  text-decoration: none;
  line-height: 1.4;
}

.site-footer__links a:hover {
  color: var(--color-brand-green);
  text-decoration: underline;
}

.site-footer__rule {
  border: none;
  border-top: 1px solid var(--footer-border);
  margin: 1.15rem 0;
}

.site-footer__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: clamp(2rem, 4vw, 2.75rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--footer-border);
}

.site-footer__copyright {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--footer-muted);
}

.site-footer__copyright a {
  color: inherit;
  text-decoration: none;
}

.site-footer__copyright a:hover {
  color: var(--color-brand-green);
  text-decoration: underline;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.8125rem;
}

.site-footer__legal a {
  color: var(--footer-muted);
  text-decoration: none;
}

.site-footer__legal a:hover {
  color: var(--color-brand-green);
  text-decoration: underline;
}

.site-footer__legal-sep {
  color: rgba(255, 255, 255, 0.25);
  user-select: none;
}

@media (max-width: 1024px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "brand brand"
      "menus menus"
      "industries locations"
      "company company"
      "map map";
  }

  .site-footer__brand {
    max-width: 32rem;
  }

  .site-footer__menus-col {
    max-width: none;
  }

  .site-footer__grid > .site-footer__map {
    justify-self: stretch;
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 720px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "menus"
      "industries"
      "locations"
      "company"
      "map";
  }
}

@media (max-width: 560px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 960px) {
  .hero {
    min-height: auto;
  }

  .hero-split {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .hero-copy {
    text-align: center;
  }

  .hero-eyebrow {
    justify-content: center;
  }

  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-trust-badges {
    justify-content: center;
  }

  .hero-trust-badge-img--google-rating {
    max-height: 2.5rem;
  }

  .hero-trust-badge-img--partner {
    max-height: 2.85rem;
  }

  .hero-trust-badge-img--clutch {
    max-height: 2.65rem;
  }

  .hero-aside {
    justify-content: center;
  }

  .hero-form-card {
    max-width: min(27.5rem, 100%);
    height: auto;
    max-height: none;
  }
}

/* Responsive — hero form padding on small screens */
@media (max-width: 768px) {
  .hero-inner {
    padding-left: var(--space-md);
    padding-right: var(--space-md);
  }

  .hero-form-card {
    padding: var(--space-lg);
  }
}

/* --- Inner pages (content band + softer image header with form) --- */
body.page-inner {
  background: #ffffff;
}

.page-inner-main {
  margin: 0;
}

.inner-hero {
  --inner-hero-image: url("Images/hero-background.png");
  position: relative;
  padding: calc(72px + var(--space-xl)) 0 var(--space-xl);
  overflow: hidden;
}

.inner-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--inner-hero-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #0f1216;
}

.inner-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(15, 18, 22, 0.78) 0%,
    rgba(15, 18, 22, 0.5) 52%,
    rgba(15, 18, 22, 0.62) 100%
  );
  pointer-events: none;
}

.inner-hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--layout-max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.inner-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, min(380px, 100%));
  gap: clamp(1.25rem, 4vw, 2.25rem);
  align-items: stretch;
}

.inner-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
}

.inner-hero__title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  line-height: 1.12;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #ffffff;
}

.inner-hero__lead {
  margin: 0;
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(248, 250, 252, 0.88);
}

.inner-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.25rem 0 0;
}

.inner-hero__aside {
    width: 100%;
}

.inner-hero--no-aside .inner-hero__grid {
  grid-template-columns: 1fr;
}

@media (min-width: 901px) {
  .inner-hero--no-aside .inner-hero__copy {
    max-width: 40rem;
  }
}

.inner-hero-form-card.hero-form-card {
  max-width: 100%;
  margin-left: 0;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.2);
}

.page-content {
  font-family: var(--font-body);
  background: #ffffff;
  color: #0f1216;
  padding: clamp(2.5rem, 6vw, 4rem) var(--space-lg);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.page-content__inner {
  max-width: 42rem;
  margin: 0 auto;
}

.page-content__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #0f1216;
}

.page-content__lead {
  margin: 0 0 1.25rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: #374151;
}

.page-content p {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.68;
  color: #1f2937;
}

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

.page-content a {
  color: var(--color-brand-green);
  font-weight: 600;
  text-decoration: none;
}

.page-content a:hover {
  color: var(--color-btn-primary-hover);
  text-decoration: underline;
}

.page-content__list {
  margin: 1rem 0 0;
  padding-left: 1.25rem;
  color: #1f2937;
  line-height: 1.65;
}

.page-content__list li {
  margin-bottom: 0.5rem;
}

.page-content__code {
  font-family: ui-monospace, monospace;
  font-size: 0.9em;
  background: #f3f4f6;
  padding: 0.12rem 0.35rem;
  border-radius: 4px;
}

.page-content--service .page-content__inner {
  max-width: 48rem;
}

.page-content h2 {
  margin: 2rem 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.35rem, 2.4vw, 1.65rem);
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: #0f1216;
}

.page-content h2:first-child {
  margin-top: 0;
}

.page-content h3 {
  margin: 1.65rem 0 0.65rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.12rem, 2vw, 1.28rem);
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: #111827;
}

.page-content h3:first-child {
  margin-top: 0;
}

.page-content__featured {
  margin: 1.75rem 0 2rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 14px 44px rgba(15, 18, 22, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #f9fafb;
}

.page-content__featured img {
  display: block;
  width: 100%;
  height: auto;
}

.page-content__featured-caption {
  margin: 0;
  padding: 0.65rem 1rem 0.85rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: #6b7280;
  text-align: center;
}

.page-content__video {
  margin: 2rem 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 14px 44px rgba(15, 18, 22, 0.12);
  background: #0f1216;
  aspect-ratio: 16 / 9;
  max-width: 100%;
}

.page-content__video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.page-content__embedded {
  margin: 1.5rem 0;
}

.page-content__embedded img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.page-content__embedded--iframe {
  margin: 1.75rem 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 36px rgba(15, 18, 22, 0.1);
  max-width: 100%;
}

.page-content__embedded--iframe iframe {
  display: block;
  width: 100%;
  min-height: 280px;
  border: 0;
}

.page-content__shortcode {
  margin: 1.5rem 0;
  max-width: 100%;
  overflow-x: auto;
}

.page-content__nav-menu ul {
  margin: 1rem 0;
  padding-left: 1.25rem;
  list-style: disc;
}

.page-content figure img {
  max-width: 100%;
  height: auto;
}

.inner-hero__lead a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.inner-hero__lead a:hover {
  color: rgba(255, 255, 255, 0.92);
}

@media (max-width: 900px) {
  .inner-hero__grid {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .inner-hero__copy {
    justify-content: flex-start;
    min-height: 0;
  }

  .inner-hero__aside {
    max-width: min(27.5rem, 100%);
  }
}

@media (max-width: 768px) {
  .inner-hero__inner {
    padding-left: var(--space-md);
    padding-right: var(--space-md);
  }

  .inner-hero-form-card.hero-form-card {
    padding: var(--space-lg);
  }
}

@media (max-width: 480px) {
  :root {
    --space-lg: 1.15rem;
    --space-xl: 2rem;
    --space-2xl: 2.75rem;
  }

  body {
    padding-left: env(safe-area-inset-left, 0);
    padding-right: env(safe-area-inset-right, 0);
  }

  .hero-inner {
    padding-bottom: 2rem;
  }

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

  .lead-banner__cta.btn {
    width: 100%;
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
  }

  .prefooter__grid {
    gap: clamp(1.5rem, 5vw, 2.5rem);
  }

  .site-footer--mega {
    padding-left: max(env(safe-area-inset-left), 1rem);
    padding-right: max(env(safe-area-inset-right), 1rem);
  }

  .page-content {
    padding-left: max(env(safe-area-inset-left), 1rem);
    padding-right: max(env(safe-area-inset-right), 1rem);
  }
}
