/* FPVCinematics hub (draft 2026-12-01): the whole site on one screen, a central hub.
   Nothing scrolls and nothing slides sideways. The start view is the hub: the drone in the middle and the five
   parts of the site as glass nodes around it. A click on a node zooms into that part; "back" zooms out again.
   Loaded after glass.css and uses its glass, buttons, form and type.
   Rule for glass in here: never fade or blur a WRAPPER that has glass inside (opacity or filter on a parent cuts
   the glass off from the photo behind it). Fades sit on the glass itself or on glass-free blocks (.mv). */
:root { --topb: 88px; --botb: 44px; }
.js body.hub { height: 100vh; height: 100dvh; overflow: hidden; }
body.hub { background: none; } /* the scene sits behind the body; a body background would cover it (html stays black) */

/* ---------- the scene behind everything: one layer per backdrop, cross-faded ---------- */
.scene { position: fixed; inset: 0; z-index: -1; background: #000; }
.scene__bg { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; }
.scene__bg.is-on { opacity: 1; }
.scene__bg img { width: 100%; height: 100%; object-fit: cover; }
.scene__bg[data-bg="fog"] img { object-position: 50% 60%; }
.scene__bg::after { content: ""; position: absolute; inset: 0; }
.scene__bg[data-bg="fog"]::after { background: linear-gradient(180deg, rgba(0,0,0,.66) 0%, rgba(0,0,0,.42) 30%, rgba(0,0,0,.14) 52%, rgba(0,0,0,.08) 68%, rgba(0,0,0,.5) 92%, rgba(0,0,0,.7) 100%); }
/* the stops of the next two are repeated in data-shade on the element, for the WebGL glass: keep both in step */
.scene__bg[data-bg="nock"]::after { background: linear-gradient(180deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.22) 30%, rgba(0,0,0,.26) 70%, rgba(0,0,0,.72) 100%); }
.scene__bg[data-bg="lake"]::after { background: linear-gradient(180deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.3) 32%, rgba(0,0,0,.55) 100%); }
.scene__bg--dark { background:
  radial-gradient(60vmax 46vmax at 50% 46%, rgba(74,163,255,.2), transparent 70%),
  radial-gradient(90vmax 60vmax at 50% 110%, rgba(74,163,255,.1), transparent 70%), #000; }

/* ---------- top bar: logo, language, quote button; inside a part also the way back to the hub ---------- */
.nav--hub { width: min(540px, calc(100% - 24px)); }
.nav__back { display: grid; place-items: center; width: 38px; height: 38px; margin-left: -12px; margin-right: 2px; border-radius: 50%; background: rgba(255,255,255,.12); transition: background-color .2s, transform .35s var(--spring), width .45s var(--spring), opacity .3s, margin .45s var(--spring); }
.nav__back svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.nav__back:active { transform: scale(.9); }
@media (hover: hover) { .nav__back:hover { background: rgba(255,255,255,.2); } }
html[data-part="start"] .nav__back { width: 0; margin-right: -6px; opacity: 0; pointer-events: none; }

/* ---------- views: every part fills the screen; opening one zooms in from the node that was clicked ---------- */
.views { position: fixed; inset: 0; }
.view {
  position: absolute; inset: 0; isolation: auto; display: grid; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none;
  padding: calc(env(safe-area-inset-top, 0px) + var(--topb)) var(--gut-r) calc(env(safe-area-inset-bottom, 0px) + var(--botb)) var(--gut);
  pointer-events: none;
  /* A part that is not open is parked just above the screen, fully drawn. The browser then prepares it while you
     look at the hub, and the first click opens it at once (hidden parts are not prepared: the first open then
     froze for about 0.45 s). "translate" parks it, "transform" is the zoom. */
  translate: 0 -130%; transition: translate 0s .42s;
}
.view::-webkit-scrollbar { display: none; }
.view > * { min-width: 0; }
.view.is-on { pointer-events: auto; translate: 0 0; transition: translate 0s; }
.view:focus { outline: none; }
.vwrap { width: 100%; max-width: 1180px; margin: auto; min-width: 0; }
/* Opening a part: its blocks start a little way towards the node that was clicked (--ox, --oy, set by hub.js)
   and glide to their places one after another, so the part seems to unfold from that node. Closing: they fade
   fast (is-off). The glass itself is only moved and faded, never scaled: scaling a bending glass makes the
   browser rebuild its filter for every in-between size, which froze the first click for about 0.3 s. */
.view.is-on .mv { animation: mv-in .62s var(--spring) calc(.05s + var(--i, 0) * .04s) both; }
.view.is-off .mv { animation: mv-out .18s ease both; }
@keyframes mv-in { from { opacity: 0; transform: translate3d(calc((var(--ox, 50vw) - 50vw) * .12), calc((var(--oy, 55vh) - 50vh) * .12), 0); } }
@keyframes mv-out { to { opacity: 0; } }
/* leaving the hub: headline and drone (no glass in them) fly towards you and fade, the camera goes through */
.view--start.is-off .start__text .mv, .view--start.is-off .stage__box > .mv { animation: hub-out .4s ease both; }
@keyframes hub-out { to { opacity: 0; transform: scale(1.14); } }
/* WebGL glass (Safari, Firefox) is redrawn a frame late, so there the blocks only fade and do not glide */
html.lg-webgl .view.is-on .mv { animation-name: mv-fade; }
@keyframes mv-fade { from { opacity: 0; } }

.hub .h2 { font-size: clamp(32px, min(5.2vw, 8svh), 68px); margin-top: 10px; }
.hub .lead { font-size: clamp(16px, min(1.7vw, 2.7svh), 22px); margin-top: clamp(10px, 1.8svh, 18px); color: rgba(245,245,247,.86); }
.hub .eyebrow { color: rgba(245,245,247,.8); }
.vhead { text-align: center; }
.vhead .lead { margin-inline: auto; }

/* ---------- the hub ---------- */
.view--start { grid-template-rows: auto minmax(160px, 1fr); }
.start__text { text-align: center; width: 100%; max-width: 1180px; margin-inline: auto; }
.start__text .display { font-size: clamp(46px, min(9vw, 12.5svh), 128px); margin-top: 8px; padding-bottom: .04em; background: linear-gradient(180deg, #fff 30%, rgba(255,255,255,.72)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.start__text .lead { margin-inline: auto; color: rgba(245,245,247,.92); text-shadow: 0 1px 18px rgba(0,0,0,.45); }
.hstage { --box: min(940px, 78cqw, 172cqh); position: relative; container-type: size; min-height: 0; display: grid; place-items: center; margin-top: 4px; }
.hub .stage__box { width: var(--box); }
.hub .stage__quad { display: block; cursor: pointer; border-radius: 40px; }
/* spokes from every node to the drone, drawn in the stage's own coordinates */
.spokes { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: var(--box); aspect-ratio: 1400 / 698; overflow: visible; pointer-events: none; }
.spokes line { stroke-width: 1.4; fill: none; vector-effect: non-scaling-stroke; transition: opacity .3s; opacity: .7; }
.spokes .spokes__run { stroke: var(--led); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 22 620; opacity: .9; animation: spoke-run 3.4s linear var(--d, 0s) infinite; }
.spokes .is-hot line { opacity: 1; }
.spokes .is-hot .spokes__run { stroke-width: 3; animation-duration: 1.3s; }
@keyframes spoke-run { from { stroke-dashoffset: 22; } to { stroke-dashoffset: -620; } }
/* the nodes: placed around the drone by --x / --y (share of the stage box) */
.nodes { position: absolute; inset: 0; }
.node {
  position: absolute; left: calc(50% + (var(--x) - .5) * var(--box)); top: calc(50% + (var(--y) - .5) * var(--box) * 698 / 1400); translate: -50% -50%;
  display: flex; align-items: center; gap: 11px; padding: 8px 20px 8px 8px; border-radius: 999px; white-space: nowrap; --blur: 10px; --lg-blur: 2px;
  -webkit-tap-highlight-color: transparent; cursor: pointer; scale: 1;
}
/* hover lifts, it does not scale: scaling a bending glass makes the browser rebuild its filter */
.node { transition: transform .45s var(--spring), background-color .25s; }
@media (hover: hover) { .node:hover { transform: translateY(-4px); background-color: rgba(255,255,255,.1); } }
.node:active { transform: translateY(1px); transition-duration: .12s; }
.node__ic { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(74,163,255,.2); color: #cfe6ff; box-shadow: inset 0 0 0 1px rgba(74,163,255,.45); flex: none; }
.node__ic svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.node__tx { display: grid; line-height: 1.2; text-align: left; }
.node__tx b { font-size: 16px; font-weight: 650; letter-spacing: -.02em; }
.node__tx small { font-size: 12.5px; color: rgba(245,245,247,.72); }
.node--main { background: linear-gradient(180deg, rgba(74,163,255,.62), rgba(46,120,220,.46)); }
.node--main .node__ic { background: rgba(255,255,255,.22); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }
.node--main .node__tx small { color: rgba(255,255,255,.86); }
@media (hover: hover) { .node--main:hover { background-color: rgba(74,163,255,.25); } }

/* ---------- flight: drag the slider ---------- */
.view--fill > .vwrap { height: 100%; margin: 0 auto; }
.fly { height: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; justify-items: center; gap: 6px; }
.fly__words { position: relative; width: 100%; height: clamp(104px, 19svh, 180px); text-align: center; }
.fly__word { position: absolute; left: 0; right: 0; top: 0; opacity: 0; translate: 0 18px; filter: blur(8px); transition: opacity .5s var(--spring), translate .7s var(--spring), filter .5s var(--spring); }
.fly__word.is-on { opacity: 1; translate: 0 0; filter: blur(0); }
.fly__word .h2 { font-size: clamp(36px, min(6vw, 9svh), 84px); margin-top: 0; }
.fly__word p { margin: clamp(6px, 1.2svh, 12px) auto 0; color: var(--muted); max-width: 46ch; font-size: clamp(15px, min(1.5vw, 2.4svh), 20px); text-wrap: pretty; }
.fly__stage { container-type: size; width: 100%; min-height: 0; display: grid; place-items: center; }
.fly__canvas, .fly__still { width: min(1000px, 96cqw, 200cqh); aspect-ratio: 872 / 434; touch-action: pan-y; cursor: ew-resize; }
.fly__still { display: none; object-fit: contain; }
.fly__ctl { width: min(580px, 100%); border-radius: 26px; padding: 10px 18px 12px; display: grid; gap: 6px; --blur: 12px; --lg-blur: 3px; }
.fly__ticks { display: grid; grid-template-columns: repeat(3, 1fr); }
.fly__ticks button { font: 600 13px var(--font); color: rgba(245,245,247,.6); background: none; border: 0; padding: 6px 4px; cursor: pointer; border-radius: 10px; transition: color .25s; }
.fly__ticks button.is-on { color: #fff; }
.fly__range { -webkit-appearance: none; appearance: none; width: 100%; height: 26px; margin: 0; background: none; cursor: pointer; --p: 0; touch-action: none; }
.fly__range::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--led) calc(var(--p) * 100%), rgba(255,255,255,.2) 0); }
.fly__range::-moz-range-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--led) calc(var(--p) * 100%), rgba(255,255,255,.2) 0); }
.fly__range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 2px 10px rgba(0,0,0,.5), 0 0 0 5px var(--led-soft); }
.fly__range::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 2px 10px rgba(0,0,0,.5), 0 0 0 5px var(--led-soft); }
.fly__tele { display: flex; justify-content: center; gap: 18px; font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.fly__tele b { color: var(--fg); font-weight: 600; margin-left: 5px; display: inline-block; min-width: 3ch; text-align: right; }

/* ---------- services ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(18px, 4svh, 44px); }
.card { border-radius: 30px; padding: clamp(18px, 2.6svh, 28px); display: flex; flex-direction: column; min-height: clamp(210px, 36svh, 330px); min-width: 0; --blur: 18px; --lg-blur: 5px; }
.card h3 { font-size: clamp(24px, min(2.5vw, 4.2svh), 36px); font-weight: 650; letter-spacing: -.035em; line-height: 1.05; margin-top: 8px; text-wrap: balance; }
.card > p:not(.eyebrow) { color: rgba(245,245,247,.86); margin-top: 10px; font-size: clamp(15px, 1.25vw, 17px); text-wrap: pretty; }
.card__foot { margin-top: auto; padding-top: 16px; display: flex; align-items: end; justify-content: space-between; gap: 10px; }
.card .price { font-size: 14px; color: rgba(245,245,247,.8); }
.card .price b { font-size: clamp(26px, 2.4vw, 34px); }
.card .btn { height: 40px; font-size: 14px; padding: 0 16px; --blur: 4px; --lg-blur: 1px; }

/* ---------- steps ---------- */
.hsteps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: clamp(18px, 4svh, 44px); }
.hstep { border-radius: 28px; padding: clamp(16px, 2.6svh, 24px); min-width: 0; --blur: 14px; --lg-blur: 4px; }
.hstep__n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--led); color: #031427; font-weight: 650; font-size: 18px; box-shadow: 0 0 0 5px var(--led-soft), 0 0 24px rgba(74,163,255,.45); font-variant-numeric: tabular-nums; }
.hstep h3 { font-size: clamp(18px, 1.6vw, 21px); font-weight: 650; letter-spacing: -.02em; margin-top: 16px; text-wrap: balance; }
.hstep p { color: rgba(245,245,247,.82); margin-top: 6px; font-size: 15.5px; text-wrap: pretty; }

/* ---------- pilot ---------- */
.pilot2 { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(12px, 3svh, 28px) 40px; align-items: center; }
.pilot2 .vhead { text-align: left; }
.pilot2 .vhead .lead { margin-inline: 0; }
.pilot2__quad { width: 100%; max-height: 38svh; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(0,0,0,.5)); }
.hspecs { grid-column: 1 / -1; margin-top: 0; }
.hub .spec { padding: clamp(14px, 2.4svh, 24px); }

/* ---------- earlier work: a grid of clips, a click opens the viewer ---------- */
.work { --th: min(215px, calc((100svh - var(--topb) - var(--botb) - 250px) / 2), calc((min(1180px, 100vw - 32px) - 32px) / 3 * 9 / 16)); }
.work__grid { display: grid; grid-template-columns: repeat(3, calc(var(--th) * 16 / 9)); grid-auto-rows: var(--th); gap: 16px; justify-content: center; margin-top: clamp(14px, 3svh, 34px); }
.shot { position: relative; border: 0; padding: 0; margin: 0; border-radius: 22px; overflow: hidden; cursor: pointer; background-color: #0d0e11; color: var(--fg); font: inherit; text-align: left; min-width: 0;
  box-shadow: 0 14px 40px -14px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.14); transition: transform .45s var(--spring); -webkit-tap-highlight-color: transparent; }
@media (hover: hover) { .shot:hover { transform: translateY(-4px); } }
.shot:active { transform: translateY(1px); transition-duration: .12s; }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shot__play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; --blur: 8px; --lg-blur: 2px; }
.shot__play svg { width: 22px; height: 22px; fill: currentColor; }
.shot__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 10px; display: grid; line-height: 1.25; background: linear-gradient(transparent, rgba(0,0,0,.74)); }
.shot__cap b { font-size: 15px; font-weight: 650; letter-spacing: -.015em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shot__cap small { font-size: 12px; color: rgba(245,245,247,.72); }
.work--empty .work__grid { display: none; }
/* a slot that has no clip yet (not used at the moment: an empty gallery shows no tiles) */
.shot--empty { display: grid; place-items: center; align-content: center; gap: 6px; text-align: center; outline: 1.5px dashed rgba(255,255,255,.26); outline-offset: -9px; --blur: 12px; --lg-blur: 3px; }
.shot--empty .shot__ic { width: 30px; height: 30px; fill: none; stroke: rgba(245,245,247,.75); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.shot--empty .shot__cap { position: static; padding: 0; background: none; }
.work__by { text-align: center; font-size: 13.5px; color: rgba(245,245,247,.7); max-width: 70ch; margin: clamp(12px, 2.4svh, 22px) auto 0; text-wrap: pretty; }
.work__by b { color: var(--fg); font-weight: 600; }

/* the viewer: a glass panel over everything, one clip at a time, with previous / next / close */
.viewer { border: 0; padding: 0; margin: 0; background: none; color: var(--fg); max-width: none; max-height: none; width: 100vw; height: 100vh; height: 100dvh; display: none; place-items: center; overflow: hidden; }
.viewer[open] { display: grid; }
.viewer::backdrop { background: rgba(0,0,0,.66); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.viewer__panel { width: min(1080px, calc(100vw - 20px), calc((100dvh - 140px) * 16 / 9)); border-radius: 30px; padding: 10px; --blur: 20px; --lg-blur: 6px; animation: viewer-in .5s var(--spring) both; }
@keyframes viewer-in { from { opacity: 0; transform: translate3d(0, 22px, 0); } }
.viewer__media { aspect-ratio: 16 / 9; border-radius: 21px; overflow: hidden; background: #000; display: grid; place-items: center; }
.viewer__media video, .viewer__media img { width: 100%; height: 100%; object-fit: contain; display: block; }
.viewer__empty { color: var(--muted); text-align: center; padding: 20px; max-width: 30ch; }
.viewer__bar { display: flex; align-items: center; gap: 8px; padding: 10px 4px 2px 12px; }
.viewer__cap { margin-right: auto; display: grid; line-height: 1.25; min-width: 0; }
.viewer__cap b { font-size: 17px; font-weight: 650; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.viewer__cap small { font-size: 13px; color: var(--muted); }
.viewer__btn { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: inherit; display: grid; place-items: center; cursor: pointer; transition: background-color .2s, transform .3s var(--spring); }
.viewer__btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.viewer__btn:active { transform: scale(.9); }
@media (hover: hover) { .viewer__btn:hover { background: rgba(255,255,255,.22); } }
.viewer[data-single] [data-v="prev"], .viewer[data-single] [data-v="next"] { display: none; }

/* ---------- enquiry ---------- */
.ask { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; }
.hub .form { padding: clamp(16px, 2.6svh, 28px); gap: clamp(8px, 1.4svh, 14px); }
.hub .field input, .hub .field select, .hub .field textarea { padding-block: clamp(9px, 1.4svh, 13px); }
.hub .field textarea { min-height: clamp(64px, 12svh, 110px); }
.hub .field select { background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; }

/* ---------- legal line ---------- */
.hubfoot { position: fixed; z-index: 40; left: 0; right: 0; bottom: calc(env(safe-area-inset-bottom, 0px) + 12px); display: flex; justify-content: center; gap: 16px; font-size: 11.5px; color: rgba(245,245,247,.62); white-space: nowrap; }
.hubfoot { align-items: center; }
.hubfoot a { padding: 2px 0; }
.hubfoot a:hover { color: var(--fg); }
/* social profiles: round icon links at the start of the line */
.hubfoot .soc { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: rgba(245,245,247,.9); transition: background-color .2s, transform .3s var(--spring); }
.hubfoot .soc + .soc { margin-left: -8px; }
.hubfoot .soc:hover { background: rgba(255,255,255,.22); }
.hubfoot .soc:active { transform: scale(.9); }
.soc svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.work__by a { color: var(--fg); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- phone: the nodes become a grid of tiles under the drone ---------- */
@media (max-width: 760px) {
  :root { --topb: 82px; --botb: 40px; }
  .hubfoot { gap: 12px; font-size: 11px; }
  .hubfoot .soc { width: 26px; height: 26px; }
  .soc svg { width: 14px; height: 14px; }
  .hubfoot span { display: none; }
  .view--start { grid-template-rows: auto minmax(0, 1fr); }
  .hstage { container-type: normal; display: grid; grid-template-rows: minmax(90px, 1fr) auto; gap: 10px; place-items: stretch; margin-top: 0; min-width: 0; }
  /* the drone takes the room that is left above the tiles: its row is the size container, the picture fits inside */
  .hub .stage__box { container-type: size; width: 100%; height: 100%; aspect-ratio: auto; min-height: 0; display: grid; place-items: center; }
  .hub .stage__box > .mv { position: relative; width: min(100cqw, 200cqh); aspect-ratio: 1400 / 698; }
  .spokes { display: none; }
  .nodes { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .node { position: static; translate: none; padding: 8px 12px 8px 8px; border-radius: 20px; min-width: 0; white-space: normal; }
  .node__ic { width: 38px; height: 38px; }
  .node__tx b { font-size: 15px; }
  .node__tx small { font-size: 12px; }
  .node--main { grid-column: 1 / -1; justify-content: center; }

  .cards { grid-template-columns: 1fr; gap: 10px; margin-top: 14px; }
  .card { min-height: 0; padding: 15px 16px; border-radius: 24px; }
  .card .eyebrow { display: none; }
  .card h3 { margin-top: 0; font-size: 22px; }
  .card > p:not(.eyebrow) { margin-top: 4px; font-size: 14.5px; line-height: 1.35; }
  .card__foot { padding-top: 8px; }
  .card .price b { font-size: 24px; }
  .card .btn { height: 38px; }
  #leistungen .vhead .lead { display: none; }

  .hsteps { grid-template-columns: 1fr; gap: 10px; margin-top: 14px; }
  .hstep { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; padding: 13px 16px; border-radius: 22px; align-items: start; }
  .hstep__n { width: 40px; height: 40px; grid-row: 1 / span 2; font-size: 16px; }
  .hstep h3 { margin-top: 0; font-size: 17px; }
  .hstep p { grid-column: 2; margin-top: 2px; font-size: 14px; line-height: 1.35; }

  .pilot2 { grid-template-columns: 1fr; gap: 12px; }
  .pilot2 .vhead { text-align: center; }
  .pilot2 .vhead .lead { margin-inline: auto; }
  .pilot2__quad { max-height: 17svh; order: -1; }
  .hspecs { gap: 10px; }
  .hub .spec { padding: 12px 14px; border-radius: 20px; }
  .hub .spec b { font-size: 20px; }
  .hub .spec span { font-size: 13px; margin-top: 4px; }

  .work { --th: min(calc((100vw - 40px) / 2 * 9 / 16), calc((100svh - var(--topb) - var(--botb) - 200px) / 3)); }
  .work__grid { grid-template-columns: repeat(2, calc(var(--th) * 16 / 9)); gap: 8px; margin-top: 12px; }
  .shot { border-radius: 16px; }
  .shot__play { width: 42px; height: 42px; }
  .shot__cap { padding: 18px 10px 7px; }
  .shot__cap b { font-size: 13px; }
  .shot__cap small { font-size: 11px; }
  .shot--empty .shot__ic { width: 24px; height: 24px; }
  .work__by { font-size: 12px; line-height: 1.35; margin-top: 10px; }
  .viewer__panel { border-radius: 24px; padding: 8px; }
  .viewer__media { border-radius: 17px; }
  .viewer__cap b { font-size: 15px; }

  .ask { grid-template-columns: 1fr; gap: 12px; }
  .ask .lead { display: none; }
  .ask .mail { margin-top: 10px; min-height: 40px; font-size: 14px; }
  .ask__text { text-align: center; }
  .hub .form { grid-template-columns: 1fr 1fr; padding: 16px; border-radius: 26px; gap: 8px 10px; }
  .hub .field label { font-size: 12px; }
  .hub .field input, .hub .field select, .hub .field textarea { padding: 9px 12px; border-radius: 13px; }
  .hub .field textarea { min-height: 62px; }
  .hub .form__foot { margin-top: 2px; gap: 8px; }
  .hub .form__foot small { font-size: 11.5px; line-height: 1.3; max-width: none; flex: 1 1 150px; }
  .hub .form__foot .btn { height: 44px; font-size: 15px; padding: 0 18px; }
  .fly__ctl { padding: 8px 14px 10px; }
  .fly__tele { gap: 12px; font-size: 12px; }
}
/* short phone screens: a phone browser shows its address and tool bars, and they never slide away on a page
   that does not scroll. That leaves about 650 px of an 850 px screen, so everything gets a size tighter. */
@media (max-width: 760px) and (max-height: 740px) {
  :root { --topb: 72px; --botb: 34px; }
  .nav--hub { height: 50px; top: calc(env(safe-area-inset-top, 0px) + 10px); }
  .nav--hub .btn { height: 36px; }
  .nav__back { width: 34px; height: 34px; }
  .hubfoot { bottom: calc(env(safe-area-inset-bottom, 0px) + 8px); }
  .hub .h2 { font-size: clamp(24px, 7.4vw, 30px); margin-top: 0; }
  .hub .view:not(.view--start) .eyebrow { display: none; }
  .hub .lead { font-size: 15px; margin-top: 8px; line-height: 1.35; }
  .start__text .display { font-size: clamp(40px, 12vw, 52px); margin-top: 4px; }
  .start__text .eyebrow { font-size: 12px; }
  .hstage { gap: 6px; }
  .nodes { gap: 7px; }
  .node { padding: 6px 10px 6px 6px; border-radius: 18px; gap: 9px; }
  .node__ic { width: 34px; height: 34px; }
  .node__ic svg { width: 19px; height: 19px; }

  .cards { gap: 8px; margin-top: 10px; }
  .card { padding: 11px 14px; border-radius: 22px; }
  .card h3 { font-size: 20px; }
  .card > p:not(.eyebrow) { margin-top: 2px; font-size: 13.5px; line-height: 1.3; }
  .card__foot { padding-top: 5px; align-items: center; }
  .card .price { display: flex; align-items: baseline; gap: 6px; }
  .card .price b { font-size: 21px; }
  .card .btn { height: 34px; font-size: 13px; padding: 0 14px; }

  .hsteps { gap: 8px; margin-top: 10px; }
  .hstep { padding: 9px 14px; border-radius: 20px; column-gap: 12px; grid-template-columns: 34px 1fr; }
  .hstep__n { width: 34px; height: 34px; font-size: 15px; box-shadow: 0 0 0 4px var(--led-soft); }
  .hstep h3 { font-size: 16px; }
  .hstep p { font-size: 13.5px; line-height: 1.3; margin-top: 1px; }

  .pilot2 { gap: 8px; }
  .pilot2__quad { max-height: 13svh; }
  .hspecs { gap: 8px; }
  .hub .spec { padding: 9px 12px; border-radius: 18px; }
  .hub .spec b { font-size: 18px; }
  .hub .spec span { font-size: 12.5px; margin-top: 2px; line-height: 1.3; }

  .ask { gap: 8px; }
  .hub .form { padding: 12px 14px; gap: 6px 10px; border-radius: 24px; }
  .hub .field { gap: 3px; }
  .hub .field input, .hub .field select, .hub .field textarea { padding: 7px 12px; }
  .hub .field textarea { min-height: 46px; }
  .hub .form__foot .btn { height: 40px; }
  .fly__words { height: clamp(96px, 17svh, 130px); }
  .fly__ctl { padding: 6px 14px 8px; gap: 3px; }
}
@media (max-height: 620px) and (min-width: 761px) { :root { --topb: 78px; } .card { min-height: 0; } }

/* ---------- without scripts: a plain page that scrolls; the nodes jump to the parts ---------- */
html:not(.js) .views { position: static; }
html:not(.js) .view { position: static; pointer-events: auto; translate: none; overflow: visible; padding-block: 110px 40px; min-height: 0; }
html:not(.js) .view:last-child { padding-bottom: 120px; }
html:not(.js) .scene__bg[data-bg="fog"] { opacity: 1; }
html:not(.js) .fly { height: auto; }
html:not(.js) .fly__words { height: auto; display: grid; gap: 28px; }
html:not(.js) .fly__word { position: static; opacity: 1; translate: none; filter: none; }
html:not(.js) .fly__canvas, html:not(.js) .fly__ctl { display: none; }
html:not(.js) .fly__stage { container-type: normal; }
html:not(.js) .fly__still { display: block; width: min(1000px, 96vw); height: auto; }
html:not(.js) .hstage { container-type: normal; --box: min(940px, 78vw); min-height: calc(var(--box) * .62); }
html:not(.js) .nav__back { display: none; }

@media (prefers-reduced-motion: reduce) {
  .fly__word { filter: none; translate: 0 0; }
  .spokes .spokes__run { display: none; }
}
