/* ============================================================
   M HUNCHO
   Cinematic loading screen  →  minimal / gallery body.
   ============================================================ */

@font-face {
  font-family: 'Revolusi';
  src: url('../fonts/Revolusi Timur Tengah.ttf') format('truetype');
  font-display: swap;
}

:root {
  --bg:        #0b0b0c;
  --bg-raise:  #131315;
  --ink:       #ecebe7;
  --ink-dim:   #9a9a95;
  --ink-faint: #6a6a65;
  --line:      rgba(255,255,255,0.12);
  --line-soft: rgba(255,255,255,0.06);
  --accent:    #e7e3da;

  --maxw: 1180px;
  --pad:  clamp(22px, 6vw, 96px);
  --gap-section: clamp(96px, 14vh, 180px);

  --serif: 'Fraunces', Georgia, serif;
  --sans:  'Inter', system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--ink); color: var(--bg); }

.eyebrow {
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-faint); display: flex; align-items: center; gap: 14px;
  margin-bottom: 26px;
}
.eyebrow::before { content: ''; width: 26px; height: 1px; background: var(--ink-faint); }

.s-title {
  font-family: var(--serif); font-weight: 400; font-optical-sizing: auto;
  font-size: clamp(34px, 5vw, 64px); line-height: 1.04;
  letter-spacing: -0.015em; color: var(--ink);
}

/* ============================================================
   HERO  /  LOADING SCREEN
   ============================================================ */
.bg-canvas {
  position: fixed; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  transition: opacity 0.4s ease;
}
#hero-image-container {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  overflow: hidden; transition: opacity 0.4s ease;
}
#hero-bg-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  opacity: 0.86;                       /* lets the cloud drift breathe through */
  animation: heroDrift 26s ease-in-out infinite alternate;   /* gentle life */
}
@keyframes heroDrift {
  from { transform: scale(1.0)  translateY(0); }
  to   { transform: scale(1.08) translateY(-2%); }
}
#hero-img-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 50% 8%, rgba(11,11,12,0) 0%, rgba(11,11,12,0.25) 55%, rgba(11,11,12,0.85) 100%),
    linear-gradient(to bottom, rgba(20,28,40,0.25) 0%, rgba(11,11,12,0) 35%, rgba(11,11,12,0.96) 100%);
}
#dark-fade {
  position: fixed; inset: 0; background: var(--bg);
  z-index: 2; opacity: 0; pointer-events: none;
}

#hero-text {
  position: fixed; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Revolusi', var(--serif);
  font-size: 15vw; line-height: 1; color: #fff;
  letter-spacing: -0.04em; text-transform: lowercase;
  text-shadow: 0 4px 40px rgba(0,0,0,0.55);
  z-index: 101; pointer-events: none; will-change: top, left, font-size;
  animation: heroWordIn 1.3s cubic-bezier(.16,1,.3,1) backwards;
}
@keyframes heroWordIn {
  0%   { opacity: 0; letter-spacing: 0.12em;  filter: blur(6px); }
  100% { opacity: 1; letter-spacing: -0.04em; filter: blur(0); }
}

/* tagline under the wordmark */
.hero-tagline {
  position: fixed; top: calc(50% + 8.5vw); left: 50%;
  transform: translateX(-50%);
  z-index: 101; pointer-events: none; text-align: center;
  font-size: clamp(11px, 1vw, 13px); letter-spacing: 0.42em;
  text-transform: uppercase; color: rgba(255,255,255,0.82);
  text-shadow: 0 2px 16px rgba(0,0,0,0.6);
  animation: fadeUp 1s ease 0.6s backwards;
}

/* small editorial labels in the hero corners */
.hero-meta {
  position: fixed; z-index: 101; pointer-events: none;
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  color: rgba(255,255,255,0.6); text-shadow: 0 2px 12px rgba(0,0,0,0.6);
  animation: fadeUp 1s ease 0.95s backwards;
}
.hero-meta.tl { top: 26px; left: var(--pad); }
.hero-meta.tr { top: 26px; right: var(--pad); }

.scroll-hint {
  position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%);
  z-index: 101; display: flex; flex-direction: column; align-items: center; gap: 9px;
  color: rgba(255,255,255,0.7); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  animation: fadeUp 1s ease 1.2s backwards;
}
.scroll-hint i { animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@keyframes fadeUp { from { opacity: 0; transform: translate(-50%, 14px); } to { opacity: 1; transform: translate(-50%, 0); } }
.hero-meta.tl { animation-name: fadeIn; }   /* corners don't need the x-centering transform */
.hero-meta.tr { animation-name: fadeIn; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.hero-space { height: 100vh; }

/* ============================================================
   PAGE + NAV
   ============================================================ */
.main-content { position: relative; z-index: 5; background: var(--bg); }

nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px var(--pad);
  background: rgba(11,11,12,0.72);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-soft);
}
/* nav logo stays a clean sans — the custom font is reserved for the big hero word only */
.nav-logo {
  font-family: var(--sans); font-weight: 600; font-size: 17px; letter-spacing: 0.02em;
  text-transform: lowercase; opacity: 0; transition: opacity 0.3s ease;
}
.nav-links { display: flex; gap: 30px; list-style: none; }
.nav-links a {
  position: relative;
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-dim); transition: color 0.25s ease;
}
.nav-links a:hover { color: var(--ink); }

/* ============================================================
   SECTION RHYTHM
   ============================================================ */
section { max-width: var(--maxw); margin: 0 auto; padding: var(--gap-section) var(--pad); }
.divider { height: 1px; background: var(--line-soft); max-width: var(--maxw); margin: 0 auto; }

/* reveal-on-scroll for body sections (only active once JS marks the page ready,
   so content is never stuck hidden if scripts are disabled) */
.reveal-ready .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.16,1,.3,1); }
.reveal-ready .reveal.in { opacity: 1; transform: none; }

/* staggered reveal — grid children rise in one after another */
.reveal-ready .stagger > * { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .7s cubic-bezier(.16,1,.3,1); }
.reveal-ready .stagger.in > * { opacity: 1; transform: none; }

/* slim scroll-progress bar */
.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: var(--ink); opacity: 0.85; z-index: 200; will-change: width; }

/* animated underline on nav links */
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -6px; width: 100%; height: 1px;
  background: var(--ink); transform: scaleX(0); transform-origin: right;
  transition: transform .35s cubic-bezier(.16,1,.3,1);
}
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---- Latest release ---- */
.album-section { display: grid; grid-template-columns: 0.85fr 1fr; gap: clamp(36px,6vw,84px); align-items: center; }
.album-art { width: 100%; aspect-ratio: 1/1; object-fit: cover; border: 1px solid var(--line); }
.album-info h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(44px,6.5vw,88px); line-height: 0.98; letter-spacing: -0.02em;
  margin: 6px 0 22px;
}
.album-info p { color: var(--ink-dim); max-width: 46ch; margin-bottom: 34px; }

.links-row { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.cta-btn {
  display: inline-flex; align-items: center; gap: 9px; padding: 13px 26px;
  border: 1px solid var(--line); color: var(--ink);
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  transition: border-color .25s ease, background .25s ease, color .25s ease;
}
.cta-btn:hover { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.cta-btn.ghost { padding-left: 0; padding-right: 0; border: 0; border-bottom: 1px solid var(--line); }
.cta-btn.ghost:hover { background: transparent; color: var(--ink); border-bottom-color: var(--ink); }

/* ============================================================
   LYRIC / FULL-BLEED PHOTO SECTIONS
   ============================================================ */
.bg-text-section {
  position: relative; min-height: 64vh;
  display: flex; align-items: center; justify-content: center; text-align: center;
  background-size: cover; background-position: center; background-attachment: fixed;
}
.bg-text-overlay { position: absolute; inset: 0; background: rgba(11,11,12,0.6); }
.bg-text-content { position: relative; z-index: 2; max-width: 820px; padding: 40px var(--pad); }
.bg-text-content .eyebrow { justify-content: center; color: rgba(255,255,255,0.55); }
.bg-text-content .eyebrow::before { background: rgba(255,255,255,0.45); }
.bg-text-content h2 {
  font-family: var(--sans); font-weight: 500; font-style: normal;
  font-size: clamp(23px,3.4vw,40px); line-height: 1.34; letter-spacing: -0.005em;
}
.bg-text-content p { color: var(--ink-dim); font-size: 14px; letter-spacing: 0.04em; margin-top: 18px; }

/* ============================================================
   ABOUT / BIO
   ============================================================ */
.bio-content { max-width: 68ch; }
.bio-content p { color: var(--ink-dim); margin-bottom: 22px; }
.bio-content strong { color: var(--ink); font-weight: 600; }
.bio-content em { color: var(--ink); font-style: italic; }
.bio-content a { color: var(--ink); border-bottom: 1px solid var(--line); transition: border-color .25s ease; }
.bio-content a:hover { border-bottom-color: var(--ink); }
.bio-content .cta-btn { margin-top: 14px; }

/* ============================================================
   DISCOGRAPHY  — the gallery of releases
   ============================================================ */
.vault-section { max-width: 1320px; }
.crate-cat { margin-top: 70px; }
.crate-cat:first-of-type { margin-top: 0; }
.crate-label {
  display: flex; align-items: baseline; gap: 14px;
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-faint);
  padding-bottom: 18px; margin-bottom: 38px; border-bottom: 1px solid var(--line-soft);
}
.crate-label .count { color: var(--ink-faint); opacity: 0.6; font-size: 11px; }

.crate-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(186px, 1fr)); gap: clamp(30px,3.5vw,56px); }
.album { display: block; }
.album .cover {
  position: relative; aspect-ratio: 1/1; overflow: hidden;
  border: 1px solid var(--line-soft); background: var(--bg-raise);
}
.album .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.16,1,.3,1); }
.album .cover::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0) 45%);
  opacity: 0; transition: opacity .4s ease;
}
.album:hover .cover img { transform: scale(1.06); }
.album:hover .cover::after { opacity: 1; }
.album .play {
  position: absolute; left: 14px; bottom: 12px; z-index: 2;
  color: #fff; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  opacity: 0; transform: translateY(6px); transition: opacity .35s ease, transform .35s ease;
}
.album:hover .play { opacity: 1; transform: none; }
.album .play i { margin-right: 7px; }
.album-name {
  margin-top: 16px; font-size: 13px; letter-spacing: 0.04em;
  color: var(--ink); transition: color .25s ease;
}
.album-year { margin-top: 3px; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); }
.album:hover .album-name { color: #fff; }

/* ============================================================
   LISTEN  +  PLATFORM / SOCIAL / PODCAST LINK GRIDS
   ============================================================ */
.player-wrap { border: 1px solid var(--line); }
.player-wrap iframe { width: 100%; height: 352px; border: 0; display: block; }

.platforms {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  border-top: 1px solid var(--line-soft); border-left: 1px solid var(--line-soft);
}
.platform {
  display: flex; align-items: center; justify-content: space-between; padding: 22px 24px;
  border-bottom: 1px solid var(--line-soft); border-right: 1px solid var(--line-soft);
  color: var(--ink-dim); transition: color .25s ease, background .25s ease;
}
.platform:hover { color: var(--ink); background: rgba(255,255,255,0.02); }
.platform .p-name { font-size: 14px; letter-spacing: 0.04em; }
.platform .p-name i { width: 22px; color: var(--ink); margin-right: 4px; }
.platform .p-go { font-size: 18px; opacity: 0.5; transition: transform .25s ease, opacity .25s ease; }
.platform:hover .p-go { transform: translateX(4px); opacity: 1; }
.sub-label { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-faint); margin: 56px 0 18px; }

/* embedded social / video feeds */
.embed-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 22px; margin-top: 40px; }
.embed-card { border: 1px solid var(--line); background: var(--bg-raise); display: flex; flex-direction: column; overflow: hidden; }
.embed-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line-soft); }
.embed-head .t { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); }
.embed-head .t i { color: var(--ink); margin-right: 8px; }
.embed-head a { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-dim); transition: color .25s ease; }
.embed-head a:hover { color: var(--ink); }
.embed-body { flex: 1; min-height: 0; }
.embed-body iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; }
.embed-card.tiktok .embed-body { max-height: 620px; overflow-y: auto; }
@media (max-width: 820px) { .embed-grid { grid-template-columns: 1fr; } }

/* ============================================================
   PHOTO GALLERY  +  LIGHTBOX
   ============================================================ */
.gallery-grid { columns: 3; column-gap: 14px; }
.gallery-item { break-inside: avoid; margin-bottom: 14px; cursor: pointer; position: relative; overflow: hidden; border: 1px solid var(--line-soft); }
.gallery-item img { width: 100%; display: block; transition: transform .6s cubic-bezier(.16,1,.3,1), opacity .4s ease; }
.gallery-item::after { content: '\f00e'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 20px; background: rgba(11,11,12,0.35); opacity: 0; transition: opacity .35s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item:hover::after { opacity: 1; }

.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(7,7,8,0.94); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: 4vh 4vw;
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 100%; max-height: 92vh; object-fit: contain; border: 1px solid var(--line); }
.lightbox .lb-close { position: absolute; top: 22px; right: 28px; color: #fff; font-size: 26px; cursor: pointer; opacity: 0.7; transition: opacity .2s ease; }
.lightbox .lb-close:hover { opacity: 1; }

/* ============================================================
   FOOTER
   ============================================================ */
footer { text-align: center; padding: 90px var(--pad) 60px; border-top: 1px solid var(--line-soft); }
.footer-logo-img { max-width: 150px; margin: 0 auto 26px; opacity: 0.55; filter: brightness(0) invert(1); }
.footer-text { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-faint); line-height: 2; }

/* ============================================================
   404 — PAGE NOT FOUND  (matches the site)
   ============================================================ */
.nf-wrap {
  position: relative; z-index: 5;
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 48px var(--pad);
}
.nf-404 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(44px, 9vw, 120px); line-height: 1;
  letter-spacing: -0.02em; color: #fff;
  text-shadow: 0 4px 40px rgba(0,0,0,0.5);
}
.nf-mini {
  font-family: 'Revolusi', var(--serif);
  font-size: clamp(15px, 2.2vw, 24px); letter-spacing: -0.03em;
  text-transform: lowercase; color: var(--ink-dim);
  margin-top: 20px; transition: color .25s ease;
}
.nf-mini:hover { color: var(--ink); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 820px) {
  body { font-size: 16px; }
  #hero-text { font-size: 20vw; }
  .hero-tagline { top: calc(50% + 13vw); letter-spacing: 0.3em; }
  .hero-meta { display: none; }
  nav { padding: 14px var(--pad); }
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 11px; letter-spacing: 0.12em; }
  .album-section { grid-template-columns: 1fr; gap: 32px; }
  .album-art { max-width: 360px; }
  .crate-row { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 24px; }
  .bg-text-section { min-height: 56vh; background-attachment: scroll; }
  .gallery-grid { columns: 2; }
}
@media (max-width: 440px) {
  .nav-links { display: none; }
  .gallery-grid { columns: 2; column-gap: 10px; }
}
