/* Use one-shot entrances. Content stays readable with JavaScript off. */
body { overflow-x: clip; }
html { scrollbar-gutter: stable; }
.fx-entering { will-change: transform, opacity; }
header, .effects-full header {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: #111a0ff7;
  transition: none;
}
header.is-scrolled { border-color: #3b4b30; box-shadow: 0 4px 16px #0002; }
.motion-on .growth-stage::before, .motion-on .growth-stage::after, .motion-on .status-dot { animation: none; }
.contact-section::before { display: none; }
.consultation-entry input:focus { background: #fcfff6; box-shadow: 0 0 0 3px #a9ca7e25; }
.back-top:hover { color: var(--lime); }

/* Service artwork is assembled in place. Only the small pieces move. */
@keyframes studio-sheet-in {
  from { opacity: .15; translate: var(--from-x, 0) var(--from-y, 12px); rotate: var(--turn, -5deg); scale: .88; }
  to { opacity: 1; translate: 0 0; rotate: 0deg; scale: 1; }
}
@keyframes studio-pop {
  0% { opacity: .15; scale: .62; }
  72% { opacity: 1; scale: 1.12; }
  100% { opacity: 1; scale: 1; }
}
@keyframes message-dot {
  50% { translate: 0 -4px; }
}
@keyframes rule-in {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
@keyframes stem-in {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}
@keyframes copy-in {
  from { opacity: .35; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}
.fx-play .art-desk, .fx-play .art-phone, .fx-play .art-message, .fx-play .art-calendar,
.fx-play .art-print-back, .fx-play .art-print-front {
  animation: studio-sheet-in 650ms cubic-bezier(.18,.8,.25,1) var(--wait,0ms) backwards;
}
.art-desk { --from-x: -25px; --from-y: 8px; --turn: -7deg; }
.art-phone { --from-x: 20px; --turn: 11deg; --wait: 150ms; }
.art-message { --from-x: -18px; --from-y: -9px; }
.art-calendar { --from-x: 24px; --turn: 10deg; --wait: 200ms; }
.fx-play .art-message i { animation: message-dot .35s ease .3s; }
.fx-play .art-message i:nth-child(2) { animation-delay: .38s; }
.fx-play .art-message i:nth-child(3) { animation-delay: .46s; }
.fx-play .art-selected { animation: studio-pop .44s ease .58s backwards; }
.art-print-back { --from-x: 14px; --turn: 19deg; }
.art-print-front { --from-x: -14px; --turn: -18deg; --wait: 110ms; }
.fx-play .art-send { animation: studio-pop .45s ease .38s backwards; }
.effects-full .package-group[open] .package-features,
.effects-full .faqs details[open] p { animation: copy-in .22s ease-out; }

.faqs summary { cursor: pointer; }
.faqs summary span { transition: transform .2s ease; }
.faqs details[open] summary { color: var(--lime); }

@media (hover:hover) and (pointer:fine) {
  .package-card:hover { border-color: #9bbb78; }
  .effects-full .package-cta > span, .effects-full .process-icon, .effects-full .art-send { transition: translate .2s ease; }
  .effects-full .package-cta:hover > span, .effects-full .art-campaign:hover .art-send { translate: 3px -3px; }
  .effects-full .steps article:hover .process-icon { translate: 0 -3px; }
}
html.effects-reduced *, html.effects-reduced *::before, html.effects-reduced *::after {
  animation: none !important; transition: none !important; scroll-behavior: auto !important;
}

/* The wordmark resolves into focus as the intro curtain lifts. */
.effects-full.motion-on .hero h1 {
  animation: focus-headline .9s cubic-bezier(.16,.82,.22,1) backwards;
  transform-origin: 12% 66%;
}
@keyframes focus-headline {
  from { opacity: .18; filter: blur(var(--headline-blur,5px)); transform: translateY(16px) scale(.95); }
  to { opacity: 1; filter: blur(0); transform: none; }
}
.effects-full .hero-star::before, .effects-full .hero-star::after {
  content: ''; position: absolute; pointer-events: none; border-radius: 50%;
}
.effects-full .hero-star::before {
  inset: -7% -28%; border: 1px solid #c6f99285; transform: rotate(-35deg) scaleY(.5);
}
.effects-full .hero-star::after {
  width: 5px; height: 5px; top: 10%; right: 0;
  background: #ecffc7; box-shadow: 0 0 8px #b0f57390;
}
[data-enter-effect="title"], [data-enter-effect="panel"] { transform-origin: left center; }
.consultation-entry[data-enter-effect="panel"] { transform-origin: center top; }

/* A passing highlight reveals the printed landscape on the website miniature. */
.effects-full .fx-play .art-desk .art-landscape::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 20%, #f7ffe8bd 48%, transparent 75%);
  animation: landscape-glint .68s .27s ease-out both;
}
@keyframes landscape-glint {
  from { transform: translateX(-110%); }
  to { transform: translateX(110%); }
}
@media (max-width:680px) {
  .hero h1 { --headline-blur: 2px; }
}

/* A single orbital sweep frames the invitation on the dark contact section. */
.contact-heading { position: relative; isolation: isolate; }
.contact-heading::before {
  content: ''; position: absolute; z-index: -1; pointer-events: none;
  inset: -24px 0 -24px -12px; border-radius: 32px;
  background:
    radial-gradient(ellipse at 86% 32%, transparent 29%, #b7e88136 29.45%, transparent 30.1%),
    radial-gradient(ellipse at 83% 39%, transparent 36%, #a5de6c23 36.45%, transparent 37.1%),
    radial-gradient(ellipse at 88% 28%, #95df631b 0%, transparent 58%);
  mask-image: linear-gradient(100deg, transparent 14%, #000 78%, transparent);
}
.effects-full .contact-heading.fx-play::before {
  animation: orbit-arrive .95s cubic-bezier(.18,.78,.22,1) both;
}
@keyframes orbit-arrive {
  from { opacity: 0; transform: translateX(-18px) scale(.84); }
  to { opacity: 1; transform: none; }
}
.effects-full .fx-play .art-calendar .art-days b:not(.art-selected) {
  animation: studio-pop .34s ease-out .3s backwards;
}
.effects-full .fx-play .art-calendar .art-days b:nth-child(even) { animation-delay: .4s; }
