/* ==========================================================================
   Parallex v1 "Descent" · home.css  (index.html only)
   Owns: fixed world canvas + overlays (meniscus, blackout, flow labels, unit pop),
   hero, waterline, the five layers + their coded media compositions (.mp-*),
   burst, one flow, resurfaced sections (seats, live, connected, news, faq).
   Stacking: canvas z0 · overlays z1 · page content z2 · header 800 · blackout 850.
   ========================================================================== */
.page-home { background: var(--ink); }
.page-home #main { position: relative; }
.world { position: fixed; inset: 0; width: 100%; height: 100vh; height: 100lvh; z-index: 0; display: block; }
.world-fallback { position: fixed; inset: 0; z-index: -1; background:
  radial-gradient(90% 60% at 72% 58%, rgba(103, 142, 229, .35), transparent 60%),
  linear-gradient(180deg, #05070f 0%, #0B1020 40%, #1A2744 62%, #0f1d3c 63%, #0B1020 100%); }
.descent, .resurface { position: relative; z-index: 2; }
.page-home .cta-band, .page-home .site-footer { position: relative; z-index: 3; }
.world-off .world { visibility: hidden; }

/* ------------------------------------------------------------ overlays */
.meniscus { position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0; --y: 110vh; }
.meniscus.is-on { opacity: 1; }
.meniscus__line { position: absolute; left: 0; right: 0; top: var(--y); height: 34px; margin-top: -17px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='34' viewBox='0 0 240 34'><path d='M0 17 C 30 8, 60 8, 90 17 S 150 26, 180 17 S 225 9, 240 17' fill='none' stroke='white' stroke-width='2.2'/></svg>") repeat-x 0 50% / 240px 34px;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, .95)) drop-shadow(0 0 24px rgba(160, 190, 255, .9));
  animation: meniscus 3.2s linear infinite; }
@keyframes meniscus { to { background-position: -240px 50%; } }
.meniscus__below { position: absolute; left: 0; right: 0; top: var(--y); height: 120vh;
  background: linear-gradient(180deg, rgba(246, 249, 255, .96) 0%, rgba(231, 238, 252, .9) 8%, rgba(214, 226, 250, .86) 45%, rgba(190, 208, 244, .9) 100%);
  backdrop-filter: blur(6px) saturate(120%); -webkit-backdrop-filter: blur(6px) saturate(120%); }
.meniscus__below::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(100deg, rgba(255, 255, 255, .0) 0 60px, rgba(255, 255, 255, .22) 60px 64px, rgba(255, 255, 255, 0) 64px 140px); mix-blend-mode: soft-light; }

.blackout { position: fixed; inset: 0; z-index: 850; display: grid; place-items: center; background: #03050b; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .35s var(--ease-out), visibility 0s linear .35s; }
.blackout.is-on { opacity: 1; visibility: visible; transition: opacity .22s var(--ease-out); }
.blackout__rings { position: absolute; inset: 0; }
.blackout__rings i { position: absolute; left: 50%; top: 50%; width: 36vmin; height: 36vmin; margin: -18vmin 0 0 -18vmin; border-radius: 50%; border: 2px solid rgba(37, 211, 102, .95);
  box-shadow: 0 0 40px rgba(37, 211, 102, .55), inset 0 0 40px rgba(37, 211, 102, .35); opacity: 0; }
.blackout.is-on .blackout__rings i { animation: dexRing 1.8s var(--ease-out) forwards; }
.blackout.is-on .blackout__rings i:nth-child(2) { animation-delay: .28s; }
.blackout.is-on .blackout__rings i:nth-child(3) { animation-delay: .56s; }
@keyframes dexRing { 0% { transform: scale(.06); opacity: 0; } 12% { opacity: 1; } 100% { transform: scale(3.2); opacity: 0; } }
.blackout__title { position: relative; font-family: var(--font-display); font-weight: 500; font-size: clamp(64px, 11vw, 170px); letter-spacing: -.05em; line-height: 1; color: #fff; opacity: 0; transform: scale(.9); filter: blur(10px);
  text-shadow: 0 0 60px rgba(37, 211, 102, .35); }
.blackout.is-title .blackout__title { opacity: 1; transform: none; filter: none; transition: opacity .35s, transform .9s var(--ease-expo), filter .5s; }

.flow-labels { position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .6s var(--ease-out); }
.flow-labels.is-visible { opacity: 1; }
.flow-label { position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; opacity: 0; transition: opacity .5s var(--ease-out); will-change: transform; }
.flow-label.is-on { opacity: 1; }
.flow-label--node { font-family: var(--font-display); font-weight: 500; font-size: 19px; letter-spacing: -.01em; color: #fff; padding: 7px 16px 7px 7px; border-radius: 99px;
  background: rgba(11, 16, 32, .62); border: 1px solid rgba(103, 142, 229, .5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .6); }
.flow-label--node i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-3); color: #fff; box-shadow: 0 0 18px rgba(103, 142, 229, .8); }
.flow-label--node i .ic { width: 18px; height: 18px; }
.flow-label--prod { font-size: 13px; font-weight: 500; color: #DCE6FA; padding: 6px 12px; border-radius: 99px; background: rgba(16, 22, 36, .55); border: 1px dashed rgba(220, 230, 250, .3); backdrop-filter: blur(6px); }
.flow-label--prod .ic { width: 16px; height: 16px; color: var(--blue-3); }
.flow-label--dex .dex-av { --s: 20px; }
.flow-label--back { color: #C9F5DA; border-color: rgba(103, 142, 229, .5); }

.unit-pop { position: fixed; inset: 0; z-index: 1; pointer-events: none; }
.unit-pop__line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.unit-pop__line line { stroke: rgba(220, 230, 250, .85); stroke-width: 1.5; stroke-dasharray: 4 4; }
.unit-pop__line circle { fill: #fff; filter: drop-shadow(0 0 6px #9fc0ff); }
.unit-pop .unit-card { position: absolute; left: 0; top: 0; width: 300px; transform-origin: 0 50%; will-change: transform; transition: opacity .35s var(--ease-out); }
.unit-pop.is-hidden { opacity: 0; transition: opacity .3s; }
.unit-pop .unit-card.is-swap { animation: cardSwap .45s var(--ease-expo); }
@keyframes cardSwap { from { opacity: .3; transform-origin: 0 50%; filter: blur(3px); } to { opacity: 1; filter: none; } }

/* ------------------------------------------------------------ hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; color: #fff; padding: calc(var(--header-h) + 24px) 0 120px; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(5, 8, 16, .55) 0%, rgba(5, 8, 16, .25) 40%, transparent 62%);
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); }
.hero__inner { position: relative; width: 100%; }
.hero__copy { position: relative; display: grid; gap: 26px; justify-items: start; max-width: 660px; }
.hero__eyebrow { color: #A9C1F5; }
.hero__eyebrow .mark3 { width: 16px; }
.hero__title { font-size: clamp(46px, 22px + 4.6vw, 96px); line-height: .96; letter-spacing: -.045em; max-width: 8.4em; text-wrap: balance; }
.hero__title .word { display: inline-block; }
.hero__sub { font-size: var(--fs-lead); line-height: 1.45; color: #C5D0E6; max-width: 31em; text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.hero__film { color: #fff; margin-top: -4px; }
.hero__floors { position: absolute; inset-inline-end: var(--margin); bottom: -60px; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; color: #DCE6FA; }
.hero__floors-hint { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; opacity: .9; text-shadow: 0 1px 12px rgba(5, 8, 16, .9), 0 0 2px rgba(5, 8, 16, .6); }
.hero__stepper { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border-radius: 99px; background: rgba(11, 16, 32, .5); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-size: 14px; }
.hero__stepper button { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; transition: background .2s; }
.hero__stepper button:hover { background: rgba(255, 255, 255, .12); }
.hero__stepper span { min-width: 84px; text-align: center; }
.hero__cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 12px; color: #E7EEFC; font-size: 15px; font-weight: 500; letter-spacing: .01em; text-shadow: 0 2px 20px rgba(0, 0, 0, .5); white-space: nowrap; }
.hero__cue-arrow { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .06); backdrop-filter: blur(8px); animation: cue 2.4s var(--ease-in-out) infinite; }
.hero__cue-arrow .ic { width: 18px; height: 18px; }
@keyframes cue { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
.js:not(.rm) [data-hero-in] { opacity: 0; transform: translateY(18px); }
.js:not(.rm) .hero__cue[data-hero-in] { transform: translate(-50%, 18px); }
.hero.is-in [data-hero-in] { opacity: 1 !important; transform: none !important; transition: opacity .9s var(--ease-out), transform 1.2s var(--ease-expo); transition-delay: var(--d, 0s); }
.hero.is-in .hero__cue[data-hero-in] { transform: translateX(-50%) !important; }
.js:not(.rm) [data-hero-title] { opacity: 0; }
.hero.is-in [data-hero-title] { opacity: 1; }

/* ------------------------------------------------------------ waterline */
.waterline { position: relative; height: 230vh; }
.waterline__pin { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; overflow: hidden; }
.waterline__inner { display: grid; place-items: center; text-align: center; }
.waterline__title { grid-area: 1 / 1; font-family: var(--font-display); font-weight: 500; font-size: clamp(54px, 20px + 7.2vw, 150px); line-height: .95; letter-spacing: -.05em; will-change: transform, opacity, filter; }
.waterline__title--a { color: #fff; text-shadow: 0 10px 60px rgba(0, 0, 0, .45); }
.waterline__title--b { color: var(--navy); opacity: 0; }
.rm .waterline__title--b, .no-world .waterline__title--b { opacity: 1; position: relative; }
.rm .waterline__inner, .no-world .waterline__inner { gap: 24px; }

/* ------------------------------------------------------------ layers */
.layer { position: relative; height: 290vh; }
.layer--light { color: var(--navy); }
.layer--dark { color: #fff; }
.layer__gap { height: 55vh; display: flex; align-items: center; justify-content: center; }
.layer__chapter { position: relative; display: grid; justify-items: center; gap: 6px; font-size: 13px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; }
/* chapter card between layers: a huge outlined numeral that the camera "passes", label on a thin rule */
.layer__chapter b { font-family: var(--font-display); font-weight: 500; font-size: clamp(150px, 19vw, 300px); line-height: .8; letter-spacing: -.06em;
  -webkit-text-fill-color: transparent; -webkit-text-stroke: 1.5px currentColor; background: linear-gradient(180deg, color-mix(in srgb, currentColor 30%, transparent), transparent 78%);
  -webkit-background-clip: text; background-clip: text; }
.layer__chapter-l { display: inline-flex; align-items: center; gap: 14px; }
.layer__chapter-l i { width: 44px; height: 1px; background: currentColor; opacity: .6; }
.layer__chapter-l::after { content: ""; width: 44px; height: 1px; background: currentColor; opacity: .6; }
.js:not(.rm) .layer__chapter[data-reveal] b { transform: translateY(40px) scale(.94); filter: blur(8px); }
.layer__chapter.is-in b { transform: none; filter: none; transition: transform 1.6s var(--ease-expo), filter 1s var(--ease-out); }
.layer--light .layer__chapter { color: var(--blue-deep); }
.layer--dark .layer__chapter { color: #C9D6F2; }
.layer__pin { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; padding-top: calc(var(--header-h) * .6); }
.layer__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 4vw, 72px); align-items: center; }
@media (min-width: 1024px) { .layer__inner, .flow__inner, .waterline__inner, .burst__inner { padding-inline-start: max(var(--margin), 128px); } }
.layer__copy { position: relative; }
.layer__eyebrow { margin-bottom: 20px; }
.layer--light .layer__eyebrow { color: var(--blue-deep); }
.layer__eyebrow .badge .ic { width: 14px; height: 14px; }
.layer__title { font-size: clamp(38px, 12px + 3.5vw, 70px); line-height: .99; letter-spacing: -.04em; margin: 26px 0 22px; text-wrap: balance; }
.layer--light .bw-headline--before { color: #3B4250; }
.layer__body { margin-top: 22px; max-width: 31em; text-wrap: pretty; }
.layer--light .layer__body { color: #3B4250; }
.layer--dark .layer__body { color: var(--on-dark-2); }
.layer__links { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 18px; }
.layer--light .tlink { color: var(--blue-deep); }
.layer__micro { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: 14.5px; color: #D4DCEB; }
.layer__micro .ic { width: 18px; height: 18px; color: var(--blue-3); margin-top: 1px; }
.layer__kicker { display: flex; align-items: center; gap: 14px; margin-top: 24px; font-family: var(--font-display); font-weight: 500; font-size: clamp(28px, 2.4vw, 40px); letter-spacing: -.03em; color: #7BE8A6; }
.layer__kicker .dex-av { --s: 40px; }
.layer__kicker + .layer__title { margin-top: 10px; }
.layer--dex .bw-guard { margin-top: 22px; color: #fff; max-width: 24em; }
.layer--dex .layer__inner { grid-template-columns: minmax(0, 4.6fr) minmax(0, 7.4fr); }
.layer--dex .layer__title { font-size: clamp(36px, 10px + 3vw, 58px); margin-bottom: 18px; }
.layer--dex .layer__body { margin-top: 16px; font-size: 16px; }
.layer--dex .layer__eyebrow { margin-bottom: 14px; }
.layer--dex .layer__kicker { margin-top: 16px; }
.layer__media { position: relative; }
.layer .media-panel { container-type: size; }
.layer--light .bw[data-state="before"] .chips .chip--before { background: rgba(246, 246, 247, .9); }
/* light water: glassier white chips; dark water: glass chips */
.layer--light .chip:not(.chip--before) { background: rgba(255, 255, 255, .92); }

/* short desktop viewports: keep the pinned layer inside the screen */
@media (min-width: 1024px) and (max-height: 820px) {
  .layer__title { font-size: clamp(34px, 8px + 3vw, 54px); margin: 18px 0 16px; }
  .layer__eyebrow { margin-bottom: 12px; }
  .layer .chip { min-height: 38px; font-size: 14px; }
  .layer .chips { gap: 8px; }
  .layer__body { margin-top: 14px; font-size: 15px; }
  .layer--dex .layer__kicker { font-size: 26px; margin-top: 10px; }
  .layer--dex .bw-guard { font-size: 18px; margin-top: 14px; }
  .layer--dex .mp-dex .phone { --w: clamp(150px, 13vw, 190px); }
}
/* soft readability veil behind layer copy (desktop) */
@media (min-width: 1024px) {
  .layer__copy::before { content: ""; position: absolute; inset: -60px -40px -60px -120px; z-index: -1; pointer-events: none; border-radius: 50%; filter: blur(30px); }
  .layer--light .layer__copy::before { background: radial-gradient(closest-side, rgba(231, 238, 252, .7), transparent); }
  .layer--dark .layer__copy::before { background: radial-gradient(closest-side, rgba(11, 16, 32, .45), transparent); }
}

/* media compositions (.mp-*) moved to mp.css (shared with product pages, stage 2) */
.layer--dex .media-panel { aspect-ratio: auto; height: min(640px, calc(100vh - 150px)); }
.layer--dex .media-panel__badge { bottom: 0; }

/* ------------------------------------------------------------ burst */
.burst { position: relative; height: 260vh; color: #fff; }
.burst__pin { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; overflow: hidden; }
.burst__inner { display: grid; place-items: center; text-align: center; }
.burst__a, .burst__b { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.burst__bubble { display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; border-radius: 18px 18px 18px 6px; background: rgba(217, 253, 211, .96); color: #111B21; font-size: 17px; box-shadow: 0 20px 50px -20px rgba(37, 211, 102, .6); }
.burst__bubble small { margin-inline-start: 10px; font-size: 12px; color: #667781; }
.burst__bubble small span { color: #53BDEB; letter-spacing: -.2em; }
.burst__num { font-family: var(--font-display); font-weight: 500; font-size: clamp(130px, 24vw, 340px); line-height: .84; letter-spacing: -.06em;
  background: linear-gradient(180deg, #FFFFFF 20%, #9FE8BC 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 40px rgba(37, 211, 102, .35)); }
.burst__cap { display: flex; gap: 12px; align-items: center; font-size: var(--fs-lead); color: #C9F5DA; }
.burst__title { font-size: clamp(54px, 18px + 6.6vw, 132px); line-height: .95; letter-spacing: -.05em; }
.burst__chip { margin-top: 12px; }
.js:not(.rm) .burst__b { opacity: 0; }

/* ------------------------------------------------------------ one flow */
.flow { position: relative; height: 320vh; color: #fff; }
.flow__pin { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.flow__inner { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding-top: calc(var(--header-h) + 40px); padding-bottom: 56px; }
.flow__head { max-width: 640px; display: grid; gap: 18px; }
.flow__head .eyebrow { color: #A9C1F5; letter-spacing: .08em; }
.flow__title { font-size: clamp(36px, 10px + 3.4vw, 64px); line-height: 1.02; letter-spacing: -.04em; text-wrap: balance; }
.flow__end { max-width: 540px; display: grid; gap: 18px; justify-items: start; }
.flow__line { font-family: var(--font-display); font-weight: 500; font-size: clamp(64px, 20px + 6.5vw, 132px); line-height: .9; letter-spacing: -.05em;
  background: linear-gradient(100deg, #FFFFFF 30%, #9DB8F5 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.flow__body { color: var(--on-dark-2); font-size: var(--fs-lead); line-height: 1.45; }
.flow__end .film-link { color: #fff; }
.js.world-live:not(.rm) .flow__end { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease-out), transform 1s var(--ease-expo); }
.js.world-live:not(.rm) .flow__end.is-in { opacity: 1; transform: none; }
/* the HTML diagram: visual on mobile / reduced motion / no WebGL; screen-reader only when the 3D labels show it */
.flow-diagram { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fd-node { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 99px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(103, 142, 229, .5); font-family: var(--font-display); font-size: 18px; }
.fd-node b { font-weight: 500; }
.fd-node i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-3); }
.fd-node .ic { width: 18px; height: 18px; }
.fd-link, .fd-back { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #C9D6F2; }
.fd-link span, .fd-back span { display: inline-flex; gap: 6px; align-items: center; padding: 4px 10px; border-radius: 99px; border: 1px dashed rgba(220, 230, 250, .3); }
.fd-link::before { content: ""; width: 26px; height: 1px; background: var(--blue-3); }
.fd-link .ic, .fd-back .ic { width: 15px; height: 15px; color: var(--blue-3); }
.fd-back { width: 100%; color: #C9F5DA; }
.world-live .flow-diagram { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ------------------------------------------------------------ resurface */
.seats { position: relative; color: var(--navy); }
.seats__rise { height: 70vh; }
.no-world .seats__rise, .rm .seats__rise { height: 0; }
.seats__body { background: var(--mist); padding: 24px 0 var(--section-y); position: relative; }
.seats__body::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 30vh; background: linear-gradient(0deg, var(--mist), rgba(245, 247, 251, 0)); pointer-events: none; }
.seats__title { font-size: clamp(40px, 12px + 4vw, 88px); line-height: .98; letter-spacing: -.045em; max-width: 10em; }
.seats__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.seats__grid > li { display: flex; }
.seats__grid .rcard { width: 100%; }
.rcard__art { display: grid; place-items: center; }
.art-dev__tower { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); width: 34%; height: 80%; display: grid; grid-template-rows: repeat(12, 1fr); gap: 3px; padding: 6px; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, #7F9CDB, #2A4176); box-shadow: 0 0 40px rgba(103, 142, 229, .45); }
.art-dev__tower i { border-radius: 2px; background: rgba(210, 228, 255, .22); }
.art-dev__tower i.is-hot { background: #cfe0ff; box-shadow: 0 0 12px #9fc0ff; animation: hot 2.4s ease-in-out infinite; }
@keyframes hot { 50% { opacity: .55; } }
.art-dev__feed { position: absolute; left: 8%; top: 12%; padding: 10px 14px; border-radius: 14px; background: #fff; color: var(--navy); box-shadow: var(--shadow-card); font-size: 13px; line-height: 1.3; display: grid; }
.art-dev__feed small { color: var(--muted); padding-inline-start: 18px; }
.art-mgr__rank { list-style: none; margin: 0; padding: 0; width: 76%; display: grid; gap: 8px; font-size: 13px; }
.art-mgr__rank li { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .1); transition: transform .5s var(--ease-expo); }
.art-mgr__rank em { font-style: normal; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(103, 142, 229, .3); font-size: 11px; }
.art-mgr__rank li:first-child em { background: var(--blue-3); }
.art-mgr__rank b { margin-inline-start: auto; font-family: var(--font-display); font-weight: 500; }
.rcard:hover .art-mgr__rank li:nth-child(2) { transform: translateX(6px); }
.art-mgr__read { position: absolute; bottom: 14px; left: 12%; font-size: 12px; color: #7BE8A6; display: inline-flex; gap: 6px; align-items: center; }
.art-mgr__read::before { content: "✓✓"; color: #53BDEB; letter-spacing: -.2em; margin-inline-end: 4px; }
.art-brk__phone { position: absolute; left: 50%; top: 14%; transform: translateX(-50%); width: 44%; height: 100%; border-radius: 22px 22px 0 0; background: #F4F6FA; padding: 8px 8px 0; border: 5px solid #1c2334; border-bottom: 0; color: var(--navy); display: flex; flex-direction: column; gap: 2px; font-size: 12px; }
.art-brk__phone img { width: 100%; height: 44%; object-fit: cover; border-radius: 12px; }
.art-brk__phone b { font-family: var(--font-display); font-weight: 500; font-size: 18px; margin-top: 4px; }
.art-brk__phone small { color: var(--muted); font-size: 11px; }
.art-brk__ping { position: absolute; right: 6%; top: 10%; display: inline-flex; gap: 8px; align-items: center; padding: 6px 12px 6px 6px; border-radius: 99px; background: var(--wa-out); color: #111B21; font-size: 12px; font-weight: 500; box-shadow: var(--shadow-card); animation: ping 3s var(--ease-expo) infinite; }
.art-brk__ping .dex-av { --s: 22px; }
@keyframes ping { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.art-agy { align-content: center; gap: 8px; padding: 0 10%; }
.art-agy__row { width: 100%; display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .1); font-size: 13px; }
.art-agy__row i { font-style: normal; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-2); font-size: 11px; font-weight: 500; }
.art-agy__row span { font-weight: 500; }
.art-agy__row em { font-style: normal; margin-inline-start: auto; color: var(--on-dark-2); font-size: 12px; }

.live .projcard { margin-top: 8px; }
.projcard .chips { margin-top: 4px; }
.projcard__cta { align-self: flex-start; margin-top: 10px; }

.connected__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; }
.connected__copy { display: grid; gap: 28px; justify-items: start; }
.connected__title { font-size: clamp(34px, 10px + 3.2vw, 60px); line-height: 1.04; letter-spacing: -.04em; }
.connected__viz { position: relative; aspect-ratio: 4 / 3; }
.connected__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.connected__lines path { fill: none; stroke: var(--blue-2); stroke-width: 1.5; stroke-dasharray: 5 7; animation: dash 1.4s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -24; } }
.cv-hub { position: absolute; left: 50%; top: 50%; width: 96px; height: 96px; margin: -48px; border-radius: 28px; background: var(--navy); display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(103, 142, 229, .12), 0 30px 60px -20px rgba(16, 22, 36, .6); }
.cv-hub .mark3 { width: 44px; gap: 5px; }
.cv-hub .mark3 i { height: 8px; border-radius: 2px; }
.cv-node { position: absolute; width: 64px; height: 64px; margin: -32px; border-radius: 20px; background: #fff; display: grid; place-items: center; color: var(--navy); box-shadow: var(--shadow-card), 0 0 0 1px var(--border); }
.cv-node .ic { width: 28px; height: 28px; }
.cv-node .wa-glyph { width: 30px; height: 30px; }
.cv-node--crm { left: 17.5%; top: 16.7%; }
.cv-node--wa { left: 85%; top: 50%; }
.cv-node--web { left: 17.5%; top: 83.3%; }
.connected__cols { list-style: none; margin: 72px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.connected__cols li { display: grid; gap: 10px; padding: 28px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-card), 0 0 0 1px var(--border); }
.connected__cols p { color: var(--muted); }
.connected__ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--tint); color: var(--blue-1); margin-bottom: 6px; }
.connected__ic .wa-glyph { width: 28px; height: 28px; }

.news__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.news-card { position: relative; display: grid; grid-template-columns: 220px 1fr; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-card), 0 0 0 1px var(--border); overflow: hidden; height: 100%; transition: transform .4s var(--ease-expo), box-shadow .4s; }
.news-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(16, 22, 36, .45), 0 0 0 1px #d3dcee; }
.news-card__art { position: relative; background: radial-gradient(80% 80% at 50% 30%, #22345A, #0B1020); display: grid; place-items: center; color: #fff; min-height: 200px; }
.news-card__art--dex { background: radial-gradient(80% 80% at 50% 40%, rgba(37, 211, 102, .25), #0B1020 70%); }
.nca-box { width: 72px; height: 72px; border-radius: 20px; display: grid; place-items: center; background: rgba(103, 142, 229, .2); border: 1px solid rgba(103, 142, 229, .5); box-shadow: 0 0 40px rgba(103, 142, 229, .4); }
.nca-box .ic { width: 36px; height: 36px; }
.nca-line { position: absolute; bottom: 18px; left: 12px; right: 12px; padding: 7px 10px; border-radius: 10px; background: #fff; color: var(--navy); font-size: 11.5px; }
.news-card__body { padding: 26px 28px; display: grid; gap: 12px; align-content: start; }
.news-card__tags { display: flex; gap: 8px; flex-wrap: wrap; }
.news-card h3 a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .35s var(--ease-out); }
.news-card:hover h3 a { background-size: 100% 1.5px; }

.faq-sec__grid { display: grid; grid-template-columns: 1fr 1.8fr; gap: 48px; align-items: start; }
.faq-sec .shead { position: sticky; top: calc(var(--header-h) + 32px); }

/* ------------------------------------------------------------ fallbacks: no WebGL / reduced motion
   sections paint their own water colors (brief 5.7: water colors step per section) */
.no-world .hero, .rm .hero { background: transparent; }
.no-world .waterline, .rm .waterline { height: auto; background: linear-gradient(180deg, transparent, var(--water-line) 45%); padding: 18vh 0 14vh; }
.no-world .waterline__pin, .rm .waterline__pin { position: relative; height: auto; }
.no-world .waterline__title--a, .rm .waterline__title--a { color: #fff; }
.no-world .layer, .rm .layer { height: auto; padding-bottom: 12vh; }
.no-world .layer__gap, .rm .layer__gap { height: 18vh; }
.no-world .layer__pin, .rm .layer__pin { position: relative; height: auto; }
.no-world #layer-0, .rm #layer-0 { background: var(--water-0); }
.no-world #layer-1, .rm #layer-1 { background: var(--water-1); }
.no-world #layer-2, .rm #layer-2 { background: var(--water-2); }
.no-world #layer-3, .rm #layer-3 { background: var(--water-3); }
.no-world #layer-4, .rm #layer-4 { background: var(--water-4); }
.no-world .burst, .rm .burst { height: auto; background: #0a0f1c; }
.no-world .burst__pin, .rm .burst__pin { position: relative; height: auto; padding: 16vh 0; }
.no-world .burst__inner, .rm .burst__inner { gap: 64px; }
.no-world .burst__a, .no-world .burst__b, .rm .burst__a, .rm .burst__b { grid-area: auto; opacity: 1 !important; }
.no-world .flow, .rm .flow { height: auto; background: radial-gradient(60% 60% at 50% 50%, #1A2744, var(--water-deep)); }
.no-world .flow__pin, .rm .flow__pin { position: relative; height: auto; }
.no-world .flow__inner, .rm .flow__inner { gap: 56px; padding-bottom: var(--section-y); }
.no-world .flow__end, .rm .flow__end { opacity: 1; transform: none; }
.no-world .gauge-m, .rm .gauge-m { display: none; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1180px) {
  .seats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-card { grid-template-columns: 1fr; }
  .news-card__art { min-height: 160px; }
}
@media (max-width: 1023px) {
  .hero { align-items: flex-start; padding-top: calc(var(--header-h) + 40px); padding-bottom: 60vh; min-height: 0; }
  .hero::before { background: linear-gradient(180deg, rgba(5, 8, 16, .7) 0%, rgba(5, 8, 16, .35) 42%, transparent 60%); }
  .hero__floors { position: absolute; inset-inline-end: auto; inset-inline-start: 50%; transform: translateX(-50%); bottom: auto; top: calc(100% + 34vh); align-items: center; display: none; }
  .hero__cue { bottom: 18px; font-size: 14px; }
  .layer { height: auto; padding-bottom: 8vh; }
  .layer__gap { height: 34vh; }
  .layer__chapter b { font-size: 120px; }
  .layer__pin { position: relative; height: auto; padding: 0; display: block; }
  .layer__inner { grid-template-columns: 1fr; gap: 26px; margin-inline: 12px; width: auto; padding: 26px 20px 24px; border-radius: 28px; }
  .layer--light .layer__inner { background: rgba(255, 255, 255, .5); border: 1px solid rgba(255, 255, 255, .7); backdrop-filter: saturate(140%) blur(16px); -webkit-backdrop-filter: saturate(140%) blur(16px); box-shadow: 0 30px 60px -40px rgba(16, 22, 36, .4); }
  .layer--dark .layer__inner { background: rgba(11, 16, 32, .42); border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: saturate(140%) blur(16px); -webkit-backdrop-filter: saturate(140%) blur(16px); }
  .layer--dex .layer__inner { grid-template-columns: 1fr; }
  .layer__title { margin: 20px 0 18px; }
  .layer__media { margin-inline: -8px; }
  .layer--dex .media-panel { height: auto; aspect-ratio: auto; }
  .layer--dex .media-panel__inner { position: relative; }
  .layer--dex .mp-fill { position: relative; }
  .layer--dex .mp { position: relative; }
  .mp-dex { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 8px 44px; gap: 14px; align-items: flex-start; scrollbar-width: none; }
  .mp-dex::-webkit-scrollbar { display: none; }
  .mp-dex__col { scroll-snap-align: center; }
  .mp-dex__col:nth-child(2) { transform: none; }
  .mp-dex .phone { --w: 230px; }
  .mp-groups { position: relative; min-height: 420px; }
  .burst { height: 220vh; margin-top: 45vh; }
  .waterline { height: 170vh; }
  .waterline__title { font-size: clamp(48px, 14vw, 72px); }
  .flow { height: auto; }
  .flow__pin { position: relative; height: auto; }
  .flow__inner { gap: 40px; padding-top: 20vh; padding-bottom: 14vh; }
  .world-live .flow-diagram { position: static !important; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; }
  .flow-labels { display: none; }
  .flow-diagram { flex-direction: column; align-items: flex-start; gap: 0; padding-inline-start: 4px; }
  .fd-link { padding: 10px 0 10px 16px; border-inline-start: 1px solid var(--blue-3); margin-inline-start: 16px; }
  .fd-link::before { display: none; }
  .fd-back { margin-top: 18px; }
  .js.world-live:not(.rm) .flow__end { opacity: 1; transform: none; }
  .seats__rise { height: 40vh; }
  .connected__grid { grid-template-columns: 1fr; }
  .connected__viz { max-width: 420px; width: 100%; margin-inline: auto; }
  .connected__cols { grid-template-columns: 1fr; margin-top: 40px; }
  .faq-sec__grid { grid-template-columns: 1fr; gap: 24px; }
  .faq-sec .shead { position: static; margin-bottom: 0; }
}
@media (max-width: 767px) {
  .hero__title { font-size: clamp(42px, 12.4vw, 58px); }
  .hero__copy { gap: 20px; }
  .hero__actions .btn { --h: 52px; padding-inline: 22px; font-size: 15px; }
  .layer .media-panel { container-type: size; }
  .burst__num { font-size: clamp(120px, 44vw, 200px); }
  .burst__cap { flex-direction: column; font-size: 17px; }
  .burst__bubble { font-size: 15px; }
  .seats__grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-inline: calc(var(--margin) * -1); padding: 4px var(--margin) 20px; scrollbar-width: none; }
  .seats__grid::-webkit-scrollbar { display: none; }
  .seats__grid > li { flex: 0 0 82%; scroll-snap-align: start; }
  .news__list { grid-template-columns: 1fr; }
  .projcard .chips { display: none; }
}

/* ------------------------------------------------------------ polish: "lights out" Before panels (director note 2)
   The home's Before compositions are a dim graphite desk under one lamp: grayscale paper, tilted files with real
   shadows, film grain, and the red Before tag. The With state then wipes in bright and in colour. */
.layer .mp--before { background:
    radial-gradient(60% 70% at 30% 18%, rgba(255, 255, 255, .34), transparent 70%),
    radial-gradient(130% 110% at 40% 30%, #8B919B 0%, #5F656F 48%, #353940 100%); }
.layer .mp--before::after { opacity: .9; mix-blend-mode: overlay;
  background: radial-gradient(120% 100% at 45% 35%, transparent 45%, rgba(8, 10, 14, .55)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.layer .mp--before .win, .layer .mp--before .loose, .layer .mp--before .wa-q, .layer .mp--before .phone {
  box-shadow: 0 1.6em 2.8em -1.2em rgba(0, 0, 0, .7), 0 .3em .6em rgba(0, 0, 0, .18), 0 0 0 1px rgba(0, 0, 0, .06); }
.layer .mp--before .mp-tag { top: 5%; inset-inline-start: 4%; box-shadow: 0 .8em 1.8em -.6em rgba(0, 0, 0, .6); }
/* tilt everything a little, like files dropped on a desk */
.layer .mp-pdf__win { transform: rotate(-1.5deg); top: 15%; }
.layer .mp-drive__win { transform: rotate(-2deg); top: 16%; left: 6%; }
.layer .mp-drive__group { transform: rotate(2.5deg); top: 26%; }
.layer .mp-drive__gname { background: rgba(255, 255, 255, .9); box-shadow: 0 .6em 1.4em -.6em rgba(0, 0, 0, .5); }
.layer .mp-sheet__win { transform: rotate(-1.5deg); top: 16%; }
.layer .mp-void__phone { transform: rotate(-4deg); top: 9%; }
.layer .mp-void__q { top: 16%; }
.layer .mp-void__q span { color: rgba(255, 255, 255, .88); text-shadow: 0 .1em 1em rgba(0, 0, 0, .35); }
.layer .mp-void__q span:nth-child(2) { color: rgba(255, 255, 255, .62); }
.layer .mp-void__q span:nth-child(3) { color: rgba(255, 255, 255, .42); }
.layer .loose--1 { top: 17%; left: 2.5%; }
.layer .mp-groups .phone { transform: translate(-50%, -50%) rotate(-3deg); }
/* the extra scattered pieces */
.mp-x { position: absolute; z-index: 3; }
.mp-x--d1 { left: 8%; bottom: 9%; transform: rotate(4deg); }
.mp-x--d2 { right: 6%; bottom: 13%; transform: rotate(-5deg); }
.mp-x--d3 { left: 41%; bottom: 7%; }
.mp-x--v1 { right: 7%; bottom: 12%; transform: rotate(3deg); }
.mp-x--g1 { left: 5%; top: 24%; transform: rotate(-5deg); }
.mp-x--g2 { right: 5%; top: 16%; transform: rotate(4deg); }
.mp-x--g3 { left: 7%; bottom: 14%; transform: rotate(3deg); }
.mp-x--g4 { top: auto; right: 9%; bottom: 16%; transform: rotate(-6deg); line-height: 1.3; }
.mp-ntf { width: 2.3em; height: 2.3em; border-radius: 50%; display: grid; place-items: center; flex: none; background: #7d8594; color: #fff; font-size: .78em; font-weight: 500; }
.mp-ntf .ic { width: 1.3em; height: 1.3em; }
.mp-stamp { padding: .35em .8em; border: .18em solid rgba(255, 255, 255, .85); border-radius: .4em; color: rgba(255, 255, 255, .9); font-family: var(--font-display); font-weight: 500; font-size: 1.5em; letter-spacing: .08em; text-transform: uppercase; transform: rotate(-12deg); opacity: .8; }
@media (max-width: 767px) {
  .layer .mp-drive__win { top: 12%; }
  .layer .mp-void__phone { transform: translateX(-50%) rotate(-3deg); top: 10%; }
  .layer .mp-groups .phone { transform: translate(-50%, -50%) rotate(-2deg); }
  .mp-x--d1, .mp-x--d3, .mp-x--g3, .mp-x--g4 { display: none; }
  .mp-x--d2 { top: 56%; bottom: auto; }
  .mp-x--v1 { right: 4%; bottom: 5%; font-size: .9em; }
  .mp-x--g1 { top: 6%; left: 3%; z-index: 4; font-size: .85em; }
  .mp-x--g2 { top: auto; bottom: 6%; right: 3%; z-index: 4; font-size: .85em; }
}
/* polish: at 1024–1199 the hero copy is narrower so the lede never runs into the tower */
@media (min-width: 1024px) and (max-width: 1199px) { .hero__copy { max-width: 520px; } .hero__sub { max-width: 27em; font-size: 18px; } }
/* polish: the three Dex phones read top-down (first bubbles right under the header), so a phone that is only
   half in view already shows the conversation instead of an empty wallpaper */
.mp-dex .chat__body { justify-content: flex-start; }
