/* Stefan Rubato — site styles
   Палитра и типографика отталкиваются от обложек Resonance Moscow:
   чёрный диск, фосфорно-зелёный, серифный дисплей и моно-метаданные. */

@font-face {
  font-family: "PT Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/pt-serif-400-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "PT Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/pt-serif-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "PT Serif";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/pt-serif-700-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "PT Serif";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/pt-serif-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-mono-400-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-mono-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #0a0a0b;
  --bg-soft: #101111;
  --fg: #eae6dc;
  --body: #c3bfb4;
  --muted: #8d8f87;
  --green: #8be28b;
  --green-dim: rgba(139, 226, 139, 0.55);
  --line: rgba(234, 230, 220, 0.13);
  --serif: "PT Serif", Georgia, "Times New Roman", serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: ui-sans-serif, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --pad: clamp(20px, 5vw, 56px);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background:
    radial-gradient(1200px 700px at 78% -10%, rgba(139, 226, 139, 0.07), transparent 60%),
    radial-gradient(900px 600px at 0% 110%, rgba(139, 226, 139, 0.04), transparent 60%),
    var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

::selection { background: rgba(139, 226, 139, 0.25); }

a { color: inherit; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
}
.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 99;
  background: var(--green);
  color: #0a0a0b;
  padding: 8px 14px;
  font-family: var(--mono);
  font-size: 12px;
}

/* ---------- header ---------- */

.top {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px var(--pad);
  background: rgba(10, 10, 11, 0.78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-decoration: none;
  color: var(--fg);
  white-space: nowrap;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(139, 226, 139, 0.9);
  animation: pulse 4s ease-in-out infinite;
}

.top nav {
  display: flex;
  gap: clamp(12px, 2.4vw, 30px);
  flex-wrap: wrap;
}

.top nav a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: lowercase;
  text-decoration: none;
  color: var(--muted);
  transition: color 0.25s ease;
}
.top nav a:hover,
.top nav a:focus-visible { color: var(--green); }

/* ---------- layout ---------- */

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section {
  padding: clamp(64px, 9vw, 110px) 0;
  border-top: 1px solid var(--line);
}

.section-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: clamp(28px, 4vw, 46px);
}
.section-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0;
}
.index {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--green);
  letter-spacing: 0.1em;
}
.section-note {
  margin: 0 0 0 auto;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.note {
  margin: 26px 0 0;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.note a {
  color: var(--fg);
  text-decoration: none;
  border-bottom: 1px solid var(--green-dim);
  padding-bottom: 1px;
  transition: color 0.25s ease;
}
.note a:hover { color: var(--green); }

/* ---------- hero ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(32px, 6vw, 72px);
  min-height: calc(100svh - 70px);
  padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 8vw, 100px);
}

.kicker {
  margin: 0;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(56px, 9.4vw, 138px);
  line-height: 0.9;
  letter-spacing: -0.035em;
  margin: 22px 0 26px;
}
.hero h1 span { color: var(--green); }

.lead {
  max-width: 44ch;
  margin: 0;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.62;
  color: var(--body);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--fg);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease,
    border-color 0.25s ease;
}
.btn:hover { transform: translateY(-2px); border-color: rgba(139, 226, 139, 0.5); }
.btn-primary {
  background: var(--green);
  border-color: var(--green);
  color: #0a0a0b;
}
.btn-primary:hover { background: #9df09d; color: #0a0a0b; }
.btn-ghost { border-color: transparent; color: var(--muted); }
.btn-ghost:hover { color: var(--green); border-color: transparent; }

/* disc */

.hero-disc {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1;
  justify-self: end;
  filter: drop-shadow(0 50px 90px rgba(0, 0, 0, 0.75));
}

.disc {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(139, 226, 139, 0.1) 0 14%, transparent 14.5%),
    repeating-radial-gradient(circle at 50% 50%,
      rgba(255, 255, 255, 0.032) 0 1px, transparent 1px 5px),
    conic-gradient(from 20deg, #101211, #191d18, #0c0e0d, #1d231c, #101211);
  border: 1px solid rgba(139, 226, 139, 0.22);
  box-shadow: inset 0 0 90px rgba(0, 0, 0, 0.95);
  animation: spin 90s linear infinite;
}
.disc::before {
  content: "";
  position: absolute;
  inset: 36%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 226, 139, 0.16), rgba(10, 10, 11, 0.9));
  border: 1px solid rgba(139, 226, 139, 0.35);
}
.disc::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6.5%;
  height: 6.5%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #050505;
  box-shadow: 0 0 0 1px rgba(139, 226, 139, 0.5), inset 0 0 12px rgba(0, 0, 0, 1);
}

.disc-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin 140s linear infinite reverse;
}
.disc-ring text {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 4.6px;
  fill: rgba(139, 226, 139, 0.6);
}

/* ---------- releases ---------- */

.releases {
  display: grid;
  grid-auto-rows: min-content;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 30px);
}

.release {
  min-width: 0;
}
.release .cover {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--bg-soft);
}
.release .cover img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.7s ease;
}
.release .cover:hover img,
.release .cover:focus-visible img {
  transform: scale(1.045);
  filter: saturate(1.15);
}

.release-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 14px 0 7px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--green);
}
.release-meta .date { color: var(--muted); }

.release h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 20px;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.release-fea {
  margin: -2px 0 8px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
}
.release-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 0;
}
.release-links a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.release-links a:hover {
  color: var(--green);
  border-color: var(--green-dim);
}

/* ---------- live ---------- */

.gigs {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.gigs li {
  min-width: 0;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: clamp(16px, 3vw, 40px);
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.gigs time {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--green);
  padding-top: 7px;
}
.gig-body h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(20px, 2.1vw, 26px);
  margin: 0;
  letter-spacing: -0.01em;
}
.gig-body p {
  margin: 8px 0 0;
  max-width: 72ch;
  color: var(--body);
  font-size: 15.5px;
}

/* ---------- video ---------- */

.videos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 30px);
}
.video {
  display: block;
  min-width: 0;
  text-decoration: none;
  color: var(--fg);
}
.video img {
  display: block;
  max-width: 100%;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  filter: grayscale(0.35) contrast(1.04) brightness(0.92);
  transition: filter 0.5s ease, transform 0.5s ease;
}
.video:hover img {
  filter: none;
  transform: translateY(-2px);
}
.video-title {
  display: block;
  margin-top: 12px;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.35;
}
.video-dur {
  display: block;
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
}

/* ---------- about ---------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 64px);
}
.about-text p {
  margin: 0 0 18px;
  color: var(--body);
  font-size: 16.5px;
  line-height: 1.72;
  max-width: 62ch;
}
.about-text p:first-child {
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.6;
  color: var(--fg);
}
.about-text em {
  font-style: italic;
  color: var(--green);
}

.about-side h3 {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
}
.chips li {
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--body);
}
.about-side blockquote {
  margin: 0;
  padding: 4px 0 4px 16px;
  border-left: 1px solid var(--green-dim);
  font-family: var(--serif);
  font-size: 19px;
  font-style: italic;
  color: var(--green);
}

/* ---------- contact ---------- */

.contact-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.contact-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--fg);
  transition: background 0.25s ease;
}
.contact-links a span { font-size: 15px; }
.contact-links a em {
  font-family: var(--mono);
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.25s ease;
}
.contact-links a:hover { background: rgba(139, 226, 139, 0.06); }
.contact-links a:hover em { color: var(--green); }

/* ---------- footer ---------- */

footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 34px var(--pad) 46px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
footer p { margin: 0; }
.foot-links a {
  color: var(--fg);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.foot-links a:hover { color: var(--green); }
.foot-links span { margin: 0 6px; opacity: 0.5; }

/* ---------- motion ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .disc,
  .disc-ring,
  .dot { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover,
  .video:hover img,
  .release .cover:hover img { transform: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    min-height: 0;
    padding-top: 48px;
  }
  .hero-disc { max-width: 360px; justify-self: start; }
  .releases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .videos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-grid { grid-template-columns: 1fr; }
  .contact-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-note { margin-left: 0; width: 100%; }
}

@media (max-width: 620px) {
  .top { gap: 10px 14px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
  .top nav { width: 100%; justify-content: space-between; }
  .top nav { gap: 12px; }
  .top nav a { font-size: 10px; }
  .brand { font-size: 10.5px; letter-spacing: 0.14em; }
  .hero { padding-top: 36px; }
  .hero-disc { max-width: 290px; }
  .releases,
  .videos,
  .contact-links { grid-template-columns: minmax(0, 1fr); }
  .gigs li { grid-template-columns: 1fr; gap: 8px; }
  .gigs time { padding-top: 0; }
  .actions .btn { flex: 1 1 auto; }
  footer { flex-direction: column; gap: 10px; }
}
