[data-living-light] .hero-image {
    transform: none;
}
[data-living-light].light-depth .hero-image {
    transform: translate3d(var(--image-x, 0px), var(--hero-parallax, 0px), 0) scale(var(--image-scale, 1.07));
}
.hero-light, .hero-particles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
/* The photograph and its contrast scrim stay below these decorative layers. */
[data-living-light]::after { z-index: -1; }
.hero-light, .hero-particles { z-index: 0; }
.hero-light {
    inset: -14%;
    width: 128%;
    height: 128%;
    background: radial-gradient(ellipse 37% 44% at 74% 39%, rgba(245, 193, 113, .32), rgba(236, 176, 106, .12) 48%, transparent 77%);
    transform: translate3d(var(--light-x, 0px), var(--light-y, 0px), 0);
}
[data-living-light] .hero-content, .hero-tools { z-index: 1; }
.hero-motion-preference { display: none; }
.hero-tools {
    position: absolute;
    inset: auto 0 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.hero-scroll, .hero-motion-control {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #f2dfbf;
    font-size: .75rem;
    line-height: 1.3;
}
.hero-scroll {
    text-decoration: none;
    margin-right: auto;
}
.hero-scroll span {
    width: 10px;
    height: 17px;
    border: 1px solid currentColor;
    border-radius: 9px;
    position: relative;
}
.hero-scroll span::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 2px;
    height: 4px;
    border-radius: 2px;
    background: currentColor;
}
.light-running .hero-scroll span::before {
    animation: light-scroll-cue 1.5s ease-in-out 3;
}
.hero-motion-control {
    padding: 0 12px;
    border: 1px solid rgba(232, 202, 155, .52);
    border-radius: 3px;
    background: rgba(13, 23, 40, .87);
    cursor: pointer;
}
.hero-motion-control[hidden] {
    display: none;
}
.hero-scroll:focus-visible, .hero-motion-control:focus-visible {
    outline: 2px solid #f7dcad;
    outline-offset: 3px;
}
#home-content { scroll-margin-top: 80px; }
@keyframes light-scroll-cue {
    0%, 100% { transform: translateY(0); }
    55% { transform: translateY(4px); }
}
@media (max-width: 700px) {
    [data-living-light] .hero-content { padding-bottom: 69px; }
    .hero-tools { bottom: 8px; }
    .hero-light { background: radial-gradient(ellipse 44% 43% at 73% 30%, rgba(247, 200, 128, .26), transparent 78%); }
}
@media (prefers-reduced-motion: reduce) {
    .hero-scroll span::before { animation: none !important; }
    [data-living-light] .hero-image, [data-living-light] .hero-light { transform: none !important; }
    .hero-particles, .hero-motion-control { display: none !important; }
    .hero-motion-preference { display: inline; color: #f2dfbf; font-size: .72rem; }
}
