:root {
  --ink: #1b1814;
  --muted: #6d6258;
  --paper: #f6ead5;
  --cream: #fff8e9;
  --ochre: #b87524;
  --clay: #9a422d;
  --green: #3f6656;
  --blue: #245f76;
  --night: #102f3f;
  --rose: #c36a5a;
  --line: rgba(42, 33, 24, 0.14);
  --card-radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #f6ddc8 0%, var(--paper) 34%, #eed199 64%, #fff1d9 100%);
  color: var(--ink);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.65;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: linear-gradient(90deg, rgba(255, 248, 233, 0.86), rgba(255, 248, 233, 0.72));
  border-bottom: 1px solid rgba(42, 33, 24, 0.09);
  backdrop-filter: blur(18px);
}

.brand img {
  width: clamp(150px, 22vw, 260px);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 24px);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  padding: 8px 0;
  border-bottom: 1px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus {
  color: var(--ink);
  border-bottom-color: currentColor;
}

.hero {
  position: relative;
  min-height: calc(100svh - 72px);
  display: grid;
  justify-items: start;
  align-items: end;
  padding: clamp(90px, 12vw, 168px) clamp(20px, 6vw, 96px) clamp(72px, 9vw, 118px);
  background: #ead1bf;
  isolation: isolate;
  overflow: hidden;
}

.hero-art {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(18, 17, 15, 0.9), rgba(56, 39, 35, 0.52) 43%, rgba(30, 54, 65, 0.08)),
    url("../images/paul-blackwhite-hero.jpg") center center / cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(16, 47, 63, 0.24), rgba(16, 47, 63, 0) 34%),
    linear-gradient(110deg, rgba(154, 66, 45, 0.18), rgba(213, 163, 64, 0) 42%);
  mix-blend-mode: multiply;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 42%;
  background: linear-gradient(
    0deg,
    #ead1bf 0%,
    rgba(234, 209, 191, 0.78) 24%,
    rgba(237, 220, 199, 0.32) 58%,
    rgba(247, 239, 227, 0) 100%
  );
}

.hero-content {
  width: min(820px, 100%);
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.42);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f2d5bb;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  max-width: 820px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.6rem, 9.2vw, 10.6rem);
  line-height: 0.84;
  font-weight: 500;
  letter-spacing: 0;
}

.hero h1 {
  margin-bottom: 16px;
}

.hero-years {
  display: inline-flex;
  margin: 0 0 24px;
  padding: 7px 13px 6px;
  border: 1px solid rgba(242, 213, 187, 0.48);
  border-radius: 999px;
  background: rgba(26, 21, 18, 0.28);
  color: #f2d5bb;
  font-size: 0.84rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1;
}

h2 {
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 5vw, 4.5rem);
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.04rem;
  line-height: 1.25;
}

.hero-lede {
  max-width: 680px;
  font-size: clamp(1.12rem, 2vw, 1.45rem);
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  line-height: 1.1;
}

.button-primary {
  background: linear-gradient(135deg, var(--clay), #c2643c);
  color: #fff;
  box-shadow: 0 12px 30px rgba(154, 66, 45, 0.28);
}

.button-light {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.button-dark {
  background: var(--ink);
  color: #fff;
}

.button:hover,
.button:focus {
  transform: translateY(-1px);
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  width: min(1180px, calc(100% - 40px));
  margin: -42px auto 0;
  position: relative;
  z-index: 3;
  box-shadow: 0 24px 70px rgba(42, 33, 24, 0.12);
  background: rgba(255, 248, 233, 0.72);
  border: 1px solid rgba(255, 248, 233, 0.62);
  border-radius: var(--card-radius);
  overflow: hidden;
  backdrop-filter: blur(18px);
}

.intro-band div {
  padding: clamp(20px, 4vw, 34px);
  border-top: 1px solid rgba(42, 33, 24, 0.16);
  border-right: 1px solid rgba(42, 33, 24, 0.1);
  background: transparent;
}

.intro-band div:nth-child(2) {
  border-top-color: var(--blue);
  background: rgba(234, 243, 239, 0.54);
}

.intro-band div:nth-child(3) {
  border-top-color: var(--rose);
  border-right: 0;
  background: rgba(255, 230, 221, 0.48);
}

.fact-number {
  display: block;
  margin-bottom: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  line-height: 1;
}

.fact-label {
  color: var(--muted);
  font-size: 0.95rem;
}

.section {
  padding: clamp(70px, 10vw, 130px) clamp(20px, 6vw, 96px);
}

.section-memory {
  background: linear-gradient(145deg, #ead1bf 0%, #f6d0b7 42%, #f5e0b4 100%);
}

.memory-layout {
  position: relative;
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(18px, 3vw, 32px);
}

.memory-layout::before {
  content: "1938 / 2026";
  position: absolute;
  top: -64px;
  right: 0;
  color: rgba(154, 66, 45, 0.14);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 9vw, 9rem);
  line-height: 1;
  pointer-events: none;
}

.memory-intro {
  position: relative;
  z-index: 1;
  grid-column: 1 / span 4;
  padding-top: clamp(16px, 3vw, 34px);
}

.memory-intro p:not(.eyebrow) {
  max-width: 560px;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  line-height: 1.45;
}

.memory-stories {
  grid-column: 5 / span 8;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-auto-flow: dense;
  gap: clamp(14px, 2vw, 22px);
  align-self: start;
  padding-top: clamp(42px, 5vw, 72px);
}

.memory-story {
  display: grid;
  grid-column: span 4;
  grid-template-rows: minmax(210px, 18vw) auto;
  background: rgba(255, 248, 233, 0.62);
  border: 1px solid rgba(42, 33, 24, 0.12);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: 0 22px 58px rgba(42, 33, 24, 0.14);
}

.memory-story-large {
  grid-column: span 5;
  grid-row: span 2;
  grid-template-rows: minmax(360px, 32vw) auto;
}

.memory-story-wide {
  grid-column: span 8;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  grid-template-rows: auto;
}

.memory-story img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  background: var(--ink);
  filter: saturate(1.02) contrast(0.98);
}

.memory-story-wide img {
  min-height: 320px;
}

.memory-story div {
  padding: clamp(18px, 2.6vw, 30px);
}

.memory-story span {
  display: block;
  margin-bottom: 12px;
  color: var(--clay);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.memory-story h3 {
  margin-bottom: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.4vw, 2.35rem);
  font-weight: 500;
  line-height: 1;
}

.memory-story p {
  margin: 0;
  color: #4e473f;
}

.memory-quote {
  grid-column: 3 / span 8;
}

blockquote {
  margin: 32px 0 0;
  padding: 28px 28px 30px;
  background: rgba(255, 248, 233, 0.52);
  border-top: 1px solid rgba(42, 33, 24, 0.12);
  border-left: 5px solid rgba(148, 72, 50, 0.52);
  border-radius: var(--card-radius);
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  line-height: 1.28;
}

cite {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.92rem;
  font-style: normal;
}

.section-heading {
  width: min(820px, 100%);
  margin: 0 auto 40px;
  text-align: center;
}

.section-heading.narrow {
  width: min(700px, 100%);
}

.work-section {
  background: linear-gradient(150deg, #d8b562 0%, #c98a42 36%, #375f59 100%);
  color: #fff8e9;
  overflow: hidden;
}

.work-section .eyebrow,
.work-section .section-heading p {
  color: rgba(255, 248, 233, 0.78);
}

.work-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(140px, 11vw);
  gap: clamp(12px, 1.5vw, 20px);
}

.work-card {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  border-radius: var(--card-radius);
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 20px 44px rgba(35, 23, 14, 0.24);
}

.work-card.large {
  grid-column: span 6;
  grid-row: span 4;
}

.work-card.wide {
  grid-column: 2 / span 5;
  grid-row: span 2;
}

.work-card:nth-child(2) {
  grid-column: span 3;
  grid-row: span 2;
}

.work-card:nth-child(3) {
  grid-column: span 3;
  grid-row: span 3;
}

.work-card:nth-child(4) {
  grid-column: 7 / span 3;
  grid-row: span 2;
}

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.86;
  filter: saturate(1.04) contrast(0.98);
  transition:
    transform 0.35s ease,
    opacity 0.35s ease;
}

.work-card span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 3vw, 3rem);
  line-height: 1;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5);
}

.work-card:hover img,
.work-card:focus img {
  transform: scale(1.04);
  opacity: 0.7;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 72px;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 16px;
  padding: clamp(18px, 4vw, 42px);
  background: rgba(16, 18, 17, 0.92);
  backdrop-filter: blur(16px);
  color: #fff8e9;
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox-close,
.gallery-lightbox-prev,
.gallery-lightbox-next {
  border: 1px solid rgba(255, 248, 233, 0.22);
  border-radius: 999px;
  background: rgba(255, 248, 233, 0.08);
  color: #fff8e9;
  cursor: pointer;
}

.gallery-lightbox-close {
  grid-column: 3;
  justify-self: end;
  width: 44px;
  height: 44px;
  font-size: 1.6rem;
  line-height: 1;
}

.gallery-lightbox-prev,
.gallery-lightbox-next {
  align-self: center;
  width: 48px;
  height: 48px;
  font-size: 2rem;
}

.gallery-lightbox-prev {
  grid-column: 1;
  grid-row: 2;
}

.gallery-lightbox-next {
  grid-column: 3;
  grid-row: 2;
}

.gallery-lightbox-figure {
  grid-column: 2;
  grid-row: 2;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 0;
  margin: 0;
}

.gallery-lightbox-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.5);
}

.gallery-lightbox-caption {
  grid-column: 2;
  grid-row: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255, 248, 233, 0.78);
}

.gallery-lightbox-title {
  margin: 0;
  color: #fff8e9;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 2vw, 1.9rem);
  line-height: 1.1;
}

.gallery-lightbox-meta {
  margin: 4px 0 0;
  font-size: 0.92rem;
}

.gallery-lightbox-link {
  color: #f2d28b;
  font-weight: 900;
  text-underline-offset: 4px;
  white-space: nowrap;
}

.feature-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  min-height: 620px;
  background: linear-gradient(135deg, #294b42 0%, var(--green) 54%, #213f57 100%);
  color: #fff;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(40px, 6vw, 86px);
}

.feature-copy .eyebrow {
  color: #d6c4a9;
}

.feature-copy p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
}

.timeline-section {
  background: linear-gradient(180deg, #fff4df 0%, #fce2ba 100%);
}

.timeline {
  width: min(980px, 100%);
  margin: 0 auto;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.timeline li {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: clamp(18px, 4vw, 52px);
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.timeline span {
  color: #fff8e9;
  font-weight: 900;
  align-self: start;
  justify-self: start;
  padding: 5px 9px;
  background: var(--clay);
  border-radius: 999px;
  font-size: 0.86rem;
}

.timeline p {
  margin-bottom: 0;
  color: var(--muted);
}

.archive-section {
  background: linear-gradient(180deg, #12394a 0%, #102838 58%, #1d2635 100%);
  color: #fff;
}

.archive-section .eyebrow {
  color: #f2d5bb;
}

.archive-section .section-heading p {
  color: rgba(255, 255, 255, 0.72);
}

.archive-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.media-card,
.archive-link {
  background: linear-gradient(180deg, #fff9ee 0%, #f7ead7 100%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(10, 22, 31, 0.22);
  color: var(--ink);
}

.media-card {
  display: flex;
  flex-direction: column;
  grid-column: span 2;
  text-decoration: none;
}

.media-image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ink);
}

.media-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 35%, rgba(0, 0, 0, 0.42) 100%);
}

.media-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96) contrast(0.98);
  transition:
    transform 0.35s ease,
    filter 0.35s ease;
}

.media-image span {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 1;
  padding: 9px 14px;
  background: rgba(255, 249, 238, 0.93);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  color: var(--clay);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.media-card-body,
.archive-link {
  padding: 22px;
}

.media-card h3,
.archive-link h3 {
  margin-bottom: 8px;
}

.media-card p,
.archive-link p {
  margin-bottom: 0;
  color: var(--muted);
}

.media-card:hover img,
.media-card:focus img {
  filter: saturate(1.08) contrast(1);
  transform: scale(1.03);
}

.text-link {
  color: var(--clay);
  font-weight: 900;
  text-underline-offset: 4px;
}

.source-section {
  background: linear-gradient(145deg, #193848 0%, #335d50 46%, #8e5a38 100%);
  color: #fff8e9;
}

.source-section .eyebrow {
  color: #f2d28b;
}

.source-section .section-heading p {
  color: rgba(255, 248, 233, 0.78);
}

.source-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.source-card {
  display: flex;
  flex-direction: column;
  grid-column: span 3;
  min-height: 330px;
  background: linear-gradient(180deg, #fff8e9 0%, #f8e8cd 100%);
  border: 1px solid rgba(255, 248, 233, 0.34);
  border-radius: var(--card-radius);
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 18px 46px rgba(13, 28, 37, 0.26);
  color: var(--ink);
  transition:
    transform 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease;
}

.source-card-feature {
  grid-column: span 6;
  min-height: 420px;
}

.source-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--ink);
  filter: saturate(0.92);
  transition:
    transform 0.35s ease,
    filter 0.35s ease;
}

.source-card-feature img {
  aspect-ratio: 16 / 9;
}

.source-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.source-card span {
  display: block;
  margin-bottom: 12px;
  color: var(--clay);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.25;
}

.source-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.source-card-feature span {
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.source-card-feature p {
  font-size: 1.02rem;
}

.source-card:hover,
.source-card:focus {
  border-color: rgba(242, 210, 139, 0.9);
  box-shadow: 0 24px 58px rgba(13, 28, 37, 0.34);
  transform: translateY(-3px);
}

.source-card:hover img,
.source-card:focus img {
  filter: saturate(1.05);
  transform: scale(1.03);
}

.site-footer {
  padding: 42px 20px 52px;
  text-align: center;
  background: #fff7ea;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer img {
  width: min(360px, 72vw);
  margin: 0 auto 14px;
  opacity: 0.72;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .site-header {
    position: relative;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: 760px;
    justify-items: start;
  }

  .hero-art {
    background:
      linear-gradient(0deg, rgba(17, 15, 13, 0.86), rgba(17, 15, 13, 0.2) 62%, rgba(17, 15, 13, 0.12)),
      url("../images/paul-blackwhite-hero.jpg") 58% center / cover;
  }

  .intro-band,
  .feature-section,
  .archive-grid {
    grid-template-columns: 1fr;
  }

  .memory-layout {
    grid-template-columns: 1fr;
  }

  .memory-intro,
  .memory-stories,
  .memory-quote {
    grid-column: 1;
  }

  .memory-stories {
    grid-template-columns: repeat(2, 1fr);
    padding-top: 0;
  }

  .memory-story,
  .memory-story-large,
  .memory-story-wide {
    grid-column: span 1;
    grid-row: auto;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(240px, 38vw) auto;
  }

  .memory-story-wide {
    grid-column: span 2;
  }

  .memory-story-wide img {
    min-height: 260px;
  }

  .media-card {
    grid-column: 1;
  }

  .source-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .source-card {
    grid-column: span 3;
  }

  .source-card-feature {
    grid-column: span 6;
  }

  .work-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 260px;
  }

  .work-card.large,
  .work-card.wide,
  .work-card:nth-child(2),
  .work-card:nth-child(3),
  .work-card:nth-child(4) {
    grid-column: span 1;
    grid-row: span 1;
  }

  .feature-section {
    min-height: auto;
  }

  .feature-image img {
    max-height: 460px;
  }
}

@media (max-width: 620px) {
  .site-header {
    gap: 12px;
  }

  .site-nav {
    gap: 8px 10px;
    font-size: 0.68rem;
    flex-wrap: wrap;
    justify-content: flex-start;
    overflow-x: visible;
    row-gap: 6px;
  }

  .hero {
    min-height: 700px;
    padding-top: 74px;
  }

  .intro-band,
  .work-grid,
  .timeline li {
    grid-template-columns: 1fr;
  }

  .intro-band {
    margin-top: -26px;
  }

  .intro-band div {
    border-right: 0;
  }

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

  .source-card,
  .source-card-feature {
    grid-column: 1;
    min-height: 0;
  }

  .memory-stories {
    grid-template-columns: 1fr;
  }

  .memory-story,
  .memory-story-large,
  .memory-story-wide {
    grid-column: 1;
    grid-template-rows: minmax(220px, 72vw) auto;
  }

  .work-grid {
    grid-auto-rows: 240px;
  }

  .gallery-lightbox {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto minmax(0, 1fr) auto auto;
    gap: 10px;
    padding: 14px;
  }

  .gallery-lightbox-close {
    grid-column: 2;
    grid-row: 1;
  }

  .gallery-lightbox-figure {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .gallery-lightbox-prev,
  .gallery-lightbox-next {
    grid-row: 3;
    align-self: auto;
    width: 100%;
    height: 44px;
  }

  .gallery-lightbox-prev {
    grid-column: 1;
  }

  .gallery-lightbox-next {
    grid-column: 2;
  }

  .gallery-lightbox-caption {
    grid-column: 1 / -1;
    grid-row: 4;
    align-items: flex-start;
    flex-direction: column;
  }

  .timeline li {
    gap: 6px;
  }
}
