/* Colours from the OSC style guide (owner, 20 Nov 2026: "primarily the teal, the orange instead of the yellow, some letters in
   olive"): coral is the accent for what you act on, dark teal the text on it and the tint of the glass pills, muted olive the
   lit hoist stage and the "within limits" dot. Dark teal on coral is 4.7:1; white on coral would fail, so never put white text on it. */
:root{--accent:#FF7F50;--accent-hover:#FF9A73;--olive:#8FBC8F;--ink:#063D4F;--sky:#8fd3f4;--bar:#0b3b55;--vh:1vh;
  --body:Calibri,Carlito,"Segoe UI",system-ui,sans-serif;   /* osc.no's body face (Carlito is its metric twin where Calibri is missing) */
  --btn:#0A6FA8;--btn-hover:#003A63;                        /* osc.no's button blue (passes 4.5:1 with white) and its hover */
  /* The hero's side margin on desktop. It stays 56 px at every width so the logo, headline and controls span the whole
     screen (owner, 18 Nov 2026: pulling them into the page's 1200 px column left the UI bunched in the middle on wide screens). */
  --edge:56px}
@supports (height:1svh){:root{--vh:1svh}}   /* 1 % of the visible height (toolbars showing); plain vh on older browsers */
*{box-sizing:border-box}
html,body{margin:0;height:100%;background:#06131f;color:#fff;font-family:var(--body);overscroll-behavior:none}
/* No loading screen: the text is there from the first paint, over a dusk sky-and-sea gradient that the 3D scene fades in on top of.
   The hero is exactly the visible screen: 100svh is the height with the phone browser's address and tool bars showing (100vh
   assumes they are hidden, which put the controls under the bottom bar). No minimum height: short and landscape screens get
   a compact layout instead (end of file), so nothing is ever below the fold. */
.hero{position:relative;width:100%;height:100vh;height:100svh;overflow:hidden;
  background:linear-gradient(180deg,#5b5a6d 0%,#8b8291 30%,#d8bba6 57%,#e9d6c2 59.5%,#93a0ad 60.5%,#5f7f93 74%,#2f5a6c 100%)}
#gl{position:absolute;inset:0;width:100%;height:100%;display:block;opacity:0;transition:opacity .9s ease-out}
#gl.on{opacity:1}
/* Posters: real frames of the 3D sea and sky (same light as the live scene, everything else hidden), shown at once so the
   visitor sees the sea straight away; the live canvas fades in over them. sky/poster.webp (68 KB) is taken through the
   desktop camera, sky/poster-tall.webp (54 KB) through the upright phone's (main.js: TALL), and pre.js picks one for every
   screen (tall below 0.72:1). On those two shapes they fit exactly at the hero's height (--ps = 100%, --py = bottom); on any
   other, pre.js scales and moves the poster so its horizon is where that screen's camera puts it, under the ship's lines. */
.hero.poster{background:url(sky/poster.webp?v=bb65ce8ef1) center var(--py,bottom)/auto var(--ps,100%) no-repeat,linear-gradient(180deg,#5b5a6d 0%,#8b8291 30%,#d8bba6 57%,#e9d6c2 59.5%,#93a0ad 60.5%,#5f7f93 74%,#2f5a6c 100%)}
.hero.poster-tall{background:url(sky/poster-tall.webp?v=9c5e2fab95) center var(--py,bottom)/auto var(--ps,100%) no-repeat,linear-gradient(180deg,#5b5a6d 0%,#8b8291 30%,#d8bba6 57%,#e9d6c2 59.5%,#93a0ad 60.5%,#5f7f93 74%,#2f5a6c 100%)}
.hero.poster::before,.hero.poster::after,.hero.poster-tall::before,.hero.poster-tall::after{display:none}
/* The light hero on upright phones (js/boot.js: .still): a rendered still of the ship, crane and module in place of the line
   drawing - the same camera, so the live scene, if started, fades in exactly over it. */
.still .hero.poster-tall{background-image:url(sky/still-tall.webp?v=9d8f8e90da),linear-gradient(180deg,#5b5a6d 0%,#8b8291 30%,#d8bba6 57%,#e9d6c2 59.5%,#93a0ad 60.5%,#5f7f93 74%,#2f5a6c 100%)}
.still .hero.poster-tall #pre{display:none}
/* The ship as a line drawing (js/pre.js): a wipe from bow to stern, gold at the pen, deep-blue ink behind it, then a glint
   that keeps running. --x0/--x1 = the drawing's extent as % of the width (set by pre.js); .rtl = the bow is on the right. */
#pre{position:absolute;inset:0;pointer-events:none;opacity:1;transition:opacity .9s ease-out}
.hero.draw-done #pre{opacity:0}
/* Compositor-only animation (transform + opacity), so a busy main thread - shader compiles, model set-up - cannot freeze it.
   The wipe is a window (.ly, overflow:hidden) that slides across while the drawing inside slides the opposite way by the
   same amount, so the drawing stays put and only the window's edge moves. pre.js sets, in px: --lx/--lw = the window's left
   and width, --W = hero width, --ew = extent of the ship, --sg = -1 (bow on the left) or 1, --d = glint travel. */
#pre .ly{position:absolute;top:0;bottom:0;left:var(--lx);width:var(--lw);overflow:hidden;will-change:transform,opacity;visibility:hidden}
/* The drawing slides inside an HTML box (.art), never on the <svg> itself: Firefox keeps transform animations of an <svg>
   element on the main thread, so while it built shaders (seconds) the drawing froze and the window dragged the bow's slice
   across the sea, and the ink sat out of view (owner's Firefox recording, 23 Nov 2026). Both boxes now run on the compositor. */
#pre .ly .art{position:absolute;top:0;left:calc(-1 * var(--lx));width:var(--W);height:100%;will-change:transform}
#pre .ly svg{display:block;width:100%;height:100%;fill:none;stroke-linecap:round;stroke-linejoin:round}
#pre svg.defs{position:absolute;width:0;height:0}
#pre.go .ly{visibility:visible}
.l-ink svg{stroke:#0b1b30;stroke-width:1.4px;opacity:.88}.l-ink .faint{opacity:.4}
.l-gold svg{stroke:#FF7F50;stroke-width:1.8px}   /* coral pen (the class keeps its old name: pre.js looks it up) */
.l-glint svg{stroke:#FFA07A;stroke-width:1.8px}
/* the loading progress, bow to stern (pre.js: paintLoad): a transition, so it glides on the compositor between the steps */
.l-load svg{stroke:#FF7F50;stroke-width:1.5px;opacity:.8}
#pre .l-load,#pre .l-load .art{transition:transform 1.2s cubic-bezier(.3,0,.2,1)}
#pre.go .l-ink{animation:wipeWin 1.3s cubic-bezier(.5,0,.25,1) both}
#pre.go .l-ink .art{animation:wipeArt 1.3s cubic-bezier(.5,0,.25,1) both}
/* the pen: a small gold window (same size and path as the glint) that travels with the edge of the ink, once */
#pre.go .l-gold{animation:glintWin 1.3s cubic-bezier(.5,0,.25,1) both}
#pre.go .l-gold .art{animation:glintArt 1.3s cubic-bezier(.5,0,.25,1) both}
#pre .l-glint{opacity:0}   /* invisible while it waits for its first sweep (its animation-delay): the un-animated state sits at the bow */
#pre.go .l-glint{animation:glintWin 3s 1.8s cubic-bezier(.4,0,.3,1) infinite}
#pre.go .l-glint .art{animation:glintArt 3s 1.8s cubic-bezier(.4,0,.3,1) infinite}
@keyframes wipeWin{from{transform:translateX(calc(var(--sg) * var(--ew)))}to{transform:none}}
@keyframes wipeArt{from{transform:translateX(calc(-1 * var(--sg) * var(--ew)))}to{transform:none}}
@keyframes preFade{to{opacity:0}}
@keyframes glintWin{0%{opacity:1;transform:none}85%{opacity:1}100%{opacity:0;transform:translateX(var(--d))}}
@keyframes glintArt{0%{transform:none}100%{transform:translateX(calc(-1 * var(--d)))}}
@media (prefers-reduced-motion:reduce){#pre.go .ly,#pre.go .ly .art{animation:none}#pre .l-gold,#pre .l-glint{display:none}}
/* While the 3D scene starts, the page's own sky is alive instead of a still picture: the light drifts and a gold glint
   runs along the horizon (the same gold as the line drawing that follows). The canvas fades in over it. */
.hero{isolation:isolate}   /* so z-index:-1 below means "behind the canvas", not "behind the page" */
.hero::before{content:"";position:absolute;inset:0;pointer-events:none;z-index:-1;
  background:radial-gradient(60% 38% at 70% 58%,rgba(255,214,150,.38),rgba(255,214,150,0) 70%);will-change:transform,opacity;animation:dawn 7s ease-in-out infinite alternate}
/* transform/opacity only: these run on the compositor, so they keep moving while the page's main thread is busy
   compiling shaders (a 2 s stall on the first frame) - a background-position animation froze right there. */
.hero::after{content:"";position:absolute;left:0;width:45%;top:calc(59.5% - 1px);height:3px;pointer-events:none;z-index:-1;will-change:transform;
  background:linear-gradient(90deg,rgba(255,127,80,0),rgba(255,127,80,.95) 50%,rgba(255,127,80,0));
  filter:blur(1px);animation:glint 2.4s cubic-bezier(.5,0,.2,1) infinite}
@keyframes dawn{from{opacity:.35;transform:translateX(-4%)}to{opacity:1;transform:translateX(4%)}}
@keyframes glint{from{transform:translateX(-100%)}to{transform:translateX(222%)}}
@media (prefers-reduced-motion:reduce){.hero::before,.hero::after{animation:none}}
.shade{position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(90deg,rgba(4,14,24,.50) 0%,rgba(4,14,24,.22) 34%,rgba(4,14,24,0) 58%),
             linear-gradient(180deg,rgba(4,14,24,.38) 0%,rgba(4,14,24,0) 20%),
             linear-gradient(0deg,rgba(4,14,24,.55) 0%,rgba(4,14,24,.25) 14%,rgba(4,14,24,0) 30%)}
#wipe{position:absolute;inset:0;pointer-events:none;opacity:0;
  background:linear-gradient(180deg,rgba(150,205,215,.75),rgba(20,90,105,.9));backdrop-filter:blur(14px)}
/* No readouts over the picture in any seat: the ROV's survey overlay and the bridge's and crane's values were removed (the owner
   did not like them; letterbox bars had been tried and taken out before that). A drag on the ROV picture or in a seat looks around. */
/* Touch: an up or down swipe always scrolls the page (the home page continues under the hero); a sideways drag looks around.
   (touch-action:none here used to swallow every vertical swipe on the ROV picture, which filled a phone's screen.) */
.hero.rov-view,.hero.seat-look{cursor:grab;touch-action:pan-y}
/* ...and in the instructor's view a sideways drag moves the view (main.js: orb), while up / down swipes stay the phone's own,
   smooth scroll (a scroll run from script was tried and stuttered beside the scene, 23 Nov 2026). A pinch stays the browser's
   where "pinch-zoom" is known; plain "pan-y" comes first for browsers that do not know it (Safari). */
.hero{touch-action:pan-y;touch-action:pan-y pinch-zoom}
.hero.looking{cursor:grabbing}

/* Header: the local copy of www.osc.no's (logo, five links, Search with Ctrl K, divider, Contact Us). Every rule is scoped to
   #hdr: on HubSpot the page uses the site's own header.html, whose links also carry the classes nav, hdr-bar, hdr-cta and
   hdr-toggle, and unscoped rules here would pull them out of place (hubspot/home-3d.css lays that header over the sea). */
#hdr{position:absolute;left:0;right:0;top:0;z-index:5}
#hdr .hdr-bar{display:flex;align-items:center;justify-content:space-between;width:100%;padding:14px var(--edge);box-sizing:border-box}
#hdr .logo{display:block;line-height:0}
#hdr .logo img{height:52px;width:auto;display:block}
#hdr nav{display:flex;align-items:center;gap:28px;font-family:Calibri,Carlito,"Segoe UI",sans-serif;font-weight:500;font-size:15px}
#hdr nav a{color:#E6ECF0;text-decoration:none;font-size:15px}
#hdr nav a:hover{color:#fff}
#hdr .sx{display:inline-flex;align-items:center;gap:8px;padding:0;border:0;background:none;color:#E6ECF0;font:inherit;cursor:pointer}
#hdr .sx:hover{color:#fff}
#hdr .sx kbd{font:inherit;font-size:11px;padding:1px 6px;border:1px solid rgba(255,255,255,.35);border-radius:3px}
#hdr .sep{width:2px;height:28px;background:#9ED3F0}
/* 900 px and narrower, as www.osc.no: logo, a blue Contact Us button, Search and a menu button (48 px squares with a faint
   outline); the menu opens the links as a full-screen teal panel under the bar (js/header.js). */
#hdr .hdr-m{display:none}
#hdr .hdr-cta{display:inline-flex;align-items:center;box-sizing:border-box;min-height:48px;padding:9px 14px;border-radius:4px;background:var(--btn);color:#fff;
  font:600 14px/1.2 var(--body);text-decoration:none;white-space:nowrap;transition:background-color .2s}
#hdr .hdr-cta:hover{background:var(--btn-hover)}
#hdr .sx-m,#hdr .hdr-toggle{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;padding:0;border:1px solid rgba(255,255,255,.3);
  border-radius:6px;background:rgba(6,61,79,.18);color:#fff;cursor:pointer;transition:background-color .2s,border-color .2s}
#hdr .sx-m:hover,#hdr .hdr-toggle:hover{border-color:rgba(255,255,255,.6)}
#hdr .hdr-cta:focus-visible,#hdr .sx-m:focus-visible,#hdr .hdr-toggle:focus-visible,#hdr nav a:focus-visible{outline:2px solid #fff;outline-offset:3px}
#hdr .hdr-toggle .ic-close{display:none}
#hdr.is-open .hdr-toggle .ic-menu{display:none}#hdr.is-open .hdr-toggle .ic-close{display:block}
@media (max-width:900px){
  #hdr .hdr-bar{padding:12px 24px 10px;gap:12px}
  #hdr .logo img{height:40px}#hdr .logo{padding:4px 0}
  #hdr .hdr-m{display:flex;align-items:center;gap:12px}
  #hdr .hdr-cta{background:transparent;border:1px solid rgba(255,255,255,.6);border-radius:6px}   /* see-through, as on HubSpot (hubspot/home-3d.css) */
  #hdr .hdr-cta:hover{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.85)}
  #hdr nav{display:none}
  #hdr.is-open nav{display:flex;flex-direction:column;align-items:stretch;gap:0;position:fixed;left:0;right:0;bottom:0;top:70px;z-index:30;
    padding:8px 24px 40px;overflow-y:auto;overscroll-behavior:contain;background:#063D4F}
  #hdr.is-open nav a{color:#fff;font-size:20px;font-weight:600;padding:16px 0;border-bottom:1px solid rgba(255,255,255,.12)}
  #hdr.is-open nav .sx,#hdr.is-open nav .sep,#hdr.is-open nav .contact{display:none}
  /* open: the header bar takes the panel's teal, so bar and links read as one surface instead of a strip of sea sky over a
     teal block; and the whole header sits above the hero's own controls (the seat row is z-index 6) */
  #hdr.is-open{z-index:40}
  #hdr.is-open .hdr-bar{background:#063D4F}
}
/* phones upright: a 60 px bar (was 70), 44 px buttons (the smallest comfortable tap) and a 34 px logo, so the hero gets the room */
@media (max-width:600px){
  #hdr .hdr-bar{padding:8px 24px;gap:10px}
  #hdr .logo img{height:34px}
  #hdr .hdr-m{gap:8px}
  #hdr .hdr-cta{min-height:44px;padding:8px 12px;font-size:13px}
  #hdr .sx-m,#hdr .hdr-toggle{width:44px;height:44px}
  #hdr.is-open nav{top:60px}
}
/* Buttons as on osc.no's home hero: 50 px high, Calibri 18, radius 4, button blue with the dark-blue hover; the second one
   outlined in white. Hover and press move them a step (the site's tiles do the same). */
.btn{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:50px;padding:0 24px;border-radius:4px;
  font:400 18px/1.2 var(--body);text-decoration:none;transition:background-color .2s,border-color .2s,color .2s,transform .15s}
.btn:active{transform:translateY(1px)}
.btn:focus-visible{outline:2px solid #fff;outline-offset:3px}
.btn.primary{background:var(--accent);color:var(--ink)}   /* coral like the controls and the seat mark, so the first screen keeps to one accent colour */
.btn.primary:hover{background:var(--accent-hover)}
.btn.ghost{border:1px solid #fff;color:#fff;background:rgba(6,61,79,.18)}
.btn.ghost:hover{background:#fff;color:#063D4F}

.copy{position:absolute;left:var(--edge);top:19%;width:min(600px,44vw);transition:opacity .6s}
.copy.dim{opacity:0;pointer-events:none}
.copy h1{font:700 clamp(30px,2.8vw,40px)/1.15 Montserrat,sans-serif;margin:0 0 24px;text-shadow:0 2px 24px rgba(0,0,0,.35)}
.copy p{font-size:clamp(17px,1.3vw,19px);line-height:1.55;margin:0 0 36px;max-width:520px;text-shadow:0 1px 12px rgba(0,0,0,.45)}
.cta{display:flex;gap:16px;flex-wrap:wrap}

/* ---- controls: no panels. They sit on the sea like the headline, on the shade's darker foot. */
.seactl,.hoist{user-select:none;-webkit-user-select:none;visibility:hidden;opacity:0;transition:opacity .6s ease-out}
/* The first screen is the headline and one invitation, the sea state. The hoist and "Take a seat" come in (.more, main.js:
   reveal) once the visitor uses a control, when the demo takes the camera off the headline, or after 10 s. */
.controls-ready .seactl,.controls-ready.more .hoist{visibility:visible;opacity:1}
/* kept compact, so the headline keeps the focus */
.seactl{position:absolute;left:var(--edge);bottom:40px;width:min(340px,34vw)}
.sea-read{margin:0 0 4px;font-size:13px;color:#dbe9f1;text-shadow:0 1px 10px rgba(0,0,0,.5)}
.sea-read b{font:800 20px/1 Montserrat,sans-serif;color:#fff;   /* white: olive here was tried and not liked (owner, 20 Nov 2026) */
margin-right:8px;letter-spacing:-.01em}
.wave{position:relative;height:40px;border-radius:10px}
.wave svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.wave path{fill:none;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
#waveAll{stroke:rgba(255,255,255,.42)}
#waveOn{stroke:var(--accent);stroke-width:3}
#buoy{fill:#fff;stroke:var(--accent);stroke-width:3.5;filter:drop-shadow(0 2px 6px rgba(0,0,0,.45));transition:r .15s}
.wave:hover #buoy,.wave:active #buoy{r:11px}
.wave input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer;appearance:none}
.wave input::-webkit-slider-thumb{appearance:none;width:20px;height:40px}
.wave input::-moz-range-thumb{width:20px;height:40px;border:0}
.wave:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:5px}
.ends{display:flex;justify-content:space-between;font-size:11px;color:#cfe3ee;margin-top:0;text-shadow:0 1px 8px rgba(0,0,0,.5)}
.lift{display:flex;flex-wrap:wrap;align-items:center;gap:5px 8px;margin:10px 0 0;font-size:13px;color:#dbe9f1;text-shadow:0 1px 10px rgba(0,0,0,.5)}
/* The lift's verdict: a small coloured dot before the sentence (main.js hud), not a filled pill: the solid orange "No-go"
   was the loudest thing in that corner and read as an alarm (owner, 19 Nov 2026). Olive within limits, coral close, red over. */
.chip{flex:none;width:9px;height:9px;border-radius:50%;color:var(--sky);background:currentColor;
  box-shadow:0 0 0 3px color-mix(in srgb,currentColor 24%,transparent);transition:color .4s}
.chip.go{color:var(--olive)}.chip.marginal{color:var(--accent)}.chip.nogo{color:#F2545B}
.lift #chipWhy{font-weight:600;color:#eef6fa}

/* The winch as one control (owner, 23 Nov 2026: "not the biggest fan of the winch up and down UI"; it was two loose buttons
   190 px apart on a hairline): the reading on top, large like "Moderate"; under it the gauge with the stages named on its left,
   and beside it, on the page's right line, raise level with the gauge's deck end and lower level with its seabed end, each
   its own button, so the gauge joins the buttons it is moved by (owner: on PC first, then on phones too, 23 Nov 2026; a
   joined raise / lower block was tried before). The gauge is to real scale. Hold a button and the winch runs until you
   let go, as a winch lever does; a quick tap still starts a run that the next tap stops (main.js: winchPress). */
.hoist{--g:0;--s:.1;--gh:min(150px,calc(18 * var(--vh)));position:absolute;right:var(--edge);bottom:40px;display:grid;
  grid-template-columns:6px 44px;grid-template-rows:auto auto 1fr auto;column-gap:14px;row-gap:8px}
.hoist output{grid-column:1 / -1;grid-row:1;justify-self:end;margin:0 0 10px;white-space:nowrap;text-align:right;
  font:800 20px/26px Montserrat,sans-serif;letter-spacing:-.01em;text-shadow:0 1px 10px rgba(0,0,0,.6)}   /* white, not olive like "Moderate": it lies over the bright sky and hull */
.gauge{grid-column:1;grid-row:2 / 5}
#raise{grid-column:2;grid-row:2}
#lower{grid-column:2;grid-row:4}
.hoist>button{position:relative;width:44px;height:44px;border-radius:6px;border:1.5px solid rgba(255,255,255,.75);background:rgba(6,61,79,.35);color:#fff;cursor:pointer;
  display:grid;place-items:center;backdrop-filter:blur(4px);transition:background-color .2s,border-color .2s,color .2s;
  touch-action:none;-webkit-touch-callout:none}   /* a held finger runs the winch: no scroll, no callout menu */
.hoist #stSeabed{transform:translateY(-50%)}
/* the water a little quieter than the wire, so the module and the coral wire read first */
.hoist .gauge{height:auto;min-height:var(--gh);   /* stretched to the buttons' span, so its ends always meet them */
  background:linear-gradient(180deg,var(--accent) 0,var(--accent) calc(var(--g)*100%),rgba(255,255,255,.4) calc(var(--g)*100%),
  rgba(255,255,255,.4) calc(var(--s)*100%),rgba(143,211,244,.45) calc(var(--s)*100%),rgba(143,211,244,.45) 100%)}
@media (min-width:901px){.hoist{column-gap:22px}}
.hoist>button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.hoist>button:hover{background:rgba(6,61,79,.6)}
.hoist>button.on{background:var(--accent);border-color:var(--accent);color:var(--ink)}
.hoist>button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
/* The gauge speaks the sea control's language: a track like its wave, gold for what the visitor has set (here the wire paid out,
   from the hook down to the module), the handle white ringed in gold like the buoy; below the sea tick the water is tinted sky
   blue. --g is registered so the module and the gold glide between hud()'s ten updates a second instead of stepping. */
@property --g{syntax:'<number>';inherits:true;initial-value:0}
.hoist{transition:opacity .6s ease-out,--g .12s linear}
.gauge{position:relative;width:6px;height:var(--gh);border-radius:3px;box-shadow:0 0 0 1px rgba(6,61,79,.3),0 1px 8px rgba(0,0,0,.35);
  background:linear-gradient(180deg,var(--accent) 0,var(--accent) calc(var(--g)*100%),rgba(255,255,255,.55) calc(var(--g)*100%),
    rgba(255,255,255,.55) calc(var(--s)*100%),rgba(143,211,244,.75) calc(var(--s)*100%),rgba(143,211,244,.75) 100%)}
/* ticks across the gauge at the deck (top), the sea surface and the seabed (bottom) */
.gauge::before,.gauge::after{content:"";position:absolute;left:-4px;width:14px;height:2px;border-radius:1px;background:rgba(255,255,255,.8)}
.gauge::before{top:-1px}.gauge::after{bottom:-1px}
.g-sea{position:absolute;left:-5px;width:16px;height:2px;margin-top:-1px;top:calc(var(--s)*100%);background:var(--sky);border-radius:1px}
.g-mod{position:absolute;left:-5px;width:16px;height:16px;margin-top:-8px;top:calc(var(--g)*100%);box-sizing:border-box;z-index:1;
  background:#fff;border:3px solid var(--accent);border-radius:4px;box-shadow:0 2px 6px rgba(0,0,0,.45)}
/* a running winch: its button shows a stop square instead of the arrow */
.hoist>button .stop{display:none;fill:currentColor;stroke:none}
.hoist>button.on .arr{display:none}.hoist>button.on .stop{display:inline}
/* the stages of the lift beside the gauge (Deck at the hook, Splash zone at the sea tick, Seabed at the station); the one the
   module is in is lit (main.js: hud). Right of the gauge here, left of it on narrow screens, where the reading is below. */
.stage{position:absolute;right:18px;font:700 12px/14px var(--body);color:rgba(230,238,243,.9);white-space:nowrap;text-align:right;
  text-shadow:0 0 3px rgba(0,0,0,.6),0 1px 8px rgba(0,0,0,.65);pointer-events:none;transition:color .3s}   /* left of the gauge: the buttons are on its right */
.stage.at{color:var(--olive);font-weight:700}
#stDeck{top:0;transform:translateY(-50%)}
#stSplash{top:calc(var(--s) * 100%);transform:translateY(-50%)}
#stSeabed{top:100%;transform:translateY(-30%)}

/* ---- the numbered steps on the two controls (main.js: stepDone): a gold number, a tick once used, gone once both are */
.step{display:flex;align-items:center;gap:7px;margin:0 0 8px;font:700 11px/1 Montserrat,sans-serif;letter-spacing:.08em;text-transform:uppercase;
  color:#fff;text-shadow:0 1px 10px rgba(0,0,0,.5);white-space:nowrap;transition:opacity .8s,color .4s}
.step i{position:relative;flex:none;display:grid;place-items:center;width:18px;height:18px;border-radius:50%;background:var(--accent);color:var(--ink);
  font:800 10px/1 Montserrat,sans-serif;font-style:normal;letter-spacing:0;text-shadow:none;box-shadow:0 1px 6px rgba(0,0,0,.35);transition:background-color .4s,color .4s}
.step.done{color:rgba(255,255,255,.6)}
.step.done i{background:transparent;color:transparent;box-shadow:inset 0 0 0 1.5px var(--accent)}
.step.done i::after{content:"";position:absolute;left:6px;top:3px;width:4px;height:8px;border:solid var(--accent);border-width:0 2px 2px 0;transform:rotate(45deg)}
.steps-done .step{opacity:0}
/* ...and come back as the plain names of the controls */
.step .st-name{display:none}
.steps-named .step{opacity:1;color:rgba(255,255,255,.72)}
.steps-named .step i,.steps-named .st-do{display:none}.steps-named .st-name{display:inline}
/* Cleaner foot of the hero: the "Set the sea state" prompt is gone (never a ticked line, never a "Sea state" label), and the
   Calm / Storm ends go too: the reading above the wave
   already names the state, and the wave itself grows from calm to storm. What is left is three lines: reading, wave, go / no-go. */
.seactl .step{display:none}   /* the prompt goes entirely: the wave with its gold buoy already reads as the thing to drag */
.seactl .ends{display:none}
.seactl .lift{margin-top:6px}
/* the winch buttons name themselves on hover or keyboard focus, with their arrow key; a running one says Stop */
.hoist>button::after{content:attr(data-tip);position:absolute;right:calc(100% + 10px);top:50%;transform:translateY(-50%);padding:4px 9px;border-radius:6px;
  background:rgba(6,61,79,.8);color:#fff;font:700 12px/1.2 Montserrat,sans-serif;white-space:nowrap;pointer-events:none;opacity:0;transition:opacity .15s}
.hoist>button.on::after{content:"Stop"}
.hoist>button:focus-visible::after{opacity:1}
@media (hover:hover){.hoist>button:hover::after{opacity:1}}
/* Back to the ship / Follow the module, above the sea controls once the camera has gone under (main.js: sim.camShip) */
/* One family of pills (this, the demo tag, the winch buttons): 44 px, a 1.5 px white outline on dark glass, Montserrat 13 bold, stepping
   to a darker glass on hover. The gold half of the demo tag is the only filled one: it is the page's single "do this" in that corner. */
.camgo{position:absolute;left:0;bottom:calc(100% + 12px);display:flex;align-items:center;gap:6px;min-height:44px;padding:0 18px 0 12px;border:1.5px solid rgba(255,255,255,.75);
  border-radius:6px;background:rgba(6,61,79,.4);color:#fff;font:700 13px/1 Montserrat,sans-serif;white-space:nowrap;cursor:pointer;backdrop-filter:blur(4px);
  visibility:hidden;opacity:0;transition:opacity .5s,visibility 0s .5s,background-color .2s}
.camgo svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;transition:transform .3s}
.camgo.down svg{transform:rotate(180deg)}
.camgo:hover{background:rgba(6,61,79,.65)}
.camgo:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.controls-ready .camgo.on{visibility:visible;opacity:1;transition:opacity .5s}
/* what the camera is doing, for a few seconds when it moves onto the ROV (main.js: camNote) */
.camnote{position:absolute;left:50%;top:30%;transform:translate(-50%,6px);width:max-content;max-width:calc(100% - 48px);text-wrap:balance;box-sizing:border-box;margin:0;padding:8px 16px;border-radius:6px;
  background:rgba(6,61,79,.62);color:#fff;font:700 14px/1.35 Montserrat,sans-serif;text-align:center;backdrop-filter:blur(4px);pointer-events:none;
  opacity:0;transition:opacity .5s,transform .5s}
.camnote.on{opacity:1;transform:translate(-50%,0)}
/* the dip to dark while the camera changes seat (main.js: setSeat) */
#cut{position:absolute;inset:0;background:#040e18;opacity:0;pointer-events:none;transition:opacity .22s}
.hero.cut #cut{opacity:1}
/* The seat switcher: a segmented control with no heading. A dark glass track with a faint outline (as osc.no's phone header
   buttons), the seats in equal columns on desktop, and one gold mark that slides to the chosen seat (main.js: seatUi sets --x/--w)
   rather than each button lighting up on its own. Bottom centre on desktop. At 900 px and narrower (the header there is osc.no's,
   with no room in it) the row sits under the header bar, on the logo's line, once the headline has made way (.copy-away). */
.seats{position:absolute;left:50%;bottom:40px;transform:translateX(-50%);user-select:none;-webkit-user-select:none;
  visibility:hidden;opacity:0;transition:opacity .6s ease-out}
.seats div{position:relative;display:grid;grid-auto-flow:column;grid-auto-columns:1fr;padding:4px;border:1px solid rgba(255,255,255,.3);border-radius:6px;
  background:rgba(6,61,79,.5);backdrop-filter:blur(6px);box-shadow:0 2px 14px rgba(0,0,0,.28)}
.seat-ind{position:absolute;left:0;top:4px;bottom:4px;width:var(--w,0);transform:translateX(var(--x,0));border-radius:4px;background:var(--accent);
  box-shadow:0 1px 6px rgba(0,0,0,.3);transition:transform .35s cubic-bezier(.3,.7,.2,1),width .35s cubic-bezier(.3,.7,.2,1)}
.seats button{position:relative;padding:9px 16px;border:0;border-radius:4px;background:none;color:rgba(255,255,255,.82);font:700 13px/1.2 Montserrat,sans-serif;
  white-space:nowrap;cursor:pointer;transition:background-color .2s,color .25s}
.seats button:hover:not([aria-pressed=true]):not(:disabled){color:#fff;background:rgba(255,255,255,.08)}
.seats button[aria-pressed=true]{color:var(--ink);cursor:default}
.seats button:disabled{opacity:.38;cursor:default}
.seats button:focus-visible{outline:2px solid #fff;outline-offset:2px}
.controls-ready.more .seats{visibility:visible;opacity:1}
@media (min-width:901px) and (max-width:1200px){.seactl{width:min(340px,calc(50vw - 246px))}   /* clear of the seat row in the middle */
  .seats button{padding:9px 10px;font-size:12px}}
/* The ROV seat chosen while the ROV is still downloading (main.js: setSeat, seatUi): the button breathes until the cut */
.seats button[aria-busy=true]{animation:seatWait .9s ease-in-out infinite alternate;cursor:progress}
@keyframes seatWait{to{opacity:.5}}
@media (prefers-reduced-motion:reduce){#cut,.seats,.seats button,.seat-ind{transition:none}.seats button[aria-busy=true],.seats.busy button[aria-pressed=true]{animation:none;opacity:.7}}
@media (max-width:900px){
  .seats{left:24px;right:auto;top:78px;bottom:auto;transform:none;z-index:6}
  @media (max-width:600px){.seats{top:68px}}   /* under the 60 px phone header */
  .seats div{grid-auto-columns:auto;padding:2px;border-radius:6px}
  .seat-ind{top:2px;bottom:2px;border-radius:4px}
  .seats button{min-height:44px;padding:0 11px;border-radius:4px;font-size:12px}
  .controls-ready.more:not(.copy-away) .seats{visibility:hidden;opacity:0}
}
@media (max-width:900px) and (max-height:500px) and (orientation:landscape){.seats{top:70px}}
/* above the hoist: its step and, while the demo drives the winch, a tag that hands it over */
.hoist-head{position:absolute;right:0;width:max-content;bottom:calc(100% + 12px);display:grid;justify-items:end;gap:8px}
.hoist-head .step{margin:0}
/* The demo tag is one pill, the same height and outline as the seat row and the winch buttons: a pulsing dot and "Demo running" say
   what is happening, and a gold half, "Take control", is the one thing to press (gold is the page's accent for what you act on). */
.auto{display:flex;align-items:center;gap:8px;min-height:44px;padding:0 0 0 15px;border:1.5px solid rgba(255,255,255,.75);border-radius:6px;
  background:rgba(6,61,79,.4);color:#e6eef3;font:700 13px/1 Montserrat,sans-serif;white-space:nowrap;cursor:pointer;overflow:hidden;backdrop-filter:blur(4px);
  visibility:hidden;opacity:0;transition:opacity .5s,visibility 0s .5s,background-color .2s,border-color .3s,color .3s}
.auto-on{display:contents}
.auto-run{font-weight:600;letter-spacing:.02em}
.auto b{display:grid;place-items:center;align-self:stretch;margin-left:4px;padding:0 18px;background:var(--accent);color:var(--ink);font-weight:800;transition:background-color .2s}
.auto:hover b{background:var(--accent-hover)}
.auto::before{content:"";flex:none;width:8px;height:8px;border-radius:50%;background:var(--accent);animation:autoPulse 1.6s ease-in-out infinite}
.auto:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.auto:not(.on){display:none}   /* gone, not just invisible: a hidden tag left a gap between the hoist's label and its gauge */
.controls-ready.more .auto.on{visibility:visible;opacity:1;transition:opacity .5s,border-color .3s,color .3s}
/* The hoist says what it is doing in one place: the demo tag while the demo runs, the lit stage beside the gauge, and the wire
   or depth reading only once the module has left the hook ("Deck" already says it is there). It carries no heading of its own:
   a "Hoist" label floated above the gauge, away from everything, once the visitor had used both controls. */
.hoist-head .step{display:none}
/* While the demo runs (main.js: hud) the hoist is just its tag: no buttons, gauge or reading until the visitor takes over */
.hoist.demo{display:block;width:max-content}
.hoist.demo>button,.hoist.demo .gauge,.hoist.demo output{display:none}
.hoist.demo .hoist-head{position:static}
@media (min-width:901px){.hoist.demo{right:var(--edge)}}
.hoist output{transition:opacity .4s}
.hoist output.idle{opacity:0}
@keyframes autoPulse{50%{opacity:.25}}

@media (max-width:900px){.copy{width:auto;right:24px;left:24px}
  .seactl{left:24px;bottom:24px;width:min(340px,calc(100% - 140px))}.sea-read b{display:block;margin-bottom:3px}
  .chip{white-space:nowrap}.hoist{right:24px;bottom:24px;--gh:clamp(96px,calc(14 * var(--vh)),130px)}
  .hoist output{margin-bottom:8px;font-size:16px;line-height:20px}   /* as "Moderate" on the left */
  .stage{right:16px;font-size:11px;line-height:12px}
  .step{font-size:11px;margin-bottom:8px}
  /* the demo pill rides on the row above the sea control, at the right, level with "Follow the module" (it used to lie over the
     "Storm" label); "Demo running" is left to the pulsing dot on phones, so the two pills share the row. Its height comes from
     the sea control's measured height (main.js: --seactl-h), as "Follow the module" stands 12 px above that control. */
  .hoist.demo{bottom:calc(24px + var(--seactl-h, 111px) + 12px)}
  .camgo{padding:0 14px 0 10px;font-size:12px}.auto b{padding:0 14px}
  .camnote{top:136px;font-size:12px;padding:7px 14px}}   /* just under the seat row */
/* Phones: less of the screen under text and controls, so the ship keeps a real share of it (owner, 23 Nov 2026: "on smaller
   screens things are way too big"; at 390x700 the text and controls left the sea a 147 px strip). The header is 60 px (see #hdr
   above), so the headline starts higher; the sea control reads on one line over a lower wave. */
@media (max-width:600px){.copy{top:max(76px,13vh)}
  .copy h1{font-size:clamp(24px,6.5vw,32px);margin-bottom:16px}.copy p{font-size:16px;line-height:1.5;margin-bottom:18px}
  .cta{gap:8px}.copy .btn{min-height:44px;padding:10px;font-size:16px}
  .sea-read{margin-bottom:2px;font-size:12px;line-height:1.35}
  .sea-read b{display:inline;margin:0 6px 0 0;font-size:16px}
  #seaVals{white-space:nowrap}   /* on the narrowest phones the values drop below the name whole, never "29 m/s / wind" */
  .wave{height:30px}.wave input{inset:-7px 0;height:auto}   /* the drawn wave is lower; the touch strip stays 44 px */
  .wave input::-webkit-slider-thumb{height:44px}.wave input::-moz-range-thumb{height:44px}
  .seactl .lift{margin-top:4px;font-size:12px}
  /* The two pills above the sea control are smaller and quieter here (owner, 23 Nov 2026: the bottom of the phone screen
     irritated most): 36 px drawn with a thinner, fainter outline and 12 px text, 8 px above the sea control. An invisible
     ::after keeps each one 44 px tall to the finger. */
  .camgo,.auto{min-height:36px;border-width:1px;border-color:rgba(255,255,255,.5);font-size:12px;border-radius:6px}
  .camgo{bottom:calc(100% + 8px);padding:0 14px 0 9px;gap:5px}.camgo svg{width:16px;height:16px}
  .hoist,.hoist.demo{bottom:calc(24px + var(--seactl-h, 67px) + 8px)}   /* the winch stands on the sea control's row, right of "Follow the module", so its stage label never meets the wave */
  .auto{overflow:visible;position:relative}
  .auto b{padding:0 14px;border-radius:0 5px 5px 0}
  .camgo::after,.auto::after{content:"";position:absolute;left:-1px;right:-1px;top:-5px;bottom:-5px}}   /* from inside the 1 px border: 36 + 2 + 2x3 = 44 */
/* phones, as osc.no's home hero there: the header already has Contact Us, so the hero keeps only "Explore simulators", at its
   own width (a full-width box was the heaviest thing on the first screen) */
@media (max-width:560px){.cta .btn.primary{display:none}.cta .btn.ghost{padding:0 22px}}
@media (prefers-reduced-motion:reduce){.seactl,.hoist,#buoy,.chip,.hoist>button,.step,.step i,.stage,.auto,.camgo,.camnote,.hoist>button::after{transition:none}.auto::before{animation:none}}

/* ---- light hero (js/boot.js): the page as it is before the 3D scene starts - headline, gradient or sea poster, the ship's
   line drawing - kept as the hero. Where WebGL works, a button offers the live scene; it stays up, saying it is loading,
   until the scene's controls take its place. */
.live3d{display:none;position:absolute;left:var(--edge);bottom:40px;align-items:center;gap:14px;padding:10px 20px 10px 10px;overflow:hidden;
  border:1.5px solid rgba(255,255,255,.75);border-radius:6px;background:rgba(6,61,79,.35);color:#fff;cursor:pointer;
  font:700 15px/1.25 Montserrat,sans-serif;text-align:left;backdrop-filter:blur(4px);transition:background-color .2s}
.live3d:hover{background:rgba(6,61,79,.6)}
.live3d:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.live3d svg{flex:none;width:40px;height:40px;padding:11px 10px 11px 12px;border-radius:4px;background:var(--accent);fill:var(--ink)}
.live3d small{display:block;font:400 14px/1.3 var(--body);color:#cfe3ee;margin-top:2px}
/* pressed (js/boot.js): the play mark becomes a turning ring, the border turns gold and a short bar runs along the bottom */
.l3-ring{display:none;fill:none;stroke:var(--ink);stroke-width:2.6;stroke-linecap:round;stroke-dasharray:30 18;transform-origin:12px 12px}
.live3d[aria-busy]{cursor:progress;border-color:var(--accent);background:rgba(6,61,79,.6)}
.live3d[aria-busy] svg{padding:8px}
.live3d[aria-busy] .l3-play{display:none}
.live3d[aria-busy] .l3-ring{display:block;animation:l3spin .9s linear infinite}
.live3d small{font-variant-numeric:tabular-nums}
.l3-bar{display:none;position:absolute;left:0;bottom:0;width:30%;height:3px;background:var(--accent);border-radius:2px}
.live3d[aria-busy] .l3-bar{display:block;animation:l3run 1.4s ease-in-out infinite}
/* when this device or browser cannot run the scene (js/boot.js: offerRetry): a notice with a longer text, not the play invitation */
.live3d.unsupported{align-items:flex-start;border-radius:6px;padding:12px 20px 12px 12px}
.live3d.unsupported .l3-s{max-width:34ch;line-height:1.35}
@keyframes l3spin{to{transform:rotate(360deg)}}
@keyframes l3run{from{transform:translateX(-100%)}to{transform:translateX(340%)}}
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.lite:not(.nogl) .live3d,.live .live3d[aria-busy]{display:flex}
.hero.controls-ready .live3d{display:none}
@media (max-width:900px){.live3d{left:24px;right:24px;bottom:24px;max-width:430px}}
@media (prefers-reduced-motion:reduce){.live3d[aria-busy] .l3-ring,.live3d[aria-busy] .l3-bar{animation:none}.live3d[aria-busy] .l3-bar{width:100%;opacity:.5}}
/* the GPU dropped the 3D scene (main.js): the light hero shows until it is back */
.gl-lost #gl{opacity:0;transition:none}
/* main.js gave the scene up (frames kept failing): the light hero, without the scene's controls */
.gl-failed #gl{display:none}
.gl-failed .seactl,.gl-failed .hoist,.gl-failed .seats,.gl-failed .camgo,.gl-failed .auto{display:none!important}
.gl-lost #pre{display:block!important;opacity:1!important}
.gl-lost .seactl,.gl-lost .hoist,.gl-lost .seats{visibility:hidden;opacity:0}
.gl-lost .copy.dim{opacity:1;pointer-events:auto}

/* ---- short screens: everything stays on the visible screen, no scrolling */
/* short phones held upright (iPhone SE and the like with the browser bars showing) */
@media (max-width:600px) and (max-height:640px){
  .copy{top:78px}
  .copy h1{margin-bottom:10px}.copy p{font-size:14px;line-height:1.45;margin-bottom:14px}
  .ends{margin-top:0;font-size:11px;line-height:13px}.wave{height:36px}.lift{margin-top:8px}
  /* the hoist's step and demo tag on one row, so they stay clear of the headline's buttons */
  .hoist-head{grid-auto-flow:column;align-items:center;bottom:calc(100% + 8px)}
  /* the hoist's tag and label wait until the headline has made way (at 320x568 they met the headline's button) */
  .hero.controls-ready.more:not(.copy-away) .auto{visibility:hidden;opacity:0}
  .camnote{padding:5px 12px}
  /* ...until the headline has gone (the camera follows the module down): stacked again, clear of "Back to the ship" */
  .dived .hoist-head{grid-auto-flow:row;align-items:normal}
  /* "Back to the ship" brings the headline back: on these short screens without its paragraph, so the headline's buttons,
     "Follow the module" and the hoist's (stacked) heading all fit */
  .ship-view .copy p{display:none}.ship-view .hoist-head{grid-auto-flow:row;align-items:normal}}
/* short desktop windows */
@media (min-width:901px) and (max-height:720px){
  .copy{top:15%}.copy h1{margin-bottom:12px}.copy p{margin-bottom:16px}
  .seactl,.hoist,.live3d,.seats{bottom:24px}.ends{margin-top:0;font-size:11px;line-height:13px}.lift{margin-top:8px}}
/* Buttons never overlap (owner, 20 Nov 2026: at 962 px the seat row ran 21 px into the demo tag). On one row the sea control (left),
   the seat row (centred) and the demo tag (right) need about 1030 px at full size. From 901 to 1100 px the pills are smaller
   (38 px high, 11-12 px text, closer padding), so all three still fit on the one row, the seat row stays centred and the demo
   tag keeps the page's right margin. (Lifting the seat row onto a row of its own was tried first and did not look right.) */
@media (min-width:901px) and (max-width:1100px){
  .seats div{padding:3px}
  .seat-ind{top:3px;bottom:3px}
  .seats button{padding:8px 8px;font-size:11px}
  .auto{min-height:38px;gap:6px;padding-left:12px;font-size:12px}.auto b{margin-left:2px;padding:0 13px}
  .camgo{min-height:38px;padding:0 14px 0 9px;font-size:12px}}
/* the narrowest desktop windows (901-960 px) need one more step to keep a comfortable gap on both sides of the seat row */
@media (min-width:901px) and (max-width:960px){
  .seats button{padding:8px 6px;font-size:10.5px}
  .auto{gap:5px;padding-left:10px;font-size:11.5px}.auto b{padding:0 11px}
  .camgo{font-size:11.5px}}
/* phones on their side: the copy on the left, the controls (or the 3D button) bottom right, the hoist reading above its buttons */
@media (max-height:500px) and (orientation:landscape){
  #hdr .hdr-bar{padding:8px 24px}#hdr .logo img{height:40px}
  .copy{top:74px;left:24px;right:auto;width:min(46vw,420px)}
  .copy h1{font-size:clamp(18px,calc(6.4 * var(--vh)),28px);margin-bottom:8px}
  .copy p{font-size:13px;line-height:1.45;margin-bottom:12px}
  .cta{gap:8px}.copy .btn{min-height:44px;padding:0 16px;font-size:15px}
  .seactl{left:auto;right:116px;bottom:12px;width:min(340px,calc(54vw - 164px))}   /* clear of the winch (gauge and buttons, 64 px) */
  .sea-read{margin-bottom:2px;font-size:13px}.sea-read b{display:inline;font-size:20px;margin:0 8px 0 0}
  .ends{margin-top:0;font-size:11px;line-height:13px}.wave{height:32px}.lift{margin-top:6px;font-size:12px}
  .hoist{right:24px;bottom:12px;--gh:clamp(36px,calc(100 * var(--vh) - 250px),110px)}
  .hoist output{top:-24px;right:0;max-width:none;white-space:nowrap;font-size:13px;line-height:18px}
  .hoist .hoist-head{right:0;bottom:calc(100% + 8px);gap:6px}.stage{display:none}
  .hoist output{margin-bottom:6px}
  .camnote{top:74px;left:auto;right:24px;transform:translateY(6px);font-size:12px;padding:6px 12px;max-width:calc(100% - 340px)}   /* right of the view button */
  .camnote.on{transform:none}
  .live3d{left:auto;right:24px;bottom:12px;max-width:340px}}

/* ---- phones (upright up to 600 px, or on their side): less on screen (owner: "really messy on the phone").
   The seat switcher is one small button naming the current view, which opens the four views as a short list (main.js: the
   seats' click handler); the hoist names only the stage the module is in, and its reading stays on one line. Tablets and
   desktop keep the full seat row and all three stage labels. */
@media (max-width:600px), (max-height:500px) and (orientation:landscape){
  .seats div{display:flex;flex-direction:column;align-items:stretch;padding:0;gap:2px;border-radius:6px}
  .seat-ind{display:none}
  .seats button{display:none;align-items:center;min-height:44px;padding:0 16px 0 14px;border-radius:6px;color:#fff;text-align:left}
  .seats button[aria-pressed=true]{display:flex;color:#fff;cursor:pointer}
  .seats button[aria-pressed=true]::before{content:"";flex:none;width:18px;height:18px;margin-right:8px;background:no-repeat center/contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='6' width='14' height='12' rx='2'/%3E%3Cpath d='M16 10l6-3v10l-6-3z'/%3E%3C/svg%3E")}
  .seats button[aria-pressed=true]::after{content:"";flex:none;width:7px;height:7px;margin:-4px 0 0 12px;border:solid currentColor;border-width:0 2px 2px 0;transform:rotate(45deg);transition:transform .2s}
  .seats.open div{padding:4px;border-radius:6px}
  .seats.open button{display:flex;border-radius:4px}
  .seats.open button:not([aria-pressed=true]):not(:disabled):hover{background:rgba(255,255,255,.1)}
  .seats.open button[aria-pressed=true]{background:var(--accent);color:var(--ink)}
  .seats.open button[aria-pressed=true]::before{display:none}
  .seats.open button[aria-pressed=true]::after{margin-top:4px;transform:rotate(-135deg)}
  .seats.busy:not(.open) button[aria-pressed=true]{animation:seatWait .9s ease-in-out infinite alternate;cursor:progress}   /* a chosen seat still loading */
  .stage:not(.at){display:none}
  .hoist output{max-width:none;white-space:nowrap}
  .auto-run{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}   /* the dot says it; screen readers still read it */
  .auto{padding-left:13px}
}
/* the narrowest phones: the two pills stay side by side on their row and never stack (owner: "the pills should never go on
   top of each other"). As the row runs out, step by step: the view button's label breaks onto two lines inside its 44 px pill
   ("Follow the / module"), then the demo pill's ("Take / control"), then the demo pill drops its dot. */
@media (max-width:368px){
  .camgo{gap:5px;padding:0 12px 0 9px;line-height:1.15}
  #camgoT{max-width:5.9em;white-space:normal;text-wrap:balance}}
@media (max-width:315px){
  .auto{gap:6px;padding-left:11px;line-height:1.15}
  .auto b{width:min-content;padding:0 12px;white-space:normal;text-align:center}}
@media (max-width:290px){
  .camgo{gap:4px;padding:0 10px 0 7px}.camgo svg{width:16px;height:16px}
  .auto{padding-left:0}.auto::before{display:none}.auto b{margin-left:0}}
/* on their side the demo pill sits above the sea control, right of it, clear of the camera note */
@media (max-height:500px) and (orientation:landscape){.hoist.demo{bottom:140px}}
.seats-open .camnote{opacity:0}   /* the open view list lies where the note is */
@media (prefers-reduced-motion:reduce){.seats button::after{transition:none}}

/* Firefox: no frosted glass over the live scene. Every backdrop-filter has Firefox render the animating canvas into an extra
   texture and blur it each frame: measured 20 Nov 2026 in Firefox 160 on a GTX 980 (the owner's PC), same page and scene:
   14 fps with the blur, 57 fps with all backdrop-filters off. So there the pills, buttons and the underwater wipe keep their dark
   tint, a little more opaque to make up for the blur, and drop only the blur. (@supports (-moz-appearance:none) is true in
   Firefox only. Every other browser keeps the glass.) */
@supports (-moz-appearance:none){
  .live3d,.hoist>button,.camgo,.camnote,.seats div,.auto,#wipe{backdrop-filter:none;-webkit-backdrop-filter:none}
  .live3d,.camgo,.auto{background:rgba(6,61,79,.74)}
  .hoist>button{background:rgba(6,61,79,.7)}
  .camnote{background:rgba(6,61,79,.82)}
  .seats div{background:rgba(6,61,79,.78)}
  .live3d:hover,.camgo:hover,.hoist>button:hover{background:rgba(6,61,79,.9)}
  .live3d[aria-busy]{background:rgba(6,61,79,.88)}
  .hoist>button.on{background:var(--accent)}
}

/* "A simplified browser version of our simulator" line (Gaby, 24 Nov 2026). Wide screens: small, centred under the view tabs
   (.cap-d, in the hero). At 900 px and below, where the controls move, it sits under the Explore simulators button (.cap-m, in
   the copy). #hero / #copy in the selectors on purpose: the hero copy's own "p" rules would otherwise make it 16 px. */
.cap{margin:0;font:400 13px/1.35 Carlito,Calibri,sans-serif;color:rgba(255,255,255,.76);text-shadow:0 1px 6px rgba(0,0,0,.55)}
#hero p.cap-d{position:absolute;left:50%;transform:translateX(-50%);bottom:10px;z-index:4;white-space:nowrap;text-align:center;margin:0;font:400 13px/1.35 Carlito,Calibri,sans-serif;color:rgba(255,255,255,.76)}
#hero p.cap a{color:#fff;text-decoration:underline;text-underline-offset:3px;text-decoration-color:rgba(255,255,255,.55);white-space:nowrap}
#hero p.cap a:hover{text-decoration-color:#fff}
#hero p.cap a:focus-visible{outline:2px solid #fff;outline-offset:3px}
#copy p.cap-m{display:none;margin:22px 0 0;max-width:260px;font:400 12px/1.45 Carlito,Calibri,sans-serif;color:rgba(255,255,255,.88);text-shadow:0 1px 3px rgba(0,0,0,.6),0 1px 12px rgba(0,0,0,.65)}
#copy p.cap-m a{display:inline-block;margin-top:3px}
/* On phones the line fades in once the live scene is up (boot.js adds .scene-ready when the models are in and the first frame is drawn): it explains the live scene, not the still picture */
@media (max-width:900px){#hero p.cap-d{display:none}
  #copy p.cap-m{display:block;visibility:hidden;opacity:0;transition:opacity .9s ease,visibility 0s .9s}
  html.scene-ready #copy p.cap-m{visibility:visible;opacity:1;transition:opacity .9s ease}}
@media (prefers-reduced-motion:reduce){#copy p.cap-m,html.scene-ready #copy p.cap-m{transition:none}}