:root { color-scheme: dark; --font-body: system-ui, sans-serif; --font-display: Georgia, serif; --font-mono: ui-monospace, monospace; }
html, body { min-height: 100%; }
body { margin: 0; background: #0d0c0b; color: #f3e8d6; }
[hidden] { display: none !important; }
.scene-loader { position: fixed; z-index: 1000; inset: 0; display: grid; place-content: center; justify-items: center; gap: 16px; background: #0d0a09; }
.scene-loader img { object-fit: contain; filter: drop-shadow(0 0 13px #ff8f493e); animation: launch-float 1.15s ease-in-out infinite alternate; }
.scene-loader span { width: 56px; height: 8px; border-radius: 50%; background: #e3914c33; filter: blur(2px); }
@keyframes launch-float { to { transform: translateY(-11px); } }

.cinema__stage { position: relative; isolation: isolate; padding: 94px clamp(20px, 7vw, 112px) 90px; min-height: 100svh; overflow-x: clip; background: radial-gradient(ellipse at 56% 52%, #352419 0, #1b1918 45%, #100e10 83%); }
.journey-ready .cinema__stage { height: 100svh; min-height: 0; overflow-x: hidden; overflow-y: auto; display: grid; align-items: center; overscroll-behavior-y: contain; touch-action: pan-y; }
.chapter-backdrops, .chapter-backdrops i { position: absolute; inset: 0; pointer-events: none; }
.chapter-backdrops i { opacity: 0; transition: opacity .7s ease; }
.chapter-backdrops i:nth-child(1) { background: radial-gradient(ellipse at 74% 50%, #255350, #142425 47%, #101315 84%); }
.chapter-backdrops i:nth-child(2) { background: radial-gradient(ellipse at 69% 55%, #241c24, #100f13 57%, #08090b 80%); }
.chapter-backdrops i:nth-child(3) { background: radial-gradient(ellipse at 72% 51%, #24242c, #111115 45%, #0b0b10 78%); }
.cinema[data-scene="musica"] .chapter-backdrops i:nth-child(1),
.cinema[data-scene="universo"] .chapter-backdrops i:nth-child(2),
.cinema[data-scene="datas"] .chapter-backdrops i:nth-child(3) { opacity: 1; }
.cinema__brand { position: absolute; z-index: 3; left: 50%; top: max(16px, env(safe-area-inset-top)); transform: translateX(-50%); }
.cinema__brand h1 { margin: 0; }
.cinema__brand img { display: block; width: 70px; height: auto; }
.cinema__visual { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.cinema__visual canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.cinema__poster { position: absolute; right: 9%; top: 12%; width: min(46vw, 520px); height: 76%; object-fit: cover; object-position: 52% 27%; opacity: .72; border-radius: 44% 52% 42% 50% / 36% 29% 46% 42%; }
.is-rendered .cinema__poster { visibility: hidden; }
.cinema__panels { z-index: 2; position: relative; width: min(380px, 43%); }
.chapter { display: grid; gap: 14px; margin-bottom: 22px; justify-items: start; }
.chapter:not(.chapter--intro) { padding: 22px; background: linear-gradient(110deg,#141112ed,#17161996); border: 1px solid #f9c99933; border-radius: 24px 7px 24px 7px; }
.chapter h2 { color: #fff2df; margin: 0; font: 500 clamp(38px, 5vw, 65px)/.96 Georgia,serif; letter-spacing: -.065em; }
.chapter .label { color: #e9b87d; }
.chapter-list { display: grid; width: 100%; gap: 7px; }
.chapter-list .listen-track { width: 100%; text-decoration: none; }
.media-picker { display: flex; gap: 7px; }
.media-picker button { color: #e7d8c7; background: #171513; border: 1px solid #a88a685c; padding: 8px 15px; border-radius: 25px; cursor: pointer; }
.media-picker button[aria-pressed="true"] { background: #e7b67e; color: #20150c; }
.listen-track[aria-pressed="true"] { border-color: #efb875; }
.show-sets { cursor: pointer; border: 1px solid #ffe2c560; border-radius: 100px; padding: 9px 14px; background: #141116; }
.chapter-link { color: #f6c08c; font-size: 13px; }
.chapter-bio { display: flex; align-items: center; gap: 11px; margin: 0; max-width: 34ch; }
.chapter-bio img { flex: 0 0 56px; object-fit: contain; border-radius: 9px; background: #18151d; }
.chapter .social-strip { justify-content: flex-start; }
.chapter .social-strip a { justify-content: center; padding: 5px; min-width: 38px; min-height: 38px; }
#datas { background: linear-gradient(110deg,#0e0e13ec,#111116ba); border-color: #d1ced743; }
#datas .social-strip { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); width: 100%; gap: 8px; }
#datas .social-strip a {
  --network: #e9bb85;
  justify-content: flex-start; gap: 8px; padding: 10px; min-height: 44px; min-width: 0;
  font-size: clamp(12px,2.4vw,14px); font-weight: 650; color: #fff5e9;
  border-color: color-mix(in srgb,var(--network),transparent 42%);
  background: linear-gradient(108deg,color-mix(in srgb,var(--network),#121019 76%),#15121a);
  box-shadow: inset 3px 0 var(--network);
}
#datas .social-strip a img { flex: 0 0 18px; }
#datas .social-strip a:hover, #datas .social-strip a:focus-visible { border-color: var(--network); background: color-mix(in srgb,var(--network),#121019 62%); }
#datas .social-strip a[href*="instagram"] { --network: #e84d9c; }
#datas .social-strip a[href*="youtube"] { --network: #ff4549; }
#datas .social-strip a[href*="spotify"] { --network: #28d76a; }
#datas .social-strip a[href*="soundcloud"] { --network: #ff793a; }
#datas .social-strip a[href*="audius"] { --network: #a361fc; }
#datas .social-strip a[href*="behance"] { --network: #4990ff; }
#datas .btn--primary { background: #44d787; color: #092016; min-height: 44px; }
.artist-clip { width: 100%; }
.artist-clip video { display: block; width: min(100%,210px); aspect-ratio: 9 / 16; object-fit: contain; border-radius: 12px; background: #120e13; }
.cinema:has(.is-rendered) .artist-clip { position: absolute; bottom: 0; left: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); pointer-events: none; }
.cinema:has(.is-rendered) .artist-clip video { width: 1px; height: 1px; }
.cinema:not(:has(.is-rendered)) .artist-video-toggle { display: none; }
.artist-video-toggle { color: #ffd9b5; background: transparent; border: 1px solid #a88968; border-radius: 100px; padding: 6px 12px; min-height: 36px; cursor: pointer; }
.chapter--intro { margin: 0; }
.journey-intro .cinema__panels { position: absolute; inset: auto 0 max(28px, 7svh); width: auto; max-width: none; }
.journey-intro .chapter--intro { justify-items: center; }
.journey-intro .player { display: none; }
.cinema__explore { display: inline-flex; gap: 12px; min-height: 62px; padding: 16px 27px; border: 1px solid #e6ab78; border-radius: 100px; background: #161115d9; color: #ffe3c5; cursor: pointer; box-shadow: 0 0 35px #db8a3840; }
.cinema__explore:hover { background: #604029; }
.chapter-nav { position: absolute; z-index: 3; left: max(19px, 7vw); bottom: 24px; display: flex; gap: 9px; }
.chapter-nav button { display: grid; place-items: center; width: 34px; height: 36px; border: 1px solid #c19c6f6b; border-radius: 100%; background: #171312a8; cursor: pointer; }
.chapter-nav button::after { content: ""; width: 6px; height: 6px; background: #c5a588; border-radius: 50%; }
.chapter-nav button[aria-current="true"]::after { width: 10px; height: 10px; background: #fbd197; box-shadow: 0 0 11px #ffad5c; }
.chapter-next { position: absolute; left: max(19px, 7vw); bottom: 71px; z-index: 3; border: 0; background: transparent; cursor: pointer; color: #ffd4a7; padding: 8px 5px; text-underline-offset: 4px; }
.chapter-next:hover { text-decoration: underline; }
.player__dock { display: flex; align-items: center; border: 1px solid #c6926970; border-radius: 999px; background: #1d1716; box-shadow: 0 6px 27px #0009; padding-right: 6px; }
.player__dock .player__btn { background: transparent; box-shadow: none; border: 0; padding-right: 8px; }
.player__cover { border-radius: 50%; object-fit: cover; }
.player__next { border: 0; background: transparent; color: #eec491; min-width: 38px; min-height: 38px; cursor: pointer; }
.player[data-open="true"] .player__icon::before { width: 11px; height: 2px; top: 16px; border: 0; background: #1b120c; box-shadow: none; }
.player__icon::before { border-left-color: #1b120c; }
.journey-ready .chapter:not([hidden]) { animation: chapter-in .38s ease-out both; }
@keyframes chapter-in { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
:focus-visible { outline: 2px solid #ffcf92; outline-offset: 4px; }

@media(max-width: 760px) {
  .journey-ready .cinema__stage { height: auto; min-height: 100svh; display: block; padding: min(55svh, 465px) 17px 110px; }
  .journey-intro .cinema__stage { height: 100svh; overflow-y: hidden; }
  .cinema__panels { width: 100%; max-width: 460px; }
  .cinema__visual { height: min(59svh, 540px); }
  .cinema__poster { top: 9%; height: 80%; width: 76%; right: 12%; }
  .journey-intro .cinema__visual { height: 92svh; }
  .chapter:not(.chapter--intro) { gap: 9px; background: #151314e8; padding: 15px; }
  .chapter-list .listen-track { grid-template-columns: 32px minmax(0,1fr) 18px; padding: 4px 8px 4px 4px; font-size: 14px; }
  .chapter-list .listen-track img { width: 32px; height: 32px; }
  .chapter-list .listen-track small { margin-top: 1px; }
  .chapter h2 { font-size: 41px; }
  .chapter-nav { bottom: 12px; gap: 4px; }
  .chapter-nav button { width: 40px; height: 44px; }
  .chapter-next { bottom: 65px; }
  .player { right: 10px; bottom: 14px; }
  .player__btn { max-width: 49vw; }
  .player__cover { display: none; }
  .player__eq { display: none; }
  .player__icon { flex-shrink: 0; }
  .player__t { overflow: hidden; text-overflow: ellipsis; }
  .cinema[data-scene="datas"] .cinema__stage { padding-bottom: 126px; }
  .cinema[data-scene="datas"] ~ .player .player__t,
  .cinema[data-scene="datas"] ~ .player .player__eq { display: none; }
}
@media (max-width: 380px) {
  .player__t { display: none; }
}
@media(prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; }
  .chapter-backdrops i { transition: none; }
}

.cinema[data-scene="musica"]:not(:has(.is-rendered)) .chapter-backdrops i:first-child {
  background: linear-gradient(90deg,#0b1113ee 4%,transparent 59%,#0b1113b0),
    url('assets/pajo-2027-led.webp') 68% center / auto 100% no-repeat, #0b1113;
}

.chapter--bio { position: relative; }
.chapter--bio .bio-title {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.chapter--bio p {
  margin: 0; color: #f1e8db; font-size: clamp(.92rem,1.18vw,1.03rem); line-height: 1.55;
}
.chapter--bio em { color: #ffd496; }
.chapter.chapter--bio {
  background: linear-gradient(135deg,#101714f5,#0b1313dc);
  border-color: #a8d3bd48;
}
@media (min-width: 761px) and (max-height: 670px) {
  .journey-ready .cinema[data-scene="musica"] .cinema__stage { padding-top: 68px; padding-bottom: 110px; }
}

@media (max-width: 760px) {
  .artist-video-toggle { min-height: 44px; }
  .player__next { min-width: 44px; min-height: 44px; }
  .set-player button { min-width: 44px; min-height: 44px; }
  .chapter--bio p { max-width: 50ch; }
}
