/* =========================================================
   theZaahirworld — Option A
   Full-bleed cinematic hero · bio strip · marquee
   black · ivory · single amber · Inter Tight
   ========================================================= */

:root {
  --bg:        #000000;
  --bg-soft:   #0A0A09;
  --fg:        #F4ECDB;
  --fg-mute:   rgba(244, 236, 219, 0.55);
  --fg-faint:  rgba(244, 236, 219, 0.32);
  --line:      rgba(244, 236, 219, 0.14);
  --amber:     #E8B574;
  --amber-hot: #FFC98A;
  --display:   "Inter Tight", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gutter:    clamp(1.25rem, 3.5vw, 2.75rem);
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, p, ul, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; color: inherit; cursor: pointer; padding: 0; }
input, textarea { font: inherit; background: transparent; color: inherit; }
.defs { position: absolute; width: 0; height: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

html, body { background: var(--bg); color-scheme: dark; }
body {
  font-family: var(--display);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.45;
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100svh;
  overflow-x: hidden;
}
::selection { background: var(--amber); color: #000; }

/* ---- film grain ---- */
.grain {
  pointer-events: none;
  position: fixed;
  inset: -8%;
  z-index: 1;
  filter: url(#grain);
  opacity: 0.30;
  mix-blend-mode: overlay;
  animation: grainShift 5.4s steps(5) infinite;
}
@keyframes grainShift {
  0%   { transform: translate(0,0); }
  20%  { transform: translate(-2%, 1.5%); }
  40%  { transform: translate(1.5%, -1%); }
  60%  { transform: translate(-1.2%, 2%); }
  80%  { transform: translate(2%, -1.5%); }
  100% { transform: translate(0,0); }
}
@media (prefers-reduced-motion: reduce) { .grain { animation: none; } }

/* =========================================================
   TOP BAR
   ========================================================= */
.bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem var(--gutter);
  pointer-events: none;
}
.bar > * { pointer-events: auto; }
.bar-mark {
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--fg);
  text-transform: lowercase;
}
.bar-mark::before {
  content: "■  ";
  color: var(--amber);
  font-size: 0.7em;
  vertical-align: 1px;
}
.bar-socials { display: flex; gap: 0.75rem; }
.bar-socials a {
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  color: var(--fg-mute);
  padding: 0.25rem 0.45rem;
  border: 1px solid transparent;
  transition: color 200ms var(--ease), border-color 200ms var(--ease);
}
.bar-socials a:hover { color: var(--fg); border-color: var(--line); }

/* =========================================================
   HERO — full-bleed cinematic
   ========================================================= */
.hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
}

.hero-photo {
  position: absolute;
  inset: 0;
  margin: 0;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* anchor right — subject is on the right of bl.JPEG */
  object-position: 82% center;
  filter: contrast(1.05) saturate(0.92);
}

/* layered gradient: heavy on left (type lives here), subtle bottom fade */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(0,0,0,0.88) 0%,
      rgba(0,0,0,0.55) 38%,
      rgba(0,0,0,0.10) 62%,
      rgba(0,0,0,0.35) 100%),
    linear-gradient(180deg,
      rgba(0,0,0,0.25) 0%,
      transparent 30%,
      transparent 65%,
      rgba(0,0,0,0.65) 100%);
  pointer-events: none;
  z-index: 2;
}

/* fallback */
body.no-photo .hero {
  background: radial-gradient(ellipse at 70% 50%, rgba(232,181,116,0.07), transparent 60%), var(--bg);
}

/* type: bottom-left, over the black void */
.hero-type {
  position: absolute;
  bottom: clamp(3rem, 7vh, 5.5rem);
  left: var(--gutter);
  z-index: 3;
  max-width: 580px;
}

/* ERA CHIP */
.meta {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-bottom: 1.5rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--line);
}
.meta .dot { color: var(--amber); }
.meta-status {
  color: var(--amber);
  font-weight: 700;
  animation: pulseAmber 3s ease-in-out infinite;
}
@keyframes pulseAmber { 0%,100%{opacity:1} 50%{opacity:0.5} }
@media (prefers-reduced-motion: reduce) { .meta-status { animation: none; } }

/* WORDMARK */
.wordmark {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(5rem, 14vw, 14rem);
  line-height: 0.86;
  letter-spacing: -0.045em;
  color: var(--fg);
  text-transform: uppercase;
  display: flex;
  flex-wrap: nowrap;
}
.wordmark span {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  animation: rise 1100ms var(--ease) forwards;
}
.wordmark span:nth-child(1) { animation-delay:  60ms; }
.wordmark span:nth-child(2) { animation-delay: 120ms; }
.wordmark span:nth-child(3) { animation-delay: 180ms; }
.wordmark span:nth-child(4) { animation-delay: 240ms; }
.wordmark span:nth-child(5) { animation-delay: 300ms; }
.wordmark span:nth-child(6) { animation-delay: 360ms; }
@keyframes rise { to { transform: none; opacity: 1; } }

/* TAGLINE */
.under {
  margin-top: 1.2rem;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(0.9rem, 1.1vw, 1.05rem);
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: var(--fg-mute);
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.under::before {
  content: "";
  display: block;
  width: 28px; height: 1px;
  background: var(--fg-mute);
  flex-shrink: 0;
}

/* SINGLE INFO */
.single-info {
  margin-top: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.single-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--fg-faint);
}
.single-title {
  font-size: clamp(1rem, 1.8vw, 1.5rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg);
  line-height: 1;
}

/* STREAMING LINKS */
.stream { margin-top: 1.4rem; }
.stream-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin-bottom: 0.7rem;
}
.stream-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.stream-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(244,236,219,0.18);
  padding: 0.42rem 0.8rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.67rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-mute);
  transition: color 220ms var(--ease), border-color 220ms var(--ease);
}
.stream-link:hover { color: var(--fg); border-color: rgba(244,236,219,0.45); }
.stream-link--primary { border-color: rgba(232,181,116,0.4); color: var(--amber); }
.stream-link--primary:hover { border-color: var(--amber); color: var(--amber-hot); }
.stream-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

/* NEXT DROP */
.next-drop {
  margin-top: 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  border: 1px solid rgba(232,181,116,0.22);
  padding: 0.55rem 0.85rem;
}
.next-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--amber);
  flex-shrink: 0;
  animation: pulseAmber 2s ease-in-out infinite;
}
.next-text {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-faint);
}
.next-date {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
}

/* =========================================================
   BIO — clean two-col: text left, portrait right
   ========================================================= */
.bio {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.7fr);
  border-top: 1px solid var(--line);
  min-height: 560px;
}

.bio-inner {
  padding: clamp(3rem, 6vw, 5.5rem) clamp(1.5rem, 4vw, 3.5rem) clamp(3rem, 6vw, 5.5rem) var(--gutter);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.6rem;
  border-right: 1px solid var(--line);
}

.bio-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--fg-faint);
}

.bio-pull {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.bio-pull::before {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  background: var(--amber);
  margin-bottom: 1.2rem;
}

.bio-body {
  font-size: clamp(0.88rem, 1vw, 0.96rem);
  font-weight: 300;
  line-height: 1.85;
  color: var(--fg-mute);
  max-width: 52ch;
}

.bio-credits {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.63rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-faint);
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.bio-credit-dot { color: var(--amber); }

/* portrait — film blur shot, full height of the panel */
.bio-portrait {
  margin: 0;
  overflow: hidden;
  position: relative;
}
.bio-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  filter: contrast(1.04) saturate(0.95);
}
/* fade left edge into the text column */
.bio-portrait::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--bg) 0%, transparent 28%);
  pointer-events: none;
  z-index: 2;
}

/* =========================================================
   CONTACT FORM
   ========================================================= */
.contact {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line);
  padding: clamp(3rem, 6vw, 5rem) var(--gutter);
}
.contact-inner { max-width: 460px; }

.cta-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin-bottom: 0.85rem;
}
.signup {
  display: flex;
  flex-direction: column;
}
.signup input,
.signup textarea {
  display: block;
  width: 100%;
  background: transparent !important;
  -webkit-appearance: none;
  appearance: none;
  color-scheme: dark;
  border: none;
  border-bottom: 1px solid rgba(244,236,219,0.13);
  outline: none;
  padding: 0 0 1rem 0;
  margin-bottom: 2rem;
  color: var(--fg) !important;
  -webkit-text-fill-color: var(--fg);
  font-family: var(--display);
  font-weight: 300;
  font-size: 1rem;
  letter-spacing: 0.03em;
  transition: border-color 300ms var(--ease);
}
.signup input:focus,
.signup textarea:focus { border-color: var(--amber); }
.signup textarea { resize: none; line-height: 1.7; height: 70px; margin-bottom: 0; }
.signup input::placeholder,
.signup textarea::placeholder { color: var(--fg-faint); font-weight: 300; letter-spacing: 0.06em; }
.signup button {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
  color: var(--fg-faint);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  transition: color 300ms var(--ease);
}
.signup button:hover { color: var(--amber); }
.status {
  min-height: 1.2rem;
  margin-top: 0.85rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
}

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee {
  position: relative;
  z-index: 4;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.1rem 0;
  background: var(--bg);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  white-space: nowrap;
  animation: marquee 36s linear infinite;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg);
  padding-left: 1.5rem;
}
.marquee-track i { font-style: normal; color: var(--amber); font-size: 0.85em; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 960px) {
  .bio {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .bio-portrait {
    height: 70vw;
    order: -1;
  }
  .bio-portrait::before {
    background: linear-gradient(180deg, transparent 50%, var(--bg) 100%);
  }
  .bio-inner {
    border-right: none;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  .hero-type { bottom: 2.5rem; }
  .wordmark { font-size: 20vw; }
  .bar { padding: 1.1rem var(--gutter); }
  .bar-socials a { padding: 0.2rem 0.35rem; font-size: 0.7rem; }
  .stream-links { gap: 0.35rem; }
  .stream-link { font-size: 0.62rem; padding: 0.38rem 0.6rem; }
  .bio-portrait { height: 85vw; }
}

@media (max-width: 400px) {
  .meta { font-size: 0.62rem; }
  .marquee-track { font-size: 1rem; }
}
