/* Reference-led editorial homepage. Other routes keep their existing layouts. */
body:has(.home-editorial){--sans:Arial,'Helvetica Neue','Microsoft YaHei','PingFang SC',sans-serif;background:#fafaf9}
.site-header .brand{font:600 25px/1 Arial,sans-serif;letter-spacing:-1.4px;gap:0}
.site-header .brand .brand-period{font:inherit;letter-spacing:inherit;color:#1678ee}
body:has(.home-editorial)>.site-header{position:absolute;inset:0 0 auto;z-index:3;height:82px;max-width:1440px;padding-inline:5.2%;gap:32px}
body:has(.home-editorial)>.site-header nav{gap:30px;font:14px var(--sans);margin:0}
body:has(.home-editorial)>.site-header nav a{color:var(--ink)}
.home-editorial{--home-muted:#87898b;--home-line:#dedfdf;background:#fafaf9;color:var(--ink);font-family:var(--sans)}
.home-editorial .wrap{max-width:1440px;padding-inline:5.2%}
.home-editorial .creator-hero{height:clamp(420px,32vw,500px);min-height:0}
.home-editorial .hero-inner{height:100%;min-height:0;padding-top:clamp(125px,9.5vw,150px);padding-bottom:32px}
.home-editorial .hero-copy{margin:0;max-width:720px}
.home-editorial .hero-landscape{object-position:center;object-fit:cover}
.home-editorial .hero-wash{background:linear-gradient(180deg,#ffffffb8,transparent 100px),linear-gradient(90deg,#ffffff47,transparent 61%)}
.home-editorial .hero-kicker{font-size:10px;letter-spacing:2.5px;font-weight:400;color:#515e68;margin-bottom:16px}
.home-editorial .hero-kicker span{padding:0 6px}
.home-editorial .hero-copy h1{font-size:clamp(48px,4.6vw,68px);font-weight:600;line-height:1.2;letter-spacing:3px;margin:0 0 18px}
.home-period{color:#1678ee}
.home-editorial .hero-intro{font-size:clamp(16px,1.35vw,20px);font-weight:400;line-height:1.85;color:var(--text-secondary);letter-spacing:.04em}
.home-editorial .hero-buttons{margin-top:20px}
.home-link{display:inline-flex;align-items:center;gap:15px;min-height:44px;font-size:13px;line-height:1.5;color:var(--ink)}
.home-link>span{font-size:25px;font-weight:300;transition:transform .2s}
.home-link:hover{color:#1678ee}.home-link:hover>span{transform:translateX(4px)}
.home-editorial .hero-buttons .home-link{font-size:16px;gap:20px}
.home-editorial .hero-buttons .home-link>span{font-size:34px}
.home-editorial .discovery-grid{display:block;padding-top:0;padding-bottom:0}
.home-section{display:grid;grid-template-columns:25% minmax(0,1fr);gap:3.8%;padding:34px 0;border-bottom:1px solid var(--home-line)}
.home-section-intro{display:flex;flex-direction:column;align-items:flex-start;padding:12px 0;min-width:0}
.home-section-number{color:var(--home-muted);font-size:14px;line-height:1.5;width:42px;border-bottom:1px solid #a8abad;padding-bottom:7px;margin-bottom:22px}
.home-section-intro h2{display:flex;align-items:baseline;flex-wrap:wrap;gap:10px 14px;font-size:clamp(32px,3vw,44px);font-weight:500;line-height:1.2;letter-spacing:1px;margin:0 0 24px}
.home-section-intro h2>small{font:400 17px/1.3 Arial,sans-serif;letter-spacing:0;color:#6e757c}
.home-section-intro>p{font-size:clamp(15px,1.5vw,20px);line-height:1.65;margin-bottom:8px;font-weight:400}
.home-section-intro>small{font-size:13px;line-height:1.8;color:var(--home-muted)}
.home-section-intro>.home-link{margin-top:48px}
.home-section-content{min-width:0}
.home-post{display:grid;grid-template-columns:clamp(110px,11.2vw,160px) minmax(0,1fr) 26px;gap:24px;align-items:center;padding:18px 0;border-bottom:1px solid #e6e6e5;min-width:0}
.home-post:first-child{padding-top:0}.home-post:last-child{padding-bottom:0;border:0}
.home-post>img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:3px}
.home-meta{font-size:11px;line-height:1.5;color:var(--home-muted)}
.home-meta>span{margin-left:7px}
.home-post h3{font-size:18px;font-weight:500;line-height:1.55;margin:8px 0;overflow-wrap:anywhere}
.home-excerpt{font-size:13px;line-height:1.8;color:#8b8d8f;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.home-post-arrow{font-size:24px;font-weight:300}
.home-post:hover h3{color:#1678ee}
.home-photo-grid{columns:2;column-gap:16px}
.home-photo{display:block;position:relative;break-inside:avoid;width:100%;padding:0;margin:0 0 16px;overflow:hidden;background:#e9eae8;text-align:left;border-radius:3px}
.home-photo>img{display:block;width:100%;height:auto;max-height:none;transition:transform .45s}
.home-photo-caption{position:absolute;inset:auto 0 0;display:flex;align-items:center;justify-content:space-between;padding:32px 16px 13px;background:linear-gradient(transparent,#0c1c29bd);color:#fff;font-size:12px;opacity:0;transition:opacity .2s}
.home-photo-caption>span{font-size:20px}
.home-photo:hover>img{transform:scale(1.02)}
.home-photo:hover .home-photo-caption,.home-photo:focus-visible .home-photo-caption{opacity:1}
.home-photo-note{display:flex;justify-content:space-between;font-size:10px;line-height:1.5;color:var(--home-muted);margin-top:0}
.home-project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start}
.home-project{min-width:0;overflow:hidden;border-radius:4px;background:#eef0f0}
.home-project-link{display:block}
.home-project-link>img{width:100%;height:auto;aspect-ratio:1.65;object-fit:contain;transition:opacity .2s}
.home-project-link:hover>img{opacity:.88}
.home-closing{display:grid;grid-template-columns:1fr 1fr;gap:45px;align-items:center;padding:34px 0 40px}
.home-closing blockquote{margin:0;position:relative;padding-left:40px;font:23px/1.65 'Microsoft YaHei','PingFang SC',sans-serif;font-weight:300;letter-spacing:1px;color:#414449}
.home-closing blockquote:before{content:'';position:absolute;width:28px;height:2px;background:#1678ee;left:0;top:21px}
.home-closing>div>p{color:var(--home-muted);font-size:13px;line-height:1.8}
.home-closing .home-link{margin-top:8px}.home-closing .home-link>span{color:#1678ee}
.home-empty{padding:40px 20px;color:var(--home-muted);font-size:14px;background:#f0f2f1}
body:has(.home-editorial)>.creator-footer{border-top:1px solid #e7e7e7;padding-block:22px;background:#fafaf9}
@media(min-width:1600px){.home-editorial .wrap,body:has(.home-editorial)>.site-header{padding-inline:76px}}
@media(max-width:1100px){
 .home-section{gap:3.5%;grid-template-columns:25% minmax(0,1fr);padding-block:28px}
 .home-section-intro>p{font-size:15px}.home-section-intro>small{font-size:12px}
 .home-post{gap:20px;padding-block:15px}.home-post h3{font-size:16px;margin-block:6px}
 .home-excerpt{font-size:12px}.home-post .home-meta>span{display:none}
 .home-project-grid{gap:18px}.home-section-intro>.home-link{margin-top:30px}
 .home-closing blockquote{font-size:20px}.home-closing>div>p{font-size:12px}
}
@media(max-width:760px){
 body:has(.home-editorial)>.site-header{height:74px;gap:15px}
 .site-header .brand{font-size:22px}body:has(.home-editorial)>.site-header nav{gap:20px;font-size:12px}
 .home-editorial .creator-hero{height:410px}.home-editorial .hero-inner{padding-top:125px}
 .home-editorial .hero-copy h1{font-size:48px;letter-spacing:2px}
 .home-editorial .hero-intro{font-size:17px}.home-editorial .hero-landscape{object-position:58% center}
 .home-editorial .hero-wash{background:linear-gradient(180deg,#ffffffcc,transparent 130px),linear-gradient(90deg,#ffffffa6,#ffffff21 80%,transparent)}
 .home-section{grid-template-columns:1fr;gap:24px;padding-block:30px}
 .home-section-intro{display:grid;grid-template-columns:1fr auto;align-items:center;gap:0 12px;padding:0}
 .home-section-number{grid-column:1/-1;margin-bottom:15px;font-size:12px;padding-bottom:6px}
 .home-section-intro h2{grid-row:2;grid-column:1;font-size:34px;margin-bottom:14px;letter-spacing:1px}
 .home-section-intro>.home-link{grid-row:2;grid-column:2;margin:0;font-size:12px}
 .home-section-intro>p,.home-section-intro>small{grid-column:1/-1}.home-section-intro>p{margin-bottom:4px}
 .home-post{grid-template-columns:125px minmax(0,1fr) 22px;gap:18px;padding-block:17px}
 .home-project-grid{gap:16px}.home-closing{grid-template-columns:1fr;gap:24px;padding-block:30px}.home-closing>div{padding-left:40px}
}
@media(max-width:480px){
 .home-editorial .wrap,body:has(.home-editorial)>.site-header{padding-inline:22px}
 .site-header .brand{font-size:20px;letter-spacing:-1px}body:has(.home-editorial)>.site-header nav{gap:13px;font-size:11px}
 .home-editorial .creator-hero{height:400px}.home-editorial .hero-inner{padding-top:142px}
 .home-editorial .hero-copy h1{font-size:40px;letter-spacing:2px;margin-bottom:16px}
 .home-editorial .hero-intro{font-size:14px;letter-spacing:0}.home-editorial .hero-kicker{font-size:9px;letter-spacing:1px}
 .home-editorial .hero-buttons{margin-top:24px}.home-editorial .hero-buttons .home-link{font-size:14px}
 .home-section-intro>.home-link{grid-row:5;grid-column:1/-1;justify-self:start;margin-top:14px;font-size:11px;gap:9px}
 .home-post{grid-template-columns:94px minmax(0,1fr) 16px;gap:12px;padding-block:16px}
 .home-post h3{font-size:14px;line-height:1.5;margin:5px 0}.home-meta{font-size:10px}.home-excerpt{font-size:11px;line-height:1.6}
 .home-post-arrow{font-size:19px}.home-photo-grid{column-gap:10px}.home-photo{margin-bottom:10px}
 .home-project-grid{grid-template-columns:1fr;gap:16px}
 .home-closing blockquote{font-size:18px;padding-left:32px}.home-closing blockquote:before{width:22px;top:16px}.home-closing>div{padding-left:32px}
}
@media(prefers-reduced-motion:reduce){.home-editorial *{transition:none!important}.home-photo:hover>img,.home-link:hover>span{transform:none}}

/* Chinese leads; English remains a quiet secondary label. */
.nav-en{font:400 11px/1.4 Arial,sans-serif;color:#536574}
.creator-footer a{display:inline-flex;align-items:baseline;gap:5px}
.home-link>small{font:400 11px/1.5 Arial,sans-serif;color:#536574}
@media(max-width:760px) and (min-width:601px){body:has(.home-editorial)>.site-header nav{gap:16px}.site-header .nav-en{font-size:10px}}
@media(max-width:600px){
 body:has(.home-editorial)>.site-header{height:auto;min-height:108px;align-content:center;row-gap:8px;padding-block:16px}
 body:has(.home-editorial)>.site-header nav{width:100%;margin:0;justify-content:space-between;gap:12px;font-size:13px}
 .site-header .nav-en{font-size:10px}
}

/* Shared navigation: equal side columns keep the menu at the page center. */
.creator-page{--ink:#40505e;--text-secondary:#566674}
.creator-page>.site-header{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center}
.creator-page>.site-header>.brand{justify-self:start;color:var(--ink)}
.creator-page>.site-header nav{grid-column:2;justify-self:center;width:max-content;margin:0}
.creator-page>.site-header nav a{color:var(--ink)}
.creator-page>.site-header nav a:is(:hover,[aria-current=page]){color:var(--accent)}
@media(max-width:900px){
 .creator-page>.site-header,body:has(.home-editorial)>.site-header{grid-template-columns:minmax(0,1fr);height:auto;min-height:108px;padding-block:16px;gap:8px}
 .creator-page>.site-header nav,body:has(.home-editorial)>.site-header nav{grid-column:1;justify-self:center;justify-content:center;width:max-content;max-width:100%;margin:0;gap:clamp(12px,3vw,24px)}
 .home-editorial .hero-inner{padding-top:142px}
}
