:root {
  --ink: #080808;
  --ink-soft: #11110f;
  --paper: #e9e6df;
  --paper-soft: #b9b6af;
  --acid: #d7ff43;
  --warm: #d8813e;
  --gutter: clamp(1.15rem, 3.2vw, 3.75rem);
  --header-h: 5.5rem;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--ink);
  color-scheme: dark;
  scroll-behavior: smooth;
  scrollbar-color: #444 var(--ink);
  scrollbar-width: thin;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--paper);
  font-family: "Helvetica Neue", "Neue Haas Grotesk", Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body.is-loading,
body.menu-open,
body.lightbox-open {
  overflow: hidden;
}

button,
a {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
}

a {
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

::selection {
  background: var(--acid);
  color: var(--ink);
}

.grain {
  position: fixed;
  z-index: 90;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
  animation: grain 0.22s steps(2) infinite;
}

@keyframes grain {
  0% { transform: translate3d(-2%, 1%, 0); }
  25% { transform: translate3d(1%, -2%, 0); }
  50% { transform: translate3d(2%, 2%, 0); }
  75% { transform: translate3d(-1%, -1%, 0); }
  100% { transform: translate3d(-2%, 1%, 0); }
}

.loader {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: var(--gutter);
  background: var(--paper);
  color: var(--ink);
  transition: transform 1.1s var(--ease-in-out), visibility 0s 1.1s;
}

.loader.is-finished {
  transform: translateY(-101%);
  visibility: hidden;
}

.loader__mark {
  align-self: center;
  justify-self: center;
  font-size: clamp(6rem, 18vw, 18rem);
  font-weight: 700;
  letter-spacing: -0.1em;
  line-height: 0.7;
}

.loader__mark span {
  display: inline-block;
  margin-left: 0.18em;
  vertical-align: top;
  font-size: 0.06em;
  letter-spacing: 0;
}

.loader__track {
  position: absolute;
  bottom: 5.3rem;
  left: var(--gutter);
  right: var(--gutter);
  height: 1px;
  background: rgba(8, 8, 8, 0.2);
}

.loader__track span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--ink);
  transition: width 0.1s linear;
}

.loader__meta {
  display: flex;
  justify-content: space-between;
  text-transform: uppercase;
  font-size: 0.68rem;
  letter-spacing: 0.13em;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header-h);
  padding: 0 var(--gutter);
  color: #fff;
  mix-blend-mode: difference;
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: flex-start;
  gap: 0.65rem;
  line-height: 0.85;
}

.brand span {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.07em;
}

.brand small {
  max-width: 3.5rem;
  font-size: 0.52rem;
  line-height: 1.1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  gap: clamp(1.3rem, 3vw, 3rem);
}

.desktop-nav a,
.menu-toggle {
  position: relative;
  padding: 0.5rem 0;
  background: none;
  text-transform: uppercase;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0.25rem;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease-out);
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  cursor: pointer;
}

.menu-toggle__lines {
  display: grid;
  width: 1.5rem;
  gap: 0.34rem;
}

.menu-toggle__lines i {
  display: block;
  height: 1px;
  background: currentColor;
  transition: transform 0.5s var(--ease-out);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__lines i:first-child {
  transform: translateY(0.18rem) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__lines i:last-child {
  transform: translateY(-0.18rem) rotate(-45deg);
}

.scroll-progress {
  position: fixed;
  z-index: 120;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.1);
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--acid);
  transform: scaleX(0);
  transform-origin: left;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: #170e10;
}

.hero__media,
.hero__media picture,
.hero__media img,
.hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__media {
  clip-path: inset(100% 0 0);
  transition: clip-path 1.7s 0.35s var(--ease-in-out);
}

.is-ready .hero__media {
  clip-path: inset(0);
}

.hero__media img {
  object-fit: cover;
  object-position: 56% 50%;
  transform: scale(1.08);
  will-change: transform;
}

.hero__shade {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.42), transparent 33%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.66), transparent 48%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.25), transparent 45%);
}

.hero__eyebrow,
.hero__footer,
.hero__title {
  position: absolute;
  z-index: 2;
  right: var(--gutter);
  left: var(--gutter);
}

.hero__eyebrow {
  top: calc(var(--header-h) + 1.5rem);
  display: flex;
  justify-content: space-between;
  font-size: 0.63rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 1s 1.4s, transform 1s 1.4s var(--ease-out);
}

.is-ready .hero__eyebrow {
  opacity: 1;
  transform: none;
}

.hero__title {
  bottom: clamp(8.5rem, 18vh, 12rem);
  margin: 0;
  color: #f4f0e8;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.5rem, 12.2vw, 13.7rem);
  font-weight: 400;
  letter-spacing: -0.085em;
  line-height: 0.69;
}

.hero__title span {
  display: block;
  overflow: hidden;
}

.hero__title span:nth-child(2) {
  padding-left: 15vw;
}

.hero__title span:nth-child(3) {
  padding-left: 3vw;
}

.hero__title i {
  display: block;
  font-style: italic;
  transform: translateY(120%) rotate(2deg);
  transition: transform 1.15s var(--ease-out);
}

.is-ready .hero__title span:nth-child(1) i { transition-delay: 0.7s; }
.is-ready .hero__title span:nth-child(2) i { transition-delay: 0.83s; }
.is-ready .hero__title span:nth-child(3) i { transition-delay: 0.96s; }
.is-ready .hero__title i { transform: translateY(0) rotate(0); }

.hero__footer {
  bottom: max(1.8rem, env(safe-area-inset-bottom));
  display: flex;
  align-items: end;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  padding-top: 1rem;
  opacity: 0;
  transition: opacity 1s 1.65s;
}

.is-ready .hero__footer {
  opacity: 1;
}

.hero__footer p {
  margin: 0;
  font-size: 0.66rem;
  line-height: 1.45;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.scroll-cue {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.62rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero__photo-open {
  align-self: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  padding: 0.45rem 0;
  background: none;
  font-size: 0.62rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  cursor: pointer;
}

.hero__photo-open span {
  display: inline-block;
  margin-left: 0.5rem;
  transition: transform 0.4s var(--ease-out);
}

.hero__photo-open:hover span {
  transform: translate(0.2rem, -0.2rem);
}

.scroll-cue svg {
  width: 2.5rem;
  overflow: visible;
}

.scroll-cue circle,
.scroll-cue path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
}

.scroll-cue path {
  transition: transform 0.4s var(--ease-out);
}

.scroll-cue:hover path {
  transform: translateY(3px);
}

.manifesto {
  min-height: 105vh;
  padding: clamp(7rem, 14vw, 15rem) var(--gutter) clamp(6rem, 12vw, 12rem);
  background: var(--paper);
  color: var(--ink);
}

.section-kicker {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(8, 8, 8, 0.25);
  padding-top: 0.85rem;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.manifesto__copy {
  margin: clamp(8rem, 20vw, 17rem) 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7.6vw, 9rem);
  font-weight: 400;
  letter-spacing: -0.07em;
  line-height: 0.92;
}

.manifesto__copy::first-line {
  font-style: italic;
}

.manifesto__note {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  max-width: 38rem;
  margin: clamp(5rem, 10vw, 9rem) 0 0 auto;
  font-size: 0.72rem;
  line-height: 1.6;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.manifesto__note p {
  margin: 0;
}

.collection {
  position: relative;
  overflow: hidden;
  padding: clamp(7rem, 12vw, 12rem) var(--gutter);
  background: var(--ink);
}

.collection__header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  border-top: 1px solid #3b3b38;
  padding-top: 1rem;
}

.collection__header p {
  margin: 0;
  font-size: 0.62rem;
  line-height: 1.5;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.collection__header h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.7rem, 9.5vw, 11rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.07em;
  line-height: 0.72;
}

.collection__count {
  justify-self: end;
  text-align: right;
  color: var(--paper-soft);
}

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.2rem, 2.2vw, 2.5rem);
  padding-top: clamp(8rem, 14vw, 15rem);
}

.photo {
  margin: 0;
}

.photo__button {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  padding: 0;
  background: #171715;
  cursor: pointer;
}

.photo__button picture,
.photo__button img {
  width: 100%;
  height: 100%;
}

.photo__button img {
  object-fit: cover;
  transform: scale(1.045);
  transition: transform 1.25s var(--ease-out), filter 0.8s var(--ease-out);
  will-change: transform;
}

.photo__veil {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, 0.14);
  transition: background 0.7s var(--ease-out);
}

.photo__open {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  padding: 0.55rem 0.75rem;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.56rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(0.8rem);
  transition: opacity 0.4s, transform 0.4s var(--ease-out);
}

.photo__button:hover img {
  transform: scale(1);
}

.photo__button:hover .photo__veil {
  background: transparent;
}

.photo__button:hover .photo__open {
  opacity: 1;
  transform: none;
}

.photo figcaption {
  display: flex;
  justify-content: space-between;
  padding-top: 0.75rem;
  color: var(--paper-soft);
  font-size: 0.58rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.photo--a {
  grid-column: 1 / span 7;
}

.photo--a .photo__button {
  aspect-ratio: 1.32;
}

.photo--b {
  grid-column: 8 / span 5;
  margin-top: 44vw;
}

.photo--b .photo__button {
  aspect-ratio: 0.82;
}

.side-note {
  grid-column: 9 / span 3;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  align-self: start;
  margin-top: 8rem;
  color: #8b8984;
  font-size: 0.53rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.side-note i {
  flex: 1;
  height: 1px;
  background: #3b3b38;
}

.architecture__statement {
  grid-column: 1 / span 10;
  margin: clamp(7rem, 14vw, 16rem) 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 6.6vw, 7.5rem);
  font-style: italic;
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.photo--wide {
  grid-column: 1 / -1;
  margin-top: clamp(5rem, 10vw, 10rem);
}

.photo--wide .photo__button {
  aspect-ratio: 2.33;
}

.interlude {
  height: 180vh;
  background: var(--ink);
}

.interlude__sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
}

.interlude picture,
.interlude img,
.interlude__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.interlude img {
  object-fit: cover;
  transform: scale(1.12);
  will-change: transform;
}

.interlude__shade {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.55), transparent 60%), rgba(10, 8, 6, 0.12);
}

.interlude p {
  position: absolute;
  z-index: 1;
  bottom: 8vh;
  left: var(--gutter);
  margin: 0;
}

.interlude p span {
  display: block;
  margin-bottom: 1rem;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.interlude p strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 10vw, 12rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.08em;
  line-height: 0.78;
}

.interlude__number {
  position: absolute;
  z-index: 1;
  right: var(--gutter);
  bottom: 8vh;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(8rem, 23vw, 24rem);
  line-height: 0.68;
  opacity: 0.25;
}

.landscape {
  background: #e0ddd5;
  color: var(--ink);
}

.landscape .collection__header {
  border-color: rgba(8, 8, 8, 0.3);
}

.landscape .collection__count,
.landscape .photo figcaption {
  color: #5d5a55;
}

.landscape-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.2rem, 2.2vw, 2.5rem);
  padding-top: clamp(8rem, 15vw, 16rem);
}

.landscape-photo--sun {
  grid-column: 1 / span 9;
}

.landscape-photo--sun .photo__button {
  aspect-ratio: 16 / 9;
}

.landscape__word {
  position: absolute;
  z-index: 1;
  top: 32vw;
  right: -0.03em;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(5rem, 16vw, 18rem);
  font-style: italic;
  letter-spacing: -0.08em;
  line-height: 0.75;
  mix-blend-mode: difference;
  color: white;
  pointer-events: none;
}

.landscape-photo--night {
  grid-column: 8 / span 5;
  margin-top: clamp(12rem, 24vw, 28rem);
}

.landscape-photo--night .photo__button {
  aspect-ratio: 1;
}

.landscape__statement {
  grid-column: 1 / span 9;
  margin: clamp(8rem, 16vw, 18rem) 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 6.5vw, 7.3rem);
  font-style: italic;
  letter-spacing: -0.065em;
  line-height: 0.94;
}

.landscape-photo--sea {
  grid-column: 1 / -1;
  margin-top: clamp(5rem, 11vw, 12rem);
}

.landscape-photo--sea .photo__button {
  aspect-ratio: 16 / 9;
}

.about {
  min-height: 100svh;
  padding: clamp(7rem, 12vw, 12rem) var(--gutter) 2rem;
  background: #11100e;
}

.about__top {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #3b3935;
  padding-top: 0.8rem;
  color: #9d9a94;
  font-size: 0.58rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.about__body {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 5vw;
  align-items: end;
  min-height: 65vh;
}

.about h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.5rem, 10vw, 12rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.08em;
  line-height: 0.77;
}

.about__copy {
  max-width: 28rem;
  padding-bottom: 1rem;
}

.about__copy p {
  margin: 0 0 3.5rem;
  color: #b6b2aa;
  font-size: clamp(0.85rem, 1vw, 1rem);
  line-height: 1.65;
}

.text-link {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #625f59;
  padding: 0 0 0.8rem;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.text-link i {
  font-style: normal;
  transition: transform 0.4s var(--ease-out);
}

.text-link:hover i {
  transform: translate(0.25rem, -0.25rem);
}

.site-footer {
  display: grid;
  grid-template-columns: 2fr 2fr 1fr auto;
  gap: 2rem;
  align-items: end;
  border-top: 1px solid #3b3935;
  margin-top: 8rem;
  padding-top: 1.3rem;
}

.brand--footer {
  align-self: center;
}

.site-footer p,
.back-top {
  margin: 0;
  color: #8f8c86;
  font-size: 0.56rem;
  line-height: 1.5;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.back-top {
  justify-self: end;
  color: var(--paper);
}

.reveal,
.split-reveal {
  opacity: 0;
  transform: translateY(4rem);
  transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out);
}

.reveal.in-view,
.split-reveal.in-view {
  opacity: 1;
  transform: none;
}

.menu {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: grid;
  align-content: center;
  padding: calc(var(--header-h) + 2rem) var(--gutter) 2rem;
  visibility: hidden;
  background: #d9d5cc;
  color: var(--ink);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.8s var(--ease-in-out), visibility 0s 0.8s;
}

.menu.is-open {
  visibility: visible;
  clip-path: inset(0);
  transition-delay: 0s;
}

.menu__wash {
  position: absolute;
  inset: 0 0 0 auto;
  width: 42%;
  opacity: 0.22;
  background:
    linear-gradient(145deg, transparent 10%, #7c2432 50%, #101010),
    url("assets/gallery/architecture-001-1280.webp") center / cover;
  background-blend-mode: color;
}

.menu nav {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(70rem, 78%);
}

.menu nav a {
  display: flex;
  align-items: baseline;
  gap: 2rem;
  border-bottom: 1px solid rgba(8, 8, 8, 0.2);
  padding: 0.25em 0 0.18em;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7vw, 8rem);
  font-style: italic;
  letter-spacing: -0.07em;
  line-height: 0.95;
  transform: translateY(2rem);
  opacity: 0;
  transition: transform 0.7s var(--ease-out), opacity 0.5s;
}

.menu.is-open nav a {
  transform: none;
  opacity: 1;
}

.menu.is-open nav a:nth-child(1) { transition-delay: 0.25s; }
.menu.is-open nav a:nth-child(2) { transition-delay: 0.32s; }
.menu.is-open nav a:nth-child(3) { transition-delay: 0.39s; }
.menu.is-open nav a:nth-child(4) { transition-delay: 0.46s; }
.menu.is-open nav a:nth-child(5) { transition-delay: 0.53s; }

.menu nav a span {
  min-width: 1.7rem;
  font-family: Arial, sans-serif;
  font-size: 0.55rem;
  font-style: normal;
  letter-spacing: 0.1em;
}

.menu__footer {
  position: absolute;
  right: var(--gutter);
  bottom: 2rem;
  left: var(--gutter);
  display: flex;
  justify-content: space-between;
  font-size: 0.58rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.cursor {
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  display: grid;
  width: 4.5rem;
  height: 4.5rem;
  place-items: center;
  border-radius: 50%;
  background: var(--acid);
  color: var(--ink);
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0) scale(0.18);
  transition: opacity 0.25s, transform 0.4s var(--ease-out);
}

.cursor span {
  font-size: 0.54rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.2s;
}

.cursor.is-visible {
  opacity: 1;
}

.cursor.is-viewing {
  transform: translate3d(-50%, -50%, 0) scale(1);
}

.cursor.is-viewing span {
  opacity: 1;
}

.lightbox {
  z-index: 500;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  overflow: hidden;
  border: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  color: white;
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.96);
}

.lightbox[open] {
  display: block;
  animation: lightbox-in 0.5s var(--ease-out);
}

@keyframes lightbox-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.97);
}

.lightbox__stage {
  position: absolute;
  inset: clamp(4.5rem, 8vw, 7.5rem) clamp(1rem, 7vw, 8rem);
  display: grid;
  min-width: 0;
  min-height: 0;
  place-items: center;
  touch-action: pan-y;
}

.lightbox__picture {
  display: grid;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  place-items: center;
}

.lightbox__picture img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.lightbox__picture img {
  object-fit: contain;
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.45s, transform 0.6s var(--ease-out);
}

.lightbox__picture img.is-loaded {
  opacity: 1;
  transform: none;
}

.lightbox__chrome {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.lightbox__chrome > * {
  position: absolute;
  pointer-events: auto;
}

.lightbox__brand {
  top: 1.5rem;
  left: var(--gutter);
  font-size: 0.6rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.lightbox__close {
  top: 1rem;
  right: var(--gutter);
  padding: 0.5rem;
  background: none;
  cursor: pointer;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lightbox__close span {
  display: inline-block;
  margin-left: 0.65rem;
  font-size: 1.3rem;
  line-height: 0.5;
  vertical-align: middle;
}

.lightbox__caption {
  bottom: 1.5rem;
  left: var(--gutter);
  display: flex;
  gap: 1.5rem;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lightbox__counter {
  color: #777;
}

.lightbox__controls {
  right: var(--gutter);
  bottom: 1rem;
  display: flex;
  gap: 0.5rem;
}

.lightbox__controls button {
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  place-items: center;
  border: 1px solid #555;
  border-radius: 50%;
  background: none;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.lightbox__controls button:hover {
  background: white;
  color: black;
}

:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 4px;
}

@media (max-width: 760px) {
  :root {
    --header-h: 4.5rem;
  }

  .grain {
    opacity: 0.022;
  }

  .desktop-nav,
  .menu-toggle__label {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .menu-toggle {
    grid-column: 2;
  }

  .hero__media img {
    object-position: 60% center;
  }

  .hero__eyebrow {
    top: calc(var(--header-h) + 1rem);
  }

  .hero__eyebrow span:last-child {
    display: none;
  }

  .hero__title {
    bottom: 9.5rem;
    font-size: clamp(4rem, 20vw, 7rem);
    line-height: 0.76;
  }

  .hero__title span:nth-child(2) {
    padding-left: 8vw;
  }

  .hero__title span:nth-child(3) {
    padding-left: 0;
  }

  .hero__footer p {
    max-width: 13rem;
  }

  .scroll-cue > span {
    display: none;
  }

  .hero__photo-open {
    display: none;
  }

  .manifesto {
    min-height: 95svh;
  }

  .manifesto__copy {
    margin-top: 9rem;
    font-size: clamp(2.7rem, 13vw, 5rem);
  }

  .manifesto__note {
    grid-template-columns: 1fr 3fr;
  }

  .collection {
    padding-top: 7rem;
  }

  .collection__header {
    grid-template-columns: 1fr auto;
  }

  .collection__header h2 {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 3.5rem;
    font-size: clamp(3.5rem, 15vw, 6.5rem);
    justify-self: start;
  }

  .collection__count {
    grid-column: 2;
    grid-row: 1;
  }

  .editorial-grid,
  .landscape-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-top: 7rem;
  }

  .photo--a {
    width: 100%;
  }

  .photo--a .photo__button {
    aspect-ratio: 0.93;
  }

  .photo--b {
    width: 84%;
    margin: 8rem 0 0 auto;
  }

  .photo--b .photo__button {
    aspect-ratio: 0.79;
  }

  .side-note {
    display: none;
  }

  .architecture__statement,
  .landscape__statement {
    margin-top: 9rem;
    font-size: clamp(2.8rem, 12.5vw, 5rem);
  }

  .photo--wide {
    width: calc(100% + 2 * var(--gutter));
    margin: 7rem calc(-1 * var(--gutter)) 0;
  }

  .photo--wide .photo__button {
    aspect-ratio: 0.95;
  }

  .photo--wide .photo__button img {
    object-position: 50% 50%;
  }

  .photo--wide figcaption,
  .landscape-photo--sea figcaption {
    padding-right: var(--gutter);
    padding-left: var(--gutter);
  }

  .interlude {
    height: 140vh;
  }

  .interlude p {
    bottom: 13vh;
  }

  .interlude p strong {
    font-size: clamp(4rem, 20vw, 7rem);
  }

  .interlude__number {
    top: 15vh;
    right: var(--gutter);
    bottom: auto;
  }

  .landscape-photo--sun {
    width: calc(100% + 2 * var(--gutter));
    margin-right: calc(-1 * var(--gutter));
    margin-left: calc(-1 * var(--gutter));
  }

  .landscape-photo--sun .photo__button {
    aspect-ratio: 0.92;
  }

  .landscape-photo--sun figcaption {
    padding-right: var(--gutter);
    padding-left: var(--gutter);
  }

  .landscape__word {
    top: 39rem;
    right: -0.02em;
    font-size: 22vw;
  }

  .landscape-photo--night {
    z-index: 2;
    width: 84%;
    margin: 13rem 0 0 auto;
  }

  .landscape__statement {
    order: 4;
  }

  .landscape-photo--sea {
    order: 5;
    width: calc(100% + 2 * var(--gutter));
    margin: 7rem calc(-1 * var(--gutter)) 0;
  }

  .landscape-photo--sea .photo__button {
    aspect-ratio: 0.85;
  }

  .about__top {
    gap: 2rem;
  }

  .about__top span:last-child {
    text-align: right;
  }

  .about__body {
    display: block;
    min-height: auto;
    padding: 9rem 0 7rem;
  }

  .about h2 {
    font-size: clamp(4.3rem, 19vw, 7rem);
  }

  .about__copy {
    margin: 6rem 0 0 auto;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer p:nth-of-type(1) {
    display: none;
  }

  .back-top {
    grid-column: 2;
    grid-row: 1;
  }

  .menu__wash {
    top: auto;
    width: 100%;
    height: 34%;
  }

  .menu nav {
    width: 100%;
  }

  .menu nav a {
    gap: 1rem;
    font-size: clamp(3rem, 14vw, 5rem);
  }

  .menu__footer span:first-child {
    display: none;
  }

  .menu__footer {
    justify-content: flex-end;
  }

  .photo__open {
    display: none;
  }

  .lightbox__stage {
    inset: 5rem 0.8rem 5.5rem;
  }

  .lightbox__caption {
    right: 7rem;
    gap: 0.8rem;
    overflow: hidden;
  }
}

@media (hover: none), (pointer: coarse) {
  .cursor {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .hero__media img,
  .interlude img {
    transform: none !important;
  }
}

/* Production archive: four generated collections */

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

.collection--dark,
.collection--night {
  background: #080808;
  color: var(--paper);
}

.collection--night {
  background: #0d0b0d;
}

.collection--gold {
  background: #d59a2e;
  color: #0b0905;
}

.collection--light {
  background: #dfdcd4;
  color: var(--ink);
}

.collection--gold .collection__header,
.collection--light .collection__header {
  border-color: rgba(8, 8, 8, 0.28);
}

.collection--gold .collection__count,
.collection--light .collection__count {
  color: rgba(8, 8, 8, 0.62);
}

.collection__statement {
  max-width: 10em;
  margin: clamp(8rem, 14vw, 16rem) 0 clamp(7rem, 12vw, 13rem);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7vw, 8rem);
  font-style: italic;
  letter-spacing: -0.065em;
  line-height: 0.9;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: clamp(3.5rem, 8vw, 10rem) clamp(1.2rem, 2.4vw, 2.8rem);
  align-items: start;
}

.gallery-card {
  min-width: 0;
  margin: 0;
}

.gallery-card--wide {
  grid-column: span 8;
}

.gallery-card--portrait {
  grid-column: span 4;
  margin-top: clamp(5rem, 13vw, 13rem);
}

.gallery-card--standard {
  grid-column: span 5;
}

.gallery-card--tall {
  grid-column: span 4;
  margin-top: clamp(3rem, 8vw, 9rem);
}

.gallery-card--small {
  grid-column: span 3;
  margin-top: clamp(7rem, 16vw, 17rem);
}

.gallery-card__button {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  padding: 0;
  background: #171715;
  cursor: pointer;
}

.gallery-card__button picture,
.gallery-card__button img {
  display: block;
  width: 100%;
}

.gallery-card__button img {
  height: auto;
  transform: scale(1.025);
  transition: transform 1.2s var(--ease-out), filter 0.8s var(--ease-out);
  will-change: transform;
}

.gallery-card__veil {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, 0.12);
  transition: background 0.7s var(--ease-out);
}

.gallery-card__open {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  padding: 0.55rem 0.75rem;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.56rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(0.8rem);
  transition: opacity 0.4s, transform 0.4s var(--ease-out);
}

.gallery-card__button:hover img {
  transform: scale(1);
}

.gallery-card__button:hover .gallery-card__veil {
  background: transparent;
}

.gallery-card__button:hover .gallery-card__open {
  opacity: 1;
  transform: none;
}

.gallery-card figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.72rem;
  color: currentColor;
  font-size: 0.58rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  opacity: 0.62;
}

.gallery-card figcaption span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.about__signature {
  margin-bottom: 0 !important;
  font-size: 0.62rem !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lightbox__caption {
  display: grid;
  grid-template-columns: auto minmax(0, auto);
  grid-template-rows: auto auto;
  column-gap: 1.5rem;
  row-gap: 0.32rem;
  align-items: baseline;
  max-width: calc(100vw - 12rem);
}

.lightbox__counter {
  grid-row: 1 / span 2;
}

.lightbox__title {
  grid-column: 2;
  grid-row: 1;
}

.lightbox__location {
  grid-column: 2;
  grid-row: 2;
  min-height: 1em;
  color: #9b9b9b;
  letter-spacing: 0.1em;
  text-transform: none;
}

.lightbox__location.is-typing::after {
  content: "";
  display: inline-block;
  width: 0.45em;
  height: 0.95em;
  margin-left: 0.28em;
  background: var(--acid);
  vertical-align: -0.12em;
  animation: typing-cursor 0.7s steps(1) infinite;
}

@keyframes typing-cursor {
  0%,
  48% { opacity: 1; }
  49%,
  100% { opacity: 0; }
}

@media (max-width: 760px) {
  .hero__title {
    font-size: clamp(3.9rem, 19vw, 6.6rem);
  }

  .hero__eyebrow span:last-child {
    display: none;
  }

  .collection__statement {
    margin: 8rem 0 7rem;
    font-size: clamp(2.8rem, 13vw, 5rem);
  }

  .gallery-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .gallery-card,
  .gallery-card--wide,
  .gallery-card--portrait,
  .gallery-card--standard,
  .gallery-card--tall,
  .gallery-card--small {
    width: 100%;
    margin: 0;
  }

  .gallery-card + .gallery-card {
    margin-top: 6rem;
  }

  .gallery-card:nth-child(3n + 2) {
    width: 84%;
    margin-left: auto;
  }

  .gallery-card:nth-child(3n) {
    width: 90%;
  }

  .gallery-card__open {
    display: none;
  }

  .lightbox__caption {
    right: 6.5rem;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 0.8rem;
    max-width: none;
  }

  .lightbox__location {
    line-height: 1.35;
  }
}
