/* W.E. M.O.V.E., Intentionally — Premium design system v3
   Fraunces (display) + Inter (UI). Animated mesh gradients, bento grids,
   floating credential chips, scroll-reveal micro-interactions. On-brand
   navy + magenta + teal. Refinement pass: tighter type rhythm, layered
   elevation, premium stat rail, accessible focus states, calmer tablet
   navigation. All AEO structure preserved (CSS-only; no markup touched). */

:root {
  --navy: #0b2f5b;
  --navy-700: #14406f;
  --navy-900: #061b36;
  --pink: #e94a82;
  --pink-600: #d6386f;
  --pink-200: #fbd6e3;
  --teal: #01bbd6;
  --teal-50: #e7f9fc;
  --gold: #f4b250;
  --ink: #14202e;
  --muted: #5d6b7d;
  --line: #e9edf4;
  --line-2: #dbe2f1;
  --bg: #ffffff;
  --cream: #fbf8f4;
  --bg-soft: #f5f8fd;
  --radius: 22px;
  --radius-sm: 13px;
  --shadow-sm: 0 2px 6px rgba(11,47,91,.05), 0 8px 24px rgba(11,47,91,.06);
  --shadow: 0 4px 12px rgba(11,47,91,.07), 0 22px 54px rgba(11,47,91,.14);
  --shadow-pink: 0 10px 26px rgba(233,74,130,.32);
  --ring: 0 0 0 3px #fff, 0 0 0 6px rgba(1,187,214,.55);
  --maxw: 1160px;
  --section: clamp(64px, 8vw, 104px);
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Fraunces", "Georgia", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); color: var(--ink); background: var(--bg);
  line-height: 1.65; font-size: 17px; overflow-x: hidden;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pink-600); text-decoration: none; }
a:hover { text-decoration: underline; }
::selection { background: var(--pink-200); color: var(--navy-900); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 200; }
.skip-link:focus { left: 0; }

/* Accessible focus — visible, on-brand, consistent across interactive elements */
a:focus-visible, .btn:focus-visible, button:focus-visible,
summary:focus-visible, .nav-cta:focus-visible {
  outline: none; box-shadow: var(--ring); border-radius: 8px;
}
.nav-links a:focus-visible { box-shadow: var(--ring); }

/* ---------- Announcement bar ---------- */
.announce {
  background: linear-gradient(90deg, var(--navy-900), var(--navy-700));
  color: #eaf2ff; text-align: center; font-size: 14px; font-weight: 500;
  padding: 10px 16px; position: relative; z-index: 60;
  letter-spacing: .1px;
}
.announce a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.announce a:hover { color: var(--teal); }
.announce b { color: var(--teal); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.80); backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 18px; padding: 13px 0; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; color: var(--navy); font-size: 15.5px; letter-spacing: -.2px; }
.brand:hover { text-decoration: none; }
.brand img { width: 40px; height: 40px; transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.brand:hover img { transform: rotate(-8deg) scale(1.08); }
.brand span { line-height: 1.05; }
.nav-links { display: flex; gap: 2px; margin-left: auto; align-items: center; }
.nav-links a { color: var(--navy); font-weight: 600; font-size: 14.5px; padding: 9px 12px; border-radius: 10px; transition: background .15s, color .15s; white-space: nowrap; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--teal-50); color: var(--navy-900); text-decoration: none; }
.nav-cta { background: var(--pink); color: #fff !important; padding: 10px 18px !important; border-radius: 999px !important; font-weight: 700; box-shadow: var(--shadow-pink); white-space: nowrap; transition: background .18s, transform .14s, box-shadow .18s; }
.nav-cta:hover { background: var(--pink-600); text-decoration: none; transform: translateY(-1px); box-shadow: 0 14px 30px rgba(233,74,130,.42); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 9px; font-weight: 700;
  font-size: 16px; padding: 14px 26px; border-radius: 999px; cursor: pointer; border: 2px solid transparent;
  transition: transform .14s ease, box-shadow .18s, background .18s, border-color .18s; overflow: hidden;
  line-height: 1.1;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: linear-gradient(120deg, var(--pink), #f0709b); color: #fff; box-shadow: var(--shadow-pink); }
.btn-primary:hover { box-shadow: 0 18px 40px rgba(233,74,130,.45); }
.btn-primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent, rgba(255,255,255,.35), transparent); transform: translateX(-130%); transition: transform .6s; }
.btn-primary:hover::after { transform: translateX(130%); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-700); }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--teal); color: var(--navy-900); }
.btn-glass { background: rgba(255,255,255,.10); color: #fff; border-color: rgba(255,255,255,.34); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(255,255,255,.20); border-color: rgba(255,255,255,.55); }

/* ---------- Hero (animated mesh) ---------- */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--navy-900); }
.hero::before {
  content: ""; position: absolute; inset: -30% -10% -10% -10%; z-index: 0;
  background:
    radial-gradient(42% 50% at 18% 22%, rgba(1,187,214,.55), transparent 60%),
    radial-gradient(40% 46% at 82% 18%, rgba(233,74,130,.50), transparent 60%),
    radial-gradient(46% 50% at 65% 92%, rgba(20,64,111,.85), transparent 62%),
    radial-gradient(40% 44% at 30% 88%, rgba(244,178,80,.30), transparent 60%);
  filter: blur(20px); animation: drift 18s ease-in-out infinite alternate;
}
/* subtle grain/vignette to add depth without heavy assets */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 50% -10%, transparent 55%, rgba(6,27,54,.55) 100%);
}
@keyframes drift {
  0% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(2.5%, -2%, 0) scale(1.06); }
  100% { transform: translate3d(-2%, 2.5%, 0) scale(1.04); }
}
.hero .wrap { position: relative; z-index: 1; padding: clamp(56px, 8vw, 88px) 24px clamp(64px, 9vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(36px, 5vw, 56px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; text-transform: uppercase; letter-spacing: 2.2px; font-size: 12.5px; font-weight: 800; color: var(--teal); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--teal); border-radius: 2px; }
.hero h1 { font-family: var(--display); font-optical-sizing: auto; font-weight: 600; font-size: clamp(40px, 6vw, 68px); line-height: 1.02; letter-spacing: -1.4px; margin: 0 0 20px; text-wrap: balance; }
.hero h1 em { font-style: italic; color: var(--teal); }
.hero p.lead { font-size: clamp(17px, 2.1vw, 20px); color: #cfdcf0; max-width: 50ch; margin: 0 0 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.meaning { margin-top: 30px; display: flex; gap: 8px; flex-wrap: wrap; }
.meaning .chip { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); padding: 7px 13px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #eaf1fb; transition: background .18s, border-color .18s, transform .18s; }
.meaning .chip:hover { background: rgba(255,255,255,.14); border-color: rgba(1,187,214,.5); transform: translateY(-1px); }
.meaning .chip b { color: var(--teal); }

/* hero photo with floating credential cards */
.hero-photo { position: relative; }
.hero-photo .frame { position: relative; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); border: 6px solid rgba(255,255,255,.10); }
.hero-photo .frame::after { content: ""; position: absolute; inset: 0; border-radius: 20px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); pointer-events: none; }
.hero-photo .frame img { width: 100%; aspect-ratio: 4/4.3; object-fit: cover; }
.float-card {
  position: absolute; background: rgba(255,255,255,.97); color: var(--ink); border-radius: 15px;
  padding: 13px 16px; box-shadow: var(--shadow); font-size: 13.5px; font-weight: 600; display: flex; gap: 10px; align-items: center;
  border: 1px solid rgba(255,255,255,.6);
  animation: floaty 5s ease-in-out infinite;
}
.float-card .dot { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-size: 19px; background: var(--teal-50); }
.float-card.one { bottom: 24%; left: -30px; }
.float-card.two { bottom: 4%; right: -26px; animation-delay: 1.4s; }
.float-card b { color: var(--navy); display: block; }
.float-card small { color: var(--muted); font-weight: 600; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- Sections / type ---------- */
section { scroll-margin-top: 84px; }
.band { padding: var(--section) 0; position: relative; }
.band.soft { background: var(--bg-soft); }
.band.cream { background: var(--cream); }
.band.navy { background: var(--navy); color: #fff; }
.band.navy h2, .band.navy h3 { color: #fff; }
.section-head { max-width: 62ch; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { display: inline-block; text-transform: uppercase; letter-spacing: 2.2px; font-size: 12.5px; font-weight: 800; color: var(--pink); margin-bottom: 6px; }
h2 { font-family: var(--display); font-weight: 600; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.1; letter-spacing: -.8px; margin: 4px 0 16px; color: var(--navy); text-wrap: balance; }
h3 { font-size: 20.5px; margin: 0 0 8px; color: var(--navy); font-weight: 700; letter-spacing: -.2px; line-height: 1.3; }
.muted { color: var(--muted); }
.lede { font-size: clamp(17px, 2vw, 19px); color: var(--muted); max-width: 65ch; }

/* ---------- Bento / cards ---------- */
.grid { display: grid; gap: 22px; }
.grid.cols-2 { grid-template-columns: repeat(2,1fr); }
.grid.cols-3 { grid-template-columns: repeat(3,1fr); }
.grid.cols-4 { grid-template-columns: repeat(4,1fr); }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.bento .card.span2 { grid-column: span 2; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow-sm); transition: transform .22s cubic-bezier(.2,.8,.2,1), box-shadow .22s, border-color .22s; position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line-2); }
.card .ic { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; background: linear-gradient(135deg, var(--teal-50), #fff); color: var(--navy); font-size: 25px; margin-bottom: 16px; box-shadow: inset 0 0 0 1px var(--line); transition: transform .22s ease; }
.card:hover .ic { transform: scale(1.06) rotate(-3deg); }
.card.feature { padding-top: 32px; }
.card.feature::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--pink), var(--teal)); }
.pill { display: inline-block; background: var(--teal-50); color: var(--navy); font-weight: 700; font-size: 12.5px; padding: 6px 13px; border-radius: 999px; letter-spacing: .2px; }
.pill.pink { background: var(--pink-200); color: var(--pink-600); }

/* steps */
.steps { counter-reset: step; display: grid; gap: 18px; }
.step { display: flex; gap: 18px; align-items: flex-start; }
.step .num { counter-increment: step; flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--navy), var(--navy-700)); color: #fff; font-weight: 800; display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.step .num::before { content: counter(step); }

/* checks */
ul.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
ul.checks li { position: relative; padding-left: 34px; line-height: 1.55; }
ul.checks li::before { content: "✓"; position: absolute; left: 0; top: 2px; color: #fff; font-weight: 900; background: linear-gradient(135deg, var(--teal), #3ad0e6); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; box-shadow: 0 2px 6px rgba(1,187,214,.35); }

/* stats band — premium rail with hairline dividers */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; }
.stat { text-align: center; padding: 6px 22px; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 12%; height: 76%; width: 1px; background: linear-gradient(180deg, transparent, var(--line-2), transparent); }
.stat .n { font-family: var(--display); font-weight: 600; font-size: clamp(32px,4vw,48px); color: var(--navy); line-height: 1; letter-spacing: -1px; }
.band.navy .stat .n { color: #fff; }
.stat .n .u { color: var(--pink); }
.stat p { margin: 10px 0 0; font-size: 14.5px; color: var(--muted); font-weight: 600; line-height: 1.45; }
.band.navy .stat p { color: #b9c9e0; }

/* FAQ */
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 2px 22px; margin-bottom: 12px; background: #fff; transition: border-color .18s, box-shadow .18s, background .18s; }
.faq details:hover { border-color: var(--line-2); }
.faq details[open] { border-color: var(--pink-200); box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); padding: 17px 0; list-style: none; font-size: 17px; display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--pink); font-weight: 800; font-size: 24px; line-height: 1; flex: 0 0 auto; transition: transform .2s ease; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* split */
.split { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(36px, 5vw, 56px); align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
.media-frame { position: relative; }
.media-frame::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: var(--radius); background: linear-gradient(135deg, var(--teal-50), var(--pink-200)); z-index: 0; }
.media-frame img { position: relative; z-index: 1; }

/* quote */
blockquote.quote { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 26px 28px; box-shadow: var(--shadow-sm); transition: transform .22s, box-shadow .22s, border-color .22s; }
blockquote.quote:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
blockquote.quote::before { content: "\201C"; font-family: var(--display); font-size: 60px; line-height: .4; color: var(--pink-200); display: block; }
blockquote.quote p { margin: 6px 0 12px; font-size: 17px; }
blockquote.quote footer { color: var(--muted); font-weight: 700; font-size: 14.5px; }

/* page hero (interior) */
.page-hero { position: relative; background: var(--cream); border-bottom: 1px solid var(--line); overflow: hidden; }
.page-hero::after { content: ""; position: absolute; top: -120px; right: -80px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(1,187,214,.18), transparent 70%); }
.page-hero::before { content: ""; position: absolute; bottom: -140px; left: -100px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(233,74,130,.12), transparent 70%); }
.page-hero .wrap { position: relative; z-index: 1; padding: clamp(40px, 5vw, 60px) 24px clamp(46px, 6vw, 64px); }
.page-hero h1 { font-family: var(--display); font-weight: 600; font-size: clamp(32px,4.6vw,52px); color: var(--navy); margin: 10px 0 14px; letter-spacing: -1px; max-width: 22ch; line-height: 1.05; text-wrap: balance; }
.page-hero p { font-size: clamp(17px, 2vw, 19px); color: var(--muted); max-width: 62ch; margin: 0; }
.crumbs { font-size: 13.5px; color: var(--muted); padding: 16px 0 0; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--pink-600); }

/* CTA */
.cta-band { text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 120% at 50% 0%, rgba(1,187,214,.30), transparent 60%); }
.cta-band .wrap { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #cfe0f4; max-width: 54ch; margin: 0 auto 28px; font-size: clamp(16px, 2vw, 18px); }

/* footer */
.site-footer { background: var(--navy-900); color: #bccbe1; padding: clamp(48px, 6vw, 68px) 0 28px; }
.site-footer h4 { color: #fff; font-size: 13px; margin: 0 0 14px; letter-spacing: 1.2px; text-transform: uppercase; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px 32px; }
.site-footer a { color: #bccbe1; transition: color .15s; }
.site-footer a:hover { color: #fff; text-underline-offset: 3px; }
.foot-brand { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.foot-brand img { width: 44px; height: 44px; }
.foot-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; font-size: 14.5px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 13.5px; color: #94a8c4; }
.socials { display: flex; gap: 16px; }

/* reveal micro-interactions */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-d="1"] { transition-delay: .08s; }
[data-reveal][data-d="2"] { transition-delay: .16s; }
[data-reveal][data-d="3"] { transition-delay: .24s; }

.center { text-align: center; }

/* responsive */
@media (max-width: 1000px) {
  /* Collapse to a clean hamburger earlier so the tablet nav never wraps */
  .nav-links { display: none; }
  .nav-links.show { display: flex; position: absolute; top: 64px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 12px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); z-index: 55; }
  .nav-links.show a { font-size: 16px; padding: 12px 14px; }
  .nav-toggle { display: inline-grid; }
  .nav-cta { margin-left: auto; }
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-photo { max-width: 420px; margin: 0 auto; }
  .float-card.one { left: 0; } .float-card.two { right: 0; }
  .bento { grid-template-columns: repeat(2,1fr); } .bento .card.span2 { grid-column: span 2; }
  .grid.cols-3, .grid.cols-4 { grid-template-columns: repeat(2,1fr); }
  .split { grid-template-columns: 1fr; } .media-frame::before { display: none; }
  .stats { grid-template-columns: repeat(2,1fr); gap: 28px 0; }
  .stat:nth-child(3)::before { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .nav-cta { padding: 9px 15px !important; font-size: 14px; }
  .bento, .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: 26px 0; }
  .stat::before, .stat + .stat::before { display: none !important; }
  .stat + .stat { border-top: 1px solid var(--line); padding-top: 26px; }
  .band.navy .stat + .stat { border-top-color: rgba(255,255,255,.12); }
  .bento .card.span2 { grid-column: span 1; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; }
  .foot-bottom { flex-direction: column; }
  .float-card { display: none; }
  .card { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero::before, .float-card { animation: none; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .btn, .card, .nav-cta, blockquote.quote { transition: none; }
}
.nav-toggle { display: none; margin-left: 4px; background: var(--navy); color: #fff; border: 0; width: 44px; height: 40px; border-radius: 10px; font-size: 18px; cursor: pointer; transition: background .15s; }
.nav-toggle:hover { background: var(--navy-700); }

/* ---------- Scroll-scrubbed video background (homepage) ----------
   Fixed, full-viewport, decorative (aria-hidden). Content sections sit
   above it (z-index:1); opaque bands keep copy crisp, while the hero and
   the closing CTA are transparent "windows" onto the moving video. The
   frame shown is driven by scroll position via a small script. */
.scroll-video {
  position: fixed; inset: 0; z-index: 0; overflow: hidden;
  background: var(--navy-900); pointer-events: none;
}
.scroll-video[hidden] { display: none; }
.scroll-video__media {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity .9s ease;
}
.scroll-video.ready .scroll-video__media { opacity: 1; }
/* readability veil — darkens the video where copy sits over it */
.scroll-video::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(6,27,54,.80) 0%, rgba(6,27,54,.46) 55%, rgba(6,27,54,.58) 100%);
}

/* lift page content above the fixed video layer */
.has-scrollvid main, .has-scrollvid .site-footer { position: relative; z-index: 1; }

/* hero + closing CTA become transparent windows onto the scrubbing video */
.has-scrollvid .hero { background: transparent; }
.has-scrollvid .hero::before { display: none; }        /* mute the CSS mesh; video is the backdrop */
.has-scrollvid .cta-band { background: rgba(6,27,54,.52); }

/* Fallbacks: on phones, with reduced-motion, or without JS (the script sets
   [hidden]) restore the original animated-mesh hero and solid CTA. */
@media (max-width: 620px) {
  .scroll-video { display: none; }
  .has-scrollvid .hero { background: var(--navy-900); }
  .has-scrollvid .hero::before { display: block; }
  .has-scrollvid .cta-band { background: var(--navy); }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-video { display: none; }
  .has-scrollvid .hero { background: var(--navy-900); }
  .has-scrollvid .hero::before { display: block; }
  .has-scrollvid .cta-band { background: var(--navy); }
}

/* ---------- W.E. M.O.V.E. acronym walkthrough ----------
   Desktop: a sticky, scroll-scrubbed montage whose captions advance through
   the six letters. Everyone else (mobile, reduced-motion, no-JS) gets the
   illustrated card list below, which is also what crawlers read. Overlay
   words are live HTML — never baked into the video pixels. */
.movestory { padding: var(--section) 0 clamp(48px,6vw,72px); background: var(--bg); position: relative; }
.movestory__intro { text-align: center; max-width: 760px; }
.movestory__intro .lede { margin: 0 auto; }

/* By default show the readable cards; JS swaps to the scroll story on desktop. */
.movestory__scroll { display: none; }
.movestory.is-live .movestory__scroll { display: block; position: relative; height: calc(100vh * 6); margin-top: clamp(28px,4vw,44px); }
.movestory.is-live .movestory__cards { display: none; }

.movestory__stage {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  background: var(--navy-900); display: flex; align-items: flex-end;
}
.movestory__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s ease; }
.movestory__stage.ready .movestory__video { opacity: 1; }
.movestory__scrim { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(6,27,54,.30) 0%, rgba(6,27,54,0) 26%, rgba(6,27,54,.30) 60%, rgba(6,27,54,.86) 100%); }

.movestory__hud { position: relative; z-index: 2; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px clamp(40px,6vh,72px); }
.movestory__hud .ms-step { position: absolute; left: 28px; right: 28px; bottom: clamp(56px,8vh,96px); display: flex; align-items: center; gap: clamp(16px,2.4vw,26px); opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
.movestory__hud .ms-step.is-active { opacity: 1; transform: none; }
.ms-letter {
  flex: 0 0 auto; display: grid; place-items: center;
  width: clamp(64px,9vw,104px); height: clamp(64px,9vw,104px); border-radius: 22px;
  font-family: var(--display); font-weight: 600; color: #fff;
  font-size: clamp(34px,5vw,58px); line-height: 1;
  background: linear-gradient(135deg, var(--pink), var(--teal));
  box-shadow: 0 16px 40px rgba(233,74,130,.36);
}
.ms-word { display: block; font-family: var(--display); font-weight: 600; color: #fff; font-size: clamp(30px,5vw,60px); line-height: 1.02; letter-spacing: -1px; }
.ms-line { margin: 8px 0 0; color: #e6eefb; font-size: clamp(15px,2vw,20px); max-width: 40ch; }
.movestory__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255,255,255,.14); }
.movestory__bar > i { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: left center; background: linear-gradient(90deg, var(--pink), var(--teal)); transition: transform .1s linear; }

/* Readable / fallback card list (also the mobile + no-JS experience) */
.movestory__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: 22px; list-style: none; padding-left: 0; padding-right: 0; margin: clamp(28px,4vw,44px) auto 0; counter-reset: msc; }
.movestory__cards { padding: 0 24px; }
.ms-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .22s cubic-bezier(.2,.8,.2,1), box-shadow .22s, border-color .22s; }
.ms-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line-2); }
.ms-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: var(--navy-900); }
.ms-card__body { padding: 22px 24px 26px; position: relative; }
.ms-card__body .ms-letter { position: absolute; top: -30px; right: 20px; width: 56px; height: 56px; border-radius: 15px; font-size: 30px; box-shadow: 0 10px 26px rgba(233,74,130,.34); }
.ms-card__body h3 { margin: 0 0 6px; }
.ms-card__body p { margin: 0; color: var(--muted); font-size: 15.5px; }

.movestory__end { text-align: center; max-width: 760px; margin-top: clamp(40px,6vw,64px); }
.movestory__tag { font-family: var(--display); font-weight: 600; color: var(--navy); font-size: clamp(20px,3vw,30px); line-height: 1.18; letter-spacing: -.5px; margin: 0 0 22px; text-wrap: balance; }

@media (max-width: 760px) {
  /* Guarantee the readable cards on phones even if is-live were set */
  .movestory .movestory__scroll { display: none !important; }
  .movestory.is-live .movestory__cards { display: grid !important; }
}
@media (prefers-reduced-motion: reduce) {
  .movestory .movestory__scroll { display: none !important; }
  .movestory.is-live .movestory__cards { display: grid !important; }
  .movestory__video { transition: none; }
}
