:root {
  --blue: #304a6e;
  --blue-dark: #192d46;
  --blue-deep: #101d2d;
  --blue-soft: #6e8099;
  --neutral: #efe9dd;
  --neutral-soft: #f8f5ef;
  --neutral-shade: #d8d1c5;
  --white: #fffdfa;
  --line: rgba(48, 74, 110, 0.18);
  --line-light: rgba(255, 253, 250, 0.22);
  --display: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
  --page-pad: clamp(24px, 5vw, 92px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--blue-dark);
  background: var(--neutral-soft);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
body.menu-open,
body.lightbox-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button,
input { color: inherit; font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

.sr-only {
  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: 1000;
  top: 14px;
  left: 14px;
  padding: 10px 14px;
  color: var(--neutral-soft);
  background: var(--blue-deep);
  font-size: 12px;
  transform: translateY(-180%);
  transition: transform 180ms ease;
}
.skip-link:focus { transform: translateY(0); }
.page-progress {
  position: fixed;
  z-index: 150;
  inset: 0 0 auto;
  height: 2px;
  pointer-events: none;
}
.page-progress::after {
  display: block;
  width: 100%;
  height: 100%;
  content: "";
  background: var(--blue);
  transform: scaleX(var(--page-progress, 0));
  transform-origin: left;
}

/* Header */
.gallery-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  display: grid;
  grid-template-columns: minmax(145px, 1fr) auto auto;
  align-items: center;
  min-height: 70px;
  padding: 0 var(--page-pad);
  border-bottom: 1px solid transparent;
  transition: min-height 350ms cubic-bezier(.2,.75,.25,1), background-color 350ms ease, border-color 350ms ease, backdrop-filter 350ms ease;
}
.gallery-header.is-scrolled {
  min-height: 58px;
  border-color: var(--line);
  background: rgba(248, 245, 239, 0.91);
  backdrop-filter: blur(18px);
}
.gallery-brand {
  display: flex;
  width: 150px;
  height: 52px;
  align-items: center;
  overflow: hidden;
}
.gallery-brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}
.gallery-desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.25vw, 25px);
  color: #445c7c;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.gallery-desktop-nav a {
  position: relative;
  padding: 10px 0;
  white-space: nowrap;
}
.gallery-desktop-nav a::after {
  position: absolute;
  inset: auto 0 4px;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 260ms ease;
}
.gallery-desktop-nav a:hover::after,
.gallery-desktop-nav a:focus-visible::after,
.gallery-desktop-nav a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}
.header-action {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-left: clamp(20px, 2.8vw, 52px);
  padding: 10px 0 7px;
  border-bottom: 1px solid var(--blue-dark);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.gallery-menu-toggle { display: none; }
.gallery-mobile-nav { display: none; }

.section-kicker {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0;
  color: var(--blue);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.section-kicker span { width: 28px; height: 1px; background: currentColor; }
.section-kicker-light { color: var(--neutral-soft); }

/* Hero */
.gallery-hero {
  position: relative;
  min-height: 1000px;
  overflow: hidden;
  padding: 170px var(--page-pad) 72px;
  background: var(--neutral-soft);
}
.hero-grid,
.gallery-archive::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image: linear-gradient(to right, transparent calc(100% - 1px), var(--line) 1px);
  background-size: calc((100vw - 2 * var(--page-pad)) / 4) 100%;
  background-position: var(--page-pad) 0;
  opacity: .42;
}
.hero-ghost {
  position: absolute;
  z-index: 0;
  top: 98px;
  left: 47%;
  margin: 0;
  color: rgba(48, 74, 110, .065);
  font-family: var(--sans);
  font-size: clamp(120px, 18vw, 340px);
  font-weight: 700;
  letter-spacing: -.09em;
  line-height: .72;
  transform: translateX(-50%);
  white-space: nowrap;
}
.hero-copy {
  position: relative;
  z-index: 4;
  width: min(560px, 43vw);
  padding-top: 70px;
}
.hero-copy h1 {
  margin: 32px 0 28px;
  font-family: var(--display);
  font-size: clamp(68px, 7.6vw, 140px);
  font-weight: 400;
  letter-spacing: -.065em;
  line-height: .78;
}
.hero-copy h1 em { color: var(--blue); font-weight: 400; }
.hero-copy > p:last-child {
  width: min(430px, 100%);
  margin: 0 0 0 clamp(0px, 5vw, 90px);
  font-family: var(--display);
  font-size: clamp(22px, 1.8vw, 31px);
  line-height: 1.2;
}
.hero-collage {
  position: absolute;
  z-index: 2;
  top: 122px;
  right: var(--page-pad);
  width: min(58vw, 960px);
  height: 748px;
}
.hero-frame {
  position: absolute;
  margin: 0;
  overflow: hidden;
  background: var(--neutral-shade);
}
.hero-frame::after {
  position: absolute;
  inset: 0;
  content: "";
  border: 1px solid rgba(255,255,255,.35);
  pointer-events: none;
}
.hero-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.hero-frame:hover img { transform: scale(1.025); }
.hero-frame-wide { z-index: 1; top: 190px; right: 0; width: 78%; height: 438px; }
.hero-frame-tall { z-index: 2; top: 0; left: 5%; width: 38%; height: 525px; }
.hero-frame-tall img { object-position: 62% center; }
.hero-frame-detail { z-index: 3; right: 8%; bottom: 0; width: 34%; height: 280px; }
.hero-collage-label {
  position: absolute;
  z-index: 4;
  right: 1%;
  top: 100px;
  margin: 0;
  color: var(--blue);
  font-family: var(--display);
  font-size: 25px;
  font-style: italic;
  line-height: 1;
  transform: rotate(-7deg);
}
.hero-foot {
  position: absolute;
  z-index: 5;
  right: var(--page-pad);
  bottom: 45px;
  left: var(--page-pad);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--blue);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero-foot p { margin: 0; }
.hero-foot p span { margin-right: 9px; font-family: var(--display); font-size: 28px; font-weight: 500; letter-spacing: 0; }
.hero-foot a { display: flex; gap: 24px; align-items: center; padding-bottom: 4px; border-bottom: 1px solid currentColor; }

/* Intro */
.gallery-intro {
  position: relative;
  display: grid;
  grid-template-columns: 2fr 1fr;
  min-height: 590px;
  overflow: hidden;
  padding: 110px var(--page-pad);
  color: var(--neutral-soft);
  background: var(--blue);
}
.intro-word {
  position: absolute;
  right: -2vw;
  bottom: -11vw;
  margin: 0;
  color: rgba(255,255,255,.055);
  font-size: 33vw;
  font-weight: 700;
  letter-spacing: -.1em;
  line-height: .8;
}
.gallery-intro-copy { position: relative; z-index: 1; align-self: center; }
.gallery-intro-copy h2 {
  max-width: 920px;
  margin: 38px 0 0;
  font-family: var(--display);
  font-size: clamp(64px, 7.2vw, 132px);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .82;
}
.gallery-intro-copy em { color: #c6d0dc; font-weight: 400; }
.gallery-intro-note {
  position: relative;
  z-index: 1;
  align-self: end;
  padding-left: clamp(30px, 4vw, 80px);
  border-left: 1px solid var(--line-light);
}
.gallery-intro-note p {
  margin: 0;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-light);
  font-family: var(--display);
  font-size: clamp(18px, 1.5vw, 24px);
}

/* Filterable archive */
.gallery-archive {
  position: relative;
  padding: 135px var(--page-pad) 100px;
  background: var(--neutral-soft);
}
.gallery-archive::before { z-index: 0; opacity: .28; }
.archive-heading,
.gallery-filters,
.masonry-grid,
.archive-note { position: relative; z-index: 1; }
.archive-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr);
  gap: 8vw;
  align-items: end;
  margin-bottom: 82px;
}
.archive-heading h2 {
  margin: 30px 0 0;
  font-family: var(--display);
  font-size: clamp(68px, 7.3vw, 132px);
  font-weight: 400;
  letter-spacing: -.06em;
  line-height: .79;
}
.archive-heading h2 em { color: var(--blue); font-weight: 400; }
.archive-heading > p {
  margin: 0;
  padding: 0 0 7px 28px;
  border-left: 1px solid var(--line);
  font-family: var(--display);
  font-size: clamp(19px, 1.4vw, 24px);
  line-height: 1.25;
}
.gallery-filters {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin-bottom: 42px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.gallery-filters button {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  padding: 22px 18px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  transition: color 300ms ease, background-color 300ms ease;
}
.gallery-filters button:first-child { border-left: 1px solid var(--line); }
.gallery-filters i { font-family: var(--display); font-size: 16px; font-style: normal; font-weight: 500; letter-spacing: 0; opacity: .55; }
.gallery-filters button:hover,
.gallery-filters button:focus-visible,
.gallery-filters button.is-active { color: var(--neutral-soft); background: var(--blue); }

.masonry-grid {
  columns: 4;
  column-gap: clamp(12px, 1.2vw, 21px);
}
.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  break-inside: avoid;
  margin: 0 0 clamp(12px, 1.2vw, 21px);
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #d7d0c4;
  text-align: left;
  isolation: isolate;
  animation: item-in 600ms cubic-bezier(.2,.72,.2,1) both;
}
@keyframes item-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.gallery-item img {
  width: 100%;
  height: auto;
  transition: transform 900ms cubic-bezier(.18,.78,.18,1), filter 600ms ease;
}
.gallery-item::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background: linear-gradient(to top, rgba(9,19,31,.87), rgba(12,25,41,.07) 58%);
  opacity: .38;
  transition: opacity 500ms ease;
}
.gallery-item > span {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  gap: 5px 13px;
  padding: 18px;
  color: var(--white);
  transform: translateY(30px);
  transition: transform 550ms cubic-bezier(.2,.75,.25,1);
}
.gallery-item > span i {
  grid-row: 1 / 3;
  align-self: start;
  font-family: var(--display);
  font-size: 14px;
  font-style: normal;
  opacity: .72;
}
.gallery-item > span b {
  font-family: var(--display);
  font-size: clamp(19px, 1.45vw, 27px);
  font-weight: 500;
  line-height: 1;
}
.gallery-item > span em {
  font-size: 8px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .16em;
  opacity: 0;
  text-transform: uppercase;
  transition: opacity 420ms ease 80ms;
}
.gallery-item:hover img,
.gallery-item:focus-visible img { transform: scale(1.045); filter: saturate(.88); }
.gallery-item:hover::after,
.gallery-item:focus-visible::after { opacity: .78; }
.gallery-item:hover > span,
.gallery-item:focus-visible > span { transform: translateY(0); }
.gallery-item:hover > span em,
.gallery-item:focus-visible > span em { opacity: .78; }
.gallery-item:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.gallery-item-concept::before {
  position: absolute;
  z-index: 3;
  top: 14px;
  right: 14px;
  padding: 7px 9px;
  content: "Concept";
  color: var(--blue-dark);
  background: rgba(255,253,250,.88);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.archive-note {
  width: min(660px, 100%);
  margin: 38px 0 0 auto;
  padding: 18px 0 0 34px;
  border-top: 1px solid var(--line);
  color: var(--blue-soft);
  font-size: 9px;
  line-height: 1.7;
  letter-spacing: .11em;
  text-transform: uppercase;
}

/* Statement and private viewing */
.gallery-interlude {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(250px, .62fr);
  gap: 8vw;
  min-height: 610px;
  align-items: center;
  overflow: hidden;
  padding: 105px var(--page-pad);
  color: var(--neutral-soft);
  background: var(--blue-deep);
}
.interlude-word {
  position: absolute;
  right: -2vw;
  bottom: -5vw;
  margin: 0;
  color: rgba(255,255,255,.03);
  font-size: 21vw;
  font-weight: 800;
  letter-spacing: -.08em;
  line-height: .8;
}
.gallery-interlude > div,
.gallery-interlude > p:last-child { position: relative; z-index: 1; }
.gallery-interlude blockquote {
  margin: 38px 0 0;
  font-family: var(--display);
  font-size: clamp(52px, 6vw, 108px);
  font-weight: 400;
  letter-spacing: -.05em;
  line-height: .84;
}
.gallery-interlude blockquote em { color: #9eafc4; font-weight: 400; }
.gallery-interlude > p:last-child {
  align-self: end;
  margin: 0;
  padding: 22px 0 0 28px;
  border-top: 1px solid var(--line-light);
  font-family: var(--display);
  font-size: 20px;
  line-height: 1.3;
}
.gallery-viewing {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  padding: 125px var(--page-pad) 90px;
  background: var(--neutral);
}
.viewing-index {
  position: absolute;
  right: var(--page-pad);
  top: 47px;
  margin: 0;
  color: rgba(48,74,110,.09);
  font-family: var(--display);
  font-size: clamp(220px, 31vw, 560px);
  letter-spacing: -.08em;
  line-height: .8;
}
.viewing-copy { position: relative; z-index: 1; width: min(710px, 58%); }
.viewing-copy h2 {
  margin: 42px 0 32px;
  font-family: var(--display);
  font-size: clamp(88px, 10vw, 180px);
  font-weight: 400;
  letter-spacing: -.065em;
  line-height: .72;
}
.viewing-copy h2 em { color: var(--blue); font-weight: 400; }
.viewing-copy > p {
  width: min(460px, 100%);
  margin: 0 0 38px;
  font-family: var(--display);
  font-size: clamp(20px, 1.55vw, 27px);
  line-height: 1.22;
}
.pill-action {
  display: inline-flex;
  align-items: center;
  color: var(--neutral-soft);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.pill-action span {
  display: flex;
  min-height: 48px;
  align-items: center;
  padding: 0 29px;
  border-radius: 999px;
  background: var(--blue-dark);
}
.pill-action i {
  display: grid;
  width: 48px;
  height: 48px;
  margin-left: -4px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-dark);
  font-size: 16px;
  font-style: normal;
  transition: transform 350ms ease;
}
.pill-action:hover i { transform: translate(4px, -3px); }
.viewing-note {
  position: absolute;
  z-index: 1;
  right: var(--page-pad);
  bottom: 80px;
  margin: 0;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

/* Footer */
.gallery-footer {
  overflow: hidden;
  color: var(--neutral-soft);
  background: radial-gradient(circle at 75% 30%, #213954 0, var(--blue-deep) 38%, #0b1624 100%);
}
.footer-inner { padding: 0 var(--page-pad) 34px; }
.footer-word-wrap {
  height: clamp(125px, 18vw, 295px);
  overflow: hidden;
  border-bottom: 1px solid var(--line-light);
}
.footer-word {
  margin: 0;
  text-align: center;
  font-size: clamp(115px, 21.4vw, 405px);
  font-weight: 800;
  letter-spacing: -.09em;
  line-height: .78;
  white-space: nowrap;
  transform: translateY(72%);
  transition: transform 1.4s cubic-bezier(.16,.8,.2,1);
}
.gallery-footer.is-visible .footer-word { transform: translateY(17%); }
.footer-grid {
  display: grid;
  grid-template-columns: .9fr .9fr 1.1fr 1.2fr;
  gap: clamp(30px, 6vw, 105px);
  padding: 52px 0 62px;
  border-bottom: 1px solid var(--line-light);
}
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; }
.footer-grid h2 { margin: 0 0 25px; font-size: 12px; font-weight: 700; }
.footer-grid a,
.footer-grid p,
.footer-grid small {
  margin: 0 0 13px;
  color: rgba(247,244,238,.65);
  font-size: 10px;
  font-style: normal;
  line-height: 1.55;
}
.footer-grid a { transition: color 220ms ease, transform 220ms ease; }
.footer-grid a:hover { color: var(--white); transform: translateX(3px); }
.footer-grid small { margin-top: 4px; color: rgba(247,244,238,.38); font-size: 8px; }
.footer-newsletter { width: 100%; }
.footer-newsletter form {
  display: flex;
  width: 100%;
  margin-top: 9px;
  border-bottom: 1px solid rgba(247,244,238,.4);
}
.footer-newsletter input {
  min-width: 0;
  flex: 1;
  padding: 13px 0;
  border: 0;
  outline: 0;
  color: var(--white);
  background: transparent;
  font-size: 10px;
}
.footer-newsletter input::placeholder { color: rgba(247,244,238,.43); }
.footer-newsletter button { width: 42px; border: 0; color: var(--neutral-soft); background: transparent; font-size: 18px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 30px; }
.footer-bottom p { margin: 0; color: rgba(247,244,238,.48); font-size: 9px; }
.footer-bottom a { width: 72px; height: 36px; }
.footer-bottom img { width: 100%; height: 100%; object-fit: contain; }

/* Full-screen image viewer */
.gallery-lightbox {
  position: fixed;
  z-index: 500;
  inset: 0;
  visibility: hidden;
  color: var(--neutral-soft);
  opacity: 0;
  transition: opacity 420ms ease, visibility 0s linear 420ms;
}
.gallery-lightbox.is-open {
  visibility: visible;
  opacity: 1;
  transition: opacity 420ms ease;
}
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(8,18,30,.97); backdrop-filter: blur(20px); }
.lightbox-shell {
  position: relative;
  display: grid;
  grid-template-rows: 70px minmax(0, 1fr) 78px;
  width: 100%;
  height: 100%;
  padding: 0 clamp(20px, 3.5vw, 64px);
}
.lightbox-header,
.lightbox-footer { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; }
.lightbox-header { border-bottom: 1px solid var(--line-light); }
.lightbox-header p,
.lightbox-header button,
.lightbox-footer p {
  margin: 0;
  color: rgba(247,244,238,.72);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.lightbox-header button { display: flex; gap: 15px; align-items: center; padding: 10px 0; border: 0; color: var(--white); background: transparent; }
.lightbox-header button span { font-size: 21px; font-weight: 400; line-height: .5; }
.lightbox-stage { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr) 56px; gap: 28px; align-items: center; min-height: 0; touch-action: pan-y; }
.lightbox-stage figure { display: grid; width: 100%; height: 100%; margin: 0; place-items: center; overflow: hidden; }
.lightbox-stage img {
  width: 100%;
  height: 100%;
  max-height: calc(100vh - 180px);
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  transition: opacity 220ms ease, transform 260ms ease;
}
.lightbox-stage img.is-changing { opacity: 0; transform: scale(.985); }
.lightbox-nav {
  display: grid;
  width: 52px;
  height: 52px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(247,244,238,.35);
  border-radius: 50%;
  color: var(--white);
  background: transparent;
  font-size: 18px;
  transition: color 250ms ease, background-color 250ms ease, transform 250ms ease;
}
.lightbox-nav:hover,
.lightbox-nav:focus-visible { color: var(--blue-deep); background: var(--neutral-soft); transform: scale(1.06); }
.lightbox-footer { gap: 30px; border-top: 1px solid var(--line-light); }
.lightbox-footer p:first-child { min-width: 0; flex: 1; color: var(--white); font-family: var(--display); font-size: 20px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.lightbox-footer p:last-child { text-align: right; }

/* Scroll reveal */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 900ms ease, transform 1s cubic-bezier(.2,.75,.25,1);
}
.js [data-reveal].is-visible { opacity: 1; transform: translateY(0); }
.js [data-image-reveal] { clip-path: inset(100% 0 0 0); transition: clip-path 1.15s cubic-bezier(.16,.8,.2,1); }
.js [data-image-reveal].is-visible { clip-path: inset(0 0 0 0); }

@media (max-width: 1240px) {
  .gallery-header { grid-template-columns: 1fr auto auto; }
  .gallery-desktop-nav { display: none; }
  .gallery-menu-toggle {
    position: relative;
    z-index: 3;
    display: block;
    width: 42px;
    height: 42px;
    margin-left: 24px;
    padding: 0;
    border: 0;
    background: transparent;
  }
  .gallery-menu-toggle span { display: block; width: 22px; height: 1.5px; margin: 5px auto; background: currentColor; transition: transform 240ms ease; }
  .gallery-menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
  .gallery-menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .gallery-mobile-nav {
    position: fixed;
    z-index: 90;
    inset: 0;
    display: flex;
    visibility: hidden;
    flex-direction: column;
    justify-content: space-between;
    padding: 115px var(--page-pad) 38px;
    color: var(--neutral-soft);
    background: var(--blue-deep);
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 350ms ease, transform 450ms cubic-bezier(.2,.75,.25,1), visibility 0s linear 450ms;
  }
  .gallery-mobile-nav.is-open { visibility: visible; opacity: 1; transform: translateY(0); transition: opacity 350ms ease, transform 450ms cubic-bezier(.2,.75,.25,1); }
  .mobile-nav-inner { display: flex; flex-direction: column; }
  .gallery-mobile-nav a { display: flex; align-items: center; gap: 25px; padding: 10px 0; border-bottom: 1px solid var(--line-light); font-family: var(--display); font-size: clamp(32px, 5vw, 58px); line-height: 1; }
  .gallery-mobile-nav a span { width: 22px; font-family: var(--sans); font-size: 8px; letter-spacing: .12em; opacity: .45; }
  .gallery-mobile-nav a.active { color: #aebdce; font-style: italic; }
  .gallery-mobile-nav > p { margin: 0; font-size: 8px; letter-spacing: .18em; opacity: .55; text-transform: uppercase; }
  .gallery-header.menu-active { color: var(--neutral-soft); }
  .gallery-header.menu-active .gallery-brand { filter: brightness(0) invert(1); opacity: .85; }
  .gallery-header.menu-active .header-action { border-color: currentColor; }
  .hero-copy { width: 48vw; }
  .hero-collage { right: 2vw; width: 57vw; }
  .masonry-grid { columns: 3; }
}

@media (max-width: 900px) {
  .gallery-hero { min-height: 920px; padding-top: 135px; }
  .hero-copy { width: 65%; padding-top: 20px; }
  .hero-copy h1 { font-size: clamp(65px, 12vw, 105px); }
  .hero-collage { top: 405px; right: var(--page-pad); left: var(--page-pad); width: auto; height: 410px; }
  .hero-frame-wide { top: 95px; width: 76%; height: 265px; }
  .hero-frame-tall { left: 2%; width: 34%; height: 320px; }
  .hero-frame-detail { width: 29%; height: 180px; }
  .hero-collage-label { top: 18px; }
  .gallery-intro { grid-template-columns: 1fr; min-height: 620px; gap: 60px; }
  .gallery-intro-note { width: 60%; margin-left: auto; }
  .archive-heading { grid-template-columns: 1fr; gap: 42px; }
  .archive-heading > p { width: 60%; margin-left: auto; }
  .gallery-filters { grid-template-columns: repeat(3, 1fr); }
  .gallery-filters button:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .masonry-grid { columns: 2; }
  .gallery-interlude { grid-template-columns: 1fr; gap: 52px; min-height: 690px; }
  .gallery-interlude > p:last-child { width: 55%; margin-left: auto; }
  .viewing-copy { width: 70%; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  :root { --page-pad: 20px; }
  .gallery-header,
  .gallery-header.is-scrolled { min-height: 62px; padding: 0 20px; }
  .gallery-brand { width: 112px; height: 42px; }
  .header-action { display: none; }
  .gallery-menu-toggle { margin-left: 0; }
  .gallery-mobile-nav { padding: 95px 24px 28px; }
  .gallery-mobile-nav a { padding: 9px 0; font-size: 33px; }
  .gallery-hero { min-height: 810px; padding: 105px 20px 55px; }
  .hero-grid { background-size: calc((100vw - 40px) / 2) 100%; background-position: 20px 0; }
  .hero-ghost { top: 94px; left: 44%; font-size: 32vw; }
  .hero-copy { width: 100%; max-width: calc(100vw - 40px); padding: 0; }
  .hero-copy h1 { margin: 25px 0 20px; font-size: clamp(55px, 15vw, 68px); }
  .hero-copy > p:last-child { width: 250px; max-width: calc(100vw - 160px); margin-right: 0; margin-left: auto; font-size: 18px; overflow-wrap: anywhere; }
  .hero-collage { top: 365px; right: 0; left: 0; height: 360px; }
  .hero-frame-wide { top: 72px; right: 0; width: 80%; height: 225px; }
  .hero-frame-tall { left: 20px; width: 40%; height: 260px; }
  .hero-frame-detail { right: 20px; width: 32%; height: 145px; }
  .hero-collage-label { display: none; }
  .hero-foot { right: 20px; bottom: 26px; left: 20px; gap: 12px; font-size: 7px; }
  .hero-foot p { min-width: 0; max-width: 48%; font-size: 6px; }
  .hero-foot p span { font-size: 20px; }
  .hero-foot a { min-width: 0; flex: 0 1 auto; gap: 7px; font-size: 6px; white-space: nowrap; }
  .gallery-intro { min-height: 560px; padding: 80px 20px 62px; }
  .gallery-intro-copy h2 { font-size: 58px; }
  .gallery-intro-note { width: 76%; padding-left: 20px; }
  .gallery-intro-note p { font-size: 17px; }
  .gallery-archive { padding: 82px 20px 70px; }
  .gallery-archive::before { background-size: calc((100vw - 40px) / 2) 100%; background-position: 20px 0; }
  .archive-heading { margin-bottom: 50px; }
  .archive-heading h2 { font-size: 61px; }
  .archive-heading > p { width: 82%; font-size: 18px; }
  .gallery-filters { display: flex; margin-right: -20px; margin-left: -20px; padding: 0 20px; overflow-x: auto; border-right: 0; border-left: 0; scrollbar-width: none; }
  .gallery-filters::-webkit-scrollbar { display: none; }
  .gallery-filters button { flex: 0 0 auto; gap: 25px; padding: 17px 16px; border-bottom: 0 !important; }
  .masonry-grid { columns: 2; column-gap: 8px; }
  .gallery-item { margin-bottom: 8px; }
  .gallery-item > span { padding: 11px; transform: translateY(0); }
  .gallery-item > span i { display: none; }
  .gallery-item > span b { font-size: 16px; }
  .gallery-item > span em { font-size: 6px; opacity: .78; }
  .gallery-item::after { opacity: .62; }
  .gallery-item-concept::before { top: 7px; right: 7px; padding: 5px 6px; font-size: 5px; }
  .archive-note { padding-left: 20px; font-size: 7px; }
  .gallery-interlude { min-height: 590px; padding: 80px 20px 65px; }
  .gallery-interlude blockquote { font-size: 54px; }
  .gallery-interlude > p:last-child { width: 76%; font-size: 18px; }
  .gallery-viewing { min-height: 650px; padding: 90px 20px 65px; }
  .viewing-index { top: 100px; right: 12px; font-size: 72vw; }
  .viewing-copy { width: 100%; }
  .viewing-copy h2 { margin-top: 36px; font-size: 83px; }
  .viewing-copy > p { width: 79%; font-size: 20px; }
  .viewing-note { right: 20px; bottom: 36px; left: 20px; font-size: 7px; }
  .footer-inner { padding: 0 20px 25px; }
  .footer-word-wrap { height: 100px; }
  .footer-word { font-size: 25vw; }
  .gallery-footer.is-visible .footer-word { transform: translateY(27%); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 35px 24px; padding: 40px 0 46px; }
  .footer-grid h2 { margin-bottom: 17px; }
  .footer-newsletter { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-end; gap: 20px; }
  .footer-bottom p { max-width: 210px; line-height: 1.5; }
  .lightbox-shell { grid-template-rows: 58px minmax(0, 1fr) 92px; padding: 0 14px; }
  .lightbox-stage { grid-template-columns: 38px minmax(0, 1fr) 38px; gap: 3px; }
  .lightbox-nav { width: 36px; height: 36px; font-size: 14px; }
  .lightbox-footer { display: grid; grid-template-columns: 1fr auto; gap: 5px 15px; align-content: center; }
  .lightbox-footer p:first-child { font-size: 17px; }
  .lightbox-footer p:last-child { display: none; }
}

@media (max-width: 420px) {
  .hero-copy > p:last-child { width: 235px; max-width: calc(100vw - 110px); }
  .masonry-grid { columns: 1; }
  .gallery-item > span b { font-size: 21px; }
  .footer-word { font-size: 24vw; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js [data-image-reveal] { clip-path: none; }
  .footer-word { transform: translateY(17%); }
}
