/* A restrained entrance signature: copy leads, then the working surface settles. */
@media(min-width:1101px) and (min-height:850px) and (prefers-reduced-motion:no-preference){
 .has-chapter-motion:not(.chapter-engaged) .chapter-copy{opacity:var(--chapter-copy,1);transform:translate3d(calc(-24px * (1 - var(--chapter-copy,1))),calc(20px * (1 - var(--chapter-copy,1))),0)}
 .has-chapter-motion:not(.chapter-engaged) .chapter-panel{opacity:var(--chapter-panel,1);transform:translate3d(0,calc(48px * (1 - var(--chapter-panel,1))),0) scale(calc(.975 + .025 * var(--chapter-panel,1)));transform-origin:50% 25%}
 #practice-stage .hp-practice-intro h2 em{background:linear-gradient(#b07d57,#b07d57) left bottom / calc(100% * var(--chapter-copy,1)) 2px no-repeat;padding-bottom:4px}
 .story-card{box-shadow:0 8px 30px #00555009}
}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
 .hp-actions>.hp-button,.hp-header-actions>.hp-button{transition:transform .2s ease,box-shadow .2s ease}
 .hp-actions>.hp-button:hover,.hp-header-actions>.hp-button:hover{transform:translateY(-2px);box-shadow:0 7px 18px #082f3326}
}
.hp a:focus-visible,.hp button:focus-visible,.hp-header a:focus-visible,.hp-menu:focus-visible{outline:2px solid #b47e55;outline-offset:5px}
#faqs details[open]{border-color:#9c765b}
#faqs details[open]>summary{color:#005550}
/* Avoid a clipped hero on shorter desktop screens. */
@media(min-width:1101px) and (max-height:849px){.hero-introduction{height:auto;min-height:calc(100svh - var(--public-header-height));grid-template-rows:minmax(530px,1fr) minmax(280px,auto)}}

/* Tall forms must retain natural scrolling and predictable keyboard focus. */
#scope-project.has-chapter-motion .chapter-panel{transform:none!important}

/* No leftover space for the removed hero strip on phones. */
@media(max-width:600px){
 .hero-introduction .hp-hero{min-height:940px;padding-bottom:260px}
 .hero-introduction .hp-hero .v3-hero-guide{bottom:32px}
}
