/* first screen, second pass (his notes 2026-11-14): no map lines here. A night sky, and a floor of his
   thumbnails and clips flying away to a glowing horizon. Loaded after site.css and overrides it. */
.hero{background:oklch(0.17 0.024 60);color:var(--paper);user-select:none;-webkit-user-select:none}
/* fifth pass (his note 2026-11-17: "can't it be slanted without getting squashed?"). One big wall of his
   thumbnails and clips that leans BACK by --lean and runs away from you. Tiles are their real shape on the wall
   (16:9, 9:16, object-fit cover, never stretched). The lean is gentle, so perspective slants them but does not
   flatten them: at 34 degrees a tile keeps about 83% of its height. The old floor leaned 70 degrees (34% left). */
.sky{position:absolute;inset:0;z-index:0;overflow:hidden;
  background:
    radial-gradient(110% 70% at 50% 34%,oklch(0.58 0.22 25 / .8),oklch(0.34 0.15 25 / .5) 42%,transparent 78%),
    oklch(0.17 0.024 60)}
/* the wall fades out with a mask toward the top, so no edge or line shows where it ends */
.floor{position:absolute;inset:0;perspective:1100px;perspective-origin:50% 26%;overflow:hidden;
  -webkit-mask-image:linear-gradient(180deg,transparent 14%,rgb(0 0 0 / .25) 32%,rgb(0 0 0 / .8) 50%,#000 64%);mask-image:linear-gradient(180deg,transparent 14%,rgb(0 0 0 / .25) 32%,rgb(0 0 0 / .8) 50%,#000 64%)}
.plane{--lean:40deg;--g:1vw;position:absolute;left:50%;bottom:-12%;width:150vw;margin-left:-75vw;height:230vh;transform-origin:50% 100%;transform:rotateX(var(--lean));display:flex;align-items:flex-start;gap:var(--g);justify-content:center;overflow:hidden}
.plane .col{flex:1 1 0;min-width:0;display:flex;flex-direction:column;will-change:transform;animation:away 100s linear infinite}
.plane .col.tall{flex-grow:.5625}
.plane .col > *{display:block;width:100%;height:auto;margin-bottom:var(--g);border-radius:.7vw;object-fit:cover;background:oklch(0.26 0.042 60)}
.plane .col > *{aspect-ratio:16/9}
/* round 4 (2026-11-17): still pictures, dimmer than him; the tile under the mouse lifts and plays its clip.
   The wall's width is set in site.js so its far end still spans the screen. */
.plane .col > .tile{position:relative;overflow:hidden;opacity:.6;transition:opacity 220ms ease,transform 280ms var(--ease-out),box-shadow 280ms ease}
.tile img,.tile video{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover}
.tile video{opacity:0;transition:opacity 180ms ease}
.tile video.on{opacity:1}
.plane .col.up{z-index:2}
.plane .col > .tile.up{z-index:2;opacity:1;transform:translateY(-4%) scale(1.1);box-shadow:0 1.6vw 4vw oklch(0.08 0.024 60 / .75)}
.plane .col.tall > *{aspect-ratio:9/16}
@keyframes away{from{transform:translate3d(0,0,0)}to{transform:translate3d(0,-50%,0)}}
.sky::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,transparent 78%,oklch(0.17 0.024 60 / .45) 100%)}
@media (max-width:760px){.plane{--g:2vw}.floor{perspective:760px}}
@media (prefers-reduced-motion:reduce){.plane .col{animation:none}}

/* top row and corner card, now on a dark ground */
.btn{background:var(--paper);color:var(--ink)}
.menu-btn{border-color:var(--paper);background:oklch(0.17 0.024 60 / .5)}
.menu-btn i{background:var(--paper)}
body.menu-open .menu-btn{background:var(--paper)}
body.menu-open .menu-btn i{background:var(--ink)}
@media (hover:hover) and (pointer:fine){
  .btn:hover{background:var(--glow, oklch(0.8 0.16 25));color:var(--ink)}
  .menu-btn:hover{background:oklch(0.3 0.048 60)}
}
.face{cursor:pointer}
.next{font:inherit;color:var(--paper);cursor:pointer;border-color:var(--paper);background:oklch(0.17 0.024 60 / .62);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.next em{border-color:var(--paper)}
.next .dot{background:oklch(0.8 0.16 25)}
@media (hover:hover) and (pointer:fine){.next:not(.live):hover{background:oklch(0.3 0.048 60 / .85)}}

/* the schedule, grows out of the corner card */
.sched{position:absolute;z-index:8;left:var(--gutter);bottom:var(--gutter);width:min(440px,calc(100vw - var(--gutter) * 2));padding:18px;border-radius:6px 22px 6px 6px;background:var(--paper);color:var(--ink);box-shadow:0 30px 80px oklch(0.1 0.024 60 / .55);transform-origin:0% 100%;transition:opacity 200ms ease,transform 260ms var(--ease-out),display 260ms allow-discrete;user-select:text;-webkit-user-select:text}
.sched[hidden]{display:none;opacity:0;transform:scale(.9)}
@starting-style{.sched{opacity:0;transform:scale(.9)}}
.sched-top{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}
.sched-top b{display:block;font-family:var(--serif);font-weight:400;text-transform:uppercase;font-size:1.7rem;line-height:1}
.sched-top small{display:block;margin-top:6px;font-weight:600;font-size:.84rem;color:var(--soft)}
.sched-x{flex:none;width:40px;height:40px;border-radius:10px;border:1.5px solid var(--ink);background:none;cursor:pointer;position:relative;transition:transform 160ms var(--ease-out)}
.sched-x:active{transform:scale(.92)}
.sched-x i{position:absolute;left:10px;right:10px;top:50%;height:2px;margin-top:-1px;background:var(--ink);border-radius:2px;transform:rotate(45deg)}
.sched-x i:last-child{transform:rotate(-45deg)}
.week{list-style:none;display:grid;grid-template-columns:repeat(7,1fr);gap:5px;margin-top:16px}
.week li{padding:10px 2px 9px;border-radius:8px;text-align:center;border:1.5px solid var(--line);color:var(--soft)}
.week span{display:block;font-weight:800;font-variation-settings:"wdth" 88;text-transform:uppercase;font-size:.86rem}
.week b{display:block;margin-top:5px;font-weight:600;font-size:.62rem;line-height:1.15}
.week li.on{border-color:var(--ink);color:var(--ink)}
.week li.upnext{background:var(--violet);border-color:var(--violet);color:var(--violet-ink)}
.week li.live{background:var(--live);border-color:var(--live);color:oklch(0.99 0.01 25)}
.sched-where{margin-top:16px;font-weight:600;font-size:.86rem}
.watch{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.watch a{display:flex;align-items:center;min-height:44px;padding:0 15px;border-radius:10px;background:var(--ink);color:var(--paper);text-decoration:none;font-weight:800;font-variation-settings:"wdth" 88;text-transform:uppercase;font-size:.92rem;transition:transform 160ms var(--ease-out),background-color 200ms ease}
.watch a:active{transform:scale(.96)}
@media (hover:hover) and (pointer:fine){.watch a:hover{background:var(--violet)}}

@media (max-width:760px){
}

/* ============ round 5 (his notes 2026-11-17) ============ */
/* TWO THEMES (his call, 2026-11-19): light = body[data-bg="white"], dark = body[data-bg="black"]. Off-white and
   cream are gone. The switch is .bgpick (Light / Dark), bottom right of the first screen. */
body{--hbg:oklch(0.17 0.024 60);--hfg:var(--paper);--tile:oklch(0.26 0.042 60);--dim:.42;
  --sky:radial-gradient(110% 70% at 50% 34%,oklch(0.58 0.22 25 / .8),oklch(0.34 0.15 25 / .5) 42%,transparent 78%);
  --glow:oklch(0.78 0.17 25 / .6);--glow-edge:oklch(0.9 0.054 60 / .9);--drop:oklch(0.08 0.024 60 / .7);
}
.hero{background:var(--hbg);color:var(--hfg)}
/* black is true black: no warm tint (his note 2026-11-18, "black has become brown") */
body[data-bg="black"]{--hbg:oklch(0.09 0 0);--tile:oklch(0.16 0 0);--dim:.42;
  /* (his note 2026-11-22: the grey haze read as brown smoke; the wall now fades into true black) */
  --sky:linear-gradient(transparent,transparent);
  --glow:oklch(0.8 0.14 25 / .55);--drop:oklch(0 0 0 / .8)}
body[data-bg="black"] .tile::after{background:oklch(0.07 0 0)}
body[data-bg="white"]{--hbg:oklch(0.985 0.002 60);--hfg:var(--ink);--tile:oklch(0.93 0.005 60);--dim:.42;
  --sky:radial-gradient(100% 65% at 50% 36%,oklch(0.94 0.021 60 / .8),transparent 76%);
  --glow:oklch(0.6 0.22 25 / .5);--glow-edge:oklch(0.58 0.22 25 / .85);--drop:oklch(0.3 0.036 60 / .35)}
.sky{background:var(--sky),var(--hbg)}
.sky::after{background:linear-gradient(180deg,transparent 78%,color-mix(in oklch,var(--hbg) 45%,transparent) 100%)}
.plane .col > *{background:var(--tile)}
/* dim = darker, the same on every background. Never opacity: that lets the background colour tint the pictures
   (his note 2026-11-17). --dim is how dark the layer over each picture is. */
.plane .col > .tile{opacity:1}
.tile::after{content:"";position:absolute;inset:0;background:oklch(0.12 0.012 60);opacity:var(--dim);transition:opacity 220ms ease;pointer-events:none}
.tile.up::after{opacity:0}
/* the lifted clip: a soft glow all round it, and a shadow under it */
.plane .col > .tile.up{opacity:1;box-shadow:0 0 0 .14vw var(--glow-edge),0 0 2.6vw .5vw var(--glow),0 1.8vw 4vw var(--drop)}

/* his face: the whole picture switches while the mouse is on him */
/* .hyped is hot.webp: the whole hyped photo. The two pictures swap completely (tools\hot.py) */
.face .hyped{opacity:0;transition:opacity 130ms ease;pointer-events:none}
.face .calm{transition:opacity 0s}
.face.hot .hyped{opacity:1}
.face.hot .calm{opacity:0;transition:opacity 0s 130ms}

/* the name: one font for both words */
.wordmark{color:var(--hfg);line-height:.84}
.wordmark span,.wordmark b{font-family:var(--sans);font-weight:800;font-variation-settings:"wdth" 96;font-size:clamp(1.62rem,2.52vw,2.36rem);letter-spacing:-.035em;margin:0}

/* the dock: one round button. Three dots; on hover "Work with me" unrolls out of it to the left */
.dock{height:56px;gap:0}
.menu-btn{position:relative;z-index:1;width:56px;height:56px;border-radius:50%;border:0;background:var(--hfg);display:block;transition:transform 160ms var(--ease-out),background-color 200ms ease}
.menu-btn i,.menu-btn i:first-child,.menu-btn i:last-child{position:absolute;left:50%;top:50%;width:22px;height:5px;margin:-2.5px 0 0 -11px;border-radius:3px;background:var(--hbg);transition:transform 320ms var(--ease-out),opacity 200ms ease}
.menu-btn i:nth-child(1){transform:translateX(-9px) scaleX(.227)}
.menu-btn i:nth-child(2){transform:scaleX(.227)}
.menu-btn i:nth-child(3){transform:translateX(9px) scaleX(.227)}
.menu-btn[aria-expanded="true"] i:nth-child(1){transform:rotate(45deg) scaleY(.5);width:22px}
.menu-btn[aria-expanded="true"] i:nth-child(2){transform:scale(0);opacity:0}
.menu-btn[aria-expanded="true"] i:nth-child(3){transform:rotate(-45deg) scaleY(.5);width:22px}
body.menu-open .menu-btn{background:var(--paper)}
body.menu-open .menu-btn i{background:var(--ink)}
.dock-cta{position:absolute;right:0;top:0;height:100%;display:flex;align-items:center;gap:.55em;padding:0 calc(56px + 1em) 0 1.5em;border-radius:28px;background:var(--violet);color:var(--violet-ink);text-decoration:none;white-space:nowrap;font-weight:800;font-variation-settings:"wdth" 88;text-transform:uppercase;font-size:1.02rem;letter-spacing:.01em;
  visibility:hidden;clip-path:inset(0 0 0 calc(100% - 56px) round 28px);transition:clip-path 460ms var(--ease-out),visibility 0s 460ms}
.dock-cta span,.dock-cta svg{opacity:0;transform:translateX(28px);transition:transform 460ms var(--ease-out),opacity 200ms ease}
.dock-cta svg{transition-delay:40ms}
.dock-cta:active{filter:brightness(.92)}
body.menu-open .dock-cta{display:none}
@media (hover:hover) and (pointer:fine){
  .dock:hover .dock-cta,.dock:focus-within .dock-cta{visibility:visible;clip-path:inset(0 round 28px);transition:clip-path 460ms var(--ease-out),visibility 0s}
  .dock:hover .dock-cta span,.dock:hover .dock-cta svg,.dock:focus-within .dock-cta span,.dock:focus-within .dock-cta svg{opacity:1;transform:none}
  .dock:hover .menu-btn i:nth-child(1){transform:translateX(-9px) translateY(-3px) scaleX(.227)}
  .dock:hover .menu-btn i:nth-child(3){transform:translateX(9px) translateY(3px) scaleX(.227)}
  .menu-btn:hover{background:var(--hfg)}
  body.menu-open .dock:hover .menu-btn i:nth-child(1){transform:rotate(45deg) scaleY(.5)}
  body.menu-open .dock:hover .menu-btn i:nth-child(3){transform:rotate(-45deg) scaleY(.5)}
  body.menu-open .menu-btn:hover{background:var(--paper)}
}
@media (max-width:760px){.dock{height:48px}.menu-btn{width:48px;height:48px}}

/* TEMPORARY background picker, bottom right */
.bgpick{position:absolute;z-index:6;right:var(--gutter);bottom:var(--gutter);display:flex;align-items:center;gap:4px;padding:6px;border-radius:12px;background:oklch(0.17 0.024 60 / .88);color:var(--paper)}
.bgpick small{font-weight:700;font-size:.66rem;text-transform:uppercase;letter-spacing:.05em;padding:0 6px}
.bgpick button{height:34px;padding:0 11px;border:0;border-radius:8px;background:none;color:inherit;font-weight:700;font-size:.78rem;cursor:pointer}
.bgpick button[aria-pressed="true"]{background:var(--paper);color:var(--ink)}
@media (max-width:760px){.bgpick{left:auto;right:8px;bottom:8px;flex-wrap:wrap;justify-content:flex-end;max-width:58vw}.bgpick small{display:none}.bgpick button{padding:0 8px;height:30px}}
/* the dock lives outside the header, so it can sit above the open menu */
.dock{position:absolute;z-index:30}
body.menu-open .dock{position:fixed;z-index:50}
@media (prefers-reduced-motion:no-preference){.dock{animation:down 600ms var(--ease-out) 500ms both}}
/* the far end of the wall fades out over a short stretch only (was half the screen, which washed the pictures
   with the background colour on white and off-white: his note 2026-11-17) */
.floor{-webkit-mask-image:linear-gradient(180deg,transparent 12%,rgb(0 0 0 / .5) 24%,#000 36%);mask-image:linear-gradient(180deg,transparent 12%,rgb(0 0 0 / .5) 24%,#000 36%)}

/* the stinger between pages moved out of this file on 2026-11-18: see stinger.css and stinger.js (his hat) */

/* ---- his notes 2026-11-18 (round 8) ----
   The photos are 1700x1212 now: wide enough for his whole shoulders, so his real outline shows and nothing fades.
   The frame hangs 4% below the first screen, so the lean can never lift its bottom edge into view.
   The swap is a hard cut: no crossfade, the two photos are never on screen together. */
.face{--fh:min(96svh,71vw);height:var(--fh);aspect-ratio:1700/1212;bottom:calc(var(--fh) * -.04);transform-origin:50% 100%}
@media (max-width:760px){.face{--fh:min(75svh,128vw)}}
.face .calm,.face .hyped,.face.hot .calm{transition:none}
.hero{overflow:hidden}
/* his tagline, under his name (the same line as his social bios) */
.wordmark em{margin-top:.62em;font-style:normal;font-weight:800;font-variation-settings:"wdth" 84;font-size:clamp(1rem,1.6vw,1.55rem);line-height:1;letter-spacing:.035em;color:var(--violet)}
body[data-bg="black"] .wordmark em{color:oklch(0.76 0.16 25)}


/* ===== 2026-11-19: the serif is gone from the whole site (his words: "The font though. I hate it") =====
   The menu's big links and the day on the Next stream card were the last places it showed. */
.menu li a,.next b,.sched-top b{font-family:var(--sans);font-weight:800;font-variation-settings:"wdth" 78;letter-spacing:-.025em}

/* ===== 2026-11-21 (his note): his face first, then the wall pops in =====
   His face no longer fades up from nothing: it is there from the first frame and only settles. The tiles wait hidden
   (.wait, set by site.js) until his face is ready and the stinger has opened, then each pops in from its own offset and
   angle and lands in its moving column. Transform and opacity only. */
@media (prefers-reduced-motion:no-preference){[data-enter] .face{animation:facefirst 700ms var(--ease-out) both}}
@keyframes facefirst{from{transform:translateY(3%) scale(1.025)}}
.plane .col > .tile.wait{opacity:0}
.plane .col > .tile.pop{animation:tilepop 640ms cubic-bezier(.16,1,.3,1) backwards}
@keyframes tilepop{from{opacity:0;transform:translate3d(var(--dx,0),var(--dy,40%),0) rotate(var(--r,0deg)) scale(.35)}}
