/* ---------- base ---------- */
html{scroll-behavior:smooth}
body{margin:0;background:#000000}
a{color:#f2f2f2}a:hover{color:#8f8f8f}
img{max-width:100%}
.grain-root{position:relative;box-sizing:border-box;width:100%;min-height:100vh;background:#000000;color:#f2f2f2;font-family:'IBM Plex Mono','Courier New',monospace}
.grain-root::after{content:"";position:absolute;inset:0;pointer-events:none;z-index:5;opacity:0.6;background-image:url(/images/grain.png);background-repeat:repeat}
.wrap{box-sizing:border-box;width:100%;max-width:90rem;margin:0 auto;padding:0 3rem}
.stack{display:flex;flex-direction:column;gap:2.5rem}
.sec-title{margin:0;font-family:'IBM Plex Mono','Courier New',monospace;font-weight:500;font-size:2rem;line-height:1;letter-spacing:-0.02em;color:#f2f2f2}
.sec-title.dark{color:#0a0a0a}
:where(button.vcard,button.pub,button.mposter,button.fposter,button.email-btn,button.vstart){all:unset;cursor:pointer;box-sizing:border-box}

/* ---------- header ---------- */
.site-header{box-sizing:border-box;width:100%;max-width:90rem;margin:0 auto;padding:3rem 3rem 0 3rem;display:flex;flex-direction:column;gap:4.5rem}
.nav{display:flex;flex-wrap:wrap;gap:0.75rem 2rem;justify-content:flex-end}
.nav a{color:#f2f2f2;text-decoration:none;font-size:0.875rem;letter-spacing:0.02em}
.nav a:hover{color:#8f8f8f}
.masthead{display:flex;flex-direction:column;gap:1rem;padding-bottom:3rem;border-bottom:1px solid #2e2e2e}
.name{margin:0 0 0 calc(-0.12em + 0.09rem);font-family:'Major Mono Display','IBM Plex Mono',monospace;font-weight:400;font-size:10.5rem;line-height:0.85;letter-spacing:-0.04em;color:#f2f2f2}
.masthead-sub{display:flex;flex-direction:column;gap:0.5rem;margin-top:1.25rem}
.full-name{font-size:1.5rem;font-weight:400;letter-spacing:-0.01em;color:#f2f2f2}
.tagline{font-size:0.95rem;color:#8f8f8f}

/* ---------- carousels ---------- */
.reel-box{position:relative;width:100%;max-width:90rem;margin:0 auto}
.reel-box.reel-gap{margin-top:2.5rem}
.reel{display:flex;gap:1.5rem;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;padding:0 3rem;scroll-padding-inline:3rem;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.reel::-webkit-scrollbar{display:none}
.reel-end{flex:0 0 1.5rem}
.poster{scroll-snap-align:start}
.arrow{position:absolute;top:50%;transform:translateY(-50%);width:3.25rem;height:3.25rem;border:none;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:transform .15s}
.arrow:hover{transform:translateY(-50%) scale(1.06)}
.arrow:focus-visible{outline:3px solid #8f8f8f;outline-offset:3px}
.arrow-left{left:1rem}.arrow-right{right:1rem}
.arrow-light{background:#f2f2f2;color:#000000;box-shadow:0 6px 20px rgba(0,0,0,0.6)}
.arrow-dark{background:#0a0a0a;color:#f2f2f2;box-shadow:0 6px 20px rgba(0,0,0,0.3)}
.mplay{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:3.75rem;height:3.75rem;border-radius:50%;border:1.5px solid #f2f2f2;background:rgba(10,10,10,0.55);display:flex;align-items:center;justify-content:center;box-shadow:0 4px 16px rgba(0,0,0,0.35);box-sizing:border-box;transition:opacity .2s,transform .2s,background .2s}
@media (hover:hover){.mplay{opacity:0}.fposter:hover .mplay,.fposter:focus-visible .mplay,.mposter:hover .mplay,.mposter:focus-visible .mplay{opacity:1;transform:translate(-50%,-50%) scale(1.08);background:rgba(10,10,10,0.75)}}

/* film */
.sec-film{background:linear-gradient(to bottom,#000000,#242424);box-sizing:border-box;width:100%;padding:4.5rem 0 6rem 0;display:flex;flex-direction:column;gap:2.5rem}
.film-item{flex:0 0 15rem}
.fposter{position:relative;display:block;width:100%}
.film-img{display:block;width:100%;aspect-ratio:2/3;object-fit:cover;background:#1a1a1a}
.film-role{margin-top:0.75rem;min-height:2.6em;font-size:0.8rem;line-height:1.3;color:#a3a3a3;display:flex;flex-wrap:wrap;align-content:flex-start;column-gap:0.5em}
.film-role span{white-space:nowrap}
.imdb-big{color:#f2f2f2;font-size:1.5rem;font-weight:500;letter-spacing:0.04em;text-decoration:underline;text-underline-offset:0.25em}

/* music */
.sec-music{box-sizing:border-box;width:100%;background:linear-gradient(to bottom,#c4c4c4,#e6e6e6);color:#0a0a0a;padding:6rem 0}
.sec-music{--mh:20rem}
.music-item{flex:0 0 auto;width:calc(var(--mh) * var(--r))}
.mposter{position:relative;display:block;width:100%}
.mposter:disabled,.mposter[aria-disabled="true"]{cursor:default}
.mposter img{display:block;width:100%;height:var(--mh);object-fit:cover;background:#d0d0d0;box-shadow:0 8px 24px rgba(0,0,0,0.18);transition:transform .2s}
.mposter.has-tracks:hover img{transform:translateY(-3px)}
.mposter:focus-visible{outline:2px solid #0a0a0a;outline-offset:4px}
.mcount{position:absolute;right:0.75rem;bottom:0.75rem;display:flex;align-items:center;gap:0.45rem;padding:0.4rem 0.7rem 0.4rem 0.55rem;border-radius:999px;background:rgba(10,10,10,0.82);color:#f2f2f2;font-size:0.75rem;letter-spacing:0.02em}
.mrole{margin-top:0.75rem;font-size:0.8rem;line-height:1.3;color:#3d3d3d;text-align:center;white-space:nowrap}
.maward{display:flex;align-items:flex-end;justify-content:center;gap:0.6rem;margin-top:0.9rem}
.maward img{display:block;height:4.5rem;width:auto}
.maward div{font-size:0.75rem;line-height:1.35;color:#0a0a0a;padding-bottom:0.15rem;max-width:8.5rem}
.maward span{color:#4a4a4a}

/* pizza */
.sec-pizza{box-sizing:border-box;width:100%;background:#ffffff;color:#0a0a0a;padding:6rem 0}
.pizza-item{flex:0 0 auto;width:26rem}
.pizza-item img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;background:#eeeeee;box-shadow:0 8px 24px rgba(0,0,0,0.15)}
.pizza-title{margin-top:0.75rem;font-size:0.85rem;line-height:1.3;color:#3d3d3d}
.pizza-text{margin-top:2.5rem}
.pizza-text p{margin:0;max-width:38rem;font-size:1.05rem;line-height:1.75;color:#2b2b2b}

/* ---------- commercial ---------- */
.sec-commercial{box-sizing:border-box;width:100%;background:linear-gradient(to bottom,#242424,#3a3a3a);color:#f2f2f2;padding:6rem 0}
.video-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2.5rem 1.5rem}
.vcard{display:flex;flex-direction:column;gap:0.9rem;color:#f2f2f2;text-decoration:none}
a.vcard:hover{color:#f2f2f2}
.vthumb{position:relative;width:100%;aspect-ratio:16/9;background:rgba(255,255,255,0.08);display:flex;align-items:center;justify-content:center;overflow:hidden}
.vthumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.vplay{position:relative;width:3.5rem;height:3.5rem;border-radius:50%;border:1.5px solid #f2f2f2;background:rgba(0,0,0,0.45);display:flex;align-items:center;justify-content:center;box-sizing:border-box}
.vplay-corner{position:absolute;left:1rem;bottom:1rem}
.vtext{display:flex;flex-direction:column;gap:0.3rem}
.vtitle{font-size:1rem;font-weight:500}
.vsub{font-size:0.85rem;color:#a8a8a8}
.vsub-hi{color:#f2f2f2}

/* ---------- podcast ---------- */
.sec-podcast{box-sizing:border-box;width:100%;background:linear-gradient(to bottom,#3a3a3a 0%,#a6a6a6 20%,#c4c4c4 100%);color:#0a0a0a;padding:6rem 0}
.sec-podcast .sec-title{color:#0a0a0a}
.pod-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2rem 1.5rem}
.pod{display:flex;flex-direction:column;gap:0.8rem;color:#0a0a0a;text-decoration:none}
.pod:hover{color:#0a0a0a}
.pod img{display:block;width:100%;aspect-ratio:1/1;object-fit:cover;box-shadow:0 8px 24px rgba(0,0,0,0.2);transition:transform .2s}
.pod:hover img{transform:translateY(-3px)}
.pod-text{display:flex;flex-direction:column;gap:0.25rem}
.pod-title{font-size:0.95rem;font-weight:500}
.pod-role{font-size:0.8rem;color:#0a0a0a}
.pod-net{font-size:0.8rem;color:#3d3d3d}

/* ---------- publications ---------- */
.sec-pubs{box-sizing:border-box;width:100%;background:linear-gradient(to bottom,#e6e6e6,#ffffff);color:#0a0a0a;padding:6rem 0}
.pub-list{display:flex;flex-direction:column;border-top:1px solid #0a0a0a;max-width:64rem}
.pub{box-sizing:border-box;width:100%;display:grid;grid-template-columns:minmax(0,1fr) 16rem;gap:0.5rem 2rem;padding:1.4rem 0;border-bottom:1px solid #b9b9b9;color:#0a0a0a;text-decoration:none}
.pub:hover{color:#0a0a0a}
.pub-main{display:flex;flex-direction:column;gap:0.45rem;min-width:0}
.pub-title{font-size:1.05rem;font-weight:500;line-height:1.4}
.pub:hover .pub-title{text-decoration:underline;text-underline-offset:0.2em}
.pub-authors{font-size:0.8rem;color:#5c5c5c}
.pub-meta{display:flex;flex-direction:column;gap:0.3rem;font-size:0.85rem;color:#3d3d3d;text-align:right}

/* ---------- about + contact ---------- */
.sec-about{box-sizing:border-box;width:100%;background:#ffffff;color:#0a0a0a;padding:4rem 0 6rem 0}
.about-grid{box-sizing:border-box;width:100%;max-width:90rem;margin:0 auto;padding:4rem 3rem 0 3rem;border-top:1px solid #dcdcdc;display:grid;grid-template-columns:13rem minmax(0,1fr);gap:3.5rem;align-items:start}
.portrait{display:block;width:100%;aspect-ratio:1/1;object-fit:cover;object-position:50% 30%}
.about-col{display:flex;flex-direction:column;gap:2.5rem;max-width:36rem}
.about-block{display:flex;flex-direction:column;gap:1.25rem}
.bio{margin:0;font-size:1rem;line-height:1.7;color:#2b2b2b}
.contact-block{display:flex;flex-direction:column;gap:1rem}
.contact-list{display:flex;flex-direction:column;gap:0.6rem;align-items:flex-start}
.email-row{display:flex;flex-wrap:wrap;align-items:center;gap:0.75rem}
.email-text{color:#0a0a0a;font-size:0.95rem;user-select:all;-webkit-user-select:all}
.email-btn{padding:0.35rem 0.7rem;border:1px solid #0a0a0a;color:#0a0a0a;font-size:0.8rem}
.email-btn:hover{background:#0a0a0a;color:#ffffff}
.email-btn:focus-visible{outline:2px solid #0a0a0a;outline-offset:3px}
.imdb-small{color:#0a0a0a;text-decoration:underline;text-underline-offset:0.2em;font-size:0.95rem}
.imdb-small:hover{color:#5c5c5c}

/* ---------- overlays ---------- */
[hidden]{display:none !important}
.lb-close,.lb-close-dark{border:none;border-radius:50%;background:transparent;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0}
.lb-close{color:#f2f2f2}
.lb-close:hover{background:rgba(255,255,255,0.12)}
.lb-close:focus-visible{outline:2px solid #f2f2f2;outline-offset:2px}
.lb-close-dark{color:#0a0a0a}
.lb-close-dark:hover{background:rgba(0,0,0,0.08)}
.lb-close-dark:focus-visible{outline:2px solid #0a0a0a;outline-offset:2px}

.lightbox{position:fixed;inset:0;z-index:50;background:rgba(0,0,0,0.92);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1.25rem;padding:4rem 2rem;box-sizing:border-box;outline:none;font-family:'IBM Plex Mono','Courier New',monospace;color:#f2f2f2}
.lightbox .lb-close{position:absolute;top:1.25rem;right:1.5rem;width:3rem;height:3rem}
#lb-video{display:block;width:min(100%,75rem);max-height:80%;aspect-ratio:16/9;background:#000000}
.lb-frame{width:min(100%,75rem,calc(80vh * 16 / 9));aspect-ratio:16/9;background:#000000}
.lb-frame iframe{display:block;width:100%;height:100%;border:0}
.lb-ext{width:min(100%,75rem);font-size:0.8rem;color:#8f8f8f;text-align:right}
.lb-ext:hover{color:#f2f2f2}
.p-vimeo iframe{display:block;width:100%;aspect-ratio:16/9;border:0;background:#000000}
.lb-caption{width:min(100%,75rem);display:flex;justify-content:space-between;align-items:baseline;gap:1rem;font-size:0.95rem}
#lb-title{font-weight:500}
#lb-credit{color:#a8a8a8}

.panel-overlay{position:fixed;inset:0;z-index:50;background:rgba(10,10,10,0.82);display:flex;align-items:center;justify-content:center;padding:2rem;box-sizing:border-box;outline:none;font-family:'IBM Plex Mono','Courier New',monospace}
.panel-card{position:relative;width:min(100%,52rem);background:#f4f4f1;color:#0a0a0a;display:grid;grid-template-columns:14rem minmax(0,1fr);gap:2rem;padding:2rem;box-sizing:border-box;max-height:100%;box-shadow:0 20px 60px rgba(0,0,0,0.4)}
.panel-card .lb-close-dark{position:absolute;top:0.75rem;right:0.75rem;width:2.5rem;height:2.5rem}
#p-img{display:block;width:100%;aspect-ratio:2/3;object-fit:cover}
.panel-body{display:flex;flex-direction:column;gap:1.5rem;min-width:0;min-height:0;padding-top:0.5rem;overflow-y:auto}
.p-head{display:flex;flex-direction:column;gap:0.4rem;padding-right:2.5rem}
.p-title{font-size:1.5rem;font-weight:500;letter-spacing:-0.01em}
.p-note{font-size:0.85rem;color:#5c5c5c}
.p-award{display:flex;align-items:flex-end;gap:0.75rem;margin-top:0.75rem}
.p-award img{display:block;height:5.5rem;width:auto}
.p-award div{font-size:0.8rem;line-height:1.4;color:#0a0a0a;padding-bottom:0.2rem}
.p-award span{color:#5c5c5c}
.tracks{display:flex;flex-direction:column;border-top:1px solid #0a0a0a}
.track{display:flex;flex-direction:column;gap:0.6rem;padding:1rem 0;border-bottom:1px solid #cfcfca}
.track-row{display:flex;align-items:center;gap:1rem}
.tplay{flex:0 0 auto;width:2.5rem;height:2.5rem;border-radius:50%;border:1.5px solid #0a0a0a;background:transparent;color:#0a0a0a;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0;box-sizing:border-box}
.tplay.active{background:#0a0a0a;color:#f4f4f1}
.tplay:focus-visible{outline:2px solid #0a0a0a;outline-offset:2px}
.t-num,.t-time{font-size:0.85rem;color:#5c5c5c}
.t-title{flex:1 1 auto;font-size:1rem;font-weight:500;min-width:0}
.tbar{position:relative;height:0.9rem;cursor:pointer;display:flex;align-items:center}
.tbar-line{position:relative;width:100%;height:2px;background:#cfcfca}
.tbar-fill{position:absolute;left:0;top:0;bottom:0;width:0;background:#0a0a0a}
.p-watch{display:inline-flex;align-items:center;gap:0.6rem;align-self:flex-start;padding:0.7rem 1rem;border:1.5px solid #0a0a0a;color:#0a0a0a;text-decoration:none;font-size:0.85rem}
.p-watch:hover{color:#0a0a0a;background:rgba(0,0,0,0.05)}
.p-video{display:flex;flex-direction:column;gap:0.75rem}
.p-video-label{font-size:0.85rem;color:#5c5c5c}
.p-video-box{position:relative;width:100%}
.p-video-box video{display:block;width:100%;aspect-ratio:16/9;background:#000000}
.vstart{position:absolute;inset:0;display:flex;align-items:center;justify-content:center}
.vstart-dot{width:3.75rem;height:3.75rem;border-radius:50%;border:1.5px solid #f2f2f2;background:rgba(10,10,10,0.55);display:flex;align-items:center;justify-content:center;box-shadow:0 4px 16px rgba(0,0,0,0.35);box-sizing:border-box;transition:transform .2s,background .2s}
.vstart:hover .vstart-dot{transform:scale(1.08);background:rgba(10,10,10,0.75)}
.vstart:focus-visible .vstart-dot{outline:2px solid #f2f2f2;outline-offset:3px}

.reader{position:fixed;inset:0;z-index:60;background:rgba(10,10,10,0.92);display:flex;flex-direction:column;outline:none;font-family:'IBM Plex Mono','Courier New',monospace;color:#f2f2f2}
.reader-bar{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.5rem;border-bottom:1px solid #2e2e2e}
.reader-head{font-size:0.9rem;min-width:0}
.reader-head span{color:#8f8f8f}
.reader-bar .lb-close{flex:0 0 auto;width:2.75rem;height:2.75rem}
.reader-scroll{flex:1 1 auto;min-height:0;overflow-y:auto;padding:2rem 1rem 4rem 1rem}
.reader-pages{width:min(100%,52rem);margin:0 auto;display:flex;flex-direction:column;gap:1.5rem}
.reader-pages img{display:block;width:100%;height:auto;box-shadow:0 10px 40px rgba(0,0,0,0.5)}

/* ---------- phones ---------- */
/* ---------- phones + tablets ----------
   The whole layout is the desktop layout scaled down to the screen width
   (everything is sized in rem, so shrinking the root size shrinks it all
   proportionally). Small text is nudged up a little so it stays readable. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
@media (max-width:900px){
  html{font-size:calc(100vw / 54)}
  .nav a{font-size:1.3rem}
  .full-name{font-size:1.9rem}
  .tagline{font-size:1.3rem}
  .imdb-big{font-size:1.9rem}
  .film-role{font-size:1.2rem}
  .film-role span{white-space:normal}
  .vtitle{font-size:1.4rem}
  .vsub{font-size:1.2rem}
  .pod-title{font-size:1.3rem}
  .pod-role,.pod-net{font-size:1.15rem}
  .mrole{font-size:1.15rem;white-space:normal}
  .mcount{font-size:1.05rem}
  .maward div{font-size:1.05rem;max-width:10rem}
  .pub-title{font-size:1.45rem}
  .pub-authors{font-size:1.15rem}
  .pub-meta{font-size:1.15rem}
  .pizza-title{font-size:1.2rem}
  .pizza-text p{font-size:1.5rem}
  .bio{font-size:1.5rem}
  .email-text,.imdb-small{font-size:1.35rem}
  .email-btn{font-size:1.15rem}
  .lb-caption{font-size:1.3rem}
  .lb-ext{font-size:1.15rem}
  .p-title{font-size:2rem}
  .p-note,.p-award div,.p-video-label,.p-watch{font-size:1.2rem}
  .t-title{font-size:1.35rem}
  .t-num,.t-time{font-size:1.15rem}
  .tplay{width:3.25rem;height:3.25rem}
  .reader-head{font-size:1.2rem}
}
@media (prefers-reduced-motion:reduce){html,.reel{scroll-behavior:auto}.arrow{transition:none}}
