/* Section navigation uses an in-place scene beneath the unchanged brand/nav. */
html { scroll-behavior:auto; }
.bakery-home > [data-scene-hidden] { display:none!important; }
.bakery-home > #cakes,
.bakery-home > #catering,
.bakery-home > #tamara { scroll-margin-top:200px; }
/* Resolve direct section links before deferred scripts, avoiding a deep anchor flash. */
html:not([data-bakery-scenes-ready]):has(#cakes:target) .bakery-home > :not(#cakes):not(.boutique-process),
html:not([data-bakery-scenes-ready]):has(#catering:target) .bakery-home > :not(#catering):not(.boutique-process),
html:not([data-bakery-scenes-ready]):has(#tamara:target) .bakery-home > :not(#tamara):not(.bakery-reviews) { display:none!important; }
.bakery-home[data-scene]:not([data-scene="home"]) { min-height:calc(100dvh - 280px); }
.bakery-home[data-scene="cakes"] .bakery-gallery { padding-top:48px; }
.bakery-home[data-scene="catering"] .boutique-weddings { padding-top:48px; padding-bottom:65px; }
.bakery-home[data-scene="tamara"] .bakery-about.shell { padding-top:48px; padding-bottom:45px; }
.bakery-home[data-scene="tamara"] .bakery-reviews.shell { padding-top:25px; padding-bottom:45px; }
.bakery-home[data-scene]:not([data-scene="home"]) [data-reveal] { opacity:1; transform:none; }
.bakery-home[data-scene="tamara"] { display:flex; flex-direction:column; }
.bakery-home[data-scene="tamara"] #tamara { order:0; }
.bakery-home[data-scene="tamara"] .bakery-reviews { order:1; }
.bakery-home[data-scene] > :focus { outline:none; }
.bakery-home[data-scene] > :focus-visible { outline:none; }
/* Route/scroll containers are reading surfaces, not bordered controls. Browser
   auto-focus and programmatic heading focus must not frame entire sections. */
:focus:not(:focus-visible) { outline:none; }
body :is(main,section,article,h1,h2,h3,.catalog-view-host,.bakery-chat-scroll,.cake-marquee):focus {
 outline:none;
}
body :is(a,button,input,select,textarea,[role="button"]):focus-visible {
 outline:2px solid var(--boutique-rose); outline-offset:3px;
}
body :is(.bakery-chat-scroll,.cake-marquee):focus-visible {
 box-shadow:inset 2px 0 0 #934e6d70;
}
@media(max-width:700px) {
 .bakery-home[data-scene="cakes"] .bakery-gallery { padding-top:30px; }
 .bakery-home[data-scene="catering"] .boutique-weddings { padding-top:28px; padding-bottom:40px; }
 .bakery-home[data-scene="tamara"] .bakery-about.shell { padding-top:30px; padding-bottom:30px; }
 .bakery-home[data-scene="tamara"] .bakery-reviews.shell { padding-top:12px; }
}
@media(prefers-reduced-motion:reduce) {
 .bakery-home[data-scene] [data-reveal] { transition:none!important; }
}
