:root{--paper:#f7f6f1;--ink:#20231e;--muted:#55594e;--line:#d6d6cc;--accent:#826040;--dark:#252922;--white:#faf9f3}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font:1rem/1.65 system-ui,"PingFang TC","Noto Sans TC","Microsoft JhengHei",sans-serif}h1,h2,p,figure{margin:0}img{display:block;width:100%;height:auto}a{color:inherit}button{font:inherit}button:focus-visible,a:focus-visible{outline:3px solid #a87342;outline-offset:4px}.wrap{width:min(1320px,calc(100% - 100px));margin:auto}.skip,.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.skip:focus{width:auto;height:auto;clip-path:none;background:white;padding:10px;z-index:5}.top{border-bottom:1px solid var(--line)}.top-inner{display:flex;justify-content:space-between;align-items:center;height:78px}.brand{font-size:2.3rem;font-weight:790;letter-spacing:-.09em;line-height:1;text-decoration:none;display:flex;align-items:center;gap:16px}.brand span{font-size:.9rem;letter-spacing:.12em;font-weight:550;padding-left:16px;border-left:1px solid var(--line)}nav{display:flex;gap:2rem}nav a{text-decoration:none;font-size:.92rem}nav a:hover,.footer a:hover{color:var(--accent)}.hero{display:grid;grid-template-columns:1.08fr 1fr;gap:6vw;align-items:center;padding:36px 0 54px}.hero-copy{padding:2rem 0}.eyebrow{font-size:.78rem;line-height:1.5;letter-spacing:.2em;font-weight:620;color:var(--accent)}h1,h2{font-family:"Noto Serif TC","Songti TC","PMingLiU",serif;font-weight:600;line-height:1.18}h1{font-size:clamp(2.8rem,6.4vw,6.55rem);letter-spacing:-.07em;margin:1.4rem 0 1.65rem}h2{font-size:clamp(2.2rem,4vw,4.2rem);letter-spacing:-.045em}.lead{font-size:clamp(1rem,1.6vw,1.24rem);color:var(--muted);line-height:1.9}.button{display:inline-block;border:1px solid var(--dark);padding:.67rem 1.25rem;text-decoration:none;background:var(--dark);color:var(--white);margin:1.7rem 0 2.1rem}.button:hover{background:#464b40}.hero-index{font-size:.85rem;letter-spacing:.03em;color:var(--muted)}.hero-photo{position:relative}.hero-photo img{height:clamp(400px,49vw,640px);object-fit:cover;object-position:54% 56%;background:#d0c6b3}.hero-photo figcaption{position:absolute;bottom:0;left:0;padding:.45rem .8rem;color:white;background:#252922d9;font-size:.82rem}.projects{padding:4.1rem 0 5.3rem;border-top:1px solid var(--line)}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:1.5rem;margin-bottom:1.8rem}.section-heading h2,.studio h2,.contact h2{margin-top:.65rem}.section-heading>p{color:var(--muted)}.filters{display:flex;flex-wrap:wrap;gap:.45rem;margin-bottom:1.35rem}.filters button{border:1px solid var(--line);padding:.38rem .88rem;background:transparent;color:var(--ink);cursor:pointer;font-size:.92rem}.filters button[aria-pressed=true]{background:var(--dark);color:var(--white);border-color:var(--dark)}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2.7rem 1.3rem}.project[hidden]{display:none}.project{border:0;padding:0;background:none;text-align:left;color:var(--ink);cursor:pointer;display:block;min-width:0}.project img{aspect-ratio:1.59;object-fit:cover;background:#dedad1;transition:filter .18s}.project[data-key=mixed] img{object-position:50% 50%}.project:hover img{filter:brightness(.88)}.type{display:block;color:var(--muted);font-size:.88rem;margin:.68rem 0 .1rem}.project strong{font-size:clamp(1.12rem,2vw,1.62rem);font-weight:570}.studio{background:var(--dark);color:var(--white)}.studio-inner{display:grid;grid-template-columns:1fr 1fr;gap:3rem;padding:5.2rem 0}.studio .eyebrow{color:#dac1a4}.studio-intro{font-size:1.1rem;line-height:1.9}.studio ul{list-style:none;margin:1.4rem 0 0;padding:0}.studio li{border-top:1px solid #606358;padding:.75rem 0;display:flex;gap:.4rem 1.2rem;flex-wrap:wrap}.studio li span{color:#dddcd2}.contact{padding:4rem 0;display:flex;justify-content:space-between;align-items:end;gap:1rem}.contact-links{display:flex;flex-wrap:wrap;gap:.85rem 1.3rem}.contact-links a,.detail-copy a{text-underline-offset:.28em}.footer{border-top:1px solid var(--line);padding:1.2rem 0;display:flex;justify-content:space-between;gap:.8rem;font-size:.88rem;color:var(--muted)}dialog{max-width:min(850px,calc(100% - 2rem));width:850px;max-height:calc(100dvh - 2rem);border:1px solid var(--line);padding:0;background:var(--paper);color:var(--ink)}dialog::backdrop{background:#181a17cf}.detail-controls{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.7rem 1rem}.close{background:none;border:1px solid var(--line);color:var(--ink);padding:.2rem .65rem;cursor:pointer}dialog img{max-height:57vh;object-fit:contain;background:#252922}.detail-copy{padding:1rem 1.2rem 1.6rem}.detail-copy h2{margin:.35rem 0 .6rem;font-size:clamp(1.8rem,4vw,3rem)}section[id]{scroll-margin-top:1rem}
@media(max-width:760px){.wrap{width:calc(100% - 36px)}.top-inner{height:64px}.brand{font-size:1.85rem;gap:8px}.brand span{padding-left:8px;font-size:.75rem;letter-spacing:.06em}nav{gap:1rem}.hero{grid-template-columns:1fr;gap:1.3rem;padding:1rem 0 2rem}.hero-copy{padding:1.3rem 0 0}.hero-photo img{height:clamp(310px,98vw,520px)}h1{margin:.8rem 0 1rem;font-size:clamp(2.7rem,10vw,5.5rem)}.button{margin:1.2rem 0 .9rem}.projects{padding:2.8rem 0}.section-heading{display:block}.section-heading>p{margin-top:.7rem}.grid{gap:1.7rem .85rem}.studio-inner{grid-template-columns:1fr;padding:3rem 0;gap:1.3rem}.contact{display:block;padding:3rem 0}.contact-links{margin-top:1.25rem}.footer{flex-wrap:wrap}}@media(max-width:490px){.grid{grid-template-columns:1fr}.project img{aspect-ratio:1.5}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important}}

/* Editorial edition */
.original{display:block;width:clamp(106px,17vw,164px);flex:0 0 auto;mix-blend-mode:multiply}
.original img{width:100%;height:auto}
.top-inner{min-height:80px}
nav a[aria-current=page]{font-weight:650;text-decoration:underline;text-underline-offset:.45em;text-decoration-color:#8e755a}
.editorial .section-heading{margin-bottom:2.5rem}
.spread{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:clamp(1rem,4vw,4rem);align-items:center;text-decoration:none;border-top:1px solid var(--line);padding:1.55rem 0;margin:0 0 1.1rem}
.spread img{width:100%;aspect-ratio:1.7;object-fit:cover;background:#dedad1;transition:filter .18s}
.spread:hover img,.project:hover img{filter:brightness(.88)}
.spread:nth-of-type(2){grid-template-columns:minmax(0,1fr) minmax(0,1.6fr)}
.spread:nth-of-type(2) img{grid-column:2;grid-row:1}.spread:nth-of-type(2) .card-copy{grid-column:1;grid-row:1;padding-left:2rem}
.spread[data-project=mixed] img{object-position:50% 54%}
.card-copy h3{font-family:"Noto Serif TC","Songti TC","PMingLiU",serif;margin:.18rem 0 .5rem;font-size:clamp(1.42rem,3vw,2.65rem);line-height:1.25}
.card-copy p{color:var(--muted)}
.read-label,.subtle{display:inline-block;margin-top:1.1rem;text-decoration:underline;text-underline-offset:.35em;font-size:.92rem}
.more{margin:1.7rem 0 0}
.page-lead{padding:3.4rem 0 2.35rem}
.page-lead h1{margin:.65rem 0 .9rem;font-size:clamp(2.55rem,6.2vw,5.5rem);letter-spacing:-.055em}
.work-index{padding:1.75rem 0 4rem;border-top:1px solid var(--line)}
.project{text-decoration:none}
.project .card-copy h3{font-size:clamp(1.22rem,2.2vw,1.9rem)}
.original-link{margin-top:2.45rem;color:var(--muted)}
.original-link a{text-underline-offset:.3em}
.back{display:inline-block;margin-bottom:1.3rem;text-underline-offset:.3em}
.case{padding-bottom:3.5rem;border-bottom:1px solid var(--line)}
.case-main img{max-height:73vh;object-fit:contain;background:#e9e7df}
.case-text p{margin:1.5rem 0 2rem;max-width:38em;font-size:1.12rem}
.case-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem}
.case-gallery img{aspect-ratio:1.45;object-fit:cover;background:#e9e7df}
.case-gallery figcaption{font-size:.88rem;color:var(--muted);margin-top:.4rem}
.about-block{border-top:1px solid var(--line);display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:2rem;padding:2.8rem 0}
.about-block h2,.lab h2{font-size:clamp(1.8rem,3.5vw,3.3rem)}
.about-block p + p{margin-top:1rem}
.process>div + div{border-top:1px solid var(--line);padding-top:.9rem;margin-top:.9rem}
.process h3{margin:0 0 .25rem;font-size:1.1rem}
.lab{padding:2.4rem 2.65rem;background:var(--dark);color:var(--white);margin-top:1.5rem}
.lab .eyebrow{color:#dac1a4}.lab h2{margin:.45rem 0 .8rem}.lab>p:last-child{max-width:48em}
@media(max-width:760px){.top-inner{min-height:68px}nav{gap:.72rem}nav a{font-size:.82rem}.editorial .section-heading{margin-bottom:1.4rem}.spread,.spread:nth-of-type(2){grid-template-columns:1fr;gap:.75rem;padding:1rem 0}.spread:nth-of-type(2) img,.spread:nth-of-type(2) .card-copy{grid-column:auto;grid-row:auto;padding:0}.spread img{aspect-ratio:1.5}.spread .type{margin-top:.2rem}.read-label{margin-top:.6rem}.page-lead{padding:2.5rem 0 1.6rem}.case-gallery,.about-block{grid-template-columns:1fr;gap:1rem}.about-block{padding:1.9rem 0}.lab{padding:1.4rem}}
@media(max-width:350px){nav{gap:.52rem}nav a{font-size:.75rem}.original{width:92px}}
/* Service and inquiry routes */
.inquiry{padding:2.6rem 0;display:flex;align-items:center;justify-content:space-between;gap:1.25rem;border-top:1px solid var(--line)}.inquiry h2{font-size:clamp(1.65rem,2.8vw,2.7rem);margin:.33rem 0 .55rem}.inquiry p:last-child{color:var(--muted)}.inquiry .button{margin:0;flex:none}.home-services{padding:3.4rem 0}.home-services .section-heading{margin-bottom:1rem}.service-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--line);gap:1.1rem}.service-links a{display:block;padding:.95rem 0;border-bottom:1px solid var(--line);text-underline-offset:.35em;text-decoration-color:#aaa18f}.service-list{padding-bottom:2.4rem}.service-list article{border-top:1px solid var(--line);padding:2.4rem 0;display:grid;align-items:start;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:.45rem 2rem}.service-list .eyebrow{grid-column:1}.service-list h2{grid-column:1;grid-row:2;font-size:clamp(1.55rem,3vw,2.8rem)}.service-list article>p:not(.eyebrow),.service-list a{grid-column:2}.service-list article>p:not(.eyebrow){grid-row:2}.service-list a{margin-top:.45rem;text-underline-offset:.35em}.contact-page{border-top:1px solid var(--line);padding:2.5rem 0 4rem;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:2rem}.contact-page h2{font-size:clamp(1.6rem,3vw,2.5rem);margin:.4rem 0 1rem}.contact-actions{display:flex;align-items:start;flex-direction:column;gap:.7rem}.contact-actions .button{margin:0}.contact-actions .alt{background:transparent;color:var(--ink)}.contact-actions .alt:hover{background:#eae7df}.contact-notes{background:#eeede6;padding:1.4rem 1.65rem}.contact-notes ul{padding-left:1.25rem}.contact-notes p{color:var(--muted)}
@media(max-width:760px){.home-services{padding:2.35rem 0}.inquiry{display:block;padding:2rem 0}.inquiry .button{margin-top:1rem}.service-links,.service-list article,.contact-page{grid-template-columns:1fr}.service-links{gap:0}.service-list article{padding:1.5rem 0}.service-list .eyebrow,.service-list h2,.service-list article>p:not(.eyebrow),.service-list a{grid-column:auto;grid-row:auto}.contact-page{padding:1.8rem 0 2.4rem}}

/* Portfolio cover and editorial rhythm */
:root{--paper:#f5f3ee;--ink:#1e211e;--muted:#51554c;--line:#d4d1c6;--accent:#775027;--dark:#20241f;--white:#f8f6f0}
.top{background:var(--paper);border-bottom:0}.top-inner{min-height:86px}
.cover{position:relative;isolation:isolate;display:grid;align-items:center;min-height:clamp(510px,48vw,720px);background:#232720;color:var(--white);overflow:hidden}
.cover-frame{position:absolute;inset:0;z-index:-1}
.cover-frame img{height:100%;object-fit:cover;object-position:58% 55%}
.cover-frame::after{position:absolute;inset:0;content:"";background:linear-gradient(90deg,rgba(17,20,16,.88),rgba(17,20,16,.64) 35%,rgba(17,20,16,.12) 67%,transparent),linear-gradient(0deg,#1416139e,transparent 25%);}
.cover-frame figcaption{position:absolute;z-index:1;right:max(1.5rem,calc((100% - 1320px)/2));bottom:1.25rem;color:#fff;background:#20241fa8;padding:.28rem .55rem;font-size:.85rem;}
.cover-content{padding:4.1rem 0 4.9rem}
.cover-kicker{font-size:.82rem;font-weight:600;letter-spacing:.22em;color:#ebd8bd}
.cover h1{font-size:clamp(3.6rem,7.8vw,8.15rem);line-height:1.05;letter-spacing:-.045em;margin:1.15rem 0 1.35rem}
.cover-deck{font-size:clamp(1rem,1.55vw,1.28rem);line-height:1.72;max-width:28rem;color:#f0ece4}
.cover-link{margin-top:1.5rem;display:inline-flex;min-height:44px;align-items:center;padding:.45rem 1rem;border:1px solid #f0ece4a8;text-decoration:none;background:#24291f66}
.cover-link:hover{background:#f8f6f0;color:#20241f}
.cover-index{min-height:66px;display:flex;align-items:center;justify-content:space-between;gap:.7rem;border-bottom:1px solid var(--line);color:var(--muted);font-size:.86rem;letter-spacing:.07em}.cover-index span:first-child{color:var(--ink);font-weight:620}
.projects.editorial{padding:clamp(3rem,7vw,6.7rem) 0 5rem;border-top:0}
.editorial .section-heading{align-items:end;margin-bottom:2.85rem}.editorial .section-heading h2{font-size:clamp(2.75rem,6vw,5.7rem);line-height:1.05}
.editorial .section-heading>p{padding-left:1.05rem;border-left:1px solid #937452;margin-bottom:.3rem}
.editorial .spread{margin:0 0 2.25rem;padding:1.85rem 0 0;align-items:center;gap:clamp(1.25rem,5.9vw,6rem)}
.editorial .spread img{aspect-ratio:1.51}.editorial .card-copy{padding:1rem 0}
.editorial .card-copy h3{font-size:clamp(1.7rem,3.25vw,3.3rem);margin:.42rem 0 .55rem}
.editorial .type{font-size:.86rem;letter-spacing:.05em;color:var(--accent)}
.editorial .read-label{margin-top:1.35rem}
.editorial .spread:nth-of-type(2){grid-template-columns:minmax(0,.9fr) minmax(0,1.18fr);padding-top:2.3rem}.editorial .spread:nth-of-type(2) img{aspect-ratio:1.25}.editorial .spread:nth-of-type(2) .card-copy{padding-left:clamp(0rem,4vw,4rem)}
.editorial .spread[data-project=mixed]{background:#e8e5dc;grid-template-columns:minmax(0,.85fr) minmax(0,1fr);border-top:0;padding:clamp(1.4rem,4vw,4rem);gap:clamp(1.2rem,6vw,5.5rem);margin-top:3.35rem}.editorial .spread[data-project=mixed] img{aspect-ratio:4/4.25;object-position:50% 46%;max-height:565px}
.editorial .more{margin-top:0}
.studio-note .studio-inner{padding-top:clamp(3.2rem,7vw,6.8rem);padding-bottom:clamp(3.2rem,7vw,6.8rem);align-items:center}
.studio-note .studio-intro{color:#eeece3}
.case .page-lead,.page-lead{padding-top:clamp(3rem,6vw,5.8rem)}
.case-main{background:#e8e5dc}.case-main img{max-height:77vh}
.contact-notes{background:#eae6dc;border-top:1px solid #a18159}
@media(max-width:760px){.top-inner{min-height:68px}.cover{min-height:590px;align-items:end}.cover-frame img{object-position:60% 45%}.cover-frame::after{background:linear-gradient(0deg,rgba(17,20,16,.93),rgba(17,20,16,.69) 42%,rgba(17,20,16,.16) 70%,transparent)}.cover-content{padding:7rem 0 4.2rem}.cover h1{font-size:clamp(3.15rem,11.9vw,5.5rem)}.cover-frame figcaption{right:18px;bottom:.7rem;font-size:.75rem}.cover-index{flex-wrap:wrap;justify-content:flex-start;padding:.9rem 0;column-gap:1rem}.editorial .section-heading{margin-bottom:1.5rem}.editorial .section-heading>p{margin-top:1rem}.editorial .spread,.editorial .spread:nth-of-type(2),.editorial .spread[data-project=mixed]{grid-template-columns:1fr;gap:.55rem;margin-bottom:1.55rem;padding-top:1.15rem}.editorial .spread:nth-of-type(2) .card-copy{padding-left:0}.editorial .spread[data-project=mixed]{margin-top:2rem;padding:1.1rem}.editorial .card-copy{padding:.45rem 0 .7rem}.editorial .read-label{margin-top:.75rem}.case-main img{max-height:65vh}}
@media(max-width:360px){.cover{min-height:540px}.cover h1{font-size:3rem}.cover-kicker{font-size:.72rem}}


/* Company identity: use the approved transparent lockup without redrawing. */
.top{border-bottom:1px solid var(--line)}
.original{display:inline-flex;align-items:center;gap:.2rem;width:auto;mix-blend-mode:normal}
.original img{width:clamp(114px,13vw,164px);height:auto;display:block}
.original .brand-caption{font-size:.91rem;font-weight:600;letter-spacing:.12em;padding:0 0 0 .75rem;border-left:1px solid var(--line);white-space:nowrap}
@media(max-width:760px){.original img{width:clamp(86px,23vw,115px)}.original .brand-caption{font-size:.72rem;letter-spacing:.08em;padding-left:.45rem}}
@media(max-width:350px){.original img{width:80px}.original .brand-caption{padding-left:.35rem}}

/* Homepage shortcut and temporary design-study navigation */
nav .home-nav{border:1px solid var(--line);padding:.34rem .68rem;line-height:1.4;align-self:center}
.top nav{align-items:center;gap:clamp(.65rem,2.1vw,2rem)}
.top nav a{white-space:nowrap}
.home-nav[aria-current=page]{font-weight:650;text-decoration:none;background:#ece9e0}
.stylebar{background:#ebe8df;border-bottom:1px solid var(--line)}
.stylebar>.wrap{display:flex;align-items:center;gap:1.25rem;min-height:45px}
.stylebar span{white-space:nowrap;font-size:.81rem;font-weight:650;color:var(--muted)}
.stylebar nav{display:flex;gap:.92rem;align-items:center}
.stylebar a{font-size:.8rem;white-space:nowrap;padding:.45rem 0}
.stylebar a[aria-current=page]{text-underline-offset:.3rem}
.spread[data-project=restaurant] img{aspect-ratio:4/3;object-fit:cover;object-position:center}
.project[data-project=restaurant] img{object-fit:contain;background:#231e18}

/* B — a bright gallery wall, not a full-bleed cover */
.study-gallery{background:#fcfcf8;border-bottom:1px solid var(--line)}
.gallery-intro{display:grid;grid-template-columns:1.3fr 1fr;align-items:end;gap:2rem;padding:clamp(2.35rem,6vw,5.75rem) 0 2.5rem}
.gallery-intro h1{font-size:clamp(3rem,7.2vw,7.3rem);margin:.65rem 0 0;line-height:1.03}
.gallery-intro>div:last-child{padding:0 0 .45rem 1.3rem;border-left:1px solid #9d8c76;color:var(--muted)}
.gallery-intro a,.study-tail a,.story-projects .section-heading>a{display:inline-block;margin-top:.65rem;text-underline-offset:.35em}
.gallery-wall{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:1.25rem 1.65rem;padding:1.2rem 0 4rem;border-top:1px solid #c5c2b9}
.gallery-wall a:nth-child(1){grid-row:span 2}
.gallery-wall .project img{aspect-ratio:1.64}
.gallery-wall .project:first-child img{aspect-ratio:1.13}
.gallery-wall .project .card-copy{padding-bottom:.4rem}
.gallery-wall .project[data-project=restaurant] img{background:#211b16}

/* C — dark cover composed around a single real case */
.story-cover{background:#20221e;color:#faf8f0}
.story-cover-inner{min-height:clamp(520px,48vw,680px);padding:clamp(2rem,5vw,4.7rem) 0;display:grid;grid-template-columns:minmax(0, .84fr) minmax(0, 1.4fr);gap:clamp(1.4rem,4vw,4rem);align-items:center;}
.story-text .eyebrow{color:#e1c5a2}
.story-text h1{font-size:clamp(3.3rem,7vw,7.25rem);margin:1rem 0 1.3rem;line-height:1.06;letter-spacing:-.06em}
.story-text>p:not(.eyebrow){color:#e6e1d7;max-width:22em}
.story-cover figure img{aspect-ratio:4/3;object-fit:contain;background:#211b16}
.story-cover figcaption{border-top:1px solid #666256;padding-top:.55rem;margin-top:.45rem;color:#ede4d6;font-size:.85rem}
.story-projects{padding:clamp(2.7rem,6vw,6rem) 0;border-bottom:1px solid var(--line)}
.study-tail{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2rem;padding:3rem 0}
.study-tail h2{font-size:clamp(1.7rem,3vw,3rem);margin:.6rem 0}
.study-tail p:not(.eyebrow){color:var(--muted)}
@media(max-width:760px){
 .top nav{gap:clamp(.4rem,1.8vw,.72rem)}nav .home-nav{padding:.27rem .4rem}.top nav a{font-size:.80rem}
 .stylebar>.wrap{justify-content:space-between;gap:.45rem}.stylebar nav{gap:.65rem}.stylebar span,.stylebar a{font-size:.74rem}
 .gallery-intro,.gallery-wall,.story-cover-inner,.study-tail{grid-template-columns:1fr}.gallery-intro{gap:1.05rem;padding-bottom:1.6rem}.gallery-wall{gap:1.4rem;padding-bottom:2.2rem}.gallery-wall a:nth-child(1){grid-row:auto}.gallery-wall .project:first-child img{aspect-ratio:1.5}
 .story-cover-inner{min-height:0;padding:2.6rem 0 1.9rem}.story-text h1{font-size:clamp(3.05rem,10.8vw,4.8rem)}
 .study-tail{padding:2.2rem 0;gap:1.5rem}
}
@media(max-width:365px){.top nav a{font-size:.73rem}.original .brand-caption{font-size:.68rem}.top nav{gap:.35rem}.stylebar nav{gap:.45rem}.stylebar span,.stylebar a{font-size:.68rem}}

/* Shanghai / Taipei, two offices on equal footing. */
.network{background:#e9e6dc;border-top:1px solid #9d8364;padding:clamp(1.25rem,4vw,3.6rem);display:grid;grid-template-columns:minmax(0,1.07fr) minmax(0,1fr);gap:clamp(1.25rem,4vw,3.75rem);margin-bottom:3rem}
.network h2{margin:.55rem 0 1rem}
.network-intro p:last-child{max-width:33em;line-height:1.85}
.network-cities{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;align-content:end}
.network-cities>div{border-top:1px solid #a89b89;padding-top:.8rem}
.network-cities h3{font-family:"Noto Serif TC","Songti TC","PMingLiU",serif;font-size:clamp(1.7rem,3vw,2.6rem);line-height:1.15;margin:.35rem 0 .8rem}
.network-cities a{text-underline-offset:.27em;font-size:.94rem}
@media(max-width:760px){.network{grid-template-columns:1fr;margin-bottom:2rem}.network h2 br{display:none}.network-cities{gap:.65rem}.network-cities a{font-size:.88rem}}

/* Four covers, laid out around the actual subjects. */
.hero-carousel .cover[hidden],.hero-controls[hidden]{display:none}
.hero-carousel .cover{min-height:clamp(500px,52vw,655px)}
.hero-carousel .cover h2{font-size:clamp(3rem,6.1vw,6.2rem);line-height:1.08;margin:.95rem 0 1rem;letter-spacing:-.045em}
.hero-carousel .cover-link{margin-top:1.1rem}
.hero-carousel .cover-frame img{height:100%;width:100%;object-fit:contain}
.hero-carousel .cover-frame::after{display:none}
.hero-carousel .cover-content{padding:2.6rem 0;min-width:0}
.hero-carousel .cover-content>p,.hero-carousel .cover-content>h2{max-width:100%}
.hero-carousel .cover-frame figcaption{right:auto;left:.7rem;bottom:.65rem;background:#1d211de6}
.hero-carousel .cover-frame{z-index:auto;position:relative;inset:auto;align-self:stretch;min-width:0;min-height:0;display:grid;place-items:center}
.hero-carousel .cover-frame img{max-height:clamp(500px,52vw,655px)}
.hero-carousel .cover{grid-template-columns:minmax(0,.88fr) minmax(0,1.6fr);gap:0;align-items:stretch;}
.hero-carousel .cover-content{width:auto;margin:0;padding:clamp(1.6rem,5vw,5rem);align-self:center}
.hero-carousel .cover--residential{background:#39342e;grid-template-columns:minmax(0,.85fr) minmax(0,1.85fr)}
.cover--residential .cover-content{grid-column:1;grid-row:1}.cover--residential .cover-frame{grid-column:2;grid-row:1;background:#302c27}
.hero-carousel .cover--commercial{background:#34231d;grid-template-columns:minmax(0,1fr) minmax(0,1.7fr)}
.cover--commercial .cover-content{grid-column:1;grid-row:1;align-self:end}.cover--commercial .cover-frame{grid-column:2;grid-row:1;background:#221a17}
.cover--commercial .cover-kicker{color:#f7cda7}
.hero-carousel .cover--architecture,.hero-carousel .cover--planning{grid-template-columns:minmax(0,1.7fr) minmax(0,1fr)}
.hero-carousel .cover--architecture{background:#eceae2;color:#202722}
.cover--architecture .cover-frame,.cover--planning .cover-frame{grid-column:1;grid-row:1;background:#d7ded8}
.cover--architecture .cover-content,.cover--planning .cover-content{grid-column:2;grid-row:1}
.cover--architecture .cover-content{align-self:start}
.cover--architecture .cover-kicker{color:#654729}.cover--architecture .cover-deck{color:#414a43}
.cover--architecture .cover-link{color:#202722;background:transparent;border-color:#657268}.cover--architecture .cover-link:hover{background:#26352b;color:#fff}
.hero-carousel .cover--planning{background:#293931;grid-template-columns:minmax(0,1.88fr) minmax(0,.95fr)}
.cover--planning .cover-frame{background:#182b27}
.cover--planning .cover-content{align-self:end}.cover--planning .cover-kicker{color:#c8e0c4}
.hero-controls{min-height:63px;display:flex;align-items:center;justify-content:space-between;gap:.45rem;border-bottom:1px solid var(--line)}
.hero-types{display:flex;align-items:stretch;gap:clamp(.1rem,2.4vw,2rem)}
.hero-controls button{display:block;background:transparent;min-height:44px;padding:.52rem .78rem;cursor:pointer;color:var(--ink);border:0;white-space:nowrap}
.hero-types button{border-bottom:2px solid transparent}.hero-types button[aria-pressed=true]{border-color:var(--accent);color:var(--accent);font-weight:650}
.hero-controls .hero-play{border:1px solid var(--line);line-height:1}
@media(max-width:850px){
 .hero-carousel .cover{min-height:0;grid-template-columns:1fr;grid-template-rows:auto auto;align-items:stretch}
 .hero-carousel .cover-frame{grid-column:1;grid-row:1;height:auto;aspect-ratio:4/3}
 .hero-carousel .cover-frame img{max-height:none}
 .hero-carousel .cover-content{grid-column:1;grid-row:2;min-height:244px;align-self:start;padding:1.15rem 18px 1.45rem}
 .hero-carousel .cover h2{font-size:clamp(2.2rem,8.4vw,4.5rem);margin:.6rem 0}
 .hero-carousel .cover h2 br{display:none}
 .hero-carousel .cover-deck{font-size:1rem}
 .hero-carousel .cover-frame figcaption{font-size:.74rem}
 .hero-controls{min-height:57px}.hero-controls button{padding:.45rem .56rem;font-size:.9rem}
}
@media(max-width:360px){.hero-controls button{padding:.42rem .43rem;font-size:.82rem}}
@media(min-width:851px){
 .hero-carousel .cover{height:clamp(500px,52vw,655px)}
 .hero-carousel .cover h2{font-size:clamp(2.25rem,4.35vw,5.1rem)}
 .hero-carousel .cover-content{padding-inline:clamp(1.5rem,3.8vw,4.1rem)}
}

/* Full-bleed magazine overlays, one composition per photograph. */
.hero-carousel.has-fades{display:grid;grid-template-columns:minmax(0,1fr);isolation:isolate;background:#262721}
.hero-carousel.has-fades .cover{grid-area:1/1;opacity:0;z-index:0;pointer-events:none;transition:opacity .5s ease-in-out;}
.hero-carousel.has-fades .cover.is-outgoing{z-index:1}
.hero-carousel.has-fades .cover.is-current{opacity:1;z-index:2;pointer-events:auto;}
.hero-carousel.has-fades .hero-controls{grid-area:2/1;z-index:3;}
.hero-carousel.has-fades::after{content:"";grid-area:2/1;background:var(--paper);z-index:2;}
.hero-carousel .cover{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);isolation:isolate;height:clamp(510px,49vw,675px);min-height:0;}
.hero-carousel .cover .cover-frame{position:absolute;inset:0;grid-column:auto;grid-row:auto;display:block;aspect-ratio:auto;z-index:-1;background:#292820}
.hero-carousel .cover .cover-frame img{max-height:none;object-fit:cover;object-position:50% 55%}
.hero-carousel .cover .cover-frame::after{display:block;z-index:0}
.hero-carousel .cover .cover-content{grid-area:1/1;position:relative;width:min(100% - 100px,1320px);margin-inline:auto;padding:clamp(2rem,4.8vw,4.7rem) 0;min-height:0;align-self:center;display:flex;flex-direction:column;align-items:flex-start;}
.hero-carousel .cover h2{color:inherit;text-shadow:0 2px 22px #16191540;font-size:clamp(2.75rem,5.25vw,6rem);}
.hero-carousel .cover .cover-deck{max-width:25rem;color:#fff;line-height:1.55}
.hero-carousel .cover-frame figcaption{left:auto;right:max(16px,calc((100% - 1320px)/2));bottom:1rem}
.hero-carousel .cover--residential .cover-frame img{object-position:50% 57%}
.hero-carousel .cover--residential .cover-frame::after{background:linear-gradient(90deg,#151711e8 0%,#191914aa 25%,#19191425 51%,transparent 66%)}
.hero-carousel .cover--residential .cover-content{align-self:center}
.hero-carousel .cover--commercial .cover-frame img{object-position:52% 47%}
.hero-carousel .cover--commercial .cover-frame::after{background:radial-gradient(ellipse at 0% 100%,#23130cf5 0%,#29160fa6 27%,#33211933 49%,transparent 68%)}
.hero-carousel .cover--commercial .cover-content{align-self:end}
.hero-carousel .cover--architecture{color:#fff;background:#354842}
.hero-carousel .cover--architecture .cover-frame img{object-position:50% 39%}
.hero-carousel .cover--architecture .cover-frame::after{background:radial-gradient(ellipse at 100% 0%,#233832eb 0%,#263a34b3 24%,#23383233 46%,transparent 66%)}
.hero-carousel .cover--architecture .cover-content{align-items:flex-end;text-align:right;align-self:start}
.hero-carousel .cover--architecture .cover-kicker{color:#e7f1e3}
.hero-carousel .cover--architecture .cover-link{color:#fff;border-color:#d9e8ddaa;background:#23383266}
.hero-carousel .cover--architecture .cover-link:hover{color:#202722;background:#fff}
.hero-carousel .cover--planning .cover-frame img{object-position:50% 60%}
.hero-carousel .cover--planning .cover-frame::after{background:radial-gradient(ellipse at 100% 100%,#122b26f7 0%,#172e26ba 28%,#1d352944 49%,transparent 67%)}
.hero-carousel .cover--planning .cover-content{align-items:flex-end;text-align:right;align-self:end}
.hero-carousel .cover--planning .cover-frame figcaption{right:auto;left:max(16px,calc((100% - 1320px)/2))}
@media(max-width:850px){
 .hero-carousel .cover{height:clamp(470px,127vw,645px);min-height:0}
 .hero-carousel .cover .cover-content{width:calc(100% - 36px);padding:1.55rem 0 3.1rem;align-self:end}
 .hero-carousel .cover h2{font-size:clamp(2.25rem,9vw,4.55rem);margin:.55rem 0 .7rem;max-width:21rem}
 .hero-carousel .cover h2 br{display:inline}
 .hero-carousel .cover .cover-deck{max-width:20rem;font-size:.98rem;}
 .hero-carousel .cover-link{margin-top:.75rem;min-height:40px;font-size:.87rem}
 .hero-carousel .cover .cover-frame::after{background:linear-gradient(0deg,#191d16f7 0%,#191d16b8 25%,#191d1642 50%,transparent 72%)}
 .hero-carousel .cover--commercial .cover-frame img{object-position:48% 42%}
 .hero-carousel .cover--commercial .cover-frame::after{background:linear-gradient(0deg,#23140ff7 0%,#23140fb8 24%,#23140f38 49%,transparent 66%)}
 .hero-carousel .cover--architecture .cover-frame::after{background:linear-gradient(180deg,#1e332ff2 0%,#233832ae 24%,#23383226 52%,transparent 71%)}
 .hero-carousel .cover--architecture .cover-content{align-self:start;padding:1.6rem 0 0}
 .hero-carousel .cover--planning .cover-frame::after{background:linear-gradient(0deg,#122b25f7 0%,#192d24ba 25%,#1c3b2d1a 54%,transparent 70%)}
 .hero-carousel .cover-frame figcaption{bottom:.5rem}
}
@media(prefers-reduced-motion:reduce){.hero-carousel.has-fades .cover{transition:none!important}}


/* About reads as one paragraph; contact holds the office details. */
.network{grid-template-columns:1fr}
.network-intro p:last-child{max-width:57em}
.network-contact{margin-top:-.65rem}
.network-contact a,.office-map-link{text-underline-offset:.32em}
.office-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.6rem;padding:1.5rem 0 2.5rem;border-top:1px solid var(--line)}
.office-address{display:grid;grid-template-rows:auto auto auto;gap:.8rem;align-content:start}
.office-head h2{font-size:clamp(1.7rem,3.6vw,2.85rem);margin:.45rem 0 .6rem}
.office-head address{font-style:normal;color:var(--muted)}
.office-address iframe{display:block;width:100%;height:clamp(230px,31vw,356px);border:1px solid var(--line);background:#e8e5db}
.office-map-link{justify-self:start;font-size:.91rem}
@media(max-width:720px){.office-grid{grid-template-columns:1fr;gap:1.8rem}.office-address iframe{height:250px}}

/* Editorial bilingual captions: Chinese leads, English names each section. */
.top nav>a{display:flex;flex-direction:column;gap:.13rem;text-align:center;min-height:44px;justify-content:center;line-height:1.15}
.nav-en{font-size:.64rem;color:var(--muted);letter-spacing:.07em;line-height:1.2;font-weight:500}
.top nav a[aria-current=page] .nav-en{text-decoration:none}
.hero-carousel .cover-en{margin:-.2rem 0 .68rem;color:#f5eadb;font-family:Georgia,serif;font-style:italic;font-size:clamp(1.05rem,1.7vw,1.48rem);letter-spacing:.015em;text-shadow:0 1px 8px #141711a0}
.project-en,.case-en{display:block;letter-spacing:.09em;color:var(--accent);font-size:.76rem;font-weight:600;line-height:1.5}
.case-en{margin:-.2rem 0 .75rem}
.case .page-lead .lead{margin-top:.2rem}
.office-grid{grid-template-columns:1fr;gap:1.65rem}
.office-address{grid-template-columns:minmax(0,.75fr) minmax(0,1.55fr);grid-template-rows:auto 1fr;align-content:start;align-items:start;column-gap:clamp(1rem,4vw,3.6rem);row-gap:.85rem}
.office-address+.office-address{border-top:1px solid var(--line);padding-top:1.65rem}
.office-head{grid-area:1/1}
.office-address iframe{grid-area:1/2/3/3;height:clamp(240px,30vw,346px)}
.office-map-link{grid-area:2/1;align-self:start}
@media(max-width:720px){.office-address{grid-template-columns:1fr;grid-template-rows:auto auto auto}.office-head{grid-area:auto}.office-address iframe{grid-area:auto;height:248px}.office-map-link{grid-area:auto}.hero-carousel .cover-en{margin:0 0 .45rem}}
@media(max-width:530px){.nav-en{display:none}}

/* Migrated collection, organized by the original six disciplines. */
.collection-count{font-size:.9rem;color:var(--muted);margin:0 0 1.15rem}
.collection-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:2.25rem 1.35rem}
.collection-grid .collection-card img{aspect-ratio:1.55;object-fit:cover}
.collection-grid .collection-card img[alt="角頭燒肉酒場外立面"]{object-fit:contain;background:#241d16}
.collection-grid .card-copy h3{font-size:clamp(1.1rem,1.78vw,1.65rem)}
.gallery-title{margin:2.8rem 0 1.1rem;font-size:clamp(1.45rem,3vw,2.25rem)}
.gallery-title small{font-size:.77rem;font-family:system-ui,sans-serif;color:var(--accent);letter-spacing:.08em;margin-left:.55rem}
.archive-gallery{margin:1.1rem 0 .3rem}
.archive-gallery img{object-fit:contain;aspect-ratio:auto;max-height:650px}
.archive-gallery figure a{display:block}
.case-main+ .archive-gallery{margin-top:1.5rem}
.office-tel{display:inline-block;margin-top:.55rem;text-underline-offset:.3em}
.office-hours{font-size:.94rem;margin-top:1rem;color:var(--muted)}
.business-email{overflow-wrap:anywhere}
@media(max-width:850px){.collection-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.65rem 1rem}}
@media(max-width:520px){.collection-grid{grid-template-columns:1fr}.collection-grid .collection-card img{aspect-ratio:1.5}}

/* Homepage: large photographs, narrow captions and deliberately varied compositions. */
.folio-section{border-top:0;padding-block:clamp(3.4rem,7.8vw,8rem)}
.folio-heading{display:flex;align-items:end;justify-content:space-between;gap:1rem 2rem;border-bottom:1px solid var(--line);padding-bottom:clamp(1rem,2.5vw,2.05rem);margin-bottom:clamp(1.4rem,4vw,3.6rem)}
.folio-heading h2{font-size:clamp(2.6rem,5.4vw,5.2rem);margin-top:.52rem}
.folio-heading>p{color:var(--muted)}
.folio{margin:0 0 clamp(2.6rem,7.3vw,7.45rem);min-width:0}
.folio-image{display:block;min-width:0;overflow:hidden;background:#e5e1d7}
.folio-image img{width:100%;height:auto;transition:filter .25s ease}
.folio-image:is(:hover,:focus-visible) img{filter:brightness(.94)}
.folio-type{font-size:.85rem;color:var(--accent);letter-spacing:.09em}
.folio-copy h3{font-family:"Noto Serif TC","Songti TC","PMingLiU",serif;font-weight:600;line-height:1.13;letter-spacing:-.036em;font-size:clamp(1.85rem,3.1vw,3.3rem);margin:.55rem 0 .45rem}
.folio-en{font-size:.79rem;letter-spacing:.12em;color:var(--muted)}
.folio-note{font-size:1rem;line-height:1.85;color:var(--muted);max-width:23rem}
.folio-link{display:inline-flex;flex-wrap:wrap;align-items:baseline;gap:.2rem .65rem;padding:.48rem 0 .32rem;border-bottom:1px solid currentColor;text-decoration:none;font-size:1rem;line-height:1.45}
.folio-link:hover{color:var(--accent)}
.folio-link small{font-family:Georgia,serif;font-style:italic;font-size:.92rem;color:var(--muted)}
.folio--residence .folio-image img{aspect-ratio:1.93;object-fit:cover;object-position:50% 58%}
.folio--residence .folio-copy{display:grid;grid-template-columns:minmax(0,1fr) minmax(13.5rem,.5fr);column-gap:2rem;margin-top:clamp(1rem,2.7vw,2.3rem)}
.folio--residence .folio-note{grid-column:2;grid-row:1/4}
.folio--residence .folio-link{justify-self:start;grid-column:2}
.folio--restaurant{display:grid;grid-template-columns:minmax(0,.7fr) minmax(0,1.55fr);gap:clamp(1.5rem,5.5vw,6rem);align-items:center;padding-top:clamp(1.5rem,4vw,4rem);border-top:1px solid var(--line)}
.folio--restaurant .folio-image{grid-area:1/2}
.folio--restaurant .folio-copy{grid-area:1/1}
.folio--restaurant .folio-note,.folio--mixed .folio-note{margin:.9rem 0 .45rem}
.folio--mixed{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1fr);gap:clamp(1.4rem,5vw,5rem);align-items:center;padding:clamp(1rem,3.8vw,3.75rem);background:#eeece4;margin-bottom:clamp(1.7rem,4vw,3.5rem)}
.folio--mixed .folio-image img{max-height:clamp(19rem,35vw,35rem);object-fit:contain}
.folio-end{display:flex;justify-content:flex-end}
.hero-carousel .cover--clubhouse .cover-frame img{object-position:57% 47%}
.hero-carousel .cover--clubhouse .cover-frame::after{background:linear-gradient(78deg,#102a26ef 0%,#102a2699 21%,#12352f1e 51%,transparent 68%)}
.hero-carousel .cover--clubhouse .cover-content{align-self:end}
.hero-carousel .cover--library .cover-frame img{object-position:50% 58%}
.hero-carousel .cover--library .cover-frame::after{background:radial-gradient(ellipse at 0% 0%,#122a42f7 0%,#16324cb9 25%,#16324c29 50%,transparent 70%)}
.hero-carousel .cover--library .cover-content{align-self:start}
.hero-carousel .cover--library .cover-kicker{color:#dcecfb}
.hero-carousel .cover--library .cover-link{background:#10243b77}
.hero-carousel .cover--library .cover-link:hover{background:#f8f6f0;color:#20241f}
@media(max-width:850px){
 .hero-carousel .cover--clubhouse .cover-frame img{object-position:73% 50%}
 .hero-carousel .cover--clubhouse .cover-frame::after{background:linear-gradient(0deg,#102a26f7 0%,#102a26ae 27%,#12352f1a 53%,transparent 70%)}
 .hero-carousel .cover--library .cover-frame::after{background:linear-gradient(180deg,#142d45f0 0%,#142d45a0 25%,#142d4518 51%,transparent 68%)}
 .hero-carousel .cover--library .cover-content{align-self:start;padding:1.6rem 0 0}
}
@media(max-width:760px){
 .folio-heading{display:grid}
 .folio--residence .folio-image img{aspect-ratio:1.51}
 .folio--residence .folio-copy{display:block}
 .folio--residence .folio-note{margin:.75rem 0 .4rem}
 .folio--restaurant,.folio--mixed{grid-template-columns:1fr;gap:.9rem}
 .folio--restaurant .folio-image,.folio--restaurant .folio-copy{grid-area:auto}
 .folio--mixed .folio-image img{max-height:23rem}
}
@media(max-width:520px){
 .hero-controls{gap:.42rem}
 .hero-types{flex:1;min-width:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 .15rem}
 .hero-controls .hero-types button{padding-inline:.13rem}
 .hero-controls .hero-play{flex:none}
}

/* Theme comparison: one site and unchanged project photographs. */
.theme-toggle{min-height:44px;min-width:44px;display:inline-flex;align-items:center;justify-content:center;gap:.38rem;padding:0 .55rem;border:1px solid var(--line);background:transparent;color:var(--ink);font-size:.81rem;white-space:nowrap;cursor:pointer}
.theme-toggle[hidden]{display:none}
.theme-toggle:hover{border-color:var(--accent);color:var(--accent)}
.theme-toggle svg{display:block;width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.theme-toggle .theme-sun,[data-theme=dark] .theme-toggle .theme-moon{display:none}
[data-theme=dark] .theme-toggle .theme-sun{display:block}
:root[data-theme=dark]{color-scheme:dark;--paper:#191a18;--ink:#f1ece2;--muted:#c4bdb0;--line:#48463f;--accent:#e1ba90;--dark:#252522;--white:#f5eee3}
[data-theme=dark] .top{background:#1d1e1b}
[data-theme=dark] .brand img{filter:invert(1) brightness(.93)}
[data-theme=dark] .home-nav[aria-current=page]{background:#30302a}
[data-theme=dark] .cover-index,[data-theme=dark] .folio-heading{border-color:#514a3f}
[data-theme=dark] .folio--mixed,[data-theme=dark] .network,[data-theme=dark] .contact-notes{background:#262620}
[data-theme=dark] .folio-image,[data-theme=dark] .project img,[data-theme=dark] .case-main,[data-theme=dark] .office-address iframe{background:#282823}
[data-theme=dark] .studio,[data-theme=dark] .lab{background:#24241f;border-block:1px solid #48443a}
[data-theme=dark] .inquiry .button,[data-theme=dark] .contact-actions .button:not(.alt),[data-theme=dark] .filters button[aria-pressed=true]{border-color:#debd97;background:#debd97;color:#211c16}
[data-theme=dark] .inquiry .button:hover,[data-theme=dark] .contact-actions .button:not(.alt):hover{background:#edd2af}
[data-theme=dark] .contact-actions .button.alt{border-color:var(--line)}
[data-theme=dark] .contact-actions .button.alt:hover{background:#36342e}
[data-theme=dark] a:focus-visible,[data-theme=dark] button:focus-visible{outline-color:#e1ba90}
[data-theme=dark] .skip:focus{color:#191a18}
@media(max-width:700px){.theme-toggle{padding:0}.theme-toggle>span{display:none}}
@media(max-width:420px){.top-inner{column-gap:.3rem}.top nav{gap:.27rem}.top .brand{min-width:0}.top .brand img{max-width:53px}.top .brand-caption{white-space:nowrap}.theme-toggle{min-width:38px}.top nav .home-nav{padding-inline:.32rem}}
@media(max-width:365px){.top .brand{width:auto}.top .brand img{max-width:66px}}

/* Case notes sit between the lead photograph and the project gallery. */
.case-story{margin:clamp(2.1rem,5.4vw,5.15rem) 0 clamp(2rem,5vw,4rem);padding:clamp(1.3rem,3vw,2.65rem) 0 0;border-top:1px solid var(--line);display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.2fr);gap:1rem clamp(2rem,8vw,7rem);align-items:start}
.case-story h2{margin-top:.55rem;font-size:clamp(1.7rem,3.5vw,3.35rem);line-height:1.24}
.case-story-text{color:var(--muted);line-height:1.9;font-size:clamp(1rem,1.35vw,1.15rem);max-width:37rem;text-wrap:pretty}
.case-story-text p+p{margin-top:.85em}
@media(max-width:720px){.case-story{grid-template-columns:1fr}.case-story-text{max-width:none}}

/* The homepage selector is a single row of six touch-friendly dashes. */
.hero-carousel .hero-controls{position:relative;justify-content:center;min-height:46px}
.hero-carousel .hero-types{flex:0 1 auto;width:min(100%,18.5rem);display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:0;margin-inline:auto}
.hero-carousel .hero-types button{border:0;display:grid;place-items:center;padding:0 .25rem;min-width:0}
.hero-carousel .hero-types button span{width:100%;max-width:1.65rem;height:2px;border-radius:2px;background:#918a7d}
.hero-carousel .hero-types button[aria-pressed=true] span{background:var(--accent);height:3px}
[data-theme=dark] .hero-carousel .hero-types button:not([aria-pressed=true]) span{background:#71695e}
.hero-carousel .hero-controls .hero-play-quiet:not(:focus-visible){position:absolute;width:1px;height:1px;min-height:0;min-width:0;margin:-1px;padding:0;overflow:hidden;white-space:nowrap;clip-path:inset(50%);border:0}
.hero-carousel .hero-controls .hero-play-quiet:focus-visible{position:absolute;z-index:2;right:0;background:var(--paper)}

/* Compact carousel markers, with tap targets independent of the lines. */
.hero-carousel .hero-types{width:min(100%,10.5rem)}
.hero-carousel .hero-types button span{max-width:.98rem;height:2px}
.hero-carousel .hero-types button[aria-pressed=true] span{height:2px}

/* One indicator below the entire bilingual link, not below each text line. */
.top nav>a{position:relative;height:44px}
.top nav>a[aria-current=page]{text-decoration:none;font-weight:inherit}
.top nav>a[aria-current=page]::after{content:"";position:absolute;left:50%;bottom:0;transform:translateX(-50%);width:1.2rem;height:1px;background:var(--accent);pointer-events:none}

@media(max-width:540px) and (orientation:portrait){
 .top .brand img{width:clamp(82px,23vw,122px);max-width:none;flex:none}
}

/* Hold the restaurant's lettering in the crop on both orientations. */
.hero-carousel .cover--commercial .cover-frame img{object-position:38% 0%}
@media(max-width:850px){
 .hero-carousel .cover--commercial .cover-frame img{object-position:31% 26%}
}
@media(min-width:851px){
 .hero-carousel .cover--commercial .cover-content{align-items:flex-end;text-align:right}
 .hero-carousel .cover--commercial .cover-frame::after{background:radial-gradient(ellipse at 100% 100%,#23130cf5 0%,#29160faa 24%,#33211928 46%,transparent 65%)}
}
@media(min-width:2200px){.hero-carousel .cover--commercial .cover-frame img{object-fit:contain;background:#231b17}}

/* Site chrome remains available while browsing project content. */
html{scroll-padding-top:79px}
.top{position:sticky;top:0;z-index:10;background:var(--paper)}
.skip:focus{position:fixed;top:.4rem;left:.4rem;z-index:20}
.footer{align-items:start}
.footer-brand{display:grid;gap:.2rem}
.footer-copyright{font-size:.82rem;line-height:1.5}
@media(max-width:760px){html{scroll-padding-top:69px}}
@media(max-width:600px) and (orientation:portrait){
 .top .brand-caption{display:none}
}

/* A single disclosure on phones; the same links remain inline on wider screens. */
.nav-toggle{display:none}
.contact-social{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:min(100%,19rem);gap:.65rem}
.contact-social .social-link{display:flex;align-items:center;justify-content:center;min-height:44px;text-align:center;padding-inline:.5rem}
@media(max-width:600px) and (orientation:portrait){
 .top.nav-enhanced .nav-toggle:not([hidden]){display:inline-flex;align-items:center;gap:.38rem;min-height:44px;padding:.2rem 0 .2rem .65rem;border:0;background:none;color:var(--ink);cursor:pointer}
 .nav-toggle svg{height:20px;width:20px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round}
 .top.nav-enhanced:not(.nav-is-open) #primary-nav{display:none}
 .top.nav-enhanced #primary-nav{position:absolute;top:100%;right:0;width:min(100%,21rem);display:flex;flex-direction:column;align-items:stretch;padding:.5rem 18px .8rem;gap:0;border:1px solid var(--line);border-top:0;background:var(--paper);box-shadow:0 12px 22px #0002;max-height:calc(100vh - 69px);max-height:calc(100dvh - 69px);overflow:auto}
 .top.nav-enhanced #primary-nav>a{flex-direction:row;align-items:center;justify-content:space-between;min-height:44px;height:auto;padding:.5rem .15rem;font-size:1rem;border-bottom:1px solid var(--line)}
 .top.nav-enhanced #primary-nav>a[aria-current=page]{color:var(--accent)}
 .top.nav-enhanced #primary-nav>a::after{content:none}
 .top.nav-enhanced #primary-nav .nav-en{display:inline;font-size:.7rem}
 .top.nav-enhanced #primary-nav .theme-toggle{align-self:start;margin-top:.65rem;padding:0 .65rem}
 .top.nav-enhanced #primary-nav .theme-toggle>span{display:inline}
}

/* Three scales, three compositions: storefront, civic building, urban aerial. */
.folio--library .folio-image img{width:100%;aspect-ratio:1.91;object-fit:cover;object-position:center}
.folio--library .folio-copy{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.75fr);gap:0 clamp(1rem,6vw,5rem);margin-top:clamp(1.1rem,3vw,2.6rem)}
.folio--library .folio-note{grid-column:2;grid-row:1/4}
.folio--library .folio-link{grid-column:2;justify-self:start}
.folio--planning{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,.8fr);align-items:center;gap:clamp(1.2rem,5vw,5rem);padding:clamp(1rem,3.4vw,3.45rem);background:#eeece4;margin-bottom:clamp(1.7rem,4vw,3.5rem)}
[data-theme=dark] .folio--planning{background:#262620}
.folio--planning .folio-note{margin:.8rem 0 .45rem}
@media(max-width:760px){
 .folio--library .folio-copy{display:block}
 .folio--library .folio-note{margin:.75rem 0 .35rem}
 .folio--planning{grid-template-columns:1fr}
}

/* The twin-tower dusk image places the editorial text away from the taller tower. */
.hero-carousel .cover--architecture .cover-frame img{object-position:48% 39%}
@media(min-width:851px){
 .hero-carousel .cover--architecture .cover-frame::after{background:radial-gradient(ellipse at 100% 0%,#202c30ee 0%,#202c30af 23%,#202c302a 42%,transparent 61%)}
}
@media(max-width:850px){
 .hero-carousel .cover--architecture .cover-frame img{object-position:44% 48%}
 .hero-carousel .cover--architecture .cover-frame::after{background:linear-gradient(0deg,#17252ef9 0%,#17252ec0 23%,#17252e20 53%,transparent 71%)}
 .hero-carousel .cover--architecture .cover-content{align-self:end;align-items:flex-start;text-align:left;padding:1.55rem 0 3.1rem}
}
