

:root { --paper:#fff; --ink:#000; }
body { overflow-x:clip; margin:0; background:#fff; color:#000; font-family:var(--sans); }
body::before { display:none; }
* { box-sizing:border-box; }
a { color:inherit; text-decoration:none; }
button { font:inherit; color:inherit; }
.home-nav { position:absolute; top:30px; left:17px; right:19px; z-index:5; display:flex; align-items:center; gap:32px; font-size:16px; }
.nav-pill { background:rgba(255,255,255,.7); border:0; border-radius:999px; min-height:38px; display:flex; align-items:center; justify-content:center; }
.brand { padding:7px 35px; font-size:18px; font-weight:700; white-space:nowrap; }
.filters { gap:12px; padding:0 5px; }
.filters button, .filters > a { border:0; background:none; border-radius:999px; padding:9px 11px; white-space:nowrap; cursor:pointer; line-height:20px; }
.nav-links { margin-left:auto; display:flex; gap:13px; }
.nav-links a { gap:8px; padding:7px 12px; white-space:nowrap; }
.nav-links svg { width:17px; height:17px; fill:none; stroke:currentColor; stroke-width:1.4; }
a:focus-visible,button:focus-visible { outline:2px solid #000; outline-offset:4px; }

.home-nav { position:sticky; top:30px; left:auto; right:auto; z-index:100; margin:30px 19px 0 17px; }
.nav-pill { background:rgba(255,255,255,.7); }
.filters > a[aria-current="page"] { text-decoration:underline; text-underline-offset:4px; }
.work-page { padding:48px 44px 48px; }
.work-page h1 { font-size:32px; line-height:1.15; letter-spacing:-.025em; font-weight:700; color:#3e3e3e; margin:0 0 29px; }
.work-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px 42px; }
.pcard { position:relative; display:block; min-width:0; color:#000; }
.pcard .ph { position:relative; aspect-ratio:597/420; overflow:hidden; background:#f2f2f2; }
.pcard img,.pcard video { display:block; width:100%; height:100%; object-fit:cover; }
.pcard .thumb--ctx-video,.pcard .thumb--ctx-still { position:absolute; inset:0; }
.pcard .thumb--ctx-still { display:none; }
.project-info { color:#000; padding:16px 0 0; background:none; border:0; }
.cap { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:5px; }
.t { font-family:var(--display); font-size:22px; font-weight:700; line-height:1.1; }
.tagrow { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:12px; }
.tagrow span { font-weight:400; text-transform:uppercase; border:0; padding:3px 0; font-size:12px; font-style:normal; line-height:1.2; }
.d { font-size:16px; line-height:1.45; width:75%; }
@media(min-width:781px) {
  .pcard[href^="directions/flux.html"] .d,
  .pcard[href^="directions/contextpath.html"] .d,
  .pcard[href^="directions/atlas.html"] .d { width:80%; }
}
@media(max-width:780px) { .d { width:100%; } }
.pcard:focus-visible { outline-offset:4px; }
@media(min-width:1600px) { .home-nav { font-size:18px; } .brand { font-size:20px; } }
@media(max-width:1050px) { .home-nav { gap:14px; } .brand { padding:7px 20px; } .filters { gap:0; } .filters > a { padding:9px; } .nav-links { gap:8px; } .work-page { padding:44px 28px; } .work-grid { gap:24px; } .cap { align-items:flex-start; flex-direction:column; gap:7px; } .tagrow { justify-content:flex-start; } }
@media(max-width:780px) { .home-nav { top:18px; margin:18px 14px 0; flex-wrap:wrap; gap:12px; font-size:13px; } .brand { padding:7px 20px; font-size:15px; } .nav-links { order:1; } .filters { order:2; flex-basis:100%; justify-content:space-around; } .filters > a { font-size:13px; padding:8px 10px; } .work-page { padding:32px 18px; } .work-page h1 { font-size:26px; margin-bottom:24px; } .work-grid { grid-template-columns:1fr; gap:24px; } .pcard .thumb--ctx-video { display:none!important; } .pcard .thumb--ctx-still { display:block; } }

.pcard .mos-logo-vid { height:auto; object-fit:contain; }


/* Secondary project information sits below black project titles. */
.pcard .d, .pcard .tagrow { color:#4a4a4a; }

/* Define the light thumbnail edge without changing its dimensions. */
.pcard[href^="directions/through-ais-eyes.html"] .ph::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid #b8b8b8;
  pointer-events: none;
}
