:root {
  --ink: #181816;
  --muted: #5d5d59;
}
* { box-sizing: border-box; }
html, body { margin: 0; width: 100%; height: 100%; }
body { color: var(--ink); background: white; font-family: var(--type-ui); }
.stage { position: relative; height: 100vh; height: 100svh; min-height: 310px; overflow: hidden; }
header {
  position: absolute; inset: 0 3.5% auto; height: 8.5%;
  display: flex; align-items: center;
}
.wordmark { display: flex; align-items: baseline; gap: 10px; }
.wordmark b { font: 650 clamp(22px, 2vw, 29px)/1.2 var(--type-ui); letter-spacing: -.035em; }
.wordmark small { font: 550 10px/1 var(--type-figures); letter-spacing: .13em; }
.intro {
  position: absolute; top: 10%; height: 26%; width: 100%;
  display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
}
h1 {
  margin: 0; color: #211f1b;
  font: 570 min(8.6vw,10.4svh)/1.1 var(--type-display);
  font-synthesis: none;
}
h1 span { display: block; }
h1 span:first-child {
  margin-bottom: .24em; padding-left: .095em;
  font-size: .64em; font-weight: 440; line-height: 1.2; letter-spacing: .095em;
}
h1 span + span { padding-left: .015em; letter-spacing: .015em; }
.intro p {
  margin: min(1.8vh,18px) 0 0; font-size: clamp(12px,1.02vw,15px);
  font-weight: 420; line-height: 1.55; letter-spacing: .04em; color: #5b5a54;
}
.intro .separator { margin-inline: .22em; }
.intro .year { font-family: var(--type-figures); font-weight: 500; font-variant-numeric: lining-nums tabular-nums; letter-spacing: .015em; }
.definitions { position: absolute; width: 0; height: 0; pointer-events: none; }
.ribbon {
  position: absolute; left: 0; right: 0; top: 39.4%; height: 40%;
  overflow: hidden; clip-path: url(#curve-wide); background: white;
  touch-action: pan-y pinch-zoom; user-select: none; -webkit-user-select: none;
}
.track { display: flex; width: max-content; height: 100%; gap: .72vw; }
.frame { position: relative; flex: none; display: block; height: 100%; width: var(--pc); overflow: hidden; background: #eeebe7; cursor: grab; }
.frame:active { cursor: grabbing; }
.frame picture, .frame img { display: block; width: 100%; height: 100%; }
.frame img { object-fit: cover; object-position: var(--pos); -webkit-user-drag: none; }
.ribbon:focus-visible { outline: none; }
.ribbon:focus-visible::after { content: ""; position: absolute; inset: 0; border-inline: 3px solid var(--ink); pointer-events:none; }
.frame:focus-visible { outline: 3px solid white; outline-offset: -5px; }
.caption {
  position: absolute; left: 50%; top: 84%; transform: translateX(-50%);
  display: flex; align-items: baseline; justify-content: center; gap: 12px;
  white-space: nowrap; color: var(--ink); text-decoration: none;
}
.caption::after { content: ""; position: absolute; inset: -10px -12px; }
.caption span { font: 430 13px/1.5 var(--type-ui); color: var(--muted); }
.caption b { font: 570 clamp(20px,1.75vw,27px)/1.35 var(--type-display); letter-spacing: .025em; }
.caption svg { width: 11px; height: 11px; align-self: center; }
.global-dock {
  height: max(48px,7.5svh); padding-inline: 25%;
  background: white; border-top: 1px solid #e5e5e1;
}
.global-dock a { color: #565650; gap: 5px; }
.global-dock a[aria-current] { color: var(--ink); }
.global-dock svg { width: 20px; height: 20px; }
.caption b { transition: opacity .18s; }
@media (hover:hover) {
  .caption:hover b { opacity: .76; }
}
@media(max-width:650px) {
  header { height: 8.3%; left: 6%; right: 6%; }
  .wordmark { gap: 7px; }
  .wordmark b { font-size: 20px; }
  .wordmark small { font-size: 8.5px; letter-spacing: .1em; }
  .intro { top: 12.7%; height: 22.8%; }
  h1 { font-size: min(15vw,8.1svh); }
  .intro p { margin-top: 1.8vh; font-size: 12px; letter-spacing: .035em; }
  .ribbon { top: 40%; height: 38.6%; clip-path: url(#curve-mobile); }
  .track { gap: 2vw; }
  .frame { width: var(--phone); }
  .caption { top: 81.3%; gap: 10px; }
  .caption span { font-size: 12px; }
  .caption b { font-size: 19px; }
  .caption svg { width: 10px; height: 10px; }
  .global-dock { height: max(calc(48px + env(safe-area-inset-bottom)),8svh); padding-inline: 3px; }
}
@media(max-height:550px) and (orientation:landscape) {
  header { height: 43px; } .wordmark b { font-size: 19px; }
  .intro { top: 11%; height: 22%; }
  h1 { font-size: min(4.6vw,7.5svh); }
  .intro p { font-size: 10px; margin: .6vh 0 0; }
  .ribbon { top: 36%; height: 39%; }
  .caption { top: 76.9%; } .caption span { font-size: 11px; } .caption b { font-size: 15px; }
  .global-dock { height: 43px; padding-inline: 12%; }
  .global-dock a { gap: 1px; font-size: 10px; } .global-dock svg { width: 17px; height: 17px; }
}
@media(prefers-reduced-motion:reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}

@media(max-width:350px){.wordmark small{display:none}}
