/* ============================================================
   CSS VARIABLES & ROOT ELEMENT
   ============================================================ */
:root {
  --accent: #E21A22;
  --hot:    #C81018;
  --neon:   #E21A22;
  --gold:   #E21A22;
  --blue:   #E21A22;
  --neon-pink: #FF4FD8;
  --neon-violet: #9B5CFF;
  --neon-blue: #3478FF;
  --neon-ink: #5B21B6;
  --neon-light: #D8B4FE;
  --night-gradient: linear-gradient(110deg, var(--neon-pink), var(--neon-violet), var(--neon-blue), var(--neon-pink));
  --night-gradient-deep: linear-gradient(110deg, #9D174D, #6D28D9, #1D4ED8, #9D174D);
  --paper:  #FFFFFF;
  --ink:    #111111;
  --void:   #080808;
  --display: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --serif:  Georgia, 'Times New Roman', serif;
  --white: #ffffff;
  --box-shadow-sm: 0 1px 3px 0 rgba(34, 40, 42, 0.1);
  --box-shadow-md: 0 4px 20px 0 rgba(33, 37, 41, 0.05);
  --box-shadow-lg: 0 4px 20px 0 rgba(33, 37, 41, 0.15);
}

/* ============================================================
   BASE / RESET
   ============================================================ */
body { margin: 0; background: #080808; color: var(--paper); font-family: var(--display); font-size: 16px; line-height: 1.6; overflow-x: clip; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration: none; }
a:hover { color: inherit; }
:focus-visible { outline: 3px solid var(--neon-light); outline-offset: 3px; border-radius: 2px; }
[data-on-light] :focus-visible { outline-color: var(--neon-ink); }
::selection { background: #E21A22; color: #fff; }
h1 > span, h2 > span { color:var(--accent) !important; padding:0; box-shadow:none; }
[data-rail] { scrollbar-width: none; -ms-overflow-style: none; }
[data-rail]::-webkit-scrollbar { display: none; }
[data-filter][aria-pressed="false"]:hover { background:rgb(226 26 34 / 8%) !important; color:var(--hot) !important; border-color:var(--hot) !important; }
[data-filter][aria-pressed="true"]:hover { background:#B91219 !important; color:#fff !important; border-color:#B91219 !important; }
img { display: block; max-width: 100%; }
.card-media,
.feature-media { overflow: hidden; background-color: #d0cbbf; padding: 0 !important; margin: 0; line-height: 0; }
.card-media > img,
.feature-media > img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   APP ROOT CONTAINER  (#app-root)
   ============================================================ */
#app-root {
  position: relative;
  background: var(--void);
  color: var(--paper);
  font-family: var(--display);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: clip;
}

/* ============================================================
   GRAIN OVERLAY
   ============================================================ */
#app-root > .grain-overlay {
  position: fixed;
  inset: 0;
  z-index: 400;
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: .1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================================
   HEADER
   ============================================================ */
.nav-slot {
  position: relative;
  z-index: 300;
  min-height: 78px;
  margin-top: -78px;
  background: var(--void);
}

header {
  --nav-neon: #d8b4fe;
  --nav-violet: #9b5cff;
  position: relative;
  width: 100%;
  box-sizing: border-box;
  z-index: 300;
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 0 clamp(20px, 4vw, 64px);
  color: var(--paper);
  border-top: 1px solid rgb(255 255 255 / 16%);
  backdrop-filter: blur(22px) saturate(1.1);
  background: rgb(8 8 8 / 92%);
  transform: none;
  transition: transform 320ms cubic-bezier(.22, .68, .2, 1);
  will-change: transform;
}

header.is-detached {
  position: fixed;
  inset: 0 0 auto;
  border-top: 0;
  border-bottom: 1px solid rgb(255 255 255 / 16%);
  transform: translateY(0);
}

header.is-detached.is-hidden {
  transform: translateY(-100%);
}

header.is-switching {
  transition: none;
}

/* Header logo link */
header > a:first-child {
  display: none;
  align-items: center;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.022em;
  line-height: 1;
}

/* Menu button */
header [data-menu-toggle] {
  position: relative;
}

/* Primary nav */
header nav#primary-navigation {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 34px);
  font-size: 14px;
  font-weight: 550;
  letter-spacing: -.015em;
}

/* Nav links */
header nav#primary-navigation > a {
  position: relative;
  padding: 10px 8px;
  color: rgb(247 244 239 / 92%);
  transition: color 200ms ease, opacity 200ms ease;
}

header nav#primary-navigation > a::before {
  content: "";
  position: absolute;
  right: 8px;
  bottom: 4px;
  left: 8px;
  height: 2px;
  background: linear-gradient(90deg, #ff4fd8 0%, var(--nav-violet) 52%, #3478ff 100%);
  box-shadow: 0 0 12px rgb(155 92 255 / 58%), 0 0 24px rgb(52 120 255 / 22%);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 280ms cubic-bezier(.22,.68,.2,1);
}

header nav#primary-navigation > a:hover::before,
header nav#primary-navigation > a:focus-visible::before {
  transform: scaleX(1);
}

header nav#primary-navigation > a:focus-visible {
  outline-color: var(--nav-violet);
}

@media (min-width: 1101px) {
  .nav-slot {
    min-height: 126px;
    margin-top: -126px;
  }

  header {
    min-height: 126px;
  }

  header.is-detached {
    min-height: 78px;
  }

  header nav#primary-navigation {
    width: 100%;
    align-self: stretch;
    justify-content: space-between;
    gap: clamp(10px, 1.25vw, 24px);
    font-size: clamp(15px, 1.05vw, 19px);
    font-weight: 650;
    letter-spacing: .075em;
    text-transform: uppercase;
  }

  header nav#primary-navigation > a {
    display: flex;
    flex: 0 0 auto;
    align-self: stretch;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding-right: clamp(2px, .3vw, 6px);
    padding-left: clamp(2px, .3vw, 6px);
    line-height: 1;
  }

  header nav#primary-navigation .nav-icon {
    width: 27px;
    height: 27px;
    flex: 0 0 auto;
    transition: transform 220ms cubic-bezier(.22, .68, .2, 1);
  }

  header nav#primary-navigation > a::before {
    bottom: 0;
    height: 3px;
  }

  header nav#primary-navigation:has(> a:hover) > a:not(:hover),
  header nav#primary-navigation:has(> a:focus-visible) > a:not(:focus-visible) {
    opacity: .6;
  }

  header:not(.is-detached) nav#primary-navigation > a:hover .nav-icon,
  header:not(.is-detached) nav#primary-navigation > a:focus-visible .nav-icon {
    transform: translateY(-3px);
  }

  header.is-detached nav#primary-navigation > a {
    flex-direction: row;
    gap: 0;
  }

  header.is-detached nav#primary-navigation .nav-icon {
    display: none;
  }
}

/* ============================================================
   MAIN
   ============================================================ */
main#main {
  outline: none;
}

/* ============================================================
   HERO SECTION  (#top)
   ============================================================ */
#top {
  position: relative;
  display: flex;
  box-sizing: border-box;
  width: 100%;
  height: 100svh;
  min-height: 100svh;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(34px, 5vh, 54px) clamp(20px, 5vw, 80px) 110px;
  overflow: hidden;
  background: var(--void);
  isolation: isolate;
}

/* Hero background image wrapper */
#top > div[aria-hidden="true"] {
  position: absolute;
  inset: auto 0 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

#top > div[aria-hidden="true"] > img {
  position: absolute;
  z-index: 0;
  right: auto;
  bottom: -150px;
  left: 50%;
  width: auto;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center bottom;
  transform: translateX(-50%);
}

/* Slow-moving neon haze over the skyline. */
#top > div[aria-hidden="true"]::before {
  content: "";
  position: absolute;
  inset: -24%;
  z-index: 1;
  pointer-events: none;
  opacity: .56;
  background:
    radial-gradient(circle, rgb(226 26 34 / 72%) 0 10%, transparent 68%) 2% 76% / 48% 58% no-repeat,
    radial-gradient(circle, rgb(128 43 226 / 58%) 0 10%, transparent 68%) 70% 20% / 46% 56% no-repeat,
    radial-gradient(circle, rgb(23 94 232 / 52%) 0 10%, transparent 68%) 105% 80% / 52% 62% no-repeat;
  filter: blur(58px) saturate(1.38);
  mix-blend-mode: screen;
  transform: translate3d(-2%, 1%, 0) scale(1.02) rotate(-1.2deg);
  animation: hero-neon-drift 10s cubic-bezier(.45, 0, .55, 1) infinite alternate;
  will-change: transform, opacity, background-position;
}

/* Stable contrast layer keeps the animated color from reducing legibility. */
#top > div[aria-hidden="true"]::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 25%, rgb(0 0 0 / 48%) 0%, rgb(0 0 0 / 18%) 48%, transparent 72%),
    linear-gradient(180deg, rgb(0 0 0 / 70%) 0%, rgb(0 0 0 / 28%) 45%, rgb(0 0 0 / 58%) 100%);
}

@keyframes hero-neon-drift {
  0% {
    opacity: .44;
    background-position: 2% 76%, 70% 20%, 105% 80%;
    transform: translate3d(-4%, 2%, 0) scale(1.01) rotate(-2.5deg);
  }
  34% {
    opacity: .7;
    background-position: 16% 62%, 56% 34%, 82% 70%;
    transform: translate3d(4%, -3%, 0) scale(1.1) rotate(1.8deg);
  }
  68% {
    opacity: .5;
    background-position: 8% 40%, 78% 50%, 60% 88%;
    transform: translate3d(-3%, 4%, 0) scale(1.045) rotate(-1.4deg);
  }
  100% {
    opacity: .72;
    background-position: 28% 70%, 48% 22%, 90% 48%;
    transform: translate3d(5%, -4%, 0) scale(1.12) rotate(2.8deg);
  }
}

/* Hero content wrapper */
#top > div:last-child {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(1180px, 100%);
  margin: 0 auto;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

#top .hero-logo {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-bottom: clamp(12px, 2vh, 20px);
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 700;
  letter-spacing: -.025em;
}

/* Hero eyebrow */
#top .hero-kicker {
  margin: 0 0 clamp(12px, 2vh, 18px);
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* Hero h1 */
#top h1#hero-title {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(48px, min(7vw, 11vh), 104px);
  font-weight: 640;
  letter-spacing: -.032em;
  line-height: .98;
  text-wrap: balance;
}

/* Hero sub-paragraph */
#top .hero-copy {
  max-width: 46ch;
  margin: clamp(18px, 3vh, 28px) 0 0;
  color: rgb(247 244 239 / 82%);
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.55;
  text-wrap: pretty;
}

/* Hero CTA row */
#top .hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: clamp(22px, 3.5vh, 34px);
}

/* Hero primary CTA */
#top .hero-action-primary {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  gap: 14px;
  padding: 0 28px;
  background: var(--hot);
  color: #fff;
  border: 1px solid var(--hot);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -.01em;
  box-shadow: 0 18px 44px rgb(20 20 20 / 38%);
  transition: transform 220ms cubic-bezier(.22, .68, .2, 1), background 220ms ease, color 220ms ease;
}

/* Hero secondary CTA */
#top .hero-action-secondary {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  gap: 12px;
  padding: 0 24px;
  color: var(--paper);
  border: 1px solid rgb(247 244 239 / 38%);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: transform 220ms cubic-bezier(.22, .68, .2, 1), border-color 200ms ease, color 200ms ease, box-shadow 240ms ease;
}

#top .hero-action-secondary > span {
  transition: transform 220ms cubic-bezier(.22, .68, .2, 1);
}

@keyframes nightlife-button-glow {
  to { background-position: 0 0, 200% 50%; }
}

@keyframes neon-text-drift {
  to { background-position: 200% center; }
}

/* ============================================================
   DISCOVER SECTION  (#discover)
   ============================================================ */
#discover {
  padding: clamp(104px, 9.5vw, 176px) clamp(20px, 5vw, 80px);
  background: var(--paper);
  color: var(--ink);
}

/* Discover inner grid */
#discover > div {
  display: grid;
  max-width: 1560px;
  margin: 0 auto;
  grid-template-columns: minmax(300px, .72fr) minmax(0, 2fr);
  gap: clamp(48px, 5vw, 112px);
  align-items: start;
}

/* Discover sticky sidebar */
#discover > div > div:first-child {
  position: sticky;
  top: 120px;
}

/* Discover eyebrow */
#discover > div > div:first-child > p:first-child {
  margin: 0 0 18px;
  color: var(--hot);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  list-style: none;
  display: block;
}

/* Discover h2 */
#discover h2#discover-title {
  margin: 0;
  font-size: clamp(44px, 4.4vw, 76px);
  font-weight: 640;
  letter-spacing: -.03em;
  line-height: 1.02;
  text-wrap: balance;
}

/* Discover description paragraph */
#discover > div > div:first-child > p:nth-child(3) {
  max-width: 34ch;
  margin: 22px 0 34px;
  color: rgb(20 20 20 / 74%);
  font-size: 17px;
  line-height: 1.6;
  text-wrap: pretty;
}

/* Discover filter group */
#discover [role="group"][aria-label="Filter experiences by category"] {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Discover filter buttons — active state */
#discover [data-filter][aria-pressed="true"] {
  min-height: 48px;
  padding: 0 24px;
  background: var(--hot);
  color: #FFFFFF;
  border: 1px solid var(--hot);
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.015em;
  transition: all 180ms ease;
}

/* Discover filter buttons — inactive state */
#discover [data-filter][aria-pressed="false"] {
  min-height: 48px;
  padding: 0 24px;
  background: transparent;
  color: var(--ink);
  border: 1px solid rgb(20 20 20 / 58%);
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.015em;
  transition: all 180ms ease;
}

/* Discover status */
#discover [role="status"] {
  margin: 20px 0 0;
  color: rgb(20 20 20 / 70%);
  font-size: 14px;
  /* Note: overridden to display:none elsewhere in existing CSS */
}

/* Discover card grid */
#discover ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(44px, 4vw, 76px) clamp(28px, 2.8vw, 48px);
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Discover list items */
#discover ul > li {
  display: block;
}

/* Discover card links */
#discover [data-kind] > a {
  display: block;
  transition: transform 320ms cubic-bezier(.22, .68, .2, 1);
}

/* Discover card image */
#discover [data-kind] > a > .c-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 3px;
}

/* Discover card category label */
#discover [data-kind] > a > .card-eyebrow {
  margin: 18px 0 8px;
  color: var(--hot);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* Discover card title */
#discover [data-kind] > a > .card-title {
  margin: 0;
  font-size: clamp(22px, 1.8vw, 30px);
  font-weight: 700;
  letter-spacing: -.026em;
  line-height: 1.2;
}

/* Discover card description */
#discover [data-kind] > a > .card-desc {
  margin: 10px 0 0;
  color: rgb(20 20 20 / 72%);
  font-size: 16px;
  line-height: 1.5;
}

/* ============================================================
   STORIES SECTION  (#stories)
   ============================================================ */
#stories {
  position: relative;
  overflow: hidden;
  padding: clamp(104px, 9.5vw, 176px) 0;
  background: #FFFFFF;
  color: var(--ink);
  border-top: 1px solid rgb(17 17 17 / 12%);
}

/* Stories inner container */
#stories > div:first-child {
  position: relative;
  max-width: 1560px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 80px);
}

/* Stories eyebrow */
#stories > div:first-child > p:first-child {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* Stories header row (title + nav arrows) */
#stories > div:first-child > div:first-of-type {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 46px;
}

/* Stories h2 */
#stories h2#stories-title {
  margin: 0;
  font-size: clamp(48px, 5.6vw, 104px);
  font-weight: 640;
  letter-spacing: -.03em;
  line-height: 1;
}

/* Stories arrow button group */
#stories > div:first-child > div:first-of-type > div {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}

/* Stories arrow buttons */
#stories button[aria-label^="Scroll"] {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  background: transparent;
  color: var(--ink);
  border: 2px solid #111111;
  border-radius: 50%;
  cursor: pointer;
  font-family: inherit;
  font-size: 17px;
  transition: all 200ms ease;
}

/* Stories scroll rail */
#stories [data-rail] {
  position: relative;
  display: grid;
  grid-auto-columns: minmax(360px, 32vw);
  grid-auto-flow: column;
  gap: 24px;
  margin: 0;
  padding: 0 clamp(20px, 5vw, 80px);
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scroll-padding-inline-start: clamp(20px, 5vw, 80px);
  list-style: none;
}

/* Stories rail items */
#stories [data-rail] > li {
  min-width: 0;
  scroll-snap-align: start;
}

/* Stories card links */
#stories [data-rail] > li > a {
  display: flex;
  flex-direction: column;
  color: var(--ink);
  transition: transform 320ms cubic-bezier(.22, .68, .2, 1);
}

/* Stories card image */
#stories [data-rail] > li > a > .c-img {
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 8px;
  background-color: #d0cbbf;
}

/* Stories card text content */
#stories [data-rail] > li > a > .card-body {
  padding: 18px 0 0;
}

/* Stories card category label */
#stories [data-rail] > li > a > .card-body > .card-eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* Stories card title */
#stories [data-rail] > li > a > .card-body > .card-title {
  margin: 0;
  max-width: 20ch;
  font-size: clamp(24px, 2vw, 33px);
  font-weight: 700;
  letter-spacing: -.026em;
  line-height: 1.18;
}

/* Stories progress bar wrapper */
#stories > div[aria-hidden="true"] {
  position: relative;
  max-width: 1560px;
  margin: 34px auto 0;
  padding: 0 clamp(20px, 5vw, 80px);
}

/* Stories progress bar track */
#stories > div[aria-hidden="true"] > div {
  position: relative;
  height: 2px;
  background: rgb(17 17 17 / 16%);
  border-radius: 2px;
}

/* Stories progress bar thumb */
#stories > div[aria-hidden="true"] > div > span {
  position: absolute;
  top: -1px;
  left: 0;
  display: block;
  width: 39%;
  height: 4px;
  background: #111111;
  border-radius: 3px;
  transition: left 140ms linear, width 220ms ease;
}

/* ============================================================
   FEATURE SECTION  (scenic route)
   ============================================================ */
#side-quests {
  position: relative;
  overflow: hidden;
  padding: clamp(104px, 9.5vw, 176px) 0;
  background: #fff;
  color: var(--ink);
  border-top: 1px solid rgb(17 17 17 / 12%);
}
#side-quests > div:first-child { max-width: 1560px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 80px); }
#side-quests > div:first-child > div { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 44px; }
#side-quests h2 { margin: 0; font-size: clamp(48px, 5.6vw, 104px); font-weight: 640; letter-spacing: -.03em; line-height: 1; text-wrap: balance; }
#side-quests h2 + p { max-width: 55ch; margin: 20px 0 0; color: rgb(17 17 17 / 72%); font-size: 17px; }
#side-quests > div:first-child > div > div:last-child { display: flex; flex: 0 0 auto; gap: 10px; }
#side-quests button {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  background: transparent;
  color: var(--ink);
  border: 2px solid #111111;
  border-radius: 50%;
  cursor: pointer;
  font-family: inherit;
  font-size: 17px;
  transition: all 200ms ease;
}
#side-quests [data-rail] {
  display: grid;
  grid-auto-columns: minmax(360px, 32vw);
  grid-auto-flow: column;
  gap: 24px;
  margin: 0;
  padding: 0 clamp(20px, 5vw, 80px);
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-padding-inline-start: clamp(20px, 5vw, 80px);
  scroll-snap-type: inline mandatory;
  list-style: none;
}
#side-quests [data-rail] > li { min-width: 0; scroll-snap-align: start; }
#side-quests [data-rail] a {
  display: flex;
  flex-direction: column;
  color: var(--ink);
  transition: transform 320ms cubic-bezier(.22,.68,.2,1);
}
#side-quests .c-img { width: 100%; aspect-ratio: 4/3; border-radius: 8px; }
#side-quests [data-rail] a > .card-body { padding: 18px 0 0; }
#side-quests [data-rail] .card-eyebrow { margin: 0 0 10px; color: var(--accent); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
#side-quests [data-rail] .card-title { margin: 0; max-width: 20ch; font-size: clamp(24px, 2vw, 33px); font-weight: 700; letter-spacing: -.026em; line-height: 1.18; text-wrap: balance; }
#side-quests > div[aria-hidden="true"] { max-width: 1560px; margin: 34px auto 0; padding: 0 clamp(20px, 5vw, 80px); }
#side-quests > div[aria-hidden="true"] > div { position: relative; height: 2px; background: rgb(17 17 17 / 16%); border-radius: 2px; }
#side-quests [data-rail-progress] { position: absolute; top: -1px; left: 0; height: 4px; background: #111111; border-radius: 3px; transition: left 140ms linear, width 220ms ease; }
#side-quests button:disabled,
#stories button:disabled {
  color: rgb(17 17 17 / 42%);
  border-color: rgb(17 17 17 / 30%);
  cursor: not-allowed;
}

#stories button:not(:disabled),
#side-quests button:not(:disabled) {
  color: #000000;
}

#stories button svg,
#side-quests button svg {
  width: 22px;
  height: 22px;
  transition: stroke-width 200ms ease;
}

#stories button:not(:disabled) svg,
#side-quests button:not(:disabled) svg {
  stroke-width: 2.75;
}
@media (hover: hover) {
  #side-quests [data-rail] a:hover { transform: translateY(-6px); }
}

section[aria-labelledby="feature-title"] {
  display: grid;
  grid-template-columns: minmax(400px, 1fr) minmax(0, 800px);
  align-items: center;
  background: #FFFFFF;
  color: var(--ink);
  border-top: 1px solid rgb(17 17 17 / 12%);
}

/* Feature text column */
section[aria-labelledby="feature-title"] > div:first-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(56px, 7vw, 110px);
}

/* Feature eyebrow */
section[aria-labelledby="feature-title"] > div:first-child > p:first-child {
  margin: 0 0 22px;
  color: rgb(255 255 255 / 88%);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* Feature h2 */
section[aria-labelledby="feature-title"] h2#feature-title {
  margin: 0;
  max-width: 13ch;
  font-size: clamp(46px, 5vw, 88px);
  font-weight: 640;
  color: var(--ink);
  letter-spacing: -.03em;
  line-height: .91;
  text-wrap: balance;
}

/* Feature description */
section[aria-labelledby="feature-title"] > div:first-child > p:nth-child(3) {
  max-width: 52ch;
  margin: 28px 0 36px;
  color: rgb(17 17 17 / 74%);
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.62;
  text-wrap: pretty;
}

/* Feature CTA link */
section[aria-labelledby="feature-title"] > div:first-child > a {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  gap: 14px;
  padding: 0 32px;
  background: #111111;
  color: #FFFFFF;
  border: 1px solid #111111;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 650;
  transition: transform 220ms cubic-bezier(.22, .68, .2, 1), background 220ms ease;
}

/* Feature image column */
section[aria-labelledby="feature-title"] > div:last-child {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0;
}

/* Feature image */
section[aria-labelledby="feature-title"] > div:last-child > .c-img {
  width: min(100%, 800px);
  aspect-ratio: 4 / 3;
  height: auto;
  min-height: 0;
  overflow: hidden;
  border-radius: 0 !important;
}

section[aria-labelledby="feature-title"] > div:last-child > .c-img > img {
  width: 100%;
  height: auto;
  object-fit: initial;
}

/* ============================================================
   IDEAS SECTION  (#ideas)
   ============================================================ */
#ideas {
  padding: clamp(104px, 9.5vw, 176px) clamp(20px, 5vw, 80px);
  background: #FFFFFF;
  color: var(--ink);
  border-top: 1px solid rgb(17 17 17 / 12%);
}

/* Ideas inner container */
#ideas > div {
  max-width: 1560px;
  margin: 0 auto;
}

/* Ideas eyebrow */
#ideas > div > p:first-child {
  margin: 0 0 18px;
  color: var(--hot);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* Ideas header row */
#ideas > div > div:first-of-type {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 52px;
}

/* Ideas h2 */
#ideas h2#ideas-title {
  margin: 0;
  font-size: clamp(48px, 5.6vw, 104px);
  font-weight: 640;
  letter-spacing: -.03em;
  line-height: 1;
}

/* Ideas card grid */
#ideas ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 1.8vw, 28px);
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Ideas list items */
#ideas li {
  display: flex;
}

/* Ideas card links */
#ideas li > a {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  background: #F7F7F7;
  color: #111111;
  border: 1px solid #E2E2E2;
  border-radius: 3px;
  transition: transform 340ms cubic-bezier(.22, .68, .2, 1), box-shadow 340ms ease;
}

/* Ideas card image */
#ideas li > a > .c-img {
  flex: 0 0 auto;
  aspect-ratio: 1/1;
  border-radius: 0;
}

/* Ideas card text block */
#ideas li > a > .card-body {
  flex: 0 0 auto;
  padding: 22px 14px 26px;
}

/* Ideas card label */
#ideas li > a > .card-body > .card-eyebrow {
  margin: 0 0 10px;
  color: var(--hot);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  min-height: 3.1em;
}

/* Ideas card title */
#ideas li > a > .card-body > .card-title {
  margin: 0;
  font-size: clamp(28px, 2.4vw, 42px);
  font-weight: 640;
  letter-spacing: -.03em;
  line-height: 1.04;
}

/* ============================================================
   AFTER DARK SECTION  (#after-dark)
   ============================================================ */
#after-dark {
  position: relative;
  overflow: hidden;
  padding: clamp(104px, 9.5vw, 176px) clamp(20px, 5vw, 80px);
  background: #080808;
  color: var(--paper);
}

#after-dark::before {
  content: "";
  position: absolute;
  inset: -18% -12%;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 38%, rgb(255 79 216 / 12%), transparent 32%),
    radial-gradient(circle at 82% 64%, rgb(52 120 255 / 14%), transparent 34%);
  filter: blur(42px);
}

/* After-dark inner container */
#after-dark > div {
  position: relative;
  z-index: 1;
  max-width: 1560px;
  margin: 0 auto;
}

/* After-dark title block */
#after-dark > div > div:first-child {
  position: relative;
  z-index: 2;
  margin-bottom: clamp(28px, 3vw, 48px);
  pointer-events: none;
}

/* After-dark eyebrow */
#after-dark > div > div:first-child > p {
  margin: 0 0 12px 3px;
  color: rgb(247 244 239 / 78%);
  font-size: clamp(13px, 1.1vw, 16px);
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
}

/* After-dark h2 */
#after-dark h2#night-title {
  margin: 0;
  font-size: clamp(60px, 10vw, 168px);
  font-weight: 640;
  letter-spacing: -.06em;
  line-height: .8;
  white-space: nowrap;
}

#top h1#hero-title > span,
#after-dark h2#night-title > span {
  color: transparent !important;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0;
  background: linear-gradient(105deg, #FF65DC 0%, #A675FF 25%, #5B8CFF 50%, #A675FF 75%, #FF65DC 100%);
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  text-shadow: none;
  filter:
    drop-shadow(0 0 6px rgb(255 79 216 / 30%))
    drop-shadow(0 0 14px rgb(155 92 255 / 24%))
    drop-shadow(0 0 24px rgb(52 120 255 / 14%));
  animation: neon-text-drift 3.6s linear infinite;
  will-change: background-position;
}

/* After-dark card grid */
#after-dark > div > ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* After-dark list items */
#after-dark > div > ul > li {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

/* After-dark card link */
#after-dark > div > ul > li > a {
  display: flex;
  flex-direction: column;
  color: inherit;
  transition: transform 240ms cubic-bezier(.22, .68, .2, 1);
}

/* After-dark card image */
#after-dark > div > ul > li > a > .c-img {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 12px;
}

#after-dark .c-img { background-color: #2a2a2a; }

/* After-dark card text content */
#after-dark > div > ul > li > a > .card-body {
  padding: 20px 0 0;
}

/* After-dark card title */
#after-dark > div > ul > li .card-title {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(26px, 2.7vw, 42px);
  font-weight: 640;
  letter-spacing: -.03em;
  line-height: 1.04;
  text-decoration-line: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 3px;
  text-underline-offset: .12em;
  transition: text-decoration-color 200ms ease;
}

/* After-dark card description */
#after-dark > div > ul > li > a > .card-body > .card-desc {
  max-width: 28ch;
  margin: 14px 0 20px;
  color: rgb(247 244 239 / 80%);
  font-size: 15px;
}

/* After-dark card CTA */
#after-dark > div > ul > li > a > .card-body > .card-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: color 200ms ease;
}

/* After-dark card CTA underline */
#after-dark > div > ul > li > a > .card-body > .card-cta > span:first-child {
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
}

/* After-dark card CTA arrow */
#after-dark > div > ul > li > a > .card-body > .card-cta > span:last-child {
  display: inline-block;
  transition: transform 200ms ease;
}

/* After-dark focus state */
#after-dark > div > ul > li:focus-within {
  outline: 3px solid var(--neon-light);
  outline-offset: 5px;
  border-radius: 8px;
}

#after-dark > div > ul > li > a:focus-visible { transform: translateY(-5px); }
#after-dark > div > ul > li > a:focus-visible .card-title,
#after-dark > div > ul > li > a:focus-visible > .card-body > .card-cta {
  color: transparent;
  -webkit-text-fill-color: transparent;
  background: var(--night-gradient);
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  text-decoration-color: transparent;
}
#after-dark > div > ul > li > a:focus-visible > .card-body > .card-cta > span:last-child { transform: translateX(5px); }

@media (hover: hover) {
  #after-dark > div > ul > li:hover > a { transform: translateY(-5px); }
  #after-dark > div > ul > li:hover .card-title,
  #after-dark > div > ul > li:hover > a > .card-body > .card-cta {
    color: transparent;
    -webkit-text-fill-color: transparent;
    background: var(--night-gradient);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    text-decoration-color: transparent;
    animation: neon-text-drift 2.8s linear infinite;
  }
  #after-dark > div > ul > li:hover > a > .card-body > .card-cta > span:last-child { transform: translateX(5px); }
}

/* ============================================================
   PLAN SECTION  (#plan)
   ============================================================ */
#plan {
  display: flex;
  flex-direction: column;
  gap: clamp(36px, 4vw, 52px);
  padding: clamp(80px, 8vw, 124px) clamp(20px, 7vw, 110px);
  background: #080808;
  color: var(--paper);
  border-top: 1px solid rgb(255 255 255 / 12%);
}

/* Plan h2 */
#plan h2#plan-title {
  margin: 0;
  font-size: clamp(52px, 5.4vw, 96px);
  font-weight: 640;
  letter-spacing: -.03em;
  line-height: 1;
  text-align: center;
}

/* Plan description */
#plan > div > p {
  max-width: 34ch;
  margin: 26px 0 0;
  color: rgb(247 244 239 / 80%);
  font-size: 17px;
  line-height: 1.62;
  text-wrap: pretty;
}

/* Plan links list */
#plan > ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 clamp(20px, 3vw, 48px);
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Plan link items */
#plan > ul > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 58px;
  padding: 14px 0;
  color: rgb(247 244 239 / 92%);
  border-bottom: 1px solid rgb(247 244 239 / 12%);
  font-size: clamp(15px, 1.15vw, 18px);
  white-space: nowrap;
  font-weight: 600;
  letter-spacing: -.025em;
  transition: color 200ms ease, padding-left 200ms ease;
}

/* Plan link arrow icon */
#plan > ul > li > a > span[aria-hidden="true"] {
  opacity: .5;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding: 56px clamp(20px, 5vw, 80px) 42px;
  background: #080808;
  color: var(--paper);
  text-align: center;
}

/* Footer logo */
footer > a:first-child, footer > span {
  display: inline-flex;
  align-items: center;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.022em;
  line-height: 1;
}

/* Footer nav */
footer > nav {
  display: flex;
  width: 100%;
  box-sizing: border-box;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
  color: rgb(247 244 239 / 70%);
  font-size: 13px;
  font-weight: 500;
}

/* Footer nav links */
footer > nav > a {
  transition: color 200ms ease;
}

/* Local resources share the footer-link treatment, with a quiet division. */
footer > nav.footer-local-links {
  padding-bottom: 28px;
  border-bottom: 1px solid rgb(247 244 239 / 12%);
}

/* Footer copyright / disclaimer */
footer > p {
  margin: 0;
  padding-top: 24px;
  color: rgb(247 244 239 / 48%);
  border-top: 1px solid rgb(247 244 239 / 12%);
  font-size: 12px;
  line-height: 1.7;
  max-width: none;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}

footer > p a {
  color: rgb(247 244 239 / 70%);
  text-decoration: underline;
  text-underline-offset: 2px;
}

footer > p a:hover {
  color: var(--paper);
}

/* ============================================================
   EXISTING STRUCTURAL / EDITORIAL OVERRIDES
   ============================================================ */
#discover [role="status"] { display:none; }
#discover [data-kind] > a > .card-eyebrow { color:var(--hot) !important; }
#top .hero-kicker,
#discover > div > div:first-child > p:first-child,
#stories > div:first-child > p:first-child,
section[aria-labelledby="feature-title"] > div:first-child > p:first-child,
#ideas > div > p:first-child,
#after-dark > div > div:first-child > p:first-child { display:block; min-height:0; padding:0; color:var(--accent) !important; background:transparent; border:0; border-radius:0; line-height:1.3; }
#stories [data-rail] a { color:var(--ink); }
/* Content media uses plain images without decorative shadows. */
#top [aria-hidden="true"] > img,
#stories [data-rail] .c-img,
#after-dark .c-img { box-shadow:none !important; }

/* Image-first editorial cards: text always sits outside the media. */
#discover [data-kind] > a {
  position:relative;
  display:block !important;
  min-height:0;
  box-sizing:border-box;
  padding:0;
  overflow:visible;
  color:var(--ink);
}
#discover [data-kind] > a > .c-img { position:relative; inset:auto; width:100%; height:auto; aspect-ratio:4/3; border-radius:8px !important; }
#discover [data-kind] > a > .card-eyebrow,
#discover [data-kind] > a > .card-title,
#discover [data-kind] > a > .card-desc { position:static; }
#discover [data-kind] > a > .card-eyebrow { margin:16px 0 7px !important; color:var(--hot) !important; }
#discover [data-kind] > a > .card-desc { margin:9px 0 0 !important; color:rgb(17 17 17 / 70%) !important; }



#discover .c-img,
section[aria-labelledby="feature-title"] .c-img,
#ideas li > a,
#ideas .c-img { width:100%; border-radius:7px 7px 0 0 !important; }
/* Editorial rhythm inspired by city-guide publishing: bold rules, tighter density, clear hierarchy. */
#discover,
#stories,
#ideas { border-top:1px solid rgb(17 17 17 / 16%) !important; }
#discover > div,
#stories > div:first-child,
#ideas > div { position:relative; }
#discover h2,
#stories h2,
#ideas h2 { letter-spacing:-.045em !important; }
#ideas li > a { border-radius:8px !important; }
#discover .c-img,
#stories .c-img,
#ideas .c-img { transition:transform 360ms cubic-bezier(.22,.68,.2,1); }
#discover [data-kind] .card-title,
#stories [data-rail] .card-title,
#side-quests [data-rail] .card-title,
#ideas .card-title { text-wrap:balance; text-decoration-line:underline; text-decoration-color:transparent; text-decoration-thickness:3px; text-underline-offset:.12em; transition:text-decoration-color 200ms ease; }
#discover [data-kind] > a:focus-visible .card-title,
#stories [data-rail] a:focus-visible .card-title,
#side-quests [data-rail] a:focus-visible .card-title,
#ideas li > a:focus-visible .card-title {
  color: transparent;
  -webkit-text-fill-color: transparent;
  background: var(--night-gradient-deep);
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  text-decoration-color: transparent;
}
@media (hover:hover) {
  #discover [data-kind]:hover .card-title,
  #stories [data-rail] li:hover .card-title,
  #side-quests [data-rail] li:hover .card-title,
  #ideas li:hover .card-title {
    color: transparent;
    -webkit-text-fill-color: transparent;
    background: var(--night-gradient-deep);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    text-decoration-color: transparent;
    animation: neon-text-drift 2.8s linear infinite;
  }
}
[data-menu-toggle] { display:none; }
@media (max-width: 1100px) {
  html.menu-open,
  body.menu-open {
    overflow: hidden;
    overscroll-behavior: none;
  }

  .nav-slot {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    min-height: 64px;
    margin-top: 0;
  }
  #top { padding-top: clamp(92px, 12vh, 118px); }
  #top .hero-actions {
    width: min(100%, 540px);
  }
  #top .hero-actions > a {
    flex: 1 1 0;
    justify-content: center;
    min-height: 56px;
    padding-right: clamp(26px, 4vw, 40px);
    padding-left: clamp(26px, 4vw, 40px);
  }
  header {
    min-height:64px !important;
    box-sizing:border-box;
    gap:16px !important;
    padding:0 18px !important;
    justify-content:space-between;
    border-top:0;
    border-bottom:1px solid rgb(255 255 255 / 16%);
  }
  header > a:first-child { display:inline-flex; align-self:center; align-items:center; width:auto; min-height:44px; }
  #top .hero-logo { display:none; }
  [data-menu-toggle] {
    display:grid;
    width:44px;
    height:44px;
    margin-left:auto;
    padding:0;
    place-items:center;
    background:transparent;
    color:#fff;
    border:0;
    border-radius:0;
    cursor:pointer;
  }
  [data-menu-toggle] span,
  [data-menu-toggle]::before,
  [data-menu-toggle]::after {
    content:"";
    display:block;
    position:absolute;
    width:18px;
    height:1.5px;
    background:currentColor;
    transition:transform 180ms ease, opacity 180ms ease;
  }
  [data-menu-toggle]::before { transform:translateY(-6px); }
  [data-menu-toggle]::after { transform:translateY(6px); }
  [data-menu-toggle][aria-expanded="true"] span { opacity:0; }
  [data-menu-toggle][aria-expanded="true"]::before { transform:rotate(45deg); }
  [data-menu-toggle][aria-expanded="true"]::after { transform:rotate(-45deg); }
  header nav {
    position:absolute;
    top:100%;
    right:0;
    bottom:auto;
    left:0;
    display:flex !important;
    width:auto;
    height:calc(100dvh - 64px);
    box-sizing:border-box;
    flex-direction:column;
    align-items:stretch !important;
    gap:0 !important;
    padding:10px 18px max(20px, env(safe-area-inset-bottom));
    overflow-x:hidden;
    overflow-y:auto;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
    background:rgb(8 8 8 / 98%);
    border-bottom:1px solid rgb(255 255 255 / 16%);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transform:translateY(-8px);
    transition:opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }
  header nav[data-open="true"] { opacity:1; visibility:visible; pointer-events:auto; transform:translateY(0); }
  header nav > a {
    width:100%;
    min-height:52px !important;
    box-sizing:border-box;
    padding:0 2px !important;
    display:flex;
    align-items:center;
    justify-content:flex-start;
    gap:18px;
    border:0 !important;
    border-bottom:1px solid rgb(255 255 255 / 14%) !important;
    border-radius:0;
    font-size:17px;
    background-image:none !important;
  }
  header nav > a > span { margin-right:auto; }
  header nav > a::after { content:"→"; margin-left:8px; color:rgb(255 255 255 / 45%); }
  header nav > a::before { display:none; }
  header nav .nav-icon {
    display:block;
    width:24px;
    height:24px;
    flex:0 0 auto;
  }
}

@media (max-width: 760px) {
  #top { height:min(100svh,800px) !important; min-height:min(100svh,800px) !important; max-height:800px !important; padding:92px 20px 34px !important; }
  #top > div:last-child { width:100% !important; }
  #top h1 { font-size:clamp(48px,16vw,68px) !important; }
  #top h1 + p { font-size:16px !important; }
  #top h1 + p + div { flex-wrap:nowrap !important; align-items:stretch !important; gap:8px !important; }
  #top h1 + p + div > a { flex:1 1 0; min-width:0; justify-content:center; min-height:52px !important; padding:0 20px !important; gap:8px !important; font-size:14px !important; text-align:center; white-space:nowrap; }

  #discover,
  #stories,
  #ideas,
  #after-dark { padding-top:76px !important; padding-bottom:76px !important; }
  #discover { box-sizing:border-box; padding-right:20px !important; padding-left:20px !important; }
  #discover > div { width:100%; min-width:0; box-sizing:border-box; grid-template-columns:minmax(0,1fr) !important; gap:38px !important; }
  #discover > div > div:first-child { position:static !important; }
  #discover h2 { width:100%; max-width:none !important; font-size:clamp(43px,13vw,58px) !important; }
  #discover h2 + p { margin:18px 0 24px !important; }
  #discover [role="group"] {
    display:none !important;
    width:calc(100vw - 40px);
    flex-wrap:nowrap !important;
    padding:0 20px 6px;
    margin-left:-20px;
    overflow-x:auto;
    scrollbar-width:none;
    scroll-snap-type:x proximity;
  }
  #discover [role="group"]::-webkit-scrollbar { display:none; }
  #discover [role="group"] button { flex:0 0 auto; min-height:44px !important; padding:0 18px !important; scroll-snap-align:start; }
  #discover ul { width:100%; min-width:0; box-sizing:border-box; grid-template-columns:minmax(0,1fr) !important; gap:32px !important; }
  #discover [data-kind] { display:block !important; width:100%; min-width:0; box-sizing:border-box; }
  #discover [data-kind] > a { width:100%; min-width:0; min-height:0 !important; aspect-ratio:auto; box-sizing:border-box; padding:0; }
  #discover [data-kind] .card-title { font-size:clamp(27px,7.5vw,34px) !important; }

  #stories > div:first-child > div { align-items:flex-start !important; margin-bottom:28px !important; }
  #stories > div:first-child > div > div { display:none !important; }
  #stories h2,
  #ideas h2 { font-size:clamp(42px,12vw,56px) !important; line-height:.96 !important; }
  #stories [data-rail] { display:flex !important; gap:14px !important; padding:0 20px !important; scroll-padding-inline-start:20px !important; }
  #stories [data-rail] > li { flex:0 0 calc(100vw - 52px); width:calc(100vw - 52px); max-width:380px; }
  #stories [data-rail] a { width:100%; height:auto; min-height:0 !important; aspect-ratio:auto !important; box-sizing:border-box; }
  #stories [data-rail] a > .card-body { padding:16px 0 0 !important; }
  #stories [data-rail] .card-title { font-size:clamp(26px,7.8vw,34px) !important; }
  #stories > div[aria-hidden="true"] { margin-top:24px !important; }

  #side-quests { padding: 76px 0 !important; }
  #side-quests > div:first-child > div { align-items: flex-start; margin-bottom: 26px; }
  #side-quests > div:first-child > div > div:last-child { display: none; }
  #side-quests h2 { font-size: clamp(44px, 13vw, 60px); }
  #side-quests h2 + p { font-size: 16px; }
  #side-quests [data-rail] { display: flex; gap: 14px; padding: 0 20px; scroll-padding-inline-start: 20px; }
  #side-quests [data-rail] > li { flex: 0 0 calc(100vw - 58px); width: calc(100vw - 58px); max-width: 380px; }
  #side-quests > div[aria-hidden="true"] { margin-top: 22px; padding: 0 20px; }

  section[aria-labelledby="feature-title"] { grid-template-columns:1fr !important; gap:30px !important; min-height:0 !important; padding:82px 20px !important; }
  section[aria-labelledby="feature-title"] > div:first-child { padding:0 !important; }
  section[aria-labelledby="feature-title"] h2 { max-width:none !important; font-size:clamp(46px,13vw,62px) !important; line-height:.96 !important; }
  section[aria-labelledby="feature-title"] h2 + p { width:100%; max-width:none !important; margin:22px 0 28px !important; font-size:17px !important; }
  section[aria-labelledby="feature-title"] > div:last-child { padding:0 !important; }
  section[aria-labelledby="feature-title"] .c-img { min-height:0 !important; aspect-ratio:4 / 3; }

  #ideas > div > div { margin-bottom:30px !important; }
  #ideas ul { grid-template-columns:1fr !important; gap:16px !important; }
  #ideas li > a { padding:0 !important; }
  #ideas li > a > .card-body { padding:18px 20px 22px !important; }

  #after-dark { padding-right:20px !important; padding-left:20px !important; }
  #after-dark > div > div:first-child { margin-bottom:24px !important; }
  #after-dark h2 { font-size:clamp(58px,18vw,82px) !important; white-space:normal !important; line-height:.9 !important; }
  #after-dark ul { grid-template-columns:1fr !important; min-height:0 !important; gap:10px !important; }
  #after-dark ul > li { min-height:0; padding-bottom:34px; border-radius:0; }
  #after-dark ul > li > a > .card-body { padding:18px 0 0 !important; }
  #after-dark ul > li:first-child { min-height:0; padding-bottom:34px; border-radius:0; overflow:visible !important; }
  #after-dark ul > li:first-child > a > .card-body { padding:16px 0 0 !important; }
  #after-dark ul > li:first-child .card-title { font-size:clamp(26px,7.5vw,36px) !important; }

  #plan { gap:34px !important; padding:78px 20px !important; }
  #plan h2 { font-size:clamp(48px,14vw,68px) !important; }
  #plan > ul { grid-template-columns:1fr !important; gap:0 !important; }
  #plan ul a { white-space:normal !important; }
  footer { gap:22px !important; padding:46px 20px 34px !important; }
  footer nav { gap:8px 18px !important; }
}
@media (max-width: 1024px) {
  #plan > ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 clamp(20px, 3vw, 40px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  #top > div[aria-hidden="true"]::before { animation: none !important; }
}

/* ============================================================
   HOVER & FOCUS STATES
   ============================================================ */

/* Header: nav links */
@media (min-width: 1101px) {
  header nav > a:hover,
  header nav > a:focus-visible {
    color: #FFFFFF;
    -webkit-text-fill-color: #FFFFFF;
  }
}

/* Hero: primary CTA */
#top > div:last-child > div > a:first-child:hover {
  transform: translateY(-3px);
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

/* Hero: secondary CTA */
#top .hero-action-secondary:hover,
#top .hero-action-secondary:focus-visible {
  transform: translateY(-3px);
  color: #FFFFFF;
  border-color: transparent;
  background:
    linear-gradient(rgb(8 8 8 / 88%), rgb(8 8 8 / 88%)) padding-box,
    var(--night-gradient) border-box;
  background-size: 100% 100%, 200% 100%;
  box-shadow: 0 0 18px rgb(155 92 255 / 46%), 0 0 36px rgb(52 120 255 / 20%);
}

#top .hero-action-secondary:hover { animation: nightlife-button-glow 2.4s linear infinite; }

#top .hero-action-secondary:hover > span,
#top .hero-action-secondary:focus-visible > span {
  transform: translateX(4px);
}

/* Discover: card links */
#discover ul li > a:hover {
  transform: translateY(-8px);
}

/* Stories: scroll buttons */
#stories button[aria-label^="Scroll"]:not(:disabled):hover,
#stories button[aria-label^="Scroll"]:not(:disabled):focus-visible,
#side-quests button:not(:disabled):hover,
#side-quests button:not(:disabled):focus-visible {
  color: var(--ink);
  border-color: transparent;
  background:
    linear-gradient(#FFFFFF, #FFFFFF) padding-box,
    var(--night-gradient) border-box;
  box-shadow: 0 0 16px rgb(155 92 255 / 24%);
}

/* Stories: rail card links */
#stories [data-rail] li > a:hover {
  transform: translateY(-6px);
}

/* Feature section: CTA */
section[aria-labelledby="feature-title"] > div:first-child > a:hover {
  transform: translateY(-3px);
  background: var(--accent);
  border-color: var(--accent);
  color: #FFFFFF;
}

/* Trip ideas: cards */
#ideas ul li > a:hover {
  transform: translateY(-12px);
  box-shadow: 0 28px 60px rgb(17 17 17 / 18%);
}

/* Plan: quick-link list */
#plan > ul li > a:hover {
  color: transparent;
  -webkit-text-fill-color: transparent;
  background: var(--night-gradient);
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  animation: neon-text-drift 2.8s linear infinite;
  padding-left: 8px;
}

/* Footer: nav links */
footer nav > a:hover {
  color: transparent;
  -webkit-text-fill-color: transparent;
  background: var(--night-gradient);
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  animation: neon-text-drift 2.8s linear infinite;
}

/* ============================================================
   C-IMG  (replaces [role="img"] throughout)
   ============================================================ */
.c-img { display: block; overflow: hidden; background-color: #d0cbbf; }
.c-img > img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform 320ms cubic-bezier(.22, .68, .2, 1); }
.card-body { display: block; }
.card-eyebrow { display: block; }
.card-title { display: block; }
.card-desc { display: block; }

/* ============================================================
   LAYOUT RESET
   ============================================================ */
/* LAYOUT RESET */
.home .container.main {
  width: 100%;
  max-width: 100%;
  padding: 0;
}
.container.layout {
  max-width: 100%;
  padding: 0;
}
.container.layout .row.layout {
  margin: 0;
}
.container.layout .row.layout > .cols {
  overflow-x: hidden;
}
.home .container.layout .row.layout > .cols {
  padding: 0;
}
.pages .main-wrapper .container.main {
  padding: 24px 16px;
  max-width: 1560px;
  margin: 0 auto;
}

/* ============================================================
   HOME SHELL — nav anchored to the bottom of the hero on desktop
   ============================================================ */
@media (min-width: 1101px) {
  /* JS places the slot after #top. Overlap the hero without adding page height,
     and retain the full nav's space when the compact header becomes fixed. */
  .home .nav-slot {
    position: relative;
    height: 126px;
    min-height: 126px;
    margin-top: -126px;
    flex-shrink: 0;
    background: transparent;
  }

  /* Only the detached, compact header is fixed to the viewport. */
  .home header:not(.is-detached) {
    position: relative;
    min-height: 126px;
    border-top: 1px solid rgb(255 255 255 / 16%);
    border-bottom: none;
  }
}

/* ============================================================
   BODY SHELL RULES
   ============================================================ */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.pg-wrap {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-height: 100vh;
}
.content.main-wrapper {
  flex-grow: 1;
}

/* ============================================================
   PAGES SHELL — compact nav, white content background
   ============================================================ */

/* White background for the content area (all viewports) */
.pages .content.main-wrapper {
  background: #ffffff;
}

/* Desktop: undo the <1100px dropdown behaviour, show a simple inline nav */
@media (min-width: 761px) {
  /* Nav slot: static flow, no hero overlap, no inflated min-height */
  .pages .nav-slot {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    margin-top: 0 !important;
    min-height: 0 !important;
  }

  .pages header {
    min-height: 44px !important;
    padding: 0 clamp(16px, 3vw, 48px) !important;
    justify-content: space-between !important;
    align-items: center !important;
  }

  /* Logo: always visible on pages desktop, vertically centered */
  .pages header > a:first-child {
    display: inline-flex !important;
    align-self: center !important;
    align-items: center !important;
  }

  .pages header > a:first-child img {
    height: 28px;
    width: auto;
  }

  .pages header nav#primary-navigation {
    position: static !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-end !important;
    width: auto !important;
    height: auto !important;
    align-self: center !important;
    gap: clamp(2px, 0.8vw, 14px) !important;
    padding: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    border: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
  }

  .pages header nav#primary-navigation > a {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    width: auto !important;
    min-height: 0 !important;
    align-self: auto !important;
    padding: 5px 4px !important;
    border: none !important;
    border-bottom: none !important;
    font-size: 12px !important;
    color: rgb(247 244 239 / 88%) !important;
    background-image: linear-gradient(var(--accent), var(--accent)) !important;
    background-size: 0% 2px !important;
    background-position: left bottom 0px !important;
    background-repeat: no-repeat !important;
    transition: background-size 280ms cubic-bezier(.22,.68,.2,1), color 180ms ease !important;
  }

  .pages header nav#primary-navigation > a:hover {
    color: var(--accent) !important;
    background-size: 100% 2px !important;
    opacity: 1 !important;
  }

  .pages header nav#primary-navigation > a::after {
    display: none !important;
  }

  .pages header nav#primary-navigation:has(> a:hover) > a:not(:hover) {
    opacity: 1 !important;
  }

  .pages [data-menu-toggle] {
    display: none !important;
  }
}

/* ============================================================
   PAGES — MOBILE OVERRIDES
   ============================================================ */
@media (max-width: 1100px) {
  /* Keep pages nav-slot in normal flow so content is not hidden behind it */
  .pages .nav-slot {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
  }

  /* Pages mobile nav: push arrow → to the far right (no <span> wrapper in all-pages.html) */
  .pages header nav > a {
    justify-content: space-between !important;
  }
}
