:root {
  --ink: #2b1812;
  --coffee: #4b2a1d;
  --cocoa: #6f3f2b;
  --milk: #fffbea;
  --cream: #fff1c7;
  --teal: #007f89;
  --teal-dark: #00636b;
  --coral: #ff7a45;
  --yellow: #ffd83d;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(43, 24, 18, 0.16);
  --soft-shadow: 0 12px 36px rgba(43, 24, 18, 0.11);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--milk);
  line-height: 1.5;
}

button, input { font: inherit; }
img { display: block; max-width: 100%; }

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(75, 42, 29, 0.12);
  background: rgba(255, 251, 234, 0.94);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1160px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--coffee);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 700;
}

.brand-mark, .footer-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--milk);
  background: var(--coffee);
  box-shadow: inset 0 -5px 0 rgba(0, 0, 0, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.92rem;
  font-weight: 900;
}

.nav-note {
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

main { overflow: hidden; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1.12fr);
  align-items: center;
  gap: clamp(32px, 6vw, 82px);
  width: min(1160px, calc(100% - 32px));
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  padding: clamp(36px, 6vw, 86px) 0;
}

.hero-copy { max-width: 610px; }

.eyebrow, .section-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before, .section-kicker::before {
  content: "";
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: var(--yellow);
}

h1, h2, h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: -0.025em;
}

h1 {
  max-width: 620px;
  color: var(--coffee);
  font-size: clamp(3rem, 6.3vw, 6.2rem);
  line-height: 0.91;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 560px;
  margin: 26px 0 0;
  color: rgba(43, 24, 18, 0.75);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(75, 42, 29, 0.12);
  border-radius: 999px;
  color: var(--coffee);
  background: #ffe9b0;
  font-size: 0.84rem;
  font-weight: 850;
}

.carousel-shell { min-width: 0; }

.hero-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid rgba(75, 42, 29, 0.14);
  border-radius: 8px;
  background: var(--cream);
  box-shadow: var(--shadow);
}

.hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 650ms ease;
}

.hero-slide.is-active { opacity: 1; pointer-events: auto; }

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}

.hero-slide-yard img { object-position: 56% 50%; }
.hero-slide-studio img { object-position: center top; }

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 18px;
}

.carousel-dots { display: flex; align-items: center; gap: 8px; }

.dot {
  width: 42px;
  height: 5px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: rgba(75, 42, 29, 0.2);
}

.dot.is-active { background: var(--coral); }

.carousel-arrow {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(75, 42, 29, 0.14);
  border-radius: 50%;
  color: var(--coffee);
  background: var(--white);
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 900;
  box-shadow: 0 7px 18px rgba(43, 24, 18, 0.08);
}

.dot:focus-visible, .carousel-arrow:focus-visible, .playlist-control:focus-visible {
  outline: 3px solid rgba(0, 127, 137, 0.35);
  outline-offset: 3px;
}

.section { padding: clamp(70px, 9vw, 118px) 0; }
.section-inner { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }

.song-section { background: linear-gradient(135deg, #e3f8f5, #fffbea 72%); }

.song-card {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
  padding: clamp(30px, 5vw, 56px);
  border: 1px solid rgba(75, 42, 29, 0.12);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

h2 {
  color: var(--coffee);
  font-size: clamp(2.5rem, 4.5vw, 4.5rem);
  line-height: 0.98;
}

.lead {
  max-width: 630px;
  margin: 22px 0 0;
  color: rgba(43, 24, 18, 0.72);
  font-size: 1.12rem;
}

.song-copy .lead + .lead {
  margin-top: 14px;
}

.playlist-player {
  margin-top: 30px;
  padding: 18px;
  border: 1px solid rgba(75, 42, 29, 0.15);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 216, 61, 0.18), rgba(227, 248, 245, 0.82));
  box-shadow: 0 10px 24px rgba(43, 24, 18, 0.08);
}

.playlist-status { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.playlist-status > div { display: grid; min-width: 0; gap: 2px; }

.playlist-kicker {
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.playlist-title {
  overflow: hidden;
  color: var(--coffee);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.04rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.playlist-count {
  flex: 0 0 auto;
  padding: 4px 8px;
  border-radius: 999px;
  color: rgba(43, 24, 18, 0.68);
  background: rgba(255, 255, 255, 0.75);
  font-size: 0.72rem;
  font-weight: 850;
}

.playlist-timeline {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: rgba(43, 24, 18, 0.64);
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
}

.playlist-timeline span:last-child { text-align: right; }
.playlist-timeline input { width: 100%; accent-color: var(--teal); cursor: pointer; }
.playlist-timeline input:disabled { cursor: wait; }

.playlist-controls { display: flex; align-items: center; gap: 8px; margin-top: 11px; }

.playlist-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 8px 11px;
  border: 1px solid rgba(75, 42, 29, 0.16);
  border-radius: 999px;
  color: var(--coffee);
  background: rgba(255, 255, 255, 0.86);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 900;
}

.playlist-control:hover { color: var(--white); background: var(--teal); }
.playlist-control-primary { min-width: 108px; color: var(--white); background: var(--coffee); }
.playlist-play-icon { margin-right: 7px; font-size: 0.72rem; }

.playlist-control-skip { padding: 3px; }

.playlist-skip-icon {
  display: block;
  width: 34px;
  height: 31px;
  background: currentColor;
  -webkit-mask-image: url("../icons/rewind-fast-forward-10.svg");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 200% 100%;
  mask-image: url("../icons/rewind-fast-forward-10.svg");
  mask-repeat: no-repeat;
  mask-size: 200% 100%;
}

.playlist-skip-icon-rewind {
  -webkit-mask-position: left center;
  mask-position: left center;
}

.playlist-skip-icon-forward {
  -webkit-mask-position: right center;
  mask-position: right center;
}

.song-player {
  display: grid;
  gap: 0;
  padding: 26px;
  border-radius: 8px;
  color: var(--white);
  background: var(--coffee);
  box-shadow: var(--soft-shadow);
}

.song-track {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  padding: 23px 0;
  border-radius: 6px;
  transition: background 180ms ease, box-shadow 180ms ease;
}

.song-track:first-child { padding-top: 4px; }
.song-track:last-child { padding-bottom: 4px; }
.song-track + .song-track { border-top: 1px solid rgba(255, 255, 255, 0.18); }
.song-track.is-current { background: rgba(255, 216, 61, 0.09); box-shadow: 0 0 0 10px rgba(255, 216, 61, 0.09); }
.song-track.is-playing { background: rgba(255, 216, 61, 0.14); box-shadow: 0 0 0 10px rgba(255, 216, 61, 0.14); }

.track-number { color: var(--coral); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.08em; }
.song-player h3 { color: var(--yellow); font-size: 1.38rem; line-height: 1.1; }
.song-player p { margin: 10px 0 18px; color: rgba(255, 255, 255, 0.78); }
.song-player audio { display: block; width: 100%; color-scheme: dark; accent-color: var(--yellow); }

.song-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.release-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--white);
  background: var(--coral);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.song-track.song-track-new {
  margin: 12px -14px 4px;
  padding: 24px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 216, 61, 0.42), transparent 32%),
    linear-gradient(125deg, #8f294b 0%, #b6532e 22%, #86701d 42%, #167267 62%, #31598c 81%, #633d7c 100%);
  box-shadow: 0 14px 32px rgba(31, 13, 25, 0.28);
}

.song-track.song-track-new.is-current,
.song-track.song-track-new.is-playing {
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 226, 92, 0.54), transparent 34%),
    linear-gradient(125deg, #9d3157 0%, #c05c35 22%, #927c21 42%, #197e72 62%, #38649a 81%, #70488a 100%);
  box-shadow: 0 0 0 3px rgba(255, 216, 61, 0.24), 0 16px 36px rgba(31, 13, 25, 0.34);
}

.song-track-new .track-number {
  color: var(--cream);
}

.song-track-new .release-badge {
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(43, 24, 18, 0.5);
  backdrop-filter: blur(8px);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  min-height: 170px;
  padding: 36px 16px;
  color: rgba(43, 24, 18, 0.7);
  text-align: left;
}

.footer p { margin: 0; }
.footer strong { color: var(--coffee); font-family: Georgia, "Times New Roman", serif; font-size: 1.18rem; }

@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { max-width: 720px; }
  .carousel-shell { width: min(100%, 620px); margin: 0 auto; }
  .song-card { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .nav { min-height: 64px; }
  .brand { font-size: 1.12rem; }
  .brand-mark { width: 36px; height: 36px; }
  .nav-note { max-width: 110px; font-size: 0.62rem; text-align: right; }
  .hero { padding-top: 42px; }
  h1 { font-size: clamp(2.85rem, 14vw, 4.6rem); }
  .hero-carousel { aspect-ratio: 4 / 5; }
  .dot { width: 30px; }
  .song-card { padding: 24px 18px; }
  .song-player { padding: 20px 16px; }
  .song-track { grid-template-columns: 28px minmax(0, 1fr); gap: 9px; }
  .playlist-controls { flex-wrap: wrap; }
  .playlist-control-primary { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-slide { transition: none; }
}
