/* Edge-to-edge baseline and restrained motion. */
html { margin:0; padding:0; background:#0c0c0c; }
body.page-id-7 { margin:0; padding:0; border:0; background:#0c0c0c; }
.site-dust-host { position:relative; isolation:isolate; }
.site-dust-host > canvas.site-dust { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; z-index:-1; }
.site-motion-controls { background:#0c0c0c; padding:24px 60px; }
.site-motion-controls button { color:#ddb7c2; border:1px solid #784453; background:transparent; border-radius:4px; padding:10px 14px; cursor:pointer; }
/* Text stays fixed. Original home/about/footer animations remain in style.css. */
.page-id-7 .branding-steps > div { transition:none; transform:none; opacity:1; }
.page-id-7.motion-off *, .page-id-7.motion-off *::before, .page-id-7.motion-off *::after { animation:none !important; }
.page-id-7.motion-off .site-dust { visibility:hidden; }
.page-id-7.motion-off .branding-progress { display:none; }
/* The browser drives these effects; no scroll-event DOM reads/writes. */
@supports (animation-timeline: view()) {
 .concept-photo { view-timeline-name:--photo-view; view-timeline-axis:block; }
 .motion-on .concept-photo img {
   animation:atomicPhotoDrift linear both;
   animation-timeline:--photo-view;
   animation-range:entry 0% exit 100%;
 }
 @keyframes atomicPhotoDrift { from { transform:scale(1.08) translateY(-1%); } to { transform:scale(1.03) translateY(1%); } }
 .motion-on .branding-section-heading {
   animation:atomicSectionEnter linear both;
   animation-timeline:view();
   animation-range:entry 0% entry 100%;
 }
 @keyframes atomicSectionEnter { from {opacity:.45;transform:translateY(18px);} to {opacity:1;transform:none;} }
}
@supports (animation-timeline: scroll()) {
 .motion-on .branding-progress { animation:atomicReadingProgress linear both; animation-timeline:scroll(root); }
 @keyframes atomicReadingProgress { from {transform:scaleX(0);} to {transform:scaleX(1);} }
}
@media(max-width:600px) {
 .site-motion-controls { padding:20px 24px; }
 .page-id-7 .header-logo, .page-id-7 .mobile-menu-toggle { animation:none; opacity:1; }
}
@media(prefers-reduced-motion:reduce) {
 body.page-id-7:not(.motion-on) *, body.page-id-7:not(.motion-on) *::before, body.page-id-7:not(.motion-on) *::after { animation:none !important; }
}

/* Native smooth scrolling for all same-page anchor links. */
html { scroll-behavior:smooth; }
.page-id-7 :where(section[id], main[id]) { scroll-margin-top:140px; }
@media(max-width:600px) {
 .page-id-7 :where(section[id], main[id]) { scroll-margin-top:120px; }
}
@media(prefers-reduced-motion:reduce) {
 html { scroll-behavior:auto; }
}

/* Service-page scroll motion: one owner, no delayed transform transitions. */
.page-id-7 .service-scroll-ready .service-scroll-item {
 animation:none !important;
 transition:none !important;
}
.page-id-7 .service-scroll-ready .concept-photo img {
 animation:none;
 transform:none;
}
/* These process lines intentionally remain aligned and stationary. */
.page-id-7 .service-scroll-ready .branding-steps,
.page-id-7 .service-scroll-ready .branding-steps > div {
 transform:none; opacity:1; animation:none; transition:none;
}

/* Complete numbering for the service-page mobile navigation. */
@media (max-width: 980px) {
    .page-id-7.branding-page #mobile-menu-toggle:checked ~ .header-nav > :is(a, button):nth-child(3)::before { content: "03"; }
    .page-id-7.branding-page #mobile-menu-toggle:checked ~ .header-nav > :is(a, button):nth-child(3) { animation-delay: 0.24s; }
}
