/* Nikita Isakov - landing page
   Aesthetic: cinematic dark editorial. Not an off-the-shelf design system.
   Theme is locked dark by brand decision: the artist's key photography and the
   .ua artwork both live on dark ground, and a light mode would lose that. */

@import url("./assets/fonts/fonts.css");

:root {
  /* one palette, cool near-black. no pure #000 */
  --bg:        #0b0d11;
  --bg-raise:  #12151b;
  --bg-sink:   #080a0d;
  --line:      rgba(232, 234, 238, 0.11);
  --line-soft: rgba(232, 234, 238, 0.06);
  --ink:       #e8eaee;
  --ink-dim:   #a2a9b5;
  --ink-mute:  #767e8c;

  /* single accent for the whole page: warm gold, pulled from the .ua artwork */
  --accent:      #e9b949;
  --accent-deep: #c99a2e;

  --r: 4px;                 /* one radius system, everything */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shell: 1320px;
  --pad: clamp(1.25rem, 5vw, 4.5rem);

  --f-display: "Unbounded", "Manrope", system-ui, sans-serif;
  --f-body: "Manrope", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 88px;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ---------- bilingual swap (UA default, EN toggle) ---------- */
html[data-lang="ua"] .t-en,
html[data-lang="en"] .t-ua { display: none; }

/* ---------- shared ---------- */
.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--pad); }

.section { padding-block: clamp(5rem, 12vw, 9.5rem); }
.section--tight { padding-block: clamp(3rem, 7vw, 5rem); }

.eyebrow {
  font-family: var(--f-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1.25rem;
}

h1, h2, h3 { font-family: var(--f-display); font-weight: 400; letter-spacing: -0.03em; margin: 0; }

.h-sec {
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.08;
  max-width: 18ch;
}

.lede { color: var(--ink-dim); max-width: 62ch; font-size: clamp(1rem, 1.6vw, 1.125rem); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  white-space: nowrap;                       /* CTA never wraps */
  padding: 0.9rem 1.6rem;
  border-radius: var(--r);
  font-family: var(--f-body);
  font-size: 0.9375rem; font-weight: 600;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease),
              color 0.35s var(--ease), transform 0.12s var(--ease);
}
.btn:active { transform: translateY(1px); }

/* gold on near-black text: ~10.5:1 */
.btn--solid { background: var(--accent); color: #14100a; }
.btn--solid:hover { background: #f3c65e; }

.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: rgba(232,234,238,0.34); background: rgba(232,234,238,0.045); }

.btn--sm { padding: 0.6rem 1.15rem; font-size: 0.875rem; }

:where(a, button, summary):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--r);
}

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: 72px;
  display: flex; align-items: center;
  background: rgba(11, 13, 17, 0);
  border-bottom: 1px solid transparent;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease),
              backdrop-filter 0.4s var(--ease);
}
.nav.is-stuck {
  background: rgba(11, 13, 17, 0.82);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom-color: var(--line-soft);
}
.nav__in { display: flex; align-items: center; gap: 2rem; width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--pad); }

.nav__mark {
  font-family: var(--f-display); font-weight: 500;
  font-size: 0.8125rem; letter-spacing: 0.13em; text-transform: uppercase;
  text-decoration: none; margin-right: auto; white-space: nowrap;
}
.nav__links { display: flex; align-items: center; gap: 1.75rem; }
.nav__links a {
  font-size: 0.875rem; font-weight: 500; color: var(--ink-dim);
  text-decoration: none; white-space: nowrap;
  transition: color 0.3s var(--ease);
}
.nav__links a:hover { color: var(--ink); }

.lang { display: flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.lang button {
  appearance: none; background: transparent; border: 0; cursor: pointer;
  font-family: var(--f-body); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em;
  color: var(--ink-mute); padding: 0.4rem 0.6rem;
  transition: color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.lang button:hover { color: var(--ink); }
.lang button[aria-pressed="true"] { background: rgba(232,234,238,0.1); color: var(--ink); }

@media (max-width: 900px) {
  .nav__links { display: none; }
}

/* ---------- hero: asymmetric split ---------- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: grid;
  align-items: center;
  padding-top: 88px;            /* clears the 72px nav, stays under the pt-24 cap */
  padding-bottom: clamp(3rem, 8vw, 6rem);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;   /* asymmetric, not 50/50 */
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  width: 100%;
}
.hero__name {
  font-family: var(--f-display);
  font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1.5rem;
}
.hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.5rem);
  line-height: 1.08;
  margin: 0 0 1.5rem;
}
/* the accent half always takes the second line, so the headline is exactly
   two lines in both Ukrainian and English rather than reflowing per locale */
.hero h1 em { font-style: normal; color: var(--accent); display: block; }
.hero__sub { color: var(--ink-dim); font-size: clamp(1rem, 1.5vw, 1.1875rem); max-width: 46ch; margin: 0 0 2.25rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.85rem; }

.hero__media { position: relative; }
.hero__media img {
  width: 100%; aspect-ratio: 4 / 5; max-height: 68dvh;
  object-fit: cover; object-position: 50% 22%;
  border-radius: var(--r);
  filter: contrast(1.04) saturate(0.94);
}
/* keeps the portrait sitting in the page instead of floating as a cut-out */
.hero__media::after {
  content: ""; position: absolute; inset: 0; border-radius: var(--r); pointer-events: none;
  background: linear-gradient(190deg, rgba(11,13,17,0) 55%, rgba(11,13,17,0.55) 100%);
}

@media (max-width: 860px) {
  .hero { min-height: auto; padding-top: 112px; }
  .hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__media { order: -1; max-width: 340px; }
  .hero__media img { aspect-ratio: 1 / 1; }
}

/* ---------- platform strip (logo wall, under the hero) ---------- */
.platforms { border-block: 1px solid var(--line-soft); background: var(--bg-sink); }
.platforms__in {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  padding-block: 2.25rem;
}
.platforms__label {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-mute); margin-right: auto;
}
.platforms a { display: block; opacity: 0.5; transition: opacity 0.35s var(--ease), transform 0.35s var(--ease); }
.platforms a:hover { opacity: 1; transform: translateY(-2px); }
.platforms img { height: 22px; width: auto; }
@media (max-width: 700px) {
  .platforms__label { flex: 1 0 100%; margin-bottom: 0.25rem; }
  .platforms__in { gap: 1.75rem; }
}

/* ---------- releases: featured EP beside a compact album list (4 items, 4 cells) ---------- */
.rel__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); flex-wrap: wrap; }

.rel__grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: start;
}
.rel { text-decoration: none; display: block; color: inherit; }

.rel__art {
  position: relative; overflow: hidden; border-radius: var(--r);
  background: var(--bg-raise); aspect-ratio: 1 / 1;
}
.rel__art img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.rel:hover .rel__art img { transform: scale(1.035); }

.rel__meta { display: flex; align-items: baseline; gap: 0.8rem; margin-top: 1.1rem; }
.rel__title { font-family: var(--f-display); font-size: 1.0625rem; letter-spacing: -0.02em; }
.rel__kind { font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.rel__year { font-size: 0.8125rem; color: var(--ink-mute); font-variant-numeric: tabular-nums; margin-left: auto; }

/* the three albums read as a list, not as three identical cards */
.rel__list { display: grid; gap: 0.5rem; }
.rel--row {
  display: grid; grid-template-columns: 84px 1fr auto;
  gap: 1.35rem; align-items: center;
  padding: 0.8rem; margin-inline: -0.8rem;
  border-radius: var(--r);
  transition: background-color 0.35s var(--ease);
}
.rel--row:hover { background: rgba(232, 234, 238, 0.045); }
.rel--row .rel__art { width: 92px; }
.rel__rowmeta { display: grid; gap: 0.2rem; }
.rel--row .rel__year { margin-left: 0; }

@media (max-width: 860px) {
  .rel__grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 420px) {
  .rel--row { grid-template-columns: 64px 1fr auto; gap: 1rem; }
  .rel--row .rel__art { width: 64px; }
}

/* ---------- singles: wrapping chips, filling the column beside the featured EP ---------- */
.singles { margin-top: 2.5rem; }
.singles__label {
  font-size: 0.8125rem; color: var(--ink-mute);
  margin: 0 0 0.9rem; padding-top: 1.25rem;
  border-top: 1px solid var(--line-soft);
}
.singles__rail { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.single {
  display: inline-flex; align-items: baseline; gap: 0.65rem;
  padding: 0.6rem 0.95rem;
  border: 1px solid var(--line); border-radius: var(--r);
  text-decoration: none; color: var(--ink);
  transition: border-color 0.35s var(--ease), background-color 0.35s var(--ease);
}
.single:hover { border-color: rgba(232, 234, 238, 0.3); background: rgba(232, 234, 238, 0.045); }
.single span { font-size: 0.875rem; font-weight: 500; white-space: nowrap; }
.single time { font-size: 0.75rem; color: var(--ink-mute); font-variant-numeric: tabular-nums; }

/* ---------- video: one feature + two ---------- */
.vid__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.2vw, 1.75rem); }
.vid--feature { grid-column: 1 / -1; }

.vid { position: relative; border: 0; padding: 0; background: var(--bg-raise); border-radius: var(--r); overflow: hidden; cursor: pointer; display: block; width: 100%; text-align: left; font: inherit; color: inherit; }
.vid__thumb { position: relative; aspect-ratio: 16 / 9; }
.vid__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease), opacity 0.4s var(--ease); }
.vid:hover .vid__thumb img { transform: scale(1.03); opacity: 0.85; }
.vid__thumb::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(8,10,13,0.8) 0%, rgba(8,10,13,0.1) 45%, transparent 70%);
}
.vid__play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 2;
  width: 68px; height: 68px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(11,13,17,0.55); border: 1px solid rgba(232,234,238,0.35);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: background-color 0.35s var(--ease), scale 0.35s var(--ease), border-color 0.35s var(--ease);
}
.vid:hover .vid__play { background: var(--accent); border-color: var(--accent); scale: 1.07; }
.vid__play svg { width: 22px; height: 22px; fill: var(--ink); margin-left: 3px; transition: fill 0.35s var(--ease); }
.vid:hover .vid__play svg { fill: #14100a; }
.vid__cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 1.25rem clamp(1rem, 2vw, 1.5rem); }
.vid__cap b { display: block; font-family: var(--f-display); font-weight: 400; font-size: clamp(1rem, 1.7vw, 1.25rem); letter-spacing: -0.02em; }
.vid__cap i { font-style: normal; font-size: 0.8125rem; color: var(--ink-dim); }
.vid iframe { width: 100%; aspect-ratio: 16 / 9; display: block; border: 0; }

@media (max-width: 700px) { .vid__grid { grid-template-columns: 1fr; } }

/* ---------- bio: split, portrait + text ---------- */
.bio__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.bio__portrait { position: sticky; top: 110px; border-radius: var(--r); overflow: hidden; }
.bio__portrait img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.bio__body p { color: var(--ink-dim); margin: 0 0 1.35rem; max-width: 60ch; }
.bio__body p:first-of-type { color: var(--ink); font-size: clamp(1.0625rem, 1.7vw, 1.25rem); line-height: 1.55; }
.bio__body strong { color: var(--ink); font-weight: 600; }

.facts { display: grid; grid-template-columns: repeat(3, auto); gap: clamp(1.5rem, 4vw, 3rem); margin-top: 2.5rem; justify-content: start; }
.facts div { border-top: 1px solid var(--line); padding-top: 0.9rem; }
.facts b { display: block; font-family: var(--f-display); font-size: clamp(1.5rem, 3vw, 2.125rem); font-weight: 400; letter-spacing: -0.03em; color: var(--accent); }
.facts span { font-size: 0.8125rem; color: var(--ink-mute); }

@media (max-width: 860px) {
  .bio__grid { grid-template-columns: 1fr; }
  .bio__portrait { position: static; max-width: 300px; }
}

/* ---------- live: statement section over sunk ground ---------- */
.live { background: var(--bg-sink); border-block: 1px solid var(--line-soft); }
.live__in { display: grid; gap: clamp(2rem, 4vw, 3rem); }

.live__quote {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(1.1875rem, 2.5vw, 1.8125rem);
  line-height: 1.35; letter-spacing: -0.03em;
  margin: 0; max-width: 46rem;              /* keeps the quote to three lines */
}
.live__attr { font-size: 0.875rem; color: var(--ink-mute); margin: 1.25rem 0 0; }
.live__note { color: var(--ink-dim); margin: 0; max-width: 58ch; }

/* ---------- contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact__links { display: grid; gap: 0.4rem; }
.contact__links a {
  display: flex; align-items: baseline; gap: 1rem;
  padding: 1.05rem 0; border-bottom: 1px solid var(--line-soft);
  text-decoration: none; transition: padding-left 0.4s var(--ease), border-color 0.4s var(--ease);
}
.contact__links a:hover { padding-left: 0.6rem; border-bottom-color: rgba(232,234,238,0.28); }
.contact__links b { font-family: var(--f-display); font-weight: 400; font-size: 1.0625rem; letter-spacing: -0.02em; }
.contact__links span { margin-left: auto; font-size: 0.8125rem; color: var(--ink-mute); }
@media (max-width: 780px) { .contact__grid { grid-template-columns: 1fr; align-items: start; } }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line-soft); padding-block: 2.5rem; }
.foot__in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.foot p { margin: 0; font-size: 0.8125rem; color: var(--ink-mute); }
.foot__social { display: flex; gap: 1.25rem; }
.foot__social a { opacity: 0.45; transition: opacity 0.3s var(--ease); }
.foot__social a:hover { opacity: 1; }
.foot__social img { height: 17px; width: auto; }

/* ---------- scroll reveal (IntersectionObserver driven) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .r { opacity: 0; transform: translateY(22px); transition: opacity 0.75s var(--ease), transform 0.75s var(--ease); }
  .js .r.in { opacity: 1; transform: none; }
  .js .r-stag > * { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
  .js .r-stag.in > * { opacity: 1; transform: none; }
  .js .r-stag.in > *:nth-child(1) { transition-delay: 0ms; }
  .js .r-stag.in > *:nth-child(2) { transition-delay: 70ms; }
  .js .r-stag.in > *:nth-child(3) { transition-delay: 140ms; }
  .js .r-stag.in > *:nth-child(4) { transition-delay: 210ms; }

  /* hero entry: cascade follows reading order, name to headline to sub to CTA */
  .js .hero__copy > * { opacity: 0; transform: translateY(20px); animation: rise 0.85s var(--ease) forwards; }
  .js .hero__copy > *:nth-child(1) { animation-delay: 0.1s; }
  .js .hero__copy > *:nth-child(2) { animation-delay: 0.2s; }
  .js .hero__copy > *:nth-child(3) { animation-delay: 0.3s; }
  .js .hero__copy > *:nth-child(4) { animation-delay: 0.4s; }
  .js .hero__media { opacity: 0; animation: fade 1.2s var(--ease) 0.15s forwards; }
  @keyframes rise { to { opacity: 1; transform: none; } }
  @keyframes fade { to { opacity: 1; } }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
