/* GLASS V4 - the Claude Design structure, copy and type, over the deep background of the old
   GLASS Spatial page (the star field flown in depth, now with the aurora line work), with the
   one engine under everything for the 3-D sections. */
:root {
  --bg: #020204; --text: #e8edf6; --body: #cfd6e2; --soft: #dfe6f2; --kick: #9aa6ba;
  --mono-1: #5a6270; --mono-2: #6d7688; --mono-3: #454d5c; --blue: #4fc8ff;
  --ivory: #F2EEE6; --hair: rgba(143,160,190,.16);
  --f: 'Jost', Helvetica, Arial, sans-serif; --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --wm: radial-gradient(62% 90% at 46% 42%, #dbe8f8 0%, #cddef2 32%, #bcd2ec 58%, #a7c1e3 82%, #95b3da 100%);
  --wm-bright: radial-gradient(62% 90% at 46% 42%, #ffffff 0%, #f1f6fd 40%, #dce9f8 75%, #c7daf1 100%);
}
* { box-sizing: border-box; }
html { background: var(--bg); overflow-anchor: none; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--f); font-weight: 300;
       -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; overflow-anchor: none; }
html.locked { overflow: hidden; }
body::after { all: initial !important; content: none !important; }
a { color: #9fd8ff; text-decoration: none; }
a:hover { color: #fff; }
::selection { background: var(--blue); color: var(--bg); }
@keyframes glassLine { 0%,100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes glassHint { 0%,100% { opacity: .25; transform: translateY(0); } 50% { opacity: .7; transform: translateY(6px); } }
@keyframes glassBreath { 0%,100% { transform: scaleX(.94); } 50% { transform: scaleX(1.04); } }
@keyframes glassLightTravel { 0% { background-position: -90% 0; } 100% { background-position: 190% 0; } }

/* ══════════ THE ENGINE, under everything ══════════ */
#shell { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: var(--bg); }
#shell canvas, #shell #ui { position: absolute !important; inset: 0; }
#shell canvas { width: 100%; height: 100%; display: block; }
#shell #ui { display: none !important; }

/* ══════════ THE DEEP BACKGROUND, above the engine, cut away over a 3-D section ══════════ */
#deep { position: fixed; inset: 0; z-index: 1; pointer-events: none; background: var(--bg); overflow: hidden; }
#space, #aurora { position: absolute; inset: 0; }
#blooms { position: absolute; inset: -14%; will-change: transform; }
.bloom { position: absolute; border-radius: 50%; }
.b1 { width: 64vw; height: 64vw; left: -16vw; top: -4vh;  background: radial-gradient(circle, rgba(110,91,255,.22) 0%, rgba(110,91,255,.08) 34%, transparent 68%); }
.b2 { width: 56vw; height: 56vw; right: -16vw; top: 44vh; background: radial-gradient(circle, rgba(79,215,232,.17) 0%, rgba(79,215,232,.06) 34%, transparent 68%); }
.b3 { width: 48vw; height: 48vw; left: 26vw; top: 74vh;  background: radial-gradient(circle, rgba(232,183,106,.12) 0%, rgba(232,183,106,.04) 34%, transparent 68%); }
#grain { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .14; mix-blend-mode: screen; }
#vig { position: absolute; inset: 0; background: radial-gradient(125% 88% at 50% 48%, transparent 30%, rgba(2,2,4,.72) 100%); }
body.lite #grain { display: none; }

/* ══════════ THE PAGE ══════════ */
main { position: relative; z-index: 2; }
.sec { position: relative; padding: 0 6vw; }
.center { display: flex; align-items: center; justify-content: center; }
.mt6 { margin-top: 6vh; } .mt10 { margin-top: 10vh; } .mt12 { margin-top: 12vh; } .mt14 { margin-top: 14vh; }
.mt16 { margin-top: 16vh; } .mt18 { margin-top: 18vh; } .mt20 { margin-top: 20vh; } .mt22 { margin-top: 22vh; }

/* the hero */
.hero { min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 6vw; text-align: center; }
.wm { position: relative; }
.wm h1 { margin: 0; font-weight: 200; font-size: clamp(56px, 17vw, 260px); line-height: .9; letter-spacing: .09em; text-indent: .09em;
         background: var(--wm); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wm .echo { position: absolute; inset: 0; opacity: 0; filter: blur(9px); pointer-events: none; }
.wm .main { position: relative; }
.wm .glint { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; animation: glassLightTravel 22s linear infinite;
             background-image: linear-gradient(100deg, transparent 0%, transparent 42%, rgba(210,232,255,.95) 48%, #fff 50%, rgba(210,232,255,.95) 52%, transparent 58%, transparent 100%);
             background-size: 280% 100%; background-position: -90% 0; }
.glow-line { width: min(620px, 74vw); height: 1px; margin-top: clamp(34px, 5.5vh, 64px); filter: blur(.4px);
             background: linear-gradient(90deg, rgba(2,2,4,0) 0%, rgba(79,200,255,.85) 22%, rgba(255,255,255,.95) 50%, rgba(79,200,255,.85) 78%, rgba(2,2,4,0) 100%);
             animation: glassLine 7s ease-in-out infinite, glassBreath 9s ease-in-out infinite; }
.glow-soft { width: min(560px, 68vw); height: 5px; margin-top: -5px; filter: blur(4px);
             background: linear-gradient(90deg, rgba(2,2,4,0) 0%, rgba(79,200,255,.3) 30%, rgba(79,200,255,.3) 70%, rgba(2,2,4,0) 100%); }
.hint { position: absolute; bottom: 5vh; left: 0; right: 0; text-align: center; font-family: var(--mono); font-size: 11px; letter-spacing: .28em;
        text-transform: uppercase; color: var(--mono-1); animation: glassHint 4s ease-in-out infinite; }

/* type */
.t1 { margin: 0; max-width: 16em; font-weight: 200; font-size: clamp(28px, 4.6vw, 66px); line-height: 1.5; letter-spacing: .005em; text-align: center; text-wrap: pretty; color: var(--text); }
.t-huge { margin: 0; max-width: 18em; font-weight: 200; font-size: clamp(40px, 8vw, 124px); line-height: 1.04; letter-spacing: .01em; text-align: center; text-wrap: pretty; color: var(--text); }
.t-big { margin: 0; max-width: 16em; font-weight: 200; font-size: clamp(34px, 6.5vw, 100px); line-height: 1.1; letter-spacing: .01em; text-align: center; text-wrap: pretty; color: var(--text); }
.t-jmg { margin: 0; font-weight: 200; font-size: clamp(36px, 7vw, 110px); letter-spacing: .05em; text-indent: .05em; line-height: 1.1; text-align: center; color: var(--text); }
.t-jmg span { color: #7690b0; }
.p-lg { margin: 0 auto; max-width: 26em; font-size: clamp(24px, 2.9vw, 40px); line-height: 1.4; text-align: center; text-wrap: pretty; color: var(--soft); }
.p { margin: 0 auto; max-width: 23em; font-size: clamp(19px, 2.05vw, 29px); line-height: 1.52; text-align: center; text-wrap: pretty; color: var(--body); }
.p-white { margin: 0 auto; max-width: 19em; font-weight: 200; font-size: clamp(24px, 3.2vw, 44px); line-height: 1.3; text-align: center; text-wrap: pretty; color: #fff; }
.p-replay { margin: 0 auto; max-width: 20em; font-weight: 200; font-size: clamp(23px, 3vw, 42px); line-height: 1.32; text-align: center; text-wrap: pretty; color: #fff; }
.kick { font-family: var(--f); font-size: 15px; letter-spacing: .2em; text-transform: uppercase; color: var(--kick); }
.divider { width: min(220px, 40vw); height: 1px; margin: 0 auto clamp(30px, 5vh, 56px);
           background: linear-gradient(90deg, rgba(2,2,4,0), rgba(79,200,255,.55), rgba(79,200,255,.55), rgba(2,2,4,0));
           animation: glassLine 8s ease-in-out infinite, glassBreath 10s ease-in-out infinite; }
.product { max-width: 34em; margin: 0 auto; text-align: center; }
.product .kick { margin-bottom: 18px; }
.product p { margin: 0; font-size: clamp(19px, 2.05vw, 29px); line-height: 1.52; text-wrap: pretty; color: var(--body); }

/* ══════════ THE DIVE: the page stops falling and flies into depth past a title ══════════ */
.dive { position: relative; }
.dive-in { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.station { position: absolute; left: 50%; top: 50%; width: min(92vw, 1280px); display: flex; flex-direction: column; align-items: center;
           transform: translate(-50%, -50%); will-change: transform, opacity; padding: 0 2vw; }
body.flat .station { position: relative; left: auto; top: auto; transform: none !important; opacity: 1 !important; filter: none !important; visibility: visible !important;
                     margin: 0 auto; min-height: 70vh; justify-content: center; }
body.flat .dive-in { position: relative; height: auto; overflow: visible; }

/* ══════════ THE CAROUSELS: pinned on arrival, the scroll turns them through every face once ══════════ */
.pin { position: relative; height: calc(100vh + var(--extra, 0px)); height: calc(100svh + var(--extra, 0px)); }
.pin-in { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center;
          gap: clamp(22px, 4.5vh, 48px); padding: 0 6vw; }
.ring { position: relative; width: 100%; perspective: 1200px; overflow: hidden; }
.ring-inner { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.ring .face { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; backface-visibility: hidden; -webkit-backface-visibility: hidden;
              padding: 0 clamp(16px, 4vw, 40px); text-align: center; }
.ring-drum { max-width: 980px; height: clamp(160px, 26vh, 260px); }
.ring-drum .face span { font-weight: 200; font-size: clamp(30px, 5.4vw, 76px); letter-spacing: .02em; color: #fff; }
.ring-text { max-width: 900px; height: clamp(150px, 24vh, 230px); }
.ring-text .face span { display: inline-block; max-width: 22ch; font-weight: 200; font-size: clamp(22px, 3.4vw, 48px); letter-spacing: .01em; text-wrap: balance; color: var(--text); }
.caption-row { display: flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: clamp(14px, 2.4vw, 28px); font-family: var(--mono); font-size: 12px;
               letter-spacing: .3em; text-transform: uppercase; color: var(--mono-2); }
.caption-row b { font-weight: 400; color: var(--blue); }
.caption-row span { transition: color .5s; } .caption-row span.on { color: #cfe6ff; }
.slot { border: 1px solid rgba(143,160,190,.18); background-color: #05060a;
        background-image: repeating-linear-gradient(135deg, rgba(159,186,225,.05) 0 1px, rgba(0,0,0,0) 1px 10px); }
.ring-doors { max-width: 1100px; height: clamp(220px, 40vh, 420px); perspective: 1400px; }
.ring-doors .face { left: 50%; right: auto; width: min(46%, 420px); margin-left: max(-23%, -210px); flex-direction: column; gap: 10px; cursor: pointer; font: inherit; color: inherit;
                    transition: border-color .5s, box-shadow .5s; }
.ring-doors .face:hover { border-color: rgba(160,205,250,.45); box-shadow: 0 0 40px rgba(90,170,240,.12) inset; }
.ring-doors .face .n { font-weight: 200; font-size: clamp(22px, 2.6vw, 36px); color: #fff; }
.ring-doors .face svg, .ring-gallery .face svg { width: clamp(44px, 5vw, 64px); height: auto; opacity: .75; margin-bottom: 8px; }
.ring-crew { max-width: 900px; height: clamp(160px, 26vh, 240px); }
.ring-crew .face { flex-direction: column; gap: 8px; }
.ring-crew .face span { font-weight: 200; font-size: clamp(26px, 4vw, 54px); color: #fff; }
.ring-crew .face em { font-style: normal; font-family: var(--mono); font-size: 13px; letter-spacing: .1em; color: #7690b0; }
.ring-gallery { max-width: 1100px; height: clamp(300px, 58vh, 620px); perspective: 1500px; }
.ring-gallery .face { flex-direction: column; gap: 12px; cursor: pointer; font: inherit; color: inherit; }
.ring-gallery .face .n { font-weight: 200; font-size: clamp(26px, 3.6vw, 48px); color: #fff; letter-spacing: .06em; }
.ring-gallery .face .i { font-family: var(--mono); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: #7f8ca3; }
.ring-gallery .face:hover { border-color: rgba(160,205,250,.45); }
.ring-promo { max-width: 1100px; aspect-ratio: 21 / 9; height: auto; }
.ring-promo .face { padding: 0; overflow: hidden; }
.ring-promo .face img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ring-promo .face.miss img { display: none; }
.title-sm { font-weight: 200; font-size: clamp(28px, 4vw, 52px); letter-spacing: .08em; text-indent: .08em; color: var(--text); }
body.flat .pin { height: auto; } body.flat .pin-in { position: relative; height: auto; padding: 14vh 6vw; }

/* ══════════ THE VOIDS ══════════ */
.void { position: relative; }
.void canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* ══════════ INDUSTRIES ══════════ */
.ind-list { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(22px, 3vw, 40px) clamp(20px, 3vw, 44px); font-weight: 200;
            font-size: clamp(20px, 2.5vw, 34px); color: var(--soft); text-align: center; }
.ind-list small { display: block; margin-top: 6px; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: #5a6478; }

/* ══════════ THE 3-D SECTIONS: tall, with a sticky window onto the engine ══════════ */
.world { position: relative; z-index: 2; height: 600vh; background: transparent; }
.world.w7 { height: 700vh; }
.window { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden; }
.sheet { position: absolute; inset: 0; z-index: 2; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }
.sheet.held { cursor: grabbing; }
body.ics-lock .world[data-ics] .sheet { touch-action: none; }
.world.roaming .sheet { cursor: move; }
.hud { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.hud .tip { position: absolute; left: 50%; top: 28px; transform: translateX(-50%); width: max-content; max-width: 92vw; font-family: var(--mono); font-size: 10px;
            letter-spacing: .26em; text-transform: uppercase; padding-left: .26em; color: #8591a6; text-align: center; line-height: 2.1; transition: opacity .6s;
            text-shadow: 0 1px 10px rgba(2,2,4,.9); }
.hud .tip.off { opacity: 0; }
.hud .bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(159,186,225,.08); }
.hud .bar i { display: block; height: 100%; width: 0; background: rgba(79,200,255,.55); }
.cover { position: absolute; inset: 0; z-index: 4; display: flex; align-items: center; justify-content: center; background: var(--bg); transition: opacity .6s; text-align: center; }
.cover.off { opacity: 0; pointer-events: none; }
.cover span { font-family: var(--mono); letter-spacing: .3em; text-transform: uppercase; font-size: 10px; color: var(--mono-2); padding-left: .3em; }
.cover i { display: block; height: 1px; width: 180px; background: rgba(159,186,225,.12); margin: 14px auto 0; }
.cover i b { display: block; height: 100%; width: 0; background: rgba(79,200,255,.6); }
.stats { position: absolute; left: clamp(16px, 4vw, 40px); top: 70px; font-family: var(--mono); font-size: 11px; white-space: pre; line-height: 1.5; color: var(--mono-2); display: none; }
.hud.stats-on .stats { display: block; }
body.no-gl .world { height: auto; }
body.no-gl .window { height: auto; padding: 60px clamp(16px, 8vw, 120px); }
body.no-gl .sheet, body.no-gl .cover, body.no-gl .hud { display: none; }
body.no-gl .nogl { display: block; }
.nogl { display: none; font-size: 14px; color: var(--mono-2); text-align: center; }

/* test one: the big title over the scan */
.intro { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; will-change: transform, opacity; opacity: 0; width: 100vw;
         filter: drop-shadow(0 2px 3px rgba(2,4,10,.55)) drop-shadow(0 0 28px rgba(2,4,10,.6)); }
.intro-kick { margin: 0 0 clamp(14px, 2.4vh, 26px); font-family: var(--f); font-size: 15px; letter-spacing: .3em; text-indent: .3em; text-transform: uppercase; color: #eef4fc; }
.intro-title { margin: 0; font-weight: 300; font-size: clamp(54px, 12.5vw, 210px); line-height: .92; letter-spacing: .09em; text-indent: .09em;
               background: var(--wm-bright); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ══════════ THE ICS - the Interactive Camera System's controller ══════════ */
.ics { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .9s ease; }
.ics.on { opacity: 1; }
.ics.on .ics-pill, .ics.on .ics-modes.show button, .ics.on .ics-side button.show { pointer-events: auto; }
.ics button { font: inherit; color: #eaf2ff; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.glassbtn { background: linear-gradient(180deg, rgba(120,190,250,.16), rgba(80,140,210,.06)), rgba(6,10,20,.46); border: 1px solid rgba(160,205,250,.45);
            box-shadow: 0 0 0 1px rgba(120,190,250,.08) inset, 0 0 24px rgba(90,170,240,.18), 0 1px 0 rgba(255,255,255,.08) inset;
            backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: box-shadow .3s, border-color .3s, background .3s, opacity .5s, transform .5s; }
.glassbtn:hover { border-color: rgba(190,220,255,.8); box-shadow: 0 0 0 1px rgba(160,210,250,.18) inset, 0 0 40px rgba(110,190,255,.38), 0 1px 0 rgba(255,255,255,.14) inset; }
.ics-bottom { position: absolute; left: 50%; bottom: clamp(18px, 4.5vh, 44px); transform: translateX(-50%); width: min(640px, 86vw); height: 96px; pointer-events: none; }
.ics-pill { position: absolute; left: 50%; top: 0; width: 92px; height: 48px; margin-left: -46px; border-radius: 26px; display: grid; place-items: center;
            touch-action: none; user-select: none; -webkit-user-select: none; }
.ics-pill.spring { transition: transform .55s cubic-bezier(.2,.9,.25,1.15), box-shadow .3s, border-color .3s; }
.ics-pill svg { width: 18px; height: 18px; fill: #eaf2ff; }
.ics-pill .pa { display: none; } .ics.playing .ics-pill .pa { display: block; } .ics.playing .ics-pill .pl { display: none; }
.ics-time { position: absolute; left: 0; right: 0; top: 64px; display: flex; align-items: center; gap: 14px; opacity: 0; transform: translateY(-6px);
            transition: opacity .35s, transform .35s; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: #9fb0c9; }
.ics.scrub .ics-time { opacity: 1; transform: none; }
.ics-track { position: relative; flex: 1; height: 2px; background: rgba(159,186,225,.18); }
.ics-track i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: rgba(79,200,255,.8); }
.ics-track b { position: absolute; top: 50%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px rgba(79,200,255,.8); left: 0; }
.ics-readout { position: absolute; left: 50%; top: -30px; transform: translateX(-50%); font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: #eaf2ff;
               opacity: 0; transition: opacity .3s; text-shadow: 0 1px 10px rgba(2,2,4,.9); }
.ics.scrub .ics-readout { opacity: 1; }
.ics-side { position: absolute; left: 50%; bottom: calc(clamp(18px, 4.5vh, 44px) + 112px); transform: translateX(-50%); display: flex; gap: 12px; }
.ics-side button { padding: 11px 26px; border-radius: 22px; font-family: var(--mono); font-size: 11px; letter-spacing: .28em; text-transform: uppercase;
                   opacity: 0; transform: translateY(8px); pointer-events: none; }
.ics-side button.show { opacity: 1; transform: none; }
.ics-side button[hidden] { display: none; }
.ics-modes { position: absolute; top: clamp(18px, 3vh, 34px); right: clamp(16px, 3vw, 36px); display: flex; gap: 10px; opacity: 0; transform: translateY(-8px);
             transition: opacity .5s, transform .5s; }
.ics-modes.show { opacity: 1; transform: none; }
.ics-modes button { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; padding: 0; position: relative; }
.ics-modes button svg { width: 22px; height: 22px; fill: none; stroke: #eaf2ff; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.ics-modes button.on { border-color: rgba(220,240,255,.95); background: linear-gradient(180deg, rgba(140,210,255,.34), rgba(80,140,210,.14)), rgba(6,10,20,.5); }
.ics-modes button span { position: absolute; top: 58px; text-shadow: 0 1px 8px rgba(2,4,10,.95); left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: 9px; letter-spacing: .22em;
                         text-transform: uppercase; color: #9fb0c9; white-space: nowrap; }
.ics-help { position: absolute; left: 50%; top: 28px; transform: translateX(-50%); font-family: var(--mono); font-size: 10px; letter-spacing: .24em; text-transform: uppercase;
            color: #9fb0c9; text-align: center; opacity: 0; transition: opacity .6s; text-shadow: 0 1px 10px rgba(2,2,4,.9); max-width: 70vw; line-height: 2; }
.world.roaming .ics-help { opacity: 1; }
.world.roaming .hud .tip { opacity: 0; }

/* ══════════ THE FORM ══════════ */
.enq { max-width: 640px; margin: 0 auto; text-align: center; }
.enq .lede { margin: 0 0 clamp(64px, 11vh, 120px); }
form { display: flex; flex-direction: column; gap: 14px; text-align: left; }
form .row { display: flex; gap: 14px; flex-wrap: wrap; }
form input, form textarea { width: 100%; padding: 16px 18px; font-family: var(--f); font-size: 16px; color: var(--text); background: rgba(255,255,255,.03);
                            border: 1px solid rgba(143,160,190,.2); border-radius: 0; outline: none; transition: border-color .4s; }
form .row input { flex: 1 1 220px; width: auto; }
form textarea { resize: vertical; }
form input:focus, form textarea:focus { border-color: rgba(160,205,250,.55); }
form input::placeholder, form textarea::placeholder { color: #7a8599; }
form .nope { border-color: rgba(255,111,168,.7); }
.send.glassbtn { background: linear-gradient(180deg, rgba(120,190,250,.12), rgba(80,140,210,.05)); }
.send { align-self: center; margin-top: 18px; padding: 17px 48px; font-family: var(--mono); font-size: 12px; letter-spacing: .32em; text-transform: uppercase; border-radius: 2px; color: #eaf2ff; cursor: pointer; }
.hp { position: absolute; left: -9999px; }
#say { font-size: 15px; color: var(--body); min-height: 1.6em; margin: 6px 0 0; text-align: center; }
#say.bad { color: rgba(255,160,190,.9); }
.thanks { margin: clamp(40px, 7vh, 80px) 0; font-weight: 200; font-size: clamp(20px, 2.4vw, 32px); color: #fff; }

/* ══════════ FOOTER ══════════ */
footer { position: relative; z-index: 2; margin-top: 22vh; padding: clamp(60px, 10vh, 120px) 6vw clamp(40px, 6vh, 70px); border-top: 1px solid rgba(143,160,190,.12); text-align: center; }
.foot-wm { display: inline-block; font-weight: 200; font-size: clamp(30px, 6vw, 64px); letter-spacing: .14em; text-indent: .14em; background: var(--wm);
           -webkit-background-clip: text; background-clip: text; color: transparent; animation: glassBreath 8s ease-in-out infinite; }
.foot-line { width: min(320px, 60vw); height: 1px; margin: 22px auto 0; background: linear-gradient(90deg, rgba(2,2,4,0), rgba(79,200,255,.6), rgba(79,200,255,.6), rgba(2,2,4,0));
             animation: glassLine 7s ease-in-out infinite, glassBreath 9s ease-in-out infinite; }
.foot-contact { display: flex; flex-direction: column; gap: 14px; margin-top: clamp(30px, 5vh, 56px); font-size: clamp(16px, 1.6vw, 20px); letter-spacing: .02em; color: #c7d2e2; }
.foot-legal { margin-top: clamp(34px, 6vh, 64px); font-size: 15px; letter-spacing: .04em; color: #98a4ba; line-height: 2; }

/* ══════════ A PRESENTATION, FULL FRAME ══════════ */
#tv { position: fixed; inset: 0; z-index: 9; background: var(--bg); display: none; transform: translateY(100%); transition: transform .62s cubic-bezier(.22,.8,.2,1); }
#tv.on { display: block; } #tv.up { transform: translateY(0); }
#tv iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
#tvx { position: fixed; z-index: 10; top: clamp(14px, 2.2vw, 28px); right: clamp(14px, 2.2vw, 28px); width: 48px; height: 48px; border-radius: 50%;
       border: 1px solid rgba(160,205,250,.45); background: rgba(2,2,4,.6); display: none; place-items: center; cursor: pointer; }
#tvx.on { display: grid; }
#tvx svg { width: 17px; height: 17px; stroke: #eaf2ff; fill: none; stroke-width: 1.6; stroke-linecap: round; }

@media (max-width: 600px) {
  .hud .tip { display: none; }
  .ics-modes button { width: 46px; height: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  .wm .glint, .glow-line, .divider, .foot-line, .foot-wm, .hint { animation: none; }
}

/* phones and small GPUs: no blur layers at all (a large blurred layer can exceed a mobile GPU's
   layer budget and show as a grey slab - see the GLASS3D handoff) */
body.lite .wm .echo, body.lite .glow-line, body.lite .glow-soft { filter: none; }
body.lite .glassbtn { backdrop-filter: none; -webkit-backdrop-filter: none; background: linear-gradient(180deg, rgba(120,190,250,.18), rgba(80,140,210,.08)), rgba(6,10,20,.72); }

/* ══════════ BUTTONS AND PICTURES (blocks the site editor can add) ══════════ */
.btn-row { display: flex; justify-content: center; }
a.glassbtn.link { display: inline-block; padding: 17px 48px; font-family: var(--mono); font-size: 12px; letter-spacing: .32em; text-transform: uppercase;
                  color: #eaf2ff; text-decoration: none; border-radius: 2px; }
.pic { margin: 0 auto; text-align: center; }
.pic img { width: 100%; height: auto; display: block; border: 1px solid rgba(143,160,190,.16); }
.pic.s { max-width: 560px; } .pic.m { max-width: 960px; } .pic.l { max-width: 1400px; }
.pic figcaption { margin-top: 14px; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: #7f8ca3; }

/* ══════════ THE EDITOR'S VIEW: everything flat, so every word can be clicked ══════════ */
body.editing .dive { height: auto !important; }
body.editing .dive-in { position: relative; height: auto; overflow: visible; padding: 10vh 0; display: flex; flex-direction: column; gap: 8vh; }
body.editing .station { min-height: 0; padding: 0 6vw; width: auto; }
body.editing .pin { height: auto !important; }
body.editing .pin-in { position: relative; height: auto; padding: 10vh 6vw; }
body.editing .ring { height: auto !important; aspect-ratio: auto; perspective: none; overflow: visible; }
body.editing .ring-inner { position: static; transform: none !important; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
body.editing .ring .face { position: relative !important; inset: auto; left: auto; right: auto; margin: 0; width: auto; transform: none !important; opacity: 1 !important;
                           visibility: visible !important; pointer-events: auto !important; min-height: 110px; flex: 0 1 300px; border: 1px dashed rgba(143,160,190,.3); padding: 18px; }
body.editing .ring-promo .face { flex-basis: 240px; aspect-ratio: 21 / 9; min-height: 0; padding: 0; }
body.editing .world { height: auto !important; }
body.editing .window { position: relative; height: 70vh; border: 1px solid rgba(143,160,190,.2); background-color: #05060a;
                       background-image: repeating-linear-gradient(135deg, rgba(159,186,225,.06) 0 1px, rgba(0,0,0,0) 1px 10px); }
body.editing .window::after { content: attr(data-label); position: absolute; left: 18px; bottom: 16px; font-family: var(--mono); font-size: 11px; letter-spacing: .22em;
                              text-transform: uppercase; color: #8fa0bc; }
body.editing .cover, body.editing .ics, body.editing .ics-help, body.editing .tip, body.editing .bar, body.editing .sheet, body.editing .nogl { display: none !important; }
body.editing .intro { opacity: 1 !important; visibility: visible !important; transform: translate(-50%, -50%) !important; }

/* a played-out carousel is hand-driven: horizontal swipes turn it, vertical still scrolls */
.pin .ring { touch-action: pan-y; }
