:root {
  color-scheme: light;
  --background: #fff;
  --ink: #1d1d1f;
  --secondary: #6e6e73;
  --space: var(--desktop-gap, 18px);
  --columns: var(--desktop-columns, 3);
  --font-system: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", system-ui, "Helvetica Neue", Arial, sans-serif;
  font-family: var(--font-system);
  font-optical-sizing: auto;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
html { background: var(--background); }
body { margin: 0; color: var(--ink); font-size: 16px; }
button, input, textarea, select { font: inherit; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--ink); outline-offset: 6px; border-radius: 2px; }
.skip-link { position: fixed; z-index: 10; left: 12px; top: 12px; padding: 12px 18px; background: var(--ink); color: white; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.site-header { display: flex; flex-direction: column; align-items: center; padding: 50px 24px 47px; }
.logo { width: 66px; height: 66px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; flex: none; }
.logo span { font-size: 41px; font-weight: 600; letter-spacing: -3px; line-height: 1; padding: 0 3px 5px 0; }
nav { display: flex; flex-wrap: wrap; justify-content: center; column-gap: 31px; margin-top: 22px; }
nav a { display: flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 400; color: var(--secondary); transition: color 160ms ease; }
nav a[aria-current="page"] { color: var(--ink); font-weight: 500; }
nav a:hover { color: var(--ink); }
.work-main { padding: 0 var(--space); }
.gallery { display: grid; grid-template-columns: repeat(var(--columns), minmax(0, 1fr)); align-items: start; gap: var(--space); }
.gallery.masonry { display: block; position: relative; }
.gallery.masonry .work { position: absolute; left: 0; top: 0; width: calc((100% - (var(--columns) - 1) * var(--space)) / var(--columns)); }
.work { display: block; width: 100%; margin: 0; padding: 0; border: 0; border-radius: 0; appearance: none; background: #f5f5f7; aspect-ratio: var(--ratio); overflow: hidden; position: relative; cursor: zoom-in; -webkit-tap-highlight-color: transparent; }
.work img { width: 100%; height: 100%; display: block; object-fit: contain; }
.lightbox { position: fixed; inset: 0; width: 100%; height: 100%; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: #fff; overflow: hidden; overscroll-behavior: contain; font-family: var(--font-system); }
.lightbox::backdrop { background: rgb(0 0 0 / .92); }
.lightbox-image-area { position: absolute; inset: 32px 100px; display: flex; align-items: center; justify-content: center; }
.lightbox-image { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; user-select: none; -webkit-user-select: none; transition: opacity 130ms ease; }
.lightbox.is-loading .lightbox-image { opacity: 0; }
.lightbox-control { position: absolute; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid rgb(255 255 255 / .12); border-radius: 50%; background: rgb(255 255 255 / .09); color: #fff; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; transition: background 150ms ease; }
.lightbox-control svg { width: 24px; height: 24px; pointer-events: none; }
.lightbox-control:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 50%; }
.lightbox-close { top: max(20px, env(safe-area-inset-top)); right: max(20px, env(safe-area-inset-right)); }
.lightbox-previous { top: calc(50% - 24px); left: max(24px, env(safe-area-inset-left)); }
.lightbox-next { top: calc(50% - 24px); right: max(24px, env(safe-area-inset-right)); }
.lightbox-error { font-size: 1rem; line-height: 1.5; text-align: center; }
.lightbox [hidden] { display: none; }
@media (hover: hover) { .lightbox-control:hover { background: rgb(255 255 255 / .2); } }
.site-footer { padding: 37px var(--space) 32px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; font-size: 12px; line-height: 1.6; color: var(--secondary); }
.draft-note { text-align: right; }
.text-main { width: min(100%, 740px); margin: 0 auto; padding: 75px 32px 150px; min-height: calc(100svh - 327px); }
.text-main .eyebrow { font-size: 14px; font-weight: 400; color: var(--secondary); margin: 0 0 25px; }
.text-main h1 { font-size: clamp(36px, 5.1vw, 64px); line-height: 1.14; font-weight: 500; letter-spacing: -.045em; margin: 0 0 29px; }
.text-main .intro { max-width: 520px; font-size: clamp(20px, 2.6vw, 26px); line-height: 1.55; letter-spacing: -.02em; margin: 0; }
.text-main .pending { color: var(--secondary); line-height: 1.65; margin-top: 40px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 1000px) { :root { --columns: var(--tablet-columns, 2); --space: var(--desktop-gap, 18px); } .site-header { padding: 40px 20px 36px; } }
@media (max-width: 600px) {
  :root { --columns: var(--mobile-columns, 1); --space: var(--mobile-gap, 10px); }
  .site-header { padding: 31px 20px 27px; }
  .logo { width: 58px; height: 58px; }
  .logo span { font-size: 36px; }
  nav { margin-top: 16px; column-gap: 29px; }
  .site-footer { padding: 27px 16px; flex-direction: column; gap: 6px; }
  .draft-note { text-align: left; }
  .text-main { padding: 55px 25px 105px; min-height: calc(100svh - 283px); }
  .text-main .pending { margin-top: 32px; }
  .lightbox-image-area { inset: max(80px, calc(env(safe-area-inset-top) + 65px)) 12px max(100px, calc(env(safe-area-inset-bottom) + 84px)); }
  .lightbox-close { top: max(16px, env(safe-area-inset-top)); right: max(16px, env(safe-area-inset-right)); }
  .lightbox-previous, .lightbox-next { top: auto; bottom: max(22px, calc(env(safe-area-inset-bottom) + 12px)); right: auto; }
  .lightbox-previous { left: calc(50% - 62px); }
  .lightbox-next { left: calc(50% + 14px); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }

.logo.has-image { background: transparent; border-radius: 0; }
.logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.text-lines { white-space: pre-wrap; overflow-wrap: anywhere; }
.page-copy { margin-top: 32px; font-size: 1.0625rem; line-height: 1.8; color: var(--secondary); }
.contact-links { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; margin-top: 34px; font-size: 1.125rem; overflow-wrap: anywhere; }
.contact-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
