:root {
  --bg: #070504;
  --bg-2: #120c08;
  --ink: #f6ecdc;
  --muted: #b9a68d;
  --gold: #e4c07a;
  --gold-2: #f3d9a0;
  --amber: #c9843a;
  --line: rgba(228, 192, 122, 0.18);
  --glass: rgba(18, 12, 8, 0.62);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --radius: 22px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Outfit", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  min-height: 100vh;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.serif { font-family: "Cormorant Garamond", "Times New Roman", serif; }

/* ambient field */
.aura {
  position: fixed; inset: -20%;
  background:
    radial-gradient(circle at 20% 10%, rgba(201, 132, 58, 0.18), transparent 36%),
    radial-gradient(circle at 80% 0%, rgba(228, 192, 122, 0.12), transparent 30%),
    radial-gradient(circle at 50% 100%, rgba(90, 40, 10, 0.35), transparent 42%);
  pointer-events: none; z-index: 0; filter: blur(8px);
}
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: .09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.wrap { position: relative; z-index: 2; }

/* gate */
#gate {
  position: fixed; inset: 0; z-index: 50;
  display: grid; place-items: center;
  background:
    linear-gradient(180deg, rgba(7,5,4,.55), rgba(7,5,4,.82)),
    url("../assets/img/banner.jpg") center 28%/cover no-repeat;
}
#gate.gone {
  opacity: 0; pointer-events: none; transform: scale(1.04);
  transition: .9s ease;
}
.gate-card { text-align: center; padding: 32px 24px; }
.gate-arabic {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(64px, 14vw, 160px);
  line-height: .85; color: var(--gold-2);
  text-shadow: 0 0 40px rgba(228,192,122,.35);
}
.gate-name {
  letter-spacing: .42em; text-transform: uppercase;
  font-size: 13px; color: var(--muted); margin: 10px 0 28px;
}
.enter {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--gold);
  padding: 14px 28px; border-radius: 999px;
  letter-spacing: .18em; text-transform: uppercase; font-size: 12px;
  background: linear-gradient(180deg, rgba(228,192,122,.16), transparent);
  transition: .25s ease;
}
.enter:hover { background: var(--gold); color: #1a1208; }

/* nav */
header {
  position: sticky; top: 0; z-index: 20;
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 7vw;
  backdrop-filter: blur(16px);
  background: linear-gradient(180deg, rgba(7,5,4,.78), rgba(7,5,4,.28));
  border-bottom: 1px solid transparent;
}
.brand { display: flex; align-items: baseline; gap: 10px; }
.brand b { letter-spacing: .28em; font-size: 12px; text-transform: uppercase; }
.brand span { color: var(--gold); font-family: "Cormorant Garamond", serif; font-size: 22px; }
nav { display: flex; gap: 22px; font-size: 13px; color: var(--muted); }
nav a:hover { color: var(--gold-2); }
.now-playing {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; color: var(--gold);
}
.eq { display: flex; gap: 3px; height: 14px; align-items: end; }
.eq i {
  width: 3px; background: var(--gold); display: block;
  animation: bounce 1s ease-in-out infinite;
}
.eq i:nth-child(2) { animation-delay: .15s; }
.eq i:nth-child(3) { animation-delay: .3s; }
.eq.pause i { animation: none; height: 4px !important; }
@keyframes bounce {
  0%,100% { height: 4px; } 50% { height: 14px; }
}

/* hero */
.hero {
  min-height: 92vh;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: center;
  padding: 40px 7vw 80px;
}
.kicker {
  color: var(--gold); letter-spacing: .32em; text-transform: uppercase;
  font-size: 11px; margin-bottom: 18px;
}
h1 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: clamp(52px, 8vw, 118px);
  line-height: .86;
  letter-spacing: -0.03em;
}
h1 em { font-style: italic; color: var(--gold-2); }
.lede {
  max-width: 520px; margin-top: 24px;
  color: var(--muted); font-size: 18px; line-height: 1.6;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn {
  padding: 13px 22px; border-radius: 999px; font-size: 13px; letter-spacing: .08em;
  text-transform: uppercase; border: 1px solid var(--line);
}
.btn.gold { background: var(--gold); color: #1a1208; border-color: var(--gold); }
.btn.ghost:hover { border-color: var(--gold); color: var(--gold-2); }

.hero-visual { position: relative; }
.portrait-frame {
  position: relative; border-radius: 28px; overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/5;
}
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 35% 20%; filter: saturate(1.06) contrast(1.06); }
.portrait-frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(7,5,4,.72));
}
.float-chip {
  position: absolute; right: -18px; bottom: 48px;
  background: var(--glass); border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  padding: 14px 16px; border-radius: 16px; min-width: 180px;
}
.float-chip small { color: var(--muted); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.float-chip strong { display: block; margin-top: 4px; }

/* sections */
section { padding: 90px 7vw; }
.sec-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(36px, 5vw, 64px); font-weight: 500;
}
.sec-sub { color: var(--muted); margin-top: 10px; max-width: 560px; line-height: 1.6; }
.rule {
  width: 72px; height: 1px; background: var(--gold); margin: 18px 0 36px;
}

/* about */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start;
}
.pillars { display: grid; gap: 16px; }
.pillar {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; background: linear-gradient(180deg, rgba(228,192,122,.05), transparent);
}
.pillar h3 { font-size: 18px; margin-bottom: 8px; }
.pillar p { color: var(--muted); line-height: 1.55; font-size: 15px; }

/* music */
.player {
  display: grid; grid-template-columns: 280px 1fr; gap: 28px;
  border: 1px solid var(--line); border-radius: 28px; overflow: hidden;
  background: #0e0a07;
}
.player video { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.player-body { padding: 28px 28px 22px; }
.track-list { margin-top: 18px; display: grid; gap: 8px; }
.track {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 14px; border-radius: 12px; border: 1px solid transparent;
}
.track.active, .track:hover { background: rgba(228,192,122,.08); border-color: var(--line); }
.track b { display: block; }
.track span { color: var(--muted); font-size: 13px; }
.controls { display: flex; align-items: center; gap: 16px; margin-top: 22px; }
.play-btn {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--gold); color: #1a1208; font-size: 18px;
}
.progress {
  flex: 1; height: 4px; background: rgba(255,255,255,.08); border-radius: 99px; overflow: hidden; cursor: pointer;
}
.progress > i { display: block; height: 100%; width: 0; background: var(--gold); }

/* projects */
.cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.card {
  border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
  background: #0d0906; transition: .25s ease; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); border-color: rgba(228,192,122,.4); }
.card img { height: 190px; width: 100%; object-fit: cover; }
.card .pad { padding: 18px 18px 20px; flex: 1; display: flex; flex-direction: column; }
.tag {
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold);
}
.card h3 { margin: 8px 0 8px; font-size: 22px; font-family: "Cormorant Garamond", serif; font-weight: 500; }
.card p { color: var(--muted); font-size: 14px; line-height: 1.55; flex: 1; }
.card .go { margin-top: 14px; color: var(--gold-2); font-size: 13px; }

/* collections */
.collection-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.col-link {
  border: 1px solid var(--line); border-radius: 16px; padding: 18px;
  min-height: 130px;
  background: linear-gradient(160deg, rgba(228,192,122,.07), transparent 60%);
}
.col-link:hover { border-color: var(--gold); }
.col-link small { color: var(--gold); letter-spacing: .14em; text-transform: uppercase; font-size: 10px; }
.col-link h3 { margin: 10px 0 6px; font-size: 18px; }
.col-link p { color: var(--muted); font-size: 13px; line-height: 1.45; }

/* gallery */
.masonry {
  columns: 3; column-gap: 14px;
}
.masonry figure {
  break-inside: avoid; margin-bottom: 14px;
  border-radius: 18px; overflow: hidden; position: relative;
}
.masonry img { width: 100%; }
.masonry figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px; font-size: 13px;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
}

/* support */
.support {
  border: 1px solid var(--line); border-radius: 28px;
  padding: 36px; background:
    radial-gradient(circle at 10% 0%, rgba(228,192,122,.12), transparent 40%),
    #0d0906;
}
.wallets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.wallet {
  border: 1px solid var(--line); border-radius: 16px; padding: 18px;
}
.wallet label { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.addr {
  margin-top: 10px; word-break: break-all; color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px;
}
.copy {
  margin-top: 12px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-2);
}

/* footer */
footer {
  padding: 40px 7vw 60px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 13px;
}

@media (max-width: 980px) {
  .hero, .about-grid, .player, .cards, .wallets { grid-template-columns: 1fr; }
  .collection-grid { grid-template-columns: 1fr 1fr; }
  .masonry { columns: 2; }
  nav { display: none; }
  .hero { min-height: auto; padding-top: 28px; }
  .float-chip { right: 12px; bottom: 12px; }
}
@media (max-width: 560px) {
  .masonry, .collection-grid { columns: 1; grid-template-columns: 1fr; }
  header { padding: 14px 20px; }
  section { padding: 70px 20px; }
  .hero { padding: 20px 20px 50px; }
}
