@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;600;700&family=Inter:wght@300;400;600;700&display=swap');

:root{
  --bg:#050505;
  --panel:#0b0b0b;
  --cream:#f4efe1;
  --gold:#d9aa45;
  --gold2:#d4af37;
  --muted:#a99d87;
  --line:rgba(255,255,255,.12);
  --nav-h:76px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  overflow-x:hidden;
  background:
    radial-gradient(circle at 80% 0%,rgba(217,170,69,.08),transparent 26rem),
    var(--bg);
  color:var(--cream);
  font-family:Inter,Arial,sans-serif;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}

.brand,.nav a,h1,h2,h3,.btn,.links a,.textlink{
  font-family:Oswald,Impact,sans-serif;
  text-transform:uppercase;
  letter-spacing:.12em;
}

/* Navigation: in normal flow, sticky, never covering the hero */
.nav{
  position:sticky;
  top:0;
  z-index:1000;
  height:var(--nav-h);
  padding:0 5.8vw;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:2rem;
  background:linear-gradient(90deg,rgba(6,6,5,.98),rgba(20,17,13,.96),rgba(5,5,5,.98));
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line);
}
.brand{
  font-size:1.55rem;
  font-weight:700;
  color:var(--gold2);
  text-shadow:0 0 18px rgba(217,170,69,.25);
}
.navlinks{
  display:flex;
  gap:2rem;
}
.navlinks a{
  font-size:.76rem;
  letter-spacing:.2em;
}
.nav a:hover{color:var(--gold)}

/* Hero */
.hero{
  position:relative;
  height:calc(100dvh - var(--nav-h));
  min-height:720px;
  overflow:hidden;
  background:url("assets/home-chimp-banner.jpg") center center / cover no-repeat;
  isolation:isolate;
}
.heroVideo{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
  z-index:0;
  pointer-events:none;
  filter:contrast(1.05) saturate(1.03) brightness(.86);
}
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:
    linear-gradient(90deg, rgba(244,239,225,.05) 0%, rgba(0,0,0,.04) 44%, rgba(0,0,0,.18) 100%),
    radial-gradient(circle at 31% 50%, rgba(255,238,190,.10), transparent 38%);
}
.heroShade{
  position:absolute;
  inset:0;
  z-index:2;
  pointer-events:none;
  background:radial-gradient(circle at 75% 18%,rgba(232,67,25,.15),transparent 25rem);
}
.noise{
  position:absolute;
  inset:-30%;
  z-index:3;
  opacity:.10;
  pointer-events:none;
  background-image:radial-gradient(circle,rgba(255,255,255,.45) 1px,transparent 1px);
  background-size:4px 4px;
  animation:grain 1.3s steps(4) infinite;
}
@keyframes grain{
  0%{transform:translate(0,0)}
  25%{transform:translate(-3%,2%)}
  50%{transform:translate(2%,-2%)}
  75%{transform:translate(1%,3%)}
  100%{transform:translate(0,0)}
}

/* Existing animation layers kept, but behind text */
.smokeLayer,.inkLayer{
  position:absolute;
  inset:0;
  z-index:4;
  pointer-events:none;
}

/* Text block: fixed width, stable in Firefox / Edge */
.heroText{
  position:absolute;
  z-index:20;
  left:5.8vw;
  top:clamp(118px, 16vh, 165px);
  width:min(790px,48vw);
  max-width:790px;
  transform:none;
  margin:0;
  padding:0;
}
.kicker{
  margin:0 0 1.1rem;
  color:var(--gold);
  text-transform:uppercase;
  letter-spacing:.34em;
  font-size:.78rem;
  font-weight:700;
}
.hero .kicker{
  color:#111;
  text-shadow:none;
  opacity:.92;
  font-weight:900;
}
.hero h1{
  display:block;
  color:var(--gold2);
  font-size:clamp(5.0rem,8.6vw,10.6rem);
  line-height:.86;
  letter-spacing:.055em;
  margin:0;
  -webkit-text-stroke:2px rgba(5,4,2,.96);
  text-shadow:
    0 2px 0 rgba(0,0,0,.9),
    0 8px 24px rgba(0,0,0,.76),
    0 0 20px rgba(212,175,55,.26);
}
.tag{
  color:var(--gold);
  text-transform:uppercase;
  letter-spacing:.24em;
  line-height:1.72;
  margin:1.6rem 0 2rem;
  font-weight:700;
}
.hero .tag{
  color:#111;
  text-shadow:none;
  opacity:.88;
  font-weight:900;
  width:100%;
  max-width:760px;
}
.buttons,.links{
  display:flex;
  flex-wrap:wrap;
  gap:1rem;
}
.heroPlatforms{
  width:min(760px,52vw);
  max-width:760px;
}
.btn,.links a{
  min-height:46px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:.9rem 1.4rem;
  border:1px solid rgba(217,170,69,.72);
  color:var(--gold);
  background:rgba(10,8,6,.85);
  font-size:.8rem;
  transition:.22s ease;
}
.btn.primary,.btn:hover,.links a:hover{
  background:var(--gold);
  color:#050505;
}
.btn.ghost{
  background:rgba(10,8,6,.85);
  color:var(--gold);
}
.hero .btn{
  box-shadow:0 10px 28px rgba(0,0,0,.35);
}
.hero .btn:hover{
  transform:translateY(-2px);
  box-shadow:0 0 28px rgba(212,175,55,.38);
}

/* Music button */
.musicToggle{
  position:fixed;
  top:calc(var(--nav-h) + 16px);
  right:22px;
  z-index:2000;
  background:rgba(12,10,8,.90);
  color:var(--gold2);
  border:1px solid rgba(212,175,55,.75);
  padding:12px 18px;
  cursor:pointer;
  font-weight:900;
  letter-spacing:.06em;
  border-radius:0;
  box-shadow:0 0 22px rgba(0,0,0,.45), 0 0 16px rgba(212,175,55,.18);
  transition:.22s ease;
}
.musicToggle:hover,.musicToggle.playing{
  background:var(--gold2);
  color:#080706;
  transform:translateY(-1px);
}

/* Sections */
section{
  padding:6rem 5.8vw;
  border-top:1px solid var(--line);
}
.statement{
  padding:3.6rem 5.8vw;
  background:#080808;
}
.statement p{
  max-width:1100px;
  margin:0;
  font-size:clamp(1.2rem,2vw,2.1rem);
  line-height:1.55;
}
.listen{
  padding:3rem 5.8vw;
  background:#060606;
}
.platforms{
  display:flex;
  flex-wrap:wrap;
  gap:1rem;
}
.platforms a{
  min-height:46px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:.9rem 1.4rem;
  border:1px solid rgba(217,170,69,.72);
  color:var(--gold);
  font-family:Oswald,Impact,sans-serif;
  text-transform:uppercase;
  letter-spacing:.16em;
  font-size:.82rem;
  transition:.22s ease;
}
.platforms a:hover{
  background:var(--gold);
  color:#050505;
}

.sectionHead{
  margin-bottom:2rem;
}
.sectionHead h2{
  font-size:clamp(3rem,7vw,7rem);
  line-height:.9;
  margin:.2rem 0 1rem;
}
.sectionHead p{
  color:var(--muted);
}

.kingdom img{
  width:100%;
  object-fit:cover;
  object-position:center;
  border:1px solid var(--line);
}

.releaseGrid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1.4rem;
}
.release{
  background:#0b0b0b;
  border:1px solid var(--line);
  padding:1rem;
  transition:transform .32s ease, box-shadow .32s ease, border-color .32s ease;
}
.release.main{
  grid-column:span 3;
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:2rem;
  align-items:center;
}
.release img{
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
  transition:transform .7s ease, filter .7s ease;
}
.release:hover{
  transform:translateY(-8px) scale(1.012);
  border-color:rgba(217,170,69,.85);
  box-shadow:0 24px 70px rgba(0,0,0,.62),0 0 34px rgba(217,170,69,.24);
}
.release:hover img{
  transform:scale(1.045);
  filter:saturate(1.08) contrast(1.12) brightness(1.05);
}
.release h3{
  font-size:1.7rem;
  margin:1rem 0 .4rem;
}
.release p{color:var(--muted)}
.label{
  color:var(--gold) !important;
  text-transform:uppercase;
  letter-spacing:.22em;
  font-weight:700;
}
.releaseLinks{
  display:flex;
  flex-wrap:wrap;
  gap:1rem;
  margin-top:1rem;
}
.textlink{
  color:var(--gold);
  font-size:.82rem;
}

.embedGrid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:1.4rem;
}
.embedCard{
  background:#0b0b0b;
  border:1px solid var(--line);
  padding:1rem;
  transition:transform .32s ease, box-shadow .32s ease, border-color .32s ease;
}
.embedCard:hover{
  transform:translateY(-8px) scale(1.012);
  border-color:rgba(217,170,69,.85);
  box-shadow:0 24px 70px rgba(0,0,0,.62),0 0 34px rgba(217,170,69,.24);
}
.embedWrap{
  position:relative;
  width:100%;
  aspect-ratio:16/9;
  background:#000;
  overflow:hidden;
}
.embedWrap iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
}
.embedCard h3{
  margin:1rem 0 .4rem;
  font-size:1.5rem;
}

.about{
  display:grid;
  grid-template-columns:1fr 1.4fr;
  gap:3rem;
}
.about h2{
  font-size:clamp(3rem,6vw,6rem);
  line-height:.95;
  margin:.2rem 0;
}
.aboutText p{
  font-size:1.08rem;
  max-width:760px;
  line-height:1.75;
  color:var(--muted);
}

.follow{
  text-align:center;
  background:radial-gradient(circle at center,rgba(217,170,69,.12),transparent 26rem),#050505;
}
.mark{
  width:118px;
  margin:0 auto 1.5rem;
  opacity:.92;
}
.follow h2{margin-bottom:2rem}
.links{justify-content:center}

footer{
  padding:2.5rem 5.8vw;
  text-align:center;
  color:var(--muted);
  border-top:1px solid var(--line);
}
footer span{
  display:block;
  font-family:Oswald,sans-serif;
  color:var(--cream);
  letter-spacing:.25em;
  margin-bottom:.45rem;
}
footer p{margin:0;font-size:.85rem}

.reveal{
  opacity:0;
  transform:translateY(32px);
  transition:opacity .8s ease,transform .8s ease;
}
.reveal.visible{
  opacity:1;
  transform:none;
}

/* Short browser / devtools open */
@media(max-height:850px){
  .hero{
    min-height:640px;
  }
  .heroText{
    top:86px;
    width:min(760px,50vw);
  }
  .hero h1{
    font-size:clamp(4.3rem,7vw,8.6rem);
  }
  .hero .tag{
    margin:1.2rem 0 1.4rem;
  }
}

/* Responsive */
@media(max-width:1000px){
  .releaseGrid{grid-template-columns:repeat(2,1fr)}
  .release.main{grid-column:span 2}
}
@media(max-width:850px){
  :root{--nav-h:68px}
  .nav{
    height:auto;
    min-height:var(--nav-h);
    align-items:flex-start;
    flex-direction:column;
    padding:1rem 5vw;
  }
  .navlinks{gap:1rem;flex-wrap:wrap}
  .navlinks a{font-size:.7rem}
  .hero{
    height:auto;
    min-height:760px;
  }
  .heroVideo{
    object-position:64% center;
  }
  .heroText{
    left:6vw;
    top:90px;
    width:88vw;
    max-width:88vw;
  }
  .hero h1{
    font-size:clamp(3.6rem,15vw,6.8rem);
  }
  .heroPlatforms{
    width:88vw;
  }
  .musicToggle{
    top:auto;
    bottom:18px;
    right:14px;
    padding:10px 13px;
    font-size:.78rem;
  }
  section{padding:4rem 5vw}
  .releaseGrid,.embedGrid,.about,.release.main{
    grid-template-columns:1fr;
  }
  .release.main{grid-column:auto}
}
@media (prefers-reduced-motion: reduce){
  .heroVideo{display:none}
  *{animation:none !important;transition:none !important}
}
