:root {
  --paper: #fff;
  --ink: #242823;
  --muted: #656962;
  --line: #dedfd9;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
  scroll-behavior: smooth;
  scroll-padding-top: 32px;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; border-radius: 0; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }
a:not(.photo):hover { text-decoration: underline; text-underline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
figure, h1, h2, p { margin: 0; }
.wrap { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: absolute; top: 8px; left: 8px; padding: 16px; z-index: 10; background: var(--paper); transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.site-header { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 12px; }
.location { letter-spacing: .025em; }
.site-header nav { display: flex; gap: 30px; }
.site-header a { min-height: 44px; display: inline-flex; align-items: center; gap: 7px; }
.masthead { padding-top: 20px; padding-bottom: 65px; }
.masthead h1 { font-size: clamp(100px, 21vw, 290px); font-weight: 700; line-height: .9; letter-spacing: -.09em; padding-right: .065em; }
.tagline { margin-top: 30px; font-size: 11px; line-height: 1.5; text-transform: uppercase; letter-spacing: .07em; }
.work { counter-reset: photo; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 88px 48px; align-items: start; }
.work figure { min-width: 0; counter-increment: photo; }
.photo { display: block; position: relative; background: var(--line); }
.photo img { width: 100%; }
.photo-open { position: absolute; bottom: 12px; right: 12px; width: 36px; height: 36px; display: grid; place-items: center; background: var(--paper); color: var(--ink); font-size: 22px; opacity: 0; transition: opacity .2s; }
.photo:hover .photo-open, .photo:focus-visible .photo-open { opacity: 1; }
figcaption { display: flex; justify-content: space-between; gap: 24px; margin-top: 14px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.photo-number { font-variant-numeric: tabular-nums; }
.photo-number::before { content: counter(photo, decimal-leading-zero); }
.photo-caption { text-align: right; }

.about { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: center; padding-block: 160px; margin-top: 120px; border-top: 1px solid var(--line); }
.about-photo { grid-column: 2 / 5; }
.about-photo img { width: 100%; }
.about-copy { grid-column: 6 / 12; }
.eyebrow { font-size: 11px; line-height: 1.5; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; }
.about-intro { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.15; letter-spacing: -.045em; margin-block: 30px; }
.contact { border-top: 1px solid var(--line); padding-block: 110px 140px; }
.contact h2 { font-size: clamp(46px, 7vw, 96px); font-weight: 400; line-height: 1.05; letter-spacing: -.06em; }
.contact-pending { color: var(--muted); font-size: 13px; margin-top: 40px; }
.about-intro, .contact-pending { white-space: pre-line; }
.contact-links { display: flex; flex-wrap: wrap; gap: 16px 32px; margin-top: 32px; }
.contact-links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 5px; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); padding-block: 24px 32px; font-size: 11px; }
.footer-brand { font-size: 30px; font-weight: 700; line-height: 1; letter-spacing: -.065em; }
.site-footer > a { min-height: 44px; display: inline-flex; align-items: center; gap: 6px; }

/* Keep the full photograph available on phones and in the full-image viewer. */
@media (min-width: 701px) {
  .photo img { aspect-ratio: 4 / 5; object-fit: cover; }
}

html:has(.lightbox[open]) { overflow: hidden; }
.lightbox { background: #171815; color: #f9f8f4; border: none; padding: 16px 28px; width: 100%; height: 100dvh; max-width: none; max-height: none; margin: 0; }
.lightbox[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 12px; }
.lightbox::backdrop { background: #171815; }
.lightbox-header, .lightbox-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.lightbox-header { font-size: 13px; }
.lightbox button { min-width: 48px; min-height: 48px; padding: 10px 14px; background: transparent; }
.lightbox button:hover { background: #343630; }
.lightbox-close { display: flex; align-items: center; gap: 20px; }
.lightbox-close span, .lightbox-footer button { font-size: 26px; }
.lightbox-image { min-height: 0; }
.lightbox-image img { width: 100%; height: 100%; object-fit: contain; }
.lightbox-caption { font-size: 16px; line-height: 1.4; text-align: center; }

@media (hover: none) { .photo-open { opacity: 1; width: 30px; height: 30px; font-size: 19px; } }

@media (max-width: 1000px) {
  .wrap { width: calc(100% - 64px); }
  .about { padding-block: 100px; }
  .about-copy { grid-column: 6 / 13; }
}

@media (max-width: 700px) {
  :root { scroll-padding-top: 20px; }
  .wrap { width: calc(100% - 40px); }
  .site-header { min-height: 72px; gap: 12px; font-size: 11px; }
  .site-header nav { gap: 18px; }
  .masthead { padding-block: 30px 44px; }
  .masthead h1 { font-size: 23.5vw; }
  .tagline { margin-top: 22px; font-size: 9px; }
  .work { grid-template-columns: 1fr; gap: 48px; }
  figcaption { margin-top: 11px; font-size: 11px; gap: 20px; }
  .about { display: flex; flex-direction: column; align-items: start; margin-top: 72px; padding-block: 64px; gap: 40px; }
  .about-photo { width: 46%; }
  .about-copy { width: 100%; }
  .about-intro { margin-block: 24px; }
  .eyebrow { font-size: 10px; }
  .contact { padding-block: 72px 80px; }
  .contact h2 { font-size: clamp(40px, 10vw, 70px); }
  .contact-pending { margin-top: 30px; font-size: 12px; }
  .site-footer { flex-wrap: wrap; gap: 8px; padding-block: 20px 32px; }
  .site-footer > span { order: 3; width: 100%; font-size: 10px; }
  .lightbox { padding: 10px 12px; }
  .lightbox-caption { font-size: 14px; }
}

@media (max-width: 359px) {
  .site-header nav { gap: 12px; }
  .location { max-width: 50px; line-height: 1.5; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
