:root {
  --bg: #121014;
  --bg-elevated: #1a171c;
  --ink: #efe8df;
  --muted: #a89f94;
  --line: rgba(239, 232, 223, 0.12);
  --accent: #c9853f;
  --accent-soft: rgba(201, 133, 63, 0.18);
  --danger: #b54a3c;
  --font-display: "Instrument Serif", "Times New Roman", serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --shell: min(1120px, calc(100% - 2.5rem));
  --header-h: 4.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(201, 133, 63, 0.12), transparent 55%),
    radial-gradient(900px 500px at -10% 30%, rgba(90, 70, 50, 0.2), transparent 50%),
    linear-gradient(180deg, #161318 0%, var(--bg) 40%, #0e0c10 100%);
  background-attachment: fixed;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #e0a35c;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(18, 16, 20, 0.78);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.brand-name {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 1.1rem;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.25s var(--ease);
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--ink);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}

.lang-switch a {
  color: var(--muted);
  text-decoration: none;
}

.lang-switch a.is-active {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  padding: 0.65rem;
}

.nav-toggle span {
  display: block;
  height: 1px;
  background: var(--ink);
  margin: 0.35rem 0;
  transition: transform 0.25s var(--ease);
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 16, 20, 0.2) 0%, rgba(18, 16, 20, 0.55) 45%, rgba(18, 16, 20, 0.92) 100%),
    linear-gradient(115deg, transparent 30%, rgba(201, 133, 63, 0.08) 100%),
    url("../images/hero.svg") center / cover no-repeat;
  transform: scale(1.04);
  animation: hero-drift 18s var(--ease) infinite alternate;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0 5rem;
  max-width: 38rem;
  animation: fade-up 0.9s var(--ease) both;
}

.hero-brand {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.hero-title {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-text {
  margin: 1rem 0 1.75rem;
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 28rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1.25rem;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn-primary {
  background: var(--accent);
  color: #1a120c;
}

.btn-primary:hover {
  background: #d9964d;
  color: #1a120c;
}

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.home-note {
  padding: 2.5rem 0 4rem;
  color: var(--muted);
}

/* Pages */
.page-block {
  padding: 3rem 0 4.5rem;
  animation: fade-up 0.7s var(--ease) both;
}

.page-intro {
  margin-bottom: 2rem;
  max-width: 40rem;
}

.page-intro h1,
.album-detail h1,
.video-item h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.1;
}

.lede {
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.eyebrow {
  margin: 0 0 0.35rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.prose {
  max-width: 42rem;
  color: var(--muted);
}

.prose p {
  margin-top: 0;
}

.prose h2 {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 400;
}

/* Albums */
.album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

.album-tile {
  color: inherit;
  text-decoration: none;
}

.album-cover {
  aspect-ratio: 1;
  background:
    linear-gradient(145deg, #2a2428, #151217 60%),
    repeating-linear-gradient(90deg, transparent, transparent 12px, rgba(255,255,255,0.02) 12px, rgba(255,255,255,0.02) 13px);
  background-size: cover;
  background-position: center;
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}

.album-tile:hover .album-cover,
.album-cover.large {
  transform: translateY(-3px);
  border-color: rgba(201, 133, 63, 0.45);
}

.album-cover.large {
  width: min(280px, 100%);
  transform: none;
}

.album-meta {
  margin-top: 0.75rem;
}

.album-meta h2 {
  margin: 0;
  font-size: 1.15rem;
  font-family: var(--font-display);
  font-weight: 400;
}

.album-meta span {
  color: var(--muted);
  font-size: 0.9rem;
}

.album-hero {
  display: grid;
  grid-template-columns: minmax(160px, 280px) 1fr;
  gap: 1.75rem;
  align-items: end;
  margin-bottom: 2rem;
}

.tracklist {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.tracklist li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1rem;
  align-items: center;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}

.tracklist.standalone li {
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
}

.track-title {
  color: var(--ink);
  font-weight: 600;
}

.track-album,
.track-time {
  color: var(--muted);
  font-size: 0.9rem;
}

.track-album {
  display: block;
  font-weight: 400;
}

.track-link {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

audio {
  width: min(100%, 320px);
  margin-top: 0.5rem;
  grid-column: 1 / -1;
}

/* Photos / Videos */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.photo-item {
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 1;
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}

.photo-item:hover img {
  transform: scale(1.04);
}

.video-list {
  display: grid;
  gap: 2rem;
  margin-top: 1.5rem;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  background: #000;
  overflow: hidden;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.about-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 2.5rem;
  align-items: start;
}

.contacts {
  padding: 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
}

.contacts h2 {
  margin-top: 0;
  font-family: var(--font-display);
  font-weight: 400;
}

.social-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.social-list li + li {
  margin-top: 0.5rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.75rem 0 2.25rem;
  margin-top: auto;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-brand {
  margin: 0;
  color: var(--ink);
}

.footer-copy {
  margin: 0;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-drift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1rem 1.25rem 1.25rem;
    background: rgba(18, 16, 20, 0.96);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0.75rem;
  }

  .album-hero,
  .about-layout {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding-top: 3rem;
  }
}
