/* ============================================================
   SOLAR LIGHTING INTERNATIONAL — styles.css
   Design system: Asymmetric Filmstrip Cascade
   Palette: Ink navy + Sky blue + Solar amber
   Type: Space Grotesk (heads) + Inter (body)
============================================================ */

/* ============================================================
   CSS CUSTOM PROPERTIES & RESET
============================================================ */
:root {
  /* Palette */
  --color-ink: #0C1B2A;
  --color-ink-deep: #071018;
  --color-blue-primary: #1a5fa8;
  --color-blue-action: #155EEF;
  --color-blue-secondary: #29abe2;
  --color-amber: #F79009;
  --color-amber-ink: #b45309; /* amber, darkened for text on light backgrounds (WCAG AA) */
  --color-white: #ffffff;
  --color-cloud: #F7F9FC;
  --color-sky-tint: #EFF5FF;
  --color-slate: #42526B;
  --color-slate-light: #526887;
  --color-border-dark: rgba(255, 255, 255, 0.10);
  --color-border-light: rgba(12, 27, 42, 0.10);

  /* Typography Scale */
  --font-size-small: 1rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: clamp(1.875rem, 3vw, 2.25rem);
  --font-size-4xl: clamp(2.25rem, 4vw, 3rem);
  --font-size-display: clamp(2.5rem, 9.6cqi, 7rem);
  --font-size-hero-display: clamp(2.5rem, 9.6cqi, 7rem);

  /* Spacing Scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 8rem;

  /* Layout */
  --wide-width: 1360px;
  --content-width: 720px;
  --gutter: var(--space-md);

  /* UI */
  --radius-card: 16px;
  --radius-btn: 6px;
  --shadow-card: 0 2px 12px rgba(12, 27, 42, 0.08), 0 8px 32px rgba(12, 27, 42, 0.06);
  --shadow-card-hover: 0 4px 24px rgba(12, 27, 42, 0.14), 0 16px 48px rgba(12, 27, 42, 0.10);
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-mid: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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



.miles-home {
  font-family: 'Inter', sans-serif;
  font-size: var(--font-size-base);
  color: var(--color-slate);
  background-color: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
}

.miles-home img {
  display: block;
  max-width: 100%;
  height: auto;
}

.miles-home a { text-decoration: none; color: inherit; }

/* ============================================================
   :::SECTION:Animations:::
============================================================ */
@keyframes heroFadeIn {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes sliceUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes barGrow {
  from { width: 0; }
}

/* Scroll animation base states */
.animate-on-scroll {
  opacity: 1;
  transform: translateY(0);
}
.js .animate-on-scroll:not(.is-visible) {
  opacity: 0;
  transform: translateY(30px);
}
.js .animate-on-scroll {
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.js .animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.js .animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.js .animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.js .animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }
.js .animate-on-scroll:nth-child(5) { transition-delay: 0.4s; }
.js .animate-on-scroll:nth-child(6) { transition-delay: 0.5s; }

/* ============================================================
   :::SECTION:Shared Utilities:::
============================================================ */

/* miles-shared */
.section-label {
  font-family: 'Inter', sans-serif;
  font-size: var(--font-size-small);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-blue-primary);
  margin-bottom: var(--space-sm);
  display: block;
}
.section-label--light {
  color: var(--color-blue-primary);
}

/* Labels on light surfaces need a dark enough text color. Amber is reserved
   for Ink/photo contexts, where it has strong contrast and keeps its signal
   role without becoming hard to read on white or Cloud. */
.hero .section-label,
.install-showcase .section-label,
.featured-products .section-label,
.quote-request-band .section-label {
  color: var(--color-amber);
}

.hero-spark {
  width: 24px;
  height: 3px;
  background-color: var(--color-amber);
  margin-bottom: var(--space-sm);
  display: block;
}

.btn-primary {
  display: inline-block;
  background-color: var(--color-blue-action);
  color: var(--color-white);
  padding: 1rem 2rem;
  border-radius: var(--radius-btn);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: var(--font-size-base);
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}
.btn-primary:hover {
  background-color: #114ec3;
  transform: translateY(-2px);
}

/* ============================================================
   :::SECTION:Header:::
============================================================ */

/* miles-owned: site-navigation — consolidated into 2026 polish below. */

/* D4 pages: connect the Ink hero flush to the header. The Ollie theme puts a
   24px top margin on <main>; over a dark hero that shows as a white band.
   Scope to .miles-home so the light native pages (Contact/About/etc.) keep
   their default spacing. */
main:has(.miles-home) { margin-top: 0; }

.site-header__inner {
  max-width: var(--wide-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-header__brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-header__logo {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.site-header__link {
  color: rgba(255, 255, 255, 0.75);
  font-size: var(--font-size-small);
  font-weight: 500;
  transition: color var(--transition-fast);
}
.site-header__link:hover {
  color: var(--color-white);
}

.site-header__cta {
  background-color: var(--color-blue-primary);
  color: var(--color-white);
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius-btn);
  font-size: var(--font-size-small);
  font-weight: 600;
  transition: background-color var(--transition-fast);
  white-space: nowrap;
}
.site-header__cta:hover {
  background-color: var(--color-blue-action);
}

@media (max-width: 768px) {
  .site-header__inner { height: 56px; padding: 0 var(--space-sm); }
  .site-header__link { display: none; }
  .site-header__nav { gap: var(--space-sm); }
}

/* ============================================================
   :::SECTION:Hero:::
============================================================ */

/* miles-owned: hero */
.hero {
  --color-ink: #0C1B2A;
  --color-blue-primary: #1a5fa8;
  --color-blue-action: #155EEF;
  --color-blue-secondary: #29abe2;
  --color-amber: #F79009;
  --color-amber-ink: #b45309; /* amber, darkened for text on light backgrounds (WCAG AA) */
  --color-white: #ffffff;
  --color-sky-tint: #EFF5FF;
  --font-size-small: 1rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: clamp(1.875rem, 4vw, 2.75rem);
  --font-size-display: clamp(2.5rem, 9.6cqi, 7rem);
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 3.5rem;
  --space-xl: 5rem;

  background-color: var(--color-ink);
  color: var(--color-white);
  font-family: 'Inter', sans-serif;
  position: relative;
  overflow: hidden;
  min-height: clamp(45rem, 95vh, 65rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  padding-top: 64px;
}

.hero *, .hero *::before, .hero *::after { box-sizing: inherit; }

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 15% 35%, rgba(26, 95, 168, 0.18) 0%, transparent 50%),
    radial-gradient(circle at 85% 75%, rgba(41, 171, 226, 0.10) 0%, transparent 45%);
  pointer-events: none;
}

.hero-blueprint-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(26, 95, 168, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 95, 168, 0.06) 1px, transparent 1px);
  background-size: 50px 50px;
}

.hero-inner {
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding: var(--space-sm) var(--space-md);
  z-index: 2;
  position: relative;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.hero-main-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--space-md);
  align-items: stretch;
  flex-grow: 1;
  padding: var(--space-lg) 0;
  opacity: 0;
  animation: heroFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.3s;
}

.hero-content-col {
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-right: var(--space-lg);
}

.hero-headline-wrap { max-width: 580px; }

.hero-headline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: var(--font-size-display);
  font-weight: 900;
  /* Miles heroes always sit on the Ink ground. Without an explicit color,
     H1s inherit the site-wide Slate body color and become nearly invisible. */
  color: var(--color-white);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 0 0 var(--space-sm) 0;
}
.hero-line-1 { display: block; color: var(--color-white); }
.hero-line-2 { display: block; color: var(--color-blue-secondary); }

.hero-descriptor {
  color: var(--color-sky-tint);
  font-size: var(--font-size-lg);
  line-height: 1.55;
  margin: var(--space-sm) 0 0 0;
}

.hero-action-cluster { margin-top: var(--space-xl); }

.hero-actions {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.hero-btn-primary {
  background-color: var(--color-blue-action);
  color: var(--color-white);
  padding: 1.1rem 2.2rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: var(--font-size-base);
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.hero-btn-primary:hover {
  background-color: #114ec3;
  transform: translateY(-2px);
}

.hero-btn-secondary {
  background-color: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: #ffffff;
  padding: 1.1rem 2.2rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: var(--font-size-base);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s;
}
.hero-btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.55);
  transform: translateY(-2px);
}

.hero-reassurance {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  color: rgba(255, 255, 255, 0.60);
  font-size: var(--font-size-small);
  font-weight: 500;
}

.hero-reassurance-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-color: var(--color-amber);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z'/%3E%3C/svg%3E");
  mask-size: contain;
  mask-repeat: no-repeat;
  flex-shrink: 0;
}

.hero-cascade-col {
  display: flex;
  align-items: stretch;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  animation: sliceUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-cascade-col.slice-1 { animation-delay: 0.5s; }
.hero-cascade-col.slice-2 { animation-delay: 0.65s; }
.hero-cascade-col.slice-3 { animation-delay: 0.8s; }

.hero-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  min-height: 260px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  transition: transform var(--transition-mid), border-color var(--transition-mid);
  background-color: rgba(255, 255, 255, 0.02);
}
.hero-frame:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--color-blue-secondary);
}

.hero-frame-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%) contrast(1.1);
  transition: filter var(--transition-mid);
}
.hero-frame:hover .hero-frame-img {
  filter: grayscale(0%) contrast(1.15);
}

/* Re-assert fill height at a specificity (0,2,0) that beats the global
   `.miles-home img { height:auto }` (0,1,1); otherwise the framed image renders
   at natural height and object-fit:cover has nothing to fill. */
.hero-frame .hero-frame-img {
  height: 100%;
}

/* Homepage filmstrip cascade only: let each frame fill its full (tall) stretched
   column so the images read as full-height slices instead of short cards with
   dead space below. Secondary-page .hero-frame keeps its 3/4 aspect. */
.hero-cascade-col .hero-frame {
  aspect-ratio: auto;
  height: 100%;
  min-height: 340px;
}

.hero-frame-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 27, 42, 0.95) 0%, rgba(12, 27, 42, 0.3) 50%, transparent 100%);
  z-index: 1;
}

.hero-frame-caption {
  position: absolute;
  bottom: var(--space-sm);
  left: var(--space-sm);
  right: var(--space-sm);
  z-index: 2;
  font-family: 'Space Grotesk', sans-serif;
  font-size: var(--font-size-small);
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  pointer-events: none;
}

.hero-footer-ticker {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--space-md);
  margin-top: var(--space-sm);
  gap: var(--space-md);
  opacity: 0;
  animation: heroFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.6s;
}

.hero-ticker-item { display: flex; flex-direction: column; gap: var(--space-xs); }

.hero-ticker-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: var(--font-size-3xl);
  font-weight: 900;
  color: var(--color-amber);
  line-height: 1;
}

.hero-ticker-label {
  color: rgba(255, 255, 255, 0.65);
  font-size: var(--font-size-small);
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* Hero responsive */
@media (max-width: 1120px) {
  .hero-main-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .hero-cascade-col.slice-3 { display: none; }
  .hero-content-col { padding-right: var(--space-md); }
}
@media (max-width: 900px) {
  .hero-main-grid { grid-template-columns: 1fr 1fr; }
  .hero-cascade-col.slice-2 { display: none; }
}
@media (max-width: 768px) {
  .hero { min-height: auto; padding-top: 56px; }
  .hero-inner { padding: var(--space-sm); }
  .hero-main-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
    padding: var(--space-md) 0;
  }
  .hero-content-col { padding-right: 0; }
  .hero-headline-wrap { max-width: 100%; }
  .hero-cascade-col.slice-1 { height: 240px; order: -1; }
  .hero-action-cluster { margin-top: var(--space-md); }
  .hero-actions { flex-direction: column; gap: var(--space-xs); }
  .hero-btn-primary, .hero-btn-secondary { text-align: center; padding: 0.9rem var(--space-md); }
  .hero-footer-ticker { grid-template-columns: repeat(2, 1fr); padding-top: var(--space-sm); }
}

/* ============================================================
   :::SECTION:Why Manufacturer:::
============================================================ */

/* miles-owned: why-manufacturer */
.why-manufacturer {
  background-color: var(--color-cloud);
  padding: var(--space-xl) var(--gutter);
}

.why-manufacturer__inner {
  max-width: var(--wide-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 8px 1fr 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 0 var(--space-md);
}

.why-manufacturer__rail {
  grid-column: 1;
  grid-row: 1 / 3;
  background-color: var(--color-amber);
  border-radius: 4px;
  opacity: 0.6;
}

.why-manufacturer__header {
  grid-column: 2 / 4;
  grid-row: 1;
  padding-bottom: var(--space-lg);
  padding-right: var(--space-lg);
}

.why-manufacturer__heading {
  font-family: 'Space Grotesk', sans-serif;
  font-size: var(--font-size-4xl);
  font-weight: 900;
  color: var(--color-ink);
  letter-spacing: -0.03em;
  line-height: 1.0;
  margin-bottom: var(--space-sm);
}

.why-manufacturer__sub {
  font-size: var(--font-size-lg);
  color: var(--color-slate);
  line-height: 1.6;
  max-width: 480px;
}

.why-manufacturer__benefits {
  grid-column: 2 / 6;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.why-manufacturer__benefit {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.benefit-rule {
  width: 100%;
  height: 1px;
  background-color: var(--color-border-light);
  margin-bottom: var(--space-sm);
}

.benefit-icon {
  display: block;
  width: 32px;
  height: 32px;
  background-color: var(--color-blue-primary);
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  margin-bottom: var(--space-xs);
}

.benefit-icon--factory {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M22 9V7h-2V5c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2v-2h2v-2h-2v-2h2v-2h-2V9h2zm-4 10H4V5h14v14zm-6-2h2v-4h4v-2h-4V9h-2v2H8v2h4z'/%3E%3C/svg%3E");
}
.benefit-icon--bolt {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M7 2v11h3v9l7-12h-4l4-8z'/%3E%3C/svg%3E");
}
.benefit-icon--shield {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4zm0 10.99h7c-.53 4.12-3.28 7.79-7 8.94V12H5V6.3l7-3.11v8.8z'/%3E%3C/svg%3E");
}
.benefit-icon--globe {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zm6.93 6h-2.95c-.32-1.25-.78-2.45-1.38-3.56 1.84.63 3.37 1.91 4.33 3.56zM12 4.04c.83 1.2 1.48 2.53 1.91 3.96h-3.82c.43-1.43 1.08-2.76 1.91-3.96zM4.26 14C4.1 13.36 4 12.69 4 12s.1-1.36.26-2h3.38c-.08.66-.14 1.32-.14 2s.06 1.34.14 2H4.26zm.82 2h2.95c.32 1.25.78 2.45 1.38 3.56-1.84-.63-3.37-1.9-4.33-3.56zm2.95-8H5.08c.96-1.66 2.49-2.93 4.33-3.56C8.81 5.55 8.35 6.75 8.03 8zM12 19.96c-.83-1.2-1.48-2.53-1.91-3.96h3.82c-.43 1.43-1.08 2.76-1.91 3.96zM14.34 14H9.66c-.09-.66-.16-1.32-.16-2s.07-1.35.16-2h4.68c.09.65.16 1.32.16 2s-.07 1.34-.16 2zm.25 5.56c.6-1.11 1.06-2.31 1.38-3.56h2.95c-.96 1.65-2.49 2.93-4.33 3.56zM16.36 14c.08-.66.14-1.32.14-2s-.06-1.34-.14-2h3.38c.16.64.26 1.31.26 2s-.1 1.36-.26 2h-3.38z'/%3E%3C/svg%3E");
}

.benefit-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-ink);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-xs);
}

.benefit-desc {
  font-size: var(--font-size-base);
  color: var(--color-slate);
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .why-manufacturer__inner {
    grid-template-columns: 8px 1fr 1fr;
  }
  .why-manufacturer__header {
    grid-column: 2 / 4;
    padding-right: 0;
  }
  .why-manufacturer__benefits {
    grid-column: 2 / 4;
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .why-manufacturer {
    padding: var(--space-lg) var(--space-sm);
  }
  .why-manufacturer__inner {
    grid-template-columns: 4px 1fr;
    gap: 0 var(--space-sm);
  }
  .why-manufacturer__header {
    grid-column: 2;
    padding-bottom: var(--space-md);
    padding-right: 0;
  }
  .why-manufacturer__benefits {
    grid-column: 2;
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  .why-manufacturer__rail { grid-row: 1 / 3; }
}

/* ============================================================
   :::SECTION:Product Lines:::
============================================================ */

/* miles-owned: product-lines */
.product-lines {
  background-color: var(--color-white);
  padding: var(--space-xl) var(--gutter);
}

.product-lines__inner {
  max-width: var(--wide-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 8px 1fr;
  gap: 0 var(--space-md);
}

.product-lines__rail {
  grid-column: 1;
  grid-row: 1 / 3;
  background: linear-gradient(to bottom, var(--color-blue-secondary), var(--color-blue-primary));
  border-radius: 4px;
  opacity: 0.4;
}

.product-lines__header {
  grid-column: 2;
  grid-row: 1;
  padding-bottom: var(--space-lg);
}

.product-lines__heading {
  font-family: 'Space Grotesk', sans-serif;
  font-size: var(--font-size-4xl);
  font-weight: 900;
  color: var(--color-ink);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.product-lines__grid {
  grid-column: 2;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.product-card {
  background: var(--color-cloud);
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border-light);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-mid), box-shadow var(--transition-mid);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.product-card__media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
.product-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-mid);
}
/* Re-assert fill height at a specificity (0,2,0) that beats the global
   `.miles-home img { height:auto }` (0,1,1); otherwise horizontal source
   photos render at natural height and leave dead space below in the card. */
.product-card .product-card__img {
  height: 100%;
}
.product-card:hover .product-card__img {
  transform: scale(1.04);
}

.product-card__media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 27, 42, 0.7) 0%, transparent 50%);
}

.product-card__body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  flex-grow: 1;
}

.product-card__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-ink);
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.product-card__desc {
  font-size: var(--font-size-base);
  color: var(--color-slate);
  line-height: 1.55;
  flex-grow: 1;
}

.product-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-top: 0.5rem;
}

.spec-chip {
  display: inline-block;
  background-color: var(--color-sky-tint);
  color: var(--color-blue-primary);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  letter-spacing: 0.01em;
}

.product-card__link {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: var(--space-sm);
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--color-blue-action);
  transition: gap var(--transition-fast);
}
.product-card__link:hover { gap: 0.625rem; }

.link-arrow {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-color: var(--color-blue-action);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6z'/%3E%3C/svg%3E");
  mask-size: contain;
  mask-repeat: no-repeat;
}

@media (max-width: 1120px) {
  .product-lines__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .product-lines { padding: var(--space-lg) var(--space-sm); }
  .product-lines__inner { grid-template-columns: 4px 1fr; gap: 0 var(--space-sm); }
  .product-lines__header { grid-column: 2; padding-bottom: var(--space-md); }
  .product-lines__grid { grid-column: 2; grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .product-lines__inner { grid-template-columns: 1fr; }
  .product-lines__rail { display: none; }
  .product-lines__header { grid-column: 1; }
  .product-lines__grid { grid-column: 1; }
}

/* ============================================================
   :::SECTION:Featured Products:::
============================================================ */

/* miles-owned: featured-products */
.featured-products {
  background-color: var(--color-ink);
  padding: var(--space-xl) var(--gutter);
  position: relative;
  overflow: hidden;
}

.featured-products__blueprint {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(26, 95, 168, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 95, 168, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
}

.featured-products__inner {
  max-width: var(--wide-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.featured-products__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  align-items: end;
  margin-bottom: var(--space-xl);
}

.featured-products__heading {
  font-family: 'Space Grotesk', sans-serif;
  font-size: var(--font-size-4xl);
  font-weight: 900;
  color: var(--color-white);
  letter-spacing: -0.03em;
  line-height: 1.0;
}

.featured-products__sub {
  font-size: var(--font-size-lg);
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}

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

.model-card {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-card);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  transition: transform var(--transition-mid), border-color var(--transition-mid), background-color var(--transition-mid);
}
.model-card:hover {
  transform: translateY(-4px);
  border-color: rgba(41, 171, 226, 0.4);
  background-color: rgba(255, 255, 255, 0.06);
}
.model-card--featured {
  border-color: rgba(41, 171, 226, 0.35);
  background-color: rgba(26, 95, 168, 0.12);
}

.model-card__badge {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-blue-secondary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.model-card__lumen-display {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin: var(--space-xs) 0;
}

.model-lumen-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: var(--font-size-4xl);
  font-weight: 900;
  color: var(--color-amber);
  line-height: 1;
  letter-spacing: -0.03em;
}

.model-lumen-unit {
  font-size: var(--font-size-xl);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
}

.model-spec-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--color-border-dark);
  padding-top: var(--space-sm);
  flex-grow: 1;
}

.model-spec-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-border-dark);
  font-size: var(--font-size-small);
}

.spec-key {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}
.spec-val {
  color: var(--color-white);
  font-weight: 600;
  text-align: right;
}

.model-card__use {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
  padding-top: var(--space-xs);
}

.model-card__cta {
  display: block;
  background-color: var(--color-blue-action);
  color: var(--color-white);
  padding: 0.85rem var(--space-md);
  border-radius: var(--radius-btn);
  text-align: center;
  font-weight: 600;
  font-size: var(--font-size-base);
  margin-top: var(--space-xs);
  transition: background-color var(--transition-fast);
}
.model-card__cta:hover { background-color: #114ec3; }

/* Buttons are <a> elements, so `.miles-home a { color: inherit }` (0,1,1) was
   overriding their single-class label color (0,1,0) — they inherited the dark
   section's grey text. Re-assert label colors at (0,2,0)+ so buttons stay legible. */
.miles-home .model-card__cta,
.miles-home .hero-btn-primary,
.miles-home .hero-btn-secondary,
.miles-home .btn-primary { color: #ffffff; }
.miles-home .model-card--featured .model-card__cta { color: #ffffff; }
.model-card--featured .model-card__cta {
  background-color: var(--color-blue-action);
  color: #ffffff;
  box-shadow: 0 8px 22px -8px rgba(21, 94, 239, 0.6);
}
.model-card--featured .model-card__cta:hover {
  background-color: #114ec3;
}

.featured-products__footnote {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border-dark);
  gap: var(--space-md);
  flex-wrap: wrap;
}

.featured-products__footnote span {
  font-size: var(--font-size-small);
  color: rgba(255, 255, 255, 0.5);
}

.footnote-link {
  font-size: var(--font-size-small);
  font-weight: 600;
  color: var(--color-blue-secondary);
  white-space: nowrap;
  transition: color var(--transition-fast);
}
.footnote-link:hover { color: var(--color-white); }

@media (max-width: 1024px) {
  .featured-products__header { grid-template-columns: 1fr; }
  .model-shelf { grid-template-columns: 1fr 1fr; }
  .model-shelf .model-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .featured-products { padding: var(--space-lg) var(--space-sm); }
  .model-shelf { grid-template-columns: 1fr; }
  .model-shelf .model-card:last-child { grid-column: auto; }
  .featured-products__footnote { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   :::SECTION:Proof Stats:::
============================================================ */

/* miles-owned: proof-stats */
.proof-stats {
  background-color: var(--color-cloud);
  padding: var(--space-xl) var(--gutter);
}

.proof-stats__inner {
  max-width: var(--wide-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 0;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.proof-stats__monument {
  background-color: var(--color-ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl) var(--space-md);
  gap: var(--space-sm);
  text-align: center;
}

.monument-spark {
  width: 24px;
  height: 3px;
  background-color: var(--color-amber);
  border-radius: 2px;
}

.monument-label {
  font-size: var(--font-size-small);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.monument-score {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(4rem, 6vw, 6rem);
  font-weight: 900;
  color: var(--color-amber);
  letter-spacing: -0.04em;
  line-height: 1;
}

.monument-sublabel {
  font-size: var(--font-size-small);
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.4;
}

.proof-stats__evidence {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-lg);
}

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

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

.evidence-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: var(--font-size-3xl);
  font-weight: 900;
  color: var(--color-ink);
  letter-spacing: -0.03em;
  line-height: 1;
}

.evidence-unit {
  font-size: var(--font-size-small);
  font-weight: 600;
  color: var(--color-blue-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.evidence-label {
  font-size: var(--font-size-base);
  color: var(--color-slate);
  font-weight: 500;
}

.evidence-bar {
  height: 3px;
  background-color: var(--color-border-light);
  border-radius: 2px;
  margin-top: 0.5rem;
  overflow: hidden;
}

.evidence-bar-fill {
  height: 100%;
  background: linear-gradient(to right, var(--color-blue-primary), var(--color-blue-secondary));
  border-radius: 2px;
}

.js .evidence-bar-fill {
  width: 0 !important;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}
.js .proof-stats__evidence.is-visible .evidence-bar-fill {
  width: var(--bar-target, 100%) !important;
}

.evidence-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border-light);
  gap: var(--space-md);
  flex-wrap: wrap;
}

.evidence-footer span {
  font-size: var(--font-size-small);
  color: var(--color-slate-light);
}

@media (max-width: 1024px) {
  .proof-stats__inner { grid-template-columns: 200px 1fr; }
  .evidence-grid { gap: var(--space-md); }
}
@media (max-width: 768px) {
  .proof-stats { padding: var(--space-lg) var(--space-sm); }
  .proof-stats__inner { grid-template-columns: 1fr; }
  .proof-stats__monument { padding: var(--space-lg) var(--space-md); flex-direction: row; justify-content: flex-start; gap: var(--space-md); text-align: left; }
  .monument-score { font-size: var(--font-size-4xl); }
  .proof-stats__evidence { padding: var(--space-md); }
  .evidence-grid { grid-template-columns: 1fr 1fr; gap: var(--space-md); }
  .evidence-footer { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .evidence-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   :::SECTION:Applications Sectors:::
============================================================ */

/* miles-owned: applications-sectors */
.applications-sectors {
  background-color: var(--color-white);
  padding: var(--space-xl) var(--gutter);
}

.applications-sectors__inner {
  max-width: var(--wide-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.applications-sectors__anchor { display: flex; flex-direction: column; gap: var(--space-sm); }

.applications-sectors__heading {
  font-family: 'Space Grotesk', sans-serif;
  font-size: var(--font-size-3xl);
  font-weight: 900;
  color: var(--color-ink);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.applications-sectors__body {
  font-size: var(--font-size-base);
  color: var(--color-slate);
  line-height: 1.65;
}

.applications-sectors__metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.sector-stat {
  padding: var(--space-md) var(--space-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  border-right: 1px solid var(--color-border-light);
}
.sector-stat:last-child { border-right: none; }

.sector-stat__top-rule {
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--color-amber), transparent);
  margin-bottom: var(--space-sm);
}

.sector-stat__num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: var(--font-size-2xl);
  font-weight: 900;
  color: var(--color-ink);
  letter-spacing: -0.03em;
  line-height: 1;
}

.sector-stat__desc {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--color-blue-primary);
}

.sector-stat__detail {
  font-size: var(--font-size-small);
  color: var(--color-slate-light);
  line-height: 1.4;
}

@media (max-width: 1120px) {
  .applications-sectors__inner { grid-template-columns: 260px 1fr; gap: var(--space-lg); }
  .applications-sectors__metrics { grid-template-columns: repeat(2, 1fr); }
  .sector-stat:nth-child(2) { border-right: none; }
}
@media (max-width: 768px) {
  .applications-sectors { padding: var(--space-lg) var(--space-sm); }
  .applications-sectors__inner { grid-template-columns: 1fr; gap: var(--space-lg); }
  .applications-sectors__metrics { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .applications-sectors__metrics { grid-template-columns: 1fr; }
  .sector-stat { border-right: none; border-bottom: 1px solid var(--color-border-light); }
  .sector-stat:last-child { border-bottom: none; }
}

/* ============================================================
   :::SECTION:Installation Showcase:::
============================================================ */

/* miles-owned: install-showcase */
.install-showcase {
  position: relative;
  padding: var(--space-xl) var(--gutter);
}

.install-showcase::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(12, 27, 42, 0.96) 0%, rgba(12, 27, 42, 0.80) 55%, rgba(12, 27, 42, 0.50) 100%);
  z-index: 1;
  pointer-events: none;
}

.install-showcase__inner {
  max-width: var(--wide-width);
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.install-showcase__content { display: flex; flex-direction: column; gap: var(--space-md); }

.install-showcase__heading {
  font-family: 'Space Grotesk', sans-serif;
  font-size: var(--font-size-4xl);
  font-weight: 900;
  color: var(--color-white);
  letter-spacing: -0.03em;
  line-height: 1.0;
}

.install-showcase__body {
  font-size: var(--font-size-lg);
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
  max-width: 500px;
}

.install-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.install-checklist__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: var(--font-size-base);
  color: rgba(255, 255, 255, 0.80);
  line-height: 1.5;
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.install-checklist__item:last-child { border-bottom: none; }

.install-checklist__item::before {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  background-color: var(--color-amber);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
  mask-size: contain;
  mask-repeat: no-repeat;
  flex-shrink: 0;
  margin-top: 2px;
}

@media (max-width: 1024px) {
  .install-showcase__inner { gap: var(--space-lg); }
}
@media (max-width: 768px) {
  .install-showcase { padding: var(--space-lg) var(--space-sm); }
  .install-showcase::before {
    background: rgba(12, 27, 42, 0.90);
  }
  .install-showcase__inner { grid-template-columns: 1fr; gap: var(--space-lg); }
  .install-showcase__body { max-width: 100%; }
}

/* ============================================================
   :::SECTION:Customer Voices:::
============================================================ */

/* miles-owned: customer-voices */
.customer-voices {
  background-color: var(--color-cloud);
  padding: var(--space-xl) var(--gutter);
}

.customer-voices__inner {
  max-width: var(--wide-width);
  margin: 0 auto;
}

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

.customer-voices__heading {
  font-family: 'Space Grotesk', sans-serif;
  font-size: var(--font-size-4xl);
  font-weight: 900;
  color: var(--color-ink);
  letter-spacing: -0.03em;
  line-height: 1.05;
  max-width: 600px;
}

.customer-voices__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.5fr;
  gap: var(--space-md);
  align-items: start;
}

.testimonial {
  background-color: var(--color-white);
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border-light);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.testimonial--featured { padding: var(--space-xl); }

.testimonial__quote-glyph {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 5rem;
  font-weight: 900;
  color: var(--color-amber);
  line-height: 0.7;
  margin-bottom: var(--space-sm);
  display: block;
}

.testimonial__text {
  font-size: var(--font-size-lg);
  color: var(--color-slate);
  line-height: 1.65;
  quotes: none;
}
.testimonial--featured .testimonial__text {
  font-size: var(--font-size-xl);
}

.testimonial__attribution {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: auto;
}

.testimonial__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 900;
  font-size: var(--font-size-small);
  color: var(--color-white);
  flex-shrink: 0;
}
.testimonial__avatar--wc { background-color: var(--color-blue-primary); }
.testimonial__avatar--mg { background-color: #1a6e5a; }
.testimonial__avatar--jt { background-color: #4a4080; }

.testimonial__name {
  font-weight: 600;
  color: var(--color-ink);
  font-size: var(--font-size-base);
}
.testimonial__title {
  font-size: var(--font-size-small);
  color: var(--color-slate-light);
}

.testimonial__signal {
  font-size: var(--font-size-small);
  font-weight: 600;
  color: var(--color-blue-primary);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--color-border-light);
}

.testimonial-rail {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.testimonial--compact {
  padding: var(--space-md);
}

.testimonial--compact .testimonial__text {
  font-size: var(--font-size-base);
}

@media (max-width: 1024px) {
  .customer-voices__grid { grid-template-columns: 1fr 0.6fr; }
}
@media (max-width: 768px) {
  .customer-voices { padding: var(--space-lg) var(--space-sm); }
  .customer-voices__grid { grid-template-columns: 1fr; }
  .testimonial--featured { padding: var(--space-md); }
  .testimonial--featured .testimonial__text { font-size: var(--font-size-lg); }
}

/* ============================================================
   :::SECTION:Quote Request Band:::
============================================================ */

/* miles-owned: quote-request-band */
.quote-request-band {
  background-color: var(--color-ink-deep);
  padding: var(--space-xl) var(--gutter);
  position: relative;
  overflow: hidden;
}

.quote-request-band__blueprint {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(26, 95, 168, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 95, 168, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
}

.quote-request-band::before {
  content: '';
  position: absolute;
  top: -30%;
  right: 0;
  width: 60%;
  height: 130%;
  background:
    radial-gradient(closest-side at 72% 34%, rgba(46, 123, 246, 0.34) 0%, rgba(46, 123, 246, 0.12) 42%, transparent 72%),
    radial-gradient(closest-side at 60% 55%, rgba(41, 171, 226, 0.12) 0%, transparent 60%);
  filter: blur(6px);
  pointer-events: none;
}

.quote-request-band__inner {
  max-width: var(--wide-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.6fr;
  gap: var(--space-2xl);
  align-items: start;
}

.quote-request-band__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.quote-request-band__heading {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  color: var(--color-white);
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.quote-request-band__note {
  font-size: var(--font-size-lg);
  color: rgba(255, 255, 255, 0.60);
  line-height: 1.6;
  max-width: 520px;
}

/* Quote Form */
.quote-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

.quote-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.quote-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.quote-form__field--full { grid-column: 1 / -1; }

.quote-form__label {
  font-size: var(--font-size-small);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.03em;
}

.quote-form__input {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: var(--font-size-base);
  color: var(--color-white);
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
  width: 100%;
  outline: none;
}
.quote-form__input::placeholder { color: rgba(255, 255, 255, 0.25); }
.quote-form__input:focus {
  border-color: var(--color-blue-secondary);
  background-color: rgba(255, 255, 255, 0.08);
}

.quote-form__select {
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='rgba(255,255,255,0.4)'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 20px;
  padding-right: 2.5rem;
}
.quote-form__select option { background-color: var(--color-ink); color: var(--color-white); }

.quote-form__textarea { resize: vertical; min-height: 80px; }

.quote-form__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-top: var(--space-xs);
}

.quote-form__submit {
  background-color: var(--color-blue-action);
  color: var(--color-white);
  padding: 1rem 2rem;
  border-radius: var(--radius-btn);
  font-family: 'Inter', sans-serif;
  font-size: var(--font-size-base);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}
.quote-form__submit:hover {
  background-color: #114ec3;
  transform: translateY(-1px);
}

.quote-form__reassurance {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--font-size-small);
  color: rgba(255, 255, 255, 0.55);
}

.reassurance-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-amber);
  flex-shrink: 0;
}

/* Void column */
.quote-request-band__void {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  padding-top: var(--space-2xl);
}

.void-stat-block {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.void-stat {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.15rem;
  padding: var(--space-md) var(--space-lg);
}
.void-stat-num { flex: 0 0 auto; min-width: 76px; }
.void-stat-label { flex: 1; }

.void-divider {
  height: 1px;
  background-color: rgba(255, 255, 255, 0.06);
}

.void-stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: var(--font-size-3xl);
  font-weight: 900;
  color: var(--color-amber);
  line-height: 1;
  letter-spacing: -0.03em;
}

.void-stat-label {
  font-size: var(--font-size-small);
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.4;
}

.void-caption {
  font-size: var(--font-size-base);
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}

@media (max-width: 1120px) {
  .quote-request-band__inner { grid-template-columns: 1fr; gap: var(--space-xl); }
  .quote-request-band__void { flex-direction: row; flex-wrap: wrap; padding-top: 0; }
  .void-stat-block { flex-direction: row; flex: 1; min-width: 280px; }
  .void-divider { width: 1px; height: auto; }
}
@media (max-width: 768px) {
  .quote-request-band { padding: var(--space-lg) var(--space-sm); }
  .quote-form__row { grid-template-columns: 1fr; }
  .quote-form__actions { flex-direction: column; align-items: flex-start; }
  .quote-request-band__void { display: none; }
}

/* ============================================================
   :::SECTION:Footer:::
============================================================ */

/* miles-owned: site-footer */
.site-footer {
  background-color: var(--color-ink);
  padding-top: var(--space-xl);
}

.site-footer__inner {
  max-width: var(--wide-width);
  margin: 0 auto;
  padding: 0 var(--gutter) var(--space-xl);
  display: grid;
  grid-template-columns: 1fr 2.6fr;
  gap: var(--space-2xl);
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.site-footer__logo {
  height: 30px;
  width: auto;
  object-fit: contain;
}

.site-footer__tagline {
  font-size: var(--font-size-base);
  color: rgba(255, 255, 255, 0.50);
  line-height: 1.65;
  max-width: 360px;
}

.site-footer__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.footer-badge {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-blue-secondary);
  background-color: rgba(41, 171, 226, 0.10);
  padding: 0.25rem 0.7rem;
  border-radius: 4px;
  border: 1px solid rgba(41, 171, 226, 0.20);
}

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

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-nav-heading {
  font-family: 'Space Grotesk', sans-serif;
  font-size: var(--font-size-small);
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.375rem;
}

.footer-nav-link {
  font-size: var(--font-size-small);
  color: rgba(255, 255, 255, 0.50);
  transition: color var(--transition-fast);
  line-height: 1.4;
}
.footer-nav-link:hover { color: var(--color-white); }

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: var(--space-md) var(--gutter);
}

.site-footer__bottom-inner {
  max-width: var(--wide-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.footer-copy {
  font-size: var(--font-size-small);
  color: rgba(255, 255, 255, 0.55);
}

.footer-legal-links {
  display: flex;
  gap: var(--space-md);
}

.footer-legal-link {
  font-size: var(--font-size-small);
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition-fast);
}
.footer-legal-link:hover { color: rgba(255, 255, 255, 0.80); }

@media (max-width: 1024px) {
  .site-footer__inner { gap: var(--space-xl); }
  .site-footer__nav { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
    padding: 0 var(--space-sm) var(--space-lg);
    gap: var(--space-lg);
  }
  .site-footer__nav { grid-template-columns: repeat(2, 1fr); }
  .site-footer__bottom { padding: var(--space-md) var(--space-sm); }
  .site-footer__bottom-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .site-footer__nav { grid-template-columns: 1fr; }
}

/* ============================================================
   :::SECTION:Chrome overrides (WordPress header/footer parts):::
   Box-sizing reset for the chrome. Header styling consolidated into
   the 2026 navigation polish block below.
============================================================ */
.site-header, .site-header *, .site-footer, .site-footer * { box-sizing: border-box; }

/* 2026 navigation polish: authentic logo, white sticky bar, accessible menus. */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid rgba(12,27,42,.10);
  box-shadow: 0 1px 0 rgba(12,27,42,.04);
  transition: box-shadow .2s ease, background-color .2s ease;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.site-header.is-scrolled { background: rgba(255,255,255,.99); box-shadow: 0 14px 34px -22px rgba(12,27,42,.55), 0 1px 0 rgba(12,27,42,.08); }
.site-header__inner { min-height: 78px; max-width: 1320px; padding: .65rem clamp(1.25rem,4vw,2.5rem); gap: clamp(1rem,2.2vw,2rem); }
.site-header__brand { position: relative; z-index: 1302; }
.site-header__logo { display: block; width: clamp(112px,10.5vw,148px); height: auto; max-height: 58px; object-fit: contain; filter: none; }
.site-header__nav { gap: clamp(.65rem,1.35vw,1.15rem); flex-wrap: nowrap; }
.site-header__link { color: #18314b; font-weight: 600; font-size: .91rem; white-space: nowrap; }
.site-header__link:hover, .site-header__link[aria-current="page"] { color: #155EEF; }
.site-header__cta { padding: .7rem 1.15rem; border-radius: 7px; transition: background .2s ease, transform .2s ease, box-shadow .2s ease; white-space: nowrap; }
.site-header__cta:hover { background: #114ec3; transform: translateY(-1px); box-shadow: 0 10px 20px -12px rgba(21,94,239,.8); }
.site-header__menu-toggle, .site-header__scrim { display: none; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-top { padding-block: .85rem; display: inline-flex; align-items: center; }
.nav-top::after { content: none; }
.nav-submenu-toggle {
  width: 26px; height: 36px; margin-left: -.1rem; padding: 0; border: 0; border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center; color: #53677b; background: transparent; cursor: pointer;
}
.nav-submenu-toggle::after {
  content: ""; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px); opacity: .62; transition: transform .2s ease;
}
.nav-submenu-toggle:hover, .nav-submenu-toggle:focus-visible { color: #155EEF; background: #eff5ff; }
.nav-item:hover .nav-submenu-toggle::after, .nav-item:focus-within .nav-submenu-toggle::after, .nav-item.is-open .nav-submenu-toggle::after { transform: rotate(-135deg) translateY(1px); opacity: .95; }
.nav-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0; left: auto;
  min-width: 244px; padding: .5rem; z-index: 1200;
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid rgba(12,27,42,.12); border-radius: 12px;
  box-shadow: 0 24px 55px -20px rgba(12,27,42,.38), 0 1px 0 rgba(255,255,255,.8) inset;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
}
/* invisible bridge so a hover doesn't drop in the gap above the panel */
.nav-dropdown::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown,
.nav-item.is-open .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); transition: opacity .18s ease, transform .18s ease, visibility 0s; }
.nav-drop__link { color: #29445f; }
.nav-drop__link:hover, .nav-drop__link[aria-current="page"] { background: #eff5ff; color: #155EEF; }
.nav-drop__all { color: #155EEF; font-weight: 700; }
.nav-mega { width: min(720px,calc(100vw - 2rem)); display: grid; grid-template-columns: repeat(3, minmax(150px, 1fr)); gap: 0 1.25rem; padding: 1rem; }
.nav-mega__col { display: flex; flex-direction: column; }
.nav-mega__head { color: #b45309; border-bottom-color: rgba(12,27,42,.10); }
.site-footer__logo-frame { display: inline-flex; align-items: center; justify-content: center; padding: .65rem .85rem; margin-bottom: 1rem; border-radius: 12px; background: #fff; box-shadow: 0 14px 36px -24px rgba(0,0,0,.8); }
.site-footer__logo { display: block; width: 132px; height: auto; max-height: 68px; margin: 0; object-fit: contain; filter: none; }

@media (max-width: 1120px) {
  .site-header__inner { padding-inline: 1.15rem; gap: .75rem; }
  .site-header__nav { gap: .45rem; }
  .site-header__link.nav-top, .site-header__link { font-size: .86rem; }
  .site-header__cta { padding-inline: .9rem; }
}
@media (max-width: 980px) {
  .site-header__inner { min-height: 70px; padding: .5rem 1rem; }
  .site-header__logo { width: 116px; max-height: 52px; }
  .site-header__menu-toggle {
    position: relative; z-index: 1302; width: 46px; height: 46px; margin-left: auto; padding: 0;
    display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(12,27,42,.14);
    border-radius: 9px; background: #fff; color: #0C1B2A; cursor: pointer;
  }
  .site-header__menu-toggle:hover { background: #eff5ff; border-color: rgba(21,94,239,.35); }
  .site-header__menu-icon { width: 21px; display: grid; gap: 4px; }
  .site-header__menu-icon span { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
  .site-header.has-open-navigation .site-header__menu-icon span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .site-header.has-open-navigation .site-header__menu-icon span:nth-child(2) { opacity: 0; }
  .site-header.has-open-navigation .site-header__menu-icon span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .site-header__scrim {
    position: fixed; z-index: 1298; inset: var(--sli-header-height,70px) 0 0; width: 100%; height: auto;
    border: 0; background: rgba(7,17,28,.58); opacity: 0; visibility: hidden; cursor: default;
    transition: opacity .2s ease, visibility 0s linear .2s;
  }
  .site-header.has-open-navigation .site-header__scrim { display: block; opacity: 1; visibility: visible; transition: opacity .2s ease; }
  .site-header__nav {
    position: fixed; z-index: 1300; top: var(--sli-header-height,70px); right: 0; bottom: 0;
    width: min(92vw,430px); padding: .75rem 1rem 1.5rem; overflow-y: auto;
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-left: 1px solid rgba(12,27,42,.10); box-shadow: -24px 0 50px -36px rgba(12,27,42,.7);
    transform: translateX(104%); visibility: hidden; transition: transform .25s cubic-bezier(.16,1,.3,1), visibility 0s linear .25s;
  }
  .site-header.has-open-navigation .site-header__nav { transform: translateX(0); visibility: visible; transition: transform .25s cubic-bezier(.16,1,.3,1); }
  .site-header__nav .nav-item { display: grid; grid-template-columns: 1fr auto; align-items: center; border-bottom: 1px solid rgba(12,27,42,.09); }
  .site-header__nav .site-header__link:not(.site-header__cta) { display: inline-flex; }
  .nav-top { padding: .9rem .35rem; font-size: 1rem !important; }
  .nav-submenu-toggle { width: 44px; height: 44px; margin: 0; }
  .nav-dropdown, .nav-mega {
    position: static; grid-column: 1 / -1; width: 100%; min-width: 0; max-width: none; margin: 0 0 .65rem;
    display: none; opacity: 1; visibility: visible; transform: none; transition: none;
    background: #f6f9fd; border: 0; border-radius: 9px; box-shadow: none; padding: .45rem;
  }
  .nav-item:hover .nav-dropdown, .nav-item:focus-within .nav-dropdown { opacity: 1; visibility: visible; transform: none; }
  .nav-item.is-open .nav-dropdown { display: flex; }
  .nav-item.is-open .nav-mega { display: grid; grid-template-columns: 1fr; gap: .45rem; padding: .65rem; }
  .nav-drop__link { white-space: normal; padding: .65rem .75rem; }
  .nav-mega__head { padding-top: .7rem; }
  .site-header__cta { display: block; margin-top: 1rem; padding: .85rem 1.1rem; text-align: center; font-size: 1rem; }
  body.has-open-navigation { overflow: hidden; }
}
