html{scroll-behavior:smooth}
.skip{position:absolute;left:-9999px;top:0;z-index:20;background:#1C1B19;color:#FAF8F4;padding:12px 18px;border-radius:0 0 4px 0;font-size:15px}
.skip:focus{left:0;color:#FAF8F4}
:focus-visible{outline:2px solid #0CB4B7;outline-offset:3px}
body{margin:0;background:#FAF8F4;color:#1C1B19;font-family:'Figtree',sans-serif;-webkit-font-smoothing:antialiased;position:relative}
body::before{content:"";position:fixed;inset:0;z-index:0;pointer-events:none;opacity:.5;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.1 0 0 0 0 0.08 0 0 0 0.09 0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E")}
body>*{position:relative;z-index:1}
a{color:#1C1B19;text-decoration:none}a:hover{color:#08898B}
h1,h2,h3,p{margin:0}
.wrap{max-width:1200px;margin:0 auto;padding-left:40px;padding-right:40px}
/* Scoped to the page's own nav: the category chips are a <nav> too, and
   unscoped rules made them sticky and drew a rule under them. */
body>nav{position:sticky;top:0;z-index:10;background:rgba(250,248,244,.9);backdrop-filter:blur(8px);border-bottom:1px solid #E6E2DA}
body>nav .wrap{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-top:16px;padding-bottom:16px}
body>nav img{height:34px;display:block}
body>nav .links{display:flex;gap:28px;font-size:15px;font-weight:500}
.hero{padding-top:72px;padding-bottom:96px;display:grid;grid-template-columns:1.2fr .8fr;gap:64px;align-items:end}
/* Without this the logo's #top jump tucks the hero's first 67px under the
   sticky nav, so the header looked shorter after clicking than on load. */
#top{scroll-margin-top:92px}
.hero-text{display:flex;flex-direction:column;gap:28px}
h1{font-family:'Instrument Serif',serif;font-weight:400;font-size:clamp(48px,7vw,88px);line-height:1;letter-spacing:-.015em;text-wrap:balance}
.hero p{font-size:19px;line-height:1.5;color:#6B6862;max-width:560px;text-wrap:pretty}
.btns{display:flex;gap:12px;flex-wrap:wrap}
.btn{display:inline-flex;align-items:center;height:48px;padding:0 24px;border:1px solid #1C1B19;border-radius:4px;font-size:15px;font-weight:500}
.btn:hover{border-color:#0CB4B7;color:#08898B}
.btn.solid{background:#1C1B19;color:#FAF8F4}.btn.solid:hover{background:#0CB4B7;border-color:#0CB4B7;color:#FAF8F4}
.art{border-radius:4px;overflow:hidden;display:flex;align-items:center;justify-content:center}
.art img{width:100%;height:100%;object-fit:cover;display:block}
/* .fit shows a whole page or mark rather than cropping to fill the card.
   The fill stays transparent: artwork proportions vary, so a white plate
   showed as bars around anything that was not exactly the card's ratio. */
.art.fit{background:transparent}
.art.fit img{object-fit:contain}
.art.fit.pad{padding:28px}
.hero-art{font-size:13px}
/* Two stacked layers so the hero can crossfade; script adds the second.
   Slides differ in proportion, so contain letterboxes them; the fill stays
   transparent to let the paper show through rather than banding in white. */
.hero-art.fit{background:transparent}
/* overflow must clear .art's hidden or the tilt and its shadow get clipped. */
.hero-art{position:relative;overflow:visible;perspective:1600px}
.hero-art img{position:absolute;inset:0;width:100%;height:100%;border-radius:2px;
  transform:rotateY(-6deg) rotateZ(-1deg);
  /* drop-shadow traces the artwork's own edges; box-shadow would outline the
     full letterboxed element box instead. Two passes: contact, then cast. */
  filter:drop-shadow(0 1px 2px rgba(28,27,25,.13)) drop-shadow(0 14px 26px rgba(28,27,25,.17));
  will-change:opacity,transform}
.hero-art img.fade{transition:opacity .5s ease,transform .5s cubic-bezier(.22,.61,.36,1)}
/* Outgoing slide drops back and turns a little further, so the incoming one
   settles forward into place like a card being laid down. */
.hero-art img.is-out{opacity:0;transform:rotateY(-12deg) rotateZ(-2deg) translateZ(-40px)}
@media (prefers-reduced-motion:reduce){
  .hero-art img.fade{transition:none}
  .hero-art img.is-out{transform:rotateY(-6deg) rotateZ(-1deg)}
}
#work{padding-top:32px}
.work-head{display:flex;align-items:baseline;justify-content:space-between;gap:24px;flex-wrap:wrap;border-top:1px solid #E6E2DA;padding-top:28px;margin-bottom:28px}
h2{font-family:'Instrument Serif',serif;font-weight:400;font-size:40px;line-height:1.1}
.chips{display:flex;gap:8px;flex-wrap:wrap}
.chip{height:36px;display:inline-flex;align-items:center;padding:0 14px;border-radius:4px;border:1px solid #E6E2DA;background:transparent;color:#1C1B19;font-family:'Figtree',sans-serif;font-size:14px;font-weight:500;cursor:pointer;text-decoration:none;white-space:nowrap}
.chip:hover{border-color:#0CB4B7}.chip.on{background:#1C1B19;color:#FAF8F4;border-color:#1C1B19}
.chip.on:hover{color:#FAF8F4}
.group{display:flex;flex-direction:column;gap:20px;padding:20px 0 48px}
/* Clears the sticky nav when a chip link jumps to a category. */
.group{scroll-margin-top:92px}
.gh{display:flex;align-items:baseline;gap:16px;flex-wrap:wrap}
.gh h3{font-size:12px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:#6B6862}
.gh span{font-size:14px;color:#6B6862}
.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.card{display:flex;flex-direction:column;gap:10px}
.card .t{font-size:15px;font-weight:500}.card .m{font-size:14px;color:#6B6862}
.two{padding-top:64px;padding-bottom:64px;display:grid;grid-template-columns:1fr 1.4fr;gap:64px;border-top:1px solid #E6E2DA}
#contact{padding-bottom:120px}
.prose{display:flex;flex-direction:column;gap:20px;font-size:18px;line-height:1.55;max-width:620px;text-wrap:pretty}
.email{font-family:'Instrument Serif',serif;font-size:36px;line-height:1.1;word-break:break-word}
.email-fallback{font-family:'Instrument Serif',serif;font-size:28px;line-height:1.2}
.email-fallback em{font-style:normal;font-size:.7em;color:#6B6862}
/* Source order is reversed; this flips it back for the reader only. */
.rev{unicode-bidi:bidi-override;direction:rtl}
/* Native <dialog>: Escape, focus trapping and the backdrop come for free. */
/* body>*{position:relative} would otherwise beat the UA's position:fixed and
   drop the dialog into document flow at the top of the page. */
.lightbox{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;
  border:0;padding:0;background:transparent;color:#FAF8F4;
  display:grid;place-items:center;overflow:visible}
.lightbox:not([open]){display:none}
.lightbox::backdrop{background:rgba(20,19,17,.78)}
.lightbox-inner{display:grid;place-items:center}
/* Never larger than 90% of either axis; the smaller limit wins and the
   browser keeps the aspect ratio, so nothing is upscaled past its frame. */
.lightbox img{display:block;max-width:90vw;max-height:90vh;width:auto;height:auto;border-radius:3px;box-shadow:0 24px 70px rgba(0,0,0,.45)}
/* Pinned rather than stacked, so a tall image never gets squeezed to fit it. */
.lightbox-cap{position:fixed;left:50%;bottom:16px;transform:translateX(-50%);
  margin:0;font-size:14px;color:#E6E2DA;text-align:center;max-width:min(70ch,90vw);
  text-shadow:0 1px 6px rgba(0,0,0,.6)}
.lightbox-x{position:fixed;top:18px;right:20px;width:44px;height:44px;border-radius:50%;
  border:1px solid rgba(250,248,244,.25);background:rgba(250,248,244,.1);backdrop-filter:blur(6px);
  color:#FAF8F4;font-size:26px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;
  transition:background .15s ease,color .15s ease,border-color .15s ease}
.lightbox-x:hover{background:#FAF8F4;color:#1C1B19;border-color:#FAF8F4}
.card .art,.hero-art{cursor:zoom-in}
@media (max-width:520px){.lightbox-x{top:12px;right:12px;width:40px;height:40px}}
@media (prefers-reduced-motion:no-preference){
  .lightbox[open]{animation:lb-in .18s ease both}
  .lightbox[open]::backdrop{animation:lb-fade .18s ease both}
}
@keyframes lb-in{from{opacity:0;transform:scale(.98)}}
@keyframes lb-fade{from{opacity:0}}
footer{border-top:1px solid #E6E2DA}
footer .wrap{padding-top:28px;padding-bottom:28px;display:flex;justify-content:space-between;gap:24px;font-size:14px;color:#6B6862;flex-wrap:wrap}
footer a{color:#6B6862}
@media (max-width:820px){.wrap{padding-left:20px;padding-right:20px}.hero{grid-template-columns:1fr;padding-top:48px;padding-bottom:56px}.hero-art{max-width:320px}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.two{grid-template-columns:1fr;gap:24px}body>nav .links{gap:18px}}
@media (max-width:520px){.grid{grid-template-columns:1fr}.email{font-size:28px}}