/* Language-specific line lengths; shared design remains unchanged. */
.hero h1{font-size:clamp(48px,5.8vw,86px)}
.hero-word-slot::before{content:"a conversation"}
.hero-word-slot{margin-left:.08em!important}
.hero .eyebrow{font-size:10px;letter-spacing:.06em}
.site-nav-links{gap:clamp(20px,3vw,46px)}
.case-story-page .project-top .case-header h1{font-size:clamp(28px,2.7vw,39px)}
.case-story-fact{flex-wrap:wrap;gap:3px 7px}
.project-summary .case-story-fact{max-width:180px}
@media(max-width:760px){.hero h1{font-size:clamp(36px,6.5vw,54px)}}
@media(max-width:640px){.hero h1{font-size:clamp(34px,8.6vw,52px)}.hero h1>span:last-child{white-space:normal}.site-nav{gap:10px}.site-nav-links{gap:18px;font-size:10px}}
@media(max-width:360px){.hero h1{font-size:29px}.site-nav-links{gap:13px}}

/* Restore the expressive scale of the opening statement. */
.hero h1{font-size:clamp(62px,7.7vw,112px);line-height:1.02}
@media(min-width:641px) and (max-width:1000px){.hero h1{font-size:clamp(48px,6.2vw,62px)}}
@media(max-width:640px){.hero h1{font-size:clamp(34px,10.6vw,60px);line-height:1.05}}
@media(max-width:360px){.hero h1{font-size:34px}}

.case-story-media.compact-spreads>.concept-sheet{grid-column:1/-1;max-width:1000px;justify-self:center}

/* Preserve the complete cover composition in the card. */
#case-new-town .portfolio-card-image{object-fit:contain;background:#fff}

/* Concept and district identities side by side; map below at a readable scale. */
.case-story-media.town-concept-pair>.case-figure{grid-column:auto;max-width:none}
.case-story-media.town-concept-pair>.town-map-sheet:last-child{grid-column:1/-1;max-width:1000px;justify-self:center}
@media(max-width:700px){.case-story-media.town-concept-pair>.town-map-sheet:last-child{grid-column:auto;max-width:none}}

/* Make narrative emphasis clearly visible in the English typography. */
.case-story-page .case-story-copy strong{font-weight:600;color:var(--ink)}

/* New Town: a consistent two-column sheet grid with full-width maps. */
.new-town-project .case-story-media.compact-spreads{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 24px;align-items:start}
.new-town-project .case-story-media.compact-spreads>.case-figure{grid-column:auto;max-width:none;width:100%;margin:0}
.new-town-project .case-story-media .case-image-link{aspect-ratio:4/3;background:#fff;display:flex;align-items:center;justify-content:center;border:1px solid #e4e6e0;border-radius:5px}
.new-town-project .case-story-media .case-image-link img{display:block;width:100%;height:100%;max-height:100%;object-fit:contain}
.new-town-project .case-story-media figcaption{min-height:44px;align-items:start;padding-top:10px}

.new-town-project .case-story-media.compact-spreads>.town-map-sheet:last-child{grid-column:1/-1;max-width:none;width:100%}
.new-town-project .town-map-sheet .case-image-link{aspect-ratio:3/2}
.new-town-project section[aria-labelledby="new-town-story-3"] .case-story-media>.case-figure:last-child{grid-column:1/-1;max-width:none;width:100%}
.new-town-project section[aria-labelledby="new-town-story-3"] .case-story-media>.case-figure:last-child .case-image-link{aspect-ratio:2/1}
@media(max-width:700px){.new-town-project .case-story-media.compact-spreads{grid-template-columns:1fr;gap:22px}.new-town-project .case-story-media.compact-spreads>.town-map-sheet:last-child,.new-town-project section[aria-labelledby="new-town-story-3"] .case-story-media>.case-figure:last-child{grid-column:auto}.new-town-project .case-story-media figcaption{min-height:0}.new-town-project .case-story-media .case-image-link{aspect-ratio:auto}.new-town-project .case-story-media .case-image-link img{height:auto}.new-town-project .town-map-sheet .case-image-link,.new-town-project section[aria-labelledby="new-town-story-3"] .case-story-media>.case-figure:last-child .case-image-link{aspect-ratio:auto}}

/* A stronger opening statement on the homepage. */
.hero-intro{max-width:1000px}
.hero h1{max-width:1000px;font-size:clamp(70px,8.7vw,132px);line-height:1.01}
@media(min-width:641px) and (max-width:1000px){.hero h1{font-size:clamp(52px,6.8vw,68px)}}
@media(max-width:640px){.hero h1{font-size:clamp(36px,11.6vw,64px);line-height:1.05}}
@media(max-width:360px){.hero h1{font-size:36px}}

/* Stable intrinsic sizing in Safari as well as Chromium. */
.new-town-project .case-story-media .case-image-link{position:relative;display:block;overflow:hidden;aspect-ratio:4/3}
.new-town-project .case-story-media .case-image-link img{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain}
.new-town-project .town-map-sheet .case-image-link{aspect-ratio:3/2}
.new-town-project section[aria-labelledby="new-town-story-3"] .case-story-media>.case-figure:last-child .case-image-link{aspect-ratio:2/1}
@media(max-width:700px){.new-town-project .case-story-media .case-image-link,.new-town-project .town-map-sheet .case-image-link,.new-town-project section[aria-labelledby="new-town-story-3"] .case-story-media>.case-figure:last-child .case-image-link{aspect-ratio:auto}.new-town-project .case-story-media .case-image-link img{position:static;width:100%;height:auto;max-height:none}}

/* Match sheet heights using their own proportions, without letterboxed frames. */
@media(min-width:701px){
 .new-town-project .case-story-media.town-concept-pair{grid-template-columns:minmax(0,1.41556fr) minmax(0,.90761fr)}
 .new-town-project section[aria-labelledby="new-town-story-2"] .case-story-media{grid-template-columns:minmax(0,1.28338fr) minmax(0,1.30464fr)}
 .new-town-project section[aria-labelledby="new-town-story-3"] .case-story-media{grid-template-columns:minmax(0,1.41494fr) minmax(0,1.39901fr)}
}
.new-town-project .case-story-media .case-image-link,.new-town-project .town-map-sheet .case-image-link,.new-town-project section[aria-labelledby="new-town-story-3"] .case-story-media>.case-figure:last-child .case-image-link{display:block;aspect-ratio:auto;border:0;border-radius:4px;height:auto;overflow:hidden;background:#fff}
.new-town-project .case-story-media .case-image-link img{position:static;display:block;width:100%;height:auto;max-height:none;max-width:100%;object-fit:contain}
.new-town-project .case-story-media figcaption{min-height:40px}

/* Match the Russian opening scale and make the descriptor readable. */
.hero-intro{max-width:1080px}
.hero h1{max-width:1080px;font-size:clamp(70px,10.5vw,154px);line-height:.9}
.hero .eyebrow{font-size:13px;line-height:1.55;letter-spacing:.065em;max-width:80ch}
@media(min-width:641px) and (max-width:1000px){.hero h1{font-size:clamp(56px,7.4vw,74px)}}
@media(max-width:640px){.hero h1{font-size:clamp(38px,12vw,66px);line-height:1.02}.hero .eyebrow{font-size:11px;letter-spacing:.045em}}
@media(max-width:360px){.hero h1{font-size:38px}}
