:root {
  --bg: #E9DDE2; --surface: #FFD9E1; --accent: #FF3764;
  --text: #ee3d62; --muted: #e16986;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
*, *::before, *::after { box-sizing: inherit; }
html, body { margin: 0; min-height: 100%; }
body {
  background: var(--bg); color: var(--text);
  font: 400 1rem/1.55 "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
}
img, iframe { max-width: 100%; }

/* Blurred photo as stage light behind everything, drifting slowly */
.backdrop {
  position: fixed; inset: -10%; z-index: -1;
  background-image: var(--photo-url);
  background-size: cover; background-position: center;
  filter: blur(60px) saturate(1.1); opacity: .22;
  animation: drift 28s ease-in-out infinite alternate;
}
.backdrop::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 0%, var(--bg) 55%);
}

/* Mobile first: one column, 16px gutter */
.page {
  max-width: 30rem; margin: 0 auto;
  padding: 3.5rem 1rem 2rem;
}
.content { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.25rem; margin-top: 2rem; }
section { margin: 0; }

/* Hero: photo card with name, tagline and icons over it.
   Phones: edge to edge (cancels the page's top and side padding). */
.hero {
  position: relative; overflow: hidden;
  margin: -3.5rem -1rem 0;
}
.photo {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; max-height: 78svh;
  object-fit: cover; object-position: center 30%;
  animation: fade 1s ease-out both;
}
/* Photo fades into the page colour at the bottom, so there's no hard edge */
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom,
    transparent 38%,
    color-mix(in srgb, var(--bg) 55%, transparent) 60%,
    color-mix(in srgb, var(--bg) 88%, transparent) 78%,
    var(--bg) 100%);
}
.hero-info {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  padding: 1.25rem 1.25rem .5rem; text-align: left; color: var(--text);
}
.name {
  font-family: "Syne", "Arial Black", sans-serif; font-weight: 800;
  font-size: clamp(3rem, 15vw, 4.5rem); line-height: .9;
  letter-spacing: -.04em; margin: 0 0 .45rem; color: var(--text);
  animation: rise .9s .08s cubic-bezier(.2,.7,.2,1) both;
}
.tagline { color: var(--muted); margin: 0; animation: rise .9s .16s cubic-bezier(.2,.7,.2,1) both; }
.source-msg { color: var(--accent); margin: .6rem 0 0; font-size: .95rem; }

/* No photo: plain text hero */
.hero.no-photo { margin: 0; background: none; overflow: visible; }
.hero.no-photo::after { display: none; }
.hero.no-photo .hero-info { position: static; padding: 0; color: var(--text); }
.hero.no-photo .name { color: var(--text); text-shadow: none; }
.hero.no-photo .tagline { color: var(--muted); }
.hero.no-photo .socials a { color: var(--text); }

.section-h {
  font-family: "Syne", sans-serif; font-weight: 600; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 .85rem;
}

/* Platforms */
.platforms { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.platform {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: .85rem;
  padding: 1rem 1.15rem; border-radius: 1rem;
  background: color-mix(in srgb, var(--surface) 85%, transparent);
  border: 1px solid color-mix(in srgb, var(--muted) 18%, transparent);
  color: var(--accent); text-decoration: none; font-weight: 500;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.platform:hover { transform: translateY(-1px); border-color: var(--dot, var(--accent)); }
.platform .dot {
  width: .65rem; height: .65rem; border-radius: 50%; flex: none;
  background: var(--dot, var(--accent)); box-shadow: 0 0 12px var(--dot, var(--accent));
}
.platform .picon { width: 1.5rem; height: 1.5rem; flex: none; }
.platform .picon svg { display: block; width: 100%; height: 100%; }
.platform .label { flex: 1; min-width: 0; }
.prow { position: relative; }
.prow .platform { padding-right: 3.75rem; }
.share-btn {
  position: absolute; right: .6rem; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center; width: 2.4rem; height: 2.4rem;
  padding: 0; border: 0; border-radius: 50%; background: transparent;
  color: var(--accent); cursor: pointer; transition: background .15s ease;
}
.share-btn svg { width: 1.25rem; height: 1.25rem; }
.share-btn:hover { background: color-mix(in srgb, var(--accent) 12%, transparent); }
.prow.is-top .share-btn { color: #fff; }
.prow.is-top .share-btn:hover { background: rgba(255,255,255,.2); }
.share-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.prow.is-top .share-btn:focus-visible { outline-color: #fff; }

.platform.is-top {
  background: var(--accent); color: #fff; border-color: transparent;
  padding: 1.35rem 1.25rem; font-size: 1.15rem; font-weight: 600;
  box-shadow: 0 14px 34px -14px var(--accent);
}
.platform.is-top .dot { background: #fff; box-shadow: none; }
.platform.is-top::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.45) 50%, transparent 65%);
  transform: translateX(-100%); animation: shimmer 3.6s ease-in-out infinite;
}

/* Featured embed */
.embed { border-radius: 1rem; overflow: hidden; }
.embed iframe { display: block; width: 100%; height: 352px; border: 0; border-radius: 1rem; }

/* Featured release: cover card that opens the player */
.feature-card {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 10;
  padding: 0; border: 0; border-radius: 1rem; overflow: hidden; cursor: pointer;
  background: var(--surface); color: #fff; font: inherit; text-align: left;
  box-shadow: 0 14px 34px -18px rgba(0,0,0,.45);
}
.feature-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.feature-card:hover img { transform: scale(1.03); }
.feature-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.7), transparent 55%);
}
.feature-info {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem;
  padding: 1rem 1.1rem;
}
.feature-title {
  min-width: 0;
  font-family: "DM Sans", system-ui, sans-serif; font-weight: 700; font-size: 1.05rem; line-height: 1.25;
  text-shadow: 0 1px 8px rgba(0,0,0,.4);
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
}
.feature-play {
  flex: none; display: inline-flex; align-items: center; gap: .35rem;
  padding: .5rem .9rem .5rem .7rem; border-radius: 999px;
  background: var(--accent); color: #fff; font-weight: 600; font-size: .9rem;
}
.feature-play svg { width: 1.1rem; height: 1.1rem; }
.feature-card:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* Pop-up player */
.player {
  width: min(28rem, calc(100% - 2rem)); max-height: calc(100% - 2rem); overflow: auto;
  padding: 1rem; border: 0; border-radius: 1.25rem;
  background: var(--bg); color: var(--text);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.5);
}
.player[open] { animation: pop .2s ease-out; }
.player::backdrop { background: rgba(30, 10, 20, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.player-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .75rem; }
.player-title { margin: 0; font-family: "Syne", sans-serif; font-size: 1rem; font-weight: 600; }
.player-close {
  flex: none; width: 2.25rem; height: 2.25rem; border-radius: 50%; border: 0;
  background: var(--surface); color: var(--accent); font-size: 1.4rem; line-height: 1; cursor: pointer;
}
.player-close:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.player-embed iframe { display: block; width: 100%; border: 0; border-radius: .9rem; }

/* Share pop-up */
/* Photo fills the card; name sits over it at the bottom */
.share-card {
  position: relative; aspect-ratio: 4 / 3; margin-bottom: 1.1rem;
  border-radius: 1rem; overflow: hidden; background: var(--surface);
}
.share-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
}
.share-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.65), transparent 50%);
}
.share-info {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding: 1rem 1.1rem;
}
.share-name {
  margin: 0; min-width: 0; font-weight: 700; font-size: 1.1rem; line-height: 1.25;
  color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.4);
}
.share-badge {
  flex: none; display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.85); color: #fff;
}
.share-badge:empty { display: none; }
.share-badge svg { width: 1.15rem; height: 1.15rem; }

/* Page share button: phones and small tablets only */
.page { position: relative; }
.page-share { display: none; }
@media (max-width: 899px) {
  .page-share {
    position: absolute; top: 1rem; right: 1rem; z-index: 2;
    display: grid; place-items: center; width: 2.6rem; height: 2.6rem;
    padding: 0; border: 0; border-radius: 50%; cursor: pointer;
    background: rgba(255,255,255,.6); color: var(--accent);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    box-shadow: 0 6px 16px -8px rgba(0,0,0,.3);
  }
  .page-share svg { width: 1.2rem; height: 1.2rem; }
  .page-share:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
}
.share-options {
  list-style: none; margin: 0; padding: .25rem 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem .5rem;
}
.share-opt {
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
  width: 100%; padding: 0; border: 0; background: none;
  color: var(--text); font: inherit; text-decoration: none; cursor: pointer;
}
.share-circle {
  display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 50%;
  background: #fff; color: var(--accent);
  box-shadow: 0 4px 12px -6px rgba(0,0,0,.25);
  transition: transform .15s ease;
}
.share-circle svg { width: 1.4rem; height: 1.4rem; }
.share-opt:hover .share-circle { transform: translateY(-2px); }
.share-opt:focus-visible { outline: none; }
.share-opt:focus-visible .share-circle { outline: 3px solid var(--accent); outline-offset: 2px; }
.share-label { font-size: .75rem; line-height: 1.2; text-align: center; }

.bio { margin: 0; max-width: 65ch; }

/* Social icon row under the profile */
.socials { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; justify-content: flex-start; gap: 1.25rem; }
.socials a {
  display: block; width: 1.75rem; height: 1.75rem;
  color: var(--text); text-decoration: none;
  transition: transform .15s ease, color .15s ease;
}
.socials a:hover { color: var(--accent); transform: translateY(-2px); }
.socials svg { display: block; width: 100%; height: 100%; }

.foot { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 3rem; }
.foot-links { display: block; margin-top: .5rem; }
.foot-links a, .link-btn {
  color: var(--muted); font: inherit; text-decoration: underline; text-underline-offset: 2px;
  background: none; border: 0; padding: 0 .4rem; cursor: pointer;
}
.foot-links a:hover, .link-btn:hover { color: var(--accent); }
.link-btn[hidden] { display: none; }

/* Cookie consent bar: non-blocking, both choices equally easy */
.consent {
  position: fixed; z-index: 20; left: 1rem; right: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  max-width: 34rem; margin: 0 auto; padding: 1rem 1.1rem;
  border-radius: 1rem; background: #fff; color: var(--text);
  box-shadow: 0 18px 50px -12px rgba(0,0,0,.35);
  animation: rise .35s ease-out both;
}
.consent[hidden] { display: none; }
.consent-text { margin: 0 0 .85rem; font-size: .9rem; line-height: 1.45; }
.consent-text a { color: var(--accent); }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.consent-btn {
  padding: .7rem 1rem; border-radius: 999px; cursor: pointer;
  font: inherit; font-weight: 600; font-size: .95rem;
  border: 1.5px solid var(--accent); background: #fff; color: var(--accent);
}
.consent-btn.is-accept { background: var(--accent); color: #fff; }
.consent-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.inapp {
  position: sticky; top: 0; z-index: 5;
  display: flex; gap: 1rem; align-items: center; justify-content: space-between;
  padding: .7rem 1rem; padding-top: calc(.7rem + env(safe-area-inset-top, 0px));
  background: var(--accent); color: var(--bg); font-size: .9rem;
}
.inapp[hidden] { display: none; }
.inapp a { color: var(--bg); font-weight: 600; }

a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.platform.is-top:focus-visible { outline-color: var(--text); }

/* Tablet and desktop: hero on the left, links on the right */
@media (min-width: 900px) {
  .page { max-width: 64rem; padding: 4.5rem 2rem 2rem; display: grid; grid-template-columns: 18rem minmax(0, 1fr); column-gap: 4rem; align-items: start; }
  /* Desktop: photo fills the left column; name, tagline and icons sit below it (no overlay) */
  .hero { position: sticky; top: 4.5rem; margin: 0; overflow: visible; }
  .hero::after { display: none; }
  .photo {
    max-height: none; aspect-ratio: 4 / 5; border-radius: 1.25rem;
    background: var(--surface); box-shadow: 0 18px 40px -14px rgba(0,0,0,.35);
  }
  .hero-info { position: static; padding: 0; }
  .name { margin: 1.4rem 0 .5rem; font-size: clamp(3.25rem, 16vw, 5.5rem); }
  .socials { margin-top: 1.25rem; gap: 1.5rem; }
  .socials a { width: 2rem; height: 2rem; }
  .content { margin-top: 0; }
  .foot { grid-column: 1 / -1; }
}

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes drift { from { transform: translate3d(-2%, -1%, 0) scale(1.02); } to { transform: translate3d(2%, 1%, 0) scale(1.08); } }
@keyframes pop { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
@keyframes shimmer { 0%, 55% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

@media (prefers-reduced-motion: reduce) {
  .backdrop, .photo, .name, .tagline, .platform.is-top::after, .player[open] { animation: none; }
  .feature-card img { transition: none; }
  .feature-card:hover img { transform: none; }
  .platform, .socials a { transition: none; }
  .platform:hover { transform: none; }
}
