/* ============== Variables ============== */
:root {
  --bg: #f4eee2;
  --bg-deep: #ece4d4;
  --ink: #1a1612;
  --ink-soft: #4a4137;
  --accent: #8b6f47;
  --accent-soft: #c4a373;
  --card-bg: #fffdf7;
  --shadow-sm: 0 2px 8px rgba(26, 22, 18, 0.06);
  --shadow-md: 0 8px 24px rgba(26, 22, 18, 0.12);
  --shadow-lg: 0 20px 48px rgba(26, 22, 18, 0.18);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --nav-height: 72px;
  --max-width: 1200px;
}

/* ============== Reset / base ============== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ============== Nav ============== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  background: rgba(244, 238, 226, 0);
  backdrop-filter: blur(0px);
  z-index: 100;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  animation: fadeIn 1.2s ease 0.6s forwards;
}
.nav.is-scrolled {
  background: rgba(244, 238, 226, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}
.nav__left {
  display: flex;
  align-items: center;
  gap: clamp(0.875rem, 2vw, 1.5rem);
}
.nav__brand {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-decoration: none;
  color: var(--ink);
}
.nav__socials {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}
.nav__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: var(--ink);
  transition: color 0.2s ease, transform 0.2s ease;
}
.nav__social svg {
  width: 100%;
  height: 100%;
  display: block;
}
.nav__social:hover {
  color: var(--accent);
  transform: translateY(-1px);
}
.nav__links {
  display: flex;
  gap: clamp(1.5rem, 3vw, 2.75rem);
}
.nav__links a {
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.2s ease;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}
.nav__links a:hover { color: var(--accent); }
.nav__links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s ease, opacity 0.2s ease;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile[hidden] { display: none; }
.nav-mobile {
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: rgba(244, 238, 226, 0.98);
  backdrop-filter: blur(12px);
  padding: 1.5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  z-index: 99;
  box-shadow: var(--shadow-md);
}
.nav-mobile a {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
}

/* ============== Hero ============== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero__image {
  position: absolute;
  inset: 0;
  background: url("assets/backdrop.jpg") center/cover no-repeat;
  background-color: var(--bg);
}
.hero__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(244, 238, 226, 0) 60%, rgba(244, 238, 226, 0.95) 100%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  text-align: center;
  z-index: 2;
  padding: 0 2rem;
  /* Sit in the right-side empty space of the backdrop on larger screens */
  margin-left: clamp(0px, 28vw, 380px);
  max-width: 720px;
}
.hero__logo {
  width: clamp(280px, 48vw, 560px);
  height: auto;
  opacity: 0;
  transform: translateY(8px) scale(0.97);
  animation: heroLogoIn 1.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.3s forwards;
  filter: drop-shadow(0 1px 0 rgba(255, 253, 247, 0.6));
}
.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 44px;
  border: 1.5px solid var(--ink-soft);
  border-radius: 14px;
  opacity: 0;
  animation: fadeIn 1s ease 2s forwards;
}
.hero__scroll span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 3px;
  height: 8px;
  background: var(--ink-soft);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollDot 1.8s ease-in-out infinite;
}

/* ============== Sections ============== */
.section {
  padding: clamp(4rem, 9vw, 7rem) clamp(1rem, 4vw, 2.5rem);
}
.section--music { background: var(--bg-deep); }
.section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.section__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 2.5rem;
  letter-spacing: 0.02em;
  text-align: center;
  position: relative;
}
.section__title::after {
  content: "";
  display: block;
  width: 60px;
  height: 1px;
  background: var(--accent);
  margin: 1rem auto 0;
}

/* ============== Bio ============== */
.bio {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--ink-soft);
}
.bio p { margin: 0 0 1.25rem; }
.bio > p:not(.placeholder):first-of-type:first-letter {
  font-family: var(--serif);
  font-size: 3em;
  float: left;
  line-height: 0.9;
  padding-right: 0.1em;
  color: var(--ink);
  font-weight: 500;
}
.placeholder {
  font-style: italic;
  color: var(--accent);
  text-align: center;
}
.bio__quote {
  margin: 2rem 0;
  padding: 1.25rem 0 1.25rem 1.75rem;
  border-left: 2px solid var(--accent);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--ink);
  position: relative;
}
.bio__quote p {
  margin: 0 0 0.5rem;
}
.bio__quote cite {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.bio__quote cite::before {
  content: "— ";
}

/* ============== Cards ============== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
}
.card {
  background: var(--card-bg);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(20px);
}
.card.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.4s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.card__image {
  aspect-ratio: 1 / 1;
  background: var(--bg-deep) center/cover no-repeat;
  position: relative;
  overflow: hidden;
}
.card__image-link {
  display: block;
  width: 100%;
  height: 100%;
}
.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.card:hover .card__image img { transform: scale(1.04); }
.card__body {
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}
.card__title {
  font-family: var(--serif);
  font-size: 1.375rem;
  font-weight: 500;
  margin: 0;
  color: var(--ink);
  line-height: 1.2;
}
.card__subtitle {
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}
.card__meta {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  margin: 0.25rem 0 0;
}
.card__tracks {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  color: var(--ink-soft);
  border-top: 1px solid rgba(26, 22, 18, 0.08);
  padding-top: 0.75rem;
}
.card__tracks li {
  display: flex;
  padding: 0.2rem 0;
}
.card__tracks li::before {
  content: counter(track) ".";
  counter-increment: track;
  width: 1.8em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.card__tracks { counter-reset: track; }
.card__links {
  margin: 1rem 0 0;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.card__link {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--accent);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.2s ease;
}
.card__link:hover { border-color: var(--accent); }

/* ============== Empty state ============== */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: clamp(2rem, 6vw, 4rem) 1rem;
  max-width: 620px;
  margin: 0 auto;
}
.empty-state__lead {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: var(--ink);
  margin: 0 0 1rem;
  letter-spacing: 0.01em;
  position: relative;
  display: inline-block;
}
.empty-state__lead::before,
.empty-state__lead::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 40px;
  height: 1px;
  background: var(--accent);
  opacity: 0.5;
}
.empty-state__lead::before { right: calc(100% + 1rem); }
.empty-state__lead::after { left: calc(100% + 1rem); }
.empty-state__body {
  font-size: 1rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.75;
}

/* ============== Footer ============== */
.footer {
  padding: 2.5rem 2rem;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--ink-soft);
  background: var(--bg);
  border-top: 1px solid rgba(26, 22, 18, 0.08);
}

/* ============== Animations ============== */
@keyframes fadeIn {
  to { opacity: 1; }
}
@keyframes heroLogoIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes scrollDot {
  0% { transform: translate(-50%, 0); opacity: 1; }
  50% { transform: translate(-50%, 14px); opacity: 0.3; }
  100% { transform: translate(-50%, 0); opacity: 1; }
}

/* ============== Responsive ============== */
@media (max-width: 820px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }

  .hero {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding-top: var(--nav-height);
  }
  .hero__image {
    position: relative;
    inset: auto;
    width: 100%;
    aspect-ratio: 2108 / 1186;
    background-size: contain;
    background-position: top center;
    background-repeat: no-repeat;
    flex: 0 0 auto;
  }
  .hero__image::after {
    background: linear-gradient(180deg, rgba(244, 238, 226, 0) 78%, rgba(244, 238, 226, 1) 100%);
  }
  .hero__inner {
    margin-left: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.5rem 4rem;
  }
  .hero__logo {
    width: clamp(220px, 72vw, 360px);
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
