@font-face {
  font-family: 'IBM Plex Sans';
  src: url('../assets/fonts/ibm-plex-sans-extralight.ttf') format('truetype');
  font-style: normal;
  font-weight: 200;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Sans';
  src: url('../assets/fonts/ibm-plex-sans-light.ttf') format('truetype');
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: 'Barlow Semi Condensed';
  src: url('../assets/fonts/barlow-semi-condensed-semibold.ttf') format('truetype');
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
.day {
  --paper: #f3f1e9; --ink: #20251e; --hair: #bcbeb3;
  --display: 'Barlow Semi Condensed', 'Arial Narrow', sans-serif;
  --display-weight: 600;
}
.journey {
  --paper: #f7f2e9; --ink: #332d26; --hair: #c8bfb1;
  --display: 'IBM Plex Sans', sans-serif;
  --display-weight: 300;
}
h1, h2, summary, .footer-large {
  font-family: var(--display);
  font-weight: var(--display-weight);
  letter-spacing: -.035em;
}
.day h2, .day summary, .day .footer-large { letter-spacing: -.02em; }
.wordmark img { display: block; width: clamp(174px,17vw,245px); filter: brightness(0) invert(1); }
.cover {
  position: relative; isolation: isolate; overflow: hidden;
  height: 100svh; min-height: 560px; color: #fff; background: #31271f;
}
.cover::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg,#14100ce0,transparent 25%,transparent 64%,#14100ca6),
              linear-gradient(90deg,#1b110bb0,transparent 76%);
}
.cover-copy { position: absolute; left: 6%; right: 5%; top: 48%; transform: translateY(-50%); }
.cover h1 { position: static; margin: 0; font-size: clamp(84px, 9.8vw, 170px); line-height: .88; }
.journey .cover h1 {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 200;
  font-size: clamp(43px, 8.2vw, 142px);
  letter-spacing: -.045em;
  line-height: .98;
}
.cover-copy p { margin: 24px 0 0; font-size: clamp(16px,1.35vw,23px); }
.journey .cover-copy p:where(:not(.advisory)) { font-size: clamp(14px, 1.14vw, 19px); }
.journey-images { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.journey-images img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity .45s ease;
}
.journey-images img.selected { opacity: 1; }
.journey-images .arrival { object-position: 72% center; }
.journey .cover::after {
  background: linear-gradient(180deg, #0c101480, transparent 24%, transparent 70%, #0c1014a8),
              linear-gradient(90deg, #0c10144d, transparent 63%);
}
.frame-controls { position: absolute; left: 5%; right: 5%; bottom: 30px; display: flex; gap: 24px; }
.frame-controls button {
  flex: 1; text-align: left; padding: 14px 0 8px; background: transparent;
  color: white; border: 0; border-top: 1px solid #ffffff80; font: inherit;
}
.frame-controls button[aria-pressed='true'] { border-color: white; box-shadow: inset 0 2px white; }
.caption { padding: 26px 5%; display: grid; grid-template-columns: 1fr 1.3fr; gap: 30px; align-items: start; border-bottom: 1px solid var(--hair); }
.caption h2 { font-size: clamp(30px,3vw,48px); line-height: 1.1; }
.caption h2, .caption p, .day-caption p { margin: 0; }
.caption p { max-width: 54ch; }
.journey-images .entrance { object-position: center 73%; }
.journey-images .transit { object-position: 74% center; }
.day-opening .cover-copy { top: 46%; }
.day-opening h1 { text-transform: uppercase; font-size: clamp(75px,8.18vw,145px); line-height: .91; }
.cover-copy .advisory { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; margin: 0 0 22px; }
.day-caption { position: absolute; left: 6%; right: 5%; bottom: 100px; display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.day-caption p { max-width: 39ch; }
.day-caption a { border-bottom: 1px solid; padding-bottom: 3px; }
.footer-links { display: flex; align-items: center; gap: 24px; font-size: 13px; }
@media (max-width: 700px) {
  .wordmark img { width: 168px; }
  .cover { min-height: 510px; }
  .cover h1 { font-size: clamp(64px,15vw,100px); }
  .journey .cover h1 { font-size: clamp(41px, 13vw, 84px); }
  .cover-copy { top: 51%; }
  .cover-copy p { max-width: 22ch; }
  .journey-images .arrival { object-position: 79% center; }
  .journey .cover-copy { top: auto; bottom: 17%; transform: none; }
  .journey .cover::after {
    background: linear-gradient(180deg, #0c10149c, transparent 19%, transparent 34%, #10161699 70%, #101616cf);
  }
  .frame-controls { gap: 12px; bottom: 22px; }
  .caption { grid-template-columns: 1fr; gap: 10px; }
  .day-opening h1 { font-size: clamp(44px,13.63vw,89px); }
  .day-caption { align-items: start; flex-direction: column; gap: 14px; }
  .footer-top, .footer-links { flex-wrap: wrap; gap: 16px; }
}

.day-opening .transit { object-position: 84% center; }
.day-opening:has(.transit.selected)::after {
  background: linear-gradient(180deg, #151a2060, transparent 22%, transparent 72%, #12151d91),
              linear-gradient(90deg, #10141b50, transparent 55%);
}

@media (max-aspect-ratio: 4/5) {
  .day-opening .transit { object-position: 83% center; }
  .day-opening:has(.transit.selected) .cover-copy { top: 32%; }
  .day-opening:has(.transit.selected) .day-caption { bottom: 74px; }
}
