@font-face{font-family:ProjectChinese;src:url('assets/fonts/source-han-sans-normal.otf') format('opentype');font-weight:400;font-display:swap}
body.content-mode:has(#content-view:not([hidden]) .project-editorial){background:#fff;color:#111;color-scheme:light}

body.content-mode:has(#content-view:not([hidden]) .project-editorial) #content-view{min-height:100svh}
.project-editorial{display:grid;grid-template-columns:minmax(0,32fr) minmax(0,68fr);align-items:start;gap:24px;padding:20px 18px 28px;font-family:HelveticaRegular,ProjectChinese,Helvetica,Arial,sans-serif;font-weight:400;font-synthesis:none}
.project-info{position:sticky;top:20px;min-width:0;min-height:calc(100svh - 40px);display:flex;flex-direction:column;padding-right:4px}
.project-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px}
.project-heading h1{margin:0;font-size:21px;line-height:1.2;font-weight:400;letter-spacing:-.045em}
.project-return{font-size:13px;line-height:1.4;white-space:nowrap;letter-spacing:-.025em}
.project-intro{margin-top:56px;font-size:15px;line-height:1.7;max-width:38em}
.project-intro p{margin:0}.project-intro .project-subtitle{margin-bottom:16px;color:#aaa}
.project-facts{margin:42px 0 0;font-size:13px;line-height:1.6}
.project-facts>div{display:grid;grid-template-columns:30px 62px minmax(0,1fr);column-gap:10px;margin:5px 0}
.project-facts span,.project-facts dt{color:#999}.project-facts dd{margin:0;overflow-wrap:anywhere}
.project-chapters{margin-top:42px;display:grid;gap:10px;font-size:13px;line-height:1.6}
.project-chapters a{display:flex;gap:14px;width:fit-content}.project-chapters a>span:first-child{color:#777;font-variant-numeric:tabular-nums}
.project-editorial a:hover{text-decoration:underline;text-underline-offset:4px}
.project-editorial a:focus-visible,.project-editorial button:focus-visible{outline:1px solid #111;outline-offset:4px}
.project-info-foot{margin-top:auto;padding-top:48px;display:flex;justify-content:space-between;gap:12px;font-size:11px;line-height:1.5;color:#888}
.project-showcase{min-width:0;display:grid;gap:16px}
.project-plate{margin:0;scroll-margin-top:20px;min-width:0}
.project-plate .zoom-image{display:block;width:100%;padding:0;margin:0;cursor:zoom-in}
.project-plate img{display:block;width:100%;height:auto;border:0;background:#f5f5f5}
.project-end{display:flex;justify-content:space-between;align-items:end;gap:24px;padding:42px 0 16px;font-size:16px;line-height:1.4}
.project-end>a:last-child{text-align:right}.project-end span{display:block;color:#888;font-size:11px;margin-bottom:8px}
@media(max-width:1000px){.project-editorial{grid-template-columns:minmax(0,35fr) minmax(0,65fr);gap:18px;padding:16px 14px}.project-info{top:16px}.project-heading{flex-wrap:wrap;gap:10px}.project-intro{margin-top:32px;font-size:14px}.project-facts{margin-top:28px}.project-chapters{margin-top:28px}.project-facts>div{grid-template-columns:24px 50px minmax(0,1fr);gap:6px}}
@media(max-width:760px),(max-height:620px){.project-editorial{grid-template-columns:minmax(0,1fr);gap:32px;padding:18px 14px}.project-info{position:static;min-height:0;padding:0}.project-heading{flex-wrap:nowrap}.project-intro{max-width:600px;margin-top:32px}.project-facts{max-width:500px}.project-chapters{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;font-size:12px}.project-info-foot{display:none}.project-showcase{gap:12px}.project-end{font-size:14px}.project-return{font-size:12px}}

/* PAWTNER editorial refinement: compact credits above an uninterrupted field of black. */
@font-face{font-family:ProjectChineseLight;src:url('assets/fonts/source-han-sans-light.otf') format('opentype');font-weight:300;font-display:swap}
body.content-mode:has(#content-view:not([hidden]) .project-editorial){background:#fff;color:#111}
.project-info{min-height:calc(100svh - 40px)}
.project-heading{align-items:center}
.project-heading h1{width:150px;height:20px;overflow:hidden;position:relative;flex:none}
.project-heading .project-wordmark{position:absolute;width:153.2px;height:auto;max-width:none;left:-1.8px;top:-4.8px}
.project-return{font-size:15px;line-height:1.1;letter-spacing:-.04em}
.project-intro{margin-top:24px;max-width:none}
.project-english{font:400 18px/1.18 HelveticaRegular,Helvetica,Arial,sans-serif;letter-spacing:-.045em}
.project-intro .project-chinese{margin-top:14px;font:300 12px/1.5 ProjectChineseLight,sans-serif;color:#666;letter-spacing:0}
.project-facts{margin:16px 0 0;font-size:16px;line-height:1.12;letter-spacing:-.035em}
.project-facts>div{grid-template-columns:23px 52px minmax(0,1fr);column-gap:10px;margin:4px 0}
.project-facts span,.project-facts dt{color:#111}
.project-chapters{margin-top:auto;padding-top:40px;gap:5px;font-size:16px;line-height:1.2;letter-spacing:-.035em}
.project-chapters a{gap:5px;color:#999;transition:color .2s ease}
.project-chapters a>span:first-child{color:inherit}
.project-chapters a.is-current,.project-chapters a:hover,.project-chapters a:focus-visible{color:#111;text-decoration:none}
@media(max-width:1000px){.project-english{font-size:17px}.project-facts,.project-chapters{font-size:15px}.project-info{min-height:calc(100svh - 32px)}}
@media(max-width:760px),(max-height:620px){.project-info{min-height:0}.project-chapters{margin-top:36px;padding-top:0;grid-template-columns:1fr;gap:5px}.project-intro{margin-top:24px}.project-heading{flex-wrap:nowrap}}
@media(prefers-reduced-motion:reduce){.project-chapters a{transition:none}}

/* v34: spacing follows the supplied 1920px editorial layout. */
.project-editorial{grid-template-columns:minmax(0,32fr) minmax(0,68fr);gap:clamp(24px,3.1vw,60px);padding:20px clamp(14px,1.1vw,22px) 28px clamp(24px,2.4vw,46px)}
.project-info{top:clamp(32px,5.5svh,60px);min-height:calc(100svh - clamp(32px,5.5svh,60px) - clamp(60px,14svh,152px));padding:0}
.project-heading h1{width:clamp(150px,14.3vw,275px);height:clamp(20px,2.1vw,40px)}
.project-heading .project-wordmark{width:102.14%;left:-1.19%;top:0;transform:translateY(-19.85%)}
.project-return{font-size:clamp(14px,1.05vw,18px);font-weight:400;color:#666;letter-spacing:-.025em;transition:color .2s}
.project-return:hover{color:#111}
.project-intro{margin-top:clamp(30px,4.3svh,47px)}
.project-english{font-size:clamp(18px,1.35vw,26px);line-height:1.22;letter-spacing:-.035em;font-weight:400}
.project-intro .project-chinese{margin-top:clamp(22px,3.3svh,36px);font-size:clamp(11px,.86vw,16px);line-height:1.6;color:#737373}
.project-facts{margin-top:clamp(28px,4.2svh,46px);font-size:clamp(15px,1.3vw,25px);line-height:1.2;letter-spacing:-.025em}
.project-facts>div{grid-template-columns:minmax(30px,.55fr) minmax(66px,.95fr) minmax(0,1.8fr);column-gap:clamp(12px,1vw,20px);margin:3px 0}
.project-chapters{padding-top:48px;gap:7px;font-size:clamp(16px,1.3vw,25px);line-height:1.2;letter-spacing:-.035em}
.project-showcase{gap:clamp(16px,1.1vw,21px)}
.project-plate.is-chapter-start:not(:first-child){margin-top:clamp(20px,2.1vw,40px)}
@media(max-width:1000px){.project-editorial{grid-template-columns:minmax(0,35fr) minmax(0,65fr);gap:22px;padding-left:24px}.project-facts>div{grid-template-columns:25px 56px minmax(0,1fr);column-gap:10px}}
@media(max-width:760px),(max-height:620px){.project-editorial{grid-template-columns:minmax(0,1fr);padding:24px 16px;gap:32px}.project-info{position:static;min-height:0}.project-heading h1{width:150px;height:20px}.project-intro{margin-top:32px}.project-english{font-size:18px;max-width:540px}.project-intro .project-chinese{font-size:12px;margin-top:20px}.project-facts{font-size:16px;margin-top:28px;max-width:400px}.project-facts>div{grid-template-columns:30px 70px minmax(0,1fr);gap:14px}.project-chapters{margin-top:36px;padding-top:0;font-size:16px;gap:7px}.project-plate.is-chapter-start:not(:first-child){margin-top:20px}}

/* New projects share the same grid and typography; only mark dimensions differ. */
.project-editorial:not([data-project="pawtner"]) .project-heading h1{width:clamp(120px,10vw,190px);height:auto;aspect-ratio:1376/768}
.project-editorial:not([data-project="pawtner"]) .project-heading .project-wordmark{position:static;width:100%;height:100%;object-fit:contain;transform:none;display:block}
.project-editorial[data-project="airbnb"] .project-heading h1{width:clamp(120px,11vw,190px);aspect-ratio:598/328}
.project-credit{font:300 11px/1.6 ProjectChineseLight,sans-serif;color:#737373;margin:18px 0 0;max-width:34em}
.project-video{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;background:#000;margin-top:clamp(16px,1.1vw,21px)}
.project-video[hidden]{display:none}
@media(max-width:760px),(max-height:620px){.project-editorial:not([data-project="pawtner"]) .project-heading h1{width:120px}.project-credit{max-width:400px}}

/* Project-specific palettes; shared layout is unchanged. */
body.content-mode:has(#content-view:not([hidden]) .project-editorial[data-project="pawtner"]){background:#000;color:#f5f5f5;color-scheme:dark}
body.content-mode:has(#content-view:not([hidden]) .project-editorial[data-project="snoopy"]){background:#fff;color:#111;color-scheme:light}
body.content-mode:has(#content-view:not([hidden]) .project-editorial[data-project="airbnb"]){background:#f2f0e7;color:#111;color-scheme:light}
.project-editorial[data-project="pawtner"] .project-facts span,
.project-editorial[data-project="pawtner"] .project-facts dt{color:#f5f5f5}
.project-editorial[data-project="pawtner"] .project-return{color:#a6a6a6}
.project-editorial[data-project="pawtner"] .project-return:hover{color:#f5f5f5}
.project-editorial[data-project="pawtner"] .project-chinese{color:#909090}
.project-editorial[data-project="pawtner"] .project-chapters a{color:#666}
.project-editorial[data-project="pawtner"] .project-chapters a.is-current,
.project-editorial[data-project="pawtner"] .project-chapters a:hover,
.project-editorial[data-project="pawtner"] .project-chapters a:focus-visible{color:#fff}
.project-editorial[data-project="pawtner"] a:focus-visible,
.project-editorial[data-project="pawtner"] button:focus-visible{outline-color:#fff}
.project-editorial[data-project="pawtner"] .project-plate img{background:#151515}

/* Restore the shared header at the Gallery coordinates. */
body.content-mode:has(#content-view:not([hidden]) .project-editorial),body.content-mode:has(#content-view:not([hidden]) .fragments-page){--detail-header-bg:#fff;--detail-header-text:#111}
body.content-mode:has(#content-view:not([hidden]) .project-editorial[data-project="pawtner"]){--detail-header-bg:#000;--detail-header-text:#f5f5f5}
body.content-mode:has(#content-view:not([hidden]) .project-editorial[data-project="airbnb"]){--detail-header-bg:#f2f0e7}
body.content-mode:has(#content-view:not([hidden]) .project-editorial) .site-header,body.content-mode:has(#content-view:not([hidden]) .fragments-page) .site-header{display:block;position:fixed;inset:0 0 auto;height:var(--header-height);background:var(--detail-header-bg);color:var(--detail-header-text);border:0;z-index:30;mix-blend-mode:normal}
body.content-mode:has(#content-view:not([hidden]) .project-editorial) .site-header .wordmark,body.content-mode:has(#content-view:not([hidden]) .fragments-page) .site-header .wordmark{position:fixed;left:4%;top:4px;mix-blend-mode:normal}
body.content-mode:has(#content-view:not([hidden]) .project-editorial) .site-header nav,body.content-mode:has(#content-view:not([hidden]) .fragments-page) .site-header nav{position:fixed;right:4%;top:var(--nav-center-y);mix-blend-mode:normal}
body.content-mode:has(#content-view:not([hidden]) .project-editorial[data-project="pawtner"]) .wordmark>img{filter:brightness(0) invert(1)}
.project-editorial{padding-top:calc(var(--header-height) + 20px)}
.project-info{top:calc(var(--header-height) + 20px);min-height:calc(100svh - var(--header-height) - 40px)}
.project-plate{scroll-margin-top:calc(var(--header-height) + 20px)}
.project-editorial[data-project="snoopy"] .project-plate:first-child .project-video{margin-top:0}
@media(max-width:760px),(max-height:620px){.project-info{position:static;min-height:0}.project-editorial{padding-top:calc(var(--header-height) + 20px)}}
@media(max-width:700px){body.content-mode:has(#content-view:not([hidden]) .project-editorial) .site-header .wordmark,body.content-mode:has(#content-view:not([hidden]) .fragments-page) .site-header .wordmark{top:5px}}

/* Compact project header; hidden route contents must never theme Archive. */
body.content-mode:has(#content-view:not([hidden]) .project-editorial),
body.content-mode:has(#content-view:not([hidden]) .fragments-page){--header-height:64px}
.project-editorial{padding-top:calc(var(--header-height) + 12px)}
.project-info{top:calc(var(--header-height) + 12px);min-height:calc(100svh - var(--header-height) - 28px)}
.project-plate{scroll-margin-top:calc(var(--header-height) + 12px)}
@media(max-width:760px),(max-height:620px){.project-info{min-height:0}}
@media(max-width:700px){body.content-mode:has(#content-view:not([hidden]) .project-editorial),body.content-mode:has(#content-view:not([hidden]) .fragments-page){--header-height:60px}}

/* Uniform artwork spacing and unobtrusive scrolling across project routes. */
.project-plate.is-chapter-start:not(:first-child){margin-top:0}
html:has(#content-view:not([hidden]) :is(.project-editorial,.project-gallery,.fragments-page)),
body.content-mode:has(#content-view:not([hidden]) :is(.project-editorial,.project-gallery,.fragments-page)){scrollbar-width:none}
html:has(#content-view:not([hidden]) :is(.project-editorial,.project-gallery,.fragments-page))::-webkit-scrollbar,
body.content-mode:has(#content-view:not([hidden]) :is(.project-editorial,.project-gallery,.fragments-page))::-webkit-scrollbar{display:none;width:0;height:0}

/* v43: introduction leads the sidebar; proportions follow the supplied layout. */
.project-editorial{grid-template-columns:minmax(0,32fr) minmax(0,68fr);column-gap:clamp(24px,2.35vw,40px);padding:calc(var(--header-height) + 22px) max(10px,.8vw) 28px clamp(24px,2.75vw,48px)}
.project-info{top:calc(var(--header-height) + 22px);min-height:calc(100svh - var(--header-height) - 22px - 16svh)}
.project-intro{margin-top:0}
.project-english{font-size:clamp(17px,1.42vw,22px);line-height:1.26;letter-spacing:-.035em}
.project-intro .project-chinese{margin-top:26px;font-size:clamp(11px,.86vw,13px);line-height:1.65;color:#999}
.project-facts{margin-top:32px;font-size:clamp(15px,1.26vw,19px);line-height:1.25}
.project-facts>div{grid-template-columns:minmax(30px,.52fr) minmax(70px,.9fr) minmax(0,1.65fr);column-gap:14px;margin:3px 0}
.project-chapters{font-size:clamp(15px,1.26vw,19px);line-height:1.25;gap:8px;padding-top:40px}
.project-plate{scroll-margin-top:calc(var(--header-height) + 22px)}
@media(max-width:760px),(max-height:620px){
 .project-editorial{grid-template-columns:minmax(0,1fr);padding:calc(var(--header-height) + 20px) 18px 28px;gap:30px}
 .project-info{position:static;min-height:0}
 .project-intro{margin-top:0}
 .project-english{font-size:18px}
 .project-facts{font-size:16px;margin-top:28px}
 .project-chapters{font-size:16px;margin-top:32px;padding-top:0}
}

.project-editorial[data-project="airbnb"] .project-plate:first-child .project-video{margin-top:0}
