@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-var.woff2") format("woff2");
  font-weight: 400 700;
  font-stretch: 100% 125%;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "Fragment Mono";
  src: url("/fonts/fragment-mono-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #f4f4f5;
  --paper: #fff;
  --ink: #0a0a0a;
  --soft: #5c5c62;
  --line: rgba(10, 10, 10, .16);
  --hair: rgba(10, 10, 10, .1);
  --display: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --sans: "Archivo", "Helvetica Neue", Helvetica, Arial, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  --mono: "Fragment Mono", ui-monospace, Menlo, Consolas, monospace;
  --gutter: clamp(16px, 3.2vw, 40px);
  --notch: 10px;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #161618;
  --paper: #000;
  --ink: #f4f4f5;
  --soft: #a1a1a6;
  --line: rgba(244, 244, 245, .2);
  --hair: rgba(244, 244, 245, .11);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --bg: #161618;
    --paper: #000;
    --ink: #f4f4f5;
    --soft: #a1a1a6;
    --line: rgba(244, 244, 245, .2);
    --hair: rgba(244, 244, 245, .11);
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
html:not(.js) { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, p, ol, ul, dl, dd { margin: 0; padding: 0; }
ol, ul { list-style: none; }
i { font-style: normal; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: -48px;
  z-index: 2;
  padding: 6px 10px;
  background: var(--ink);
  color: var(--paper);
  font: 12px/1.4 var(--mono);
}
.skip:focus { top: 8px; }

/* Cover: one still screen. No motion, nothing below the fold showing. */

.cover {
  --cell: 10px;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  padding: 0 var(--gutter);
}

.cover-grid {
  position: absolute;
  inset: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  pointer-events: none;
}

.cover-grid i { border-left: 1px solid var(--hair); }
.cover-grid i:first-child { border-left: 0; }

.cover-top, .cover-foot {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 calc(var(--gutter) * -1);
  padding: 0 var(--gutter);
  font: 10.5px/1.4 var(--mono);
  letter-spacing: .02em;
  text-transform: uppercase;
}

.cover-top {
  flex: none;
  align-items: center;
  height: 44px;
  border-bottom: 1px solid var(--hair);
}

.cover-top > * { padding-left: var(--cell); }
.cover-top > :first-child { padding-left: 0; }
.cover-top a { text-decoration: none; }

.cover-top button {
  justify-self: end;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
}

.cover-title {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  font: 500 min(calc((100vw - 2 * var(--gutter)) / 6.2), 25vh)/.92 var(--display);
  font-stretch: 125%;
  letter-spacing: -.055em;
  white-space: nowrap;
}

.cover-title > span { display: block; margin-left: -.04em; }

.cover-foot {
  flex: none;
  align-items: start;
  padding-top: 12px;
  padding-bottom: 14px;
  border-top: 1px solid var(--hair);
}

.telemetry { display: contents; }
.telemetry > div { padding-left: var(--cell); }
.telemetry > div:first-child { padding-left: 0; }
.telemetry dt { color: var(--soft); }
.telemetry dd { white-space: nowrap; }

.cover-scroll {
  justify-self: end;
  align-self: end;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
}

/* Flight: the window, then through it. Progress is set from app.js on scroll. */

.flight { position: relative; }
.js .flight { height: 380vh; height: 380svh; }

.flight-stage {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: #8d8d90;
}

.js .flight-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
}

.sky, .sky-dim { position: absolute; inset: 0; }
.sky { overflow: hidden; }
.sky-dim { background: #000; opacity: .25; }

.sky-track {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  aspect-ratio: 3000 / 422;
  background: url("/img/sky.webp") 0 0 / 50% 100% repeat-x;
  animation: drift 160s linear infinite;
  animation-play-state: paused;
  will-change: transform;
}

.flying .sky-track { animation-play-state: running; }

.cabin {
  --u: min(calc(88vh / 720), calc(94vw / 540));
  position: absolute;
  inset: 0;
  display: none;
  background: radial-gradient(ellipse at center, #8f8f92 0, #68686b 34%, #2b2b2d 72%, #151517 100%);
}

.js .cabin { display: block; }

.window {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(var(--u) * 660);
  height: calc(var(--u) * 860);
  margin: calc(var(--u) * -430) 0 0 calc(var(--u) * -330);
  will-change: transform;
}

.w-float {
  position: absolute;
  inset: 0;
  animation: bob 7s ease-in-out infinite;
  animation-play-state: paused;
}

.w-pane {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(var(--u) * 372);
  height: calc(var(--u) * 548);
  margin: calc(var(--u) * -274) 0 0 calc(var(--u) * -186);
  overflow: hidden;
  background: #0b0d14;
}

.w-view {
  position: absolute;
  inset: -6%;
  transform: translate3d(var(--px, 0), var(--py, 0), 0);
  transition: transform .5s ease-out;
}

.night {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  aspect-ratio: 5120 / 960;
  background: url("/img/night.webp") 0 0 / 50% 100% repeat-x;
  animation: drift 80s linear infinite;
  animation-play-state: paused;
  will-change: transform;
}

.glint {
  position: absolute;
  inset: 0;
  background: 0 0 / 50% 100% repeat-x;
  mix-blend-mode: screen;
  animation: twinkle 3.2s ease-in-out infinite;
  animation-play-state: paused;
}

.glint-a { background-image: url("/img/glint-a.webp"); }
.glint-b { background-image: url("/img/glint-b.webp"); animation-duration: 4.3s; animation-delay: -1.7s; }

.far-plane {
  position: absolute;
  left: -2%;
  top: 24%;
  width: calc(var(--u) * 3.5);
  height: calc(var(--u) * 3.5);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 calc(var(--u) * 7) calc(var(--u) * 2) rgba(255, 255, 255, .7);
  animation: cross 24s linear infinite, strobe 1.5s steps(1) infinite;
  animation-play-state: paused;
}

.flying .night, .flying .glint, .flying .far-plane, .flying .w-float { animation-play-state: running; }

.w-frame {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.w-mark {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  margin-top: -.5em;
  color: #fff;
  font: 400 calc(var(--u) * 46)/1 var(--display);
  font-stretch: 125%;
  letter-spacing: -.02em;
  text-align: center;
}

.say {
  position: absolute;
  color: #fff;
  font: 500 clamp(44px, 7.4vw, 112px)/.92 var(--display);
  font-stretch: 125%;
  letter-spacing: -.055em;
  will-change: transform, opacity;
}

.say-a { left: var(--gutter); top: 13%; }
.say-b { right: var(--gutter); bottom: 15%; text-align: right; }

.cabin-foot {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 14px;
  display: flex;
  justify-content: space-between;
  color: #fff;
  font: 10.5px/1.4 var(--mono);
  letter-spacing: .02em;
  text-transform: uppercase;
}

.statement {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: 18vh var(--gutter) 6vh;
  color: #fff;
  font: 500 clamp(30px, 4.6vw, 68px)/1.02 var(--display);
  font-stretch: 112%;
  letter-spacing: -.045em;
}

.js .statement {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  padding: 0 var(--gutter);
  transform: translateY(-50%);
  opacity: 0;
}

.statement .word { opacity: .16; }

.ticket-wrap { position: relative; padding: 0 var(--gutter) 10vh; }

.js .ticket-wrap {
  position: absolute;
  inset: 0;
  padding: 24px var(--gutter);
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}

/* Touchdown: a jet crosses the screen and its shadow closes in as it lands. */

.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.touch {
  --jw: min(80vh, 88vw);
  position: relative;
  background: var(--bg);
}

.js .touch { height: 250vh; height: 250svh; }

.touch-stage {
  position: relative;
  min-height: 90vh;
  overflow: hidden;
}

.js .touch-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
}

.touch-word {
  position: absolute;
  top: 36%;
  font: 500 clamp(64px, 13vw, 220px)/.9 var(--display);
  font-stretch: 125%;
  letter-spacing: -.06em;
  will-change: transform, opacity;
}

.touch-a { left: var(--gutter); }
.touch-b { right: var(--gutter); }

.jet {
  position: absolute;
  left: 50%;
  top: 0;
  width: var(--jw);
  height: calc(var(--jw) * 1.05);
  fill: var(--ink);
  transform: translateX(-50%);
  will-change: transform;
}

.jet-shadow { fill: #000; opacity: .08; filter: blur(9px); }

.trail { display: none; }

.js .trail {
  display: block;
  position: absolute;
  left: 50%;
  top: 0;
  width: 0;
  height: 0;
}

.trail i {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--ink));
}

.trail i:first-child { left: calc(var(--jw) * -.18); }
.trail i:last-child { left: calc(var(--jw) * .18); }

.touch-foot {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 14px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font: 10.5px/1.4 var(--mono);
  letter-spacing: .02em;
  text-transform: uppercase;
}

/* Arrivals board */

.board {
  position: relative;
  overflow: hidden;
  --cols: 27;
  --tile: min(calc((100vw - 2 * var(--gutter) - var(--cols) * 1px) / var(--cols)), 54px);
  background: #0a0a0a;
  color: #f4f4f5;
  padding: clamp(28px, 4vw, 56px) var(--gutter);
}

.board-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  max-width: calc(var(--tile) * var(--cols) + var(--cols) * 1px - 1px);
  margin: 0 auto 14px;
  font: 10.5px/1.4 var(--mono);
  letter-spacing: .02em;
  text-transform: uppercase;
}

.board-rows { display: grid; row-gap: 3px; justify-content: center; }

.board-rows a {
  display: grid;
  grid-template-columns: 3em 1fr auto;
  gap: 8px;
  padding: 8px 0;
  font: 14px/1.4 var(--mono);
  text-decoration: none;
  text-transform: uppercase;
  border-top: 1px solid rgba(244, 244, 245, .2);
}

.board-rows.tiled a {
  grid-template-columns: repeat(var(--cols), var(--tile));
  gap: 1px;
  padding: 0;
  border: 0;
  font-size: calc(var(--tile) * .72);
  line-height: 1;
}

.tile {
  position: relative;
  display: grid;
  place-items: center;
  height: calc(var(--tile) * 1.34);
  background: #1a1a1b;
  font-style: normal;
  transition: background .15s, color .15s;
}

.tile::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: #0a0a0a;
}

.board-rows a:hover .tile, .board-rows a:focus-visible .tile {
  background: #f4f4f5;
  color: #0a0a0a;
}

.board-now {
  display: grid;
  grid-template-columns: repeat(var(--cols), var(--tile));
  justify-content: center;
  gap: 1px;
  margin-top: 10px;
  color: #a1a1a6;
  font: calc(var(--tile) * .72)/1 var(--mono);
}

.board::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 280px at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .16), transparent 70%);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}

.board:hover::after { opacity: 1; }

/* Cursor ring: sits on the pointer with no delay, and stays small. */

.cursor {
  position: fixed;
  z-index: 40;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  color: #fff;
  mix-blend-mode: difference;
  opacity: 0;
  transition: opacity .15s;
  pointer-events: none;
  will-change: transform;
}

.cursor.on { opacity: 1; }

.cursor::before {
  content: "";
  position: absolute;
  left: -7px;
  top: -7px;
  width: 14px;
  height: 14px;
  border: 1px solid currentColor;
  border-radius: 50%;
  transition: transform .18s ease-out;
}

.cursor.big::before { transform: scale(1.45); }

.cursor.drag::after {
  content: "Drag";
  position: absolute;
  left: 16px;
  top: -7px;
  font: 11px/14px var(--mono);
  white-space: nowrap;
}

/* Your pass */

.hero {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  padding: 0 var(--gutter);
}

.bar {
  padding: 16px 0;
  font: 12px/1.4 var(--mono);
}

.bar-brand { text-decoration: none; }

.stage {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 24px 0;
}

.lost h1 {
  font-weight: 500;
  font-size: clamp(34px, 3.9vw, 54px);
  font-stretch: 125%;
  line-height: .98;
  letter-spacing: -.05em;
}

/* The pass */

.pass {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(190px, 21vw, 256px);
  width: min(100%, 1120px);
  overflow: hidden;
  background: var(--paper);
  transition: transform .35s cubic-bezier(.2, .7, .1, 1);
  will-change: transform;
}

.pass-main {
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(18px, 2.4vw, 28px);
}

.pass-top, .places span, .fields dt, .stub-fields dt, .stub-top {
  font: 12px/1.4 var(--mono);
}

.pass-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.route {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2cqw, 24px);
  margin: clamp(28px, 5cqw, 56px) 0 clamp(14px, 2.4cqw, 22px);
}

.code {
  flex: none;
  font: 500 clamp(52px, 15.5cqw, 128px)/.86 var(--display);
  font-stretch: 115%;
  letter-spacing: -.055em;
}

.code-from {
  display: inline-grid;
  cursor: text;
}

.code-from::after {
  content: attr(data-value);
  grid-area: 1 / 1;
  visibility: hidden;
  white-space: pre;
  padding-right: .06em;
}

.code-from input {
  grid-area: 1 / 1;
  width: 0;
  min-width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: uppercase;
  caret-color: currentColor;
}

.code-from input::placeholder {
  color: inherit;
  opacity: 1;
  transition: opacity .2s;
}

.code-from input:focus::placeholder { opacity: .18; }

.line {
  flex: 1;
  position: relative;
  min-width: 24px;
  height: 1px;
  background: var(--ink);
}

.plane {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(18px, 3cqw, 28px);
  height: clamp(18px, 3cqw, 28px);
  margin: calc(clamp(18px, 3cqw, 28px) / -2) 0 0 calc(clamp(18px, 3cqw, 28px) / -2);
  padding: 2px;
  background: var(--paper);
}

.plane.fly { animation: fly .9s cubic-bezier(.2, .7, .1, 1) both; }

.places {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.places strong {
  display: block;
  font-weight: 500;
  font-size: clamp(15px, 2cqw, 18px);
  line-height: 1.3;
  letter-spacing: -.01em;
}

.places span {
  display: block;
  margin-top: 2px;
  color: var(--soft);
}

.places-to { text-align: right; }

.fields {
  display: grid;
  grid-template-columns: repeat(6, auto);
  justify-content: space-between;
  gap: 14px 16px;
  margin-top: clamp(26px, 4.4cqw, 48px);
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.fields dt, .stub-fields dt { color: var(--soft); }

.fields dd, .stub-fields dd {
  font-weight: 500;
  font-size: 15px;
  line-height: 1.35;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.pass-stub {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(18px, 2.4vw, 28px);
  background: repeating-linear-gradient(to bottom, var(--line) 0 5px, transparent 5px 11px) left top / 1px 100% no-repeat;
}

.pass-stub::before, .pass-stub::after {
  content: "";
  position: absolute;
  left: calc(var(--notch) * -1);
  width: calc(var(--notch) * 2);
  height: calc(var(--notch) * 2);
  border-radius: 50%;
  background: var(--bg);
}
.pass-stub::before { top: calc(var(--notch) * -1); }
.pass-stub::after { bottom: calc(var(--notch) * -1); }

.stub-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.stub-fields {
  display: flex;
  gap: 28px;
  margin-top: auto;
  padding-top: 24px;
}

.barcode {
  display: block;
  width: 100%;
  height: clamp(56px, 6.6vw, 84px);
  margin-top: 14px;
}

/* Sections */

.sec {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(72px, 10vw, 136px) var(--gutter) 0;
  scroll-margin-top: 0;
}

.skyline {
  grid-column: 1 / -1;
  position: relative;
  height: 1px;
  margin-bottom: clamp(32px, 4vw, 56px);
}

.skyline i {
  position: absolute;
  inset: 0;
  background: var(--line);
  transform-origin: left;
}

.skyplane { display: none; }

.js .skyline i { transform: scaleX(0); }

.js .skyplane {
  display: block;
  position: absolute;
  left: 0;
  top: -11px;
  width: 22px;
  height: 22px;
  fill: var(--ink);
  opacity: 0;
  will-change: transform;
}

.sec-head {
  grid-column: 1 / 5;
  align-self: start;
  position: sticky;
  top: 24px;
}

.sec-no {
  display: block;
  margin-bottom: 8px;
  font: 12px/1.4 var(--mono);
  color: var(--soft);
}

.sec-head h2 {
  font-weight: 500;
  font-size: clamp(34px, 3.9vw, 54px);
  font-stretch: 125%;
  line-height: .98;
  letter-spacing: -.05em;
}

.sec-head p {
  margin-top: 12px;
  font: 12px/1.4 var(--mono);
  color: var(--soft);
}

.rows, .sec-body { grid-column: 5 / 13; min-width: 0; }

.row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr) 144px;
  column-gap: 24px;
  row-gap: 6px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.row:last-child { border-bottom: 1px solid var(--line); }

.row p { color: var(--soft); font-size: 15px; line-height: 1.5; }

.row-link {
  justify-self: end;
  align-self: baseline;
  font: 12px/1.9 var(--mono);
  text-align: right;
  white-space: nowrap;
}

.check {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  column-gap: 12px;
  align-items: baseline;
  cursor: pointer;
}

.check input {
  position: absolute;
  width: 16px;
  height: 16px;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.box {
  display: block;
  width: 14px;
  height: 14px;
  align-self: start;
  margin-top: 4px;
  border: 1px solid var(--ink);
  background: transparent;
  transition: background .15s;
}

.check input:checked + .box { background: var(--ink); }
.check input:focus-visible + .box { outline: 2px solid var(--ink); outline-offset: 2px; }

.row-title {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: -.01em;
  transition: opacity .15s;
}

.check input:checked ~ .row-title {
  opacity: .45;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

/* Tables and definition rows */

.table-wrap { overflow-x: auto; }

table {
  width: 100%;
  border-collapse: collapse;
}

thead th {
  padding: 0 0 8px;
  font: 12px/1.4 var(--mono);
  color: var(--soft);
  text-align: left;
}

tbody th, tbody td {
  padding: 18px 16px 18px 0;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

tbody tr:last-child th, tbody tr:last-child td { border-bottom: 1px solid var(--line); }
tbody th { font-weight: 400; width: 58%; }
tbody td { font: 13px/1.5 var(--mono); white-space: nowrap; }
tbody td:last-child { padding-right: 0; }

.cell-title {
  display: block;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: -.01em;
}

.cell-title + span {
  display: block;
  margin-top: 2px;
  color: var(--soft);
  font-size: 15px;
  line-height: 1.5;
}

.sub {
  margin: clamp(40px, 5vw, 64px) 0 12px;
  font: 12px/1.4 var(--mono);
  color: var(--soft);
}

.stays > div {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: 24px;
  row-gap: 2px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.stays > div:last-child { border-bottom: 1px solid var(--line); }
.stays dt { font-weight: 500; line-height: 1.4; letter-spacing: -.01em; }
.stays dd { color: var(--soft); font-size: 15px; line-height: 1.5; }
.stays i, .card i { color: var(--soft); font-weight: 400; letter-spacing: 0; }
.stays i { margin-left: 4px; font-size: 14px; }

/* Seoul: a strip of photos you can drag. */

.sec-wide .sec-head {
  grid-column: 1 / -1;
  position: static;
  margin-bottom: clamp(24px, 3vw, 40px);
}

.reel-wrap {
  grid-column: 1 / -1;
  min-width: 0;
  margin: 0 calc(var(--gutter) * -1);
}

.reel {
  display: flex;
  gap: clamp(12px, 1.6vw, 24px);
  padding: 0 var(--gutter);
  overflow: auto hidden;
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y;
  scroll-snap-type: x proximity;
  scroll-padding: 0 var(--gutter);
  scrollbar-width: none;
  cursor: grab;
}

@media (hover: none) {
  .reel { scroll-snap-type: x mandatory; }
}

.reel::-webkit-scrollbar { display: none; }
.reel.dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }

.card {
  flex: none;
  width: clamp(250px, 27vw, 400px);
  scroll-snap-align: start;
}

.card-img {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--line);
  transform-origin: 50% 100%;
  will-change: transform;
}

.card-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.14);
  will-change: transform;
  -webkit-user-drag: none;
}

.card h3 {
  margin-top: 14px;
  font-weight: 500;
  font-size: clamp(20px, 1.9vw, 26px);
  font-stretch: 125%;
  line-height: 1.1;
  letter-spacing: -.045em;
}

.card i { font-size: .62em; margin-left: .2em; }

.card p {
  margin-top: 8px;
  color: var(--soft);
  font-size: 15px;
  line-height: 1.45;
}

.reel-steps {
  display: none;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  margin: clamp(20px, 2.6vw, 32px) var(--gutter) 0;
}

.js .reel-steps { display: grid; }

.reel-steps button {
  padding: 10px 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.reel-steps i {
  position: relative;
  display: block;
  height: 2px;
  overflow: hidden;
  background: var(--line);
}

.reel-steps i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
}

.reel-steps .done i::after { transform: none; }

.reel-steps .now i::after {
  transform: none;
  animation: fill 5.5s linear both;
  animation-play-state: paused;
}

.reel-steps.playing .now i::after { animation-play-state: running; }
.reel-steps.stopped .now i::after { animation: none; transform: none; }

.place-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
  font: 12px/1.9 var(--mono);
}

.place-meta span { color: var(--soft); }

/* Numbers */

.numbers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 24px;
}

.numbers li {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.numbers a {
  display: block;
  font-weight: 500;
  font-size: clamp(40px, 5vw, 72px);
  font-stretch: 125%;
  line-height: 1;
  letter-spacing: -.055em;
  text-decoration: none;
}

.numbers span {
  display: block;
  margin-top: 8px;
  color: var(--soft);
  font: 12px/1.4 var(--mono);
}

/* Footer */

.foot {
  margin-top: clamp(96px, 14vw, 200px);
  overflow: hidden;
}

.foot-text {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px var(--gutter);
  padding: 0 var(--gutter);
  font: 12px/1.5 var(--mono);
  color: var(--soft);
}

.outro {
  padding: clamp(24px, 4vw, 48px) 0 0;
  font-weight: 500;
  font-size: 20.5vw;
  font-stretch: 125%;
  line-height: .78;
  letter-spacing: -.06em;
  white-space: nowrap;
  text-align: center;
  user-select: none;
  color: transparent;
  background: url("/img/sky.webp") 0 50% / 200vw auto repeat-x;
  -webkit-background-clip: text;
  background-clip: text;
  filter: brightness(.52) contrast(1.15);
  animation: drift-letters 90s linear infinite;
  animation-play-state: paused;
}

.outro.on { animation-play-state: running; }

:root[data-theme="dark"] .outro { filter: brightness(1.15); }

/* Guide dock: one tap into the guide from anywhere past the cover. */

.dock {
  position: fixed;
  z-index: 30;
  left: 50%;
  bottom: max(16px, env(safe-area-inset-bottom));
  transform: translate(-50%, 28px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s, transform .6s cubic-bezier(.2, .7, .1, 1), visibility 0s .35s;
}

.dock.on {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.dock-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 6px 0 18px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #0a0a0a;
  box-shadow: 0 10px 34px rgba(0, 0, 0, .22), 0 0 0 1px rgba(0, 0, 0, .06);
  font: 500 14px/1 var(--sans);
  white-space: nowrap;
  cursor: pointer;
}

.dock-count {
  color: #5c5c62;
  font: 11px/1 var(--mono);
  font-style: normal;
}

.dock-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #0a0a0a;
  color: #fff;
  transition: transform .5s cubic-bezier(.2, .7, .1, 1);
}

.dock-icon svg { width: 18px; height: 18px; fill: currentColor; transform: rotate(180deg); }
.dock.open .dock-icon { transform: rotate(180deg); }

.dock-menu {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  display: grid;
  width: min(320px, calc(100vw - 32px));
  padding: 8px;
  border-radius: 18px;
  background: #fff;
  color: #0a0a0a;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .28), 0 0 0 1px rgba(0, 0, 0, .06);
  opacity: 0;
  visibility: hidden;
  clip-path: inset(100% 0 0 0 round 18px);
  transform: translateX(-50%);
  transition: clip-path .55s cubic-bezier(.2, .7, .1, 1), opacity .2s, visibility 0s .55s;
}

.dock.open .dock-menu {
  opacity: 1;
  visibility: visible;
  clip-path: inset(0 0 0 0 round 18px);
  transition-delay: 0s;
}

.dock-menu a {
  display: flex;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.3;
  text-decoration: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .4s, transform .55s cubic-bezier(.2, .7, .1, 1), background .15s;
  transition-delay: 0s;
}

.dock.open .dock-menu a {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--i, 0) * 32ms), calc(var(--i, 0) * 32ms), 0s;
}

.dock-menu a:hover { background: #efeff0; }
.dock-menu span { min-width: 26px; color: #5c5c62; font: 12px/1.7 var(--mono); }
.dock-menu .dock-call { margin-top: 6px; background: #0a0a0a; color: #fff; }
.dock-menu .dock-call:hover { background: #2a2a2c; }
.dock-menu .dock-call span { color: #a1a1a6; }

/* Next train */

.next { display: none; }

.js .next {
  display: block;
  margin-bottom: clamp(32px, 4vw, 48px);
  padding: 14px 16px 16px;
  background: #0a0a0a;
  color: #f4f4f5;
}

.next-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font: 12px/1.4 var(--mono);
}

.seg { display: flex; gap: 2px; }

.seg button {
  min-width: 40px;
  padding: 6px 8px;
  border: 0;
  background: #1a1a1b;
  color: #a1a1a6;
  font: 12px/1 var(--mono);
  cursor: pointer;
  transition: background .2s, color .2s;
}

.seg button[aria-pressed="true"] { background: #f4f4f5; color: #0a0a0a; }

.next-time {
  display: flex;
  gap: 2px;
  margin: 14px 0 12px;
  font: clamp(26px, 4vw, 48px)/1 var(--mono);
}

.next-time .tile {
  width: clamp(36px, 5.6vw, 62px);
  height: clamp(48px, 7.4vw, 82px);
}

.next-note { color: #c8c8cc; font: 13px/1.5 var(--mono); }

/* Where are you staying? */

.stay-pick { display: none; }
.js .stay-pick { display: block; margin-bottom: clamp(32px, 4vw, 48px); }
.js .stay-list { display: none; }

.sub-first { display: block; margin-top: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.chip {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: none;
  color: inherit;
  font: 500 14px/1.2 var(--sans);
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, transform .25s;
}

.chip i { margin-left: 3px; color: var(--soft); font-size: 12px; font-weight: 400; transition: color .25s; }
.chip:hover { border-color: var(--ink); }
.chip:active { transform: scale(.97); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chip[aria-pressed="true"] i { color: inherit; }

.stay-route:empty { display: none; }
.stay-route { margin-top: 22px; }

.route-fly { position: relative; height: 22px; margin-bottom: 14px; }

.route-fly i {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: var(--line);
  transform-origin: left;
  animation: draw 1.1s cubic-bezier(.3, .6, .2, 1) both;
}

.route-fly svg {
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  fill: var(--ink);
  animation: route-fly 1.1s cubic-bezier(.3, .6, .2, 1) both;
}

.route-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
}

.route-steps li {
  opacity: 0;
  animation: step-in .6s cubic-bezier(.2, .7, .1, 1) both;
  animation-delay: calc(var(--i, 0) * 90ms);
}

.route-steps .place { font-weight: 600; font-size: clamp(20px, 2.2vw, 28px); font-stretch: 112%; letter-spacing: -.035em; }
.route-steps .ride { color: var(--soft); font: 12px/1.4 var(--mono); }
.route-steps .ride::before { content: "– "; }
.route-steps .ride::after { content: " –"; }

.route-note { margin-top: 10px; color: var(--soft); font-size: 15px; }

.route-actions { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin-top: 14px; }

tbody tr { transition: background .35s, color .35s; }
tbody tr th, tbody tr td { transition: padding .35s cubic-bezier(.2, .7, .1, 1); }
tr.best { background: var(--ink); color: var(--bg); }
tr.best th { padding-left: 14px; }
tr.best .cell-title + span { color: inherit; opacity: .72; }

/* Buttons and links */

.call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font: 500 14px/1 var(--sans);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.magnet { transition: transform .4s cubic-bezier(.2, .7, .1, 1); }

.row-link, .place-meta a, .app-links a, .fact-note a, .cover-guide {
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  text-decoration: none;
  transition: background-size .35s cubic-bezier(.2, .7, .1, 1);
}

.row-link:hover, .place-meta a:hover, .app-links a:hover, .fact-note a:hover, .cover-guide:hover {
  background-position: 100% 100%;
  background-size: 0 1px;
}

.cover-guide { justify-self: start; background-origin: content-box; background-clip: content-box; }
.install { padding: 0; border: 0; color: inherit; cursor: pointer; }
.install[hidden] { display: none; }

.app-links { display: flex; gap: 14px; margin-top: 6px; font: 12px/1.7 var(--mono); }
.app-links a { color: var(--ink); }

[data-os="ios"] .on-android, [data-os="ios"] .on-other, [data-os="ios"] .on-android-other,
[data-os="android"] .on-ios, [data-os="android"] .on-other, [data-os="android"] .on-ios-other,
[data-os="other"] .on-ios, [data-os="other"] .on-android { display: none; }
.on-ios, .on-android, .on-other { margin-right: .25em; }

/* Facts */

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.fact { padding-top: 14px; border-top: 1px solid var(--ink); }

.fact h3 {
  font: 500 clamp(24px, 2.4vw, 34px)/1.02 var(--display);
  font-stretch: 125%;
  letter-spacing: -.05em;
}

.fact p { margin-top: 10px; color: var(--soft); font-size: 15px; line-height: 1.5; }
.fact .call { margin-top: 14px; }
.fact .fact-note { font: 12px/1.6 var(--mono); }

/* Show in Korean */

.hotel { margin-bottom: clamp(32px, 4vw, 48px); }
.hotel-row { display: flex; gap: 8px; }

.hotel-row input {
  flex: 1;
  min-width: 0;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: none;
  color: inherit;
  font: 16px/1 var(--sans);
  transition: border-color .2s;
}

.hotel-row input:focus { border-color: var(--ink); outline: 0; }
.hotel-row input::placeholder { color: var(--soft); }
.hotel-note { margin-top: 10px; color: var(--soft); font: 12px/1.6 var(--mono); }

.tabs {
  position: relative;
  display: flex;
  gap: 22px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.tabs button {
  padding: 0 0 10px;
  border: 0;
  background: none;
  color: var(--soft);
  font: 12px/1.4 var(--mono);
  letter-spacing: .02em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .2s;
}

.tabs button[aria-pressed="true"], .tabs button:hover { color: var(--ink); }

.tab-ink {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 40px;
  height: 1px;
  background: var(--ink);
  transform-origin: left;
  transition: transform .5s cubic-bezier(.2, .7, .1, 1), width .5s cubic-bezier(.2, .7, .1, 1);
}

.say-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.js .say-grid[hidden] { display: none; }

.say-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 92px;
  padding: 14px;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background .25s, color .25s;
  animation: card-in .55s cubic-bezier(.2, .7, .1, 1) both;
  animation-delay: calc(var(--i, 0) * 28ms);
}

.say-card:hover, .say-card:focus-visible { background: var(--ink); color: var(--bg); }
.say-card b { font-size: 18px; font-weight: 600; line-height: 1.3; word-break: keep-all; }
.say-card span { color: var(--soft); font: 12px/1.45 var(--mono); transition: color .25s; }
.say-card:hover span, .say-card:focus-visible span { color: inherit; }

.show {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: max(20px, env(safe-area-inset-top)) var(--gutter) max(20px, env(safe-area-inset-bottom));
  border: 0;
  background: #fff;
  color: #0a0a0a;
  clip-path: circle(0 at var(--ox, 50%) var(--oy, 50%));
  transition: clip-path .55s cubic-bezier(.3, .7, .1, 1);
}

.show.in { clip-path: circle(150% at var(--ox, 50%) var(--oy, 50%)); }
.show[open] { display: flex; flex-direction: column; }
.show::backdrop { background: transparent; }

.show-close, .show-copy {
  align-self: flex-end;
  padding: 8px 0;
  border: 0;
  background: none;
  color: inherit;
  font: 13px/1 var(--mono);
  cursor: pointer;
}

.show-copy { align-self: flex-start; text-decoration: underline; text-underline-offset: 3px; }

.show-body { flex: 1; display: flex; flex-direction: column; justify-content: center; min-height: 0; }

.show-lead { font-weight: 600; font-size: clamp(22px, 6vw, 48px); line-height: 1.25; word-break: keep-all; }
.show-lead:empty { display: none; }
.show-lead + .show-ko { margin-top: .4em; }

.show-ko {
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -.01em;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.show[data-size="xl"] .show-ko { font-size: min(17vw, 19vh); }
.show[data-size="l"] .show-ko { font-size: min(13vw, 15vh); }
.show[data-size="m"] .show-ko { font-size: min(9.4vw, 11vh); }
.show-en { margin-top: 18px; color: #5c5c62; font: clamp(14px, 3.4vw, 22px)/1.4 var(--mono); }

/* Board: a photo opens under the cursor as you read the rows. */

.peek {
  position: fixed;
  z-index: 5;
  left: 0;
  top: 0;
  width: 200px;
  height: 266px;
  margin: -133px 0 0 -100px;
  overflow: hidden;
  opacity: 0;
  clip-path: inset(100% 0 0 0);
  transition: clip-path .5s cubic-bezier(.2, .7, .1, 1), opacity .2s;
  pointer-events: none;
  will-change: transform;
}

.peek.on { opacity: 1; clip-path: inset(0); }
.peek img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }

.row-title, .stays dt { transition: transform .35s cubic-bezier(.2, .7, .1, 1); }
.row:hover .row-title { transform: translateX(3px); }

.box { position: relative; background: transparent; transition: none; }

.box::after {
  content: "";
  position: absolute;
  inset: 2px;
  background: var(--ink);
  transform: scale(0);
  transition: transform .28s cubic-bezier(.3, 1.4, .5, 1);
}

.check input:checked + .box { background: transparent; }
.check input:checked + .box::after { transform: none; }

.row-title {
  background: linear-gradient(currentColor, currentColor) 0 58% / 0 1px no-repeat;
  transition: opacity .25s, background-size .4s cubic-bezier(.2, .7, .1, 1), transform .35s cubic-bezier(.2, .7, .1, 1);
}

.check input:checked ~ .row-title {
  opacity: .5;
  background-size: 100% 1px;
  text-decoration: none;
}

.arrived .sec-head h2 { animation: arrive .95s cubic-bezier(.2, .7, .1, 1) both; }

::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

/* Motion */

@keyframes fly {
  from { left: 0; opacity: 0; }
  20% { opacity: 1; }
  to { left: 50%; opacity: 1; }
}

@keyframes drift {
  to { transform: translate3d(-50%, 0, 0); }
}

@keyframes twinkle {
  0%, 100% { opacity: .1; }
  50% { opacity: 1; }
}

@keyframes strobe {
  0% { opacity: 1; }
  7% { opacity: .08; }
  14% { opacity: 1; }
  21%, 100% { opacity: .08; }
}

@keyframes cross {
  to { transform: translate3d(calc(var(--u) * 430), calc(var(--u) * -30), 0); }
}

@keyframes fill {
  from { transform: scaleX(0); }
  to { transform: none; }
}

@keyframes draw {
  from { transform: scaleX(0); }
  to { transform: none; }
}

@keyframes route-fly {
  from { left: 0; opacity: 0; transform: rotate(-90deg); }
  15% { opacity: 1; }
  85% { opacity: 1; }
  to { left: calc(100% - 22px); opacity: 0; transform: rotate(-90deg); }
}

@keyframes step-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@keyframes card-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@keyframes arrive {
  from { clip-path: inset(0 0 100% 0); transform: translateY(40%); }
  to { clip-path: inset(-20% -5% -20% -5%); transform: none; }
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(calc(var(--u) * -5)); }
}

/* Things settle into place the first time they scroll into view. */

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .8s cubic-bezier(.2, .7, .1, 1), transform .8s cubic-bezier(.2, .7, .1, 1), clip-path .9s cubic-bezier(.2, .7, .1, 1);
  transition-delay: calc(var(--i, 0) * 55ms);
}

.js h2.reveal {
  opacity: 1;
  transform: translateY(45%);
  clip-path: inset(0 0 100% 0);
}

.js .reveal.in { opacity: 1; transform: none; clip-path: inset(-20% -5% -20% -5%); }

@keyframes drift-letters {
  to { background-position-x: -200vw; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }

  .js .flight { height: auto; }
  .js .flight-stage { position: relative; height: auto; }
  .js .cabin { display: none; }
  .js .statement, .js .ticket-wrap { position: relative; inset: auto; top: auto; transform: none; opacity: 1; pointer-events: auto; }
  .js .statement { padding: 18vh var(--gutter) 6vh; }
  .js .ticket-wrap { padding: 0 var(--gutter) 10vh; }
  .statement .word { opacity: 1; }

  .js .touch { height: auto; }
  .js .touch-stage { position: relative; height: 90vh; }
  .js .trail, .js .skyplane { display: none; }
  .js .skyline i { transform: none; }
  .jet-shadow { display: none; }
  .show { clip-path: none; }
}

/* Smaller screens */

@media (max-width: 1080px) {
  .sec-head { grid-column: 1 / 13; position: static; margin-bottom: 32px; }
  .rows, .sec-body, .places-list { grid-column: 1 / 13; }
  .foot-text { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .cover-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cover-grid i:nth-child(n + 3) { display: none; }

  .cover-top { grid-template-columns: auto 1fr auto; }
  .cover-top > :nth-child(2) { display: none; }
  .cover-top .cover-guide { justify-self: center; }

  .cover-title {
    font-size: min(calc((100vw - 2 * var(--gutter)) / 4.4), 20vh);
    font-stretch: 100%;
  }
  .cover-title .line-a > span { display: block; }

  .cover-foot { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 12px; }
  .telemetry > div:nth-child(3) { padding-left: 0; }

  .cover-scroll { justify-self: end; }

  .say-a { top: 9%; }
  .say-b { bottom: 11%; }

  .pass { grid-template-columns: minmax(0, 1fr); }

  .pass-stub {
    background: repeating-linear-gradient(to right, var(--line) 0 5px, transparent 5px 11px) left top / 100% 1px no-repeat;
  }
  .pass-stub::before { top: calc(var(--notch) * -1); left: calc(var(--notch) * -1); }
  .pass-stub::after { top: calc(var(--notch) * -1); bottom: auto; left: auto; right: calc(var(--notch) * -1); }

  .stub-fields { display: none; }
  .barcode { height: 56px; margin-top: 16px; }

  .fields { grid-template-columns: repeat(3, minmax(0, 1fr)); justify-content: stretch; }

  .index { grid-template-columns: repeat(2, minmax(0, 1fr)); justify-content: stretch; }

  .row { grid-template-columns: minmax(0, 1fr); }
  .row p { padding-left: 28px; }
  .row-link { justify-self: start; margin-left: 28px; text-align: left; }

  .stays > div { grid-template-columns: minmax(0, 1fr); }

  .card { width: 74vw; }
  .place-meta { margin-top: 4px; }

  .touch-a { top: 24%; }
  .touch-b { top: 62%; }
  .touch-foot span:nth-child(2) { display: none; }

  .numbers { grid-template-columns: minmax(0, 1fr); row-gap: 24px; }
  .facts { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .say-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .say-card b { font-size: 16px; }
  .hotel-row { flex-wrap: wrap; }
  .hotel-row input { flex-basis: 100%; }
  .next-head { align-items: flex-start; }
  .route-steps { flex-direction: column; gap: 3px; }
  .route-steps .ride::before { content: "↓ "; }
  .route-steps .ride::after { content: ""; }
}

@media print {
  :root, :root[data-theme="dark"] {
    color-scheme: light;
    --bg: #fff;
    --paper: #fff;
    --ink: #000;
    --soft: #444;
    --line: rgba(0, 0, 0, .3);
  }
  .cover, .board, .outro, .skip, .sky, .sky-dim, .cabin, .statement, .touch, .skyline, .reel-steps, .cursor, .dock, .next, .peek, .hotel, .tabs, .chips { display: none; }
  .js .say-grid[hidden] { display: grid; }
  .js .reveal { opacity: 1; transform: none; clip-path: none; }
  .reel { flex-wrap: wrap; overflow: visible; }
  .js .flight { height: auto; }
  .js .flight-stage, .flight-stage { position: static; height: auto; min-height: 0; background: none; }
  .js .ticket-wrap { position: static; opacity: 1; transform: none; padding: 0; }
  .pass { border: 1px solid #000; }
  .sec { padding-top: 32px; break-inside: avoid; }
  .sec-head { position: static; }
  .row-link { display: none; }
}
