:root { --serif: Georgia, "Times New Roman", serif; --mono: ui-monospace, "SF Mono", Menlo, monospace; --ink: #f2f8ff; --ink2: rgba(214,232,250,.74); --ice: #bfeaff; }
html, body { margin: 0; height: 100%; overflow: hidden; background: #01030c; color: var(--ink); -webkit-font-smoothing: antialiased; font-family: var(--serif); }
a { color: inherit; text-decoration: none; }
.ss-gl { position: fixed; inset: 0; width: 100vw; height: 100vh; display: block; }
.ss-w { display: inline-block; opacity: 0; }
[data-rv] { opacity: 0; }
/* the top bar: glass, fixed; the page scrolls beneath it, never under it */
.ss-bar { position: fixed; left: 0; right: 0; top: 0; height: 72px; z-index: 5; display: flex; align-items: center; justify-content: space-between; padding: 0 40px; box-sizing: border-box; }
.ss-brand { display: flex; align-items: center; gap: 12px; font-size: 17px; letter-spacing: .04em; }
.ss-brand video { width: 46px; height: 46px; border-radius: 50%; }
.ss-nav { display: flex; gap: 2px; padding: 5px; border-radius: 14px; }
.ss-nav a { padding: 9px 14px; border-radius: 10px; font-size: 14.5px; color: rgba(225,238,252,.8); }
.ss-nav a[aria-current="page"] { color: #fff; }
.ss-right { display: flex; gap: 10px; }
.ss-scroll { position: fixed; left: 0; right: 0; top: 72px; bottom: 0; overflow-y: auto; z-index: 2; scrollbar-width: thin; scrollbar-color: rgba(120,190,255,.25) transparent; }
.wrap { width: min(1200px, calc(100vw - 80px)); margin: 0 auto; }
/* buttons and tags */
.btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 10px; font-size: 15px; color: #fff; white-space: nowrap; }
.btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.tag { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 14px; border-radius: 30px; font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ice); }
.tag i { width: 6px; height: 6px; border-radius: 50%; background: #8fe3ff; box-shadow: 0 0 10px #6fd8ff; }
.label { font: 500 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: rgba(160,215,255,.8); }
.num { font: 400 46px/1 var(--serif); letter-spacing: -.01em; background: linear-gradient(90deg, #ffffff 0%, #d6f2ff 45%, #8fd0ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* hero */
.hero { text-align: center; padding: 96px 0 64px; }
.hero h1 { margin: 22px auto 0; max-width: 1240px; font: 400 76px/1.04 var(--serif); letter-spacing: -.015em; }
.hero h1 .ss-w { background: linear-gradient(180deg, #fff 30%, #d3e8fb 75%, #a7c6e6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { margin: 22px auto 0; max-width: 640px; font-size: 19px; line-height: 1.55; color: var(--ink2); }
.hero .acts { display: flex; gap: 12px; justify-content: center; margin-top: 30px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin: 120px 0 34px; }
.sec-head h2 { margin: 18px 0 0; font: 400 48px/1.08 var(--serif); letter-spacing: -.01em; }
.sec-head p { max-width: 400px; margin: 0; font-size: 16.5px; line-height: 1.55; color: var(--ink2); }
/* featured project */
.feat { display: grid; grid-template-columns: 1.08fr 1fr; gap: 40px; padding: 14px; border-radius: 26px; align-items: center; }
.feat .pic { aspect-ratio: 16 / 11; border-radius: 16px; overflow: hidden; background: #000 center / cover; }
.feat .txt { padding: 18px 30px 18px 0; }
.feat h3 { margin: 16px 0 0; font: 400 32px/1.2 var(--serif); }
.feat .d { margin: 14px 0 0; font-size: 16.5px; line-height: 1.55; color: var(--ink2); }
.figs { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 28px; border-top: 1px solid rgba(150,205,255,.14); }
.figs > div { padding: 18px 16px 0 0; } .figs > div + div { padding-left: 18px; border-left: 1px solid rgba(150,205,255,.14); }
.figs .num { font-size: 34px; } .figs small { display: block; margin-top: 8px; font-size: 13px; color: rgba(200,222,245,.62); }
.more { display: inline-flex; gap: 8px; align-items: center; margin-top: 28px; font-size: 15px; color: var(--ice); }
/* the numbered list */
.list { border-top: 1px solid rgba(150,205,255,.12); }
.row { display: grid; grid-template-columns: 56px 210px 1fr 190px 52px; gap: 30px; align-items: center; padding: 14px 18px; margin: 12px 0; border-radius: 20px; }
.row .no { font: 500 13px/1 var(--mono); color: rgba(170,210,245,.6); }
.row .pic { height: 124px; border-radius: 14px; background: #000 center / cover; box-shadow: inset 0 0 0 1px rgba(160,215,255,.18); }
.row .lbl { margin: 0 0 10px; }
.row h3 { margin: 0; font: 400 23px/1.25 var(--serif); }
.row .d { margin: 8px 0 0; font-size: 15px; line-height: 1.5; color: var(--ink2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.row .stat { text-align: right; } .row .stat .num { font-size: 40px; } .row .stat small { display: block; margin-top: 6px; font-size: 13px; color: rgba(200,222,245,.6); }
.arrow { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; }
.arrow svg { width: 16px; height: 16px; fill: none; stroke: #e8f6ff; stroke-width: 1.8; }
/* project page */
.cover { padding: 8px; border-radius: 26px; }
.cover .pic { aspect-ratio: 16 / 8.2; border-radius: 19px; background: #000 center / contain no-repeat; }
.strip { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 56px; border-bottom: 1px solid rgba(150,205,255,.14); padding-bottom: 34px; }
.strip > div { padding: 0 24px; } .strip > div:first-child { padding-left: 16px; } .strip > div + div { border-left: 1px solid rgba(150,205,255,.14); }
.strip .label { display: block; margin-bottom: 16px; } .strip .num { font-size: 40px; }
.body { display: grid; grid-template-columns: 1.35fr 1fr; gap: 70px; margin-top: 90px; align-items: start; }
.body h2 { margin: 0 0 16px; font: 400 32px/1.2 var(--serif); }
.body h2 + p, .body p { font-size: 17px; line-height: 1.65; color: var(--ink2); margin: 0 0 38px; }
.body ul { margin: 0 0 38px; padding: 0; list-style: none; } .body li { padding: 7px 0 7px 22px; position: relative; font-size: 16.5px; color: var(--ink2); }
.body li::before { content: ''; position: absolute; left: 2px; top: 15px; width: 6px; height: 6px; border-radius: 50%; background: #8fe3ff; box-shadow: 0 0 8px #6fd8ff; }
.side { padding: 30px 30px 28px; border-radius: 22px; }
.side h3 { margin: 0 0 14px; font: 400 23px/1.2 var(--serif); }
.side li::before { content: '✓'; background: none; box-shadow: none; top: 7px; left: 0; color: var(--ice); width: auto; height: auto; font-size: 13px; }
.side hr { border: 0; border-top: 1px solid rgba(150,205,255,.14); margin: 18px 0; }
.side p { font-size: 14.5px !important; margin: 0 0 18px !important; }
.deck { padding: 8px; border-radius: 26px; margin-top: 30px; }
.deck .pic { aspect-ratio: 16 / 9; border-radius: 19px; background: #000 center / contain no-repeat; }
.deck-ctl { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 22px; }
.deck-ctl .count { font: 500 13px/1 var(--mono); letter-spacing: .16em; color: var(--ice); min-width: 90px; text-align: center; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { padding: 10px 10px 22px; border-radius: 22px; }
.card .pic { position: relative; height: 200px; border-radius: 15px; background: #000 center / cover; }
.card .pic .tag { position: absolute; left: 12px; top: 12px; height: 26px; font-size: 11px; }
.card .in { padding: 20px 14px 0; } .card h3 { margin: 12px 0 0; font: 400 20px/1.3 var(--serif); min-height: 52px; }
.card .figs { grid-template-columns: 1fr 1fr; margin-top: 18px; } .card .figs .num { font-size: 28px; }
.foot { margin: 130px 0 0; padding: 30px 0 40px; border-top: 1px solid rgba(150,205,255,.12); display: flex; justify-content: space-between; font-size: 14px; color: rgba(200,222,245,.55); }
.more svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.more { white-space: nowrap; }
.tag.ontop { background: rgba(2,12,34,.62); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(170,220,255,.22), inset 0 1px 0 rgba(255,255,255,.18); }
/* library grid: nine show, the rest open on request */
#grid .more-card { display: none; } #grid.all .more-card { display: block; }
.card { display: block; }
.card .figs .num { font-size: 26px; }
.strip .sub { display: block; margin-top: 10px; font-size: 13.5px; line-height: 1.45; color: rgba(200,222,245,.6); max-width: 300px; }
/* pull quotes */
.quote { margin: 0; padding: 46px 56px 40px; border-radius: 26px; position: relative; }
.quote .q { position: absolute; left: 30px; top: 6px; font: 400 90px/1 var(--serif); color: rgba(150,215,255,.35); }
.quote p { margin: 0; font: 400 27px/1.45 var(--serif); color: #f3f9ff; }
.quote cite { display: block; margin-top: 22px; font: 500 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; font-style: normal; color: var(--ice); }
.quote.final { margin-top: 130px; text-align: center; } .quote.final p { font-size: 32px; max-width: 980px; margin: 0 auto; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 22px; }
.mini { padding: 28px 30px; border-radius: 22px; position: relative; }
.mini .no { font: 500 12px/1 var(--mono); color: rgba(160,215,255,.7); letter-spacing: .14em; }
.mini h3 { margin: 12px 0 0; font: 400 23px/1.25 var(--serif); }
.mini p { margin: 10px 0 0; font-size: 15.5px; line-height: 1.6; color: var(--ink2); }
.mini ul { margin: 14px 0 0; padding: 0; list-style: none; } .mini li { position: relative; padding: 6px 0 6px 18px; font-size: 15px; line-height: 1.5; color: var(--ink2); }
.mini li::before { content: ''; position: absolute; left: 0; top: 14px; width: 5px; height: 5px; border-radius: 50%; background: #8fe3ff; box-shadow: 0 0 8px #6fd8ff; }
.alt { padding-right: 150px; } .alt .label { display: block; } .alt .big { position: absolute; right: 30px; top: 50%; transform: translateY(-50%); font-size: 64px; } .alt .big small { font-size: 20px; -webkit-text-fill-color: rgba(190,225,255,.6); }
.alt:not(.win) .big { opacity: .55; }
.matrix { margin-top: 22px; padding: 26px 32px 22px; border-radius: 22px; }
.mrow { display: grid; grid-template-columns: 260px 1fr 70px; gap: 24px; align-items: center; padding: 11px 0; border-bottom: 1px solid rgba(150,205,255,.08); }
.mrow .c { font-size: 15.5px; color: #e8f4ff; } .mrow .c small { margin-left: 10px; font: 500 11px/1 var(--mono); color: rgba(160,215,255,.6); }
.mrow .bars { display: grid; gap: 5px; } .mrow .bars i, .legend i { display: block; height: 6px; border-radius: 6px; }
.b1 { background: linear-gradient(90deg, rgba(90,130,200,.35), rgba(140,170,220,.6)); }
.b2 { background: linear-gradient(90deg, rgba(40,120,255,.6), #9fe6ff); box-shadow: 0 0 12px rgba(110,210,255,.55); }
.mrow .s { text-align: right; font: 500 13px/1 var(--mono); color: rgba(190,220,250,.6); } .mrow .s b { color: #dff4ff; }
.legend { display: flex; gap: 26px; margin-top: 16px; font: 500 11.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(190,220,250,.7); }
.legend span { display: flex; gap: 10px; align-items: center; } .legend i { width: 26px; }
.flow { margin-top: 10px; }
.frow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 46px; }
.frow.side { grid-template-columns: 1fr 1fr; gap: 0 420px; width: 74%; margin: 70px auto 0; }
.node { padding: 20px 18px; border-radius: 18px; text-align: center; min-height: 104px; box-sizing: border-box; }
.node b { display: block; font: 400 17px/1.25 var(--serif); color: #fff; } .node span { display: block; margin-top: 8px; font-size: 13px; line-height: 1.45; color: var(--ink2); }
.flow .note { margin: 34px 0 0; text-align: center; font-size: 12.5px; color: rgba(190,215,240,.5); }
.phases { display: grid; grid-template-columns: repeat(6, 1fr); gap: 30px; }
.phase { padding: 22px 18px; border-radius: 18px; min-height: 120px; box-sizing: border-box; } .phase .no { font: 500 12px/1 var(--mono); color: var(--ice); } .phase b { display: block; margin-top: 14px; font: 400 17px/1.3 var(--serif); }
.chain { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center; margin-top: 34px; } .chain .to { color: rgba(160,215,255,.6); }
.cyc { margin-top: 0; }
.lib-h { margin: 70px 0 34px; font: 400 54px/1 var(--serif); letter-spacing: -.01em; }
.card .in .label { line-height: 1.4; letter-spacing: .07em; font-size: 14px; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 40px; }
.card.porc .in .label { color: #0f3a73 !important; }
.card.porc .figs small { font-size: 14px; }
.card h3 { font-size: 21px; min-height: 81px; }
.grid3 { row-gap: 48px; }
.einstein { margin-top: 140px; }
.einstein p { font-size: 34px; line-height: 1.4; }
/* CIPHER porcelain cards: dark ink on his face colour */
.porc { color: #0a1a33; }
.porc .label, .porc .mini .no, .porc .no { color: #1f4f8c !important; }
.porc h3 { color: #071530 !important; }
.porc p, .porc li, .porc .figs small, .porc small { color: #22385a !important; }
.porc .num { background: linear-gradient(90deg, #0a2a5c, #1f5aa8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.porc .figs { border-top-color: rgba(20,50,100,.18); width: 52%; } .card.porc .figs > div { padding-right: 8px; } .card.porc .figs small { white-space: nowrap; } .porc .figs > div + div { border-left-color: rgba(20,50,100,.18); }
.porc .alt .big small, .alt.porc .big small { -webkit-text-fill-color: rgba(30,70,130,.6); }
.alt.porc { padding-right: 150px; }
.mini.porc { padding-bottom: 60px; }
.porc li::before { background: #2a6fd6; box-shadow: none; }
/* the floor at the bottom of the page: room for the floor scene; the last cards overlap its far edge */
.floor { position: relative; min-height: 0; margin-top: -40px; padding-top: 120px; box-sizing: border-box; }
.floor .einstein { margin-top: 70px; }
.mini.porc { padding-right: 120px; } .alt.porc .big { top: 30px; transform: none; }
/* the floor world lives in its own space at the bottom of the page; the glass card above overlaps its top edge */
.floor { min-height: 0 !important; margin-top: 0 !important; padding: 0 !important; position: relative; }
.quote.final { position: relative; z-index: 1; }
.floor .foot { margin-top: 0; position: relative; }
.floor .einstein { margin-top: 56px !important; }      /* balanced spacing: the animation sits behind, it needs no room of its own */
.floor .foot { margin-top: 64px !important; }
/* the wave lives in the top part of the page, behind everything */
#page { position: relative; }
.wave-zone { position: absolute; left: 0; right: 0; top: 0; height: 980px; pointer-events: none; z-index: -1; }
/* project pages: step captions and the video caption */
.phase .sub { display: block; margin-top: 8px; font-size: 13.5px; line-height: 1.45; color: var(--ink2); }
.vid-cap { margin: 18px auto 0; max-width: 760px; text-align: center; font-size: 15px; line-height: 1.55; color: var(--ink2); }
/* coming-soon pages: one centred message on the living stage, the floor below */
body[data-soon] .wrap { min-height: 100vh; display: flex; flex-direction: column; }
.hero.soon { flex: 1 0 auto; padding-top: 150px; box-sizing: border-box; }
.hero.soon p { color: #dceaf8; }
.hero.soon + .floor { flex: 0 0 auto; min-height: 400px; display: flex; flex-direction: column; justify-content: flex-end; }
/* deep dive: long-form reading panels */
.read { padding: 34px 44px; border-radius: 22px; max-width: 900px; }
.read p { margin: 0; font-size: 18px; line-height: 1.7; color: #e3eefa; } .read p + p { margin-top: 18px; }
.acts.end { display: flex; gap: 12px; justify-content: center; margin-top: 90px; }
.btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; }
/* project pages: the presentation at the top, CIPHER's clip, and the neural mesh regions (drawn in WebGL, anchored here) */
.deck.top { margin-top: 64px; }
.cipher-cover { width: min(520px, 100%); margin-left: auto; margin-right: auto; }
.cipher-cover .pic { aspect-ratio: 992 / 1184 !important; position: relative; overflow: hidden; background-size: cover; background-position: center 30%; }
.nm { position: absolute; pointer-events: none; z-index: -1; }
.nm[data-nm="tl"] { top: 0; left: calc(50% - 50vw); width: 46vw; height: 820px; }
.nm[data-nm="tr"] { top: 300px; right: calc(50% - 50vw); width: 44vw; height: 800px; }
.nm[data-nm="mid"] { top: 30%; left: calc(50% - 50vw); width: 100vw; height: 1400px; }
.cipher-cover .pp-clip { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .6s ease; border-radius: inherit; }
.cipher-cover .pp-clip.on { opacity: 1; }
