/* Native website motion. Content stays visible when scripting or motion is disabled. */
.hero-line { display: block; overflow: clip; padding-bottom: .12em; margin-bottom: -.12em; }
.hero-line > span { display: block; }
.hero-enter .hero-line > span { animation: headline-in 950ms cubic-bezier(.16,1,.3,1) both; animation-delay: 100ms; }
.hero-enter .hero-line:nth-child(2) > span { animation-delay: 260ms; }
.hero-enter .hero-copy > .eyebrow { animation: rise-in 700ms 30ms var(--ease) both; }
.hero-enter .hero-description { animation: rise-in 800ms 430ms var(--ease) both; }
.hero-enter .hero-actions { animation: rise-in 800ms 570ms var(--ease) both; }
.hero-enter .hero-footnote { animation: rise-in 800ms 700ms var(--ease) both; }
.hero-enter .art-panel { animation: art-in 1100ms 220ms cubic-bezier(.16,1,.3,1) both; }
.hero-enter .art-controls { animation: rise-in 700ms 650ms var(--ease) both; }
.art-buttons { display: flex; align-items: center; gap: 7px; }
.art-controls { bottom: -5px; }
.hero-art { padding-bottom: 42px; }
.art-buttons .motion-toggle { width: 34px; height: 34px; font-size: 13px; transition: background .2s, border-color .2s, opacity .2s; }
.art-buttons .motion-toggle:hover:not(:disabled) { background: #e3bf8620; border-color: #e0c493; }
.art-buttons .motion-toggle:disabled { opacity: .35; cursor: default; }
#key-spin { font-size: 21px; }
.art-buttons .motion-toggle[hidden] { display: none; }
.reading-progress { position: absolute; bottom: -1px; left: 0; right: 0; height: 2px; pointer-events: none; overflow: hidden; }
.reading-progress span { display: block; width: 100%; height: 100%; background: #9c421f; transform: scaleX(0); transform-origin: left; }
.site-header { transition: box-shadow .35s; }
.site-header.scrolled { box-shadow: 0 5px 20px #292b1610; }
.js-motion .reveal { transition: opacity 850ms var(--ease), transform 850ms cubic-bezier(.16,1,.3,1); transition-delay: var(--reveal-delay, 0ms); }
.js-motion .reveal:not(.is-visible) { transform: translateY(30px); }
.js-motion .service-card.is-visible {
  transform: perspective(1000px) rotateX(var(--card-rx,0deg)) rotateY(var(--card-ry,0deg)) translateY(var(--card-lift,0px));
  transition: opacity 650ms var(--ease), transform 400ms var(--ease), border-color .25s, box-shadow .35s;
  transition-delay: var(--reveal-delay,0ms), 0ms, 0ms, 0ms;
}
.service-card { position: relative; isolation: isolate; overflow: hidden; }
.service-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at var(--card-x,50%) var(--card-y,50%),#d6b47c28,transparent 66%); z-index: -1; opacity: 0; transition: opacity .4s; pointer-events: none; }
.service-card:hover::before { opacity: 1; }
.service-card:hover { box-shadow: 0 12px 24px #4a2c1e0a; }
.service-icon { transition: transform .4s cubic-bezier(.16,1,.3,1), background .3s; }
.service-card:hover .service-icon { transform: translateY(-3px) rotate(-8deg); }
.step { position: relative; }
.step::before { content: ''; position: absolute; left: 0; top: -1px; width: 100%; height: 1px; background: #d8b67d; transform-origin: left; transform: scaleX(1); }
.js-motion .process-grid .reveal:not(.is-visible) .step::before { transform: scaleX(0); }
.js-motion .step::before { transition: transform 1s var(--ease); transition-delay: var(--reveal-delay,0ms); }
.js-motion .founder-visual .founder-frame img { transform: scale(1.065); transition: transform 1800ms cubic-bezier(.16,1,.3,1); }
.js-motion .founder-visual.is-visible .founder-frame img { transform: scale(1); }
.motion-ready .heading-star, .motion-ready .testimonial-star, .motion-ready .contact-star { animation: star-turn 26s linear infinite; animation-play-state: paused; }
.motion-ready .heading-star.is-on-screen, .motion-ready .testimonial-star.is-on-screen, .motion-ready .contact-star.is-on-screen { animation-play-state: running; }
.motion-ready .founder-seal { animation: seal-float 9s ease-in-out infinite; animation-play-state: paused; }
.motion-ready .founder-seal.is-on-screen { animation-play-state: running; }
.motion-ready .hero-art .float-label { animation-duration: 6s; animation-play-state: paused; }
.motion-ready .hero-art.is-on-screen .float-label { animation-play-state: running; }
.motion-ready .hero-art .orbit { animation: star-turn 30s linear infinite; animation-play-state: paused; }
.motion-ready .hero-art .orbit-two { animation-direction: reverse; animation-duration: 38s; }
.motion-ready .hero-art.is-on-screen .orbit { animation-play-state: running; }
.motion-ready .pattern-band { animation: pattern-travel 24s linear infinite; animation-play-state: paused; }
.motion-ready .pattern-band.is-on-screen { animation-play-state: running; }
dialog[open] { animation: dialog-in 300ms cubic-bezier(.16,1,.3,1) both; }
dialog[open]::backdrop { animation: backdrop-in 250ms ease both; }
.button:active { transform: translateY(0) scale(.985); }
input, select, textarea { transition: border-color .25s, background .25s; }
input:focus, select:focus, textarea:focus { border-bottom-color: #9c421f; background: #e2c69610; }
.motion-paused .hero-line > span, .motion-paused .hero-copy > .eyebrow, .motion-paused .hero-description, .motion-paused .hero-actions, .motion-paused .hero-footnote, .motion-paused .art-panel, .motion-paused .art-controls { opacity: 1 !important; transform: none !important; }
.motion-paused .service-card, .motion-paused .service-icon, .motion-paused .founder-frame img { transform: none !important; }
.motion-paused .step::before { transform: scaleX(1) !important; }
.motion-paused .reveal { transition-delay: 0ms !important; }
.motion-paused *, .motion-paused *::before, .motion-paused *::after { transition: none !important; }
.page-hidden *, .page-hidden *::before, .page-hidden *::after { animation-play-state: paused !important; }
@keyframes headline-in { from { transform: translateY(110%); } to { transform: translateY(0); } }
@keyframes rise-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes art-in { from { opacity: 0; transform: translateY(28px) scale(.95); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes star-turn { from { rotate: 0deg; } to { rotate: 360deg; } }
@keyframes seal-float { 0%,100% { translate: 0 0; rotate: -3deg; } 50% { translate: 0 -7px; rotate: 3deg; } }
@keyframes pattern-travel { from { background-position-x: 0; } to { background-position-x: 220px; } }
@keyframes dialog-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes backdrop-in { from { opacity: 0; } to { opacity: 1; } }
@media (max-width:760px) {
  .art-buttons .motion-toggle { width: 40px; height: 40px; }
  .hero-art { padding-bottom: 46px; }
  .move-hint { max-width: 220px; }
  .move-hint > span { font-size: 9px; }
}
@media (max-width:380px) { .move-hint > span { font-size: 8px; } .move-hint { max-width: 165px; } }
@media (prefers-reduced-motion:reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-line > span, .art-panel, .art-controls, .hero-copy > *, .founder-frame img { opacity: 1 !important; transform: none !important; }
  .js-motion .reveal:not(.is-visible) { opacity: 1; transform: none; }
  .step::before { transform: scaleX(1); }
}
