/* Layout: a living black symbiote on a WebGL canvas behind the page. The text layer is blended by difference, so
   wherever the symbiote covers the page its text turns light and takes on the creature's moving texture. The creature
   stalks the cursor in the opening; further down it crawls to the part you are reading and wraps itself around it. */
:root {
  --paper: #c4c7cc;
  --display: 'Unbounded', 'Arial Black', system-ui, sans-serif;
  --body: 'Geist', 'Segoe UI', system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, Consolas, monospace;
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  color-scheme: light;
}
html, body { background: var(--paper); }
body { color: #fff; font: 400 16px/1.6 var(--body); overflow-x: hidden; }
#goo { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; }
main { position: fixed; top: 0; left: 0; right: 0; will-change: transform; z-index: 1; mix-blend-mode: difference; color: #fff;
  padding-left: max(clamp(20px, 4vw, 80px), env(safe-area-inset-left, 0px)); padding-right: max(clamp(20px, 4vw, 80px), env(safe-area-inset-right, 0px)); padding-block: 0 6vh; }
.wrap { width: 100%; }   /* full width on every screen: no centred column with empty sides */
.mono { font: 400 12px var(--mono); letter-spacing: .2em; text-transform: uppercase; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
a { color: #fff; }
a:focus-visible, button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.rail { position: relative; }

/* opening */
.hero { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr auto; padding-block: 0 5vh; }
.top { display: flex; justify-content: flex-end; align-items: center; flex-wrap: wrap; gap: 12px 28px; padding-block: 24px; font: 400 12px var(--mono); letter-spacing: .16em; text-transform: uppercase; }
.top a { text-decoration: none; white-space: nowrap; } .top a:hover { text-decoration: underline; text-underline-offset: 5px; }
.top .nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.top .mark { font: 800 16px var(--display); letter-spacing: -.01em; text-transform: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 32px; }
.intro { display: grid; gap: 20px; max-width: 470px; align-content: center; }
.lair { min-height: 62vh; }
.lead { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.55; font-weight: 300; margin: 0; opacity: .85; }
.now { display: grid; gap: 12px; margin-top: 10px; }
.now a { display: grid; gap: 2px; padding-left: 18px; position: relative; text-decoration: none; }
.now a::before { content: ''; position: absolute; left: 0; top: .5em; width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.now b { font: 600 15px var(--display); } .now span { font-size: 13px; opacity: .7; }
.hero h1 { font-family: var(--display); font-weight: 900; font-size: clamp(40px, 5.2vw, 80px); line-height: .92; letter-spacing: -.04em; margin: 0; }
.hero h1 span { display: block; }
.hero .row { display: flex; flex-wrap: wrap; gap: 14px 40px; justify-content: space-between; }
.hint { display: flex; align-items: center; gap: 10px; } .hint i { width: 26px; height: 1px; background: #fff; }

/* skills marquee */
.marquee { overflow: hidden; padding-block: 5vh; }
.marquee .track { display: inline-flex; align-items: baseline; gap: .5em; white-space: nowrap; font: 800 clamp(26px, 3.4vw, 50px)/1.1 var(--display); letter-spacing: -.03em; animation: mq 46s linear infinite; }
.marquee .o { color: transparent; -webkit-text-stroke: 1px #fff; }
.marquee em { font-size: 1.1em; }
@keyframes mq { to { transform: translateX(-50%); } }

/* sections: a small label on the left, the story on the right */
.s { display: grid; grid-template-columns: minmax(120px, 200px) minmax(0, 1fr); gap: 20px 56px; padding-block: 11vh; }
.s .label { display: flex; gap: 10px; padding-top: 12px; align-self: start; }
.s .label span { opacity: .55; }
.s h2 { font: 800 clamp(26px, 3vw, 44px)/1.1 var(--display); letter-spacing: -.035em; margin: 0; max-width: 17ch; text-wrap: balance; }
.s h2 em { font-size: 1.12em; letter-spacing: -.02em; }
.lede { font-size: clamp(15px, 1.15vw, 17px); font-weight: 300; max-width: 60ch; margin: 20px 0 0; opacity: .85; }
.facts { display: flex; flex-wrap: wrap; gap: 22px 64px; margin-top: 46px; }
.facts b { display: block; font: 600 clamp(18px, 1.6vw, 23px)/1.1 var(--display); letter-spacing: -.02em; }
.facts span { font-size: 15px; }
.rows { margin-top: 42px; }
.rows .r { display: grid; grid-template-columns: 44px minmax(0, 1fr) minmax(0, 1.3fr); gap: 8px 24px; align-items: baseline; padding-block: 12px; }
.rows .r b { font: 600 clamp(16px, 1.4vw, 19px) var(--display); letter-spacing: -.02em; }
.rows .r p { margin: 0; font-size: 15px; font-weight: 300; opacity: .8; }
.feature { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 36px 56px; align-items: center; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 18px; }
.meta .live::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #fff; margin-right: 8px; vertical-align: 1px; animation: blink 1.6s ease-in-out infinite; }
.go { display: inline-flex; gap: 10px; margin-top: 24px; font: 400 14px var(--mono); letter-spacing: .08em; text-underline-offset: 6px; }
.shot { display: block; width: 100%; max-width: 100%; aspect-ratio: 3 / 2; border-radius: 16px; }
.url { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; font: 400 15px var(--mono); letter-spacing: .04em; text-underline-offset: 6px; word-break: break-all; }
#media { position: fixed; top: 0; left: 0; right: 0; z-index: 2; pointer-events: none; will-change: transform; }
#media > img { position: absolute; display: block; object-fit: cover; border-radius: 16px; box-shadow: 0 34px 70px -28px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .08);
  transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
#media > img.hover { transform: scale(1.025); }
.building { margin-top: 40px; }
.ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 24px; }
.ctl .url { margin-top: 0; }
.themes { display: inline-flex; gap: 6px; padding: 4px; border: 1px solid #fff; border-radius: 999px; }
.themes button { font: 400 13px var(--mono); letter-spacing: .06em; color: #fff; background: transparent; border: 0; border-radius: 999px; padding: 8px 16px; cursor: pointer; }
.themes button[aria-pressed="true"] { background: #fff; color: #000; }
.stage { display: block; width: 100%; max-width: min(100%, 1180px); aspect-ratio: 100 / 52; margin-top: 40px; }
/* the lab: a sealed tank with its cap, pipes, base and a readout panel */
.lab { position: absolute; pointer-events: none; }
.lab > * { position: absolute; }
.lab .glass { border-radius: 18px; border: 1px solid rgba(255, 255, 255, .6);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06), inset 22px 0 34px -20px rgba(255, 255, 255, .6), inset -12px 0 26px -16px rgba(255, 255, 255, .4), 0 0 0 1px rgba(0, 0, 0, .05);
  background: linear-gradient(90deg, rgba(255, 255, 255, .26) 0 4%, rgba(255, 255, 255, 0) 13% 66%, rgba(255, 255, 255, .18) 72% 76%, rgba(255, 255, 255, 0) 84%); }
.lab .glass::after { content: ''; position: absolute; left: 9%; top: 4%; width: 5%; height: 70%; border-radius: 99px; background: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0)); }
.lab .cap { border-radius: 14px 14px 6px 6px; background: linear-gradient(180deg, #6a6e75, #2c2e33 55%, #1b1c20); box-shadow: 0 10px 18px -10px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .25); }
.lab .cap i { position: absolute; top: 38%; width: 7px; height: 7px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #c9ccd1, #55585e); }
.lab .beacon { width: 22px; height: 14px; border-radius: 11px 11px 3px 3px; background: radial-gradient(circle at 50% 70%, #ff8a80, #c0261c 60%, #5a0f0a); box-shadow: 0 0 0 2px #24262b; }
.lab.breach .beacon { animation: beacon .45s steps(2) infinite; }
@keyframes beacon { 50% { background: radial-gradient(circle at 50% 70%, #fff, #ff3b2e 55%, #8a120a); box-shadow: 0 0 0 2px #24262b, 0 0 26px 8px rgba(255, 60, 40, .8); } }
.lab .base { border-radius: 8px 8px 16px 16px; background: linear-gradient(180deg, #44474d, #1e1f23 70%); box-shadow: 0 34px 50px -22px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .2); overflow: hidden; }
.lab .stripes { position: absolute; left: 0; right: 0; top: 0; height: 18%; background: repeating-linear-gradient(-45deg, #e6e7e9 0 9px, #17181b 9px 18px); opacity: .9; }
.lab .tag { position: absolute; left: 8%; right: 8%; top: 34%; display: flex; justify-content: space-between; align-items: center; gap: 8px; font: 400 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #d9dadd; }
.lab .tag b { font-weight: 400; color: #fff; display: inline-flex; align-items: center; gap: 7px; }
.lab .tag b::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #3fd17a; box-shadow: 0 0 8px #3fd17a; }
.lab.breach .tag b::before { background: #ff4b3e; box-shadow: 0 0 10px #ff4b3e; animation: blink .5s steps(2) infinite; }
.lab .pipe { width: 12px; background: linear-gradient(90deg, #2a2c31, #767a81 45%, #2a2c31); }
.lab .panel { border-radius: 12px; background: rgba(12, 14, 17, .82); backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .08); color: #c9cbd0; padding: 12px 14px; font: 400 10.5px/1.9 var(--mono); letter-spacing: .12em; box-shadow: 0 22px 40px -20px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .08); }
.lab .panel b { font-weight: 400; color: #fff; float: right; margin-left: 14px; }
.lab .panel .graph { display: flex; align-items: flex-end; gap: 3px; height: 26px; margin-top: 6px; }
.lab .panel .graph i { flex: 1; background: #e9eaec; opacity: .8; border-radius: 1px; }
.lab.breach .panel b.ct, .lab.breach .panel b.state { color: #ff5a4e; }
#shards { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; }
#rw { position: fixed; z-index: 4; left: max(20px, env(safe-area-inset-left, 0px)); top: 22px; font: 400 12px var(--mono); letter-spacing: .18em; color: #fff; background: #111; padding: 6px 12px; border-radius: 6px; opacity: 0; pointer-events: none; }
/* the demo TV and its remote: drawn on the picture layer, in their real colours */
.tvset { position: absolute; pointer-events: auto; container-type: inline-size; }
.tvset .tv { position: absolute; left: 0; top: 0; width: 82cqw; padding: .6cqw .6cqw 1.5cqw; border-radius: .8cqw;
  background: linear-gradient(180deg, #232428, #0c0c0e 30%, #08080a); box-shadow: 0 3cqw 6cqw -2.4cqw rgba(0, 0, 0, .65), inset 0 0 0 1px rgba(255, 255, 255, .07), inset 0 1px 0 rgba(255, 255, 255, .12); }
.tvset .screen { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; overflow: hidden; border-radius: .15cqw; }
.tvset iframe { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; border: 0; transform-origin: 0 0; background: #000; }
.tvset .glare { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, 0) 38%); }
.tvset .led { position: absolute; left: 50%; bottom: .55cqw; width: .45cqw; height: .45cqw; margin-left: -.22cqw; border-radius: 50%; background: #ff5a4a; box-shadow: 0 0 .6cqw #ff5a4a; opacity: .8; }
.tvset .neck { position: absolute; left: 38cqw; top: 47.4cqw; width: 6cqw; height: 2.6cqw; background: linear-gradient(90deg, #121214, #2a2b30 50%, #121214); }
.tvset .base { position: absolute; left: 27cqw; top: 49.8cqw; width: 28cqw; height: 1.2cqw; border-radius: .6cqw .6cqw .3cqw .3cqw; background: linear-gradient(180deg, #2c2d32, #0e0e10); box-shadow: 0 1.4cqw 2cqw -1cqw rgba(0, 0, 0, .55); }
.remote { position: absolute; left: 87cqw; top: 10cqw; width: 11.5cqw; height: 27cqw; border-radius: 5.75cqw 5.75cqw 4.5cqw 4.5cqw;
  background: linear-gradient(160deg, #2b2c31, #141417 55%, #0d0d10); box-shadow: 0 2.4cqw 4cqw -1.6cqw rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .14), inset 0 0 0 1px rgba(255, 255, 255, .05); }
.remote .k { position: absolute; border: 0; padding: 0; cursor: pointer; color: rgba(255, 255, 255, .78); background: none; -webkit-tap-highlight-color: transparent; }
.remote .k:focus-visible { outline: 2px solid #9ec3ff; outline-offset: 2px; }
.remote .pwr { left: 4.35cqw; top: 2.6cqw; width: 2.8cqw; height: 2.8cqw; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #3a3b41, #1c1d21); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.remote .pwr::after { content: ''; position: absolute; inset: .85cqw; border: .2cqw solid #e55; border-top-color: transparent; border-radius: 50%; }
.remote .pad { position: absolute; left: 1.15cqw; top: 8cqw; width: 9.2cqw; height: 9.2cqw; border-radius: 50%;
  background: radial-gradient(circle, #1a1b1f 40%, #26272c 41%, #1d1e22 70%); box-shadow: inset 0 .25cqw .5cqw rgba(255, 255, 255, .06), 0 .3cqw .6cqw rgba(0, 0, 0, .5); }
.remote .dir { width: 3cqw; height: 3cqw; display: grid; place-items: center; border-radius: 50%; font-size: 1.5cqw; transition: background .12s, transform .12s; }
.remote .up { left: 3.1cqw; top: .1cqw; } .remote .down { left: 3.1cqw; bottom: .1cqw; } .remote .left { left: .1cqw; top: 3.1cqw; } .remote .right { right: .1cqw; top: 3.1cqw; }
.remote .ok { left: 2.7cqw; top: 2.7cqw; width: 3.8cqw; height: 3.8cqw; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #3b3c42, #222328 70%);
  box-shadow: 0 .25cqw .5cqw rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .15); font: 600 1.1cqw var(--body); letter-spacing: .05em; transition: transform .12s, box-shadow .12s, background .12s; }
.remote .row2 { top: 19.6cqw; width: 3.2cqw; height: 3.2cqw; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #34353b, #1d1e22); font-size: 1.4cqw; display: grid; place-items: center;
  box-shadow: 0 .2cqw .4cqw rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .1); transition: transform .12s; }
.remote .back { left: 1.6cqw; } .remote .home { right: 1.6cqw; }
.remote .vol { left: 4.1cqw; top: 25.4cqw; width: 3.3cqw; height: 8.6cqw; border-radius: 1.65cqw; background: linear-gradient(180deg, #2f3035, #1b1c20); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
  display: grid; align-content: space-between; justify-items: center; padding: .7cqw 0; font-size: 1.4cqw; color: rgba(255, 255, 255, .6); }
.remote .hub { position: absolute; left: 2.9cqw; top: 2.9cqw; width: 3.4cqw; height: 3.4cqw; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #303136, #1a1b1f 70%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
.remote .grille { position: absolute; left: 4.6cqw; bottom: 3cqw; width: 2.3cqw; height: 2.3cqw; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .16) 1px, transparent 1.5px) 0 0 / .55cqw .55cqw; opacity: .6; }
/* a press: the key sinks and lights up, as on a real remote */
.remote .dir.down-now { background: radial-gradient(circle, rgba(158, 195, 255, .35), rgba(158, 195, 255, 0) 70%); color: #fff; transform: scale(.88); }
.remote .ok.down-now { transform: scale(.92); box-shadow: 0 0 0 .25cqw rgba(158, 195, 255, .35), inset 0 .3cqw .6cqw rgba(0, 0, 0, .6); background: radial-gradient(circle at 50% 55%, #2c2d33, #1b1c20); }
.remote .row2.down-now { transform: scale(.9); }
.remote.lit::before { content: ''; position: absolute; left: 50%; top: .9cqw; width: .5cqw; height: .5cqw; margin-left: -.25cqw; border-radius: 50%; background: #9ec3ff; box-shadow: 0 0 .7cqw #9ec3ff; }
@keyframes sail { from { offset-distance: 0%; } to { offset-distance: 100%; } }
.ship { offset-path: path('M40 230 C 150 150, 260 260, 380 170 S 560 120, 620 190'); animation: sail 14s linear infinite; }
@keyframes blink { 50% { opacity: .2; } }
@keyframes orbit { to { transform: rotate(360deg); } }
.ring { transform-origin: 330px 220px; animation: orbit 40s linear infinite; }
.app.on { animation: blink 1.6s ease-in-out infinite; }
.big-links { margin-top: 40px; }
.big-links a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-block: 10px; text-decoration: none;
  font: 700 clamp(20px, 2.2vw, 30px)/1.1 var(--display); letter-spacing: -.035em; transition: padding .35s cubic-bezier(.2, .8, .2, 1); }
.big-links a span { font: 400 13px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.big-links a:hover { padding-left: 18px; }
.mail { font: 800 clamp(20px, 3.4vw, 48px)/1 var(--display); letter-spacing: -.04em; word-break: break-all; margin: 34px 0 22px; }
.copy { font: 400 13px var(--mono); border: 1px solid #fff; background: transparent; color: #fff; padding: 9px 20px; cursor: pointer; border-radius: 999px; }
footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-block: 28px 0; opacity: .6; }

@media (max-width: 860px) {
  .s { grid-template-columns: 1fr; padding-block: 9vh; gap: 14px; }
  .feature { grid-template-columns: 1fr; }
  .rows .r { grid-template-columns: 34px minmax(0, 1fr); } .rows .r p { grid-column: 2; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); } .intro { max-width: 100%; min-width: 0; } .lair { order: -1; min-height: 52vh; }
}
@media (pointer: coarse) { .hint { display: none; } }
@media (max-width: 699px) {
  .top { justify-content: flex-start; padding-block: 16px; }
  .top { min-width: 0; } .top .nav { min-width: 0; max-width: 100%; flex-wrap: nowrap; overflow-x: auto; gap: 18px; scrollbar-width: none; -webkit-mask: linear-gradient(90deg, #000 85%, transparent); mask: linear-gradient(90deg, #000 85%, transparent); }
  .top .nav::-webkit-scrollbar { display: none; }
  .lab .panel { display: none; }
  .hero h1 { font-size: 44px; }
}
@media (prefers-reduced-motion: reduce) { .ship, .app.on, .ring, .marquee .track, .meta .live::before { animation: none; } }

/* ---------- structure: about, work, projects, socials ---------- */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 56px; margin-top: 34px; }
.split h3 { font: 600 15px var(--display); letter-spacing: -.01em; margin: 0 0 10px; }
.split p { margin: 0; font-size: 16px; font-weight: 300; opacity: .85; max-width: 46ch; }
.part { display: flex; align-items: baseline; gap: 18px; padding-block: 6vh 0; }
.part b { font: 800 clamp(13px, 1vw, 15px) var(--mono); letter-spacing: .22em; text-transform: uppercase; }
.part span { font-size: 15px; opacity: .7; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 11px 20px; border: 1px solid #fff; border-radius: 999px; font: 400 13px var(--mono); letter-spacing: .08em; text-decoration: none; transition: background .25s, color .25s; }
.btn:hover, .btn.solid { background: #fff; color: #000; }
.btn.solid:hover { background: transparent; color: #fff; }
.screen-spot { margin-top: 44px; display: block; width: 100%; max-width: min(100%, 980px); aspect-ratio: 100 / 66; }
.phone-spot { display: block; width: min(100%, 330px); aspect-ratio: 9 / 18.6; }
.socials { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px 64px; align-items: center; }
.socials-tabs { display: inline-flex; gap: 6px; padding: 4px; border: 1px solid #fff; border-radius: 999px; margin-top: 26px; }
.socials-tabs button { font: 400 13px var(--mono); letter-spacing: .06em; color: #fff; background: transparent; border: 0; border-radius: 999px; padding: 8px 16px; cursor: pointer; }
.socials-tabs button[aria-pressed="true"] { background: #fff; color: #000; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 30px; margin-top: 34px; }
.grid.shorts { grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); }
.card { display: grid; gap: 12px; text-decoration: none; }
.card .shot { aspect-ratio: 16 / 9; border-radius: 12px; }
.grid.shorts .card .shot { aspect-ratio: 9 / 16; }
.card b { font: 600 15px/1.35 var(--display); letter-spacing: -.01em; }
.card small { font: 400 12px var(--mono); opacity: .7; letter-spacing: .06em; }
.card p { margin: -2px 0 0; font-size: 15px; font-weight: 300; line-height: 1.55; opacity: .82; }
.feats { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 28px 40px; margin-top: 34px; }
.feats div b { display: block; font: 600 16px var(--display); margin-bottom: 8px; }
.feats div p { margin: 0; font-size: 15px; font-weight: 300; opacity: .82; }
.back { font: 400 12px var(--mono); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; }

/* ---------- the MIS Ocean monitor (picture layer, real colours) ---------- */
.monitor { position: absolute; pointer-events: auto; container-type: inline-size; display: block; text-decoration: none; }
.monitor .mscreen { position: absolute; left: 0; top: 0; width: 100cqw; height: 58.8cqw; box-sizing: border-box; border-radius: 1.4cqw; background: #000; overflow: hidden;
  border: .9cqw solid #111214; box-shadow: 0 3cqw 6cqw -2cqw rgba(0, 0, 0, .65), inset 0 0 0 1px rgba(255, 255, 255, .06), 0 0 0 1px rgba(255, 255, 255, .08); }
.monitor video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.monitor:hover video { transform: scale(1.04); }
.monitor .glare { position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, 0) 40%); pointer-events: none; }
.monitor .mhud { position: absolute; left: 2.4cqw; bottom: 2.2cqw; display: flex; align-items: center; gap: 1cqw; padding: .9cqw 1.6cqw; border-radius: 99px;
  background: rgba(10, 12, 14, .72); color: #fff; font: 400 max(11px, 1.3cqw) var(--mono); letter-spacing: .08em; backdrop-filter: blur(6px); transition: background .3s; }
.monitor:hover .mhud { background: #fff; color: #000; }
.monitor .dot { width: .9cqw; height: .9cqw; min-width: 7px; min-height: 7px; border-radius: 50%; background: #3fd17a; box-shadow: 0 0 1cqw #3fd17a; animation: blink 1.6s ease-in-out infinite; }
.monitor .mneck { position: absolute; left: 44cqw; top: 58.8cqw; width: 12cqw; height: 4.5cqw; background: linear-gradient(90deg, #17181b, #3a3c42 50%, #17181b); clip-path: polygon(15% 0, 85% 0, 100% 100%, 0 100%); }
.monitor .mbase { position: absolute; left: 34cqw; top: 63.2cqw; width: 32cqw; height: 1.5cqw; border-radius: 1cqw; background: linear-gradient(180deg, #3a3c42, #121316); box-shadow: 0 1.6cqw 2.4cqw -1cqw rgba(0, 0, 0, .55); }

/* ---------- the socials phone ---------- */
.phone { position: absolute; pointer-events: auto; container-type: inline-size; }
.phone .pbody { position: absolute; inset: 0; border-radius: 13cqw; background: linear-gradient(160deg, #2a2b30, #0c0c0e);
  box-shadow: 0 6cqw 12cqw -4cqw rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(255, 255, 255, .12), inset 0 0 0 2.2cqw #050506; }
.phone .notch { position: absolute; left: 36cqw; top: 3.4cqw; width: 28cqw; height: 6.5cqw; border-radius: 99px; background: #000; }
.phone .pscreen { position: absolute; inset: 2.6cqw; border-radius: 10.4cqw; overflow: hidden; clip-path: inset(0 round 10.4cqw); background: #0f0f0f; }
.phone .ps { box-sizing: border-box; position: absolute; inset: 0; padding: 14cqw 5.5cqw 6cqw; display: flex; flex-direction: column; gap: 4.5cqw; overflow: hidden;
  opacity: 0; transform: translateX(8%); transition: opacity .5s, transform .6s cubic-bezier(.2, .8, .2, 1); font: 400 3.9cqw/1.35 var(--body); }
.phone .ps.on { opacity: 1; transform: none; }
.phone .who { display: flex; align-items: center; gap: 3.5cqw; }
.phone .who i { width: 14cqw; height: 14cqw; border-radius: 50%; display: grid; place-items: center; font: 800 4.6cqw var(--display); font-style: normal; flex: none; }
.phone .who b { display: block; font: 600 4.6cqw var(--display); } .phone .who small { display: block; font-size: 3.4cqw; opacity: .65; }
.phone .pbtn { align-self: flex-start; padding: 2.2cqw 5.5cqw; border-radius: 99px; font: 600 3.6cqw var(--body); text-decoration: none; }
.phone .yt { background: #0f0f0f; color: #f1f1f1; }
.phone .yt .banner { position: absolute; left: 0; right: 0; top: 0; height: 24cqw; background: radial-gradient(120% 140% at 20% 0, #3a1010, #120707 60%, #0f0f0f); }
.phone .yt .who { position: relative; margin-top: 6cqw; } .phone .yt .who i { background: #fff; color: #0f0f0f; }
.phone .yt .pbtn { background: #f1f1f1; color: #0f0f0f; }
.phone .ylist { display: grid; gap: 3.6cqw; }
.phone .yv span { min-width: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.phone .yv { display: grid; grid-template-columns: 38cqw minmax(0, 1fr); gap: 3cqw; align-items: start; color: #f1f1f1; text-decoration: none; font-size: 3.3cqw; line-height: 1.3; }
.phone .yv img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 2cqw; display: block; }
.phone .gh { background: #0d1117; color: #e6edf3; }
.phone .gh .who i { background: #e6edf3; color: #0d1117; }
.phone .term { border-radius: 3cqw; background: #010409; border: 1px solid #30363d; overflow: hidden; }
.phone .term .bar { display: flex; gap: 1.4cqw; padding: 2cqw 2.6cqw; border-bottom: 1px solid #30363d; } .phone .term .bar span { width: 2.2cqw; height: 2.2cqw; border-radius: 50%; background: #30363d; }
.phone .term pre { margin: 0; padding: 3cqw; min-height: 30cqw; font: 400 3.1cqw/1.5 var(--mono); white-space: pre-wrap; word-break: break-all; color: #7ee787; }
.phone .repo { display: grid; gap: 1.6cqw; padding: 3.6cqw; border: 1px solid #30363d; border-radius: 3cqw; color: #e6edf3; text-decoration: none; }
.phone .repo b { color: #58a6ff; font: 600 3.9cqw var(--body); } .phone .repo span { font-size: 3.3cqw; opacity: .8; } .phone .repo small { font-size: 3cqw; opacity: .55; }
.phone .gh .pbtn { background: #238636; color: #fff; }
.phone .li { background: #f3f2ef; color: #191919; align-items: flex-start; }
.phone .li .banner { position: absolute; left: 0; right: 0; top: 0; height: 30cqw; background: linear-gradient(120deg, #1d2226, #43494e); }
.phone .li .avatar { position: relative; margin-top: 10cqw; width: 24cqw; height: 24cqw; border-radius: 50%; border: 1.4cqw solid #f3f2ef; background: #1d2226; color: #fff; display: grid; place-items: center; font: 800 7cqw var(--display); }
.phone .li .nm { font: 700 5.6cqw var(--display); letter-spacing: -.01em; } .phone .li .hl { font-size: 3.6cqw; opacity: .75; margin-top: -3cqw; }
.phone .li p { margin: 0; font-size: 3.4cqw; opacity: .7; }
.phone .li .pbtn { background: #0a66c2; color: #fff; }

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .socials { grid-template-columns: 1fr; justify-items: center; }
}
