/* Aventa marketing site — design language of the app */

:root {
  --cream: #FBF1E6;
  --surface: #FFF6EE;
  --ink: #26241f;
  --muted: #6a6055;
  --orange: #EE5A13;
  --pink: #FF1A6E;
  --gold: #FFC24B;
  /* deeper burnt-orange for small label text — passes WCAG AA (>=4.5:1)
     on cream/surface where the bright --orange only reaches ~3:1 */
  --kicker: #B83A08;
  --plum-1: #43142F;
  --plum-2: #180A13;
  /* sunset-adjacent accents: expand the palette without churning the brand.
     Violet/teal are support hues only — orange→pink stays the lead story. */
  --violet: #8E4BD0;
  --teal: #0E9F94;
  --line: rgba(38, 36, 31, 0.12);
  --grad: linear-gradient(100deg, var(--orange), var(--pink));
  --grad-plum: linear-gradient(160deg, var(--plum-1), var(--plum-2));
  --radius: 20px;
  --shadow: 0 10px 30px rgba(58, 27, 46, 0.10);
  --shadow-lift: 0 16px 44px rgba(58, 27, 46, 0.16);
  --font-head: "Fredoka", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
  --font-mono: "Space Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

/* <picture> is only a source-switching wrapper — keep it out of layout so
   height:100% object-fit fills keep resolving against the styled container. */
picture { display: contents; }

/* ---------- arcana icon set ---------- */

.ico { width: 1.1em; height: 1.1em; flex: none; vertical-align: -0.18em; }
.g-icon .ico, .feature .icon .ico { width: 27px; height: 27px; }
.mk-glyph .ico { width: 24px; height: 24px; }
.trust-item .ic .ico, .included .ic .ico { width: 19px; height: 19px; }
.coin .ico { width: 14px; height: 14px; }
.type-badge .ico { width: 13px; height: 13px; vertical-align: -2.5px; margin-right: 2px; }
.chip .ico { width: 15px; height: 15px; vertical-align: -2.5px; }
.hero-chip .dot .ico { width: 19px; height: 19px; }
.key-progress .lab .ico-inline { width: 13px; height: 13px; vertical-align: -2px; }

a { color: inherit; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ---------- typography ---------- */

h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; }

h1 { font-size: clamp(2.1rem, 6vw, 3.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); }
h3 { font-size: 1.25rem; }

.kicker {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--kicker);
  display: block;
  margin-bottom: 0.7rem;
}

.dark .kicker { color: var(--gold); }

.lede { font-size: 1.15rem; color: var(--muted); max-width: 46rem; }
.dark .lede { color: rgba(255, 246, 238, 0.75); }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 241, 230, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 600;
  text-decoration: none;
}

.logo svg { width: 32px; height: 32px; }

.main-nav { display: flex; align-items: center; gap: 6px; }

.main-nav a {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink);
}

.main-nav a:hover { background: rgba(242, 106, 33, 0.10); }
.main-nav a.active { color: var(--orange); }

.main-nav .btn { color: #fff; margin-left: 6px; }
.main-nav .btn:hover { background: var(--grad); }

.lang-toggle {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  margin-left: 8px;
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.lang-toggle a, .lang-toggle span {
  padding: 5px 10px;
  text-decoration: none;
}

.lang-toggle .on { background: var(--ink); color: var(--cream); }

.nav-burger {
  display: none;
  background: none;
  border: 0;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
  padding: 6px;
}

@media (max-width: 860px) {
  .nav-burger { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px;
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px; }
  .main-nav .btn { margin: 8px 0 0; text-align: center; }
  .lang-toggle { align-self: flex-start; margin: 10px 0 0 8px; }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  padding: 13px 26px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 22px rgba(242, 106, 33, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(255, 46, 126, 0.35); }
.btn:active { transform: translateY(0); }

.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: none;
}
.btn.ghost:hover { background: rgba(38, 36, 31, 0.06); box-shadow: none; }

.dark .btn.ghost { color: var(--cream); border-color: rgba(255, 246, 238, 0.6); }
.dark .btn.ghost:hover { background: rgba(255, 246, 238, 0.08); }

.btn.big { padding: 16px 34px; font-size: 1.1rem; }

.btn .price { font-family: var(--font-mono); font-weight: 700; font-size: 0.95em; }

/* ---------- sections ---------- */

section { padding: clamp(72px, 7vw, 96px) 0; }

.section-head { margin-bottom: 40px; }

.dark {
  background: var(--grad-plum);
  color: var(--surface);
}

/* ---------- hero ---------- */

.hero { padding: 76px 0 64px; overflow: hidden; }

.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero h1 { margin: 0 0 18px; }
.hero .lede { margin-bottom: 30px; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 26px; }

.store-badges { display: flex; gap: 12px; flex-wrap: wrap; }

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
  padding: 8px 16px;
  line-height: 1.15;
}

.store-badge svg { width: 22px; height: 22px; flex: none; }
.store-badge small { display: block; font-size: 0.62rem; opacity: 0.8; letter-spacing: 0.04em; }
.store-badge strong { font-size: 0.98rem; font-family: var(--font-head); font-weight: 500; }

.hero-visual { position: relative; }

.hero-stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.hero-stack .shot {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  aspect-ratio: 3 / 4;
  background: var(--surface);
}

.hero-stack .shot img { width: 100%; height: 100%; object-fit: cover; }

/* the landscape AR shot is cropped to a portrait frame; anchor the crop to
   its right so the phone + AR character stay in view instead of being cut */
.hero-stack .shot:first-child img { object-position: 82% 50%; }

.hero-stack .shot:nth-child(2) { transform: translateY(26px); }

.hero-chip {
  /* sits in flow below the photos (46px clears the 26px-offset second shot),
     so it never covers the pictures */
  margin-top: 46px;
  width: fit-content;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 11px 20px 11px 11px;
  border-radius: 16px;
  background: rgba(36, 16, 25, 0.62);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  border: 1px solid rgba(255, 194, 75, 0.32);
  box-shadow: 0 18px 44px rgba(36, 16, 25, 0.5), inset 0 1px 0 rgba(255, 246, 238, 0.07);
  color: var(--surface);
}

.hero-chip .dot {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, rgba(255, 194, 75, 0.42), rgba(255, 194, 75, 0.1));
  border: 1px solid rgba(255, 194, 75, 0.5);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  flex: none;
  box-shadow: 0 0 18px rgba(255, 194, 75, 0.4);
  animation: keyGlow 3.6s ease-in-out infinite;
}

@keyframes keyGlow {
  0%, 100% { box-shadow: 0 0 12px rgba(255, 194, 75, 0.28); }
  50% { box-shadow: 0 0 24px rgba(255, 194, 75, 0.6); }
}

.hero-chip .chip-kicker {
  display: block;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.hero-chip b {
  display: block;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.05rem;
  line-height: 1.15;
  color: var(--surface);
}

.hero-chip small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.03em;
  color: rgba(255, 246, 238, 0.72);
  margin-top: 3px;
}

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero-chip { margin-top: 40px; }
}

/* ---------- steps ---------- */

.steps { background: var(--surface); }

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

/* ---- how-it-works (partners): the steps ARE a walking route.
   No cards: a dotted SVG trail draws itself in, gradient waypoint markers
   pop onto it, a small walker dot loops the path forever. ---- */

.route-steps { position: relative; }

.route-trail {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 130px;
  overflow: visible;
  pointer-events: none;
}

.route-points {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  padding-top: 140px;
}

.wp .num {
  position: absolute;
  left: var(--x); top: var(--y);
  transform: translate(-50%, -50%);
  width: 54px; height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  background: var(--grad);
  box-shadow: 0 0 0 5px var(--surface), 0 0 0 6px var(--line),
    0 14px 30px color-mix(in srgb, var(--orange) 40%, transparent);
  transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1);
  z-index: 1;
}

.wp:hover .num { transform: translate(-50%, -50%) scale(1.14); }
/* markers sample the sunset trail at their own position:
   gold dawn -> orange -> pink -> magenta -> violet dusk (app palette, no teal) */
.wp:nth-child(1) .num {
  background: linear-gradient(100deg, var(--gold), var(--orange));
  box-shadow: 0 0 0 5px var(--surface), 0 0 0 6px var(--line),
    0 14px 30px color-mix(in srgb, var(--gold) 50%, transparent);
}
.wp:nth-child(3) .num {
  background: linear-gradient(100deg, var(--pink), #C6329F);
  box-shadow: 0 0 0 5px var(--surface), 0 0 0 6px var(--line),
    0 14px 30px color-mix(in srgb, var(--pink) 40%, transparent);
}
.wp:nth-child(4) .num {
  background: linear-gradient(100deg, #C6329F, var(--violet));
  box-shadow: 0 0 0 5px var(--surface), 0 0 0 6px var(--line),
    0 14px 30px color-mix(in srgb, var(--violet) 40%, transparent);
}
.wp:nth-child(5) .num {
  background: linear-gradient(100deg, var(--violet), #7134A8);
  box-shadow: 0 0 0 5px var(--surface), 0 0 0 6px var(--line),
    0 14px 30px color-mix(in srgb, var(--violet) 45%, transparent);
}

.wp-txt { text-align: center; }
/* each day chip wears its waypoint's sunset hue: a filled dot + tinted pill,
   so the badges ride the same gold->violet ramp as the trail */
.wp { --day-hue: var(--orange); --day-ink: var(--kicker); }
.wp:nth-child(1) { --day-hue: var(--gold); --day-ink: #9A5A00; }
.wp:nth-child(3) { --day-hue: var(--pink); --day-ink: #C0155C; }
.wp:nth-child(4) { --day-hue: #C6329F; --day-ink: #9E2781; }
.wp:nth-child(5) { --day-hue: var(--violet); --day-ink: #6D2FB5; }
.wp-txt .day {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--day-ink);
  background: color-mix(in srgb, var(--day-hue) 12%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--day-hue) 32%, transparent);
  border-radius: 999px;
  padding: 4px 11px;
  line-height: 1.4;
  margin-bottom: 10px;
}
.wp-txt .day::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--day-hue);
}
.wp-txt h3 { margin-bottom: 6px; font-size: 1.08rem; }
.wp-txt p { color: var(--muted); font-size: 0.92rem; line-height: 1.55; }

/* trail draws itself in left-to-right; each waypoint pops as the ribbon
   reaches it (delays synced to the draw), text follows just after */
.js .route-trail.reveal {
  opacity: 1;
  transform: none;
  clip-path: inset(-24px 100% -24px 0);
  transition: clip-path 1.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js .route-trail.reveal.in { clip-path: inset(-24px -3% -24px 0); }
@media (min-width: 1160px) {
  .wp:nth-child(1) { --d: 100ms; }
  .wp:nth-child(2) { --d: 420ms; }
  .wp:nth-child(3) { --d: 760ms; }
  .wp:nth-child(4) { --d: 1150ms; }
  .wp:nth-child(5) { --d: 1500ms; }
  .js .wp-txt.reveal { transition-delay: calc(var(--d, 0ms) + 150ms); }
}
.js .wp .num.reveal {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.3);
  transition: opacity 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--d, 0ms);
}
.js .wp .num.reveal.in { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* below the wide breakpoint the route runs vertically: markers on a
   dashed rail, text beside them — still no cards */
@media (max-width: 1159px) {
  .route-trail { display: none; }
  .route-points { display: block; padding-top: 4px; }
  .wp {
    position: relative;
    display: grid;
    grid-template-columns: 54px 1fr;
    column-gap: 18px;
    padding-bottom: 34px;
  }
  .wp:last-child { padding-bottom: 0; }
  .wp .num { position: static; transform: none; }
  .wp:hover .num { transform: scale(1.08); }
  .js .wp .num.reveal { transform: scale(0.3); }
  .js .wp .num.reveal.in { transform: none; }
  .wp:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 26px; top: 62px; bottom: 8px;
    width: 0;
    border-left: 2px dashed rgba(238, 90, 19, 0.38);
  }
  .wp-txt { text-align: left; grid-column: 2; grid-row: 1; }
}

@media (max-width: 780px) { .steps-grid { grid-template-columns: 1fr; } }

/* ---------- features ---------- */

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

.feature {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}

.feature .icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  color: var(--orange);
  background: radial-gradient(circle at 30% 25%, rgba(255, 194, 75, 0.42), rgba(238, 90, 19, 0.10));
  border: 1px solid rgba(238, 90, 19, 0.22);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.feature h3 { margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 0.96rem; }

@media (max-width: 900px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .features-grid { grid-template-columns: 1fr; } }

/* two-up variant (partner FAQ): must still collapse on phones */
.features-grid.duo { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 620px) { .features-grid.duo { grid-template-columns: 1fr; } }

/* ---------- master key (dark) ---------- */

.masterkey h2 .gold {
  background: linear-gradient(100deg, var(--gold) 20%, #ffe3a3 40%, var(--gold) 60%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: goldShimmer 5s ease-in-out infinite;
}

@keyframes goldShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.masterkey h2 { margin-bottom: 18px; }
.masterkey p { color: rgba(255, 246, 238, 0.78); margin-bottom: 16px; }

/* top row: copy + door portrait */
.mk-top {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 860px) {
  .mk-top { grid-template-columns: 1fr; gap: 40px; }
}

/* step cards under the top row */
.mk-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
  padding: 0;
}

@media (max-width: 980px) { .mk-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .mk-steps { grid-template-columns: 1fr; } }

.mk-step {
  position: relative;
  background: rgba(255, 246, 238, 0.05);
  border: 1px solid rgba(255, 194, 75, 0.28);
  border-radius: var(--radius);
  padding: 24px 22px 22px;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.mk-step:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 194, 75, 0.75);
  background: rgba(255, 246, 238, 0.08);
  box-shadow: 0 14px 34px rgba(20, 8, 14, 0.5), 0 0 24px rgba(255, 194, 75, 0.14);
}

.mk-step .mk-num {
  position: absolute;
  top: 16px;
  right: 18px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 194, 75, 0.55);
}

.mk-step .mk-glyph {
  font-size: 1.35rem;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: rgba(255, 194, 75, 0.14);
  border: 1px solid rgba(255, 194, 75, 0.28);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mk-step:hover .mk-glyph {
  transform: scale(1.08);
  box-shadow: 0 0 18px rgba(255, 194, 75, 0.35);
}

.mk-step h3 {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 6px;
}

.mk-step p { font-size: 0.92rem; color: rgba(255, 246, 238, 0.72); margin: 0; }

/* ---------- tour cards ---------- */

.tour-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

@media (max-width: 980px) { .tour-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .tour-grid { grid-template-columns: 1fr; } }

/* two-up variant (partners index): must still collapse on phones */
.tour-grid.duo { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 620px) { .tour-grid.duo { grid-template-columns: 1fr; } }

.tour-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.tour-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }

.tour-card .cover {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #e9d8c6, #d9c1a8);
  position: relative;
}

.tour-card .cover img { width: 100%; height: 100%; object-fit: cover; }

.type-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(38, 36, 31, 0.82);
  color: #fff;
  backdrop-filter: blur(4px);
}

.type-badge.game { background: var(--grad); }

/* Audio-filter swap: game+audio cards flip their badge to AUDIO when the catalog's
   Audio filter is active (`.audio-mode` is set on the card by the filter script). */
.tour-card .type-badge.audio-alt { display: none; }
.tour-card.audio-mode .type-badge.game { display: none; }
.tour-card.audio-mode .type-badge.audio-alt { display: block; }

.tour-card .body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }

.tour-card .city {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.tour-card h3 { font-size: 1.3rem; }

.tour-card .meta {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.tour-card .price {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  background: rgba(255, 194, 75, 0.28);
  border-radius: 999px;
  padding: 4px 12px;
}

/* ---------- catalog filters ---------- */

.filters { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

.chip-row .label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 6px;
}

.chip {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.88rem;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  transition: all 0.12s ease;
}

.chip:hover { border-color: var(--orange); }

.chip.on {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.count-note { font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted); }

/* ---------- tour detail ---------- */

.tour-hero { padding: 0; }

.tour-hero .banner {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
}

.tour-hero .banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(36, 16, 25, 0.88) 0%, rgba(36, 16, 25, 0.25) 55%, rgba(36, 16, 25, 0.15) 100%);
}

.tour-hero .banner .wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: 120px;
  padding-bottom: 40px;
  color: var(--surface);
}

.tour-hero h1 { margin: 6px 0 8px; }
.tour-hero .subtitle { font-size: 1.2rem; font-weight: 700; color: rgba(255, 246, 238, 0.9); }

.stat-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

.stat-chip {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 246, 238, 0.14);
  border: 1px solid rgba(255, 246, 238, 0.3);
  backdrop-filter: blur(4px);
}

.tour-body { padding: 56px 0; }

.tour-body .wrap {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 900px) { .tour-body .wrap { grid-template-columns: 1fr; } }

.tour-body .teaser { font-size: 1.18rem; font-weight: 700; margin-bottom: 18px; }
.tour-body .desc { color: var(--muted); margin-bottom: 34px; }

.included { margin-bottom: 34px; }
.included h2 { font-size: 1.4rem; margin-bottom: 16px; }

.included ul { list-style: none; display: grid; gap: 12px; }

.included li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--surface);
  border-radius: 14px;
  padding: 13px 16px;
  font-size: 0.98rem;
}

.included li .ic { flex: none; font-size: 1.1rem; }
.included li.gold { border: 1px solid rgba(255, 194, 75, 0.7); background: rgba(255, 194, 75, 0.14); }

.sample-stops h2 { font-size: 1.4rem; margin-bottom: 6px; }
.sample-stops .hint { font-size: 0.88rem; color: var(--muted); margin-bottom: 16px; }

.sample-stops ol { list-style: none; counter-reset: stop; display: grid; gap: 10px; }

.sample-stops li {
  counter-increment: stop;
  display: flex;
  gap: 14px;
  align-items: center;
  font-weight: 700;
}

.sample-stops li::before {
  content: counter(stop, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #fff;
  background: var(--grad);
  border-radius: 50%;
  width: 30px; height: 30px;
  flex: none;
  display: grid;
  place-items: center;
}

.sample-stops li.more::before { content: "···"; background: var(--ink); }
.sample-stops li.more { color: var(--muted); }

/* CTA panel */

.cta-panel {
  position: sticky;
  top: 88px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  padding: 28px;
}

.cta-panel .price-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.cta-panel .price-line .amount { font-family: var(--font-mono); font-weight: 700; font-size: 1.5rem; }
.cta-panel .price-line .per { font-size: 0.85rem; color: var(--muted); }

.cta-panel .note { font-size: 0.88rem; color: var(--muted); margin-bottom: 20px; }

.cta-panel .btn { width: 100%; margin-bottom: 12px; }

.cta-panel .fine {
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  margin-top: 6px;
}

.free-flag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--orange);
  border: 1.5px dashed var(--orange);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 14px;
}

/* ---------- QR modal ---------- */

.qr-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(36, 16, 25, 0.6);
  backdrop-filter: blur(4px);
  padding: 20px;
}

.qr-modal.open { display: flex; }

.qr-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  max-width: 420px;
  width: 100%;
  padding: 34px;
  text-align: center;
  position: relative;
}

.qr-card h3 { margin-bottom: 8px; }
.qr-card p { color: var(--muted); font-size: 0.94rem; margin-bottom: 20px; }

.qr-box {
  display: inline-block;
  background: #fff;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  margin-bottom: 20px;
}

.qr-box img, .qr-box canvas { display: block; width: 200px; height: 200px; image-rendering: pixelated; }

.qr-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: 0;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--muted);
}

.qr-card .store-badges { justify-content: center; }

/* ---------- partners ---------- */

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

@media (max-width: 900px) { .value-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .value-grid { grid-template-columns: 1fr; } }

.page-hero { padding: 72px 0 56px; }
.page-hero h1 { margin-bottom: clamp(20px, 2.6vw, 30px); max-width: 46rem; }

.ref-example {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
}

.ref-example .glyph {
  font-size: 2rem;
  width: 72px; height: 72px;
  border-radius: 20px;
  background: rgba(255, 194, 75, 0.25);
  display: grid;
  place-items: center;
}

.ref-example h3 { margin-bottom: 6px; }
.ref-example p { color: var(--muted); font-size: 0.96rem; }

@media (max-width: 620px) { .ref-example { grid-template-columns: 1fr; } }

/* partner page: inline QR demo (ref-example variant) */
.qr-demo {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(58, 27, 46, 0.05), 0 6px 16px rgba(58, 27, 46, 0.06);
}
.qr-demo .qr-box {
  margin-bottom: 0;
  border-color: var(--ink);
  padding: 12px;
}
@media (max-width: 620px) { .qr-demo .qr-box { justify-self: center; } }

/* partner page: crisper cards on tinted sections — white fill, hairline border */
.crisp .feature {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(58, 27, 46, 0.05), 0 6px 16px rgba(58, 27, 46, 0.06);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.crisp .feature:hover { border-color: rgba(238, 90, 19, 0.3); box-shadow: var(--shadow); }

/* forms */

.form-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px;
  max-width: 640px;
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-grid .full { grid-column: 1 / -1; }

@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }

.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.field input, .field textarea, .field select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--cream);
  color: var(--ink);
}

.field input:focus, .field textarea:focus, .field select:focus {
  outline: 2px solid var(--orange);
  outline-offset: 1px;
  border-color: transparent;
}

.field textarea { min-height: 120px; resize: vertical; }

.form-card .btn { margin-top: 20px; }

.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 14px; }

/* ---------- footer ---------- */

.site-footer {
  background: var(--grad-plum);
  color: rgba(255, 246, 238, 0.8);
  padding: 56px 0 32px;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

.site-footer .logo { color: var(--surface); margin-bottom: 12px; }

.site-footer p { font-size: 0.9rem; max-width: 30rem; }

.site-footer h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.site-footer ul { list-style: none; display: grid; gap: 9px; }

.site-footer ul a { text-decoration: none; font-size: 0.94rem; }
.site-footer ul a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255, 246, 238, 0.15);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255, 246, 238, 0.55);
}

/* ---------- legal / prose pages ---------- */

.prose { max-width: 46rem; padding: 64px 20px; margin: 0 auto; }
.prose h1 { margin-bottom: 24px; }
.prose h2 { font-size: 1.3rem; margin: 32px 0 10px; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 22px; margin: 10px 0; }

/* ---------- misc ---------- */

.center { text-align: center; }
.mt-40 { margin-top: 40px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--cream);
  padding: 10px 16px;
  border-radius: 0 0 12px 0;
  z-index: 200;
}
.skip-link:focus { left: 0; }

/* keyboard focus — branded, high-contrast ring */
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}
.dark :focus-visible,
.site-footer :focus-visible,
.game-tile.mystery :focus-visible,
.cta-final .panel :focus-visible { outline-color: var(--gold); }

/* ============================================================
   Enhancements: animation, premium polish, gamification
   ============================================================ */

/* --- scroll reveal (hidden state only when JS is running: html.js) --- */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--d, 0ms);
}
.js .reveal.in { opacity: 1; transform: none; }

/* --- animated gradient headline --- */
.grad-text {
  background-size: 220% auto;
  animation: gradShift 7s ease-in-out infinite;
}
@keyframes gradShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* --- floating hero shots --- */
.hero-stack .shot { animation: floaty 7s ease-in-out infinite; }
.hero-stack .shot:nth-child(2) { transform: none; margin-top: 28px; animation-delay: -3.5s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* --- primary button sheen --- */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -130%;
  width: 55%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-18deg);
  pointer-events: none;
}
.btn:hover::after { animation: sheen 0.8s ease; }
@keyframes sheen { to { left: 140%; } }

/* --- gamified counters (hero) --- */
.stat-strip { display: flex; flex-wrap: wrap; gap: 14px 30px; margin-top: 28px; }
.stat-counter { display: flex; flex-direction: column; }
.stat-counter .n {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.95rem;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-counter .l {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 5px;
}


/* --- coin chip --- */
.coin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.74rem;
  color: #7c5708;
  background: linear-gradient(120deg, rgba(255, 194, 75, 0.42), rgba(255, 158, 60, 0.28));
  border: 1px solid rgba(197, 141, 25, 0.35);
  border-radius: 999px;
  padding: 5px 11px;
}

/* --- games grid (gradient-border tiles) --- */
.games-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 920px) { .games-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .games-grid { grid-template-columns: 1fr; } }

.game-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: linear-gradient(155deg, var(--surface), #FFEEDC);
  border: 1px solid rgba(238, 90, 19, 0.14);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
/* pin the label pill to the bottom so it aligns across every card in a row */
.game-tile .coin { margin-top: auto; }
.game-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.6px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}
.game-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.game-tile:hover::before { opacity: 1; }
.game-tile .g-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--orange);
  background: radial-gradient(circle at 30% 25%, rgba(255, 194, 75, 0.45), rgba(238, 90, 19, 0.10));
  border: 1px solid rgba(238, 90, 19, 0.22);
  margin-bottom: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.game-tile:hover .g-icon {
  transform: scale(1.07) rotate(-3deg);
  box-shadow: 0 6px 18px rgba(238, 90, 19, 0.28);
}
.game-tile.key .g-icon { background: rgba(255, 194, 75, 0.22); }
.game-tile h3 { margin-bottom: 6px; }
.game-tile p { color: var(--muted); font-size: 0.95rem; margin-bottom: 14px; }

/* headline-game ribbon (mirrors the app's HEADLINE GAME badge) */
.g-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 194, 75, 0.25);
  color: #8a6410;
}

/* the locals' tile — the dark accent of the grid */
.game-tile.mystery {
  background: var(--grad-plum);
  border-color: rgba(255, 194, 75, 0.35);
  color: var(--surface);
}
.game-tile.mystery h3 { color: var(--gold); }
.game-tile.mystery p { color: rgba(255, 246, 238, 0.72); }
.game-tile.mystery .g-icon {
  color: var(--gold);
  background: radial-gradient(circle at 30% 25%, rgba(255, 194, 75, 0.28), rgba(255, 194, 75, 0.08));
  border-color: rgba(255, 194, 75, 0.4);
  box-shadow: 0 0 16px rgba(255, 194, 75, 0.18);
}
.game-tile.mystery .coin { background: rgba(255, 194, 75, 0.18); border-color: rgba(255, 194, 75, 0.4); color: var(--gold); }
.game-tile.mystery:hover .g-icon { box-shadow: 0 0 24px rgba(255, 194, 75, 0.4); }

.stamp {
  position: absolute;
  top: 18px;
  right: 16px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  /* burnt orange reads on the light tile (AA on cream); rubber-stamp look kept */
  color: var(--kicker);
  border: 1.5px solid rgba(184, 58, 8, 0.5);
  border-radius: 6px;
  padding: 4px 8px;
  transform: rotate(6deg);
}

/* --- section head with a side visual (games section) --- */
.head-visual-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}
@media (max-width: 860px) { .head-visual-grid { grid-template-columns: 1fr; } }
.head-visual-grid .section-head { margin-bottom: 0; }

.head-visual {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}
.head-visual img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 11; display: block; }
.head-visual figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  right: 14px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  background: rgba(36, 16, 25, 0.72);
  backdrop-filter: blur(4px);
  border-radius: 12px;
  padding: 9px 14px;
}

/* --- master key: vault door portrait --- */
.mk-door {
  margin: 0;
  position: relative;
  justify-self: center;
  width: min(100%, 400px);
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  border: 1px solid rgba(255, 194, 75, 0.45);
  animation: doorGlow 5.5s ease-in-out infinite;
}

.mk-door img {
  width: 100%;
  height: auto;
  aspect-ratio: 800 / 993;
  object-fit: cover;
  display: block;
}

/* slow light sweep across the door, like a lantern passing */
.mk-door::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 32%, rgba(255, 224, 160, 0.15) 48%, transparent 64%);
  background-size: 260% 100%;
  background-position: 140% 0;
  animation: doorSweep 7s ease-in-out infinite;
  pointer-events: none;
}

@keyframes doorGlow {
  0%, 100% { box-shadow: 0 0 26px rgba(255, 194, 75, 0.14), var(--shadow-lift); }
  50% { box-shadow: 0 0 54px rgba(255, 194, 75, 0.32), var(--shadow-lift); }
}

@keyframes doorSweep {
  0% { background-position: 140% 0; }
  45%, 100% { background-position: -40% 0; }
}

@media (max-width: 860px) { .mk-door { width: min(100%, 340px); } }

/* --- master key: drifting glow orbs + progress bar --- */
.masterkey { position: relative; overflow: hidden; }
.masterkey::before {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  right: -180px;
  top: -180px;
  background: radial-gradient(circle, rgba(255, 194, 75, 0.18), transparent 68%);
  pointer-events: none;
  animation: orbDrift 16s ease-in-out infinite;
}
.masterkey::after {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  left: -200px;
  bottom: -220px;
  background: radial-gradient(circle, rgba(255, 46, 126, 0.12), transparent 68%);
  pointer-events: none;
  animation: orbDrift 20s ease-in-out -8s infinite reverse;
}
@keyframes orbDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-60px, 40px) scale(1.12); }
}
.masterkey .wrap { position: relative; z-index: 1; }
.key-progress { margin-top: 24px; }
.js .key-progress { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .key-progress.in { opacity: 1; transform: none; }
.key-progress .bar {
  height: 13px;
  border-radius: 999px;
  background: rgba(255, 246, 238, 0.1);
  border: 1px solid rgba(255, 194, 75, 0.3);
  overflow: hidden;
}
.key-progress .fill {
  display: block;
  position: relative;
  overflow: hidden;
  height: 100%;
  width: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), #ffd77e);
  box-shadow: 0 0 18px rgba(255, 194, 75, 0.6);
  transition: width 1.6s cubic-bezier(0.2, 0.7, 0.2, 1) 0.2s;
}

/* recurring shine along the filled bar */
.key-progress .fill::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 45%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-18deg);
  animation: barShine 3.2s ease-in-out 1.2s infinite;
}

@keyframes barShine {
  0% { left: -60%; }
  55%, 100% { left: 130%; }
}
.js .key-progress .fill { width: 0; }
.js .key-progress.in .fill { width: 100%; }
.key-progress .lab {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 11px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: rgba(255, 246, 238, 0.72);
}
.key-progress .lab .gold { color: var(--gold); }

/* --- selling value panel --- */
.value-panel {
  background: var(--surface);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow-lift);
  padding: 42px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 820px) { .value-panel { grid-template-columns: 1fr; padding: 28px; gap: 28px; } }
.value-panel h2 { margin: 6px 0 20px; }
.value-list { list-style: none; display: grid; gap: 14px; }
.value-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 700; }
.value-list li .tick {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  box-shadow: 0 4px 12px rgba(242, 106, 33, 0.3);
}
.value-price { text-align: center; }
.value-price .big-price {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 3.1rem;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.value-price .btn { margin-top: 4px; }

/* --- premium final CTA panel --- */
.cta-final .panel {
  position: relative;
  overflow: hidden;
  background: var(--grad-plum);
  color: var(--surface);
  border-radius: calc(var(--radius) + 8px);
  padding: 60px 40px;
  text-align: center;
  box-shadow: var(--shadow-lift);
}
.cta-final .panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 28% 18%, rgba(242, 106, 33, 0.38), transparent 52%),
             radial-gradient(circle at 82% 92%, rgba(255, 46, 126, 0.32), transparent 52%);
  pointer-events: none;
}
.cta-final .panel > * { position: relative; }
.cta-final h2 { color: var(--surface); }

/* tour cards: premium gradient ring on hover */
.tour-card { position: relative; }
.tour-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.6px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}
.tour-card:hover::after { opacity: 1; }

/* --- magic mood: twinkling spark layers --- */
.sparks {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.sparks::before,
.sparks::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(2px 2px at 12% 28%, rgba(255, 194, 75, 0.9), transparent 60%),
    radial-gradient(1.5px 1.5px at 38% 64%, rgba(255, 146, 75, 0.8), transparent 60%),
    radial-gradient(2px 2px at 61% 20%, rgba(255, 194, 75, 0.75), transparent 60%),
    radial-gradient(1.5px 1.5px at 78% 52%, rgba(255, 26, 110, 0.55), transparent 60%),
    radial-gradient(2px 2px at 90% 78%, rgba(255, 194, 75, 0.8), transparent 60%),
    radial-gradient(1.5px 1.5px at 25% 86%, rgba(255, 146, 75, 0.7), transparent 60%);
  animation: sparkTwinkle 4.6s ease-in-out infinite;
}

.sparks::after {
  background-position: 42px 58px;
  animation-delay: -2.3s;
  animation-duration: 5.8s;
}

@keyframes sparkTwinkle {
  0%, 100% { opacity: 0.15; }
  50% { opacity: 0.85; }
}

/* sparks sit behind content */
.hero { position: relative; }
.hero .wrap { position: relative; z-index: 1; }
.hero .sparks { opacity: 0.6; }
.cta-final .panel .sparks { position: absolute; inset: 0; }

/* --- magic mood: soft corner glows in the games section --- */
#games { position: relative; overflow: hidden; }
#games::before,
#games::after {
  content: "";
  position: absolute;
  width: 540px;
  height: 540px;
  pointer-events: none;
}
#games::before {
  left: -220px;
  top: -160px;
  background: radial-gradient(circle, rgba(255, 26, 110, 0.07), transparent 68%);
}
#games::after {
  right: -220px;
  bottom: -160px;
  background: radial-gradient(circle, rgba(255, 194, 75, 0.12), transparent 68%);
}

/* punchier final CTA glow */
.cta-final .panel::before {
  background: radial-gradient(circle at 28% 18%, rgba(238, 90, 19, 0.5), transparent 52%),
             radial-gradient(circle at 82% 92%, rgba(255, 26, 110, 0.42), transparent 52%);
}

/* ============================================================
   3D layer — pointer tilt + glare, hero depth scene, vault door,
   spinning coin. JS (quest.js) drives transforms inline; CSS only
   provides perspective containers, glare and non-hover states.
   ============================================================ */

.js [data-tilt] { position: relative; }
.js [data-tilt].tilting { will-change: transform; }

.js [data-tilt] .glare {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(320px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, 0.3), transparent 62%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 3;
}
.js [data-tilt].tilting .glare { opacity: 1; }

/* warm glare on dark surfaces */
.mk-door .glare, .mk-step .glare, .game-tile.mystery .glare, .compare-card.win .glare, .vs-card.us .glare {
  background: radial-gradient(300px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 214, 130, 0.28), transparent 60%);
}

/* hero depth scene: the shots rotate as one 3D plane, the key chip
   floats on a nearer layer (counter-parallax set by JS) */
.hero-visual { perspective: 1100px; }
.js .hero-stack { transform-style: preserve-3d; transition: transform 0.35s ease-out; }
.js .hero-chip { transition: transform 0.35s ease-out; }

/* vault door: scroll-driven rotateY set by JS (swings shut as you arrive) */
.js .mk-door { will-change: transform; }

/* spinning 3D coin */
.coin3d {
  width: 22px;
  height: 22px;
  position: relative;
  flex: none;
  transform-style: preserve-3d;
  animation: coinSpin 3.4s linear infinite;
}
.coin3d i {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  backface-visibility: hidden;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 0.62em;
  color: #7c5708;
  background: radial-gradient(circle at 32% 28%, #ffe9b8, #ffc24b 58%, #e09a1f);
  border: 1.5px solid #c58d19;
  box-shadow: inset 0 0 6px rgba(124, 87, 8, 0.35);
}
.coin3d i.back { transform: rotateY(180deg); }
@keyframes coinSpin { from { transform: rotateY(0); } to { transform: rotateY(360deg); } }

/* ============================================================
   Quest layer — scroll-collected seals, HUD, toast, easter egg
   ============================================================ */

.quest-hud {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(31, 13, 21, 0.92);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  border: 1px solid rgba(255, 194, 75, 0.55);
  border-radius: 999px;
  padding: 9px 18px 9px 11px;
  color: var(--surface);
  /* warm outer glow so the pill lifts off the cream page instead of sinking */
  box-shadow: 0 14px 40px rgba(36, 16, 25, 0.5), 0 6px 26px rgba(238, 90, 19, 0.2);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}
.quest-hud.show { opacity: 1; transform: none; }

.quest-hud .qh-key {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold);
  background: radial-gradient(circle at 32% 30%, rgba(255, 194, 75, 0.55), rgba(255, 194, 75, 0.1));
  border: 1px solid rgba(255, 194, 75, 0.75);
  box-shadow: inset 0 0 8px rgba(255, 194, 75, 0.25), 0 0 10px rgba(255, 194, 75, 0.2);
  flex: none;
}
.quest-hud .qh-key .ico { width: 17px; height: 17px; }
.quest-hud.done .qh-key { animation: keyGlow 2.4s ease-in-out infinite; }

.quest-hud .qh-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 246, 238, 0.9);
  margin-bottom: 3px;
}
.qh-seals { display: flex; gap: 5px; }
.qh-seal {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  /* legible "empty" slot so the 0/5 → 5/5 track reads at a glance */
  border: 1.5px solid rgba(255, 194, 75, 0.7);
  background: rgba(255, 194, 75, 0.12);
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.qh-seal.lit {
  background: var(--gold);
  box-shadow: 0 0 4px rgba(255, 194, 75, 0.95), 0 0 12px rgba(255, 194, 75, 0.7);
  transform: scale(1.2);
}
.quest-hud .qh-count {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: #FFD98C;
}
.quest-hud .qh-coins {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  border-left: 1px solid rgba(255, 246, 238, 0.18);
  padding-left: 12px;
}

.quest-toast {
  position: fixed;
  left: 50%;
  bottom: 86px;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  max-width: min(92vw, 440px);
  background: rgba(36, 16, 25, 0.92);
  border: 1px solid rgba(255, 194, 75, 0.5);
  border-radius: 999px;
  padding: 10px 20px;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  box-shadow: 0 16px 44px rgba(36, 16, 25, 0.5), 0 0 22px rgba(255, 194, 75, 0.2);
  opacity: 0;
  transform: translate(-50%, 18px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}
.quest-toast.show { opacity: 1; transform: translate(-50%, 0); }
.quest-toast .ico { width: 15px; height: 15px; flex: none; }

/* hidden rune — the page's own find-it game */
.egg {
  position: absolute;
  right: 26px;
  bottom: 20px;
  width: 38px;
  height: 38px;
  background: none;
  border: 0;
  padding: 6px;
  color: rgba(255, 194, 75, 0.22);
  cursor: pointer;
  z-index: 2;
  transition: color 0.3s ease, transform 0.3s ease;
}
.egg .ico { width: 100%; height: 100%; }
.egg:hover, .egg:focus-visible { color: rgba(255, 194, 75, 0.85); transform: scale(1.15) rotate(-6deg); }
.egg.found { color: var(--gold); animation: eggPop 0.6s ease; cursor: default; }
@keyframes eggPop { 30% { transform: scale(1.6) rotate(10deg); } }

/* finale reward line, unhidden when all seals are found */
.quest-reward {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  border: 1.5px dashed rgba(255, 194, 75, 0.6);
  border-radius: 999px;
  padding: 8px 18px;
  margin-bottom: 18px;
}
.quest-reward .ico { width: 16px; height: 16px; }

/* ============================================================
   Selling layer — sticky CTA, price anchoring, FAQ
   ============================================================ */

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(251, 241, 230, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px rgba(58, 27, 46, 0.12);
  transform: translateY(110%);
  transition: transform 0.35s ease;
}
.sticky-cta.show { transform: none; }
.sticky-cta .sc-txt b { display: block; font-family: var(--font-head); font-weight: 600; font-size: 0.98rem; line-height: 1.2; }
.sticky-cta .sc-txt small { display: block; font-family: var(--font-mono); font-size: 0.66rem; color: var(--muted); }
.sticky-cta .btn { padding: 11px 22px; flex: none; }

@media (max-width: 700px) {
  .sticky-cta { display: flex; }
  .quest-hud { left: 10px; bottom: 76px; padding: 7px 13px 7px 9px; gap: 9px; }
  .quest-hud .qh-label { display: none; }
  .quest-hud .qh-count { display: none; }
  .quest-toast { bottom: 140px; }
}

/* price anchoring: what the same afternoon costs elsewhere */
.compare-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 26px;
}
@media (max-width: 780px) { .compare-grid { grid-template-columns: 1fr; } }

.compare-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px 22px;
  text-align: center;
}
.compare-card .c-what {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.compare-card .c-price { font-family: var(--font-mono); font-weight: 700; font-size: 1.7rem; line-height: 1.1; }
.compare-card .c-per { display: block; font-size: 0.82rem; color: var(--muted); margin-top: 8px; }

.compare-card.win {
  background: var(--grad-plum);
  color: var(--surface);
  border-color: rgba(255, 194, 75, 0.5);
  box-shadow: 0 18px 50px rgba(36, 16, 25, 0.35);
}
.compare-card.win .c-what { color: rgba(255, 246, 238, 0.7); }
.compare-card.win .c-price { color: var(--gold); font-size: 2.1rem; }
.compare-card.win .c-per { color: rgba(255, 246, 238, 0.75); }

.compare-flag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  background: var(--grad);
  color: #fff;
  padding: 4px 13px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.anchor-note { font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted); margin-top: 10px; }

/* FAQ — objection handling */
.faq { max-width: 720px; margin: 0 auto; display: grid; gap: 12px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq details[open] { border-color: rgba(238, 90, 19, 0.4); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 17px 22px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.25rem;
  color: var(--orange);
  flex: none;
  transition: transform 0.25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 18px; color: var(--muted); font-size: 0.97rem; }

/* ============================================================
   Sunset boost — more color, more play, more sell.
   New in this pass: promo bar, route progress, hero 3D canvas,
   coin pickups, ranks, confetti, tile tints, CTA glow.
   ============================================================ */

/* --- promo bar: honest free-stop offer, front and center --- */
.promo-bar {
  background: var(--grad);
  color: #fff;
  text-align: center;
  padding: 8px 16px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.promo-bar b { color: #FFE9B8; }
.promo-bar .ico { width: 13px; height: 13px; }

/* --- route progress: the page walked as a gradient trail --- */
.route-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 80;
  pointer-events: none;
}
.route-progress span {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0); /* JS drives scaleX — compositor-only, no layout */
  transform-origin: left;
  background: linear-gradient(90deg, var(--orange), var(--pink), var(--violet));
  box-shadow: 0 0 10px rgba(255, 26, 110, 0.55);
}

/* --- hero: warmer color washes --- */
.hero {
  background:
    radial-gradient(820px 460px at 88% -12%, rgba(255, 26, 110, 0.09), transparent 62%),
    radial-gradient(700px 420px at -8% 78%, rgba(255, 194, 75, 0.16), transparent 60%),
    radial-gradient(520px 380px at 55% 110%, rgba(142, 75, 208, 0.07), transparent 60%);
}

/* animated sunset headline: the gradient slowly breathes */
.hero h1 .grad-text {
  background: linear-gradient(100deg, var(--orange), var(--pink), var(--violet), var(--pink), var(--orange));
  background-size: 300% auto;
  -webkit-background-clip: text;
  background-clip: text;
  animation: gradShift 7s ease-in-out infinite;
}
@keyframes gradShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* --- selling: primary CTAs pulse softly, FREE flags shimmer --- */
.hero-ctas .btn:not(.ghost), .value-price .btn { animation: ctaPulse 3s ease-in-out infinite; }
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 8px 22px rgba(242, 106, 33, 0.35); }
  50% { box-shadow: 0 10px 34px rgba(255, 46, 126, 0.55); }
}
.free-flag { position: relative; overflow: hidden; }
.free-flag::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 32%, rgba(255, 255, 255, 0.6) 50%, transparent 68%);
  transform: translateX(-130%);
  animation: shimmer 3.6s ease-in-out infinite;
}
@keyframes shimmer {
  45%, 100% { transform: translateX(130%); }
}

/* --- game tiles: each game gets its own accent hue (--tint) --- */
.game-tile { --tint: var(--orange); }
.game-tile:not(.mystery) .g-icon {
  color: var(--tint);
  background: radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--tint) 24%, transparent), color-mix(in srgb, var(--tint) 7%, transparent));
  border-color: color-mix(in srgb, var(--tint) 32%, transparent);
}
.game-tile:not(.mystery):hover .g-icon { box-shadow: 0 6px 18px color-mix(in srgb, var(--tint) 35%, transparent); }
.game-tile:not(.mystery) .coin {
  color: color-mix(in srgb, var(--tint) 78%, var(--ink));
  border-color: color-mix(in srgb, var(--tint) 40%, transparent);
  background: color-mix(in srgb, var(--tint) 9%, transparent);
}
.game-tile:not(.mystery)::before {
  background: linear-gradient(135deg, var(--tint), var(--pink));
}

/* --- features: rotate the accent hues through the grid --- */
.features-grid .feature:nth-child(3n+2) .icon {
  color: var(--pink);
  background: radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--pink) 22%, transparent), color-mix(in srgb, var(--pink) 6%, transparent));
  border-color: color-mix(in srgb, var(--pink) 30%, transparent);
}
.features-grid .feature:nth-child(3n) .icon {
  color: var(--violet);
  background: radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--violet) 22%, transparent), color-mix(in srgb, var(--violet) 6%, transparent));
  border-color: color-mix(in srgb, var(--violet) 30%, transparent);
}

/* faint violet/teal glows so light sections aren't flat cream */
.steps { position: relative; overflow: hidden; }
.steps::before {
  content: "";
  position: absolute;
  width: 480px; height: 480px;
  right: -200px; top: -180px;
  background: radial-gradient(circle, rgba(142, 75, 208, 0.07), transparent 66%);
  pointer-events: none;
}
#faq { position: relative; overflow: hidden; }
#faq::before {
  content: "";
  position: absolute;
  width: 460px; height: 460px;
  left: -200px; bottom: -180px;
  background: radial-gradient(circle, rgba(14, 159, 148, 0.08), transparent 66%);
  pointer-events: none;
}

/* --- coin pickups: catchable spinning coins along the route --- */
.coin-pickup {
  position: absolute;
  width: 44px;
  height: 44px;
  padding: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  z-index: 5;
  animation: coinBob 3.4s ease-in-out infinite;
  transition: transform 0.2s ease;
  filter: drop-shadow(0 4px 10px rgba(224, 154, 31, 0.45));
}
.coin-pickup { display: grid; place-items: center; } /* blockify the inline coin3d span so its size applies */
.coin-pickup .coin3d { width: 34px; height: 34px; }
.coin-pickup .coin3d i { font-size: 1rem; }
.coin-pickup:hover, .coin-pickup:focus-visible { transform: scale(1.2); }
.coin-pickup.got { animation: coinCatch 0.6s ease forwards; }
@keyframes coinBob {
  50% { transform: translateY(-9px); }
}
@keyframes coinCatch {
  30% { transform: scale(1.5) rotate(14deg); opacity: 1; }
  100% { transform: scale(0) rotate(40deg); opacity: 0; }
}
@media (max-width: 700px) {
  .coin-pickup { display: none; } /* flanks are content space on phones */
}

/* --- HUD rank chip: coins earn explorer titles --- */
.qh-rank {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  /* the rank is a status/level-up reward — give it the brand "play" gradient
     so it pops with the page's energy instead of blending into the gold chrome */
  color: #fff;
  background: linear-gradient(100deg, var(--orange), var(--pink));
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 3px 10px;
  white-space: nowrap;
  box-shadow: 0 3px 12px rgba(255, 26, 110, 0.35);
}
.qh-rank.pop { animation: rankPop 0.7s ease; }
@keyframes rankPop {
  35% { transform: scale(1.18); box-shadow: 0 5px 18px rgba(255, 26, 110, 0.55); }
}
@media (max-width: 700px) {
  .qh-rank { display: none; }
}
.quest-toast .t-up { color: #7CE3B0; font-style: normal; }

/* --- confetti: the Master Key moment, in brand colors --- */
.confetti-layer { position: fixed; inset: 0; z-index: 90; pointer-events: none; overflow: hidden; }
.confetti {
  position: absolute;
  top: -18px;
  width: 9px;
  height: 15px;
  border-radius: 2px;
  opacity: 0;
  animation: confettiFall var(--cd, 2.6s) ease-in forwards;
}
@keyframes confettiFall {
  0% { opacity: 1; transform: translate(0, 0) rotate(0); }
  100% { opacity: 0.85; transform: translate(var(--cx, 0), 105vh) rotate(var(--cr, 540deg)); }
}

/* --- versus: Aventa vs. a typical audio guide --- */
.versus .section-head { text-align: center; }
.versus .section-head .lede { margin: 8px auto 0; }

/* transition line between the quality comparison and the price comparison */
.versus-divider {
  text-align: center;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  color: var(--ink);
  margin: 44px auto 0;
  max-width: 34rem;
}

.versus-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: stretch;
  max-width: 920px;
  margin: 0 auto;
}
@media (max-width: 780px) { .versus-grid { grid-template-columns: 1fr; } }

.vs-card { border-radius: var(--radius); padding: 30px 28px; }
.vs-card .vs-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.vs-card ul { list-style: none; display: grid; gap: 15px; }
.vs-card li { display: flex; gap: 11px; align-items: flex-start; font-size: 0.97rem; line-height: 1.4; }
.vs-card li .m {
  flex: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.82rem;
  font-weight: 700;
  margin-top: 1px;
}

/* them — deliberately muted and deemphasized */
.vs-card.them { background: #F1E8DC; border: 1px solid var(--line); }
.vs-card.them .vs-tag { background: rgba(38, 36, 31, 0.08); color: var(--muted); }
.vs-card.them li { color: var(--muted); }
.vs-card.them li .m { background: rgba(38, 36, 31, 0.09); color: #9a8f80; }

/* us — the branded winner */
.vs-card.us {
  background: var(--grad-plum);
  color: var(--surface);
  border: 1px solid rgba(255, 194, 75, 0.4);
  box-shadow: 0 18px 50px rgba(36, 16, 25, 0.35);
}
.vs-card.us .vs-tag { background: var(--grad); color: #fff; }
.vs-card.us li { color: rgba(255, 246, 238, 0.92); }
.vs-card.us li .m {
  background: rgba(255, 194, 75, 0.2);
  color: var(--gold);
  border: 1px solid rgba(255, 194, 75, 0.5);
}

/* coming-soon rewards teaser */
.reward-teaser {
  margin: 30px auto 0;
  max-width: 720px;
  display: flex;
  gap: 16px;
  align-items: center;
  background: var(--surface);
  border: 1.5px dashed rgba(238, 90, 19, 0.42);
  border-radius: var(--radius);
  padding: 20px 24px;
}
@media (max-width: 540px) { .reward-teaser { flex-direction: column; text-align: center; gap: 12px; } }
.reward-teaser .soon-badge {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--grad);
  padding: 7px 13px;
  border-radius: 999px;
}
.reward-teaser .soon-badge .ico { width: 13px; height: 13px; }
.reward-teaser p { color: var(--ink); font-size: 0.98rem; }
.reward-teaser strong { color: var(--kicker); }

/* ---------- partner page: adventure trio + comparison ledger ---------- */

/* three-up variant of the masterkey glyph cards (partner "explorers" section) */
.mk-steps.trio { grid-template-columns: repeat(3, 1fr); max-width: 980px; margin-left: auto; margin-right: auto; }
@media (max-width: 980px) { .mk-steps.trio { grid-template-columns: 1fr; max-width: 480px; } }
.adventure .section-head { margin-bottom: 0; }
.adventure .section-head .lede { max-width: 40rem; }

/* comparison ledger — quest-log rows: mono labels, × for the old era, ✓ for Aventa */
.ledger {
  width: 100%;
  max-width: 940px;
  margin: 0 auto;
  border-collapse: separate;
  border-spacing: 0 10px;
}
.ledger th, .ledger td { text-align: left; vertical-align: top; }
.ledger thead th {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0 20px 0;
}
.ledger thead th.l-old { color: var(--muted); }
.ledger thead th.l-new { color: var(--kicker); }
.ledger tbody th, .ledger tbody td { background: var(--surface); padding: 15px 20px; }
.ledger tbody tr { box-shadow: var(--shadow); }
.ledger tbody th {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  width: 122px;
  padding-top: 20px;
  border-radius: 16px 0 0 16px;
}
.ledger tbody td:last-child { border-radius: 0 16px 16px 0; }
.ledger td.l-old { color: var(--muted); font-size: 0.95rem; width: 34%; }
.ledger td.l-new { font-weight: 700; font-size: 0.97rem; }
/* hanging indent: wrapped lines align after the marker chip (21px + 10px gap);
   text-indent inherits, so reset it inside the chip or the glyph leaves the circle */
.ledger td.l-old, .ledger td.l-new { padding-left: 51px; text-indent: -31px; }
.ledger td .m { text-indent: 0; }
.ledger td .m {
  display: inline-grid;
  place-items: center;
  width: 21px; height: 21px;
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 700;
  margin-right: 10px;
  vertical-align: -5px;
}
.ledger td.l-old .m { background: rgba(38, 36, 31, 0.09); color: #9a8f80; }
.ledger td.l-new .m { background: rgba(238, 90, 19, 0.12); color: var(--kicker); border: 1px solid rgba(238, 90, 19, 0.3); }

@media (max-width: 640px) {
  .ledger, .ledger tbody, .ledger tbody tr, .ledger tbody th, .ledger tbody td { display: block; width: auto; }
  .ledger thead { display: none; }
  .ledger tbody tr { border-radius: 16px; margin-bottom: 12px; overflow: hidden; }
  .ledger tbody th { width: auto; padding: 14px 20px 0; border-radius: 16px 16px 0 0; }
  .ledger tbody td { padding: 6px 20px; }
  .ledger tbody td:last-child { padding-bottom: 16px; border-radius: 0 0 16px 16px; }
  .ledger td.l-old { width: auto; font-size: 0.9rem; }
}

/* ---------- partner page: sparks hero, dark perks row, numbered trio ---------- */

/* hero: cream page-hero with sparks */
.pp-hero { position: relative; overflow: hidden; }
.pp-hero .wrap { position: relative; z-index: 1; }
.pp-hero .sparks { opacity: 0.6; }

/* The rest of this page is centred (unfold trio, retire statement, CTA band),
   so the hero is too. Left-aligned it hugged one edge and left a wide empty
   gutter beside it on large monitors. */
.pp-hero .wrap { text-align: center; }
.pp-hero h1,
.pp-hero .lede { margin-left: auto; margin-right: auto; }
.pp-hero .hero-ctas,
.pp-hero .pr-chips { justify-content: center; }

/* perks row: the four guest-facing features as one-liners under the game trio */
.pp-perks {
  list-style: none;
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.pp-perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 246, 238, 0.14);
  background: rgba(255, 246, 238, 0.05);
  color: rgba(255, 246, 238, 0.88);
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.35;
}
.pp-perks .ico { width: 20px; height: 20px; flex: none; color: var(--gold); }
@media (max-width: 1020px) { .pp-perks { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pp-perks { grid-template-columns: 1fr; } }

/* comparison table close: one-line CTA band so the recap ends in an ask */
.pp-ctaband {
  margin-top: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px 26px;
  flex-wrap: wrap;
  text-align: center;
}
.pp-ctaband p {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--ink);
}

/* "for you" trio: quest-log cards with oversized ghost numerals */
.pp-easy {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  counter-reset: none;
}
.pp-easy li { position: relative; overflow: hidden; }
.pp-easy .pp-num {
  position: absolute;
  top: -14px;
  right: 6px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 5.2rem;
  line-height: 1;
  color: rgba(238, 90, 19, 0.09);
  pointer-events: none;
}
@media (max-width: 900px) { .pp-easy { grid-template-columns: 1fr; } }

/* ============================================================
   Partner page redesign (2026) — /partners/sites/
   High-fidelity recreation of the "Partners" handoff, built on
   the Aventa design tokens. Responsive layer added (the
   prototype was desktop-only).
   ============================================================ */

/* hero chips + reusable pill chips */
.pr-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.pr-chip {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1.5px solid rgba(38, 36, 31, 0.15);
  color: var(--muted);
  white-space: nowrap;
}
.pr-chip.hot { border-style: dashed; border-color: var(--orange); color: var(--kicker); }

/* --- How the visit unfolds --- */
.pr-unfold .section-head { text-align: center; max-width: 700px; margin: 0 auto 54px; }
.pr-unfold-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.pr-step { text-align: center; padding: 0 12px; }
.pr-step-num {
  display: inline-grid;
  place-items: center;
  width: 58px; height: 58px;
  border-radius: 50%;
  color: #fff;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: 0 8px 20px rgba(238, 90, 19, 0.3);
  margin-bottom: 22px;
}
.pr-step:nth-child(1) .pr-step-num { background: linear-gradient(140deg, var(--gold), var(--orange)); }
.pr-step:nth-child(2) .pr-step-num { background: linear-gradient(140deg, var(--orange), var(--pink)); }
.pr-step:nth-child(3) .pr-step-num { background: linear-gradient(140deg, var(--pink), var(--violet)); box-shadow: 0 8px 20px rgba(255, 26, 110, 0.3); }
.pr-step h3 { margin: 0 0 10px; font-size: 1.35rem; }
.pr-step p { margin: 0; color: var(--muted); font-size: 1rem; }
@media (max-width: 780px) {
  .pr-unfold-grid { grid-template-columns: 1fr; gap: 40px; max-width: 30rem; margin: 0 auto; }
}

/* --- Retire the audioguide (dark comparison) --- */
.pr-retire-hero {
  /* Big statement panel, but capped: an unbounded 100vh block opened a ~500px
     hole above the headline on tall or zoomed-out windows. */
  min-height: min(calc(100vh - 220px), 560px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 0 24px;
}
.pr-retire-hero .kicker { margin-bottom: 26px; }
.pr-retire h2 { font-size: clamp(2.6rem, 8vw, 5.4rem); line-height: 1.04; margin: 0; letter-spacing: -0.015em; }
.pr-retire .pr-strike {
  text-decoration: line-through;
  text-decoration-thickness: 6px;
  text-decoration-color: var(--pink);
  color: rgba(255, 246, 238, 0.45);
}
.pr-retire .pr-goldline { display: block; font-size: clamp(1.5rem, 4.4vw, 2.6rem); color: var(--surface); margin-top: 6px; }
.pr-scrollcue {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 52px;
  font-family: var(--font-head, inherit);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: rgba(255, 246, 238, 0.55);
}
.pr-scrollcue svg { animation: pr-cue-bob 1.8s ease-in-out infinite; }
@keyframes pr-cue-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@media (prefers-reduced-motion: reduce) { .pr-scrollcue svg { animation: none; } }
.pr-retire .lede { margin: 0 0 44px; }
.pr-retire .pp-ctaband { margin-top: 44px; }
.dark .pp-ctaband p { color: rgba(255, 246, 238, 0.92); }

.pr-compare { display: flex; flex-direction: column; gap: 12px; max-width: 1000px; margin: clamp(32px, 5vw, 64px) auto 0; }
.pr-compare-head {
  display: grid;
  grid-template-columns: 1fr 52px 1fr;
  gap: 24px;
  align-items: center;
  padding: 0 30px 4px;
}
.pr-compare-head span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.pr-compare-head .old { text-align: right; color: rgba(255, 246, 238, 0.62); }
.pr-compare-head .new { color: var(--gold); }
.pr-crow {
  display: grid;
  grid-template-columns: 1fr 52px 1fr;
  gap: 24px;
  align-items: center;
  background: rgba(255, 246, 238, 0.05);
  border: 1px solid rgba(255, 246, 238, 0.12);
  border-radius: 16px;
  padding: 20px 30px;
}
.pr-crow .old { font-size: 1.05rem; color: rgba(255, 246, 238, 0.62); text-align: right; }
.pr-crow .new { font-family: var(--font-head); font-weight: 500; font-size: 1.18rem; line-height: 1.3; }
.pr-crow .new .pr-proof { display: block; font-family: var(--font-body, inherit); font-weight: 400; font-size: 0.78rem; color: rgba(255, 246, 238, 0.5); margin-top: 5px; letter-spacing: 0.01em; }
.pr-arrow {
  justify-self: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--grad);
  display: grid;
  place-items: center;
  color: #fff;
}
@media (max-width: 620px) {
  .pr-compare-head { display: none; }
  .pr-crow { grid-template-columns: 1fr; gap: 10px; text-align: center; padding: 20px; }
  .pr-crow .old { text-align: center; font-size: 0.98rem; }
  .pr-crow .new { font-size: 1.12rem; }
  .pr-arrow { transform: rotate(90deg); }
}

/* --- shared: badge + label row --- */
.pr-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #fff;
  background: var(--grad);
  border-radius: 999px;
  padding: 5px 14px;
}
.pr-badge.gold { background: var(--gold); color: var(--plum-2); }
.pr-labelrow { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.pr-labelrow .kicker { margin: 0; }

/* --- YOU ledger --- */
.pr-you h2 { font-size: clamp(1.9rem, 4.6vw, 2.5rem); margin: 0 0 28px; line-height: 1.05; }
/* Headline phrases fade in on their own beat (opacity only, so they don't
   double up the parent h2's rise) — each synced to its matching ledger row. */
.js .pr-you h2 .reveal { display: inline-block; transform: none; }
.js .pr-you h2 .reveal.in { transform: none; }
.pr-you h2 .o { color: var(--orange); }
.pr-you h2 .p { color: var(--pink); }
.pr-you h2 .v { color: var(--violet); }
.pr-ledger { display: flex; flex-direction: column; }
.pr-lrow {
  display: grid;
  grid-template-columns: 88px 1fr 150px;
  gap: 32px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid rgba(38, 36, 31, 0.2);
}
.pr-lrow:first-child { border-top: 2px solid var(--ink); }
.pr-lrow:last-child { border-bottom: 2px solid var(--ink); }
.pr-lnum {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 3rem;
  line-height: 0.8;
  text-align: center;
}
.pr-lrow:nth-child(1) .pr-lnum { color: var(--orange); }
.pr-lrow:nth-child(2) .pr-lnum { color: var(--pink); }
.pr-lrow:nth-child(3) .pr-lnum { color: var(--violet); }
.pr-lrow h3 { margin: 0 0 4px; font-size: 1.4rem; }
.pr-lrow p { margin: 0; color: var(--muted); font-size: 1rem; max-width: 520px; }
.pr-ltag { font-family: var(--font-mono); font-size: 0.8rem; font-weight: 700; color: var(--ink); text-align: right; }
@media (max-width: 680px) {
  .pr-lrow { grid-template-columns: 52px 1fr; gap: 6px 18px; }
  .pr-lnum { font-size: 2.4rem; grid-row: 1 / span 2; align-self: start; padding-top: 4px; }
  .pr-ltag { grid-column: 2; text-align: left; margin-top: 2px; }
}

/* --- AVENTA checklist (dark) --- */
.pr-aventa-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.pr-aventa-head h2 { margin: 0; font-size: clamp(1.9rem, 4.6vw, 2.5rem); line-height: 1.04; }
.pr-ttl { text-align: right; }
.pr-ttl .lab { font-family: var(--font-mono); font-size: 0.72rem; color: rgba(255, 246, 238, 0.6); margin-bottom: 2px; }
.pr-ttl .val { font-family: var(--font-head); font-weight: 600; font-size: clamp(2rem, 4.2vw, 2.75rem); line-height: 1; color: var(--gold); }
.pr-checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 48px; }
.pr-check {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 246, 238, 0.12);
}
.pr-check .ico { color: var(--gold); flex: none; display: inline-flex; }
.pr-check > span:last-child { font-family: var(--font-body); font-weight: 700; font-size: 1rem; }
.pr-check.gold > span:last-child { color: var(--gold); }
.pr-note {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px dashed rgba(255, 194, 75, 0.35);
  color: rgba(255, 246, 238, 0.82);
}
.pr-note .ico { color: var(--gold); flex: none; display: inline-flex; }
.pr-note > span:last-child { font-size: 0.97rem; }
@media (max-width: 680px) {
  .pr-checklist { grid-template-columns: 1fr; }
  .pr-aventa-head { align-items: flex-start; }
  .pr-ttl { text-align: left; }
}

/* --- Call / contact --- */
.pr-call .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.pr-call h2 { font-size: clamp(1.9rem, 4.6vw, 2.5rem); margin: 0 0 18px; line-height: 1.1; }
.pr-call .pr-lead { font-size: 1.1rem; color: var(--muted); margin: 0 0 24px; }
.pr-call .pr-email { margin: 26px 0 0; font-family: var(--font-mono); font-size: 0.82rem; color: var(--muted); }
.pr-call .pr-email a { color: var(--ink); font-weight: 700; }
.pr-callform .btn { width: 100%; margin-top: 4px; }
.pr-callform .form-note { text-align: center; margin-top: 14px; }
@media (max-width: 820px) {
  .pr-call .wrap { grid-template-columns: 1fr; gap: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
  .reveal, .key-progress { opacity: 1 !important; transform: none !important; }
  .key-progress .fill { width: 100% !important; }
  .confetti-layer { display: none; }
  .hero h1 .grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; }
}
