/* SODA audit: scoped corrections; preserve approved artwork and palette. */
main :is(h1,h2,h3,p,li,figcaption){word-break:normal;overflow-wrap:normal;hyphens:none}
main :is(h1,h2,h3){text-wrap:balance}
main :is(p,figcaption){text-wrap:pretty}
#soda-generation-strip:is(:hover,:focus-within) .case-track{animation-play-state:paused}
html body .soda-gallery-controls{gap:16px}
html body .soda-gallery-controls button{position:relative;display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;border:0;border-radius:50%;box-shadow:none;background:#373737;color:#f4f4f5;font-size:0;opacity:1}
html body .soda-gallery-controls button:disabled{background:#4a4a4a;color:#c9c9cc;opacity:1}
html body .soda-gallery-controls button:hover:not(:disabled){background:#454545}
html body .soda-gallery-controls button:active:not(:disabled){background:#505050}
html body .soda-gallery-controls button::before{content:"";width:14px;height:20px;background:currentColor;clip-path:polygon(0 0,20% 0,100% 50%,20% 100%,0 100%,78% 50%)}
html body .soda-gallery-controls button:first-child::before{transform:rotate(180deg)}
html body .soda-gallery-controls button:focus-visible{outline:3px solid var(--ink);outline-offset:4px}
@media(max-width:420px){.soda-main-formats{grid-template-columns:minmax(0,1fr)}.soda-main-format{min-height:140px}.soda-main-format strong{font-size:24px}}
@media(prefers-reduced-motion:reduce){#soda-generation-strip .case-track{animation:none}html body .soda-gallery-controls button{transition:none}}

/* User annotations: sentence starts and optically centered arrow geometry. */
.soda-sentence{display:block}
.soda-phrase{display:inline-block;max-width:100%;vertical-align:baseline}
html body .soda-gallery-controls{display:flex;align-items:center;justify-content:center}
html body .soda-gallery-controls button::before{position:absolute;left:50%;top:50%;margin:0;transform:translate(-50%,-50%)}
html body .soda-gallery-controls button:first-child::before{transform:translate(-50%,-50%) rotate(180deg)}
html body .soda-gallery-controls output{display:flex;align-items:center;justify-content:center;align-self:center;min-height:44px;margin:0;line-height:1}

/* SODA: corrections following the five supplied screenshots, 5 November. */
.soda-project-summary{max-width:850px;margin:0 0 28px;color:var(--ink);font-size:16px;line-height:1.65;text-wrap:pretty}
section.soda-reference-video{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);align-items:center}
.soda-reference-video-copy{padding:24px}
.soda-reference-video-copy .soda-video-stages{gap:12px}
.soda-reference-video-copy h2{margin-bottom:18px}
.soda-board-lead{text-wrap:balance}
.soda-board-lead .soda-sentence,.soda-rich-copy .soda-sentence{display:inline}
.soda-main-formats{aspect-ratio:auto;grid-template-rows:auto auto;align-self:start;gap:18px}
.soda-main-format{min-height:180px;gap:28px;padding:24px;transition:filter 180ms ease}
.soda-main-format strong{font-size:clamp(24px,2.1vw,32px);padding-right:28px;overflow-wrap:normal}
.soda-main-format>span{max-width:100%}
.soda-main-format:hover{filter:brightness(.96)}
.soda-main-format:active{filter:brightness(.92)}
.soda-main-format:focus-visible{outline:3px solid var(--ink);outline-offset:5px}
html body main img.zoomable,html body main .photo-enlarge-press{cursor:pointer}
.soda-comparison-thumbs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:center}
.soda-comparison-thumbs img{display:block;width:100%;height:auto;border-radius:12px}
.soda-rich-copy p{max-width:440px;text-wrap:pretty}
/* Keep all footer actions inside the viewport and in document order. */
html body:has(.soda-editorial-intro)>.footer{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px 24px;padding-inline:24px}
html body:has(.soda-editorial-intro)>.footer .footer-inner{width:100%;max-width:none;min-width:0;grid-template-columns:minmax(0,1fr) auto;margin:0;padding:0}
html body:has(.soda-editorial-intro)>.footer .case-return-top{position:static;transform:none;width:auto;max-width:100%;margin:0;padding:0}
html body:has(.soda-editorial-intro)>.footer .footer-return-links a{white-space:normal;overflow-wrap:anywhere}
@media(max-width:760px){section.soda-reference-video{grid-template-columns:minmax(0,1fr)}.soda-reference-video-copy{padding:20px}.soda-main-format{min-height:150px}}
@media(max-width:700px){html body:has(.soda-editorial-intro)>.footer{padding-inline:14px;gap:8px 12px}html body:has(.soda-editorial-intro)>.footer .footer-inner{display:grid;grid-template-columns:minmax(0,1fr);gap:6px}html body:has(.soda-editorial-intro)>.footer .footer-inner>a{grid-column:1;grid-row:auto;justify-self:start}html body:has(.soda-editorial-intro)>.footer .case-return-top{grid-column:2;grid-row:1}}
@media(max-width:420px){.soda-main-format{min-height:140px}.soda-comparison-thumbs{width:170px;justify-self:center}.soda-project-summary{font-size:15px}}
@media(prefers-reduced-motion:reduce){.soda-main-format{transition:none}}
