/* 920 Window Pros Design System */

/* ===== CUSTOM PROPERTIES ===== */
:root {
  /* Brand Colors */
  --color-mist: #EAF6F9;
  --color-teal: #4BBECE;
  --color-teal-dark: #1C6E7D;
  --color-navy: #1A2E3B;
  --color-cool-gray: #6B8090;
  --color-white: #FFFFFF;
  
  /* Color Roles */
  --color-primary-bg: var(--color-mist);
  --color-secondary-bg: var(--color-white);
  --color-contrast-bg: var(--color-navy);
  --color-body-primary: var(--color-navy);
  --color-body-secondary: var(--color-cool-gray);
  --color-body-on-primary: var(--color-navy);
  --color-body-on-contrast: var(--color-white);
  --color-heading-primary: var(--color-teal-dark);
  --color-heading-on-contrast: var(--color-white);
  --color-border: rgba(107, 128, 144, 0.2);
  --color-border-light: rgba(107, 128, 144, 0.1);
  
  /* Typography */
  --font-display: 'Poppins', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-header: 'Helvena Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-mono: 'SF Mono', Consolas, 'Liberation Mono', Menlo, monospace;
  
  /* Font Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  
  /* Font Weights */
  --font-light: 300;
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-black: 900;
  
  /* Line Heights */
  --leading-none: 1;
  --leading-tight: 1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  --leading-loose: 2;
  
  /* Spacing Scale */
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;
  --space-xxl: 12rem;
  
  /* Border Radius (softer, editorial feel) */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.875rem;
  --radius-xl: 1.25rem;
  --radius-2xl: 1.5rem;
  --radius-3xl: 1.75rem;
  --radius-full: 9999px;
  
  /* Shadows (diffused lift — CTAs & cards) */
  --shadow-sm: 0 1px 3px 0 rgba(26, 46, 59, 0.06);
  --shadow-md: 0 6px 16px -4px rgba(26, 46, 59, 0.08), 0 2px 6px -2px rgba(26, 46, 59, 0.05);
  --shadow-lg: 0 14px 32px -8px rgba(26, 46, 59, 0.1), 0 6px 12px -4px rgba(26, 46, 59, 0.06);
  --shadow-xl: 0 22px 40px -10px rgba(26, 46, 59, 0.12), 0 10px 18px -8px rgba(26, 46, 59, 0.07);
  --shadow-2xl: 0 28px 56px -14px rgba(26, 46, 59, 0.2);
  --shadow-btn: 0 10px 28px -6px rgba(26, 46, 59, 0.16), 0 4px 12px -4px rgba(26, 46, 59, 0.09);
  --shadow-btn-hover: 0 14px 36px -8px rgba(26, 46, 59, 0.2), 0 6px 16px -5px rgba(26, 46, 59, 0.11);
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.6s ease;
  --transition-bounce: 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  
  /* Container */
  --container-max: 1200px;
  --container-padding: var(--space-lg);
  --mobile-call-bar-height: 4.25rem;
}

/* ===== RESET AND BASE STYLES ===== */
*, *::before, *::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-body-primary);
  background-color: var(--color-primary-bg);
  overflow-x: clip;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

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

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

/* Links */
a {
  color: var(--color-teal);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--color-teal-dark);
}

a:focus {
  outline: 2px solid var(--color-teal);
  outline-offset: 2px;
}

/* ===== TYPOGRAPHY SYSTEM ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-heading-primary);
  font-weight: var(--font-bold);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-xl);
  letter-spacing: -0.02em;
}

h1 {
  font-size: var(--text-5xl);
  font-weight: var(--font-black);
  line-height: var(--leading-none);
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(2.15rem, 4.2vw, 3.1rem);
  font-weight: var(--font-bold);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

h3 {
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  letter-spacing: -0.025em;
}

h4 {
  font-size: var(--text-2xl);
  font-weight: var(--font-semibold);
}

h5 {
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
}

h6 {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
}

p {
  margin-bottom: var(--space-md);
  font-size: 0.95rem;
  color: var(--color-body-secondary);
  font-weight: var(--font-normal);
  line-height: var(--leading-relaxed);
}

.section-accent--cta-rich p,
.section-accent--stats-depth p,
.final-cta-section p,
.scene-c p {
  color: inherit;
  font-weight: var(--font-normal);
}

.lead {
  font-size: 1rem;
  font-weight: var(--font-normal);
  color: rgba(107, 128, 144, 0.92);
  line-height: 1.65;
}

.small {
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--color-body-secondary);
  letter-spacing: 0.01em;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* ===== LAYOUT UTILITIES ===== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: clamp(6.25rem, 10vw, 7.5rem) 0;
}

.section-sm {
  padding: clamp(6.25rem, 10vw, 7.5rem) 0;
}

.section-lg {
  padding: clamp(6.25rem, 10vw, 7.5rem) 0;
}

/* Home major section rhythm: alternate soft backgrounds for clear separation */
.home-band-a { background: #ffffff; }
.home-band-b { background: #f8fafb; }
.home-band-c { background: #eaf6f9; }
.home-band-d { background: #ffffff; }

/* Interior page heroes: clear title band (distinct from home; shared across Contact / Services / About) */
.section.page-hero {
  display: flex;
  align-items: center;
  min-height: clamp(22rem, 52vh, 38rem);
  padding-top: clamp(var(--space-3xl), 7vw, var(--space-xxl));
  padding-bottom: clamp(var(--space-3xl), 7vw, var(--space-xxl));
}

@media (min-width: 768px) {
  .section.page-hero {
    min-height: clamp(26rem, 56vh, 42rem);
  }
}

.page-hero__inner {
  width: 100%;
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.page-hero__eyebrow {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin: 0 0 var(--space-md);
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: var(--font-black);
  color: var(--color-teal-dark);
  line-height: var(--leading-tight);
  letter-spacing: -0.035em;
  margin: 0 0 var(--space-xl);
}

@media (min-width: 768px) {
  .page-hero__title {
    font-size: var(--text-6xl);
  }
}

.page-hero__rule {
  width: 3.5rem;
  height: 4px;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--color-teal) 0%, var(--color-teal-dark) 100%);
  margin: 0 auto var(--space-xl);
}

.page-hero__lead {
  font-family: var(--font-body);
  font-size: var(--text-xl);
  font-weight: var(--font-light);
  line-height: 1.65;
  color: var(--color-cool-gray);
  max-width: 36rem;
  margin: 0 auto;
}

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

.page-hero__actions {
  margin-top: clamp(var(--space-2xl), 5vw, var(--space-3xl));
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

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

.grid-2 > * {
  min-width: 0;
}

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

.grid-3 > * {
  min-width: 0;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

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

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-column {
  display: flex;
  flex-direction: column;
}

/* ===== COMPONENT BASE STYLES ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-weight: var(--font-semibold);
  font-size: var(--text-sm);
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  transition: background-color var(--transition-base), color var(--transition-base),
    border-color var(--transition-base), box-shadow var(--transition-base), transform 0.2s ease;
  white-space: nowrap;
}

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

.btn-primary:hover {
  background-color: var(--color-teal-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-btn-hover);
}

.btn-secondary {
  background-color: var(--color-teal-dark);
  color: var(--color-white);
}

.btn-secondary:hover {
  background-color: var(--color-navy);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-btn-hover);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-teal-dark);
  border-color: var(--color-teal-dark);
  box-shadow: none;
}

.btn-outline:hover {
  background-color: var(--color-teal-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-btn-hover);
}

.btn-lg {
  padding: 0.85rem 1.85rem;
  font-size: var(--text-base);
}

.card {
  background-color: var(--color-white);
  border-radius: var(--radius-3xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border-light);
  transition: box-shadow var(--transition-base), transform var(--transition-base),
    border-color 0.35s ease;
}

.card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-2px);
}

/* Service tiles: image band + text body (home “Our Services”) */
.service-offering-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.service-offering-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.service-offering-card__media {
  position: relative;
  flex-shrink: 0;
  height: 12rem;
  overflow: hidden;
  background: var(--color-mist);
}

@media (min-width: 768px) {
  .service-offering-card__media {
    height: 15rem;
  }
}

.service-offering-card__media img,
.service-offering-card__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.service-offering-card__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: var(--space-lg) var(--space-xl) var(--space-xl);
  text-align: left;
}

.service-offering-card__title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: var(--font-bold);
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--color-navy);
  margin: 0 0 var(--space-sm);
  line-height: 1.35;
}

@media (min-width: 768px) {
  .service-offering-card__title {
    min-height: 2.7em;
  }
}

.service-offering-card__text {
  margin: 0;
  font-size: 0.92rem;
  font-weight: var(--font-normal);
  line-height: 1.65;
  color: rgba(107, 128, 144, 0.9);
}

/* Home: value props in “how it works” layout (index) */
.value-steps__intro {
  max-width: 38rem;
  margin: 0 auto var(--space-3xl);
  text-align: center;
}

.value-steps__eyebrow {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-navy);
  margin: 0 0 var(--space-sm);
}

.value-steps__title {
  font-family: var(--font-display);
  font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl));
  font-weight: var(--font-black);
  letter-spacing: -0.025em;
  color: var(--color-navy);
  margin: 0 0 var(--space-md);
  line-height: var(--leading-tight);
}

.value-steps__lead {
  margin: 0;
  font-size: var(--text-lg);
  font-weight: var(--font-light);
  line-height: 1.6;
  color: var(--color-cool-gray);
}

.value-steps__grid {
  margin-top: var(--space-md);
}

.value-step-card {
  position: relative;
  min-width: 0;
}

.value-step-card__panel {
  position: relative;
  margin-top: 1.75rem;
  padding: 2.65rem var(--space-lg) var(--space-2xl);
  text-align: center;
  background: var(--color-white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.value-step-card__panel:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.value-step-card__badge {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--color-navy);
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  line-height: 1;
  border: 3px solid var(--color-white);
  box-shadow: var(--shadow-sm);
}

.value-step-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  margin: 0 auto var(--space-lg);
  border-radius: var(--radius-full);
  background: rgba(75, 190, 206, 0.18);
  color: var(--color-navy);
}

.value-step-card__icon svg {
  width: 1.7rem;
  height: 1.7rem;
}

.value-step-card__heading {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--color-navy);
  margin: 0 0 var(--space-md);
  line-height: 1.4;
}

.value-step-card__copy {
  margin: 0;
  font-size: var(--text-sm);
  font-weight: var(--font-normal);
  line-height: 1.65;
  color: var(--color-cool-gray);
}

/* Scrolling testimonials columns */
.testimonials-scroll {
  width: 100%;
}

.testimonials-scroll__viewport {
  max-height: 740px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 25%, black 75%, transparent);
  mask-image: linear-gradient(to bottom, transparent, black 25%, black 75%, transparent);
}

.testimonials-scroll__columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.testimonials-scroll__column {
  display: none;
}

.testimonials-scroll__column--1 {
  display: block;
}

.testimonials-scroll__track {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  animation: testimonials-scroll-up var(--scroll-duration, 18s) linear infinite;
  will-change: transform;
}

.testimonials-scroll__card {
  background-color: var(--color-white);
  border-radius: var(--radius-2xl);
  padding: var(--space-xl);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-sm);
}

.testimonials-scroll__quote {
  margin: 0 0 var(--space-lg);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-navy);
  font-weight: var(--font-normal);
}

.testimonials-scroll__author {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
}

.testimonials-scroll__name {
  margin: 0;
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--color-navy);
}

.testimonials-scroll__role {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--color-cool-gray);
  opacity: 0.72;
}

@keyframes testimonials-scroll-up {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

@media (min-width: 768px) {
  .testimonials-scroll__columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonials-scroll__column--2 {
    display: block;
  }
}

@media (min-width: 1024px) {
  .testimonials-scroll__columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .testimonials-scroll__column--3 {
    display: block;
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  background-color: var(--color-teal);
  color: var(--color-white);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 1rem;
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  letter-spacing: 0.04em;
  border-radius: var(--radius-full);
  background-color: var(--color-mist);
  color: var(--color-teal-dark);
  border: 1px solid var(--color-border-light);
}

.divider {
  height: 1px;
  background-color: var(--color-border);
  margin: var(--space-xl) 0;
}

/* ===== SCENE UTILITIES ===== */
.scene-a {
  background: var(--color-primary-bg);
  color: var(--color-body-on-primary);
}

.scene-b {
  background: var(--color-secondary-bg);
  color: var(--color-body-on-primary);
}

.scene-c {
  background: var(--color-contrast-bg);
  color: var(--color-body-on-contrast);
}

.scene-c h1, .scene-c h2, .scene-c h3, .scene-c h4, .scene-c h5, .scene-c h6 {
  color: var(--color-heading-on-contrast);
}

/* ===== HEADER AND NAVIGATION ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border-light);
  transition: box-shadow var(--transition-base);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-xs) 0;
}

.site-logo {
  font-family: var(--font-header);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  line-height: 1.15;
  color: var(--color-navy);
}

@media (min-width: 480px) {
  .site-logo {
    gap: var(--space-md);
  }
}

.site-logo__img {
  flex-shrink: 0;
  height: 68px;
  width: auto;
  max-width: min(6.75rem, 28vw);
  object-fit: contain;
  object-position: left center;
  display: block;
  filter: drop-shadow(0 1px 2px rgba(26, 46, 59, 0.12));
}

.site-logo__text {
  font-family: var(--font-header);
  font-weight: 900;
  font-size: clamp(var(--text-sm), 2.8vw, var(--text-lg));
  letter-spacing: -0.02em;
  color: var(--color-navy);
  white-space: nowrap;
}

@media (min-width: 640px) {
  .site-logo__img {
    height: 76px;
    max-width: min(7.45rem, 26vw);
  }

  .site-logo__text {
    font-size: var(--text-xl);
  }
}

@media (max-width: 380px) {
  .site-logo__text {
    max-width: 9.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* Work stories below hero: alternating text/image rows */
.work-stories__list {
  display: grid;
  gap: clamp(var(--space-2xl), 6vw, var(--space-4xl));
}

.work-stories > .container {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.work-story {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
  padding: clamp(var(--space-lg), 2.6vw, var(--space-2xl)) 0;
  background: transparent;
  border: none;
  border-radius: 0;
}

.work-story.js-stagger-item {
  transform: translateY(30px) scale(0.985);
  filter: blur(3px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.work-story.js-stagger-item.is-visible {
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* Premium reveal for all card variants using stagger */
.service-offering-card.js-stagger-item,
.value-step-card.js-stagger-item,
.testimonial-card.js-stagger-item,
.card.js-stagger-item {
  transform: translateY(28px) scale(0.985);
  filter: blur(3px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-offering-card.js-stagger-item.is-visible,
.value-step-card.js-stagger-item.is-visible,
.testimonial-card.js-stagger-item.is-visible,
.card.js-stagger-item.is-visible {
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.work-story__copy {
  order: 2;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.work-story__media {
  order: 1;
  overflow: hidden;
  border-radius: 0;
  background: var(--color-mist);
}

.work-story__media img,
.work-story__media video {
  transform: scale(1.04);
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.work-story.js-stagger-item.is-visible .work-story__media img,
.work-story.js-stagger-item.is-visible .work-story__media video {
  transform: scale(1);
}

.work-story__media img {
  width: 100%;
  height: clamp(260px, 40vw, 430px);
  object-fit: cover;
  display: block;
}

.work-story__media video {
  width: 100%;
  height: clamp(260px, 40vw, 430px);
  object-fit: cover;
  display: block;
}

.work-story__title {
  margin: 0 0 var(--space-md);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.85vw, 1.55rem);
  font-weight: var(--font-bold);
  color: var(--color-teal-dark);
  letter-spacing: -0.015em;
}

.work-story__text {
  margin: 0;
  font-size: 0.94rem;
  font-weight: var(--font-normal);
  line-height: 1.65;
  color: rgba(107, 128, 144, 0.9);
  max-width: 34ch;
}

@media (min-width: 900px) {
  .work-story {
    grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(var(--space-lg), 2.2vw, var(--space-2xl));
    min-height: clamp(320px, 42vw, 460px);
  }

  .work-story__copy {
    order: 1;
  }

  .work-story__media {
    order: 2;
  }

  .work-story.is-reverse {
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  }

  .work-story.is-reverse .work-story__copy {
    order: 2;
  }

  .work-story.is-reverse .work-story__media {
    order: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-offering-card.js-stagger-item,
  .service-offering-card.js-stagger-item.is-visible,
  .value-step-card.js-stagger-item,
  .value-step-card.js-stagger-item.is-visible,
  .testimonial-card.js-stagger-item,
  .testimonial-card.js-stagger-item.is-visible,
  .card.js-stagger-item,
  .card.js-stagger-item.is-visible,
  .work-story.js-stagger-item,
  .work-story.js-stagger-item.is-visible {
    filter: none;
    transform: none;
  }

  .work-story__media img,
  .work-story__media video {
    transform: none;
    transition: none;
  }
}

.service-photo-panel {
  border-radius: var(--radius-3xl);
  overflow: hidden;
  border: 1px solid var(--color-border-light);
  background: var(--color-white);
}

.service-photo-panel img,
.service-photo-panel video {
  width: 100%;
  height: clamp(220px, 38vw, 420px);
  object-fit: cover;
  display: block;
}

/* work-pressure-washing-01.png: slight left-edge haze — bias crop without hiding the job (pole, siding, action) */
img[src*="work-pressure-washing-01"] {
  object-fit: cover;
  object-position: 44% 36%;
  transform: scale(1.12);
  transform-origin: 44% 36%;
}

.service-area-photo {
  border-radius: var(--radius-3xl);
  overflow: hidden;
  border: 1px solid var(--color-border-light);
}

.service-area-photo img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  max-height: 400px;
  object-fit: cover;
  display: block;
}

/* Home: horizontal, video-ready hero with image fallback */
.home-hero-video {
  background: var(--color-white);
  color: var(--color-white);
}

.home-hero-video > .container {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.home-hero-video__frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  overflow: hidden;
  min-height: 100vh;
  background: transparent;
  border: none;
}

.home-hero-video__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.home-hero-video__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  display: block;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.home-hero-video__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(102deg, rgba(15, 42, 52, 0.85) 0%, rgba(15, 42, 52, 0.68) 38%, rgba(15, 42, 52, 0.28) 100%),
    radial-gradient(ellipse 88% 78% at 12% 45%, rgba(75, 190, 206, 0.22), transparent 62%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.home-hero-video__frame.is-video-ready .home-hero-video__video,
.home-hero-video__frame.is-video-ready .home-hero-video__veil {
  opacity: 1;
}

.home-hero-video__content {
  position: relative;
  z-index: 1;
  max-width: min(92vw, 52rem);
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3rem);
  text-align: center;
}

.home-hero-video__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  width: fit-content;
  padding: 0.4rem 1rem 0.4rem 0.85rem;
  margin-bottom: var(--space-lg);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.96);
  background: rgba(75, 190, 206, 0.3);
  border: 1px solid rgba(173, 228, 237, 0.48);
  border-radius: var(--radius-full);
  margin-left: auto;
  margin-right: auto;
}

.home-hero-video__kicker::after {
  content: "\00a0→";
  font-size: 1.05em;
  line-height: 1;
  opacity: 0.9;
}

.home-hero-video__title {
  font-family: var(--font-display);
  font-size: clamp(var(--text-4xl), 5.2vw, 4.65rem);
  font-weight: var(--font-black);
  line-height: 1.03;
  letter-spacing: -0.035em;
  color: #ffffff;
  margin: 0 auto var(--space-lg);
  max-width: none;
  white-space: nowrap;
  text-wrap: balance;
  text-shadow: none;
}

.home-hero-video__lead {
  font-size: var(--text-lg);
  font-weight: var(--font-normal);
  line-height: 1.6;
  color: rgba(243, 250, 252, 0.93);
  margin: 0 auto var(--space-xl);
  max-width: 40rem;
  text-wrap: pretty;
}

.home-hero-video__checks {
  list-style: none;
  margin: 0 auto var(--space-2xl);
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: min(100%, 42rem);
  max-width: min(100%, 42rem);
}

.home-hero-video__checks li {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  align-items: center;
  justify-content: center;
  column-gap: var(--space-sm);
  font-size: var(--text-base);
  font-weight: var(--font-normal);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.95);
  text-align: left;
}

.home-hero-video__check {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.15rem;
  border-radius: var(--radius-full);
  background: rgba(173, 228, 237, 0.25);
  color: #ffffff;
}

.home-hero-video__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.hero-quote-shiny {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.28);
  background-image: linear-gradient(145deg, rgba(75, 190, 206, 0.98), rgba(28, 110, 125, 0.95));
}

.hero-quote-shiny::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.36);
  pointer-events: none;
}

.hero-quote-shiny::after {
  content: "";
  position: absolute;
  top: -180%;
  bottom: -180%;
  left: -44%;
  width: 36%;
  transform: translateX(-260%) rotate(18deg);
  opacity: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.22) 38%,
    rgba(255, 255, 255, 0.72) 50%,
    rgba(255, 255, 255, 0.22) 62%,
    rgba(255, 255, 255, 0) 100%
  );
  mix-blend-mode: normal;
  pointer-events: none;
  animation: hero-button-shine 3.2s linear infinite;
}

.hero-quote-shiny:hover {
  box-shadow: 0 18px 34px rgba(2, 35, 43, 0.34), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

@keyframes hero-button-shine {
  0% {
    transform: translateX(-260%) rotate(18deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  54% {
    transform: translateX(360%) rotate(18deg);
    opacity: 1;
  }
  56% {
    transform: translateX(440%) rotate(18deg);
    opacity: 0;
  }
  57% {
    transform: translateX(-260%) rotate(18deg);
    opacity: 0;
  }
  100% {
    transform: translateX(-260%) rotate(18deg);
    opacity: 0;
  }
}

.home-hero-video__note {
  margin: 0;
  font-size: var(--text-sm);
  font-style: italic;
  font-weight: var(--font-normal);
  color: rgba(235, 247, 251, 0.9);
  letter-spacing: 0.01em;
}

.home-hero-video .btn-outline {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.78);
}

.home-hero-video .btn-outline:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.94);
}

@media (max-width: 767px) {
  .home-hero-video__frame {
    min-height: clamp(24rem, 66vh, 33rem);
  }

  .home-hero-video__content {
    padding: var(--space-xl) var(--space-lg);
  }

  .home-hero-video__checks {
    gap: var(--space-sm);
  }

  .home-hero-video__checks li {
    grid-template-columns: 1.35rem 1fr;
    font-size: var(--text-sm);
  }
}

.footer-brand-logo {
  display: inline-block;
  margin-bottom: var(--space-md);
  line-height: 0;
}

.footer-brand-logo__img {
  height: 88px;
  width: auto;
  max-width: min(360px, 88vw);
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.4));
}

@media (max-width: 480px) {
  .footer-brand-logo__img {
    height: 72px;
    max-width: min(300px, 90vw);
  }
}

/* First footer column: mascot mark + live text, top-aligned with other columns */
.footer-section--brand {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-brand-lockup {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: var(--space-md);
  text-decoration: none;
  color: inherit;
  margin-bottom: 0;
  max-width: 100%;
  min-width: 0;
}

.footer-brand-lockup:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}

.footer-brand-lockup__mark {
  flex-shrink: 0;
  width: auto;
  height: 8.5rem;
  max-width: min(17.5rem, 52vw);
  object-fit: contain;
  object-position: left center;
  display: block;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.35));
}

.footer-brand-lockup__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  flex: 1 1 auto;
  min-width: 0;
  padding-top: 0.2rem;
}

.footer-brand-lockup__line {
  display: block;
  white-space: normal;
  max-width: 100%;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--text-xl);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--color-white);
}

.footer-brand-lockup__line--est {
  white-space: nowrap;
  font-weight: 600;
  font-size: var(--text-base);
  line-height: 1.35;
  color: #a8c0d0;
  letter-spacing: 0.04em;
  margin-top: 0.15rem;
}

@media (min-width: 768px) {
  .footer-brand-lockup__mark {
    height: 9.5rem;
    max-width: 19.5rem;
  }

  .footer-brand-lockup__line {
    font-size: var(--text-2xl);
  }
}

@media (min-width: 1024px) {
  .footer-brand-lockup__mark {
    height: 10.75rem;
    max-width: 21rem;
  }

  .footer-brand-lockup__line {
    font-size: clamp(var(--text-2xl), 1.35vw, 1.625rem);
  }

  .footer-brand-lockup__line--est {
    font-size: var(--text-lg);
  }
}

.nav-links {
  display: none;
  align-items: center;
  gap: clamp(var(--space-lg), 2.5vw, var(--space-xl));
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-family: var(--font-header);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  letter-spacing: 0.03em;
  color: var(--color-navy);
  position: relative;
  transition: color var(--transition-base);
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 50%;
  background-color: var(--color-teal);
  transition: all var(--transition-base);
  transform: translateX(-50%);
}

.nav-links a:hover {
  color: var(--color-teal);
}

.nav-links a:hover::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: block;
  background: none;
  border: none;
  padding: var(--space-xs);
  cursor: pointer;
  color: var(--color-navy);
}

.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-lg);
  padding: var(--space-lg);
}

.mobile-nav.active,
.mobile-nav.open {
  display: block;
}

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

.mobile-nav-links li {
  margin-bottom: var(--space-md);
}

.mobile-nav-links a {
  font-family: var(--font-header);
  font-weight: var(--font-semibold);
  font-size: var(--text-lg);
  letter-spacing: 0.02em;
  color: var(--color-navy);
  display: block;
  padding: var(--space-sm) 0;
}

/* ===== FOOTER ===== */
.site-footer {
  background-color: var(--color-navy);
  color: var(--color-white);
  padding: var(--space-4xl) 0 var(--space-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-grid > .footer-section {
  min-width: 0;
}

.footer-section h4 {
  color: var(--color-white);
  margin-bottom: var(--space-md);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Keep link columns above brand if anything still bleeds past the grid track */
.footer-grid > .footer-section:not(.footer-section--brand) {
  position: relative;
  z-index: 1;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: var(--space-xs);
}

.footer-links__nowrap {
  white-space: nowrap;
}

.footer-links a {
  color: var(--color-cool-gray);
  transition: color var(--transition-base);
}

.footer-links a:hover {
  color: var(--color-teal);
}

.footer-bottom {
  border-top: 1px solid rgba(107, 128, 144, 0.3);
  padding-top: var(--space-lg);
  text-align: center;
  color: var(--color-cool-gray);
  font-size: var(--text-sm);
}

/* ===== ANIMATION SYSTEM ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-right {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-right.visible {
  opacity: 1;
  transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-in, .fade-left, .fade-right {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .js-stagger-item {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-section--ambient,
  .hero-section--ambient-soft,
  .services-hero {
    animation: none !important;
  }
}

/* ===== STAGGERED REVEAL (JS adds .is-visible) ===== */
.js-stagger-item {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.js-stagger-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== AMBIENT BACKGROUNDS (motion-safe) ===== */
@media (prefers-reduced-motion: no-preference) {
  @keyframes hero-mist-drift {
    0%, 100% {
      background-position: 0% 45%;
    }
    33% {
      background-position: 100% 35%;
    }
    66% {
      background-position: 85% 65%;
    }
  }

  @keyframes hero-accent-drift {
    0%, 100% {
      background-position: 8% 12%, 92% 88%;
    }
    50% {
      background-position: 72% 22%, 28% 78%;
    }
  }

  @keyframes services-hero-shift {
    0%, 100% {
      background-position: 0% 42%;
    }
    50% {
      background-position: 100% 58%;
    }
  }

  @keyframes hero-mist-drift-soft {
    0%, 100% {
      background-position: 0% 50%;
    }
    33% {
      background-position: 88% 44%;
    }
    66% {
      background-position: 72% 56%;
    }
  }

  @keyframes hero-accent-drift-soft {
    0%, 100% {
      background-position: 12% 16%, 86% 84%;
    }
    50% {
      background-position: 58% 26%, 42% 74%;
    }
  }

  .hero-section--ambient {
    background: linear-gradient(
      132deg,
      #b8dce8 0%,
      #d2ebf3 18%,
      #eaf6f9 40%,
      #cde4ee 62%,
      #c5dfe9 82%,
      #b5d6e3 100%
    );
    background-size: 240% 240%;
    animation: hero-mist-drift 26s ease-in-out infinite;
  }

  /* Interior pages: same idea as home hero, lower contrast + slower motion */
  .hero-section--ambient-soft {
    background: linear-gradient(
      132deg,
      #e2f3f8 0%,
      #eaf6f9 28%,
      #f2f9fb 52%,
      #e6f4f8 75%,
      #dff5f9 100%
    );
    background-size: 210% 210%;
    animation: hero-mist-drift-soft 34s ease-in-out infinite;
  }

  .services-hero {
    background: linear-gradient(160deg, #2a5560 0%, #1c6e7d 45%, #163a42 100%);
    background-size: 200% 200%;
    animation: services-hero-shift 16s ease-in-out infinite;
  }
}

/* Fallback static backgrounds when motion is reduced */
@media (prefers-reduced-motion: reduce) {
  .hero-section--ambient,
  .hero-section--ambient-soft {
    background: #eaf6f9;
  }

  .services-hero {
    background: linear-gradient(160deg, #2a5560 0%, #1c6e7d 45%, #163a42 100%);
  }
}

/* ===== MICRO-INTERACTIONS ===== */
.site-logo {
  transition: color var(--transition-base), transform var(--transition-base);
}

@media (prefers-reduced-motion: no-preference) {
  .site-logo:hover {
    transform: translateY(-1px);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .btn:active {
    transform: translateY(1px) scale(0.99);
  }
}

.stat-number {
  font-variant-numeric: tabular-nums;
}

/* ===== STRATEGIC COLOR ACCENTS (few, layered; content stays above via z-index) ===== */
.section-accent--hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.section-accent--hero > .container {
  position: relative;
  z-index: 1;
}

/* Bright center “mist” + soft edge depth; focal point follows --mist-x / --mist-y (JS on home) */
.section-accent--hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 72% 68% at var(--mist-x, 50%) var(--mist-y, 50%),
      #ffffff 0%,
      rgba(255, 255, 255, 0.88) 22%,
      rgba(241, 249, 252, 0.5) 48%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 108% 105% at 50% 48%,
      transparent 38%,
      rgba(160, 205, 218, 0.42) 72%,
      rgba(140, 192, 208, 0.32) 100%
    );
  background-repeat: no-repeat;
}

.section-accent--hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 100% 85% at 50% 50%, rgba(75, 190, 206, 0.18), transparent 52%),
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(28, 110, 125, 0.08), transparent 55%);
  background-size: 135% 135%, 120% 120%;
  background-position: 8% 12%, 92% 88%;
  background-repeat: no-repeat;
}

@media (prefers-reduced-motion: no-preference) {
  .section-accent--hero::after {
    animation: hero-accent-drift 22s ease-in-out infinite;
  }
}

@media (prefers-reduced-motion: reduce) {
  .section-accent--hero::before {
    background:
      radial-gradient(
        ellipse 72% 68% at 50% 50%,
        #ffffff 0%,
        rgba(255, 255, 255, 0.88) 22%,
        rgba(241, 249, 252, 0.5) 48%,
        transparent 70%
      ),
      radial-gradient(
        ellipse 108% 105% at 50% 48%,
        transparent 38%,
        rgba(160, 205, 218, 0.42) 72%,
        rgba(140, 192, 208, 0.32) 100%
      );
  }

  .section-accent--hero::after {
    animation: none !important;
    background:
      radial-gradient(ellipse 90% 75% at 95% 6%, rgba(75, 190, 206, 0.2), transparent 50%),
      radial-gradient(ellipse 55% 45% at 8% 92%, rgba(28, 110, 125, 0.09), transparent 55%);
    background-size: auto, auto;
    background-position: 0 0, 0 0;
  }
}

/* Gentler mist overlay for non-home heroes (shares --mist-x / --mist-y with js-hero-mist) */
.section-accent--hero-soft {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.section-accent--hero-soft > .container {
  position: relative;
  z-index: 1;
}

.section-accent--hero-soft::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 72% 68% at var(--mist-x, 50%) var(--mist-y, 50%),
      rgba(255, 255, 255, 0.96) 0%,
      rgba(255, 255, 255, 0.8) 24%,
      rgba(244, 250, 252, 0.45) 50%,
      transparent 72%
    ),
    radial-gradient(
      ellipse 108% 105% at 50% 48%,
      transparent 42%,
      rgba(175, 210, 222, 0.28) 78%,
      rgba(165, 204, 218, 0.18) 100%
    );
  background-repeat: no-repeat;
}

.section-accent--hero-soft::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 100% 85% at 50% 50%, rgba(75, 190, 206, 0.11), transparent 54%),
    radial-gradient(ellipse 72% 62% at 50% 50%, rgba(28, 110, 125, 0.05), transparent 56%);
  background-size: 128% 128%, 118% 118%;
  background-position: 12% 16%, 86% 84%;
  background-repeat: no-repeat;
}

@media (prefers-reduced-motion: no-preference) {
  .section-accent--hero-soft::after {
    animation: hero-accent-drift-soft 28s ease-in-out infinite;
  }
}

.section-accent--stats-depth {
  position: relative;
  overflow: hidden;
  background-color: var(--color-navy);
  color: var(--color-white);
}

.section-accent--stats-depth > .container {
  position: relative;
  z-index: 1;
}

.section-accent--stats-depth::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 75% 85% at 0% 100%, rgba(75, 190, 206, 0.14), transparent 58%),
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(75, 190, 206, 0.11), transparent 52%);
}

.section-accent--cta-rich {
  position: relative;
  overflow: hidden;
  background: #1c6e7d;
  color: var(--color-white);
}

.section-accent--cta-rich > .container {
  position: relative;
  z-index: 1;
}

.section-accent--cta-rich::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 42%;
  z-index: 0;
  pointer-events: none;
  background: none;
}

.section-accent--cta-rich::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(72%, 520px);
  height: 38%;
  z-index: 0;
  pointer-events: none;
  background: none;
}

.section-accent--form-soft {
  position: relative;
  overflow: hidden;
  background-color: var(--color-white);
}

.section-accent--form-soft > .container {
  position: relative;
  z-index: 1;
}

.section-accent--form-soft::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 58% 48% at 0% 0%, rgba(75, 190, 206, 0.09), transparent 62%),
    radial-gradient(ellipse 52% 44% at 100% 100%, rgba(234, 246, 249, 0.95), transparent 64%);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (min-width: 768px) {
  :root {
    --container-padding: var(--space-xl);
  }
  
  h1 { font-size: var(--text-6xl); }
  h2 { font-size: clamp(2.5rem, 4vw, 3.4rem); }
  h3 { font-size: var(--text-4xl); }
  
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  
  .nav-links { display: flex; }
  .mobile-menu-toggle { display: none; }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: var(--space-2xl);
    row-gap: var(--space-xl);
  }
}

@media (min-width: 1024px) {
  :root {
    --container-padding: var(--space-2xl);
  }
  
  .footer-grid {
    grid-template-columns: minmax(0, 2.45fr) repeat(3, minmax(0, 1fr));
    align-items: start;
    column-gap: var(--space-2xl);
  }
  
  .section {
    padding: clamp(6.5rem, 10vw, 7.5rem) 0;
  }
}

/* Tighter band below sticky header; beats .section padding (incl. 1024px shorthand) */
section.home-hero-video {
  padding-top: 0;
  padding-bottom: 0;
}

/* ===== UTILITY CLASSES ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.overflow-hidden { overflow: hidden; }

/* ===== MOBILE CALL CTA ===== */
.mobile-call-bar {
  display: none;
}

@media (max-width: 767px) {
  .mobile-call-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.6rem var(--space-md) calc(0.6rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -8px 24px rgba(26, 46, 59, 0.12);
    backdrop-filter: blur(4px);
  }

  .mobile-call-bar__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.85rem;
    padding: 0.7rem 1.2rem;
    border-radius: var(--radius-full);
    background: var(--color-teal);
    color: var(--color-white);
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: var(--font-semibold);
    letter-spacing: 0.015em;
    text-decoration: none;
    box-shadow: var(--shadow-btn);
    margin: 0 auto;
  }

  .mobile-call-bar__btn:hover {
    background: var(--color-teal-dark);
    color: var(--color-white);
  }

  body {
    padding-bottom: calc(var(--mobile-call-bar-height) + env(safe-area-inset-bottom));
  }
}
.relative { position: relative; }
.absolute { position: absolute; }
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none; }

.w-full { width: 100%; }
.h-full { height: 100%; }

.mx-auto { margin-left: auto; margin-right: auto; }
.mb-0 { margin-bottom: 0; }

main .section .grid-2 img[src*="work-team"] {
  border-radius: var(--radius-3xl);
  border: 1px solid var(--color-border-light);
}