:root{
  --bg:#FCFCFB; --ink:#1C1D1F; --muted:#76787D; --line:#E6E6E3; --stage:#F0F0EE; --accent:#3346A8;
  --cobalt:#2F4BC8; --cadmium:#D8432B; --yellow:#F0B323; --viridian:#2E8A6E;
  --serif:"Libre Caslon Text","Noto Serif TC",Georgia,serif; --black:"UnifrakturMaguntia","Old English Text MT",serif;
  --sans:"Hanken Grotesk","Noto Sans TC",system-ui,-apple-system,"PingFang TC",sans-serif;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font:400 1rem/1.7 var(--sans)}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:underline;text-decoration-color:var(--line);text-underline-offset:.25em;text-decoration-thickness:1px}
a:hover{text-decoration-color:currentColor}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
button{font:inherit;color:inherit}
.wrap{max-width:72rem;margin:0 auto;padding-inline:clamp(1.25rem,4vw,2.5rem)}

/* header */
.site-head .wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem 2rem;padding-block:2rem}
.brand{font-weight:500;letter-spacing:.01em;text-decoration:none}
.nav{display:flex;flex-wrap:wrap;gap:.25rem 1.75rem;list-style:none;margin:0;padding:0}
.nav a{text-decoration:none;color:var(--muted);padding-block:.25rem}
.nav a:hover{color:var(--ink)}
.nav a[aria-current="page"]{color:var(--ink);box-shadow:inset 0 -1px 0 var(--ink)}

main.wrap{padding-block:clamp(2rem,6vw,4.5rem) 6rem}
h1{font-weight:300;font-size:clamp(2.6rem,7vw,5.25rem);line-height:1;letter-spacing:-.025em;margin:0 0 1.25rem}
.lede{color:var(--muted);font-size:1.125rem;max-width:36rem;margin:0}

/* home */
.home{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,26rem);gap:clamp(2rem,6vw,6rem);align-items:center;min-height:62vh}
.home .zh{font-size:1.25rem;color:var(--muted);margin:-.5rem 0 2rem;letter-spacing:.1em}
.home .role{font-size:1.125rem;margin:0}
.home .role + p{color:var(--muted);margin:.1rem 0 0}
.home figure{margin:0}
.home figure img{width:100%;aspect-ratio:4/5;object-fit:cover;background:var(--stage)}
.facts{margin:2.5rem 0 0;display:grid;grid-template-columns:auto 1fr;gap:.6rem 2rem;max-width:30rem}
.facts dt{color:var(--muted)}
.facts dd{margin:0}

/* section rows: label left, content right */
.row{display:grid;grid-template-columns:13rem minmax(0,1fr);gap:1rem 3rem;padding-block:2.25rem;border-top:1px solid var(--line)}
.row > h2{font-size:1rem;font-weight:500;margin:0;line-height:1.7}
.row > h2 .zh{font-weight:500}
.row p{margin:0}

/* language toggle */
.lang{display:inline-flex;border:1px solid var(--line);border-radius:999px;padding:3px;margin:1.5rem 0 3rem}
.lang button{border:0;background:none;padding:.35rem 1rem;border-radius:999px;cursor:pointer;color:var(--muted)}
.lang button[aria-pressed="true"]{background:var(--ink);color:var(--bg)}
html[data-lang="en"] .zh-only, html[data-lang="zh"] .en-only{display:none}

dl.years{display:grid;grid-template-columns:6.5rem minmax(0,1fr);gap:.55rem 1.5rem;margin:0}
dl.years dt{color:var(--muted);font-variant-numeric:tabular-nums}
dl.years dd{margin:0;max-width:42rem}

/* ================= VISUAL ART ================= */
.art-intro{display:flex;flex-wrap:wrap;align-items:end;justify-content:space-between;gap:1rem 2rem;margin-bottom:2.5rem}
.art-intro h1{margin:0}

/* video band: full-bleed dark */
.band{background:var(--ink);color:var(--bg);margin-inline:calc(50% - 50vw);padding:clamp(2rem,5vw,3.5rem) 0}
.band .inner{max-width:72rem;margin:0 auto;padding-inline:clamp(1.25rem,4vw,2.5rem)}
.band h2{font-weight:400;font-size:1.5rem;letter-spacing:-.01em;margin:0 0 1.5rem;display:flex;justify-content:space-between;align-items:baseline;gap:1rem;flex-wrap:wrap}
.band h2 a{font-size:1rem;color:#C9CBD1;text-decoration-color:#55585F}
.cinema{display:grid;grid-template-columns:minmax(0,2.2fr) minmax(0,1fr);gap:1.25rem}
.feature{position:relative;aspect-ratio:16/9;background:#000;overflow:hidden}
.feature iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.poster{all:unset;position:absolute;inset:0;cursor:pointer}
.poster img{width:100%;height:100%;object-fit:cover}
.poster .big-play{position:absolute;left:1.5rem;bottom:1.5rem;display:flex;align-items:center;gap:.9rem;font-size:1.125rem;font-weight:500;color:#fff;text-shadow:0 1px 12px rgba(0,0,0,.6)}
.poster .big-play i{width:4rem;height:4rem;border-radius:50%;background:var(--cadmium);display:grid;place-items:center;transition:scale .25s}
.poster:hover .big-play i{scale:1.08}
.poster:focus-visible{outline:3px solid var(--yellow);outline-offset:-3px}
.big-play svg,.mini-play svg{width:1.2rem;height:1.2rem;margin-left:3px;color:#fff}
.playlist{list-style:none;margin:0;padding:0;display:grid;gap:1.25rem;align-content:start}
.pick{all:unset;display:grid;grid-template-columns:9.5rem 1fr;gap:.9rem;align-items:center;cursor:pointer;width:100%;padding:.4rem;margin:-.4rem;border-radius:4px}
.pick:hover{background:rgba(255,255,255,.06)}
.pick:focus-visible{outline:2px solid var(--yellow)}
.pick .t{position:relative;aspect-ratio:16/9;background:#2A2C30;overflow:hidden;border-bottom:3px solid var(--c,var(--cobalt))}
.pick .t img{width:100%;height:100%;object-fit:cover}
.pick .label{font-size:.95rem;line-height:1.4}
.pick .label small{display:block;color:#9A9DA4;font-size:.8rem;margin-bottom:.15rem}
.pick[aria-current="true"] .label{color:var(--yellow)}
.now{margin:.9rem 0 0;color:#C9CBD1}

/* gallery */
.gallery-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:1rem;margin:4.5rem 0 1.25rem}
.gallery-head h2{font-weight:400;font-size:1.5rem;letter-spacing:-.01em;margin:0}
.chips{display:flex;flex-wrap:wrap;gap:.5rem}
.chip{border:1px solid var(--line);background:none;border-radius:999px;padding:.35rem .95rem;cursor:pointer;display:inline-flex;align-items:center;gap:.5rem}
.chip::before{content:"";width:.6rem;height:.6rem;border-radius:50%;background:var(--c)}
.chip[aria-pressed="true"]{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.chip .n{color:var(--muted);font-variant-numeric:tabular-nums}
.chip[aria-pressed="true"] .n{color:#A9ABB1}
.stage{position:relative;height:min(74vh,48rem);display:flex;align-items:center;justify-content:center;overflow:hidden;touch-action:pan-y;
  background:var(--tint,var(--stage));transition:background-color .8s ease}
.stage img{max-width:88%;max-height:88%;width:auto;height:auto;object-fit:contain;box-shadow:0 24px 60px -30px rgba(0,0,0,.55);transition:opacity .35s ease}
.stage img.fading{opacity:0}
.stage:fullscreen{height:100vh}
.stage:fullscreen img{max-width:94%;max-height:94%}
.arrow{position:absolute;top:50%;translate:0 -50%;width:3rem;height:3rem;border:0;border-radius:50%;background:rgba(252,252,251,.9);cursor:pointer;display:grid;place-items:center}
.arrow:hover{background:#fff}
.arrow.prev{left:1rem}.arrow.next{right:1rem}
.arrow svg{width:1.1rem;height:1.1rem}
.show-bar{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding-block:1rem}
.count{font-variant-numeric:tabular-nums;display:flex;align-items:center;gap:.6rem}
.count b{font-weight:500}
.count .dot{width:.6rem;height:.6rem;border-radius:50%;background:var(--c,var(--cobalt))}
.count span{color:var(--muted)}
.tools{display:flex;gap:.5rem}
.pill{border:1px solid var(--line);background:none;border-radius:999px;padding:.4rem 1rem;cursor:pointer}
.pill:hover{border-color:var(--ink)}
.pill[aria-pressed="true"]{background:var(--cadmium);border-color:var(--cadmium);color:#fff}
.thumbs{position:relative;display:flex;gap:.5rem;overflow-x:auto;padding:.25rem .25rem .6rem;scrollbar-width:thin}
.thumbs button{flex:0 0 auto;border:0;padding:0;background:var(--stage);cursor:pointer;opacity:.5;transition:opacity .2s}
.thumbs button:hover{opacity:.85}
.thumbs button[aria-current="true"]{opacity:1;box-shadow:0 0 0 2px var(--bg),0 0 0 4px var(--c,var(--ink))}
.thumbs img{width:4.5rem;height:4.5rem;object-fit:cover}
.empty{padding:3rem 0;color:var(--muted)}

/* ================= BOOKS: newspaper ================= */
.paper{font-family:var(--serif)}
.subnav{display:flex;gap:1.5rem;font-family:var(--sans);margin:-1rem 0 2rem}
.subnav a{text-decoration:none;color:var(--muted);padding-bottom:.2rem}
.subnav a[aria-current="page"]{color:var(--ink);box-shadow:inset 0 -2px 0 var(--cadmium)}
.masthead{text-align:center;border-top:4px solid var(--ink);border-bottom:1px solid var(--ink);padding:.75rem 0 1rem;position:relative}
.masthead::after{content:"";position:absolute;left:0;right:0;bottom:-5px;border-bottom:1px solid var(--ink)}
.masthead .title{font-family:var(--black);font-weight:400;font-size:clamp(2.6rem,8.5vw,6rem);line-height:1.05;letter-spacing:0;margin:.25rem 0}
.dateline{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;font-family:var(--sans);font-size:.8rem;color:var(--muted);letter-spacing:.04em}
.lead{display:grid;grid-template-columns:minmax(0,15rem) minmax(0,1fr);gap:clamp(1.5rem,4vw,3rem);padding:2.5rem 0;border-bottom:1px solid var(--ink)}
.lead img{width:100%;box-shadow:6px 6px 0 var(--ink)}
.lead .kicker{font-family:var(--sans);font-size:.85rem;color:var(--cadmium);font-weight:500;margin:0 0 .5rem}
.lead h2{font-size:clamp(1.9rem,4.5vw,3.2rem);line-height:1.05;font-weight:700;margin:0 0 1rem;letter-spacing:-.01em}
.lead .deck{font-style:italic;font-size:1.15rem;color:#44464B;margin:0 0 1.25rem;max-width:36rem}
.pull{font-size:clamp(1.3rem,2.6vw,1.75rem);line-height:1.25;margin:0;padding:1rem 0 0;border-top:1px solid var(--line);max-width:34rem}
.pull cite{display:block;font:400 .85rem var(--sans);color:var(--muted);margin-top:.5rem;font-style:normal}
.shelf{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));column-gap:2.5rem;margin:0;padding:0;list-style:none}
.shelf li{position:relative;padding:1.75rem 0;border-bottom:1px solid var(--line)}
.shelf li::before{content:"";position:absolute;left:-1.25rem;top:1.75rem;bottom:1.75rem;border-left:1px solid var(--line)}
.shelf li:nth-child(4n+1)::before{display:none}
.cover{aspect-ratio:2/3;margin-bottom:1rem;overflow:hidden;background:var(--stage)}
.cover img{width:100%;height:100%;object-fit:cover}
.cover.type{background:var(--c);color:#fff;display:flex;flex-direction:column;justify-content:space-between;padding:1rem}
.cover.type b{font-size:1.35rem;line-height:1.1;font-weight:700}
.cover.type span{font-family:var(--sans);font-size:.75rem;letter-spacing:.06em;opacity:.85}
.shelf h3{font-size:1.15rem;line-height:1.2;margin:0 0 .25rem}
.shelf .pub{font:400 .85rem/1.5 var(--sans);color:var(--muted);margin:0 0 .6rem}
.shelf q{font-style:italic;display:block;margin-bottom:.5rem}
.shelf .go{font:500 .85rem var(--sans)}

/* reviews sub page */
.clips{columns:2 22rem;column-gap:3rem;column-rule:1px solid var(--line);margin-top:2.5rem}
.clip{break-inside:avoid;padding:0 0 2rem;margin-bottom:2rem;border-bottom:1px solid var(--line)}
.clip .on{font:500 .8rem var(--sans);color:var(--c,var(--cadmium));margin:0 0 .6rem}
.clip blockquote{margin:0;font-size:clamp(1.5rem,3vw,2.1rem);line-height:1.15;font-weight:700;letter-spacing:-.01em}
.clip blockquote.hl{font-weight:400;font-style:italic}
.clip .src{font:400 .9rem/1.5 var(--sans);color:var(--muted);margin:.8rem 0 0}
.clip .src a{color:var(--ink)}
.note{font:400 .85rem var(--sans);color:var(--muted);margin-top:1rem}

.site-foot{color:var(--muted);font-size:.875rem}
.site-foot .wrap{padding-block:2.5rem;border-top:1px solid var(--line)}

@media (max-width:900px){.shelf{grid-template-columns:repeat(2,minmax(0,1fr))}
  .shelf li:nth-child(4n+1)::before{display:block}
  .shelf li:nth-child(2n+1)::before{display:none}
  .cinema{grid-template-columns:1fr}}
@media (max-width:780px){
  .home{grid-template-columns:1fr;min-height:0}
  .home figure{order:-1;max-width:20rem}
  .row,.lead{grid-template-columns:1fr}
  .row{gap:.75rem}
  .lead img{max-width:12rem}
  .stage{height:62vh}
  .arrow{width:2.5rem;height:2.5rem}.arrow.prev{left:.5rem}.arrow.next{right:.5rem}
  .pick{grid-template-columns:8rem 1fr}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important}}
