/* Pulsar demo 3, "The building, floor by floor": a bright architectural look, one blue, sans headlines.
   Loads after base.css (reset, nav, buttons, form, footer, GrandNet screen) and parts.css (VitaLinks and SenseLinks
   screens, sections, product cards), and re-colours them. */
:root {
  --sand: #eef2f7; --sand-hi: #f7f9fc; --sand-lo: #dfe6ee; --paper: #ffffff;
  --ink: #0e1622; --ink-2: #3c4a5d; --muted: #6a788b; --line: rgba(14, 22, 34, .12);
  --blue: #1763c6; --blue-hi: #2f8fee; --wall: #e3e8ee; --slab: #cfd6de;
  --serif: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
body { background: var(--paper); color: var(--ink); }
.disp { font: 550 1em/1.02 var(--sans); letter-spacing: -0.035em; font-stretch: 92%; }
.disp em { font-style: normal; color: var(--blue); }
.eyebrow { color: var(--muted); }
.btn--ink { background: var(--blue); color: #fff; }
@media (hover: hover) { .btn--ink:hover { background: #0f52ab; } }
.nav, .nav.is-moved { background: color-mix(in srgb, #fff 82%, transparent); box-shadow: 0 1px 0 var(--line); }
.mods b, .prod h3, .course h3 { font: 600 1.3rem/1.2 var(--sans); letter-spacing: -0.02em; }
.inc__t { font: 600 26px/1.15 var(--sans); letter-spacing: -0.02em; }
.sec__head h2, .sec__top h2, .demo h2 { font-size: clamp(2.2rem, 4.2vw, 3.8rem); }
.footer { background: #0e1622; } .footer__top p { font: 500 1.4rem/1.2 var(--sans); letter-spacing: -0.02em; }
.prod { background: #fff; } .course { background: var(--sand); }

/* ---------- the stage: sky, the building, the camera */
.stage { background: #eaf1f9; }
@media (max-width: 767px) { .stage { height: calc((1 + (var(--screens, 9) - 1) * .62) * 100svh); } }
.sky { position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, #dcebfb 0%, #eef5fc 46%, #f8fafc 100%); }
.sky--dusk { z-index: -1; background: linear-gradient(180deg, #1c2a4a 0%, #50507c 38%, #c8806a 72%, #f2b98a 100%); opacity: 0; }
.tower { position: absolute; left: 0; top: 0; width: 104vw; padding: 0 2vw; transform-origin: 0 0; }
.stage.is-moving .tower { will-change: transform; }
.tower__walls { position: absolute; inset: 0; background: var(--wall); box-shadow: 0 0 0 .18vw rgba(14, 22, 34, .1), 0 3vw 9vw rgba(30, 50, 90, .22); }
.tower__ground { position: relative; height: 0; z-index: -1; }
.tower__ground i { position: absolute; left: -600vw; right: -600vw; top: 0; height: 140vw;
  background: #ede4dc; }
.tower__roof { position: relative; height: 4.4vw; }
.tower__roof::before { content: ""; position: absolute; left: -2vw; right: -2vw; bottom: 0; height: 2vw; background: linear-gradient(180deg, #f4f6f9, var(--slab)); }
.tower__roof::after { content: ""; position: absolute; left: 14vw; bottom: 2vw; width: 16vw; height: 2.4vw; border-radius: .3vw .3vw 0 0;
  background: linear-gradient(90deg, #c3ccd6 0 30%, transparent 30% 38%, #d3dae2 38% 64%, transparent 64% 74%, #c3ccd6 74%); }
.slab { position: relative; height: 2.2vw; background: linear-gradient(180deg, #eef1f5 0%, var(--slab) 55%, #b9c2cc 100%); }
.floor { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #dfe5ec; }
.floor > picture, .floor > picture > img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; }
.tower__riser { position: absolute; right: .75vw; top: 3vw; bottom: 0; width: .5vw; border-radius: .25vw; background: linear-gradient(90deg, #2f8fee, #1763c6); box-shadow: 0 0 0 .08vw rgba(14, 22, 34, .15); }
.floor__no { position: absolute; left: -1.62vw; top: 50%; translate: 0 -50%; width: 1.24vw; text-align: center; font: 600 .82vw/1 var(--mono); color: #7d8a9b; }

/* a live screen laid over the photographed one */
.screen { position: absolute; left: var(--sl); top: var(--st); width: var(--sw); height: var(--sh); overflow: hidden; background: #0c0c0f; --dw: 1280; }
.screen > div { position: absolute; left: 0; top: 0; width: calc(var(--dw) * 1px); transform-origin: 0 0; font: 400 15px/1.4 var(--sans); color: #1d1915; }
.screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, .08) 0%, rgba(255, 255, 255, 0) 30%); }
.scr--vl { background: #f6f8fb; } .vl__brand i { background: var(--blue); } .vl__side a.is-cur { background: #e6effb; color: #0f52ab; }
.vl__new { background: var(--blue); } .scr--vl .kpi small { color: #0f52ab; } .inv--new { background: #eef4fd; }
.chart i { background: #c5dbf6; } .chart div:last-child i { background: var(--blue); }
.scr--gn { background: #f4f6f9; }

/* Academy: a course player */
.scr--ac { background: #f4f6f9; display: grid; grid-template-columns: 1.55fr 1fr; gap: 20px; padding: 26px 28px; }
.ac__main { display: grid; grid-template-rows: auto 1fr auto; gap: 16px; min-height: 0; }
.ac__head { display: flex; justify-content: space-between; align-items: center; }
.ac__head b { font-size: 18px; display: flex; align-items: center; gap: 10px; } .ac__head b img { width: 22px; }
.ac__head span { font: 500 13px/1 var(--mono); color: #6a788b; }
.ac__video { border-radius: 14px; background: linear-gradient(135deg, #0f2f63, #1763c6 60%, #2f8fee); position: relative; display: grid; place-items: center; color: #fff; overflow: hidden; }
.ac__video::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 20% 100%, rgba(255, 255, 255, .16), transparent); }
.ac__play { width: 92px; height: 92px; border-radius: 50%; background: rgba(255, 255, 255, .95); display: grid; place-items: center; }
.ac__play::before { content: ""; border: 18px solid transparent; border-left: 28px solid var(--blue); margin-left: 22px; }
.ac__cap { position: absolute; left: 24px; bottom: 20px; right: 24px; }
.ac__cap small { font: 500 13px/1 var(--mono); opacity: .8; } .ac__cap p { font: 600 26px/1.15 var(--sans); letter-spacing: -0.02em; margin-top: 8px; }
.ac__prog { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; font: 500 13px/1 var(--mono); color: #6a788b; }
.ac__prog div { height: 8px; border-radius: 4px; background: #dfe6ee; overflow: hidden; }
.ac__prog i { display: block; height: 100%; width: 62%; background: var(--blue); border-radius: 4px; transform-origin: left; transform: scaleX(.2); transition: transform 1.6s var(--out); }
.scr--ac.is-on .ac__prog i { transform: none; }
.ac__list { background: #fff; border-radius: 14px; box-shadow: 0 0 0 1px rgba(14, 22, 34, .07); padding: 8px 0; overflow: hidden; }
.ac__list h4 { margin: 0; padding: 14px 20px 12px; font: 600 15px/1 var(--sans); }
.ac__list li { display: grid; grid-template-columns: 26px 1fr auto; gap: 12px; align-items: center; padding: 13px 20px; border-top: 1px solid #edf0f4; font-size: 14.5px; }
.ac__list li span { color: #6a788b; font: 500 12.5px/1 var(--mono); }
.ac__list li i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #c9d2dd; }
.ac__list li.is-done i { border-color: #1f8a5b; background: #1f8a5b center / 12px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.4 2.4 4.6-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.ac__list li.is-now { background: #eef4fd; font-weight: 600; } .ac__list li.is-now i { border-color: var(--blue); }

/* ---------- words over the stage */
.pane { position: absolute; z-index: 5; left: max(24px, 4.4vw); top: calc(50% + var(--nav) / 2); translate: 0 -50%; width: min(27vw, 25.5rem);
  opacity: 0; visibility: hidden; transform: translateY(18px); transition: opacity .6s var(--out), transform .8s var(--out), visibility 0s .6s; }
.pane.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: .05s, .05s, 0s; }
.pane--hero { width: min(42vw, 38rem); }
.pane--hero h1 { font-size: min(5.6vw, 10.4svh, 6rem); }
.pane--hero > p { margin-top: 2.6svh; color: var(--ink-2); font-size: clamp(1rem, 1.25vw, 1.2rem); max-width: 28em; }
.pane .btn-row { margin-top: 3svh; display: flex; gap: 12px; flex-wrap: wrap; }
.pane__floor { display: flex; align-items: center; gap: 12px; font: 500 12.5px/1 var(--mono); color: var(--muted); }
.pane__floor b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--blue); color: #fff; font: 600 15px/1 var(--mono); }
.pane h2 { font-size: clamp(1.9rem, 3vw, 3.1rem); margin-top: 18px; }
.pane > p:not(.eyebrow) { margin-top: 14px; color: var(--ink-2); }
.pane ul.pts { margin-top: 18px; border-top: 1px solid var(--line); }
.pane ul.pts li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .95rem; display: grid; grid-template-columns: 1.4em 1fr; }
.pane ul.pts li::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--blue); margin-top: .55em; }
.pane .btn { margin-top: 22px; }
.pane--end { color: #fff; --ink-2: rgba(255, 255, 255, .86); --muted: rgba(255, 255, 255, .7); } .pane--end .disp em { color: #9cc8ff; }
.pane--end .btn--ink { background: #fff; color: var(--ink); }
.hint { position: absolute; z-index: 5; left: max(24px, 4.4vw); bottom: 4svh; display: flex; align-items: center; gap: 10px; font: 500 12.5px/1 var(--mono); color: var(--muted); opacity: 0; transition: opacity .5s; }
.hint.is-on { opacity: 1; } .hint i { width: 1px; height: 22px; background: currentColor; }

/* the lift panel */
.lift { position: absolute; z-index: 6; right: 16px; top: calc(50% + var(--nav) / 2); translate: 0 -50%; display: grid; gap: 6px; padding: 8px; border-radius: 16px;
  background: color-mix(in srgb, #fff 88%, transparent); box-shadow: 0 0 0 1px var(--line), 0 12px 30px -12px rgba(20, 40, 80, .35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: 0; transition: opacity .5s; }
.lift.is-on { opacity: 1; }
.lift span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; font: 600 13.5px/1 var(--mono); color: var(--muted); transition: background-color .35s, color .35s; }
.lift span.is-on { background: var(--blue); color: #fff; }

@media (max-aspect-ratio: 4/5) {
  .pane { left: 12px; right: 12px; width: auto; top: auto; bottom: 12px; translate: none; background: color-mix(in srgb, #fff 94%, transparent); border-radius: 20px; padding: 18px 20px;
    box-shadow: 0 0 0 1px var(--line), 0 20px 50px -20px rgba(20, 40, 80, .4); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .pane--hero { top: calc(var(--nav) + 8px); bottom: auto; background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 8px; }
  .pane--hero h1 { font-size: min(10.5vw, 6svh); } .pane--hero > p { font-size: .96rem; margin-top: 1.4svh; } .pane .btn-row { margin-top: 1.6svh; }
  .pane--end { top: calc(var(--nav) + 8px); bottom: auto; background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .pane h2 { font-size: 1.5rem; margin-top: 10px; } .pane > p:not(.eyebrow) { font-size: .93rem; margin-top: 8px; }
  .pane ul.pts { margin-top: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; } .pane ul.pts li { padding: 7px 0; font-size: .86rem; }
  .pane .btn { display: none; } .pane--hero .btn--ink, .pane--end .btn { display: inline-flex; margin-top: 0; }
  .hint { display: none; }
  .lift { right: 8px; top: calc(var(--nav) + 10px); translate: none; grid-auto-flow: column; padding: 5px; gap: 3px; } .lift span { width: 28px; height: 28px; font-size: 12px; border-radius: 8px; }
  .screen { --dw: 620; }
  .scr--ac { grid-template-columns: 1fr; padding: 16px 18px; } .ac__list { display: none; } .ac__cap p { font-size: 20px; } .ac__play { width: 64px; height: 64px; } .ac__play::before { border-width: 12px; border-left-width: 19px; margin-left: 15px; }
}
@media (prefers-reduced-motion: reduce) { .pane { transition-duration: .01s !important; } }
@media (max-aspect-ratio: 4/5) { .pane--end h2 { font-size: min(9.5vw, 5.4svh) !important; margin-top: 8px !important; } }

/* ---------- v2: the building stands in a street scene, with a cut through the ground below it.
   The scene is 885vw wide in the building's own coordinates, so it zooms and travels with the camera; its street line
   (70.3% down the image) sits on the building's ground line. */
.tower__ground picture { position: absolute; left: calc(50% - 502vw); top: calc(-0.703 * 493.9vw); width: 885vw; height: 493.9vw; }
.tower__ground picture img { width: 100%; height: 100%; max-width: none; display: block; }
.tower__ground i { top: 6vw; }
/* dusk: a plain tinted layer over the scene (no blend mode: it must stay cheap to draw while the camera moves) */
.tower__ground .tower__dusk { position: absolute; left: -900vw; right: -900vw; bottom: auto; top: -700vw; height: 1000vw; opacity: 0;
  background: linear-gradient(180deg, rgb(30, 40, 84) 0%, rgb(30, 40, 84) 36%, rgba(58, 60, 112, .9) 50%, rgba(150, 96, 110, .7) 62%, rgba(214, 132, 96, .55) 69%, rgba(70, 62, 92, .78) 70.5%, rgba(52, 48, 76, .84) 100%); }
.sky { background: linear-gradient(180deg, #b3d9f4 0%, #b3d9f4 50%, #ede4dc 50%, #ede4dc 100%); }
.sky--dusk { background: linear-gradient(180deg, #1e2854 0%, #1e2854 50%, #4a4662 50%, #4a4662 100%); }
/* a soft light behind the words, fixed to the screen, so they read over the street scene */
.veil { position: absolute; inset: 0; z-index: 4; pointer-events: none; background: linear-gradient(90deg, rgba(247, 250, 253, .95) 0%, rgba(247, 250, 253, .88) 26%, rgba(247, 250, 253, 0) 54%); }
/* floor labels beside the building, shown while it is seen whole */
.tags { position: absolute; left: 100%; top: 0; bottom: 0; width: 0; opacity: 0; transition: opacity .6s var(--out); }
.tags.is-on { opacity: 1; }
.ftag { position: absolute; left: 3vw; margin: 0; top: calc(4.4vw + var(--i) * 58.45vw + 28.1vw); translate: 0 -50%; display: flex; align-items: center; gap: 4vw; white-space: nowrap; color: var(--ink); }
.ftag::before { content: ""; width: 9vw; height: .7vw; background: var(--blue); border-radius: 1vw; }
.ftag b { display: grid; place-items: center; width: 15vw; height: 15vw; border-radius: 4vw; background: var(--blue); color: #fff; font: 600 8vw/1 var(--mono); }
.ftag span { font: 600 9.5vw/1.1 var(--sans); letter-spacing: -0.02em; background: rgba(255, 255, 255, .86); padding: 2.4vw 4vw; border-radius: 4vw; box-shadow: 0 0 0 .3vw rgba(14, 22, 34, .06); }
.ftag small { display: block; font: 500 6vw/1.2 var(--mono); color: var(--muted); margin-top: 1.6vw; letter-spacing: 0; }
@media (max-aspect-ratio: 4/5) {
  .veil { background: linear-gradient(180deg, rgba(247, 250, 253, .96) 0%, rgba(247, 250, 253, .9) 30%, rgba(247, 250, 253, 0) 46%); }
  .ftag { gap: 3vw; } .ftag::before { width: 5vw; } .ftag small { display: none; } .ftag span { font-size: 9vw; }
}
/* the dusk tint layer covers the whole view by itself; the old flat dusk sky behind it showed as a band on tall screens */
.sky--dusk { display: none; }

/* ---------- v3: the light behind the words is there only while words are shown, and never reaches the room.
   Hero: wide, under the headline. Floor panels: narrow, it ends before the room's left wall (the room starts at 35.5% of the
   width). During the zoom into a screen and while the lift travels there is no veil at all. */
.veil { opacity: 0; transition: opacity .6s var(--out); }
.veil.is-on { opacity: 1; }
.veil--pane { background: linear-gradient(90deg, rgba(247, 250, 253, .95) 0%, rgba(247, 250, 253, .9) 22%, rgba(247, 250, 253, 0) 34%); }
@media (max-aspect-ratio: 4/5) { .veil--pane { display: none; } }      /* on a phone the floor panel is a card with its own background */

/* ---------- v4 (manager's review): no city, no basement, no cabling. The building is shown as an architectural MODEL of the
   customer's own company, standing on a drafting table: a blueprint grid in the tower's own coordinates (so it zooms with the
   camera), a placard on the roof ("A sua empresa") and a plinth with the caption "Modelo ilustrativo". */
.tower { --roof: 20vw; --base: 9vw; }
.tower__walls { top: calc(var(--roof) - 2vw); bottom: var(--base); }
.tower__roof { height: var(--roof); }
.tower__roof::after { display: none; }
.tower__label { position: absolute; left: 50%; bottom: 4.2vw; translate: -50% 0; display: flex; align-items: center; gap: 3vw; white-space: nowrap;
  padding: 1.6vw 3.4vw; border-radius: 2vw; background: #fff; color: var(--ink); font: 600 7.4vw/1 var(--sans); letter-spacing: -0.03em;
  box-shadow: 0 0 0 .35vw rgba(23, 99, 198, .35), 0 2vw 5vw rgba(30, 50, 90, .18); }
.tower__label small { font: 600 3.3vw/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: #fff; background: var(--blue); padding: 1.6vw 2.4vw; border-radius: 1.4vw; }
.tower__label::after { content: ""; position: absolute; left: 50%; top: 100%; width: .6vw; height: 2.2vw; translate: -50% 0; background: #9aa6b4; }
.tower__base { position: relative; height: var(--base); }
.tower__base::before { content: ""; position: absolute; left: -7vw; right: -7vw; top: 0; height: 3.4vw; border-radius: 0 0 .8vw .8vw;
  background: linear-gradient(180deg, #ffffff, #e9eef4); box-shadow: 0 0 0 .18vw rgba(14, 22, 34, .1), 0 2.4vw 4vw -1vw rgba(30, 50, 90, .28); }
.tower__base span { position: absolute; left: 50%; translate: -50% 0; top: 4.8vw; font: 500 3vw/1 var(--mono); color: #6a788b; white-space: nowrap; }
.sky { background: radial-gradient(70% 80% at 66% 50%, #f8fbfd 0%, #eef3f9 60%, #e4ebf3 100%); }
.ftag { top: calc(var(--roof) + var(--i) * 58.45vw + 28.1vw); }
/* the closing words sit over the model again, so they are dark like the hero */
.pane--end { color: var(--ink); --ink-2: #3c4a5d; --muted: #6a788b; }
.pane--end .disp em { color: var(--blue); }
.pane--end .btn--ink { background: var(--blue); color: #fff; }
.tower__label { opacity: 0; transition: opacity .6s var(--out); } .tower__label.is-on { opacity: 1; }   /* shown with the whole model only, like the floor labels */

/* ---------- v6: the model stands on a worktable in an architect's studio (img/floors/studio; portrait studio-p).
   The photograph is fixed to the screen and anchored to its bottom edge, where the table is, so the plinth always lands on
   the table top. While the camera is inside the model a blurred copy fades in over it (a still, out-of-focus backdrop), and
   tower.js scales the room a little with the zoom. */
.sky { background: #eef0ee; transform-origin: 50% 100%; }
.sky__bg, .sky__bg img, .sky__soft, .sky__soft img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; display: block; object-fit: cover; object-position: 50% 100%; }
.sky__soft { opacity: 0; transition: opacity .9s var(--out); }
.sky__soft img { filter: blur(9px) brightness(1.03); transform: scale(1.05); }
.sky__soft.is-on { opacity: 1; }
.tower { --roof: 16vw; }
/* the plinth sits on the table: a soft contact shadow under it, and the caption is a small card lying on the table */
.tower__base::after { content: ""; position: absolute; z-index: -1; left: -34vw; right: -34vw; top: 1.2vw; height: 9vw; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(52, 36, 18, .6), rgba(52, 36, 18, .26) 50%, rgba(52, 36, 18, 0)); }
.tower__base span { top: 5.3vw; padding: 1.1vw 2.6vw; border-radius: 1vw; background: rgba(255, 255, 255, .9); color: #4c5a6c; font-size: 2.7vw; box-shadow: 0 .6vw 1.6vw -.4vw rgba(60, 44, 24, .35); }
.tower__walls { box-shadow: 0 0 0 .18vw rgba(14, 22, 34, .12), 0 3vw 9vw rgba(60, 50, 40, .26); }
/* the words keep their own soft light (it leaves with them) */
.veil { background: linear-gradient(90deg, rgba(250, 251, 252, .94) 0%, rgba(250, 251, 252, .86) 30%, rgba(250, 251, 252, 0) 52%); }
.veil--pane { background: linear-gradient(90deg, rgba(250, 251, 252, .95) 0%, rgba(250, 251, 252, .9) 22%, rgba(250, 251, 252, 0) 34%); }
.pane--hero { width: min(38vw, 38rem); }
.pane--hero h1 { font-size: min(5.1vw, 10.4svh, 6rem); }

/* product cards beside the floors, in the model's own units, shown with the whole model */
.fcard { position: absolute; left: 9vw; top: calc(var(--roof) + var(--i) * 58.45vw + 28.1vw); translate: 0 -50%; width: 118vw; margin: 0; padding: 4vw 5vw 4.2vw; border-radius: 4vw;
  background: rgba(255, 255, 255, .95); color: var(--ink); box-shadow: 0 0 0 .3vw rgba(14, 22, 34, .07), 0 3.4vw 9vw -2.4vw rgba(50, 40, 30, .45); }
.fcard::before { content: ""; position: absolute; right: 100%; top: 50%; width: 9vw; height: .7vw; translate: 0 -50%; background: var(--blue); border-radius: 1vw; }
.fcard::after { content: ""; position: absolute; right: calc(100% + 8.2vw); top: 50%; width: 2.2vw; height: 2.2vw; translate: 0 -50%; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 .7vw rgba(255, 255, 255, .9); }
.fcard__k { display: flex; align-items: center; gap: 2.4vw; margin: 0; font: 500 3.3vw/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.fcard__k b { display: grid; place-items: center; width: 8vw; height: 8vw; border-radius: 2.2vw; background: var(--blue); color: #fff; font: 600 4.6vw/1 var(--mono); letter-spacing: 0; }
.fcard h3 { margin: 2.6vw 0 0; font: 600 8.4vw/1.05 var(--sans); letter-spacing: -0.03em; white-space: nowrap; }
.fcard__d { margin: 1.8vw 0 0; font: 400 4.1vw/1.35 var(--sans); color: var(--ink-2); white-space: nowrap; }
.fcard dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5vw; margin: 3.1vw 0 0; padding-top: 3vw; border-top: .25vw solid var(--line); }
.fcard dt { font: 600 5.6vw/1 var(--sans); letter-spacing: -0.02em; white-space: nowrap; }
.fcard dd { margin: 1.3vw 0 0; font: 500 3.2vw/1.2 var(--mono); color: var(--muted); white-space: nowrap; }
@media (max-aspect-ratio: 4/5) {   /* phone: a compact label (floor, department, product) that stays inside the screen */
  .fcard { left: 6vw; width: auto; padding: 2.6vw 3.4vw; border-radius: 3.4vw; display: grid; grid-template-columns: auto auto; column-gap: 2.6vw; align-items: center; }
  .fcard::before { width: 6vw; } .fcard::after { right: calc(100% + 5.2vw); }
  .fcard__k { display: contents; font-size: 4.5vw; line-height: 1.1; } .fcard__k b { grid-row: 1 / 3; width: 12vw; height: 12vw; font-size: 6.6vw; border-radius: 3.2vw; }
  .fcard h3 { margin: 0; font-size: 7.4vw; } .fcard__d, .fcard dl { display: none; }
  .pane--hero { width: auto; } .pane--hero h1 { font-size: min(10.5vw, 6svh); }
  .tower__base span { font-size: 3vw; }
  .veil { background: linear-gradient(180deg, rgba(250, 251, 252, .96) 0%, rgba(250, 251, 252, .9) 32%, rgba(250, 251, 252, 0) 47%); }
}
.tower__base span { opacity: 0; transition: opacity .5s var(--out); } .tower__base span.is-on { opacity: 1; }   /* the caption shows with the whole model only */

/* ---------- v7: (a) the room is a real studio: no white wash over it. The words sit on their own translucent card.
   (b) Each wall display shows its UI INSIDE the photographed screen: mapped onto the lit area's four measured corners
   (--quad, tower6.js), with the display's corner radius, a ring in the frame's colour closing the seam, a faint reflection
   and edge shade, and a tone matched to the room. (c) The model has rounded corners throughout. */
/* the room stays sharp at every camera position (no blurred copy) */
.veil { display: none; }
@media (min-aspect-ratio: 4/5) {
  .pane { left: max(16px, 2.4vw); width: min(30vw, 27.5rem); padding: clamp(18px, 1.7vw, 30px) clamp(20px, 1.9vw, 34px); border-radius: 24px;
    background: rgb(255 255 255 / .8); backdrop-filter: blur(16px) saturate(1.15); -webkit-backdrop-filter: blur(16px) saturate(1.15);
    box-shadow: 0 0 0 1px rgb(14 22 34 / .06), 0 26px 60px -30px rgb(40 30 20 / .55); }
  .pane--hero { width: min(39vw, 39rem); }
  .pane--hero h1 { font-size: min(4.4vw, 8.2svh, 5.2rem); }
  .pane--end h2 { font-size: min(4.2vw, 7.8svh, 4.8rem) !important; }
  .pane--hero > p { margin-top: 2svh; } .pane .btn-row { margin-top: 2.4svh; }
  .hint { left: max(16px, 2.4vw); bottom: 2.2svh; padding: 9px 14px; border-radius: 999px; background: rgb(255 255 255 / .82); color: var(--ink-2); }
}
@media (max-aspect-ratio: 4/5) {
  .pane--hero, .pane--end { background: rgb(255 255 255 / .84); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: 18px; padding: 12px 14px 14px;
    box-shadow: 0 0 0 1px rgb(14 22 34 / .06), 0 18px 40px -24px rgb(40 30 20 / .5); }
}
/* the model: rounded shell, rounded rooms */
.tower__walls { border-radius: 1.5vw; }
.tower__roof::before { border-radius: 1.5vw 1.5vw 0 0; }
.tower__base::before { border-radius: .9vw; }
.floor { border-radius: .9vw; box-shadow: 0 0 0 .14vw rgb(14 22 34 / .1); }
.slab { background: none; }
/* the live screens */
.screen { overflow: visible; background: none; border-radius: 0; -webkit-mask: var(--mask, none) center / 124% 124% no-repeat; mask: var(--mask, none) center / 124% 124% no-repeat; }
.screen::after { content: none; }
.screen > div { overflow: hidden; visibility: hidden; background: #0c0c0f; filter: var(--tone, none); --k: calc(var(--dw) / var(--px, 597));
  border-radius: calc(var(--gr, 2) * var(--k) * 1px); box-shadow: 0 0 0 calc(var(--ring, 1.5) * var(--k) * 1px) var(--bezel, #70747a); }
.screen.is-quad > div { visibility: inherit; }
.screen > div::after { content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none; border-radius: inherit;
  background: linear-gradient(112deg, rgb(255 255 255 / .08) 0%, rgb(255 255 255 / .025) 22%, rgb(255 255 255 / 0) 40%);
  box-shadow: inset 0 0 calc(var(--dw) * .03px) rgb(10 12 18 / .14), inset 0 0 calc(var(--dw) * .003px) rgb(10 12 18 / .45); }
.screen[data-glass="f4"] { --mask: url(../img/floors/mask-f4.png); }
/* text inside a screen never reflows (a browser translating the page changes every length) */
.screen .tk > div, .screen .inv > div, .screen .al > div, .screen .tk > span, .screen .al > span, .screen .as > div, .screen .kpi span, .screen .kpi small,
.screen h3, .screen h4, .screen .gn__side a, .screen .vl__side a, .screen .sl__bar > *, .screen .inc__t, .screen .tl li, .screen dd, .screen .ac__cap p,
.screen .ac__list li, .screen .ac__head b, .screen .ac__head span, .screen .ac__prog { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.ac__list { display: flex; flex-direction: column; } .ac__list .ac__more { border-top: 1px solid #edf0f4; margin-top: 6px; padding-top: 18px; }
.ac__cert { margin: auto 16px 12px; padding: 14px 16px; border-radius: 12px; background: #eef4fd; color: #3c4a5d; font: 400 13.5px/1.35 var(--sans); }
.ac__cert b { display: block; color: #0f52ab; font-weight: 600; font-size: 14.5px; margin-bottom: 3px; }
/* v7 phone hero: headline and button only, so the card never covers the model */
@media (max-aspect-ratio: 4/5) { .pane--hero > p:not(.eyebrow), .pane--end > p:not(.eyebrow) { display: none; } .pane--hero .btn-row, .pane--end .btn-row { margin-top: 1.4svh; } }
