/* SEQUINS: one reversible sequin cloth; the work printed across it. */
:root {
  --ink: #120c07;            /* type on the gold */
  --ink2: rgba(18, 12, 7, .72);
  --night: #0b0907;          /* the satin of the sheets */
  --cream: #f3e6c6;
  --gold: #d9a744;
  --gold2: #b88a33;
  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--night); color: var(--ink); }
body { overflow: hidden; font-family: var(--sans); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

#gl { position: fixed; left: 0; top: 0; display: block; z-index: 0; }
#cloth { position: fixed; inset: 0; z-index: 1; overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none; cursor: default; }
#slots { position: absolute; left: 0; top: 0; will-change: transform; }
body.booting #slots { opacity: 0; }
#work, #top { transition: opacity .3s; }
body.paged #work, body.paged #top { opacity: 0; visibility: hidden; transition: opacity .2s, visibility 0s .2s; }
[tabindex="-1"]:focus { outline: none; }

/* the name: written in the sequins; this text is for readers and search, and for the fallback */
#mast { position: absolute; margin: 0; font: 700 64px/1 var(--sans); letter-spacing: .07em; text-transform: uppercase; color: transparent; pointer-events: none; white-space: nowrap; }
body.nogl #mast { color: var(--ink); }

#top { position: absolute; display: flex; gap: 22px; align-items: baseline; font: 500 12.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
#top a, #top button { color: var(--cream); }
#top a, #top button, #hem a { text-decoration: none; padding: 8px 0; text-transform: uppercase; letter-spacing: .2em; font: 500 12.5px/1 var(--sans); }
#top a:hover, #top button:hover, #hem a:hover { text-decoration: underline; text-underline-offset: 4px; }
#snd[aria-pressed="true"]::after { content: " on"; }

/* every swathe: a link over its picture, the caption under it on the gold */
.sw { -webkit-user-drag: none; position: absolute; display: block; text-decoration: none; color: var(--ink); border-radius: 2px; }
.sw:focus-visible { outline-offset: 6px; }
.sw .cap { position: absolute; left: 0; right: 0; bottom: 0; height: var(--cap); padding: 11px 0 0 11px; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; pointer-events: none; color: var(--cream); }
body.nogl .sw .cap { color: var(--ink); padding-left: 0; }
.sw .c { font: 500 10.5px/1.2 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
body.nogl .sw .c { color: var(--ink2); }
.sw .t { font: italic 500 19px/1.1 var(--serif); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.sw img.still { position: absolute; left: 0; top: 0; width: 100%; height: var(--h); object-fit: cover; display: none; }
body.nogl .sw img.still { display: block; }

#hem a { color: var(--ink); }
body.nogl #top a, body.nogl #top button { color: var(--ink); }
#hem { position: absolute; display: flex; flex-wrap: wrap; gap: 8px 26px; justify-content: center; align-items: baseline; }

/* without WebGL: the gold is a picture of gold */
body.nogl { background: radial-gradient(120% 80% at 30% 10%, #f4d58a 0%, #c9953c 38%, #7b5521 75%, #3f2a10 100%) fixed; }
body.nogl #gl { display: none; }

#idxfix { position: fixed; z-index: 3; right: 12px; bottom: calc(14px + env(safe-area-inset-bottom)); padding: 11px 16px; border-radius: 999px; background: rgba(11, 9, 7, .86); color: var(--cream); text-decoration: none; font: 500 11.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; opacity: 0; transform: translateY(10px); transition: opacity .25s, transform .25s; pointer-events: none; }
body.showfix #idxfix { opacity: 1; transform: none; pointer-events: auto; }
body.paged #idxfix { display: none; }
/* on a laptop the tab rides in the right margin, where no picture ever sits */
@media (hover: hover) and (pointer: fine) and (min-width: 760px) {
  #idxfix { right: max(4px, calc(var(--pad, 40px) / 2 - 15px)); top: 50%; bottom: auto; padding: 14px 9px; writing-mode: vertical-rl; transform: translate(6px, -50%); }
  body.showfix #idxfix { transform: translate(0, -50%); }
}

/* the sheet: black satin with the label sewn in */
#page { position: fixed; z-index: 4; top: 0; right: 0; bottom: 0; width: min(46vw, 760px); min-width: 470px; overflow-y: auto; overscroll-behavior: contain; background: var(--night); color: var(--cream); transform: translateX(104%); transition: transform .5s cubic-bezier(.2, .8, .2, 1); box-shadow: -30px 0 60px rgba(0, 0, 0, .45); -webkit-overflow-scrolling: touch; }
#page.on { transform: none; }
#page.wide { width: min(60vw, 980px); }
@media (max-width: 759px) {
  #page { top: var(--sheetTop, 44%); left: 0; width: auto; min-width: 0; border-radius: 16px 16px 0 0; transform: translateY(104%); box-shadow: 0 -20px 50px rgba(0, 0, 0, .5); }
  #page.wide { width: auto; top: var(--sheetTopWide, 14%); }
  #page.on { transform: none; }
}
#page .in { padding: 0 clamp(18px, 3.2vw, 46px) 60px; }
.sbar { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 22px; padding: 16px clamp(18px, 3.2vw, 46px) 14px; background: linear-gradient(var(--night) 70%, rgba(11, 9, 7, 0)); font: 500 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.sbar a, .sbar button { color: var(--cream); text-decoration: none; text-transform: uppercase; letter-spacing: .2em; font: 500 12px/1 var(--sans); padding: 6px 0; }
.sbar .back { display: inline-flex; align-items: center; gap: 8px; margin-right: auto; }
.sbar .back svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.sbar a:hover, .sbar button:hover { color: var(--gold); }
#page :focus-visible { outline-color: var(--gold); }

.label { margin: 10px 0 26px; padding: 18px 0 20px; border-top: 1px solid rgba(217, 167, 68, .55); border-bottom: 1px solid rgba(217, 167, 68, .55); }
.label .client { margin: 0 0 10px; font: 500 11px/1.2 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.label h1 { margin: 0; font: italic 600 clamp(34px, 4.2vw, 58px)/1.02 var(--serif); letter-spacing: -.01em; color: var(--cream); }
.label .desc { margin: 16px 0 0; font: 400 17px/1.55 var(--serif); color: rgba(243, 230, 198, .88); max-width: 42em; }
.credits { margin: 18px 0 0; display: grid; gap: 6px; font: 400 13px/1.45 var(--sans); color: rgba(243, 230, 198, .72); }
.credits div { display: flex; gap: 10px; }
.credits dt { min-width: 3.2em; color: var(--gold); letter-spacing: .08em; }
.credits dd { margin: 0; }

.sec { margin: 34px 0 0; }
.sec h2 { margin: 0 0 12px; font: 500 11px/1.2 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.sec .txt { margin: 0 0 16px; font: 400 15.5px/1.6 var(--serif); color: rgba(243, 230, 198, .85); max-width: 44em; }
.films { display: grid; gap: 18px; grid-template-columns: 1fr; }
.films.vertical { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.film { margin: 0; }
.film .frame { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; border-radius: 2px; }
.films.vertical .frame { aspect-ratio: 9 / 16; }
.film .frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.film .frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.film .play { position: absolute; inset: 0; display: grid; place-items: center; }
.film .play svg { width: 62px; height: 62px; padding: 18px 16px 18px 20px; border-radius: 50%; background: rgba(11, 9, 7, .72); fill: var(--gold); box-shadow: 0 0 0 1px rgba(217, 167, 68, .6); transition: transform .2s; }
.film .play:hover svg, .film .play:focus-visible svg { transform: scale(1.08); }
.film figcaption { padding: 8px 0 0; font: italic 400 14px/1.3 var(--serif); color: rgba(243, 230, 198, .78); }
.group { display: grid; gap: 12px; margin: 14px 0 0; }
.group.row-2 { grid-template-columns: 1fr 1fr; }
.group.row-3 { grid-template-columns: 1fr 1fr 1fr; }
.shot { margin: 0; }
.shot img { width: 100%; display: block; border-radius: 2px; background: #1a1511; }
.radio { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.spot { display: grid; grid-template-columns: 40px 1fr auto; grid-template-rows: auto auto; gap: 6px 12px; align-items: center; padding: 12px 14px; border: 1px solid rgba(217, 167, 68, .35); border-radius: 3px; }
.spot .pp { grid-row: 1 / 3; width: 40px; height: 40px; border-radius: 50%; background: rgba(217, 167, 68, .14); display: grid; place-items: center; }
.spot .pp svg { width: 16px; height: 16px; fill: var(--gold); stroke: var(--gold); stroke-width: 2.4; }
.spot .pp .pa { display: none; fill: none; }
.spot.on .pp .pl { display: none; }
.spot.on .pp .pa { display: block; }
.spot .t { font: italic 400 15px/1.3 var(--serif); }
.spot .time { font: 400 12px/1 var(--sans); color: rgba(243, 230, 198, .7); font-variant-numeric: tabular-nums; }
.spot .bar { grid-column: 2 / 4; height: 3px; background: rgba(243, 230, 198, .18); cursor: pointer; position: relative; }
.spot .bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--gold); }
.pn { display: flex; justify-content: space-between; gap: 20px; margin: 50px 0 0; padding-top: 22px; border-top: 1px solid rgba(217, 167, 68, .4); }
.pn a { text-decoration: none; display: flex; flex-direction: column; gap: 6px; max-width: 48%; }
.pn a:last-child { text-align: right; align-items: flex-end; }
.pn small { font: 500 10.5px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.pn span { font: italic 500 20px/1.15 var(--serif); }
.pn a:hover span { color: var(--gold); }

/* the index: a sample card, every swatch a sequin of its work */
.ih { margin: 6px 0 18px; font: italic 600 clamp(30px, 3.6vw, 48px)/1 var(--serif); }
.ilist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 2px 26px; }
.ilist a { display: grid; grid-template-columns: 46px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 9px 0; text-decoration: none; border-bottom: 1px solid rgba(217, 167, 68, .22); }
.ilist .sq { grid-row: 1 / 3; width: 46px; height: 46px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgba(217, 167, 68, .7), 0 3px 8px rgba(0, 0, 0, .5); background: #2a2016; }
.ilist .t { font: italic 500 17px/1.15 var(--serif); }
.ilist .c { font: 500 10px/1.3 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.ilist a:hover .t { color: var(--gold); }

.about .role { margin: 12px 0 0; font: 500 12px/1.3 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.contact { display: flex; gap: 22px; flex-wrap: wrap; margin: 18px 0 0; font: 500 13px/1 var(--sans); letter-spacing: .06em; }
.contact a { color: var(--cream); }
.xp { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.xp li { display: grid; grid-template-columns: 9em 1fr; gap: 4px 18px; padding-bottom: 14px; border-bottom: 1px solid rgba(217, 167, 68, .2); }
.xp .d { font: 400 12.5px/1.4 var(--sans); color: rgba(243, 230, 198, .6); }
.xp .r { font: italic 500 17px/1.25 var(--serif); }
.xp .r em { display: block; font: 500 10.5px/1.6 var(--sans); font-style: normal; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.xp .x { grid-column: 2; font: 400 14px/1.55 var(--serif); color: rgba(243, 230, 198, .78); }
@media (max-width: 759px) {
  .xp li { grid-template-columns: 1fr; }
  .xp .x { grid-column: 1; }
  .group.row-3 { grid-template-columns: 1fr 1fr; }
  .sw .t { font-size: 16px; }
  .sw .c { font-size: 9.5px; }
  #top { gap: 16px; }
  #top a, #top button, #hem a { font-size: 11px; letter-spacing: .16em; }
}
@media (prefers-reduced-motion: reduce) {
  #page, #idxfix { transition: none; }
}
