/* saasyn.com/dcvr: DCVR by saasyn, the product page. Built like /dcos (sections, buttons, panels, reveals), in the DCVR violet. */
.vr { --navy: #080a16; --ink: #0b1220; --vio: #8b74ff; --lav: #c4b5fd; --deep: #6d4aff; --sky: #22d3ee; --dim: #a9b1c2; --mute: #6f7a90;
  --ln: rgba(154,163,181,.16); --ln2: rgba(154,163,181,.3); --glass: rgba(255,255,255,.025); --grad: linear-gradient(90deg, #6d4aff, #8b74ff 62%, #c4b5fd);
  --hd: 'Space Grotesk', sans-serif; --tx: 'Inter Tight', system-ui, sans-serif; --mono: 'Space Mono', ui-monospace, Menlo, monospace; }
.vr * { box-sizing: border-box; }
.vr-wrap { width: min(1240px, 100% - 48px); margin: 0 auto; }
.vr-sec { padding: 150px 0 0; position: relative; }
.vr-num { display: flex; align-items: center; gap: 12px; font: 600 .72rem var(--tx); letter-spacing: .2em; text-transform: uppercase; color: var(--lav); margin: 0 0 20px; }
.vr-num::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.vr-h { font-family: var(--hd); font-weight: 700; font-size: clamp(2.3rem, 5.2vw, 4.4rem); letter-spacing: -.045em; line-height: .98; margin: 0; color: #fff; text-wrap: balance; }
.vr-h em, .vr-hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vr-lead { color: var(--dim); font: 400 1.1rem/1.62 var(--tx); margin: 0; max-width: 60ch; text-wrap: pretty; }
.vr-btn { display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 24px; border-radius: 999px; border: 1px solid var(--ln2); background: rgba(255,255,255,.04);
  color: #fff; font: 600 .95rem var(--tx); text-decoration: none; cursor: pointer; transition: background .25s, border-color .25s, transform .25s, box-shadow .25s; }
.vr-btn:hover { background: rgba(255,255,255,.09); border-color: rgba(154,163,181,.5); transform: translateY(-2px); }
.vr-btn.go { background: var(--grad); color: #0d0730; border: 0; box-shadow: 0 14px 40px rgba(109,74,255,.32); }
.vr-btn.go:hover { box-shadow: 0 18px 50px rgba(109,74,255,.48); }
.vr-btn svg { width: 17px; height: 17px; flex: none; }
.vr-acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.vr-panel { border: 1px solid var(--ln); border-radius: 24px; background: var(--glass); }
.vr-rv { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1); }
.vr-rv.in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- the hero: both sides stay put while the page scrolls past;
   the scroll builds the data hall round the walker and takes it away again on the way back up */
.vr-hero { position: relative; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); height: 330vh; }
.vr-col, .vr-pin { position: relative; min-width: 0; }
.vr-tx { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center;
  padding: 96px 0 28px max(24px, (100vw - 1240px) / 2); z-index: 2; }
.vr-hero h1 { font-family: var(--hd); font-weight: 700; font-size: min(4.2rem, calc((47.5vw - max(24px, (100vw - 1240px) / 2) - 28px) / 8.6)); letter-spacing: -.05em; line-height: .97; margin: 0; color: #fff; }
.vr-hero h1 .l { display: block; white-space: nowrap; }
.vr-hero p { color: var(--dim); font: 400 1.07rem/1.6 var(--tx); margin: 20px 0 0; max-width: 31em; }

/* the three steps, lit one by one as the scroll goes */
.vr-steps { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 0; max-width: 30em; }
.vr-steps li { display: grid; grid-template-columns: 34px 1fr; gap: 4px 14px; padding: 10px 0; border-top: 1px solid var(--ln); opacity: .38; transition: opacity .5s; }
.vr-steps li:last-child { border-bottom: 1px solid var(--ln); }
.vr-steps li.on { opacity: 1; }
.vr-steps span { font: 500 .74rem/1.5 var(--mono); letter-spacing: .08em; color: var(--lav); padding-top: 2px; }
.vr-steps b { font: 600 1rem/1.35 var(--tx); color: #fff; }
.vr-steps i { grid-column: 2; font: 400 .9rem/1.5 var(--tx); color: var(--dim); font-style: normal; display: none; }
.vr-steps li.on i { display: block; }

.vr-scene { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.vr-scene svg.vr-world { position: absolute; inset: 0; width: 100%; height: 100%; display: block;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 92%, transparent 100%), linear-gradient(180deg, transparent 0, #000 16%, #000 90%, transparent 100%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 92%, transparent 100%), linear-gradient(180deg, transparent 0, #000 16%, #000 90%, transparent 100%); mask-composite: intersect; }
.vr-cap { display: none; }

/* the drawing */
.vr-world .floor { fill: rgba(255,255,255,.018); }
.vr-world .wall { fill: rgba(148,163,184,.04); stroke: none; }
.vr-world .ln { fill: none; stroke: var(--shell, rgba(203,213,225,.36)); stroke-width: 1.1; stroke-linejoin: round; stroke-linecap: round; }
.vr-world .ln.f { stroke-width: .8; opacity: .55; }
.vr-world .jt { fill: none; stroke: rgba(203,213,225,.13); stroke-width: .9; }
.vr-world .door { fill: rgba(148,163,184,.06); stroke: var(--shell, rgba(203,213,225,.36)); stroke-width: 1; }
.vr-world .slat { stroke: rgba(203,213,225,.14); stroke-width: .7; }
.vr-world .pal .t { fill: rgba(203,213,225,.10); stroke: rgba(203,213,225,.42); stroke-width: .9; stroke-linejoin: round; }
.vr-world .pal .s { fill: rgba(203,213,225,.05); stroke: rgba(203,213,225,.34); stroke-width: .9; stroke-linejoin: round; }
.vr-world .pal .w { stroke: rgba(203,213,225,.22); stroke-width: .7; }
.vr-world .tile { fill: none; stroke: rgba(139,116,255,.20); stroke-width: .8; }
.vr-world .ring { fill: none; stroke: #c4b5fd; stroke-width: 2; }
.vr-world .ring.g { stroke: rgba(139,116,255,.35); stroke-width: 9; filter: url(#vrBlur); }
.vr-world .rk .t { fill: rgba(139,116,255,.22); stroke: rgba(196,181,253,.8); stroke-width: .9; stroke-linejoin: round; }
.vr-world .rk .s { fill: rgba(109,74,255,.16); stroke: rgba(167,139,250,.62); stroke-width: .9; stroke-linejoin: round; }
.vr-world .rk .e { fill: rgba(34,211,238,.10); stroke: rgba(125,211,252,.7); stroke-width: .9; stroke-linejoin: round; }
.vr-world .rk .sep { stroke: rgba(196,181,253,.3); stroke-width: .6; }
.vr-world .rk .led { fill: #67e8f9; }
.vr-world .cont { fill: rgba(196,181,253,.07); stroke: rgba(196,181,253,.45); stroke-width: .8; stroke-linejoin: round; }
.vr-world .dr { fill: rgba(34,211,238,.06); stroke: rgba(125,211,252,.55); stroke-width: .9; stroke-linejoin: round; }
.vr-world .tray { fill: none; stroke: rgba(196,181,253,.5); stroke-width: .8; }
.vr-world .lite { stroke: #e9e3ff; stroke-width: 2.2; stroke-linecap: round; }
.vr-world .lite.g { stroke: rgba(139,116,255,.55); stroke-width: 10; filter: url(#vrBlur); }

/* decision markers on the scene (shown with the "Agreed before procurement" section) */
.vr-world .pins { opacity: 0; transition: opacity .5s; }
.vr-world.pins-on .pins { opacity: 1; }
.vr-world .pstem { stroke: rgba(196,181,253,.75); }
.vr-world .pdot { fill: #c4b5fd; }
.vr-world .phead { fill: #0b0f1f; stroke: #c4b5fd; transition: fill .4s; }
.vr-world .pnum { fill: #fff; font-family: 'Inter Tight', system-ui, sans-serif; font-weight: 600; text-anchor: middle; transition: opacity .3s; }
.vr-world .ptick { fill: none; stroke: #1a1040; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: opacity .3s .1s; }
.vr-world .pin.ok .phead { fill: #c4b5fd; }
.vr-world .pin.ok .pnum { opacity: 0; }
.vr-world .pin.ok .ptick { opacity: 1; }

/* the walker: one silhouette (far side darker, near side lighter) inside a single rim of light (filter #vrRim) */
.vr-world .me .far { fill: #0e1330; }
.vr-world .me .tor { fill: url(#vrBody); }
.vr-world .me .near { fill: #20284f; }
.vr-world .me .hs { stroke: rgba(233,227,255,.85); stroke-width: .5; stroke-linejoin: round; }
.vr-world .me .st { fill: none; stroke: #7c5cff; stroke-linecap: round; }
.vr-world .me .glow { fill: rgba(139,116,255,.85); filter: url(#vrGlow); }
.vr-world .me .sh { fill: rgba(0,0,0,.42); }

/* the rest of the page: on a desktop the scene stays fixed on the right for the whole page, everything after the hero
   runs down the left beside it, and the site footer slides up over the scene at the end, full width as on every page */
.vr-scene { pointer-events: none; }
.vr-rest { width: min(1240px, 100% - 48px); margin: 0 auto; }
.vr-end { margin: 120px 0 120px; padding: 56px 48px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; border-radius: 30px; position: relative; overflow: hidden; background: rgba(8,10,22,.82); }
.vr-end h2 { font: 700 clamp(2.2rem, 4.2vw, 3.6rem)/1 var(--hd); letter-spacing: -.045em; margin: 0 0 16px; color: #fff; position: relative; z-index: 1; }
.vr-end p { margin: 0; color: var(--dim); font: 400 1.08rem/1.6 var(--tx); max-width: 46ch; position: relative; z-index: 1; }
.vr-end .vr-acts { margin: 0; position: relative; z-index: 1; }
.vr-rest .vr-sec { padding-top: 130px; }
.vr-rest .vr-h { font-size: clamp(2rem, 3.2vw, 3.1rem); }
.vr-rest .vr-lead { margin-top: 18px; }
.vr-rv[data-d="1"] { transition-delay: .08s; } .vr-rv[data-d="2"] { transition-delay: .16s; } .vr-rv[data-d="3"] { transition-delay: .24s; } .vr-rv[data-d="4"] { transition-delay: .32s; }
.vr-sub { margin: 40px 0 14px; font: 500 .72rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }

/* in the headset: the views, then what you can do */
.vr-viewer { margin-top: 34px; }
.vr-view { position: relative; aspect-ratio: 1800 / 1022; border-radius: 18px; overflow: hidden; border: 1px solid var(--ln); background: #0d1222; }
.vr-vimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease; }
.vr-vimg.on { opacity: 1; }
.vr-hud { position: absolute; top: 14px; left: 14px; padding: 5px 9px; border-radius: 7px; background: rgba(8,10,22,.78); color: #fff; font: 600 .7rem/1 var(--mono); letter-spacing: .1em; }
.vr-vcap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; background: linear-gradient(180deg, transparent, rgba(5,7,16,.82)); color: #e7e9f0; font: 500 .86rem var(--tx); }
.vr-ths { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.vr-th { padding: 0; border: 1px solid var(--ln); border-radius: 8px; overflow: hidden; background: none; cursor: pointer; opacity: .5; transition: opacity .25s; aspect-ratio: 16 / 10; }
.vr-th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vr-th:hover, .vr-th.on { opacity: 1; }
.vr-can { list-style: none; margin: 0; padding: 0; }
.vr-can li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 15px 0; border-top: 1px solid var(--ln); }
.vr-can li:last-child { border-bottom: 1px solid var(--ln); }
.vr-can .ic, .vr-where .ic, .vr-cat .ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: rgba(139,116,255,.1); color: var(--lav); }
.vr-can .ic svg, .vr-where .ic svg, .vr-cat .ic svg { width: 21px; height: 21px; }
.vr-can b, .vr-flow b, .vr-where b { display: block; font: 600 1rem/1.35 var(--tx); color: #fff; }
.vr-can span:not(.ic), .vr-flow span:not(.n), .vr-where span:not(.ic) { display: block; margin-top: 3px; font: 400 .93rem/1.5 var(--tx); color: var(--dim); }

/* agreed before procurement: the steps, then the decisions as they are agreed */
.vr-flow { list-style: none; margin: 34px 0 0; padding: 0; position: relative; }
.vr-flow::before { content: ""; position: absolute; left: 15px; top: 10px; bottom: 10px; width: 1px; background: var(--ln2); }
.vr-flow li { position: relative; display: grid; grid-template-columns: 32px 1fr; gap: 16px; padding: 0 0 22px; }
.vr-flow .n { position: relative; z-index: 1; display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; background: #0b0f1f; border: 1px solid var(--ln2); color: var(--lav); font: 500 .68rem var(--mono); }
.vr-dec { margin-top: 18px; padding: 8px 22px 10px; background: rgba(8,10,22,.72); }
.vr-dec .hd { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0 12px; font: 500 .7rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.vr-dec .hd .cnt { color: var(--lav); letter-spacing: .06em; }
.vr-dec ol { list-style: none; margin: 0; padding: 0; }
.vr-dec li { display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 12px; padding: 13px 0; border-top: 1px solid var(--ln); }
.vr-dec .k { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--ln2); color: #fff; font: 600 .72rem var(--tx); transition: background .4s, border-color .4s, color .4s; }
.vr-dec .t { font: 500 .95rem/1.35 var(--tx); color: #fff; }
.vr-dec .st { position: relative; min-width: 76px; text-align: right; font: 500 .8rem var(--tx); }
.vr-dec .st i { font-style: normal; display: inline-flex; align-items: center; justify-content: flex-end; gap: 6px; transition: opacity .35s, transform .35s; }
.vr-dec .st .o { color: var(--mute); }
.vr-dec .st .o::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.vr-dec .st .a { position: absolute; right: 0; top: 0; color: var(--lav); opacity: 0; transform: translateY(6px); }
.vr-dec .st .a svg { width: 14px; height: 14px; }
.vr-dec li.ok .st .o { opacity: 0; transform: translateY(-6px); }
.vr-dec li.ok .st .a { opacity: 1; transform: none; }
.vr-dec li.ok .k { background: var(--lav); border-color: var(--lav); color: #1a1040; }

/* where */
.vr-wheres { margin-top: 30px; display: flex; flex-direction: column; gap: 12px; }
.vr-where { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 20px 22px; border: 1px solid var(--ln); border-radius: 18px; background: rgba(8,10,22,.6); }
.vr-where .soon, .vr-cat .soon { font-style: normal; margin-left: 10px; font: 500 .66rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--lav); vertical-align: 2px; }

/* built on DCOS */
.vr-dcos { margin-top: 30px; padding: 30px 28px; background: rgba(8,10,22,.6); }
.vr-dcos img { width: 210px; height: auto; display: block; }
.vr-dcos p { margin: 20px 0 0; color: var(--dim); font: 400 .98rem/1.55 var(--tx); }
.vr-dcos .vr-acts { margin-top: 22px; }

/* live 3D catalogues */
.vr-cat { margin-top: 30px; padding: 22px 24px; background: rgba(8,10,22,.6); }
.vr-cat ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
.vr-cat li { display: flex; align-items: center; gap: 12px; font: 500 .95rem var(--tx); color: #fff; }
.vr-cat .soon { display: block; margin: 18px 0 0; }

/* questions */
.vr-faq { margin-top: 30px; display: flex; flex-direction: column; gap: 10px; }
.vr-faq details { border: 1px solid var(--ln); border-radius: 16px; background: rgba(8,10,22,.6); padding: 0 22px; transition: background .25s; }
.vr-faq details[open] { background: rgba(255,255,255,.045); }
.vr-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 19px 0; font: 600 1rem var(--tx); color: #fff; }
.vr-faq summary::-webkit-details-marker { display: none; }
.vr-faq summary::after { content: "+"; font: 400 1.4rem var(--tx); color: var(--dim); transition: transform .3s; }
.vr-faq details[open] summary::after { transform: rotate(45deg); }
.vr-faq details p { margin: 0 0 19px; color: var(--dim); font: 400 .95rem/1.6 var(--tx); }

@media (min-width: 861px) {
  .vr-scene { position: fixed; top: 0; right: 0; width: 52.5vw; height: 100vh; z-index: 0; }
  .vr-col { z-index: 2; }
  .vr-rest { position: relative; z-index: 2; width: auto; margin: 0 calc(52.5vw + 24px) 0 max(24px, (100vw - 1240px) / 2); }
}

@media (min-width: 861px) and (max-height: 760px) {
  .vr-hero .dcvr-anim { width: min(340px, 70%); margin-bottom: 22px; }
  .vr-hero h1 { font-size: min(4rem, calc((47.5vw - max(24px, (100vw - 1240px) / 2) - 28px) / 8.6)); }
  .vr-hero p { font-size: 1rem; margin-top: 16px; }
  .vr-steps { margin-top: 20px; } .vr-steps li { padding: 8px 0; } .vr-acts { margin-top: 22px; }
}
@media (max-width: 860px) {
  .vr-hero h1 { font-size: min(3.4rem, calc((100vw - 48px) / 8.6)); }
  .vr-hero { display: block; height: auto; }
  .vr-tx { position: relative; height: auto; padding: 120px 24px 8px; }
  .vr-steps { display: none; }
  .vr-pin { height: 260vh; }
  .vr-scene { top: 0; height: 100svh; }
  .vr-cap { display: block; position: absolute; left: 20px; right: 20px; bottom: 26px; z-index: 3; padding: 14px 16px; border-radius: 14px; background: rgba(8,10,20,.82); border: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
  .vr-cap span { display: block; font: 500 .7rem/1.4 var(--mono); letter-spacing: .1em; color: var(--lav); }
  .vr-cap b { display: block; font: 600 1.02rem/1.3 var(--tx); color: #fff; margin-top: 4px; }
  .vr-cap i { display: block; font: 400 .9rem/1.45 var(--tx); color: var(--dim); font-style: normal; margin-top: 4px; }
  .vr-end { padding: 40px 26px; }
  .vr-rest .vr-sec { padding-top: 100px; }
  .vr-ths { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) { .vr-wrap { width: calc(100% - 32px); } .vr-tx { padding: 110px 16px 4px; } .vr-hero h1 { font-size: calc((100vw - 32px) / 8.6); } }
@media (prefers-reduced-motion: reduce) { .vr-rv { opacity: 1; transform: none; transition: none; } .vr-steps li { transition: none; } }

/* the logo builds itself on load (js/dcvr-anim.js): the D and C rise, a scan line reveals the headset, then "by saasyn" */
.vr-hero .dcvr-anim { width: min(380px, 70%); height: auto; color: #fff; display: block; margin: 0 0 30px; overflow: visible; }
.dcvr-anim .va-dc { transition: opacity .7s ease, transform .9s cubic-bezier(.16,1,.3,1); }
.dcvr-anim .va-by { transition: opacity .8s ease; }
.dcvr-anim.pre .va-dc { opacity: 0; transform: translateY(40px); }
.dcvr-anim.pre-by .va-by { opacity: 0; }
