@font-face {
    font-family: Archivo;
    src: url("fonts/archivo-latin.woff2") format("woff2");
    font-weight: 400 900;
    font-stretch: 75% 100%;
    font-style: normal;
    font-display: swap;
}

:root {
    color-scheme: light;
    --blue: #0094c6;
    --pink: #ff59de;
    --ink: #10060e;
    --muted: #514e51;
    --line: #d7d5d7;
    --paper: #fff;
    --wash: #f3f3f2;
    --link: #006383;
    --mono: "Courier New", Courier, monospace;
    --sans: Archivo, Arial, Helvetica, sans-serif;
    --gutter: clamp(1.15rem, 4.5vw, 5rem);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.5 var(--sans); }
.wrap { width: min(100% - 2 * var(--gutter), 88rem); margin-inline: auto; }
h1, h2, h3, h4, p, figure, ul { margin: 0; }
ul { padding: 0; }
button { font: inherit; color: inherit; }
a { color: inherit; text-underline-offset: .2em; }
a, button, summary { -webkit-tap-highlight-color: #ff59de33; }
a:focus-visible, button:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid var(--link); outline-offset: 4px; }
::selection { color: var(--ink); background: #ffa9ed; }
[hidden] { display: none !important; }
.icon { width: 1.15em; height: 1.15em; display: block; flex: none; }
.skip, .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { top: .5rem; left: .5rem; z-index: 10; padding: .7rem 1rem; width: auto; height: auto; clip-path: none; background: white; }

.site-header { display: flex; min-height: 4.6rem; align-items: center; justify-content: space-between; gap: .75rem; border-bottom: 1px solid var(--ink); }
.site-brand { display: inline-flex; align-items: center; gap: .8rem; min-height: 44px; font: 700 .9rem/1 var(--mono); text-decoration: none; }
.monogram { display: inline-flex; align-items: baseline; padding: .32rem .42rem .34rem; color: white; background: var(--ink); font: 850 1.25rem/.95 var(--sans); letter-spacing: -.075em; font-stretch: 75%; }
.monogram i { width: .19em; height: .19em; margin-left: .08em; background: var(--pink); }
.top-nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.25rem); }
.top-nav a { display: inline-flex; min-height: 44px; align-items: center; font-size: .93rem; font-weight: 650; text-decoration: none; }
.work-link:hover, .site-brand:hover > span:last-child { text-decoration: underline; text-decoration-color: var(--pink); text-decoration-thickness: 3px; }
.download { white-space: nowrap; flex-shrink: 0; gap: .55rem; padding: .4rem .9rem; border: 1px solid var(--ink); }
.download:hover, .close-dialog:hover { color: white; background: var(--ink); }

.intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.6rem; padding: clamp(2.3rem, 4.1vw, 4.4rem) 0 clamp(2.15rem, 3.4vw, 3.7rem); }
.intro > div { flex: 1 1 0%; min-width: 0; }
.intro h1 { color: var(--blue); font-family: var(--sans); font-size: clamp(3.2rem, 7.55vw, 7.5rem); line-height: .89; font-weight: 850; font-stretch: 75%; font-variation-settings: "wght" 850, "wdth" 75; letter-spacing: -.053em; text-transform: uppercase; }
.disciplines { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: .85em; row-gap: .2em; margin-top: 1.05rem; font: 700 clamp(.85rem, 1.3vw, 1.08rem)/1.4 var(--mono); text-transform: uppercase; letter-spacing: .025em; }
.disciplines b { color: var(--pink); font-family: var(--sans); font-size: 1.12em; font-weight: 900; }
.contact { display: grid; gap: .32rem; padding-bottom: .15rem; flex: none; font: normal .91rem/1.65 var(--mono); }
.contact > * { display: flex; align-items: center; gap: .55rem; }
.contact .icon { width: 1.08rem; height: 1.08rem; }
.contact a { text-decoration-color: #b6b2b5; }
.contact a:hover, .site-footer a:hover, .source-link:hover, .back-link:hover { color: var(--link); }

.work-section { border-top: 2px solid var(--ink); padding-top: 1.25rem; scroll-margin-block-start: 1rem; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.section-heading h2, .background > h2 { font-size: clamp(1.85rem, 2.75vw, 2.75rem); line-height: 1.15; letter-spacing: -.05em; font-weight: 750; font-stretch: 90%; }
.project-count { color: var(--muted); font: .84rem var(--mono); white-space: nowrap; }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .55rem; margin: .75rem 0 1.15rem; }
.filters a { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: .28rem .9rem; color: var(--muted); font-size: .94rem; font-weight: 550; text-decoration: none; }
.filters a:hover { color: var(--ink); background: var(--wash); }
.filters a[aria-current] { color: white; background: var(--ink); box-shadow: inset 0 -3px var(--pink); }
.compact-filter { display: none; }
.project-grid { list-style: none; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(1.75rem, 3.25vw, 3.4rem) clamp(1rem, 2vw, 2rem); }
.project-card { min-width: 0; scroll-margin-block-start: 1rem; }
.card-link { display: block; height: 100%; text-decoration: none; }
.card-image { position: relative; aspect-ratio: 1.62; overflow: hidden; background: var(--wash); }
.card-image img, .player img, .still-link img { width: 100%; height: 100%; display: block; }
.card-image img { object-fit: cover; object-position: center var(--crop-y,50%); }
.card-icon, .still-action { position: absolute; right: .65rem; bottom: .65rem; display: grid; place-items: center; width: 2.05rem; height: 2.05rem; background: white; color: var(--ink); border: 1px solid #10060e22; border-radius: 50%; }
.card-link:hover .card-icon, .card-link:focus-visible .card-icon { background: var(--pink); border-color: var(--pink); }
.card-caption { padding: .85rem 0 0; }
.credit { font: 700 .8rem/1.55 var(--mono); text-transform: uppercase; letter-spacing: .065em; color: var(--muted); }
.card-caption h3 { margin: .18rem 0 .1rem; font-size: clamp(1.38rem, 2vw, 2rem); line-height: 1.12; font-weight: 750; font-stretch: 92%; letter-spacing: -.045em; }
.card-link:hover h3, .card-link:focus-visible h3 { text-decoration: underline; text-decoration-thickness: .1em; text-decoration-color: var(--pink); }
.card-role, .detail-role { color: var(--muted); }
.card-role { margin-top: .37rem; font-size: 1rem; line-height: 1.45; }

.background { border-top: 2px solid var(--ink); margin: clamp(3.6rem, 7vw, 7rem) 0 clamp(3rem, 5.5vw, 6rem); padding-top: 1.2rem; }
.background > h2 { margin-bottom: 1.2rem; }
.category-notes { border-top: 1px solid var(--line); }
.category-notes:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
.category-notes > summary, .project-notes > summary { display: flex; align-items: center; gap: .85rem; min-height: 3.5rem; }
summary .icon { transition: transform .15s ease; }
details[open] > summary .icon { transform: rotate(45deg); }
.background-title { flex: 1; font-size: 1.05rem; font-weight: 680; line-height: 1.35; }
.period { font: .87rem var(--mono); color: var(--link); }
.category-body { padding: .3rem 0 1.8rem; }
.location { margin-bottom: .9rem; font-family: var(--mono); color: var(--muted); }
.notes-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 2rem; }
.notes-grid h3 { margin-bottom: .45rem; font-size: 1rem; }
.notes-grid ul { padding-left: 1.2em; }
.notes-grid li + li { margin-top: .25rem; }
.site-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1.5rem; padding: .85rem 0 1.15rem; border-top: 1px solid var(--ink); }
.site-footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0 1.3rem; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; font: .88rem/1.4 var(--mono); }
.site-footer .foot-name { font: 720 1.05rem/1.3 var(--sans); text-decoration: none; }

body.dialog-open { overflow: hidden; }
html { scrollbar-gutter: stable; }
.project-dialog { width: min(69rem, calc(100% - 3rem)); max-width: none; max-height: none; padding: 0; margin: auto; border: 1px solid var(--ink); color: var(--ink); background: white; }
.project-dialog:not([open]) { display: none; }
.project-dialog::backdrop { background: rgb(16 6 14 / .58); }
.dialog-shell { display: flex; flex-direction: column; max-height: 89vh; max-height: 89dvh; }
.dialog-tools { display: flex; align-items: center; justify-content: space-between; flex: none; min-height: 3.3rem; padding: .2rem clamp(1rem, 3.5vw, 2.5rem); border-bottom: 1px solid var(--line); }
.dialog-tools > span { font: .82rem/1.4 var(--mono); color: var(--muted); }
.close-dialog { display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; padding: .25rem .55rem; border: 0; background: white; cursor: pointer; font-weight: 650; }
.dialog-scroll { overflow-y: auto; overscroll-behavior: contain; min-height: 0; }
.project-detail { padding: 1.7rem clamp(1rem, 3.5vw, 2.5rem) 2.4rem; }
.detail-header { margin-bottom: 1.35rem; }
.detail-title { margin: .28rem 0 .3rem; font-size: clamp(2.15rem, 4.5vw, 4rem); line-height: 1.04; color: var(--blue); font-weight: 800; font-stretch: 83%; letter-spacing: -.045em; }
.detail-title:focus { outline: none; }
.detail-role { font-size: 1.05rem; }
.media-section { margin-top: 1.8rem; border-top: 1px solid var(--ink); padding-top: .7rem; }
.media-heading { margin-bottom: .85rem; font-size: 1.23rem; letter-spacing: -.026em; font-weight: 720; }
.media-grid { display: grid; align-items: start; gap: 1.25rem .9rem; grid-template-columns: repeat(3,minmax(0,1fr)); }
.media-grid--films { grid-template-columns: repeat(2,minmax(0,1fr)); }
.media-item { min-width: 0; }
.media-title { font-size: 1rem; font-weight: 680; }
.media-item figcaption { padding-top: .45rem; overflow-wrap: anywhere; }
.media-item figcaption p { color: var(--muted); font-size: .94rem; }
.source-link { display: inline-flex; min-height: 36px; align-items: center; font: .87rem/1.4 var(--mono); color: var(--link); }
.player, .still-link { position: relative; overflow: hidden; display: block; background: var(--wash); }
.player { aspect-ratio: 16/9; background: #171417; }
.player--vertical { aspect-ratio: 9/16; max-width: 21rem; margin-inline: auto; }
.player--square { aspect-ratio: 1; }
.poster, .player iframe { display: block; width: 100%; height: 100%; border: none; }
.player img { object-fit: cover; }
.play-mark { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%,-50%); display: grid; place-items: center; width: 3.25rem; height: 3.25rem; color: var(--ink); background: white; border-radius: 50%; }
.play-mark .icon { width: 1.45rem; height: 1.45rem; }
.poster:hover .play-mark, .poster:focus-visible .play-mark { background: var(--pink); }
.poster:focus-visible { outline-offset: -4px; }
.still-link { aspect-ratio: 4/3; }
.still-link img, .original-cover img { object-fit: contain; }
.still-action { width: 1.75rem; height: 1.75rem; right: .4rem; bottom: .4rem; }
.still-action .icon { width: 1rem; height: 1rem; }
.still-link:hover .still-action { background: var(--pink); }
.document .still-link { aspect-ratio: 4/4.3; padding: .55rem; }
.project-notes { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); margin-top: 2rem; }
.project-notes summary { justify-content: space-between; font-weight: 680; }
.note-content { display: flex; align-items: flex-start; flex-wrap: wrap; gap: .8rem 1.2rem; padding-bottom: 1.2rem; color: var(--muted); }
.note-content > div:last-child { flex: 1 1 19rem; max-width: 65ch; }
.note-content p + p { margin-top: .5rem; }
.original-cover { position: relative; width: 7.5rem; }
.original-cover img { display: block; width: 100%; }
.standalone { min-height: 48vh; max-width: 62rem; padding-block: 1rem 3rem; }
.standalone .project-detail { padding: 1.2rem 0 2rem; }
.back-link { display: inline-flex; align-items: center; min-height: 44px; gap: .45rem; font-size: .94rem; }
.image-missing { position: absolute; inset: 0; display: grid; place-content: center; padding: 1rem; color: #4c474b; background: var(--wash); font: .87rem/1.4 var(--mono); text-align: center; }
@media (min-width: 40rem) {
    .intro h1 { white-space: nowrap; }
}
@media (max-width: 59rem) {
    .intro { align-items: flex-start; flex-direction: column; gap: .9rem; }
    .intro > div { flex: none; width: 100%; }
    .contact { display: flex; flex-wrap: wrap; gap: .2rem 1.25rem; }
    .project-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .notes-grid { gap: 1rem; }
}
@media (max-width: 39rem) {
    .site-header { min-height: 3.9rem; }
    .site-brand { gap: .45rem; }
    .top-nav { gap: .8rem; }
    .download { padding-inline: .65rem; }
    .intro { padding-block: 2.15rem 1.8rem; }
    .intro h1 { font-size: clamp(2.2rem, 11.6vw, 4.35rem); }
    .disciplines { gap: .16rem .5rem; margin-top: .68rem; font-size: .85rem; }
    .contact { font-size: .84rem; gap: .2rem .9rem; }
    .work-section { padding-top: .95rem; }
    .filters { gap: .15rem .2rem; margin: .6rem 0 .85rem; }
    .filters a { padding-inline: .52rem; font-size: .87rem; }
    .has-picker .filters { display: none; }
    .compact-filter { display: flex; align-items: center; gap: .7rem; margin: .65rem 0 1rem; }
    .compact-filter label { font-size: .89rem; color: var(--muted); }
    .select-wrap { position: relative; min-width: 0; flex: 1; }
    .select-wrap select { width: 100%; min-height: 44px; padding: .4rem 2rem .4rem .7rem; appearance: none; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 0; font: 550 1rem/1.35 var(--sans); }
    .select-wrap .icon { position: absolute; right: .65rem; top: 50%; transform: translateY(-50%); pointer-events: none; }
    .project-grid { grid-template-columns: minmax(0,1fr); gap: 2rem; }
    .card-caption { padding-top: .65rem; }
    .card-caption h3 { font-size: 1.57rem; }
    .notes-grid { grid-template-columns: minmax(0,1fr); }
    .category-notes > summary { gap: .5rem; }
    .background-title { font-size: 1rem; }
    .period { font-size: .8rem; }
    .site-footer { align-items: flex-start; flex-direction: column; }
    .project-dialog { width: 100%; height: 100%; max-height: none; margin: 0; border: 0; }
    .dialog-shell { height: 100%; max-height: 100%; }
    .dialog-tools { padding-block-start: max(.2rem, env(safe-area-inset-top)); }
    .dialog-scroll { flex: 1; }
    .project-detail { padding-bottom: max(2rem, env(safe-area-inset-bottom)); }
    .media-grid--films { grid-template-columns: minmax(0,1fr); }
    .media-grid--stills, .media-grid--documents { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 22rem) {
    .site-brand > span:last-child { display: none; }
    .contact { gap: .2rem .6rem; }
    .media-grid--documents { grid-template-columns: minmax(0,1fr); }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; }
}
