:root {
  --black: #050505;
  --white: #ffffff;
  --soft-white: rgba(255, 255, 255, .82);
  --glass: rgba(255, 255, 255, .14);
  --glass-strong: rgba(8, 8, 8, .42);
  --glass-dark: rgba(0, 0, 0, .52);
  --glass-line: rgba(255, 255, 255, .44);
  --glass-soft-line: rgba(255, 255, 255, .18);
  --shadow: 0 28px 90px rgba(0, 0, 0, .36);
  --radius-lg: 32px;
  --radius-md: 22px;
  --coral: #ff5f4c;
  --gold: #f5ae00;
  --teal: #05a8a8;
  --blue: #1b84c6;
  --red: #f06545;
  --poster-bg: url("monthly/june.webp");
  --accent: var(--coral);
  --accent-alt: var(--gold);
  --accent-third: var(--teal);
  --scroll-shift: 0px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--white);
  background: var(--black);
  font-family: Inter, Arial, Helvetica, sans-serif;
  line-height: 1.35;
  overflow-x: hidden;
}

body[data-edition="june"] {
  --poster-bg: url("monthly/june.webp");
  --accent: #ff5f4c;
  --accent-alt: #f5ae00;
  --accent-third: #05a8a8;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.poster-backdrop {
  position: fixed;
  inset: -6vh 0;
  z-index: -3;
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, .18), rgba(0, 0, 0, .58) 72%, rgba(0, 0, 0, .86)),
    var(--poster-bg);
  background-size: cover;
  background-position: center calc(50% + var(--scroll-shift));
  filter: saturate(1.08) contrast(1.02);
  transform: scale(1.04);
}

.poster-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .35), transparent 22%, transparent 78%, rgba(0, 0, 0, .36)),
    radial-gradient(circle at 50% 12%, rgba(255, 255, 255, .17), transparent 30%);
  pointer-events: none;
}

.topbar {
  position: fixed;
  top: 24px;
  left: 50%;
  z-index: 20;
  width: min(940px, calc(100% - 32px));
  min-height: 58px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transform: translateX(-50%);
  border: 1px solid var(--glass-soft-line);
  border-radius: 999px;
  background: rgba(0, 0, 0, .19);
  box-shadow: 0 18px 46px rgba(0, 0, 0, .25);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: max-content;
  padding: 4px 10px 4px 6px;
  font-size: 20px;
  letter-spacing: 0;
  text-transform: uppercase;
  font-weight: 400;
}

.brand-lockup img {
  width: 34px;
  height: 30px;
  object-fit: contain;
}

.brand-lockup strong {
  padding: 2px 6px 1px;
  color: #1b1600;
  background: rgba(255, 255, 255, .9);
  border-radius: 8px;
  font-size: .78em;
  letter-spacing: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 3px;
  overflow-x: auto;
  scrollbar-width: none;
}

.main-nav::-webkit-scrollbar {
  display: none;
}

.main-nav a {
  min-height: 38px;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: rgba(255, 255, 255, .86);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, .12);
}

.main-nav a.is-active {
  color: #2d2419;
  background: rgba(255, 255, 255, .92);
}

.poster-section {
  position: relative;
  width: min(100%, 1280px);
  margin: 0 auto;
  padding-inline: clamp(18px, 5vw, 80px);
}

.hero {
  min-height: 100svh;
  padding-top: 130px;
  padding-bottom: 46px;
  display: grid;
  place-items: center;
  text-align: center;
}

.hero-content {
  width: min(760px, 100%);
  margin: 0 auto;
}

.category-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px;
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .24);
  color: var(--white);
  font-size: 16px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .2);
}

.chip-blue { background: rgba(21, 124, 183, .86); }
.chip-red { background: rgba(239, 96, 69, .9); }
.chip-teal { background: rgba(21, 183, 174, .86); }
.chip-gold { background: rgba(235, 178, 32, .9); }
.chip-coral { background: rgba(255, 95, 76, .9); }

.hero-logo {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(5px, 1vw, 14px);
  color: var(--white);
  font-size: 106px;
  font-weight: 300;
  line-height: .9;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 16px 46px rgba(0, 0, 0, .34);
}

.hero-logo strong,
.footer-lockup strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .04em .16em .02em;
  color: #211900;
  background: rgba(255, 255, 255, .94);
  border-radius: .12em;
  font-size: .55em;
  font-weight: 950;
  letter-spacing: 0;
}

.hero-copy {
  margin: 18px 0 22px;
  color: var(--white);
  font-size: 32px;
  font-weight: 600;
  text-shadow: 0 8px 26px rgba(0, 0, 0, .45);
}

.glass-button {
  position: relative;
  min-height: 58px;
  min-width: min(460px, 100%);
  padding: 16px 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .54);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, .12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .32), 0 18px 44px rgba(0, 0, 0, .28);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}

.glass-button::after {
  content: "";
  position: absolute;
  inset: -30% auto -30% -50%;
  width: 42%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .38), transparent);
  transform: skewX(-18deg);
  animation: button-shine 5s ease-in-out infinite;
}

.glass-button:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, .18);
  border-color: rgba(255, 255, 255, .72);
}

.glass-button.ghost {
  min-width: 210px;
  background: rgba(0, 0, 0, .24);
}

.location {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .92);
  font-size: 20px;
}

.date-line {
  margin: 12px 0 0;
  color: var(--white);
  font-size: 40px;
  font-weight: 400;
  text-shadow: 0 9px 28px rgba(0, 0, 0, .45);
}

.strip-stack {
  width: min(980px, 100%);
  margin: clamp(48px, 8vw, 96px) auto 0;
  display: grid;
  justify-items: center;
  gap: clamp(10px, 1.6vw, 18px);
}

.strip,
.section-strip .strip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(780px, 92vw);
  padding: clamp(8px, 1.4vw, 18px) clamp(24px, 5vw, 80px);
  color: var(--white);
  clip-path: polygon(4% 8%, 96% 0, 100% 82%, 7% 100%, 0 25%);
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 126px;
  font-weight: 900;
  line-height: .82;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 9px 0 rgba(0, 0, 0, .12);
  box-shadow: 0 26px 54px rgba(0, 0, 0, .2);
}

.strip:nth-child(2) {
  transform: translateX(-2%) rotate(-1deg);
}

.strip:nth-child(3) {
  transform: translateX(3%) rotate(-2deg);
}

.strip-coral { background: var(--accent); }
.strip-gold { background: var(--accent-alt); }
.strip-teal { background: var(--accent-third); }

.countdown-panel {
  width: min(960px, 100%);
  margin: clamp(54px, 9vw, 96px) auto 0;
  padding: clamp(28px, 5vw, 56px);
  text-align: center;
}

.section-strip {
  margin: 0 auto 22px;
  display: grid;
  justify-items: center;
  gap: 10px;
}

.section-strip .strip {
  min-width: min(720px, 88vw);
  font-size: 108px;
}

.section-strip .small {
  min-width: min(560px, 76vw);
  font-size: 82px;
}

.countdown-panel p {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, .88);
  font-size: 22px;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(90px, 1fr));
  gap: clamp(10px, 2vw, 24px);
}

.countdown span {
  display: grid;
  gap: 6px;
  color: var(--white);
}

.countdown strong {
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 82px;
  line-height: .9;
  letter-spacing: 0;
}

.countdown small {
  color: rgba(255, 255, 255, .78);
  font-size: 16px;
}

.glass-panel,
.glass-card {
  position: relative;
  border: 1px solid var(--glass-line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .05)),
    rgba(7, 7, 7, .24);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .18);
  backdrop-filter: blur(22px) saturate(1.18);
  -webkit-backdrop-filter: blur(22px) saturate(1.18);
}

.promo-feature {
  padding-top: clamp(42px, 8vw, 94px);
  padding-bottom: clamp(28px, 6vw, 72px);
}

.promo-hero {
  min-height: clamp(360px, 54vw, 560px);
  width: min(960px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 7vw, 76px);
  display: grid;
  place-items: center;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  width: max-content;
  margin: 0 auto 12px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 999px;
  color: rgba(255, 255, 255, .82);
  background: rgba(0, 0, 0, .24);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.promo-hero h2,
.location-copy h2,
.route-copy h2 {
  margin: 0;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 126px;
  line-height: .8;
  letter-spacing: 0;
  text-transform: uppercase;
}

.promo-hero p,
.route-copy p,
.location-copy p {
  width: min(620px, 100%);
  margin: 16px auto 24px;
  color: rgba(255, 255, 255, .86);
  font-size: 24px;
}

.promo-grid {
  padding-top: 18px;
  padding-bottom: clamp(70px, 9vw, 120px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 30px);
}

.promo-card {
  min-height: clamp(330px, 42vw, 470px);
  padding: clamp(20px, 3vw, 30px);
  display: grid;
  align-content: end;
  overflow: hidden;
  text-align: center;
  transform-style: preserve-3d;
}

.promo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .04), rgba(0, 0, 0, .62));
  pointer-events: none;
}

.promo-card::after,
.route-card::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 30%), rgba(255, 255, 255, .22), transparent 32%);
  transition: opacity .25s ease;
  pointer-events: none;
}

.promo-card:hover::after,
.route-card:hover::after {
  opacity: 1;
}

.promo-card img {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .46;
  filter: saturate(1.08) contrast(1.06);
}

.promo-card > div {
  position: relative;
  z-index: 1;
}

.promo-card h3,
.route-card h3 {
  margin: 0;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 68px;
  line-height: .82;
  letter-spacing: 0;
  text-transform: uppercase;
}

.promo-card p,
.route-card p {
  width: min(340px, 100%);
  margin: 16px auto 0;
  color: rgba(255, 255, 255, .86);
  font-size: 19px;
}

.route-band {
  padding-top: clamp(20px, 5vw, 60px);
  padding-bottom: clamp(78px, 10vw, 130px);
}

.route-copy {
  width: min(840px, 100%);
  margin: 0 auto 30px;
  text-align: center;
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.route-card {
  position: relative;
  min-height: 320px;
  padding: clamp(22px, 3vw, 32px);
  overflow: hidden;
  transform-style: preserve-3d;
}

.route-number {
  display: inline-flex;
  margin-bottom: 52px;
  color: rgba(255, 255, 255, .5);
  font-size: 92px;
  font-weight: 950;
  line-height: .7;
}

.location-band {
  padding-top: clamp(10px, 5vw, 70px);
  padding-bottom: clamp(80px, 12vw, 150px);
  display: grid;
  grid-template-columns: .9fr 1fr;
  align-items: center;
  gap: clamp(22px, 5vw, 60px);
}

.map-card {
  overflow: hidden;
  padding: 12px;
}

.map-card img {
  width: 100%;
  aspect-ratio: 1 / .78;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 12px);
}

.location-copy {
  text-align: left;
}

.location-copy .eyebrow {
  margin-left: 0;
}

.location-copy p {
  margin-left: 0;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button-row .glass-button {
  min-width: 220px;
}

.site-footer {
  min-height: 64svh;
  padding-top: clamp(72px, 11vw, 138px);
  padding-bottom: clamp(80px, 12vw, 160px);
  display: grid;
  place-items: center;
  text-align: center;
}

.footer-lockup {
  display: grid;
  justify-items: center;
  gap: 12px;
  font-size: 76px;
  line-height: .9;
  text-transform: uppercase;
}

.footer-lockup p {
  margin: 0;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.45;
  text-transform: none;
}

.footer-lockup nav {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  font-size: 20px;
  text-transform: none;
}

[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity .75s ease, transform .75s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.strip[data-reveal] {
  transform: translate3d(0, 28px, 0) rotate(-2deg) scale(.98);
}

.strip[data-reveal].is-visible {
  transform: translate3d(0, 0, 0) rotate(-2deg) scale(1);
}

@keyframes button-shine {
  0%, 52% { transform: translateX(0) skewX(-18deg); }
  72%, 100% { transform: translateX(360%) skewX(-18deg); }
}

@media (max-width: 920px) {
  .topbar {
    top: 14px;
    width: calc(100% - 20px);
    align-items: flex-start;
    border-radius: 24px;
    flex-direction: column;
  }

  .main-nav {
    width: 100%;
  }

  .main-nav a {
    min-height: 34px;
    padding: 8px 11px;
    font-size: 12px;
  }

  .hero {
    padding-top: 154px;
  }

  .hero-logo {
    flex-wrap: wrap;
    font-size: 74px;
  }

  .hero-copy {
    font-size: 28px;
  }

  .location {
    font-size: 18px;
  }

  .date-line {
    font-size: 32px;
  }

  .strip,
  .section-strip .strip {
    font-size: 82px;
  }

  .section-strip .small {
    font-size: 62px;
  }

  .countdown strong {
    font-size: 64px;
  }

  .promo-hero h2,
  .location-copy h2,
  .route-copy h2 {
    font-size: 86px;
  }

  .promo-hero p,
  .route-copy p,
  .location-copy p {
    font-size: 22px;
  }

  .promo-card h3,
  .route-card h3 {
    font-size: 56px;
  }

  .route-number {
    font-size: 72px;
  }

  .footer-lockup {
    font-size: 58px;
  }

  .footer-lockup p,
  .footer-lockup nav {
    font-size: 18px;
  }

  .countdown {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .promo-grid,
  .route-grid,
  .location-band {
    grid-template-columns: 1fr;
  }

  .location-copy {
    text-align: center;
  }

  .location-copy .eyebrow,
  .location-copy p {
    margin-left: auto;
  }

  .button-row {
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .poster-section {
    padding-inline: 16px;
  }

  .chip {
    min-height: 34px;
    padding: 7px 12px;
    font-size: 13px;
  }

  .hero {
    min-height: auto;
    padding-bottom: 34px;
  }

  .glass-button {
    width: 100%;
    min-width: 0;
  }

  .strip,
  .section-strip .strip {
    min-width: 100%;
    font-size: 56px;
  }

  .section-strip .small {
    font-size: 44px;
  }

  .hero-logo {
    font-size: 50px;
  }

  .hero-copy {
    font-size: 22px;
  }

  .date-line {
    font-size: 26px;
  }

  .countdown strong {
    font-size: 50px;
  }

  .promo-hero h2,
  .location-copy h2,
  .route-copy h2 {
    font-size: 58px;
  }

  .promo-hero p,
  .route-copy p,
  .location-copy p,
  .promo-card p,
  .route-card p {
    font-size: 17px;
  }

  .promo-card h3,
  .route-card h3 {
    font-size: 44px;
  }

  .route-number {
    font-size: 54px;
  }

  .footer-lockup {
    font-size: 44px;
  }

  .footer-lockup p,
  .footer-lockup nav {
    font-size: 16px;
  }

  .promo-card {
    min-height: 330px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}


/* === Mobile-first stability patch · Caleido Fest August === */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

body[data-edition="august"] {
  --poster-bg: url("monthly/june.webp");
  --accent: #ff5f4c;
  --accent-alt: #f5ae00;
  --accent-third: #05a8a8;
}

.poster-backdrop {
  overflow: hidden;
  will-change: background-position;
}

.poster-backdrop::before {
  content: "";
  position: absolute;
  inset: -18%;
  z-index: 0;
  opacity: .34;
  mix-blend-mode: screen;
  background:
    repeating-conic-gradient(from 0deg at 50% 50%,
      rgba(255, 95, 76, .30) 0deg 12deg,
      rgba(245, 174, 0, .24) 12deg 24deg,
      rgba(5, 168, 168, .24) 24deg 36deg,
      rgba(27, 132, 198, .18) 36deg 48deg,
      transparent 48deg 60deg),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.16), transparent 38%);
  filter: blur(18px) saturate(1.15);
  transform-origin: 50% 50%;
  animation: kaleido-drift 34s linear infinite;
  pointer-events: none;
}

.poster-backdrop::after {
  z-index: 1;
}

.topbar {
  width: min(940px, calc(100vw - 20px));
  max-width: calc(100vw - 20px);
  min-width: 0;
  overflow: hidden;
}

.brand-lockup,
.main-nav,
.main-nav a {
  min-width: 0;
}

.main-nav {
  max-width: 100%;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}

.main-nav a {
  flex: 0 0 auto;
}

.poster-section,
.hero-content,
.countdown-panel,
.promo-hero,
.route-copy,
.location-copy,
.footer-lockup {
  min-width: 0;
}

.hero-logo,
.strip,
.section-strip .strip,
.promo-hero h2,
.location-copy h2,
.route-copy h2,
.promo-card h3,
.route-card h3,
.footer-lockup {
  overflow-wrap: anywhere;
}

.hero-logo {
  font-size: clamp(44px, 16vw, 106px);
}

.strip,
.section-strip .strip {
  max-width: 100%;
  min-width: 0;
  font-size: clamp(48px, 14vw, 126px);
}

.section-strip .small {
  max-width: 100%;
  min-width: 0;
  font-size: clamp(38px, 11vw, 82px);
}

.countdown {
  width: 100%;
  max-width: 100%;
}

.countdown span {
  min-width: 0;
}

.countdown strong {
  font-size: clamp(42px, 12vw, 82px);
}

@keyframes kaleido-drift {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.06); }
  100% { transform: rotate(360deg) scale(1); }
}

@media (max-width: 920px) {
  .topbar {
    top: 10px;
    width: calc(100vw - 16px);
    max-width: calc(100vw - 16px);
    min-height: 56px;
    padding: 7px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    border-radius: 999px;
  }

  .brand-lockup {
    flex: 0 0 auto;
    padding: 3px 8px 3px 5px;
    gap: 6px;
    font-size: 16px;
  }

  .brand-lockup img {
    width: 30px;
    height: 28px;
  }

  .brand-lockup strong {
    padding: 2px 5px 1px;
  }

  .main-nav {
    width: 100%;
    min-width: 0;
    gap: 4px;
    padding: 0;
    justify-content: flex-start;
  }

  .main-nav a {
    min-height: 36px;
    padding: 9px 12px;
    font-size: 11px;
  }

  .hero {
    min-height: 100svh;
    padding-top: 92px;
  }
}

@media (max-width: 640px) {
  .topbar {
    grid-template-columns: 1fr;
    justify-items: stretch;
    border-radius: 24px;
  }

  .brand-lockup {
    width: max-content;
    justify-self: center;
    font-size: 0;
  }

  .brand-lockup span,
  .brand-lockup strong {
    font-size: 0;
    padding: 0;
    background: transparent;
  }

  .main-nav {
    padding-bottom: 1px;
  }

  .main-nav a {
    min-height: 34px;
    padding: 8px 10px;
    font-size: 10.5px;
  }

  .hero {
    min-height: 100svh;
    padding-top: 116px;
    padding-bottom: 36px;
  }

  .hero-copy {
    font-size: clamp(20px, 6vw, 24px);
  }

  .date-line {
    font-size: clamp(23px, 7vw, 28px);
  }

  .countdown {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .countdown-panel {
    padding: 24px 16px;
  }

  .promo-hero h2,
  .location-copy h2,
  .route-copy h2 {
    font-size: clamp(50px, 15vw, 64px);
  }

  .promo-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 380px) {
  .poster-section {
    padding-inline: 12px;
  }

  .main-nav a {
    padding-inline: 9px;
  }

  .hero-logo {
    font-size: clamp(39px, 15vw, 50px);
  }

  .chip {
    font-size: 12px;
    padding-inline: 10px;
  }
}

@media (min-width: 921px) {
  .topbar {
    flex-direction: row;
  }
}

@media (prefers-reduced-motion: reduce) {
  .poster-backdrop::before {
    animation: none !important;
  }
}


/* REAL MOBILE-FIRST NAV FIX 2026-07-08
   The topbar uses data-reveal; generic reveal transforms were overriding translateX(-50%)
   and anchoring the fixed bar from the viewport center toward the right. */
.topbar[data-reveal],
.topbar[data-reveal].is-visible {
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
}

.topbar[data-reveal] {
  opacity: 1;
}

.topbar,
.topbar * {
  box-sizing: border-box;
}

.topbar {
  width: min(940px, calc(100dvw - 24px)) !important;
  max-width: calc(100dvw - 24px) !important;
  overflow: hidden;
}

.main-nav {
  min-width: 0 !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.main-nav::-webkit-scrollbar {
  display: none;
}

.main-nav a {
  flex: 0 0 auto;
  white-space: nowrap;
}

.poster-backdrop::before {
  opacity: .46;
  background:
    repeating-conic-gradient(from 0deg at 50% 50%,
      rgba(255, 95, 76, .34) 0deg 10deg,
      rgba(245, 174, 0, .30) 10deg 20deg,
      rgba(5, 168, 168, .27) 20deg 30deg,
      rgba(27, 132, 198, .22) 30deg 40deg,
      transparent 40deg 56deg),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.20), transparent 36%);
  animation: kaleido-drift 28s linear infinite;
}

@media (min-width: 921px) {
  .topbar {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 14px !important;
  }

  .brand-lockup {
    flex: 0 0 auto;
  }

  .main-nav {
    flex: 1 1 auto;
    justify-content: flex-end;
  }
}

@media (max-width: 920px) {
  .topbar {
    top: 10px !important;
    width: calc(100dvw - 16px) !important;
    max-width: calc(100dvw - 16px) !important;
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    align-items: center !important;
    justify-content: initial !important;
    gap: 8px !important;
    border-radius: 999px !important;
  }

  .brand-lockup {
    min-width: 0 !important;
    flex: 0 0 auto !important;
  }

  .main-nav {
    width: 100% !important;
    justify-content: flex-start !important;
  }

  .hero {
    padding-top: 94px !important;
  }
}

@media (max-width: 640px) {
  .topbar {
    grid-template-columns: minmax(0, 1fr) !important;
    border-radius: 24px !important;
  }

  .brand-lockup {
    justify-self: center !important;
    width: max-content !important;
    max-width: 100% !important;
  }

  .main-nav {
    justify-self: stretch !important;
  }

  .hero {
    padding-top: 118px !important;
  }
}

/* === Integrated site expansion: B2B2C + B2B architecture === */
:root {
  --paper-warm: #fff6e7;
  --ink-soft: rgba(255,255,255,.76);
}

body {
  overflow-x: clip;
}

.topbar[data-reveal],
.topbar[data-reveal].is-visible {
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  opacity: 1 !important;
}

.main-nav a[href="https://menu.kaleidofest.com"] {
  border: 1px solid rgba(255,255,255,.22);
}

.page-hero {
  min-height: min(860px, 100svh);
  padding-top: 134px;
  padding-bottom: 72px;
  display: grid;
  align-items: center;
}

.page-hero-inner {
  width: min(960px, 100%);
  margin: 0 auto;
  text-align: center;
}

.page-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 18px;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 999px;
  background: rgba(0,0,0,.28);
  color: rgba(255,255,255,.86);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.page-title {
  margin: 0;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(58px, 14vw, 150px);
  line-height: .78;
  text-transform: uppercase;
  letter-spacing: 0;
  text-shadow: 0 18px 60px rgba(0,0,0,.42);
}

.page-subtitle {
  width: min(830px, 100%);
  margin: 22px auto 0;
  color: rgba(255,255,255,.9);
  font-size: clamp(22px, 3.6vw, 38px);
  font-weight: 700;
  line-height: 1.05;
}

.page-copy {
  width: min(760px, 100%);
  margin: 18px auto 0;
  color: rgba(255,255,255,.78);
  font-size: clamp(16px, 2.4vw, 21px);
  line-height: 1.45;
}

.content-section {
  padding-top: clamp(52px, 9vw, 118px);
  padding-bottom: clamp(52px, 9vw, 118px);
}

.content-section.tight {
  padding-top: clamp(34px, 6vw, 74px);
  padding-bottom: clamp(34px, 6vw, 74px);
}

.section-intro {
  width: min(900px, 100%);
  margin: 0 auto clamp(22px, 4vw, 40px);
  text-align: center;
}

.section-intro.left {
  margin-left: 0;
  text-align: left;
}

.section-intro h2 {
  margin: 0;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(50px, 10vw, 118px);
  line-height: .82;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-intro p {
  margin: 16px auto 0;
  color: rgba(255,255,255,.82);
  font-size: clamp(17px, 2.5vw, 24px);
  line-height: 1.35;
}

.section-intro.left p {
  margin-left: 0;
}

.card-grid,
.price-grid-new,
.metric-grid,
.playbook-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
}

.card-grid.two,
.playbook-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.info-card,
.price-card,
.step-card,
.play-card,
.manifest-card,
.calc-card-new {
  min-width: 0;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--glass-line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,.05)),
    rgba(7,7,7,.28);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.16);
  backdrop-filter: blur(22px) saturate(1.18);
  -webkit-backdrop-filter: blur(22px) saturate(1.18);
}

.info-card.color-coral { background: linear-gradient(135deg, rgba(255,95,76,.82), rgba(0,0,0,.18)); }
.info-card.color-gold { background: linear-gradient(135deg, rgba(245,174,0,.82), rgba(0,0,0,.18)); }
.info-card.color-teal { background: linear-gradient(135deg, rgba(5,168,168,.82), rgba(0,0,0,.18)); }
.info-card.color-blue { background: linear-gradient(135deg, rgba(27,132,198,.82), rgba(0,0,0,.18)); }

.info-card small,
.price-card small,
.step-card small,
.play-card small,
.manifest-card small {
  display: block;
  margin-bottom: 12px;
  color: rgba(255,255,255,.68);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.info-card h3,
.price-card h3,
.step-card h3,
.play-card h3,
.manifest-card h3 {
  margin: 0;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(34px, 5.6vw, 66px);
  line-height: .84;
  text-transform: uppercase;
  letter-spacing: 0;
}

.info-card p,
.price-card p,
.step-card p,
.play-card p,
.manifest-card p,
.info-card li,
.play-card li,
.manifest-card li {
  color: rgba(255,255,255,.78);
  font-size: 17px;
  line-height: 1.45;
  font-weight: 650;
}

.info-card ul,
.play-card ul,
.manifest-card ul {
  margin: 16px 0 0;
  padding-left: 20px;
}

.price-card .money {
  display: block;
  margin-top: 18px;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(46px, 7vw, 78px);
  line-height: .8;
}

.price-card .subprice {
  margin-top: 12px;
  color: rgba(255,255,255,.74);
  font-size: 16px;
  line-height: 1.45;
}

.truth-band,
.b2b-band,
.free-band {
  width: min(100%, 1120px);
  margin: clamp(22px, 4vw, 46px) auto 0;
  padding: clamp(22px, 4vw, 42px);
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(18px, 4vw, 52px);
  align-items: center;
  border-radius: clamp(28px, 5vw, 48px);
  background:
    linear-gradient(135deg, rgba(255,95,76,.18), rgba(5,168,168,.12)),
    rgba(0,0,0,.42);
  border: 1px solid rgba(255,255,255,.26);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px) saturate(1.16);
  -webkit-backdrop-filter: blur(22px) saturate(1.16);
}

.truth-band h2,
.b2b-band h2,
.free-band h2 {
  margin: 0;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(48px, 8vw, 104px);
  line-height: .8;
  text-transform: uppercase;
}

.truth-band p,
.b2b-band p,
.free-band p {
  margin: 0;
  color: rgba(255,255,255,.82);
  font-size: clamp(18px, 2.6vw, 25px);
  line-height: 1.32;
}

.map-frame {
  overflow: hidden;
  padding: 12px;
  border-radius: var(--radius-lg);
}

.map-frame img {
  width: 100%;
  aspect-ratio: 1.18 / 1;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 12px);
}

.route-list {
  display: grid;
  gap: 14px;
}

.route-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  align-items: start;
  padding: clamp(18px, 3vw, 28px);
  border-radius: 28px;
  background: rgba(255,255,255,.11);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(18px) saturate(1.16);
  -webkit-backdrop-filter: blur(18px) saturate(1.16);
}

.route-num {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: #201900;
  font-weight: 950;
}

.route-row h3 {
  margin: 0;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(32px, 5vw, 58px);
  line-height: .84;
  text-transform: uppercase;
}

.route-row p {
  margin: 8px 0 0;
  color: rgba(255,255,255,.78);
  font-size: 17px;
  line-height: 1.42;
}

.calc-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(16px, 3vw, 30px);
  align-items: start;
}

.calc-card-new label {
  display: block;
  margin: 14px 0 7px;
  color: rgba(255,255,255,.84);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.calc-card-new input,
.calc-card-new select {
  width: 100%;
  height: 52px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 18px;
  color: #fff;
  background: rgba(0,0,0,.34);
  font-weight: 800;
}

.calc-card-new select option {
  color: #111;
}

.result span {
  display: block;
  margin-top: 13px;
  color: rgba(255,255,255,.6);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.result b {
  display: block;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(36px, 6vw, 62px);
  line-height: .9;
}

.notice-card {
  width: min(100%, 920px);
  margin: clamp(18px, 4vw, 34px) auto 0;
  padding: clamp(18px, 3vw, 28px);
  border-radius: 26px;
  background: rgba(255,243,191,.16);
  border: 1px solid rgba(255,243,191,.42);
  color: rgba(255,255,255,.84);
  font-size: 17px;
  line-height: 1.45;
  font-weight: 700;
}

.token-table {
  width: 100%;
  overflow-x: auto;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(18px) saturate(1.14);
  -webkit-backdrop-filter: blur(18px) saturate(1.14);
}

.token-table table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
}

.token-table th,
.token-table td {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255,255,255,.14);
  text-align: left;
  color: rgba(255,255,255,.82);
  font-weight: 700;
}

.token-table th {
  color: #fff;
  font-size: 12px;
  text-transform: uppercase;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}

.footer-nav a {
  padding: 10px 13px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  color: rgba(255,255,255,.86);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

@media (max-width: 920px) {
  .card-grid,
  .card-grid.two,
  .price-grid-new,
  .metric-grid,
  .playbook-grid,
  .playbook-grid.two,
  .truth-band,
  .b2b-band,
  .free-band,
  .calc-layout {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding-top: 126px;
  }
}

@media (max-width: 640px) {
  .topbar {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .brand-lockup span,
  .brand-lockup strong {
    display: none;
  }
  .page-hero {
    padding-top: 150px;
  }
  .category-row {
    gap: 7px;
  }
  .route-row {
    grid-template-columns: 1fr;
  }
  .route-num {
    width: 46px;
    height: 46px;
  }
}
