:root {
  color-scheme: dark;
  --ink: #18191c;
  --ink-soft: #222328;
  --paper: #f0eadd;
  --paper-dim: #c7c0b4;
  --paper-faint: #938d84;
  --mint: #a8e0c0;
  --mint-dark: #6eae8b;
  --orange: #df7e4e;
  --line: rgba(240, 234, 221, 0.18);
  --display: "Playfair Display", Georgia, serif;
  --body: "DM Sans", Arial, sans-serif;
  --mono: "DM Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--ink);
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 76% 36%, rgba(63, 69, 66, 0.17), transparent 33rem),
    var(--ink);
  color: var(--paper);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
}

.site-shell {
  width: min(100% - 64px, 1260px);
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.topbar {
  height: 103px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  gap: 13px;
  align-items: center;
  color: var(--paper);
  text-decoration: none;
}

.brand-mark {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--paper);
  border-radius: 50%;
  position: relative;
}

.brand-mark::before,
.brand-mark::after,
.brand-mark span {
  position: absolute;
  display: block;
  content: "";
  background: var(--paper);
}

.brand-mark::before {
  width: 1px;
  height: 15px;
}

.brand-mark::after {
  width: 15px;
  height: 1px;
}

.brand-mark span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
}

.brand-name {
  display: flex;
  gap: 6px;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.11em;
}

.brand-name span {
  color: var(--mint);
}

.service-status {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--paper-faint);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(168, 224, 192, 0.08);
  animation: pulse 3s ease-in-out infinite;
}

.status-time {
  margin-left: 11px;
  color: var(--paper);
}

.main-grid {
  flex: 1;
  min-height: 565px;
  display: grid;
  grid-template-columns: minmax(400px, 0.95fr) minmax(420px, 1.05fr);
  gap: clamp(40px, 8vw, 130px);
  align-items: center;
  padding: 48px 0 64px;
}

.intro {
  padding-top: 5px;
}

.eyebrow,
.passage-form label,
.ticket-overline,
.ticket-label,
.booth-topline,
.counter-label {
  font-family: var(--mono);
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--mint);
  font-size: 10px;
  letter-spacing: 0.13em;
}

.eyebrow span {
  margin: 0 5px;
  color: var(--orange);
}

h1 {
  max-width: 590px;
  margin: 0;
  color: var(--paper);
  font-family: var(--display);
  font-size: clamp(66px, 8.2vw, 116px);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.91;
}

h1 em {
  color: var(--orange);
  font-weight: 500;
}

.intro-copy {
  max-width: 355px;
  margin: 31px 0 49px;
  color: var(--paper-dim);
  font-size: 15px;
  line-height: 1.65;
}

.passage-form {
  max-width: 535px;
}

.passage-form label {
  display: block;
  margin-bottom: 12px;
  color: var(--paper-faint);
  font-size: 10px;
  letter-spacing: 0.13em;
}

.input-row {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid var(--paper-dim);
  transition: border-color 180ms ease;
}

.input-row:focus-within {
  border-color: var(--mint);
}

.input-row input {
  min-width: 0;
  flex: 1;
  padding: 0 10px 15px 0;
  border: 0;
  outline: 0;
  color: var(--paper);
  background: transparent;
  font-family: var(--display);
  font-size: 24px;
}

.input-row input::placeholder {
  color: #77736d;
  opacity: 1;
}

.input-row button {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 17px;
  align-self: flex-start;
  padding: 3px 0 15px 18px;
  color: var(--mint);
  background: transparent;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 180ms ease, transform 180ms ease;
}

.input-row button:hover {
  color: var(--paper);
  transform: translateX(3px);
}

.button-arrow {
  display: inline-block;
  color: var(--orange);
  font-size: 18px;
  line-height: 10px;
}

.form-note {
  margin: 11px 0 0;
  color: var(--paper-faint);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.key-hint {
  display: inline-grid;
  width: 14px;
  height: 14px;
  margin-right: 5px;
  place-items: center;
  border: 1px solid #5f5b55;
  border-radius: 2px;
  color: var(--paper-dim);
}

.booth-area {
  min-height: 500px;
  position: relative;
  display: grid;
  place-items: center;
}

.booth-glow {
  width: 52%;
  height: 62%;
  position: absolute;
  top: 13%;
  left: 22%;
  border-radius: 50%;
  background: rgba(168, 224, 192, 0.08);
  filter: blur(40px);
}

.orbit {
  position: absolute;
  border: 1px solid rgba(168, 224, 192, 0.12);
  border-radius: 50%;
  transform: rotate(-22deg);
}

.orbit-one {
  width: 83%;
  height: 45%;
  top: 22%;
  left: 7%;
}

.orbit-two {
  width: 69%;
  height: 29%;
  top: 31%;
  left: 15%;
  border-color: rgba(223, 126, 78, 0.18);
}

.booth {
  width: min(66%, 285px);
  aspect-ratio: 0.68;
  position: relative;
  margin-top: -10px;
  padding: 15px;
  border: 1px solid rgba(240, 234, 221, 0.64);
  border-radius: 145px 145px 5px 5px;
  background: linear-gradient(132deg, rgba(240, 234, 221, 0.12), rgba(240, 234, 221, 0.02) 46%), rgba(17, 18, 20, 0.36);
  box-shadow: 15px 20px 0 rgba(0, 0, 0, 0.13), inset 0 0 0 1px rgba(240, 234, 221, 0.05);
  transform: rotate(2deg);
}

.booth::before {
  width: 1px;
  height: 35px;
  position: absolute;
  top: -28px;
  right: 25%;
  background: var(--orange);
  content: "";
}

.booth::after {
  width: 4px;
  height: 4px;
  position: absolute;
  top: -32px;
  right: calc(25% - 2px);
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 18px 4px rgba(223, 126, 78, 0.45);
  content: "";
}

.booth-topline {
  display: flex;
  justify-content: space-between;
  color: var(--paper-faint);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.booth-topline span:last-child {
  color: var(--mint);
}

.booth-window {
  width: 82%;
  height: 55%;
  position: absolute;
  top: 17%;
  left: 9%;
  overflow: hidden;
  border: 1px solid rgba(168, 224, 192, 0.55);
  background: linear-gradient(140deg, rgba(168, 224, 192, 0.22), rgba(39, 55, 49, 0.17));
}

.window-reflection {
  width: 120%;
  height: 20%;
  position: absolute;
  top: 19%;
  left: -24%;
  border-top: 1px solid rgba(240, 234, 221, 0.35);
  border-bottom: 1px solid rgba(240, 234, 221, 0.12);
  transform: rotate(-46deg);
}

.window-eye {
  width: 21px;
  height: 9px;
  position: absolute;
  right: 24%;
  bottom: 25%;
  border-top: 1px solid var(--paper);
  border-radius: 50%;
  opacity: 0.8;
  transform: rotate(-8deg);
}

.window-eye::after {
  width: 3px;
  height: 3px;
  position: absolute;
  top: -2px;
  left: 9px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 8px 2px rgba(223, 126, 78, 0.6);
  content: "";
}

.window-label {
  position: absolute;
  bottom: 12%;
  left: 10%;
  color: rgba(240, 234, 221, 0.53);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.14em;
  line-height: 1.5;
}

.booth-counter {
  width: 95%;
  height: 24%;
  position: absolute;
  bottom: 4%;
  left: 2.5%;
  border: 1px solid rgba(240, 234, 221, 0.52);
  border-radius: 3px 3px 9px 9px;
  background: rgba(240, 234, 221, 0.05);
}

.counter-line {
  width: 42%;
  height: 1px;
  position: absolute;
  top: 29%;
  left: 14%;
  background: var(--orange);
}

.counter-label {
  position: absolute;
  right: 11%;
  bottom: 18%;
  color: rgba(240, 234, 221, 0.55);
  font-size: 7px;
  letter-spacing: 0.11em;
}

.booth-base {
  width: 104%;
  height: 4%;
  position: absolute;
  bottom: -2.5%;
  left: -2%;
  border: 1px solid var(--paper-dim);
  background: var(--ink);
}

.lane-markings {
  width: 70%;
  position: absolute;
  bottom: 1%;
  left: 15%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0.45;
  transform: perspective(90px) rotateX(49deg) rotateZ(2deg);
}

.lane-markings span {
  height: 1px;
  display: block;
  background: var(--paper-faint);
}

.lane-markings span:nth-child(2) {
  width: 76%;
  align-self: center;
}

.lane-markings span:nth-child(3) {
  width: 50%;
  align-self: center;
}

.booth-caption {
  width: 100%;
  position: absolute;
  right: 0;
  bottom: 4%;
  display: flex;
  justify-content: flex-end;
  gap: 13px;
  margin: 0;
  color: var(--paper-faint);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.05em;
  line-height: 1.5;
  text-transform: uppercase;
}

.caption-number {
  color: var(--orange);
}

.ticket-panel {
  min-height: 126px;
  position: relative;
  display: grid;
  grid-template-columns: 160px 1fr;
  align-items: center;
  border-top: 1px solid var(--paper);
  border-bottom: 1px solid rgba(240, 234, 221, 0.28);
  background: var(--paper);
  color: var(--ink);
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.ticket-panel.is-new {
  animation: ticket-arrival 550ms ease-out;
}

.ticket-label {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 13px;
  padding-left: 23px;
  border-right: 1px solid rgba(24, 25, 28, 0.19);
  color: #5c5a55;
  font-size: 9px;
  letter-spacing: 0.1em;
}

.ticket-pin {
  width: 8px;
  height: 8px;
  display: block;
  border: 1px solid var(--orange);
  border-radius: 50%;
}

.ticket-content {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(170px, 1fr) 1px minmax(240px, 1.15fr) 116px;
  align-items: center;
  gap: 26px;
  padding: 20px 118px 20px 27px;
}

.ticket-overline {
  display: block;
  margin-bottom: 9px;
  color: #8c877e;
  font-size: 8px;
  letter-spacing: 0.11em;
}

.ticket-destination strong {
  display: block;
  overflow: hidden;
  color: var(--ink);
  font-family: var(--display);
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.03em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ticket-divider {
  width: 1px;
  height: 47px;
  background: rgba(24, 25, 28, 0.2);
}

.ticket-detail p {
  max-width: 260px;
  margin: 0;
  color: #3c3a37;
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.16;
}

.ticket-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #8c877e;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-align: right;
}

.ticket-stamp {
  position: absolute;
  top: 50%;
  right: 25px;
  display: block;
  color: var(--orange);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.11em;
  line-height: 1.35;
  text-align: center;
  transform: translateY(-50%) rotate(-12deg);
}

.footer {
  min-height: 77px;
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--paper-faint);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-rule {
  width: 25px;
  height: 1px;
  background: var(--paper-faint);
  opacity: 0.5;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.65;
    transform: scale(0.85);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes ticket-arrival {
  0% {
    transform: translateY(9px);
    box-shadow: 0 -12px 25px rgba(168, 224, 192, 0.08);
  }
  100% {
    transform: translateY(0);
    box-shadow: none;
  }
}

@media (max-width: 900px) {
  .site-shell {
    width: min(100% - 40px, 720px);
  }

  .main-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 35px;
    padding: 65px 0 36px;
  }

  .intro-copy {
    margin-bottom: 35px;
  }

  .booth-area {
    min-height: 430px;
  }

  .booth {
    width: min(44%, 245px);
  }

  .orbit-one {
    width: 65%;
    left: 17%;
  }

  .orbit-two {
    width: 54%;
    left: 23%;
  }

  .ticket-content {
    padding-right: 105px;
  }
}

@media (max-width: 620px) {
  .site-shell {
    width: min(100% - 32px, 480px);
  }

  .topbar {
    height: 80px;
  }

  .brand {
    gap: 9px;
  }

  .brand-mark {
    width: 24px;
    height: 24px;
  }

  .brand-name {
    display: block;
    font-size: 9px;
    line-height: 1.45;
  }

  .brand-name span {
    display: block;
  }

  .service-status {
    gap: 6px;
    font-size: 8px;
  }

  .status-time {
    display: none;
  }

  .main-grid {
    gap: 12px;
    padding: 55px 0 28px;
  }

  .eyebrow {
    margin-bottom: 20px;
    font-size: 8px;
  }

  h1 {
    font-size: clamp(61px, 18vw, 88px);
  }

  .intro-copy {
    max-width: 290px;
    margin: 25px 0 38px;
    font-size: 14px;
  }

  .input-row {
    display: block;
  }

  .input-row input {
    width: 100%;
    padding-bottom: 12px;
    font-size: 20px;
  }

  .input-row button {
    width: 100%;
    justify-content: space-between;
    padding: 15px 0 13px;
  }

  .booth-area {
    min-height: 356px;
    margin-top: 10px;
  }

  .booth {
    width: min(48%, 210px);
  }

  .booth-caption {
    bottom: 0;
    font-size: 8px;
  }

  .ticket-panel {
    display: block;
  }

  .ticket-label {
    height: 42px;
    padding: 0 17px;
    border-right: 0;
    border-bottom: 1px solid rgba(24, 25, 28, 0.19);
  }

  .ticket-content {
    grid-template-columns: 1fr 1fr;
    gap: 18px 15px;
    padding: 17px 72px 22px 17px;
  }

  .ticket-destination strong {
    max-width: 190px;
    font-size: 19px;
  }

  .ticket-divider {
    display: none;
  }

  .ticket-detail {
    grid-column: 1 / -1;
  }

  .ticket-detail p {
    max-width: 230px;
    font-size: 15px;
  }

  .ticket-meta {
    position: absolute;
    top: 17px;
    right: 17px;
    gap: 5px;
    font-size: 7px;
  }

  .ticket-stamp {
    right: 17px;
    bottom: 18px;
    top: auto;
    font-size: 7px;
    transform: rotate(-12deg);
  }

  .footer {
    min-height: 65px;
    justify-content: space-between;
    font-size: 8px;
  }

  .footer span:first-child {
    max-width: 180px;
  }
}
