/* Names may wrap between words, never within the name itself. */
.and-project-story .and-story-heading h1{overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important}
.and-long-project-title .and-story-heading{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)}
.and-long-project-title .and-story-heading h1{font-size:clamp(42px,4.8vw,76px)!important;letter-spacing:-.025em}
.and-fixed-case-color .mode-toggle{display:none!important}
.and-fixed-case-color .studio-main,.and-fixed-case-color .and-story-opening,.and-fixed-case-color .and-story-content,.and-fixed-case-color .and-story-delivery,.and-fixed-case-color .and-story-next{background:transparent!important}
.and-fixed-case-color .and-story-flat{background:var(--paper)!important}
.and-fixed-case-color .and-story-heading,.and-fixed-case-color .and-story-content,.and-fixed-case-color .and-story-delivery,.and-fixed-case-color .and-story-next{color:var(--ink)}
.and-roest-expanded .and-roest-intro{max-width:880px;margin:0 auto;padding:clamp(48px,7vw,96px) 0;font:clamp(18px,2vw,24px)/1.6 'ANEWDAY Roboto',sans-serif}
.and-roest-expanded .and-roest-intro p{margin:0}
.and-roest-expanded .and-roest-section{max-width:1440px;margin:clamp(56px,7vw,104px) auto 24px}
.and-roest-section h2{font:400 clamp(28px,3vw,42px)/1.15 'ANEWDAY Oswald',sans-serif;margin:0;text-transform:uppercase;text-wrap:balance}
.and-roest-grid{display:grid;gap:clamp(12px,2vw,28px);width:100%;max-width:1440px;margin:24px auto;align-items:center}
.and-roest-grid>.wp-block-group__inner-container{display:contents}
.and-roest-two{grid-template-columns:repeat(2,minmax(0,1fr))}
.and-roest-three{grid-template-columns:repeat(3,minmax(0,1fr))}
.and-roest-asymmetric{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)}
.and-roest-grid figure{margin:0;min-width:0}
.and-roest-grid img{display:block;width:100%;height:auto;object-fit:contain}
.and-roest-grid video{max-height:none!important}
.and-roest-wide{max-width:1440px;margin:24px auto}
.and-roest-wide img{display:block;width:100%;height:auto}
.and-roest-inset{width:76%;max-width:1000px;margin:clamp(24px,4vw,56px) auto}
.and-roest-inset img{display:block;width:100%;height:auto}
.and-roest-expanded .and-roest-grid .wp-block-image:has(img[src*="1823-2"]){padding:clamp(16px,4vw,64px)}
@media(max-width:760px){
 .and-long-project-title .and-story-heading{grid-template-columns:1fr}
 .and-long-project-title .and-story-heading h1{font-size:clamp(36px,9.5vw,64px)!important}
 .and-roest-three{grid-template-columns:repeat(2,minmax(0,1fr))}
 .and-roest-three>div>figure:last-child:nth-child(odd){grid-column:1/-1;width:64%;justify-self:center}
 .and-roest-asymmetric{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}
 .and-roest-inset{width:100%}
 .and-roest-intro{padding-inline:0}
}
@media(max-width:400px){.and-roest-two{gap:10px}.and-roest-section h2{font-size:28px}}

.and-fixed-case-color .toolbar.sticky-nav[data-logo-tone="default"] .nav-wave path{fill:var(--ink)!important}
.studio-project h3{overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important}
/* Editorial hierarchy checked against 66_Designsystem/source.css: 16px body,
   18px secondary text, 36px Oswald reference titles, 12px Mono labels. */
.example-site .and-project-story .and-story-heading .and-story-headline{font-family:'ANEWDAY Roboto',sans-serif;font-size:18px!important;line-height:1.6;font-weight:400;text-transform:none;letter-spacing:0;max-width:32ch;padding-bottom:3px;text-wrap:balance}
.example-site .and-project-story .and-story-copy p{font-size:16px;line-height:1.7;max-width:58ch}
.example-site.and-roest-expanded .and-roest-intro{width:100%;max-width:58ch;font:400 16px/1.7 'ANEWDAY Roboto',sans-serif;padding-block:clamp(48px,7vw,96px)}
.and-roest-expanded .and-roest-section{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:48px;align-items:start}
.and-roest-expanded .and-roest-section>.wp-block-group__inner-container{display:contents}
.and-roest-expanded .and-roest-section h2{font-size:36px;line-height:1.15}
.and-roest-expanded .and-roest-section p{font:400 16px/1.7 'ANEWDAY Roboto',sans-serif;max-width:58ch;margin:0}
.and-roest-grid{align-items:stretch}
.and-roest-grid figure{aspect-ratio:var(--and-row-format,16/9);overflow:hidden;width:100%}
.and-roest-grid figure>img,.and-roest-grid figure>video{width:100%!important;height:100%!important;object-fit:cover!important;max-height:none!important}
.and-roest-film-feature{width:100vw;max-width:none;margin:24px calc(50% - 50vw)}
.and-roest-film-feature video{width:100%!important;height:auto!important;max-height:none!important;aspect-ratio:auto!important}
.and-case-related{width:100%;max-width:1440px;margin:0 auto;padding:clamp(64px,8vw,112px) 0}
.and-case-related>h2{font:400 12px/1.6 'ANEWDAY Roboto Mono',monospace;margin:0 0 28px;color:var(--muted);letter-spacing:.02em}
.and-case-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.and-case-related-card{display:block!important;min-width:0;text-decoration:none!important}
.and-case-related-visual{aspect-ratio:4/3;overflow:hidden;background:#111}
.and-case-related-visual img{display:block;width:100%;height:100%;object-fit:cover;transition:transform 600ms cubic-bezier(.22,1,.36,1)}
.and-case-related-title{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:20px}
.and-case-related-title h3{font:400 36px/1.15 'ANEWDAY Oswald',sans-serif;text-transform:uppercase;letter-spacing:0;margin:0;text-wrap:balance;overflow-wrap:normal;word-break:normal}
.and-case-related-title svg{width:24px;height:24px;flex-shrink:0}
.and-case-related-card:focus-visible{outline:2px solid var(--ink);outline-offset:6px}
@media(hover:hover){.and-case-related-card:hover .and-case-related-visual img{transform:scale(1.035)}}
@media(max-width:760px){
 .example-site .and-project-story .and-story-heading .and-story-headline{font-size:18px!important}
 .and-roest-expanded .and-roest-section{grid-template-columns:1fr;gap:16px}
 .and-roest-expanded .and-roest-section h2{font-size:28px}
 .and-case-related-grid{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:82%;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:16px;scrollbar-width:thin}
 .and-case-related-card{scroll-snap-align:start}
 .and-case-related-title h3{font-size:28px}
}
@media(prefers-reduced-motion:reduce){.and-case-related-visual img{transition:none}}

/* Brand colour ends at the delivery rule; shared closing area follows saved theme. */
.and-fixed-case-color .and-case-related,.and-fixed-case-color .studio-footer{--paper:#0f0f0f;--canvas:#0f0f0f;--ink:#f7f7f5;--muted:#ababaa;--line:#424242;background:var(--paper)!important;color:var(--ink)!important;box-shadow:0 0 0 100vmax var(--paper);clip-path:inset(0 -100vmax)}
:root[data-theme=light] .and-fixed-case-color .and-case-related,:root[data-theme=light] .and-fixed-case-color .studio-footer{--paper:#f7f7f3;--canvas:#f7f7f3;--ink:#0f0f0f;--muted:#61615e;--line:#d6d6d0}
.and-fixed-case-color .toolbar[data-and-neutral-closing=true]{--ink:#f7f7f5;--muted:#ababaa;--line:#424242;color:var(--ink)}
:root[data-theme=light] .and-fixed-case-color .toolbar[data-and-neutral-closing=true]{--ink:#0f0f0f;--muted:#61615e;--line:#d6d6d0}
.and-fixed-case-color .toolbar[data-and-neutral-closing=true] .nav-wave path{fill:var(--ink)!important}
