
/* Layout: a live generative model fills the screen; thin instrument chrome (mono telemetry) frames it; every section is one working machine. */
:root{
  --void:#05060A;
  --ink:#0C0E14;
  --line:#1D212C;
  --fg:#EEF0F4;
  --dim:#959CAB;
  --signal:#FF5A3C;
  --signal-ink:#140805;
  --f-display:"Sofia Sans Extra Condensed","Arial Narrow",system-ui,sans-serif;
  --f-body:"Golos Text","Segoe UI",system-ui,sans-serif;
  --f-mono:"Martian Mono",ui-monospace,"Cascadia Mono",monospace;
  --f-name:"Martian Mono",ui-monospace,monospace;
  --gutter:clamp(16px,3.4vw,48px);
  color-scheme:dark;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{background:var(--void);color:var(--fg);font-family:var(--f-body);font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased;overflow-x:hidden}
a{color:inherit}
button{font:inherit;color:inherit}
:focus-visible{outline:2px solid var(--signal);outline-offset:3px}
.mono{font-family:var(--f-mono);font-size:12px;letter-spacing:.04em}
.wrap{max-width:1520px;margin:0 auto;padding-inline:var(--gutter)}

/* header */
.top{position:fixed;inset:0 0 auto;z-index:20;padding-top:env(safe-area-inset-top,0px);background:linear-gradient(rgba(5,6,10,.92),rgba(5,6,10,.6));backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-bottom:1px solid rgba(29,33,44,.6)}
section[id]{scroll-margin-top:64px}
.top .wrap{display:flex;align-items:center;gap:24px;min-height:64px}
.brand{font-family:var(--f-display);font-weight:500;font-size:14px;letter-spacing:.06em;text-decoration:none;text-transform:uppercase}
.nav{display:flex;gap:4px;margin-left:auto;flex-wrap:wrap}
.nav a{text-decoration:none;font-size:14px;color:var(--dim);padding:10px 12px;border-radius:999px}
.nav a:hover{color:var(--fg);background:var(--ink)}
.cta{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:0 20px;border-radius:999px;background:var(--signal);color:var(--signal-ink);text-decoration:none;font-weight:600;font-size:15px;border:0;cursor:pointer}
.cta:hover{filter:brightness(1.08)}
.ghost{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:0 20px;border-radius:999px;border:1px solid #343A48;text-decoration:none;font-size:15px;background:transparent;cursor:pointer}
.ghost:hover{border-color:var(--fg)}
@media (max-width:760px){.nav{display:none}.top .cta{margin-left:auto;min-height:40px;padding:0 16px;font-size:14px}}

/* hero */
.hero{position:relative;height:clamp(640px,100svh,1000px);overflow:hidden;isolation:isolate}
#gl{position:absolute;inset:0;width:100%;height:100%;display:block;z-index:-1}
.hero .wrap{position:relative;height:100%;display:grid;grid-template-columns:minmax(0,1fr) min(440px,40%);grid-template-rows:auto 1fr auto;padding-block:88px 40px;gap:24px}
.telemetry{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:8px 24px;color:var(--dim)}
.telemetry b{color:var(--fg);font-weight:500}
.telemetry .hint{margin-left:auto;color:var(--fg)}
@media (hover:none){.telemetry .hint{display:none}}
.dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#3DDC84;margin-right:8px;box-shadow:0 0 10px #3DDC84}
.thesis{grid-column:1;grid-row:3;align-self:end;display:flex;flex-direction:column;gap:28px;max-width:900px;pointer-events:none}
.thesis>*{pointer-events:auto}
h1{margin:0;font-family:var(--f-display);font-weight:200;font-size:clamp(54px,8.4vw,172px);line-height:.84;letter-spacing:-.05em;text-wrap:balance}
h1 .x{color:var(--signal);font-weight:300}
h1 .sw{font-weight:700}
.lede{margin:0;max-width:30ch;font-size:clamp(18px,1.6vw,22px);line-height:1.4;color:#D5D8E0}
.actions{display:flex;flex-wrap:wrap;gap:12px}
.console{grid-column:2;grid-row:3;align-self:end;width:min(440px,100%);background:rgba(8,10,16,.72);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border:1px solid var(--line);border-radius:14px;padding:18px;display:flex;flex-direction:column;gap:14px}
.console .row{display:flex;justify-content:space-between;gap:12px;color:var(--dim)}
.prompt{font-family:var(--f-mono);font-size:14px;line-height:1.55;min-height:4.65em;color:var(--fg)}
.prompt .p{color:var(--signal)}
.caret{display:inline-block;width:.55em;height:1.05em;background:var(--fg);vertical-align:-.15em;margin-left:2px;animation:blink 1s steps(1) infinite}
@keyframes blink{50%{opacity:0}}
.steps{display:grid;grid-template-columns:repeat(30,1fr);gap:3px}
.steps i{height:14px;border-radius:2px;background:#1A1E28;transition:background .15s}
.steps i.on{background:var(--fg)}
.steps i.cur{background:var(--signal)}
.tele2{display:grid;grid-template-columns:repeat(3,auto);justify-content:space-between;gap:6px 14px;color:var(--dim);font-variant-numeric:tabular-nums}
.tele2 b{color:var(--fg);font-weight:500}
.source{color:var(--dim)}
@media (max-width:980px){
  .hero{height:auto;min-height:760px}
  .hero .wrap{grid-template-columns:1fr;grid-template-rows:auto 60vw auto auto}
  .thesis{grid-row:3}
  .console{grid-column:1;grid-row:4;width:100%}
}

/* section shell */
section.sec{padding-block:clamp(88px,12vw,180px)}
.sec-head{display:flex;flex-wrap:wrap;align-items:end;justify-content:space-between;gap:20px 48px;margin-bottom:clamp(36px,5vw,72px)}
.sec-head h2{margin:0;font-family:var(--f-display);font-weight:300;font-size:clamp(40px,6vw,96px);line-height:.92;letter-spacing:-.045em;text-wrap:balance}
.sec-head h2 b{font-weight:700}
.sec-head p{margin:0;max-width:44ch;color:var(--dim);font-size:18px}
.kicker{display:block;color:var(--signal);margin-bottom:18px}

/* software */
.soft{display:grid;grid-template-columns:minmax(260px,380px) minmax(0,1fr);gap:clamp(24px,4vw,64px);align-items:start}
.soft-list{list-style:none;margin:0;padding:0;border-top:1px solid var(--line)}
.soft-list button{width:100%;display:grid;grid-template-columns:36px 1fr;gap:4px 12px;text-align:left;background:none;border:0;border-bottom:1px solid var(--line);padding:14px 0;cursor:pointer;min-height:56px}
.soft-list .n{grid-row:span 2;color:var(--dim);padding-top:4px}
.soft-list .nm{font-family:var(--f-display);font-weight:500;font-size:19px;letter-spacing:-.02em}
.soft-list .lb{color:var(--dim);font-size:14px}
.soft-list button[aria-selected="true"] .nm{color:var(--signal)}
.soft-list button[aria-selected="true"] .n{color:var(--signal)}
.soft-list button:hover .nm{color:var(--fg);text-decoration:underline;text-underline-offset:4px}
.stage{position:relative;perspective:1700px;min-width:0}
.plate{position:relative;border-radius:14px;overflow:hidden;background:var(--ink);border:1px solid var(--line);transform:rotateX(var(--rx,7deg)) rotateY(var(--ry,-12deg));transform-style:preserve-3d;transition:transform .5s cubic-bezier(.2,.7,.2,1);box-shadow:0 60px 140px -40px rgba(255,90,60,.28),0 30px 80px rgba(0,0,0,.6)}
.plate img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;object-position:left top;transition:opacity .45s}
.plate::after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent 35%,rgba(255,255,255,.10) 48%,transparent 60%);background-size:260% 100%;animation:scan 5.5s linear infinite;pointer-events:none}
@keyframes scan{from{background-position:130% 0}to{background-position:-130% 0}}
.trace{position:relative;margin:-64px 0 0 clamp(0px,4vw,56px);width:min(620px,100%);background:rgba(7,8,13,.9);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border:1px solid var(--line);border-radius:12px;padding:16px 18px;font-family:var(--f-mono);font-size:13px;line-height:1.7;min-height:220px;z-index:2}
.trace .hd{display:flex;justify-content:space-between;color:var(--dim);margin-bottom:8px;gap:12px}
.trace ol{margin:0;padding:0;list-style:none}
.trace li{display:grid;grid-template-columns:28px 1fr auto;gap:10px;color:#C9CDD6}
.trace li .k{color:var(--dim)}
.trace li .ok{color:#3DDC84}
.trace li.run .ok{color:var(--signal)}
.soft-meta{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:16px;margin-top:28px}
.soft-meta p{margin:0;max-width:56ch;font-size:18px;color:#D5D8E0}
.soft-meta a{color:var(--fg)}
@media (max-width:900px){
  .soft{grid-template-columns:1fr}
  .trace{margin:-24px 0 0 0;font-size:12px;min-height:200px}
  .soft-list{position:relative;display:flex;gap:8px;overflow-x:auto;border:0;padding-bottom:4px;scroll-snap-type:x mandatory;scrollbar-width:none;margin-inline:calc(var(--gutter) * -1);padding-inline:var(--gutter)}
  .soft-list::-webkit-scrollbar{display:none}
  .soft-list li{flex:none;scroll-snap-align:start}
  .soft-list button{display:flex;align-items:center;gap:8px;width:auto;min-height:44px;padding:0 16px;border:1px solid var(--line);border-radius:999px}
  .soft-list .n{padding:0}
  .soft-list .nm{font-size:15px;white-space:nowrap}
  .soft-list .lb{display:none}
  .soft-list button[aria-selected="true"]{border-color:var(--signal)}
}

/* sites */
.sites-stage{position:relative;border-radius:18px;overflow:hidden;background:#000 url(../img/01-noctiluca.webp) center/cover;aspect-ratio:16/8;max-width:100%}
#sitegl,.sites-stage video{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:cover}
.sites-stage video{opacity:0;transition:opacity .9s}
.sites-stage video.show{opacity:1}
.stage-hud{position:absolute;inset:auto 0 0 0;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:end;gap:16px;padding:clamp(16px,3vw,32px);background:linear-gradient(transparent,rgba(0,0,0,.75));z-index:2}
.stage-hud h3{margin:0;font-family:var(--f-display);font-weight:700;font-size:clamp(34px,5vw,76px);line-height:.9;letter-spacing:-.04em}
.stage-hud p{margin:8px 0 0;max-width:46ch;color:#E3E5EA}
.stage-tag{position:absolute;top:clamp(14px,2.4vw,24px);left:clamp(14px,2.4vw,24px);z-index:2;background:rgba(0,0,0,.55);border:1px solid rgba(255,255,255,.18);border-radius:8px;padding:6px 10px;color:#E3E5EA;font-variant-numeric:tabular-nums}
.site-index{display:flex;flex-wrap:wrap;gap:6px 26px;margin-top:28px}
.site-index button{background:none;border:0;padding:6px 0;cursor:pointer;font-family:var(--f-display);font-weight:300;font-size:clamp(20px,2.4vw,34px);letter-spacing:-.03em;color:#5E6575;min-height:44px}
.site-index button sup{font-family:var(--f-mono);font-size:11px;letter-spacing:0;margin-right:6px;vertical-align:.9em}
.site-index button:hover{color:var(--fg)}
.site-index button[aria-pressed="true"]{color:var(--acc,var(--fg));font-weight:500}
@media (max-width:700px){.sites-stage{aspect-ratio:4/5}}

/* music */
.music{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);gap:clamp(24px,4vw,64px);align-items:center}
.viz{position:relative;aspect-ratio:1;max-width:100%;border-radius:50%}
#viz{width:100%;height:100%;display:block}
.viz .now{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:6px;pointer-events:none}
.viz .now b{font-family:var(--f-display);font-weight:500;font-size:clamp(22px,2.6vw,36px);letter-spacing:-.03em}
.tracks{list-style:none;margin:0;padding:0;border-top:1px solid var(--line)}
.tracks button{width:100%;display:grid;grid-template-columns:56px 1fr auto;gap:16px;align-items:center;background:none;border:0;border-bottom:1px solid var(--line);padding:12px 0;text-align:left;cursor:pointer}
.tracks img{width:56px;height:56px;object-fit:cover;border-radius:6px;display:block}
.tracks .t{font-family:var(--f-display);font-weight:500;font-size:17px;letter-spacing:-.02em}
.tracks .a{color:var(--dim);font-size:14px}
.tracks .st{color:var(--dim)}
.tracks button[aria-pressed="true"] .t,.tracks button[aria-pressed="true"] .st{color:var(--signal)}
.music-ctl{display:flex;gap:12px;align-items:center;margin-top:24px;flex-wrap:wrap}
@media (max-width:900px){.music{grid-template-columns:1fr}}

/* contact */
.contact{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(28px,5vw,80px);align-items:start}
.contact h2{margin:0;font-family:var(--f-display);font-weight:300;font-size:clamp(40px,6vw,96px);line-height:.92;letter-spacing:-.045em}
.contact h2 b{font-weight:700;color:var(--signal)}
.brief{display:flex;flex-direction:column;gap:14px}
.brief label{color:var(--dim)}
.brief textarea{width:100%;min-height:180px;resize:vertical;background:var(--ink);border:1px solid var(--line);border-radius:12px;color:var(--fg);padding:16px;font-family:var(--f-mono);font-size:15px;line-height:1.6}
.brief textarea:focus{outline:2px solid var(--signal);outline-offset:2px}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chips button{background:var(--ink);border:1px solid var(--line);border-radius:999px;padding:8px 14px;min-height:40px;cursor:pointer;font-size:14px}
.chips button:hover{border-color:var(--fg)}
.mail{display:flex;flex-wrap:wrap;gap:10px 16px;align-items:center;color:var(--dim)}
.mail span{color:var(--fg);user-select:all;font-family:var(--f-mono);font-size:15px}
#status{min-height:1.5em;color:#3DDC84}
footer{border-top:1px solid var(--line);padding-block:28px;color:var(--dim)}
footer .wrap{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px}
footer a{color:var(--dim)}
@media (max-width:900px){.contact{grid-template-columns:1fr}}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .plate::after,.caret{animation:none}
  .plate{transition:none}
}

/* ---- HUD skin: monochrome instrument language from the reference board — corner brackets, crosshairs, mono telemetry, one red signal ---- */
:root{--void:#000;--ink:#07080B;--line:#1C1E24;--signal:#FF3B2F;--signal-ink:#120302;--grid:rgba(255,255,255,.035)}
body{background-color:#000;background-image:linear-gradient(var(--grid) 1px,transparent 1px);background-size:100% 96px}
.cta,.ghost{border-radius:2px;font-family:var(--f-mono);font-size:13px;letter-spacing:.06em;text-transform:uppercase}
.cta{box-shadow:0 0 0 1px var(--signal),0 0 24px -6px var(--signal)}
.ghost{border-color:#3A3D46}
.nav a{border-radius:2px;font-family:var(--f-mono);font-size:12px;letter-spacing:.08em;text-transform:uppercase}
.nav a::before{content:"/";color:var(--signal);margin-right:6px}
.brand::before{content:"";display:inline-block;width:8px;height:8px;background:var(--signal);margin-right:10px;vertical-align:1px;box-shadow:0 0 10px var(--signal);animation:blink 2.4s steps(1) infinite}
/* corner brackets for any framed instrument */
.hud{position:relative}
.hud::before,.hud::after{content:"";position:absolute;width:14px;height:14px;pointer-events:none;z-index:3;border:1px solid var(--fg);opacity:.75}
.hud::before{top:6px;left:6px;border-right:0;border-bottom:0}
.hud::after{bottom:6px;right:6px;border-left:0;border-top:0}
.console,.trace,.plate,.sites-stage,.brief textarea,.chips button,.stage-tag{border-radius:2px}
.console{background:rgba(0,0,0,.72);border-color:#24272F}
.console .row,.tele2,.source{text-transform:uppercase;letter-spacing:.08em;font-size:11px}
.steps i{border-radius:0;height:10px}
/* section heads: id rule + coordinate tag */
.kicker{display:flex;align-items:center;gap:12px;text-transform:uppercase;letter-spacing:.12em;font-size:11px}
.kicker::before{content:"[";color:var(--fg)}
.kicker::after{content:"]";color:var(--fg)}
.sec-head{position:relative;padding-top:28px;border-top:1px solid var(--line)}
.sec-head::before{content:"+";position:absolute;top:-11px;left:-6px;font:300 18px var(--f-mono);color:var(--fg)}
.sec-head::after{content:attr(data-coord);position:absolute;top:8px;right:0;font:11px var(--f-mono);letter-spacing:.1em;color:var(--dim)}
.sec-head h2{font-weight:300}
.soft-list button[aria-selected="true"]{background:linear-gradient(90deg,rgba(255,59,47,.08),transparent)}
.soft-list button[aria-selected="true"] .n::before{content:"> ";}
.trace{background:rgba(0,0,0,.9)}
.trace .hd{text-transform:uppercase;letter-spacing:.08em;font-size:11px}
.site-index button{font-family:var(--f-mono);font-weight:400;text-transform:uppercase;letter-spacing:.02em;font-size:clamp(15px,1.5vw,20px)}
.site-index button[aria-pressed="true"]{text-shadow:0 0 18px var(--acc)}
.tracks button[aria-pressed="true"]{background:linear-gradient(90deg,rgba(255,59,47,.08),transparent)}
.chips button{font-family:var(--f-mono);font-size:12px;text-transform:uppercase;letter-spacing:.06em}
footer{font-size:11px;text-transform:uppercase;letter-spacing:.1em}
@media (prefers-reduced-motion:reduce){.brand::before{animation:none}}

.stage-tc{position:absolute;top:clamp(14px,2.4vw,24px);right:clamp(14px,2.4vw,24px);z-index:2;color:#E3E5EA;font-size:12px;letter-spacing:.08em;display:flex;align-items:center;gap:8px;font-variant-numeric:tabular-nums}
.stage-tc i{width:8px;height:8px;border-radius:50%;background:var(--signal);box-shadow:0 0 10px var(--signal);animation:blink 1.2s steps(1) infinite}
.stage-x{position:absolute;left:50%;top:50%;width:28px;height:28px;margin:-14px 0 0 -14px;z-index:2;pointer-events:none;opacity:.6;background:linear-gradient(var(--fg),var(--fg)) center/1px 100% no-repeat,linear-gradient(var(--fg),var(--fg)) center/100% 1px no-repeat}
.brief label{font-size:13px;letter-spacing:.02em;color:var(--fg)}
.brief textarea{background:#000;border-color:#24272F}
.chips button{color:var(--dim)}
.chips button:hover{color:var(--fg)}
.nav .soc{font-size:11px;letter-spacing:.1em}
@media (max-width:900px){.nav .soc{display:none}}
.book{display:flex;flex-direction:column;gap:22px;padding:clamp(20px,3vw,36px);border:1px solid var(--line);background:var(--ink)}
.book p{margin:0;font-size:18px;color:var(--dim);max-width:40ch}
.book .cta{align-self:flex-start}
footer .wrap{flex-wrap:wrap}
/* media: endless stream */
@property --r{syntax:"<length>";inherits:false;initial-value:9px}
/* the waterfall of the live site: seven lanes of cards run upward, each lane at its own speed */
.stream{position:relative;height:clamp(420px,64vh,640px);overflow:hidden;margin-inline:var(--m,16px);display:grid;grid-template-columns:repeat(7,minmax(0,1fr));grid-template-rows:minmax(0,1fr);gap:6px} /* on the grid: same outer margins as .wrap */
.lane{min-width:0;min-height:0;overflow:hidden}
.ltrack{animation:laneflow var(--dur,58s) linear infinite;animation-delay:var(--delay,0s);animation-play-state:paused;will-change:transform}
.stream.live .ltrack{animation-play-state:running}
.lane:nth-child(1) .ltrack{--dur:69s;--delay:-18s}
.lane:nth-child(2) .ltrack{--dur:123s;--delay:-72s}
.lane:nth-child(3) .ltrack{--dur:83s;--delay:-12s}
.lane:nth-child(4) .ltrack{--dur:174s;--delay:-128s}
.lane:nth-child(5) .ltrack{--dur:90s;--delay:-38s}
.lane:nth-child(6) .ltrack{--dur:153s;--delay:-128s}
.lane:nth-child(7) .ltrack{--dur:106s;--delay:-74s}
.lane:nth-child(even) .ltrack{animation-direction:reverse} /* neighbouring lanes run in opposite directions: odd up, even down (owner, 2026-11-24) */
.lgroup{display:flex;flex-direction:column;gap:6px;padding-bottom:6px}
@keyframes laneflow{from{transform:translate3d(0,0,0)}to{transform:translate3d(0,-50%,0)}}
#stream figure{width:100%;height:var(--h);margin:0;flex:0 0 auto}
#stream figure:not(.tile){visibility:hidden;border:1px solid transparent} /* far cards wait without the class «tile», see feed() */
#stream .s-landscape{--h:clamp(128px,17vh,200px)}
#stream .s-square{--h:clamp(160px,23vh,256px)}
#stream .s-portrait{--h:clamp(208px,30vh,336px)}
#stream .s-tall{--h:clamp(256px,37vh,416px)}
#stream .tile img,#stream .tile video{object-fit:cover}
@media (max-width:1100px){.stream{grid-template-columns:repeat(5,minmax(0,1fr))}.lane:nth-child(n+6){display:none}}
@media (max-width:760px){.stream{grid-template-columns:repeat(3,minmax(0,1fr))}.lane:nth-child(n+4){display:none}}
@media (prefers-reduced-motion:reduce){.ltrack{animation:none}}
.tile{position:relative;flex:0 0 auto;min-width:0;height:100%;margin:0;overflow:hidden;background:#000;border:1px solid var(--line)}
.tile img,.tile video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;display:block;filter:saturate(.85) brightness(.85)}
.tile .px{position:absolute;inset:0;--r:9px;
  -webkit-mask:radial-gradient(circle,#000 var(--r),transparent calc(var(--r) + .6px)) 0 0/12px 12px;mask:radial-gradient(circle,#000 var(--r),transparent calc(var(--r) + .6px)) 0 0/12px 12px;
  transition:--r .7s cubic-bezier(.6,0,.4,1)}
.tile.out .px{--r:9px} /* no halftone dissolve on swap */
.tile figcaption{position:absolute;left:8px;right:8px;top:7px;z-index:2;display:flex;white-space:nowrap;overflow:hidden;gap:8px;align-items:center;font:10px var(--f-mono);letter-spacing:.12em;color:#E3E5EA;text-shadow:0 0 6px #000}
.tile figcaption i{width:6px;height:6px;border-radius:50%;background:var(--signal);box-shadow:0 0 8px var(--signal);animation:blink 1.2s steps(1) infinite}
.tile figcaption i[hidden]{display:none}
@media (prefers-reduced-motion:reduce){.tile .px{transition:none}}
.tile.ui img{filter:grayscale(.4) brightness(.45) contrast(1.15)}
.menu-btn{display:none;margin-left:auto;background:none;border:1px solid var(--line);color:var(--fg);min-height:40px;padding:0 14px;border-radius:2px;text-transform:uppercase;letter-spacing:.1em;cursor:pointer}
@media (max-width:760px){
  .menu-btn{display:inline-flex;align-items:center}
  .top .cta{display:none}
  .top.open .nav{display:flex;flex-direction:column;position:absolute;left:0;right:0;top:100%;margin:0;padding:8px var(--gutter) 16px;background:rgba(5,6,10,.97);border-bottom:1px solid var(--line)}
  .top.open .nav a{padding:14px 0;font-size:14px}
  .top.open .nav .soc{display:block}
}
/* ===== cyberspace layer ===== */
body{background-color:#000;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96'%3E%3Cpath d='M48 43v11M42.5 48.5h11' stroke='%23EEF0F4' stroke-opacity='.16' stroke-width='1'/%3E%3C/svg%3E");background-size:96px 96px}
#cyber{position:fixed;inset:0;width:100vw;height:100vh;z-index:0;pointer-events:none}
main,footer{position:relative;z-index:1}
.win{position:relative}
.wbar{display:flex;justify-content:space-between;align-items:center;gap:12px;height:24px;padding:0 9px;font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:#C9CDD6;background:rgba(5,6,10,.92);border:1px solid rgba(238,240,244,.28);pointer-events:none}
.wbar .wc{letter-spacing:.35em;color:var(--dim)}
.win-out>.wbar{position:absolute;left:-1px;right:-1px;bottom:100%}
.win-in>.wbar{position:absolute;left:0;right:0;top:0;z-index:4;border-width:0 0 1px}
.win-out{border-color:rgba(238,240,244,.28)!important;border-radius:0!important}
.win-in{border:1px solid rgba(238,240,244,.28)!important;border-radius:0!important}
#sitesStage .stage-tag,#sitesStage .stage-tc{top:calc(clamp(14px,2.4vw,24px) + 24px)}
.hud.win-in::before{top:30px}
.console{margin-top:24px}
.gfx{position:absolute;inset:0;width:100%;height:100%;z-index:3;pointer-events:none}
.tile .gfx{z-index:1}
.dejavu{position:absolute;margin:0;pointer-events:none;color:#00F0FF!important;mix-blend-mode:screen;opacity:.55;transform:translate(7px,-3px);text-shadow:-3px 0 rgba(255,40,200,.8)}
.dejavu b{color:inherit!important}
.dejavu.again{transform:translate(-5px,2px);color:#FF28C8!important;text-shadow:3px 0 rgba(0,240,255,.8)}
@media (prefers-reduced-motion:reduce){#cyber{display:none}}
/* ===== step 1: interface like the reference panels ===== */
:root{--hatch:repeating-linear-gradient(135deg,rgba(238,240,244,.22) 0 1px,transparent 1px 6px)}
/* buttons: outline; hover = inverse; red only as a tiny signal mark */
.cta{background:transparent!important;color:var(--fg)!important;border:1px solid var(--fg)!important;box-shadow:none!important;font-weight:500}
.cta::before{content:"";width:6px;height:6px;background:var(--signal);flex:none}
.cta:hover{background:var(--fg)!important;color:#000!important;filter:none}
.ghost{border-color:rgba(238,240,244,.35)!important}
.ghost:hover{background:var(--fg)!important;color:#000!important}
/* two-tone labels */
.kicker{display:grid!important;gap:3px;color:var(--fg)}
.kicker::before,.kicker::after{content:none!important}
.kicker b{font-weight:500;color:var(--fg)}
.kicker i{font-style:normal;color:var(--dim)}
/* selection = inverse */
.soft-list button[aria-selected="true"]{background:var(--fg)!important}
.soft-list button[aria-selected="true"] .nm,.soft-list button[aria-selected="true"] .n{color:#000!important}
.soft-list button[aria-selected="true"] .lb{color:#3a3d46}
.soft-list button[aria-selected="true"] .n::before{content:none}
.soft-list button{padding-inline:10px!important}
.soft-list button:hover:not([aria-selected="true"]){background:var(--hatch)}
.site-index button[aria-pressed="true"]{background:var(--fg);color:#000!important;text-shadow:none!important;padding-inline:8px}
.site-index button[aria-pressed="true"] sup{color:#000}
.tracks button{padding-inline:10px!important}
.tracks button[aria-pressed="true"]{background:var(--fg)!important}
.tracks button[aria-pressed="true"] .t,.tracks button[aria-pressed="true"] .st{color:#000!important}
.tracks button[aria-pressed="true"] .a{color:#3a3d46}
.tracks img{border-radius:0}
/* hatching for empty / inactive */
.steps i:not(.on):not(.cur){background:var(--hatch)!important;outline:1px solid rgba(238,240,244,.12);outline-offset:-1px}
.stage-tag{background:#000!important;border-radius:0!important}
/* rulers */
.ruler{position:absolute;left:0;right:0;top:-1px;height:9px;pointer-events:none;
  background:repeating-linear-gradient(90deg,rgba(238,240,244,.35) 0 1px,transparent 1px 64px) 0 0/100% 9px no-repeat,
             repeating-linear-gradient(90deg,rgba(238,240,244,.18) 0 1px,transparent 1px 8px) 0 0/100% 4px no-repeat}
.sec-head{border-top-color:rgba(238,240,244,.3)!important}
/* segmented playback */
.seg{display:flex;align-items:center;gap:12px;margin-top:20px;color:var(--dim);font-variant-numeric:tabular-nums}
.seg .cells{display:grid;grid-template-columns:repeat(48,1fr);gap:2px;flex:1}
.seg .cells i{height:10px;background:var(--hatch);outline:1px solid rgba(238,240,244,.12);outline-offset:-1px}
.seg .cells i.on{background:var(--fg)}
.seg .cells i.cur{background:var(--signal)}
/* ===== step 2: systems network ===== */
.soft{position:relative}
.soft-list{position:relative;z-index:1}
.net{position:relative;display:grid;grid-template-columns:minmax(200px,1fr) minmax(0,2.2fr);gap:clamp(24px,3vw,48px);align-items:start;min-height:560px}
.nmods{padding-top:0;align-self:stretch}
@media (min-width:901px){.nmods .ev{flex:1 1 auto}}
.nmods .node.ev{border-style:dashed}
.mod.ev::before{display:none}
.ev ul{list-style:none;margin:6px 0 0;padding:0;display:grid;gap:10px}
.ev li{display:grid;grid-template-columns:16px 1fr;gap:8px;font:12px/1.5 var(--f-mono);color:#C9CDD6}
.ev li::before{content:"✓";color:var(--fg)}
.nmods .node i{font-size:12px;line-height:1.5;color:#9aa0ad}
.nmods .node::after{content:"";position:absolute;left:12px;right:12px;bottom:10px;height:6px;background:var(--hatch);opacity:.6}
.nmods .node{padding-bottom:26px}
.net .trace{min-height:300px}
.nedges{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible;z-index:0}
.nedges .e{fill:none;stroke:rgba(238,240,244,.22);stroke-width:1}
.nedges .e2{stroke-dasharray:2 4}
.nedges .e.hot{stroke:rgba(160,245,255,.75);filter:drop-shadow(0 0 3px rgba(0,240,255,.8))}
.nedges .pk rect{fill:#fff;filter:drop-shadow(0 0 4px rgba(0,240,255,.95))}
.nedges .pk text{font:9px "Martian Mono",monospace;fill:rgba(200,250,255,.85);letter-spacing:.04em}
.ncore,.nmods,.nview{position:relative;z-index:1;min-width:0}
.nmods{display:flex;flex-direction:column;gap:14px}
.node{position:relative;display:grid;gap:4px;padding:10px 12px;border:1px solid rgba(238,240,244,.28);background:rgba(0,0,0,.82)}
.node span{font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--dim)}
.node b{font-weight:500;font-size:15px;line-height:1.2}
.node i{font-style:normal;font-size:11px;color:var(--dim);line-height:1.35}
.core-node{background:var(--fg);color:#000;border-color:var(--fg)}
.core-node span,.core-node i{color:#3a3d46}
.core-node b{font-family:var(--f-display);font-size:20px;letter-spacing:-.02em}
.mod{opacity:0;transform:translateX(-8px);transition:opacity .35s,transform .35s}
.mod.in{opacity:1;transform:none}
.mod::before{content:"";position:absolute;left:-4px;top:50%;width:7px;height:7px;margin-top:-3.5px;background:#000;border:1px solid rgba(238,240,244,.6)}
.nview{display:flex;flex-direction:column;gap:40px}
.net .stage{perspective:none}
.net .plate{transform:none!important}
.net .trace{margin:0!important;width:100%!important}
@media (max-width:900px){
  .net{grid-template-columns:1fr;min-height:0;gap:16px}
  .nmods{flex-direction:row;flex-wrap:wrap;gap:8px}
  .nmods .node{flex:1 1 140px}
  .nedges{display:none}
}
.net .trace .ok,.net #traceClock{display:none}
.net .trace li{grid-template-columns:28px 1fr!important}
.net .trace{min-height:420px}
/* ===== slide deck: one block = one screen ===== */
html,body{height:100%;overflow:hidden;overscroll-behavior:none}
.deck{position:fixed;inset:0;overflow:clip;z-index:1}
.deck-track{height:100%;will-change:transform;transition:transform 720ms cubic-bezier(.77,0,.175,1)}
.deck-track>section{height:100dvh;overflow-y:auto;overflow-x:hidden;scrollbar-width:none;overscroll-behavior:contain;display:flex;flex-direction:column;padding:84px 0 24px!important;scroll-margin:0}
.deck-track>section::-webkit-scrollbar{display:none}
.deck-track>.hero{height:100dvh!important;padding:0!important;display:block}
section.sec>.wrap{width:100%;flex:1 0 auto;display:flex;flex-direction:column}
#media>.wrap{flex:0 0 auto}
.sec-head{margin-bottom:clamp(14px,2.4vh,28px)!important;padding-top:18px!important;flex:none}
.sec-head h2{font-size:clamp(28px,5.2vh,64px)!important;line-height:1!important}
.deck-foot{margin-top:auto;padding-block:18px 0;border-top:1px solid var(--line)}
#contact>.wrap{flex:1 0 auto;align-content:center}
.deck-index{position:fixed;z-index:30;right:6px;top:50%;transform:translateY(-50%);display:grid;gap:2px}
.deck-index button{width:24px;height:24px;display:grid;place-items:center;background:none;border:0;padding:0;cursor:pointer}
.deck-index i{display:block;width:2px;height:8px;background:rgba(238,240,244,.45);transition:background .18s}
.deck-index button:hover i{background:var(--fg)}
.deck-index button[aria-current="step"] i{position:relative;width:13px;height:13px;background:none}
.deck-index button[aria-current="step"] i::before,.deck-index button[aria-current="step"] i::after{content:"";position:absolute;left:50%;top:50%;width:13px;height:1px;background:var(--signal)}
.deck-index button[aria-current="step"] i::before{transform:translate(-50%,-50%) rotate(45deg)}
.deck-index button[aria-current="step"] i::after{transform:translate(-50%,-50%) rotate(-45deg)}
@media (prefers-reduced-motion:reduce){.deck-track{transition:none}}
/* fit each block into the screen on desktop; smaller screens scroll inside the slide */
@media (min-width:901px) and (min-height:500px){
  section.sec>.wrap{flex:1 1 0;min-height:0}
  .soft{flex:1 1 0;min-height:0;align-items:stretch}
  .soft-list{overflow:auto;scrollbar-width:none;min-height:0}
  .soft-list button{padding-block:9px!important;min-height:0}
  .soft-list .nm{font-size:17px}
  .soft-list .lb{font-size:13px}
  .soft>div:last-child{display:flex;flex-direction:column;min-height:0}
  .net{flex:1 1 0;min-height:0!important;height:100%}
  .nmods{overflow:auto;scrollbar-width:none;min-height:0;max-height:100%;padding:28px 0 0 6px;margin-left:-6px}
  .nmods .node b{font-size:14px}
  .nmods .node i{font-size:11px!important}
  .nview{min-height:0;height:100%;gap:34px!important}
  .net .stage{flex:none}
  .net .plate img{max-height:34vh}
  .net .trace{flex:1 1 0;min-height:0!important;overflow:auto;scrollbar-width:thin}
  .soft-meta{margin-top:12px!important}
  .soft-meta p{display:none}
  .sites-stage{flex:1 1 0;min-height:0;aspect-ratio:auto!important}
  .site-index{margin-top:14px!important;flex:none}
  .site-index button{min-height:34px!important}
  #media .stream{flex:1 1 0;min-height:0}
  .music{flex:1 1 0;min-height:0;align-items:stretch!important}
  .music .viz{height:100%;width:auto;max-width:100%;max-height:100%;margin:auto;justify-self:center}
  .music>div:last-child{display:flex;flex-direction:column;min-height:0}
  .tracks{overflow:auto;scrollbar-width:none;min-height:0}
  .tracks button{padding-block:7px!important}
  .tracks img{width:44px!important;height:44px!important}
  .tracks button{grid-template-columns:44px 1fr auto!important}
}
@media (max-width:760px){.deck-index{right:0}}
#contact>.wrap.contact{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-content:center;align-items:center}
#contact .contact h2{font-size:clamp(40px,9vh,110px)!important;line-height:.95!important}
@media (max-width:900px){#contact>.wrap.contact{grid-template-columns:1fr}}
/* the brief scrolls inside, so its title bar sits inside and sticks */
.net .trace{padding-top:0!important}
.net .trace.win-out>.wbar{position:sticky;top:0;left:auto;right:auto;bottom:auto;z-index:3;margin:0 -18px 14px;border-width:0 0 1px}
/* ===== deck alignment: every column starts and ends on the same lines ===== */
@media (min-width:901px) and (min-height:500px){
  .soft{grid-template-rows:minmax(0,1fr)}
  .soft-list{display:flex;flex-direction:column;height:100%;overflow:hidden}
  .soft-list li{flex:1 1 0;min-height:0;display:flex}
  .soft-list button{flex:1;align-content:center;padding-block:0!important}
  .soft-list .nm{font-size:clamp(14px,1.9vh,18px)!important}
  .soft-list .lb{font-size:clamp(11px,1.45vh,13px)!important}
  .soft>div:last-child{height:100%}
  .net{grid-template-rows:minmax(0,1fr);align-items:stretch!important}
  .nmods{padding:0 0 0 6px!important;height:100%;overflow:hidden!important;gap:10px!important}
  .nmods .node{flex:1 1 0;min-height:0;overflow:hidden;padding:9px 12px 20px!important;align-content:start}
  .nmods .node i{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
  .nmods .node.ev{flex:1.6 1 0}
  .nmods .node.ev ul{gap:6px}
  .nmods .node.ev li{font-size:11px;line-height:1.4}
  .nview{height:100%}
  .soft-meta{display:none!important}
  .net .trace ol{-webkit-mask:linear-gradient(#000 calc(100% - 28px),transparent);mask:linear-gradient(#000 calc(100% - 28px),transparent);padding-bottom:24px}
  .trace .hd #softLink{margin-left:auto;color:var(--fg);font-size:11px;letter-spacing:.08em;text-transform:uppercase}
  .site-index{flex-wrap:nowrap!important;justify-content:space-between;gap:8px!important}
  .site-index button{font-size:clamp(11px,.95vw,17px)!important;white-space:nowrap}
}
/* ===== header hides away from the hero and slides in on hover (like the live site) ===== */
.top,.top .wrap>*{transition:background .26s ease,border-color .26s ease,opacity .26s ease,transform .26s ease}
html.away .top:not(:hover):not(:focus-within){background:transparent;border-color:transparent;backdrop-filter:none;-webkit-backdrop-filter:none}
html.away .top:not(:hover):not(:focus-within) .wrap>*{opacity:0;transform:translateY(-14px);pointer-events:none}
html.away .deck-track>section.sec{padding-top:28px!important}
/* canvases must never size their box: their pixel buffer is devicePixelRatio× bigger */
#viz{position:absolute;inset:0}
.viz{contain:size}
@media (min-width:901px) and (min-height:500px){.music{grid-template-rows:minmax(0,1fr)}.music .viz{aspect-ratio:1;height:100%;width:auto;max-width:100%}}
/* ===== slide switch: render handoff ===== */
.deck-track{transition:none!important}
#tx{position:fixed;inset:0;width:100vw;height:100vh;z-index:10;pointer-events:none;display:none}
@property --f{syntax:"<length>";inherits:false;initial-value:24px}
@property --d{syntax:"<length>";inherits:false;initial-value:7px}
.tx-out{animation:txOut 90ms linear forwards;-webkit-mask:none!important;mask:none!important;-webkit-mask:radial-gradient(circle,#000 var(--d),transparent calc(var(--d) + .6px)) 0 0/10px 10px;mask:radial-gradient(circle,#000 var(--d),transparent calc(var(--d) + .6px)) 0 0/10px 10px}
@keyframes txOut{from{opacity:1}to{opacity:0}}
.tx-in{animation:txIn 300ms cubic-bezier(.3,.6,.3,1) both;-webkit-mask:radial-gradient(circle,#000 var(--d),transparent calc(var(--d) + .6px)) 0 0/10px 10px;mask:radial-gradient(circle,#000 var(--d),transparent calc(var(--d) + .6px)) 0 0/10px 10px}
@keyframes txIn{from{--d:1.5px}to{--d:7.2px}}
/* index rail: a channel selector */
.deck-index{right:14px;gap:0;padding:6px 0}
.deck-index::before{content:"";position:absolute;right:11px;top:18px;bottom:18px;width:1px;background:rgba(238,240,244,.18)}
.deck-index::after{content:"";position:absolute;right:11px;top:18px;width:1px;height:calc((100% - 36px) * var(--p,0));background:var(--fg);box-shadow:0 0 6px rgba(0,240,255,.8);transition:height .5s cubic-bezier(.2,.8,.2,1)}
.deck-index button{position:relative;width:auto;height:30px;display:flex;align-items:center;justify-content:flex-end;gap:8px;padding-right:0}
.deck-index button .n,.deck-index button .l{font:10px var(--f-mono);letter-spacing:.12em;text-transform:uppercase;color:var(--dim);opacity:0;transform:translateX(6px);transition:opacity .2s,transform .2s;white-space:nowrap}
.deck-index button .n{opacity:.7;transform:none}
.deck-index:hover .l,.deck-index button:focus-visible .l{opacity:1;transform:none}
.deck-index button i{position:relative;z-index:1;width:7px!important;height:7px!important;margin-right:8px;background:#000!important;border:1px solid rgba(238,240,244,.5);transform:rotate(45deg)}
.deck-index button i::before,.deck-index button i::after{content:none!important}
.deck-index button:hover i{border-color:var(--fg)}
.deck-index button[aria-current="step"] .n{color:#000;background:var(--fg);padding:2px 4px;opacity:1}
.deck-index button[aria-current="step"] .l{color:var(--fg);opacity:1;transform:none}
.deck-index button[aria-current="step"] i{background:var(--signal)!important;border-color:var(--signal);box-shadow:0 0 8px var(--signal)}
/* at rest only diamonds + current number; labels slide out on hover over a dark plate */
.deck-index button .n{opacity:0}
.deck-index button[aria-current="step"] .l{opacity:0;transform:translateX(6px)}
.deck-index:hover button .n{opacity:.8}
.deck-index:hover button[aria-current="step"] .n{opacity:1}
.deck-index:hover .l{opacity:1!important;transform:none!important}
.deck-index button .n,.deck-index button .l{text-shadow:0 0 6px #000,0 0 10px #000}
.deck-index:hover{background:linear-gradient(90deg,transparent,rgba(0,0,0,.85) 30%)}
.deck-index:not(:hover) button[aria-current="step"] .n{opacity:0}
@media (max-width:760px){.deck-index{right:4px}.deck-index .l,.deck-index .n{display:none}}
/* ===== element entrances ===== */
.pre{opacity:0!important}
.pxl{position:absolute;inset:0;width:100%;height:100%;z-index:3;pointer-events:none;transition:opacity .15s;image-rendering:pixelated}
.tile .pxl{z-index:1}
.grow{animation:wipe 300ms cubic-bezier(.4,0,.2,1) both}
.wipe{animation:wipe 260ms cubic-bezier(.7,0,.2,1) both}
@keyframes wipe{0%{clip-path:inset(0 100% 0 0);box-shadow:inset 2px 0 0 #fff}60%{box-shadow:inset 2px 0 0 #fff}100%{clip-path:inset(0 0 0 0);box-shadow:inset 0 0 0 transparent}}
.iris{animation:iris 420ms cubic-bezier(.6,0,.2,1) both}
@keyframes iris{from{clip-path:circle(0% at 50% 50%)}to{clip-path:circle(72% at 50% 50%)}}
.trace-out{animation:traceOut 300ms steps(8,end) both}
@keyframes traceOut{0%{clip-path:polygon(0 0,0 0,0 0,0 0)}25%{clip-path:polygon(0 0,100% 0,100% 0,0 0)}50%{clip-path:polygon(0 0,100% 0,100% 100%,100% 100%)}100%{clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}}
.wopen{animation:winOpen 300ms cubic-bezier(.7,0,.2,1) both}
@keyframes winOpen{0%{clip-path:inset(0 0 calc(100% - 24px) 0);filter:brightness(1.6)}35%{clip-path:inset(0 0 calc(100% - 24px) 0)}100%{clip-path:inset(0 0 0 0);filter:none}}
.ent{animation-duration:380ms!important}
.ent{animation:entItem 520ms cubic-bezier(.2,.7,.2,1) var(--ed,0ms) both}
@keyframes entItem{0%{opacity:0;box-shadow:inset 0 0 0 999px rgba(238,240,244,.82)}25%{opacity:1;box-shadow:inset 0 0 0 999px rgba(238,240,244,.82)}100%{opacity:1;box-shadow:inset 0 0 0 999px rgba(238,240,244,0)}}
.ruler.draw{animation:rulerDraw 300ms cubic-bezier(.6,0,.2,1) both;transform-origin:0 50%}
@keyframes rulerDraw{from{transform:scaleX(0)}to{transform:scaleX(1)}}
.nedges.late{animation:none}
@keyframes edgesIn{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion:reduce){.ent,.ruler.draw,.nedges.late{animation:none}}
.gencv{position:absolute;inset:0;width:100%;height:100%;z-index:6;pointer-events:none;mix-blend-mode:screen}
.glin{animation:glin 220ms steps(1,end)}
.birthline{position:absolute;height:1px;z-index:7;pointer-events:none;background:#dffcff;box-shadow:0 0 8px rgba(0,240,255,.9),0 0 2px #fff;transform-origin:0 50%;scale:0 1;transition:scale 160ms cubic-bezier(.5,0,.2,1)}
.birthline.on{scale:1 1}
.slidein{clip-path:inset(var(--st,50%) 0 var(--sb,50%) 0)}
@keyframes glin{
  0%{clip-path:inset(0 0 62% 0);transform:translateX(-5px);filter:drop-shadow(3px 0 rgba(255,40,200,.9)) drop-shadow(-3px 0 rgba(0,240,255,.9))}
  20%{clip-path:inset(30% 0 22% 0);transform:translateX(4px);filter:drop-shadow(-3px 0 rgba(255,40,200,.9)) drop-shadow(3px 0 rgba(0,240,255,.9))}
  40%{clip-path:inset(0 0 0 0);transform:translateX(-2px);filter:drop-shadow(2px 0 rgba(0,240,255,.7))}
  60%{clip-path:inset(12% 0 48% 0);transform:translateX(3px)}
  80%,100%{clip-path:inset(0);transform:none;filter:none}}
.genfx{animation:genfx 240ms steps(4,end)}
@keyframes genfx{0%{filter:drop-shadow(-2px 0 rgba(0,240,255,.8)) drop-shadow(2px 0 rgba(255,40,200,.8))}100%{filter:none}}
.nedges .pk.born rect{fill:#dffcff;filter:drop-shadow(0 0 6px rgba(0,240,255,1)) drop-shadow(0 0 2px #fff)}
.mod::before{display:none!important}
.nedges .trail{fill:none;stroke:#bff8ff;stroke-linecap:round;filter:drop-shadow(0 0 3px rgba(0,240,255,.9));pointer-events:none}
/* right column = one window: interface on top, brief below */
.net .nview{border:1px solid rgba(238,240,244,.28);background:rgba(0,0,0,.86);gap:0!important;align-self:stretch}
.nvbar{position:relative;flex:none}
.net .nview .plate{border:0!important;border-bottom:1px solid rgba(238,240,244,.18)!important}
.net .nview .plate>.wbar{display:none}
.net .nview .trace{border:0!important;background:none!important;padding-top:12px!important}
.net .nview .trace>.wbar{display:none}
/* case window geometry: bar 40px, interface fills exactly to the middle, brief below on black */
.net .nview{display:flex!important;flex-direction:column;background:#000!important}
.nvbar{height:40px!important;font-size:11px!important;padding:0 14px!important}
.net .nview .stage{flex:0 0 calc(50% - 40px);min-height:0;overflow:hidden}
.net .nview .plate,.net .nview .plate img{height:100%!important;max-height:none!important}
.net .nview .plate img{object-fit:cover;object-position:left top}
.net .nview .trace{flex:1 1 0;min-height:0!important;overflow:hidden!important;display:flex;flex-direction:column;background:#000!important;padding:16px 18px 18px!important;-webkit-mask:none!important;mask:none!important}
.net .nview .trace ol{-webkit-mask:none!important;mask:none!important;padding-bottom:0!important;flex:1 1 auto;overflow:hidden}
.net .nview .trace li{font-size:13px;line-height:1.6}
.case-cta{align-self:stretch;justify-content:center;margin-top:14px;min-height:52px!important;font-size:14px!important;letter-spacing:.12em!important;text-decoration:none}
.case-cta{background:var(--fg)!important;color:#000!important;font-weight:600!important}
.case-cta:hover{background:#fff!important;box-shadow:0 0 18px rgba(0,240,255,.45)!important}
.nmods .node::after{content:none!important;display:none!important}
.nmods .node{padding-bottom:12px!important}
.plate::after{content:none!important;animation:none!important}
.net .nview .trace li{grid-template-columns:1fr!important;font-family:var(--f-body);font-size:clamp(17px,2.2vh,22px)!important;line-height:1.45!important;color:#E3E5EA;letter-spacing:-.01em}
.net .nview .trace li .k{display:none}
.net .nview .trace .hd{margin-bottom:12px}
/* label band at the bottom of each screen */
.sec-head{border-top:0!important;padding-top:0!important}
.sec-head::before,.sec-head::after{content:none!important}
.secfoot{position:relative;flex:none;display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-top:clamp(12px,2vh,20px);padding-top:14px;border-top:1px solid rgba(238,240,244,.3)}
.secfoot::before{content:"+";position:absolute;top:-11px;left:-6px;font:300 18px var(--f-mono);color:var(--fg)}
.secfoot .kicker{margin:0!important}
.secfoot .coord{font-size:11px;letter-spacing:.1em;color:var(--dim)}
.deck-track>section.sec{padding-bottom:18px!important}
html.away .deck-track>section.sec{padding-top:22px!important}
.footwrap{flex:none!important;width:100%}
/* ===== type system: F for big words, D for the machine ===== */
.mono,.wbar,.kicker,.stage-tag,.stage-tc,.telemetry,.seg,.node span,.coord{font-family:var(--f-mono)!important;font-stretch:100%}
.mono{font-size:11px;letter-spacing:.06em}
/* F · big headlines: tall condensed caps, thin + heavy */
h1{font-weight:200!important;letter-spacing:-.01em!important;text-transform:uppercase;font-size:clamp(80px,13vw,230px)!important;line-height:.8!important}
h1 .sw{font-weight:800}
h1 .x{font-weight:200}
.sec-head h2,.contact h2{font-weight:200!important;letter-spacing:-.005em!important;text-transform:uppercase;font-size:clamp(44px,7.4vh,96px)!important;line-height:.9!important}
.sec-head h2 b,.contact h2 b{font-weight:800!important}
.stage-hud h3{font-weight:800!important;letter-spacing:0!important;text-transform:uppercase;font-size:clamp(56px,8vw,120px)!important;line-height:.85!important}
.viz .now b{font-weight:800!important;letter-spacing:0!important;text-transform:uppercase;font-size:clamp(40px,4.6vw,72px)!important}
.brand{font-family:var(--f-mono)!important;font-weight:600!important;font-size:12px!important;letter-spacing:.12em!important}
/* D · names and interface: Martian Mono, narrow width */
.soft-list .nm,.tracks .t,.node b,.core-node b{font-family:var(--f-name)!important;font-stretch:75%;font-weight:600!important;letter-spacing:-.01em!important}
.soft-list .nm{font-size:clamp(14px,1.9vh,18px)!important}
.tracks .t{font-size:16px!important;text-transform:uppercase}
.node b{font-size:14px!important}
.site-index button{font-family:var(--f-name)!important;font-stretch:75%;font-weight:500!important;letter-spacing:.02em!important}
.cta,.ghost{font-family:var(--f-mono)!important;font-size:12px!important;letter-spacing:.1em!important}
.nmods .node i,.trace .hd,.wbar{font-family:var(--f-mono)!important}
/* E · dot-matrix only for the generated "code" itself; the interface around it stays mono */
#promptText{font-family:"Handjet",var(--f-mono)!important;font-variation-settings:"ELSH" 2,"ELGR" 1;letter-spacing:.05em;font-size:22px;font-weight:500;line-height:1.2}
.console .prompt{line-height:1.3!important}
/* hero light pass */
.deck-track>.hero{padding:0!important}
.hero .wrap{grid-template-rows:minmax(0,1fr) auto auto!important;padding-block:88px 18px!important;row-gap:20px!important}
.hero .thesis{grid-row:1 / span 2!important;align-self:center;margin-top:-3vh}
.hero .console{grid-row:1!important;align-self:end}
.hero .herofoot{grid-column:1/-1;grid-row:3;margin-top:0}
.hero .thesis .kicker{margin-bottom:4px}
.console .row b{color:var(--fg);font-weight:500}
@media (max-width:900px){.hero .console{grid-row:2!important}}
.hero h1 .x{margin-left:-.12em}
.hero .lede{text-shadow:0 0 10px #000,0 0 18px #000,0 0 4px #000}
.tg{position:absolute;margin:0;pointer-events:none;mix-blend-mode:screen;opacity:.75}
.tg *{color:inherit!important}
.tg-c{color:#00F0FF!important}
.tg-m{color:#FF28C8!important}
.tg .x{opacity:0}
/* hero title composed like the live site: huge «AI ×» line, «SOFTWARE» underneath at the same width */
.hero h1{--hd:min(20.5vw,35vh);font-size:var(--hd)!important;line-height:1!important;display:flex;flex-direction:column;width:max-content}
.hero h1 .h1top{display:flex;align-items:center;gap:calc(var(--hd) * .2);height:calc(var(--hd) * .84)}
.hero h1 .ai{font-weight:800;line-height:.84;transform:scaleX(1.42);transform-origin:left center;margin-right:calc(var(--hd) * .3)}
.hero h1 .x{margin-left:0!important;font-family:Arial,sans-serif;font-weight:300;font-size:calc(var(--hd) * .9);line-height:.7}
.hero h1 .sw{display:block;margin-top:calc(var(--hd) * -.04);font-weight:800!important;font-size:calc(var(--hd) * .395);line-height:.85;letter-spacing:.01em;transform:scaleX(1.3);transform-origin:left center}
.hero .thesis{gap:22px!important}
.hero .thesis{gap:44px!important}
.hero .lede{max-width:none}
.hero .lede{font-size:clamp(20px,min(1.9vw,3.4vh),30px)!important;line-height:1.35}
.hero .actions .cta{min-height:58px;padding:0 28px;font-size:14px!important;letter-spacing:.12em!important}
.hero .actions .cta::before{width:8px;height:8px}
/* ===== title: solid letters lit by a restrained neon — chromatic fringe + soft light spill ===== */
.hero h1 .ai-win{position:relative;display:block;transform:scaleX(1.42);transform-origin:left center;margin-right:calc(var(--hd) * .3)}
.hero h1 .ai-win .ai{transform:none!important;margin:0!important;display:block;color:#f4fbff;
  color:transparent;-webkit-text-stroke:2.5px #fff;
  filter:drop-shadow(0 0 2px #fff) drop-shadow(0 0 6px rgba(255,255,255,.9)) drop-shadow(0 0 16px rgba(255,255,255,.5)) drop-shadow(0 0 34px rgba(255,255,255,.25))} /* the × neon tube, in white */
.hero h1 .ai-win .ai.flick{opacity:.5;filter:none}
.hero h1 .x{color:#ffd2cc;-webkit-text-stroke:calc(var(--hd) * .035) #ffd2cc;filter:drop-shadow(0 0 2px #ff3b2f) drop-shadow(0 0 6px rgba(255,59,47,.95)) drop-shadow(0 0 16px rgba(255,59,47,.6)) drop-shadow(0 0 34px rgba(255,40,30,.35))} /* filled neon tube: pale hot core, red glow */
.hero .thesis{position:relative}
.hero .thesis::before{display:none;content:"";position:absolute;left:-6%;top:-10%;width:70%;height:70%;z-index:-1;pointer-events:none;
  background:radial-gradient(ellipse at 30% 45%,rgba(0,200,255,.10),rgba(255,40,200,.04) 45%,transparent 70%);filter:blur(30px)}
.hero h1 .sw{color:#000!important;-webkit-text-stroke:1px #fff;paint-order:stroke fill;text-transform:none;filter:none}
.tg .ai-win .ai{color:inherit!important;text-shadow:none!important}
.tg .sw{-webkit-text-stroke:0!important;background:none!important;color:inherit!important}
.tg .x{text-shadow:none}
.tg .sw,.tg .ai-win .ai{filter:none!important}
.hero h1.tg .sw,.hero h1.tg .ai-win .ai{color:inherit!important;-webkit-text-stroke:0!important;filter:none!important}
.tg2{position:absolute;margin:0;pointer-events:none;background:#000}
@font-face{font-family:"Title Clean";font-weight:800;src:url(data:font/woff2;base64,d09GMgABAAAAAAUoABAAAAAACoQAAATOAAQZ2wAAAAAAAAAAAAAAAAAAAAAAAAAAGhYbglYcMAZgP1NUQVREAFwRCAqGeIVWATYCJAMoCxYABCAFhHQHIAwHG7YICB6FTdktFlFPnvwJqjLbjbOI/34vbs/7P6UWFTCiV91Vda3qKJSMREZiHKiMR+GuwddlX68xeN2ZTdyTeEUOiM5KOkG67RXkF3RuoSdKIxfIGIpMxcv8xDHTrYGHkcKtA55IRFJUUTXIBjTcDTAixF/sLZL4Hf8thleN+HQzfneCcUATMSKCUQc6Yy8MHK5D4bNJmRgKX7nlBApxUBTkpT+TgApB9EYMa0bNIhqmEQ2/0fwAh5/YA5UhpW8u1K5fBXVNlVEDagnO8vvcQHVv1nqVPXB9cbUMDImORx/DNaurRJomUrMVrHp704EYMqA3aJZ2VBqcZ97UbOKwrzFiaHbvUIW+YEJEp9EPf3cZT2sJroRXFpQ295HZavC0Q8YEuE6HyUO0TX1w+vjzbtwHHOMsYzf3v1t0/9IcEMhJWwHYxooY1jCPwT7mfTAkE/D8jTtGRERvGoEMs9WATrTkAAIaOsxjBfM4V8CkYc2gswYaYhQdYxFnDVCDxj5zHdfFOl+n6kQdQ9aGTtHUT46CeTBOTgF5BoD+FpujKR5bpuWSqNGUqToW9hYWF68vcW4QhCVF9nWFayl1TAaqoy9vNGy/U0m33irXCYsJP0vIWQL8oBRjtDwiNAMEABetX3yHkFl3k5zb8OOWYcl1JeIaXXxFcRUX3wYsnQvNE7HiB7Ua7YdnXaLdaO/UmyfLVW09WI/eT2Ydami4ZJLc7Vqqa2hdX7LjkDNyjzTzYAP92atH3bo1gIcuJmSSEm5yqmJHC26X88zbbt+uEHbcrTIaDFyXzfljymxTyt68u5Ru3FmuW5sfrOby6irnT5TU86k0b2JJ3Twuq5YKpk8uH66iiz5JO/uo+7dh+ij7j9XuQJtRcYJIKyOA0XRg51aaMFagW/ccUJewmrZ3jSDqBWHN/6LaQhrKsvGXd3ri0bfxGqHT6Y3H30a3OZIN8rs96Z7foH7d7k+61W338Fq/zeYf3NDgIUFaUjefT6sb6f+s+5tI1eF6Df51aMOng4t87+EtK03DRHWAzWuj7LK8vHRa3YqmTl2fly3GiLh5d9wYq96jtOTQIFvTVtV2pLYoIlaM7zWul5TRNMfY+yYsoWJheOrS4UQVKvT9+DIihXbkn+BDVGrAmxWj2DEapo16gLvZt6K0tm0e56Pq9p5+qgH1mTrsaMVoe/3/teogn1dXGZmgVclUqrw5akUvZtT23vVvcl4WIOhXHs563ei1s073X1Us+w7+TH07Gzj5mTVAoVmZdYBBDYS3rW5PIQB7gCgdMxo7OuQAkA9olDQauUGR123lYP5c5GcqNM3zLynPjFDG2TbmEKz0anAEqLBxxRFsM+k/tvMgisYexQ5YjQUz6FzkFALjOcWxKszmGlbEeG49noPRPHNeUsokGWFBIbJqbbXWRhdfTWcA+n3jJAVAqds5xy0hq9poGUkRft72I/uoJQtJysCkjftdJ0vJ6qqVVoLC2fpaHi15JcW1EuPHpf72g5NqpbQaG96ikyYz8g0wkZwB3NyVBRJ8/Ei3nw8T9/WBMfFYvi6oVoxbRnsttVn9oG6GG6fbeEJf6JfzSbWQG9YlDbdqqHbqPQbAKDi3ctD6IWRuMWFeYyXFMy2rxKxUW/G/yP9yxC0D) format("woff2")}
.hero h1 .ai-win .ai{font-family:"Title Clean",var(--f-display)!important;font-weight:800!important}
/* SOFTWARE in the prompt's dot-matrix face (Handjet), sized to the width of the «AI ×» line */
.hero h1 .sw{font-family:"Handjet",var(--f-mono)!important;font-variation-settings:"ELSH" 2,"ELGR" 1;font-weight:600!important;font-size:calc(var(--hd) * .5);letter-spacing:.02em;transform:none}
/* ===== base grid: one frame and one 12-column grid for every screen ===== */
:root{
  --m:clamp(16px,3.33vw,64px);   /* outer margin */
  --g:24px;                      /* column gutter */
  --sp1:4px;--sp2:8px;--sp3:16px;--sp4:24px;--sp5:32px;--sp6:48px;--sp7:64px;--sp8:96px;
  --hdr:64px;                    /* header band */
  --frame-t:24px;                /* top line of a screen when the header is tucked away */
  --frame-b:16px;                /* padding under the label band */
  --foot:52px;                   /* label band at the bottom of every screen */
  --row:clamp(16px,2.4vh,24px);  /* gap between frame rows: title → content → band */
  --cb:calc(var(--frame-b) + var(--foot) + var(--row)); /* content bottom line, from the bottom edge */
  --bar:40px;                    /* window title bar */
  --t-h2:clamp(44px,7.4vh,96px); /* section title */
  --t-display:clamp(56px,11vh,120px); /* big words inside a screen: site name, contact */
  --t-lede:clamp(20px,min(1.9vw,3.4vh),30px);
  --t-desc:clamp(16px,2.2vh,20px); /* descriptions inside windows */
  --t-body:16px;
  --t-mono:11px;
}
.wrap{max-width:none!important;padding-inline:var(--m)!important}
.deck-track>section.sec{padding-bottom:var(--frame-b)!important}
html.away .deck-track>section.sec{padding-top:var(--frame-t)!important}
.sec-head{margin-bottom:var(--row)!important}
.sec-head h2{font-size:var(--t-h2)!important}
.secfoot{margin-top:var(--row)!important;height:var(--foot)}
#media .secfoot{margin-top:0!important} /* the stream runs down to the band's ruler */
#media .sec-head{margin-bottom:0!important} /* and starts right under the title */
#contact .contact h2,.stage-hud h3{font-size:var(--t-display)!important}
.hero .lede{font-size:var(--t-lede)!important}
.stage-hud p,.book p,.net .nview .trace li{font-size:var(--t-desc)!important}
.mono,.wbar,.nvbar,.kicker,.stage-tag,.stage-tc,.coord,.node span,.trace .hd,.console .row,.tele2,.source{font-size:var(--t-mono)!important}
/* one window bar */
.wbar,.nvbar{height:var(--bar)!important;padding:0 14px!important}
#sitesStage .stage-tag,#sitesStage .stage-tc{top:calc(clamp(14px,2.4vw,24px) + var(--bar))}
.hud.win-in::before{top:calc(var(--bar) + 6px)}
.net .nview .stage{flex:0 0 calc(50% - var(--bar))!important}
/* one inner inset for every window */
:root{--inset:24px}
.stage-hud{padding:var(--inset)!important}
#sitesStage .stage-tag{top:calc(var(--bar) + var(--inset));left:var(--inset)}
#sitesStage .stage-tc{top:calc(var(--bar) + var(--inset));right:var(--inset)}
.book{padding:var(--inset)!important}
.hero .console{padding:var(--inset)!important}
.net .nview .trace{padding:var(--inset)!important}
.net .nview .nvbar{padding:0 var(--inset)!important}
@media (min-width:981px){
  /* one row standing on the label-band line of the other screens; text and console share the bottom line (button = console) */
  .hero .wrap{grid-template-columns:repeat(12,minmax(0,1fr))!important;column-gap:var(--g)!important;grid-template-rows:auto!important;align-content:end!important;padding-block:calc(var(--hdr) + var(--row)) var(--frame-b)!important} /* same bottom edge as the label band on every other screen */
  .hero .thesis{grid-column:1/8!important;grid-row:1!important;align-self:end!important;margin-top:0!important}
  .hero .console{grid-column:9/13!important;grid-row:1!important;align-self:end!important;width:100%!important;margin-top:0!important}
}
.hero .console .source{display:none!important} /* the film line is not needed */
/* the console is a quiet caption to the film, not a second focal point */
@media (min-width:981px){.hero .console{grid-column:10/13!important}}
@media (min-width:981px) and (max-width:1679px){.hero .console{grid-column:9/13!important}}   /* the longest prompt must fit two lines */
@media (min-width:981px) and (max-width:1279px){.hero .console{grid-column:8/13!important}}
.hero .console{padding:16px!important;gap:10px!important;background:rgba(0,0,0,.4)!important;border-color:rgba(238,240,244,.13)!important;backdrop-filter:none;-webkit-backdrop-filter:none}
.hero .console.hud::before,.hero .console.hud::after{opacity:.35}
.hero .console .row,.hero .console .tele2{font-size:10px!important}
.hero .console .prompt{font-size:11px!important;min-height:0!important}
.hero #promptText{font-size:15px!important;line-height:20px!important} /* the dotted Handjet look of the prompt (ELSH 2, ELGR 1, weight 500 from the base rule) */
.hero .console .prompt{line-height:20px!important;height:40px;overflow:hidden} /* always two lines: the console never changes height while the prompt types */
.hero .console .steps{gap:2px}
.hero .console .steps i{height:5px!important}
@media (min-width:901px){
  .soft{grid-template-columns:repeat(12,minmax(0,1fr))!important;gap:0 var(--g)!important}
  .soft-list{grid-column:1/4}
  .soft>div:last-child{grid-column:4/13;min-width:0}
  .net{grid-template-columns:repeat(9,minmax(0,1fr))!important;gap:0 var(--g)!important}
  .nmods{grid-column:1/4}
  .nview{grid-column:4/10}
  #contact>.wrap.contact{grid-template-columns:repeat(12,minmax(0,1fr))!important;gap:0 var(--g)!important}
  #contact>.wrap.contact{align-items:start!important}  /* tops on one line, the pair stays centred */
  #contact>.wrap.contact>div:first-child{grid-column:1/7}
  #contact .book{grid-column:7/13;margin-top:var(--bar)} /* its title bar hangs above the box: start the bar on the kicker line */
}
@media (min-width:901px) and (min-height:500px){
  .music{grid-template-columns:repeat(12,minmax(0,1fr))!important;gap:0 var(--g)!important}
  .music .viz{grid-column:1/7;justify-self:start!important;margin:0!important}
  .music>div:last-child{grid-column:7/13}
  /* tracks share the column height like the projects list, so the player closes the column without a hole */
  .tracks{display:flex;flex-direction:column;flex:1 1 0;min-height:0;overflow:hidden!important}
  .tracks li{flex:1 1 0;min-height:0;display:flex}
  .tracks button{flex:1;padding-block:0!important}
  .music .seg{margin-top:var(--row)}
  .music-ctl{margin-top:var(--row)!important}
}
/* low screens: module cards keep number + title, the description would be cut mid-line */
@media (max-height:760px) and (min-width:901px){.nmods .node i{display:none!important}}
/* sites: a strip with a preview of every site under the stage */
#sites .site-index{display:grid!important;grid-template-columns:repeat(10,minmax(0,1fr));gap:var(--g,24px) 10px!important;justify-content:stretch!important;margin-top:14px!important;flex:none}
#sites .site-index button{display:flex!important;flex-direction:column;gap:6px;align-items:stretch;min-height:0!important;padding:0!important;background:none!important;color:var(--dim)!important;text-align:left;white-space:nowrap;cursor:pointer}
#sites .site-index .sx-img{position:relative;display:block;aspect-ratio:16/10;overflow:hidden;border:1px solid rgba(238,240,244,.18);background:#000}
#sites .site-index .sx-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:grayscale(.6) brightness(.55);transition:filter .25s}
#sites .site-index .sx-lb{font:11px var(--f-mono)!important;letter-spacing:.06em!important;text-transform:uppercase;overflow:hidden;text-overflow:ellipsis}
#sites .site-index .sx-lb sup{font-size:10px;vertical-align:0;margin-right:6px;color:var(--dim)}
#sites .site-index button:hover .sx-img img{filter:none}
#sites .site-index button:hover{color:var(--fg)!important}
#sites .site-index button[aria-pressed="true"]{color:var(--fg)!important}
#sites .site-index button[aria-pressed="true"] .sx-img{border-color:var(--fg);box-shadow:0 0 0 1px var(--fg)}
#sites .site-index button[aria-pressed="true"] .sx-img img{filter:none}
#sites .site-index button[aria-pressed="true"] .sx-lb sup{color:var(--signal)}
@media (max-width:900px){#sites .site-index{display:flex!important;overflow-x:auto;scrollbar-width:none;gap:10px!important}#sites .site-index button{flex:0 0 140px}}
/* grid overlay, toggled with G */
.gridov{position:fixed;inset:0;z-index:60;pointer-events:none}
.gridov .gcols{position:absolute;inset:0;padding-inline:var(--m);display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--g)}
.gridov .gcols i{background:rgba(255,59,47,.07);border-inline:1px solid rgba(255,59,47,.3)}
.gridov .gl{position:absolute;left:0;right:0;height:0;border-top:1px dashed rgba(0,240,255,.7)}
.gridov .gl::after{content:attr(data-l);position:absolute;right:calc(var(--m) + 4px);top:3px;font:10px var(--f-mono);letter-spacing:.08em;text-transform:uppercase;color:rgba(0,240,255,.95)}
/* ===== 2026-11-24: low screens and phones ===== */
/* low screens: a track is one line — title, then artist; the cover shrinks with the row, so rows no longer run into each other */
@media (min-width:901px) and (min-height:500px) and (max-height:680px){
  .tracks button{grid-template-columns:28px 1fr auto!important;gap:12px!important}
  .tracks img{width:28px!important;height:28px!important}
  .tracks button>span:nth-child(2){display:flex;align-items:baseline;gap:12px;min-width:0;white-space:nowrap;overflow:hidden}
  .tracks button>span:nth-child(2) br{display:none}
  .tracks .t{font-size:14px!important;flex:none}
  .tracks .a{font-size:11px;overflow:hidden;text-overflow:ellipsis}
}
/* low screens: project rows keep name + caption, with tighter leading so the caption stays inside its row */
@media (min-width:901px) and (min-height:500px) and (max-height:640px){
  .soft-list button{gap:1px 12px!important}
  .soft-list .nm{line-height:1.15}
  .soft-list .lb{line-height:1.2}
}
/* phones: the film stands above and the title below it, larger — they no longer overlap (the film's place is set in layout()) */
@media (max-width:900px){
  .hero h1{--hd:min(40vw,16vh)}
  .hero .thesis{grid-row:1!important;align-self:end!important;margin-top:0!important;gap:20px!important}
  .hero .console{grid-row:2!important;margin-top:0!important}
  /* phones: the site name fits its window; a two-word name wraps on the space */
  .stage-hud h3{font-size:clamp(34px,13vw,64px)!important}
  .hero .lede br{display:none} /* the lede wraps by the screen width, not at the desktop line break */
}
@media (max-width:900px) and (max-height:780px){.hero .console{display:none!important}} /* short phones: no room for the caption under the title */
/* phones: content keeps clear of the screen rail on the right edge */
@media (max-width:760px){
  .deck .wrap{padding-right:30px!important}
  #media .stream{margin-right:30px}
  #sitesStage .stage-tag{left:12px}  /* the step tag and the timecode share one narrow line: move them apart */
  #sitesStage .stage-tc{right:12px}
  #sitesStage .stage-tag,#sitesStage .stage-tc{font-size:10px!important;letter-spacing:.04em}
}
/* ===== contact: the closing poster — the phrase stands at hero scale on the bottom line, the uplink window lists every channel ===== */
#contact .book{gap:20px}
#contact .book p{max-width:none;color:#E3E5EA}
#contact .book>.cta{align-self:stretch!important;justify-content:center;min-height:58px;background:var(--fg)!important;color:#000!important;font-weight:600!important;font-size:14px!important;letter-spacing:.12em!important}
#contact .book>.cta:hover{background:#fff!important;box-shadow:0 0 18px rgba(0,240,255,.45)!important}
.chan{list-style:none;margin:0;padding:0;border-top:1px solid rgba(238,240,244,.18)}
.chan li{display:grid;grid-template-columns:96px minmax(0,1fr) auto;align-items:center;gap:12px;min-height:52px;border-bottom:1px solid rgba(238,240,244,.18)}
.chan li>span{color:var(--dim);text-transform:uppercase;letter-spacing:.1em;font-size:var(--t-mono)}
.chan li>b{font-family:var(--f-name);font-stretch:75%;font-weight:600;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;user-select:all}
.chan .ghost{min-height:34px;padding:0 12px;font-size:11px!important;white-space:nowrap}
@media (min-width:901px){
  #contact>.wrap.contact{align-content:end!important;align-items:end!important}
  #contact>.wrap.contact>div:first-child{grid-column:1/8}
  #contact .book{grid-column:8/13;margin-top:0}
  #contact .contact h2{font-size:clamp(72px,min(24vh,13vw),300px)!important;line-height:.82!important}
}
@media (min-width:901px) and (max-height:640px){
  #contact .book{gap:12px;padding:16px!important}
  #contact .book>.cta{min-height:46px}
  .chan li{min-height:40px}
}
@media (max-width:900px){
  .chan li{grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;padding-block:10px}
  .chan li>span{grid-column:1;grid-row:1}
  .chan li>.ghost{grid-column:2;grid-row:1}
  .chan li>b{grid-column:1/-1;grid-row:2;overflow:visible;text-overflow:clip} /* the address is never cut */
}
/* ===== 2026-11-24: music — every track at full length, grouped by mood ===== */
/* 2026-11-24: ten tags instead of mood tabs; the list below shows the songs of the chosen tag */
.tags{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 22px;flex:none;padding-bottom:10px;margin-bottom:12px;border-bottom:1px solid var(--line)}
.tags button{background:none;border:0;padding:1px 6px;margin:0 -6px;color:var(--dim);font-family:var(--f-display);font-stretch:100%;font-weight:800;font-size:clamp(26px,2.7vw,44px);line-height:1.02;text-transform:uppercase;letter-spacing:-.005em;cursor:pointer;outline:1px solid transparent;outline-offset:-1px;transition:color .15s,outline-color .15s}
.tags button sup{font-family:var(--f-mono);font-stretch:100%;font-weight:400;font-size:11px;letter-spacing:.04em;margin-left:5px;vertical-align:top;position:relative;top:.3em;opacity:.85}
.tags button:hover{color:var(--fg)}
.tags button.on{color:var(--signal)}
.tags button[aria-pressed="true"]{outline-color:var(--signal);color:var(--signal)}
.tlist-h{display:flex;justify-content:space-between;gap:12px;flex:none;color:var(--dim);font-size:var(--t-mono);text-transform:uppercase;letter-spacing:.06em;margin-bottom:6px}
.tlist-h span:last-child{opacity:.6}
/* owner 2026-11-24: «рамка визуализации вообще не нужна. правую часть можно расширить по горизонтали» */
#music .viz.hud::before,#music .viz.hud::after{content:none}
/* owner 2026-11-24: «эти красные квадраты нахуй не нужны. покрась красным лучше иконки» — player buttons: no square, the glyph is red */
#music .music-ctl .cta::before{content:none}
#music .music-ctl .cta i{font-style:normal;color:var(--signal)}
/* owner 2026-11-24: «почему ты не сделал нормальные кнопки иконками возле таймлайна?» — icon transport in one row with the timeline */
#music .prow{display:flex;align-items:center;gap:16px;flex:none;margin-top:var(--row)}
#music .prow .seg{flex:1 1 auto;min-width:0;margin-top:0!important}
#music .pctl{display:flex;align-items:center;gap:6px;flex:none}
#music .pbtn{display:inline-grid;place-items:center;width:36px;height:36px;padding:0;background:none;border:1px solid rgba(238,240,244,.28);color:var(--fg);cursor:pointer;transition:background .15s,color .15s,border-color .15s}
#music .pbtn svg{width:14px;height:14px;fill:currentColor;display:block}
#music .pbtn:hover{background:var(--fg);color:#000;border-color:var(--fg)}
#music .pbtn.main{width:44px;height:44px;border-color:var(--fg);color:var(--signal)}
#music .pbtn.main svg{width:16px;height:16px}
/* owner 2026-11-24: «нахуя им обводка?» — bare icons, a faint plate on hover */
#music .pbtn,#music .pbtn.main{border:0}
#music .pbtn:hover{background:rgba(238,240,244,.1);color:var(--fg)}
#music .pbtn.main:hover{color:var(--signal)}
/* owner 2026-11-24: «нормально в 2 ряда эту хуйню сделать как у всех» — controls centred on top, the timeline under them with the time at both ends */
#music .prow{flex-direction:column;align-items:stretch;gap:8px}
#music .prow .pctl{justify-content:center;gap:10px}
/* owner 2026-11-24: «кнопки не по центру» — play sits exactly under the ring centre: equal side columns, shuffle on the right after next */
#music .prow .pctl{display:grid;grid-template-columns:1fr auto auto auto 1fr;align-items:center;gap:10px}
#music #seedBtn{grid-column:5;justify-self:start} /* owner: «и какого хуя ⤮ слева» — shuffle on the right, after next */#music #prevBtn{grid-column:2}#music #playBtn{grid-column:3}#music #nextBtn{grid-column:4}#music .pctl>.pbtn{grid-row:1}
#music #seedBtn{position:relative}
#music #seedBtn.on,#music #seedBtn.on:hover{color:var(--signal)}
#music #seedBtn.on::after{content:"";position:absolute;left:50%;bottom:4px;width:4px;height:4px;margin-left:-2px;background:var(--signal)}
#music .prow .seg{flex:none;gap:12px}
#music #segC,#music #segT{flex:none;min-width:5ch}
#music #segT{text-align:right}
@media (min-width:901px) and (min-height:500px){#music .music .viz{justify-self:center!important}}
#music #musicNote:empty{display:none}
@media (max-width:600px){#music .prow{flex-wrap:wrap;gap:10px}#music .prow .seg{flex-basis:100%}}
/* owner 2026-11-24: «и кинь это под визуализацию а остальное по высоте увеличь нормально» — the player row sits under the ring,
   tags + songs take the whole height of the right side */
@media (min-width:901px) and (min-height:500px){
  #music .music{grid-template-rows:minmax(0,1fr) auto!important;row-gap:var(--row)!important}
  #music .music .viz{grid-row:1}
  #music .music>.prow{grid-column:1/6;grid-row:2;margin-top:0}
  #music .music>div:last-child{grid-row:1/3}
  #music #tracks li{max-height:none} /* the songs fill the column down to the player line */
}
@media (min-width:901px) and (min-height:500px){#music .music .viz{grid-column:1/6}#music .music>div:last-child{grid-column:6/13}}
@media (max-width:600px){.tlist-h span:last-child{display:none}}
#tracks li{max-height:64px}
#tracks button{grid-template-columns:30px minmax(0,1fr) auto!important;gap:12px!important}
#tracks button>span:nth-child(2){display:block!important;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#tracks .d{color:var(--dim);font-variant-numeric:tabular-nums}
#tracks button[aria-pressed="true"] .d{color:#000!important}
.music .seg .cells{cursor:pointer}
#music .viz{container-type:size}
#vizTitle{display:block;max-width:58cqw;line-height:.92!important;text-wrap:balance}
#vizTitle[data-len="s"]{font-size:clamp(28px,11cqw,84px)!important}
#vizTitle[data-len="m"]{font-size:clamp(24px,8.4cqw,64px)!important}
#vizTitle[data-len="l"]{font-size:clamp(20px,6.6cqw,52px)!important}
@media (min-width:901px) and (max-height:680px){.tags button{font-size:clamp(22px,2.3vw,34px)}}
@media (max-width:1180px){
  .moods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .moods button:nth-child(2n){border-right:0}
  .moods button:nth-child(-n+2){border-bottom:1px solid rgba(238,240,244,.18)}
}
@media (max-width:900px){
  .moods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .moods button:nth-child(2n){border-right:0}
  .moods button:nth-child(-n+2){border-bottom:1px solid rgba(238,240,244,.18)}
  #tracks li{max-height:none}
  #tracks button>span:nth-child(2){white-space:normal;overflow:visible;text-overflow:clip;line-height:1.08}
}

/* ===== ABOUT (сессия «Обо мне», 2026-11-24): концепт B — портрет точками в окне слева, справа роль и шкала лет ===== */
#about .about{flex:1 1 auto;min-height:0;display:grid;gap:var(--sp5) var(--g);align-items:stretch}
#about .about-win{position:relative;display:flex;flex-direction:column;min-height:0;border:1px solid rgba(238,240,244,.28);background:#000}
#about .about-win>.wbar{position:relative;flex:none;border-width:0 0 1px}
#about .about-pic{position:relative;flex:1 1 auto;min-height:0;margin:0;overflow:hidden}
#about .about-pic img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 22%;display:block}
#about .about-pic::before,#about .about-pic::after{content:"";position:absolute;z-index:1;width:22px;height:22px;border:1px solid rgba(238,240,244,.75);pointer-events:none}
#about .about-pic::before{top:var(--sp3);left:var(--sp3);border-right:0;border-bottom:0}
#about .about-pic::after{bottom:var(--sp3);right:var(--sp3);border-left:0;border-top:0}
#about .about-copy{display:flex;flex-direction:column;justify-content:center;min-height:0}
#about .about-role{margin:0 0 var(--sp4);font-family:var(--f-display);font-weight:200;text-transform:uppercase;letter-spacing:-.005em;font-size:clamp(56px,min(13vh,7.4vw),170px);line-height:.84;text-wrap:balance}
#about .about-role b{font-weight:800}
#about .about-lede{margin:0;font-size:var(--t-lede);line-height:1.32;color:#C9CDD6;max-width:44ch;text-wrap:pretty}
#about .about-yrs{position:relative;list-style:none;margin:var(--sp6) 0 0;padding:var(--sp4) 0 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 var(--g)}
#about .about-yrs::before{content:"";position:absolute;left:0;right:0;top:0;height:9px;border-top:1px solid rgba(238,240,244,.45);
  background:repeating-linear-gradient(90deg,rgba(238,240,244,.35) 0 1px,transparent 1px 64px) 0 0/100% 9px no-repeat,repeating-linear-gradient(90deg,rgba(238,240,244,.18) 0 1px,transparent 1px 8px) 0 0/100% 4px no-repeat}
#about .about-yrs li{position:relative;display:grid;gap:10px;align-content:start}
#about .about-yrs li::before{content:"";position:absolute;left:0;top:calc(-1 * var(--sp4) - 8px);width:3px;height:24px;background:var(--fg)}
#about .about-yrs b{font-family:var(--f-display);font-weight:800;font-size:clamp(72px,min(14vh,7.6vw),164px);line-height:.8;letter-spacing:-.01em}
#about .about-yrs b em{font-style:normal;font-weight:200;font-size:.42em;letter-spacing:0;margin-left:.18em;text-transform:uppercase} /* owner: «года/лет» next to the number */
#about .about-yrs span{font-size:var(--t-lede);line-height:1.25;color:#E3E5EA;max-width:14ch}
@media (min-width:901px){
  #about .about{grid-template-columns:repeat(12,minmax(0,1fr));grid-template-rows:minmax(0,1fr)}
  #about .about-win{grid-column:1/6}
  #about .about-copy{grid-column:7/13}
}
@media (min-width:901px) and (max-width:1279px){#about .about-copy{grid-column:6/13}}
@media (min-width:901px) and (max-height:760px){#about .about-yrs{margin-top:var(--sp5)}#about .about-role{margin-bottom:var(--sp3)}}
@media (min-width:901px) and (max-height:600px){#about .about-yrs{margin-top:var(--sp4)}#about .about-yrs span{font-size:18px}}
@media (max-width:900px){
  #about .about{grid-template-columns:1fr;gap:var(--sp5)}
  #about .about-win{height:min(70vh,560px)}
  #about .about-role{font-size:clamp(44px,13vw,72px)}
  #about .about-yrs b{font-size:clamp(52px,16vw,80px)}
  #about .about-yrs span{font-size:17px}
}
/* ===== /ABOUT ===== */

/* ===== case pages: the same frame, windows and type as the home deck ===== */
.case .c-win{position:relative;display:flex;flex-direction:column;min-width:0;min-height:0;border:1px solid rgba(238,240,244,.28);background:#000;color:inherit;text-decoration:none}
.case .c-win>.wbar{position:relative;flex:none;border-width:0 0 1px}
.case .c-win .shot{position:relative;flex:1 1 0;min-height:0;overflow:hidden;background:#000}
.case .c-win .shot img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:left top;display:block}
.case .c-win .txt{flex:none;padding:var(--inset);display:flex;flex-direction:column;gap:12px;min-height:0}
.case .c-win .txt p{margin:0;font-size:var(--t-desc);line-height:1.45;color:#E3E5EA}
.case .c-win .txt h3{margin:0;font-family:var(--f-display);font-weight:800;text-transform:uppercase;font-size:clamp(26px,4.4vh,48px);line-height:.95;letter-spacing:0}
.case .c-win .cap{color:var(--dim);text-transform:uppercase;letter-spacing:.1em}
.case .c-win .cap:empty{display:none}
.case .sec-head h2.c-h2long{font-size:clamp(30px,5.4vh,68px)!important;font-weight:800!important;max-width:24ch;text-wrap:balance}

/* 1 · title */
.c-hero{flex:1 1 0;min-height:0;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:0 var(--g);align-items:center}
.c-hero .c-id{grid-column:1/7;display:flex;flex-direction:column;gap:clamp(14px,2.6vh,28px);min-width:0}
.c-hero .c-label{color:var(--dim);text-transform:uppercase;letter-spacing:.1em}
.c-hero h1{font-size:clamp(64px,min(20vh,9.5vw),260px)!important;line-height:.82!important;font-weight:800!important;letter-spacing:0!important;text-wrap:balance}
.c-hero .lede{margin:0;max-width:34ch;font-size:var(--t-lede)!important;line-height:1.3;color:#E3E5EA}
.c-hero .c-intro{margin:0;max-width:64ch;font-size:var(--t-desc);line-height:1.45;color:var(--dim)}
.c-hero .actions .cta,.c-hero .actions .ghost{min-height:52px;padding:0 24px}
.c-hero .c-win{grid-column:7/13;align-self:stretch}

/* 2 · task → result */
.c-tr{flex:1 1 0;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) var(--sp8) minmax(0,1fr);align-items:stretch}
.c-tr .c-win .txt{flex:1 1 0;justify-content:center;overflow:hidden}
.c-tr .c-win .txt p{font-size:clamp(18px,3vh,32px);line-height:1.32;letter-spacing:-.01em}
.c-tr .c-task .txt p{color:#B9BECA}
.c-tr .c-result{border-color:var(--fg)}
.c-tr .c-result>.wbar{background:var(--fg);color:#000;border-color:var(--fg)}
.c-tr .c-result>.wbar .wc{color:#3a3d46}
.c-flow{position:relative;align-self:center;height:1px;background:rgba(238,240,244,.22)}
.c-flow i{position:absolute;top:-3px;left:0;width:7px;height:7px;background:#dffcff;box-shadow:0 0 8px rgba(0,240,255,.95),-14px 0 10px rgba(0,240,255,.45),-28px 0 14px rgba(0,240,255,.2);animation:cflow 1.5s cubic-bezier(.5,0,.3,1) infinite}
@keyframes cflow{0%{left:0;opacity:0}12%{opacity:1}88%{opacity:1}100%{left:calc(100% - 7px);opacity:0}}

/* sections of the system: story list → window */
.c-sec{flex:1 1 0;min-height:0;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:0 var(--g);align-items:stretch}
.c-side{grid-column:1/5;display:flex;flex-direction:column;gap:var(--row);min-height:0;min-width:0}
.c-desc{margin:0;font-size:var(--t-desc);line-height:1.45;color:#C9CDD6}
.case .c-tabs{flex:1 1 0;min-height:0;height:auto!important;max-height:calc(var(--n,3) * 76px)}
.case .c-tabs button{grid-template-columns:36px 1fr!important}
.case .c-tabs .nm{font-size:clamp(13px,1.8vh,16px)!important;line-height:1.25;white-space:normal}
.c-feat{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.c-feat li{display:grid;grid-template-columns:16px 1fr;gap:8px;font:13px/1.5 var(--f-mono);color:#C9CDD6}
.c-feat li::before{content:"✓";color:var(--fg)}
.c-sec .c-win{grid-column:5/13}
.c-sec .c-win .txt{border-top:1px solid rgba(238,240,244,.18)}
.c-sec .c-win .c-story:empty{display:none}
.c-sec .c-win .txt:has(.c-story:empty):has(.cap:empty){display:none}
.c-nexthero .c-win{grid-column:7/13;align-self:stretch}
.c-nexthero .c-win:hover{border-color:var(--fg)}
.c-open{background:var(--fg)!important;color:#000!important;font-weight:600!important}
.c-open:hover{background:#fff!important}

/* screens in pairs — placed as in the mock-ups the owner accepted in September 2026: the text block stands at the left on the
   middle of the height, the picture at the right on the same middle, equal margins above and below.
   A placeholder marks the picture's place and proportion. */
.c-duo{flex:1 1 0;min-height:0;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:0 var(--g);align-items:center}
.c-copy{grid-column:1/6;display:flex;flex-direction:column;gap:clamp(14px,2.6vh,28px);min-width:0}
.c-copy .c-label{color:var(--dim);text-transform:uppercase;letter-spacing:.1em}
.c-copy h2{margin:0;font-family:var(--f-display);font-weight:800;text-transform:uppercase;font-size:clamp(44px,min(13vh,6vw),140px);line-height:.84;letter-spacing:0;text-wrap:balance}
.c-copy .lede{margin:0;max-width:34ch;font-size:var(--t-lede);line-height:1.3;color:#E3E5EA}
.c-par{display:grid;gap:6px;max-width:38ch}
.c-par span{color:var(--dim);text-transform:uppercase;letter-spacing:.1em}
.c-par p{margin:0;font-size:clamp(17px,2.6vh,24px);line-height:1.36;color:#E3E5EA}
.c-art{grid-column:6/13;position:relative;min-width:0;display:flex;justify-content:flex-end;align-items:center} /* the picture leads: seven columns of twelve */
.c-copy h2.acc{color:var(--case);margin-top:clamp(6px,1.6vh,18px)}
/* the colour of the case (case-texts.json, accent): the second line of a heading, as in the mock-ups accepted in September 2026.
   The signal colour of the frame stays for the rail, the bands and the markers. */
.case{--case:var(--signal)}
.c-copy h2 .acc,.c-hero h1 .acc,.c-out h2 .acc{color:var(--case)}
.c-copy h2.long{font-size:clamp(36px,min(10vh,4.5vw),104px)} /* a long line of a heading is set smaller, so it stays on two lines */
/* the picture of a block without a window — an illustration, not a screenshot; its height stays inside the screen */
.c-pic{position:relative;flex:none;margin:0;min-width:0;aspect-ratio:var(--ar,16/10);width:min(100%,calc(70vh * var(--arn,1.6)))}
.c-pic img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;display:block}
.c-pic .c-over{position:absolute;overflow:hidden;border:1px solid rgba(238,240,244,.5);background:#000} /* a small real screenshot in the window the accepted mock-up keeps for it */
.c-pic .c-over img{object-fit:cover;object-position:left top}
.c-hero-art .c-id{grid-column:1/6}
.c-hero-art .c-pic{grid-column:6/13;justify-self:end;width:min(100%,calc(68vh * var(--arn,1.6)))}
/* the scheme of editor nodes: drawn in the page so that the words in the nodes are sharp; sizes follow the width of the scheme */
.c-nodesart{position:relative;flex:none;container-type:inline-size;aspect-ratio:1.24;width:min(100%,calc(70vh * 1.24))}
.c-nodesart .ng{position:absolute;left:0;top:0;width:87%;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:9.8cqw 10.9cqw}
.c-nodesart .nd{position:relative;min-width:0;border:1px solid rgba(238,240,244,.3);border-radius:.9cqw;background:#131415}
.c-nodesart .nh{display:flex;align-items:center;gap:1.6cqw;padding:1.9cqw 2.2cqw;border-bottom:1px solid rgba(238,240,244,.16);font:600 2.7cqw/1.1 var(--f-body);color:#EEF0F4}
.c-nodesart .nh i{flex:none;width:1.6cqw;height:1.6cqw;border-radius:50%;background:#6B6F78}
.c-nodesart .nb{display:grid;grid-template-columns:auto minmax(0,1fr);gap:1.5cqw 1.8cqw;align-items:center;padding:2.1cqw 2.2cqw 2.5cqw;font:400 2.05cqw/1.28 var(--f-body)}
.c-nodesart .nb.one{grid-template-columns:minmax(0,1fr);gap:1.1cqw}
.c-nodesart .nb span{color:#A9AEBA}
.c-nodesart .nb b{font-weight:500;color:#EEF0F4;padding:1.3cqw 1.6cqw;border:1px solid rgba(238,240,244,.18);border-radius:.6cqw;background:#0A0A0B}
.c-nodesart .nd::after{z-index:2} /* the rings of a link lie over the edge of the next node */
.c-nodesart .n1::after,.c-nodesart .n2::after{content:"";position:absolute;left:calc(50% - .9cqw);top:calc(100% - .9cqw);width:1.8cqw;height:calc(9.8cqw + 1.8cqw);
  background:radial-gradient(circle at 50% .9cqw,#000 0 .36cqw,var(--case) .4cqw .82cqw,transparent .88cqw),radial-gradient(circle at 50% calc(100% - .9cqw),#000 0 .36cqw,var(--case) .4cqw .82cqw,transparent .88cqw),linear-gradient(var(--case),var(--case)) center/2px calc(100% - 1.8cqw) no-repeat}
.c-nodesart .n3::after{content:"";position:absolute;top:calc(50% - .9cqw);left:calc(100% - .9cqw);height:1.8cqw;width:calc(10.9cqw + 1.8cqw);
  background:radial-gradient(circle at .9cqw 50%,#000 0 .36cqw,var(--case) .4cqw .82cqw,transparent .88cqw),radial-gradient(circle at calc(100% - .9cqw) 50%,#000 0 .36cqw,var(--case) .4cqw .82cqw,transparent .88cqw),linear-gradient(var(--case),var(--case)) center/calc(100% - 1.8cqw) 2px no-repeat}
.c-shotslot{position:absolute;right:0;bottom:0;width:42.5%;aspect-ratio:2.45;padding:1.5cqw 1.7cqw;border:1px solid rgba(238,240,244,.5);color:#A9AEBA;font-size:max(9px,1.45cqw);letter-spacing:.08em;text-transform:uppercase}
/* the last screen «Обсудить проект», as in the accepted mock-up: heading, paragraph and button in the centre */
.c-out{flex:1 1 0;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(16px,3.2vh,36px);text-align:center}
.c-out h2{margin:0;font-family:var(--f-display);font-weight:800;text-transform:uppercase;font-size:clamp(72px,min(25vh,13vw),320px);line-height:.82;letter-spacing:0}
.c-out .lede{margin:0;max-width:34ch;font-size:var(--t-lede);line-height:1.3;color:#E3E5EA}
.c-out .actions{justify-content:center;flex-wrap:wrap}
.c-out .actions .cta,.c-out .actions .ghost{min-height:52px;padding:0 24px}
.c-copy .lede.sm{font-size:clamp(15px,2.35vh,21px);line-height:1.38;max-width:42ch} /* a long accepted text (Work OS sections) keeps its words; the type is a step smaller so the screen fits */
.c-two .c-copy{gap:clamp(10px,1.8vh,20px)}
.c-two .c-copy h2{font-size:clamp(40px,min(10.5vh,5vw),112px)}
.c-two .c-copy .lede{font-size:clamp(16px,2.5vh,23px);line-height:1.36;max-width:38ch}
.c-art.c-row{grid-column:5/13;gap:var(--g)} /* four upright frames need more width: eight columns, the text keeps four */
.c-duo:has(.c-row) .c-copy{grid-column:1/5}
.c-art.c-row .c-frame{flex:1 1 0;min-width:0;aspect-ratio:9/16;padding:clamp(10px,1.8vh,18px)}
.c-art.c-row .c-frame.ph span{letter-spacing:.08em;white-space:nowrap}
.c-art.c-row .c-frame.ph b{font-size:clamp(15px,2.7vh,26px);line-height:1}
.c-art.c-row .c-frame.ph i{font-size:12px}
.c-art>.c-win,.c-art>.c-frame{width:100%}
.case .c-art .c-win .shot{flex:none}
.case .c-art .c-win .shot img{object-fit:cover;object-position:left top}
.c-frame{position:relative;margin:0;aspect-ratio:var(--ar,16/10);border:1px solid rgba(238,240,244,.28);background:#000;overflow:hidden}
.c-frame.ph{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;gap:8px;padding:clamp(14px,2.4vh,26px);border:1px dashed rgba(238,240,244,.45);background:repeating-linear-gradient(135deg,rgba(238,240,244,.05) 0 10px,transparent 10px 20px)}
.c-frame.ph span{color:var(--signal);text-transform:uppercase;letter-spacing:.14em;font-size:var(--t-mono)}
.c-frame.ph b{max-width:16ch;font-family:var(--f-display);font-weight:800;text-transform:uppercase;font-size:clamp(22px,4.2vh,44px);line-height:.92;color:#E3E5EA}
.c-frame.ph i{max-width:34ch;font-style:normal;color:var(--dim);font-size:13px;line-height:1.3}
.case .c-art .c-inset{position:absolute;right:4%;bottom:6%;width:36%;box-shadow:0 18px 60px rgba(0,0,0,.75)} /* a real screenshot is small and secondary: on the lower right corner of the picture, as in the accepted mock-ups */
@media (min-width:901px) and (max-height:620px){.c-art{grid-column:7/13}.c-copy h2{font-size:clamp(40px,11vh,84px)}}
/* a row of upright frames across the whole width: the proportion of clips and reels */
.c-headnote{margin:0;max-width:46ch;font-size:var(--t-desc);line-height:1.45;color:#C9CDD6}
.c-wall{flex:1 1 0;min-height:0;display:grid;grid-template-columns:repeat(var(--n,4),minmax(0,1fr));gap:var(--g)}
.c-wall .c-frame{aspect-ratio:auto;min-height:0}

/* picture slots: real frames and placeholders that mark where a picture is still needed */
.c-slots{grid-column:5/13;display:grid;grid-template-columns:repeat(var(--cols,2),minmax(0,1fr));grid-auto-rows:minmax(0,1fr);gap:var(--g);min-height:0}
.c-slot{position:relative;display:flex;flex-direction:column;min-width:0;min-height:0;margin:0;border:1px solid rgba(238,240,244,.28);background:#000}
.c-slot .shot{position:relative;flex:1 1 0;min-height:0;overflow:hidden}
.c-slot .shot img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:left top;display:block}
.c-slot figcaption{flex:none;padding:8px 12px;border-top:1px solid rgba(238,240,244,.18);color:var(--dim);text-transform:uppercase;letter-spacing:.08em;font-size:var(--t-mono);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.c-slot.ph{border-style:dashed;border-color:rgba(238,240,244,.42)}
.c-slot.ph .shot{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:12px;text-align:center;background:repeating-linear-gradient(135deg,rgba(238,240,244,.055) 0 8px,transparent 8px 16px)}
.c-slot.ph .shot span{color:var(--signal);text-transform:uppercase;letter-spacing:.14em;font-size:var(--t-mono)}
.c-slot.ph .shot b{font-family:var(--f-name,var(--f-display));font-stretch:75%;font-weight:600;font-size:clamp(15px,2.3vh,21px);line-height:1.15;color:#E3E5EA}
.c-slot.ph .shot i{font-style:normal;color:var(--dim);font-size:12px;line-height:1.3}

/* scenario chain */
.c-chain{flex:1 1 0;min-height:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0 var(--g);align-items:center}
.c-step{position:relative;display:flex;flex-direction:column;gap:14px;min-height:52%;padding:var(--inset);border:1px solid rgba(238,240,244,.28);background:rgba(0,0,0,.82)}
.c-step .n{color:var(--dim);text-transform:uppercase;letter-spacing:.12em}
.c-step p{margin:0;font-size:clamp(16px,2.4vh,23px);line-height:1.38;color:#E3E5EA}
.c-step:not(:last-child)::after{content:"";position:absolute;left:100%;top:50%;width:var(--g);height:1px;background:rgba(160,245,255,.75);box-shadow:0 0 6px rgba(0,240,255,.8)}
.c-step:nth-child(2){margin-top:6vh}.c-step:nth-child(3){margin-top:12vh}.c-step:nth-child(4){margin-top:18vh}
.c-step:nth-child(1){margin-bottom:18vh}.c-step:nth-child(2){margin-bottom:12vh}.c-step:nth-child(3){margin-bottom:6vh}

/* contours + complexity */
.c-ct{flex:1 1 0;min-height:0;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:0 var(--g);align-items:stretch}
.c-nodes{grid-column:1/6;display:flex;flex-direction:column;gap:10px;min-height:0}
.c-nodes .node{flex:1 1 0;min-height:0;overflow:hidden;align-content:start;gap:8px;padding:16px 18px}
.c-nodes .node b{font-size:clamp(15px,2.3vh,21px)!important}
.c-nodes .node i{font-family:var(--f-body);font-size:clamp(13px,1.9vh,17px);line-height:1.42;color:#C9CDD6}
.c-ct .c-win{grid-column:6/13}
.c-ct .c-win .shot{flex:1 1 0}
.c-ct .c-win .txt{border-top:1px solid rgba(238,240,244,.18)}

/* evidence + next case */
.c-end{flex:1 1 0;min-height:0;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:0 var(--g);align-items:stretch}
.c-ev{grid-column:1/8;list-style:none;margin:0;padding:0;display:flex;flex-direction:column;min-height:0;border-top:1px solid rgba(238,240,244,.18)}
.c-ev li{flex:1 1 0;min-height:0;display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:12px;padding-inline:10px;border-bottom:1px solid rgba(238,240,244,.18);font-size:clamp(17px,2.7vh,28px);line-height:1.25;color:#E3E5EA}
.c-ev li span{color:var(--dim);letter-spacing:.1em}
.c-next{grid-column:8/13;display:flex;flex-direction:column;gap:var(--row);min-height:0}
.c-next .c-nextwin{flex:1 1 0}
.c-next .c-nextwin:hover{border-color:var(--fg)}
.c-next .c-nextwin:hover .shot img{filter:none}
.c-next .c-nextwin .shot img{filter:grayscale(.6) brightness(.6);transition:filter .25s}
.c-cta{align-self:stretch;justify-content:center;min-height:58px;background:var(--fg)!important;color:#000!important;font-weight:600!important;font-size:14px!important;letter-spacing:.12em!important}
.c-cta:hover{background:#fff!important;box-shadow:0 0 18px rgba(0,240,255,.45)!important}

/* low screens */
@media (min-width:901px) and (max-height:700px){
  .c-hero .c-intro{display:none}
  .c-step{padding:16px;min-height:60%}
  .c-step:nth-child(n){margin-top:0;margin-bottom:0}
  .c-nodes .node{padding:10px 14px}
  .case .c-win .txt{padding:16px}
}
/* phones: one column, the slide scrolls inside */
@media (max-width:900px){
  .c-hero,.c-tr,.c-sec,.c-chain,.c-ct,.c-end{display:flex;flex-direction:column;gap:16px;flex:none}
  .c-hero h1{font-size:clamp(52px,17vw,96px)!important}
  .case .c-win .shot{flex:none;aspect-ratio:16/10}
  .c-duo{display:flex;flex-direction:column;align-items:stretch;gap:16px;flex:none}
  .c-copy{gap:12px}
  .c-copy .lede{font-size:18px;line-height:1.32;max-width:none}
  .c-copy h2{font-size:clamp(44px,15vw,84px)}
  .case .c-art .c-inset{position:relative;right:auto;bottom:auto;width:70%;margin-top:-18%;align-self:flex-end}
  .c-art.c-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%}
  .c-art{flex-direction:column;align-items:flex-start}
  .c-pic,.c-nodesart{width:100%}
  .c-hero-art .c-pic{width:min(100%,calc(31vh * var(--arn,1.6)));align-self:center} /* a square cover must not push the first screen below the fold on a phone */
  /* «Задача и решение» is the densest screen (two paragraphs): on a phone its picture is capped by height and the text is a step smaller, so the screen fits */
  .c-two .c-copy .lede{font-size:16px;line-height:1.3}
  .c-two .c-pic{width:min(100%,calc(22vh * var(--arn,1.6)));align-self:center}
  .c-out{flex:none;padding-block:8vh}
  .c-out h2{font-size:clamp(64px,22vw,120px)}
  .c-wall{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;flex:none}
  .c-wall .c-frame{aspect-ratio:9/16}
  .c-slots{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:auto;gap:10px;flex:none}
  .c-slot .shot{flex:none;aspect-ratio:16/10}
  .c-tr .c-win .txt{flex:none;overflow:visible}
  .c-tr .c-win .txt p{font-size:20px}
  .c-flow{width:1px;height:28px;align-self:center;background:rgba(238,240,244,.22)}
  .c-flow i{display:none}
  .c-step{min-height:0}
  .c-step:nth-child(n){margin:0}
  .c-step:not(:last-child)::after{left:50%;top:100%;width:1px;height:16px}
  .c-nodes .node,.c-ev li{flex:none}
  .c-ev li{padding-block:14px}
  .case .c-tabs{max-height:none;flex:none}
  .c-next .c-nextwin{flex:none}
}
@media (prefers-reduced-motion:reduce){.c-flow i{animation:none;left:calc(50% - 3px)}}
