@font-face {
  font-family: Jost;
  src: url("/assets/fonts/jost.woff") format("woff");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  size-adjust: 96.3%;
}

:root {
  --display: "Futura PT", Futura, Jost, "Century Gothic", sans-serif;
  --body: "Proxima Nova", "Helvetica Neue", Arial, sans-serif;
  --ink: #222;
  --gray: #999;
  color: var(--ink);
  background: #fff;
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, p, ul, fieldset { margin: 0; }
body { min-height: 100vh; }
ul { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; cursor: pointer; }
button:disabled { cursor: default; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #353535; outline-offset: 3px; }
main:focus { outline: none; }
.sr-only, .bot-check { position: absolute; width: 1px; height: 1px; margin: -1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.skip-link { position: fixed; z-index: 5; left: 8px; top: 8px; padding: 8px 14px; background: white; transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.site-layout { display: grid; grid-template-columns: 25% minmax(0, 1fr); align-items: start; max-width: 1400px; margin-inline: auto; }
.mast { position: relative; }
.signature { position: relative; display: block; width: 80%; margin: 0; padding: 50px 0; }
.signature img { width: 100%; height: auto; }
.signature .signature-hover { display: none; }
@media (hover: hover) {
  .signature:hover img:first-child { display: none; }
  .signature:hover .signature-hover { display: block; }
}
.menu-open { display: none; }
.desktop-nav { width: 80%; margin: 0 auto; padding-top: 4px; }
.desktop-nav, .mobile-menu nav { font-family: var(--display); }
.work-link, .contact-link { display: block; width: fit-content; font-weight: 700; }
.work-link { font-size: 14px; line-height: 14px; text-transform: uppercase; margin-bottom: 20px; }
.work-link:hover, .work-link[aria-current] { color: var(--gray); }
.project-links { margin-bottom: 40px; }
.project-links li { padding-bottom: 10px; font-size: 16px; line-height: 20px; }
.project-links a, .contact-link { color: var(--gray); font-size: 16px; font-weight: 700; }
.project-links a { line-height: 20px; }
.contact-link { line-height: 16px; margin-bottom: 20px; }
.project-links a:hover, .contact-link:hover, .project-links a[aria-current], .contact-link[aria-current] { color: var(--ink); font-weight: 400; }
.social-links { display: flex; flex-wrap: wrap; gap: 0 15px; align-items: center; color: var(--gray); }
.social-links a { display: block; }
.social-links svg { display: block; width: 30px; height: 30px; fill: currentColor; }
.social-links a:hover, .social-links a:focus-visible { color: var(--ink); }

.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cover { position: relative; display: block; aspect-ratio: 1; overflow: hidden; }
.cover > img { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; object-fit: cover; }
.cover-label { position: absolute; inset: 5%; background: rgba(255,255,255,.9); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; font-family: var(--display); opacity: 0; transition: opacity .15s ease; }
.cover-year { color: var(--gray); font-size: 20px; line-height: 1; padding-bottom: 20px; }
.cover-title { width: 90%; color: var(--ink); font-size: 50px; line-height: 1; text-transform: uppercase; overflow-wrap: break-word; }
@media (hover: hover) { .cover:hover .cover-label { opacity: 1; } }
.cover:focus-visible { outline-offset: -4px; }
.cover:focus-visible .cover-label { opacity: 1; }

.page-heading { max-width: 800px; margin: auto; padding: 70px 0 90px; }
.page-heading h1 { text-align: center; font: 400 50px/1 var(--display); text-transform: uppercase; overflow-wrap: break-word; }
.art-group { padding-bottom: 40px; }
.art-group.pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; gap: 8px; }
.art-image { display: block; cursor: zoom-in; }
.art-image img { width: 100%; height: auto; }
.art-group video { display: block; width: 100%; height: auto; max-width: 720px; margin: 0 auto; background: #191919; }
.back-top { padding: 60px 0; text-align: center; color: var(--gray); font: 400 18px/18px var(--body); }
.back-top span { margin-right: 10px; }
.back-top a:hover { color: #666; }
footer { padding: 60px 0; color: #b8b6b6; font: 400 14px/19px var(--body); text-align: center; }
footer .social-links { justify-content: center; padding-bottom: 30px; }

dialog { border: 0; padding: 0; }
dialog:not([open]) { display: none; }
dialog::backdrop { background: #fff; }
html:has(dialog[open]) { overflow: hidden; }
.lightbox { position: fixed; inset: 0; margin: 0; width: 100%; max-width: none; height: 100%; max-height: none; background: transparent; }
.lightbox::backdrop { background: rgba(255,255,255,.94); }
.lightbox[open] { display: grid; place-items: center; }
.viewer-image { max-width: calc(100% - 80px); max-height: calc(100dvh - 40px); width: auto; height: auto; object-fit: contain; }
.lightbox button, .menu-close { border: 0; background: transparent; font: 300 36px/1 Arial,sans-serif; }
.lightbox button { position: absolute; width: 44px; height: 44px; display: grid; place-items: center; color: #333; background: rgba(255,255,255,.84); border-radius: 50%; }
.viewer-close { right: 12px; top: 12px; }
.viewer-prev, .viewer-next { top: calc(50% - 22px); }
.viewer-prev { left: 5px; }
.viewer-next { right: 5px; }
.mobile-menu { inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; background: white; }

.contact-form { width: min(100%,500px); margin: 40px auto; color: #333; font-family: Arial,sans-serif; }
.contact-form fieldset { border: 0; padding: 0; min-width: 0; }
.contact-form label { display: block; font-weight: 700; font-size: 14px; line-height: 14px; margin-bottom: 10px; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid #ddd; border-radius: 3px; background: #fff; color: #333; font-size: 18px; padding: 0 10px; margin-bottom: 30px; }
.contact-form input { height: 42px; }
.contact-form textarea { display: block; min-height: 132px; padding-block: 13px; resize: vertical; }
.contact-form button { border: 1px solid #777; border-radius: 5px; background: white; color: #333; font-size: 16px; font-weight: 700; padding: 0 30px; height: 40px; }
.contact-form fieldset:disabled button { opacity: .5; }
.contact-alternate, .contact-result { font: 400 15px/1.5 var(--body); }
.contact-alternate { margin-bottom: 22px; }
.contact-alternate a, .missing > a:last-child { text-decoration: underline; text-underline-offset: 3px; }
.contact-result:not(:empty) { margin-top: 16px; }
.missing { max-width: 480px; margin: 0 auto; padding: 35px 20px; }
.missing .signature { width: 180px; }
.missing h1 { font: 400 36px/1.2 var(--display); margin-bottom: 24px; }

@media (max-width: 768px) {
  .site-layout { display: block; }
  .desktop-nav { display: none; }
  .mast { display: flex; align-items: center; justify-content: center; padding: 35px 5%; }
  .signature { width: fit-content; max-width: calc(100% - 80px); padding: 0; }
  .signature img { max-height: 60px; width: auto; max-width: 100%; object-fit: contain; }
  .menu-open { position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 4px; align-items: center; justify-content: center; padding: 20px 5%; border: 0; background: transparent; }
  .menu-open span { display: block; width: 24px; height: 2px; background: black; }
  .mobile-menu[open] { display: flex; flex-direction: column; align-items: stretch; overflow: hidden; }
  .mobile-menu nav { flex: 1; min-height: 0; overflow-y: auto; padding: 50px 12% 10px; text-align: center; }
  .mobile-menu .work-link, .mobile-menu .contact-link { width: auto; margin: 0; padding-bottom: 30px; }
  .mobile-menu .project-links { margin: 0; }
  .mobile-menu .project-links li { padding-bottom: 30px; }
  .mobile-menu nav a { font-size: 22px; line-height: 32px; }
  .menu-close { position: absolute; z-index: 1; top: 25px; right: 3%; width: 44px; height: 44px; background: white; }
  .mobile-menu .social-links { flex: none; align-content: center; justify-content: center; flex-wrap: nowrap; padding: 12px 5% max(12px,env(safe-area-inset-bottom)); min-height: 80px; gap: 20px; border-top: 1px solid #ebebeb; }
  .mobile-menu .social-links svg { width: 42px; }
  .cover-title { font-size: 31px; }
  .cover-year { font-size: 17px; padding-bottom: 14px; }
  .page-heading { padding: 30px 5% 44px; }
  .page-heading h1 { font-size: 31px; }
  .art-group { padding-bottom: 20px; }
  .back-top, footer { padding: 28px 5%; }
  .back-top { font-size: 14px; line-height: 14px; }
  footer { line-height: 20px; }
  footer .social-links { gap: 12px; padding-bottom: 24px; }
  .contact-form { padding-inline: 5%; margin-block: 20px; }
}

@media (max-width: 540px) {
  .mast { padding-block: 25px; }
  .menu-close { top: 15px; }
  .mobile-menu .social-links { column-gap: clamp(4px,4vw,20px); }
  .gallery, .art-group.pair { grid-template-columns: 1fr; }
  .art-group, .art-group.pair { padding-bottom: 18px; }
  .art-group.pair { row-gap: 18px; }
  .cover-title, .page-heading h1 { font-size: 25px; }
  .cover-year { font-size: 14px; padding-bottom: 13px; }
  .page-heading { padding: 26px 5% 39px; }
  .back-top, footer { padding-block: 25px; }
  .back-top { line-height: 20px; }
  footer .social-links { gap: 10px; padding-bottom: 20px; }
  .viewer-image { max-width: 100%; max-height: calc(100dvh - 92px); }
  .viewer-prev, .viewer-next { top: auto; bottom: 12px; }
  .viewer-prev { left: calc(50% - 55px); }
  .viewer-next { right: calc(50% - 55px); }
  .contact-form input, .contact-form textarea { font-size: 16px; margin-bottom: 16px; }
  .contact-form button, .contact-form input { height: 35px; }
}

@media (scripting: none) and (max-width: 768px) {
  .menu-open { display: none; }
  .desktop-nav { display: block; width: 90%; padding-bottom: 16px; }
  .desktop-nav .project-links, .desktop-nav .social-links { display: none; }
  .desktop-nav .work-link, .desktop-nav .contact-link { display: inline-block; margin: 0 20px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; }
}
