:root { --wall: #1d1f1a; --ink: #15120e; --news: #e9e3d2; color-scheme: light; }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--wall); }
body { font-family: "Old Standard TT", Georgia, serif; color: var(--ink); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
body.modal { overflow: hidden; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 3px solid #f6d33c; outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- the hoarding: painted plywood, seams, old paste ---------- */
#hoarding { position: relative; min-height: 100vh; padding: 28px 0 0; overflow-x: clip;
  background:
    linear-gradient(90deg, rgba(0,0,0,.55) 0 2px, transparent 2px) 0 0 / 1220px 100%,
    linear-gradient(180deg, rgba(0,0,0,.45) 0 2px, transparent 2px) 0 0 / 100% 2440px,
    radial-gradient(ellipse at 30% 20%, rgba(255,255,255,.05), transparent 60%),
    var(--ply, none) 0 0 / 512px 512px,
    var(--wall); }
#wall { position: relative; margin: 0 auto; }
.scraps { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.scraps i { position: absolute; opacity: .5; filter: saturate(.55) brightness(.85) contrast(.9); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
#street { position: fixed; inset: 0; pointer-events: none; z-index: 900; mix-blend-mode: multiply; opacity: 0; transition: opacity 2s; }
body.dusk #street { opacity: .55; background: linear-gradient(180deg, rgba(255,170,90,.35), rgba(80,60,120,.35)); }
body.night #street { opacity: 1; background: radial-gradient(ellipse 80vw 100vh at 78% -10%, rgba(255,214,140,.55), rgba(120,110,150,.75) 60%, rgba(60,60,100,.85)); }
body.night #hoarding::before { content: ""; position: fixed; top: -40px; right: 18vw; width: 180px; height: 60px; border-radius: 50%; background: radial-gradient(#fff6d0, rgba(255,210,120,.0) 70%); filter: blur(6px); z-index: 901; pointer-events: none; }

/* ---------- a bill ---------- */
.poster { position: absolute; transform: rotate(var(--rot, 0deg)); }
.poster.paste { animation: paste .5s cubic-bezier(.2,.9,.3,1.2) both; }
@keyframes paste { 0% { opacity: 0; transform: rotate(var(--rot)) translateY(-14px) scale(1.04); } 60% { opacity: 1; } 100% { opacity: 1; transform: rotate(var(--rot)); } }
.sheet-p { position: absolute; inset: 0; background: var(--paper); overflow: hidden;
  box-shadow: 0 1px 0 rgba(255,255,255,.15) inset; }
.sheet-p::before { /* wheatpaste: wrinkles where the brush dragged the wet sheet */
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background:
    linear-gradient(97deg, transparent 0 18%, rgba(0,0,0,.07) 18.4%, transparent 19.6%, transparent 62%, rgba(255,255,255,.1) 62.3%, rgba(0,0,0,.06) 63%, transparent 64%),
    linear-gradient(176deg, transparent 0 40%, rgba(0,0,0,.05) 40.5%, transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(0,0,0,.08));
}
.poster:nth-child(3n) .sheet-p::before { transform: scaleX(-1); }
.poster:nth-child(4n+1) .sheet-p::before { transform: scaleY(-1); }
.paste .sheet-p::after { content: ""; position: absolute; inset: 0; z-index: 4; background: linear-gradient(120deg, rgba(255,255,255,.18), rgba(0,0,0,.12)); animation: dry 3.5s ease-out .4s both; pointer-events: none; }
@keyframes dry { to { opacity: 0; } }
.voids { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: var(--paper);
  -webkit-mask: var(--voids) 0 0 / 320px 320px; mask: var(--voids) 0 0 / 320px 320px; opacity: .75; }
.fibre { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: var(--fibre) 0 0 / 256px; mix-blend-mode: multiply; opacity: .32; }
.type { position: absolute; display: flex; flex-direction: column; justify-content: space-evenly; align-items: center; z-index: 1; }
.ln { display: block; width: 100%; text-align: center; text-transform: uppercase; filter: url(#press); }
.ln.keep { text-transform: none; }
.ln .r { display: block; white-space: nowrap; line-height: 1; overflow: visible; }
.ln .r::selection { background: #f6d33c; }
.ln .r { transform: translateY(var(--sh, 0)); }
.ln .r.tiny { text-transform: lowercase; display: flex; align-items: center; justify-content: center; gap: .4em; font-style: italic; }
.ln .r.tiny::before, .ln .r.tiny::after { content: ""; flex: 0 1 18%; border-top: 2px solid currentColor; transform: translateY(-.15em); }
.ln .slash, .ln.small .slash { display: none; }
.ln.rev .r { color: var(--paper); }
.ln.fount .r { background-image: linear-gradient(90deg, var(--i1), var(--i2) 50%, var(--i3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ln.small { margin: 0; text-transform: none; font-family: "Old Standard TT", serif; font-style: italic; line-height: 1.18; text-wrap: balance; }
.ln-row { display: flex; justify-content: center; align-items: center; width: 100%; font-family: "League Gothic", sans-serif; text-transform: uppercase; line-height: 1; gap: calc(var(--sep) * .3); }
.ln-row .dia { width: .16em; height: .16em; background: currentColor; transform: rotate(45deg); flex: none; margin: 0 .12em; }
.orn { width: 100%; flex: none; }
.orn.rule { border-top: 2px solid var(--i1); }
.orn.rule2 { border-top: 3px solid var(--i1); border-bottom: 1px solid var(--i1); }
.orn.dots { background: radial-gradient(circle, var(--i2) 34%, transparent 38%) center / 14px 100% repeat-x; }
.orn.square { display: flex; justify-content: center; }
.orn.square::before { content: ""; height: 100%; aspect-ratio: 1; background: #c8962b; }
.orn.stars { display: flex; justify-content: center; gap: 4%; color: var(--i2); }
.orn.stars svg { height: 100%; width: auto; fill: currentColor; }
.imprint { position: absolute; left: 7%; right: 7%; bottom: 1.6%; z-index: 1; display: flex; align-items: center; justify-content: center; gap: .3em;
  border-top: 1px solid color-mix(in srgb, var(--i1) 60%, transparent); color: var(--i1); font-family: "Old Standard TT", serif; text-transform: uppercase; letter-spacing: .14em; white-space: nowrap; overflow: hidden; }
.imprint i { font-style: normal; opacity: .7; }

/* under: an older bill, its edges peeking out */
.sheet-p.under { transform: translate(var(--ux, 4px), var(--uy, 6px)) rotate(.8deg); filter: saturate(.8) brightness(.96); }
.sheet-p.under .type, .sheet-p.under .imprint { visibility: hidden; }
.torn .sheet-p.under .type, .torn .sheet-p.under .imprint { visibility: visible; }
.torn .sheet-p.under { transform: none; }
.tearing .sheet-p.top { animation: tear .7s cubic-bezier(.5,0,.8,.4) forwards; transform-origin: 0 0; }
@keyframes tear { 0% { clip-path: none; } 30% { transform: rotate(-2deg); } 100% { transform: translate(-30px, 120%) rotate(-28deg); opacity: 0; } }
.torn .sheet-p.top, .torn .curl, .torn .snipe { display: none; }
.hit { position: absolute; inset: 0; z-index: 6; cursor: pointer; }
.hit:hover ~ .curl, .curl:hover, .curl:focus-visible { width: 15%; }
.curl { position: absolute; right: 0; bottom: 0; z-index: 7; width: 8%; aspect-ratio: 1; min-width: 26px; transition: width .25s;
  background: linear-gradient(135deg, transparent 50%, rgba(0,0,0,.35) 50%, #e8e0cc 56%, #fff8e8 70%, #cfc5ad 100%);
  filter: drop-shadow(-3px -3px 3px rgba(0,0,0,.25)); }
.poster:hover .sheet-p.top { filter: brightness(1.04); }
.poster .hit:focus-visible { outline: 4px solid #f6d33c; outline-offset: -4px; }
.snipe { position: absolute; z-index: 5; right: -3%; top: 9%; transform: rotate(var(--ang)); transform-origin: 100% 0; display: flex; justify-content: center; align-items: center; box-shadow: 0 2px 3px rgba(0,0,0,.25); }
.snipe .type { position: relative !important; }

/* the title bill */
.poster.title .sheet-p { clip-path: polygon(0 .4%, 100% 0, 99.6% 100%, .3% 99.5%); }
.poster.title .type { justify-content: flex-start; }
.tname { display: block; width: 100%; cursor: pointer; }
.tname-in { position: relative; display: flex; flex-direction: column; justify-content: space-evenly; }
.tname:hover .r { filter: brightness(1.15); }
.prog { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 1em; width: 100%; font-family: "Old Standard TT", serif; text-transform: uppercase; letter-spacing: .05em; line-height: 1.32; color: var(--i2); }
.prog li { break-inside: avoid; }
.prog button { text-align: left; font-weight: 700; padding: 1px 0; }
.prog button:hover { color: var(--i1); text-decoration: underline 2px; }
.stencil { position: absolute; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.stencil span { font-family: "Big Shoulders Stencil Display", "Anton", sans-serif; font-weight: 800; color: rgba(236,230,210,.5); letter-spacing: .2em; font-size: clamp(20px, 2.4vw, 34px); white-space: nowrap; filter: blur(.3px);
}

/* tabs */
#tabs { position: fixed; top: 10px; right: 10px; z-index: 1000; display: flex; gap: 6px; }
.tab { background: #f2eee2; color: #15120e; font-family: "Anton", sans-serif; text-transform: uppercase; letter-spacing: .06em; font-size: 15px; padding: 7px 12px 6px; transform: rotate(-1.5deg); box-shadow: 0 2px 4px rgba(0,0,0,.35); clip-path: polygon(0 4%, 100% 0, 98% 100%, 2% 96%); }
.tab + .tab { background: #f1cf45; transform: rotate(1.2deg); }
.tab:hover { background: #fff; }
body.modal #tabs { display: none; }

/* ---------- sheets: the opened bill, the index, about ---------- */
.sheet-wrap { position: fixed; inset: 0; z-index: 2000; overflow-y: auto; overscroll-behavior: contain; background: rgba(12,13,10,.72); padding: 3vh 3vw; }
.sheet-wrap[hidden] { display: none; }
.sheet { position: relative; margin: 0 auto; max-width: 1240px; min-height: 94vh; padding: 28px clamp(16px, 4vw, 56px) 40px; }
.bill-paper { background: var(--news); box-shadow: 0 30px 80px rgba(0,0,0,.6); clip-path: polygon(0 .3%, 40% 0, 100% .2%, 99.8% 99.7%, 60% 100%, .2% 99.8%); animation: unfold .45s cubic-bezier(.2,.8,.2,1) both; }
@keyframes unfold { from { transform: translateY(30px) rotate(-.6deg); opacity: 0; } to { transform: none; opacity: 1; } }
.close { position: absolute; top: 12px; right: 14px; z-index: 5; font-family: "Abril Fatface", serif; font-size: 44px; line-height: 1; width: 48px; height: 48px; color: #c4271d; }
.close:hover { transform: rotate(8deg); }
.bill-head { text-align: center; padding: 8px 40px 10px; border-bottom: 3px double #15120e; margin-bottom: 22px; }
.bill-name { margin: 0; font-size: inherit; }
.bill-name .type { display: flex; }
.bill-client { margin: 6px 0 0; font-family: "Old Standard TT", serif; letter-spacing: .3em; text-transform: uppercase; font-size: 13px; }
.bill-grid { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); grid-template-rows: auto 1fr; grid-template-areas: 'poster body' 'lines body'; column-gap: clamp(20px, 4vw, 56px); align-items: start; }
.bill-poster { grid-area: poster; } .bill-body { grid-area: body; } .bill-lines { grid-area: lines; }
.bill-poster .sheet-p { position: relative; inset: auto; box-shadow: 0 10px 24px rgba(0,0,0,.25); transform: rotate(-.6deg); }
.bill-lines { list-style: none; margin: 26px 0 0; padding: 0; border-top: 1px solid #15120e; }
.bill-lines li { padding: 9px 0 8px; border-bottom: 1px dotted rgba(21,18,14,.5); }
.bill-lines q { display: block; font-family: "Old Standard TT", serif; font-size: 17px; line-height: 1.25; }
.bill-lines q::before { content: "\201C"; } .bill-lines q::after { content: "\201D"; }
.bill-lines small { display: block; margin-top: 3px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #6d6151; }
.desc { font-family: "Old Standard TT", serif; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.35; margin: 0 0 18px; font-style: italic; text-wrap: pretty; }
.plate { border-top: 3px solid #15120e; padding: 12px 0 18px; }
.plate h3 { margin: 0 0 4px; font-family: "Anton", sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: .02em; font-size: clamp(20px, 2vw, 28px); line-height: 1.05; }
.scontent { margin: 0 0 12px; font-size: 15px; line-height: 1.4; }
.films { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.films.one { grid-template-columns: 1fr; }
.films.vert { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.film { margin: 0; }
.film .screen { position: relative; background: #111; border: 6px solid #15120e; outline: 1px solid #15120e; outline-offset: 3px; overflow: hidden; }
.film img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: sepia(.15) contrast(1.05); }
.film iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.film .play { position: absolute; inset: 0; display: grid; place-items: center; }
.film .play b { width: 64px; height: 64px; border-radius: 50%; background: #c4271d; box-shadow: 0 0 0 4px #f3ead3, 0 0 0 6px #15120e; display: grid; place-items: center; transition: transform .15s; }
.film .play b::after { content: ""; border-left: 22px solid #f3ead3; border-top: 13px solid transparent; border-bottom: 13px solid transparent; margin-left: 6px; }
.film .play:hover b, .film .play:focus-visible b { transform: scale(1.1); }
.films.vert .play b { width: 48px; height: 48px; }
.film figcaption { font-family: "Old Standard TT", serif; font-size: 14px; text-transform: uppercase; letter-spacing: .1em; padding-top: 7px; text-align: center; }
.testurl { position: absolute; inset: 0; padding: 10px; color: #cde23a; font: 11px/1.3 monospace; word-break: break-all; }
.imgs { display: grid; gap: 12px; margin-top: 10px; }
.imgs.row-2, .imgs.split, .imgs.row-match { grid-template-columns: 1fr 1fr; }
.imgs.row-3 { grid-template-columns: repeat(3, 1fr); }
.plate-img { margin: 0; border: 1px solid #15120e; padding: 5px; background: #f6f1e3; }
.plate-img img { display: block; width: 100%; height: auto; cursor: zoom-in; }
.zoom { position: fixed; inset: 0; z-index: 3000; background: rgba(10,10,8,.92); display: grid; place-items: center; cursor: zoom-out; padding: 3vmin; }
.zoom img { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 10px 40px #000; }
.radio { list-style: none; margin: 6px 0 0; padding: 0; }
.radio li + li { border-top: 1px dotted rgba(21,18,14,.5); }
.spot { display: grid; grid-template-columns: 38px 1fr; grid-template-rows: auto 4px; column-gap: 12px; align-items: center; width: 100%; padding: 9px 0; text-align: left; }
.spot .pp { grid-row: 1 / 3; width: 38px; height: 38px; border-radius: 50%; background: #15120e; display: grid; place-items: center; }
.spot .pp::after { content: ""; border-left: 13px solid #f3ead3; border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 4px; }
.spot.playing .pp { background: #c4271d; }
.spot.playing .pp::after { border: 0; width: 12px; height: 13px; margin: 0; background: linear-gradient(90deg, #f3ead3 0 35%, transparent 35% 65%, #f3ead3 65%); }
.spot span { font-family: "Anton", sans-serif; text-transform: uppercase; font-size: 18px; letter-spacing: .02em; }
.spot .bar { display: block; height: 3px; background: rgba(21,18,14,.15); }
.spot .bar i { display: block; height: 100%; width: 0; background: #c4271d; }
.spot:hover span { color: #c4271d; }
.credits { border-top: 3px double #15120e; margin-top: 10px; padding-top: 14px; }
.credits dl { margin: 0; columns: 2 260px; column-gap: 32px; }
.credits div { break-inside: avoid; display: flex; gap: 6px; align-items: baseline; font-size: 14px; padding: 3px 0; }
.credits dt { text-transform: uppercase; letter-spacing: .12em; font-size: 11px; white-space: nowrap; }
.credits dt::after { content: ""; display: inline-block; width: 18px; border-bottom: 1px dotted #15120e; margin-left: 6px; }
.credits dd { margin: 0; font-weight: 700; }
.bill-nav { display: flex; justify-content: space-between; gap: 16px; border-top: 3px solid #15120e; margin-top: 26px; padding-top: 14px; }
.bill-nav button { display: flex; align-items: center; gap: 10px; font-family: "Anton", sans-serif; text-transform: uppercase; font-size: clamp(16px, 2vw, 24px); text-align: left; }
.bill-nav .next { text-align: right; }
.bill-nav button:hover { color: #c4271d; }
.fist { width: 56px; height: 25px; fill: currentColor; flex: none; }
.fist.l { transform: scaleX(-1); }

.ix-head { padding: 10px 30px 6px; border-bottom: 3px double #15120e; }
.ix-list { list-style: none; margin: 0; padding: 0; columns: 2 380px; column-gap: 40px; }
.ix-list li { break-inside: avoid; border-bottom: 1px dotted rgba(21,18,14,.5); }
.ix-list button { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; width: 100%; text-align: left; padding: 10px 0 9px; }
.ix-list .nm { font-family: "Anton", sans-serif; text-transform: uppercase; font-size: 22px; line-height: 1.05; }
.ix-list .cl { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; align-self: center; color: #6d6151; }
.ix-list q { grid-column: 1 / -1; font-style: italic; font-size: 15px; color: #3a3228; }
.ix-list q::before { content: "\201C"; } .ix-list q::after { content: "\201D"; }
.ix-list button:hover .nm { color: #c4271d; }

.about-body { max-width: 720px; margin: 0 auto; padding-top: 20px; text-align: center; }
.about-body .job { font-family: "Anton", sans-serif; text-transform: uppercase; font-size: 24px; margin: 18px 0 4px; letter-spacing: .03em; }
.about-body .bio { font-size: 20px; line-height: 1.4; font-style: italic; margin: 6px auto 16px; max-width: 34em; }
.about-body .contact { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; font-size: 15px; letter-spacing: .06em; }
.about-body a { color: #c4271d; }
.exp { list-style: none; padding: 0; margin: 24px 0 0; border-top: 3px double #15120e; text-align: left; columns: 2 260px; column-gap: 32px; }
.exp li { break-inside: avoid; padding: 8px 0; border-bottom: 1px dotted rgba(21,18,14,.5); display: flex; flex-direction: column; }
.exp b { font-family: "Anton", sans-serif; font-weight: 400; letter-spacing: .04em; font-size: 16px; }
.exp span { font-size: 14px; font-style: italic; }

@media (max-width: 720px) {
  .sheet-wrap { padding: 0; }
  .sheet { min-height: 100vh; padding: 18px 16px 30px; clip-path: none; }
  .bill-head { padding: 26px 0 8px; }
  .bill-grid { grid-template-columns: 1fr; grid-template-areas: 'poster' 'body' 'lines'; }
  .bill-body { margin-top: 18px; }
  .bill-poster { display: flex; justify-content: center; }
  .imgs.row-3 { grid-template-columns: 1fr 1fr; }
  .fist { width: 40px; height: 18px; }
  .bill-nav button { font-size: 16px; }
  .tab { font-size: 13px; padding: 6px 9px 5px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.bill-paper::before { content: ""; position: absolute; inset: 0; background: var(--fibre) 0 0 / 256px; mix-blend-mode: multiply; opacity: .22; pointer-events: none; }
.bill-paper > * { position: relative; }
.bill-paper > .close { position: absolute; }
