:root { --page: #131313; --ink: #f4f1ee; --line: #4a4a4a; --panel: rgba(18, 18, 18, 0.9); --muted: #d9d3ce; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: Inter, Arial, sans-serif; }
button, a { color: inherit; }
button { font: inherit; }
.site-header { position: sticky; z-index: 20; top: 0; height: 48px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 10px; background: var(--panel); backdrop-filter: blur(10px); border-top: 3px solid var(--ink); }
.brand { font-size: 12px; font-weight: 500; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }
.menu-button, .lightbox-close { padding: 0; border: 0; background: none; cursor: pointer; }
.menu-button { justify-self: start; font-size: 18px; transition: transform .25s; }
.menu-button.open { transform: rotate(45deg); }
.contact-link { justify-self: end; font-size: 11px; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }
.menu { position: fixed; z-index: 19; top: 48px; left: 0; display: flex; align-items: center; gap: 18px; width: 100%; padding: 12px 10px; background: var(--page); border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform .3s ease; }
.menu.open { transform: translateY(0); }
.menu a, .archive-year { padding: 0 0 3px; border: 0; border-bottom: 1px solid transparent; background: none; font-size: 11px; text-decoration: none; text-transform: uppercase; cursor: pointer; }
.menu a:hover, .archive-year:hover { border-color: var(--ink); }
.menu a[aria-disabled="true"] { cursor: default; }
.archive-label { margin-left: auto; font-size: 10px; letter-spacing: .1em; opacity: .55; text-transform: uppercase; }
main { position: relative; isolation: isolate; max-width: 1560px; margin: 0 auto; padding: 20px 9px 70px; overflow: hidden; }
h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.archive-status { margin: 0 0 42px; font-size: 10px; letter-spacing: .1em; text-align: center; text-transform: uppercase; opacity: .65; }
.archive-status:empty { display: none; }
.gallery { --columns: 8; --grid-gap: clamp(8px, 1vw, 18px); --row-gap: clamp(18px, 2.4vw, 38px); position: relative; z-index: 2; display: grid; grid-template-columns: repeat(var(--columns), minmax(0, 1fr)); gap: var(--row-gap) var(--grid-gap); align-items: center; max-width: 1500px; margin: 0 auto; }
.gallery.changing { opacity: 0; transform: translateY(5px); }
.gallery { transition: opacity .18s, transform .18s; }
.archive-pagination { display: flex; justify-content: space-between; padding: 12px 9px 7px; }
.archive-pagination button { padding: 0; border: 0; background: none; color: inherit; font-size: 11px; letter-spacing: .07em; text-transform: uppercase; cursor: pointer; transition: transform .2s, opacity .2s; }
.archive-pagination button:disabled { opacity: 0; pointer-events: none; }
.newer-page:hover { transform: translateX(-4px); }
.older-page:hover { transform: translateX(4px); }
.photo-group, .group-grid { display: contents; }
.photo-group.loading-in .work, .photo-group.loading-in .group-spacer { opacity: 0; transform: translateY(18px); }
.photo-group .work, .photo-group .group-spacer { transition: opacity .45s ease, transform .45s ease; }
.load-more { width: 100%; min-height: 80px; border: 0; background: none; display: grid; place-items: center; color: var(--ink); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; opacity: .55; cursor: pointer; transition: opacity .2s; }
.load-more:hover { opacity: 1; }
.load-more[hidden] { display: none; }
.gallery-progress { margin: 55px 0 0; color: var(--ink); font-size: 10px; letter-spacing: .09em; text-align: center; text-transform: uppercase; opacity: .45; }
.group-spacer { display: flex; align-items: flex-end; padding: clamp(8px, 2vw, 20px); min-height: 120px; visibility: visible; }
.spacer-meta { display: flex; flex-direction: column; gap: 6px; }
.spacer-date { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; opacity: .6; }
.spacer-location { font-size: 12px; letter-spacing: .04em; color: var(--muted); line-height: 1.3; }
.work { position: relative; min-width: 0; margin: 0; transition: opacity .3s, transform .3s; }
.work.hidden { display: none; }
.photo { width: 100%; aspect-ratio: var(--ratio); padding: 0; border: 0; overflow: hidden; background: none; cursor: zoom-in; transform: scale(var(--photo-balance, 1)); transform-origin: center; transition: transform .35s; }
.photo-media, .photo-media img { display: block; width: 100%; height: 100%; }
.photo-media img { object-fit: cover; }
.photo .photo-media img { filter: saturate(.45) contrast(.96); transition: filter .35s, transform .35s; }
.photo:hover { transform: scale(calc(var(--photo-balance, 1) * 1.02)); }
.photo:hover img { filter: saturate(1) contrast(1); transform: scale(1.015); }
.work figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; }
.group-dialog { width: 100%; max-width: none; min-height: 100%; margin: 0; padding: 70px clamp(12px, 4vw, 60px) 80px; border: 0; outline: none; background: var(--page); }
.group-dialog::backdrop { background: var(--page); }
.group-close { position: fixed; z-index: 3; top: 15px; left: 18px; display: flex; align-items: center; gap: 10px; padding: 5px 0; border: 0; background: none; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.back-arrow { display: inline-block; font-size: 22px; font-weight: 400; line-height: .5; transition: transform .2s ease; }
.group-close:hover .back-arrow { transform: translateX(-4px); }
.group-heading { display: flex; align-items: baseline; gap: 30px; margin: 0 0 clamp(45px, 7vw, 90px); font-size: 12px; letter-spacing: .04em; color: var(--ink); }
.group-heading time, .group-heading p, .series-link, .group-close, .menu a, .archive-year, .brand, .contact-link, .archive-status, .archive-label, .archive-pagination button, .footer-meta { color: var(--ink); }
.group-heading p { margin: 0; color: var(--muted); }
.group-photos { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(18px, 3vw, 55px); align-items: center; }
.group-photo { grid-column: span 4; width: 100%; aspect-ratio: var(--ratio); padding: 0; border: 0; overflow: hidden; background: none; cursor: zoom-in; transform: scale(var(--photo-balance, 1)); transform-origin: center; }
.group-photo img { object-fit: cover; }
.group-photo:nth-child(3n + 2) { grid-column: span 5; }
.group-photo:nth-child(3n) { grid-column: span 3; }
.series-link { margin-left: auto; white-space: nowrap; font-size: 11px; letter-spacing: .07em; text-transform: uppercase; text-underline-offset: 4px; }
.series-link[aria-disabled="true"] { opacity: .35; cursor: default; }
.lightbox { width: min(94vw, 1500px); max-width: none; padding: 0; border: 0; background: transparent; color: white; overflow: visible; }
.lightbox::backdrop { background: rgb(0 0 0 / 86%); }
.lightbox-photo { width: min(92vw, 1320px); height: min(92vh, 980px); max-height: 92vh; aspect-ratio: var(--ratio, 1); margin: 0 auto; }
.lightbox-photo img { object-fit: contain; }
.lightbox-close { position: absolute; top: -34px; right: 0; color: white; font-size: 25px; }
.lightbox-nav { position: fixed; top: 50%; width: 48px; height: 48px; padding: 0; border: 0; background: none; color: white; font-size: 30px; line-height: 1; cursor: pointer; transform: translateY(-50%); transition: transform .2s, opacity .2s; }
.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }
.lightbox-prev:hover { transform: translate(-5px, -50%); }
.lightbox-next:hover { transform: translate(5px, -50%); }
.lightbox-caption { margin: 10px 0 0; font-size: 11px; letter-spacing: .07em; text-transform: uppercase; }
footer { margin-top: clamp(60px, 8vw, 100px); background: var(--page); color: var(--ink); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; scroll-margin-top: 48px; }
.footer-meta { min-height: 58px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; padding: 8px 9px 10px; }
.footer-meta a { justify-self: center; text-underline-offset: 3px; }
.footer-meta span:last-child { justify-self: end; }
@media (min-width: 1000px) { .work:nth-child(3n + 1) { transform: translateY(10px); } .work:nth-child(3n + 2) { transform: translateY(3px); } .work:nth-child(4n) { transform: translateY(-10px); } }
@media (max-width: 1050px) { .gallery { --columns: 6; --row-gap: 20px; } }
@media (max-width: 800px) { .gallery { --columns: 4; --grid-gap: 14px; --row-gap: 16px; } .group-photos { grid-template-columns: repeat(2, 1fr); } .group-photo, .group-photo:nth-child(n) { grid-column: span 1; } }
@media (max-width: 620px) { .menu { flex-wrap: wrap; gap: 12px 16px; } .archive-label { width: 100%; margin: 6px 0 0; } }
@media (max-width: 520px) { main { padding: 15px 10px 30px; } .archive-status { margin-bottom: 32px; } .gallery { --columns: 2; --grid-gap: 15px; gap: 45px var(--grid-gap); } .group-dialog { padding: 65px 12px; } .group-heading { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; } .group-heading p { margin: 0; } .series-link { grid-column: 2; margin: 5px 0 0; justify-self: start; } .footer-meta { grid-template-columns: 1fr auto; gap: 14px; } .footer-meta a { grid-row: 1; grid-column: 1 / -1; justify-self: start; } }
@media (max-width: 700px) { .lightbox { width: 92vw; } .lightbox-photo { width: 90vw; height: min(82vh, 760px); } .lightbox-nav { width: 38px; font-size: 25px; } .lightbox-prev { left: 2px; } .lightbox-next { right: 2px; } }
@media (min-width: 1440px) {
  .brand { font-size: 14px; }
  .contact-link, .menu a, .archive-year, .archive-pagination button, .load-more, .group-close, .series-link, .lightbox-caption, footer { font-size: 13px; }
  .archive-label, .archive-status, .gallery-progress { font-size: 12px; }
  .spacer-date { font-size: 13px; }
  .spacer-location { font-size: 14px; line-height: 1.45; }
  .group-heading { font-size: 15px; line-height: 1.55; }
  .group-heading p { font-size: 17px; line-height: 1.6; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; } }
/* Analytics consent */
.cookie-consent {
  position: fixed;
  z-index: 1000;
  right: 1rem;
  bottom: 1rem;
  width: min(28rem, calc(100vw - 2rem));
  padding: 1rem;
  background: #fff;
  border: 1px solid #111;
  color: #111;
  font-size: 0.78rem;
  line-height: 1.45;
}

.cookie-consent[hidden] { display: none; }
.cookie-consent p { margin: 0 0 0.9rem; }
.cookie-consent-actions { display: flex; justify-content: flex-end; gap: 0.5rem; }
.cookie-consent button { padding: 0.55rem 0.75rem; border: 1px solid #111; background: #fff; color: #111; cursor: pointer; font: inherit; }
.cookie-consent .cookie-accept { background: #111; color: #fff; }
