/* Approved final visual corrections, November 2026. */
body.final-v24[data-page=home] #main .dish-groups-v25{grid-template-columns:1fr;max-width:850px;gap:42px}
body.final-v24[data-page=home] #main .dish-group-v25 .dish-grid-v25{gap:30px 28px}
body.final-v24[data-page=home] #main .dish-group-v25 .dish-image-v25 img{aspect-ratio:4/3}
body.final-v24[data-page=home] #main .dish-group-v25 figcaption{font-size:22px}
body.final-v24[data-page=home] #main .tradition-band-v26{position:relative;background:#f3eee4;margin:64px calc(50% - 50vw) 0;padding:100px 24px 125px;width:100vw;box-sizing:border-box;isolation:isolate}
body.final-v24[data-page=home] #main .tradition-band-v26>.wave-stack{--wave-end:#fff;height:85px}
body.final-v24[data-page=home] #main .tradition-band-v26 .mandir12{margin:0 auto!important;padding:35px 0 0!important}
body.final-v24[data-page=home] #main .rice-showcase{padding-top:65px}
html body.about-v16 #main .family-reveal-stage{position:relative!important;top:auto!important}
html body.about-v16 #main .family-reveal-track{height:auto!important;min-height:0!important;padding-bottom:0!important}
html body.about-v16 #main .mandira-about-story{max-width:1080px!important;width:90%}
html body.about-v16 #main .mandira-about-copy{width:100%;max-width:none!important}
html body.about-v16 #main .family-memory{display:grid!important;grid-template-columns:240px minmax(0,1fr)!important;column-gap:56px!important;row-gap:24px!important;max-width:1000px!important;text-align:left!important;align-items:center}
html body.about-v16 #main .family-memory>h2{grid-column:2;grid-row:1;align-self:end;text-align:left!important}
html body.about-v16 #main .family-memory>figure{grid-column:1;grid-row:1 / 3;width:240px!important;margin:0!important}
html body.about-v16 #main .family-memory>.memory-copy{grid-column:2;grid-row:2;align-self:start;max-width:none!important}
/* Keep wave layers on their own stable paint surface during touch scrolling. */
body #main :is(.wave-stack,.unified-wave){pointer-events:none;overflow:hidden;backface-visibility:hidden;transform:translateZ(0)}
body #main .wave-stack.wave-top{transform:translateZ(0) rotate(180deg)}
body #main :is(.wave-stack,.unified-wave)>span{backface-visibility:hidden;will-change:transform}
@media(max-width:760px){
 body.final-v24[data-page=home] #main .tradition-band-v26{margin-top:40px;padding:65px 20px 85px}
 body.final-v24[data-page=home] #main .tradition-band-v26>.wave-stack{height:55px}
 body.final-v24[data-page=home] #main .rice-showcase{padding-top:40px}
 body.final-v24[data-page=home] #main .dish-group-v25 .dish-grid-v25{gap:12px}
 body.final-v24[data-page=home] #main .dish-group-v25 figcaption{font-size:17px}
 html body.about-v16 #main .family-memory{display:flex!important;gap:24px!important;text-align:center!important}
 html body.about-v16 #main .family-memory>h2{text-align:center!important}
 html body.about-v16 #main .family-memory>figure{width:min(72%,240px)!important;margin:0 auto!important}
 body[data-page=catering] #nasi-bami .dish-tile small{display:none!important}
 body[data-page=catering] #main .menu-group-heading{display:block;text-align:left!important}
 body[data-page=catering] #main .menu-group-heading h3{margin-left:0!important;text-align:left!important}
 body[data-page=catering] #main .dish-tile>div{width:100%;padding-left:0!important;padding-right:0!important;text-align:left!important}
 body[data-page=catering] #main .dish-tile>div>span,body[data-page=catering] #main .dish-tile small{text-align:left!important}
 body[data-page=catering] #main .menu-overview-group>.wrap{width:calc(100% - 40px);padding-left:0;padding-right:0;margin-inline:auto}
 body.final-v24[data-page=portfolio] #main .portfolio-brand-tile img{width:72%!important;max-width:240px!important;max-height:85%!important;object-fit:contain}
}
html body.about-v16 #main .mandira-about-copy p{max-width:none!important}
@media(max-width:760px){body[data-page=catering] #main .sambal-photo-grid figcaption{text-align:left!important;margin-inline:0!important}}
@media(max-width:760px){
 body.final-v24[data-page=portfolio] #main .portfolio-brand-tile{aspect-ratio:1!important;gap:2px!important;justify-content:center;padding:5px!important;box-sizing:border-box;overflow:hidden}
 body.final-v24[data-page=portfolio] #main .portfolio-brand-tile img{width:62%!important;height:auto!important;max-height:62%!important;flex-shrink:1}
 body.final-v24[data-page=portfolio] #main .portfolio-brand-tile span{font-size:11px!important;line-height:1.2!important;letter-spacing:1px!important}
 body.final-v24[data-page=portfolio] #main .portfolio-brand-tile small{font-size:8px!important;line-height:1.1!important;letter-spacing:2px!important}
}
/* Final alignment feedback, 10 November: only these three elements. */
html body[data-page=contact] #request-form>.field-hint{margin:8px 0 0!important;padding:0!important;max-width:none!important;width:100%;text-align:left!important}
@media(max-width:760px){
 html body.about-v16 #main .family-memory>h2{align-self:stretch!important;width:100%;margin-inline:0!important;text-align:center!important}
 html body[data-page=catering] #main .menu-overview>.section-head.wrap{width:calc(100% - 40px)!important;max-width:none!important;margin-left:auto!important;margin-right:auto!important;padding-left:0!important;padding-right:0!important;box-sizing:border-box;text-align:left!important}
}
