/* ===== MuseLanding — стиль из example (тёмная литературная тема) ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,400;500;600;700;1,400&family=Playfair+Display:ital,wght@0,400;600;700;1,400&display=swap');

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  min-height: 100%;
}
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  background: var(--background);
  color: var(--foreground);
}

:root {
  --background: oklch(0.16 0.005 60);
  --foreground: oklch(0.92 0.01 80);
  --card: oklch(0.20 0.005 60);
  --card-foreground: oklch(0.92 0.01 80);
  --primary: oklch(0.72 0.12 55);
  --primary-foreground: oklch(0.14 0.005 60);
  --secondary: oklch(0.24 0.008 60);
  --secondary-foreground: oklch(0.88 0.01 80);
  --muted: oklch(0.22 0.006 60);
  --muted-foreground: oklch(0.62 0.02 70);
  --accent: oklch(0.72 0.12 55);
  --accent-foreground: oklch(0.14 0.005 60);
  --border: oklch(0.28 0.01 60);
  --ring: oklch(0.72 0.12 55);
  --radius: 0.5rem;
  --radius-lg: 0.625rem;
}

/* Layout */
.page-wrap {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main { flex: 1; }

.container {
  max-width: 64rem; /* 1024px ~ max-w-5xl */
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  border-bottom: 1px solid color-mix(in oklch, var(--border) 40%, transparent);
}
.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
}
.site-header .logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--foreground);
  text-decoration: none;
}
.site-header nav {
  display: none;
}
@media (min-width: 640px) {
  .site-header nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }
}
.site-header nav a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.2s;
}
.site-header nav a:hover { color: var(--foreground); }

/* Hero */
.hero {
  position: relative;
  padding: 2.5rem 0 5rem;
}
@media (min-width: 768px) {
  .hero { padding: 4rem 0 5.5rem; }
}
.hero .inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}
@media (min-width: 768px) {
  .hero .inner {
    flex-direction: row;
    align-items: flex-start;
    gap: 4rem;
  }
}
.hero-photo {
  flex-shrink: 0;
  position: relative;
}
.hero-photo .img-wrap {
  position: relative;
  width: 16rem;
  height: 16rem;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--border);
}
@media (min-width: 768px) {
  .hero-photo .img-wrap {
    width: 20rem;
    height: 20rem;
  }
}
.hero-photo .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-photo .deco {
  position: absolute;
  bottom: -0.75rem;
  right: -0.75rem;
  width: 4rem;
  height: 4rem;
  border-radius: 0.75rem;
  border: 1px solid color-mix(in oklch, var(--primary) 30%, transparent);
  background: color-mix(in oklch, var(--primary) 10%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
}
.hero-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
@media (min-width: 768px) {
  .hero-info { align-items: flex-start; text-align: left; }
}
.hero-subtitle {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
}
.hero-title {
  margin: 0 0 1rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--foreground);
}
@media (min-width: 768px) { .hero-title { font-size: 3rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 3.75rem; } }
.hero-desc {
  margin: 0 0 1.5rem;
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}
@media (min-width: 768px) { .hero-desc { font-size: 1.125rem; } }
.hero-meta {
  margin: 0 0 2rem;
  max-width: 36rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: color-mix(in oklch, var(--muted-foreground) 80%, transparent);
}
.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 640px) {
  .hero-actions { flex-direction: row; }
}

/* Button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
  white-space: nowrap;
}
.btn--primary {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.625rem 1.5rem;
  border-radius: 9999px;
}
.btn--primary:hover { filter: brightness(1.1); }
.btn svg { flex-shrink: 0; }

/* Social links */
.social-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  color: var(--muted-foreground);
  transition: border-color 0.2s, color 0.2s;
  text-decoration: none;
}
.social-links a:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.social-links svg { width: 1rem; height: 1rem; }
.social-link-ym svg path { fill: currentColor; }

/* Divider */
.hero-divider {
  margin: 0 auto 3rem;
  max-width: 64rem;
  padding: 0 1.5rem;
}
.hero-divider .line {
  height: 1px;
  background: color-mix(in oklch, var(--border) 40%, transparent);
}

/* Tabs */
.tabs-section {
  margin: 0 auto 6rem;
  max-width: 64rem;
  padding: 0 1.5rem;
}
.tabs-list {
  display: flex;
  margin: 0 auto 2.5rem;
  max-width: 32rem;
  width: 100%;
  padding: 0.375rem;
  border-radius: 9999px;
  background: color-mix(in oklch, var(--secondary) 50%, transparent);
}
.tabs-trigger {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  background: transparent;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.tabs-trigger[aria-selected="true"] {
  background: var(--primary);
  color: var(--primary-foreground);
}
.tabs-trigger svg { width: 1rem; height: 1rem; flex-shrink: 0; }
.tabs-panel {
  display: none;
  flex-direction: column;
  gap: 1rem;
  outline: none;
}
.tabs-panel[aria-hidden="false"] { display: flex; }

/* Section headings */
.section-heading {
  margin-bottom: 1.5rem;
}
#panel-songs .section-heading { margin-bottom: 0.5rem; }
.section-heading h2 {
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
}
@media (min-width: 768px) { .section-heading h2 { font-size: 1.875rem; } }
.section-heading p {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.grid-poems {
  display: grid;
  gap: 1rem;
}

/* Cards */
.card {
  background: var(--card);
  color: var(--card-foreground);
  border-radius: 0.75rem;
  border: 1px solid color-mix(in oklch, var(--border) 60%, transparent);
  overflow: hidden;
  transition: border-color 0.2s;
}
.card:hover { border-color: color-mix(in oklch, var(--primary) 30%, transparent); }
.card-content { padding: 1rem 1.5rem; }
.card-content.border-t {
  border-top: 1px solid color-mix(in oklch, var(--border) 40%, transparent);
  padding-top: 1rem;
  padding-bottom: 1.5rem;
}
.card-content.bg-secondary {
  background: color-mix(in oklch, var(--secondary) 30%, transparent);
  padding: 1.25rem 1.5rem;
}

/* Poetry card (accordion) */
.poem-card button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}
.poem-card h3 {
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
}
.poem-card .year {
  margin-left: 0.75rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}
.poem-card .chevron { color: var(--muted-foreground); flex-shrink: 0; }
.poem-card pre {
  margin: 0;
  white-space: pre-wrap;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1rem;
  line-height: 1.6;
  color: color-mix(in oklch, var(--foreground) 90%, transparent);
}

/* Prose card */
.prose-card .meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.prose-card .type-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.125rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 9999px;
  background: color-mix(in oklch, var(--primary) 10%, transparent);
  color: var(--primary);
}
.prose-card .year { font-size: 0.75rem; color: var(--muted-foreground); }
.prose-card h3 {
  margin: 0 0 0.5rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
}
.prose-card .description {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}
.prose-card .excerpt-toggle {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
}
.prose-card .excerpt-toggle:hover { opacity: 0.9; }
.prose-card .excerpt {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1rem;
  font-style: italic;
  line-height: 1.6;
  color: color-mix(in oklch, var(--foreground) 85%, transparent);
}
.prose-card .excerpt p {
  margin-bottom: 0.75em;
}
.prose-card .excerpt p:last-child {
  margin-bottom: 0;
}

/* Songs section */
.song-card {
  border-radius: 0.75rem;
  border: 1px solid color-mix(in oklch, var(--border) 60%, transparent);
  overflow: hidden;
  transition: border-color 0.2s;
}
.song-card:hover { border-color: color-mix(in oklch, var(--primary) 30%, transparent); }
.song-card .top {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
}
.song-card .icon-wrap {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background: color-mix(in oklch, var(--primary) 10%, transparent);
  color: var(--primary);
}
.song-card .icon-wrap svg { width: 1.25rem; height: 1.25rem; }
.song-card h3 {
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
}
.song-card .artist { margin-top: 0.125rem; font-size: 0.875rem; color: var(--muted-foreground); }
.song-card .song-desc { margin-top: 0.25rem; font-size: 0.75rem; color: color-mix(in oklch, var(--muted-foreground) 70%, transparent); }
.song-card .player-wrap {
  border-top: 1px solid color-mix(in oklch, var(--border) 40%, transparent);
  background: color-mix(in oklch, var(--secondary) 30%, transparent);
  padding: 1rem 1.5rem;
}
.song-card .player-wrap iframe {
  display: block;
  width: 100%;
  max-width: 614px;
  height: 100px;
  border: none;
  border-radius: 0.5rem;
}

.songs-cta {
  margin-top: 1.5rem;
  padding: 2rem 1.5rem;
  text-align: center;
  border-radius: 0.75rem;
  border: 1px dashed color-mix(in oklch, var(--border) 60%, transparent);
}
.songs-cta p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.songs-cta p a {
  font-weight: 500;
  color: var(--primary);
  text-decoration: none;
}
.songs-cta p a:hover { text-decoration: underline; }
.songs-cta .listen-links {
  margin-top: 1.25rem;
}

/* Albums block (in Songs tab) */
.albums-block { margin-top: 0.25rem; }
.albums-block .section-heading h2 { font-size: 1.25rem; }
.player-wrap-outer {
  margin-top: 0.5rem;
}
.player-wrap-outer + .player-wrap-outer { margin-top: 0.5rem; }
.player-wrap-outer iframe {
  display: block;
  width: 100%;
  max-width: 614px;
  height: 100px;
  border: none;
  border-radius: 0.5rem;
}
.listen-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
  justify-content: center;
}
.listen-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1a1512;
  background: var(--primary);
  border-radius: 9999px;
  text-decoration: none;
  transition: filter 0.2s;
}
.listen-btn:hover { filter: brightness(1.1); color: #1a1512; }
.listen-btn:hover svg path { fill: #1a1512; }
.listen-btn svg { width: 1.25rem; height: 1.25rem; }
.listen-btn svg path { fill: #1a1512; }

.prose-links {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.95rem;
}
.prose-links a {
  color: var(--primary);
  text-decoration: none;
}
.prose-links a:hover { text-decoration: underline; }
.prose-links__sep { color: var(--muted-foreground); margin: 0 0.25rem; }

/* Footer */
.site-footer {
  border-top: 1px solid color-mix(in oklch, var(--border) 40%, transparent);
  padding: 2.5rem 1.5rem;
}
.site-footer .inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}
.site-footer p {
  margin: 0;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}
