* { box-sizing: border-box; }

:root {
  --bg: #080603;
  --fg: #f6eee0;
  --muted: rgba(246,238,224,.68);
  --gold: #9a8b5f;
  --gold-light: #c8b784;
  --gold-dark: #5f5638;
  --line: rgba(200,183,132,.45);
  --black: #000;
  --mono: "Space Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--mono);
  font-size: 14px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% -10%, rgba(154,139,95,.25), transparent 28rem),
    var(--bg);
  color: var(--fg);
  overflow-x: hidden;
  cursor: none;
}

a, button { cursor: none; }

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

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

.bg-img,
.full-bleed-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.cursor-dot {
  position: fixed;
  z-index: 9999;
  pointer-events: none;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
}

/* BABANI spirit cursor:
   two blinking dots = eyes / ancestral presence.
   It can morph on hover, but should always remain a two-dot spirit. */
.dot-one,
.dot-two {
  width: 8px;
  height: 8px;
  background: var(--gold-light);
  box-shadow: 0 0 10px rgba(200,183,132,.78), 0 0 28px rgba(154,139,95,.28);
  transform-origin: center;
}

.dot-one {
  margin-left: -7px;
}

.dot-two {
  margin-left: 7px;
  transition:
    width .18s ease,
    height .18s ease,
    border-color .18s ease,
    transform .08s ease,
    opacity .08s ease,
    border-radius .18s ease,
    background .18s ease,
    box-shadow .18s ease;
}

.dot-one.blink,
.dot-two.blink {
  transform: translate(-50%, -50%) scaleY(.08) scaleX(1.55);
  opacity: .28;
  box-shadow: none;
}

body.is-hovering .dot-one,
body.is-hovering .dot-two {
  width: 9px;
  height: 9px;
  background: var(--fg);
  box-shadow: 0 0 12px rgba(246,238,224,.9), 0 0 34px rgba(200,183,132,.42);
}

body.is-hovering .dot-one {
  transform: translate(-50%, -50%) rotate(-8deg) translateX(-3px);
}

body.is-hovering .dot-two {
  transform: translate(-50%, -50%) rotate(8deg) translateX(3px);
}

.cursor-aura {
  position: fixed;
  z-index: 9998;
  pointer-events: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(200,183,132,.42);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: .72;
  mix-blend-mode: screen;
  animation: spiritBreathe 3.4s ease-in-out infinite alternate;
}

body.is-hovering .cursor-aura {
  width: 58px;
  height: 36px;
  border-radius: 50%;
  opacity: .9;
}

@keyframes spiritBreathe {
  0% { transform: translate(-50%, -50%) scale(.9); opacity: .48; }
  50% { transform: translate(-50%, -50%) scale(1.02); opacity: .72; }
  100% { transform: translate(-50%, -50%) scale(1.08); opacity: .54; }
}

.topbar {
  position: fixed;
  z-index: 50;
  top: 18px;
  left: 18px;
  right: 18px;
  display: flex;
  align-items: flex-start;
  pointer-events: none;
}

.brand-logo,
.nav-toggle,
.nav a {
  pointer-events: auto;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  background: rgba(8,6,3,.88);
  border: 1px solid var(--line);
  color: var(--fg);
}

.brand-logo {
  width: 42px;
  justify-content: center;
  padding: 5px;
  border-right: 0;
}

.brand-logo img {
  display: block;
  width: 29px;
  height: 29px;
  object-fit: contain;
  filter: sepia(.4) saturate(.75) brightness(1.35);
}

.nav-toggle {
  width: 42px;
  justify-content: center;
  font: 18px/1 var(--mono);
  border-radius: 0;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-10px);
  transition: opacity .18s ease, transform .18s ease;
}

.nav.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.nav a {
  border-left: 0;
  padding: 0 14px;
  font-size: 12px;
  letter-spacing: .04em;
}

.brand-logo:hover,
.nav-toggle:hover,
.nav a:hover {
  background: var(--gold-light);
  color: #080603;
}

.hero {
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  border-bottom: 1px solid rgba(200,183,132,.16);
}

.grain-field,
.tile-bg {
  position: absolute;
  inset: 0;
  background-color: #111;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  filter: grayscale(.52) contrast(1.16) brightness(.7);
  transform: scale(1.035);
  transform-origin: center;
  will-change: transform;
}

.hero-bg {
  background-image: url("../img/bg-banner-empty.jpeg");
  background-size: cover;
  background-position: center center;
}

.grain-field::before,
.grain-field::after,
.tile-bg::before,
.tile-bg::after {
  content: "";
  position: absolute;
  inset: 0;
}

.grain-field::before,
.tile-bg::before {
  background:
    radial-gradient(circle at 52% 8%, rgba(246,238,224,.18), transparent 16rem),
    linear-gradient(180deg, rgba(8,6,3,.05), rgba(8,6,3,.82));
}

.grain-field::after,
.tile-bg::after {
  background: rgba(8,6,3,.52);
}

.noise {
  position: absolute;
  inset: 0;
  opacity: .18;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 25% 25%, rgba(246,238,224,.8) 0 1px, transparent 1px),
    radial-gradient(circle at 75% 75%, rgba(246,238,224,.45) 0 1px, transparent 1px);
  background-size: 4px 4px, 7px 7px;
  mix-blend-mode: overlay;
}

.hero-inner {
  position: relative;
  z-index: 3;
  width: min(1180px, calc(100% - 36px));
  display: grid;
  grid-template-columns: minmax(120px, 300px) 1fr;
  align-items: center;
  gap: clamp(24px, 7vw, 90px);
  padding-top: 70px;
}

.hero-mark {
  width: min(260px, 46vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: rgba(8,6,3,.55);
  border: 1px solid rgba(200,183,132,.28);
}

.hero-mark img {
  width: 72%;
  height: 72%;
  object-fit: contain;
  filter: sepia(.42) saturate(.8) brightness(1.35);
}

.kicker,
.eyebrow {
  display: inline-flex;
  margin: 0 0 20px;
  padding: 6px 9px;
  background: rgba(8,6,3,.74);
  border: 1px solid rgba(200,183,132,.32);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 14px;
  font-family: var(--sans);
  font-weight: 900;
  font-size: clamp(58px, 12.5vw, 180px);
  line-height: .78;
  letter-spacing: -.078em; /* less tight: fixes I/N feeling too close */
  text-transform: uppercase;
  font-kerning: normal;
  font-feature-settings: "kern" 1;
}

.hero-copy p:not(.kicker) {
  max-width: 720px;
  margin: 0 0 12px;
  width: fit-content;
  padding: 2px 7px;
  background: rgba(8,6,3,.5);
  font-size: clamp(15px, 1.6vw, 23px);
  line-height: 1.5;
}

.tagline {
  letter-spacing: .12em;
}

.partner-ribbon {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(200,183,132,.38);
  background: rgba(8,6,3,.72);
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.partner-ribbon img {
  display: block;
  width: 96px;
  max-height: 28px;
  object-fit: contain;
}

.manifesto {
  padding: clamp(76px, 12vw, 160px) 20px;
  border-bottom: 1px solid rgba(200,183,132,.16);
  background: #080603;
}

.wrap {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.manifesto p {
  max-width: 960px;
  margin: 0 0 22px;
  font-family: var(--sans);
  font-weight: 900;
  font-size: clamp(26px, 4.4vw, 66px);
  line-height: .98;
  letter-spacing: -.06em;
  text-transform: uppercase;
}

.portal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 120vh;
}

.portal-tile {
  position: relative;
  min-height: 60vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  border-right: 1px solid rgba(200,183,132,.18);
  border-bottom: 1px solid rgba(200,183,132,.18);
}

.portal-tile:nth-child(even) {
  border-right: 0;
}

.tile-music .tile-bg {
  background-image: url("../img/BABANI_Image_July2019.jpeg");
  background-size: cover;
  background-position: center center;
}
.tile-music .tile-bg::after {
  background: linear-gradient(180deg, rgba(188,82,52,.36) 0 48%, rgba(8,6,3,.56) 48%);
}
.tile-archives .tile-bg {
  background-image: url("../img/61_A4_1copy.jpeg");
  background-size: cover;
  background-position: center center;
}
.tile-archives .tile-bg::after {
  background: linear-gradient(180deg, rgba(154,139,95,.45) 0 52%, rgba(8,6,3,.52) 52%);
}
.tile-soundsystem .tile-bg {
  background-image: url("../img/lelou-graphic.jpeg");
  background-size: cover;
  background-position: center center;
}
.tile-soundsystem .tile-bg::after {
  background: linear-gradient(180deg, rgba(170,84,47,.42) 0 52%, rgba(8,6,3,.55) 52%);
}
.tile-shows .tile-bg {
  background-image: url("../img/bg-rinse2020.jpeg");
  background-size: cover;
  background-position: center center;
}
.tile-shows .tile-bg::after {
  background: linear-gradient(180deg, rgba(89,109,90,.38) 0 44%, rgba(8,6,3,.58) 44%);
}

.tile-label {
  position: relative;
  z-index: 3;
  display: inline-flex;
  margin-left: clamp(22px, 10vw, 160px);
  padding: 8px 12px;
  border: 1px solid rgba(246,238,224,.52);
  background: rgba(8,6,3,.42);
  backdrop-filter: blur(3px);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 900;
  font-size: clamp(28px, 6.8vw, 110px);
  line-height: .88;
  letter-spacing: -.045em;
  text-transform: uppercase;
  transition: .18s ease;
}

.tile-caption {
  position: absolute;
  z-index: 3;
  left: clamp(22px, 10vw, 160px);
  bottom: clamp(28px, 7vw, 88px);
  max-width: 420px;
  padding: 7px 9px;
  background: rgba(8,6,3,.74);
  color: rgba(246,238,224,.82);
  font-size: 13px;
  line-height: 1.5;
}

.portal-tile:hover .tile-label {
  background: var(--fg);
  color: #080603;
  transform: translateY(-2px);
}

.partner-section,
.release-strip,
.links-section {
  padding: clamp(70px, 10vw, 130px) 20px;
  background: #080603;
  border-bottom: 1px solid rgba(200,183,132,.16);
}

.partner-grid {
  display: grid;
  grid-template-columns: minmax(260px, 520px) 1fr;
  gap: clamp(30px, 7vw, 100px);
  align-items: start;
}

.partner-grid h2,
.links-grid h2 {
  margin: 0;
  font-family: var(--sans);
  font-weight: 900;
  font-size: clamp(34px, 5.2vw, 80px);
  line-height: .9;
  letter-spacing: -.06em;
  text-transform: uppercase;
}

.partner-card {
  padding: clamp(22px, 4vw, 48px);
  min-height: 260px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(154,139,95,.13), rgba(8,6,3,.2)),
    #0c0905;
}

.partner-card img {
  display: block;
  width: min(260px, 70%);
  margin-bottom: 28px;
}

.partner-card p {
  max-width: 620px;
  margin: 0;
  color: rgba(246,238,224,.78);
  font-size: clamp(16px, 1.6vw, 22px);
  line-height: 1.55;
}

.release-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.release-grid a {
  position: relative;
  min-height: 152px;
  padding: 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.release-grid a:nth-child(3n) {
  border-right: 0;
}

.release-grid strong {
  position: relative;
  z-index: 2;
  font-family: var(--sans);
  font-size: clamp(18px, 2vw, 28px);
  line-height: .95;
  letter-spacing: -.035em;
  text-transform: uppercase;
}

.release-grid span:not(.lelou-bg) {
  position: relative;
  z-index: 2;
  color: var(--muted);
  font-size: 12px;
}

.lelou-bg {
  position: absolute;
  inset: 0;
  background-image: url("../img/lelou-graphic.jpeg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  opacity: .34;
  filter: saturate(.9) contrast(1.18) brightness(.8);
  transform: scale(1.03);
  transform-origin: center;
}

.lelou-release:hover .lelou-bg {
  opacity: .55;
}

.release-grid a:hover {
  background: var(--gold-light);
  color: #080603;
}

.release-grid a:hover span:not(.lelou-bg) {
  color: rgba(8,6,3,.75);
}

.links-grid {
  display: grid;
  grid-template-columns: minmax(240px, 390px) 1fr;
  gap: clamp(30px, 7vw, 100px);
}

.link-rows {
  border-top: 1px solid var(--line);
}

.link-rows a {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left .18s ease;
}

.link-rows a span:last-child {
  color: var(--muted);
}

.link-rows a:hover {
  padding-left: 12px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px 26px;
  color: rgba(246,238,224,.6);
  font-size: 11px;
}

@media (max-width: 860px) {
  body { cursor: auto; }
  a, button { cursor: pointer; }
  .cursor-dot,
  .cursor-aura { display: none; }

  .topbar {
    top: 10px;
    left: 10px;
    right: 10px;
  }

  .nav {
    position: absolute;
    top: 42px;
    left: 0;
    display: grid;
    width: min(270px, calc(100vw - 20px));
  }

  .nav a {
    border-left: 1px solid var(--line);
    border-top: 0;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    place-items: start;
    padding-top: 120px;
  }

  .hero-mark {
    width: 145px;
  }

  h1 {
    font-size: clamp(64px, 19vw, 108px);
    letter-spacing: -.062em;
  }

  .partner-ribbon {
    left: 10px;
    right: auto;
    bottom: 10px;
  }

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

  .portal-tile {
    min-height: 62vh;
    border-right: 0;
  }

  .tile-label,
  .tile-caption {
    margin-left: 22px;
    left: 22px;
  }

  .tile-label {
    font-size: clamp(42px, 15vw, 88px);
    letter-spacing: -.035em;
  }

  .tile-caption {
    right: 22px;
    bottom: 28px;
  }

  .partner-grid,
  .release-grid,
  .links-grid {
    grid-template-columns: 1fr;
  }

  .release-grid a {
    border-right: 0;
  }

  .link-rows a {
    display: grid;
  }

  .footer {
    display: grid;
  }
}
