/* Recruiting Intelligence landing page.
   One dark world, lit by the season wall: pink, violet, blue, green. Barlow only.
   Motion idea: things switch on like the tubes, and panels move on springs. */
:root {
  color-scheme: dark;
  --ink: #04030C; --ink-rgb: 4,3,12;
  --panel: #0E0C1D;
  --text: #EEEDF6;
  --muted: #9D9AB8;
  --line: rgba(255,255,255,0.12);
  --glass: 190,196,225;
  --pink: 244,114,208; --violet: 167,139,250; --blue: 56,189,248; --mint: 52,211,153;
  --c: var(--violet);
  --spectrum: linear-gradient(90deg, rgb(var(--pink)), rgb(var(--violet)) 36%, rgb(var(--blue)) 68%, rgb(var(--mint)));
  --font: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --pad: clamp(20px, 4.5vw, 72px);
  --spring: cubic-bezier(.3,1.35,.5,1);
  --ease: cubic-bezier(.2,.7,.2,1);
}
@supports (transition-timing-function: linear(0, 1)) {
  :root { --spring: linear(0, 0.009, 0.035 2.1%, 0.141 4.4%, 0.723 12.9%, 0.938 16.7%, 1.017, 1.077, 1.121, 1.149 24.3%, 1.159, 1.163, 1.161, 1.154 29.9%, 1.129 32.8%, 1.051 39.6%, 1.017 43.1%, 0.991, 0.977 51%, 0.974 53.8%, 0.975 57.1%, 0.997 69.8%, 1.003 76.9%, 1.004 83.8%, 1); }
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--text); font-family: var(--font); font-weight: 500; font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, p, ol, ul { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 3px; }
[hidden] { display: none !important; }
.ri-wrap { width: min(1320px, 100% - var(--pad) * 2); margin-inline: auto; }
.hot { color: rgb(var(--pink)); }

/* ---------- shared pieces ---------- */
.ri-kicker { font-weight: 700; font-size: 11.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 12px; }
.ri-kicker::before { content: ''; width: 34px; height: 2px; border-radius: 2px; background: var(--spectrum); box-shadow: 0 0 12px rgba(var(--violet), .8); }
.ri-h2 { font-weight: 800; text-transform: uppercase; letter-spacing: 0.015em; font-size: clamp(32px, 4.4vw, 68px); line-height: 0.98; margin-top: 18px; }
.ri-lede { color: var(--muted); font-size: clamp(17px, 1.35vw, 21px); line-height: 1.5; max-width: 46ch; }
.ri-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--line); transition: border-color .3s, gap .5s var(--spring); }
.ri-link:hover { border-color: #fff; gap: 16px; }

.ri-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 28px; background: #fff; color: var(--ink); border: 0; border-radius: 3px; cursor: pointer;
  font-family: inherit; font-weight: 700; font-size: 12.5px; letter-spacing: 0.11em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  transition: transform .6s var(--spring), box-shadow .35s var(--ease); }
.ri-btn::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--spectrum); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); border-radius: 0 0 3px 3px; }
.ri-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 44px rgba(var(--violet), .45), 0 0 0 1px rgba(255,255,255,.2); }
.ri-btn:hover::after { transform: scaleX(1); }
.ri-btn:active { transform: scale(.97); transition-duration: .12s; }
.ri-btn[disabled] { opacity: .6; pointer-events: none; }
.ri-btn--sm { height: 40px; padding: 0 18px; font-size: 11.5px; }
.ri-btn--lg { height: 62px; padding: 0 38px; font-size: 13.5px; }
.ri-btn--full { width: 100%; }

/* a ring that closes, then a check that draws itself: the mark for "verified" everywhere on the page */
.ri-ring { width: 34px; height: 34px; flex: none; overflow: visible; }
.ri-ring circle, .ri-ring path { fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.ri-ring .tr { stroke: rgba(255,255,255,.14); }
.ri-ring .pr { stroke: rgb(var(--mint)); stroke-dasharray: 100; stroke-dashoffset: 100; transform: rotate(-90deg); transform-origin: 50% 50%; transition: stroke-dashoffset .8s var(--ease); filter: drop-shadow(0 0 5px rgba(var(--mint), .9)); }
.ri-ring .ck { stroke: rgb(var(--mint)); stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset .45s var(--ease) .6s; }
.is-done .ri-ring .pr, .is-done .ri-ring .ck, .in > .ri-ring .pr, .in > .ri-ring .ck { stroke-dashoffset: 0; }

/* things arrive soft and settle sharp */
.js [data-reveal] { opacity: 0; transform: translateY(28px); filter: blur(8px); transition: opacity .8s var(--ease), transform 1.1s var(--spring), filter .8s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; filter: none; }

/* lettering that switches on like a tube */
@keyframes ri-ignite { 0% { color: rgba(var(--glass), .14); text-shadow: none; } 8% { color: #fff; } 16% { color: rgba(var(--glass), .2); } 30% { color: #fff; } 40% { color: rgba(var(--glass), .35); } 55%, 100% { color: var(--on, #fff); text-shadow: 0 0 34px rgba(var(--c), .75), 0 0 90px rgba(var(--c), .35); } }
@keyframes ri-tube-on { 0% { opacity: .18; } 8% { opacity: 1; } 15% { opacity: .2; } 28% { opacity: .9; } 38% { opacity: .3; } 52%, 100% { opacity: 1; } }

/* ---------- nav ---------- */
.ri-nav { position: fixed; z-index: 40; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px var(--pad); transition: background-color .4s, backdrop-filter .4s, border-color .4s; border-bottom: 1px solid transparent; }
.ri-nav.is-stuck { background: rgba(var(--ink-rgb), .62); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); border-bottom-color: var(--line); }
.ri-mark { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.ri-mark img { height: 30px; width: auto; }
.ri-mark span { font-weight: 700; font-size: 9px; line-height: 1.25; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,.8); padding-left: 12px; border-left: 1px solid rgba(255,255,255,.35); }

/* ---------- hero ---------- */
.ri-hero { position: relative; height: min(56.25vw, 100svh); min-height: 460px; overflow: hidden; background: var(--ink) url(../assets/ri/hero-poster.jpg) center / cover no-repeat; }
.js .ri-hero:not(.still):not(.slow) { background-image: none; }   /* .slow: the film is taking too long, so the still and the headline show now and the film joins when it arrives */
.ri-hero::after { content: ''; position: absolute; inset: auto 0 0 0; height: 22%; background: linear-gradient(rgba(var(--ink-rgb), 0), var(--ink)); pointer-events: none; }
.ri-hero.still::before, .ri-hero.slow::before, html:not(.js) .ri-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(var(--ink-rgb), .96), rgba(var(--ink-rgb), .55) 45%, rgba(var(--ink-rgb), 0) 70%); }
#ri-hero-cv { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .7s var(--ease); }
.ri-hero.live #ri-hero-cv { opacity: 1; }
.ri-hero-src { position: absolute; left: 0; top: 0; width: 4px; height: 4px; opacity: 0; pointer-events: none; }
.ri-hero-copy { position: absolute; z-index: 2; left: var(--pad); bottom: 12%; max-width: 31vw; }
.ri-tag { display: none; }
.ri-h1 { font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em; font-size: clamp(30px, 3.4vw, 66px); line-height: 0.98; --c: var(--violet); }
.ri-h1 .ln { display: block; }
.ri-h1 .hot { --on: rgb(var(--pink)); --c: var(--pink); }
.ri-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: clamp(20px, 2.2vw, 36px); }
.ri-trust { font-weight: 700; font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,.62); }
/* the hero headline flickers on by opacity alone, with its glow already in place: the browser can do that without redrawing the text every frame */
@keyframes ri-ignite-o { 0% { opacity: .14; } 8% { opacity: 1; } 16% { opacity: .2; } 30% { opacity: 1; } 40% { opacity: .35; } 55%, 100% { opacity: 1; } }
.js .ri-hero .ri-h1 .ln { opacity: 0; color: var(--on, #fff); text-shadow: 0 0 34px rgba(var(--c), .75), 0 0 90px rgba(var(--c), .35); will-change: opacity; }
.js .ri-hero .ri-hero-actions { opacity: 0; transform: translateY(14px); }
.js .ri-hero.rest .ri-h1 .ln { animation: ri-ignite-o .9s linear both; }
.js .ri-hero.rest .ri-h1 .ln:nth-child(2) { animation-delay: .22s; }
.js .ri-hero.rest .ri-h1 .ln:nth-child(3) { animation-delay: .44s; }
.js .ri-hero.rest .ri-hero-actions { opacity: 1; transform: none; transition: opacity .7s var(--ease) .8s, transform 1s var(--spring) .8s; }
/* the hero's small controls sit in one row, bottom right: sound, then skip (while the trailer runs) or replay (after) */
.ri-ctl { position: absolute; z-index: 3; right: var(--pad); bottom: 6%; display: flex; align-items: center; gap: 10px; }
html:not(.js) .ri-ctl, .ri-hero.still .ri-ctl { display: none; }
@keyframes ri-fade { from { opacity: 0; } to { opacity: 1; } }
.ri-skip { background: rgba(var(--ink-rgb), .5); color: rgba(255,255,255,.8); border: 1px solid var(--line); border-radius: 3px; padding: 9px 14px; cursor: pointer; font-family: inherit; font-weight: 700; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: opacity .4s, border-color .3s; }
.ri-skip:hover { border-color: #fff; }
.ri-hero.rest #ri-skip { display: none; }
/* replay takes the skip button's place once the trailer has run (desktop only: a phone has no trailer) */
.ri-skip { display: inline-flex; align-items: center; gap: 8px; }
.ri-replay { display: none; }
.ri-skip svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ri-hero.rest .ri-replay { display: inline-flex; animation: ri-fade .6s var(--ease) 1.4s both; }
/* sound: off until asked for. The slider opens beside the button once it is on. */
.ri-sound { display: flex; align-items: center; }
.ri-sound-btn svg { width: 15px; height: 12px; }
.ri-sound-btn .wv { display: none; } .ri-sound.on .ri-sound-btn .wv { display: inline; } .ri-sound.on .ri-sound-btn .mx { display: none; }
.ri-sound.on .ri-sound-btn { color: #fff; border-color: rgba(255,255,255,.55); }
.ri-vol { -webkit-appearance: none; appearance: none; width: 0; height: 18px; margin: 0; padding: 0; background: transparent; opacity: 0; cursor: pointer; transition: width .5s var(--spring), opacity .3s, margin .5s var(--spring); }
.ri-sound.on .ri-vol { width: 84px; opacity: 1; margin-left: 10px; }
.ri-vol::-webkit-slider-runnable-track { height: 2px; border-radius: 2px; background: rgba(255,255,255,.35); }
.ri-vol::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; margin-top: -5px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px rgba(var(--violet), .9); }
.ri-vol::-moz-range-track { height: 2px; border-radius: 2px; background: rgba(255,255,255,.35); }
.ri-vol::-moz-range-thumb { width: 12px; height: 12px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 10px rgba(var(--violet), .9); }
.ri-vol:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 3px; }

/* ---------- the read ---------- */
.ri-statement { margin-top: 30px; font-weight: 600; font-size: clamp(27px, 3.7vw, 60px); line-height: 1.1; letter-spacing: -0.012em; max-width: 21em; }
.ri-statement em { font-style: normal; }
.js .ri-statement .w { color: rgba(var(--glass), .16); transition: color .5s var(--ease), text-shadow .5s var(--ease); }
.js .ri-statement .w.on { color: #fff; }
.js .ri-statement em .w.on { color: rgb(var(--pink)); text-shadow: 0 0 40px rgba(var(--pink), .55); }
.ri-read-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; margin-top: clamp(40px, 5vw, 72px); padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); }

/* ---------- the payoff: a picture that stays while the story scrolls ---------- */
.ri-stage-frame { position: relative; height: min(76vh, 760px); aspect-ratio: 10 / 15; max-width: 100%; margin-inline: auto; border-radius: 18px; overflow: hidden; background: #000; border: 1px solid rgba(var(--c), .45);
  box-shadow: 0 0 0 1px rgba(var(--ink-rgb), 1), 0 40px 120px rgba(var(--c), .28); perspective: 1100px; transition: border-color .8s, box-shadow .8s; }
.ri-stage-frame video { position: absolute; inset: -4% 0; width: 100%; height: 108%; object-fit: cover; object-position: 50% 62%; opacity: 0; transition: opacity .7s var(--ease); transform: translateY(calc((var(--par, 0) - .5) * -5%)); }
.ri-stage-frame video.on { opacity: 1; }
.ri-stage-frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(var(--ink-rgb), .35), rgba(var(--ink-rgb), 0) 30%, rgba(var(--ink-rgb), 0) 70%, rgba(var(--ink-rgb), .6)); pointer-events: none; }
.ri-stage-note { position: absolute; z-index: 3; right: 14px; bottom: 12px; font-weight: 700; font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,.5); }
/* the rig: stat pane and bracket turn about one axis, so they move as one object */
@keyframes ri-sway { from { transform: rotateY(-17deg); } to { transform: rotateY(-7deg); } }
@keyframes ri-swing { 0% { transform: rotateY(78deg); opacity: 0; } 30% { opacity: 1; } 100% { transform: rotateY(-17deg); opacity: 1; } }
.ri-rig { position: absolute; inset: 0; z-index: 2; transform-style: preserve-3d; transform-origin: 50% 34%; transform: rotateY(-17deg); animation: ri-sway 5.5s ease-in-out infinite alternate; }
.ri-rig.swap { animation: ri-swing 1.1s var(--spring) both; }
.ri-pane { position: absolute; left: 50%; top: 7%; transform: translateX(-50%); transform-style: preserve-3d; }
.ri-pane-back { position: absolute; inset: 0; transform: translate3d(9px, 9px, -34px); border-radius: 9px; background: rgba(var(--c), .2); border: 1px solid rgba(var(--c), .75); transition: background-color .8s, border-color .8s; }
.ri-pane-glass { position: relative; display: grid; grid-template-columns: auto auto; align-items: center; column-gap: 22px; padding: 13px 16px 14px; min-width: 196px; border-radius: 9px; border: 1px solid rgba(var(--c), .85);
  background: linear-gradient(rgba(var(--ink-rgb), .5), rgba(var(--ink-rgb), .84)); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 18px 50px rgba(0,0,0,.5); transition: border-color .8s; }
.ri-pane-label { grid-column: 1; white-space: nowrap; font-weight: 700; font-size: 10px; letter-spacing: 0.17em; text-transform: uppercase; color: rgb(var(--c)); transition: color .8s; }
.ri-pane-val { grid-column: 1; font-weight: 800; font-size: 36px; line-height: 1.05; font-variant-numeric: tabular-nums; }
.ri-pane-val s { text-decoration: none; display: inline-block; width: .2em; text-align: center; }
.ri-pane-val s.dp { width: .34em; }
.ri-pane-val i { font-style: normal; font-weight: 600; font-size: 14px; color: rgba(255,255,255,.75); margin-left: 5px; }
.ri-pane-glass .ri-ring { grid-column: 2; grid-row: 1 / span 2; width: 38px; height: 38px; }
.ri-chip { position: absolute; left: 12px; top: calc(100% + 10px); transform: translateZ(46px); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; padding: 7px 13px 7px 10px; border-radius: 99px; background: rgba(20,17,40,.94); border: 1px solid rgba(255,255,255,.26); font-weight: 700; font-size: 11.5px; opacity: 0; transition: opacity .5s var(--ease), transform .9s var(--spring); }
.ri-chip i { width: 7px; height: 7px; border-radius: 50%; background: rgb(var(--c)); box-shadow: 0 0 0 0 rgba(var(--c), .7); animation: ri-ping 1.6s ease-out infinite; }
@keyframes ri-ping { to { box-shadow: 0 0 0 9px rgba(var(--c), 0); } }
.ri-rig.is-done .ri-chip { opacity: 1; }
.ri-bracket { position: absolute; left: 27%; right: 27%; top: 31%; bottom: 5%; }
.ri-bracket i { position: absolute; width: 22px; height: 22px; border: 0 solid rgb(var(--c)); transition: border-color .8s; }
.ri-bracket i:nth-child(1) { left: 0; top: 0; border-left-width: 2px; border-top-width: 2px; }
.ri-bracket i:nth-child(2) { right: 0; top: 0; border-right-width: 2px; border-top-width: 2px; }
.ri-bracket i:nth-child(3) { right: 0; bottom: 0; border-right-width: 2px; border-bottom-width: 2px; }
.ri-bracket i:nth-child(4) { left: 0; bottom: 0; border-left-width: 2px; border-bottom-width: 2px; }
.ri-step-n { display: flex; align-items: center; gap: 14px; font-weight: 800; font-size: 14px; letter-spacing: 0.14em; color: rgb(var(--c)); }
.ri-step-n::after { content: ''; height: 3px; width: 0; border-radius: 3px; background: rgb(var(--c)); box-shadow: 0 0 16px rgba(var(--c), .9), 0 0 50px rgba(var(--c), .5); transition: width 1s var(--ease); }
.ri-step.on .ri-step-n::after { width: min(180px, 34%); animation: ri-tube-on .8s linear both; }
.ri-step h3 { font-weight: 800; text-transform: uppercase; letter-spacing: 0.015em; font-size: clamp(26px, 3vw, 46px); line-height: 1; margin-top: 18px; max-width: 14em; }
.ri-step p { color: var(--muted); font-size: clamp(16.5px, 1.3vw, 20px); line-height: 1.5; margin-top: 14px; max-width: 42ch; }

/* layout. Without scripting (or with reduced motion) the three points simply stack beside the picture.
   With scripting the section pins for three screens of scroll and everything in it follows the scroll position. */
.ri-story { padding: clamp(40px, 6vw, 90px) 0; }
.ri-story-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
.ri-stage { position: sticky; top: 12vh; }
.ri-story-head .ri-h2 { font-size: clamp(22px, 2.2vw, 36px); margin-top: 12px; }
.ri-steps { list-style: none; padding: 0; margin-top: clamp(28px, 4vh, 56px); }
.ri-step { margin-bottom: 64px; }
.ri-rail { display: none; }
.ri-story.pin { padding: 0; }
.ri-story.pin .ri-story-pin { height: 355vh; }
.ri-story.pin .ri-story-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: clip; }
.ri-story.pin .ri-story-grid { align-items: center; }
.ri-story.pin .ri-stage { position: static; }
.ri-story.pin .ri-story-side { display: flex; flex-direction: column; height: min(76vh, 760px); }
.ri-story.pin .ri-steps { position: relative; flex: 1; min-height: 0; margin: clamp(16px, 2.5vh, 36px) 0; }
.ri-story.pin .ri-step { position: absolute; inset: 0; margin: 0; display: flex; flex-direction: column; justify-content: center; opacity: var(--o, 0); transform: translate3d(0, var(--y, 0px), 0); will-change: opacity, transform; }
.ri-story.pin .ri-step:not(.on) { pointer-events: none; }
.ri-story.pin .ri-rail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ri-rail span { font-weight: 700; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(var(--glass), .5); transition: color .4s; }
.ri-rail span.on { color: rgb(var(--c)); }
.ri-rail i { display: block; height: 3px; border-radius: 3px; background: rgba(var(--glass), .16); margin-bottom: 10px; overflow: hidden; }
.ri-rail b { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(var(--p, 0)); border-radius: 3px; background: rgb(var(--c)); box-shadow: 0 0 14px rgba(var(--c), .9); }

/* a small moving picture for each point, built from the same parts as the film: tubes, rings, chips */
.ri-viz { margin-top: clamp(18px, 3vh, 34px); max-width: 460px; }
.vz-row { display: grid; grid-template-columns: 1fr auto 34px; align-items: center; gap: 18px; padding: 12px 0; border-top: 1px solid var(--line); }
.vz-row span { font-weight: 700; font-size: 10.5px; letter-spacing: 0.17em; text-transform: uppercase; color: var(--muted); }
.vz-row b { position: relative; font-weight: 800; font-size: clamp(26px, 2.4vw, 36px); line-height: 1; font-variant-numeric: tabular-nums; }
.vz-row s { text-decoration: none; display: inline-block; width: .2em; text-align: center; } .vz-row s.dp { width: .34em; }
.vz-old b { color: rgba(255,255,255,.42); }
.vz-old b::after { content: ''; position: absolute; left: -6px; right: -6px; top: 50%; height: 2px; border-radius: 2px; background: rgb(var(--pink)); box-shadow: 0 0 10px rgba(var(--pink), .9); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.vz-new { opacity: 0; transform: translateY(12px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.vz-new span { color: rgb(var(--c)); }
.ri-step.on .vz-old b::after { transform: scaleX(1); transition: transform .6s var(--ease) .45s; }
.ri-step.on .vz-new { opacity: 1; transform: none; transition: opacity .6s var(--ease) .9s, transform 1s var(--spring) .9s; }
.ri-step.on .vz-new .ri-ring .pr { stroke-dashoffset: 0; transition-delay: 1.3s; }
.ri-step.on .vz-new .ri-ring .ck { stroke-dashoffset: 0; transition-delay: 1.9s; }
.vz-item { display: grid; grid-template-columns: 9px 1fr auto 40px; align-items: center; gap: 14px; padding: 11px 0; border-top: 1px solid var(--line); opacity: 0; transform: translateX(22px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.vz-item > i { width: 9px; height: 9px; border-radius: 50%; background: rgba(var(--glass), .4); transition: background-color .4s, box-shadow .4s; }
.vz-item span { font-weight: 600; font-size: 16px; }
.vz-item em { font-style: normal; font-weight: 500; font-size: 13px; color: var(--muted); margin-left: 12px; }
.vz-item small { font-weight: 700; font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(var(--glass), .5); transition: color .4s; }
.vz-item u { position: relative; width: 40px; height: 22px; border-radius: 99px; background: rgba(255,255,255,.14); text-decoration: none; transition: background-color .4s, box-shadow .4s; }
.vz-item u::after { content: ''; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .7s var(--spring); }
.ri-step.on .vz-item { opacity: 1; transform: none; transition: opacity .5s var(--ease), transform 1s var(--spring); }
.ri-step.on .vz-item:nth-child(1) { transition-delay: .3s; } .ri-step.on .vz-item:nth-child(2) { transition-delay: .42s; } .ri-step.on .vz-item:nth-child(3) { transition-delay: .54s; }
.ri-step.on .vz-item.is-flag u { background: rgb(var(--c)); box-shadow: 0 0 18px rgba(var(--c), .8); transition-delay: 1.1s; }
.ri-step.on .vz-item.is-flag u::after { transform: translateX(18px); transition-delay: 1.1s; }
.ri-step.on .vz-item.is-flag > i { background: rgb(var(--c)); box-shadow: 0 0 10px rgba(var(--c), .9); transition-delay: 1.1s; }
.ri-step.on .vz-item.is-flag small { color: rgb(var(--c)); transition-delay: 1.1s; }
.ri-step.on .vz-item.is-flag:nth-child(2) u, .ri-step.on .vz-item.is-flag:nth-child(2) u::after, .ri-step.on .vz-item.is-flag:nth-child(2) > i, .ri-step.on .vz-item.is-flag:nth-child(2) small { transition-delay: 1.45s; }
.vz-cap { font-weight: 700; font-size: 10.5px; letter-spacing: 0.17em; text-transform: uppercase; color: var(--muted); }
.vz-bars { display: flex; align-items: flex-end; gap: 10px; height: clamp(70px, 12vh, 110px); margin-top: 12px; border-bottom: 1px solid var(--line); }
.vz-bars i { flex: 1; height: 0; border-radius: 6px 6px 0 0; background: rgba(var(--c), .38); transition: height .3s var(--ease); }
.vz-bars i:last-child { background: rgb(var(--c)); box-shadow: 0 0 20px rgba(var(--c), .8), 0 0 70px rgba(var(--c), .35); }
.ri-step.on .vz-bars i { height: var(--h); transition: height 1.1s var(--spring); }
.ri-step.on .vz-bars i:nth-child(1) { transition-delay: .3s; } .ri-step.on .vz-bars i:nth-child(2) { transition-delay: .38s; } .ri-step.on .vz-bars i:nth-child(3) { transition-delay: .46s; }
.ri-step.on .vz-bars i:nth-child(4) { transition-delay: .54s; } .ri-step.on .vz-bars i:nth-child(5) { transition-delay: .62s; } .ri-step.on .vz-bars i:nth-child(6) { transition-delay: .7s; }
.vz-note { display: inline-flex; align-items: center; gap: 9px; margin-top: 14px; padding: 7px 13px 7px 10px; border-radius: 99px; border: 1px solid rgba(255,255,255,.24); background: rgba(20,17,40,.9); font-weight: 700; font-size: 12px; opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; }
.vz-note i { width: 7px; height: 7px; border-radius: 50%; background: rgb(var(--c)); animation: ri-ping 1.6s ease-out infinite; }
.ri-step.on .vz-note { opacity: 1; transform: none; transition: opacity .5s var(--ease) 1.3s, transform .9s var(--spring) 1.3s; }

/* ---------- the stack: four plates of light, lifting apart as you scroll, the live one at the bottom ---------- */
.ri-stack-sec { padding: clamp(96px, 13vw, 200px) 0 clamp(50px, 7vw, 110px); }
.ri-stack-lede { margin-top: clamp(18px, 2vw, 30px); color: var(--muted); font-size: clamp(17px, 1.4vw, 22px); }
.ri-stack-grid { --open: 0; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 90px); align-items: center; margin-top: clamp(30px, 4vw, 64px); }
.ri-stack-art { position: relative; aspect-ratio: 1 / .92; max-width: 560px; width: 100%; margin-inline: auto; }
.ri-stack-art::after { content: ''; position: absolute; left: 14%; right: 14%; bottom: 3%; height: 20%; border-radius: 50%; background: radial-gradient(ellipse, rgba(var(--mint), .35), rgba(var(--mint), 0) 70%); filter: blur(18px); }
.ri-stack-scene { position: absolute; left: 50%; top: 66%; width: 56%; aspect-ratio: 1; transform-style: preserve-3d; transform: translate(-50%, -50%) rotateX(57deg) rotateZ(-42deg); }
@keyframes ri-plate-pulse { 0%, 70%, 100% { filter: brightness(1); } 82% { filter: brightness(1.7); } }
.ri-plate { position: absolute; inset: 0; border-radius: 12px; border: 1.5px solid rgba(var(--c), .9); background-color: rgba(var(--c), .1);
  transform: translateZ(calc(var(--i) * var(--open) * 5.2vw + var(--lift, 0px))); opacity: calc(.12 + .88 * var(--on, 0)); box-shadow: 0 0 34px rgba(var(--c), calc(.5 * var(--on, 0))), inset 0 0 40px rgba(var(--c), .16);
  transition: opacity .7s var(--ease), box-shadow .7s var(--ease), background-color .5s; animation: ri-plate-pulse 5.6s linear infinite; animation-delay: calc(var(--i) * .45s + 1s); will-change: transform; }
.ri-plate b { position: absolute; left: 8%; bottom: 6%; font-weight: 800; font-size: clamp(20px, 2.4vw, 38px); line-height: 1; color: rgb(var(--c)); letter-spacing: 0.04em; }
.ri-plate--1 { background-color: rgba(var(--c), .3); background-image: radial-gradient(rgba(255,255,255,.75) 1.3px, transparent 1.8px); background-size: 12.5% 12.5%; background-position: 6.25% 6.25%; }
.ri-plate--2 { background-image: linear-gradient(90deg, rgba(var(--c), .75) 0 9%, transparent 9% 20%, rgba(var(--c), .75) 20% 29%, transparent 29% 40%, rgba(var(--c), .75) 40% 49%, transparent 49% 60%, rgba(var(--c), .75) 60% 69%, transparent 69%); background-size: 78% 34%; background-repeat: no-repeat; background-position: 62% 30%; }
.ri-plate--3 { background-image: repeating-linear-gradient(0deg, rgba(var(--c), .6) 0 2px, transparent 2px 15%); background-size: 60% 46%; background-repeat: no-repeat; background-position: 55% 30%; }
.ri-plate--4 { background-image: radial-gradient(circle, #fff 0 5%, rgba(var(--c), .95) 6% 13%, rgba(var(--c), .25) 14% 30%, transparent 31%); }
.ri-plate.hot { --lift: 16px; background-color: rgba(var(--c), .34); box-shadow: 0 0 60px rgba(var(--c), .85), inset 0 0 40px rgba(var(--c), .3); }
.ri-layers { list-style: none; padding: 0; }
.ri-layer { position: relative; display: grid; grid-template-columns: 44px 1fr auto; gap: 8px 20px; align-items: start; padding: clamp(16px, 1.8vw, 26px) 0; cursor: default; opacity: .32; transform: translateX(14px); transition: opacity .6s var(--ease), transform 1s var(--spring); outline-offset: 4px; }
.ri-layer::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); }
.ri-layer::after { content: ''; position: absolute; left: 0; top: -1px; height: 2px; width: 0; border-radius: 2px; background: rgb(var(--c)); box-shadow: 0 0 14px rgba(var(--c), .9); transition: width 1.1s var(--ease); }
.ri-layer.on { opacity: 1; transform: none; }
.ri-layer.on::after { width: 100%; }
.ri-layer-n { font-weight: 800; font-size: 15px; letter-spacing: 0.12em; color: rgb(var(--c)); padding-top: 4px; }
.ri-layer h3 { font-weight: 800; text-transform: uppercase; letter-spacing: 0.015em; font-size: clamp(19px, 1.75vw, 27px); line-height: 1.05; }
.ri-layer p { color: var(--muted); font-size: clamp(15.5px, 1.15vw, 18px); line-height: 1.45; margin-top: 8px; max-width: 46ch; }
.ri-layer em { font-style: normal; font-weight: 700; font-size: 10px; letter-spacing: 0.17em; text-transform: uppercase; white-space: nowrap; color: rgba(var(--glass), .6); padding: 6px 10px; border-radius: 99px; border: 1px solid var(--line); margin-top: 2px; }
.ri-layer em.is-live { color: var(--ink); background: rgb(var(--mint)); border-color: rgb(var(--mint)); box-shadow: 0 0 18px rgba(var(--mint), .7); }
html:not(.js) .ri-layer { opacity: 1; transform: none; } html:not(.js) .ri-stack-grid { --open: 1; } html:not(.js) .ri-plate { --on: 1; }

/* ---------- the two sides: a slim band that recaps the three points in one line ---------- */
@keyframes ri-run { from { background-position: -60% 0; } to { background-position: 160% 0; } }
@keyframes ri-run-back { from { background-position: 150% 0, 0 0; } to { background-position: -50% 0, 0 0; } }
@keyframes ri-run-y { from { background-position: 0 -60%; } to { background-position: 0 160%; } }
.ri-flow-sec { padding: clamp(20px, 3vw, 48px) 0 0; }
.ri-flow { display: flex; flex-wrap: wrap; align-items: center; margin-top: 22px; padding: 58px 0 0; border-top: 1px solid var(--line); }
.ri-flow-side { position: relative; display: flex; align-items: center; gap: clamp(14px, 1.6vw, 26px); }
.ri-flow-cap { position: absolute; left: 0; bottom: calc(100% + 14px); font-weight: 700; font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.ri-flow-side--out .ri-flow-cap { left: auto; right: 0; }
.ri-node { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: clamp(13px, 1.1vw, 15.5px); letter-spacing: 0.03em; white-space: nowrap; }
.ri-node::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: rgb(var(--c)); box-shadow: 0 0 12px rgba(var(--c), .9); }
.js .ri-node { opacity: 0; transform: translateX(-14px); transition: opacity .6s var(--ease), transform 1s var(--spring); }
.js .ri-flow-side--out .ri-node { transform: translateX(14px); }
.js .ri-flow.in .ri-node { opacity: 1; transform: none; }
.ri-flow.in .ri-node:nth-of-type(2) { transition-delay: .1s; } .ri-flow.in .ri-node:nth-of-type(3) { transition-delay: .2s; } .ri-flow.in .ri-node:nth-of-type(4) { transition-delay: .3s; }
.ri-flow.in .ri-flow-side--out .ri-node:nth-of-type(2) { transition-delay: .9s; } .ri-flow.in .ri-flow-side--out .ri-node:nth-of-type(3) { transition-delay: 1s; } .ri-flow.in .ri-flow-side--out .ri-node:nth-of-type(4) { transition-delay: 1.1s; }
.ri-flow-wire { flex: 1; min-width: 28px; height: 2px; margin: 0 clamp(12px, 1.6vw, 26px); border-radius: 2px; background: linear-gradient(90deg, transparent, #fff, transparent) no-repeat rgba(var(--glass), .16); background-size: 42% 100%; background-position: -60% 0; }
.ri-flow.in .ri-flow-wire { animation: ri-run 2.2s linear infinite; }
.ri-flow.in .ri-flow-wire--out { animation-delay: 1.1s; }
.ri-hub { position: relative; display: flex; align-items: center; gap: 14px; padding: 12px 24px 12px 14px; border-radius: 99px; background: rgba(var(--violet), .1); box-shadow: 0 0 44px rgba(var(--violet), .22); }
.ri-hub::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: var(--spectrum); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); pointer-events: none; }
.ri-hub .ri-ring { width: 32px; height: 32px; }
.ri-flow.in .ri-hub .pr { stroke-dashoffset: 0; transition-delay: .5s; } .ri-flow.in .ri-hub .ck { stroke-dashoffset: 0; transition-delay: 1.1s; }
html:not(.js) .ri-hub .pr, html:not(.js) .ri-hub .ck { stroke-dashoffset: 0; }
.ri-hub b { display: block; font-weight: 800; font-size: clamp(12px, 1vw, 14px); letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.15; white-space: nowrap; }
.ri-hub em { display: block; font-style: normal; font-weight: 600; font-size: 12px; color: var(--muted); margin-top: 3px; white-space: nowrap; }
.ri-flow-back { flex: 0 0 100%; margin-top: 30px; padding-top: 16px; text-align: center; font-weight: 700; font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,.72);
  background: linear-gradient(90deg, transparent, rgb(var(--mint)), transparent) no-repeat, linear-gradient(var(--line), var(--line)) no-repeat; background-size: 26% 2px, 100% 1px; background-position: 150% 0, 0 0; }
.ri-flow.in .ri-flow-back { animation: ri-run-back 3.4s linear infinite; }
@media (max-width: 1139px) {   /* not enough room for one line: the same band, read top to bottom */
  .ri-flow { flex-direction: column; flex-wrap: nowrap; padding-top: 22px; }
  .ri-flow-side { flex-wrap: wrap; justify-content: center; gap: 8px 16px; padding-top: 24px; }
  .ri-flow-cap, .ri-flow-side--out .ri-flow-cap { left: 0; right: 0; top: 0; bottom: auto; text-align: center; }
  .js .ri-node, .js .ri-flow-side--out .ri-node { transform: translateY(10px); }
  .ri-flow-wire { flex: none; width: 2px; min-width: 0; height: 30px; margin: 12px 0; background: linear-gradient(transparent, #fff, transparent) no-repeat rgba(var(--glass), .16); background-size: 100% 42%; background-position: 0 -60%; }
  .ri-flow.in .ri-flow-wire { animation-name: ri-run-y; }
  .ri-flow-back { flex: none; align-self: stretch; margin-top: 24px; line-height: 1.6; }
}

/* ---------- the wall ---------- */
.ri-wall-sec { padding: clamp(80px, 11vw, 170px) 0; }
.ri-wall-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 24px clamp(32px, 6vw, 100px); align-items: end; }
.ri-wall { --lab: 168px; --now: .3; position: relative; margin-top: clamp(40px, 5vw, 76px); padding-top: 22px; }
.ri-row { display: grid; grid-template-columns: var(--lab) 1fr; align-items: center; height: clamp(26px, 2.9vw, 40px); cursor: default; outline-offset: -2px; }
.ri-row-name { font-weight: 700; font-size: 11px; letter-spacing: 0.17em; text-transform: uppercase; color: rgba(var(--glass), .34); transition: color .4s; white-space: nowrap; }
.ri-tube { position: relative; height: clamp(6px, .7vw, 10px); border-radius: 10px; margin-left: calc(var(--a) / 12 * 100%); width: calc((var(--b) - var(--a)) / 12 * 100%); background: rgba(var(--glass), .13); transition: background-color .5s, box-shadow .5s, transform .6s var(--spring); transform-origin: left; }
.ri-tube::after { content: ''; position: absolute; left: 6px; right: 6px; top: 35%; height: 30%; border-radius: 9px; background: rgba(255,255,255,0); transition: background-color .5s; }
.ri-wall.awake .ri-tube { background: rgba(var(--c), .34); animation: ri-tube-on .7s linear both; animation-delay: calc(var(--i) * 75ms); }
.ri-wall.awake .ri-row.now .ri-tube, .ri-wall.awake .ri-row:hover .ri-tube, .ri-wall.awake .ri-row:focus-visible .ri-tube { background: rgb(var(--c)); box-shadow: 0 0 18px rgba(var(--c), .85), 0 0 70px rgba(var(--c), .4); }
.ri-wall.awake .ri-row.now .ri-tube::after, .ri-row:hover .ri-tube::after { background: rgba(255,255,255,.55); }
.ri-row:hover .ri-tube { transform: scaleY(1.5); }
.ri-wall.awake .ri-row.now .ri-row-name, .ri-row:hover .ri-row-name, .ri-row:focus-visible .ri-row-name { color: rgb(var(--c)); }
.ri-months { display: grid; grid-template-columns: repeat(12, 1fr); margin: 14px 0 0 var(--lab); padding-top: 12px; border-top: 1px solid var(--line); font-weight: 700; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(var(--glass), .45); }
.ri-now { position: absolute; top: 0; bottom: 34px; left: calc(var(--lab) + (100% - var(--lab)) * var(--now)); width: 1px; background: linear-gradient(rgba(255,255,255,.9), rgba(255,255,255,.25)); opacity: 0; transition: opacity .8s 1.2s; pointer-events: none; }
.ri-now b { position: absolute; left: 50%; top: -6px; transform: translate(-50%, -100%); font-weight: 700; font-size: 9.5px; letter-spacing: 0.2em; text-transform: uppercase; color: #fff; }
.ri-wall.awake .ri-now { opacity: 1; }
.ri-wall-live { margin-top: 26px; color: var(--muted); font-size: 15px; }
.ri-wall-live b { color: #fff; font-weight: 700; }

/* ---------- why ---------- */
.ri-why { padding: clamp(60px, 8vw, 130px) 0 clamp(80px, 11vw, 170px); }
.ri-mega { font-weight: 800; text-transform: uppercase; letter-spacing: 0.005em; font-size: clamp(46px, 10.2vw, 172px); line-height: 0.9; margin-top: 26px; }
.ri-mega span { display: block; }
.js .ri-mega span { color: rgba(var(--glass), .13); }
.js .ri-mega.in span { animation: ri-ignite 1s linear both; }
.js .ri-mega.in span:nth-child(2) { animation-delay: .3s; }
.js .ri-mega.in span:nth-child(3) { animation-delay: .6s; }
.ri-mega--center { text-align: center; font-size: clamp(54px, 12.5vw, 210px); }
.ri-why-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 36px clamp(32px, 7vw, 120px); margin-top: clamp(44px, 6vw, 90px); align-items: start; }
.ri-lines { list-style: none; padding: 0; }
.ri-lines li { position: relative; display: grid; grid-template-columns: 34px 1fr; gap: 20px; align-items: start; padding: 24px 0; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.45; }
.ri-lines li::before { content: ''; position: absolute; left: 0; top: 0; height: 1px; width: 100%; background: var(--line); }
.ri-lines li::after { content: ''; position: absolute; left: 0; top: -1px; height: 2px; width: 0; border-radius: 2px; background: var(--spectrum); box-shadow: 0 0 14px rgba(var(--violet), .8); transition: width 1.3s var(--ease) .15s; }
.ri-lines li.in::after { width: 100%; }
.ri-lines li:nth-child(2) { --d: .12s; } .ri-lines li:nth-child(3) { --d: .24s; }

/* ---------- questions: plain answers, one line of light per open row ---------- */
.ri-faq { padding: 0 0 clamp(80px, 11vw, 170px); interpolate-size: allow-keywords; }
.ri-faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 36px clamp(32px, 7vw, 120px); align-items: start; }
.ri-faq-head .ri-h2 { font-size: clamp(30px, 3.5vw, 54px); text-wrap: balance; }
.ri-faq-list { border-bottom: 1px solid var(--line); }
.ri-faq-list details { position: relative; }
.ri-faq-list details::before { content: ''; position: absolute; left: 0; top: 0; height: 1px; width: 100%; background: var(--line); }
.ri-faq-list details::after { content: ''; position: absolute; left: 0; top: -1px; height: 2px; width: 0; border-radius: 2px; background: var(--spectrum); box-shadow: 0 0 14px rgba(var(--violet), .8); transition: width .9s var(--ease); }
.ri-faq-list details[open]::after { width: 100%; }
.ri-faq-list summary { list-style: none; display: grid; grid-template-columns: 1fr 18px; gap: 24px; align-items: center; padding: 24px 0; cursor: pointer; }
.ri-faq-list summary::-webkit-details-marker { display: none; }
.ri-faq-list summary h3 { font-weight: 600; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.35; text-wrap: balance; color: var(--text); transition: color .3s; }
.ri-faq-list summary:hover h3, .ri-faq-list details[open] summary h3 { color: #fff; }
.ri-faq-list summary i { position: relative; width: 18px; height: 18px; }
.ri-faq-list summary i::before, .ri-faq-list summary i::after { content: ''; position: absolute; left: 0; top: 8px; width: 18px; height: 2px; border-radius: 2px; background: rgb(var(--violet)); transition: transform .5s var(--spring), background-color .3s; }
.ri-faq-list summary i::after { transform: rotate(90deg); }
.ri-faq-list details[open] summary i::before, .ri-faq-list details[open] summary i::after { background: rgb(var(--pink)); }
.ri-faq-list details[open] summary i::after { transform: rotate(0deg); }
.ri-faq-list details p { color: var(--muted); font-size: clamp(16px, 1.25vw, 19px); line-height: 1.55; max-width: 60ch; padding: 0 42px 28px 0; text-wrap: pretty; }
.ri-nw { white-space: nowrap; }   /* keeps an answer's last three words together, so no line ends on one or two words */
.ri-faq-list details::details-content { block-size: 0; overflow: clip; transition: block-size .55s var(--ease), content-visibility .55s allow-discrete; }
.ri-faq-list details[open]::details-content { block-size: auto; }
@media (max-width: 899px) {
  .ri-faq-grid { grid-template-columns: 1fr; }
  .ri-faq-list summary { padding: 20px 0; }
  .ri-faq-list details p { padding-right: 0; }
}

/* ---------- early access ---------- */
.ri-final { position: relative; padding: clamp(110px, 15vw, 240px) 0; text-align: center; background: var(--ink) url(../assets/ri/final-bg.jpg) center 30% / cover no-repeat; overflow: clip; }
.ri-final::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 55%, rgba(var(--ink-rgb), .72), rgba(var(--ink-rgb), .9) 60%), linear-gradient(var(--ink), rgba(var(--ink-rgb), 0) 28%, rgba(var(--ink-rgb), 0) 72%, var(--ink)); }
.ri-final-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.ri-lede--center { margin: 28px auto 0; text-align: center; }
.ri-final-btn { margin-top: 38px; }
html:not(.js) .ri-final-btn { display: none; }

/* the sheet: with scripting it is a modal that grows out of the button; without, it is simply part of the page */
.ri-sheet { position: static; display: block; width: min(560px, 100%); margin: 44px auto 0; padding: 22px 24px 24px; text-align: left; color: var(--text); background: rgba(14,12,29,.88); border: 1px solid rgba(255,255,255,.16); border-radius: 16px; }
.js .ri-sheet:not(:modal) { display: none; }
.ri-sheet:modal { position: fixed; inset: 0; margin: auto; width: min(560px, calc(100vw - 32px)); max-height: calc(100svh - 32px); overflow: auto; overscroll-behavior: contain;
  -webkit-backdrop-filter: blur(26px) saturate(1.3); backdrop-filter: blur(26px) saturate(1.3); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 50px 140px rgba(0,0,0,.7), 0 0 120px rgba(var(--violet), .22); transform-origin: 50% 50%; }
.ri-sheet::backdrop { background: rgba(var(--ink-rgb), .62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); animation: ri-fade .45s var(--ease) both; }
.ri-sheet.closing::backdrop { animation: ri-fade .3s var(--ease) reverse both; }
@keyframes ri-fade { from { opacity: 0; } }
.ri-sheet-top { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.ri-dots { display: flex; gap: 6px; margin-left: auto; }
.ri-dots i { width: 6px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.22); transition: width .6s var(--spring), background-color .3s; }
.ri-dots i.on { width: 22px; background: var(--spectrum); }
.ri-x { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: #fff; font-size: 22px; line-height: 1; cursor: pointer; transition: transform .5s var(--spring), border-color .3s; }
.ri-x:hover { transform: rotate(90deg); border-color: #fff; }
.ri-dots[hidden] + .ri-x { margin-left: auto; }
html:not(.js) .ri-x, html:not(.js) .ri-dots, html:not(.js) .ri-next, html:not(.js) .ri-back { display: none; }
#ri-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
#ri-form legend { padding: 0; font-weight: 800; text-transform: uppercase; letter-spacing: 0.015em; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.02; margin-bottom: 20px; }
.js .ri-pane-step { display: none; }
.js .ri-pane-step.on { display: block; }
.js .ri-pane-step.on > * { animation: ri-pane-in .7s var(--spring) both; }
.js .ri-pane-step.on > *:nth-child(2) { animation-delay: .05s; } .js .ri-pane-step.on > *:nth-child(3) { animation-delay: .1s; } .js .ri-pane-step.on > *:nth-child(4) { animation-delay: .15s; }
.js .ri-pane-step.on.back > * { --from: -26px; }
@keyframes ri-pane-in { from { opacity: 0; transform: translateX(var(--from, 26px)); } }
html:not(.js) .ri-pane-step + .ri-pane-step { margin-top: 26px; }
.ri-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ri-grid-2--school { grid-template-columns: 1fr 132px; }
.ri-field { position: relative; display: block; margin-bottom: 12px; }
.ri-field input, .ri-field select { width: 100%; height: 58px; padding: 22px 15px 6px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.16); border-radius: 10px; color: #fff; font-family: inherit; font-weight: 500; font-size: 17px; outline: none; -webkit-appearance: none; appearance: none; transition: border-color .25s, box-shadow .35s var(--ease), background-color .25s; }
.ri-field select { background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%); background-position: calc(100% - 20px) 27px, calc(100% - 15px) 27px; background-size: 5px 5px; background-repeat: no-repeat; }
.ri-field select option { background-color: var(--panel); color: var(--text); }
.ri-field > span { position: absolute; left: 16px; top: 19px; color: var(--muted); font-size: 16px; pointer-events: none; transform-origin: left top; transition: transform .45s var(--spring), color .25s; }
.ri-field input:focus + span, .ri-field input:not(:placeholder-shown) + span, .ri-field select:focus + span, .ri-field select:valid + span { transform: translateY(-11px) scale(.7); color: rgba(255,255,255,.72); letter-spacing: 0.06em; }
.ri-field input:focus, .ri-field select:focus { border-color: rgb(var(--violet)); background-color: rgba(255,255,255,.08); box-shadow: 0 0 0 4px rgba(var(--violet), .2), 0 0 40px rgba(var(--violet), .18); }
.ri-field.bad input, .ri-field.bad select { border-color: rgb(var(--pink)); box-shadow: 0 0 0 4px rgba(var(--pink), .18); }
.ri-roles { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.ri-roles label { position: relative; cursor: pointer; }
.ri-roles input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.ri-roles span { display: block; padding: 11px 16px; border-radius: 99px; border: 1px solid rgba(255,255,255,.2); font-weight: 600; font-size: 14.5px; transition: transform .55s var(--spring), background-color .25s, color .25s, border-color .25s; }
.ri-roles label:hover span { border-color: rgba(255,255,255,.6); }
.ri-roles input:checked + span { background: #fff; color: var(--ink); border-color: #fff; transform: scale(1.05); }
.ri-roles input:focus-visible + span { outline: 2px solid #fff; outline-offset: 3px; }
.ri-roles.bad span { border-color: rgb(var(--pink)); }
.ri-row-btns { display: grid; grid-template-columns: auto 1fr; gap: 12px; margin-top: 6px; }
.ri-back { height: 52px; padding: 0 18px; background: transparent; color: #fff; border: 1px solid var(--line); border-radius: 3px; cursor: pointer; font-family: inherit; font-weight: 700; font-size: 12px; letter-spacing: 0.11em; text-transform: uppercase; transition: border-color .3s; }
.ri-back:hover { border-color: #fff; }
.ri-next { margin-top: 6px; }
.ri-error { color: rgb(var(--pink)); font-size: 14.5px; margin-top: 14px; }
.ri-privacy { color: var(--muted); font-size: 12.5px; line-height: 1.5; margin-top: 16px; }
.ri-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ri-thanks { text-align: center; padding: 18px 6px 10px; }
.ri-thanks .ri-ring--xl { width: 84px; height: 84px; margin: 0 auto 8px; }
.ri-thanks .ri-ring--xl circle, .ri-thanks .ri-ring--xl path { stroke-width: 2; }
.ri-thanks .ri-lede { margin: 16px auto 22px; }
.ri-thanks > * { animation: ri-pane-in .8s var(--spring) both; --from: 0px; }

/* ---------- footer ---------- */
.ri-footer { padding: 56px 0 64px; border-top: 1px solid var(--line); text-align: center; }
.ri-footer img { height: 30px; width: auto; margin: 0 auto; }
.ri-footer-tag { margin-top: 18px; font-weight: 700; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; }
.ri-footer-legal { margin-top: 8px; color: var(--muted); font-size: 13px; }

/* ---------- phone ---------- */
@media (max-width: 899px) {
  .ri-mark img { height: 24px; }
  .ri-mark span { display: none; }
  .ri-nav .ri-btn { transition: opacity .35s, transform .6s var(--spring); }
  .ri-nav:not(.is-stuck) .ri-btn { opacity: 0; pointer-events: none; transform: translateY(-8px); }   /* the hero has its own button; this one arrives once you scroll */
  .ri-hero { height: auto; min-height: 0; overflow: visible; background-image: none; }
  html:not(.js) .ri-hero, .ri-hero.still { background: var(--ink) url(../assets/ri/hero-poster-mobile.jpg) center top / 100% auto no-repeat; padding-top: 118vw; }
  .ri-hero.still::before, html:not(.js) .ri-hero::before { display: none; }
  .ri-hero::after { display: none; }
  #ri-hero-cv { position: relative; inset: auto; height: min(150vw, 70svh); background: #000 url(../assets/ri/hero-poster-mobile.jpg) center 30% / cover no-repeat; opacity: 1; }
  .ri-hero.still #ri-hero-cv, html:not(.js) #ri-hero-cv { display: none; }
  .ri-hero-copy { position: relative; left: auto; bottom: auto; max-width: none; margin-top: -34px; padding: 0 var(--pad) 8px; }
  .ri-tag { display: block; font-weight: 700; font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: 14px; }
  .ri-h1 { font-size: clamp(38px, 11.6vw, 64px); }
  .ri-hero-actions { flex-direction: column; align-items: stretch; gap: 14px; margin-top: 26px; }
  .ri-hero-actions .ri-btn { height: 58px; font-size: 13.5px; }
  .ri-trust { text-align: center; }
  .ri-ctl { display: none; }
  .ri-statement { font-size: clamp(27px, 7.6vw, 44px); line-height: 1.14; }
  .ri-stage-frame video { object-position: 50% 30%; }
  .ri-story-grid { display: block; }
  .ri-stage { top: 60px; z-index: 2; height: 44svh; margin-bottom: 26px; }
  .ri-stage-frame { height: 100%; aspect-ratio: auto; width: 100%; border-radius: 14px; }
  .ri-story.pin .ri-story-pin { height: 330svh; }
  .ri-story.pin .ri-story-sticky { align-items: stretch; }
  .ri-story.pin .ri-story-grid { display: flex; flex-direction: column; align-items: stretch; gap: 16px; height: 100%; padding: 70px 0 16px; }
  .ri-story.pin .ri-stage { height: 38svh; margin: 0; flex: none; }
  .ri-story.pin .ri-story-side { flex: 1; height: auto; min-height: 0; }
  .ri-story-head .ri-kicker { display: none; }
  .ri-story-head .ri-h2 { font-size: 21px; margin-top: 0; }
  .ri-story.pin .ri-steps { margin: 10px 0; }
  .ri-story.pin .ri-step { justify-content: flex-start; padding-top: 6px; }
  .ri-step h3 { font-size: 25px; margin-top: 12px; }
  .ri-step p { font-size: 16px; margin-top: 10px; }
  .ri-story.pin .ri-viz { display: none; }
  .ri-stack-grid { grid-template-columns: 1fr; }
  .ri-stack-art { max-width: 340px; }
  .ri-plate { transform: translateZ(calc(var(--i) * var(--open) * 11vw + var(--lift, 0px))); }
  .ri-layer { grid-template-columns: 34px 1fr; }
  .ri-layer em { grid-column: 2; justify-self: start; }
  .ri-pane { top: 6%; }
  .ri-pane-val { font-size: 30px; }
  .ri-bracket { left: 30%; right: 30%; top: 36%; bottom: -20%; }
  .ri-wall-head, .ri-why-grid { grid-template-columns: 1fr; }
  .ri-wall { --lab: 0px; }
  .ri-row { display: block; position: relative; height: 34px; }
  .ri-row-name { position: absolute; left: calc(var(--a) / 12 * 100%); top: 0; font-size: 8.5px; letter-spacing: 0.14em; }
  .ri-row:nth-child(n+10) .ri-row-name { left: auto; right: calc((12 - var(--b)) / 12 * 100%); }
  .ri-tube { position: absolute; left: 0; right: 0; top: 17px; height: 7px; }
  .ri-months { margin-left: 0; font-size: 8px; letter-spacing: 0.06em; }
  .ri-mega { font-size: clamp(44px, 14.5vw, 96px); }
  .ri-mega--center { font-size: clamp(58px, 19vw, 120px); }
  .ri-sheet:modal { inset: auto 0 0 0; margin: 0; width: 100%; max-width: none; max-height: 92svh; border-radius: 22px 22px 0 0; border-bottom: 0; padding: 18px var(--pad) calc(22px + env(safe-area-inset-bottom)); transform-origin: 50% 100%; }
  .ri-grid-2--school { grid-template-columns: 1fr 112px; }
}

@media (max-width: 899px) and (min-height: 780px) {   /* taller phones have room for the small moving picture under each point */
  .ri-story.pin .ri-viz { display: block; margin-top: 16px; }
  .vz-bars { height: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-delay: 0s !important; transition-duration: .001s !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; filter: none; }
  .ri-rig { animation: none; }
  .ri-flow.in .ri-flow-wire, .ri-flow.in .ri-flow-back { animation: none; }
}
