:root {
  --ink: #171713;
  --paper: #f0eee7;
  --sand: #d5b36a;
  --rust: #bd552f;
  --line: rgba(23, 23, 19, 0.18);
  --mono: "DM Mono", monospace;
  --sans: Manrope, sans-serif;
  --serif: Newsreader, serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
.topbar {
  height: 76px;
  padding: 0 4vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: absolute;
  z-index: 20;
  width: 100%;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
.wordmark {
  font: 600 17px var(--sans);
  letter-spacing: -0.04em;
}
.wordmark span {
  font-weight: 400;
}
.topbar nav {
  display: flex;
  gap: 32px;
  font: 500 11px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.menu {
  display: none;
  background: none;
  border: 0;
  color: inherit;
  font-size: 22px;
}
.hero {
  height: min(920px, 100vh);
  min-height: 680px;
  position: relative;
  color: #fff;
  overflow: hidden;
}
.hero-image {
  position: absolute;
  inset: 0;
  background: url("/assets/images/2011/10/PA082161.jpg") center 56% / cover;
  transform: scale(1.02);
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 10, 7, 0.74), rgba(10, 10, 7, 0.08) 68%),
    linear-gradient(0deg, rgba(10, 10, 7, 0.55), transparent 50%);
}
.hero-copy {
  position: absolute;
  left: 8vw;
  bottom: 9vh;
  max-width: 900px;
}
.eyebrow,
.section-label {
  font: 500 10px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
.eyebrow {
  margin-bottom: 26px;
}
.hero h1 {
  font: 400 clamp(58px, 8.2vw, 124px) / 0.84 var(--serif);
  letter-spacing: -0.055em;
  margin: 0;
}
.hero h1 em,
.big-copy em {
  font-weight: 400;
  color: var(--sand);
}
.intro {
  max-width: 535px;
  font-size: 17px;
  line-height: 1.65;
  margin: 30px 0;
}
.round-link {
  display: flex;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 50%;
  width: 116px;
  height: 116px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  font: 10px/1.4 var(--mono);
  text-transform: uppercase;
  transition: 0.25s;
}
.round-link:hover {
  background: #fff;
  color: var(--ink);
  transform: rotate(-5deg);
}
.round-link b {
  font-size: 18px;
}
.hero-index {
  position: absolute;
  right: 4vw;
  bottom: 6vh;
  display: grid;
  text-align: right;
  gap: 8px;
  font: 10px var(--mono);
}
.hero-index strong {
  font-weight: 400;
  font-size: 14px;
}
.manifesto {
  padding: 120px 8vw 100px;
  display: grid;
  grid-template-columns: 1fr 4fr;
  gap: 6vw;
  border-bottom: 1px solid var(--line);
}
.section-label {
  margin: 8px 0;
}
.big-copy {
  font: 400 clamp(38px, 5vw, 72px) / 1.06 var(--serif);
  letter-spacing: -0.035em;
  margin: 0;
}
.stats {
  grid-column: 2;
  display: flex;
  gap: 10vw;
  margin-top: 55px;
}
.stats div {
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--line);
  padding-left: 20px;
}
.stats strong {
  font: 400 40px var(--serif);
}
.stats span {
  font: 10px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.journeys,
.stories {
  padding: 110px 8vw;
}
.section-head {
  display: grid;
  grid-template-columns: 1fr 4fr;
  gap: 6vw;
  margin-bottom: 62px;
}
.section-head h2,
.route-copy h2 {
  font: 400 clamp(54px, 7vw, 96px) / 0.86 var(--serif);
  letter-spacing: -0.045em;
  margin: 0;
}
.journey-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.journey-card {
  min-height: 640px;
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 38px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  cursor: pointer;
}
.journey-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s;
}
.journey-card:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 8, 5, 0.83), transparent 68%);
}
.journey-card:hover img {
  transform: scale(1.04);
}
.journey-card > *:not(img) {
  position: relative;
  z-index: 1;
}
.journey-card .meta {
  font: 10px var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.journey-card h3 {
  font: 400 clamp(42px, 5vw, 72px) / 0.92 var(--serif);
  margin: 13px 0;
}
.journey-card p {
  max-width: 410px;
  line-height: 1.55;
}
.journey-card .arrow {
  position: absolute;
  right: 35px;
  bottom: 38px;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.route-section {
  background: #1d211d;
  color: #efeee8;
  display: grid;
  grid-template-columns: 38% 62%;
  min-height: 760px;
}
.route-copy {
  padding: 100px 5vw 80px 8vw;
  display: flex;
  flex-direction: column;
}
.section-label.light {
  color: #afb3a8;
}
.route-copy > p:not(.section-label, .route-note) {
  line-height: 1.7;
  color: #b9bdb4;
  max-width: 420px;
  margin: 30px 0;
}
.route-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}
.route-toggle button,
.filters button {
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  padding: 12px 16px;
  font: 10px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
}
.route-toggle button.active {
  background: #efeee8;
  color: #1d211d;
}
.route-note {
  font: 9px/1.5 var(--mono);
  color: #8f958b;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 16px 0 0;
}
#map {
  min-height: 620px;
  background: #252b26;
  filter: saturate(0.65);
}
.leaflet-container {
  font-family: var(--mono);
}
.leaflet-tile-pane {
  filter: grayscale(0.75) sepia(0.18) brightness(0.72);
}
.story-tools {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 42px;
}
.filters {
  display: flex;
  gap: 7px;
}
.filters button {
  border-color: var(--line);
}
.filters button.active {
  background: var(--ink);
  color: var(--paper);
}
#story-count {
  font: 10px var(--mono);
  letter-spacing: 0.1em;
}
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 58px 20px;
}
.story-card {
  cursor: pointer;
}
.story-card:nth-child(6n + 1) {
  grid-column: span 2;
}
.story-image {
  aspect-ratio: 4/3;
  background: #d7d2c6;
  overflow: hidden;
  margin-bottom: 19px;
}
.story-card:nth-child(6n + 1) .story-image {
  aspect-ratio: 2/1;
}
.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.story-card:hover img {
  transform: scale(1.035);
}
.story-meta {
  font: 9px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #66655f;
}
.story-card h3 {
  font: 400 29px/1.05 var(--serif);
  letter-spacing: -0.02em;
  margin: 9px 0;
}
.story-card p {
  font-size: 13px;
  line-height: 1.6;
  color: #64635d;
}
.load-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 70px auto 0;
  border: 1px solid var(--ink);
  background: transparent;
  border-radius: 50%;
  width: 145px;
  height: 145px;
  padding: 24px;
  font: 10px var(--mono);
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
}
.load-more:hover {
  background: var(--ink);
  color: var(--paper);
}
footer {
  background: #151612;
  color: #efeee8;
  padding: 70px 8vw;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
footer p {
  font: 12px/1.6 var(--mono);
  color: #8f9188;
}
footer > a:last-child {
  font: 10px var(--mono);
  text-transform: uppercase;
}
dialog {
  width: min(900px, 94vw);
  height: 92vh;
  border: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
}
dialog::backdrop {
  background: rgba(10, 10, 8, 0.8);
  backdrop-filter: blur(5px);
}
.dialog-close {
  position: fixed;
  z-index: 2;
  right: max(4vw, 25px);
  top: 4vh;
  border: 1px solid var(--ink);
  background: var(--paper);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 26px;
  cursor: pointer;
}
#story-detail .detail-hero {
  height: 52vh;
  min-height: 380px;
  position: relative;
  color: #fff;
  display: flex;
  align-items: flex-end;
  padding: 55px;
  background: #292b25 center/cover;
}
#story-detail .detail-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.76), transparent);
}
#story-detail .detail-title {
  position: relative;
  z-index: 1;
}
#story-detail h1 {
  font: 400 clamp(48px, 8vw, 85px) / 0.9 var(--serif);
  letter-spacing: -0.04em;
  margin: 10px 0;
}
.detail-body {
  max-width: 680px;
  padding: 65px 40px 110px;
  margin: auto;
  font: 400 21px/1.72 var(--serif);
}
.detail-body p {
  margin: 0 0 1.4em;
}
.detail-body img {
  max-width: 100%;
  height: auto;
  margin: 25px 0;
}
.detail-body a {
  text-decoration: underline;
}
.detail-body h2,
.detail-body h3 {
  font-family: var(--serif);
}
.media-link {
  font: 500 10px var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
}
.media-link:hover {
  color: var(--rust);
}
.gallery-page {
  background: var(--paper);
  color: var(--ink);
  min-height: 100vh;
}
.gallery-nav {
  height: 76px;
  padding: 0 4vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.gallery-nav > a:last-child {
  font: 10px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.gallery-main {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 4vw 80px;
}
.gallery-header {
  padding: 58px 0 34px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}
.gallery-header h1 {
  font: 400 clamp(44px, 5vw, 72px)/0.95 var(--serif);
  letter-spacing: -0.04em;
  margin: 8px 0 0;
}
.gallery-header p {
  font: 10px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #aaa99f;
}
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 8px;
  padding: 0;
}
.media-tile {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #d7d2c6;
  color: #fff;
  border: 0;
  padding: 0;
  cursor: zoom-in;
}
.media-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.45s,
    filter 0.45s;
}
.media-tile:hover img {
  transform: scale(1.035);
  filter: brightness(0.75);
}
.media-tile span {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  text-align: left;
  font: 9px/1.4 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0;
  transition: opacity 0.25s;
}
.media-tile:hover span {
  opacity: 1;
}
.gallery-lightbox {
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  margin: 0;
  border: 0;
  padding: 32px;
  background: rgba(8, 8, 7, 0.97);
  overflow: hidden;
}
.gallery-lightbox::backdrop {
  background: rgba(8, 8, 7, 0.97);
}
.gallery-lightbox img {
  display: block;
  width: 100%;
  height: calc(100% - 42px);
  object-fit: contain;
}
.gallery-lightbox button {
  position: fixed;
  z-index: 2;
  top: 20px;
  right: 24px;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  background: #171713;
  color: #fff;
  font: 300 32px/1 var(--sans);
  cursor: pointer;
}
.gallery-caption {
  height: 42px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  color: #ccc;
  font: 10px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.gallery-caption a {
  border-bottom: 1px solid #777;
}
.gallery-empty {
  padding: 10vh 6vw 30vh;
  color: #aaa;
}
@media (max-width: 800px) {
  .topbar nav {
    display: none;
  }
  .menu {
    display: block;
  }
  .hero {
    min-height: 720px;
  }
  .hero-copy {
    left: 6vw;
    right: 6vw;
  }
  .hero h1 {
    font-size: 58px;
  }
  .manifesto,
  .section-head {
    grid-template-columns: 1fr;
  }
  .manifesto {
    padding: 80px 6vw;
  }
  .stats {
    grid-column: 1;
    gap: 6vw;
  }
  .journeys,
  .stories {
    padding: 80px 6vw;
  }
  .journey-cards {
    grid-template-columns: 1fr;
  }
  .journey-card {
    min-height: 530px;
    padding: 25px;
  }
  .route-section {
    grid-template-columns: 1fr;
  }
  .route-copy {
    padding: 80px 6vw 45px;
  }
  .route-toggle {
    margin-top: 40px;
  }
  #map {
    min-height: 520px;
  }
  .story-grid {
    grid-template-columns: 1fr 1fr;
  }
  .story-card:nth-child(6n + 1) {
    grid-column: span 2;
  }
  footer {
    align-items: flex-start;
    gap: 30px;
    flex-direction: column;
  }
  .dialog-close {
    right: 7vw;
  }
  .detail-body {
    padding: 50px 24px 100px;
    font-size: 19px;
  }
  .media-grid {
    grid-template-columns: repeat(auto-fill, minmax(105px, 1fr));
    gap: 6px;
  }
}
@media (max-width: 520px) {
  .hero h1 {
    font-size: 48px;
  }
  .hero-index {
    display: none;
  }
  .stats {
    justify-content: space-between;
  }
  .stats strong {
    font-size: 32px;
  }
  .journey-card {
    min-height: 480px;
  }
  .story-grid {
    grid-template-columns: 1fr;
  }
  .story-card:nth-child(6n + 1) {
    grid-column: auto;
  }
  .story-card:nth-child(6n + 1) .story-image {
    aspect-ratio: 4/3;
  }
  .filters {
    overflow: auto;
    max-width: 80vw;
  }
  .story-tools {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    flex-direction: column;
  }
  .media-link {
    order: 3;
  }
  .media-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
  }
  .gallery-header {
    padding: 38px 0 24px;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}
