@font-face { font-family: 'Bungee'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/Bungee-normal-400.woff2') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/SpaceGrotesk-normal-400.woff2') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/SpaceGrotesk-normal-600.woff2') format('woff2'); }
@font-face { font-family: 'Silkscreen'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/Silkscreen-normal-400.woff2') format('woff2'); }

/* =====================================================================
   CatonBoardingPass · ticketdive
   Candy-pop airport. One continuous zoom into the boarding pass.
   ===================================================================== */

@property --ra {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

:root {
  --paper: #e3f0f7;
  --paper2: #cfe2ed;
  --ink: #302117;
  --ink-soft: #624e41;
  --accent: #49ade9;
  --accent-deep: #176da1;
  --deep: #392518;
  --night: #18100c;
  --on-night: #eaf1f6;
  --on-night-soft: #b4c2cb;
  --sky: #82b4ee;
  --buy: #f4d66a;
  --floor: #d9733a;
  --floor: color-mix(in srgb, var(--accent) 74%, var(--accent-deep));
  --rays: #ef9e6e;
  --rays: color-mix(in srgb, var(--accent) 78%, #ffffff);

  --f-display: "Bungee", "Arial Black", Impact, sans-serif;
  --f-body: "Space Grotesk", "Segoe UI", Arial, sans-serif;
  --f-pixel: "Silkscreen", "Courier New", monospace;

  --spring: cubic-bezier(.3, 1.6, .5, 1);
  --glide: cubic-bezier(.6, 0, .2, 1);
  --dots: radial-gradient(rgba(48, 33, 23, .09) 1px, transparent 1.4px) 0 0 / 8px 8px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

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

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--accent);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p, h1, h2, h3, dl, dd, ol { margin: 0; }
:focus-visible { outline: 3px dashed var(--accent-deep); outline-offset: 4px; }

.eyebrow {
  font-family: var(--f-pixel);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ---------- shared bits ------------------------------------------------ */

.buy {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
  font-family: var(--f-display);
  font-size: 16px;
  line-height: 1;
  letter-spacing: .02em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  background: var(--buy);
  border: 3px solid var(--ink);
  border-radius: 12px;
  padding: 15px 22px;
  box-shadow: 6px 6px 0 var(--ink);
  transition: transform .2s var(--spring), box-shadow .2s var(--spring);
}
.buy::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .55) 42%, transparent 52%);
  transform: translateX(-110%);
  transition: transform .6s var(--glide);
  pointer-events: none;
}
.buy:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); }
.buy:hover::after { transform: translateX(110%); }
.buy:active { transform: translate(4px, 4px); box-shadow: 2px 2px 0 var(--ink); }
.buy--sm {
  font-size: 12px;
  padding: 10px 12px;
  border-color: var(--buy);
  border-radius: 10px;
  box-shadow: none;
}
.buy--sm:hover { box-shadow: none; }
.buy--sm:active { box-shadow: none; transform: scale(.96); }
.buy--xl { font-size: 18px; padding: 20px 28px; }

.chip {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 10px;
  transition: transform .2s var(--spring);
}
.chip img { width: 20px; height: 20px; }
.chip:hover { transform: translateY(-3px) rotate(-4deg); }
.chip--sm { width: 32px; height: 32px; border-width: 2px; border-radius: 8px; }
.chip--sm img { width: 18px; height: 18px; }
.chip--sm:hover { transform: none; }

.barcode {
  display: block;
  flex: none;
  width: 120px;
  height: 44px;
  background:
    repeating-linear-gradient(90deg,
      var(--ink) 0 3px, transparent 3px 5px,
      var(--ink) 5px 6px, transparent 6px 9px,
      var(--ink) 9px 13px, transparent 13px 15px,
      var(--ink) 15px 16px, transparent 16px 20px);
}

.notch {
  position: absolute;
  z-index: 5;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid var(--ink);
  background: var(--paper2);
}

.draw {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.draw rect {
  x: 1.5px;
  y: 1.5px;
  width: calc(100% - 3px);
  height: calc(100% - 3px);
  fill: none;
  stroke: var(--ink);
  stroke-width: 3px;
}

/* ---------- header capsule -------------------------------------------- */

.cap {
  position: fixed;
  z-index: 60;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 7px 7px 8px;
  color: var(--paper);
  background: var(--ink);
  border-radius: 18px;
  box-shadow: 4px 4px 0 rgba(24, 16, 12, .32);
}
.cap__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 0;
}
.cap__brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--paper);
  transition: transform .5s var(--spring);
}
.cap__brand:hover img { transform: rotate(-14deg) scale(1.06); }
.cap__brand span {
  display: none;
  font-family: var(--f-display);
  font-size: 15px;
  letter-spacing: .02em;
}
.cap__end {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

#burger {
  display: grid;
  place-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 2px solid var(--paper);
  border-radius: 12px;
  cursor: pointer;
}
#burger span {
  display: block;
  width: 20px;
  height: 3px;
  background: var(--paper);
  transition: transform .25s var(--spring), opacity .2s;
}
#burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
#burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
#burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

#nav {
  position: fixed;
  top: 76px;
  left: 10px;
  right: 10px;
  display: grid;
  padding: 10px 18px 18px;
  color: var(--ink);
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 18px;
  box-shadow: 6px 6px 0 var(--ink);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-12px) scale(.97);
  transform-origin: 50% 0;
  transition: opacity .2s, transform .35s var(--spring), visibility 0s .35s;
}
#nav.is-open {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity .2s, transform .35s var(--spring), visibility 0s;
}
#nav a {
  font-family: var(--f-display);
  font-size: 20px;
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 3px dashed rgba(48, 33, 23, .35);
}
#nav a::before { content: "▸ "; color: var(--accent-deep); }
.cap__motion {
  justify-self: start;
  margin-top: 14px;
  font-family: var(--f-pixel);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 8px 10px;
  background: transparent;
  border: 2px solid currentColor;
  border-radius: 8px;
  cursor: pointer;
}

/* zoom readout (desktop) */
.readout { display: none; }

/* =====================================================================
   0 · THE HALL
   ===================================================================== */

.hall { position: relative; }
.hall__stage {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 760px;
  overflow: hidden;
  container-type: size;
  background: var(--paper);
}
html.js:not(.rm) .hall { height: calc(max(100svh, 760px) + 110vh); }
html.js:not(.rm) .hall__stage { position: sticky; top: 0; }

.hall__world {
  --hz: 72.5cqh;
  --ch: 11.8cqh;
  --cx: 60cqw;
  --tx: calc(var(--cx) + var(--roll, 0) * 10cqw + var(--ch) * .306);
  --ty: calc(var(--hz) - var(--ch) * .9);
  --e: calc(var(--scene, 0) * var(--scene, 0));
  --g: calc(var(--e) * var(--e));
  position: absolute;
  inset: 0;
  transform-origin: var(--tx) var(--ty);
  transform: scale(calc(1 + var(--e) * 4));
}
.hall__flood {
  position: absolute;
  inset: 0;
  background: var(--accent);
}
.hall__floor {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--hz);
  bottom: 0;
  background:
    linear-gradient(176deg, transparent 22%, rgba(255, 255, 255, .16) 30%, transparent 44%),
    var(--floor);
}
.hall__horizon {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--hz) - 1.5px);
  height: 3px;
  background: var(--ink);
  transform-origin: 0 50%;
}
.hall__trail {
  position: absolute;
  left: 0;
  top: calc(var(--hz) + 9px);
  width: calc(var(--cx) + var(--roll, 0) * 10cqw);
  height: 4px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 8px, transparent 8px 20px);
  opacity: .55;
}
.hall__sign {
  position: absolute;
  left: 16px;
  top: calc(var(--hz) - 17cqh);
  display: flex;
  flex-direction: column;
  align-items: center;
  transform-origin: 50% 0;
}
.hall__sign::before {
  content: "";
  width: 2px;
  height: 18px;
  background: var(--ink);
  transform-origin: 50% 0;
}
.hall__sign span {
  font-family: var(--f-pixel);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--ink);
  border-radius: 8px;
  padding: 7px 10px;
  box-shadow: 4px 4px 0 rgba(48, 33, 23, .3);
  white-space: nowrap;
}

.hall__cat {
  position: absolute;
  left: calc(var(--cx) + var(--roll, 0) * 10cqw);
  top: calc(var(--hz) - var(--ch));
  width: calc(var(--ch) * .745);
  height: var(--ch);
}
.hall__cat::after {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: -5%;
  height: 10%;
  border-radius: 50%;
  background: rgba(48, 33, 23, .28);
  z-index: -1;
}
.hall__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: rotate(var(--lean, 0deg));
  transform-origin: 50% 100%;
  filter:
    drop-shadow(0 0 1.5px var(--paper)) drop-shadow(0 0 1px var(--paper))
    drop-shadow(3px 4px 0 rgba(48, 33, 23, .22));
  -webkit-box-reflect: below 2px linear-gradient(transparent 64%, rgba(0, 0, 0, .2));
}
.hall__ring {
  position: absolute;
  left: 41%;
  top: 10%;
  width: calc(var(--ch) * .34);
  height: calc(var(--ch) * .34);
  min-width: 34px;
  min-height: 34px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.hall__hint {
  position: absolute;
  left: 41%;
  bottom: calc(100% + 30px);
  transform: translateX(-50%);
  font-family: var(--f-pixel);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  color: var(--paper);
  background: var(--ink);
  border-radius: 8px;
  padding: 6px 10px;
}
.hall__hint::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  height: 22px;
  border-left: 3px dotted var(--ink);
  transform: translateX(-50%);
}
.hall__cover {
  position: absolute;
  left: 41%;
  top: 10%;
  width: calc(var(--ch) * .116);
  height: calc(var(--ch) * .19);
  background: var(--paper2);
  border-radius: 2px;
  box-shadow: 0 0 0 .5px var(--ink);
  pointer-events: none;
  opacity: clamp(0, calc(var(--scene, 0) * 20 - .4), 1);
  transform: translate(-50%, -50%) rotate(calc(-8deg + var(--scene, 0) * 8deg)) scale(calc(1 + var(--g) * 40));
}
/* the ticket's printed rows, seen as we fly into it */
.hall__cover::before {
  content: "";
  position: absolute;
  inset: 10% 14%;
  background:
    linear-gradient(var(--ink), var(--ink)) 0 0 / 70% 7% no-repeat,
    linear-gradient(var(--ink), var(--ink)) 0 18% / 45% 5% no-repeat,
    linear-gradient(90deg, var(--ink) 0 50%, transparent 0) 0 100% / 6px 22% repeat-x,
    linear-gradient(var(--accent), var(--accent)) 100% 0 / 18% 30% no-repeat;
  border-top: .5px dashed var(--ink);
  opacity: calc(1.3 - var(--scene, 0) * 1.6);
}
.hall__hint { opacity: calc(1 - var(--scene, 0) * 6); }

.hall__frame {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: calc(1 - var(--scene, 0) * 4);
}
.hall__frame rect {
  x: 8px;
  y: 8px;
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  rx: 18px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 3px;
}

.hall__copy,
.hall__stub {
  opacity: calc(1 - var(--scene, 0) * 3);
  transform: translateX(calc(var(--scene, 0) * -120px));
}
.hall__copy {
  position: absolute;
  z-index: 3;
  left: 18px;
  right: 18px;
  top: 82px;
}
.hall__eyebrow { margin-bottom: 10px; }
.hall__tick { display: none; }
.hall__h1 {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: .95;
}
.hall__l1 {
  display: block;
  font-size: 38px;
  -webkit-text-stroke: 2px transparent;
}
.hall__l2 {
  display: inline-block;
  margin-top: 12px;
  max-width: 300px;
  font-style: normal;
  font-size: 16px;
  line-height: 1.15;
  padding: 8px 12px;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 10px;
  box-shadow: 4px 4px 0 var(--ink);
  transform: skewX(-8deg);
  transform-origin: 0 100%;
}
.hall__lede {
  margin-top: 12px;
  max-width: 520px;
  font-size: 15px;
  line-height: 1.5;
}
.hall__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 16px;
}
.hall__actions .buy { padding: 13px 18px; font-size: 14px; }
.hall__more {
  font-family: var(--f-display);
  font-size: 13px;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
  transition: text-underline-offset .2s var(--spring);
}
.hall__more:hover { text-underline-offset: 10px; }

/* the stub (contract box) */
.stub {
  position: absolute;
  z-index: 3;
  display: grid;
  grid-template-columns: 30px 1fr;
  overflow: hidden;
  background: var(--paper);
  border-radius: 14px;
  box-shadow: 6px 6px 0 var(--ink);
}
.hall__stub {
  left: 14px;
  right: 14px;
  bottom: 14px;
}
.stub .draw rect { rx: 14px; }
.stub .notch { background: var(--floor); }
.stub__tab {
  display: grid;
  place-items: center;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--f-pixel);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-left: 3px dashed var(--ink);
}
.stub__n1, .stub__n2 { left: 13px; }
.stub__n1 { top: -18px; }
.stub__n2 { bottom: -18px; }
.stub__body { padding: 12px 14px 14px 14px; min-width: 0; }
.stub__label {
  font-family: var(--f-pixel);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent-deep);
}
#ca-copy {
  display: block;
  width: 100%;
  margin: 6px 0 0;
  padding: 0;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
}
#ca-text {
  display: block;
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
  word-break: break-all;
}
.ca__tap {
  display: inline-block;
  margin-top: 6px;
  font-family: var(--f-pixel);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--accent);
  border: 2px solid var(--ink);
  border-radius: 6px;
  padding: 3px 8px;
  transition: transform .2s var(--spring);
}
#ca-copy:hover .ca__tap { transform: translateY(-2px) rotate(-2deg); }
html.ca-copied .ca__tap,
#ca-copy.is-copied .ca__tap { font-size: 0; padding: 3px 8px; }
html.ca-copied .ca__tap::after,
#ca-copy.is-copied .ca__tap::after {
  content: "Checked in ✓";
  font-size: 12px;
}
.stub__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.stub__chips .chip { width: 36px; height: 36px; }
.stub__bar { display: none; }
.stub__punch {
  position: absolute;
  z-index: 5;
  right: 16px;
  top: 12px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--floor);
  border: 3px solid var(--ink);
  transform: scale(0);
  transition: transform .35s var(--spring);
}
html.ca-copied .stub__punch { transform: scale(1); }

/* ---------- the opening: drawn on, then the colour floods in --------- */

@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes trace {
  from { clip-path: inset(-12% 100% -12% 0); }
  to { clip-path: inset(-12% 0 -12% 0); }
}
@keyframes ink-in {
  from { color: transparent; -webkit-text-stroke-color: var(--ink); }
  to { color: var(--ink); -webkit-text-stroke-color: transparent; }
}
@keyframes flood {
  from { clip-path: circle(0 at var(--tx) var(--ty)); }
  to { clip-path: circle(150% at var(--tx) var(--ty)); }
}
@keyframes sweep-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes wipe-x { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes drop-y { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes pop {
  from { opacity: 0; transform: scale(.4) rotate(-6deg); }
  to { opacity: 1; transform: none; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@keyframes sticker {
  from { opacity: 0; transform: skewX(-8deg) scale(.4) rotate(-8deg); }
  to { opacity: 1; transform: skewX(-8deg); }
}
@keyframes buy-fill {
  from { background-color: transparent; box-shadow: 0 0 0 var(--ink); }
  to { background-color: var(--buy); box-shadow: 6px 6px 0 var(--ink); }
}
@keyframes paper-fill {
  from { background-color: transparent; box-shadow: 0 0 0 var(--ink); }
  to { background-color: var(--paper); box-shadow: 6px 6px 0 var(--ink); }
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes cat-in {
  0% { opacity: 0; transform: translateX(-40px) scale(.3) rotate(-8deg); }
  70% { opacity: 1; transform: translateX(0) scale(1.08) rotate(1deg); }
  100% { opacity: 1; transform: none; }
}
@keyframes bob { from { transform: translateY(0); } to { transform: translateY(-3px); } }
@keyframes pulse {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  70% { transform: translate(-50%, -50%) scale(1.35); opacity: 0; }
  100% { transform: translate(-50%, -50%) scale(1.35); opacity: 0; }
}
@keyframes swing { from { transform: rotate(-2deg); } to { transform: rotate(2deg); } }

html.js:not(.rm) .hall__frame rect {
  stroke-dasharray: 1;
  animation: draw .7s var(--glide) both;
}
html.js:not(.rm) .hall__horizon { animation: sweep-x .65s var(--glide) .25s both; }
html.js:not(.rm) .hall__trail { animation: wipe-x .5s steps(8) .55s both; }
html.js:not(.rm) .hall__sign::before { animation: drop-y .4s var(--glide) .5s both; }
html.js:not(.rm) .hall__sign span { animation: pop .4s var(--spring) .85s both; }
html.js:not(.rm) .hall__sign { animation: swing 5s ease-in-out 2.4s infinite alternate; }
html.js:not(.rm) .hall__l1 {
  animation:
    trace .9s steps(9) .4s both,
    ink-in .5s ease 1.35s both;
}
html.js:not(.rm) .hall__flood { animation: flood .6s cubic-bezier(.7, 0, .2, 1) 1.3s both; }
html.js:not(.rm) .hall__l2 { animation: sticker .5s var(--spring) 1.55s both; }
html.js:not(.rm) .hall__eyebrow { animation: fade-in .3s steps(3) 1.3s both; }
html.js:not(.rm) .hall__lede,
html.js:not(.rm) .hall__more { animation: rise .5s var(--spring) 1.6s both; }
html.js:not(.rm) .hall__actions .buy { animation: buy-fill .35s ease 1.45s both; }
html.js:not(.rm) .hall__stub .draw rect {
  stroke-dasharray: 1;
  animation: draw .6s var(--glide) .6s both;
}
html.js:not(.rm) .hall__stub { animation: paper-fill .35s ease 1.35s both; }
html.js:not(.rm) .hall__stub .stub__body,
html.js:not(.rm) .hall__stub .stub__tab { animation: fade-in .3s steps(3) 1.4s both; }
html.js:not(.rm) .hall__cat {
  animation:
    cat-in .5s ease-out 1.65s both,
    bob 1.6s ease-in-out 2.2s infinite alternate;
}
html.js:not(.rm) .hall__hint { animation: fade-in .3s steps(3) 2.1s backwards; }
html.js:not(.rm) .hall__ring { animation: pulse 1.8s ease-out 2.1s infinite; }

/* =====================================================================
   1 · THE PASS
   ===================================================================== */

.story {
  position: relative;
  padding: 96px 14px 72px;
  background: var(--dots), var(--paper2);
  overflow: clip;
}
.pass {
  position: relative;
  display: grid;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  background: var(--paper);
  border-radius: 18px;
  box-shadow: 8px 8px 0 var(--ink);
}
.pass .draw rect { rx: 18px; }
.pass::before {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, .55) 48%, transparent 54%);
  transform: translateX(calc(var(--px, 0) * 10%));
  transition: transform .4s ease-out;
}
.pass__main,
.pass__stub { position: relative; z-index: 1; min-width: 0; }
.pass__main { padding-bottom: 22px; }
.pass__strip {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  font-family: var(--f-display);
  font-size: 15px;
  background: var(--accent);
  border-bottom: 3px solid var(--ink);
}
.pass__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
  padding: 20px 18px 6px;
}
.pass__wide { grid-column: 1 / -1; }
.pass__fields dt {
  font-family: var(--f-pixel);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-deep);
}
.pass__fields dd {
  margin-top: 2px;
  font-family: var(--f-display);
  font-size: 16px;
  line-height: 1.15;
  overflow-wrap: anywhere;
}
.pass__title {
  margin: 20px 18px 0;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 26px;
  line-height: 1;
}
.pass__title em {
  display: inline-block;
  margin-top: 10px;
  font-style: normal;
  font-size: .62em;
  padding: 7px 12px;
  background: var(--sky);
  border: 3px solid var(--ink);
  border-radius: 10px;
  box-shadow: 4px 4px 0 var(--ink);
  transform: skewX(-8deg);
}
.pass__cap {
  margin: 14px 18px 0;
  font-size: 16px;
  color: var(--ink-soft);
}
.cards {
  display: grid;
  margin: 20px 18px 0;
  border-top: 3px dashed var(--ink);
}
.card {
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 14px;
  padding: 16px 0;
  border-bottom: 3px dashed var(--ink);
}
.card__num {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  font-family: var(--f-pixel);
  font-size: 16px;
  color: var(--paper);
  background: var(--ink);
  border-radius: 8px;
}
.card h3 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.2;
}
.card p { margin-top: 4px; font-size: 15px; line-height: 1.5; }

.pass__stub {
  padding: 22px 18px 22px;
  border-top: 3px dashed var(--ink);
}
.pass__n1 { top: -18px; left: -18px; }
.pass__n2 { top: -18px; right: -18px; }
.pass__stubhead {
  margin-bottom: 10px;
  font-family: var(--f-pixel);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.scratch {
  position: relative;
  aspect-ratio: 6 / 7;
  overflow: hidden;
  background: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 12px;
  user-select: none;
  -webkit-user-select: none;
}
.scratch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 66% 55%;
}
.scratch canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  touch-action: pan-y;
  cursor: crosshair;
}
.scratch canvas.scratch__fx { z-index: 3; pointer-events: none; touch-action: auto; }
.scratch.is-revealed canvas:not(.scratch__fx) { pointer-events: none; }
.burst {
  position: fixed;
  inset: 0;
  z-index: 90;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
}
.scratch__stamp {
  position: absolute;
  z-index: 4;
  right: 12px;
  bottom: 12px;
  font-family: var(--f-pixel);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
  color: var(--ink);
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 8px;
  padding: 7px 10px;
  box-shadow: 4px 4px 0 var(--ink);
  transform: rotate(-8deg);
  pointer-events: none;
}
.scratch__hint,
.scratch__btn { display: none; }
.scratch.is-live:not(.is-revealed) .scratch__stamp { opacity: 0; transform: rotate(-8deg) scale(1.6); }
.scratch.is-revealed .scratch__stamp { animation: slam .45s var(--spring) both; }
@keyframes slam {
  from { opacity: 0; transform: rotate(-14deg) scale(1.7); }
  to { opacity: 1; transform: rotate(-8deg) scale(1); }
}
.scratch.is-live:not(.is-touched):not(.is-revealed) .scratch__hint {
  display: grid;
  place-items: center;
  position: absolute;
  z-index: 4;
  left: 18%;
  top: 58%;
  width: 56px;
  height: 56px;
  font-family: var(--f-pixel);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--accent);
  border: 3px solid var(--ink);
  border-radius: 50%;
  box-shadow: 3px 3px 0 var(--ink);
  pointer-events: none;
  animation: zig 3.2s ease-in-out infinite;
}
@keyframes zig {
  0% { transform: translate(0, 0) rotate(-6deg); }
  25% { transform: translate(140%, -40%) rotate(6deg); }
  50% { transform: translate(40%, -10%) rotate(-6deg); }
  75% { transform: translate(180%, -60%) rotate(6deg); }
  100% { transform: translate(0, 0) rotate(-6deg); }
}
.scratch.is-live:not(.is-revealed) .scratch__all,
.scratch.is-live.is-revealed .scratch__again {
  display: block;
  position: absolute;
  z-index: 4;
  left: 10px;
  top: 10px;
  font-family: var(--f-pixel);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 6px 9px;
  cursor: pointer;
  transition: transform .2s var(--spring);
}
.scratch__btn:hover { transform: translateY(-2px); }

.pass__code {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
}
.pass__win {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-display);
  font-size: 13px;
  text-align: right;
}
.pass__win i {
  flex: none;
  width: 32px;
  height: 42px;
  background: var(--sky);
  border: 3px solid var(--ink);
  border-radius: 46% / 38%;
  box-shadow: inset 0 0 0 4px var(--paper);
}

/* arrival */
html.js:not(.rm) .pass {
  transition: background-color .4s ease .7s, box-shadow .3s var(--spring) .9s;
}
html.js:not(.rm) .pass .draw rect {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset .9s var(--glide);
}
html.js:not(.rm) .pass__strip { transition: clip-path .5s steps(10) .9s; }
html.js:not(.rm) .pass__fields > div { transition: opacity .3s steps(3) calc(1s + var(--i, 0) * 70ms); }
html.js:not(.rm) .pass__title,
html.js:not(.rm) .pass__cap { transition: opacity .4s ease 1.2s, transform .5s var(--spring) 1.2s; }
html.js:not(.rm) .card { transition: opacity .3s ease calc(1.35s + var(--i, 0) * 120ms), transform .45s var(--spring) calc(1.35s + var(--i, 0) * 120ms); }
html.js:not(.rm) .pass__stub > * { transition: opacity .4s ease 1.1s; }

html.js:not(.rm) .pass:not(.seen) { background-color: transparent; box-shadow: 0 0 0 var(--ink); }
html.js:not(.rm) .pass.seen .draw rect { stroke-dashoffset: 0; }
html.js:not(.rm) .pass:not(.seen) .pass__strip { clip-path: inset(0 100% 0 0); }
html.js:not(.rm) .pass:not(.seen) .pass__fields > div { opacity: 0; }
html.js:not(.rm) .pass:not(.seen) .pass__title,
html.js:not(.rm) .pass:not(.seen) .pass__cap { opacity: 0; transform: translateY(18px); }
html.js:not(.rm) .pass:not(.seen) .card { opacity: 0; transform: scale(1.12); }
html.js:not(.rm) .pass:not(.seen) .pass__stub > *:not(.notch) { opacity: 0; }
html.js:not(.rm) .pass:not(.seen) .notch { opacity: 0; }
html.js:not(.rm) .pass .notch { transition: opacity .3s ease .8s; }

/* =====================================================================
   DIVES (the zoom between stops)
   ===================================================================== */

.dive { position: relative; }
.dive__stage {
  position: relative;
  height: 420px;
  overflow: hidden;
}
@media (min-width: 900px) { .dive__stage { height: 520px; } }
html.js:not(.rm) .dive { height: 140vh; }
html.js:not(.rm) .dive__stage { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 0; }
.dive__world {
  --e: calc(var(--scene, 0) * var(--scene, 0));
  --g: calc(var(--e) * var(--e));
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transform-origin: 50% 50%;
  transform: scale(calc(1 + var(--e) * 4));
}
.dive__detail {
  position: relative;
  display: grid;
  place-items: center;
}
.dive__glass {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  overflow: hidden;
  transform: scale(calc(1 + var(--g) * 40));
}
.dive__glass > * { opacity: calc(1.6 - var(--scene, 0) * 2); }
.dive__label {
  position: absolute;
  z-index: 1;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  gap: 4px;
  width: max-content;
  max-width: 86vw;
  text-align: center;
  opacity: calc(1 - var(--scene, 0) * 1.8);
}
.dive__label b {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 16px;
}
.dive__label span {
  font-family: var(--f-pixel);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.porthole {
  width: 132px;
  height: 172px;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 46% / 38%;
  box-shadow: 6px 6px 0 var(--ink);
}
.porthole__glass {
  width: 100px;
  height: 140px;
  border-radius: 44% / 36%;
  background: var(--sky);
  box-shadow: inset 0 0 0 3px var(--ink);
}
.porthole__cloud {
  width: 54px;
  height: 18px;
  background: var(--paper);
  border-radius: 99px;
  box-shadow: 14px -10px 0 -2px var(--paper), -12px -6px 0 -4px var(--paper);
}
.dive--window .dive__stage { background: var(--dots), var(--paper2); }
.dive--sun .dive__stage { background: var(--sky); }
.porthole--sun .porthole__glass { background: var(--accent); }
.dive__glass > .porthole__rays { opacity: 1; }
.porthole__rays {
  position: absolute;
  inset: -40%;
  background: repeating-conic-gradient(from calc(var(--scene, 0) * 40deg) at 50% 50%, var(--accent) 0 9deg, var(--rays) 9deg 18deg);
}
.dive--scan .dive__stage { background: var(--accent); }
.scanbig {
  width: 190px;
  height: 260px;
  background: var(--ink);
  border-radius: 28px;
  box-shadow: 8px 8px 0 rgba(48, 33, 23, .35);
}
.scanbig::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 16px;
  width: 36px;
  height: 36px;
  margin-left: -18px;
  border-radius: 50%;
  background: repeating-linear-gradient(0deg, var(--paper) 0 4px, transparent 4px 9px);
  opacity: .5;
}
.scanbig__screen {
  width: 146px;
  height: 100px;
  background: var(--night);
  border: 3px solid var(--paper);
  border-radius: 10px;
}
.scanbig__screen b {
  font-family: var(--f-pixel);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
}
.dive--gate .dive__stage {
  color: var(--on-night);
  background: radial-gradient(rgba(246, 238, 234, .06) 1px, transparent 1.4px) 0 0 / 8px 8px, var(--night);
}
.gatecell__glass {
  width: 240px;
  height: 76px;
  background: var(--accent);
  border-radius: 10px;
}
.gatecell__glass b {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 26px;
  color: var(--ink);
}

/* =====================================================================
   2 · WINDOW SEATS
   ===================================================================== */

.seats {
  position: relative;
  padding: 90px 14px 110px;
  background: var(--sky);
  overflow: clip;
}
.clouds { position: absolute; inset: 0; pointer-events: none; }
.clouds i {
  position: absolute;
  width: 180px;
  height: 46px;
  background: var(--paper);
  border-radius: 99px;
  opacity: .55;
  box-shadow: 40px -22px 0 -4px var(--paper), 90px -8px 0 -8px var(--paper);
}
.clouds i:nth-child(1) { left: -40px; top: 9%; }
.clouds i:nth-child(2) { right: 8%; top: 30%; transform: scale(.7); }
.clouds i:nth-child(3) { left: 12%; top: 62%; transform: scale(.85); }
.clouds i:nth-child(4) { right: -60px; top: 86%; }
@keyframes drift { from { translate: 0 0; } to { translate: 70px 0; } }
html.js:not(.rm) .clouds i { animation: drift 28s ease-in-out infinite alternate; }
html.js:not(.rm) .clouds i:nth-child(even) { animation-duration: 36s; animation-direction: alternate-reverse; }

.seats__head { position: relative; text-align: center; }
.seats__head h2 {
  margin-top: 8px;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 40px;
  line-height: .95;
}
.seats__sub {
  margin-top: 12px;
  font-family: var(--f-pixel);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
html.js:not(.rm) .seats__head { transition: opacity .5s ease, transform .6s var(--spring); }
html.js:not(.rm) .seats__head:not(.seen) { opacity: 0; transform: translateY(24px) scale(.96); }

.windows {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px 16px;
  max-width: 1080px;
  margin: 44px auto 0;
}
.windows figure {
  --b: 8px;
  --shn: .14;
  --tilt: -1.5deg;
  position: relative;
  margin: 0;
  container-type: inline-size;
}
.windows figure:nth-child(even) { --tilt: 1.5deg; }
.windows img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--paper);
  border: var(--b) solid var(--paper);
  border-radius: 44% / 34%;
  box-shadow: 0 0 0 3px var(--ink), 6px 6px 0 3px var(--ink);
}
.windows figure::before {
  content: "";
  position: absolute;
  left: var(--b);
  top: var(--b);
  width: calc(100cqw - var(--b) * 2);
  height: calc(125cqw - var(--b) * 2);
  border-radius: calc(44cqw - var(--b)) / calc(42.5cqw - var(--b));
  background: repeating-linear-gradient(180deg, var(--paper2) 0 10px, var(--paper) 10px 12px);
  clip-path: inset(0 0 calc(100% - var(--shn) * 100%) 0);
  transition: clip-path .9s var(--glide) calc(var(--i, 0) * 120ms);
  pointer-events: none;
}
.windows figure::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 30px;
  height: 10px;
  margin-left: -15px;
  top: calc(var(--b) + (125cqw - var(--b) * 2) * var(--shn) - 7px);
  background: var(--ink);
  border-radius: 4px;
  transition: top .9s var(--glide) calc(var(--i, 0) * 120ms);
  pointer-events: none;
}
.windows figcaption {
  position: relative;
  margin: 18px 4px 0;
  padding: 8px 10px;
  font-size: 13px;
  line-height: 1.4;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 10px;
  transform: rotate(var(--tilt));
  transition: transform .45s var(--spring);
}
.windows figure:hover { --shn: .34; }
.windows figure:hover::before,
.windows figure:hover::after { transition-delay: 0s; transition-duration: .5s; }
.windows figure:hover figcaption { transform: rotate(calc(var(--tilt) * -2)); }

html.js:not(.rm) .windows:not(.seen) figure { --shn: 1; }
@keyframes float { from { transform: translateY(-4px); } to { transform: translateY(4px); } }
html.js:not(.rm) .windows.seen figure { animation: float 6s ease-in-out calc(var(--i, 0) * -1.1s) infinite alternate; }

/* =====================================================================
   3 · TICKET CHECK
   ===================================================================== */

.play {
  position: relative;
  padding: 96px 16px 80px;
  background: var(--accent);
  overflow: clip;
}
.play__rays {
  position: absolute;
  inset: 0;
  background: repeating-conic-gradient(from var(--ra) at 50% 66%, var(--accent) 0 9deg, var(--rays) 9deg 18deg);
}
@keyframes rays { to { --ra: 360deg; } }
html.js:not(.rm) .play__rays { animation: rays 90s linear infinite; }
.play__wrap {
  position: relative;
  display: grid;
  max-width: 1200px;
  margin: 0 auto;
}
.play__copy { position: relative; z-index: 2; }
.play__title {
  margin-top: 8px;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 32px;
  line-height: 1;
}
.play__title em {
  display: inline-block;
  margin-top: 10px;
  font-style: normal;
  font-size: .6em;
  padding: 7px 12px;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 10px;
  box-shadow: 4px 4px 0 var(--ink);
  transform: skewX(-8deg);
}
.play__how { margin-top: 16px; font-size: 17px; font-weight: 600; }
.meter {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 420px;
  margin-top: 16px;
  padding: 10px 14px;
  background: var(--ink);
  border-radius: 14px;
  box-shadow: 5px 5px 0 rgba(48, 33, 23, .3);
}
.meter__label {
  font-family: var(--f-pixel);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--paper);
}
.meter__segs {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 4px;
}
.meter__segs i {
  height: 18px;
  border-radius: 3px;
  background: rgba(247, 235, 227, .16);
  transition: background-color .15s steps(2), transform .25s var(--spring);
}
.meter__segs i.on { background: var(--paper); }
.meter__segs i.on:nth-child(n+10) { background: var(--accent); }
.meter__segs i.pop { transform: scaleY(1.35); }
.play__say {
  margin-top: 12px;
  min-height: 2.8em;
  font-family: var(--f-pixel);
  font-size: 16px;
  line-height: 1.4;
}
.say-live { display: none; }
html.js:not(.rm) .say-live { display: inline; }
html.js:not(.rm) .say-still { display: none; }
.treats { display: none; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
html.js:not(.rm) .treats { display: flex; }
.treat {
  font-family: var(--f-display);
  font-size: 14px;
  color: var(--ink);
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 5px 5px 0 var(--ink);
  cursor: pointer;
  transition: transform .2s var(--spring), box-shadow .2s var(--spring);
}
.treat:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.treat:active { transform: translate(4px, 4px); box-shadow: 1px 1px 0 var(--ink); }
.play__count {
  margin-top: 18px;
  font-family: var(--f-pixel);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.play__count b { font-family: var(--f-display); font-weight: 400; font-size: 18px; margin-left: 4px; }
html.js:not(.rm) .play__copy { transition: opacity .5s ease, transform .6s var(--spring); }
html.js:not(.rm) .play__copy:not(.seen) { opacity: 0; transform: translateY(24px); }

.play__stage {
  position: relative;
  height: min(118vw, 460px);
  width: 100%;
  max-width: 420px;
  margin: 26px auto 0;
}
.play__spot {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 0;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
}
.play__cat {
  position: absolute;
  left: 50%;
  bottom: 5%;
  height: 90%;
  aspect-ratio: 926 / 1243;
  transform: translateX(-50%);
  touch-action: pan-y;
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
}
.play__cat img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform-origin: 50% 100%;
  transform:
    translateY(var(--hop, 0px))
    rotate(var(--lean, 0deg))
    scale(calc(1 + var(--sq, 0) * .03), calc(1 - var(--sq, 0) * .045));
  filter:
    drop-shadow(0 0 2px var(--paper)) drop-shadow(0 0 1px var(--paper))
    drop-shadow(10px 12px 0 rgba(48, 33, 23, .2));
  pointer-events: none;
}
.play__beam {
  position: absolute;
  left: 22%;
  right: 6%;
  top: 6%;
  height: 4px;
  border-radius: 2px;
  background: var(--paper);
  box-shadow: 0 0 0 2px var(--ink), 0 0 18px 6px rgba(247, 235, 227, .8);
  opacity: 0;
  pointer-events: none;
}
.play__cat.is-scanning .play__beam { animation: beam .4s ease-in-out 2 alternate; }
@keyframes beam {
  from { top: 6%; opacity: 1; }
  to { top: 34%; opacity: 1; }
}
html.js:not(.rm) .play__stage .play__cat { transition: opacity .4s ease; }
.play__fx {
  position: absolute;
  inset: -10% -10% 0;
  width: 120%;
  height: 110%;
  pointer-events: none;
  z-index: 3;
}
.scanner {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 8%;
  width: 82px;
  height: 132px;
  padding: 10px 8px;
  background: var(--ink);
  border-radius: 16px;
  box-shadow: 5px 5px 0 rgba(48, 33, 23, .35);
  transform: rotate(-16deg);
}
.scanner::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 12px;
  width: 30px;
  height: 30px;
  margin-left: -15px;
  border-radius: 50%;
  background: repeating-linear-gradient(0deg, var(--paper) 0 3px, transparent 3px 7px);
  opacity: .45;
}
.scanner__screen {
  display: grid;
  place-items: center;
  height: 50px;
  background: var(--night);
  border: 2px solid var(--paper);
  border-radius: 8px;
}
.scanner__screen b {
  font-family: var(--f-pixel);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent);
}
.scanner.is-beep { animation: beep .5s var(--spring); }
@keyframes beep {
  0% { transform: rotate(-16deg) scale(1); }
  40% { transform: rotate(-10deg) scale(1.12); }
  100% { transform: rotate(-16deg) scale(1); }
}

/* =====================================================================
   4 · YOUR BOARDING CALL
   ===================================================================== */

.board-sec {
  padding: 96px 16px 100px;
  color: var(--on-night);
  background: radial-gradient(rgba(246, 238, 234, .06) 1px, transparent 1.4px) 0 0 / 8px 8px, var(--night);
}
.board-sec :focus-visible { outline-color: var(--accent); }
.board-sec__in { max-width: 1100px; margin: 0 auto; }
.board-sec .eyebrow { color: var(--accent); }
.board-sec h2 {
  margin-top: 10px;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 34px;
  line-height: 1;
}
.board {
  margin-top: 32px;
  background: var(--deep);
  border: 3px solid var(--accent);
  border-radius: 18px;
  box-shadow: 8px 8px 0 var(--accent-deep);
  overflow: hidden;
}
.board__head { display: none; }
.board__rows { list-style: none; padding: 0; }
.board__rows li {
  display: grid;
  gap: 10px;
  padding: 20px 18px;
  border-bottom: 3px dashed rgba(246, 238, 234, .18);
}
.board__rows li:last-child { border-bottom: 0; }
.board__step {
  font-family: var(--f-pixel);
  font-size: 16px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent);
}
.board__do {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--on-night);
}
.board__do .chip { margin-top: -2px; }
.board__st {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-pixel);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--on-night-soft);
}
.board__st::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--accent);
}
.board__st--go {
  color: var(--ink);
  background: var(--accent);
  border-radius: 6px;
  padding: 4px 8px;
}
.board__st--go::before { background: var(--ink); }
.board__st--go::after { content: "█"; font-size: 10px; }
@keyframes blink { 50% { opacity: 0; } }
html.js:not(.rm) .board__st::before { animation: blink 1.2s steps(1) infinite; }
html.js:not(.rm) .board__st--go::after { animation: blink 1s steps(1) infinite; }
html.js:not(.rm) .board__rows li { transition: clip-path .7s steps(12) calc(var(--i, 0) * 180ms); }
html.js:not(.rm) .board__rows:not(.seen) li { clip-path: inset(0 100% 0 0); }
.board-sec__cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 26px;
  margin-top: 40px;
}
.link-night {
  font-family: var(--f-display);
  font-size: 14px;
  color: var(--on-night);
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}

/* =====================================================================
   5 · FINAL CALL
   ===================================================================== */

.final {
  position: relative;
  padding: 110px 16px 36px;
  background: var(--accent);
  overflow: clip;
  text-align: center;
}
.final__big {
  font-family: var(--f-display);
  font-size: clamp(46px, 13vw, 190px);
  line-height: .9;
  -webkit-text-stroke: 2px transparent;
}
.final__name { margin-top: 18px; font-family: var(--f-display); font-size: 22px; }
.final__tag { margin-top: 6px; font-size: 17px; }
html.js:not(.rm) .final__top:not(.seen) .final__big { clip-path: inset(-12% 100% -12% 0); color: transparent; -webkit-text-stroke-color: var(--ink); }
html.js:not(.rm) .final__big { transition: clip-path .9s steps(10), color .5s ease .95s, -webkit-text-stroke-color .5s ease .95s; }
html.js:not(.rm) .final__top:not(.seen) .final__name,
html.js:not(.rm) .final__top:not(.seen) .final__tag { opacity: 0; }
html.js:not(.rm) .final__name,
html.js:not(.rm) .final__tag { transition: opacity .4s steps(3) 1.1s; }

.final__hall { position: relative; height: 70px; margin: 26px -16px 0; }
.final__line {
  position: absolute;
  left: 0;
  right: 0;
  top: 34px;
  height: 3px;
  background: var(--ink);
}
.final__trail {
  position: absolute;
  left: 58%;
  right: 0;
  top: 44px;
  height: 4px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 8px, transparent 8px 20px);
  opacity: .55;
}
.final__stub {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: 26px 20px 22px;
  text-align: left;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-top-style: dashed;
  border-radius: 0 0 16px 16px;
  box-shadow: 6px 6px 0 var(--ink);
}
.final__stub .notch { background: var(--accent); top: -19px; }
.final__n1 { left: -19px; }
.final__n2 { right: -19px; }
.final__legal { font-size: 14px; line-height: 1.6; color: var(--ink-soft); }
.final__links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 18px;
}
.final__links a:not(.chip) {
  font-family: var(--f-display);
  font-size: 13px;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.final__small {
  margin-top: 18px;
  font-family: var(--f-pixel);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

/* =====================================================================
   404
   ===================================================================== */

.lost {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: 120px 20px 60px;
  overflow: hidden;
  background: var(--accent);
}
.lost__line {
  position: absolute;
  left: 0;
  right: 0;
  top: 72%;
  height: 3px;
  background: var(--ink);
}
.lost__floor {
  position: absolute;
  left: 0;
  right: 0;
  top: 72%;
  bottom: 0;
  background: var(--floor);
}
.lost__logo {
  position: absolute;
  right: 12%;
  top: calc(72% - 58px);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 3px solid var(--ink);
  box-shadow: 0 0 0 3px var(--paper);
}
.lost__in { position: relative; z-index: 1; max-width: 760px; }
.lost h1 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 40px;
  line-height: .95;
}
.lost h1 em {
  display: inline-block;
  margin-top: 14px;
  font-style: normal;
  font-size: .45em;
  padding: 8px 12px;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 10px;
  box-shadow: 4px 4px 0 var(--ink);
  transform: skewX(-8deg);
}
.lost__row {
  display: inline-flex;
  gap: 14px;
  margin-top: 28px;
  padding: 12px 16px;
  font-family: var(--f-pixel);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--on-night);
  background: var(--night);
  border-radius: 10px;
}
.lost__row b { font-weight: 400; color: var(--accent); }
.lost__home {
  display: inline-flex;
  margin-top: 26px;
  font-family: var(--f-display);
  font-size: 15px;
  text-decoration: none;
  padding: 14px 20px;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 12px;
  box-shadow: 6px 6px 0 var(--ink);
  transition: transform .2s var(--spring), box-shadow .2s var(--spring);
}
.lost__home:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); }
.lost__p { margin-top: 18px; font-size: 16px; }

/* =====================================================================
   Desktop
   ===================================================================== */

@media (min-width: 900px) {
  .eyebrow { font-size: 16px; }

  .cap { top: 16px; left: 24px; right: 24px; padding: 8px 8px 8px 10px; gap: 16px; }
  .cap__brand span { display: inline; }
  #burger { display: none; }
  #nav {
    position: static;
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0 auto;
    padding: 0;
    color: var(--paper);
    background: transparent;
    border: 0;
    box-shadow: none;
    visibility: visible;
    opacity: 1;
    transform: none;
  }
  #nav a {
    font-size: 13px;
    padding: 9px 11px;
    border: 0;
    border-radius: 9px;
    transition: background-color .2s, color .2s;
  }
  #nav a::before { color: var(--accent); }
  #nav a:hover { color: var(--accent); }
  #nav a.is-active { color: var(--ink); background: var(--accent); }
  #nav a.is-active::before { color: var(--ink); }
  .cap__motion { margin: 0 0 0 8px; padding: 7px 9px; color: var(--paper); }
  .cap__end { margin-left: 0; }
  .buy--sm { font-size: 13px; padding: 11px 14px; }

  .readout {
    display: flex;
    align-items: center;
    gap: 8px;
    position: fixed;
    z-index: 40;
    right: 28px;
    top: 50%;
    margin: 0;
    padding: 12px 6px;
    writing-mode: vertical-rl;
    font-family: var(--f-pixel);
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--paper);
    background: var(--ink);
    border-radius: 8px;
    transform: translateY(-50%);
  }
  .readout b, .readout i { font-weight: 400; font-style: normal; }
  .readout b { color: var(--accent); }

  /* hall */
  .hall__stage { min-height: 680px; }
  html.js:not(.rm) .hall { height: calc(max(100svh, 680px) + 130vh); }
  .hall__world { --hz: 70cqh; --ch: 21cqh; --cx: 65cqw; }
  .hall__frame rect { x: 14px; y: 14px; width: calc(100% - 28px); height: calc(100% - 28px); }
  .hall__sign { left: auto; right: 9cqw; top: 0; }
  .hall__sign::before { height: 26cqh; }
  .hall__sign span { font-size: 16px; padding: 9px 14px; }
  .hall__copy {
    left: 6.6cqw;
    right: auto;
    top: 15cqh;
    width: min(640px, 47cqw);
  }
  .hall__eyebrow { margin-bottom: 18px; }
  .hall__tick { display: inline; }
  .hall__l1 { font-size: min(6cqw, 10cqh); }
  .hall__l2 { margin-top: 16px; max-width: 440px; font-size: min(1.8cqw, 2.9cqh); padding: 10px 16px; }
  .hall__lede { margin-top: 20px; font-size: 18px; }
  .hall__actions { margin-top: 24px; gap: 14px 26px; }
  .hall__actions .buy { padding: 16px 24px; font-size: 16px; }
  .hall__more { font-size: 14px; }
  .hall__stub {
    left: 6.6cqw;
    right: auto;
    bottom: auto;
    top: calc(70cqh + 3px);
    width: 560px;
    grid-template-columns: 34px 1fr 64px;
  }
  .stub__n1, .stub__n2 { left: 15px; }
  .stub__body { padding: 14px 18px 16px; }
  #ca-text { font-size: 15px; }
  .stub__bar {
    display: block;
    align-self: center;
    width: 40px;
    height: 96px;
    margin-right: 18px;
    background: repeating-linear-gradient(0deg,
      var(--ink) 0 3px, transparent 3px 5px,
      var(--ink) 5px 6px, transparent 6px 9px,
      var(--ink) 9px 13px, transparent 13px 15px,
      var(--ink) 15px 16px, transparent 16px 20px);
  }
  .stub__punch { right: 84px; }

  /* pass */
  .story { padding: 130px 40px 110px; }
  .pass { grid-template-columns: 58fr 42fr; box-shadow: 10px 10px 0 var(--ink); }
  .pass__strip { font-size: 22px; padding: 16px 28px; }
  .pass__fields { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 24px; padding: 24px 28px 6px; }
  .pass__wide { grid-column: span 2; }
  .pass__fields > div:last-child { grid-column: span 3; }
  .pass__fields dd { font-size: 20px; }
  .pass__title { margin: 26px 28px 0; font-size: 42px; }
  .pass__cap { margin: 16px 28px 0; font-size: 17px; }
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 26px 28px 0; border-top: 3px dashed var(--ink); }
  .card { display: block; padding: 18px 16px 4px; border-bottom: 0; border-left: 3px dashed var(--ink); }
  .card:first-child { padding-left: 0; border-left: 0; }
  .card__num { margin-bottom: 12px; }
  .card h3 { font-size: 17px; }
  .pass__main { padding-bottom: 30px; }
  .pass__stub { padding: 30px 30px 26px; border-top: 0; border-left: 3px dashed var(--ink); }
  .pass__n1 { top: -18px; left: -19px; right: auto; }
  .pass__n2 { top: auto; bottom: -18px; left: -19px; right: auto; }
  .scratch { aspect-ratio: 1; }

  /* dives */
  html.js:not(.rm) .dive { height: 160vh; }
  .porthole { width: 170px; height: 222px; }
  .porthole__glass { width: 130px; height: 182px; }
  .dive__label b { font-size: 24px; }
  .scanbig { width: 230px; height: 320px; }
  .scanbig__screen { width: 180px; height: 124px; }
  .gatecell__glass { width: 320px; height: 96px; }
  .gatecell__glass b { font-size: 34px; }

  /* seats */
  .seats { padding: 130px 40px 90px; }
  .seats__head h2 { font-size: 72px; }
  .seats__sub { font-size: 16px; }
  .windows { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 56px; margin-top: 64px; }
  .windows figure { --b: 14px; }
  .windows figure:nth-child(3n+2) { margin-top: 56px; }
  .windows figcaption { font-size: 14px; padding: 10px 14px; margin-top: 22px; }

  /* play */
  .play { padding: 130px 40px 110px; }
  .play__rays { background: repeating-conic-gradient(from var(--ra) at 70% 56%, var(--accent) 0 9deg, var(--rays) 9deg 18deg); }
  .play__wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: 40px; min-height: 700px; }
  .play__title { font-size: 58px; }
  .play__how { font-size: 19px; margin-top: 22px; }
  .meter { margin-top: 22px; }
  .play__stage { height: 680px; max-width: 600px; margin: 0 auto; }
  .play__spot { left: 6%; right: 6%; bottom: 2%; }
  .scanner { width: 116px; height: 186px; right: -2%; bottom: 10%; border-radius: 22px; padding: 14px 12px; }
  .scanner__screen { height: 70px; }
  .scanner::after { width: 44px; height: 44px; margin-left: -22px; bottom: 18px; }

  /* board */
  .board-sec { padding: 130px 40px 140px; }
  .board-sec h2 { font-size: 64px; }
  .board { margin-top: 44px; }
  .board__head {
    display: grid;
    grid-template-columns: 250px 1fr 170px;
    gap: 24px;
    padding: 16px 30px;
    font-family: var(--f-pixel);
    font-size: 12px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--on-night-soft);
    border-bottom: 3px solid var(--accent);
  }
  .board__rows li {
    grid-template-columns: 250px 1fr 170px;
    align-items: center;
    gap: 24px;
    padding: 26px 30px;
  }
  .board__step { font-size: 16px; }
  .board__do { font-size: 17px; align-items: center; }
  .board__do .chip { margin-top: 0; }
  .buy--xl { font-size: 20px; padding: 22px 34px; }

  /* footer */
  .final { padding: 140px 40px 44px; }
  .final__name { font-size: 28px; }
  .final__tag { font-size: 18px; }
  .final__hall { margin: 30px -40px 0; height: 80px; }
  .final__stub { padding: 30px 34px 26px; }
  .final__legal { font-size: 15px; }

  .lost { padding: 160px 8vw 60px; }
  .lost h1 { font-size: 88px; }
}

@media (min-width: 900px) and (max-height: 760px) {
  .hall__copy { top: 13cqh; }
  .hall__lede { font-size: 16px; margin-top: 14px; }
  .hall__actions { margin-top: 16px; }
}

/* =====================================================================
   Motion off: the finished, still page
   ===================================================================== */

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