/* Music Collection landing — Light Vinyl theme (light only, без переключателя темы).
   Светлая «винильная» эстетика, янтарный акцент. Текст страницы подставляется из content/*.json. */

:root {
  --bg: #faf7f2;
  --bg-2: #f2ede4;
  --surface: #ffffff;
  --surface-2: #f5f0e8;
  --border: #e6dfd1;
  --border-strong: #c9bda5;
  --text: #2a221a;
  --text-muted: #6b5d48;
  --primary: #b8732f;
  --primary-hover: #a3621f;
  --primary-contrast: #ffffff;
  --primary-tint: #f4e8d5;
  --accent: #8a4a1f;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 2px 8px rgba(40, 30, 20, 0.08);
  --shadow-lg: 0 24px 60px rgba(40, 30, 20, 0.14);
  --max-width: 1120px;
  --font-display: "Fraunces", "Iowan Old Style", Palatino, serif;
  --font-body: "Inter", "Segoe UI", "Helvetica Neue", sans-serif;
  --header-h: 4rem;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(ellipse 70% 50% at 80% 0%, rgba(224, 166, 79, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 0% 100%, rgba(196, 106, 58, 0.06) 0%, transparent 55%),
    var(--bg);
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  height: var(--header-h);
  display: flex; align-items: center;
  backdrop-filter: blur(12px);
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  width: min(100% - 2rem, var(--max-width)); margin: 0 auto;
  display: flex; align-items: center; gap: 1.25rem;
}
.brand {
  font-family: var(--font-display); font-weight: 700; font-size: 1.2rem;
  letter-spacing: -0.01em; color: var(--text);
}
.brand:hover { color: var(--primary); text-decoration: none; }
.nav-links { display: flex; gap: 1.2rem; margin-left: 0.5rem; }
.nav-links a { font-size: 0.95rem; color: var(--text-muted); }
.nav-links a:hover { color: var(--primary); text-decoration: none; }
.site-header__spacer { flex: 1; }
.lang-switch a {
  font-weight: 600; font-size: 0.8rem; color: var(--text-muted);
  padding: 0.3rem 0.55rem; border-radius: var(--radius-sm);
  border: 1px solid transparent;
}
.lang-switch a:hover { color: var(--primary); text-decoration: none; border-color: var(--border-strong); }

/* Hero */
.hero {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto; padding: 3rem 0 2rem;
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem; align-items: center;
}
.hero__visual { justify-self: center; width: min(100%, 420px); }
.hero__visual svg { width: 100%; filter: drop-shadow(0 20px 40px rgba(0,0,0,0.6)); }
.vinyl-disc { transform-box: view-box; transform-origin: 260px 260px; animation: vinyl-spin 40s linear infinite; }
@keyframes vinyl-spin { to { transform: rotate(360deg); } }

.hero__copy { display: flex; flex-direction: column; align-items: flex-start; }
.badge {
  display: inline-block;
  background: var(--primary-tint); color: var(--primary);
  border: 1px solid var(--border-strong);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.3rem 0.7rem; border-radius: 999px; margin-bottom: 1.25rem;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.02;
  margin: 0 0 1.25rem;
}
.hero__lead {
  font-size: 1.18rem; color: var(--text-muted);
  max-width: 34rem; margin: 0 0 1.75rem;
}
.hero__shot { width: 100%; max-width: 38rem; }

.shot, .screen img {
  width: 100%; border: 1px solid var(--border-strong); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); background: var(--surface);
  aspect-ratio: 16 / 10; object-fit: cover;
}

/* Sections */
.section {
  width: min(100% - 2rem, var(--max-width)); margin: 0 auto; padding: 3.5rem 0;
}
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 0.78rem; font-weight: 700; color: var(--primary); margin: 0 0 0.5rem;
}
.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700; letter-spacing: -0.02em; margin: 0 0 0.85rem;
}
.section__lead { font-size: 1.1rem; color: var(--text-muted); max-width: 40rem; margin: 0 0 2rem; }

.about__points {
  list-style: none; padding: 0; margin: 1.5rem 0 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem;
}
.about__points li {
  padding: 0.85rem 1rem; border-left: 3px solid var(--primary);
  background: var(--surface); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.feature-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
  box-shadow: var(--shadow); transition: border-color 0.15s, transform 0.15s;
}
.feature-card:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.feature-card h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; margin: 0 0 0.5rem; color: var(--primary); }
.feature-card p { margin: 0; color: var(--text-muted); }

.screens-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.screen { margin: 0; }

.platforms-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.platform-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 0.75rem;
}
.platform-card h3 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; margin: 0; color: var(--text); }
.platform-card p { margin: 0; color: var(--text-muted); }
.beta-note {
  font-size: 0.85rem; color: var(--text-muted); line-height: 1.55;
  margin-top: 0.5rem; padding-top: 0.75rem; border-top: 1px solid var(--border);
}
.beta-note a { color: var(--primary); text-decoration: underline; }

.resources-row { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.resource-link {
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 600;
  color: var(--primary); padding: 0.5rem 0;
  border-bottom: 2px solid transparent; transition: border-color 0.15s;
}
.resource-link:hover { text-decoration: none; border-bottom-color: var(--primary); }
.resources-note {
  margin: 1.5rem 0 0; max-width: 40rem; color: var(--text-muted);
  font-size: 1rem; line-height: 1.6; padding: 1rem 1.25rem;
  background: var(--surface-2); border-left: 3px solid var(--border-strong);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.resources-note a { color: var(--primary); text-decoration: underline; }
.resources-note[hidden] { display: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.8rem 1.5rem; border-radius: var(--radius);
  font-family: var(--font-body); font-size: 1rem; font-weight: 600;
  text-decoration: none; border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--primary); color: var(--primary-contrast); }
.btn--primary:visited { color: var(--primary-contrast); }
.btn--primary:hover { background: var(--primary-hover); }
.btn--ghost { background: transparent; border-color: var(--border-strong); color: var(--text); }
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); }

.site-footer {
  margin-top: 3rem; padding: 2.5rem 1rem 2rem; border-top: 1px solid var(--border);
}
.site-footer__inner {
  width: min(100% - 2rem, var(--max-width)); margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem; text-align: center;
}
.footer-brand { font-family: var(--font-display); font-weight: 700; margin: 0; }
.footer-tagline { margin: 0; color: var(--text-muted); font-size: 0.95rem; }
.footer-note { margin: 0.5rem 0 0; color: var(--text-muted); font-size: 0.78rem; max-width: 40rem; }

.footer-contacts { margin: 1.25rem 0 0; }
.footer-contacts[hidden] { display: none; }
.footer-contacts__title {
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  color: var(--text); margin: 0 0 0.5rem; letter-spacing: 0.02em;
}
.footer-contacts__list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.5rem;
}
.footer-contact { font-size: 0.9rem; line-height: 1.5; color: var(--text-muted); }
.footer-contact__label { font-weight: 600; color: var(--text-muted); }
.footer-contact__value { color: var(--primary); text-decoration: none; }
.footer-contact__value:hover { text-decoration: underline; }

@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; gap: 2rem; }
  .hero__visual { order: -1; width: min(100%, 280px); }
  .feature-grid { grid-template-columns: 1fr; }
  .screens-grid { grid-template-columns: 1fr; }
  .platforms-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .vinyl-disc { animation: none; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}