/* Homepage top: nav, hero, decorative rail and the Virtual Environment section (redesign preview, 2026-10-09).
   Loaded only by site/index.html, after home.css. Same Figtree + Meta-blue tokens; layout, texture and motion only.
   Direction A "Editorial dark" is the default. Direction B "Spotlight glass" is scoped under
   html[data-hero-variant="b"] (home.js sets it for ?v=b) so both can be compared from one build.
   Motion: transforms/opacity only; pointer effects read --mx/--my that home.js already sets on .hero
   (fine pointers, motion allowed). Everything settles to a clean static layout under prefers-reduced-motion. */

:root { --hx-edge: max(8px, calc(50% - var(--max) / 2 + 4px)); }
@property --hxa { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

/* ================================================================== A: Editorial dark (default) */

/* ---- Nav: hairline, quiet links with a sliding underline, squarer CTAs ---- */
.nav-row { height: 64px; }
.brand { font-size: 17px; letter-spacing: -.03em; }
.nav-links { gap: 2px; }
.nav-links > a, .nav-drop > a { position: relative; background: none !important; color: var(--muted); }
.nav-links > a::after, .nav-drop > a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav-drop > a::after { right: 4px; }
.nav-links > a:hover::after, .nav-drop > a:hover::after { transform: scaleX(1); }
.nav.scrolled { background: rgba(20,21,22,.72); }
.nav-actions .btn-primary, .hero .btn-primary, .office .btn-primary { border-radius: 12px; box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 1px 0 rgba(0,0,0,.4); }
.hero .btn-primary:hover, .office .btn-primary:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 14px 34px -14px rgba(8,102,255,.7); }
.nav-menu-btn { border-radius: 12px; }

/* ---- Background: fine grid, column rules, grain, a light travelling down the left rule ---- */
.hero-glow { display: none; }
.hx-bg { position: absolute; inset: -64px 0 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hx-bg i { position: absolute; inset: 0; display: block; }
.hx-grid {
  background:
    linear-gradient(to right, rgba(255,255,255,.07), rgba(255,255,255,.07)) var(--hx-edge) 0 / 1px 100% no-repeat,
    linear-gradient(to right, rgba(255,255,255,.07), rgba(255,255,255,.07)) calc(100% - var(--hx-edge)) 0 / 1px 100% no-repeat,
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 100% 64px,
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 64px 100%;
  -webkit-mask-image: radial-gradient(120% 80% at 70% 30%, #000 30%, transparent 78%);
          mask-image: radial-gradient(120% 80% at 70% 30%, #000 30%, transparent 78%);
}
.hx-beam { left: var(--hx-edge) !important; right: auto !important; width: 1px; overflow: hidden; }
.hx-beam::before { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 180px; background: linear-gradient(transparent, var(--blue-text), transparent); transform: translateY(-200px); animation: hxBeam 7s cubic-bezier(.5,0,.3,1) 1.2s infinite; }
@keyframes hxBeam { 0% { transform: translateY(-200px); } 60%, 100% { transform: translateY(1100px); } }
.hx-grain { opacity: .07; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hx-bg::after { content: ""; position: absolute; right: -10%; top: -10%; width: 70%; height: 90%; background: radial-gradient(closest-side, rgba(24,119,242,.10), transparent); transform: translate3d(calc(var(--mx, 0) * 26px), calc(var(--my, 0) * 18px), 0); transition: transform 1.2s var(--ease); }

/* ---- Copy: label instead of pill, tighter headline, ruled meta row ---- */
.hero { padding-top: clamp(28px, 5vw, 64px); }
@media (min-width: 980px) { .hero-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 56px; } }
.hero .eyebrow { padding: 0; border: 0; border-radius: 0; background: none; gap: 12px; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hero .eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--blue-text); order: -1; }
.hero .eyebrow .pulse-dot { order: 2; width: 6px; height: 6px; }
.hero h1 { font-size: clamp(44px, 11.8vw, 84px); line-height: .95; letter-spacing: -.05em; margin-top: 22px; font-weight: 820; }
.hero h1 em { margin-top: .04em; }
.hx-w { display: inline-block; }
.js .hero h1 .hx-w { animation: hxWord .95s var(--ease) both; animation-delay: calc(120ms + var(--w) * 55ms); }
@keyframes hxWord { from { opacity: .01; transform: translateY(.42em) rotate(2deg); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.js .hero h1.load { animation: none; opacity: 1; transform: none; }
/* light sweep travelling word to word across the blue line */
.hero h1 em .hx-w { color: transparent; -webkit-background-clip: text; background-clip: text;
  background-image: linear-gradient(100deg, var(--blue-fb) 0 40%, #9cc6ff 50%, var(--blue-fb) 60% 100%); background-size: 300% 100%; background-position: 100% 0; }
.js .hero h1 em .hx-w { animation: hxWord .95s var(--ease) both, hxSweep 7s ease-in-out infinite; animation-delay: calc(120ms + var(--w) * 55ms), calc(1.6s + (var(--w) - 3) * 120ms); }
@keyframes hxSweep { 0% { background-position: 100% 0; } 22%, 100% { background-position: 0 0; } }
.hero .lede { font-size: clamp(17px, 2.2vw, 19px); line-height: 1.55; max-width: 31em; margin-top: 22px; }
.hero .ctas { margin-top: 28px; }
.hero-note { font-size: 14px; color: var(--muted); max-width: 36em; }
.hero-meta { margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line); gap: 0; max-width: 520px; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; }
.hero-meta i { display: none; }
.hero-meta span { padding: 0 18px; border-left: 1px solid var(--line-2); font-size: 13.5px; white-space: nowrap; }
.hero-meta span:first-of-type { padding-left: 0; border-left: 0; }
@media (max-width: 400px) { .hero-meta span { padding: 0 10px; font-size: 12.5px; } }

/* ---- Demo frame: crop marks, pointer tilt, layered sheet and floor reflection ---- */
.hero-stage { perspective: 1600px; }
.hero-halo, .hero.is-working .hero-halo { width: calc(100% + 36px); max-width: 496px; height: 576px; aspect-ratio: auto; border-radius: 0; top: 0; transform: translate(-50%, -18px); background:
    linear-gradient(var(--blue-text), var(--blue-text)) 0 0 / 14px 1px no-repeat, linear-gradient(var(--blue-text), var(--blue-text)) 0 0 / 1px 14px no-repeat,
    linear-gradient(var(--muted), var(--muted)) 100% 0 / 14px 1px no-repeat, linear-gradient(var(--muted), var(--muted)) 100% 0 / 1px 14px no-repeat,
    linear-gradient(var(--muted), var(--muted)) 0 100% / 14px 1px no-repeat, linear-gradient(var(--muted), var(--muted)) 0 100% / 1px 14px no-repeat,
    linear-gradient(var(--blue-text), var(--blue-text)) 100% 100% / 14px 1px no-repeat, linear-gradient(var(--blue-text), var(--blue-text)) 100% 100% / 1px 14px no-repeat; }
.hero-halo::after { inset: 18px; border-radius: 26px; border: 0; background: repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 1px, transparent 1px 9px); transform: translate(14px, 14px); }
.hd { transform-style: preserve-3d; transform: rotateY(calc(var(--mx, 0) * -7deg)) rotateX(calc(var(--my, 0) * 6deg)); transition: transform 1s var(--ease); }
.hero-mascot.hm, .hero.is-working .hero-mascot.hm { box-shadow: 0 0 0 1px rgba(255,255,255,.09), inset 0 1px 0 rgba(255,255,255,.06), 0 60px 120px -50px rgba(0,0,0,1), 0 24px 50px -30px rgba(0,0,0,.8); }
.hd::after { content: ""; position: absolute; left: 8%; right: 8%; bottom: -46px; height: 40px; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(24,119,242,.28), transparent); filter: blur(10px); opacity: .7; transition: opacity .8s; }
.hero.is-working .hd::after { opacity: 1; }
/* demo beats as a timed progress rail (same labels; the active beat fills and turns bright) */
.hd-steps { margin-top: 28px; gap: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; max-width: 460px; }
.hd-steps li { position: relative; height: auto; padding: 12px 0 0; border: 0; border-radius: 0; background: none !important; box-shadow: none !important; text-decoration: none !important; justify-content: flex-start; font-size: 12.5px; letter-spacing: .01em; }
.hd-steps li + li { padding-left: 12px; }
.hd-steps li::before, .hd-steps li::after { content: ""; position: absolute; left: 0; right: 6px; top: 0; height: 2px; border-radius: 2px; background: var(--line-2); }
.hd-steps li + li::before, .hd-steps li + li::after { left: 12px; }
.hd-steps li::after { background: var(--blue-fb); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.hd-steps i { display: none; }
.hero-stage[data-step="chat"] .hd-steps [data-s="chat"]::after { transform: scaleX(1); transition: transform 3.4s linear; }
.hero-stage[data-step="viewer"] .hd-steps [data-s="viewer"]::after { transform: scaleX(1); transition: transform 2.4s linear; }
.hero-stage[data-step="office"] .hd-steps [data-s="office"]::after { transform: scaleX(1); transition: transform 8.4s linear; }
.hd-ctrl { margin-top: 10px; justify-content: flex-start; width: 100%; }
.hd-cap { font-size: 12px; color: var(--faint); }

/* ---- Rail: a slow marquee of what the app does, between hero and the office ---- */
.hx-rail { position: relative; overflow: hidden; margin-top: clamp(20px, 4vw, 40px); border-block: 1px solid var(--line); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.hx-rail-track { display: flex; width: max-content; animation: hxRail 48s linear infinite; }
.hx-rail ul { display: flex; flex: none; }
.hx-rail li { display: inline-flex; align-items: center; gap: 28px; padding: 18px 0 18px 28px; color: var(--faint); font-size: 14px; font-weight: 600; letter-spacing: .02em; white-space: nowrap; }
.hx-rail li::after { content: ""; width: 5px; height: 5px; background: var(--line-2); transform: rotate(45deg); }
.hx-rail:hover .hx-rail-track { animation-play-state: paused; }
@keyframes hxRail { to { transform: translateX(-50%); } }

/* ---- Virtual Environment section: editorial left head, scroll-linked unmasking of the big render ---- */
.office { padding-top: clamp(56px, 9vw, 112px); }
@media (min-width: 980px) {
  .office .head.center { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 56px; max-width: none; text-align: left; align-items: end; }
  .office .head.center .kicker { grid-column: 1 / -1; }
  .office .head.center .sub { margin: 0; justify-self: end; max-width: 30em; }
}
.office .kicker { display: flex; align-items: center; gap: 12px; letter-spacing: .14em; }
.office .head.center .kicker { justify-content: center; }
@media (min-width: 980px) { .office .head.center .kicker { justify-content: flex-start; } }
.office .new-pill { margin: 0; padding: 0 0 0 12px; border-radius: 0; background: none; color: var(--text); border-left: 1px solid var(--line-2); order: 2; }
.office h2 { letter-spacing: -.045em; font-size: clamp(34px, 7.4vw, 64px); line-height: .98; }
.office-stage { --p: 1; clip-path: inset(calc((1 - var(--p)) * 7%) calc((1 - var(--p)) * 9%) round calc(22px + (1 - var(--p)) * 30px)); transform: scale(calc(.96 + var(--p) * .04)); transition: clip-path .2s linear, transform .2s linear; border-color: var(--line); box-shadow: 0 60px 140px -60px rgba(0,0,0,.9); }
.js .office-stage[data-reveal] { opacity: 1; transform: scale(calc(.96 + var(--p) * .04)); }
.office-stage img { transform: scale(calc(1.12 - var(--p) * .12)); transition: transform .2s linear; }
.office-chip { border-radius: 8px; background: rgba(20,21,22,.78); }
.office-play { border-radius: 16px; }
.office-card { padding: 0 0 8px; background: none; border: 0; border-radius: 0; border-top: 1px solid var(--line-2); padding-top: 14px; }
.office-card .office-shot { border-radius: 10px; }
.office-card .office-shot img { transition: transform 1.2s var(--ease); }
.office-card:hover .office-shot img { transform: scale(1.04); }
.office-card h3 { margin: 16px 0 0; }
.office-card p { margin: 6px 0 0; }

@media (max-width: 979px) {
  .hero-halo { display: none; }
  .hd { transform: none; }
  .hd-steps, .hd-ctrl { max-width: 460px; margin-inline: auto; }
}
/* reduced motion hides the beat rail: keep the caption clear of the frame decoration */
@media (min-width: 980px) { .hero-stage.is-static .hd-ctrl { margin-top: 36px; } }

/* ================================================================== B: Spotlight glass (?v=b) */
html[data-hero-variant="b"] {
  --b-glass: rgba(36,37,38,.55);
  --b-edge: rgba(255,255,255,.10);
}
html[data-hero-variant="b"] body { background: #141517; }

/* nav: floating glass capsule */
html[data-hero-variant="b"] .nav { padding-top: 10px; background: none !important; border-bottom-color: transparent !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
html[data-hero-variant="b"] .nav-row { height: 56px; padding: 0 10px 0 16px; max-width: calc(var(--max) - 2 * var(--gutter) + 20px); width: calc(100% - 2 * var(--gutter) + 20px); margin: 0 auto; border-radius: 18px; border: 1px solid transparent; transition: background-color .35s, border-color .35s, box-shadow .35s; }
@media (max-width: 719px) { html[data-hero-variant="b"] .nav-row { width: calc(100% - 16px); padding: 0 8px 0 12px; } }
html[data-hero-variant="b"] .nav.scrolled .nav-row, html[data-hero-variant="b"] .nav.menu-open .nav-row { background: rgba(28,29,31,.72); border-color: var(--b-edge); box-shadow: 0 20px 50px -24px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.05); backdrop-filter: saturate(150%) blur(18px); -webkit-backdrop-filter: saturate(150%) blur(18px); }
html[data-hero-variant="b"] .nav-links > a::after, html[data-hero-variant="b"] .nav-drop > a::after { display: none; }
html[data-hero-variant="b"] .nav-links > a:hover, html[data-hero-variant="b"] .nav-drop > a:hover { color: var(--text); background: rgba(255,255,255,.06) !important; }
html[data-hero-variant="b"] .nav-actions .btn-primary, html[data-hero-variant="b"] .hero .btn-primary, html[data-hero-variant="b"] .office .btn-primary { border-radius: 999px; background: linear-gradient(180deg, #2a7fff, var(--sh-blue)); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 0 0 1px rgba(8,102,255,.6), 0 12px 30px -12px rgba(8,102,255,.7); }
html[data-hero-variant="b"] .nav-menu-btn { border-radius: 999px; }

/* background: dot field lit by a pointer spotlight, soft aurora at the top edge */
html[data-hero-variant="b"] .hx-grid { background: radial-gradient(rgba(255,255,255,.16) 1px, transparent 1.4px) 0 0 / 22px 22px;
  -webkit-mask-image: radial-gradient(420px 320px at calc((var(--mx, .1) + .5) * 100%) calc((var(--my, -.1) + .5) * 100%), #000, transparent 70%), linear-gradient(rgba(0,0,0,.25), transparent 85%);
          mask-image: radial-gradient(420px 320px at calc((var(--mx, .1) + .5) * 100%) calc((var(--my, -.1) + .5) * 100%), #000, transparent 70%), linear-gradient(rgba(0,0,0,.25), transparent 85%); }
html[data-hero-variant="b"] .hx-beam { left: 0 !important; right: 0 !important; width: auto; height: 520px; }
html[data-hero-variant="b"] .hx-beam::before { width: 140%; height: 100%; left: -20%; top: -60%; transform: none; animation: hxAurora 18s ease-in-out infinite alternate;
  background: conic-gradient(from 200deg at 50% 100%, transparent, rgba(24,119,242,.22) 30deg, rgba(69,153,255,.08) 70deg, transparent 110deg, rgba(8,102,255,.16) 160deg, transparent 220deg); filter: blur(50px); }
@keyframes hxAurora { from { transform: translateX(-6%) rotate(-2deg); } to { transform: translateX(6%) rotate(2deg); } }
html[data-hero-variant="b"] .hx-bg::after { width: 900px; height: 900px; right: auto; top: auto; left: calc((var(--mx, .15) + .5) * 100% - 450px); top: calc((var(--my, -.15) + .5) * 100% - 450px); transform: none; transition: left .6s var(--ease), top .6s var(--ease);
  background: radial-gradient(closest-side, rgba(24,119,242,.12), transparent 70%); }
html[data-hero-variant="b"] .hx-grain { opacity: .05; }

/* copy: glass status chip, silver headline with a blue line, blur-in words */
html[data-hero-variant="b"] .hero .eyebrow { padding: 6px 14px 6px 10px; border-radius: 999px; border: 1px solid var(--b-edge); background: rgba(255,255,255,.04); letter-spacing: .02em; text-transform: none; font-weight: 600; font-size: 13px; color: var(--text); box-shadow: inset 0 1px 0 rgba(255,255,255,.06); backdrop-filter: blur(8px); }
html[data-hero-variant="b"] .hero .eyebrow::before { display: none; }
html[data-hero-variant="b"] .hero .eyebrow .pulse-dot { order: 0; }
html[data-hero-variant="b"] .hero h1 { letter-spacing: -.05em; line-height: .98; }
html[data-hero-variant="b"] .hero h1 > .hx-w { color: transparent; -webkit-background-clip: text; background-clip: text; background-image: linear-gradient(180deg, #fff 20%, #aab1bd 110%); }
html[data-hero-variant="b"] .hero h1 em .hx-w { background-image: linear-gradient(100deg, #1877F2 0 38%, #b3d4ff 50%, #1877F2 62% 100%); }
@keyframes hxWordB { from { opacity: .01; transform: translateY(.18em) scale(.98); filter: blur(14px); } to { opacity: 1; transform: none; filter: none; } }
html[data-hero-variant="b"].js .hero h1 > .hx-w { animation-name: hxWordB; }
html[data-hero-variant="b"].js .hero h1 em .hx-w { animation-name: hxWordB, hxSweep; }
html[data-hero-variant="b"] .hero-meta { border-top: 0; padding-top: 0; display: flex; gap: 8px; }
html[data-hero-variant="b"] .hero-meta span { padding: 6px 12px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.025); }
html[data-hero-variant="b"] .hero-meta span:first-of-type { padding-left: 12px; border-left: 1px solid var(--line); }

/* demo: glass chassis with a light running around its edge, deeper float + tilt */
html[data-hero-variant="b"] .hero-halo, html[data-hero-variant="b"] .hero.is-working .hero-halo { width: calc(100% + 28px); max-width: 488px; height: 568px; top: 0; transform: translate(-50%, -14px); border-radius: 34px; background: var(--b-glass); border: 1px solid var(--b-edge);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 80px 160px -60px rgba(0,0,0,1), 0 40px 120px -60px rgba(8,102,255,.35); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  transform-style: preserve-3d; transition: transform 1s var(--ease); transform: translate(-50%, -14px) rotateY(calc(var(--mx, 0) * -7deg)) rotateX(calc(var(--my, 0) * 6deg)); }
html[data-hero-variant="b"] .hero-halo::after { inset: -1px; border-radius: inherit; transform: none; padding: 1px; border: 0;
  background: conic-gradient(from var(--hxa), transparent 0 64%, rgba(69,153,255,.9) 76%, #fff 80%, rgba(69,153,255,.9) 84%, transparent 96%);
  -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);
  animation: hxSpin 6s linear infinite; }
@keyframes hxSpin { to { --hxa: 360deg; } }
html[data-hero-variant="b"] .hero-halo::before { content: ""; position: absolute; left: 10%; right: 10%; top: 100%; height: 120px; margin-top: 18px; border-radius: 50%; background: radial-gradient(closest-side, rgba(24,119,242,.25), transparent); filter: blur(18px); }
html[data-hero-variant="b"] .hd { transform: rotateY(calc(var(--mx, 0) * -7deg)) rotateX(calc(var(--my, 0) * 6deg)) translateZ(30px); }
html[data-hero-variant="b"] .hd::after { display: none; }
html[data-hero-variant="b"] .hero-mascot.hm { box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 30px 60px -30px rgba(0,0,0,.9); }
/* beats: a glass segmented control with a sliding thumb */
html[data-hero-variant="b"] .hd-steps { position: relative; margin-top: 30px; padding: 4px; border-radius: 14px; border: 1px solid var(--b-edge); background: rgba(255,255,255,.035); max-width: 440px; }
html[data-hero-variant="b"] .hd-steps::before { content: ""; position: absolute; left: 4px; top: 4px; bottom: 4px; width: calc((100% - 8px) / 3); border-radius: 10px; background: linear-gradient(180deg, rgba(24,119,242,.35), rgba(8,102,255,.18)); box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 0 0 1px rgba(69,153,255,.45); transition: transform .6s var(--ease); }
html[data-hero-variant="b"] .hero-stage[data-step="viewer"] .hd-steps::before { transform: translateX(100%); }
html[data-hero-variant="b"] .hero-stage[data-step="office"] .hd-steps::before { transform: translateX(200%); }
html[data-hero-variant="b"] .hd-steps li { z-index: 1; justify-content: center; padding: 9px 4px; white-space: nowrap; font-size: 12.5px; }
html[data-hero-variant="b"] .hd-steps li + li { padding-left: 4px; }
html[data-hero-variant="b"] .hd-steps li::before, html[data-hero-variant="b"] .hd-steps li::after { display: none; }
html[data-hero-variant="b"] .hd-ctrl { justify-content: center; max-width: 440px; }
@media (max-width: 400px) { html[data-hero-variant="b"] .hd-steps li { font-size: 11.5px; letter-spacing: -.01em; } }

/* rail: larger, dimmer words with blue nodes and a light sweep */
html[data-hero-variant="b"] .hx-rail { border-block: 0; margin-top: clamp(28px, 5vw, 56px); }
html[data-hero-variant="b"] .hx-rail::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 40%, rgba(255,255,255,.07) 50%, transparent 60%) 0 0 / 250% 100%; animation: hxRailSweep 6s ease-in-out infinite; pointer-events: none; }
@keyframes hxRailSweep { from { background-position: 120% 0; } to { background-position: -20% 0; } }
html[data-hero-variant="b"] .hx-rail li { font-size: clamp(18px, 2.4vw, 24px); font-weight: 700; letter-spacing: -.02em; color: rgba(228,230,235,.32); gap: 32px; padding-left: 32px; }
html[data-hero-variant="b"] .hx-rail li::after { width: 6px; height: 6px; border-radius: 50%; transform: none; background: var(--blue-fb); box-shadow: 0 0 12px rgba(24,119,242,.8); }

/* Virtual Environment: centered head, the big render tilts up into place as you scroll, cursor-lit cards */
html[data-hero-variant="b"] .office .head.center { display: block; text-align: center; max-width: 760px; }
html[data-hero-variant="b"] .office .head.center .kicker { justify-content: center; }
html[data-hero-variant="b"] .office .head.center .sub { margin: 16px auto 0; justify-self: auto; }
html[data-hero-variant="b"] .office .new-pill { padding: 3px 9px; border: 0; border-radius: 999px; background: var(--blue); color: #fff; order: 0; }
html[data-hero-variant="b"] .office .wrap { perspective: 1800px; }
html[data-hero-variant="b"] .office-stage { clip-path: none; transform-origin: 50% 0; transform: rotateX(calc((1 - var(--p)) * 22deg)) scale(calc(.9 + var(--p) * .1)); transition: transform .2s linear; border-color: var(--b-edge);
  box-shadow: 0 0 0 1px rgba(255,255,255,.04), 0 80px 160px -60px rgba(8,102,255,.35), 0 60px 120px -40px rgba(0,0,0,.9); }
html[data-hero-variant="b"].js .office-stage[data-reveal] { transform: rotateX(calc((1 - var(--p)) * 22deg)) scale(calc(.9 + var(--p) * .1)); }
html[data-hero-variant="b"] .office-stage img { transform: none; }
html[data-hero-variant="b"] .office-card { position: relative; padding: 10px 10px 22px; border: 1px solid var(--b-edge); border-radius: 22px; background: rgba(36,37,38,.5); overflow: hidden; isolation: isolate; }
html[data-hero-variant="b"] .office-card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(300px circle at var(--cx, 50%) var(--cy, 0%), rgba(24,119,242,.18), transparent 60%); }
html[data-hero-variant="b"] .office-card:hover::before { opacity: 1; }
html[data-hero-variant="b"] .office-card h3 { margin: 16px 8px 0; }
html[data-hero-variant="b"] .office-card p { margin: 6px 8px 0; }
html[data-hero-variant="b"] .office-chip, html[data-hero-variant="b"] .office-play { border-radius: 999px; }

/* Virtual Environment showcase (Vera 2026-10-14): the stage loop, status chips, a wide first card and "Also in the office" */
.office-loop { position: absolute; inset: 0; }
.office-loop picture, .office-loop video { display: block; width: 100%; height: 100%; }
.office-loop img, .office-loop video { width: 100%; height: 100%; object-fit: cover; }
.ve-status { display: grid; gap: 8px; margin: 18px auto 0; max-width: 1144px; }
@media (min-width: 720px) { .ve-status { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .ve-status { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 22px; } }
.ve-status li { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; padding: 12px 14px; border-radius: 14px; background: var(--b-glass, rgba(36,37,38,.55)); border: 1px solid var(--b-edge, rgba(255,255,255,.1)); color: var(--muted); font-size: 14px; line-height: 1.4; }
.ve-status li b { color: var(--text); font-weight: 700; }
.ve-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #8a8d91; transform: translateY(-1px); }
.ve-dot.amber { background: var(--amber); box-shadow: 0 0 10px rgba(247,185,40,.55); }
.ve-dot.blue { background: var(--blue-fb); box-shadow: 0 0 10px rgba(24,119,242,.6); }
.ve-dot.green { background: #31a24c; box-shadow: 0 0 10px rgba(49,162,76,.5); }
@media (min-width: 980px) {
  .ve-grid .ve-wide { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; }
  .ve-grid .ve-wide .office-shot { flex: 1; aspect-ratio: auto; min-height: 0; }
  .ve-grid .ve-wide h3 { font-size: 22px; }
}
.ve-more { margin-top: clamp(28px, 4vw, 44px); padding: clamp(18px, 3vw, 28px); border-radius: 22px; background: var(--b-glass, rgba(36,37,38,.55)); border: 1px solid var(--b-edge, rgba(255,255,255,.1)); }
.ve-more-title { margin: 0 0 14px; font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.ve-list { display: grid; gap: 14px 28px; }
@media (min-width: 640px) { .ve-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .ve-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ve-list li { display: grid; gap: 3px; padding-left: 16px; border-left: 2px solid rgba(24,119,242,.55); }
.ve-list li b { color: var(--text); font-size: 15px; font-weight: 700; }
.ve-list li span { color: var(--muted); font-size: 14.5px; line-height: 1.45; }
.more-list { max-width: 1144px; margin: clamp(22px, 3vw, 36px) auto 0; gap: 22px 32px; }
.more-list li { align-content: start; padding: 16px 18px; border-left: 0; border-radius: 16px; background: var(--b-glass, rgba(36,37,38,.55)); border: 1px solid var(--b-edge, rgba(255,255,255,.1)); box-shadow: inset 2px 0 0 rgba(24,119,242,.55); }
@media (max-width: 979px) { html[data-hero-variant="b"] .hero-halo { display: none; } html[data-hero-variant="b"] .hd { transform: none; } }

/* ================================================================== Reduced motion: one calm static layout */
@media (prefers-reduced-motion: reduce) {
  .hd, .hero-halo, html[data-hero-variant="b"] .hd, html[data-hero-variant="b"] .hero-halo { transform: none !important; }
  html[data-hero-variant="b"] .hero-halo { transform: translate(-50%, -14px) !important; }
  .hero-halo { transform: translate(-50%, -18px) !important; }
  .hx-beam, .hx-rail::after, .hero-halo::after { animation: none !important; }
  .hx-beam::before { display: none; }
  .hx-rail-track { animation: none !important; transform: none !important; }
  .hero h1 .hx-w { animation: none !important; opacity: 1; filter: none; transform: none; background-position: 100% 0; }
  .office-stage, .js .office-stage[data-reveal], html[data-hero-variant="b"] .office-stage, html[data-hero-variant="b"].js .office-stage[data-reveal] { clip-path: none; transform: none !important; }
  .office-stage img { transform: none !important; }
}
