
:root {
  --bg: #111210;
  --surface: #1a1b18;
  --text: #f0eee7;
  --muted: #a5a59a;
  --accent: #c6ae72;
  --line: rgba(240, 238, 231, 0.14);
  --nav-bg: rgba(17, 18, 16, 0.88);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  line-height: 1.8;
  transition: background 0.35s, color 0.35s;
}

body.light-theme {
  --bg: #f0eee7;
  --surface: #e5e2d8;
  --text: #20211d;
  --muted: #696a60;
  --accent: #8b713d;
  --line: rgba(32, 33, 29, 0.18);
  --nav-bg: rgba(240, 238, 231, 0.92);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

::selection {
  background: var(--accent);
  color: #111210;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 76px;
  padding: 0 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  background: var(--nav-bg);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.logo {
  font-family: "Cormorant Garamond", serif;
  font-size: 29px;
  font-weight: 500;
  letter-spacing: 2px;
  color: #fff;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
  white-space: nowrap;
}

.logo span {
  color: #fff;
  font-weight: 400;
  padding: 0 5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links a {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.25s;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-actions {
  display: flex;
  gap: 10px;
}

.theme-toggle,
.menu-toggle {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
}

.theme-toggle:hover,
.menu-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.menu-toggle {
  display: none;
  border-radius: 8px;
}

.hero {
  position: relative;
  min-height: min(780px, calc(100svh - 76px));
  display: flex;
  align-items: center;
  padding: 100px 12%;
  overflow: hidden;
  isolation: isolate;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(17,18,16,.96), rgba(17,18,16,.7) 43%, rgba(17,18,16,.12)),
    linear-gradient(0deg, rgba(17,18,16,.5), transparent 45%),
    url("https://images.unsplash.com/photo-1519608487953-e999c86e7455?auto=format&fit=crop&w=2200&q=85") center / cover;
  animation: hero-reveal 1.4s ease both;
}

.hero-content {
  max-width: 760px;
  animation: content-reveal 1s 0.15s ease both;
}

.eyebrow {
  color: var(--accent);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  line-height: 1.8;
  text-transform: uppercase;
}

.hero h1 {
  margin: 24px 0;
  font-size: clamp(54px, 8vw, 112px);
  line-height: 0.96;
  letter-spacing: -5px;
  font-weight: 500;
}

h1 em,
h2 em {
  color: var(--accent);
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
}

.hero-description {
  max-width: 390px;
  color: #d0cfc6;
  font-size: 14px;
  line-height: 2;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 35px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--accent);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.8px;
  transition: gap 0.25s, color 0.25s;
}

.text-link span {
  color: var(--accent);
  font-size: 18px;
}

.text-link:hover {
  gap: 27px;
  color: var(--accent);
}

.hero-index {
  position: absolute;
  right: 7%;
  bottom: 32px;
  color: #d0cfc6;
  font-size: 9px;
  letter-spacing: 2px;
}

.section {
  padding: 125px 10%;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 12%;
  margin-top: 38px;
}

h2 {
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 500;
  letter-spacing: -2.5px;
  line-height: 1.1;
}

.about-grid > div {
  max-width: 480px;
}

.about-grid p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 2.2;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 45px;
}

.section-heading h2 {
  margin-top: 14px;
}

.muted {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 1.7px;
}

.music-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.music-card {
  min-width: 0;
}

.cover {
  position: relative;
  aspect-ratio: 1;
  padding: 17px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  overflow: hidden;
  transition: transform 0.4s;
}

.cover::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,.08);
  pointer-events: none;
}

.cover:hover {
  transform: translateY(-5px);
}

.cover span,
.cover strong {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cover span {
  font-size: 8px;
  letter-spacing: 2px;
}

.cover strong {
  font-size: clamp(22px, 2.8vw, 38px);
  font-weight: 500;
  letter-spacing: -1.5px;
  line-height: 1;
}

.cover-sunset {
  color: #fff4dc;
  background:
    linear-gradient(0deg, rgba(29,19,16,.7), transparent),
    url("https://images.unsplash.com/photo-1472120435266-53107fd0c44a?auto=format&fit=crop&w=700&q=80") center / cover;
}

.cover-bloom {
  color: #fff9e9;
  background:
    linear-gradient(135deg, rgba(40,60,48,.25), rgba(8,20,18,.65)),
    url("https://images.unsplash.com/photo-1441974231531-c6227db76b6e?auto=format&fit=crop&w=700&q=80") center / cover;
}

.cover-joy {
  color: #fff1df;
  background:
    linear-gradient(135deg, rgba(126,78,46,.2), rgba(15,14,14,.55)),
    url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=700&q=80") center / cover;
}

.cover-2025 {
  color: #f2e7c8;
  background:
    linear-gradient(135deg, rgba(16,21,31,.35), rgba(4,5,8,.8)),
    url("https://images.unsplash.com/photo-1519608487953-e999c86e7455?auto=format&fit=crop&w=700&q=80") center / cover;
}

.music-card h3 {
  margin-top: 15px;
  font-size: 13px;
  font-weight: 600;
}

.music-card > p {
  color: var(--muted);
  font-size: 11px;
}

.archive {
  background: var(--surface);
}

.archive > h2 {
  margin-top: 22px;
}

.archive-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 48px;
}

.archive-card {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: end;
  overflow: hidden;
  background-color: #292a25;
  background-position: center;
  background-size: cover;
}

.archive-card:first-child {
  grid-row: span 2;
  min-height: 620px;
}

.architecture {
  background-image:
    linear-gradient(0deg, rgba(10,11,10,.85), transparent 70%),
    url("https://images.unsplash.com/photo-1511739001486-6bfe10ce785f?auto=format&fit=crop&w=1200&q=85");
}

.visual-art {
  background-image:
    linear-gradient(0deg, rgba(10,11,10,.85), transparent 70%),
    url("https://images.unsplash.com/photo-1513364776144-60967b0f800f?auto=format&fit=crop&w=1000&q=85");
}

.history {
  background-image:
    linear-gradient(0deg, rgba(10,11,10,.85), transparent 70%),
    url("https://images.unsplash.com/photo-1461360370896-922624d12aa1?auto=format&fit=crop&w=1000&q=85");
}

.archive-overlay {
  padding: 28px;
  color: #f0eee7;
}

.archive-overlay span {
  font-size: 9px;
  letter-spacing: 2px;
}

.archive-overlay h3 {
  margin-top: 8px;
  font-family: "Cormorant Garamond", serif;
  font-size: 31px;
  font-weight: 400;
}

.journal-inner {
  max-width: 630px;
  margin: 35px auto 0;
  text-align: center;
}

.journal-inner > p {
  max-width: 420px;
  margin: 24px auto;
  color: var(--muted);
  line-height: 2;
}

.contact {
  padding: 100px 10%;
  text-align: center;
  border-top: 1px solid var(--line);
}

.contact h2 {
  margin-top: 22px;
}

.footer {
  min-height: 100px;
  padding: 25px 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
}

.footer p,
.footer > span {
  color: var(--muted);
  font-size: 10px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s, transform 0.7s;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes content-reveal {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-reveal {
  from { opacity: .5; transform: scale(1.06); }
  to { opacity: 1; transform: scale(1.02); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .navbar { padding: 0 5%; }
  .hero { padding: 90px 7%; }
  .section { padding: 90px 7%; }

  .music-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 18px;
  }

  .about-grid { gap: 40px; }
  .archive-card:first-child { min-height: 500px; }
}

@media (max-width: 600px) {
  .navbar {
    min-height: 68px;
    gap: 12px;
  }

  .nav-links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    padding: 25px 7%;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }

  .nav-links.open { display: flex; }
  .menu-toggle { display: block; }

  .hero {
    min-height: 82svh;
    padding: 80px 7%;
  }

  .hero-image {
    background-image:
      linear-gradient(90deg, rgba(17,18,16,.84), rgba(17,18,16,.28)),
      linear-gradient(0deg, rgba(17,18,16,.5), transparent),
      url("https://images.unsplash.com/photo-1519608487953-e999c86e7455?auto=format&fit=crop&w=1200&q=80");
  }

  .hero h1 {
    font-size: clamp(53px, 13vw, 78px);
    letter-spacing: -3px;
  }

  .hero-index {
    right: 7%;
    font-size: 8px;
  }

  .section { padding: 75px 7%; }
  .about-grid { grid-template-columns: 1fr; gap: 25px; }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .music-grid { gap: 26px 13px; }
  .cover { padding: 10px; }
  .cover strong { font-size: clamp(20px, 6vw, 30px); }

  .archive-grid { grid-template-columns: 1fr; }

  .archive-card,
  .archive-card:first-child {
    grid-row: auto;
    min-height: 340px;
  }

  .journal-inner { text-align: left; }
  .journal-inner > p { margin-left: 0; }

  .contact {
    padding: 75px 7%;
    text-align: left;
  }

  .footer {
    padding: 25px 7%;
    flex-wrap: wrap;
  }

  .footer p {
    order: 3;
    width: 100%;
  }
}
/* Interactive elements — preserving the original Z|D design */

.interactive-card {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.interactive-card:hover {
  transform: translateY(-5px);
}

.interactive-card:focus-visible,
.archive-trigger:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

.card-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--accent);
  font-size: 9px;
  letter-spacing: 1.5px;
  opacity: 0.8;
  transition: opacity 0.25s ease;
}

.interactive-card:hover .card-link,
.archive-trigger:hover .card-link {
  opacity: 1;
}

.music-card .cover {
  transition: transform 0.4s ease, filter 0.4s ease;
}

.music-card:hover .cover {
  transform: translateY(-4px);
  filter: brightness(1.08);
}

button.archive-card {
  width: 100%;
  padding: 0;
  border: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.archive-trigger {
  transition: transform 0.3s ease, filter 0.3s ease;
}

.archive-trigger:hover {
  transform: translateY(-4px);
  filter: brightness(1.08);
}

.archive-overlay strong {
  display: block;
  margin-top: 8px;
  font-family: "Cormorant Garamond", serif;
  font-size: 31px;
  font-weight: 400;
}

.section-note {
  margin-top: 28px;
  color: var(--muted);
  font-size: 11px;
}

.back-to-top {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 1.5px;
}

.back-to-top:hover {
  color: var(--accent);
}

/* Archive popup */
.archive-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(520px, calc(100% - 32px));
  max-height: 85vh;
  overflow: auto;
  padding: 38px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
}

.archive-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(5px);
}

.archive-dialog h2 {
  margin: 16px 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 42px;
  font-weight: 400;
}

.archive-dialog p {
  line-height: 1.8;
}

.dialog-close {
  float: right;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 30px;
  cursor: pointer;
}

.dialog-dismiss {
  margin-top: 20px;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

/* Correct mobile menu state */
@media (max-width: 600px) {
  .nav-links.open {
    display: flex;
  }

  .archive-dialog {
    padding: 26px;
  }
}