/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black: #0a0a0a;
  --black-card: #141414;
  --mid: #1a1a1a;
  --border: #252520;
  --cream: #f0ebe0;
  --cream-dim: #ccc4b4;
  --accent: #8B7355;
  --accent-glow: rgba(139,115,85,0.25);
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', 'Inter', system-ui, sans-serif;
  --nav-height: 64px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── Nav ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-height);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px;
  background: #0a0a0a;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, border-color 0.3s;
}
/* Homepage hero: frosted nav always visible */
.nav.nav--hero {
  background: rgba(10,10,10,0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.nav.nav--hero.scrolled,
.nav.nav--hero.menu-open {
  background: rgba(10,10,10,0.85);
  border-bottom: 1px solid var(--border);
}
.nav__logo img { height: 36px; width: auto; display: block; background: transparent; mix-blend-mode: normal; }
.nav__links { display: flex; gap: 28px; align-items: center; flex: 1; justify-content: center; }
.nav__links a, .nav__links button {
  font-family: var(--font-body); font-size: 13px; font-weight: 500; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--cream); transition: color 0.2s, opacity 0.2s;
  opacity: 1;
  text-shadow: none;
}
.nav__links a:hover { opacity: 1; }
.nav__cart { display: flex; align-items: center; opacity: 0.85; transition: opacity 0.2s; }
.nav__cart:hover { opacity: 1; }
.nav__cart--mobile { display: none; }
.nav__cart--desktop { display: flex; align-items: center; margin-left: 20px; background: none; border: none; cursor: pointer; padding: 4px; opacity: 0.85; transition: opacity 0.2s; }
.nav__cart--desktop:hover { opacity: 1; }
.nav__hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
  grid-column: 3; justify-self: end;
}
.nav__hamburger span { display: block; width: 22px; height: 1px; background: var(--cream); transition: 0.3s; }

/* ── Mobile Menu ── */
.nav__mobile {
  display: none; position: fixed; top: var(--nav-height); left: 0; right: 0; bottom: 0;
  background: linear-gradient(160deg, #0a0a0a 0%, #111 60%, #1a1208 100%);
  z-index: 999;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 0; padding: 0 32px;
  opacity: 0; transform: translateY(-12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.nav__mobile.open { display: flex; opacity: 1; transform: translateY(0); }
.nav__mobile__close {
  position: absolute; top: 20px; right: 20px;
  background: none; border: none; cursor: pointer; padding: 10px;
  color: var(--cream); opacity: 0.5; transition: opacity 0.2s;
  line-height: 1;
}
.nav__mobile__close:hover { opacity: 1; }
.nav__mobile__close svg { display: block; }
.nav__mobile__links {
  display: flex; flex-direction: column; align-items: center; gap: 0;
  width: 100%;
  border-top: 1px solid rgba(232,220,200,0.07);
}
.nav__mobile a {
  font-size: 32px; font-family: var(--font-heading); font-weight: 500;
  letter-spacing: 2px; color: var(--cream);
  padding: 12px 0; width: 100%; text-align: center;
  border-bottom: 1px solid rgba(232,220,200,0.07);
  transition: color 0.2s, letter-spacing 0.2s;
  opacity: 0; transform: translateY(8px);
  animation: none;
}
.nav__mobile.open a {
  animation: menuFadeUp 0.4s ease forwards;
}
.nav__mobile.open a:nth-child(1) { animation-delay: 0.05s; }
.nav__mobile.open a:nth-child(2) { animation-delay: 0.10s; }
.nav__mobile.open a:nth-child(3) { animation-delay: 0.15s; }
.nav__mobile.open a:nth-child(4) { animation-delay: 0.20s; }
.nav__mobile.open a:nth-child(5) { animation-delay: 0.25s; }
.nav__mobile.open a:nth-child(6) { animation-delay: 0.30s; }
.nav__mobile.open a:nth-child(7) { animation-delay: 0.35s; }
.nav__mobile.open a:nth-child(8) { animation-delay: 0.40s; }
@keyframes menuFadeUp {
  to { opacity: 1; transform: translateY(0); }
}
.nav__mobile a:last-child { border-bottom: none; }
.nav__mobile a:hover { color: var(--accent); letter-spacing: 3px; }
.nav__mobile__social {
  display: flex; gap: 24px; margin-top: 36px;
  opacity: 0; animation: none;
}
.nav__mobile.open .nav__mobile__social {
  animation: menuFadeUp 0.4s ease forwards;
  animation-delay: 0.5s;
}
.nav__mobile__social a {
  font-size: 0; padding: 0; border: none; width: auto;
  opacity: 0.5; transition: opacity 0.2s;
  animation: none !important;
}
.nav__mobile.open .nav__mobile__social a { animation: menuFadeUp 0.4s ease forwards !important; animation-delay: 0.5s !important; }
.nav__mobile__social a:hover { opacity: 1; letter-spacing: 0; color: var(--cream); }

/* ── Hero ── */
.hero {
  position: relative;
  height: calc(100vh - var(--nav-height));
  margin-top: var(--nav-height);
  display: flex; align-items: center; justify-content: center; text-align: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: url('https://res.cloudinary.com/dutbdrhg6/image/upload/ar_16:9,c_pad,b_gen_fill,w_2419/v1773520923/iyah-may/hero-landscape.jpg');
  background-size: cover; background-position: center top;
}
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: rgba(10,10,10,0.35);
}
.hero__wordmark {
  height: clamp(64px, 14vw, 140px); width: auto;
  filter: drop-shadow(0 0 40px rgba(245,237,214,0.6)) drop-shadow(0 0 80px rgba(245,237,214,0.25)) drop-shadow(0 4px 16px rgba(0,0,0,0.8));
  animation: fadeInUp 1.2s ease both;
}
.hero__content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 20px;
  padding: 0 24px;
}
.hero__logo {
  height: 72px; width: auto;
  filter: drop-shadow(0 0 24px rgba(100,140,255,0.45));
  animation: fadeInUp 1s ease both;
}
.hero__sub {
  font-size: 16px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--cream-dim); animation: fadeInUp 1s ease 0.2s both;
}
.hero__cta {
  display: inline-block; margin-top: 8px;
  padding: 14px 40px;
  font-size: 16px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  border: 1px solid var(--cream); color: var(--cream); background: transparent;
  transition: background 0.2s, color 0.2s;
  animation: fadeInUp 1s ease 0.4s both;
}
.hero__cta:hover { background: var(--cream); color: var(--black); }

/* ── Sections ── */
.section { padding: 48px 0; }
.section--dark { background: var(--mid); }
.section--slim { padding: 40px 0; }
.section__inner { max-width: 1100px; margin: 0 auto; padding: 0 32px; }
.section__inner--centered { text-align: center; max-width: 640px; }
.section__eyebrow {
  font-family: var(--font-body); font-size: 12px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px;
}
.section__heading {
  font-family: var(--font-heading); font-size: clamp(28px, 4vw, 42px);
  font-weight: 500; line-height: 1.2; margin-bottom: 16px;
}
.section__text {
  font-size: 18px; color: var(--cream-dim); line-height: 1.8; margin-bottom: 32px;
}

/* ── Buttons ── */
BTNSTART
  display: inline-block; padding: 13px 36px;
  font-size: 14px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  border-radius: 4px;
  transition: all 0.2s; cursor: pointer;
}
.btn--primary { background: var(--cream); color: var(--black); border: 1px solid var(--cream); }
.btn--primary:hover { background: transparent; color: var(--cream); }
.btn--outline { background: transparent; color: var(--cream); border: 1px solid var(--border); }
.btn--outline:hover { border-color: var(--cream); }

/* ── Music Grid ── */
/* Home music grid — matches music page */
.home-music-grid.releases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.home-music-grid .release-card {
  display: block; text-decoration: none; cursor: pointer;
  position: relative; overflow: hidden; aspect-ratio: 1; background: #111;
}
.home-music-grid .release-card img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  opacity: 1;
  transition: transform 0.4s ease, opacity 0.3s ease;
}
.home-music-grid .release-card:hover img { transform: scale(1.03); opacity: 1; }
.home-music-grid .release-card__overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 36px 14px 14px;
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, transparent 100%);
  opacity: 0; transition: opacity 0.25s ease;
}
.home-music-grid .release-card:hover .release-card__overlay { opacity: 1; }
.home-music-grid .release-card__title {
  font-family: var(--font-heading); font-size: 1rem; font-weight: 600;
  color: #fff; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.home-music-grid .release-card__year {
  font-family: var(--font-body); font-size: 1rem; color: rgba(255,255,255,0.55);
  text-transform: uppercase; letter-spacing: 0.1em;
}
@media (max-width: 800px) { .home-music-grid.releases-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 500px) { .home-music-grid.releases-grid { grid-template-columns: repeat(2, 1fr); } }

.music-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.music-card { display: block; transition: transform 0.2s; }
.music-card:hover { transform: translateY(-4px); }
.music-card__art {
  position: relative; aspect-ratio: 1; background: var(--mid);
  overflow: hidden; margin-bottom: 12px;
}
.music-card__art img { width: 100%; height: 100%; object-fit: cover; }
.music-card__play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.5); opacity: 0; transition: opacity 0.2s;
  font-size: 32px; color: white;
}
.music-card:hover .music-card__play { opacity: 1; }
.music-card__title { font-size: 18px; font-weight: 500; margin-bottom: 4px; }
.music-card__meta { font-size: 16px; color: var(--cream-dim); }

/* ── Social Links ── */
.social-links { display: flex; gap: 28px; align-items: center; justify-content: center; }
.social-link { color: var(--cream-dim); transition: color 0.2s; }
.social-link:hover { color: var(--cream); }

/* ── Members Perks ── */
.perks-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; margin-top: 40px; }
.perk-card {
  padding: 28px 24px; border: 1px solid var(--border); background: var(--black-card);
  transition: border-color 0.2s;
}
.perk-card:hover { border-color: var(--accent); }
.perk-card__icon { font-size: 24px; margin-bottom: 12px; }
.perk-card__title { font-size: 17px; font-weight: 500; margin-bottom: 6px; }
.perk-card__text { font-size: 16px; color: var(--cream-dim); line-height: 1.6; }

/* ── Tiers ── */
.tiers-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; margin-top: 40px; }
.tier-card {
  padding: 36px 28px; border: 1px solid var(--border); background: var(--black-card);
  display: flex; flex-direction: column;
}
.tier-card--featured { border-color: var(--accent); position: relative; }
.tier-name { font-family: var(--font-heading); font-size: 26px; font-weight: 500; margin-bottom: 4px; }
.tier-price { font-size: 32px; font-weight: 600; margin-bottom: 4px; }
.tier-price span { font-size: 17px; font-weight: 500; color: var(--cream-dim); }
.tier-desc { font-size: 16px; color: var(--cream-dim); margin-bottom: 24px; line-height: 1.6; }
.tier-perks { list-style: none; margin-bottom: 32px; flex: 1; }
.tier-perks li { font-size: 16px; padding: 8px 0; border-bottom: 1px solid var(--border); color: var(--cream-dim); }
.tier-perks li::before { content: '+ '; color: var(--accent); font-weight: 600; }
.tier-cta { margin-top: auto; }

/* ── About ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-photo { aspect-ratio: 3/4; object-fit: cover; width: 100%; }
.about-bio { font-family: var(--font-heading); font-size: clamp(18px, 2.5vw, 24px); font-weight: 500; line-height: 1.8; }
.about-bio p + p { margin-top: 20px; }

/* ── Contact Form ── */
.contact-form { max-width: 560px; margin: 0 auto; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--cream-dim); margin-bottom: 8px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 14px 16px; background: var(--mid); border: 1px solid var(--border);
  color: var(--cream); font-family: var(--font-body); font-size: 17px; outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 120px; }

/* ── Footer ── */
.footer {
  padding: 40px 32px; text-align: center;
  border-top: 1px solid var(--border);
  font-size: 16px; color: var(--cream-dim);
  display: flex; flex-direction: column; gap: 8px;
}
.footer a:hover { color: var(--cream); }

/* ── Page Layout ── */
.page { padding-top: var(--nav-height); min-height: 100vh; }
.page__hero {
  padding: 80px 32px 0; text-align: center;
  background: linear-gradient(to bottom, var(--mid), var(--black));
}
.page__title { font-family: var(--font-heading); font-size: clamp(36px, 6vw, 72px); font-weight: 500; margin: 0 0 4px; }
.page__sub { font-family: var(--font-body); font-size: 12px; font-weight: 500; color: var(--cream-dim); letter-spacing: 2px; text-transform: uppercase; margin: 0 0 20px; }
.page__content { max-width: 1100px; margin: 0 auto; padding: 8px 32px 60px; }

/* ── Animations ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav { padding: 0 20px; display: flex; justify-content: space-between; }
  .nav__links { display: none; }
  .nav__hamburger { display: flex; position: absolute; left: 50%; transform: translateX(-50%); }
  .nav__cart--mobile { display: flex; background:none; border:none; cursor:pointer; padding:4px; opacity:0.85; }
  .nav__cart--desktop { display: none; }
  .section__inner { padding: 0 20px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .tiers-grid { grid-template-columns: 1fr; }
  .hero { height: calc(100svh - var(--nav-height)); margin-top: var(--nav-height); }
  .hero__logo { height: 52px; }
  .page__content { padding: 40px 20px; }
  .footer { padding: 32px 20px; }
}

/* ── Nav scroll effect ── */

/* ── Section Header ── */
.section__header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 32px; }
.section__link { font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--cream-dim); transition: color 0.2s; }
.section__link:hover { color: var(--cream); }

/* ── Product Grid ── */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card { display: block; }
.product-card__img { position: relative; aspect-ratio: 1; overflow: hidden; background: transparent; margin-bottom: 12px; }
.product-card__img img { width: 100%; height: 100%; object-fit: contain; }
@media (hover: hover) {
  .product-card { transition: transform 0.2s; }
  .product-card:hover { transform: translateY(-3px); }
  .product-card__img img { transition: transform 0.3s; }
  .product-card:hover .product-card__img img { transform: scale(1.03); }
}
.product-card__overlay {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.45); opacity: 0; transition: opacity 0.2s;
  font-size: 16px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: white;
}
.product-card:hover .product-card__overlay { opacity: 1; }
.product-card__name { font-size: 16px; font-weight: 500; margin-bottom: 4px; }
.product-card__price { font-size: 16px; color: var(--cream-dim); }

/* ── Hero Actions ── */
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.hero__cta--ghost {
  background: transparent; border-color: rgba(255,255,255,0.4); color: rgba(255,255,255,0.7);
}
.hero__cta--ghost:hover { border-color: var(--cream); color: var(--cream); background: transparent; }

/* ── Hero scroll indicator ── */
.hero__scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  font-size: 20px; color: rgba(255,255,255,0.4); z-index: 2;
  animation: bounce 2s infinite;
}
@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

/* ── Citizens Promo ── */
/* ── Citizens Perk Preview ── */
.citizens-perks {
  padding: 48px 0;
  background: linear-gradient(135deg, #0f0e0c 0%, #1a1810 50%, #0a0a0a 100%);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.citizens-perks__inner { max-width: 960px; margin: 0 auto; padding: 0 32px; text-align: center; }
.citizens-perks__heading {
  font-family: var(--font-heading); font-size: clamp(32px, 5vw, 52px);
  font-weight: 500; line-height: 1.2; margin-bottom: 16px; color: var(--cream);
}
.citizens-perks__sub {
  font-size: 18px; color: var(--cream-dim); line-height: 1.8;
  max-width: 600px; margin: 0 auto 52px;
}
.perks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}
.perk-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(200,149,108,0.12);
  border-radius: 20px;
  padding: 36px 24px 32px;
  text-align: center;
  transition: border-color 0.2s, background 0.2s;
}
.perk-card:hover {
  border-color: rgba(200,149,108,0.3);
  background: rgba(200,149,108,0.05);
}
.perk-card__icon {
  color: #c8956c;
  margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
}
.perk-card__title {
  font-family: var(--font-body);
  font-size: 16px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--cream); margin-bottom: 8px;
}
.perk-card__desc {
  font-family: var(--font-body);
  font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--cream-dim); line-height: 1.5;
}
.perks-cta {
  display: inline-block;
  background: #c8956c;
  color: #0a0a0a;
  font-family: var(--font-body);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  text-decoration: none;
  padding: 16px 48px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
.perks-cta:hover { background: var(--cream); color: #0a0a0a; }
@media (max-width: 700px) {
  .perks-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 440px) {
  .perks-grid { grid-template-columns: 1fr; }
}

.btn--ghost { background: transparent; color: var(--cream-dim); border: none; padding-left: 0; padding-right: 0; }
.btn--ghost:hover { color: var(--cream); }

/* ── Responsive ── */
@media (max-width: 900px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .music-grid { grid-template-columns: repeat(2, 1fr); }
  .section__header { flex-direction: row; align-items: flex-end; }
}
