/* Homepage layout is independent of every album stylesheet and data file. */
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:152px}
@font-face{font-family:'KK Title Brush';src:url('home-media/fonts/zhi-mang-xing-title.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap}
body.home-page{margin:0;background:var(--paper);color:var(--ink);font-family:'DM Sans','Microsoft YaHei',sans-serif;font-size:14px;line-height:1.6;isolation:isolate}
.home-page{--paper:var(--home-paper,#f6f4ed);--ink:#292d2a;--muted:#71766c;--accent:#bd5035;--line:#dcded3;--serif:'ZCOOL XiaoWei','Songti SC',SimSun,serif}
.home-page::after{content:'';position:fixed;inset:0;z-index:-2;pointer-events:none;background-image:var(--home-background-image,none);background-size:cover;background-position:center;opacity:var(--home-background-opacity,.18)}
.home-page::before{content:'';position:fixed;inset:0;z-index:-1;pointer-events:none;opacity:.2;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.17' filter='url(%23n)'/%3E%3C/svg%3E")}
a{color:inherit;text-decoration:none;-webkit-tap-highlight-color:transparent}
a:focus-visible{outline:2px solid var(--accent);outline-offset:5px}
.skip-link{position:fixed;top:-100px;left:16px;padding:10px 18px;background:var(--ink);color:#fff;z-index:100}
.skip-link:focus{top:12px}
.brand{font-family:Georgia,serif;font-size:34px;letter-spacing:-1.5px;line-height:1;font-weight:700;position:relative;white-space:nowrap}
.brand-star{color:var(--accent);display:inline-block;margin-left:7px;font-size:30px;vertical-align:top}
.brand small{display:block;font:9px 'Microsoft YaHei',sans-serif;letter-spacing:4px;margin-top:10px;padding-left:3px}
.header.site-header{position:sticky;top:0;z-index:30;height:100px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:0 max(40px,calc((100vw - 1152px)/2));gap:26px;background:var(--paper);box-shadow:0 3px 16px #292d2a04}
.site-header .brand{flex-shrink:0}
.site-header nav{display:flex;gap:30px;align-items:center;font-size:13px}
.site-header nav a{display:block;white-space:nowrap;padding:15px 0;color:#62675e;position:relative}
.site-header nav a:hover,.site-header nav a[aria-current="page"]{color:var(--accent)}
.site-header nav a[aria-current="page"]::after{content:'';position:absolute;width:18px;height:3px;background:var(--accent);bottom:4px;left:calc(50% - 9px)}
.button{border-radius:4px;padding:12px 21px;font-size:13px;display:inline-flex;justify-content:center;align-items:center;gap:8px;transition:background .2s}
.button.dark{background:var(--ink);color:#fff}
.button.dark:hover{background:var(--accent)}
.header-action{white-space:nowrap;gap:20px}
main{margin:auto}
h1{font-family:var(--serif);font-weight:400}
h2{font-family:var(--serif);font-weight:400;font-size:30px;margin:6px 0;line-height:1.3}
.eyebrow{font-size:10px;letter-spacing:2px;line-height:1.5;font-weight:600}
.live-dot{display:inline-block;height:6px;width:6px;border-radius:50%;background:var(--accent);margin-right:9px;vertical-align:middle}
.small-star{font-family:Georgia,serif;font-size:24px;color:var(--accent);margin-left:15px;display:inline-block;transform:rotate(12deg)}
.text-button{font-size:11px;padding:5px 0}
.footer{display:flex;align-items:center;gap:30px}
.footer .brand{font-size:25px;letter-spacing:-1px}
.footer .brand-star{font-size:23px}
.footer>span{font-size:9px;color:var(--muted)}
@media(max-width:1000px){.header.site-header{padding:0 28px;gap:20px;height:90px}.site-header .brand{font-size:28px}.site-header .brand-star{font-size:26px}.site-header nav{gap:24px;font-size:11px}.header-action{font-size:11px;padding:10px 14px}}
@media(max-width:650px){.header.site-header{height:auto;min-height:112px;padding:15px 22px 0;flex-wrap:wrap;gap:0 14px}.site-header .brand{font-size:28px}.site-header .brand-star{font-size:25px}.site-header .brand small{font-size:7px;letter-spacing:3px;margin-top:7px}.site-header nav{order:3;flex:0 0 100%;justify-content:space-between;gap:18px;margin-top:10px;font-size:11px}.site-header nav a{padding:12px 3px}.site-header .header-action{display:none}.footer{gap:14px}.footer .brand{font-size:22px}.footer .brand-star{font-size:20px}.footer>span{font-size:8px}}
@media(max-width:360px){.header.site-header{padding-left:16px;padding-right:16px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

.home-page{padding-bottom:calc(94px + env(safe-area-inset-bottom,0px))}
.home-main{max-width:1232px;padding:0 40px}
.home-hero{display:grid;grid-template-columns:1.05fr 1fr;gap:80px;align-items:center;padding:96px 0 105px}
.home-intro>.eyebrow{font-size:9px;letter-spacing:2px;color:#71766c}
.home-intro h1{font-size:64px;line-height:1.42;margin:23px 0 21px;position:relative;letter-spacing:2px}
.home-intro .home-title{font-family:'KK Title Brush','KaiTi','STKaiti',serif;font-size:84px;font-weight:400;font-synthesis:none;line-height:1.18;letter-spacing:.035em}
.home-accent{color:var(--accent)}
.home-spark{font:54px Georgia,serif;color:var(--accent);position:absolute;margin-left:14px;transform:rotate(12deg)}
.home-title .home-accent,.home-title .home-spark{color:#fffefa;-webkit-text-stroke:.4px #8693a075;text-shadow:0 1px 2px #5c718795,0 2px 8px #8094aa75,0 0 10px #fff,0 0 22px #ffffffd9}
.home-intro>p{font-size:13px;line-height:2.1;color:#71766c;margin:0 0 30px}
.home-intro>.button{padding:13px 24px;gap:28px}
.home-secondary{font-size:12px;margin-left:22px;border-bottom:1px solid var(--line);padding-bottom:6px;white-space:nowrap}
.home-secondary span{margin-left:12px}
.home-meta{display:flex;gap:18px;margin-top:40px;font-size:10px;letter-spacing:1px;color:#71766c}
.home-meta span+span{border-left:1px solid var(--line);padding-left:18px}
.featured-memory{position:relative;display:block;background:#fffdf7;padding:13px 13px 0;transform:rotate(3deg);box-shadow:0 18px 50px #292d2a18;border:1px solid #e3e1d6;transition:transform .3s}
.featured-memory:hover{transform:rotate(0)}
.featured-memory>img{display:block;aspect-ratio:1.18;width:100%;height:auto;object-fit:cover}
.memory-tape{position:absolute;z-index:1;background:#d7c3a7a8;top:-14px;left:calc(50% - 48px);width:96px;height:28px;transform:rotate(-8deg)}
.featured-caption{display:flex;justify-content:space-between;padding:17px 4px;font-size:11px;letter-spacing:1px}
.featured-caption>span:last-child{font-size:9px;color:var(--accent)}
.memory-note{position:absolute;right:0;bottom:-42px;font:13px var(--serif);color:#71766c;transform:rotate(-3deg)}
.album-section{border-top:1px solid var(--line);padding-top:36px;scroll-margin-top:145px}
.album-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:26px;gap:20px}
.album-heading .eyebrow{font-size:8px;color:#71766c}
.album-heading p{font-size:11px;color:#71766c;margin-bottom:9px}
.album-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));justify-content:center;gap:28px}
.album-card{display:block;min-width:0}
.album-cover{position:relative;overflow:hidden;border-radius:4px;background:#deded3}
.album-cover img{display:block;width:100%;height:auto;aspect-ratio:1.65;object-fit:cover;transition:transform .4s}
.album-card:hover .album-cover img{transform:scale(1.035)}
.album-badge{position:absolute;top:16px;left:16px;background:#f6f4eded;border-radius:3px;padding:4px 10px;font-size:10px}
.album-open{position:absolute;bottom:15px;right:15px;width:34px;height:34px;border-radius:50%;background:#f6f4edee;display:grid;place-items:center;font-size:19px}
.album-title{display:flex;align-items:center;justify-content:space-between;margin-top:17px}
.album-title h3{font:26px var(--serif);margin:0}
.album-title>span{font:12px Georgia,serif;color:#858779}
.album-card>p{font-size:11px;color:#71766c;margin:10px 0 20px}
.album-details{display:flex;align-items:center;gap:18px;font-size:10px;padding-top:13px;border-top:1px solid var(--line);color:#71766c}
.album-details span:last-child{margin-left:auto;color:var(--accent)}
.home-outro{padding:66px 0 54px;text-align:center}
.home-outro .eyebrow{font-size:8px;color:#71766c}
.home-outro p{font:26px var(--serif);margin:12px 0}
.home-outro>span:last-child{color:var(--accent);font-size:24px}
.home-page .footer{max-width:1152px;margin:auto;padding:24px 0 30px}
@media(max-width:800px){.site-header .header-action{display:none}}
@media(max-width:1000px){.home-hero{gap:45px;padding-top:68px}.home-intro h1{font-size:clamp(36px,4.8vw,48px)}.home-spark{font-size:36px;margin-left:5px}.home-intro>p{font-size:12px}.home-secondary{display:inline-block;margin:16px 0 0 16px}.home-meta{gap:12px;font-size:9px}.home-meta span+span{padding-left:12px}.home-page .footer{margin:0 40px}}
@media(max-width:650px){.home-main{padding:0 24px}.home-hero{grid-template-columns:1fr;gap:50px;padding:38px 0 74px}.home-intro h1{font-size:45px;margin:20px 0 16px}.home-intro>.eyebrow{font-size:7px;letter-spacing:1.5px}.home-intro>p{font-size:12px;margin-bottom:24px}.home-spark{font-size:37px;margin-left:9px}.home-secondary{font-size:11px;margin-left:18px}.home-meta{margin-top:24px}.featured-memory{width:calc(100% - 18px);max-width:420px;justify-self:center;padding:9px 9px 0}.featured-memory>img{aspect-ratio:1.25}.featured-caption{padding:14px 3px;font-size:10px}.memory-note{font-size:11px;bottom:-30px}.album-section{padding-top:27px}.album-heading{display:block;margin-bottom:20px}.album-heading h2{font-size:27px}.album-heading p{margin:12px 0 0}.album-grid{grid-template-columns:1fr;gap:35px}.album-cover img{aspect-ratio:1.5}.album-title h3{font-size:24px}.home-outro{padding:44px 0 32px}.home-outro p{font-size:23px}.home-page .footer{margin:0 24px;padding:22px 0;flex-wrap:wrap}.home-page .footer>.text-button{margin-left:auto}}
@media(max-width:360px){.home-intro h1{font-size:36px;letter-spacing:1px}.home-spark{font-size:26px;margin-left:5px}.home-intro>.button{padding:12px 16px;gap:14px}.home-secondary{margin-left:14px;font-size:10px}}

/* A homepage-only, single-track player. */
.home-music{position:fixed;right:24px;bottom:calc(18px + env(safe-area-inset-bottom,0px));z-index:20;width:300px;max-width:calc(100vw - 32px)}
.home-music-toggle{display:flex;align-items:center;gap:12px;width:100%;min-height:58px;padding:9px 15px 9px 10px;border:1px solid var(--line);border-radius:32px;background:#fbfaf6f5;backdrop-filter:blur(16px);box-shadow:0 8px 30px #292d2a18;color:var(--ink);font:inherit;cursor:pointer}
.home-music-toggle:hover{border-color:var(--accent)}
.home-music-toggle:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
.home-music-record{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:50%;background:var(--ink);color:#fff;font-size:19px}
.home-music-info{display:flex;flex:1;min-width:0;flex-direction:column;gap:3px;text-align:left}
.home-music-info strong{font-size:12px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.home-music-info small{font-size:9px;color:var(--muted)}
.home-music-icon{font-size:16px;flex:0 0 24px;text-align:center;color:var(--accent)}
.home-music-toggle[aria-pressed=true] .home-music-record{background:var(--accent)}
@media(max-width:650px){.home-music{right:16px;bottom:calc(14px + env(safe-area-inset-bottom,0px));width:280px}}
@media(max-width:1000px){.home-intro .home-title{font-size:clamp(52px,6.6vw,72px)}}
@media(max-width:650px){.home-intro .home-title{font-size:clamp(58px,11.5vw,76px)}}
@media(max-width:360px){.home-intro .home-title{font-size:52px}}
@media(min-width:651px) and (max-width:1000px){.album-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.site-header nav{gap:8px;font-size:10px}.site-header nav a{padding-left:0;padding-right:0}}
