.pbg-image-hero {
  background: #fff;
}

.pbg-image-hero img {
  object-position: center top;
}

.pbg-image-hero .upc-image-hero__copy {
  top: 12%;
  padding-left: 56%;
  color: var(--ink);
  text-shadow: none;
}

.pbg-image-hero .upc-image-hero__copy h1 {
  max-width: none;
}

.pbg-image-hero .upc-image-hero__copy p {
  max-width: 31ch;
  color: var(--soft);
}

.pbg-project {
  border-top: 1px solid var(--line);
}

.pbg-reading-layout--sidebar {
  border-top: 1px solid var(--line);
}

.pbg-reading-layout--sidebar .upc-sidebar-section a {
  display: block;
}

.pbg-reading-layout--sidebar .upc-sidebar-section a + a {
  margin-top: 8px;
}

.pbg-reading-layout--sidebar .pbg-project {
  min-width: 0;
  border-top: 0;
}

.pbg-reading-layout--sidebar .pbg-history {
  padding: 30px 0 62px;
}

.pbg-reading-layout--sidebar .pbg-history-inner {
  grid-template-columns: 1fr;
  gap: 36px;
  max-width: none;
}

.pbg-reading-layout--sidebar .pbg-history-intro {
  max-width: 580px;
}

.pbg-reading-layout--sidebar .pbg-gallery {
  padding: 52px 0 0;
}

.pbg-reading-layout--sidebar .pbg-gallery-header,
.pbg-reading-layout--sidebar .pbg-media {
  width: 100%;
}

.pbg-reading-layout--sidebar .pbg-media {
  margin-bottom: 54px;
}

.pbg-history {
  padding: 72px 44px 82px;
}

.pbg-history-inner {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 76px;
  max-width: 1052px;
  margin: 0 auto;
}

.pbg-eyebrow {
  margin: 0 0 12px;
  color: var(--soft);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
}

.pbg-history-intro h2,
.pbg-gallery-header h2 {
  margin: 0 0 16px;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.12;
}

.pbg-history-intro > p:last-child,
.pbg-gallery-header > p:last-child {
  margin: 0;
  color: var(--soft);
  font-size: 16px;
  line-height: 1.55;
  text-wrap: pretty;
}

.pbg-timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pbg-timeline li {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 24px;
  padding: 25px 0 27px;
  border-top: 1px solid var(--line);
}

.pbg-timeline li:first-child {
  border-top-color: var(--ink);
}

.pbg-timeline time {
  padding-top: 4px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

.pbg-timeline h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.25;
  text-wrap: pretty;
}

.pbg-timeline p {
  max-width: 66ch;
  margin: 0;
  color: var(--soft);
  font-size: 16px;
  line-height: 1.58;
  text-wrap: pretty;
}

.pbg-timeline .pbg-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 16px;
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.4;
}

.pbg-sources a {
  color: var(--ink);
  text-decoration-color: color-mix(in srgb, var(--ink) 35%, transparent);
  text-underline-offset: 3px;
}

.pbg-sources a:hover {
  color: var(--accent);
  text-decoration-color: currentColor;
}

.pbg-gallery {
  padding: 64px 0 92px;
  border-top: 1px solid var(--line);
}

.pbg-gallery-header {
  width: min(1052px, calc(100vw - 88px));
  margin: 0 auto 48px;
}

.pbg-gallery-header > p:last-child {
  max-width: 56ch;
}

.pbg-media {
  width: min(1052px, calc(100vw - 88px));
  margin: 0 auto 72px;
}

.pbg-media:last-child {
  margin-bottom: 0;
}

.pbg-media img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  transition: opacity 140ms ease;
}

.pbg-media img.is-loading {
  opacity: .58;
}

.pbg-switcher {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
  margin: 12px auto 0;
}

.pbg-switcher button {
  min-height: 28px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: transparent;
  color: var(--soft);
  font: 500 11.5px/1 "Space Grotesk", sans-serif;
  letter-spacing: 0;
  cursor: pointer;
}

.pbg-switcher button:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.pbg-switcher button[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.pbg-switcher button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.pbg-media figcaption {
  margin: 8px 0 0;
  color: var(--soft);
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  line-height: 1.42;
  text-align: center;
  text-wrap: pretty;
}

@media (max-width: 900px) {
  .pbg-image-hero::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 28%, rgb(244 241 234 / 94%) 78%);
    content: "";
  }

  .pbg-image-hero .upc-image-hero__copy {
    z-index: 1;
    top: auto;
    bottom: 32px;
    padding-left: 0;
  }

  .pbg-image-hero .upc-image-hero__copy p {
    max-width: 37ch;
    color: var(--ink);
  }

  .pbg-history {
    padding: 52px 22px 62px;
  }

  .pbg-reading-layout--sidebar .pbg-history {
    padding: 0 0 52px;
  }

  .pbg-history-inner {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .pbg-history-intro {
    max-width: 560px;
  }

  .pbg-gallery {
    padding-top: 46px;
    padding-bottom: 66px;
  }

  .pbg-reading-layout--sidebar .pbg-gallery {
    padding-top: 46px;
    padding-bottom: 0;
  }

  .pbg-gallery-header {
    width: calc(100vw - 44px);
    margin-bottom: 36px;
  }

  .pbg-media {
    width: calc(100vw - 44px);
    margin-bottom: 52px;
  }
}

@media (max-width: 520px) {
  .pbg-page .upc-breadcrumb-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    width: 100%;
  }

  .pbg-page .upc-breadcrumb-current {
    max-width: 92px;
  }

  .pbg-image-hero img {
    object-position: left top;
  }

  .pbg-history-intro h2,
  .pbg-gallery-header h2 {
    font-size: 28px;
  }

  .pbg-timeline li {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-block: 22px 24px;
  }

  .pbg-timeline time {
    padding-top: 0;
  }

  .pbg-timeline h3 {
    font-size: 19px;
  }

  .pbg-media img {
    border-radius: 5px;
  }

  .pbg-switcher {
    gap: 4px;
  }

  .pbg-switcher button {
    padding-inline: 8px;
    font-size: 11px;
  }
}
