
html { scroll-padding-top: 112px; }
body { padding-top: 104px; }
.header {
  position: fixed;
  inset: 16px 24px auto;
  width: auto;
  max-width: none;
  height: 56px;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  column-gap: 24px;
  z-index: 100;
  pointer-events: none;
  background: transparent;
}
.header > * { pointer-events: auto; }
.header .brand {
  justify-self: start;
  width: fit-content;
  min-height: 56px;
  padding: 8px 18px 8px 12px;
  border-radius: 999px;
  background: var(--surface);
}
.header .navigation {
  justify-self: center;
  margin: 0;
  gap: 2px;
  padding: 4px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: 0 2px 16px #00000006;
}
.header .navigation a {
  padding: 10px 22px;
  min-height: 48px;
  margin: 0;
  border: 0;
  border-radius: 999px;
  gap: 8px;
}
.header .navigation a::after { display: none; }
.header .navigation a[aria-current] { background: var(--accent); color: var(--accent-ink, #242421); }
.header .navigation a:focus-visible { outline-offset: 2px; }
.header .navigation .nav-label {
  display: block;
  position: relative;
  height: 1.5em;
  overflow: hidden;
  margin: 0;
}
.header .navigation .nav-label-track {
  position: relative;
  display: block;
  margin: 0;
  transition: transform 300ms cubic-bezier(.22,.68,0,1);
}
.header .navigation .nav-label-track > span { display: block; margin: 0; }
.header .navigation .nav-label-track > span[aria-hidden] { position: absolute; top: 100%; left: 0; }
.header .navigation a:focus-visible .nav-label-track { transform: translateY(-100%); }
.header .theme-toggle { justify-self: end; width: 56px; height: 56px; margin: 0; background: var(--surface); }
.header .theme-toggle { color: var(--ink); transition: transform 260ms var(--ease); }
.header .theme-toggle:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink, #242421);
}
@media (hover: hover) and (pointer: fine) {
  .header .theme-toggle:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--accent-ink, #242421);
  }
}


.project-grid .project-card .project-image { border-radius: var(--image-radius, 16px); }
.project-image img, .zoom-image[data-lightbox] img { transition: transform 500ms cubic-bezier(.22,.68,0,1); }
.zoom-image[data-lightbox] { cursor: pointer; }
.zoom-image[data-lightbox] > span { width: 42px; height: 42px; right: 16px; bottom: 16px; border-radius: 50%; background: var(--accent); color: var(--accent-ink, #242421); }
.zoom-image[data-lightbox] > span .icon { width: 20px; height: 20px; }
.zoom-image[data-lightbox]:is(:hover,:focus-visible) > span { transform: none; }
.zoom-image[data-lightbox]:focus-visible > span { opacity: 1; }
.project-link:focus-visible .project-image img { transform: scale(1.05); }
.site-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 14px;
  height: 14px;
  display: grid;
  place-items: center;
  z-index: 200;
  pointer-events: none;
  overflow: hidden;
  border-radius: 50%;
  background: var(--ink);
  color: var(--accent-ink, #242421);
  opacity: 0;
  transition: opacity 120ms ease, width 180ms ease, height 180ms ease, background-color 180ms ease;
}
.site-cursor .icon { width: 46px; height: 46px; stroke-width: 1.5; opacity: 0; }
.site-cursor.is-visible { opacity: 1; }
.site-cursor.is-link { width: 34px; height: 34px; background: var(--accent); }
.site-cursor.is-visible.is-link { opacity: .65; }
.site-cursor.is-control {
  width: 30px;
  height: 30px;
  border: 1.5px solid var(--cursor-control-ink, var(--ink));
  background: transparent;
  transition: opacity 120ms ease, width 180ms ease, height 180ms ease;
}
.site-cursor.is-project { width: 80px; height: 80px; background: var(--accent); }
.site-cursor.is-project .icon { opacity: 1; }
@media (hover: hover) and (pointer: fine) {
  .header .navigation a:hover .nav-label-track { transform: translateY(-100%); }
  body[data-motion=on] .project-link:hover .project-image img { transform: scale(1.05); }
  body[data-motion=on] .zoom-image[data-lightbox]:is(:hover,:focus-visible) img { transform: scale(1.05); }
  html.has-site-cursor, html.has-site-cursor * { cursor: none!important; }
  html.has-site-cursor .project-image .image-arrow { opacity: 0; }
  html.has-site-cursor .zoom-image[data-lightbox] > span { opacity: 0; }
}
@media (hover: none) {
  .zoom-image[data-lightbox] > span { opacity: 1; transform: none; }
}
@media (min-width: 701px) and (max-width: 1100px) {
  .header { inset-inline: 16px; column-gap: 12px; grid-template-columns: auto 1fr 56px; }
  .header .navigation { justify-self: end; }
  .header .navigation a { padding-inline: 16px; }
  .header .brand { gap: 8px; padding-inline: 10px; font-size: var(--type-small); }
}
@media (max-width: 700px) {
  body { padding-top: 102px; }
  .zoom-image[data-lightbox] > span { width: 34px; height: 34px; right: 12px; bottom: 12px; }
  .header, html.menu-open .header { position: fixed; inset: 16px 16px auto; height: 56px; grid-template-columns: minmax(0,1fr) 48px 48px; column-gap: 8px; background: transparent; }
  .header .brand { min-height: 48px; padding: 7px 12px; gap: 8px; font-size: var(--type-small); }
  .header .brand-mark { width: 28px; height: 28px; flex-basis: 28px; }
  .header .menu-toggle { order: 2; width: 48px; height: 48px; border-radius: 50%; background: var(--surface); }
  .header .theme-toggle { order: 3; width: 48px; height: 48px; margin: 0; }
  html.js .header .navigation { inset: 86px 0 0; width: 100%; justify-self: stretch; height: calc(100dvh - 86px); border-radius: 24px 24px 0 0; padding: 20px var(--gutter) 40px; background: var(--paper); box-shadow: none; }
  .header .navigation a { min-height: 76px; padding: 16px; border-radius: 16px; margin: 4px 0; }
  .header .navigation a[aria-current]::before { display: none; }
  .header .navigation a[aria-current] { justify-content: space-between; }
  .header .navigation a[aria-current] > .nav-label { margin-left: 0; }
  .header .navigation .nav-label { height: 1.3em; }
}
@media (prefers-reduced-motion: reduce) {
  .header .navigation .nav-label-track, .project-image img, .zoom-image[data-lightbox] img { transition: none; }
  .header .navigation a:is(:hover,:focus-visible) .nav-label-track,
  .project-link:is(:hover,:focus-visible) .project-image img,
  .zoom-image[data-lightbox]:is(:hover,:focus-visible) img { transform: none!important; }
  .site-cursor { display: none; }
}
[data-motion=off] .header .navigation a:is(:hover,:focus-visible) .nav-label-track { transform: none; }
[data-motion=off] .project-link:is(:hover,:focus-visible) .project-image img { transform: none; }
[data-motion=off] .zoom-image[data-lightbox]:is(:hover,:focus-visible) img { transform: none; }


body[data-grid=editorial] .project-grid.is-filtered:not(.is-list) .project-card.is-visible-even {
  margin-top: calc(var(--section-space) * .9);
}
@media (max-width: 700px) {
  body[data-grid=editorial] .project-grid.is-filtered:not(.is-list) .project-card.is-visible-even { margin-top: 0; }
}


.footer.wrap {
  width: calc(100% - 48px);
  max-width: none;
  margin: 0 24px 24px;
  padding: clamp(32px, 4.4vw, 64px);
  border-radius: 24px;
  background: var(--surface);
}
.footer-top { display: block; }
.footer-heading { font: inherit; }
.footer .footer-title {
  font-size: var(--type-section);
  line-height: 1.2;
  letter-spacing: -.035em;
  margin: 24px 0 0;
  max-width: 18ch;
  align-items: end;
  gap: 24px;
}
.footer-contact { margin-top: 24px; }
.footer-email {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 6px 0;
  color: var(--ink);
  font-size: var(--type-body);
  line-height: 1.5;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.footer-email .email-link { display: inline-block; font: inherit; }
.footer-email:is(:hover,:focus-visible) .email-link::after { clip-path: inset(0); }
.footer .footer-bottom { margin-top: 56px; padding-top: 24px; font-size: var(--type-small); line-height: 1.6; flex-wrap: wrap; gap: 20px; }
.footer-bottom > div { flex-wrap: wrap; gap: 20px; }
@media (max-width: 1000px) {
  .footer .footer-title { max-width: 22ch; }
}
@media (max-width: 700px) {
  .footer.wrap { width: calc(100% - 24px); margin: 0 12px 12px; padding: 28px 22px; border-radius: 20px; }
  .footer .footer-title { gap: 16px; }
  .footer .footer-bottom { margin-top: 32px; }
}
