@font-face {
  font-family: "Jost"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(../assets/fonts/jost-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Jost"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(../assets/fonts/jost-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Type: Jost, a geometric face in the Futura tradition. Three weights only: 300 for figures,
   titles and running text, 400 for labels, 500 for controls. Capitals are always letter-spaced
   (.16–.24em); sentences never are. */
:root {
  --bg: #04070d;
  --ink: #eef2f7;
  --ink-2: rgba(232, 238, 246, .68);
  --ink-3: rgba(232, 238, 246, .44);
  --line: rgba(255, 255, 255, .13);
  --line-2: rgba(255, 255, 255, .07);
  --glass: rgba(7, 12, 21, .56);
  --glass-2: rgba(255, 255, 255, .045);
  --accent: #ea4a33;
  /* Controls draw with these: --tint is the colour of every line and veil, --hi the
     emphasis (chosen control, icons), --on-hi the text on it, --surface a panel,
     --cell a filled block. Here are the dark values for everything that lies over the
     3D picture; the panel sets its own white ones (see #panel). */
  --tint: 255, 255, 255; --tint-on: 5, 8, 14;
  --hi: #fff; --on-hi: #05080e;
  --surface: #080e18; --cell: rgba(8, 13, 22, .78);
  --ink-1: rgba(232, 238, 246, .82);
  --r: 2px; --r-s: 1px; --r-panel: 2px;
  --panel-w: clamp(352px, 27.5vw, 432px);
  --pad: clamp(18px, 2vw, 30px);
  --bar-h: 76px;
  --e-out: cubic-bezier(.16, 1, .3, 1);
  --e-io: cubic-bezier(.65, 0, .35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; margin: 0; background: var(--bg); color: var(--ink); overflow: hidden; }
body {
  font-family: "Jost", "Futura", "Century Gothic", system-ui, sans-serif; font-size: 15px; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
button:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 1px solid #fff; outline-offset: 3px; }
img { display: block; max-width: 100%; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 300; }
dl, dd, ul { margin: 0; padding: 0; list-style: none; }

#gl { position: fixed; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; cursor: grab; outline: none; }
#gl.grabbing { cursor: grabbing; }
#app { position: fixed; inset: 0; pointer-events: none; }
#app > * { pointer-events: auto; }
#app[data-mode="fleet"] ~ #gl, body:has(#app[data-mode="fleet"]) #gl, body:has(#app[data-mode="enter"]) #gl { cursor: default; }

/* ---------- type helpers ---------- */
.eyebrow, .lbl {
  font-size: 11px; line-height: 1.35; letter-spacing: .2em; text-transform: uppercase; font-weight: 400; color: var(--ink-3);
}
.model { font-weight: 300; letter-spacing: .2em; text-transform: lowercase; margin-right: -.2em; }
.num { font-variant-numeric: tabular-nums lining-nums; }

/* ---------- top bar ---------- */
.bar {
  position: absolute; left: 0; right: 0; top: 0; height: var(--bar-h); padding: 0 var(--pad);
  display: flex; align-items: center; gap: 28px; z-index: 30;
  background: linear-gradient(180deg, rgba(3, 6, 12, .62), rgba(3, 6, 12, 0));
  pointer-events: none !important;
}
.bar > * { pointer-events: auto; }
.brand { display: block; opacity: .96; transition: opacity .3s; }
.brand img { height: 27px; width: auto; }
.brand:hover { opacity: 1; }
.trail { display: flex; align-items: center; gap: 12px; min-width: 0; opacity: 0; visibility: hidden; transform: translateX(-8px); transition: opacity .6s var(--e-out), transform .8s var(--e-out), visibility .6s; }
[data-mode="explore"] .trail, [data-mode="detail"] .trail { opacity: 1; visibility: visible; transform: none; }
.trail::before { content: ""; width: 1px; height: 18px; background: var(--line); margin-right: 8px; }
.trail button, .trail span { font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; font-weight: 400; color: var(--ink-3); white-space: nowrap; transition: color .25s; }
.trail button:hover { color: var(--ink); }
.trail .here { color: var(--ink); }
.trail i { width: 14px; height: 1px; background: var(--line); flex: none; }
.trail .tm { letter-spacing: .2em; text-transform: lowercase; }
.bar-end { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.link { font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; color: var(--ink-2); display: inline-flex; align-items: center; gap: 10px; padding: 10px 2px; transition: color .25s; }
.link:hover { color: #fff; }
.ico-grid { width: 11px; height: 11px; background: linear-gradient(currentColor 0 0) 0 0 / 4px 4px no-repeat, linear-gradient(currentColor 0 0) 100% 0 / 4px 4px no-repeat, linear-gradient(currentColor 0 0) 0 100% / 4px 4px no-repeat, linear-gradient(currentColor 0 0) 100% 100% / 4px 4px no-repeat; }
.cta {
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500;
  height: 40px; padding: 0 22px 0 24px; border: 1px solid rgba(255, 255, 255, .55); color: #fff; border-radius: 1px;
  transition: background .3s, color .3s, border-color .3s;
}
.cta:hover { background: #fff; color: #05080e; border-color: #fff; }
/* the eye that clears the screen down to the 3D picture */
.ui-eye { position: relative; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: var(--ink-2); opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s, color .25s, background .3s; }
[data-mode="explore"] .ui-eye, [data-mode="detail"] .ui-eye { opacity: 1; visibility: visible; }
.ui-eye:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.ui-eye[aria-pressed="true"]::after { content: ""; position: absolute; width: 24px; height: 1px; background: currentColor; transform: rotate(-45deg); }
#app[data-clean] :is(#panel, #tour, #spots, #hint, .trail, .brand, #btn-fleet, #btn-enquire) { opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; }
#app[data-clean] .ui-eye { opacity: .5; }
#app[data-clean] .ui-eye:hover { opacity: 1; }
#btn-fleet, #btn-enquire { opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s, background .3s, color .3s, border-color .3s; }
[data-mode="explore"] #btn-fleet, [data-mode="detail"] #btn-fleet, [data-mode="explore"] #btn-enquire, [data-mode="detail"] #btn-enquire { opacity: 1; visibility: visible; }

/* ---------- loader ---------- */
#loader {
  position: absolute; inset: 0; z-index: 100; background: radial-gradient(120% 90% at 50% 40%, #0a1322 0%, #04070d 62%);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  transition: opacity 1.1s var(--e-io), visibility 1.1s;
}
#loader img { height: 44px; width: auto; margin-bottom: 6px; }
.ld-model { font-size: 13px; letter-spacing: .4em; margin-right: -.4em; text-transform: lowercase; color: var(--ink-2); }
.ld-bar { width: min(280px, 60vw); height: 1px; background: var(--line); margin-top: 22px; overflow: hidden; }
.ld-bar i { display: block; height: 100%; width: 100%; background: #fff; transform-origin: 0 50%; transform: scaleX(0); transition: transform .5s var(--e-out); }
.ld-msg { width: min(280px, 60vw); display: flex; justify-content: space-between; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); font-variant-numeric: tabular-nums; }
#ld-pct::after { content: " %"; }
#app:not([data-mode="loading"]) #loader { opacity: 0; visibility: hidden; }

/* ---------- fleet ---------- */
#fleet { position: absolute; inset: 0; z-index: 10; opacity: 0; visibility: hidden; transition: opacity .9s var(--e-io), visibility .9s; }
[data-mode="fleet"] #fleet, [data-mode="enter"] #fleet { opacity: 1; visibility: visible; }
.fleet-head { position: absolute; left: 0; right: 0; top: calc(var(--bar-h) + 2vh); text-align: center; z-index: 2; pointer-events: none; transition: opacity .6s, transform .9s var(--e-out); }
.fleet-head h1 { font-size: clamp(20px, 1.9vw, 34px); font-weight: 300; letter-spacing: .22em; text-transform: uppercase; margin: 10px -.22em 0 0; }
/* Gone in every stage but the fleet itself. (Hiding them only while entering let the
   heading fade back in for a moment as the fleet layer faded out.) */
#app:not([data-mode="fleet"]) .fleet-head { opacity: 0; transform: translateY(-14px); }
.frames { position: absolute; inset: 0; display: flex; }
.frame { position: relative; flex: 1 1 0; min-width: 0; height: 100%; text-align: left; overflow: hidden; cursor: pointer; }
/* Hover uses transforms and opacity only, so it never re-lays the page out: the picture
   eases closer and the other two dim. Which frame is "hot" is decided in script from the
   pointer position (see UI._buildFleet), not by :hover. */
.frame .f-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1); will-change: transform; transition: transform 1.5s var(--e-out), opacity .55s var(--e-io) .05s; }
.frame.hot .f-img { transform: scale(1.06); }
.frame .f-dim { position: absolute; inset: 0; z-index: 1; background: rgba(2, 5, 10, .58); opacity: 0; pointer-events: none; will-change: opacity; transition: opacity .6s var(--e-io); }
.frames.has-hot .frame:not(.hot) .f-dim { opacity: 1; }
.frames.chosen .frame.sel .f-img { opacity: 0; }
.frames.chosen .f-dim { opacity: 0 !important; }
.frame + .frame::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: linear-gradient(180deg, transparent, var(--line) 22%, var(--line) 78%, transparent); z-index: 2; transition: opacity .5s; }
.frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(3, 6, 12, .5) 0%, rgba(3, 6, 12, 0) 26%, rgba(3, 6, 12, 0) 52%, rgba(3, 6, 12, .78) 100%);
  transition: opacity .7s;
}
.frame .f-in { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 clamp(20px, 2.6vw, 44px) clamp(58px, 9vh, 96px); z-index: 3; transition: opacity .6s var(--e-io), transform .9s var(--e-out); }
.frames.has-hot .frame:not(.hot) .f-in { opacity: .45; }
.frame .f-no { font-size: 11.5px; letter-spacing: .26em; color: var(--ink-3); font-weight: 400; }
.frame .f-model { display: block; font-size: clamp(19px, 1.7vw, 28px); margin-top: 14px; white-space: nowrap; }
.frame .f-ed { display: flex; align-items: center; gap: 12px; margin-top: 10px; font-size: 12.5px; letter-spacing: .22em; text-transform: uppercase; font-weight: 400; color: var(--ink-2); white-space: nowrap; }
.frame .f-sw { width: 26px; height: 9px; border-radius: 5px; overflow: hidden; display: inline-flex; flex: none; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); }
.frame .f-sw i { flex: 1; }
.frame .f-specs { display: flex; gap: 26px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); white-space: nowrap; }
.frame .f-specs div { min-width: 0; }
.frame .f-specs b { display: block; font-size: 23px; font-weight: 300; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.frame .f-specs b small { font-size: 12px; color: var(--ink-3); margin-left: 4px; letter-spacing: .06em; }
.frame .f-specs span { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); font-weight: 400; }
.frame .f-go { display: inline-flex; align-items: center; gap: 14px; margin-top: 24px; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; font-weight: 500; opacity: 0; transform: translateY(8px); transition: opacity .45s, transform .7s var(--e-out); }
.frame .f-go::after { content: ""; width: 58px; height: 1px; background: currentColor; transform: scaleX(.55); transform-origin: 0 50%; transition: transform .7s var(--e-out); }
.frame.hot .f-go, .frame:focus-visible .f-go { opacity: 1; transform: none; }
.frame.hot .f-go::after { transform: scaleX(1); }
.frames.chosen .frame { flex-grow: .00001 !important; transition: flex-grow 1.5s var(--e-io); pointer-events: none; }
.frames.chosen .frame.sel { flex-grow: 1 !important; }
.frames.chosen .frame .f-in { opacity: 0; transform: translateY(18px); }
.frames.chosen .frame::after, .frames.chosen .frame::before { opacity: 0 !important; }

/* ---------- hotspots ---------- */
#spots { position: absolute; inset: 0; z-index: 12; pointer-events: none !important; overflow: hidden; }
.spot {
  position: absolute; left: 0; top: 0; width: 0; height: 0; pointer-events: none; opacity: 0;
  will-change: transform, opacity;
}
.spot button { position: absolute; left: -22px; top: -22px; width: 44px; height: 44px; border-radius: 50%; pointer-events: auto; }
.spot.off button { pointer-events: none; }
.spot .ring { position: absolute; left: -11px; top: -11px; width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .62); background: rgba(6, 10, 18, .42); transition: transform .55s var(--e-out), border-color .3s, background .3s; }
.spot .ring::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: #fff; transition: transform .45s var(--e-out); }
.spot .ring::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .55); animation: ping 3.2s var(--e-out) infinite; animation-delay: var(--dly, 0s); }
@keyframes ping { 0% { transform: scale(1); opacity: .5; } 70%, 100% { transform: scale(2.2); opacity: 0; } }
.spot .tag {
  position: absolute; left: 24px; top: -9px; white-space: nowrap; display: flex; align-items: baseline; gap: 9px;
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; line-height: 18px;
  color: #fff; padding: 5px 12px 4px; border-radius: 2px; background: rgba(5, 9, 16, .92); border: 1px solid var(--line);
  top: -15px; opacity: 0; pointer-events: none;
  transition: transform .5s var(--e-out), opacity .3s;
}
.spot:hover .tag, .spot.hot .tag { opacity: 1; }
.spot .tag b { font-weight: 500; color: var(--ink-3); letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.spot.left .tag { left: auto; right: 24px; flex-direction: row-reverse; }
.spot:hover .ring, .spot.hot .ring { transform: scale(1.32); border-color: #fff; background: rgba(255, 255, 255, .14); }
.spot:hover .ring::before, .spot.hot .ring::before { transform: scale(.72); }
.spot:hover .tag, .spot.hot .tag { transform: translateX(6px); }
.spot.left:hover .tag, .spot.left.hot .tag { transform: translateX(-6px); }
.spot.bare:not(:hover):not(.hot) .tag { opacity: 0; }
.spot.go .ring { border-style: dashed; }
.spot.go .ring::before { inset: 8px; }
@media (prefers-reduced-motion: reduce) { .spot .ring::after { animation: none; opacity: 0; } }

/* ---------- panel ---------- */
/* The panel and the summary card are white, with the text colours of wally.com (#212529 on white). */
#panel, .enq-card {
  --surface: #ffffff; --cell: #ffffff;
  --ink: #212529; --ink-1: rgba(33, 37, 41, .92); --ink-2: rgba(33, 37, 41, .8); --ink-3: #66696c;
  --tint: 33, 37, 41; --tint-on: 255, 255, 255;
  --hi: #16191d; --on-hi: #ffffff;
  --line: rgba(33, 37, 41, .2); --line-2: rgba(33, 37, 41, .12);
  --glass-2: rgba(33, 37, 41, .05);
  color: var(--ink);
}
#panel :focus-visible, .enq-card :focus-visible { outline-color: var(--hi); }
#panel {
  position: absolute; right: var(--pad); top: calc(var(--bar-h) + 6px); bottom: var(--pad); width: var(--panel-w); z-index: 20;
  display: flex; flex-direction: column; overflow: hidden;
  /* Solid on purpose. A blurred backdrop over a live 3D picture has to be recomputed on
     every frame, and a scroller without an opaque background cannot be scrolled by the
     compositor: both made the panel stutter. */
  background: var(--surface);
  border: 0; border-radius: var(--r-panel);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .55);
  opacity: 0; visibility: hidden; transform: translateX(34px);
  transition: opacity .9s var(--e-out), transform 1.1s var(--e-out), visibility .9s;
}
[data-mode="explore"] #panel, [data-mode="detail"] #panel { opacity: 1; visibility: visible; transform: none; }
.p-head { padding: 22px 28px 20px; flex: none; border-bottom: 1px solid var(--line-2); }
.p-head .eyebrow { display: flex; justify-content: space-between; gap: 12px; }
.p-title { font-size: 31px; line-height: 1.12; margin-top: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-title.plain { letter-spacing: .14em; text-transform: uppercase; font-weight: 300; margin-right: 0; font-size: 25px; }
.p-claim { margin-top: 8px; color: var(--ink-2); font-size: 15.5px; letter-spacing: .02em; min-height: 24px; font-weight: 300; }
/* The two views of the panel: a full-width switch at its very top. */
.tabs { flex: none; display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.tabs button {
  height: 56px; display: flex; align-items: center; justify-content: center; gap: 11px;
  font-size: 12.5px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500;
  color: var(--ink-2); background: rgba(var(--tint), .035); transition: background .35s, color .35s;
}
.tabs button + button { border-left: 1px solid var(--line); }
.tabs button:hover { background: rgba(var(--tint), .1); color: var(--hi); }
.tabs button[aria-selected="true"] { background: var(--hi); color: var(--on-hi); }
.tabs .ic { opacity: .9; }
.tabs .tab-sw { width: 11px; height: 11px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 1px rgba(var(--tint), .5); margin-left: 2px; transition: background .5s; }
.tabs button[aria-selected="true"] .tab-sw { box-shadow: 0 0 0 1px rgba(var(--tint-on), .45); }
.p-body { position: relative; flex: 1; min-height: 0; }
.pane { position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden; padding: 24px 28px 30px; background: var(--surface); scrollbar-gutter: stable; will-change: scroll-position; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .35s, transform .5s var(--e-out), visibility .35s; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(var(--tint), .18) transparent; }
/* visibility: inherit, not visible. "visible" on a child overrides a hidden parent, so the
   pane of the hidden panel kept catching clicks and hovers over the right-hand fleet frame. */
.pane.on { opacity: 1; visibility: inherit; transform: none; transition-delay: .12s; }
#app:not([data-mode="explore"]):not([data-mode="detail"]) #panel,
#app:not([data-mode="explore"]):not([data-mode="detail"]) #panel * { pointer-events: none; }
.pane::-webkit-scrollbar { width: 4px; } .pane::-webkit-scrollbar-thumb { background: rgba(var(--tint), .16); }
.pane > * + * { margin-top: 26px; }
.pane > .sec { margin-top: 38px; }
.pane .lead { color: var(--ink-1); font-size: 16px; line-height: 1.58; text-wrap: pretty; font-weight: 400; }
.sec-t { display: flex; align-items: center; gap: 14px; font-size: 11px; letter-spacing: .22em; font-weight: 500; }
.sec-t::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }

.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); }
.stat { background: var(--cell); padding: 15px 16px 14px; }
.stat b { display: block; font-size: 29px; line-height: 1.05; font-weight: 300; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.stat b small { font-size: 12px; font-weight: 400; color: var(--ink-3); margin-left: 6px; letter-spacing: .1em; }
.stat span { display: block; margin-top: 8px; }

.rows > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line-2); }
.rows > div:first-child { border-top: 1px solid var(--line-2); }
.rows dt { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); font-weight: 400; }
.rows dd { font-size: 15px; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rows dd small { color: var(--ink-3); font-size: 12.5px; margin-left: 10px; }

.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; border: 1px solid var(--line); border-radius: var(--r-s); overflow: hidden; }
.seg button { padding: 11px 10px 10px; text-align: left; position: relative; transition: background .3s, color .3s; color: var(--ink-2); }
.seg button + button { border-left: 1px solid var(--line); }
.seg button b { display: block; font-size: 15px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.seg button span { display: block; font-size: 12.5px; color: var(--ink-3); letter-spacing: .04em; margin-top: 2px; transition: color .3s; }
.seg button:hover { background: var(--glass-2); }
.seg button[aria-pressed="true"] { background: var(--hi); color: var(--on-hi); }
.seg button[aria-pressed="true"] span { color: rgba(var(--tint-on), .6); }

.draw { display: grid; gap: 14px; }
.draw figure { margin: 0; }
.draw img { width: 100%; height: auto; }
.draw figcaption { margin-top: 4px; }
.note { font-size: 13px; color: var(--ink-3); line-height: 1.55; font-weight: 300; }

/* configurator */
.cfg-step { display: flex; align-items: baseline; justify-content: space-between; }
.cfg-step .lbl b { color: var(--hi); font-weight: 500; }
.cfg-nav { display: flex; gap: 6px; }
.cfg-nav button { width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 50%; position: relative; transition: background .3s, border-color .3s; }
.cfg-nav button::before { content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; border-top: 1px solid var(--hi); border-right: 1px solid var(--hi); transform: translate(-70%, -50%) rotate(45deg); }
.cfg-nav button.prev::before { transform: translate(-30%, -50%) rotate(-135deg); }
.cfg-nav button:hover { background: rgba(var(--tint), .1); border-color: rgba(var(--tint), .4); }
.cfg-title { font-size: 27px; font-weight: 300; letter-spacing: .16em; text-transform: uppercase; margin-top: 8px !important; }
.cfg-intro { color: var(--ink-2); margin-top: 10px !important; text-wrap: pretty; font-size: 15.5px; font-weight: 400; line-height: 1.58; }
.cfg-dots { display: flex; gap: 5px; margin-top: 18px !important; }
.cfg-dots button { flex: 1; height: 14px; position: relative; }
.cfg-dots button::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: var(--line); transition: background .3s; }
.cfg-dots button[aria-current="true"]::after { background: var(--hi); }
.cfg-dots button:hover::after { background: rgba(var(--tint), .5); }
.sw-group + .sw-group { margin-top: 24px; }
.sw-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px 6px; margin-top: 16px; }
.sw { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.sw i {
  width: 46px; height: 46px; border-radius: 50%; position: relative; display: block;
  background: radial-gradient(circle at 32% 26%, rgba(255, 255, 255, var(--gl, .34)), rgba(255, 255, 255, 0) 46%), radial-gradient(circle at 70% 84%, rgba(0, 0, 0, .34), rgba(0, 0, 0, 0) 60%), var(--c);
  box-shadow: inset 0 0 0 1px rgba(var(--tint), .14), 0 6px 14px -7px rgba(0, 0, 0, .4);
  transition: transform .5s var(--e-out);
}
.sw i::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--hi); opacity: 0; transform: scale(.86); transition: opacity .3s, transform .5s var(--e-out); }
.sw:hover i { transform: scale(1.06); }
.sw[aria-pressed="true"] i::after { opacity: 1; transform: none; }
.sw span { font-size: 13px; line-height: 1.25; color: var(--ink-2); letter-spacing: .01em; transition: color .3s; }
.sw[aria-pressed="true"] span { color: var(--hi); font-weight: 500; }
.preset { display: flex; align-items: center; gap: 16px; width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: var(--r); text-align: left; transition: background .3s, border-color .3s; }
.preset + .preset { margin-top: 10px; }
.preset:hover { background: var(--glass-2); border-color: rgba(var(--tint), .28); }
.preset[aria-pressed="true"] { border-color: var(--hi); background: rgba(var(--tint), .07); }
.preset .chip { width: 74px; height: 50px; border-radius: var(--r-s); display: flex; overflow: hidden; flex: none; box-shadow: inset 0 0 0 1px rgba(var(--tint), .12); }
.preset .chip i { flex: 1; } .preset .chip i:first-child { flex: 2.2; }
.preset b { display: block; font-size: 14px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; }
.preset span { display: block; font-size: 13.5px; color: var(--ink-2); line-height: 1.4; margin-top: 3px; font-weight: 300; }
.summary .rows dd { display: inline-flex; align-items: center; gap: 10px; }
.summary .rows dd i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(var(--tint), .25); }

/* detail */
.back { display: inline-flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; color: var(--ink-2); transition: color .25s; }
.back::before { content: ""; width: 26px; height: 1px; background: currentColor; transition: transform .5s var(--e-out); }
.back:hover { color: var(--hi); } .back:hover::before { transform: translateX(-5px); }
.d-title { font-size: 26px; line-height: 1.25; font-weight: 300; letter-spacing: .01em; margin-top: 14px !important; text-wrap: balance; }
.points li { position: relative; padding: 9px 0 9px 22px; color: var(--ink-2); border-bottom: 1px solid var(--line-2); font-size: 14.5px; line-height: 1.5; font-weight: 400; }
.points li::before { content: ""; position: absolute; left: 0; top: 19px; width: 10px; height: 1px; background: var(--ink-3); }
.acts { display: grid; gap: 8px; }
.act { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 14px 12px 16px; border: 1px solid var(--line); border-radius: var(--r); transition: background .3s, border-color .3s; text-align: left; }
.act:hover { background: var(--glass-2); border-color: rgba(var(--tint), .3); }
.act b { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; }
.act .sw-t { width: 34px; height: 18px; border-radius: 9px; border: 1px solid rgba(var(--tint), .45); position: relative; flex: none; transition: background .35s, border-color .35s; }
.act .sw-t::after { content: ""; position: absolute; left: 3px; top: 3px; width: 10px; height: 10px; border-radius: 50%; background: var(--hi); transition: transform .5s var(--e-out), background .35s; }
.act[aria-pressed="true"] .sw-t { background: var(--hi); border-color: var(--hi); }
.act[aria-pressed="true"] .sw-t::after { transform: translateX(16px); background: var(--on-hi); }
.photos { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.photos button { position: relative; overflow: hidden; aspect-ratio: 3 / 2; background: #e9ebed; border-radius: var(--r-s); }
.photos button:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.photos img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--e-out); }
.photos button:hover img { transform: scale(1.045); }
.next { display: grid; gap: 0; }
.next button { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line-2); text-align: left; transition: color .3s; color: var(--ink-2); }
.next button:first-child { border-top: 1px solid var(--line-2); }
.next button b { font-weight: 400; font-size: 15.5px; letter-spacing: .02em; color: var(--ink); }
.next button b small { color: var(--ink-3); font-size: 11px; letter-spacing: .18em; margin-right: 12px; font-variant-numeric: tabular-nums; font-weight: 400; }
.next button i { width: 22px; height: 1px; background: currentColor; position: relative; flex: none; transition: transform .5s var(--e-out); }
.next button b { transition: transform .5s var(--e-out); }
.next button i::after { content: ""; position: absolute; right: 0; top: -3px; width: 6px; height: 6px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
/* hover moves things with transforms only: nothing in the panel changes size, so nothing
   shifts when rows pass under a resting cursor while scrolling */
.next button:hover { color: var(--hi); } .next button:hover b { transform: translateX(6px); } .next button:hover i { transform: translateX(4px); }

/* ---------- tour bar ---------- */
#tour {
  position: absolute; left: var(--pad); bottom: var(--pad); right: calc(var(--panel-w) + var(--pad) * 2); z-index: 15;
  display: flex; align-items: flex-end; gap: 22px; opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .8s var(--e-out), transform 1s var(--e-out), visibility .8s; pointer-events: none !important;
}
#tour > * { pointer-events: auto; }
[data-mode="explore"] #tour, [data-mode="detail"] #tour { opacity: 1; visibility: visible; transform: none; transition-delay: .5s; }
.t-step { display: flex; align-items: center; gap: 10px; flex: none; }
.t-step .cfg-nav button { width: 38px; height: 38px; background: rgba(6, 10, 18, .62); }
.t-count { font-size: 12px; letter-spacing: .2em; color: var(--ink-3); font-variant-numeric: tabular-nums; min-width: 62px; text-align: center; font-weight: 400; }
.t-count b { color: #fff; font-weight: 500; }
.t-list { display: flex; flex-wrap: wrap; gap: 0 20px; min-width: 0; padding-bottom: 4px; }
.t-list button { position: relative; padding: 8px 0 9px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 400; color: var(--ink-3); white-space: nowrap; transition: color .3s; text-shadow: 0 1px 12px rgba(0, 0, 0, .6); }
.t-list button::after { content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 1px; background: #fff; transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--e-out); }
.t-list button:hover { color: #fff; }
.t-list button[aria-current="true"] { color: #fff; }
.t-list button[aria-current="true"]::after { transform: scaleX(1); }

#hint {
  position: absolute; left: 50%; bottom: calc(var(--pad) + 74px); transform: translate(-50%, 8px); margin-left: calc((var(--panel-w) + var(--pad)) / -2); z-index: 14; pointer-events: none;
  font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); display: flex; align-items: center; gap: 16px; white-space: nowrap;
  padding: 11px 20px 10px; border: 1px solid var(--line); border-radius: 2px; background: rgba(5, 9, 16, .88);
  opacity: 0; transition: opacity .9s, transform 1.1s var(--e-out);
}
#hint b { color: #fff; font-weight: 500; letter-spacing: .2em; }
/* the gestures are named for the device in hand */
#hint .h-touch { display: none; }
@media (hover: none) and (pointer: coarse) { #hint .h-mouse { display: none; } #hint span.h-touch { display: inline; } #hint i.h-touch { display: block; } }
#hint i { width: 1px; height: 12px; background: var(--line); }
#hint.on { opacity: 1; transform: translate(-50%, 0); }
.ico-orbit { width: 22px; height: 12px; border: 1px solid currentColor; border-radius: 50%; position: relative; }
.ico-orbit::after { content: ""; position: absolute; left: 50%; top: -3px; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

/* ---------- lightbox / enquire ---------- */
#lightbox, #enquire { position: absolute; inset: 0; z-index: 60; background: rgba(2, 4, 9, .965); display: grid; place-items: center; animation: fade .4s both; }
#lightbox[hidden], #enquire[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } }
#lightbox figure { margin: 0; max-width: min(1500px, 88vw); }
#lightbox img { max-width: 100%; max-height: 80vh; width: auto; height: auto; margin: 0 auto; animation: rise .7s var(--e-out) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px) scale(.985); } }
#lightbox figcaption { margin-top: 16px; text-align: center; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); }
.lb-close { position: absolute; right: var(--pad); top: 26px; font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-2); padding: 10px; }
.lb-close:hover { color: #fff; }
.lb-nav { position: absolute; top: 50%; width: 56px; height: 56px; margin-top: -28px; border: 1px solid var(--line); border-radius: 50%; transition: background .3s; }
.lb-nav:hover { background: rgba(255, 255, 255, .1); }
.lb-nav::before { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; border-top: 1px solid #fff; border-right: 1px solid #fff; transform: translate(-70%, -50%) rotate(45deg); }
.lb-prev { left: var(--pad); } .lb-prev::before { transform: translate(-30%, -50%) rotate(-135deg); }
.lb-next { right: var(--pad); }
.enq-card { width: min(480px, 92vw); padding: 34px 34px 28px; background: var(--surface); border-radius: 2px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .6); animation: rise .7s var(--e-out) both; }
.enq-card h2 { font-size: 26px; letter-spacing: .2em; margin: 12px 0 22px; }
.enq-card dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line-2); }
.enq-card dt { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); font-weight: 400; }
.enq-card dl > div { align-items: center; }
.enq-card dd { font-size: 15px; display: inline-flex; align-items: center; gap: 10px; }
.enq-card dd i { width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(var(--tint), .22); flex: none; }
.enq-card .cta { background: var(--hi); border-color: var(--hi); color: var(--on-hi); }
.enq-card .cta:hover { background: var(--surface); color: var(--hi); border-color: var(--hi); }
.enq-card .cta:disabled { opacity: .6; cursor: default; }
.enq-card .link:hover { color: var(--hi); }
.enq-note { margin: 18px 0 22px; font-size: 13.5px; color: var(--ink-3); line-height: 1.55; font-weight: 400; }
.enq-actions { display: flex; gap: 22px; align-items: center; }

/* ---------- narrower screens ---------- */
@media (max-width: 1180px) {
  .t-list { display: none; }
}
@media (max-width: 860px) and (orientation: portrait) {
  :root { --panel-w: 100vw; --bar-h: 62px; }
  .brand img { height: 22px; }
  .trail { display: none; }
  #panel { left: 0; right: 0; top: auto; bottom: 0; width: auto; height: 46vh; border-left: 0; border-right: 0; border-bottom: 0; transform: translateY(30px); }
  #tour { right: var(--pad); bottom: calc(46vh + 14px); }
  /* a phone shows less than half a screen of panel: keep its head short so the content gets the room */
  .tabs button { height: 48px; }
  .p-head { padding: 14px 20px 12px; }
  .p-title { font-size: 24px; margin-top: 6px; }
  .p-title.plain { font-size: 20px; }
  .p-claim { display: none; }
  .pane { padding: 18px 20px 26px; }
  .enq-card { padding: 26px 22px 22px; }
  .enq-actions { flex-wrap: wrap; gap: 12px 20px; }
  #hint { margin-left: 0; bottom: calc(46vh + 70px); white-space: normal; flex-wrap: wrap; justify-content: center; gap: 4px 14px; width: max-content; max-width: calc(100vw - 28px); font-size: 10px; padding: 9px 14px 8px; }
  #hint i { display: none; }
  .frames { flex-direction: column; }
  .frame + .frame::before { left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 1px; background: var(--line); }
  .frame .f-in { padding-bottom: 18px; }
  .frame .f-specs, .frame .f-go { display: none; }
  .fleet-head { top: calc(var(--bar-h) - 10px); }
  .fleet-head h1 { font-size: 18px; }
  .fleet-head .eyebrow { display: none; }
    .spot .tag { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01s !important; animation-duration: .01s !important; }
}

/* ---------- panel building blocks: key figures, icon tiles, highlights, figures ---------- */
.ic { display: block; flex: none; }
.pane { counter-reset: sec; }
.sec { counter-increment: sec; }
.sec > * + * { margin-top: 14px; }
.sec > .sec-t + * { margin-top: 20px; }      /* a title stands clear of the frame it names */
.sec > .sec-t::before { content: counter(sec, decimal-leading-zero); color: var(--hi); letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.d-head .d-title { margin-top: 0 !important; }

.keys { container-type: inline-size; display: grid; gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; }
.keys.k2, .keys.k4 { grid-template-columns: 1fr 1fr; }
.keys.k3 { grid-template-columns: 1fr; }
.key { position: relative; background: var(--cell); padding: 14px 13px 13px; display: flex; flex-direction: column; min-width: 0; }
.key:first-child::before { content: ""; position: absolute; left: 0; top: 0; width: 22px; height: 2px; background: var(--accent); }
.key .ic { color: var(--ink-2); margin-bottom: 13px; }
.key b { font-size: 38px; line-height: 1; font-weight: 300; letter-spacing: 0; white-space: nowrap; }
.key b small { font-size: 14px; font-weight: 400; color: var(--ink-3); margin-left: 5px; letter-spacing: .06em; }
.key.word b { font-size: 17px; line-height: 38px; letter-spacing: .12em; text-transform: uppercase; font-weight: 400; }
.key .lbl { margin-top: 8px; font-size: 10.5px; letter-spacing: .18em; line-height: 1.35; }
/* two across: the icon stands to the left of the figure, centred on figure and label, so a
   cell is one compact line of sight. The figure follows the panel width to leave it room. */
:is(.keys.k2, .keys.k4) .key { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; align-items: center; padding: 15px 12px 14px 14px; }
:is(.keys.k2, .keys.k4) .key .ic { grid-row: span 2; width: 28px; height: 28px; margin: 0; }
:is(.keys.k2, .keys.k4) .key .ic path { vector-effect: non-scaling-stroke; }
:is(.keys.k2, .keys.k4) .key b { font-size: clamp(25px, calc(16.4cqi - 20px), 38px); }
:is(.keys.k2, .keys.k4) .key.word b { font-size: 15px; line-height: 1.6; }
:is(.keys.k2, .keys.k4) .key .lbl { margin-top: 6px; font-size: 10px; letter-spacing: .15em; }
/* three figures: one row each, the icon on the left, the figure, and its label on the right */
.keys.k3 .key { display: grid; grid-template-columns: auto auto minmax(0, 1fr); column-gap: 12px; align-items: center; padding: 12px 14px 11px; }
.keys.k3 .key .ic { width: 28px; height: 28px; margin: 0; }
.keys.k3 .key .ic path { vector-effect: non-scaling-stroke; }
.keys.k3 .key b { font-size: 30px; }
.keys.k3 .key.word b { font-size: 15px; line-height: 30px; }
.keys.k3 .key .lbl { margin: 0; text-align: right; font-size: 10px; letter-spacing: .15em; text-wrap: balance; }

/* every tile is the same height and holds three lines at most: label, value, note (or a
   value that runs to two lines). The icon is centred on them. */
.tiles { container-type: inline-size; display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 8px; }
.tile { display: flex; gap: 10px; align-items: center; padding: 12px 9px 11px; border: 1px solid var(--line-2); border-radius: var(--r); background: rgba(var(--tint), .022); min-width: 0; }
.tile-ic { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--hi); flex: none; }
.tile > div { min-width: 0; }
.tile .lbl { display: block; font-size: 10px; letter-spacing: .16em; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile b { display: block; font-size: 15.5px; font-weight: 400; margin-top: 3px; line-height: 1.25; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; white-space: pre-line; }
.tile small { display: block; font-size: 12.5px; color: var(--ink-3); margin-top: 2px; line-height: 1.3; }
/* on the narrowest panel the longest labels ("Displacement", "Certification") need the room */
@container (max-width: 310px) {
  .tile { gap: 8px; padding: 12px 8px 11px; }
  .tile-ic { width: 26px; height: 26px; }
  .tile .lbl { letter-spacing: .13em; }
}

.feats li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line-2); color: var(--ink-2); font-size: 15px; line-height: 1.5; font-weight: 400; }
.feats li:first-child { border-top: 1px solid var(--line-2); }
.feat-ic { color: var(--hi); flex: none; margin-top: 1px; }

.fig { margin: 0; border: 1px solid var(--line-2); border-radius: var(--r); padding: 14px 12px 10px; background: radial-gradient(120% 140% at 50% 0%, rgba(var(--tint), .055), rgba(var(--tint), .012)); }
.fig img { width: 100%; height: auto; }
.fig figcaption { display: flex; align-items: baseline; gap: 10px; margin-top: 8px; padding-top: 9px; border-top: 1px solid var(--line-2); }
.fig figcaption b { font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; white-space: nowrap; }
.fig figcaption b.num { font-size: 26px; font-weight: 300; letter-spacing: 0; text-transform: none; }
.fig figcaption b small { font-size: 12px; color: var(--ink-3); margin-left: 4px; font-weight: 400; }
.fig figcaption span { font-size: 13.5px; color: var(--ink-2); font-weight: 300; }
.draw { display: grid; gap: 8px; }

.dim-h { position: relative; height: 36px; margin-top: 4px; }
.dim-h::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: rgba(var(--tint), .38); }
.dim-h::after { content: ""; position: absolute; left: 0; right: 0; top: 1px; height: 11px; border-left: 1px solid rgba(var(--tint), .7); border-right: 1px solid rgba(var(--tint), .7); }
.dim-h span { position: absolute; left: 0; right: 0; top: 16px; text-align: center; white-space: nowrap; }
.dim-h b, .dim-v b { font-size: 16px; font-weight: 400; white-space: nowrap; }
.dim-h small { font-size: 10px; color: var(--ink-3); margin-left: 9px; letter-spacing: .16em; text-transform: uppercase; }
.dim-top { position: relative; padding-right: 74px; margin-top: 8px; }
.dim-v { position: absolute; right: 0; top: 11%; bottom: 11.6%; width: 66px; }
.dim-v::before { content: ""; position: absolute; left: 6px; top: 0; bottom: 0; width: 1px; background: rgba(var(--tint), .38); }
.dim-v::after { content: ""; position: absolute; left: 1px; top: 0; bottom: 0; width: 11px; border-top: 1px solid rgba(var(--tint), .7); border-bottom: 1px solid rgba(var(--tint), .7); }
.dim-v span { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; line-height: 1.25; }
.dim-v small { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }

.bars { display: grid; gap: 14px; padding: 14px 14px 12px; border: 1px solid var(--line-2); border-radius: var(--r); background: rgba(var(--tint), .022); }
.bar-row .lbl { margin-bottom: 6px; font-size: 10.5px; letter-spacing: .18em; }
.ebar { display: grid; grid-template-columns: 52px 1fr 62px; align-items: center; gap: 10px; height: 21px; color: var(--ink-3); }
.ebar-n { font-size: 12px; letter-spacing: .08em; white-space: nowrap; }
.ebar-t { height: 3px; background: rgba(var(--tint), .08); position: relative; border-radius: 2px; }
.ebar-t i { position: absolute; left: 0; top: 0; bottom: 0; background: rgba(var(--tint), .3); border-radius: 2px; }
.ebar b { text-align: right; font-size: 14px; font-weight: 400; white-space: nowrap; }
.ebar b small { font-size: 11px; margin-left: 3px; color: var(--ink-3); }
.ebar.on { color: var(--hi); }
.ebar.on .ebar-t { height: 5px; }
.ebar.on .ebar-t i { background: var(--hi); }
.ebar.on b { font-size: 18px; font-weight: 400; }

.act { gap: 13px; padding: 10px 14px 10px 11px; }
.act-ic { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; flex: none; transition: background .35s, color .35s, border-color .35s; }
.act-t { flex: 1; min-width: 0; text-align: left; }
.act-t b { display: block; }
.act-t small { display: block; font-size: 13px; color: var(--ink-3); margin-top: 2px; letter-spacing: .02em; }
.act[aria-pressed="true"] .act-ic { background: var(--hi); color: var(--on-hi); border-color: var(--hi); }
.act[aria-pressed="true"] .act-t small { color: var(--ink-2); }
.seg + .bars, .seg + .fig { margin-top: 10px; }

/* whole-pixel panel geometry: fractional offsets make hairlines and text shimmer */
@supports (width: round(1.5px, 1px)) {
  :root { --panel-w: round(clamp(352px, 27.5vw, 432px), 1px); --pad: round(clamp(18px, 2vw, 30px), 1px); }
}
@media (max-width: 860px) and (orientation: portrait) { :root { --panel-w: 100vw; } }

/* ---------- zoomable figures ---------- */
.zoom { display: block; width: 100%; position: relative; cursor: zoom-in; }
.zoom img { transition: opacity .3s; }
.zoom:hover img { opacity: .86; }
#lightbox img.plan { width: min(1500px, 88vw); max-height: 78vh; object-fit: contain; }

/* ---------- access gate ---------- */
#gate {
  position: absolute; inset: 0; z-index: 110; display: grid; place-items: center; padding: 24px;
  background: radial-gradient(120% 90% at 50% 38%, #0b1524 0%, #04070d 64%);
  opacity: 0; visibility: hidden; transition: opacity .9s var(--e-io), visibility .9s;
}
[data-mode="locked"] #gate { opacity: 1; visibility: visible; }
.gate-card { width: min(380px, 100%); display: flex; flex-direction: column; align-items: center; text-align: center; transform: translateY(10px); opacity: 0; transition: opacity 1s var(--e-out) .15s, transform 1.2s var(--e-out) .15s; }
[data-mode="locked"] .gate-card { opacity: 1; transform: none; }
.gate-card img { height: 46px; width: auto; }
.gate-card .eyebrow { margin-top: 34px; }
.gate-card h1 { font-size: 24px; margin-top: 12px; }
.gate-field { position: relative; width: 100%; margin-top: 44px; text-align: left; }
.gate-field .lbl { display: block; margin-bottom: 6px; }
.gate-field input {
  width: 100%; height: 48px; padding: 0 64px 0 0; background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  color: #fff; font: inherit; font-size: 18px; letter-spacing: .14em; outline: none; transition: border-color .3s;
}
.gate-field input:focus { border-bottom-color: #fff; }
.gate-field input:-webkit-autofill { -webkit-text-fill-color: #fff; -webkit-box-shadow: 0 0 0 60px #070d17 inset; caret-color: #fff; }
.gate-show { position: absolute; right: 0; bottom: 0; height: 48px; padding: 0 2px; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; color: var(--ink-3); transition: color .25s; }
.gate-show:hover, .gate-show[aria-pressed="true"] { color: #fff; }
.gate-card .cta { width: 100%; height: 50px; margin-top: 26px; }
.gate-card.checking .cta { opacity: .55; pointer-events: none; }
#gate-msg { min-height: 40px; margin-top: 16px; font-size: 13.5px; line-height: 1.5; color: #ff9d8c; }
.gate-card.bad { animation: gate-no .42s var(--e-out); }
.gate-card.bad .gate-field input { border-bottom-color: var(--accent); }
@keyframes gate-no { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-9px); } 45% { transform: translateX(7px); } 70% { transform: translateX(-4px); } }
.gate-foot { position: absolute; left: 0; right: 0; bottom: 26px; text-align: center; font-size: 12px; letter-spacing: .1em; color: var(--ink-3); }
[data-mode="locked"] .bar, [data-mode="boot"] .bar { opacity: 0; visibility: hidden; }
.bar { transition: opacity .8s, visibility .8s; }

/* ---------- phones ----------
   The experience is laid out for a phone held sideways: the picture on the left, the panel
   on the right, as on a desktop. Held upright, a phone is asked to turn. */
#rotate { display: none; }
@media (orientation: portrait) and (max-width: 860px) and (hover: none) and (pointer: coarse) {
  #rotate {
    position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 32px; text-align: center;
    background: radial-gradient(120% 90% at 50% 40%, #0b1524 0%, #04070d 64%);
  }
  #rotate img { height: 34px; width: auto; margin-bottom: 26px; }
  .rot-phone { width: 46px; height: 84px; margin-bottom: 30px; border: 1.5px solid #fff; border-radius: 9px; position: relative; animation: rot-turn 3.2s var(--e-io) infinite; }
  .rot-phone::after { content: ""; position: absolute; left: 50%; bottom: 6px; width: 12px; height: 1.5px; margin-left: -6px; background: #fff; border-radius: 1px; }
  #rotate .model { font-size: 22px; }
  #rotate .lbl { color: var(--ink-2); line-height: 1.7; max-width: 26ch; }
}
@keyframes rot-turn { 0%, 18% { transform: rotate(0deg); } 52%, 82% { transform: rotate(-90deg); } 100% { transform: rotate(0deg); } }

@media (max-height: 540px) and (orientation: landscape) {
  :root { --bar-h: 50px; --panel-w: clamp(300px, 40vw, 340px); --pad: 12px; }
  .brand img { height: 20px; }
  .trail { display: none; }
  .bar { gap: 14px; }
  .bar-end { margin-right: calc(var(--panel-w) + 8px); gap: 12px; }
  .cta { height: 32px; padding: 0 12px 0 14px; font-size: 10.5px; }
  .link { font-size: 10.5px; }
  .ui-eye { width: 34px; height: 34px; }
  #panel { top: 8px; bottom: 8px; right: 8px; z-index: 40; }
  .tabs button { height: 42px; font-size: 11px; gap: 8px; }
  .p-head { padding: 12px 18px 10px; }
  .p-title { font-size: 21px; margin-top: 4px; }
  .p-title.plain { font-size: 17px; }
  .p-claim { display: none; }
  .pane { padding: 16px 18px 22px; }
  .pane > .sec { margin-top: 30px; }
  .tile { gap: 7px; padding: 11px 7px 10px; }
  .tile-ic { width: 24px; height: 24px; }
  .tile .lbl { font-size: 9.5px; letter-spacing: .1em; }
  :is(.keys.k2, .keys.k4) .key.word b { font-size: 12.5px; letter-spacing: .08em; }
  :is(.keys.k2, .keys.k4) .key { column-gap: 9px; padding: 12px 10px 11px; }
  :is(.keys.k2, .keys.k4) .key .ic { width: 24px; height: 24px; }
  :is(.keys.k2, .keys.k4) .key b { font-size: clamp(18px, calc(16.4cqi - 21px), 34px); }
  #tour { left: 12px; bottom: 10px; }
  .t-step .cfg-nav button { width: 34px; height: 34px; }
  /* centred over the picture, and never wider than it */
  #hint { left: calc((100vw - var(--panel-w) - 8px) / 2); margin-left: 0; bottom: 54px; width: max-content; max-width: calc(100vw - var(--panel-w) - 32px); white-space: normal; flex-wrap: wrap; justify-content: center; gap: 3px 12px; font-size: 9.5px; padding: 7px 12px 6px; letter-spacing: .12em; }
  #hint b { letter-spacing: .14em; }
  #hint i { display: none !important; }
  .spot .tag { display: none; }
  .fleet-head { top: 34px; }
  .fleet-head .eyebrow { display: none; }
  .fleet-head h1 { font-size: 16px; margin-top: 0; }
  .frame .f-in { padding-bottom: 14px; }
  .frame .f-specs, .frame .f-go { display: none; }
  #gate { padding: 12px; }
  .gate-card img { height: 30px; }
  .gate-card .eyebrow { margin-top: 12px; }
  .gate-card h1 { font-size: 19px; margin-top: 6px; }
  .gate-field { margin-top: 14px; }
  .gate-field input { height: 40px; }
  .gate-show { height: 40px; }
  .gate-card .cta { height: 40px; margin-top: 14px; }
  #gate-msg { min-height: 20px; margin-top: 8px; }
  .gate-foot { display: none; }
  .loader .ld-model { margin-top: 10px; }
  .enq-card { width: min(560px, 92vw); max-height: calc(100vh - 20px); overflow-y: auto; padding: 20px 24px 18px; }
  .enq-card h2 { font-size: 20px; margin: 6px 0 10px; }
  .enq-card dl > div { padding: 6px 0; }
  .enq-note { margin: 10px 0 14px; }
}
