@font-face {
  font-family: "Golos Text";
  src: url("assets/fonts/golos-text-cyrillic-wght-normal.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Golos Text";
  src: url("assets/fonts/golos-text-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+2212, U+FEFF;
}

:root {
  color-scheme: light;
  --ink: #111410;
  --panel: #191e17;
  --paper: #edeee7;
  --line: #cbd0c3;
  --muted: #555c50;
  --surface-text: #f0f2e8;
  --acid: #d5f74b;
  --width: 74rem;
  --gutter: clamp(1.25rem, 6vw, 5rem);
  font-family: "Golos Text", Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
}

*, *::after, *::before { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 17.5rem; }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
button:focus-visible, a:focus-visible, summary:focus-visible, .waveform:focus-within {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
h1, h2, h3, p { margin: 0; }

.wrap {
  width: min(var(--width), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.skip {
  position: absolute;
  z-index: 3;
  inset: 1rem auto auto 1rem;
  transform: translateY(-200%);
  background: var(--acid);
  padding: .75rem 1rem;
}
.skip:focus { transform: none; }

.site-header {
  position: relative;
  z-index: 1;
  color: var(--surface-text);
  background: var(--ink);
  border-bottom: 1px solid #ffffff20;
}
.header-inner {
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.wordmark, .site-footer a {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: .045em;
  text-decoration: none;
}
.mark { display: inline-flex; align-items: end; gap: .16rem; height: 1.03rem; }
.mark i { display: block; inline-size: .2rem; block-size: 55%; background: var(--acid); }
.mark i:nth-child(2) { block-size: 100%; }
.mark i:nth-child(3) { block-size: 73%; }
nav { display: flex; align-items: center; gap: clamp(.95rem, 4vw, 2.35rem); }
nav a { font-size: .9rem; font-weight: 500; text-decoration: none; white-space: nowrap; }
nav a:hover { color: var(--acid); }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #111610;
  color: var(--surface-text);
}
.hero-image, .hero::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}
.hero-image { object-fit: cover; object-position: 65% 53%; }
.hero::after {
  content: "";
  z-index: -1;
  background: linear-gradient(90deg, #0c100ada 0%, #0c100a9c 34%, #0c100a19 80%);
}
.hero-inner {
  min-height: clamp(25.5rem, 38vw, 33rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-block: 3.3rem;
}
.hero h1 {
  font-weight: 900;
  font-size: clamp(2.1rem, 8.4vw, 8.1rem);
  line-height: .96;
  letter-spacing: -.06em;
}
.hero p {
  margin-top: 1.05rem;
  font-size: clamp(.98rem, 2.2vw, 1.35rem);
  color: #e2e6dc;
  letter-spacing: -.02em;
}
.listen {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  min-height: 3.15rem;
  padding-inline: 1.16rem;
  margin-top: 2.15rem;
  border-radius: .4rem;
  background: var(--acid);
  color: var(--ink);
  text-decoration: none;
  font-size: .92rem;
  font-weight: 750;
}
.listen:hover, .player-toggle:hover { background: #e4ff84; }
.listen:focus-visible { outline-color: var(--acid); }
.triangle, .play-icon {
  display: block;
  margin-left: .12rem;
  width: 0;
  height: 0;
  border-block: .4rem solid transparent;
  border-left: .62rem solid currentColor;
}

.music { padding-block: clamp(2.6rem, 6vw, 5.5rem); scroll-margin: 1.5rem; }
.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.55rem;
  border-bottom: 1px solid var(--line);
}
h2 {
  font-size: clamp(2rem, 4.7vw, 4.4rem);
  font-weight: 830;
  line-height: .98;
  letter-spacing: -.05em;
}
.track-count {
  white-space: nowrap;
  color: var(--muted);
  font-size: .9rem;
}
.music-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(1.75rem, 5vw, 4.5rem);
  padding-top: clamp(1.4rem, 3vw, 2.4rem);
}
.track-list { list-style: none; padding: 0; margin: 0; }
.track-list li + li { border-top: 1px solid var(--line); }
.track-list li:first-child { border-top: 1px solid transparent; }
.track-list li:last-child { border-bottom: 1px solid var(--line); }
.track-button {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  width: 100%;
  min-height: 4.45rem;
  gap: .93rem;
  text-align: left;
  padding: .72rem .95rem;
  background: transparent;
  color: var(--ink);
  border: 0;
  border-radius: .32rem;
}
.track-button:hover { background: #e3e6db; }
.track-button[aria-current="true"] { background: #e2e8d5; }
.track-icon {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid #aab39c;
  border-radius: 50%;
}
.track-button[aria-current="true"] .track-icon { background: var(--acid); border-color: var(--acid); }
.track-icon .play-icon { transform: scale(.8); }
.play-icon.is-paused {
  width: .62rem;
  height: .83rem;
  margin-left: 0;
  border: 0;
  border-inline: .21rem solid currentColor;
}
.track-title { font-size: clamp(1rem, 2.1vw, 1.24rem); font-weight: 680; letter-spacing: -.025em; }
.track-duration { color: var(--muted); font-size: .9rem; font-variant-numeric: tabular-nums; }

.player {
  padding: clamp(1.15rem, 2.3vw, 1.8rem);
  background: var(--panel);
  color: var(--surface-text);
  border-radius: .62rem;
}
.player-label {
  display: flex;
  align-items: center;
  gap: .48rem;
  color: #d3d9ca;
  font-size: .85rem;
}
.player-label span {
  width: .38rem;
  height: .38rem;
  background: var(--acid);
  border-radius: 50%;
}
.player h3 {
  min-height: 1.18em;
  margin-top: .52rem;
  font-size: clamp(1.25rem, 2.8vw, 1.95rem);
  font-weight: 770;
  letter-spacing: -.035em;
}
.waveform {
  position: relative;
  display: grid;
  align-items: center;
  height: 3.1rem;
  margin-top: .9rem;
  color: var(--acid);
}
.wave-bars { height: 2.55rem; display: flex; align-items: center; gap: 2px; }
.wave-bars i { background: #80916b; min-height: 2px; flex: 1; border-radius: 1px; }
.wave-bars i.played { background: var(--acid); }
.waveform input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.waveform input:disabled { cursor: default; }
.time { display: flex; justify-content: space-between; color: #bac4b3; font-size: .8rem; font-variant-numeric: tabular-nums; }
.transport { display: flex; align-items: center; justify-content: center; gap: 1.15rem; margin-top: .65rem; }
.transport button { display: grid; place-items: center; border: 0; border-radius: 50%; }
.step-button { background: transparent; color: var(--surface-text); width: 2.75rem; height: 2.75rem; }
.step-button:hover { background: #30382d; }
.step { display: block; height: .8rem; width: .8rem; border-right: .125rem solid currentColor; }
.step::before { content: ""; display: block; width: 0; border-block: .4rem solid transparent; border-left: .61rem solid currentColor; }
.step.previous { transform: rotate(180deg); }
.player-toggle { width: 3.1rem; height: 3.1rem; background: var(--acid); color: var(--ink); }
.player-toggle:focus-visible { outline-color: var(--acid); }
.lyrics { margin-top: .8rem; border: 1px solid var(--line); border-radius: .45rem; }
.lyrics summary { padding: .85rem 1rem; cursor: pointer; min-height: 2.75rem; font-size: .92rem; font-weight: 650; }
.lyrics summary:hover { background: #e3e6db; }
.lyrics-note { color: var(--muted); margin: .1rem 1rem .65rem; font-size: .82rem; }
.lyrics-text { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.68; padding: .05rem 1rem 1rem; }
.audio-links { line-height: 2; }

.about { background: #dfe4d7; }
.about-inner {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.25fr);
  gap: 1.6rem 3.5rem;
  padding-block: clamp(2.7rem, 6vw, 5rem);
}
.about-inner p { max-width: 36rem; font-size: clamp(1rem, 2.1vw, 1.3rem); line-height: 1.63; }
.site-footer { display: flex; align-items: center; min-height: 4.5rem; }
.site-footer a { font-size: .8rem; color: var(--muted); }

@media (max-width: 47rem) {
  .hero-inner { min-height: 23.5rem; }
  .hero h1 { font-size: clamp(2.18rem, 10vw, 4.5rem); }
  .hero-image { object-position: 61% center; }
  .hero::after { background: linear-gradient(90deg, #0c100ad6, #0c100a5f); }
  .music-grid, .about-inner { grid-template-columns: minmax(0, 1fr); }
  .music-grid { gap: 1.35rem; }
  .player-column { width: 100%; }
}

@media (max-width: 24rem) {
  .wordmark { font-size: .8rem; }
  nav a { font-size: .83rem; }
  .header-inner { gap: .5rem; min-height: 4rem; }
  .hero-inner { min-height: 20rem; }
  .hero h1 { font-size: clamp(1.85rem, 9.5vw, 2.35rem); }
  .track-button { padding-inline: .55rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
