/* ============================================================
   MIK — Mikheias Neto  ·  styles.css
   Mobile-first. Dark, minimal, clean.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Color system — monochrome, one red accent for the single title */
  --c-ink:    #08080a;   /* near-black base */
  --c-ink-2:  #101012;   /* raised surfaces */
  --c-ink-3:  #17171a;   /* cards */
  --c-line:   rgba(255, 255, 255, 0.10);
  --c-fog:    #8c8c92;   /* muted text */
  --c-cream:  #f4f3f1;   /* primary text */
  --c-red:    #c83a2c;   /* accent — "jumping fences" */

  /* Type */
  --f-sans:  "Inter", system-ui, -apple-system, sans-serif;
  --f-black: "UnifrakturCook", "UnifrakturMaguntia", serif;

  --step--1: clamp(0.78rem, 0.74rem + 0.2vw, 0.86rem);
  --step-0:  clamp(1rem, 0.95rem + 0.25vw, 1.12rem);
  --step-1:  clamp(1.2rem, 1.05rem + 0.7vw, 1.55rem);
  --step-2:  clamp(1.7rem, 1.4rem + 1.4vw, 2.6rem);
  --step-3:  clamp(2.2rem, 1.7rem + 2.6vw, 3.6rem);
  --step-4:  clamp(4rem, 2.5rem + 8vw, 11rem);

  /* Layout */
  --pad: clamp(1.4rem, 5vw, 4rem);
  --maxw: 1200px;
  --radius: 16px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--c-ink);
  color: var(--c-cream);
  font-family: var(--f-sans);
  font-size: var(--step-0);
  line-height: 1.65;
  font-weight: 300;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
figure { margin: 0; }
.svg-defs { position: absolute; width: 0; height: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ---------- Grain overlay ---------- */
.grain {
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.04;
  filter: url(#grainFilter);
  background: #fff;
  mix-blend-mode: overlay;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Nav (desktop only) ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 1rem var(--pad);
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(8, 8, 10, 0.7);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--c-line);
}
.nav__mark {
  font-family: var(--f-sans);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.22em;
  color: var(--c-cream);
}
.nav__links { display: none; gap: 2rem; }
.nav__links a {
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 500;
  color: var(--c-fog);
  transition: color 0.3s var(--ease);
}
.nav__links a:hover { color: var(--c-cream); }

@media (min-width: 768px) {
  .nav { display: flex; }
  .nav__links { display: flex; }
}

/* ---------- Section base ---------- */
.section {
  padding: clamp(5rem, 12vw, 9rem) var(--pad);
  max-width: var(--maxw);
  margin-inline: auto;
}
.section__label {
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-weight: 500;
  color: var(--c-fog);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.section__label::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

/* Shared heading style — clean, tight, modern */
.about__heading,
.watch__heading,
.connect__heading,
.contact__heading {
  font-family: var(--f-sans);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

/* ============================================================
   1. HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--pad);
  padding-bottom: clamp(4rem, 12vh, 8rem);
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; will-change: transform; }
.hero__bg img {
  width: 100%;
  height: 115%;
  object-fit: cover;
  object-position: 50% 32%;
  filter: saturate(0.92) contrast(1.02);
}
.hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--c-ink) 2%, rgba(8,8,10,0.15) 45%, rgba(8,8,10,0.5) 100%);
}
.hero__content { position: relative; max-width: 900px; }
.hero__eyebrow {
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: 0.34em;
  font-weight: 500;
  color: var(--c-fog);
  margin-bottom: 1rem;
}
.hero__name {
  font-family: var(--f-sans);
  font-weight: 800;
  font-size: var(--step-4);
  line-height: 0.86;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
  color: var(--c-cream);
}
.hero__name-line { display: inline-block; }
.hero__tagline {
  font-family: var(--f-sans);
  font-weight: 300;
  font-size: var(--step-1);
  line-height: 1.35;
  color: var(--c-cream);
  max-width: 34ch;
}
.hero__tagline em { font-style: normal; font-weight: 500; }

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: var(--c-fog);
}
.scroll-cue__line {
  width: 1px;
  height: 46px;
  background: linear-gradient(to bottom, var(--c-cream), transparent);
  position: relative;
  overflow: hidden;
  opacity: 0.7;
}
.scroll-cue__line::after {
  content: "";
  position: absolute;
  top: -50%;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--c-cream);
  animation: cue 2.2s var(--ease) infinite;
}
.scroll-cue__text {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
}
@keyframes cue {
  0%   { transform: translateY(0); }
  100% { transform: translateY(300%); }
}

/* ============================================================
   2. ABOUT
   ============================================================ */
.about {
  display: grid;
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: center;
}
.about__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 70px -30px rgba(0,0,0,0.8);
}
.about__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 30%;
  transition: transform 1.2s var(--ease);
}
.about__media:hover img { transform: scale(1.04); }
.about__tag {
  position: absolute;
  bottom: 1rem; left: 1rem;
  font-size: var(--step--1);
  letter-spacing: 0.22em;
  padding: 0.5rem 0.9rem;
  background: rgba(8,8,10,0.55);
  backdrop-filter: blur(8px);
  border: 1px solid var(--c-line);
  border-radius: 100px;
  color: var(--c-cream);
}
.about__heading { font-size: var(--step-2); margin-bottom: 1.4rem; }
.about__text { color: var(--c-fog); font-size: var(--step-0); max-width: 46ch; }

@media (min-width: 768px) {
  .about { grid-template-columns: 0.9fr 1.1fr; }
}

/* ============================================================
   3. LATEST RELEASE
   ============================================================ */
.release { text-align: center; }
.release__inner {
  position: relative;
  padding: clamp(3rem, 7vw, 5rem) clamp(1.4rem, 5vw, 4rem);
  border-radius: calc(var(--radius) + 6px);
  background: var(--c-ink-2);
  border: 1px solid var(--c-line);
  overflow: hidden;
}
.release__bg { position: absolute; inset: 0; z-index: 0; }
.release__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
}
.release__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(8,8,10,0.68), rgba(8,8,10,0.8)),
    radial-gradient(120% 90% at 50% 40%, transparent, rgba(8,8,10,0.55));
}
.release__content { position: relative; z-index: 1; }
.release .section__label { justify-content: center; color: var(--c-cream); }
.release .section__label::after {
  content: "";
  width: 28px; height: 1px; background: currentColor; opacity: 0.5;
}
.release__title {
  font-family: var(--f-black);
  font-weight: 700;
  font-size: clamp(3rem, 1.8rem + 7vw, 6.5rem);
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--c-red);
  text-shadow: 0 4px 30px rgba(0,0,0,0.5);
  margin-bottom: 1rem;
}
.release__cta {
  color: var(--c-cream);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: var(--step--1);
  font-weight: 500;
  margin-bottom: 2rem;
}

/* Countdown */
.countdown {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(0.4rem, 1.8vw, 0.9rem);
  margin-bottom: 2.6rem;
}
.countdown__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: clamp(2.8rem, 12vw, 3.6rem);
}
.countdown__num {
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: clamp(1.9rem, 1.2rem + 3vw, 3.1rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--c-cream);
  font-variant-numeric: tabular-nums;
}
.countdown__label {
  margin-top: 0.5rem;
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--c-fog);
}
.countdown__sep {
  font-weight: 700;
  font-size: clamp(1.5rem, 1rem + 2.5vw, 2.5rem);
  line-height: 1;
  color: var(--c-cream);
  opacity: 0.4;
}

.platforms {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
  max-width: 560px;
  margin-inline: auto;
}
@media (min-width: 560px) {
  .platforms { grid-template-columns: 1fr 1fr; }
  .platform--deezer { grid-column: 1 / -1; }
}

.platform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 1rem 1.2rem;
  border-radius: 100px;
  background: var(--c-ink-3);
  border: 1px solid var(--c-line);
  font-size: var(--step-0);
  font-weight: 500;
  color: var(--c-cream);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.platform svg {
  width: 22px; height: 22px;
  flex-shrink: 0;
  color: var(--c-fog);
  transition: color 0.4s var(--ease), transform 0.4s var(--ease);
}
.platform:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.42);
  background: #1c1c20;
}
.platform:hover svg { color: var(--c-cream); transform: scale(1.1); }

/* ============================================================
   4. WATCH
   ============================================================ */
.watch { text-align: center; }
.watch__heading { font-size: var(--step-2); margin-bottom: 2rem; }
.watch__player {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--c-line);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,0.9);
  background: var(--c-ink-2);
}
.watch__poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
  transition: transform 1.4s var(--ease), filter 0.6s var(--ease);
  filter: saturate(0.9) brightness(0.74);
}
.watch__player:hover .watch__poster {
  transform: scale(1.05);
  filter: saturate(1) brightness(0.82);
}
.watch__veil {
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 60% at 50% 50%, transparent, rgba(8,8,10,0.5));
}
.watch__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: clamp(60px, 14vw, 84px);
  height: clamp(60px, 14vw, 84px);
  border-radius: 50%;
  color: var(--c-ink);
  background: var(--c-cream);
  box-shadow: 0 14px 40px -12px rgba(0,0,0,0.6);
  transition: transform 0.4s var(--ease);
}
.watch__play svg { width: 40%; height: 40%; margin-left: 8%; }
.watch__player:hover .watch__play { transform: translate(-50%, -50%) scale(1.08); }
.watch__meta {
  position: absolute;
  bottom: 1.1rem; left: 1.2rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.watch__channel {
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: var(--step-1);
  letter-spacing: -0.01em;
  color: var(--c-cream);
}
.watch__hint {
  font-size: var(--step--1);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-fog);
}
.btn-ghost {
  display: inline-block;
  margin-top: 2rem;
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 500;
  color: var(--c-cream);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--c-line);
  transition: border-color 0.3s var(--ease), letter-spacing 0.3s var(--ease);
}
.btn-ghost:hover { border-color: var(--c-cream); letter-spacing: 0.24em; }

/* ============================================================
   5. CONNECT
   ============================================================ */
.connect__heading { font-size: var(--step-2); margin-bottom: 2.4rem; }
.connect__list { display: grid; gap: 0.8rem; }
.connect__list a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  border-radius: 14px;
  background: var(--c-ink-2);
  border: 1px solid var(--c-line);
  transition: transform 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease);
}
.connect__list a:hover {
  transform: translateX(6px);
  background: var(--c-ink-3);
  border-color: rgba(255,255,255,0.3);
}
.connect__list svg { width: 26px; height: 26px; color: var(--c-cream); flex-shrink: 0; }
.connect__name { font-weight: 600; font-size: var(--step-1); letter-spacing: -0.01em; }
.connect__handle { color: var(--c-fog); font-size: var(--step--1); margin-left: auto; }
.connect__arrow { color: var(--c-fog); font-size: 1.3rem; transition: transform 0.3s var(--ease), color 0.3s var(--ease); }
.connect__list a:hover .connect__arrow { transform: translateX(5px); color: var(--c-cream); }

/* ============================================================
   6. CONTACT
   ============================================================ */
.contact { text-align: center; }
.contact__inner { max-width: 620px; margin-inline: auto; }
.contact__heading { font-size: var(--step-3); margin-bottom: 1rem; }
.contact__sub { color: var(--c-fog); margin-bottom: 2.2rem; max-width: 40ch; margin-inline: auto; }
.btn-solid {
  display: inline-block;
  padding: 1.05rem 2.2rem;
  border-radius: 100px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--c-ink);
  background: var(--c-cream);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.4s var(--ease);
}
.btn-solid:hover {
  transform: translateY(-3px);
  background: #fff;
  box-shadow: 0 18px 40px -18px rgba(0,0,0,0.7);
}

/* ============================================================
   7. FOOTER
   ============================================================ */
.footer {
  text-align: center;
  padding: 3.5rem var(--pad) 4rem;
  border-top: 1px solid var(--c-line);
  color: var(--c-fog);
}
.footer__mark {
  display: block;
  font-family: var(--f-sans);
  font-weight: 800;
  font-size: 1.8rem;
  letter-spacing: 0.28em;
  color: transparent;
  -webkit-text-stroke: 1px var(--c-line);
  margin-bottom: 1rem;
  user-select: none;
}
.footer p { font-size: var(--step--1); letter-spacing: 0.08em; }
