/*
  Exact MeloPiko UI samples from the approved logo PNG:
  teal #02959b, sunshine #feb104, coral #fd534c, leaf #90c530.
  Accessible derived interactive variants: deep teal #006766 and deep coral #a72f25
  (both exceed 6.7:1 with white). Ink #173d3c on cream #fffaf0 exceeds 11:1.
*/
:root {
  --cream: #fffaf0;
  --paper: #fffef9;
  --ink: #173d3c;
  --muted: #4f6664;
  --teal: #02959b;
  --teal-deep: #006766;
  --teal-pale: #d9f4f1;
  --gold: #feb104;
  --gold-pale: #fff1b9;
  --coral: #fd534c;
  --coral-deep: #a72f25;
  --coral-pale: #ffe0d8;
  --green: #90c530;
  --green-deep: #31520d;
  --green-pale: #e5f3c8;
  --focus-ring: #173d3c;
  --focus-halo: #fffef9;
  --shadow: 0 18px 50px rgb(23 61 60 / 12%);
  --radius: 1.5rem;
  --font: ui-rounded, "Nunito Sans", "Avenir Next Rounded", "Noto Sans CJK SC", "Noto Sans CJK TC", "Noto Sans", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: var(--font); font-size: 1rem; line-height: 1.65; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: .12em; text-underline-offset: .2em; }
p, h1, h2, h3 { overflow-wrap: anywhere; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(2.7rem, 10vw, 5.8rem); margin-bottom: 1.25rem; }
h2 { font-size: clamp(2.15rem, 7vw, 4rem); margin-bottom: 1.2rem; }
h3 { font-size: clamp(1.3rem, 3vw, 1.75rem); }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 4px solid var(--focus-ring); outline-offset: 4px; border-radius: .25rem; box-shadow: 0 0 0 7px var(--focus-halo); }
.shell { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }
.section { padding: clamp(4.5rem, 10vw, 8rem) 0; }
.eyebrow { margin-bottom: .7rem; color: var(--teal-deep); font-size: .82rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.skip-link { position: fixed; z-index: 100; top: .75rem; left: .75rem; padding: .7rem 1rem; color: white; background: var(--teal-deep); transform: translateY(-180%); }
.skip-link:focus { transform: none; }

.site-header { position: sticky; z-index: 20; top: 0; background: rgb(255 250 240 / 92%); border-bottom: 1px solid rgb(23 61 60 / 9%); backdrop-filter: blur(12px); }
.header-inner { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; flex: 0 0 auto; border-radius: 50%; }
.brand img { width: 58px; height: 58px; object-fit: contain; }
nav ul { display: flex; margin: 0; padding: 0; gap: clamp(.25rem, 2vw, 1.2rem); list-style: none; }
nav a { display: grid; min-height: 44px; padding: .55rem .45rem; place-items: center; font-size: .86rem; font-weight: 800; text-decoration: none; }
nav a:hover { color: var(--teal-deep); text-decoration: underline; }

.hero { position: relative; padding: clamp(3rem, 7vw, 6rem) 0 clamp(7rem, 14vw, 10rem); background: radial-gradient(circle at 5% 10%, var(--gold-pale), transparent 26%), radial-gradient(circle at 90% 14%, var(--teal-pale), transparent 30%), var(--cream); }
.hero-grid { display: grid; align-items: center; gap: 3rem; }
.hero h1 span, .promise h2 span { color: var(--teal-deep); }
.hero-lede { max-width: 40rem; font-size: clamp(1.16rem, 2.6vw, 1.4rem); }
.parent-promise { max-width: 38rem; color: var(--muted); font-weight: 750; }
.button-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: .75rem 1.2rem; border: 2px solid var(--teal-deep); border-radius: 999px; font-weight: 900; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 8px 0 rgb(23 61 60 / 12%); }
.button-primary { color: white; background: var(--teal-deep); }
.button-secondary { color: var(--teal-deep); background: transparent; }
.button-small { min-height: 44px; margin-top: .7rem; padding: .5rem 1rem; color: white; background: var(--teal-deep); font-size: .9rem; }
.button-spotify { gap: .55rem; color: #000; background: #1ed760; border-color: #11843a; }
.button-spotify:hover { color: #000; background: #1fdf64; border-color: #0b6b2d; }
.spotify-icon { width: 1.45rem; height: 1.45rem; flex: 0 0 auto; color: #1ed760; }
.hero-live[hidden], .hero-spotify[hidden] { display: none; }
.hero-live { display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .7rem; color: #0b5125; background: #d7f8e2; border-radius: 999px; }
.hero-live span { color: #1db954; font-size: .8rem; }
.hero-art { position: relative; width: min(100%, 580px); margin-inline: auto; }
.hero-art picture img { width: 100%; border: 10px solid white; border-radius: 2rem; box-shadow: var(--shadow); object-fit: contain; transform: rotate(2deg); }
.release-sticker { position: absolute; right: -5px; bottom: -22px; display: grid; width: 112px; min-height: 112px; padding: 1rem; place-content: center; color: var(--ink); background: var(--gold); border: 5px solid white; border-radius: 50%; box-shadow: 0 10px 30px rgb(23 61 60 / 18%); font-weight: 950; line-height: 1.05; text-align: center; transform: rotate(-7deg); }
.release-sticker small { font-size: .7rem; }
.doodle { position: absolute; z-index: 2; top: -2.2rem; right: 8%; color: var(--coral-deep); font-size: 3.5rem; font-weight: 900; transform: rotate(12deg); }
.wave { position: absolute; right: 0; bottom: -1px; left: 0; height: 68px; background: var(--paper); clip-path: polygon(0 60%, 10% 45%, 22% 70%, 38% 48%, 52% 72%, 67% 38%, 82% 68%, 100% 45%, 100% 100%, 0 100%); }

.music { background: var(--paper); }
.section-heading { display: grid; gap: 1rem; margin-bottom: 2.5rem; }
.section-heading p { max-width: 36rem; color: var(--muted); font-size: 1.1rem; }
.release-grid { display: grid; gap: 1.25rem; }
.release-card { overflow: hidden; background: white; border: 1px solid rgb(23 61 60 / 10%); border-radius: var(--radius); box-shadow: 0 12px 35px rgb(23 61 60 / 8%); }
.release-card-featured { border: 3px solid #1db954; box-shadow: 0 16px 42px rgb(29 185 84 / 18%); }
.release-card picture img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #f7f5ee; }
.release-card-body { padding: 1.15rem; }
.release-card h3 { min-height: 2.2em; margin-bottom: .65rem; }
.release-type { margin-bottom: .3rem; color: var(--muted); font-size: .75rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.release-status { display: inline-flex; min-height: 32px; align-items: center; margin: 0; padding: .25rem .7rem; color: var(--green-deep); background: var(--green-pale); border-radius: 999px; font-size: .86rem; font-weight: 900; }
.release-status[data-state="awaiting-verification"],
.release-status[data-state="unavailable"] { color: var(--coral-deep); background: var(--coral-pale); }
.loading-message { grid-column: 1 / -1; padding: 1.5rem; background: var(--teal-pale); border-radius: 1rem; }
.album-details { display: grid; margin-top: 2rem; padding: clamp(1.5rem, 5vw, 3rem); gap: 2rem; background: var(--teal-pale); border-radius: var(--radius); }
details { padding: .25rem 0; }
summary { min-height: 44px; cursor: pointer; font-weight: 900; }
.track-list { columns: 1; padding-left: 1.5rem; }
.track-list li { padding: .25rem .4rem; break-inside: avoid; }

.promise { background: var(--cream); text-align: center; }
.promise h2, .promise-intro { max-width: 800px; margin-inline: auto; }
.promise-intro { margin-bottom: 2.5rem; color: var(--muted); font-size: 1.1rem; }
.benefit-grid { display: grid; gap: 1rem; text-align: left; }
.benefit-card { min-height: 240px; padding: 1.6rem; border-radius: var(--radius); }
.benefit-card > span { display: grid; width: 48px; height: 48px; margin-bottom: 2.2rem; place-items: center; background: white; border-radius: 50%; font-weight: 950; }
.benefit-card.coral { background: var(--coral-pale); }
.benefit-card.gold { background: var(--gold-pale); }
.benefit-card.green { background: var(--green-pale); }

.story { background: var(--teal-deep); color: white; }
.story .eyebrow { color: var(--gold-pale); }
.story-grid { display: grid; align-items: center; gap: clamp(2rem, 7vw, 5rem); }
.story-mark { padding: 1rem; background: var(--paper); border-radius: 50%; transform: rotate(-3deg); }
.story p { max-width: 44rem; }
.connect { background: var(--paper); }
.connect-card { position: relative; overflow: hidden; padding: clamp(2rem, 8vw, 5rem); background: var(--gold-pale); border-radius: 2rem; text-align: center; }
.connect-card p { max-width: 640px; margin-inline: auto; }
.connect-note { color: var(--muted); font-size: .94rem; }
.social-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 1.5rem; }
.social-links a { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: .55rem 1rem; color: white; background: var(--teal-deep); border: 2px solid var(--teal-deep); border-radius: 999px; font-weight: 900; text-decoration: none; }
.social-links a:hover { color: var(--teal-deep); background: white; }
.music-note { position: absolute; top: -1rem; right: 4%; color: var(--coral-deep); font-size: clamp(5rem, 15vw, 9rem); opacity: .16; transform: rotate(10deg); }

footer { padding: 3rem 0; color: white; background: var(--ink); }
.footer-grid { display: grid; gap: 1.5rem; }
.footer-grid strong { color: var(--gold); font-size: 1.4rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer-links a { min-height: 44px; display: inline-flex; align-items: center; }
.copyright { grid-column: 1 / -1; margin: 0; color: #d3dfdd; font-size: .88rem; }

@media (min-width: 620px) {
  .release-grid { grid-template-columns: repeat(2, 1fr); }
  .benefit-grid { grid-template-columns: repeat(3, 1fr); }
  .track-list { columns: 2; }
  .footer-grid { grid-template-columns: 1fr auto; }
}
@media (min-width: 820px) {
  .hero-grid { grid-template-columns: 1.02fr .98fr; }
  .section-heading { grid-template-columns: 1.35fr .65fr; align-items: end; }
  .release-grid { grid-template-columns: repeat(4, 1fr); }
  .album-details { grid-template-columns: .75fr 1.25fr; }
  .story-grid { grid-template-columns: minmax(280px, .7fr) 1.3fr; }
}
@media (max-width: 430px) {
  .shell { width: min(100% - 1.25rem, 1120px); }
  .header-inner { min-height: 68px; }
  .brand img { width: 48px; height: 48px; }
  nav ul { gap: 0; }
  nav a { padding-inline: .3rem; font-size: .75rem; }
  .button-row .button { width: 100%; }
  .release-sticker { right: 0; width: 96px; min-height: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
