:root {
  --paper: #f8f7f3;
  --paper-92: rgba(248, 247, 243, 0.92);
  --paper-80: rgba(248, 247, 243, 0.86);
  --ink: #0a0a0a;
  --ink-60: rgba(10,10,10,0.6);
  --ink-30: rgba(10,10,10,0.18);
  --ink-10: rgba(10,10,10,0.08);
  --accent: #f3350c;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html, body {
  min-height: 100%;
  background-color: var(--ink);
  font-family: "Inter", "Inter VF", Arial, sans-serif;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.4;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

i { font-style: italic; font-family: "Instrument Serif", "Inter", serif; font-weight: 400; letter-spacing: -0.03em; }

@media (pointer: fine) {
  body { cursor: none; }
  #cursorDot {
    position: fixed; top: 0; left: 0;
    width: 10px; height: 10px;
    background: var(--ink);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    mix-blend-mode: difference;
    transform: translate(-50%, -50%);
    transition: width 0.35s var(--ease-out-expo), height 0.35s var(--ease-out-expo);
    will-change: transform, width, height;
  }
  #cursorDot.hovering { width: 44px; height: 44px; background: #fff; }
}
@media (pointer: coarse) { #cursorDot { display: none; } body { cursor: auto; } }

#loader {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--ink); color: var(--paper);
}
#loader p { font-family: "Roboto Mono", monospace; font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; opacity: 0.5; }

#scrollProgressBar {
  position: fixed; top: 0; left: 0; height: 2px; width: 0;
  background: var(--accent); z-index: 9999;
  transition: width 0.1s linear;
}

#bgWrap {
  position: fixed; inset: 0; z-index: 0;
  background: #0a0a0a;
  overflow: hidden;
}
#bgCanvas { width: 100%; height: 100%; display: block; }

.noise-overlay {
  position: fixed; inset: 0; z-index: 5; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  opacity: 0.7;
  mix-blend-mode: overlay;
}

#liquidFill { position: fixed; bottom: 0; left: 0; right: 0; height: 0; background: var(--ink); z-index: 2; pointer-events: none; }

.nav-wrap {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.25rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
  mix-blend-mode: difference;
  color: #fff;
}
.nav-brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: inherit; }
.nav-brand img { height: 22px; width: auto; display: block; }
.nav-brand-text { font-family: "Roboto Mono", monospace; font-size: 10px; text-transform: uppercase; letter-spacing: 0.25em; }
.nav-links { display: flex; gap: 2rem; }
.nav-link {
  color: inherit; text-decoration: none;
  font-family: "Roboto Mono", monospace;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  position: relative;
}
.nav-link::after {
  content: ''; position: absolute; left: 0; bottom: -4px; width: 0; height: 1px;
  background: currentColor; transition: width 0.3s var(--ease-out-expo);
}
.nav-link:hover::after { width: 100%; }
.nav-cta {
  font-family: "Roboto Mono", monospace;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 0.65rem 1.25rem;
  border: 1px solid currentColor; border-radius: 999px;
  text-decoration: none; color: inherit;
  transition: background 0.3s, color 0.3s;
}
.nav-cta:hover { background: #fff; color: #000; }

/* City rail — fixed right edge */
.city-rail {
  position: fixed;
  top: 50%;
  right: 1.5rem;
  transform: translateY(-50%);
  z-index: 60;
  mix-blend-mode: difference;
  color: #fff;
  pointer-events: none;
  user-select: none;
}
.city-rail-label {
  font-family: "Roboto Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 0.85rem;
  text-align: right;
}
.city-rail-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: right;
}
.city-rail-list li {
  font-family: "Roboto Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.85;
  line-height: 1.4;
  position: relative;
}
.city-rail-list li::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 1px;
  background: currentColor;
  vertical-align: middle;
  margin-right: 10px;
  opacity: 0.45;
}
@media (max-width: 1100px) { .city-rail { display: none; } }

#overlay {
  position: relative; z-index: 3;
  min-height: 100vh; width: 100%;
  display: flex; align-items: center;
  padding: 0 2rem;
  color: #fff;
}
#heroContent { max-width: 1100px; margin: 0 auto; width: 100%; }
.hero-tag {
  display: inline-block;
  font-family: "Roboto Mono", monospace;
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 999px;
  margin-bottom: 2rem;
  opacity: 0.9;
}
#heroHeadline {
  font-size: clamp(2.5rem, 7vw, 6rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.95;
  margin-bottom: 1.75rem;
}
.hero-sub {
  max-width: 560px;
  font-size: clamp(1rem, 1.1vw, 1.1rem);
  color: rgba(255,255,255,0.72);
  line-height: 1.55;
}

/* pageRoot is now transparent — each section paints its own background */
#pageRoot { position: relative; z-index: 4; background: transparent; }
#pageRoot > section, #pageRoot > footer {
  padding: 8rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}
/* Solid paper sections (content-heavy, need legibility) */
#pageRoot > section.paper,
#pageRoot > footer {
  background: var(--paper);
  max-width: none;
}
#pageRoot > section.paper > * { max-width: 1400px; margin-left: auto; margin-right: auto; }
#pageRoot > section.paper > .deck-header { margin-left: auto; margin-right: auto; }

/* Reveal sections — transparent so the video keeps showing through */
.section-reveal {
  background: transparent !important;
  color: #fff;
  max-width: none !important;
  padding: 14rem 2rem !important;
  text-align: center;
  position: relative;
}
.section-reveal .reveal-eyebrow {
  font-family: "Roboto Mono", monospace;
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 1.5rem;
}
.section-reveal .reveal-headline {
  font-size: clamp(2.25rem, 5.5vw, 4.5rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.02;
  max-width: 900px;
  margin: 0 auto;
  text-shadow: 0 4px 40px rgba(0,0,0,0.55);
}
.section-reveal .reveal-headline i { color: #fff; opacity: 0.92; }
.section-reveal .reveal-sub {
  max-width: 560px;
  margin: 1.75rem auto 0;
  font-size: 1rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.55;
  text-shadow: 0 2px 20px rgba(0,0,0,0.6);
}

#section-marquee { padding: 2rem 0 !important; max-width: none !important; background: var(--paper); }

.deck-header { display: flex; gap: 4rem; align-items: flex-start; flex-wrap: wrap; margin-bottom: 5rem; }
.deck-eyebrow {
  font-family: "Roboto Mono", monospace;
  font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--ink-60); margin-bottom: 1.25rem;
}
.deck-title {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
.deck-desc { max-width: 440px; font-size: 1rem; color: var(--ink-60); line-height: 1.55; }

.values-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px;
  background: var(--ink-10); border: 1px solid var(--ink-10);
}
.value-card {
  background: var(--paper);
  padding: 2.5rem 2rem;
  display: flex; flex-direction: column;
  min-height: 280px;
  transition: background 0.4s var(--ease-out-expo);
}
.value-card:hover { background: #fff; }
.vc-index {
  font-family: "Roboto Mono", monospace;
  font-size: 11px; letter-spacing: 0.25em; color: var(--ink-60);
  margin-bottom: 3rem;
}
.vc-title { font-size: 1.5rem; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 0.75rem; }
.vc-desc { font-size: 0.95rem; color: var(--ink-60); line-height: 1.5; }

.marquee-wrap { overflow: hidden; border-top: 1px solid var(--ink-10); border-bottom: 1px solid var(--ink-10); padding: 1.25rem 0; background: var(--paper); }
.marquee-inner { display: flex; gap: 4rem; white-space: nowrap; animation: marquee 42s linear infinite; }
.marquee-item {
  font-family: "Instrument Serif", "Inter", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}
.marquee-item::after { content: '•'; margin-left: 4rem; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* === Releases — gamma-style fanned album covers === */
#section-releases { background: var(--paper); max-width: none !important; padding: 7rem 2rem 9rem !important; }
#section-releases .deck-header { max-width: 1400px; margin-left: auto; margin-right: auto; margin-bottom: 3rem; }
.covers-stage {
  --spread-step: 16px;
  --hovered-idx: -999;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5rem 2rem 5rem;
  perspective: 1600px;
  perspective-origin: 50% 40%;
  min-height: 560px;
  overflow: visible;
  transform-style: preserve-3d;
}
.covers-stage .cover {
  --idx: 0;
  --base-rot: -26deg;
  --tilt-x: 6deg;
  display: block;
  flex: 0 0 auto;
  width: clamp(180px, 20vw, 280px);
  height: clamp(180px, 20vw, 280px);
  margin-left: clamp(-130px, -10vw, -80px);
  position: relative;
  transform-style: preserve-3d;
  transform-origin: 50% 100%;
  transform: rotateX(var(--tilt-x)) rotateY(var(--base-rot)) translateX(0) translateZ(0);
  transition: transform 0.6s var(--ease-out-expo), filter 0.4s var(--ease-out-expo), z-index 0s linear 0.3s;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  z-index: 1;
  line-height: 0;
  filter:
    drop-shadow(0 22px 22px rgba(10, 10, 10, 0.32))
    drop-shadow(0 6px 8px rgba(10, 10, 10, 0.22));
}
.covers-stage .cover:first-child { margin-left: 0; }
.covers-stage .cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.95) contrast(1.04);
  transition: filter 0.4s var(--ease-out-expo);
  backface-visibility: hidden;
}
/* Glossy sheen + rim-light to sell the card surface */
.covers-stage .cover::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.28) 0%, rgba(255,255,255,0.06) 22%, rgba(255,255,255,0) 55%),
    linear-gradient(315deg, rgba(0,0,0,0.22) 0%, rgba(0,0,0,0) 40%);
  mix-blend-mode: screen;
  opacity: 0.75;
  transition: opacity 0.4s var(--ease-out-expo), background-position 0.6s var(--ease-out-expo);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.28),
    inset 1px 0 0 rgba(255,255,255,0.18),
    inset -1px 0 0 rgba(0,0,0,0.28),
    inset 0 -1px 0 rgba(0,0,0,0.25);
  z-index: 2;
}
.covers-stage .cover::after {
  content: attr(data-title);
  position: absolute; left: 0; right: 0; bottom: -2.6rem;
  text-align: center;
  font-family: "Roboto Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0;
  transition: opacity 0.3s var(--ease-out-expo);
  white-space: nowrap;
  pointer-events: none;
  transform: translateZ(40px);
}
/* Fan behaviour — driven by --hovered-idx set by JS on the stage */
.covers-stage.is-fanning .cover {
  --delta: calc(var(--idx) - var(--hovered-idx));
  transform: rotateX(var(--tilt-x)) rotateY(var(--base-rot)) translateX(calc(var(--delta) * var(--spread-step)));
  transition: transform 0.6s var(--ease-out-expo);
}
.covers-stage .cover:hover {
  --base-rot: -4deg;
  --tilt-x: -2deg;
  transform: rotateX(var(--tilt-x)) rotateY(var(--base-rot)) translateY(-38px) translateZ(140px);
  z-index: 20;
  filter:
    drop-shadow(0 42px 40px rgba(10, 10, 10, 0.42))
    drop-shadow(0 14px 18px rgba(10, 10, 10, 0.28));
  transition: transform 0.6s var(--ease-out-expo), filter 0.4s var(--ease-out-expo), z-index 0s linear 0s;
}
.covers-stage .cover:hover img { filter: saturate(1.12) contrast(1.08); }
.covers-stage .cover:hover::before { opacity: 1; }
.covers-stage .cover:hover::after { opacity: 1; }
@media (max-width: 900px) {
  #section-releases { padding: 5rem 0 6rem !important; }
  #section-releases .deck-header { padding: 0 1.25rem; margin-bottom: 2rem; }
  .covers-stage {
    padding: 1rem 0 2rem;
    perspective: none;
    min-height: auto;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 1rem;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    scroll-padding-left: 1.25rem;
  }
  .covers-stage::after {
    content: '';
    flex: 0 0 0.25rem;
  }
  .covers-stage .cover,
  .covers-stage.is-fanning .cover,
  .covers-stage .cover:hover {
    --base-rot: 0deg;
    --tilt-x: 0deg;
    width: 180px;
    height: 180px;
    margin-left: 0;
    transform: none;
    scroll-snap-align: start;
    filter: drop-shadow(0 8px 14px rgba(10,10,10,0.22));
    z-index: 1;
  }
  .covers-stage .cover:first-child { margin-left: 0; }
  .covers-stage .cover::before {
    /* tone down the sheen so it doesn't obscure the art at small sizes */
    opacity: 0.35;
  }
  .covers-stage .cover::after {
    display: none;
  }
  .covers-stage .cover:hover img { filter: saturate(0.95) contrast(1.04); }
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 300px;
  gap: 1rem;
}
.bento-item {
  position: relative; overflow: hidden;
  background: var(--ink);
  text-decoration: none; color: #fff;
  transition: transform 0.4s var(--ease-out-expo);
}
.bento-item.feature { grid-column: 1 / 3; grid-row: 1 / 3; }
.bento-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out-expo), filter 0.4s; filter: grayscale(0.2) contrast(1.05); }
.bento-item:hover img { transform: scale(1.05); filter: grayscale(0) contrast(1.1); }
.bento-content { position: absolute; inset: auto 0 0 0; padding: 1.5rem; background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%); }
.bento-tag { font-family: "Roboto Mono", monospace; font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; opacity: 0.7; margin-bottom: 0.5rem; }
.bento-title { font-size: 1.5rem; font-weight: 500; letter-spacing: -0.02em; }

.surface-panel { background: var(--paper); border: 1px solid var(--ink-10); }
.split-layout { display: flex; gap: 2rem; align-items: stretch; flex-wrap: wrap; }
.split-img { flex: 1; min-height: 60vh; overflow: hidden; background: var(--ink); }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.split-content { flex: 1; padding: 3rem; display: flex; flex-direction: column; justify-content: center; }

.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 0.9rem 1.5rem;
  background: var(--ink); color: var(--paper);
  border-radius: 999px;
  font-family: "Roboto Mono", monospace;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s;
}
.btn:hover { background: var(--accent); color: #fff; }
.btn::after { content: '→'; font-family: system-ui; }

footer {
  text-align: center;
  border-top: 1px solid var(--ink-10);
}
.footer-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: 2rem;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--ink-10);
  border: 1px solid var(--ink-10);
}
@media (max-width: 600px) {
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
  .partner { min-height: 96px; padding: 1.25rem 0.75rem; }
  .partner img { max-height: 32px; }
}
.partner {
  background: var(--paper);
  padding: 2.25rem 1.5rem;
  display: flex; align-items: center; justify-content: center;
  min-height: 140px;
  transition: background 0.3s;
}
.partner:hover { background: #fff; }
.partner img {
  max-height: 44px;
  max-width: 140px;
  width: auto; height: auto;
  object-fit: contain;
  filter: grayscale(1) opacity(0.55) contrast(1.05);
  transition: filter 0.3s var(--ease-out-expo);
}
.partner:hover img { filter: grayscale(0) opacity(1) contrast(1); }
.partner img[src*="city-of-benin-logo"] { filter: brightness(0) opacity(0.55); }
.partner:hover img[src*="city-of-benin-logo"] { filter: brightness(0) opacity(1); }

.news-list { display: flex; flex-direction: column; border-top: 1px solid var(--ink-10); }
.news-item { display: flex; gap: 2rem; align-items: baseline; padding: 2rem 0.5rem; border-bottom: 1px solid var(--ink-10); text-decoration: none; color: var(--ink); transition: padding 0.4s var(--ease-out-expo), background 0.3s; }
.news-item:hover { padding-left: 1.5rem; background: rgba(10,10,10,0.02); }
.news-item .news-index { font-family: "Roboto Mono", monospace; font-size: 11px; letter-spacing: 0.25em; color: var(--ink-60); flex-shrink: 0; min-width: 40px; }
.news-item h3 { font-size: clamp(1.15rem, 1.6vw, 1.5rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; flex: 1; }
.news-item .news-arrow { font-family: system-ui; font-size: 1.2rem; opacity: 0; transition: opacity 0.3s, transform 0.3s; }
.news-item:hover .news-arrow { opacity: 1; transform: translateX(4px); }

.reveal-on-scroll { opacity: 0; transform: translateY(30px); transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo); }
.reveal-on-scroll.is-visible { opacity: 1; transform: translateY(0); }

.card-3d { transform-style: preserve-3d; transition: transform 0.35s var(--ease-out-expo); }

/* === Legacy Wall — reskinned to BC cream theme === */
#section-legacy {
  padding: 0 !important;
  max-width: none !important;
  background: var(--paper);
}
#section-legacy .legacy-frame {
  max-width: 1400px;
  margin: 0 auto;
  padding: 8rem 2rem 5rem;
}
#section-legacy #legacy-wall {
  width: 100% !important;
  height: 78vh !important;
  min-height: 600px;
  border: 1px solid var(--ink-10);
  background: var(--paper) !important;
  color: var(--ink) !important;
  border-radius: 0 !important;
  font-family: "Inter", "Inter VF", Arial, sans-serif !important;
}
#legacy-wall .lw-toolbar {
  background: linear-gradient(to bottom, rgba(248,247,243,0.96), rgba(248,247,243,0)) !important;
  padding: 18px 22px 14px !important;
}
#legacy-wall .lw-title {
  font-family: "Roboto Mono", monospace !important;
  font-weight: 500 !important;
  font-size: 11px !important;
  letter-spacing: 0.3em !important;
  text-transform: uppercase !important;
  color: var(--ink) !important;
  opacity: 1 !important;
}
#legacy-wall .lw-search {
  background: rgba(10,10,10,0.04) !important;
  border: 1px solid var(--ink-10) !important;
  backdrop-filter: none !important;
}
#legacy-wall .lw-search input {
  color: var(--ink) !important;
  font-family: "Inter", "Inter VF", Arial, sans-serif !important;
  letter-spacing: -0.01em !important;
}
#legacy-wall .lw-search input::placeholder { color: var(--ink-60) !important; }
#legacy-wall .lw-grid { padding: 72px 22px 22px !important; }
#legacy-wall .lw-card {
  border: 1px solid var(--ink-10) !important;
  background: #fff !important;
  border-radius: 0 !important;
}
#legacy-wall .lw-overlay {
  background:
    linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.28) 38%, rgba(0,0,0,0) 68%) !important;
}
#legacy-wall .lw-name {
  font-family: "Inter", "Inter VF", Arial, sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em !important;
  color: #fff !important;
}
#legacy-wall .lw-meta {
  font-family: "Roboto Mono", monospace !important;
  font-weight: 400 !important;
  font-size: 10px !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  opacity: 0.85 !important;
  color: #fff !important;
}
#legacy-wall .lw-modal {
  background: rgba(10,10,10,0.72) !important;
}
#legacy-wall .lw-dialog {
  background: var(--paper) !important;
  border: 1px solid var(--ink-10) !important;
  border-radius: 0 !important;
}
#legacy-wall .lw-h1 {
  font-family: "Inter", "Inter VF", Arial, sans-serif !important;
  font-weight: 500 !important;
  color: var(--ink) !important;
  letter-spacing: -0.02em !important;
}
#legacy-wall .lw-sub {
  font-family: "Roboto Mono", monospace !important;
  font-size: 11px !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  color: var(--ink-60) !important;
  opacity: 1 !important;
}
#legacy-wall .lw-bio { color: var(--ink-60) !important; }
#legacy-wall .lw-btn {
  border: 1px solid var(--ink-30) !important;
  background: transparent !important;
  color: var(--ink) !important;
  border-radius: 999px !important;
  font-family: "Roboto Mono", monospace !important;
  font-size: 10px !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
}
#legacy-wall .lw-btn:hover {
  background: var(--ink) !important;
  color: var(--paper) !important;
}
#legacy-wall .lw-empty { color: var(--ink-60) !important; }

@media (max-width: 900px) {
  .bento-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .bento-item.feature { grid-row: auto; grid-column: 1 / 3; min-height: 50vh; }
  .bento-item { min-height: 40vh; }
  .nav-links { display: none; }
  #pageRoot > section, #pageRoot > footer { padding: 5rem 1.25rem; }
  .section-reveal { padding: 7rem 1.25rem !important; }
  #section-legacy .legacy-frame { padding: 5rem 1.25rem 3rem; }
  .deck-header { gap: 2rem; margin-bottom: 3rem; }
  .split-content { padding: 2rem; }
}

/* === The Shop — City of Benin merch grid === */
#section-merch { background: var(--paper); max-width: none !important; padding: 8rem 2rem 9rem !important; }
#section-merch .deck-header { max-width: 1400px; margin-left: auto; margin-right: auto; margin-bottom: 3rem; }
.merch-grid {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem 2rem;
  align-items: stretch;
}
.merch-card {
  display: grid;
  grid-template-rows: auto 1fr;
  text-decoration: none;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(10,10,10,0.06);
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s var(--ease-out-expo);
  box-shadow: 0 2px 10px rgba(10,10,10,0.06);
  height: 100%;
}
.merch-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(10,10,10,0.16), 0 6px 14px rgba(10,10,10,0.08);
}
.merch-img {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f2f1ec;
}
.merch-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--ease-out-expo), filter 0.5s var(--ease-out-expo);
  filter: saturate(0.95);
}
.merch-card:hover .merch-img img { transform: scale(1.05); filter: saturate(1.05); }
.merch-meta {
  padding: 1.4rem 1.4rem 1.6rem;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 0.5rem;
  align-self: stretch;
}
.merch-sub {
  font-family: "Roboto Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(10,10,10,0.55);
  min-height: 1.2em;
}
.merch-title {
  font-family: "Instrument Serif", serif;
  font-size: 1.4rem;
  line-height: 1.2;
  font-weight: 400;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.merch-price {
  font-family: "Roboto Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin-top: 0.5rem;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(10,10,10,0.08);
}
.merch-cta {
  max-width: 1400px;
  margin: 3.5rem auto 0;
  text-align: center;
}
@media (max-width: 1024px) {
  .merch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1.25rem; }
}
@media (max-width: 560px) {
  #section-merch { padding: 5rem 1.25rem 6rem !important; }
  .merch-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .merch-title { font-size: 1.2rem; }
}

/* Full-width stacked parallax */
#pageRoot > section#section-tour-parallax.parallax-stack {
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
  background: #0a0a0a;
}
.parallax-stack .parallax-panel {
  position: relative;
  width: 100%;
  height: 92vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  overflow: hidden;
}
.parallax-stack .parallax-panel + .parallax-panel {
  border-top: 1px solid rgba(255,255,255,0.06);
}
.parallax-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 6rem clamp(1.5rem, 6vw, 6rem);
  background: linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.18) 55%, rgba(0,0,0,0) 100%);
}
.parallax-overlay--bottom {
  align-items: flex-end;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.6) 100%);
}
.parallax-copy {
  color: #fff;
  max-width: 620px;
}
.parallax-eyebrow {
  font-family: "Roboto Mono", monospace;
  font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1.25rem;
}
.parallax-headline {
  font-family: "Playfair Display", serif;
  font-weight: 500;
  font-size: clamp(2.4rem, 5.5vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
}
.parallax-headline i { font-style: italic; color: rgba(255,255,255,0.78); }
.parallax-sub {
  font-size: clamp(1rem, 1.1vw, 1.12rem);
  line-height: 1.55;
  color: rgba(255,255,255,0.85);
  max-width: 520px;
}
@media (max-width: 900px) {
  .parallax-stack .parallax-panel {
    height: 70vh;
    background-attachment: scroll;
  }
  .parallax-overlay { padding: 3rem 1.5rem; }
}

/* Submit dropdown */
.nav-dropdown { position: relative; display: inline-flex; align-items: center; }
.nav-dropdown-trigger { cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.nav-dropdown-caret { font-size: 0.7em; opacity: 0.7; transition: transform 0.2s; }
.nav-dropdown:hover .nav-dropdown-caret { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: rgba(10,10,10,0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 8px;
  min-width: 170px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
  z-index: 20;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: 10px 14px;
  color: #fff !important;
  font-family: "Roboto Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.15s;
}
.nav-dropdown-menu a:hover { background: rgba(255,255,255,0.12); }
@media (max-width: 900px) {
  .nav-dropdown-menu { position: static; transform: none; opacity: 1; visibility: visible; pointer-events: auto; background: transparent; backdrop-filter: none; border: none; padding: 0; }
}
