/* ══════════════════════════════════════════════════════════════
   hasse.tv — the editor.
   bradhasse.com is the director: yellow, cream, physical comedy.
   This is the clean page beside it. Each kind of work gets a pale tint
   of an edit-bay label colour (the colours an editor tags clips with in
   a bin), and there is exactly one accent: playhead red, used only for
   the playhead on a hovered clip and the mark under the current tab.
   ══════════════════════════════════════════════════════════════ */
:root{
  --paper:#FFFFFF; --panel:#F1EFED; --line:rgba(17,16,19,0.12);
  --text:#111013; --dim:#77717A; --bright:#FFFFFF;
  --ease:cubic-bezier(.22,.61,.36,1);
  --mono:'IBM Plex Mono',ui-monospace,monospace;
  --red:#E8392F;
  /* bin label tints */
  --t-comedy:#FAF1CF; --t-nonscripted:#E3EDE0; --t-movement:#DCE8F3; --t-narrative:#F5E1E0;
}
body.tint-comedy{--paper:var(--t-comedy)}
body.tint-nonscripted{--paper:var(--t-nonscripted)}
body.tint-movement{--paper:var(--t-movement)}
body.tint-narrative{--paper:var(--t-narrative)}
/* Paper grain: fractal noise multiplied over the tint, fixed behind the
   content, so the colour reads as printed stock rather than a flat fill.
   The films sit above it and stay clean. */
body::before{content:''; position:fixed; inset:0; z-index:0; pointer-events:none;
  opacity:.5; mix-blend-mode:multiply;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}
.wrap,footer{position:relative; z-index:1}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%}
body{background:var(--paper); color:var(--text);
  font-family:'Archivo',system-ui,sans-serif; font-size:16px; line-height:1.5;
  -webkit-font-smoothing:antialiased; overflow-x:clip}
::selection{background:var(--text); color:var(--paper)}
a{color:inherit}
.wrap{max-width:1360px; margin:0 auto; padding:0 clamp(20px,4vw,56px)}

/* ══ TOP BAR ══
   The name on the left, the tabs on the right — the same set the old
   hasse.tv had, one page each. The current page is dark, with a short
   playhead-red mark under it. */
.bar{display:flex; align-items:baseline; justify-content:space-between; gap:20px;
  padding-top:clamp(20px,3.4vh,32px)}
.bar-name{font:500 11px/1 var(--mono); letter-spacing:.28em; text-transform:uppercase;
  color:var(--text); text-decoration:none}
.bar-name span{color:var(--dim)}
.bar-links{display:flex; flex-wrap:wrap; gap:10px clamp(14px,2.4vw,30px); list-style:none}
.bar-links a{font:400 11px/1 var(--mono); letter-spacing:.14em; text-transform:uppercase;
  color:var(--dim); text-decoration:none; transition:color .2s}
.bar-links a:hover,.bar-links a[aria-current="page"]{color:var(--text)}
.bar-links a[aria-current="page"]{box-shadow:0 7px 0 -5px var(--red)}
@media(max-width:560px){
  .bar{flex-direction:column; gap:14px}
  .bar-links{gap:10px 18px}
}

/* ══ HEADER ══ */
header{padding:clamp(40px,7vh,84px) 0 clamp(26px,4vh,40px)}
.who{font-family:var(--mono); font-size:11px; letter-spacing:.28em;
  text-transform:uppercase; color:var(--dim); margin-bottom:clamp(20px,3vh,32px)}
h1{font-weight:800; font-size:clamp(34px,6.4vw,82px); line-height:.98;
  letter-spacing:-.035em; max-width:19ch; text-wrap:balance}
h1 span{color:var(--dim)}
.page-h{max-width:none; font-size:clamp(30px,4.6vw,60px); padding-bottom:clamp(22px,3.4vh,34px); border-bottom:1px solid var(--line)}
.sub{margin-top:clamp(18px,2.6vh,26px); max-width:58ch; color:var(--dim);
  font-size:clamp(14px,1.15vw,16px); line-height:1.65}

/* ══ GRID ══
   Tight, like a contact sheet: a 6px gutter, so the page reads as one wall
   of footage. Titles and run times sit on the picture in white, over a
   soft scrim. The first film on every page leads at double size (two
   columns, two rows); two-up it just runs full width. */
.grid{display:grid; grid-template-columns:repeat(3,1fr); gap:6px;
  grid-auto-flow:row dense; padding-bottom:clamp(60px,10vh,120px)}
@media(max-width:900px){.grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:520px){.grid{grid-template-columns:1fr}}
.film{position:relative; min-width:0}
.grid > .film:first-child{grid-column:span 2; grid-row:span 2}
.grid > .film:first-child .frame{aspect-ratio:auto; height:100%; min-height:100%}
@media(max-width:900px){.grid > .film:first-child{grid-row:auto} .grid > .film:first-child .frame{aspect-ratio:16/9; height:auto}}
@media(max-width:520px){.grid > .film:first-child{grid-column:auto}}

.frame{position:relative; display:block; width:100%; aspect-ratio:16/9; overflow:hidden;
  background:var(--panel) center/cover no-repeat; border:0; padding:0; cursor:pointer}
.frame .cover{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block;
  transition:transform .7s var(--ease)}
.frame:hover .cover,.frame:focus-visible .cover{transform:scale(1.03)}
.frame:focus-visible{outline:2px solid var(--text); outline-offset:2px; z-index:5}
/* the scrim that keeps white type legible on any frame */
.frame::after{content:''; position:absolute; left:0; right:0; bottom:0; height:55%; z-index:1;
  background:linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,.58)); pointer-events:none}

.play{position:absolute; inset:0; z-index:2; display:flex; align-items:center;
  justify-content:center; opacity:0; transition:opacity .35s var(--ease)}
.frame:hover .play,.frame:focus-visible .play{opacity:1}
.play::before{content:''; position:absolute; width:46px; height:46px; border-radius:50%;
  background:var(--bright); transition:transform .35s var(--ease)}
.play svg{position:relative; z-index:1; width:15px; height:17px; fill:var(--text); margin-left:2px}
.frame:hover .play::before{transform:scale(1.08)}

/* the playhead: runs along the bottom of a hovered clip in step with its loop */
.ph{position:absolute; left:0; bottom:0; height:3px; width:100%; z-index:3; background:var(--red);
  transform:scaleX(0); transform-origin:left; opacity:0; transition:opacity .2s; pointer-events:none}
.frame:hover .ph,.frame:focus-visible .ph{opacity:1}
.ph.sweep{animation:sweep 4s linear infinite}
@keyframes sweep{from{transform:scaleX(0)} to{transform:scaleX(1)}}

.title,.rt{position:absolute; z-index:4; bottom:12px; color:#fff; pointer-events:none;
  text-shadow:0 1px 2px rgba(0,0,0,.35)}
.title{left:14px; right:64px; font-weight:700; font-size:clamp(13px,1.02vw,15px);
  line-height:1.25; letter-spacing:-.012em}
.rt{right:14px; font:400 10px/1.25 var(--mono); letter-spacing:.12em}
.grid > .film:first-child .title{font-size:clamp(16px,1.6vw,22px); left:18px; bottom:16px}
.grid > .film:first-child .rt{right:18px; bottom:18px}
/* [dc] — there for anyone who looks, easy to miss for anyone who doesn't */
.title .cut{color:rgba(255,255,255,.5); font:400 .82em/1 var(--mono); letter-spacing:.04em; white-space:nowrap}
.lb-title .cut{color:rgba(255,255,255,.45); font:400 .82em/1 var(--mono)}

/* ══ PLAYER POP-UP ══
   The one dark surface on the site, and only while a film is playing:
   a screening room, so the picture is the brightest thing in view. */
html.lb-open{overflow:hidden}
.lb{position:fixed; inset:0; z-index:100; background:rgba(17,16,19,.94);
  display:flex; align-items:center; justify-content:center; opacity:0; transition:opacity .25s var(--ease)}
.lb[hidden]{display:none}
.lb.in{opacity:1}
.lb-inner{width:min(1280px, 92vw, calc((100vh - 140px) * 16 / 9)); display:flex; flex-direction:column}
.lb-frame{position:relative; aspect-ratio:16/9; background:#000}
.lb-frame iframe{position:absolute; inset:0; width:100%; height:100%; border:0}
.lb-bar{display:flex; align-items:center; justify-content:space-between; gap:18px; margin-top:14px; min-height:36px}
.lb-title{color:#fff; font-weight:700; font-size:clamp(14px,1.2vw,17px); letter-spacing:-.01em}
.lb-sound{display:inline-flex; align-items:center; gap:8px; flex:none; cursor:pointer;
  font:500 11px/1 var(--mono); letter-spacing:.14em; text-transform:uppercase;
  color:var(--text); background:#fff; border:0; border-radius:999px; padding:10px 16px}
.lb-sound[hidden]{display:none}
.lb-sound svg{width:15px; height:15px; fill:currentColor; stroke:currentColor; stroke-width:1.6}
.lb-close{position:absolute; top:clamp(14px,2.4vh,26px); right:clamp(14px,2.4vw,30px); width:44px; height:44px;
  display:flex; align-items:center; justify-content:center; background:none; border:0; cursor:pointer; color:#fff; opacity:.75; transition:opacity .2s}
.lb-close:hover,.lb-close:focus-visible{opacity:1}
.lb-close svg{width:20px; height:20px; stroke:currentColor; stroke-width:2; fill:none}
@media(max-width:620px){.lb-inner{width:100vw} .lb-bar{padding:0 16px}}

/* ══ SPLASH ══
   The way in: the name, then one door per kind of work. Each door is a
   loop from that page, so the home page is already showing the work. */
.bar-splash{justify-content:flex-end}
.splash{padding:clamp(40px,7vh,84px) 0 clamp(24px,4vh,44px)}
.splash h1{font-size:clamp(34px,5vw,68px); max-width:none; line-height:.95}
.splash h1 span{display:block}
.doors{display:grid; grid-template-columns:repeat(2,1fr); gap:clamp(22px,2.6vw,40px) clamp(14px,1.8vw,26px);
  padding-bottom:clamp(60px,10vh,120px)}
@media(max-width:620px){.doors{grid-template-columns:1fr}}
.door{display:block; text-decoration:none; color:var(--text); padding:clamp(10px,1.1vw,16px) clamp(10px,1.1vw,16px) clamp(12px,1.4vw,18px)}
.door-comedy{background:var(--t-comedy)} .door-nonscripted{background:var(--t-nonscripted)}
.door-movement{background:var(--t-movement)} .door-narrative{background:var(--t-narrative)}
.door-media{position:relative; display:block; aspect-ratio:16/9; overflow:hidden;
  background:var(--panel) center/cover no-repeat; transition:transform .4s var(--ease), box-shadow .4s var(--ease)}
.door .cover{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block;
  transition:transform .7s var(--ease)}
.door:hover .door-media,.door:focus-visible .door-media{transform:translateY(-3px); box-shadow:0 14px 30px -18px rgba(17,16,19,.55)}
.door:hover .cover{transform:scale(1.03)}
.door:focus-visible{outline:none}
.door:focus-visible .door-media{outline:2px solid var(--text); outline-offset:3px}
.door-label{display:block; margin-top:12px; font-weight:800; font-size:clamp(20px,2.2vw,30px); letter-spacing:-.025em}
.door-label span{display:inline-block; color:var(--dim); transition:transform .3s var(--ease), color .3s}
.door:hover .door-label span{transform:translateX(5px); color:var(--text)}

/* ══ BIO & CONTACT ══
   Three columns on a wide screen, everything at reading size rather than
   display size: a modest photo, the bio, and a narrow rail of facts —
   how to reach him, where else he is, who he has cut for. Two columns on
   a tablet (the rail drops under the photo), one on a phone. */
.about{display:grid; grid-template-columns:4fr 5fr 3fr; gap:clamp(28px,3.4vw,56px);
  align-items:start; padding:clamp(28px,4vh,44px) 0 clamp(60px,10vh,120px)}
@media(max-width:1060px){.about{grid-template-columns:5fr 7fr} .about-bio{grid-row:span 2} .about-side{grid-column:1}}
@media(max-width:700px){.about{grid-template-columns:1fr} .about-bio{grid-row:auto}}
.label{font:500 10px/1 var(--mono); letter-spacing:.24em; text-transform:uppercase;
  color:var(--dim); margin-bottom:14px}
.about-photo{margin:0}
.about-photo img{display:block; width:100%; height:auto; background:var(--panel)}
.about-photo figcaption{margin-top:10px; font:400 10px/1.4 var(--mono); letter-spacing:.16em;
  text-transform:uppercase; color:var(--dim)}
.about-bio p{font-size:15px; line-height:1.7; max-width:58ch; margin-bottom:1.1em}
.about-bio a,.about-side a{text-decoration:none; border-bottom:1px solid var(--line); transition:border-color .2s}
.about-bio a:hover,.about-side a:hover{border-color:var(--text)}
.about-direct{margin-top:1.8em; padding-top:1.1em; border-top:1px solid var(--line); color:var(--dim)}
.about-direct a{color:var(--text)}
.about-side section{padding-bottom:22px; margin-bottom:22px; border-bottom:1px solid var(--line)}
.about-side section:last-child{border-bottom:0; margin-bottom:0}
.about-side p{font-size:14px; font-weight:500; line-height:1.5; margin-bottom:4px}
.profiles{display:flex; flex-wrap:wrap; gap:6px 16px; list-style:none}
.profiles a{font:400 12px/1.6 var(--mono); letter-spacing:.06em; color:var(--text)}
.clients{list-style:none; font-size:13px; line-height:1.75; color:var(--text)}

/* ══ FOOTER ══ */
footer{border-top:1px solid var(--line); padding:clamp(40px,7vh,76px) 0 clamp(36px,6vh,64px)}
.foot-h{font-weight:800; font-size:clamp(22px,3.2vw,40px); letter-spacing:-.03em; line-height:1.05}
.foot-links{margin-top:clamp(20px,3vh,28px); display:flex; flex-wrap:wrap; gap:10px 26px;
  font:400 13px/1 var(--mono); letter-spacing:.06em}
.foot-links a,.foot-links span{color:var(--dim); text-decoration:none; transition:color .2s}
.foot-links a:hover{color:var(--text)}
/* The address is plain text, not a mailto: — same call as bradhasse.com.
   People paste it into whatever client they actually use, and one click
   selects all of it. */
.copy{user-select:all;-webkit-user-select:all;cursor:text}
.rule{margin-top:clamp(34px,5vh,54px); font:400 10px/1 var(--mono);
  letter-spacing:.22em; text-transform:uppercase; color:var(--dim); opacity:.6}

/* ══ 404 ══ */
.lost{min-height:70vh; display:flex; flex-direction:column; justify-content:center}
.lost h1{max-width:none}
.lost .back{margin-top:34px; align-self:flex-start; font:500 12px/1 var(--mono);
  letter-spacing:.14em; text-transform:uppercase; color:var(--paper); background:var(--text);
  border-radius:999px; padding:12px 18px; text-decoration:none}

@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
