:root {
  color-scheme: dark;
  font-family: Arial, Helvetica, sans-serif;
  color: #fff8ed;
  background: #20141f;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { min-width: 320px; }
body { margin: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }

.scene {
  position: relative;
  display: grid;
  place-items: center;
  min-height: calc(100svh - 42px);
  overflow: hidden;
  isolation: isolate;
  background: #4c2449 url("assets/world.jpg") center center / cover no-repeat;
}

.walkers, .scene-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.walkers { z-index: 3; }
.scene-shade {
  z-index: 2;
  background: linear-gradient(180deg, rgba(19, 12, 25, .48), rgba(19, 12, 25, .55) 55%, rgba(19, 12, 25, .5));
}

.site-header {
  position: absolute;
  z-index: 5;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 32px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 900;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: #20141f;
  background: #f6d66e;
  font-size: 21px;
  font-weight: 900;
  border: 2px solid #fff8ed;
}

.header-tag, .eyebrow, .site-footer, .departure-kicker {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
}

.header-tag { color: #f4e7d3; }

.invitation {
  position: relative;
  z-index: 4;
  width: min(560px, calc(100% - 40px));
  padding: 100px 0 55px;
  text-align: center;
  text-shadow: 0 2px 18px rgba(15, 7, 18, .9);
}

.eyebrow {
  display: inline-block;
  color: #ffdf85;
  background: rgba(28, 20, 29, .82);
  padding: 7px 10px;
}

h1 {
  margin: 13px 0 19px;
  font-size: 66px;
  font-weight: 900;
  line-height: 1;
}

.trolley-figure {
  width: min(454px, 100%);
  margin: 0 auto;
  border: 3px solid #fff8ed;
  background: #fff;
  box-shadow: 0 8px 28px rgba(15, 7, 18, .32);
}

.trolley-figure img { display: block; width: 100%; height: auto; }

.question {
  max-width: 530px;
  margin: 17px auto 0;
  font-size: 17px;
  line-height: 1.48;
  font-weight: 550;
}

.question strong { font-weight: 800; }
.aside { color: #ffdf85; white-space: nowrap; }

.choices {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}

.choice {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  max-width: 220px;
  min-height: 52px;
  padding: 10px 16px;
  border: 2px solid #fff8ed;
  border-radius: 4px;
  color: #fff8ed;
  background: rgba(22, 17, 24, .83);
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  text-shadow: none;
  transition: transform .16s ease, background-color .16s ease, color .16s ease;
}

.choice:hover { color: #20141f; background: #fff8ed; transform: translateY(-2px); }
.choice:active { transform: translateY(1px); }
.choice:focus-visible { outline: 3px solid #ffdf85; outline-offset: 4px; }

.response {
  min-height: 21px;
  margin: 13px 0 0;
  font-size: 14px;
  color: #ffe597;
}

.scene-edge {
  position: absolute;
  z-index: 4;
  inset: auto 0 0;
  height: 4px;
  background: #f6d66e;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 42px;
  padding: 8px 24px;
  color: #ede0d2;
  background: #20141f;
}

.site-footer a { text-underline-offset: 3px; }
.site-footer a:hover { color: #ffdf85; }

.departure {
  position: fixed;
  z-index: 10;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  color: #fff8ed;
  background: #20141f;
  text-align: center;
}

.departure-inner { width: min(430px, 100%); }
.departure-kicker { color: #ffdf85; }
.departure h2 { margin: 10px 0 6px; font-size: 36px; line-height: 1.1; }
.departure p { margin: 0; color: #ede0d2; font-size: 15px; }
#chase { display: block; width: min(360px, 100%); height: 96px; margin: 26px auto 4px; image-rendering: pixelated; }
.loading-track { height: 10px; overflow: hidden; border: 1px solid #f6d66e; border-radius: 2px; background: #493047; }
.loading-track span { display: block; width: 38%; height: 100%; background: #f6d66e; animation: loading 1.1s ease-in-out infinite alternate; }
@keyframes loading { to { transform: translateX(165%); } }

@media (max-width: 600px) {
  .scene { min-height: calc(100svh - 58px); }
  .site-header { padding: 16px 18px; }
  .header-tag { max-width: 115px; text-align: right; }
  .invitation { width: min(440px, calc(100% - 32px)); padding: 86px 0 38px; }
  h1 { margin: 10px 0 14px; font-size: 49px; }
  .question { margin-top: 14px; font-size: 14px; line-height: 1.42; }
  .choices { margin-top: 18px; gap: 8px; }
  .choice { min-height: 50px; padding: 8px; font-size: 14px; }
  .site-footer { min-height: 58px; padding: 8px 16px; font-size: 9px; }
}

@media (max-width: 380px) {
  .choice { font-size: 13px; }
  .aside { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  .choice { transition: none; }
  .choice:hover { transform: none; }
  .loading-track span { animation: none; width: 100%; }
}
