
* { margin:0; padding:0; box-sizing:border-box; }
:root{
  --bg:#ECE3CF; --body-bg:#D8CDB8; --ink:#3D2B1E; --dim:#8A7A68; --line:#C8BAA0;
}
html{scroll-behavior:smooth; font-size:20px;}
body{
  background:var(--body-bg); color:var(--ink); font-family:'Noto Serif TC',serif;
  line-height:1.75; -webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none;}
.wrap{max-width:1080px; margin:0 auto; padding:0 24px;}
img,video{max-width:100%; display:block;}

/* header */
.site-header{background:var(--ink); color:var(--bg); position:sticky; top:0; z-index:50;}
.site-header .wrap{display:flex; align-items:center; justify-content:space-between; padding:16px 24px; gap:20px; flex-wrap:wrap;}
.brand{display:flex; align-items:center; gap:12px;}
.brand img{width:64px; height:64px; border-radius:50%;}
.site-nav{display:flex; flex-wrap:wrap; gap:2px; font-family:'Noto Sans TC',sans-serif; font-size:17px; letter-spacing:.5px;}
.site-nav a{padding:9px 15px; border-radius:8px; color:rgba(236,227,207,.75); transition:all .15s; font-weight:500;}
.site-nav a:hover, .site-nav a.on{background:rgba(236,227,207,.14); color:var(--bg);}

/* hero */
.hero{padding:64px 24px 48px; text-align:center;}
.hero-banner{width:100vw; margin-left:calc(50% - 50vw); margin-bottom:40px; overflow:hidden; box-shadow:0 12px 40px rgba(61,43,30,.2);}
.hero-banner img{width:100%; display:block;}
.hero h1{font-size:clamp(40px,6vw,68px); font-weight:900; letter-spacing:4px; margin-bottom:14px;}
.hero .tagline{font-family:'Noto Sans TC',sans-serif; font-weight:500; letter-spacing:1.5px; color:var(--dim); font-size:22px; margin-bottom:24px;}
.hero p.about{max-width:680px; margin:0 auto 30px; font-size:21px; color:var(--ink); font-weight:400; letter-spacing:.3px; line-height:1.9;}
.btn{display:inline-block; padding:18px 38px; border:2px solid var(--ink); border-radius:50px; font-family:'Noto Sans TC',sans-serif; font-size:18px; letter-spacing:1px; font-weight:700; transition:all .2s;}
.btn-solid{background:var(--ink); color:var(--bg);}
.btn-solid:hover{opacity:.85; transform:translateY(-2px);}
.btn-outline:hover{background:var(--ink); color:var(--bg); transform:translateY(-2px);}
.btn-row{display:flex; gap:14px; justify-content:center; flex-wrap:wrap;}

/* section */
.section{padding:44px 24px;}
.section-title{font-size:17px; font-family:'Noto Sans TC',sans-serif; font-weight:700; letter-spacing:5px; color:var(--dim); text-align:center; margin-bottom:32px;}

/* spotlight */
.spotlight{background:var(--bg); border:1px solid var(--line); border-radius:24px; overflow:hidden; max-width:680px; margin:0 auto; box-shadow:0 12px 40px rgba(61,43,30,.12);}
.spotlight video{width:100%; background:#000; aspect-ratio:16/9;}
.spotlight-body{padding:26px 30px;}
.spotlight-eyebrow{font-family:'Noto Sans TC',sans-serif; font-size:15px; letter-spacing:2px; color:var(--dim); margin-bottom:8px; font-weight:600;}
.spotlight-title{font-size:34px; font-weight:900; letter-spacing:1px; margin-bottom:14px;}
.spotlight-blurb{font-size:18px; font-weight:400; color:var(--ink); line-height:1.9; letter-spacing:.3px;}

/* chapter grid */
.chapter-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:18px; max-width:1080px; margin:0 auto;}
@media(max-width:760px){.chapter-grid{grid-template-columns:repeat(2,1fr);}}
@media(max-width:480px){.chapter-grid{grid-template-columns:1fr;}}
.chapter-card{background:var(--bg); border:1px solid var(--line); border-top:6px solid var(--card-color,var(--ink)); border-radius:20px; padding:28px 20px; text-align:center; transition:transform .18s, box-shadow .18s; box-shadow:0 6px 18px rgba(61,43,30,.08);}
.chapter-card:hover{transform:translateY(-5px); box-shadow:0 16px 34px rgba(61,43,30,.18);}
.chapter-card .cc-chars{font-size:34px; font-weight:900; letter-spacing:4px; color:var(--card-color,var(--ink)); margin-bottom:12px;}
.chapter-card .cc-name{font-size:23px; font-weight:700; letter-spacing:2px; margin-bottom:8px;}
.chapter-card .cc-status{font-family:'Noto Sans TC',sans-serif; font-size:15px; color:var(--dim); letter-spacing:.5px; font-weight:500;}

/* accessibility: SEO-visible / screen-reader-only heading, not shown visually
   (banner artwork already carries the chapter name as a designed image) */
.visually-hidden{position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;}

/* socials */
.social-row{display:flex; gap:14px; justify-content:center; flex-wrap:wrap;}
.social-icon{display:flex; align-items:center; justify-content:center; flex-shrink:0; width:56px; height:56px; border:2px solid var(--ink); border-radius:50%; color:var(--ink); transition:all .15s;}
.social-icon svg{width:24px; height:24px; fill:currentColor; display:block;}
.social-icon:hover{background:var(--ink); color:var(--bg); transform:translateY(-3px); box-shadow:0 10px 24px rgba(61,43,30,.22);}
.site-footer .social-icon{border-color:rgba(236,227,207,.55); color:rgba(236,227,207,.85);}
.site-footer .social-icon:hover{background:var(--bg); color:var(--ink); border-color:var(--bg);}

/* footer */
.site-footer{background:var(--ink); color:rgba(236,227,207,.7); padding:34px 24px; margin-top:24px;}
.site-footer .wrap{display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:16px;}
.site-footer .f-tag{font-family:'Noto Sans TC',sans-serif; font-size:14px; letter-spacing:.5px;}
.site-footer .f-handle{font-weight:900; letter-spacing:2px; font-size:18px; color:var(--bg); margin-bottom:4px;}

/* chapter hero */
.chapter-hero{position:relative; min-height:clamp(360px,42vw,560px); display:flex; align-items:center; justify-content:center; padding:24px; text-align:center; color:#fff; background-size:cover; background-position:center; isolation:isolate;}
.chapter-hero::before{content:"";position:absolute; inset:0; background:linear-gradient(180deg, rgba(20,14,10,.3), rgba(20,14,10,.68)); z-index:-1;}
.chapter-hero.no-caption::before{background:rgba(20,14,10,.06);}
.chapter-hero .wrap{width:100%;}
.chapter-hero .ch-eyebrow{font-family:'Noto Sans TC',sans-serif; font-size:14px; letter-spacing:4px; opacity:.85; margin-bottom:12px; font-weight:600;}
.chapter-hero h1{font-size:clamp(52px,9vw,88px); font-weight:900; letter-spacing:12px; margin-bottom:14px; text-shadow:0 4px 24px rgba(0,0,0,.35);}
.chapter-hero .ch-status{font-family:'Noto Sans TC',sans-serif; font-size:18px; letter-spacing:2px; opacity:.95; font-weight:600;}

/* stage block */
.stage{max-width:1040px; margin:0 auto 56px; padding:0 24px;}
.stage-head{display:flex; align-items:baseline; gap:16px; border-bottom:3px solid var(--stage-color,var(--ink)); padding-bottom:16px; margin-bottom:18px;}
.stage-head .st-char{font-size:48px; font-weight:900; color:var(--stage-color,var(--ink));}
.stage-head .st-period{font-family:'Noto Sans TC',sans-serif; font-size:15px; color:var(--dim); letter-spacing:2px; font-weight:500;}
.stage-line{font-size:19px; font-weight:400; color:var(--ink); letter-spacing:.3px; margin-bottom:24px; max-width:680px; line-height:1.85;}

.song-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:18px;}
@media(max-width:760px){.song-grid{grid-template-columns:1fr;}}
.song-card{background:var(--bg); border:1px solid var(--line); border-radius:20px; overflow:hidden; box-shadow:0 6px 18px rgba(61,43,30,.08); transition:transform .18s, box-shadow .18s;}
.song-card:hover{transform:translateY(-4px); box-shadow:0 14px 30px rgba(61,43,30,.16);}
.song-card .sc-media{aspect-ratio:4/5; background:#000; position:relative;}
.song-card .sc-media img,.song-card .sc-media video{width:100%; height:100%; object-fit:cover;}
.song-card .sc-play{position:absolute; inset:0; display:flex; align-items:center; justify-content:center; background:rgba(0,0,0,.15); pointer-events:none;}
.song-card .sc-body{padding:20px 22px;}
.song-card .sc-num{font-family:'Noto Sans TC',sans-serif; font-size:13px; color:var(--stage-color,var(--dim)); letter-spacing:1px; margin-bottom:6px; font-weight:700;}
.song-card .sc-title{font-size:20px; font-weight:700; letter-spacing:.5px; margin-bottom:10px;}
.song-card .sc-blurb{font-size:14px; color:var(--dim); font-weight:400; line-height:1.8; letter-spacing:.2px;}

/* idea chips (unreleased chapters) */
.idea-kicker{font-family:'Noto Sans TC',sans-serif; font-size:13px; font-weight:700; letter-spacing:1.5px; margin-bottom:12px; text-transform:uppercase;}
.idea-chips{display:flex; flex-direction:column; gap:10px;}
.idea-chip{font-family:'Noto Sans TC',sans-serif; font-size:18px; color:var(--ink); font-weight:500; letter-spacing:.3px; background:rgba(61,43,30,.05); border-radius:12px; padding:14px 18px;}

.back-cta{text-align:center; padding:24px 24px 60px;}

/* youtube video grid */
.yt-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:18px; max-width:1080px; margin:0 auto;}
@media(max-width:760px){.yt-grid{grid-template-columns:repeat(2,1fr);}}
@media(max-width:480px){.yt-grid{grid-template-columns:1fr;}}
.yt-card{background:var(--bg); border:1px solid var(--line); border-radius:20px; overflow:hidden; box-shadow:0 6px 18px rgba(61,43,30,.08); transition:transform .18s, box-shadow .18s;}
.yt-card:hover{transform:translateY(-5px); box-shadow:0 16px 34px rgba(61,43,30,.18);}
.yt-thumb{position:relative; aspect-ratio:16/9; background:#000;}
.yt-thumb img{width:100%; height:100%; object-fit:cover; display:block;}
.yt-play{position:absolute; inset:0; display:flex; align-items:center; justify-content:center;}
.yt-play svg{width:52px; height:52px; filter:drop-shadow(0 1px 4px rgba(0,0,0,.5));}
.yt-body{padding:16px 18px;}
.yt-title{font-size:18px; font-weight:700; letter-spacing:.3px; line-height:1.55; margin-bottom:7px;}
.yt-meta{font-family:'Noto Sans TC',sans-serif; font-size:15px; color:var(--dim); letter-spacing:.3px; font-weight:500;}
