@font-face {
  font-family: "Bodoni Moda";
  src: url("assets/fonts/bodoni-moda.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Add the owner's licensed LTC Bodoni 175 webfont before changing this. */
  --typeface: "Bodoni Moda", "Bodoni 72", Didot, serif;
  --ink: #171717;
  --page-gutter: clamp(20px, 3.125vw, 60px);
  --header-gutter: clamp(28px, 5vw, 96px);
}

* { box-sizing: border-box; }
html { background: #fff; color: var(--ink); }
body { margin: 0; min-width: 280px; font-family: var(--typeface); font-weight: 400; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
[hidden] { display: none !important; }
a:focus-visible, button:focus-visible { outline: 1px solid var(--ink); outline-offset: 6px; }
.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; }
.skip-link { position: fixed; z-index: 5; top: 8px; left: 20px; padding: 12px 16px; background: white; transform: translateY(-160%); font-size: 18px; }
.skip-link:focus { transform: none; }

.site-header { display: flex; align-items: center; justify-content: space-between; padding: 36px var(--header-gutter); min-height: 116px; gap: 24px; }
.wordmark { font-size: clamp(26px, 2.375vw, 36px); line-height: 1.25; letter-spacing: -.035em; font-optical-sizing: auto; white-space: nowrap; }
.nav-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 18px; line-height: 1.4; }
.nav-link:hover { opacity: .55; }
.site-header nav { display: flex; align-items: center; gap: 28px; }
.work-menu { position: relative; }
.work-trigger { border: 0; border-radius: 0; padding: 0; background: transparent; }
.work-drawer { position: absolute; z-index: 10; top: 100%; left: -14px; display: grid; grid-template-rows: 0fr; min-width: 144px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: grid-template-rows .26s ease, opacity .2s ease, transform .26s ease, visibility .26s; }
.work-menu.is-open .work-drawer { grid-template-rows: 1fr; opacity: 1; visibility: visible; transform: translateY(0); }
.work-drawer-inner { min-height: 0; overflow: hidden; background: #fff; }
.work-projects { list-style: none; margin: 0; padding: 6px 14px 10px; }
.work-projects a { display: block; padding: 2px 0; color: #626262; font-size: 14px; line-height: 1.4; white-space: nowrap; transition: color .16s ease; }
.work-projects a:hover, .work-projects a:focus-visible { color: var(--ink); }

.about-page { display: block; padding: clamp(40px, 6vh, 80px) var(--header-gutter) 100px; }
.about-layout { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 440px); gap: clamp(24px, 3.5vw, 48px); align-items: start; max-width: 848px; margin: 0; }
.about-portrait { margin: 0; }
.about-portrait img { display: block; width: 100%; height: auto; }
.about-copy { padding-top: 0; }
.about-copy p { margin: 0; font-size: clamp(18px, 1.5vw, 20px); font-weight: 400; line-height: 1.75; }
.project-page { display: block; padding: clamp(40px, 6vh, 80px) clamp(28px, 7.5vw, 144px) 100px; }
.project-content { max-width: 972px; margin: 0 auto; }
.project-content h1 { margin: 0; font-size: clamp(26px, 2.2vw, 30px); font-weight: 400; line-height: 1.2; letter-spacing: -.025em; }

main { min-height: calc(100svh - 116px); display: grid; place-items: center; padding: 24px 0 54px; outline: none; }
.gallery { width: 100%; }
.gallery-stage { display: grid; grid-template-columns: 52px auto 52px; align-items: center; justify-content: center; column-gap: clamp(20px, 2.5vw, 40px); padding: 0 var(--page-gutter); width: 100%; }
.photograph { --photo-height: min(58svh, 645px); position: relative; margin: 0; width: min(63vw, 970px, calc(var(--photo-height) * 1.5)); height: var(--photo-height); justify-self: center; touch-action: pan-y pinch-zoom; user-select: none; }
.photo { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; }
body[data-gallery="usa-2024"] .photo { inset: auto; top: 50%; left: 50%; width: auto; height: auto; max-width: 100%; max-height: 100%; transform: translate(-50%, -50%); border: clamp(10px, 1.5vw, 22px) solid #f0efe7; }
.arrow { display: grid; place-items: center; width: 52px; height: 52px; padding: 10px; border: 0; border-radius: 0; background: transparent; opacity: .48; transition: opacity .16s; justify-self: center; }
.arrow svg { width: 10px; height: 18px; stroke: currentColor; stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; }
.arrow:hover, .arrow:focus-visible { opacity: 1; }
.arrow:disabled { opacity: .18; cursor: default; }
.gallery-stage > .photograph { grid-column: 2; grid-row: 1; }
.arrow-previous { grid-column: 1; grid-row: 1; }
.arrow-next { grid-column: 3; grid-row: 1; }
.gallery-footer { position: relative; text-align: center; }
.gallery-caption { margin: 20px 20px 0; color: #626262; font-size: 14px; font-weight: 400; line-height: 1.5; }
.load-error { margin: 16px 20px 0; font-family: sans-serif; font-size: 13px; line-height: 1.6; color: #555; }
.load-error button { border: 0; padding: 8px; background: none; text-decoration: underline; }

.project-pagination { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; padding: 36px var(--header-gutter) 72px; }
.project-link { display: inline-flex; align-items: center; gap: 18px; max-width: 48%; min-height: 44px; font-size: clamp(22px, 2.8vw, 36px); font-weight: 400; line-height: 1.3; transition: color .16s ease; }
.project-link span { overflow-wrap: anywhere; }
.project-link-next { margin-left: auto; text-align: right; }
.project-link svg { flex: 0 0 auto; width: 13px; height: 26px; stroke: currentColor; stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; }
.project-link:hover { color: #626262; }


@media (max-width: 700px) {
  .site-header { min-height: 92px; padding-top: 24px; padding-bottom: 24px; gap: 16px; }
  .wordmark { font-size: clamp(24px, 6.3vw, 30px); }
  .nav-link { font-size: 17px; }
  .site-header nav { gap: 20px; }
  .work-drawer { left: auto; right: 0; }
  .about-page { padding: 32px var(--header-gutter) 72px; }
  .about-layout { grid-template-columns: minmax(0, 1fr); max-width: 360px; gap: 24px; }
  .about-copy { padding-top: 0; }
  main { min-height: calc(100svh - 92px); padding: 30px 0 64px; }
  .gallery-stage { grid-template-columns: 1fr 1fr; column-gap: 0; row-gap: 22px; }
  .gallery-stage > .photograph { grid-column: 1 / -1; grid-row: 1; width: 100%; height: min(52svh, 560px); min-height: 220px; aspect-ratio: auto; }
  .arrow { grid-row: 2; width: 48px; height: 44px; }
  .arrow-previous { grid-column: 1; justify-self: end; margin-right: 26px; }
  .arrow-next { grid-column: 2; justify-self: start; margin-left: 26px; }
  .load-error { padding-top: 16px; }
  .project-pagination { gap: 24px; padding-top: 24px; padding-bottom: 48px; }
  .project-link { gap: 10px; font-size: 21px; }
  .project-link svg { width: 10px; height: 22px; }
}

@media (max-width: 360px) {
  :root { --header-gutter: 20px; }
  .site-header { padding-left: 20px; padding-right: 20px; gap: 12px; }
  .site-header nav { gap: 14px; }
  .nav-link { font-size: 16px; }
}

@media (max-height: 560px) and (min-width: 701px) {
  .site-header { min-height: 84px; padding-top: 20px; padding-bottom: 20px; }
  main { min-height: calc(100svh - 84px); padding-top: 12px; padding-bottom: 24px; }
  .photograph { --photo-height: 54svh; }
}

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