@charset "UTF-8";
/* Load tokens, variables, functions, mixins from abstracts into global scope */
:root {
  /* how wide your content should ever get */
  --size-content-2: 64rem;
  /* horizontal “gutters” at different breakpoints */
  --size-4: 1rem; /* mobile padding */
  --size-5: 1.5rem; /* from “md” up */
}

/* ======================================================
   Design Tokens → CSS Custom Properties (global :root)
   Exposes spacing, colors, typography, motion, radii, shadows
   so component SCSS (and runtime) can read consistent values.
   ====================================================== */
:root {
  /* Colors */
  --ink: #d9d9d9; /* primary on dark */
  --text: var(--ink);
  --text-dim: rgba(255,255,255,.72);
  --paper: #78b3e978; /* acrisure-dark-blue */
  --line: rgba(255,255,255,.14);
  --accent: #3192d3; /* acrisure-blue */
  --accent-2: #3F75A0; /* secondary blue used in sections */
  --accent-green: #006064; /* acrisure-green */
  --accent-gold: #f7b825; /* acrisure-gold */
  --accent-purple: #6f5c85; /* acrisure-purple */
  /* Typography */
  --font-sans: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji";
  --font-heading: "Playfair Display", Georgia, serif;
  /* Spacing scale (mapped to project $space) */
  --space-0: 0;
  --space-1: .5rem; /* sm */
  --space-2: 1rem; /* md */
  --space-3: 1.5rem; /* lg */
  --space-4: 3rem; /* xl */
  /* Section rhythm (matches $space section-*) */
  --section-sm: clamp(2rem, 4vw, 4rem);
  --section-md: clamp(4rem, 6vw, 6rem);
  --section-lg: clamp(6rem, 8vw, 8rem);
  /* Radii */
  --radius-1: .25rem; /* sm */
  --radius-2: .5rem; /* md */
  --radius-3: .75rem; /* lg (approx) */
  /* Shadows */
  --shadow-1: 0 1px 2px rgba(0,0,0,.06);
  --shadow-2: 0 6px 12px rgba(0,0,0,.12);
  /* Motion */
  --motion-fast: 180ms;
  --motion-base: 240ms;
  --motion-slow: 360ms;
  --ease-soft: cubic-bezier(.22, 1, .36, 1); /* luxurious out curve */
  --ease-emphatic: cubic-bezier(.2, .8, .2, 1);
  /* Cards */
  --card-pad: clamp(20px, 4vw, 40px);
  --card-radius: 12px;
}

/* Font shorthand tokens */
/* --- Spacing Overhaul TOKENS (SO-TOKENS) --- */
/* Motion tokens */
/* Luxury easings */
/* Then layer the rest of the system */
/* 02_reset.scss */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  padding: 0;
  margin: 0;
}

/* Base typography and background */
body {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg);
}

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

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

/* ────────────────────────────────────────────────────────────────────────────── */
/* ✨ Additional resets to knock out all browser defaults ✨                      */
/* ────────────────────────────────────────────────────────────────────────────── */
ul,
ol {
  padding: 0;
  margin: 0;
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

fieldset {
  padding: 0;
  margin: 0;
  border: 0;
}

legend {
  padding: 0;
  border: 0;
}

/* ──────────────────────────────────────────────── */
/* 🌐 Extra global resets & accessibility helpers   */
/* ──────────────────────────────────────────────── */
/* Smooth scrolling everywhere */
html {
  scroll-behavior: smooth;
}

/* Ensure focus outlines are visible for keyboard users */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Prevent unloaded images from collapsing layouts */
img:not([src]) {
  visibility: hidden;
}

#mode-toggle {
  padding: var(--spacing-sm);
  border: none;
  background: none;
  color: var(--nav-text);
  font-size: 1.5rem;
  cursor: pointer;
}
#mode-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Design tokens and theming */
:root {
  --ink: #3c72e9;
  --ink-2: #4b77d7;
  --paper: #c5a938;
  --muted: #8a8f99;
  --line: color-mix(in oklab, var(--ink), white 88%);
  --accent: #e9aa36; /* Gold */
  --accent-2: #3F75A0; /* Blue */
  --success: #1f8a4c;
  --radius-1: 10px;
  --radius-2: 16px;
  --shadow-1: 0 1px 2px rgba(0,0,0,.06), 0 8px 30px rgba(0,0,0,.12);
  --shadow-2: 0 2px 6px rgba(0,0,0,.08), 0 16px 48px rgba(0,0,0,.16);
  --maxw: 1200px;
  --ease: cubic-bezier(.2,.6,.2,1);
  --focus: 0 0 0 3px color-mix(in oklab, var(--accent), white 65%);
}

/* Optional dark surface tuning */
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #d9dde9;
    --ink: #2a6cef;
    --ink-2: #d9dfeb;
    --line: color-mix(in oklab, var(--ink), black 80%);
  }
}
/* Section accent hooks (used by cards and headers) */
#why {
  --card-accent: #8452bd;
}

#program-tabs {
  --card-accent: #3F75A0;
}

#stats {
  --card-accent: #85714D;
}

#contact {
  --card-accent: #004F51;
}

/* Containers */
.container {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(16px, 3vw, 28px);
}

.container--fluid {
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: clamp(16px, 3vw, 36px);
}

section::before {
  content: none;
}

.theme--risk {
  --accent: #6f5c85;
}

.theme--claims {
  --accent: #8a203b;
}

.theme--programs {
  --accent: #3192d3;
}

.theme--storage {
  --accent: #f7b825;
}

section {
  background: transparent;
}

.section--hero {
  background: transparent;
}

.section-kicker {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 15% 45%, rgba(49, 146, 211, 0.12), transparent 65%);
  pointer-events: none;
}

details {
  padding: var(--spacing-sm) 0;
  border: none;
  background: none;
  margin-bottom: var(--spacing-md);
  border-top: 1px solid var(--divider);
}

details:last-of-type {
  border-bottom: 1px solid var(--divider);
}

details summary {
  position: relative;
  padding: 0.5rem 0;
  color: var(--text-primary);
  transition: color 0.3s ease;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

details[open] summary {
  color: var(--accent);
}

details summary::before {
  position: absolute;
  width: 1rem;
  height: 1rem;
  transform: translateY(-50%) rotate(0deg);
  transition: transform 0.3s ease;
  content: "";
  left: -2rem;
  top: 50%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%23ccc' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

details[open] summary::before {
  transform: translateY(-50%) rotate(180deg);
}

details p {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-top: 0.5rem;
  padding-left: 1.5rem;
  color: var(--neutral-60);
}

/* Global vertical rhythm */
section + section {
  margin-block-start: var(--spacing-3xl);
}

.section--lift .section__wrapper {
  padding: var(--spacing-2xl) var(--spacing-xl);
}

/* Comfortable default for stacked content blocks */
.prose > * + * {
  margin-block-start: var(--spacing-lg);
}

@media (width >= 992px) {
  .prose > * + * {
    margin-block-start: var(--spacing-xl);
  }
}
/* page enter */
body {
  opacity: 0;
  transition: opacity 0.28s ease;
}

body.page-loaded {
  opacity: 1;
}

/* page leave triggered by JS before navigation */
body.nav-leaving {
  opacity: 0;
}

html {
  font-size: 100%;
}

body {
  font-family: var(--font-body, var(--font-sans));
  font-weight: 500;
  line-height: 1.6;
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizelegibility;
  /* Gentle line breaking improvements */
  text-wrap: pretty;
  hanging-punctuation: first allow-end;
}

@supports (font-variation-settings: normal) {
  body {
    font-variation-settings: "opsz" 14;
  }
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading, var(--font-sans));
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 var(--spacing-xl);
  color: var(--text-heading, var(--text-primary));
  /* More elegant multi-line titles */
  text-wrap: balance;
  hyphens: auto;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  letter-spacing: 0;
}

h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.012em;
}

h3 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  letter-spacing: -0.01em;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.125rem;
}

h6 {
  font-size: 1rem;
}

p, ul, ol, dl, blockquote, figure {
  margin: 0 0 var(--spacing-lg);
}

p {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  line-height: 1.7;
  letter-spacing: 0;
  hyphens: auto;
}

p + p {
  margin-top: var(--spacing-sm);
}

ul, ol {
  padding-left: var(--spacing-lg);
}

@media (width >= 992px) {
  p {
    margin-bottom: var(--spacing-xl);
  }
}
a {
  color: var(--link, var(--accent));
  text-decoration: none;
  text-underline-offset: 0.1em;
  transition: color 0.2s ease-in-out, text-decoration-color 0.2s ease-in-out;
}
a:hover, a:focus-visible {
  color: var(--link, var(--accent));
  text-decoration: underline;
  outline: none;
}
a:visited {
  color: var(--link, var(--accent));
  opacity: 0.92;
}
a:focus-visible {
  outline: 2px solid color-mix(in oklab, var(--link, var(--accent)), white 20%);
  outline-offset: 2px;
  border-radius: 4px;
}

strong {
  font-weight: 650;
}

em {
  font-style: italic;
}

code, pre {
  font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, monospace);
  font-feature-settings: "calt" 1, "liga" 1;
  font-size: 0.95em;
}

::selection {
  background: color-mix(in oklab, var(--accent), white 70%);
  color: var(--text-on-accent, #000);
}

.lead {
  font-size: clamp(1.125rem, 2.2vw, 1.375rem);
  line-height: 1.8;
  color: var(--text-secondary, var(--text-primary));
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--text-muted, #6b7280);
}

.hero .measure {
  max-width: 100%;
}

.small {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.text-full,
.measure--full {
  max-width: none;
  width: 100%;
}

.hero__content,
.proofbar {
  max-width: 100%;
}

/* Accordion summary headings */
.card--outline summary {
  font-family: var(--font-heading, var(--font-sans));
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  margin-bottom: var(--spacing-sm, 0.5rem);
}

/* Hide native disclosure marker; normalize list-style */
summary::-webkit-details-marker {
  display: none;
}

details summary {
  list-style: none;
}

/* Custom accordion indicators */
details[open] summary::before {
  content: "–";
}

details:not([open]) summary::before {
  content: "+";
}

summary::before {
  display: inline-block;
  margin-right: 0.5rem;
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1;
  color: var(--ink, var(--text-heading));
  transform: translateY(-1px);
}

/* Form system: precise, accessible, durable */
.form-grid {
  display: grid;
  gap: clamp(12px, 2vw, 18px);
}

.form-row {
  display: grid;
  gap: 0.4rem;
}

label {
  font-weight: 600;
  color: var(--ink);
}

input, textarea, select {
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font: inherit;
  line-height: 1.4;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease);
}

input::placeholder, textarea::placeholder {
  color: color-mix(in oklab, var(--ink), white 60%);
}

input:focus-visible, textarea:focus-visible, select:focus-visible {
  border-color: color-mix(in oklab, var(--accent-2), white 30%);
  box-shadow: var(--focus);
  outline: none;
}

input[aria-invalid=true], textarea[aria-invalid=true], select[aria-invalid=true] {
  border-color: #b42318;
  background: color-mix(in oklab, #b42318, white 96%);
}

.field-help {
  color: var(--muted);
  font-size: 0.9rem;
}

.field-error {
  color: #b42318;
  font-size: 0.9rem;
  font-weight: 600;
}

fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}

legend {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.checkbox, .radio {
  display: grid;
  grid-auto-flow: column;
  align-items: start;
  gap: 0.6rem;
}

.checkbox input[type=checkbox], .radio input[type=radio] {
  width: 1.1rem;
  height: 1.1rem;
}

select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%), linear-gradient(to right, color-mix(in oklab, var(--ink), white 70%), color-mix(in oklab, var(--ink), white 70%));
  background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 13px) calc(50% - 3px), calc(100% - 2.2rem) 50%;
  background-size: 6px 6px, 6px 6px, 1px 60%;
  background-repeat: no-repeat;
  padding-right: 2.6rem;
}

input:disabled, textarea:disabled, select:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-actions {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  flex-wrap: wrap;
}

.required::after {
  content: " *";
  color: #b42318;
}

/* 10_accessibility.scss */
:focus:not(:focus-visible) {
  outline: none;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-focus-outline, var(--brand-gold));
  outline-offset: 2px;
}

.u-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: none;
  clip: rect(0 0 0 0);
  overflow: hidden;
  white-space: nowrap;
}

:root {
  /* Horizontal gutters and section rhythm */
  --page-gutter: clamp(16px, 4vw, 48px);
  --section-pad: clamp(40px, 8vw, 112px);
  /* Max readable line length for centered containers */
  --container-max: clamp(960px, 86vw, 1200px);
  --container-wide: clamp(1100px, 92vw, 1400px);
}

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

html, body {
  height: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  min-width: 320px;
}

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

/* Photo/Video break — full-bleed, no letterboxing */
.photo-break {
  position: relative;
  width: 100%;
  height: clamp(360px, 42vh, 560px);
  overflow: hidden;
}

.photo-break > video,
.photo-break > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.photo-break-left {
  position: relative;
  float: left;
  width: 50vw; /* occupy left half of viewport */
  max-width: 800px;
  margin: 2rem 2rem 2rem 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
}

/* Prevent any floated feature from causing the next section to wrap */
section + section {
  clear: both;
}

.photo-break-left .video-bg {
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media (max-width: 800px) {
  .photo-break-left {
    display: none;
  } /* hide on smaller screens */
}
.full-bleed {
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
}

section {
  padding-block: var(--section-pad);
}

h2 {
  font-size: clamp(1.5rem, 2.2vw + 0.75rem, 2.5rem);
}

p {
  font-size: clamp(1rem, 0.5vw + 0.9rem, 1.125rem);
}

/* Improve readability across large screens */
.measure {
  max-width: 65ch;
}

h1, h2, h3, .section-title {
  text-wrap: balance;
}

@supports not (text-wrap: balance) {
  h1, h2, h3, .section-title {
    hyphens: auto;
  }
}
/* Wide overrides to prevent smushing at large viewports */
@media (min-width: 992px) {
  .hero .hero__content {
    max-width: none;
    width: 100%;
    padding-inline: var(--page-gutter);
    text-align: left;
    margin-inline: 0;
  }
  .proofbar {
    width: 100%;
    max-width: none;
    padding: 1rem var(--page-gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .video-stats .stats-overlay {
    max-width: 100%;
    width: calc(100% - clamp(24px, 6vw, 72px));
    margin-inline: auto;
  }
}
/* Centered content */
.container {
  width: min(100%, var(--container-max));
  margin-inline: auto;
  padding-inline: clamp(16px, 3vw, 28px);
}

/* Fluid but bound for ultra‑wide displays */
.container--fluid {
  width: min(100%, var(--container-wide));
  margin-inline: auto;
  padding-inline: clamp(16px, 3vw, 36px);
}

/* Optional variants for special pages */
.container--narrow {
  width: min(100%, 880px);
}

.container--wide {
  width: min(100%, var(--container-wide));
}

.footer {
  position: relative;
  isolation: isolate; /* create a stacking context so accents don't bleed */
  padding: clamp(28px, 4vw, 48px) 0 clamp(20px, 3vw, 36px);
  color: var(--text, #f7f8fb);
  background: linear-gradient(180deg, rgba(18, 32, 58, 0.9), rgba(15, 26, 46, 0.9)), linear-gradient(135deg, rgba(11, 98, 255, 0.2), transparent 60%), var(--bg-panel-solid, rgba(32, 55, 79, 0.4745098039));
  border-top: var(--border, 1px solid var(--glass-stroke, rgba(255, 255, 255, 0.06)));
  box-shadow: 0 -12px 36px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  overflow: visible;
  /* tighten text rendering on dark glass */
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(11, 98, 255, 0.35), rgba(61, 200, 255, 0.15) 40%, transparent 80%);
  pointer-events: none;
}

.footer .container {
  display: grid;
  grid-template-columns: minmax(260px, 1.3fr) repeat(2, minmax(200px, 1fr)) minmax(240px, 1fr);
  grid-auto-rows: minmax(min-content, max-content);
  gap: clamp(var(--spacing-md), 2.5vw, var(--spacing-xl));
  align-items: start;
  max-width: clamp(1100px, 92vw, 1320px);
  margin-inline: auto;
  grid-auto-flow: row dense;
  /* Reset any global container child spanning */
}
.footer .container > * {
  grid-column: auto;
}

.footer-about {
  min-width: 0;
}

.footer-about h3 {
  margin: 0 0 var(--spacing-sm);
  font-weight: 600;
  letter-spacing: 0.2px;
}

.footer-about p {
  margin: 0 0 var(--spacing-sm);
  color: var(--text-dim, #daefff);
  font-size: 0.95rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-right: var(--spacing-sm);
  border: 1px solid var(--glass-stroke, rgba(255, 255, 255, 0.06));
  border-radius: 12px;
  color: var(--text, #f7f8fb);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-md, 0 12px 36px rgba(0, 0, 0, 0.35));
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: transform 200ms ease-in-out 0ms;
  fill: currentColor;
}

.footer-links a {
  color: var(--text-dim, #daefff);
  text-decoration: none;
  border-radius: 10px;
  padding: 0.25rem 0.35rem;
  transition: background 200ms ease-in-out 0ms;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  background: linear-gradient(135deg, rgba(11, 98, 255, 0.16), rgba(61, 200, 255, 0.1));
  color: var(--text, #f7f8fb);
  outline: none;
  box-shadow: var(--ring, 0 0 0 2px rgba(11, 98, 255, 0.25));
}

.footer-social a:hover,
.footer-social a:focus-visible {
  transform: translateY(-1px) scale(1.04);
  background: linear-gradient(135deg, var(--brand, #cae8f9), var(--brand-600, #08d2fa));
  color: #0b1221;
  fill: currentColor;
  box-shadow: var(--shadow-lg, 0 24px 72px rgba(0, 0, 0, 0.45));
  outline: none;
}

.footer-social i, .footer-social svg {
  width: 1.25rem;
  height: 1.25rem;
  font-size: 1.25rem; /* size up the social icon font */
  vertical-align: middle;
  display: inline-block;
  color: inherit;
  fill: currentColor;
  will-change: transform;
}

.footer-social a:hover i, .footer-social a:focus i, .footer-social a:hover svg, .footer-social a:focus svg {
  transform: scale(1.15);
}

.footer-links {
  min-width: 0;
}

.footer-links h4 {
  margin: 0 0 var(--spacing-sm);
  color: var(--text, #f7f8fb);
  opacity: 0.95;
}

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

.footer-links li {
  margin: 0 0 var(--spacing-xs);
}

.footer-links li:last-child {
  margin-bottom: 0;
}

.footer-bottom {
  grid-column: 1/-1;
  margin-top: var(--spacing-md);
  padding-top: var(--spacing-md);
  border-top: var(--border, 1px solid var(--glass-stroke, rgba(255, 255, 255, 0.06)));
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted, #9aabb2);
}

@media (width <= 767px) {
  .footer .container {
    grid-template-columns: 1fr; /* stack neatly */
    gap: clamp(var(--spacing-md), 4vw, var(--spacing-xl));
    justify-items: stretch;
  }
  .footer-bottom {
    text-align: center;
  }
}
.hero {
  position: relative;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 100svh;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  /* Disable CSS background if in‑markup media is present (modern) */
  /* Fallback opt‑in: add .hero--media on sections that use in‑markup media */
  /* Pin any direct child within .hero__media to fill and cover */
  /* Optional in-markup media for perfect scaling */
  /* Cinematic background zoom (for CSS bg fallback); media element above also animates */
  animation: hero-kenburns-bg 16s var(--motion-ease, cubic-bezier(0.22, 1, 0.36, 1)) 0.1s both;
  /* Gentle overlay + cleaner type for home hero */
  /* proof bar under hero */
  /* Optional helpers to correct contrast per‑logo */
}
.hero:has(.hero__media) {
  background-image: none;
}
.hero.hero--media {
  background-image: none;
}
.hero .hero__media > * {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero .hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero .hero__media .hero-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
}
.hero .hero__media .hero-img--sharp {
  animation: hero-kenburns-img 16s cubic-bezier(0.22, 1, 0.36, 1) both;
  will-change: transform;
}
.hero .hero__media .hero-img--blur {
  filter: blur(10px) saturate(1.05) brightness(1.03);
  animation: blur-fade-out 2800ms ease-out 300ms both;
  will-change: opacity;
}
.hero .hero__media::after {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.55) 40%, rgba(0, 0, 0, 0.65) 100%);
  content: "";
  pointer-events: none;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  /* Stronger, accessible overlay to improve text contrast over imagery */
  background: linear-gradient(to bottom, rgba(0, 0, 0, var(--hero-ovl-top, 0.55)) 0%, rgba(0, 0, 0, var(--hero-ovl-mid, 0.75)) 42%, rgba(0, 0, 0, var(--hero-ovl-lower, 0.6)) 68%, rgba(0, 0, 0, var(--hero-ovl-bottom, 0.35)) 88%, rgba(0, 0, 0, 0) 100%);
}
.hero.hero--overlay-soft {
  --hero-ovl-top: 0.40;
  --hero-ovl-mid: 0.58;
  --hero-ovl-lower: 0.45;
  --hero-ovl-bottom: 0.20;
}
.hero.hero--overlay-strong {
  --hero-ovl-top: 0.68;
  --hero-ovl-mid: 0.85;
  --hero-ovl-lower: 0.70;
  --hero-ovl-bottom: 0.45;
}
.hero::after {
  position: absolute;
  z-index: 2;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, transparent 0%, var(--accent-blue) 50%, transparent 100%);
  content: "";
  bottom: 3rem;
  left: 0;
  animation: scroll-glide 3s infinite linear;
}
.hero .hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: clamp(42ch, 72ch, 92vw);
  color: #f9f9f9; /* soft off-white for harmony */
  text-align: center;
  margin-inline: auto;
  padding-inline: 1rem;
  padding-top: 6rem;
  margin-bottom: var(--spacing-lg);
}
.hero .hero__content h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(3.25rem, 7.2vw, 5.75rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
  text-shadow: 0 4px 6px rgba(0, 0, 0, 0.4), 0 1px 2px rgba(0, 0, 0, 0.6);
  max-width: none;
  margin: -1rem auto 1rem; /* optimal multi-line width on desktop for impact */
  opacity: 0;
  transform: translateY(32px);
  animation-fill-mode: both;
  animation-iteration-count: 1;
  transition: none;
  animation: fade-up-zoom 5.5s cubic-bezier(0.16, 1, 0.3, 1) 200ms both;
}
.hero .hero__content p {
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: 500;
  max-width: 68ch;
  margin: 1.25rem auto 0;
  text-shadow: 4rem;
  opacity: 1;
  transform: translateY(24px);
  animation-fill-mode: both;
  animation-iteration-count: 1;
  transition: none;
  animation: fade-up-zoom 4.5s cubic-bezier(0.16, 1, 0.3, 1) 500ms both;
}
@supports (text-wrap: balance) {
  .hero .hero__content h1 {
    text-wrap: balance;
  }
}
.hero--home {
  background-image: url(../images/home.png);
  /* Layout + isolation for home hero */
  display: grid;
  align-items: center;
  isolation: isolate;
  overflow: clip;
  min-height: 78svh;
  /* Media positioning */
  /* Content stacking + spacing */
}
.hero--home .hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero--home .hero-img {
  position: absolute;
  inset: 0;
}
.hero--home .hero-img--blur {
  filter: blur(20px) saturate(1.05);
  transform: scale(1.06);
  opacity: 0.6;
}
.hero--home .hero-img--sharp {
  opacity: 1;
}
.hero--home .hero__content {
  position: relative;
  z-index: 1;
  padding-block: var(--space-6);
}
.hero--home .hero-title-luxury {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
}
.hero--home .hero__actions {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-3);
}
.hero--lastmile {
  background-image: url(../images/hero-lastmile.png);
}
.hero--moving {
  background-image: url(../images/moving.svg);
}
.hero--junk {
  background-image: url(../images/junk.svg);
}
.hero--middlemile {
  background-image: url(../images/mp.png);
}
.hero--storage {
  background-image: url(../images/storage.png);
}
.hero--meetteam {
  background-image: url(../images/meetteam.webp);
}
.hero--importantinfo {
  background-image: url(../images/importantinfo.webp);
}
.hero--trainings {
  background-image: url(../images/trainings.webp);
}
.hero--commonquestions {
  background-image: url(../images/commonquestions.webp);
}
.hero--claimsfaq {
  background-image: url(../images/claimsfaq.webp);
}
.hero--claimsteam {
  background-image: url(../images/claimsteam.webp);
}
.hero--submitclaim {
  background-image: url(../images/submit.webp);
}
.hero--meet {
  background-image: url(../images/meet.webp);
}
.hero--snack {
  background-image: url(../images/snack.webp);
}
.hero::before {
  --hero-ovl-top: .38;
  --hero-ovl-mid: .54;
  --hero-ovl-lower: .46;
  --hero-ovl-bottom: .18;
}
.hero .hero__content h1, .hero .hero__content p {
  text-shadow: 4rem;
}
.hero .proofbar {
  background: radial-gradient(20% 140% at 8% -10%, rgba(159, 158, 158, 0), transparent 80%), linear-gradient(160deg, rgba(1, 68, 139, 0), rgba(124, 146, 178, 0.073));
  border-radius: 30px;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.613), inset 0 0 3px rgb(0, 0, 0);
  backdrop-filter: blur(4px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
}
.hero .proofbar__label {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ec7d06;
  opacity: 2;
  white-space: nowrap;
  margin-right: 0.5rem;
}
.hero .proofbar__logos img {
  object-fit: contain;
  filter: grayscale(10) brightness(10.05) contrast(10.06) drop-shadow(0 0.25px 0.25px rgb(153, 188, 234));
  opacity: 2;
  transition: transform 0.18s ease, filter 0.18s ease, opacity 0.18s ease;
}
.hero .proofbar__logos img:hover {
  transform: translateY(-1px) scale(1.3);
  filter: grayscale(0) brightness(1.08) contrast(1.12) drop-shadow(0 0.5px 1px rgba(0, 0, 0, 0.5));
  opacity: 1;
}
.hero .proofbar__logos li.logo--dark {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.213), rgba(255, 255, 255, 0.06));
}
.hero .proofbar__logos li.logo--light {
  box-shadow: inset 0 0px 0 rgba(255, 255, 255, 0.818);
  border-radius: 0px; /* ensure same rounding as base */
}

@media (min-width: 10px) {
  .proofbar__logos img {
    height: 130px;
  }
}
@keyframes scroll-glide {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}
.hero__scroll-arrow {
  position: absolute;
  z-index: 2;
  color: rgba(255, 255, 255, 0.75);
  transform: translateX(-50%);
  bottom: 1rem;
  left: 50%;
  font-size: 1.5rem;
  opacity: 0;
  animation: float 3s var(--motion-ease, cubic-bezier(0.22, 1, 0.36, 1)) infinite;
  pointer-events: none;
}

/* Desktop fluid hero content — placed after base hero rules to win cascade */
@media (min-width: 992px) {
  .hero .hero__content {
    max-width: none;
    width: 100%;
    text-align: left;
    padding-inline: var(--page-gutter);
    margin-inline: 0;
  }
}
@keyframes float {
  0%, 100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, -8px);
  }
}
/* Unified button language with clear focus */
.btn, .button {
  --bg: var(--ink);
  --fg: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--bg);
  color: var(--fg);
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s, border-color 0.2s;
}

.btn:hover, .button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.btn:active, .button:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn--secondary {
  --bg: transparent;
  --fg: var(--ink);
  border-color: color-mix(in oklab, var(--ink), white 70%);
  background: color-mix(in oklab, var(--paper), var(--ink) 2%);
}

.btn--cta, .button--cta {
  --bg: linear-gradient(135deg, #0b62ff, #3bbeff);
  --fg: #fff;
  box-shadow: 0 8px 20px rgba(11, 98, 255, 0.3);
}

.btn--cta:hover, .button--cta:hover {
  filter: brightness(1.08);
  box-shadow: 0 10px 26px rgba(11, 98, 255, 0.35);
}

/* Form */
.contact-form .form-row {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.contact-form input, .contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font: inherit;
}

.contact-form .form-footnote {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 0.6rem;
}

/* --------------------------------------------------------------------------
   CARD SYSTEM — unified defaults & rhythm
   ----------------------------------------------------------------------- */
.video-stats .card.stat:hover,
.video-stats .card.stat:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Spacing adjustments for feature card content */
.card--feature h2 {
  margin-bottom: var(--space-3, 24px);
}

.card--feature ul {
  margin-top: var(--space-2, 16px);
}

.card--feature li {
  margin-bottom: var(--space-2, 16px);
}

/* Media layout for feature cards */
.card--with-media {
  display: grid;
  grid-template-columns: 1.1fr 1fr; /* media : body */
  gap: clamp(16px, 3vw, 32px);
  align-items: center;
}

.card--with-media .card__media {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #000;
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.28);
}

.card--with-media .card__video,
.card--with-media .card__media > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* subtle zoom to crop baked bars */
.card--with-media .card__video {
  transform: scale(1.32);
  transform-origin: center center;
}

.card--with-media .card__body {
  padding: 0;
}

@media (max-width: 900px) {
  .card--with-media {
    grid-template-columns: 1fr;
  }
  .card--with-media .card__media {
    order: -1;
  }
}
/* Stats section header */
#stats .section-head {
  text-align: center;
  margin: 0 0 clamp(18px, 2.6vw, 28px);
}

#stats .section-head .eyebrow {
  margin: 0 0 0.4rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--card-accent), white 25%);
}

#stats .section-head .section-title {
  font-size: clamp(1.6rem, 2.2vw, 2.2rem);
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
}

#stats .section-head .section-subtitle {
  max-width: 62ch;
  margin: 0.6rem auto 0;
  opacity: 0.85;
}

/* tighter grid on very wide screens */
@media (width >= 1200px) {
  #stats .grid--3 {
    grid-template-columns: repeat(5, 1fr);
  }
}
/* Card system with variants — base */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-2);
  padding: clamp(18px, 3vw, 28px);
  box-shadow: var(--shadow-1);
}

/* ---------- Card readability + sizing safeguards ---------- */
/* Give cards a little more inner room and a sensible minimum height */
.card {
  padding: clamp(20px, 2.6vw, 32px);
  min-height: 320px;
}

/* Headings inside cards scale responsibly and keep tight leading */
.card h1, .card h2, .card .card__title {
  font-size: clamp(1.4rem, 0.9rem + 1.6vw, 2.3rem);
  line-height: 1.15;
  margin: 0 0 0.5rem;
}

/* Body text avoids ugly hyphenation and wraps gracefully */
.card p, .card li {
  hyphens: none;
  overflow-wrap: anywhere;
  word-break: normal;
  line-height: 1.5;
}

/* If your cards are in a grid, ensure a wider minimum column */
/* These classnames are safe: use any that apply on your pages */
.cards-grid,
.steps-grid,
.card-list,
.grid--cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: clamp(16px, 2vw, 28px);
}

/* --------------------------------------------------------------------------
   Modifiers
   ----------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   SOLID — bold top accent strip + soft inner shadow
   ----------------------------------------------------------------------- */
.card--solid {
  background: color-mix(in oklab, var(--paper), var(--accent) 6%);
  border-color: color-mix(in oklab, var(--accent), white 80%);
}

/* --------------------------------------------------------------------------
   Outline Card Variant (transparent with border)
   ----------------------------------------------------------------------- */
.card--outline {
  background: var(--paper);
  border: 1px solid color-mix(in oklab, var(--ink), white 82%);
}

/* --------------------------------------------------------------------------
   Gradient Card Variant (brand gradient + halo)
   ----------------------------------------------------------------------- */
.card--gradient {
  background: linear-gradient(180deg, color-mix(in oklab, var(--paper), var(--accent-2) 6%), var(--paper) 45%);
  border: 1px solid color-mix(in oklab, var(--accent-2), white 80%);
}

/* --------------------------------------------------------------------------
   SECTION-LEVEL OVERRIDES — pick new accents per section (optional)
   Usage: set --card-accent on the section wrapper to recolor its card(s)
   ----------------------------------------------------------------------- */
#why {
  --card-accent: #7C6992;
} /* Acrisure Purple */
#offers {
  --card-accent: #3F75A0;
} /* Acrisure Blue */
#program-tabs {
  --card-accent: #3F75A0;
} /* Acrisure Blue */
#stats {
  --card-accent: #efb853;
} /* Acrisure Gold */
#contact {
  --card-accent: #004F51;
} /* Acrisure Green */
/* Group wrapper to harmonize spacing between multiple cards in a section */
.cards,
.grid .card {
  scroll-margin-top: 10vh;
}

/* Tighter section rhythm when a section is just a single hero card */
section:has(> .card[class*=card--]) {
  padding-block: clamp(32px, 6vw, 72px);
}

.section-line {
  width: 56px;
  height: 2px;
  background: color-mix(in oklab, var(--ink), white 70%);
  border-radius: 2px;
  margin-bottom: var(--space-3);
}

/* If not used elsewhere, delete; otherwise disable */
.photo-break-left {
  display: none !important;
}

:root {
  --nav-link-color: color-mix(in srgb, var(--ink, #ffffff), rgb(255, 255, 255) 100%);
  --nav-link-color-active: var(--acrisure-gold, var(--accent, #f3c55b));
  --nav-glass-bg: var(--bg-panel-solid, rgba(3, 5, 8, 0));
  --nav-glass-stroke: var(--glass-stroke, rgb(0, 0, 0));
  --nav-shadow-lg: var(--shadow-lg, 0 24px 72px rgb(0, 0, 0));
  --bg-backdrop: rgb(0, 0, 0);
  --nav-radius: var(--radius-xl, 16px);
  --nav-text: var(--text, #f69a30);
  --nav-text-dim: var(--text-dim, #7cc3f9);
  --nav-text-muted: var(--text-muted, #8cbbcf);
  --nav-ring: var(--ring, 0 0 0 2px rgba(11, 178, 255, 0.267));
  --nav-border: var(--border, 1px solid var(--glass-stroke, rgba(255, 255, 255, 0.162)));
}

.navbar {
  position: fixed;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.5rem 1rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.153), rgba(26, 78, 95, 0.089)), linear-gradient(135deg, rgba(0, 0, 0, 0.116), transparent 60%);
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.216);
  border-bottom: var(--nav-border);
  transition: transform 0.28s ease, opacity 0.2s ease, background-color 0.2s ease, backdrop-filter 0.2s ease;
  top: 0;
  left: 0;
  right: 0;
  min-height: 72px;
  backdrop-filter: blur(6px) saturate(250%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  /* Unified nav link colors */
  /* Hide the checkbox (hamburger toggle control) */
  /* Hamburger icon (three bars) */
  /* Transform hamburger into "X" when checked */
  /* Nav menu (center links) base styles */
  /* When dropdown is open, remove the tab-like background/border so only the word shows */
  /* Dropdown submenu (hidden by default) */
  /* A11y: reinforce focus styles for ARIA menus */
  /* Right-side actions (Contact and Search) base styles */
  /* Show menu and actions when hamburger (checkbox) is checked */
  /* Desktop (min-width: 768px) styles */
  /* Mobile (max-width: 767px) styles */
  /* Glassy scrollbar for dropdown */
}
.navbar.navbar--hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}
.navbar.navbar--visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.navbar .navbar__link {
  color: var(--nav-link-color);
  transition: color 0.25s ease;
  text-decoration: none;
}
.navbar .navbar__link:hover, .navbar .navbar__link:focus-visible {
  color: var(--nav-link-color-active);
  text-decoration: none;
}
.navbar .navbar__link.is-active, .navbar .navbar__link[aria-current=page] {
  color: var(--nav-link-color-active);
  text-decoration: none;
}
.navbar__logo {
  display: inline-block;
}
.navbar__logo img {
  max-height: 50px; /* adjust as needed */
}
.navbar__checkbox {
  display: none;
}
.navbar__toggle {
  position: relative;
  display: block;
  width: 2rem;
  height: 2rem;
  cursor: pointer;
  /* Hide toggle on desktop by default (overridden in media query) */
  /* (We'll show it on mobile in media query below) */
  /* Hamburger bars */
}
.navbar__toggle span {
  position: absolute;
  display: block;
  width: 100%;
  height: 2px;
  transition: 0.3s ease;
  background-color: rgba(34, 86, 134, 0.85);
  left: 0;
}
.navbar__toggle span:nth-child(1) {
  top: 6px;
}
.navbar__toggle span:nth-child(2) {
  top: 12px;
}
.navbar__toggle span:nth-child(3) {
  top: 18px;
}
.navbar__toggle:focus-visible {
  outline: 2px solid var(--acrisure-gold, var(--accent, #f9c241));
  outline-offset: 3px;
}
.navbar__checkbox:checked + .navbar__toggle span:nth-child(1) {
  top: 12px;
  transform: rotate(45deg);
}
.navbar__checkbox:checked + .navbar__toggle span:nth-child(2) {
  opacity: 0;
}
.navbar__checkbox:checked + .navbar__toggle span:nth-child(3) {
  top: 12px;
  transform: rotate(-45deg);
}
.navbar__menu {
  /* Hide menu by default on mobile (shown when checkbox checked) */
  display: none;
  width: 100%;
  padding: 0;
  margin: 0;
  list-style: none;
}
.navbar__item {
  list-style: none;
  margin-inline: 1rem;
}
.navbar__link {
  position: relative;
  display: block;
  padding: 0.5rem 0.9rem;
  transition: color 0.25s ease;
  font-family: Inter, sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  text-shadow: 0 2px 1px rgba(0, 0, 0, 0.074);
  /* Button reset so dropdown triggers render like links */
  /* Firefox inner focus reset */
}
.navbar__link:where(button) {
  appearance: none;
  -webkit-appearance: none;
  background: none;
  border: 0;
  padding: 0.5rem 0.9rem; /* preserve spacing */
  margin: 0;
  font: inherit;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: inherit;
  text-align: left;
  cursor: pointer;
}
.navbar__link:where(button)::-moz-focus-inner {
  border: 0;
  padding: 0;
}
.navbar__link::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.35rem;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--acrisure-gold, var(--accent, #e3a008)), transparent);
  transform: scaleX(0);
  transform-origin: 50% 50%;
  transition: transform 0.35s ease;
  opacity: 0.9;
  filter: drop-shadow(0 0 6px color-mix(in srgb, var(--acrisure-gold, var(--accent, #e3a008)), white 20%));
}
.navbar__link:hover::after, .navbar__link:focus-visible::after {
  transform: scaleX(1);
}
.navbar__link:focus-visible {
  outline: 2px solid var(--acrisure-gold, var(--accent, #e3a008));
  outline-offset: 2px;
  text-decoration: none;
}
.navbar__link.is-active::after {
  transform: scaleX(1);
}
.navbar__link--dropdown {
  position: relative;
  z-index: 1;
  transition: color 0.1s ease, background 0.1s ease, box-shadow 0.1s ease;
}
.navbar__link--dropdown.is-active {
  z-index: 1002; /* keep above dropdown panel */
}
.navbar__dropdown.open .navbar__link--dropdown.is-active {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}
.navbar__dropdown.open .navbar__link--dropdown.is-active::after {
  content: none;
}
.navbar__dropdown {
  position: fixed;
  z-index: 1000;
  display: flex;
  justify-content: center;
  gap: 1rem;
  width: 34vw;
  height: 100vh;
  padding: 2rem;
  background: var(--nav-glass-bg);
  border: var(--nav-border);
  border-radius: var(--nav-radius);
  box-shadow: var(--nav-shadow-lg);
  backdrop-filter: blur(32px) saturate(120%);
  -webkit-backdrop-filter: blur(32px) saturate(120%);
  overflow: hidden;
  transform: translateX(100%);
  transition: transform 0.3s ease, opacity 0.3s ease;
  top: 0;
  right: 0;
  contain: layout paint;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  will-change: transform;
}
.navbar__dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateX(0%);
  pointer-events: auto;
  animation: dropdownReveal 0.3s ease;
}
.navbar__dropdown::before {
  content: none;
}
.navbar__dropdown--dynamic {
  left: 0; /* will be overridden inline by JS per click */
  right: 0; /* ensures width calculation works across viewports */
  width: auto;
}
.navbar__dropdown-link {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 1rem;
  color: var(--nav-text);
  text-decoration: none;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.505);
  font-size: 1.4rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.24s ease, color 0.24s ease, transform 0.2s ease;
}
.navbar__dropdown-link::before {
  display: none;
}
.navbar__dropdown-link:hover, .navbar__dropdown-link:focus-visible {
  background: linear-gradient(135deg, rgba(11, 98, 255, 0.16), rgba(61, 200, 255, 0.1));
  color: var(--nav-text);
  outline: none;
  box-shadow: none;
  transform: translateX(4px);
}
.navbar__dropdown-link:focus-visible {
  border-radius: 10px;
  box-shadow: var(--nav-ring);
}
.navbar .navbar__dropdown-link:last-child {
  border-bottom: 0;
}
@media (prefers-contrast: more) {
  .navbar .navbar__dropdown {
    backdrop-filter: blur(26px) saturate(120%);
    -webkit-backdrop-filter: blur(26px) saturate(120%);
  }
  .navbar .navbar__dropdown-link {
    font-weight: 700;
    color: var(--nav-text);
  }
}
.navbar body.nav-leaving .navbar__dropdown-link,
.navbar body:not(.page-loaded) .navbar__dropdown-link {
  animation: none !important;
  transform: none !important;
  transition: none !important;
}
.navbar [role=menu] .navbar__dropdown-link:focus-visible::before {
  opacity: 1;
}
.navbar .navbar__dropdown.open .navbar__dropdown-item .navbar__dropdown-link {
  opacity: 0;
  transform: translateX(10px);
  animation: dropdownFade 0.3s ease forwards;
  will-change: transform;
}
.navbar .navbar__dropdown.open .navbar__dropdown-item:nth-of-type(3) .navbar__dropdown-link {
  animation-delay: 0.05s;
}
.navbar .navbar__dropdown.open .navbar__dropdown-item:nth-of-type(4) .navbar__dropdown-link {
  animation-delay: 0.1s;
}
.navbar .navbar__dropdown.open .navbar__dropdown-item:nth-of-type(5) .navbar__dropdown-link {
  animation-delay: 0.15s;
}
.navbar .navbar__dropdown.open .navbar__dropdown-item:nth-of-type(6) .navbar__dropdown-link {
  animation-delay: 0.2s;
}
.navbar .navbar__dropdown.open .navbar__dropdown-item:nth-of-type(7) .navbar__dropdown-link {
  animation-delay: 0.25s;
}
.navbar__actions {
  display: none; /* hide on mobile by default (shown when menu toggled) */
  padding: 0;
  margin: 0;
  /* (On desktop, we will display:flex in media query) */
}
.navbar__search-btn {
  padding: 0.5rem;
  border: none;
  background: none;
  cursor: pointer;
}
.navbar__search-btn svg {
  width: 1.2em;
  height: 1.2em;
  vertical-align: middle;
}
.navbar__checkbox:checked ~ .navbar__menu {
  display: block;
}
.navbar__checkbox:checked ~ .navbar__actions {
  display: block;
}
.navbar .navbar__center {
  display: flex;
  flex: 1;
  justify-content: center;
}
@media (width >= 768px) {
  .navbar__toggle {
    display: none; /* hide hamburger icon on desktop */
  }
  .navbar__menu {
    display: flex; /* show menu horizontally */
    justify-content: center;
    gap: 0.5rem;
  }
  .navbar__item {
    position: relative; /* for dropdown positioning */
  }
}
@media (width <= 767px) {
  .navbar {
    flex-wrap: wrap; /* allow items to wrap to new lines when expanded */
    /* JS-driven open state (checkbox OR .open class both supported) */
    /* When center is open, ensure the actual menu list renders */
    /* Show right-side actions when center is open (center precedes actions in DOM) */
    /* Prevent background scrolling when mobile nav is open */
  }
  .navbar__menu {
    /* Menu appears as vertical list on its own line when shown */
    background: rgba(11, 22, 32, 0.95);
    backdrop-filter: blur(8px);
  }
  .navbar__actions {
    align-items: flex-start;
    /* Actions appear as vertical list items when shown */
    background: rgba(11, 22, 32, 0.95);
    backdrop-filter: blur(8px);
    flex-direction: column;
  }
  .navbar__actions .navbar__link, .navbar__actions .navbar__search-btn {
    display: block;
    width: 100%;
    text-align: left;
  }
  .navbar .navbar__center {
    width: 100%;
    /* hidden by default on mobile; shown when .open or checkbox is checked */
    display: none;
  }
  .navbar .navbar__center.open {
    display: block;
  }
  .navbar .navbar__center.open .navbar__menu {
    display: block;
  }
  .navbar .navbar__center.open ~ .navbar__actions {
    display: block;
  }
  .navbar body.no-scroll {
    overflow: hidden;
  }
}
@media (width <= 991px) {
  .navbar__dropdown {
    width: 100vw;
  }
}
.navbar__dropdown {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}
.navbar__dropdown::-webkit-scrollbar {
  width: 10px;
}
.navbar__dropdown::-webkit-scrollbar-track {
  background: transparent;
}
.navbar__dropdown::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  border: 2px solid transparent;
}

/* Dim the page when the dropdown drawer is open (matches chatbot backdrop) */
body:has(.navbar__dropdown.open)::after {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(1200px 800px at 70% -10%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.25) 55%, rgba(0, 0, 0, 0.45) 100%), var(--bg-backdrop, rgba(0, 0, 0, 0.6));
  z-index: 999; /* below the dropdown (1000) but above content */
  opacity: 1;
  pointer-events: none; /* visual-only; does not block clicks */
  transition: opacity 0.24s ease;
}

/* Fallback for older browsers without :has() support */
body.nav-dim::after {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(1200px 800px at 70% -10%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.25) 55%, rgba(0, 0, 0, 0.45) 100%), var(--bg-backdrop, rgba(0, 0, 0, 0.6));
  z-index: 999;
  opacity: 1;
  pointer-events: none;
  transition: opacity 0.24s ease;
}

.navbar__dropdown-close {
  position: absolute;
  z-index: 1001;
  border: none;
  background: none;
  color: #fff;
  top: 1rem;
  right: 1.5rem;
  font-size: 2rem;
  cursor: pointer;
}

@keyframes dropdownReveal {
  from {
    filter: blur(6px);
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    filter: blur(0);
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes dropdownFade {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.navbar__dropdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: none;
}

.navbar__dropdown-heading {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.5px;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.4), 0 0 12px rgba(255, 255, 255, 0.3), 0 1px 2px rgba(0, 0, 0, 0.6);
}

.navbar__dropdown-logo {
  width: auto;
  height: 40px;
  transition: opacity 0.2s ease;
  opacity: 0.85;
}

.navbar__dropdown-logo:hover {
  opacity: 1;
}

.navbar__dropdown-wrapper {
  position: relative;
}

.navbar__dropdown-hover-exit {
  position: absolute;
  z-index: 1001;
  width: 5vw;
  height: 100%;
  background: transparent;
  top: 0;
  left: -5vw;
  cursor: crosshair;
  pointer-events: auto;
}

body.nav-leaving .navbar__dropdown,
body:not(.page-loaded) .navbar__dropdown {
  opacity: 0 !important;
  visibility: hidden !important;
  transform: none !important;
  transition: none !important;
  pointer-events: none !important;
}

/* Luxury header: crisp, quiet, sticky */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: color-mix(in oklab, var(--paper), var(--ink) 3%);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(10px, 2vw, 14px) clamp(16px, 3vw, 28px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
}

.nav__logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 22px);
}

.nav__links a {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.2rem;
  border-bottom: 2px solid transparent;
  font-weight: 600;
  color: var(--nav-link-color);
  transition: color 0.25s ease;
}

.nav__links a:hover,
.nav__links a:focus-visible {
  color: var(--nav-link-color-active);
  border-bottom-color: color-mix(in oklab, var(--ink, #0a0e14), transparent 70%);
}

.nav__links a[aria-current=page],
.nav__links a.is-active {
  color: var(--nav-link-color-active);
  border-bottom-color: color-mix(in oklab, var(--ink, #0a0e14), transparent 70%);
}

.nav__cta {
  margin-left: clamp(8px, 1vw, 16px);
}

.nav__toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
}

@media (max-width: 900px) {
  .nav__toggle {
    display: inline-grid;
    place-items: center;
  }
  .nav__links {
    position: fixed;
    inset: 64px 12px auto 12px;
    display: grid;
    gap: 10px;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow-2);
    transform-origin: top right;
    transform: scale(0.98);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
  }
  .nav[aria-expanded=true] .nav__links,
  .nav.nav--open .nav__links {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
}
/* Accessible, disciplined tabs */
.tabs {
  --tab-brd: var(--line);
}

.tabs .tab-buttons {
  display: flex;
  gap: var(--space-2);
  align-items: flex-end;
  border-bottom: 1px solid var(--tab-brd);
  padding-bottom: var(--space-2);
  overflow-x: auto;
}

.tabs [role=tab] {
  background: transparent;
  border: 0;
  padding: 0.7rem 1rem;
  font-weight: 700;
  cursor: pointer;
  border-radius: 10px 10px 0 0;
  color: color-mix(in oklab, var(--ink), transparent 15%);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.tabs [role=tab][aria-selected=true] {
  color: var(--ink);
  background: color-mix(in oklab, var(--paper), var(--accent-2) 6%);
  box-shadow: inset 0 -2px 0 color-mix(in oklab, var(--accent-2), white 40%);
}

.tabs [role=tabpanel] {
  padding-top: var(--space-3);
  outline: none;
}

.tabs .tab-content-wrapper {
  padding: clamp(12px, 2vw, 16px) 0 0;
}

.video-stats {
  --stats-accent: #c5a33b; /* Acrisure Blue as default accent */
  --stat-accent: #346790;
  position: relative;
  overflow: hidden;
}
.video-stats .grid .card.stat {
  opacity: 0;
  transform: translateY(12px) scale(0.995);
}
.video-stats .grid .card.stat.visible {
  opacity: 1;
  transform: none;
  transition: opacity var(--motion-in) var(--motion-ease), transform var(--motion-in) var(--motion-ease);
}
.video-stats .grid .card.stat:nth-child(1) {
  transition-delay: 40ms;
}
.video-stats .grid .card.stat:nth-child(2) {
  transition-delay: 120ms;
}
.video-stats .grid .card.stat:nth-child(3) {
  transition-delay: 200ms;
}
.video-stats .grid .card.stat:nth-child(4) {
  transition-delay: 280ms;
}
.video-stats .grid .card.stat:nth-child(5) {
  transition-delay: 360ms;
}
.video-stats::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(120% 100% at 50% 10%, rgba(0, 0, 0, 0.28), transparent 55%), radial-gradient(120% 100% at 50% 100%, rgba(0, 0, 0, 0.35), transparent 58%);
}
.video-stats .card {
  position: relative;
  border: 1px solid color-mix(in oklab, var(--card-accent, var(--stat-accent, #3F75A0)), transparent 55%);
  background: rgba(255, 255, 255, 0.466);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.587), 0 0 22px color-mix(in oklab, var(--card-accent, var(--stat-accent, #3F75A0)), transparent 82%);
  color: #eef3f8;
  transition: transform var(--motion-short) var(--motion-ease), box-shadow var(--motion-short) var(--motion-ease), border-color var(--motion-short) var(--motion-ease);
  text-align: center;
  border-radius: 18px;
  backdrop-filter: blur(8px) saturate(1.3);
  overflow: hidden;
}
.video-stats .card:hover {
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.42), 0 0 30px color-mix(in oklab, var(--card-accent, var(--stat-accent, #3F75A0)), transparent 58%);
  transform: translateY(-0.4rem);
}
.video-stats .card:hover::after {
  opacity: 1;
  transform: translateX(120%);
}
.video-stats .card .stat-number {
  display: block;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--stat-accent, #5698cf), color-mix(in oklab, var(--stat-accent, #3F75A0), white 30%));
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 12px color-mix(in oklab, var(--stat-accent, #366891), transparent 70%);
  margin-block-end: var(--spacing-sm);
  letter-spacing: 0.02em;
  line-height: 1;
}
.video-stats .card .stat-label {
  font-size: clamp(0.95rem, 0.6vw + 0.85rem, 1.05rem);
  opacity: 0.9;
}

/* Trophy-stand polish for the stats overlay */
.video-stats .stats-overlay .card {
  /* replace any sepia/gold fill with neutral glass */
  background: rgba(22, 30, 39, 0.432) !important;
  backdrop-filter: blur(14px) saturate(130%) !important;
  -webkit-backdrop-filter: blur(14px) saturate(130%) !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  box-shadow: 0 22px 60px rgba(71, 70, 70, 0.592), 0 6px 18px rgba(0, 0, 0, 0.389);
  background-image: none !important; /* kill any inherited gradient wash */
}

/* Headline and copy contrast on glass */
.video-stats .section-head .section-title {
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}

.video-stats .section-head .section-subtitle {
  color: rgba(255, 255, 255, 0.88);
}

/* If any decorative overlay is injected via ::before, neutralize it */
.video-stats .stats-overlay .card::before {
  content: none !important;
}

/* Tokens and global helpers for luxury calm */
:root {
  --ink: #0b1221;
  --ink-2: #151c2c;
  --paper: #fbfaf6;
  --muted: #8a8f99;
  --line: color-mix(in oklab, var(--ink), white 88%);
  --accent: #0f90ba; /* pulled from stats card */
  --accent-2: #7abff8; /* program + feature cards */
  --success: #1f8a4c;
  --radius-1: 20px;
  --radius-2: 16px;
  --ease: cubic-bezier(.2,.6,.2,1);
  --focus: 0 0 0 3px color-mix(in oklab, var(--accent), white 65%);
}

html {
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

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

:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 6px;
}

.visually-hidden,
.visually-hidden:not(:focus):not(:active) {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Fluid type with Playfair for display, Inter for everything else */
body {
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1, h2, .h2, .hero-title-luxury {
  font-family: "Playfair Display", ui-serif, Georgia, serif;
  letter-spacing: 0em;
  line-height: 1.15;
}

.eyebrow, .section-kicker {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* Lists with checkmarks */
.list--check {
  list-style: none;
  padding: 0;
}

.list--check li {
  position: relative;
  padding-left: 1.6rem;
}

.list--check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25rem;
  width: 1rem;
  height: 1rem;
  background: currentColor;
  -webkit-mask: var(--mask-check);
  mask: var(--mask-check);
}

/* minimalist check mask via path */
:root {
  --mask-check: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>");
}

/* Grid */
.grid {
  display: grid;
  gap: var(--space-3);
}

.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* Proof bar */
.proofbar {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-3);
  align-items: center;
  margin-top: var(--space-4);
}

.proofbar__label {
  color: var(--muted);
  font-size: 0.95rem;
}

.proofbar__logos {
  display: grid;
  grid-auto-flow: column;
  gap: var(--space-);
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
}

.logo-img {
  height: 26px;
  filter: grayscale(1) contrast(1.1);
  opacity: 0.8;
}

.logo--light .logo-img {
  mix-blend-mode: multiply;
}

/* Details summary */
details {
  border-top: 1px solid var(--line);
  padding-block: var(--space-2);
}

summary {
  cursor: pointer;
  font-weight: 600;
}

/* Tabs base */
.tabs .tab-buttons {
  display: flex;
  gap: var(--space-2);
  border-bottom: 1px solid var(--line);
  padding-bottom: var(--space-2);
}

.tabs [role=tab] {
  background: transparent;
  border: 0;
  padding: 0.6rem 1rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 8px 8px 0 0;
}

.tabs [role=tab][aria-selected=true] {
  color: var(--ink);
  background: color-mix(in oklab, var(--paper), var(--accent) 6%);
}

.tabs [role=tabpanel] {
  padding-top: var(--space-3);
}

:root {
  --motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --motion-in: 1800ms;
  --motion-out: 700ms;
  --motion-stagger: 80ms;
}

/* ── fade-in utility ───────────────────────────── */
/* ── stagger utility ───────────────────────────── */
/* Apply sequential delays to children when a parent has .stagger.
   Uses only GPU-friendly properties (opacity/transform) and delays via calc().
   Note: You can override the cadence by setting --motion-stagger on the parent. */
.stagger {
  --motion-stagger: var(--motion-stagger, 80ms);
}

/* Generate per-index transition delays for the first 40 children */
.stagger > *:nth-child(1),
.stagger > .fade-in:nth-child(1),
.stagger > .card:nth-child(1) {
  transition-delay: calc(0 * var(--motion-stagger));
}

.stagger > *:nth-child(2),
.stagger > .fade-in:nth-child(2),
.stagger > .card:nth-child(2) {
  transition-delay: calc(1 * var(--motion-stagger));
}

.stagger > *:nth-child(3),
.stagger > .fade-in:nth-child(3),
.stagger > .card:nth-child(3) {
  transition-delay: calc(2 * var(--motion-stagger));
}

.stagger > *:nth-child(4),
.stagger > .fade-in:nth-child(4),
.stagger > .card:nth-child(4) {
  transition-delay: calc(3 * var(--motion-stagger));
}

.stagger > *:nth-child(5),
.stagger > .fade-in:nth-child(5),
.stagger > .card:nth-child(5) {
  transition-delay: calc(4 * var(--motion-stagger));
}

.stagger > *:nth-child(6),
.stagger > .fade-in:nth-child(6),
.stagger > .card:nth-child(6) {
  transition-delay: calc(5 * var(--motion-stagger));
}

.stagger > *:nth-child(7),
.stagger > .fade-in:nth-child(7),
.stagger > .card:nth-child(7) {
  transition-delay: calc(6 * var(--motion-stagger));
}

.stagger > *:nth-child(8),
.stagger > .fade-in:nth-child(8),
.stagger > .card:nth-child(8) {
  transition-delay: calc(7 * var(--motion-stagger));
}

.stagger > *:nth-child(9),
.stagger > .fade-in:nth-child(9),
.stagger > .card:nth-child(9) {
  transition-delay: calc(8 * var(--motion-stagger));
}

.stagger > *:nth-child(10),
.stagger > .fade-in:nth-child(10),
.stagger > .card:nth-child(10) {
  transition-delay: calc(9 * var(--motion-stagger));
}

.stagger > *:nth-child(11),
.stagger > .fade-in:nth-child(11),
.stagger > .card:nth-child(11) {
  transition-delay: calc(10 * var(--motion-stagger));
}

.stagger > *:nth-child(12),
.stagger > .fade-in:nth-child(12),
.stagger > .card:nth-child(12) {
  transition-delay: calc(11 * var(--motion-stagger));
}

.stagger > *:nth-child(13),
.stagger > .fade-in:nth-child(13),
.stagger > .card:nth-child(13) {
  transition-delay: calc(12 * var(--motion-stagger));
}

.stagger > *:nth-child(14),
.stagger > .fade-in:nth-child(14),
.stagger > .card:nth-child(14) {
  transition-delay: calc(13 * var(--motion-stagger));
}

.stagger > *:nth-child(15),
.stagger > .fade-in:nth-child(15),
.stagger > .card:nth-child(15) {
  transition-delay: calc(14 * var(--motion-stagger));
}

.stagger > *:nth-child(16),
.stagger > .fade-in:nth-child(16),
.stagger > .card:nth-child(16) {
  transition-delay: calc(15 * var(--motion-stagger));
}

.stagger > *:nth-child(17),
.stagger > .fade-in:nth-child(17),
.stagger > .card:nth-child(17) {
  transition-delay: calc(16 * var(--motion-stagger));
}

.stagger > *:nth-child(18),
.stagger > .fade-in:nth-child(18),
.stagger > .card:nth-child(18) {
  transition-delay: calc(17 * var(--motion-stagger));
}

.stagger > *:nth-child(19),
.stagger > .fade-in:nth-child(19),
.stagger > .card:nth-child(19) {
  transition-delay: calc(18 * var(--motion-stagger));
}

.stagger > *:nth-child(20),
.stagger > .fade-in:nth-child(20),
.stagger > .card:nth-child(20) {
  transition-delay: calc(19 * var(--motion-stagger));
}

.stagger > *:nth-child(21),
.stagger > .fade-in:nth-child(21),
.stagger > .card:nth-child(21) {
  transition-delay: calc(20 * var(--motion-stagger));
}

.stagger > *:nth-child(22),
.stagger > .fade-in:nth-child(22),
.stagger > .card:nth-child(22) {
  transition-delay: calc(21 * var(--motion-stagger));
}

.stagger > *:nth-child(23),
.stagger > .fade-in:nth-child(23),
.stagger > .card:nth-child(23) {
  transition-delay: calc(22 * var(--motion-stagger));
}

.stagger > *:nth-child(24),
.stagger > .fade-in:nth-child(24),
.stagger > .card:nth-child(24) {
  transition-delay: calc(23 * var(--motion-stagger));
}

.stagger > *:nth-child(25),
.stagger > .fade-in:nth-child(25),
.stagger > .card:nth-child(25) {
  transition-delay: calc(24 * var(--motion-stagger));
}

.stagger > *:nth-child(26),
.stagger > .fade-in:nth-child(26),
.stagger > .card:nth-child(26) {
  transition-delay: calc(25 * var(--motion-stagger));
}

.stagger > *:nth-child(27),
.stagger > .fade-in:nth-child(27),
.stagger > .card:nth-child(27) {
  transition-delay: calc(26 * var(--motion-stagger));
}

.stagger > *:nth-child(28),
.stagger > .fade-in:nth-child(28),
.stagger > .card:nth-child(28) {
  transition-delay: calc(27 * var(--motion-stagger));
}

.stagger > *:nth-child(29),
.stagger > .fade-in:nth-child(29),
.stagger > .card:nth-child(29) {
  transition-delay: calc(28 * var(--motion-stagger));
}

.stagger > *:nth-child(30),
.stagger > .fade-in:nth-child(30),
.stagger > .card:nth-child(30) {
  transition-delay: calc(29 * var(--motion-stagger));
}

.stagger > *:nth-child(31),
.stagger > .fade-in:nth-child(31),
.stagger > .card:nth-child(31) {
  transition-delay: calc(30 * var(--motion-stagger));
}

.stagger > *:nth-child(32),
.stagger > .fade-in:nth-child(32),
.stagger > .card:nth-child(32) {
  transition-delay: calc(31 * var(--motion-stagger));
}

.stagger > *:nth-child(33),
.stagger > .fade-in:nth-child(33),
.stagger > .card:nth-child(33) {
  transition-delay: calc(32 * var(--motion-stagger));
}

.stagger > *:nth-child(34),
.stagger > .fade-in:nth-child(34),
.stagger > .card:nth-child(34) {
  transition-delay: calc(33 * var(--motion-stagger));
}

.stagger > *:nth-child(35),
.stagger > .fade-in:nth-child(35),
.stagger > .card:nth-child(35) {
  transition-delay: calc(34 * var(--motion-stagger));
}

.stagger > *:nth-child(36),
.stagger > .fade-in:nth-child(36),
.stagger > .card:nth-child(36) {
  transition-delay: calc(35 * var(--motion-stagger));
}

.stagger > *:nth-child(37),
.stagger > .fade-in:nth-child(37),
.stagger > .card:nth-child(37) {
  transition-delay: calc(36 * var(--motion-stagger));
}

.stagger > *:nth-child(38),
.stagger > .fade-in:nth-child(38),
.stagger > .card:nth-child(38) {
  transition-delay: calc(37 * var(--motion-stagger));
}

.stagger > *:nth-child(39),
.stagger > .fade-in:nth-child(39),
.stagger > .card:nth-child(39) {
  transition-delay: calc(38 * var(--motion-stagger));
}

.stagger > *:nth-child(40),
.stagger > .fade-in:nth-child(40),
.stagger > .card:nth-child(40) {
  transition-delay: calc(39 * var(--motion-stagger));
}

.card.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* In case children manage their own delays (like .card), only add delay when visible */
.stagger > .card.visible {
  transition-delay: unset;
  transition-delay: calc((var(--card-order, 1) - 1) * var(--motion-stagger));
}

/* visibility states */
.fade-in {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--motion-in) var(--motion-ease), transform var(--motion-in) var(--motion-ease);
  will-change: opacity, transform;
}

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

.exiting {
  opacity: 0.25; /* subtle dim when scrolled out */
  transform: translateY(6px);
}

html[data-scroll-dir=down] .fade-in.exiting {
  transform: translateY(-10px);
}

html[data-scroll-dir=up] .fade-in.exiting {
  transform: translateY(10px);
}

/* ── mixins (optional reuse) ───────────────────── */
/* ── card scroll animation ───────────────────────────── */
.card.exiting {
  opacity: 0;
  transition: opacity var(--motion-out) var(--motion-ease), transform var(--motion-out) var(--motion-ease);
}

html[data-scroll-dir=down] .card.exiting {
  transform: scale(0.995) translateY(-10px);
}

html[data-scroll-dir=up] .card.exiting {
  transform: scale(0.995) translateY(10px);
}

h1::after,
h2::after,
h3::after,
h4::after,
h5::after,
h6::after {
  content: "";
  display: block;
  width: 0;
  height: 3px;
  margin-top: 0.25rem;
  background: transparent;
  transition: width 1.2s ease, box-shadow 1.2s ease;
}

h1:hover::after,
h2:hover::after,
h3:hover::after,
h4:hover::after,
h5:hover::after,
h6:hover::after {
  width: 60%;
  background: #3192d3;
  box-shadow: 0 0 8px #3192d3;
  transition: width 1.2s ease, box-shadow 1.2s ease;
}

section {
  border: none;
  background: transparent;
  box-shadow: none;
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

.section--lift .section__wrapper {
  padding: var(--spacing-xl) var(--spacing-lg);
  border-radius: 0.75rem;
  background: transparent;
  will-change: transform, box-shadow, backdrop-filter;
  transition: transform 0.6s ease, box-shadow 0.6s ease, border 0.6s ease, background 0.6s ease;
}

.section--hero .section__wrapper {
  border: none;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.section--lift:hover .section__wrapper {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 24px rgba(49, 146, 211, 0.2);
  transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
  backdrop-filter: blur(6px);
  will-change: transform, box-shadow, backdrop-filter;
}

section.fade-in {
  opacity: 0;
  transform: translateY(18px);
  will-change: opacity, transform;
  transition: opacity var(--motion-in) var(--motion-ease), transform var(--motion-in) var(--motion-ease);
}

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

section.fade-in.exiting {
  opacity: 0;
  transition: opacity var(--motion-out) var(--motion-ease), transform var(--motion-out) var(--motion-ease);
}

html[data-scroll-dir=down] section.fade-in.exiting {
  transform: translateY(-12px);
}

html[data-scroll-dir=up] section.fade-in.exiting {
  transform: translateY(12px);
}

/* ── section vertical rhythm ───────────────────────────── */
section + section {
  margin-block-start: var(--spacing-2xl);
}

/* Premium motion primitives */
@keyframes fade-up {
  0% {
    opacity: 0;
    transform: translateY(14px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes hero-kenburns-bg {
  0% {
    background-size: 120%;
  }
  100% {
    background-size: 140%;
  }
}
@keyframes hero-kenburns-img {
  0% {
    transform: scale(1.18);
  }
  100% {
    transform: scale(1.38);
  }
}
@keyframes headline-reveal {
  0% {
    opacity: 0;
    transform: translateY(32px);
    filter: blur(3px);
  }
  50% {
    opacity: 0.35;
  }
  85% {
    opacity: 0.85;
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes subhead-reveal {
  0% {
    opacity: 0;
    transform: translateY(24px);
    filter: blur(2px);
  }
  50% {
    opacity: 0.3;
  }
  85% {
    opacity: 0.85;
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Smooth text reveal: fade + micro-zoom (GPU friendly: opacity + transform only) */
@keyframes fade-up-zoom {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.985);
    filter: blur(2px);
  }
  60% {
    opacity: 0.85;
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
/* Background reveal: crossfade a pre-blurred/top image layer over the sharp layer */
@keyframes blur-fade-out {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
/* Load tokens, variables, functions, mixins from abstracts into global scope */
/* Load tokens, variables, functions, mixins from abstracts into global scope */
/* Load tokens, variables, functions, mixins from abstracts into global scope */
/* Load tokens, variables, functions, mixins from abstracts into global scope */
/* Load tokens, variables, functions, mixins from abstracts into global scope */
/* Load tokens, variables, functions, mixins from abstracts into global scope */
/* Load tokens, variables, functions, mixins from abstracts into global scope */
/* Load tokens, variables, functions, mixins from abstracts into global scope */
/* Load tokens, variables, functions, mixins from abstracts into global scope */
/* Load tokens, variables, functions, mixins from abstracts into global scope */
/* Load tokens, variables, functions, mixins from abstracts into global scope */
/* Load tokens, variables, functions, mixins from abstracts into global scope */
/* Load tokens, variables, functions, mixins from abstracts into global scope */
/* Load tokens, variables, functions, mixins from abstracts into global scope */
/* Load tokens, variables, functions, mixins from abstracts into global scope */

/*# sourceMappingURL=main.css.map */