/* project pages and the three ways they open */
html.locked { overflow: hidden; }
.ghost { position: fixed; inset: 0; z-index: 120; pointer-events: none; overflow: hidden; will-change: clip-path, opacity; }
.ghost { contain: strict; }
.ghost > * { position: absolute; display: block; transform-origin: 0 0; will-change: transform; }
.ghost *, .ov.veil:not(.on) .thumb *, html.locked .page .thumb * { animation-play-state: paused !important; }
video, .thumb { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
.ov { position: fixed; inset: 0; z-index: 110; overflow-y: auto; overscroll-behavior: contain; outline: 0; }
.ov.ui, .ov.mo { opacity: 0; visibility: hidden; transition: opacity .18s ease, visibility 0s .18s; }
.ov.ui.on, .ov.mo.on { opacity: 1; visibility: visible; transition: none; }
.ov.mo.on { animation: none; }
.ov.ui { background: #0e0e0e; } .ov.mo { background: rgba(14,14,14,.95); }
.page { will-change: opacity; transition: opacity .3s ease; }
html.has-ui .page { opacity: 0; } html.has-mo .page { opacity: .07; }
.work { --edge: clamp(20px, 11vw, 170px); color: #ffffff; }
.work h1, .work h2 { white-space: normal; font-weight: 500; letter-spacing: -.02em; line-height: 1.12; }
.work p { max-width: 36em; } .work .big { font-size: clamp(19px, 1.8vw, 25px); line-height: 1.42; color: #ffffff; }
.work dt { color: var(--ac); font-size: 1rem; margin-top: 20px; } .work dt:first-child { margin-top: 0; } .work dd { font-size: 1.0625rem; }
.work .art { aspect-ratio: auto; } 
.back { display: inline-flex; align-items: center; gap: 8px; position: fixed; z-index: 130; left: 22px; top: 22px; padding: 0 18px; min-height: 44px; border-radius: 999px; background: #2e2e2e; color: #fff; font-size: 1rem; font-weight: 500; }

@media (hover: hover) { .back:hover { background: #3d3d3d; } }
.prog { position: fixed; z-index: 131; left: 0; right: 0; top: 0; height: 4px; background: var(--ac); transform: scaleX(0); transform-origin: 0 0; }
/* UI/UX */
.work.ui .hero { position: relative; aspect-ratio: 16 / 9; margin: 8px; border-radius: 16px; overflow: hidden; display: grid; place-items: center; }
.hero .art { position: absolute; inset: 0; border-radius: 0; background: #16171a; } .hero.light .art { background: #f8f8f5; } .hero.light .art > video { object-fit: contain; }
.facts { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(32px, 7vw, 110px); padding: clamp(64px, 9vw, 140px) var(--edge); }
.facts h1 { grid-column: 1 / -1; max-width: 15em; font: 700 clamp(40px, 5.6vw, 88px)/1 var(--title); letter-spacing: -.03em; }
.facts h2 { font-size: 1rem; color: var(--ac); letter-spacing: 0; margin-bottom: 8px; } .facts h2 ~ h2 { margin-top: 30px; }
.sec { padding: 0 var(--edge) clamp(72px, 9vw, 140px); } .sec h2 { font-size: clamp(28px, 3.3vw, 50px); max-width: 17em; margin-bottom: 14px; } .sec p { margin-bottom: 34px; font-size: 1.125rem; }
.two, .three { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; } .three { grid-template-columns: repeat(3, 1fr); }
.bar { position: relative; height: 44px; background: #1c1c1c; border-radius: 12px 12px 0 0; display: grid; place-items: center; color: #fff; font-size: 1rem; }
.bar::before { content: ""; position: absolute; left: 14px; top: 17px; width: 10px; height: 10px; border-radius: 50%; background: #6a6a6a; box-shadow: 17px 0 #6a6a6a, 34px 0 #6a6a6a; }
.hmw { background: #1c1c1c; color: #fff; padding: clamp(56px, 6.5vw, 112px) var(--edge); margin-bottom: clamp(72px, 9vw, 140px); } .hmw h2 { font-size: clamp(32px, 4vw, 64px); max-width: 17em; }
.nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 0 var(--edge) clamp(72px, 9vw, 130px); color: #ffffff; } .nums b { display: block; font-size: clamp(44px, 6.4vw, 100px); line-height: 1; font-weight: 500; letter-spacing: -.04em; margin-bottom: 10px; }
.go { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; background: var(--ac); color: #0e0e0e; padding: 0 20px; border-radius: 999px; font-size: 1rem; font-weight: 500; transition: background .2s, color .2s, box-shadow .2s; }
/* Motion */
.work.mo { max-width: 1120px; margin: 0 auto; padding: 84px 24px 0; } .player { border-radius: 14px; overflow: hidden; background: #000; }
.work .stage { aspect-ratio: 16 / 9; max-height: 68svh; width: 100%; border-radius: 0; background: #000; } .work .stage > video { object-fit: contain; }
.under { display: grid; grid-template-columns: 1.4fr .6fr; gap: 48px; padding: 34px 0 10px; } .under h1 { font: 700 clamp(44px, 5vw, 72px)/1 var(--title); margin-bottom: 12px; }
.notes { margin-top: 56px; } .notes section { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 12px 40px; padding: 32px 0; border-top: 1px solid #333; } .notes h2 { font-size: 24px; line-height: 1.3; } .notes p { font-size: 1.125rem; line-height: 1.6; max-width: 38em; } .notes p + p { margin-top: 14px; }
@media (max-width: 900px) { .notes { margin-top: 40px; } .notes section { grid-template-columns: minmax(0, 1fr); padding: 28px 0; } }
.ov.ui.on .player .bar, .ov.mo.on .under, .ov.mo.on .notes { animation: up .3s cubic-bezier(.36,.54,0,.99) backwards; } @keyframes up { from { transform: translateY(24px); opacity: 0; } }
@media (max-width: 820px) {
  .facts, .under { grid-template-columns: minmax(0, 1fr); } .two, .nums { grid-template-columns: minmax(0, 1fr); } .three { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-right: calc(var(--edge) * -1); } .three > * { flex: 0 0 70%; scroll-snap-align: start; }
  .back { left: 16px; top: 16px; }  }
@media (prefers-reduced-motion: reduce) { .page, .ov, .ov .work { transition: none !important; } }


.sec p { max-width: 36em; } .sec p + p { margin-top: -18px; }
.work .todo { display: inline-block; border: 1.5px dashed var(--ac); color: var(--ac); border-radius: 8px; padding: 8px 14px; font-size: 1rem; } .work .sec p.todo { margin-top: 0; }
.one, .two { margin-top: 10px; } figure { margin: 0; } figure img { display: block; width: 100%; height: auto; border-radius: 14px; } figcaption { margin-top: 10px; font-size: 1rem; color: #fff; }
 .go.alt { background: none !important; color: #fff !important; box-shadow: inset 0 0 0 1px #8a8a8a; margin-left: 10px; }
@media (max-width: 820px) { .go.alt { margin-left: 0; margin-top: 12px; } .two { gap: 26px; } }
.under p + p { margin-top: 14px; }

.vp { position: absolute; z-index: 3; right: 16px; bottom: 16px; background: rgba(14,14,14,.82); }
.work .art > video { border-radius: inherit; }
.hero .thumb > video { position: absolute; inset: 0; }
.work .todo { max-width: 100%; }
html.locked .ov { scroll-padding: 84px 0; }
.about .back { left: 24px; }
@media (max-width: 820px) { .work.ui > .back, .about .back { left: 16px; } .vp { right: 8px; bottom: 8px; } .work.ui .hero { margin: 8px; } }
/* About on phones: Back stays at the top on a page-coloured strip, so text scrolls away beneath it */
@media (max-width: 900px) { .about .back { top: 12px; left: 16px; } .about .cv h1 { margin-top: 16px; } }
@media print { body.about::before { display: none; } }
/* Phones: a portrait film gets the 4:5 frame, so its captions stay readable */
.facts .go { margin-top: 28px; }
@media (max-width: 820px) { .facts .go.alt { margin-top: 12px; } .facts { gap: 44px; } }

.out { flex: none; } 
/* Narrower windows: Back or Close sits on a page-coloured strip at the top, so it never covers the text */
@media (max-width: 1360px) { .work > .back { top: 12px; } }

.vp.fs { right: 68px; } @media (max-width: 820px) { .vp.fs { right: 60px; } }
/* Section menu */
.jump { position: fixed; z-index: 130; right: 22px; top: 22px; max-width: calc(100vw - 150px); } .jump summary { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; background: #2e2e2e; font-size: 1rem; font-weight: 500; cursor: pointer; list-style: none; } .jump summary::-webkit-details-marker { display: none; }
.jump summary span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .jump summary svg { flex: none; transition: transform .2s; } .jump[open] summary svg { transform: rotate(180deg); } .jump summary:focus-visible { border-radius: 999px; }
.jump nav { position: absolute; right: 0; top: 52px; width: max-content; max-width: calc(100vw - 32px); padding: 6px; border-radius: 16px; background: #2e2e2e; box-shadow: 0 12px 40px rgba(0,0,0,.6); } .jump nav button { display: block; width: 100%; min-height: 44px; padding: 8px 14px; border-radius: 11px; text-align: left; font-size: 1rem; } .jump [aria-current] { color: var(--ac); }
@media (hover: hover) { .jump summary:hover { background: #3d3d3d; } .jump nav button:hover { background: #3d3d3d; } }
@media (max-width: 1360px) { .jump { top: 12px; } } @media (max-width: 820px) { .jump { right: 16px; } }
.work h1, .work h2 { } .work h2:focus, .work h1:focus { outline: 0; }
.words span { color: #8f8f8f; transition: color .35s; } .words .lit { color: #fff; }
/* Next project: UI pieces pinned to the corners, title alone in the middle */
.next { position: relative; display: grid; place-content: center; gap: 6px; text-align: center; margin: 8px; min-height: clamp(460px, 62svh, 680px); border-radius: 16px; overflow: hidden; isolation: isolate; background: #1a1a1a; padding: 0 24px; }
.next > span { font-size: 1.0625rem; color: #d6d6d6; } .next h3 { font: 700 clamp(44px, 6vw, 92px)/1 var(--title); max-width: 9em; }
.nx { position: absolute; inset: 0; z-index: -1; color: #111; font-size: clamp(13px, 1.4vw, 23px); line-height: 1.3; }
.pc { position: absolute; background: #fbfbf9; border-radius: .9em; padding: 1.1em; box-shadow: 0 14px 40px rgba(0,0,0,.35); transition: transform .6s cubic-bezier(.22,1,.36,1); }
.pc i, .pc em, .pc u { font-style: normal; text-decoration: none; }
.tl { left: 4%; top: 7%; transform: rotate(-5deg); } .tr { right: 5%; top: 9%; transform: rotate(4deg); } .bl { left: 6%; bottom: 8%; transform: rotate(3deg); } .br { right: 4%; bottom: 7%; transform: rotate(-4deg); }
@media (hover: hover) { .next:hover .tl { transform: rotate(-2deg) translate(6px, 6px); } .next:hover .tr { transform: rotate(1deg) translate(-6px, 6px); } .next:hover .bl { transform: rotate(0deg) translate(6px, -6px); } .next:hover .br { transform: rotate(-1deg) translate(-6px, -6px); } }
.pop { width: 15em; display: grid; gap: .6em; text-align: left; } .pop b { font-size: 1.25em; } .inp { height: 2.1em; border: 1px solid #bbb; border-radius: .4em; } .yes { background: #8f1f45; color: #fff; text-align: center; border-radius: .4em; padding: .55em; font-weight: 600; } .pop small { font-size: .8em; color: #666; text-align: center; }
.tim { display: grid; text-align: center; } .tim b { font-size: 2.2em; line-height: 1.1; color: #c0392b; font-variant-numeric: tabular-nums; }
.tick { display: grid; gap: .7em; text-align: left; } .tick span { display: flex; align-items: center; gap: .6em; } .tick i { display: grid; place-items: center; width: 1.5em; height: 1.5em; border-radius: .3em; background: #111; color: #fff; font-size: .9em; }
.seg { display: flex; padding: .45em; font-weight: 600; font-size: 1.1em; } .seg span { padding: .6em 1em; border-radius: .6em; } .seg .ok { background: #2f7d3f; color: #fff; } .seg .bad { color: #b03a2e; }
.hl { background: #26272b; color: #e8e8e8; padding: 1.3em 1.5em; font-size: 1.1em; } .hl mark { background: #3b5f8f; color: #fff; padding: .1em 0; } .pt { position: absolute; right: .6em; bottom: -.4em; width: 1.9em; }
.pos { width: 6.4em; display: grid; gap: .45em; padding: .7em; background: #26272b; } .pos i { aspect-ratio: 2 / 3; border-radius: .4em; background: linear-gradient(160deg, #40bcf4, #1b3a5c 70%); } .pos.gold i { background: linear-gradient(160deg, #f5c518, #6d4a00 75%); } .pos b { height: .55em; border-radius: 1em; background: #565a63; } .pos b + b { width: 60%; } .pos em { color: #00c853; letter-spacing: .08em; }
.ctx { width: 13em; display: grid; padding: .4em; background: #34353a; color: #f0f0f0; text-align: left; } .ctx span { padding: .4em .8em; border-radius: .45em; display: flex; justify-content: space-between; } .ctx .on { background: #2f56d0; }
.dl, .dr { position: absolute; inset: 0 auto 0 0; width: 27%; } .dr { left: auto; right: 0; } .nx svg:not(.pt) { width: 100%; height: 100%; display: block; } .dl { -webkit-mask: linear-gradient(90deg, #000 45%, transparent); mask: linear-gradient(90deg, #000 45%, transparent); } .dr { -webkit-mask: linear-gradient(270deg, #000 45%, transparent); mask: linear-gradient(270deg, #000 45%, transparent); }
@media (max-width: 820px) { .next { min-height: 560px; } .tl { left: -4%; top: 4%; } .tr { right: -3%; top: 6%; } .bl { left: -3%; bottom: 5%; } .br { right: -3%; bottom: 4%; }
  .pop { width: 13em; } .pos { width: 6.6em; } .ctx { width: 11em; } .tim { top: 4%; } .next h3 { font-size: clamp(36px, 10.5vw, 60px); }
  .dl, .dr { width: 100%; height: 25%; inset: 0 0 auto; } .dr { inset: auto 0 0; } .dl { -webkit-mask: linear-gradient(#000 50%, transparent); mask: linear-gradient(#000 50%, transparent); } .dr { -webkit-mask: linear-gradient(0deg, #000 50%, transparent); mask: linear-gradient(0deg, #000 50%, transparent); } }
.next:has(.a0) { background: #3a1120; } .next:has(.a2) { background: #12264f; }
@media (min-width: 821px) { .nx { font-size: clamp(12px, 1.25vw, 22px); } .next h3 { font-size: clamp(40px, 5.2vw, 88px); } .a2 .tr { right: 3%; top: 5%; } .a2 .br { right: 12%; bottom: 6%; } }
.notes a, .sec p a { color: var(--ac); text-decoration: underline; text-underline-offset: 3px; } @media (hover: hover) { .notes a:hover, .sec p a:hover { color: #fff; } }
.others { margin-top: 24px; padding: 40px 0 24px; border-top: 1px solid #333; } .others h2 { font-size: 24px; line-height: 1.3; margin-bottom: 20px; } .others > div { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.others img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; margin-bottom: 12px; transition: filter .2s; } .others b { display: block; font-weight: 500; font-size: 1.1875rem; line-height: 1.35; } .others span { font-size: 1rem; color: #c4c4c4; }
@media (hover: hover) { .others a:hover b { color: var(--ac); } .others a:hover img { filter: brightness(1.15); } }
@media (max-width: 600px) { .others > div { gap: 14px; } .others b { font-size: 1rem; } }
.hmw { position: relative; overflow: hidden; } .hmw .hm.lit { color: var(--ac); } .hmw:has(.band) { padding-bottom: clamp(170px, 13.5vw, 250px); }
.band { position: absolute; left: 0; bottom: 24px; width: 100%; height: clamp(110px, 8.4vw, 170px); }
/* One side margin for every page: 20px phones, 32px tablets. Desktop keeps its wider reading margins. */
.about .copy { padding-left: 24px; }
@media (max-width: 900px) {
  :root { --m: 32px; }
  .page { padding: 0 var(--m); } .top { margin: 0 calc(var(--m) * -1); padding: 6px var(--m); }
  .cv { padding-left: var(--m); padding-right: var(--m); } .about .copy { padding: 0 var(--m) 28px; }
  .work { --edge: var(--m); } .work.mo { padding-left: var(--m); padding-right: var(--m); } .work.ui .copy { padding-left: var(--m); padding-right: var(--m); }
  .work > .back, .work.ui > .back, .about .back { left: var(--m); } .jump { right: var(--m); }
}
@media (max-width: 600px) { :root { --m: 20px; } }
.facts .go { display: flex; width: fit-content; } .facts .go.alt { margin: 12px 0 0; }
figcaption { font-style: italic; line-height: 1.5; max-width: 44em; } figcaption b { font-weight: 600; }
/* Spacing scale: 4 label to value, 20 heading to text and between paragraphs, 40 text to image, --gap between sections */
.work { --gap: clamp(64px, 7.2vw, 112px); }
.facts { padding-top: clamp(48px, 6vw, 96px); padding-bottom: var(--gap); row-gap: clamp(36px, 4.5vw, 72px); }
.facts h2 ~ h2 { margin-top: 32px; } .work dd { margin-top: 4px; } .work dt { margin-top: 24px; }
.sec, .nums { padding-bottom: var(--gap); } .hmw { margin-bottom: var(--gap); }
.sec h2 { margin-bottom: 20px; } .sec p, .notes p, .under p { line-height: 1.6; margin: 0; } .under p { font-size: 1.125rem; }
.sec p + p, .work .sec p + p.todo, .work .sec p.todo + p, .notes p + p, .under p + p { margin-top: 20px; } .sec p + p.todo { display: table; }
.sec > .one, .sec > .two { margin-top: 40px; } figcaption { margin-top: 12px; }
.under { padding-top: 40px; } .under h1 { margin-bottom: 20px; } .others { margin-top: 0; padding: 40px 0 16px; } .notes { margin-top: 48px; }
.cv .reach { padding-bottom: 20px; } .cv #contact .find { padding-top: 16px; }
@media (max-width: 900px) { .intro { margin-top: 20px; } .cta { margin-top: 24px; } .two { gap: 32px; } .nums { gap: 32px; } .notes { margin-top: 32px; } .notes section { padding: 32px 0; gap: 16px; } }
.under .go { display: flex; width: fit-content; margin: 28px 0 0; }
/* Page not found */
.nf { min-height: 100svh; display: flex; flex-direction: column; padding: 0 24px; } .nf main { margin: auto 0; padding: 64px 0; } .nf h1 { font-size: clamp(3.5rem, 11vw, 9rem); max-width: 7em; } .nf p { margin-top: 24px; font-size: 1.1875rem; max-width: 30em; } .nf .copy { padding: 24px 0 28px; }
@media (max-width: 900px) { .nf { padding: 0 var(--m); } }
/* About, sliding in over the home page */
.abt { position: fixed; inset: 0; z-index: 110; background: #0e0e0e; outline: 0; box-shadow: -24px 0 60px rgba(0,0,0,.5); }
html.has-ab .page { opacity: .4; }
/* Project and About pages: a still frame with the buttons, and one part that scrolls. On narrower windows that part starts below the buttons, so nothing can show above them. */
.ov { overflow: hidden; } .ov > .work { position: absolute; inset: 0; } body.solo { overflow: hidden; } .solo .work { position: fixed; inset: 0; } .work.mo { max-width: none; margin: 0; padding: 0; }
.roll { position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; scroll-padding: 84px 0 24px; outline: 0; } .abt > .back { position: absolute; } body.about > .roll { position: fixed; }
@media (max-width: 1360px) { .work > .roll { top: 72px; scroll-padding-top: 12px; } }
@media (max-width: 900px) { .about > .roll { top: 72px; } }
body.nf { overflow: auto; }
@media print { body.solo { overflow: visible; } .solo .work, .roll, body.about > .roll { position: static; overflow: visible; } }
@media (max-width: 900px) { .top { box-shadow: 0 -12px 0 #0e0e0e; } }
.vp.mu { right: 120px; } .mu .off, .mu.is .on { display: none; } .mu.is .off { display: inline; } @media (max-width: 820px) { .vp.mu { right: 112px; } }
/* One player for every project: as wide as the text, and never so tall that the headline is off screen. Films that aren't wide get a blurred still of themselves at the sides. */
.work .player { width: min(100% - 2 * var(--edge), (100svh - 290px) * 16 / 9); min-width: min(100% - 2 * var(--edge), 480px); margin: 84px var(--edge) 0; border-radius: 14px; overflow: hidden; background: #000; }
.work.ui .hero { width: 100%; margin: 0; border-radius: 0; } .work.ui .hero, .work.mo .stage { aspect-ratio: 16 / 9; max-height: none; width: 100%; }
.work.ui .hero .art, .work.mo .stage { border-radius: 0; } .hero .art > video { object-fit: contain; }
.work.mo .stage { overflow: hidden; } .stage::before { content: ""; position: absolute; inset: -60px; background: var(--p) center / cover; filter: blur(36px) brightness(.38); } .stage > video { position: relative; background: none; }
.work.ui .facts, .work.mo .under { padding-top: 48px; }
.work.mo .tx, .work.mo .others, .work.mo .copy { margin-left: var(--edge); margin-right: var(--edge); } .ov.mo { background: #0e0e0e; }
@media (max-width: 1360px) { .work .player { margin-top: 12px; } }
@media (max-width: 900px) {
  .work.mo .player { width: 100%; min-width: 0; margin: 0; border-radius: 0; } .work.mo .stage { aspect-ratio: var(--r); max-height: calc(100svh - 150px); } .work.mo .under { padding-top: 32px; } .work.ui .facts { padding-top: 40px; }
}
@media (max-height: 500px) and (orientation: landscape) { .work.ui .player { width: min(100% - 2 * var(--edge), (100svh - 180px) * 16 / 9); min-width: 0; } .work.mo .stage { max-height: calc(100svh - 120px); } }
/* UI breakdown: single parts of the interface on a grey panel */
.panel2 { position: relative; display: grid; place-items: center; background: #262626; border-radius: 14px; padding: clamp(20px, 4vw, 56px) 0; overflow: hidden; } .panel2.sq { aspect-ratio: 1; padding: 0; }
.shot { position: relative; width: var(--w); aspect-ratio: var(--ar); } .shot > video, .shot > img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: clamp(6px, .9vw, 12px); background: #f6f6f4; box-shadow: 0 10px 40px rgba(0,0,0,.35); }
.two .panel2:not(.sq) { aspect-ratio: 4 / 3; padding: 0; }
.pin { position: absolute; display: grid; place-items: center; width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%; background: #0e0e0e; color: #fff; border: 2px solid #fff; font: 600 16px/1 var(--sans); }
.key { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 40px; margin-top: 28px; padding: 0; list-style: none; counter-reset: k; } .key li { position: relative; padding-left: 42px; line-height: 1.5; font-size: 1.0625rem; max-width: 34em; counter-increment: k; } .key li::before { content: counter(k); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #2e2e2e; font-weight: 600; font-size: 1rem; line-height: 1; } .key b { font-weight: 600; }
.vp.cp { right: 10px; bottom: 10px; opacity: 0; transition: opacity .2s; } .panel2:hover .cp, .cp:focus-visible, .cp.is { opacity: 1; } @media (hover: none) { .vp.cp { opacity: 1; } }
.sec > .row { margin-top: 40px; } .row + .row { margin-top: 32px !important; } .row.two { gap: 20px; }
@media (max-width: 820px) { .key { grid-template-columns: minmax(0, 1fr); } .pin { width: 24px; height: 24px; margin: -12px 0 0 -12px; } .panel2 .shot { width: max(var(--w), 60%); } .panel2:not(.sq) .shot { width: 92%; } .row.two { gap: 32px; } }
.shot > video { object-position: top; }
/* Numbers on a picture: hover, focus or tap shows the part's name */
.pin { cursor: pointer; z-index: 2; padding: 0; transition: background .15s, color .15s; } .pin::before { content: ""; position: absolute; inset: -9px; border-radius: 50%; } .pin:hover, .pin:focus-visible, .pin.show { z-index: 3; background: var(--ac); color: #0e0e0e; }
.pin::after { content: attr(data-n); position: absolute; left: 50%; top: calc(100% + 8px); transform: translate(-50%, -4px); padding: 7px 12px; border-radius: 8px; background: #0e0e0e; color: #fff; font: 500 16px/1.2 var(--sans); white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s, transform .15s; }
.pin.up::after { top: auto; bottom: calc(100% + 8px); } .pin.rt::after { left: auto; right: -6px; transform: translate(0, -4px); } .pin.lt::after { left: -6px; transform: translate(0, -4px); }
.pin:hover::after, .pin:focus-visible::after, .pin.show::after { opacity: 1; transform: translate(-50%, 0); } .pin.rt:hover::after, .pin.rt:focus-visible::after, .pin.rt.show::after, .pin.lt:hover::after, .pin.lt:focus-visible::after, .pin.lt.show::after { transform: none; }
/* Reading text grows a little on laptops and up */
@media (min-width: 1100px) { .sec p, .notes p, .under p { font-size: clamp(1.125rem, 1.36vw, 1.3125rem); } figcaption, .work dt, .copy { font-size: 1.0625rem; } .work dd, .key li { font-size: 1.125rem; } .facts h2 { font-size: 1.0625rem; } }
.panel2.plain { display: block; padding: clamp(24px, 4vw, 56px); }
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); } .ba h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 20px; } .ba ol { list-style: none; counter-reset: s; display: grid; gap: 10px; } .ba li { counter-increment: s; display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 8px 16px; border-radius: 10px; background: #363636; font-size: 1.125rem; line-height: 1.35; } .ba li::before { content: counter(s); flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #0e0e0e; font-weight: 600; font-size: 1rem; line-height: 1; } .ba .now li { background: #fff; color: #0e0e0e; } .ba .now li::before { background: var(--ac); }
.clean { width: 100%; border-collapse: collapse; text-align: left; font-size: 1.125rem; } .clean th { font-weight: 500; color: var(--ac); padding: 0 16px 14px 0; font-size: 1.0625rem; } .clean td { padding: 18px 16px 18px 0; border-top: 1px solid #454545; width: 50%; } .clean td:last-child { font-weight: 600; }
@media (max-width: 640px) { .ba { grid-template-columns: minmax(0, 1fr); } .clean td { padding: 14px 10px 14px 0; font-size: 1.0625rem; } }
/* The two next projects */
.more { padding: 0 var(--edge) 24px; } .more h2 { font-size: clamp(28px, 3.3vw, 50px); margin-bottom: 28px; } .more > div { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; } .next { margin: 0; } .next h3 { white-space: normal; letter-spacing: -.02em; }
@media (min-width: 821px) {
  .next { min-height: 0; aspect-ratio: 1 / 1.02; } .next h3 { font-size: clamp(32px, 3.6vw, 64px); } .nx { font-size: clamp(8.5px, .86vw, 17px); } .next > span { font-size: 1.0625rem; }
  .dl, .dr { width: 100%; height: 25%; inset: 0 0 auto; } .dr { inset: auto 0 0; } .dl { -webkit-mask: linear-gradient(#000 50%, transparent); mask: linear-gradient(#000 50%, transparent); } .dr { -webkit-mask: linear-gradient(0deg, #000 50%, transparent); mask: linear-gradient(0deg, #000 50%, transparent); }
  .tl { left: -2%; top: 4%; } .tr { right: -2%; top: 6%; } .bl { left: -2%; bottom: 5%; } .br, .a2 .br { right: -2%; bottom: 4%; } .a2 .tr { right: -2%; top: 5%; }
}
@media (max-width: 820px) { .more > div { grid-template-columns: minmax(0, 1fr); } .next { min-height: 440px; } }
@media (max-width: 820px) { .next { min-height: 460px; } .nx { font-size: clamp(9.5px, 2.6vw, 16px); } }
/* Homepage on laptops and desktops: both tabs fit on one screen */
@media (min-width: 901px) {
  main#work { padding-bottom: 0; } #p-uiux { max-width: calc((100svh - 106px) * 1.7778 + 14px); }
  #p-motion { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 14px; max-width: max(640px, calc((100svh - 290px) * 2.667 + 28px)); }
}
/* The next step at the end of a case study */
.talk { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; margin: 0 var(--edge) var(--gap); padding: 32px 0; border-top: 1px solid #333; border-bottom: 1px solid #333; } .talk h2 { font-size: clamp(24px, 2.4vw, 36px); }
/* Quantifying Taste card: the two lists lean towards each other on hover */
.next .dl, .next .dr { height: calc(25% + 18px); transition: transform .6s cubic-bezier(.22,1,.36,1); } .next .dl { top: -18px; } .next .dr { bottom: -18px; }
@media (hover: hover) { .next:hover .dl, .next:focus-visible .dl { transform: translateY(18px); } .next:hover .dr, .next:focus-visible .dr { transform: translateY(-18px); } }
@media (hover: hover) { .go.alt:hover { background: #1f1f1f !important; box-shadow: inset 0 0 0 1px #fff; } }
/* Instagram buttons: the label rolls up to the handle */
.rl { display: block; height: 1.5em; line-height: 1.5em; overflow: hidden; } .rl span { display: block; transition: transform .35s cubic-bezier(.4,0,.1,1); }
@media (hover: hover) { .go:hover .rl span { transform: translateY(-100%); } } .go:focus-visible .rl span { transform: translateY(-100%); }
.rl { text-align: center; }
.clean.trio td { width: 33.3%; } .clean.trio td:first-child { color: #c4c4c4; }
@media (max-width: 640px) { .clean.trio thead { display: none; } .clean.trio tr { display: grid; gap: 4px; padding: 16px 0; border-top: 1px solid #454545; } .clean.trio tr:first-child { border: 0; padding-top: 0; } .clean.trio td { display: block; width: auto; padding: 0; border: 0; } }
/* Motion tiles: a timeline along the bottom on hover, filling as the clip plays */
.pl { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(0,0,0,.45); opacity: 0; transition: opacity .2s; pointer-events: none; } .pl::after { content: ""; position: absolute; inset: 0; background: var(--ac); transform: scaleX(var(--p, 0)); transform-origin: 0 50%; }
@media (hover: hover) { .card:hover .pl { opacity: 1; } } .card:focus-visible .pl { opacity: 1; }
/* Buttons give a little under the pointer, and a little more when pressed */
.go, .back, .jump summary { transition: transform .2s cubic-bezier(.3,0,.2,1), background .2s, color .2s, box-shadow .2s; }
@media (hover: hover) { .go:hover, .back:hover, .jump:not([open]) summary:hover { transform: scale(.96); } } .go:active, .back:active, .jump:not([open]) summary:active { transform: scale(.92); }
.facts .go:has(+ .go.alt), .facts .go.alt { width: 192px; justify-content: space-between; white-space: nowrap; } .facts .go.alt { margin-top: 12px; }
/* Contact form */
.cform { display: grid; gap: 20px; border-top: 1px solid var(--line); padding: 24px 0 32px; } .cv .cform .reach { border: 0; padding: 0; } .f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; } .cform label { display: grid; gap: 8px; font-size: 1.0625rem; }
.cform input:not(.bot), .cform textarea { width: 100%; font: inherit; color: #fff; background: #1c1c1c; border: 1px solid #767676; border-radius: 10px; padding: 12px 14px; min-height: 48px; } .cform textarea { resize: vertical; line-height: 1.5; } .cform :is(input, textarea):focus-visible { outline: 2px solid var(--ac); outline-offset: 1px; border-color: transparent; } .cform [aria-invalid] { border-color: #ff8a80; }
.bot { position: absolute; left: -9999px; } .fb { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; } .fb .go:disabled { opacity: .6; cursor: default; } .fs { min-height: 1.5em; } .fs.bad { color: #ff9d94; } .fine { font-size: 1rem; color: #c4c4c4; }
@media (max-width: 600px) { .f2 { grid-template-columns: minmax(0, 1fr); } }
/* Four films: two by two */
@media (min-width: 901px) { #p-motion { grid-template-columns: 1fr 1fr; max-width: max(480px, calc((100svh - 290px) * 1.778 + 14px)); } }
.ov.lift.on .player .bar { animation: none; }
/* Ominous Archives */
.next:has(.a3) { background: #33270a; }
.plt { background: #ffc20e; color: #000; width: 13.5em; padding: 2em 1.5em; text-align: center; border-radius: 1.2em; box-shadow: inset 0 0 0 .4em #ffc20e, inset 0 0 0 .65em #000, 0 14px 40px rgba(0,0,0,.35); } .plt b { font-size: 1.25em; line-height: 1.15; display: block; }
.pc.hz { background: #151715; display: grid; grid-template-columns: repeat(4, 2.6em); gap: .5em; padding: .8em; } .hz i { border-radius: .45em; color: #000; aspect-ratio: 1; padding: .35em; } .nx .hz svg { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; } .hz .f { fill: currentColor; stroke: none; }
.wh { width: 13em; text-align: center; border-radius: .4em; } .wh b { display: block; color: #b3131b; text-transform: uppercase; font-size: 1.3em; } .wh span { font-weight: 600; }
.pc.lo { background: #ffc20e; color: #000; font-weight: 700; border-radius: .5em; padding: .8em 1.4em; }
/* Tall phone screens need a wider share of the panel on a phone */
@media (max-width: 820px) { .row.two .panel2.sq:has(.shot) { aspect-ratio: auto; padding: 28px 0; } }
/* Ominous: where the signs ended up */
.panel2.plain:has(.hzt) { padding: 0; background: none; border-radius: 0; } .hzt { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; list-style: none; } .sec .panel2 .hzt { width: 100%; max-width: none; margin: 0; }
.hzt li { display: grid; grid-template-columns: 1fr auto; grid-template-rows: 1fr auto; align-items: start; gap: 12px; aspect-ratio: 1.15; padding: clamp(14px, 1.6vw, 26px); border-radius: 18px; background: var(--c); color: #0e0e0e; }
.hzt svg { width: clamp(44px, 5.6vw, 92px); height: auto; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; } .hzt .f { fill: currentColor; stroke: none; }
.hzt b { font: 700 clamp(2.5rem, 5vw, 5rem)/.85 var(--title); letter-spacing: -.03em; } .hzt span { grid-column: 1 / -1; font-size: clamp(1rem, 1.5vw, 1.5rem); line-height: 1.2; font-weight: 600; }
@media (max-width: 820px) { .hzt { grid-template-columns: 1fr 1fr; gap: 10px; } .hzt li { aspect-ratio: 1.25; } }
/* Deceptive UX: how common dark patterns are */
.panel2.plain:has(.apps) { padding: clamp(28px, 5vw, 72px); } .apps { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.apps p b { display: block; font: 700 clamp(4rem, 8vw, 8rem)/.9 var(--title); letter-spacing: -.04em; } .sec .apps p { margin: 0; } .apps p span { display: block; margin-top: 14px; line-height: 1.4; }
.apps > div { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(8px, 1vw, 14px); } .apps i { aspect-ratio: 1; border-radius: 24%; background: #ff6b5e; } .apps i:last-child { background: #454545; }
@media (max-width: 820px) { .apps { grid-template-columns: minmax(0, 1fr); } }
/* Text on the left, the first picture on the right */
@media (min-width: 901px) { .sec.beside { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(40px, 5vw, 80px); grid-template-rows: auto auto 1fr; } .beside > h2, .beside > p { grid-column: 1; } .beside > h2 + p + .row { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; } .beside > .row + .row { grid-column: 1 / -1; margin-top: 48px !important; }
  .beside .apps { grid-template-columns: minmax(0, 1fr); gap: 28px; } .beside .panel2.plain:has(.apps) { padding: clamp(28px, 3vw, 44px); } .beside .apps p b { font-size: clamp(4rem, 6vw, 6rem); } }
/* Headings that are a whole sentence */
.sec.line h2 { font-size: clamp(26px, 2.7vw, 42px); line-height: 1.2; max-width: 21em; text-wrap: balance; }
/* Ominous: one sign, large */
.panel2.plain:has(.bigsign) { padding: clamp(20px, 2.4vw, 36px); background: #ffc20e; } .bigsign { border: 5px solid #000; border-radius: 14px; padding: clamp(32px, 4vw, 64px) 24px; color: #000; text-align: center; } .sec .bigsign p { max-width: none; font-size: clamp(1.25rem, 1.9vw, 1.75rem); line-height: 1.25; font-weight: 600; } .bigsign b { display: block; font: 700 clamp(5.5rem, 10vw, 10rem)/.9 var(--title); letter-spacing: -.04em; margin-bottom: 16px; }
/* Quantifying Taste: two bars for each country */
.bars { display: grid; gap: 32px; } .bars h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 12px; } .sec .bars p { display: grid; grid-template-columns: calc((100% - 150px) * var(--v)) auto 1fr; align-items: center; gap: 12px; max-width: none; margin: 0; } .sec .bars p + p { margin-top: 8px; } .bars i { height: clamp(32px, 4vw, 56px); border-radius: 8px; background: var(--c); } .bars b { font-weight: 600; } .bars span { color: #c4c4c4; }
/* About: short points under each role */
.cv .pts { margin: 10px 0 0; padding: 0; border: 0; display: block; } .cv .pts li { display: block; padding: 0; border: 0; margin-top: 8px; }
.sec .panel2 .bars { width: 100%; max-width: none; margin: 0; }
@media (min-width: 901px) { .beside > p ~ .row { grid-column: 2; grid-row: 1 / span 4; margin-top: 0; } .beside > .row ~ .row { grid-column: 1 / -1; grid-row: auto; } .sec.beside { grid-template-rows: auto auto auto 1fr; } .beside > p.todo { justify-self: start; align-self: start; } }
.cv .pts { list-style: disc; padding-left: 1.2em; } .cv .pts li { display: list-item; } .cv .pts li::marker { color: #c4c4c4; }

/* Audit fixes, 25 Nov 2026 */
.jump nav { max-height: calc(100svh - 140px); overflow-y: auto; overscroll-behavior: contain; } @media (max-height: 500px) { .jump nav { max-height: calc(100svh - 84px); } }
.sec h2, .more h2 { font-size: clamp(26px, 2.7vw, 42px); line-height: 1.2; }
.intro, .work p, .cv p, .cv li, figcaption, .key li { text-wrap: pretty; } .facts h1 { text-wrap: balance; }
.pin::before { inset: -10px; }
@media (min-width: 901px) and (max-height: 620px) { .side > * { flex-shrink: 0; } .foot { min-height: 0; padding-top: 24px; } }
/* Newer Chrome applies place-items to block layouts too, which shrank the sign, the bars and the before/after lists */
.panel2.plain { place-items: normal; }
@media (min-width: 901px) and (max-width: 1099px) and (hover: hover) { #p-uiux .cap .k { display: none; } }

/* Paired pictures: grey frame about even on all sides. Stacked on small screens, so no shared height needed there. */
.two .panel2:not(.sq) { aspect-ratio: 3 / 2; } .two .panel2:not(.sq)[style*="16 / 9"] { aspect-ratio: 8 / 5; }
@media (max-width: 820px) { .two .panel2:not(.sq):has(.shot) { aspect-ratio: auto; padding: 4% 0; } }
