﻿/* Motion is kept to functional navigation and subtle feedback. */
html.landing-page { scroll-behavior:smooth; }
body.profile-surface[data-layout="landing"] .landing-nav { position:sticky; top:0; z-index:20; background:var(--profile-bg); border-bottom:1px solid var(--profile-line); }
body.profile-surface[data-layout="landing"] .landing-nav a { border-radius:6px; transition:background-color 180ms ease; }
body.profile-surface[data-layout="landing"] .landing-nav a[aria-current="location"] { background:var(--profile-soft); color:var(--profile-accent); text-decoration:underline; text-underline-offset:5px; }
body.profile-surface[data-layout="landing"] :is(.landing-section,#services-section,#contact-section) { scroll-margin-top:var(--landing-nav-offset,150px); }
.profile-surface[data-layout="landing"] :is(.socials a,.hero-cta,.section-link) { transition:background-color 180ms ease,box-shadow 180ms ease; }
.profile-surface[data-layout="landing"] .section-item[open] summary { color:var(--profile-accent); }
.profile-surface[data-layout="landing"] .socials a:hover { box-shadow:inset 0 0 0 1px var(--profile-accent); }
.profile-surface[data-layout="landing"] .section-link:hover { text-decoration-thickness:2px; }
.reading-progress { position:fixed; top:0; left:0; width:100%; height:3px; z-index:100; border:0; appearance:none; background:transparent; color:var(--profile-accent); pointer-events:none; }
.reading-progress::-webkit-progress-bar { background:transparent; }
.reading-progress::-webkit-progress-value { background:var(--profile-accent); }
.reading-progress::-moz-progress-bar { background:var(--profile-accent); }
.back-to-top { position:fixed; bottom:24px; right:24px; z-index:25; border:1px solid var(--profile-line); }
@media(max-width:600px) { .back-to-top { bottom:max(16px,env(safe-area-inset-bottom)); right:16px; padding:10px 14px; } }
@media(prefers-reduced-motion:reduce) { html.landing-page { scroll-behavior:auto; } }
@media print { .reading-progress,.back-to-top,.landing-nav { display:none !important; } }
