/* ==========================================================================
   PubSwap Halloween 2026 — main stylesheet
   Static, mobile-first, no build step. Palette sampled from the campaign poster.
   ========================================================================== */

:root {
  --ink: #080b14;
  --ink-2: #0d1120;
  --ink-3: #141930;
  --ink-4: #1c2138;

  --paper: #f7efe6;
  --muted: #b9afa4;
  --muted-2: #8e857c;

  --orange: #f26522;
  --orange-hi: #ff8a3d;
  --gold: #ffb347;
  --ember: #e23b2e;
  --neon: #29abe2;
  --lime: #c6f135;

  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --glass: rgba(12, 15, 27, 0.72);

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 26px;

  --shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  --glow: 0 0 42px rgba(242, 101, 34, 0.35);

  --wrap: 1180px;
  --gutter: clamp(18px, 4vw, 40px);
  --header-h: 62px;

  --font-display: "Arial Black", "Helvetica Neue", Impact, "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  --font-body: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
}

/* --- Reset ---------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.sheet-open {
  overflow: hidden;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

img,
video {
  height: auto;
}

h1,
h2,
h3,
p,
ul,
ol,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: var(--orange-hi);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--gold);
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

::selection {
  background: var(--orange);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

[hidden] {
  display: none !important;
}

/* --- Language switch ------------------------------------------------------ */

html[data-lang="en"] .t-zh,
html[data-lang="zh-Hant"] .t-en {
  display: none !important;
}

html[data-lang="zh-Hant"] body {
  font-family: "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", var(--font-body);
}

/* --- Layout helpers ------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

/* --- Typography ----------------------------------------------------------- */

.section {
  position: relative;
  padding-block: clamp(56px, 9vw, 104px);
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.section__head {
  max-width: 720px;
  margin-bottom: clamp(28px, 4vw, 46px);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange-hi);
}

.kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), transparent);
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 5.2vw, 3.15rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.section__title em {
  font-style: normal;
  color: var(--orange-hi);
}

.section__lede {
  margin-top: 16px;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.6vw, 1.1rem);
  max-width: 62ch;
}

.note {
  margin-top: 26px;
  padding: 14px 18px;
  border-left: 3px solid var(--orange);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.88rem;
}

/* Chinese headlines need a slightly smaller optical size. */
html[data-lang="zh-Hant"] .section__title {
  text-transform: none;
  font-size: clamp(1.7rem, 4.6vw, 2.7rem);
  letter-spacing: 0.01em;
}

/* --- Buttons -------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: linear-gradient(180deg, var(--orange-hi), var(--orange) 55%, var(--ember));
  color: #1a0b04;
  box-shadow: 0 12px 28px rgba(242, 101, 34, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.btn--primary:hover {
  color: #1a0b04;
  box-shadow: 0 16px 34px rgba(242, 101, 34, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn--ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
  color: var(--paper);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.btn--ghost:hover {
  border-color: var(--orange-hi);
  background: rgba(242, 101, 34, 0.12);
  color: var(--paper);
}

.btn--sm {
  min-height: 40px;
  padding: 9px 16px;
  font-size: 0.84rem;
}

.btn--lg {
  min-height: 54px;
  padding: 15px 28px;
  font-size: 1rem;
}

.btn--block {
  width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  .btn,
  .btn:hover {
    transform: none;
    transition: none;
  }
}

/* --- Header --------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  padding-block: 10px;
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.site-header.is-stuck {
  background: rgba(8, 11, 20, 0.86);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--paper);
  text-decoration: none;
  flex: 0 0 auto;
}

.brand:hover {
  color: var(--paper);
}

.brand__mark {
  width: 46px;
  height: auto;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.08rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.brand__tag {
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-hi);
}

.site-nav {
  display: none;
  margin-inline: auto;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--paper);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.header-cta {
  display: none;
}

.lang-toggle {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.lang-toggle__btn {
  min-width: 42px;
  min-height: 32px;
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.lang-toggle__btn[aria-pressed="true"] {
  background: var(--orange);
  color: #180a03;
}

.lang-toggle__btn:hover {
  color: var(--paper);
}

.lang-toggle__btn[aria-pressed="true"]:hover {
  color: #180a03;
}

/* --- Hero ----------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(20px, 3vw, 44px) clamp(44px, 7vw, 84px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(900px 520px at 80% 6%, rgba(255, 138, 61, 0.2), transparent 62%),
    radial-gradient(720px 440px at 6% 94%, rgba(226, 59, 46, 0.18), transparent 64%),
    linear-gradient(180deg, #080b14, #0d1120 46%, #080b14);
}

.hero__bg {
  position: absolute;
  inset: -8%;
  z-index: 0;
  background: url("../assets/img/hero-blur.webp") center / cover no-repeat;
  opacity: 0.3;
  filter: blur(30px) saturate(1.25);
  transform: scale(1.08);
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 11, 20, 0.5), rgba(8, 11, 20, 0.94));
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(28px, 4vw, 46px);
}

.hero__copy {
  max-width: 640px;
}

.hero__title {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 8.6vw, 4.3rem);
  line-height: 0.94;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.hero__title > .t-en,
.hero__title > .t-zh {
  display: block;
}

.hero__line {
  display: block;
}

.hero__line--accent {
  background: linear-gradient(180deg, #ffe0b0, #ff8a3d 42%, #e23b2e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 8px 22px rgba(226, 59, 46, 0.32));
}

html[data-lang="zh-Hant"] .hero__title {
  text-transform: none;
  font-size: clamp(2rem, 7vw, 3.4rem);
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.hero__sub {
  margin-top: 14px;
  font-weight: 800;
  font-size: clamp(0.86rem, 2.4vw, 1.02rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero__lede {
  margin-top: 14px;
  max-width: 54ch;
  color: var(--muted);
  font-size: clamp(0.96rem, 1.7vw, 1.06rem);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  border: 1px solid rgba(255, 138, 61, 0.36);
  border-radius: 999px;
  background: rgba(242, 101, 34, 0.1);
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pill__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange-hi);
  box-shadow: 0 0 0 4px rgba(242, 101, 34, 0.18);
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.fact {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 2px 10px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
}

.fact__icon {
  grid-row: span 2;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--orange-hi);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fact__label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.fact__value {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.25;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero__actions .btn {
  flex: 1 1 210px;
}

.hero__art {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
}

.poster {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  box-shadow: var(--shadow), 0 0 60px rgba(242, 101, 34, 0.16);
  transform: rotate(-1.1deg);
}

.poster img {
  width: 100%;
}

.poster__badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(8, 11, 20, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.hero__art-caption {
  margin-top: 14px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted-2);
}

/* Countdown */

.countdown {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px dashed var(--line-strong);
}

.countdown__label {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.countdown__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  max-width: 340px;
  margin-top: 8px;
}

.countdown__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}

.countdown__num {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 4vw, 1.5rem);
  line-height: 1;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.countdown__unit-label {
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* --- Ticker --------------------------------------------------------------- */

.ticker {
  overflow: hidden;
  padding-block: 10px;
  border-block: 1px solid rgba(0, 0, 0, 0.25);
  background: linear-gradient(90deg, var(--orange), var(--ember));
  color: #12060a;
}

.ticker__track {
  display: flex;
  align-items: center;
  gap: 18px;
  width: max-content;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  animation: ticker 36s linear infinite;
}

.ticker__dot {
  opacity: 0.45;
}

@media (prefers-reduced-motion: reduce) {
  .ticker__track {
    width: auto;
    flex-wrap: wrap;
    justify-content: center;
    white-space: normal;
    animation: none;
  }
}

@keyframes ticker {
  to {
    transform: translateX(-33.333%);
  }
}

/* --- Feature cards -------------------------------------------------------- */

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.card {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(240px 150px at 92% -12%, rgba(242, 101, 34, 0.2), transparent 70%);
  pointer-events: none;
}

.card > * {
  position: relative;
}

.card__icon {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--orange-hi);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card__title {
  margin-top: 14px;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.25;
}

.card__body {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.93rem;
}

.card--accent {
  border-color: rgba(242, 101, 34, 0.45);
  background: linear-gradient(160deg, rgba(242, 101, 34, 0.2), rgba(226, 59, 46, 0.05));
}

/* --- Route timeline ------------------------------------------------------- */

.section--route {
  background:
    radial-gradient(700px 360px at 88% 0%, rgba(242, 101, 34, 0.1), transparent 70%),
    linear-gradient(180deg, #080b14, #0b0e1a);
}

.route {
  display: grid;
  margin-top: 6px;
}

.route__stop {
  position: relative;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 16px;
  padding-bottom: 24px;
}

.route__stop::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 56px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(242, 101, 34, 0.5), rgba(255, 255, 255, 0.06));
}

.route__stop:last-child {
  padding-bottom: 0;
}

.route__stop:last-child::before {
  display: none;
}

.route__time {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 52px;
  border: 1px solid rgba(242, 101, 34, 0.42);
  border-radius: 12px;
  background: var(--ink-2);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.route__pm {
  margin-top: 3px;
  font-size: 0.56rem;
  letter-spacing: 0.16em;
  color: var(--muted-2);
}

.route__title {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.3;
}

.route__meta {
  margin-top: 3px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-hi);
}

.route__text {
  margin-top: 7px;
  max-width: 58ch;
  color: var(--muted);
  font-size: 0.92rem;
}

.route__stop--club .route__time {
  border-color: transparent;
  background: linear-gradient(160deg, var(--orange-hi), var(--orange) 55%, var(--ember));
  color: #1a0b04;
  box-shadow: var(--glow);
}

.route__stop--club .route__pm {
  color: rgba(26, 11, 4, 0.7);
}

.route__stop--club .route__meta {
  color: var(--gold);
}

/* --- Quote band ----------------------------------------------------------- */

.quote {
  position: relative;
  overflow: hidden;
  padding-block: clamp(40px, 7vw, 78px);
  border-block: 1px solid var(--line);
  background:
    radial-gradient(600px 260px at 12% 120%, rgba(226, 59, 46, 0.28), transparent 70%),
    linear-gradient(120deg, #12060a, #1a0b0a 48%, #0b0814);
}

.quote::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -70px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 179, 71, 0.24), transparent 68%);
  pointer-events: none;
}

.quote__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2px;
}

.quote__line {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 5.4vw, 2.9rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: rgba(247, 239, 230, 0.92);
}

.quote__line--accent {
  color: var(--orange-hi);
  text-shadow: 0 0 34px rgba(242, 101, 34, 0.38);
}

.quote__dot {
  margin-inline: 0.35em;
  color: var(--orange);
}

.quote__zh {
  display: none;
  font-weight: 800;
  font-size: clamp(1.05rem, 3.8vw, 1.6rem);
  line-height: 1.55;
  letter-spacing: 0.04em;
  color: var(--gold);
}

html[data-lang="zh-Hant"] .quote__line {
  display: none;
}

html[data-lang="zh-Hant"] .quote__zh {
  display: block;
}

/* --- Gallery -------------------------------------------------------------- */

.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--ink-2);
}

.gallery__item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.gallery__item:hover img {
  transform: scale(1.035);
}

.gallery__item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px 14px 12px;
  background: linear-gradient(180deg, transparent, rgba(8, 11, 20, 0.92));
  color: var(--paper);
  font-size: 0.82rem;
  font-weight: 600;
}

/* Full-width slot only spans 2 columns at ≥1080 px; keep 4/3 in the 2-column
   range so a wide tile does not sit taller than its neighbour. */
.gallery__item--wide img {
  aspect-ratio: 4 / 3;
}

.clips {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 12px;
}

.clip {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #000;
}

.clip__video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #000;
}

.clip figcaption {
  padding: 10px 14px 12px;
  background: #000;
  color: var(--paper);
  font-size: 0.82rem;
  font-weight: 600;
}

/* --- Venue ---------------------------------------------------------------- */

.section--venue {
  background:
    radial-gradient(640px 320px at 6% 10%, rgba(41, 171, 226, 0.1), transparent 70%),
    linear-gradient(180deg, #080b14, #0a0e1a);
}

.venue {
  display: grid;
  gap: clamp(28px, 5vw, 44px);
  align-items: center;
}

.venue__facts {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.venue__facts li {
  display: grid;
  gap: 2px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.venue__fact-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.venue__fact-value {
  font-size: 0.92rem;
  font-weight: 700;
}

.venue__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.venue__actions .btn {
  flex: 1 1 200px;
}

.venue__card {
  position: relative;
  padding: clamp(18px, 4vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 50% 0%, rgba(41, 171, 226, 0.18), transparent 60%),
    linear-gradient(180deg, #101528, #080b14);
  box-shadow: var(--shadow);
}

.venue__sign {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: clamp(26px, 6vw, 46px) 14px;
  border: 2px solid rgba(41, 171, 226, 0.5);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(41, 171, 226, 0.12), rgba(0, 0, 0, 0.4));
  box-shadow: inset 0 0 40px rgba(41, 171, 226, 0.22), 0 0 30px rgba(41, 171, 226, 0.18);
  text-align: center;
}

.venue__sign-top {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--neon);
}

.venue__sign-name {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 7vw, 3.1rem);
  line-height: 1;
  letter-spacing: 0.04em;
  color: #eaf7ff;
  text-shadow: 0 0 18px rgba(41, 171, 226, 0.8), 0 0 48px rgba(41, 171, 226, 0.45);
}

.venue__sign-rule {
  width: 58px;
  height: 2px;
  background: var(--neon);
  box-shadow: 0 0 12px var(--neon);
}

.venue__sign-bottom {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(234, 247, 255, 0.7);
}

.venue__pin {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.78rem;
}

.venue__pin-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(198, 241, 53, 0.16);
}

/* --- FAQ ------------------------------------------------------------------ */

.section--faq {
  background: linear-gradient(180deg, #080b14, #0a0d18);
}

.faq {
  display: grid;
  gap: 10px;
  max-width: 840px;
}

.faq__item {
  padding-inline: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.faq__item[open] {
  border-color: rgba(242, 101, 34, 0.42);
  background: rgba(242, 101, 34, 0.07);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-block: 15px;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "";
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  background:
    linear-gradient(var(--orange-hi), var(--orange-hi)) center / 11px 2px no-repeat,
    linear-gradient(var(--orange-hi), var(--orange-hi)) center / 2px 11px no-repeat;
  transition: transform 0.22s ease;
}

.faq__item[open] summary::after {
  transform: rotate(45deg);
}

.faq__item p {
  max-width: 68ch;
  padding-bottom: 16px;
  color: var(--muted);
  font-size: 0.92rem;
}

/* --- QR sheet ------------------------------------------------------------- */

.sheet {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: end center;
}

.sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 12, 0.78);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.sheet__panel {
  position: relative;
  width: 100%;
  max-width: 640px;
  max-height: 92vh;
  overflow-y: auto;
  padding: 24px clamp(18px, 4vw, 30px) calc(24px + env(safe-area-inset-bottom));
  border: 1px solid var(--line-strong);
  border-bottom: 0;
  border-radius: 22px 22px 0 0;
  background: linear-gradient(180deg, #141a2c, #0a0d17);
  box-shadow: 0 -24px 70px rgba(0, 0, 0, 0.65);
  animation: sheet-in 0.28s ease;
}

.sheet__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--paper);
}

.sheet__close:hover {
  border-color: var(--orange-hi);
  color: var(--orange-hi);
}

.sheet__close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.sheet__title {
  padding-right: 48px;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 4.6vw, 1.8rem);
  line-height: 1.1;
  text-transform: uppercase;
}

html[data-lang="zh-Hant"] .sheet__title {
  text-transform: none;
}

.sheet__lede {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.qr-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.qr-card {
  margin: 0;
  padding: 10px;
  border-radius: 14px;
  background: #fff;
  color: #111;
  text-align: center;
}

.qr-card img {
  width: 100%;
  border-radius: 6px;
  background: #fff;
}

.qr-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 8px;
}

.qr-card__name {
  font-size: 0.88rem;
  font-weight: 800;
  color: #111;
}

.qr-card__desc {
  font-size: 0.72rem;
  color: #555;
}

.sheet__hint {
  margin-top: 16px;
  color: var(--muted-2);
  font-size: 0.8rem;
}

.sheet__panel > .btn--block {
  margin-top: 16px;
}

@keyframes sheet-in {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 720px) {
  .sheet {
    place-items: center;
  }

  .sheet__panel {
    padding-bottom: 28px;
    border-bottom: 1px solid var(--line-strong);
    border-radius: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sheet__panel {
    animation: none;
  }
}

/* --- Sticky mobile CTA ---------------------------------------------------- */

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  display: flex;
  gap: 8px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(8, 11, 20, 0.93);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: transform 0.3s ease;
}

.sticky-cta.is-hidden,
body.sheet-open .sticky-cta {
  transform: translateY(110%);
}

.sticky-cta .btn {
  flex: 1;
}

.sticky-cta__qr {
  flex: 0 0 50px;
  min-width: 50px;
  padding: 0;
}

.sticky-cta__qr svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (prefers-reduced-motion: reduce) {
  .sticky-cta {
    transition: none;
  }
}

/* --- Footer --------------------------------------------------------------- */

.site-footer {
  padding-block: clamp(38px, 6vw, 62px) 32px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #080b14, #0b0e19);
}

.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.site-footer__tag {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.site-footer__grid {
  display: grid;
  gap: 26px;
  padding-block: 26px;
}

.site-footer__heading {
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange-hi);
}

.site-footer__line {
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.7;
}

.site-footer__nav {
  display: grid;
  gap: 6px;
  align-content: start;
}

.site-footer__nav a {
  width: fit-content;
  color: var(--paper);
  font-size: 0.89rem;
  text-decoration: none;
}

.site-footer__nav a:hover {
  color: var(--orange-hi);
}

.site-footer .btn--sm {
  margin-top: 14px;
}

.site-footer__legal {
  max-width: 84ch;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 0.75rem;
  line-height: 1.65;
}

.site-footer__copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--muted-2);
  font-size: 0.75rem;
}

.site-footer__copy a {
  color: var(--muted);
}

.site-footer__dot {
  opacity: 0.5;
}

/* --- Reveal on scroll ----------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
  .reveal.reveal--ready {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s ease, transform 0.55s ease;
  }

  .reveal.reveal--ready.is-in {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery__item img,
  .gallery__item:hover img {
    transition: none;
    transform: none;
  }
}

/* --- Breakpoints ---------------------------------------------------------- */

@media (max-width: 900px) {
  body {
    padding-bottom: calc(70px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 559px) {
  .gallery__item--wide img {
    aspect-ratio: 16 / 10;
  }
}

@media (min-width: 560px) {
  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 700px) {
  :root {
    --header-h: 70px;
  }

  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .card {
    padding: 24px;
  }

  .clips {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .clip__video {
    aspect-ratio: auto;
    height: min(56vh, 460px);
    object-fit: contain;
  }

  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
  }
}

@media (min-width: 900px) {
  .site-nav {
    display: flex;
    gap: 20px;
  }

  .site-nav a {
    display: inline-flex;
    gap: 0;
  }

  .header-cta {
    display: inline-flex;
  }

  .sticky-cta {
    display: none;
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
  }

  .hero__title {
    font-size: clamp(2.9rem, 5.6vw, 4.4rem);
  }

  .hero__art {
    max-width: none;
  }

  .poster {
    transform: rotate(-1.6deg);
  }

  .route {
    max-width: 900px;
  }

  .route__stop {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 24px;
    padding-bottom: 30px;
  }

  .route__stop::before {
    left: 43px;
    top: 60px;
  }

  .route__time {
    width: 88px;
    height: 56px;
    font-size: 1.15rem;
  }

  .venue {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }

  .quote__inner {
    gap: 6px;
  }

  .site-footer__grid {
    grid-template-columns: 1.15fr 0.85fr 1fr;
  }
}

@media (min-width: 1080px) {
  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gallery {
    gap: 14px;
  }

  .gallery__item--wide {
    grid-column: span 2;
  }

  .gallery__item--wide img {
    aspect-ratio: 16 / 9;
  }

  .gallery {
    grid-auto-rows: minmax(0, auto);
  }
}

/* --- Print ---------------------------------------------------------------- */

@media print {
  .site-header,
  .ticker,
  .sticky-cta,
  .sheet,
  .hero__art,
  .countdown {
    display: none !important;
  }

  body {
    background: #fff;
    color: #111;
    padding-bottom: 0;
  }

  .t-zh {
    display: none !important;
  }
}

/* --- Reduced motion: stop ambient loops ----------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
