:root {
  --bg: #100d10;
  --bg-soft: #181318;
  --paper: #f3ede3;
  --paper-deep: #e7dccd;
  --ink: #211b20;
  --text: #f7f1ea;
  --muted: #b9adb4;
  --accent: #d98c94;
  --line: rgba(255, 255, 255, 0.16);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body.is-loading {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

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

.noscript-message {
  position: fixed;
  inset: 0 0 auto;
  z-index: 9999;
  padding: 12px;
  background: #fff;
  color: #000;
  text-align: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(22px, 5vw, 76px);
  border-bottom: 1px solid transparent;
  transition: background 250ms ease, border-color 250ms ease, backdrop-filter 250ms ease;
}

.site-header.is-scrolled,
.site-header--solid {
  border-color: var(--line);
  background: rgba(16, 13, 16, 0.82);
  backdrop-filter: blur(16px);
}

.brand {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 700;
  text-decoration: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 38px);
}

.nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.83rem;
  font-weight: 500;
  text-decoration: none;
}

.nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

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

.nav__gallery {
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
}

.nav__gallery::after {
  display: none;
}

.loader {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--bg);
  transition: opacity 700ms ease, visibility 700ms ease;
}

.loader.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.loader__content {
  width: min(78vw, 540px);
  text-align: center;
}

.loader__eyebrow {
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.loader h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 7vw, 4.4rem);
  font-weight: 600;
}

.loader__line {
  width: 100%;
  height: 1px;
  margin-top: 34px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
}

.loader__line span {
  display: block;
  width: 50%;
  height: 100%;
  background: var(--accent);
  animation: loader-line 1.25s ease-in-out infinite;
}

@keyframes loader-line {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(220%); }
}

.music-control {
  position: fixed;
  z-index: 120;
  bottom: 22px;
  left: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 7px 15px 7px 7px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(16, 13, 16, 0.78);
  color: #fff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
  cursor: pointer;
}

.music-control__disc {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--accent) 0 12%, #161116 13% 25%, #43313b 26% 32%, #171217 33%);
}

.music-control.is-playing .music-control__disc {
  animation: disc-spin 4s linear infinite;
}

.music-control__icon {
  width: 12px;
  color: var(--accent);
  font-size: 0.72rem;
}

.music-control__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

@keyframes disc-spin {
  to { transform: rotate(360deg); }
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: calc(var(--header-height) + 30px) clamp(22px, 7vw, 110px) clamp(56px, 9vw, 118px);
}

.hero__video,
.hero__shade,
.hero__grain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__video {
  object-fit: cover;
  object-position: center;
  background: #241b22;
}

.hero__shade {
  background:
    linear-gradient(180deg, rgba(10, 8, 10, 0.18), rgba(10, 8, 10, 0.26) 42%, rgba(10, 8, 10, 0.86) 100%),
    linear-gradient(90deg, rgba(10, 8, 10, 0.68), transparent 66%);
}

.hero__grain {
  opacity: 0.14;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(900px, 100%);
}

.hero h1 {
  max-width: 880px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(4.5rem, 13vw, 11.5rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.73;
}

.hero h1 em {
  color: var(--accent);
  font-weight: 500;
}

.hero__subtitle {
  max-width: 560px;
  margin: 34px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.55;
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  margin-top: 42px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.73rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.scroll-cue i {
  position: relative;
  width: 54px;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.3);
}

.scroll-cue i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
  0% { transform: translateX(-100%); }
  50%, 100% { transform: translateX(100%); }
}

.hero__side-note {
  position: absolute;
  z-index: 2;
  right: clamp(20px, 4vw, 54px);
  top: 50%;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: translateY(-50%);
}

.section {
  position: relative;
  padding: clamp(100px, 14vw, 210px) clamp(22px, 8vw, 125px);
}

.section__number {
  position: absolute;
  top: 60px;
  left: clamp(22px, 4vw, 60px);
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
}

.intro {
  min-height: 110vh;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
}

.intro .section__number {
  color: rgba(33, 27, 32, 0.3);
}

.intro__copy {
  position: relative;
  z-index: 2;
  width: min(670px, 76%);
  margin-left: auto;
}

.intro__copy h2,
.timeline__heading h2,
.gallery-teaser h2,
.letter h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.intro__copy > p:last-child {
  max-width: 590px;
  margin: 30px 0 0;
  color: rgba(33, 27, 32, 0.7);
  font-size: 1rem;
  line-height: 1.8;
}

.floating-photo {
  position: absolute;
  z-index: 1;
  width: clamp(180px, 26vw, 390px);
  margin: 0;
  padding: 10px 10px 34px;
  background: #fffaf3;
  box-shadow: 0 34px 80px rgba(59, 39, 48, 0.22);
}

.floating-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.floating-photo figcaption {
  margin-top: 12px;
  padding-left: 6px;
  font-family: var(--serif);
  font-size: 1.05rem;
}

.floating-photo--one {
  left: 5vw;
  bottom: 10%;
  transform: rotate(-6deg);
}

.floating-photo--two {
  right: 8vw;
  bottom: -8%;
  transform: rotate(5deg);
}

.chapter {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--bg);
}

.chapter__background {
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(circle at 80% 20%, rgba(217, 140, 148, 0.18), transparent 32%),
    radial-gradient(circle at 15% 72%, rgba(160, 124, 151, 0.16), transparent 30%);
}

.chapter__inner {
  position: relative;
  z-index: 1;
  width: min(1380px, 100%);
  margin: 0 auto;
  padding: clamp(100px, 14vw, 190px) clamp(22px, 7vw, 100px);
}

.chapter h2 {
  max-width: 1060px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.2rem, 7.4vw, 7rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.chapter__grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: clamp(22px, 4vw, 58px);
  align-items: start;
  margin-top: 90px;
}

.memory-card {
  margin: 0;
}

.memory-card--wide {
  grid-row: span 2;
}

.memory-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.memory-card--wide img {
  aspect-ratio: 4 / 4.6;
}

.memory-card figcaption {
  display: grid;
  gap: 4px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.memory-card figcaption span {
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.35rem;
}

.quote-card {
  margin: 0;
  padding: 40px;
  border: 1px solid var(--line);
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 3.2rem);
  line-height: 1.15;
}

.quote-card cite {
  display: block;
  margin-top: 25px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.7rem;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.timeline {
  background: #171216;
}

.timeline__heading {
  width: min(940px, 100%);
  margin: 0 auto 100px;
  text-align: center;
}

.timeline__line {
  position: absolute;
  top: 39%;
  bottom: 10%;
  left: 50%;
  width: 1px;
  background: linear-gradient(var(--accent), rgba(255, 255, 255, 0.08));
}

.timeline-item {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  display: grid;
  grid-template-columns: 0.7fr 0.85fr 1.4fr;
  gap: clamp(20px, 5vw, 70px);
  align-items: center;
  margin: 0 auto 120px;
}

.timeline-item--reverse {
  grid-template-columns: 1.4fr 0.85fr 0.7fr;
}

.timeline-item--reverse img {
  grid-column: 1;
  grid-row: 1;
}

.timeline-item--reverse .timeline-item__body {
  grid-column: 2;
}

.timeline-item--reverse .timeline-item__year {
  grid-column: 3;
}

.timeline-item__year {
  color: var(--accent);
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 5rem);
  text-align: center;
}

.timeline-item__body h3 {
  margin: 0 0 15px;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.6vw, 3.8rem);
  font-weight: 600;
  line-height: 1;
}

.timeline-item__body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.timeline-item img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
}

.gallery-teaser {
  position: relative;
  min-height: 110vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 7vw;
  overflow: hidden;
  padding: 110px clamp(22px, 7vw, 100px);
  background: var(--paper);
  color: var(--ink);
}

.gallery-teaser__collage {
  position: relative;
  min-height: 760px;
}

.gallery-teaser__collage img {
  position: absolute;
  width: clamp(160px, 22vw, 330px);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  padding: 8px 8px 26px;
  background: #fff;
  box-shadow: 0 30px 70px rgba(58, 39, 47, 0.18);
}

.gallery-teaser__collage img:nth-child(1) {
  top: 4%;
  left: 5%;
  transform: rotate(-7deg);
}

.gallery-teaser__collage img:nth-child(2) {
  top: 17%;
  right: 1%;
  transform: rotate(6deg);
}

.gallery-teaser__collage img:nth-child(3) {
  bottom: 3%;
  left: 17%;
  transform: rotate(3deg);
}

.gallery-teaser__collage img:nth-child(4) {
  right: 10%;
  bottom: 0;
  transform: rotate(-5deg);
}

.gallery-teaser__content {
  position: relative;
  z-index: 2;
}

.gallery-teaser__content p:not(.eyebrow) {
  max-width: 520px;
  margin: 28px 0;
  color: rgba(33, 27, 32, 0.66);
  line-height: 1.8;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding: 16px 22px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 200ms ease, background 200ms ease;
}

.button:hover {
  transform: translateY(-3px);
  background: #372c34;
}

.letter {
  display: grid;
  place-items: center;
  min-height: 110vh;
  background:
    radial-gradient(circle at 50% 0%, rgba(217, 140, 148, 0.14), transparent 30%),
    var(--bg);
}

.letter__paper {
  width: min(820px, 100%);
  padding: clamp(34px, 8vw, 90px);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 50px 110px rgba(0, 0, 0, 0.32);
}

.letter__paper .eyebrow {
  color: #92555d;
}

.letter__body {
  margin-top: 42px;
  color: rgba(33, 27, 32, 0.78);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  line-height: 1.7;
}

.signature {
  margin-top: 48px;
  color: #92555d;
  font-family: var(--serif);
  font-size: 3.2rem;
  font-style: italic;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  padding: 30px clamp(22px, 5vw, 76px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer a {
  text-decoration: none;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 800ms ease, transform 800ms cubic-bezier(.2,.7,.2,1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Gallery page */
.gallery-page {
  min-height: 100vh;
  background: #141014;
}

.gallery-main {
  padding-top: var(--header-height);
}

.gallery-hero {
  padding: clamp(85px, 11vw, 145px) clamp(22px, 7vw, 100px) 60px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 80% 20%, rgba(217, 140, 148, 0.15), transparent 33%),
    #141014;
}

.gallery-hero h1 {
  max-width: 1050px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.82;
}

.gallery-hero > p:last-child {
  margin: 34px 0 0;
  color: var(--muted);
}

.gallery-toolbar {
  position: sticky;
  z-index: 40;
  top: var(--header-height);
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 16px clamp(22px, 5vw, 70px);
  border-bottom: 1px solid var(--line);
  background: rgba(20, 16, 20, 0.9);
  backdrop-filter: blur(14px);
  scrollbar-width: none;
}

.gallery-toolbar::-webkit-scrollbar {
  display: none;
}

.gallery-filter {
  flex: 0 0 auto;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.gallery-filter.is-active {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--ink);
}

.gallery-grid {
  columns: 4 280px;
  column-gap: 16px;
  padding: 26px clamp(16px, 3vw, 46px) 90px;
}

.gallery-card {
  position: relative;
  width: 100%;
  display: inline-block;
  margin: 0 0 16px;
  overflow: hidden;
  border: 0;
  background: #251d24;
  cursor: zoom-in;
  break-inside: avoid;
}

.gallery-card img {
  width: 100%;
  height: auto;
  transition: transform 450ms cubic-bezier(.2,.7,.2,1), filter 450ms ease;
}

.gallery-card:hover img {
  transform: scale(1.025);
  filter: brightness(0.88);
}

.gallery-card__meta {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 38px 14px 13px;
  color: #fff;
  font-size: 0.68rem;
  text-align: left;
  opacity: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.76));
  transition: opacity 250ms ease;
}

.gallery-card:hover .gallery-card__meta,
.gallery-card:focus-visible .gallery-card__meta {
  opacity: 1;
}

.gallery-empty {
  padding: 100px 22px;
  text-align: center;
}

.gallery-empty h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 3rem;
}

.gallery-empty p {
  color: var(--muted);
}

.lightbox {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 72px;
  align-items: center;
  background: rgba(7, 5, 7, 0.96);
  backdrop-filter: blur(20px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox__figure {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  align-content: center;
  margin: 0;
  padding: 50px 0;
}

.lightbox__figure img {
  max-width: min(1200px, 100%);
  max-height: calc(100vh - 130px);
  object-fit: contain;
}

.lightbox__figure figcaption {
  max-width: 800px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.75rem;
  text-align: center;
}

.lightbox__close,
.lightbox__nav {
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.lightbox__close {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 22px;
  font-size: 2.2rem;
}

.lightbox__nav {
  align-self: stretch;
  font-family: var(--serif);
  font-size: 4rem;
}

.lightbox__nav:hover,
.lightbox__close:hover {
  color: var(--accent);
}

@media (max-width: 900px) {
  .nav a:not(.nav__gallery):not(:only-child) {
    display: none;
  }

  .hero__side-note {
    display: none;
  }

  .intro {
    min-height: 1250px;
  }

  .intro__copy {
    width: 100%;
  }

  .floating-photo--one {
    left: 7vw;
    bottom: 17%;
  }

  .floating-photo--two {
    right: 7vw;
    bottom: 2%;
  }

  .chapter__grid {
    grid-template-columns: 1fr;
  }

  .memory-card--wide {
    grid-row: auto;
  }

  .timeline__line {
    left: 34px;
  }

  .timeline-item,
  .timeline-item--reverse {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 22px;
  }

  .timeline-item__year,
  .timeline-item--reverse .timeline-item__year {
    grid-column: 1;
    grid-row: 1;
    writing-mode: vertical-rl;
    font-size: 2rem;
  }

  .timeline-item__body,
  .timeline-item--reverse .timeline-item__body {
    grid-column: 2;
    grid-row: 1;
  }

  .timeline-item img,
  .timeline-item--reverse img {
    grid-column: 2;
    grid-row: 2;
  }

  .gallery-teaser {
    grid-template-columns: 1fr;
  }

  .gallery-teaser__collage {
    min-height: 620px;
  }
}

@media (max-width: 620px) {
  :root {
    --header-height: 66px;
  }

  .site-header {
    padding: 0 18px;
  }

  .nav {
    gap: 10px;
  }

  .nav__gallery {
    padding: 8px 12px;
  }

  .hero {
    padding-right: 20px;
    padding-left: 20px;
  }

  .hero h1 {
    font-size: clamp(4.3rem, 22vw, 7rem);
  }

  .hero__subtitle {
    max-width: 90%;
  }

  .music-control {
    right: 14px;
    bottom: 14px;
    left: 14px;
    justify-content: center;
  }

  .section {
    padding-right: 20px;
    padding-left: 20px;
  }

  .intro {
    min-height: 1120px;
  }

  .floating-photo {
    width: 58vw;
  }

  .floating-photo--one {
    left: -4vw;
    bottom: 17%;
  }

  .floating-photo--two {
    right: -4vw;
    bottom: 1%;
  }

  .chapter__inner {
    padding-right: 20px;
    padding-left: 20px;
  }

  .quote-card {
    padding: 28px;
  }

  .timeline__heading {
    text-align: left;
  }

  .timeline__line {
    left: 20px;
  }

  .timeline-item,
  .timeline-item--reverse {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 16px;
    margin-bottom: 80px;
  }

  .gallery-teaser {
    min-height: auto;
    padding: 90px 20px;
  }

  .gallery-teaser__collage {
    min-height: 520px;
  }

  .gallery-teaser__collage img {
    width: 55vw;
  }

  .letter__paper {
    padding: 35px 26px;
  }

  .site-footer {
    flex-direction: column;
  }

  .gallery-hero {
    padding-right: 20px;
    padding-left: 20px;
  }

  .gallery-hero h1 {
    font-size: clamp(3.8rem, 19vw, 6rem);
  }

  .gallery-grid {
    columns: 2 145px;
    column-gap: 8px;
    padding: 12px 8px 70px;
  }

  .gallery-card {
    margin-bottom: 8px;
  }

  .gallery-card__meta {
    display: none;
  }

  .lightbox {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
  }

  .lightbox__figure {
    padding: 60px 0 30px;
  }

  .lightbox__figure img {
    max-height: calc(100vh - 150px);
  }

  .lightbox__nav {
    font-size: 3rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .parallax {
    transform: none !important;
  }
}
