:root {
  --cream: #fff8e8;
  --paper: #fffdf7;
  --ink: #34283e;
  --muted: #6f6277;
  --purple: #70509a;
  --purple-dark: #543676;
  --pink: #ed6683;
  --orange: #ff9f1c;
  --yellow: #ffc547;
  --cyan: #45b9db;
  --green: #80b83b;
  --radius: 28px;
  --shadow: 0 22px 55px rgba(77, 50, 77, .16);
}

* { box-sizing: border-box; }
html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  overscroll-behavior-x: none;
}
body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Trebuchet MS", "Avenir Next", system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
@supports (overflow: clip) {
  html, body { overflow-x: clip; }
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:is(a, button, [tabindex]):focus-visible { outline: 3px solid var(--purple-dark); outline-offset: 5px; }
.skip-link {
  position: fixed;
  z-index: 99;
  left: 1rem;
  top: -5rem;
  padding: .75rem 1rem;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 50%;
  width: min(1180px, calc(100% - 40px));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.brand {
  display: block;
  width: 150px;
  border-radius: 16px;
}
.brand img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
nav { display: flex; gap: 28px; }
nav a {
  text-decoration: none;
  font-weight: 800;
  font-size: .95rem;
}
nav a:hover, nav a:focus-visible { color: var(--purple); }

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .92fr);
  align-items: center;
  gap: 24px;
  padding: 130px max(24px, calc((100vw - 1180px) / 2)) 110px;
  background:
    radial-gradient(circle at 82% 12%, rgba(255, 197, 71, .55) 0 6%, transparent 6.2%),
    radial-gradient(circle at 82% 12%, rgba(255, 197, 71, .18) 0 13%, transparent 13.2%),
    linear-gradient(145deg, #fffdf4 0%, #fff3cf 100%);
  isolation: isolate;
}
.hero-copy { position: relative; z-index: 2; max-width: 650px; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--purple);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
h1, h2 { margin: 0; line-height: 1.02; letter-spacing: -.045em; }
h1 { font-size: clamp(3.5rem, 6.4vw, 6.5rem); }
h1 span { color: var(--purple); }
h2 { font-size: clamp(2.6rem, 5vw, 4.6rem); }
.lead {
  max-width: 610px;
  margin: 28px 0 34px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.6vw, 1.3rem);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 23px;
  border: 2px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-3px); }
.button-primary { background: var(--purple); color: #fff; box-shadow: 0 10px 24px rgba(112, 80, 154, .25); }
.button-primary:hover { background: var(--purple-dark); }
.button-secondary { border-color: rgba(52, 40, 62, .17); background: rgba(255, 255, 255, .55); }

.hero-art {
  position: relative;
  z-index: 1;
  width: min(560px, 45vw);
  aspect-ratio: 1;
  justify-self: end;
  border-radius: 50%;
  background: rgba(255, 255, 255, .58);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .8), 0 28px 70px rgba(234, 157, 40, .18);
}
.hero-art img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.note {
  position: absolute;
  z-index: 2;
  color: var(--pink);
  font-size: 5rem;
  font-weight: 900;
  transform: rotate(-12deg);
  text-shadow: 0 6px 0 rgba(255,255,255,.8);
}
.note-one { top: 1%; left: 5%; }
.note-two { right: -2%; bottom: 12%; color: var(--cyan); transform: rotate(12deg); }
.sun { display: none; }
.wave {
  position: absolute;
  z-index: 0;
  left: -5%;
  bottom: -42px;
  width: 110%;
  height: 95px;
  border-radius: 50%;
  background: var(--cream);
}

.section { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.songs { padding-block: 110px; scroll-margin-top: 24px; }
.songs-heading { text-align: center; }
.songs h3 { margin: 0; line-height: 1.08; letter-spacing: -.04em; }
.song-panel h3 { font-size: clamp(2.6rem, 5vw, 4.6rem); }
.song-carousel { margin-top: 38px; }
.song-tabs { position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 920px; margin: auto; padding: 6px; gap: 0; border: 1px solid #e8dff0; border-radius: 22px; background: #fffdf7; box-shadow: 0 8px 24px rgba(77, 50, 77, .07); }
.song-tabs::before { content: ""; position: absolute; z-index: -1; inset: 6px auto 6px 6px; width: calc((100% - 12px) / 3); border-radius: 17px; background: var(--purple); box-shadow: 0 6px 18px rgba(112, 80, 154, .22); transform: translateX(calc(var(--active-tab, 0) * 100%)); transition: transform .45s cubic-bezier(.22, 1, .36, 1); }
.song-tab { min-width: 0; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 12px 16px; border: 0; border-radius: 17px; color: var(--purple-dark); background: transparent; font-weight: 900; line-height: 1.2; transition: color .25s; }
.song-tab img { width: 48px; height: 48px; flex: 0 0 auto; border-radius: 12px; object-fit: cover; }
.song-tab[aria-selected="true"] { color: #fff; }
.song-tab:hover { color: var(--ink); }
.song-tab[aria-selected="true"]:hover { color: #fff; }
.song-stage { touch-action: pan-y pinch-zoom; }
.song-carousel.is-ready .song-stage { display: grid; }
.song-carousel.is-ready .song-panel { grid-area: 1 / 1; min-width: 0; }
.song-carousel.is-ready .song-panel[hidden] { display: grid !important; visibility: hidden; pointer-events: none; }
.release.song-panel { padding-block: 62px 70px; }
.song-panel .release-cover { isolation: isolate; }
.song-panel .release-cover::before { background: var(--release-color); }
.song-navigation, .gallery-navigation { display: flex; align-items: center; justify-content: center; gap: 22px; }
.round-button { width: 48px; height: 48px; flex: 0 0 auto; display: grid; place-items: center; padding: 0; border: 1px solid rgba(52, 40, 62, .13); border-radius: 50%; background: var(--paper); color: var(--purple-dark); font-size: 1.5rem; font-weight: 900; transition: transform .2s, background .2s; }
.round-button:hover:not(:disabled) { background: #f0e7fa; transform: scale(1.08); }
.round-button:disabled { opacity: .35; cursor: default; }
.song-position, .gallery-position { min-width: 60px; margin: 0; font-weight: 900; text-align: center; font-variant-numeric: tabular-nums; }
.release {
  display: grid;
  grid-template-columns: minmax(300px, 510px) 1fr;
  align-items: center;
  gap: clamp(48px, 8vw, 100px);
  padding-block: 130px 110px;
}
.release-cover { position: relative; }
.release-cover::before {
  content: "";
  position: absolute;
  inset: 7% -7% -7% 7%;
  z-index: -1;
  border-radius: var(--radius);
  background: var(--cyan);
  transform: rotate(3deg);
}
.release-cover img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); transform: rotate(-2deg); }
.release-copy p:not(.eyebrow) { max-width: 590px; margin: 24px 0; color: var(--muted); font-size: 1.12rem; }
.release-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0; }
.release-meta span {
  padding: 8px 13px;
  border-radius: 999px;
  background: #f0e7fa;
  color: var(--purple-dark);
  font-size: .82rem;
  font-weight: 900;
}
.release-links { display: flex; flex-wrap: wrap; gap: 12px; }
.release-links .button { gap: 10px; }
.release-links svg { width: 24px; fill: currentColor; flex: 0 0 auto; }
.spotify-button { background: #1ed760; color: #102116; }
.spotify-button:hover { background: #19c356; }
.youtube-button { background: #ff0033; color: #fff; box-shadow: 0 10px 24px rgba(255, 0, 51, .2); }
.youtube-button:hover { background: #cc0029; }

.story { padding: 100px 0 120px; background: #43b6d7; color: #162f37; }
.story .eyebrow { color: #244955; }
.story-copy { margin-bottom: 44px; text-align: center; }
.gallery-shell { width: min(1240px, calc(100% - 32px)); margin: auto; }
.gallery-track { position: relative; display: flex; gap: 24px; padding: 10px 4px 24px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 4px; scrollbar-width: thin; scrollbar-color: rgba(22,47,55,.45) transparent; border-radius: 12px; }
.gallery-card { flex: 0 0 calc((100% - 24px) / 2); min-width: 0; margin: 0; overflow: hidden; scroll-snap-align: start; border: 6px solid rgba(255,255,255,.85); border-radius: var(--radius); background: #fffdf7; box-shadow: 0 12px 22px rgba(14, 61, 76, .16); }
.gallery-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.gallery-card figcaption { padding: 12px 18px 9px; color: #244955; font-weight: 900; text-align: center; }
.gallery-navigation { margin-top: 24px; }
.gallery-navigation .round-button { color: #244955; }

.about { display: grid; grid-template-columns: .72fr 1.28fr; align-items: center; gap: clamp(50px, 9vw, 120px); padding-block: 140px; }
.about-badge {
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  border-radius: 46% 54% 56% 44% / 42% 44% 56% 58%;
  background: var(--yellow);
  box-shadow: inset 0 0 0 12px rgba(255,255,255,.32), var(--shadow);
  transform: rotate(-6deg);
  text-align: center;
}
.about-badge span { display: block; color: var(--purple); font-size: clamp(2.3rem, 5vw, 4.5rem); font-weight: 1000; line-height: .88; }
.about-badge span:nth-child(2) { color: var(--pink); transform: translateX(12%); }
.about-badge span:nth-child(3) { color: #e77d13; transform: translateX(-8%); }
.about-copy p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }

.contact { padding-bottom: 110px; }
.contact-card {
  position: relative;
  overflow: hidden;
  padding: clamp(38px, 7vw, 78px);
  border-radius: 36px;
  background: var(--purple);
  color: #fff;
  text-align: center;
}
.contact-card::before, .contact-card::after { content: "♪"; position: absolute; color: rgba(255,255,255,.12); font-size: 12rem; font-weight: 900; }
.contact-card::before { left: 2%; top: -35%; transform: rotate(-15deg); }
.contact-card::after { right: 3%; bottom: -50%; transform: rotate(13deg); }
.contact-card .eyebrow { color: #ffd57b; }
.contact-card p:not(.eyebrow) { margin-bottom: 20px; color: #eee7f6; }
.contact-email { position: relative; z-index: 1; color: #fff; font-size: clamp(1.35rem, 3vw, 2.2rem); font-weight: 900; text-decoration-thickness: 3px; text-underline-offset: 6px; }

footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 26px 24px;
  border-top: 1px solid rgba(52, 40, 62, .1);
  color: var(--muted);
  font-size: .85rem;
}
footer img { width: 92px; height: auto; object-fit: contain; border-radius: 12px; }
.footer-note { font-weight: 800; color: var(--purple); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .button { transition: none; }
  .song-tabs::before, .song-tab, .round-button { transition: none; }
}

@media (max-width: 850px) {
  .site-header { position: relative; width: 100%; padding: 10px 20px; background: #fff9e9; }
  nav { gap: 16px; }
  nav a { font-size: .82rem; }
  nav a:nth-child(2) { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding: 70px 24px 48px; text-align: center; }
  .hero-copy { margin: auto; }
  .lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-art { width: min(520px, 100%); justify-self: center; grid-row: 1; }
  .release { grid-template-columns: 1fr; padding-block: 62px 90px; }
  .release-cover { width: min(520px, 88vw); margin: auto; }
  .release-copy { text-align: center; }
  .release-copy p:not(.eyebrow) { margin-inline: auto; }
  .release-meta { justify-content: center; }
  .songs { padding-block: 72px; }
  .release.song-panel { padding-block: 48px 34px; gap: 50px; }
  .song-panel .release-cover { width: min(500px, calc(100% - 24px)); }
  .song-panel .release-links { justify-content: center; }
  .song-tab { gap: 8px; padding: 10px 8px; font-size: .85rem; }
  .song-tab img { width: 38px; height: 38px; }
  .gallery-card { flex-basis: 85%; }
  .about { grid-template-columns: 1fr; padding-block: 100px; }
  .about-badge { width: min(340px, 78vw); margin: auto; }
  .about-copy { text-align: center; }
  footer { flex-wrap: wrap; }
}

@media (max-width: 520px) {
  h1 { font-size: 3.15rem; }
  h2 { font-size: 2.65rem; }
  .brand { width: 108px; }
  .brand img { width: 100%; height: auto; }
  nav a { font-size: .76rem; }
  .hero { padding-top: 44px; }
  .button { width: 100%; }
  .release-links { width: 100%; }
  .song-tabs { border-radius: 18px; padding: 5px; }
  .song-tabs::before { inset: 5px auto 5px 5px; width: calc((100% - 10px) / 3); border-radius: 13px; }
  .song-tab { flex-direction: column; padding: 9px 4px; font-size: .73rem; border-radius: 13px; }
  .song-tab img { width: 34px; height: 34px; border-radius: 8px; }
  .song-tab span { display: grid; align-items: center; min-height: 2.4em; }
  .song-panel h3 { font-size: 2.4rem; }
  .song-panel .release-copy p:not(.eyebrow) { font-size: 1.05rem; }
  .gallery-shell { width: calc(100% - 24px); }
  .gallery-track { gap: 14px; }
  .gallery-card { flex-basis: 92%; }
  .gallery-card { border-width: 4px; border-radius: 20px; }
  footer { flex-direction: column; gap: 2px; text-align: center; }
}
