/* ==========================================================================
   Polish layer: motion choreography, orientation, micro-interactions.
   Loaded after styles.css and screens.css. Everything here degrades to the
   plain layout without JavaScript and under prefers-reduced-motion.
   ========================================================================== */

/* ---------- Typography ---------- */
h1, h2, h3, .goal, blockquote, .f-mission { text-wrap: balance; }
p, li { text-wrap: pretty; }
body { font-kerning: normal; text-rendering: optimizeLegibility; }
.stat .n, .stat-list .n, .float-card .n, .rail .count { font-variant-numeric: tabular-nums; }

/* ---------- Page-to-page transitions ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .32s cubic-bezier(.4, 0, .2, 1) both; }
::view-transition-new(root) { animation: vt-in .65s cubic-bezier(.2, .7, .1, 1) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-14px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(22px); } }
.site-header { view-transition-name: site-header; }
.crisis { view-transition-name: crisis-bar; }

/* ---------- Header ---------- */
.site-header { transition: box-shadow .3s, transform .5s var(--ease); }
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; transform: scaleX(var(--p, 0)); transform-origin: left; background: linear-gradient(90deg, var(--gold-dk), var(--gold) 60%, var(--gold-lt)); pointer-events: none; }
@media (min-width: 901px) and (min-height: 600px) {
  /* a solid bar: the translucent one smeared the edge of the screen above it */
  .site-header { background: var(--paper); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (min-width: 981px) {
  .nav a:not(.btn) { position: relative; }
  .nav a:not(.btn)::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 5px; height: 1.5px; background: var(--gold-dk); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
  .nav a:not(.btn):hover, .nav a[aria-current="page"] { background: none; }
  .nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after, .nav a.is-here::after { transform: scaleX(1); transform-origin: left; }
}
@media (max-width: 980px) {
  .nav a { opacity: 0; transform: translateY(26px); transition: opacity .5s var(--ease), transform .7s var(--ease), color .25s; }
  body.menu-open .nav a { opacity: 1; transform: none; }
  body.menu-open .nav a:nth-child(1) { transition-delay: .06s; }
  body.menu-open .nav a:nth-child(2) { transition-delay: .12s; }
  body.menu-open .nav a:nth-child(3) { transition-delay: .18s; }
  body.menu-open .nav a:nth-child(4) { transition-delay: .24s; }
  body.menu-open .nav a:nth-child(5) { transition-delay: .32s; }
}
@media (max-width: 900px) {
  /* phones: the header steps aside while reading and returns on scroll up */
  .site-header { z-index: 200; }
  .hdr-hide:not(.menu-open) .site-header { transform: translateY(-110%); }
}

/* ---------- Buttons ---------- */
.btn:not(.xp .btn) { translate: var(--tx, 0) var(--ty, 0); }
.btn { transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease), translate .5s var(--ease), box-shadow .35s var(--ease); }
.btn:not(.xp .btn):active { transform: scale(.97); }
.btn .arr { overflow: hidden; }
.btn:hover .arr { transform: none; }
.btn:hover .arr svg { animation: arr-swap .6s var(--ease); }
@keyframes arr-swap { 0% { transform: none; } 45% { transform: translateX(170%); } 46% { transform: translateX(-170%); } 100% { transform: none; } }
.btn-gold:not(.xp .btn), .btn-ink { position: relative; overflow: hidden; isolation: isolate; }
.btn-gold:not(.xp .btn)::before, .btn-ink::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 32%, rgba(255, 255, 255, .42) 50%, transparent 68%); transform: translateX(-120%); transition: transform 1s var(--ease); }
.btn-ink::before { background: linear-gradient(105deg, transparent 32%, rgba(230, 207, 159, .22) 50%, transparent 68%); }
.btn-gold:hover::before, .btn-ink:hover::before { transform: translateX(120%); }
.btn-gold:hover { box-shadow: 0 14px 34px -14px rgba(201, 166, 107, .8); }

/* ---------- Headings: words rise out of a mask ---------- */
.wd { display: inline-block; clip-path: inset(-.3em -.7em -.24em -.7em); }
.wd > span { display: inline-block; transform: translateY(138%) rotate(5deg); transform-origin: left bottom; transition: transform 1.15s var(--ease); transition-delay: calc(var(--i, 0) * 42ms + 60ms); will-change: transform; }
.split-in .wd > span { transform: none; }

.quote-film blockquote .wd, .quote-film blockquote .wd > span { color: inherit; font-style: inherit; }

/* ---------- Films and photos settle into place ---------- */
.film > video, .film > img { transition: transform 2.6s var(--ease); }
html:not(.no-js) .screen.film:not(.hero):not(.seen) > video,
html:not(.no-js) .screen.film:not(.hero):not(.seen) > img,
html:not(.no-js) .screen:not(.seen) .film > video,
html:not(.no-js) .screen:not(.seen) .film > img { transform: scale(1.14); }

/* Bento tiles, partner panels and pillars open like a curtain, one after another */
html:not(.no-js) .s-bento .tile.reveal { opacity: 1; transform: none; clip-path: inset(100% 0 0 0 round var(--r)); transition: clip-path 1.3s var(--ease); }
html:not(.no-js) .s-bento .tile.reveal.in { clip-path: inset(0 0 0 0 round var(--r)); }
html:not(.no-js) .s-bento .tile.reveal:not(.in) > img, html:not(.no-js) .s-bento .tile.reveal:not(.in) > video { transform: scale(1.28); }
.s-bento .t-b.reveal { transition-delay: .12s; } .s-bento .t-d.reveal { transition-delay: .24s; } .s-bento .t-c.reveal { transition-delay: .36s; }
.t-c li { transition: opacity .7s var(--ease), transform .7s var(--ease); }
html:not(.no-js) .t-c.reveal:not(.in) li { opacity: 0; transform: translateY(14px); }
.t-c li:nth-child(1) { transition-delay: .7s; } .t-c li:nth-child(2) { transition-delay: .78s; } .t-c li:nth-child(3) { transition-delay: .86s; }
.t-c li:nth-child(4) { transition-delay: .94s; } .t-c li:nth-child(5) { transition-delay: 1.02s; } .t-c li:nth-child(6) { transition-delay: 1.1s; }

.pillar:nth-child(1), .xp:nth-child(1) { --n: 0; } .pillar:nth-child(2), .xp:nth-child(2) { --n: 1; }
.pillar:nth-child(3), .xp:nth-child(3) { --n: 2; } .pillar:nth-child(4), .xp:nth-child(4) { --n: 3; } .pillar:nth-child(5) { --n: 4; }
html:not(.no-js) .pillars.reveal, html:not(.no-js) .xpanels.reveal { opacity: 1; transform: none; }
html:not(.no-js) .pillars.reveal .pillar { clip-path: inset(100% 0 0 0 round 20px); transition: clip-path 1.15s var(--ease) calc(var(--n) * 90ms), background .4s, transform .5s var(--ease); }
html:not(.no-js) .pillars.reveal.in .pillar { clip-path: inset(0 0 0 0 round 20px); }
html:not(.no-js) .xpanels.reveal .xp { clip-path: inset(100% 0 0 0 round var(--r)); transition: clip-path 1.2s var(--ease) calc(var(--n) * 100ms), flex-grow .8s var(--ease); }
html:not(.no-js) .xpanels.reveal.in .xp { clip-path: inset(0 0 0 0 round var(--r)); }

/* Pilot photo wipes in; the enrolment card pops afterwards */
html:not(.no-js) .split-media.reveal { opacity: 1; transform: none; }
html:not(.no-js) .split-media.reveal > .film { clip-path: inset(0 100% 0 0 round var(--r)); transition: clip-path 1.4s var(--ease); }
html:not(.no-js) .split-media.reveal.in > .film { clip-path: inset(0 0 0 0 round var(--r)); }
html:not(.no-js) .split-media.reveal .float-card { opacity: 0; scale: .86; transition: opacity .6s var(--ease) .8s, scale .9s var(--ease) .8s; }
html:not(.no-js) .split-media.reveal.in .float-card { opacity: 1; scale: 1; }
.ticks li { transition: opacity .7s var(--ease), transform .7s var(--ease); }
html:not(.no-js) .reveal:not(.in) .ticks li { opacity: 0; transform: translateX(-12px); }
.ticks li:nth-child(1) { transition-delay: .35s; } .ticks li:nth-child(2) { transition-delay: .42s; } .ticks li:nth-child(3) { transition-delay: .49s; }
.ticks li:nth-child(4) { transition-delay: .56s; } .ticks li:nth-child(5) { transition-delay: .63s; } .ticks li:nth-child(6) { transition-delay: .7s; }
.roles li { transition: opacity .6s var(--ease), transform .6s var(--ease), background .3s, color .3s; }
html:not(.no-js) .roles.reveal { opacity: 1; transform: none; }
html:not(.no-js) .roles.reveal:not(.in) li { opacity: 0; transform: translateY(10px) scale(.96); }
.roles li:nth-child(1) { transition-delay: .05s; } .roles li:nth-child(2) { transition-delay: .1s; } .roles li:nth-child(3) { transition-delay: .15s; } .roles li:nth-child(4) { transition-delay: .2s; }
.roles li:nth-child(5) { transition-delay: .25s; } .roles li:nth-child(6) { transition-delay: .3s; } .roles li:nth-child(7) { transition-delay: .35s; } .roles li:nth-child(8) { transition-delay: .4s; }

/* Cursor light on cards */
.spot { position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .6s var(--ease); background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 50%), rgba(230, 207, 159, .2), rgba(230, 207, 159, 0) 62%); }
:hover > .spot { opacity: 1; }
.step, .big-card { position: relative; isolation: isolate; overflow: hidden; }
.big-card:not(.navy) .spot { background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 50%), rgba(201, 166, 107, .28), rgba(201, 166, 107, 0) 62%); }

/* ---------- Hero ---------- */
@keyframes up-in { from { opacity: 0; transform: translateY(26px); } }
@keyframes hero-settle { from { transform: scale(1.12); } }
@keyframes film-open { from { clip-path: inset(3.5% 3% 3.5% 3% round 48px); } to { clip-path: inset(0 0 0 0 round var(--r)); } }
@keyframes card-in { from { opacity: 0; transform: translateY(18px) scale(.96); } }
.hero, .page-hero, .form-film { animation: film-open 1.5s var(--ease) both; }
.page-hero .lede, .page-hero .crumbs, .form-film .lede, .form-film .crumbs, .form-film .glass-box, .form-film .crisis-line { animation: up-in 1.1s var(--ease) .55s both; }
.s-form .card { animation: up-in 1.2s var(--ease) .25s both; }
.hero > video { animation: hero-settle 2.8s var(--ease) both; }
.hero .badge { animation: up-in 1s var(--ease) .25s both; }
.hero .lede { animation: up-in 1.1s var(--ease) .6s both; }
.hero .actions { animation: up-in 1.1s var(--ease) .74s both; }
.hero .glass-card { animation: card-in 1.2s var(--ease) .95s both, floaty 7s ease-in-out 2.2s infinite; }
html:not(.no-js) .glass-card .bub { opacity: 0; transform: translateY(10px) scale(.94); transform-origin: left bottom; transition: opacity .5s var(--ease), transform .65s var(--ease); }
html:not(.no-js) .glass-card .bub.b { transform-origin: right bottom; }
html:not(.no-js) .glass-card .bub.show { opacity: 1; transform: none; }
.glass-card .bub.dots { display: inline-flex; gap: 4px; padding: 13px 14px; position: absolute; }
.glass-card .bub.dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-lt); animation: blink 1.2s infinite; }
.glass-card .bub.dots i:nth-child(2) { animation-delay: .2s; } .glass-card .bub.dots i:nth-child(3) { animation-delay: .4s; }
.glass-card { position: relative; }

.scroll-cue { display: none; }
@media (min-width: 901px) and (min-height: 600px) {
  .scroll-cue { position: absolute; right: clamp(20px, 3vw, 44px); bottom: clamp(20px, 3vw, 44px); z-index: 2; display: flex; align-items: center; gap: 14px; color: var(--inv); text-decoration: none; font: 600 .7rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; animation: up-in 1s var(--ease) 1.3s both; }
  .scroll-cue i { width: 46px; height: 46px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .1); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); position: relative; transition: background .35s; }
  .scroll-cue i::before { content: ""; position: absolute; left: 50%; top: 13px; width: 1.5px; height: 20px; margin-left: -.75px; background: currentColor; transform-origin: top; animation: cue 2.2s var(--ease) infinite; }
  .scroll-cue:hover i { background: var(--gold); color: var(--ink); }
}
@keyframes cue { 0% { transform: scaleY(0); } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- How it works ---------- */
@media (min-width: 901px) { .phone { zoom: var(--pz, 1); } }
@keyframes phone-float { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(-2.2deg) translateY(-12px); } }
.phone { animation: phone-float 9s ease-in-out infinite; }
.chips span { transition: background .35s var(--ease), color .35s var(--ease), border-color .35s, transform .35s var(--ease); }
.chips span.picked { background: var(--navy); color: var(--inv); border-color: var(--navy); transform: scale(.95); }
.step:hover { background: rgba(255, 255, 255, .09); }
.step::after { content: ""; position: absolute; top: 18px; right: 18px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); opacity: 0; scale: .4; transition: opacity .4s, scale .5s var(--ease); }
.step.active::after { opacity: 1; scale: 1; animation: live 1.8s ease-out infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(201, 166, 107, .6); } 100% { box-shadow: 0 0 0 12px rgba(201, 166, 107, 0); } }
.step .step-num { transition: color .5s, transform .6s var(--ease); transform-origin: left center; }
.step.active .step-num { color: var(--gold); transform: scale(1.12); }
@media (min-width: 901px) and (min-height: 600px) { #how h2 { font-size: clamp(2rem, min(4.6vw, 6.6vh), 4.6rem); } }

/* ---------- Stats: two headline numbers, three supporting ---------- */
.stats2 { display: grid; grid-template-columns: 1fr 1.3fr .95fr; position: relative; }
.stats2::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1.5px; background: var(--navy); transform-origin: left; transition: transform 1.5s var(--ease); }
html:not(.no-js) .stats2.reveal { opacity: 1; transform: none; }
html:not(.no-js) .stats2.reveal:not(.in)::before { transform: scaleX(0); }
.stats2 .big { padding: clamp(18px, 3vh, 34px) 24px 0 0; transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
.stats2 .big + .big { padding-left: clamp(20px, 2.4vw, 40px); border-left: 1px solid var(--line); transition-delay: .12s; }
html:not(.no-js) .stats2.reveal:not(.in) .big { opacity: 0; transform: translateY(40px); }
.stats2 .big .n { font: 700 clamp(4.6rem, 15vw, 13rem)/.82 var(--display); letter-spacing: -.065em; }
.stats2 .big .l { margin-top: 18px; font-size: 1.05rem; color: var(--text-2); }
.stat-list { list-style: none; margin: 0; padding: 0 0 0 clamp(20px, 2.4vw, 40px); border-left: 1px solid var(--line); display: flex; flex-direction: column; justify-content: flex-end; }
.stat-list li { display: flex; align-items: baseline; gap: 18px; padding: clamp(10px, 2vh, 18px) 0; border-bottom: 1px solid var(--line); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.stat-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.stat-list li:nth-child(1) { transition-delay: .3s; } .stat-list li:nth-child(2) { transition-delay: .4s; } .stat-list li:nth-child(3) { transition-delay: .5s; }
html:not(.no-js) .stats2.reveal:not(.in) .stat-list li { opacity: 0; transform: translateX(24px); }
.stat-list .n { font: 700 clamp(2rem, 3.4vw, 3.2rem)/1 var(--display); letter-spacing: -.05em; min-width: 1.05em; }
.stat-list .l { color: var(--text-2); font-size: 1rem; }
@media (min-width: 901px) and (min-height: 600px) {
  .s-stats .stats2 .big .n { font-size: clamp(4.6rem, min(14vw, 26vh), 14rem); }
  .s-stats .head { margin-bottom: clamp(20px, 5.5vh, 64px); }
}
@media (max-width: 900px) {
  .stats2 { grid-template-columns: 1fr 1fr; }
  .stats2 .big, .stats2 .big + .big { padding: 22px 12px 22px 0; border-bottom: 0; }
  .stats2 .big + .big { padding-left: 18px; }
  .stats2 .big .n { font-size: clamp(4.4rem, 23vw, 7rem); }
  .stat-list { grid-column: 1 / -1; padding: 0; border-left: 0; border-top: 1px solid var(--line); }
  .stat-list li { padding: 14px 0; }
}

/* ---------- Footer ---------- */
@property --wx { syntax: "<percentage>"; inherits: false; initial-value: 50%; }
.wordmark { background: radial-gradient(30vw circle at var(--wx) 62%, rgba(230, 207, 159, .85), rgba(230, 207, 159, 0) 72%); -webkit-background-clip: text; background-clip: text; animation: wm-sweep 11s ease-in-out infinite alternate; }
.wordmark.live { animation: none; }
@keyframes wm-sweep { from { --wx: -10%; } to { --wx: 110%; } }
.site-footer a:not(.btn) { background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1px; transition: color .2s, background-size .45s var(--ease); padding-bottom: 2px; }
.site-footer a:not(.btn):hover { background-size: 100% 1px; }
@media (min-width: 901px) and (min-height: 600px) {
  .site-footer.screen > .wrap { flex: 1; min-height: 0; display: flex; flex-direction: column; width: 100%; }
  .site-footer .f-grid { flex: 1; align-content: center; }
}

/* ---------- Section rail (desktop) ---------- */
.rail { display: none; }
@media (min-width: 901px) and (min-height: 600px) {
  .rail { position: fixed; right: calc(var(--inset) + 10px); top: calc(var(--hdr) + (100svh - var(--hdr) - var(--inset)) / 2); transform: translateY(-50%); z-index: 150; display: flex; flex-direction: column; align-items: flex-end; color: var(--navy); transition: color .5s var(--ease), opacity .5s; }
  .rail.on-dark { color: var(--inv); }
  .rail .count { font: italic 400 1.05rem/1 var(--serif); margin: 0 2px 12px 0; letter-spacing: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
  .rail .count b { font-weight: 400; }
  .rail .count span { opacity: .6; font-size: .74em; padding-top: 4px; border-top: 1px solid currentColor; }
  .rail button { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; justify-content: flex-end; gap: 10px; height: 20px; padding: 0 4px; position: relative; }
  .rail button i { width: 6px; height: 6px; border-radius: 6px; background: currentColor; opacity: .32; transition: height .5s var(--ease), opacity .4s, background .4s; }
  .rail button:hover i { opacity: .8; }
  .rail button[aria-current] i { height: 20px; opacity: 1; background: var(--gold); }
  .rail button span { position: absolute; right: 22px; top: 50%; translate: 8px -50%; white-space: nowrap; padding: 7px 12px; border-radius: 999px; background: var(--ink); color: var(--inv); font: 600 .66rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; opacity: 0; pointer-events: none; transition: opacity .3s, translate .4s var(--ease); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(255, 255, 255, .12); }
  .rail button:hover span, .rail button:focus-visible span { opacity: 1; translate: 0 -50%; }
  .rail button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
  .rail .motion-toggle { margin-top: 14px; height: 26px; width: 26px; padding: 0; justify-content: center; border-radius: 50%; box-shadow: inset 0 0 0 1px currentColor; opacity: .7; transition: opacity .3s; margin-right: -6px; }
  .rail .motion-toggle:hover { opacity: 1; }
}
.motion-toggle svg { width: 10px; height: 10px; fill: currentColor; }
.motion-toggle .i-play { display: none; }
.motion-off .motion-toggle .i-play { display: block; }
.motion-off .motion-toggle .i-pause { display: none; }

/* Paused motion (the visitor's own choice, remembered) */
.motion-off .marquee-track, .motion-off .grain::after, .motion-off .glass-card, .motion-off .float-card, .motion-off .pulse::after,
.motion-off .phone, .motion-off .wordmark, .motion-off .scroll-cue i::before, .motion-off .step.active::after, .motion-off .always i { animation-play-state: paused !important; }

/* ---------- Phone dock: crisis line and main action, one tap away ---------- */
.dock { display: none; }
@media (max-width: 900px) {
  .dock { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); z-index: 180; display: flex; align-items: center; gap: 6px; padding: 7px; border-radius: 999px; background: rgba(9, 19, 33, .88); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 255, 255, .13); transform: translateY(160%); transition: transform .7s var(--ease); }
  .dock.show, .no-js .dock { transform: none; }
  body.menu-open .dock { transform: translateY(160%); }
  .dock-crisis { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 8px 0 14px; color: var(--inv); text-decoration: none; font: 600 .86rem/1.2 var(--sans); white-space: nowrap; }
  .dock-crisis small { display: block; font-weight: 500; font-size: .66rem; letter-spacing: .04em; color: var(--inv-2); }
  .dock .btn { flex: none; }
  .dock .motion-toggle { all: unset; box-sizing: border-box; flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--inv); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); cursor: pointer; }
  .dock .motion-toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
  body:has(.wizard) .dock .btn { display: none; }
}
@media (max-width: 380px) { .dock-crisis small { display: none; } }

/* ---------- Phones: tidier hero, swipeable card rows ---------- */
@media (max-width: 900px) {
  .hero.hero-c .hero-top { position: static; padding: 18px 20px 0; }
  .hero.hero-c .badge { padding: 0; background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; font: 600 .68rem/1 var(--sans); letter-spacing: .15em; text-transform: uppercase; color: var(--gold-lt); }
  .hero.hero-c .hero-bottom { padding-top: 12px; }

  .t-b, .t-d { min-height: 340px; }

  .xpanels, .pillars { display: flex; flex-direction: row; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; gap: 10px; scrollbar-width: none; -webkit-overflow-scrolling: touch; height: auto; }
  .xpanels::-webkit-scrollbar, .pillars::-webkit-scrollbar { display: none; }
  .xpanels { margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); scroll-padding: 0 var(--gutter); }
  .xp, .xp.is-open { flex: 0 0 84%; min-height: 420px; scroll-snap-align: start; }
  .pillars { margin-left: -20px; margin-right: -20px; padding: 0 20px; scroll-padding: 0 20px; }
  .pillars .pillar.has-img, .pillars .pillar.has-img:last-child { flex: 0 0 66%; min-height: 250px; scroll-snap-align: start; grid-column: auto; }
  .swipe-hint { display: flex; align-items: center; gap: 10px; margin: 14px 0 0; font: 600 .66rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); }
  .dark .swipe-hint { color: var(--inv-2); }
  .swipe-hint i { flex: 1; height: 2px; border-radius: 2px; background: var(--line); position: relative; overflow: hidden; }
  .dark .swipe-hint i { background: var(--line-inv); }
  .swipe-hint i::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(var(--sp, .25)); transition: transform .2s linear; }
  .vision .swipe-hint { margin-bottom: 26px; }
  .vision .pillars { margin-bottom: 0; }
}
@media (min-width: 901px) { .swipe-hint { display: none; } }

/* ---------- Forms ---------- */
input.invalid, select.invalid, textarea.invalid { border-color: #b3261e; box-shadow: 0 0 0 4px rgba(179, 38, 30, .12); }
.consent .field-err { margin-top: 4px; }
.field-err { display: block; margin-top: 7px; font-size: .84rem; font-weight: 500; color: #b3261e; animation: up-in .4s var(--ease); }
.f-form .field-err { flex-basis: 100%; color: #ffb4a8; margin: 0; }
.shake { animation: shake .45s var(--ease); }
@keyframes shake { 20% { transform: translateX(-7px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(2px); } }
.form-success.show { display: flex; align-items: center; gap: 14px; animation: up-in .7s var(--ease); }
.form-success.show::before { content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23e6cf9f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8.4l2.6 2.6L12 5.4'/%3E%3C/svg%3E") center / 18px no-repeat; animation: pop .6s var(--ease) .15s both; }
.f-form .form-success.show::before { background-color: var(--gold); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23091321' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8.4l2.6 2.6L12 5.4'/%3E%3C/svg%3E"); }
@keyframes pop { from { transform: scale(0); } 60% { transform: scale(1.15); } }
.choice span { transition: all .3s var(--ease); }
.choice input { z-index: 1; }
.wiz-bar i { background: linear-gradient(90deg, var(--gold-dk), var(--gold)); }

/* ---------- Reduced motion: no choreography, everything simply present ---------- */
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  .page-hero, .form-film, .page-hero .lede, .page-hero .crumbs, .form-film .lede, .form-film .crumbs, .form-film .glass-box, .form-film .crisis-line, .s-form .card, .hero, .hero > video, .hero .badge, .hero .lede, .hero .actions, .hero .glass-card, .scroll-cue, .scroll-cue i::before, .phone, .wordmark, .step.active::after, .btn:hover .arr svg { animation: none !important; }
  .wd > span { transform: none !important; transition: none; }
  .glass-card .bub { opacity: 1 !important; transform: none !important; }
  .film > video, .film > img { transform: none !important; transition: none; }
  .tile.reveal, .pillar, .xp, .split-media > .film { clip-path: none !important; }
  .t-c li, .ticks li, .roles li, .stats2 .big, .stat-list li, .float-card { opacity: 1 !important; transform: none !important; scale: 1 !important; transition: none; }
  .stats2::before { transform: none !important; }
  .btn { translate: none; }
  .site-header { transition: none; }
}

/* ---------- Tuning after review ---------- */
@media (max-width: 900px) {
  .dock .btn { min-height: 44px; padding: 0 20px; }
  .dock .btn .arr { display: none; }
  .dock .motion-toggle { width: 38px; height: 38px; }
  .dock-crisis { padding: 0 6px 0 10px; gap: 10px; }
}
@media (min-width: 901px) and (min-height: 600px) {
  #how .steps { gap: clamp(10px, 1.8vh, 16px); margin-top: clamp(22px, 4vh, 44px); }
  #how .step, #how .step.active { padding: clamp(16px, 3vh, 30px) clamp(18px, 1.8vw, 28px); }
}
