/* Version seven, round three (Matt's polish notes, 29 Nov 2026). Loaded last. */

/* Stardust that follows the mouse sits above everything and never takes a click. */
.v7-dust{position:fixed;inset:0;width:100vw;height:100vh;z-index:80;pointer-events:none}

/* Sessions: one more set on the arc, the channel guide; room for the words below. */
.films{height:calc(100svh + 6 * 40svh)!important}
@media(max-width:700px){.films{height:calc(100svh + 6 * 46svh)!important}}
.films-arc .tv{top:calc(50% + 24px)!important}
.films-caption{padding-top:14px!important}
.tv.has-poster .cover-ground{background:linear-gradient(0deg,#040817 0,#040817f2 26%,#04081799 44%,#04081700 62%)!important}
.tv .cover-title{text-shadow:0 2px 18px #000c,0 0 2px #000}
/* A set that has been on stays on; only sets you have not reached show the burned-in title. */
.tv.off.seen .tv-content>*:not(.cover-title){opacity:1}
.tv.off.seen .tv-content .cover-title{opacity:1;color:inherit;text-shadow:0 2px 18px #000c;filter:none}
.tv.off.seen .tv-screen{background:#040817}
.tv.off.seen .tv-static{opacity:0;animation:none}
.tv.off.seen.has-poster .cover-art{opacity:0}
/* The channel guide */
.tv.guide .cover-ground{background:radial-gradient(ellipse at 70% 30%,#2a4fb066,transparent 60%),linear-gradient(160deg,#162d6a,#0a1430 60%,#070d22)!important}
.guide-list{position:absolute;left:4%;right:4%;top:17%;margin:0;padding:0;list-style:none;display:grid;gap:clamp(4px,.6vw,9px)}
.guide-list li{display:flex;gap:12px;align-items:baseline;padding-bottom:clamp(4px,.5vw,8px);border-bottom:1px dashed #a9c8ff2e;font:500 clamp(11px,1vw,15px)/1.25 Mona,sans-serif;color:#dfe8fa}
.guide-list b{font:500 clamp(9px,.75vw,11px)/1 'Geist Mono',monospace;letter-spacing:.1em;color:var(--v6-dawn)}
.tv.guide .cover-title{font-size:clamp(16px,1.6vw,26px)!important;max-width:55%}
.guide-go{position:absolute;right:4%;bottom:8%;display:inline-flex;align-items:center;gap:8px;height:clamp(30px,2.6vw,40px);padding:0 16px;border-radius:22px;background:var(--v6-dawn);color:#070d22;font:700 clamp(11px,.95vw,14px)/1 Mona,sans-serif}
.guide-cta{display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 20px;border-radius:22px;background:var(--v6-dawn);color:#070d22;font:700 15px/1 Mona,sans-serif;text-decoration:none;margin-top:6px}
.guide-cta:hover{background:#fff}
@media(max-width:700px){.guide-list li:nth-child(n+4){display:none}.guide-list li{font-size:11px}}

/* The divide between the sessions and the hiring scene: a planet's horizon, glowing. */
.belief{position:relative}
.belief:before{content:'';position:absolute;left:-10%;right:-10%;top:-1px;height:clamp(120px,16vw,240px);z-index:1;pointer-events:none;
 background:radial-gradient(ellipse 50% 100% at 50% 0%,#5d8cff30 0%,#5d8cff0f 45%,transparent 70%);
 -webkit-mask-image:linear-gradient(#000,transparent);mask-image:linear-gradient(#000,transparent)}
.belief:after{content:'';position:absolute;left:8%;right:8%;top:0;height:2px;z-index:2;pointer-events:none;border-radius:2px;
 background:linear-gradient(90deg,transparent,#a9c8ff66 20%,#ffe6b8 50%,#a9c8ff66 80%,transparent);box-shadow:0 0 24px 4px #5d8cff55}
@media(min-width:861px){.belief-stage{align-items:start!important;padding-top:calc(var(--header-height,58px) + 11vh)!important}.belief-copy{padding-top:5vh}}
.films-foot{padding-bottom:6px}

/* The lanyard, closer to the real thing: woven straps narrowing into a crimp, a lobster clasp, a punched slot. */
.lanyard{width:34px!important;margin-left:-17px!important}
.lanyard i{width:13px!important;background:repeating-linear-gradient(0deg,#ffffff18 0 1px,transparent 1px 3px),linear-gradient(90deg,#16337f 0,#3c69e0 30%,#5b86f0 50%,#3c69e0 70%,#16337f 100%)!important;box-shadow:inset 0 0 0 1px #0a143099,1px 0 2px #0006!important}
.lanyard i:first-child{transform:skewX(1.4deg)!important}.lanyard i:last-child{transform:skewX(-1.4deg)!important}
.lanyard:after{left:4px!important;right:4px!important;bottom:-4px!important;height:12px!important;background:linear-gradient(90deg,#7d89a6,#f4f7fc 45%,#8f9bb5)!important;border-radius:3px!important}
.badge-clip{width:30px!important;height:52px!important;margin-left:-15px!important;top:52px!important;filter:drop-shadow(0 3px 3px #0008)}
.badge:before{width:58px!important;height:11px!important;margin-left:-29px!important;top:13px!important;background:#0d1138!important;opacity:1!important;box-shadow:inset 0 2px 3px #000c,0 1px 0 #ffffffaa!important}
@media(max-width:860px){.badge-clip{top:22px!important}}

/* The badge lines write in with a flash. */
.badge-fields>div.flash dd{animation:v7-write 1s ease-out both}
@keyframes v7-write{0%{background:linear-gradient(90deg,#ffcf8a00,#ffcf8a00)}35%{text-shadow:0 0 12px #ffb347;color:#7a3d00;background:#ffcf8a55}100%{text-shadow:none;color:#0c1532;background:transparent}}
.badge-fields dd{border-radius:4px;padding:0 3px;margin-left:-3px!important}
.badge.approved .badge-stamp{animation:v7-stamp .5s cubic-bezier(.3,1.6,.5,1) both}
@keyframes v7-stamp{0%{scale:2.2;opacity:0}60%{opacity:1}100%{scale:1;opacity:.92}}

/* The year: no clipped edges, room for every digit. */
.about-year{overflow:visible!important;clip-path:inset(0 -40px)!important;letter-spacing:0!important;gap:.02em;padding-left:4px}
.about-year .col{overflow:visible!important;clip-path:inset(0 -40px)!important;padding:0 .01em}

/* About: slower, so the years have time to roll. */
@media(min-width:861px){.about-beats li{min-height:30vh;align-content:start}}

/* The door to MattKlein.ai: big enough to see. */
.about-door{gap:20px!important;margin-top:36px!important;align-items:center}
.pixel-guide{width:96px!important;height:96px!important;box-shadow:inset 0 -9px 0 #4e86e8,inset 0 0 0 4px #0c1532,6px 6px 0 #0c1532!important}
.pixel-guide:before{bottom:9px!important;height:12px!important}
.pixel-guide svg{width:56px!important;margin-top:8px!important}
.about-portal{padding:18px 30px 18px 18px!important;gap:20px!important;border-radius:26px!important;background:linear-gradient(120deg,#1a3170,#0c1532)!important;box-shadow:inset 0 0 0 1px #a9c8ff55,0 24px 50px -18px #0c1532aa!important}
.about-portal img{width:78px!important;height:78px!important}
.about-portal span{font-size:13px!important;gap:5px!important}
.about-portal b{font-size:clamp(24px,2.2vw,34px)!important}
.about-portal span small{display:block;font:400 14px/1.35 Mona,sans-serif;letter-spacing:0;text-transform:none;color:#c3d1ea}
.about-portal em{font-size:30px!important;margin-left:14px!important}
.about-portal:hover em{translate:4px -4px}
@media(max-width:860px){.about-door{flex-wrap:wrap}.pixel-guide{width:72px!important;height:72px!important}.pixel-guide svg{width:42px!important}.about-portal img{width:56px!important;height:56px!important}.about-portal{padding:14px 20px 14px 14px!important}}
.tv.has-poster .cover-top,.tv.has-poster .cover-status{display:none}
.belief,.about{overflow-x:clip}
.about-head,.about-inner>*{min-width:0}
@media(max-width:860px){.about-portal{width:auto!important;flex:1 1 220px}.about-portal span small{font-size:12px}.about-year{font-size:64px!important}}
