:root{--ink:#22201d;--paper:#f8f4ec;--red:#233f63;--dark:#151719;--line:#dad0c0;color-scheme:dark}
*{box-sizing:border-box}
html,body{width:100%;height:100%;margin:0;overflow:hidden;overscroll-behavior:none}
body{min-width:280px;background:radial-gradient(circle at 18% 15%,#2c2f35 0,transparent 40%),radial-gradient(circle at 82% 85%,#202328 0,transparent 45%),var(--dark);color:var(--paper);font-family:Outfit,Arial,sans-serif}
button,a{-webkit-tap-highlight-color:transparent}
a{color:inherit}
:focus-visible{outline:3px solid #d8c4a6;outline-offset:3px}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.experience{display:grid;place-items:center;width:100vw;height:100vh;height:100dvh;overflow:hidden;padding:16px}
.book-frame{position:relative;display:grid;place-items:center;width:min(1130px,calc(100vw - 32px),calc(156.25dvh - 50px));height:min(710px,calc(100dvh - 32px));overflow:visible}
.book-tilt{position:relative;display:grid;place-items:center;width:100%;height:100%;transform:translateX(var(--book-shift,0px)) rotate(-1.25deg);transform-origin:center}
.book-tilt.motion-ready{transition:transform .72s cubic-bezier(.22,.61,.36,1)}
.book-tilt.portrait.cover-turn{transition:none}
.book-tilt.portrait.cover-turn .stf__hardShadow,.book-tilt.portrait.cover-turn .stf__hardInnerShadow{display:none!important}
.flipbook{visibility:hidden;width:100%;height:auto;touch-action:manipulation}
.flipbook.ready{visibility:visible}
.stf__parent{position:relative;display:block;box-sizing:border-box;transform:translateZ(0);touch-action:manipulation}
.stf__wrapper{position:relative;width:100%;box-sizing:border-box}
.stf__block{position:absolute;width:100%;height:100%;box-sizing:border-box;perspective:2000px}
.stf__item{display:none;position:absolute;transform-style:preserve-3d}
.stf__outerShadow,.stf__innerShadow,.stf__hardShadow,.stf__hardInnerShadow{position:absolute;left:0;top:0;pointer-events:none}
.sheet{position:absolute;width:100%;height:100%;overflow:hidden;background:var(--paper);color:var(--ink);-webkit-user-select:none;user-select:none;backface-visibility:hidden}
.sheet img{display:block;width:100%;height:100%;object-fit:cover;-webkit-user-drag:none;user-select:none;pointer-events:none}
.paper-sheet{box-shadow:inset 0 0 0 1px #d9ccb8,inset 18px 0 25px -22px #44332380;background:var(--paper)}
.page-content{position:relative;display:flex;flex-direction:column;width:100%;height:100%;padding:clamp(22px,2.8vw,44px);overflow:hidden}
.page-kicker{display:block;flex:none;color:var(--red);font-size:10px;font-weight:700;letter-spacing:.18em;text-transform:lowercase}
.page-number{position:absolute;right:28px;bottom:21px;color:#968b7f;font:13px 'DM Serif Display',Georgia,serif}
.sheet h2,.sheet blockquote,.cover-title,.back-center p{font-family:'DM Serif Display',Georgia,serif;font-weight:400;letter-spacing:-.04em}
.sheet h2 em{color:var(--red);font-weight:400}

/* COVER BIRU NAVY */
.cover-page{background:#142236;color:#f5efe4;box-shadow:inset -10px 0 16px rgba(10,18,30,.6),4px 5px 0 #0d1726,9px 11px 0 #8f8a80}
.cover-page:before{content:"";position:absolute;left:0;top:0;bottom:0;width:18px;border-right:1px solid #324a6a;background:linear-gradient(90deg,#0d1726,#203656 43%,#0d1726);box-shadow:3px 0 8px rgba(8,14,24,.7);pointer-events:none}
.cover-page:after{content:"";position:absolute;right:0;top:5px;bottom:5px;width:8px;background:repeating-linear-gradient(90deg,#d2bda4 0 1px,#a99179 1px 2px);box-shadow:-3px 0 5px rgba(10,18,30,.5);pointer-events:none}
.cover-border{position:absolute;inset:18px 20px 18px 34px;border:1px solid rgba(220,205,180,.55);display:flex;flex-direction:column;align-items:center;justify-content:space-between;text-align:center;padding:24px 17px}
.cover-border:before{content:"";position:absolute;inset:7px;border:1px solid rgba(220,205,180,.25);pointer-events:none}
.cover-top,.cover-bottom{text-transform:lowercase;font-size:10.5px;line-height:1.75;letter-spacing:.18em;color:#ded2be}
.cover-mark{font:64px/.8 'DM Serif Display',Georgia,serif;color:#e8d8be}
.cover-title{display:block;font-size:clamp(48px,4.8vw,78px);line-height:.96;color:#f8f2e7}
.cover-title i{font-weight:400;color:#d8c4a6}
.cover-rule{width:54px;height:1px;background:#d8c4a6}

/* PAGES (CREAM) */
.title-page .page-content{justify-content:center;background:radial-gradient(circle at 24% 22%,#fffcf7 0,transparent 46%),var(--paper)}
.title-page .page-kicker{position:absolute;top:45px}
.title-star{font:52px/.7 'DM Serif Display',Georgia,serif;color:var(--red);margin-bottom:22px}
.title-page h2{font-size:clamp(45px,4.35vw,70px);line-height:1.04;margin:0}
.title-page p{max-width:320px;margin:25px 0 0;color:#6b6459;font-size:15px;line-height:1.6}

.opening-page h2{font-size:clamp(30px,2.7vw,46px);line-height:1.05;margin:14px 0 14px}
.opening-photo{flex:1;min-height:0;overflow:hidden;background:#ded8cd;border-radius:2px}
.opening-photo img{object-position:center 25%}
.opening-page .page-content>p{flex:none;max-width:360px;margin:12px 0 12px;color:#6b6459;font-size:12.5px;line-height:1.5}

.photo-page{background:#ede5d8}
.photo-page .page-content{padding-bottom:35px}
.photo-mat{height:78%;margin-top:16px;padding:10px;background:#fcfaf5;box-shadow:0 8px 19px rgba(35,45,55,.14);transform:rotate(-1.7deg);overflow:hidden}
.photo-mat img{object-position:center 15%}
.photo-caption{align-self:flex-end;margin:14px 7px 0;color:var(--red);font:italic 20px 'DM Serif Display',Georgia,serif;text-align:right}
.caption-song{display:block;font-size:13px;font-family:Outfit,Arial,sans-serif;font-style:normal;letter-spacing:.08em;color:#635d54;margin-top:3px}

.details-page h2{font-size:clamp(36px,3.3vw,50px);line-height:1.02;margin:16px 0 14px}
.detail-list{border-top:1px solid var(--line);flex:1;min-height:0;overflow-y:auto}
.detail-list::-webkit-scrollbar{width:3px}
.detail-list::-webkit-scrollbar-thumb{background:#c8bfb0;border-radius:3px}
.detail-list>div{display:grid;grid-template-columns:28px 1fr;gap:3px 8px;border-bottom:1px solid var(--line);padding:12px 0}
.detail-list span{grid-row:span 2;color:var(--red);font-size:10px;padding-top:5px;font-weight:600}
.detail-list strong{font:400 22px 'DM Serif Display',Georgia,serif;color:#1e2630}
.detail-list p{margin:2px 0 0;color:#686156;font-size:11.5px;line-height:1.4}

.margin-page{background:#e8dfd2}
.margin-page .page-content{justify-content:center}
.margin-page .page-kicker{position:absolute;top:45px}
.quote-mark{font:140px/.5 'DM Serif Display',Georgia,serif;color:#4a6589;margin:0 0 20px}
.margin-page blockquote{margin:0;max-width:420px;font-size:clamp(30px,2.7vw,46px);line-height:1.15;color:#1a212b}

.collage-page{background:#eae2d4}
.collage-photo{position:absolute;overflow:hidden;padding:8px;background:#fcfaf5;box-shadow:0 9px 20px rgba(35,45,55,.16)}
.collage-one{left:8%;top:18%;width:55%;height:52%;transform:rotate(-7deg)}
.collage-two{right:7%;top:34%;width:46%;height:47%;transform:rotate(7deg)}
.collage-one img{object-position:center 20%}
.collage-two img{object-position:center 16%}
.collage-page .page-content>p{position:absolute;left:10%;bottom:31px;width:60%;margin:0;color:var(--red);font:italic 21px/1.2 'DM Serif Display',Georgia,serif;transform:rotate(-3deg)}

.letter-page .page-content{padding-bottom:34px}
.letter-page h2{font-size:clamp(34px,3.2vw,48px);margin:10px 0 8px;line-height:1;flex:none}
.letter-copy{max-width:415px;color:#383530;font:11.5px/1.26 'DM Serif Display',Georgia,serif;flex:1;min-height:0;overflow-y:auto;padding-right:6px}
.letter-copy::-webkit-scrollbar{width:4px}
.letter-copy::-webkit-scrollbar-thumb{background:#c8bfb0;border-radius:4px}
.letter-copy p{margin:0 0 5px}
.letter-sign{color:var(--red);margin-top:6px!important}
.letter-sign em{font-size:22px}

/* HALAMAN 08 PENUTUP (NAVY) */
.end-page{background:#162438;color:#f8ecdd}
.end-page .page-content{justify-content:center}
.end-page .page-kicker{position:absolute;top:45px;color:#d8c4a6}
.end-star{font:54px/.7 'DM Serif Display',Georgia,serif;color:#e8d8be;margin-bottom:24px}
.end-page h2{font-size:clamp(55px,5.1vw,86px);line-height:1.02;margin:0;color:#f7f2e8}
.end-page h2 em{color:#d8c4a6}
.end-page .page-content>p{max-width:320px;margin:24px 0 0;color:#dfd5c4;font-size:14.5px;line-height:1.55}

/* BACK COVER (NAVY) */
.back-cover{background:#142236;color:#f5efe4;box-shadow:inset 12px 0 18px rgba(10,18,30,.6),-4px 5px 0 #0d1726,-9px 11px 0 #8f8a80}
.back-cover:before{content:"";position:absolute;right:0;top:0;bottom:0;width:18px;border-left:1px solid #324a6a;background:linear-gradient(90deg,#0d1726,#203656 57%,#0d1726);box-shadow:-3px 0 8px rgba(8,14,24,.7);pointer-events:none}
.back-cover:after{content:"";position:absolute;left:0;top:5px;bottom:5px;width:8px;background:repeating-linear-gradient(90deg,#ae9880 0 1px,#ded0bc 1px 2px);box-shadow:3px 0 5px rgba(10,18,30,.5);pointer-events:none}
.back-border{position:absolute;inset:26px 34px 26px 28px;display:flex;flex-direction:column;align-items:center;justify-content:space-between;border:1px solid rgba(220,205,180,.45);padding:24px 16px;text-align:center}
.back-top{color:#ded2be;font-size:10px;font-weight:700;letter-spacing:.2em;text-transform:lowercase}
.back-center{display:flex;flex-direction:column;align-items:center;gap:17px}
.back-emblem{font:italic 25px 'DM Serif Display',Georgia,serif;letter-spacing:.08em;color:#d8c4a6}
.back-rule{width:38px;height:1px;background:#8496ae}
.back-center p{font-size:clamp(39px,3.7vw,57px);line-height:1.08;margin:0;color:#f8f2e7}
.back-center p em{color:#d8c4a6;font-weight:400}
.back-note{max-width:280px;color:#ded2be;font-size:12px;line-height:1.5}

/* BINDING */
.binding{position:absolute;left:50%;top:0;width:0;height:100%;z-index:100;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;opacity:0;pointer-events:none;transition:opacity .22s}
.book-tilt.open .binding{opacity:1}
.binding:before{content:"";position:absolute;left:-2px;top:0;bottom:0;width:4px;background:linear-gradient(90deg,#0e1115,#2c3138 50%,#0e1115);box-shadow:1px 0 2px #0009}
.binding span{position:relative;z-index:1;display:block;flex:none;width:48px;height:14px;border:4px solid #14181c;border-bottom:0;border-radius:50% 50% 0 0;box-shadow:inset 0 2px 0 #737b84,0 -2px 2px #0008}
.binding span:before,.binding span:after{content:"";position:absolute;top:7px;width:7px;height:6px;background:#14181c;border-radius:2px}
.binding span:before{left:-9px}.binding span:after{right:-9px}
.book-tilt.portrait .binding span{width:28px;height:11px;border-width:3px}
.book-tilt.portrait .binding span:before,.book-tilt.portrait .binding span:after{top:6px;width:5px;height:5px}
.book-tilt.portrait .binding span:before{left:-7px}.book-tilt.portrait .binding span:after{right:-7px}

/* MUSIC PLAYER */
.music-player{position:fixed;top:20px;right:22px;z-index:200;width:112px;overflow:hidden;border:1px solid rgba(220,205,180,.4);border-radius:24px;background:#142236;color:#f5efe4;box-shadow:0 11px 30px rgba(10,15,22,.7);transition:width .5s cubic-bezier(.2,.8,.2,1),box-shadow .35s}
.music-player.is-expanded{width:min(310px,calc(100vw - 24px))}
.music-player.is-playing{box-shadow:0 13px 34px rgba(10,15,22,.9)}
.music-bar{display:flex;align-items:center;padding:8px 9px}
.music-record-button{display:grid;place-items:center;flex:none;width:50px;height:50px;margin-right:8px;padding:0;border:0;border-radius:50%;background:transparent;cursor:pointer}
.music-record{position:relative;display:grid;place-items:center;flex:none;width:50px;height:50px;border:1px solid rgba(220,205,180,.35);border-radius:50%;background:repeating-radial-gradient(circle at center,#12171c 0 2px,#262d35 2px 3px,#14191f 3px 5px);box-shadow:inset 0 0 0 3px #0b0e12,0 4px 10px #0008;animation:music-record-spin 6s linear infinite;animation-play-state:paused}
.music-record img{width:35px;height:35px;border:2px solid #d8c4a6;border-radius:50%;object-fit:cover}
.music-record:after{content:"";position:absolute;top:50%;left:50%;width:5px;height:5px;transform:translate(-50%,-50%);border-radius:50%;background:#f5efe4;box-shadow:0 0 0 1px #162438}
.music-player.is-playing .music-record{animation-play-state:running}
.music-meta{display:flex;flex:0 0 0;flex-direction:column;gap:5px;min-width:0;margin-right:0;overflow:hidden;opacity:0;visibility:hidden;white-space:nowrap;transition:flex-grow .48s cubic-bezier(.2,.8,.2,1),margin-right .48s,opacity .22s,visibility .22s}
.music-player.is-expanded .music-meta{flex-grow:1;margin-right:8px;opacity:1;visibility:visible;transition-delay:0s,0s,.13s,0s}
.music-meta strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:600;color:#f8f2e7}
.music-artist{display:flex;align-items:center;gap:7px;color:#ded2be;font-size:10px}
.music-bars{display:inline-flex;align-items:center;gap:2px;height:12px}
.music-bars i{display:block;width:2px;height:9px;border-radius:2px;background:#d8c4a6;transform:scaleY(.35);animation:music-bar 850ms ease-in-out infinite alternate;animation-play-state:paused}
.music-bars i:nth-child(2){animation-delay:-.47s;height:12px}.music-bars i:nth-child(3){animation-delay:-.19s;height:7px}.music-bars i:nth-child(4){animation-delay:-.62s;height:11px}.music-bars i:nth-child(5){animation-delay:-.34s;height:8px}
.music-player.is-playing .music-bars i{animation-play-state:running}
.music-toggle{position:relative;display:grid;place-items:center;flex:none;width:34px;height:34px;border:1px solid #d8c4a6;border-radius:50%;background:#233752;color:#f5efe4;cursor:pointer;transition:transform .2s,background .2s}
.music-toggle:active{transform:scale(.93)}
.music-toggle svg{width:16px;height:16px;fill:currentColor;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.music-pause-icon{display:none}.music-player.is-playing .music-play-icon{display:none}.music-player.is-playing .music-pause-icon{display:block}
.music-timeline{max-height:0;overflow:hidden;padding:0 14px;opacity:0;transform:translateY(-6px);pointer-events:none;transition:max-height .5s cubic-bezier(.2,.8,.2,1),padding .5s cubic-bezier(.2,.8,.2,1),opacity .25s,transform .5s}
.music-player.is-expanded .music-timeline{max-height:60px;padding:3px 14px 10px;opacity:1;transform:translateY(0);pointer-events:auto}
.music-timeline input{display:block;width:100%;height:12px;margin:0;appearance:none;-webkit-appearance:none;background:transparent;cursor:pointer}
.music-timeline input::-webkit-slider-runnable-track{height:3px;border-radius:3px;background:linear-gradient(90deg,#d8c4a6 0 var(--progress,0%),rgba(222,210,190,.3) var(--progress,0%) 100%)}
.music-timeline input::-moz-range-track{height:3px;border-radius:3px;background:rgba(222,210,190,.3)}
.music-timeline input::-moz-range-progress{height:3px;border-radius:3px;background:#d8c4a6}
.music-timeline input::-webkit-slider-thumb{width:9px;height:9px;margin-top:-3px;border:1px solid #f5efe4;border-radius:50%;appearance:none;-webkit-appearance:none;background:#d8c4a6;box-shadow:0 0 0 3px rgba(216,196,166,.25)}
.music-timeline input::-moz-range-thumb{width:9px;height:9px;border:1px solid #f5efe4;border-radius:50%;background:#d8c4a6}
.music-times{display:flex;justify-content:space-between;color:#ded2be;font-size:9px;font-variant-numeric:tabular-nums}
@keyframes music-record-spin{to{transform:rotate(360deg)}}
@keyframes music-bar{from{transform:scaleY(.25)}to{transform:scaleY(1)}}

/* RESPONSIVE */
@media(max-width:700px){
  .experience{padding:8px}
  .book-frame{width:min(calc(100vw - 16px),calc(78.125dvh - 12.5px));height:calc(100dvh - 16px)}
  .book-tilt{transform:translateX(var(--book-shift,0px)) rotate(-.6deg)}
  .page-content{padding:20px}
  .page-kicker{font-size:9px}
  .cover-border,.back-border{inset:12px;padding:21px 13px}
  .cover-title{font-size:clamp(42px,11vw,64px)}
  .cover-top,.cover-bottom,.back-top{font-size:8.5px}
  .title-page h2{font-size:clamp(38px,9.5vw,54px)}
  .title-page p{font-size:13px}
  .opening-page h2{font-size:clamp(26px,7vw,38px);margin:10px 0}
  .opening-page .page-content>p{font-size:11px}
  .photo-caption{font-size:16px}
  .details-page h2{font-size:clamp(32px,8vw,44px);margin:12px 0}
  .detail-list>div{padding:8px 0}
  .detail-list strong{font-size:17px}
  .detail-list p{font-size:10px;line-height:1.35}
  .margin-page blockquote{font-size:clamp(26px,7vw,38px)}
  .letter-page .page-content{padding-bottom:30px}
  .letter-page h2{font-size:28px;margin:6px 0 5px}
  .letter-copy{font-size:10.5px;line-height:1.22}
  .letter-copy p{margin-bottom:4px}
  .letter-sign em{font-size:18px}
  .end-page h2{font-size:clamp(48px,11vw,68px)}
  .end-page .page-content>p{font-size:12.5px}
  .back-note{font-size:11px}
}
@media(max-height:550px){
  .page-content{padding:16px}
  .title-star,.end-star{margin-bottom:8px}
  .title-page p{margin-top:10px}
  .opening-page h2{margin:6px 0;font-size:22px}
  .details-page h2{font-size:22px;margin:6px 0}
  .detail-list>div{padding:4px 0}
  .detail-list strong{font-size:15px}
  .detail-list p{font-size:9.5px;line-height:1.25}
  .letter-page .page-content{padding-bottom:24px}
  .letter-page h2{font-size:22px;margin:4px 0}
  .letter-copy{font-size:9.5px;line-height:1.18}
  .letter-copy p{margin-bottom:3px}
  .photo-mat{height:68%}
  .back-center{gap:8px}
}
@media(max-width:700px){
  .cover-border{inset:17px 20px 17px 28px}
  .back-border{inset:17px 28px 17px 20px;padding:18px 11px}
  .back-center{gap:12px}
  .back-center p{font-size:clamp(36px,9.5vw,48px)}
}
@media(max-width:700px){
  .music-player{top:10px;right:10px;width:106px}
  .music-player.is-expanded{width:min(288px,calc(100vw - 20px))}
  .music-record-button,.music-record{width:48px;height:48px}
  .music-record img{width:30px;height:30px}
  .music-bar{padding:8px}
  .music-meta strong{font-size:10px}
  .music-toggle{width:32px;height:32px}
  .music-timeline{padding-left:12px;padding-right:12px}
  .music-player.is-expanded .music-timeline{padding:3px 12px 8px}
}
@media(max-width:350px){
  .page-content{padding:12px}
  .letter-page .page-content{padding-bottom:20px}
  .letter-page h2{font-size:22px;margin:3px 0}
  .letter-copy{font-size:9px;line-height:1.16}
  .letter-copy p{margin-bottom:2px}
  .letter-sign em{font-size:15px}
  .detail-list>div{padding:3px 0}
  .detail-list p{font-size:8.5px}
}
@media(prefers-reduced-motion:reduce){
  .binding,.book-tilt.motion-ready,.music-player,.music-toggle,.music-meta,.music-timeline{transition:none}
  .music-record,.music-bars i{animation:none}
}
