/* =========================================
   DRAIN & DRY SUPPLY — styles.css
   RhythmWorks AI Website Factory
   Build: 2026-05-24
   Direction: Deep Impact × Blueprint Authority
   ========================================= */

/* ─── 1. DESIGN TOKENS ──────────────────── */

:root {
  /* Backgrounds */
  --color-bg-void:        #000000;
  --color-bg-deep:        #040810;
  --color-bg-dark:        #090f1c;
  --color-bg-mid:         #0d1627;
  --color-bg-nav:         rgba(4, 12, 28, 0.94);
  --color-bg-card-glass:  rgba(255, 255, 255, 0.04);
  --color-bg-card-solid:  #131f35;

  /* Accent */
  --color-accent:         #0078ff;
  --color-accent-hi:      #38b6ff;

  /* CTA */
  --color-cta:            #0062e6;
  --color-cta-hover:      #0078ff;

  /* Text */
  --color-text-base:      rgba(255, 255, 255, 0.92);
  --color-text-muted:     rgba(255, 255, 255, 0.60);
  --color-text-dim:       rgba(255, 255, 255, 0.35);

  /* Borders */
  --color-border:         rgba(0, 120, 255, 0.15);
  --color-border-hi:      rgba(56, 182, 255, 0.45);

  /* Glow */
  --color-glow:           rgba(0, 120, 255, 0.18);
  --color-glow-hi:        rgba(56, 182, 255, 0.32);
  --color-product-halo:   rgba(0, 120, 255, 0.22);

  /* Typography */
  --font-display: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --space-xs:   8px;
  --space-sm:   16px;
  --space-md:   24px;
  --space-lg:   48px;
  --space-xl:   80px;
  --space-2xl:  120px;

  /* Layout */
  --max-width:  1240px;
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  20px;

  /* Motion */
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:      cubic-bezier(0.0, 0.0, 0.2, 1);
}

/* ─── 2. RESET ──────────────────────────── */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-base);
  background: var(--color-bg-void);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ─── 3. TYPOGRAPHY ─────────────────────── */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--color-text-base);
}

h1 { font-size: clamp(40px, 5.5vw, 68px); }
h2 { font-size: clamp(30px, 4vw, 52px); }
h3 { font-size: clamp(20px, 2.5vw, 28px); }
h4 { font-size: clamp(16px, 2vw, 22px); }

p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent-hi);
  display: block;
  margin-bottom: var(--space-sm);
}

.accent-word { color: var(--color-accent-hi); }

.section-headline { margin-bottom: var(--space-sm); }

.section-sub {
  max-width: 600px;
  margin-bottom: var(--space-lg);
}

/* ─── 4. BUTTON SYSTEM ──────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  transition: all 200ms var(--ease-standard);
  white-space: nowrap;
  cursor: pointer;
  outline-offset: 2px;
}

.btn:focus-visible {
  outline: 2px solid var(--color-accent-hi);
}

.btn--primary {
  background: var(--color-cta);
  color: #fff;
  border: 1px solid transparent;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
  animation: ctaGlowPulse 4s ease-in-out infinite;
}

.btn--primary:hover {
  background: var(--color-cta-hover);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12),
              0 4px 24px rgba(0,120,255,0.45);
  animation: none;
}

.btn--ghost-light {
  background: transparent;
  color: var(--color-text-base);
  border: 1px solid rgba(255,255,255,0.25);
}

.btn--ghost-light:hover {
  border-color: var(--color-accent-hi);
  color: var(--color-accent-hi);
  background: rgba(56,182,255,0.06);
  transform: translateY(-2px);
}

.btn--ghost-dark {
  background: transparent;
  color: #0a0f1a;
  border: 1px solid rgba(10,15,26,0.3);
}

.btn--ghost-dark:hover {
  background: #0a0f1a;
  color: #fff;
}

.btn--large  { padding: 18px 36px; font-size: 16px; }
.btn--full   { width: 100%; justify-content: center; }

/* ─── 5. NAVIGATION ─────────────────────── */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 var(--space-lg);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  background: transparent;
  transition: background 200ms var(--ease-standard),
              box-shadow 200ms var(--ease-standard);
}

.nav.scrolled {
  background: var(--color-bg-nav);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--color-border);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  text-decoration: none;
}

.nav__logo-icon {
  width: 10px;
  height: 14px;
  flex-shrink: 0;
}

.nav__logo-wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.nav__logo-drain { color: #ffffff; }
.nav__logo-dry   { color: #38b6ff; }

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  flex: 1;
  justify-content: center;
}

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
  transition: color 150ms ease;
}

.nav__link:hover { color: var(--color-text-base); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text-base);
  border-radius: 2px;
  transition: all 250ms ease;
}

.nav__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav__mobile {
  display: none;
  position: absolute;
  top: 72px; left: 0; right: 0;
  background: rgba(4,12,28,0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-md) var(--space-lg) var(--space-lg);
  flex-direction: column;
  gap: 4px;
}

.nav__mobile.is-open { display: flex; }

.nav__mobile .nav__link {
  padding: 14px 0;
  font-size: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: block;
}

.nav__mobile .btn {
  margin-top: var(--space-md);
  width: 100%;
  justify-content: center;
}

/* ─── 6. HERO ───────────────────────────── */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--color-bg-void);
  overflow: hidden;
  padding-top: 72px;
}

.hero__bloom {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 65% at 65% 52%,
    rgba(0, 80, 200, 0.07) 0%,
    rgba(0, 40, 120, 0.03) 50%,
    transparent 70%);
  animation: heroBlooms 10s ease-in-out infinite alternate;
  pointer-events: none;
}

.hero__container {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-lg);
  display: grid;
  grid-template-columns: 56% 44%;
  gap: var(--space-xl);
  align-items: center;
  flex: 1;
}

.hero__content { z-index: 1; }

.hero__headline {
  font-size: clamp(42px, 5.5vw, 68px);
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  line-height: 1.0;
}

.hero__sub {
  font-size: 17px;
  line-height: 1.75;
  color: var(--color-text-muted);
  max-width: 460px;
  margin-bottom: var(--space-lg);
}

.hero__ctas {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.hero__visual {
  position: relative;
  z-index: 1;
}

/* Cinematic frame */
.hero__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #040c1a 0%, #000c20 50%, #000408 100%);
  box-shadow:
    0 0 48px var(--color-glow),
    0 0 96px rgba(0,120,255,0.06),
    inset 0 1px 0 rgba(255,255,255,0.04);
  overflow: hidden;
}

/* Registration marks — top-left and bottom-right via frame pseudo */
.hero__frame::before {
  content: '';
  position: absolute;
  top: 16px; left: 16px;
  width: 20px; height: 20px;
  border-top: 1.5px solid var(--color-accent-hi);
  border-left: 1.5px solid var(--color-accent-hi);
  opacity: 0.5;
  z-index: 2;
}
.hero__frame::after {
  content: '';
  position: absolute;
  bottom: 16px; right: 16px;
  width: 20px; height: 20px;
  border-bottom: 1.5px solid var(--color-accent-hi);
  border-right: 1.5px solid var(--color-accent-hi);
  opacity: 0.5;
  z-index: 2;
}

/* Registration marks — top-right and bottom-left via inner div pseudo */
.hero__frame-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--space-md);
}

.hero__frame-inner::before {
  content: '';
  position: absolute;
  top: 16px; right: 16px;
  width: 20px; height: 20px;
  border-top: 1.5px solid var(--color-accent-hi);
  border-right: 1.5px solid var(--color-accent-hi);
  opacity: 0.5;
}
.hero__frame-inner::after {
  content: '';
  position: absolute;
  bottom: 16px; left: 16px;
  width: 20px; height: 20px;
  border-bottom: 1.5px solid var(--color-accent-hi);
  border-left: 1.5px solid var(--color-accent-hi);
  opacity: 0.5;
}

.hero__cinematic-bg {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
}

.hero__cinematic-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.28) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.82;
}

/* Trust chips — below hero CTAs in left column */
.hero__trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: var(--space-sm);
}

.hero__trust-chip {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-dim);
  padding: 5px 12px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
}

/* Stats row */
.hero__stats {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: var(--space-md) var(--space-lg) var(--space-lg);
  display: flex;
  gap: var(--space-md);
  border-top: 1px solid var(--color-border);
}

.hero__stat {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: var(--color-bg-card-glass);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero__stat-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 32px;
  color: var(--color-accent-hi);
  line-height: 1;
}

.hero__stat-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text-muted);
  line-height: 1.3;
}

/* ─── 7. SECTION BASE ───────────────────── */

.section {
  padding: var(--space-2xl) var(--space-lg);
}

.section__container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section--void { background: var(--color-bg-void); }
.section--deep { background: var(--color-bg-deep); }
.section--dark { background: var(--color-bg-dark); }
.section--mid  { background: var(--color-bg-mid); }

.section__divider {
  max-width: var(--max-width);
  margin: 0 auto;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(0,120,255,0.28), transparent);
  border: none;
}

.section__header { margin-bottom: var(--space-xl); }

.section__header--center { text-align: center; }
.section__header--center .section-sub {
  margin-left: auto;
  margin-right: auto;
}

/* ─── 8. GLASS CARDS ────────────────────── */

.card-glass {
  position: relative;
  background: var(--color-bg-card-glass);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow:
    0 4px 32px rgba(0,0,0,0.4),
    0 0 24px var(--color-glow),
    inset 0 1px 0 rgba(255,255,255,0.05);
  transition: transform 250ms var(--ease-standard),
              border-color 250ms var(--ease-standard),
              box-shadow 250ms var(--ease-standard);
  overflow: hidden;
}

.card-glass:hover {
  transform: translateY(-5px);
  border-color: var(--color-border-hi);
  box-shadow:
    0 8px 40px rgba(0,0,0,0.5),
    0 0 36px var(--color-glow-hi),
    inset 0 1px 0 rgba(255,255,255,0.07);
}

/* Edge shimmer — JS adds .shimmer-active on entry */
.card-glass::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(56,182,255,0.85), transparent);
  transform: translateX(-101%);
  pointer-events: none;
  z-index: 2;
}

.card-glass.shimmer-active::before {
  animation: edgeShimmer 900ms ease-in-out forwards;
}

/* ─── 9. SOLID CARDS ────────────────────── */

.card-solid {
  position: relative;
  background: var(--color-bg-card-solid);
  border: 1px solid rgba(0,120,255,0.18);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 24px rgba(0,0,0,0.35);
  transition: transform 250ms var(--ease-standard),
              box-shadow 250ms var(--ease-standard);
  overflow: hidden;
}

.card-solid::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 3px; height: 100%;
  background: var(--color-accent-hi);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 250ms var(--ease-standard);
}

.card-solid:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.45);
}

.card-solid:hover::before { transform: scaleY(1); }

/* ─── 10. PILLS ─────────────────────────── */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: rgba(0,120,255,0.10);
  border: 1px solid rgba(56,182,255,0.28);
  border-radius: 40px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-accent-hi);
  letter-spacing: 0.03em;
}

/* ─── 11. PRODUCT CATEGORIES ────────────── */

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

.category-tile {
  padding: var(--space-lg) var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.category-tile__icon {
  width: 48px;
  height: 48px;
  color: var(--color-accent-hi);
  margin-bottom: var(--space-xs);
  filter: drop-shadow(0 0 10px rgba(56,182,255,0.40));
  flex-shrink: 0;
}

.category-tile__halo {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 45%;
  background: radial-gradient(ellipse 80% 60% at 50% 100%,
    var(--color-product-halo) 0%, transparent 70%);
  pointer-events: none;
}

.category-tile__name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  color: var(--color-text-base);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.category-tile__desc {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.category-tile__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-accent-hi);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  transition: gap 150ms ease, color 150ms ease;
  padding-top: var(--space-xs);
}

.category-tile:hover .category-tile__link { gap: 8px; }

.categories__footer {
  text-align: center;
  padding-top: var(--space-sm);
}

/* ─── 12. TRUST STRIP ───────────────────── */

.trust-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-md);
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  padding: var(--space-md);
}

.trust-item__icon {
  width: 32px;
  height: 32px;
  color: var(--color-accent-hi);
  margin-bottom: 4px;
}

.trust-item__label {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-base);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.2;
}

.trust-item__desc {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ─── 13. CONTRACTOR NETWORK ────────────── */

.contractor-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.contractor-card:nth-child(1) { grid-column: 1 / 3; }
.contractor-card:nth-child(2) { grid-column: 3 / 5; }
.contractor-card:nth-child(3) { grid-column: 5 / 7; }
.contractor-card:nth-child(4) { grid-column: 2 / 4; }
.contractor-card:nth-child(5) { grid-column: 4 / 6; }

.contractor-card {
  padding: var(--space-md) var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contractor-card__tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--color-text-dim);
  text-transform: uppercase;
}

.contractor-card__name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  color: var(--color-text-base);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.contractor-card__desc {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.network-note {
  text-align: center;
  font-size: 13px;
  color: var(--color-text-dim);
  font-style: italic;
  margin-top: var(--space-md);
}

/* ─── 14. WHY PARTNER ───────────────────── */

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

.differentiator-card {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.differentiator-card__num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--color-accent-hi);
  text-transform: uppercase;
  font-family: var(--font-body);
}

.differentiator-card__title {
  font-size: clamp(18px, 2vw, 23px);
}

.differentiator-card__desc {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.75;
}

/* ─── 15. HOW IT WORKS ──────────────────── */

.process__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.process-step {
  position: relative;
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  overflow: hidden;
}

.process-step__bg-num {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  font-family: var(--font-display);
  font-size: 88px;
  font-weight: 900;
  line-height: 1;
  color: rgba(0,120,255,0.10);
  pointer-events: none;
  user-select: none;
}

.process-step__tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--color-accent-hi);
  text-transform: uppercase;
  font-family: var(--font-body);
}

.process-step__title { font-size: clamp(22px, 2.5vw, 28px); }

.process-step__desc {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.75;
}

.process__cta { text-align: center; }

/* ─── 16. SUPPLIER QUOTE ────────────────── */

.quote-section {
  display: flex;
  justify-content: center;
}

.quote-card {
  max-width: 780px;
  width: 100%;
  padding: var(--space-xl);
  border-left: 3px solid var(--color-accent-hi);
  background: rgba(0, 20, 60, 0.30);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  border-top: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.quote-card__text {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 400;
  line-height: 1.65;
  color: var(--color-text-base);
  font-style: italic;
  margin-bottom: var(--space-md);
}

.quote-card__attribution {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-accent-hi);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ─── 17. CTA SECTION ───────────────────── */

.cta-section { text-align: center; }

.cta-section h2 {
  margin-bottom: var(--space-sm);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section > .section__container > p {
  max-width: 560px;
  margin: 0 auto var(--space-lg);
}

.cta-section__buttons {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── 18. FOOTER ────────────────────────── */

.footer {
  background: var(--color-bg-void);
  border-top: 1px solid var(--color-border);
  padding: var(--space-xl) var(--space-lg);
}

.footer__container { max-width: var(--max-width); margin: 0 auto; }

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-lg);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-lg);
}

.footer__brand { max-width: 280px; }

.footer__logo {
  display: flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  margin-bottom: var(--space-sm);
}

.footer__logo-icon {
  width: 9px;
  height: 12px;
  flex-shrink: 0;
}

.footer__logo-wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.footer__logo-drain { color: rgba(255,255,255,0.75); }
.footer__logo-dry   { color: #38b6ff; }

.footer__tagline {
  font-size: 13px;
  color: var(--color-text-dim);
}

.footer__nav {
  display: flex;
  gap: var(--space-xl);
}

.footer__nav-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__nav-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-dim);
  margin-bottom: 4px;
}

.footer__nav-link {
  font-size: 14px;
  color: var(--color-text-muted);
  transition: color 150ms ease;
}

.footer__nav-link:hover { color: var(--color-accent-hi); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.footer__copy {
  font-size: 13px;
  color: var(--color-text-dim);
}

.footer__legal { display: flex; gap: var(--space-md); }

.footer__legal-link {
  font-size: 13px;
  color: var(--color-text-dim);
  transition: color 150ms ease;
}

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

/* ─── 19. PAGE HERO (interior pages) ────── */

.page-hero {
  padding: calc(72px + var(--space-xl)) var(--space-lg) var(--space-xl);
  background: var(--color-bg-void);
  border-bottom: 1px solid var(--color-border);
}

.page-hero__container { max-width: var(--max-width); margin: 0 auto; }

.page-hero h1 { margin-bottom: var(--space-sm); }

.page-hero p {
  max-width: 600px;
  font-size: 17px;
}

/* ─── 20. FORM / APPLY PAGE ─────────────── */

.apply-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: var(--space-xl);
  align-items: start;
}

.apply-form-wrap {
  background: var(--color-bg-card-glass);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.apply-form-pending {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  min-height: 360px;
  text-align: center;
  padding: var(--space-lg);
}

.apply-form-pending__icon {
  color: var(--color-accent-hi);
  opacity: 0.45;
}

.apply-form-pending__text {
  font-size: 15px;
  color: var(--color-text-muted);
  max-width: 300px;
  line-height: 1.65;
}

.apply-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  position: sticky;
  top: calc(72px + var(--space-md));
}

.apply-sidebar__card {
  padding: var(--space-lg);
}

.apply-sidebar__title {
  font-size: 16px;
  margin-bottom: var(--space-sm);
}

.apply-sidebar__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.apply-sidebar__list li {
  font-size: 14px;
  color: var(--color-text-muted);
  display: flex;
  gap: 8px;
}

.apply-sidebar__list li::before {
  content: '→';
  color: var(--color-accent-hi);
  flex-shrink: 0;
  font-weight: 600;
}

.form-disclaimer {
  font-size: 12px;
  color: var(--color-text-dim);
  font-style: italic;
  margin-top: var(--space-md);
  line-height: 1.6;
}

/* ─── 21. ABOUT PAGE ────────────────────── */

.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  margin-bottom: var(--space-xl);
}

.about-photo-placeholder {
  aspect-ratio: 4/3;
  background: var(--color-bg-card-glass);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--space-sm);
  color: var(--color-text-dim);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  padding: var(--space-lg);
}

.about-photo-placeholder svg {
  width: 48px;
  height: 48px;
  color: var(--color-text-dim);
  opacity: 0.5;
}

/* ─── 22. CONTACT PAGE ──────────────────── */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-info__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-info__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent-hi);
  font-family: var(--font-body);
}

.contact-info__value {
  font-size: 16px;
  color: var(--color-text-muted);
}

.contact-form-wrap {
  background: var(--color-bg-card-glass);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* ─── 23. MOTION-ENABLED ENTRANCE ANIMS ─── */

body.motion-ready .animate-section {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms var(--ease-standard),
              transform 600ms var(--ease-standard);
}

body.motion-ready .animate-section.visible {
  opacity: 1;
  transform: translateY(0);
}

body.motion-ready .animate-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms var(--ease-standard),
              transform 600ms var(--ease-standard);
}

body.motion-ready .animate-children.visible > * { opacity: 1; transform: translateY(0); }
body.motion-ready .animate-children.visible > *:nth-child(1) { transition-delay:   0ms; }
body.motion-ready .animate-children.visible > *:nth-child(2) { transition-delay:  80ms; }
body.motion-ready .animate-children.visible > *:nth-child(3) { transition-delay: 160ms; }
body.motion-ready .animate-children.visible > *:nth-child(4) { transition-delay: 240ms; }
body.motion-ready .animate-children.visible > *:nth-child(5) { transition-delay: 320ms; }

/* ─── 24. KEYFRAMES ─────────────────────── */

@keyframes heroBlooms {
  from { opacity: 0.7; transform: scale(1); }
  to   { opacity: 1.0; transform: scale(1.08); }
}

@keyframes edgeShimmer {
  from { transform: translateX(-101%); }
  to   { transform: translateX(101%); }
}

@keyframes ctaGlowPulse {
  0%, 100% {
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.12),
                0 0 16px rgba(0,98,230,0.12);
  }
  50% {
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.12),
                0 0 32px rgba(0,120,255,0.38);
  }
}

/* ─── 25. RESPONSIVE ────────────────────── */

@media (max-width: 1100px) {
  .hero__container { grid-template-columns: 1fr; gap: var(--space-lg); }
  .hero__frame { max-width: 500px; margin: 0 auto; aspect-ratio: 16 / 9; }
  .categories__grid { grid-template-columns: repeat(2, 1fr); }
  .trust-strip { grid-template-columns: repeat(3, 1fr); }
  .apply-layout { grid-template-columns: 1fr; }
  .apply-sidebar { position: static; }
  .about-intro { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root {
    --space-xl:  60px;
    --space-2xl: 80px;
  }

  .nav__links,
  .nav__cta { display: none; }
  .nav__toggle { display: flex; }

  .hero__visual { order: -1; }
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
  .hero__stats { flex-wrap: wrap; gap: var(--space-sm); padding: var(--space-md); }
  .hero__stat { flex: 1 1 120px; }

  .trust-strip { grid-template-columns: 1fr 1fr; }
  .trust-strip .trust-item:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
  }

  .contractor-grid { grid-template-columns: repeat(2, 1fr); }
  .contractor-card:nth-child(n) { grid-column: auto; }

  .differentiators__grid { grid-template-columns: 1fr; }
  .process__steps { grid-template-columns: 1fr; }

  .footer__top { flex-direction: column; }
  .footer__nav { flex-wrap: wrap; gap: var(--space-lg); }
}

@media (max-width: 480px) {
  :root {
    --space-xl:  48px;
    --space-2xl: 64px;
  }

  .section { padding: var(--space-xl) var(--space-md); }
  .categories__grid { grid-template-columns: 1fr; }
  .trust-strip { grid-template-columns: 1fr; }
  .trust-strip .trust-item:last-child { max-width: 100%; }
  .contractor-grid { grid-template-columns: 1fr; }
  .quote-card { padding: var(--space-lg); }
  .hero__container { padding: var(--space-lg) var(--space-md); }
  .hero__stats { padding: var(--space-sm) var(--space-md); }
  .nav { padding: 0 var(--space-md); }
  .footer { padding: var(--space-xl) var(--space-md); }
  .page-hero { padding: calc(72px + var(--space-lg)) var(--space-md) var(--space-lg); }
}

/* ─── 26. REDUCED MOTION ────────────────── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .hero__bloom,
  .btn--primary,
  .card-glass.shimmer-active::before {
    animation: none !important;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
