.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 300;
  pointer-events: none;
  background: rgba(var(--rgb-base), 0.06);
}
.scroll-progress__bar {
  display: block;
  height: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--c-accent), var(--c-green));
}
.site-header {
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}
.site-header__inner { transition: min-height 0.3s ease; }
.site-header.is-scrolled {
  background: rgba(var(--rgb-bg), 0.96);
  box-shadow: 0 10px 30px -22px rgba(var(--rgb-base), 0.55);
}
.site-header.is-scrolled .site-header__inner { min-height: 58px; }
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal="left"]  { transform: translateX(-26px); }
[data-reveal="right"] { transform: translateX(26px); }
[data-reveal="zoom"]  { transform: scale(0.965); }
.is-revealed { opacity: 1 !important; transform: none !important; }
.no-js [data-reveal] { opacity: 1; transform: none; }
.hero .container { position: relative; z-index: 2; }
.hero__grid > * { min-width: 0; }
.hero__aura {
  position: absolute;
  inset: -25% -15% auto -20%;
  height: 130%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(38% 44% at 22% 32%, rgba(var(--rgb-accent), 0.20), transparent 70%),
    radial-gradient(34% 40% at 76% 22%, rgba(var(--rgb-green), 0.16), transparent 70%),
    radial-gradient(30% 36% at 58% 76%, rgba(var(--rgb-accent), 0.12), transparent 70%);
  animation: aura-drift 26s ease-in-out infinite alternate;
}
@keyframes aura-drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(2.5%, -2%, 0) scale(1.06); }
  100% { transform: translate3d(-2%, 2.5%, 0) scale(1.02); }
}
.hero__raster {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    linear-gradient(to right, rgba(var(--rgb-base), 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(var(--rgb-base), 0.07) 1px, transparent 1px);
  background-size: 62px 62px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 25%, #000, transparent 78%);
          mask-image: radial-gradient(70% 60% at 50% 25%, #000, transparent 78%);
  animation: raster-breathe 18s ease-in-out infinite alternate;
}
@keyframes raster-breathe {
  from { background-position: 0 0; opacity: 0.38; }
  to   { background-position: 62px 30px; opacity: 0.6; }
}
.eyebrow--live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-accent);
  margin-right: 0.5rem;
  flex: none;
  animation: live-pulse 2.4s ease-in-out infinite;
}
@keyframes live-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(var(--rgb-accent), 0.55); opacity: 1; }
  55%      { box-shadow: 0 0 0 6px rgba(var(--rgb-accent), 0);   opacity: 0.6; }
}
.rotator {
  position: relative;
  display: inline-block;
  vertical-align: baseline;
  color: var(--c-accent);
  font-style: italic;
}
.rotator__size { visibility: hidden; }
.rotator__item {
  position: absolute;
  left: 0;
  top: 0;
  white-space: nowrap;
  opacity: 0;
  animation: rotate-word 5.2s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}
.rotator__item:nth-child(2) { animation-delay: 0s; }
.rotator__item:nth-child(3) { animation-delay: 2.6s; }
@keyframes rotate-word {
  0%          { opacity: 0; transform: translateY(0.5em); }
  6%, 44%     { opacity: 1; transform: translateY(0); }
  50%, 100%   { opacity: 0; transform: translateY(-0.5em); }
}
.btn--primary { position: relative; overflow: hidden; isolation: isolate; }
.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -60%;
  width: 45%;
  z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-18deg);
  transition: left 0.55s ease;
}
.btn--primary:hover::after { left: 115%; }
.btn:hover { transform: translateY(-2px); }
.btn--primary:hover { box-shadow: 0 12px 26px -10px rgba(var(--rgb-accent), 0.75); }
.voice__wave span {
  transform-origin: 50% 50%;
  animation: wave-beat 1.25s ease-in-out infinite;
}
.voice__wave span:nth-child(3n)   { animation-delay: 0.12s; }
.voice__wave span:nth-child(3n+1) { animation-delay: 0.26s; }
.voice__wave span:nth-child(3n+2) { animation-delay: 0.4s;  }
@keyframes wave-beat {
  0%, 100% { transform: scaleY(0.55); opacity: 0.55; }
  50%      { transform: scaleY(1);    opacity: 1; }
}
.voice .play { animation: play-ring 2.8s ease-out infinite; }
@keyframes play-ring {
  0%       { box-shadow: 0 0 0 0 rgba(var(--rgb-accent), 0.5); }
  70%,100% { box-shadow: 0 0 0 12px rgba(var(--rgb-accent), 0); }
}
.paper-stack .doc__row {
  opacity: 0;
  transform: translateY(10px);
}
.paper-stack.is-playing .doc__row {
  animation: row-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.paper-stack.is-playing .doc__row:nth-child(1) { animation-delay: 0.35s; }
.paper-stack.is-playing .doc__row:nth-child(2) { animation-delay: 0.55s; }
.paper-stack.is-playing .doc__row:nth-child(3) { animation-delay: 0.75s; }
.paper-stack.is-playing .doc__row:nth-child(4) { animation-delay: 0.95s; }
@keyframes row-in {
  to { opacity: 1; transform: none; }
}
.no-js .paper-stack .doc__row { opacity: 1; transform: none; }
.paper-stack .doc {
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.6s ease;
}
.paper-stack.is-playing .doc {
  transform: rotate(-1.2deg) translateY(-4px);
  box-shadow: 0 34px 60px -30px rgba(var(--rgb-base), 0.55),
              inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.paper-stack.is-playing .flow-label::before { animation: line-grow 0.8s ease both; }
@keyframes line-grow {
  from { width: 0; }
  to   { width: 26px; }
}
.marquee {
  margin-top: var(--space-3);
  overflow: hidden;
  border-block: 1px solid var(--c-line);
  padding-block: 0.6875rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__list {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  padding: 0 1.125rem 0 0;
  margin: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-ink-mute);
  white-space: nowrap;
}
.marquee__list li { margin: 0; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.pain-card,
.calc__item {
  position: relative;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.35s ease, border-color 0.35s ease;
}
.pain-card::after,
.calc__item::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%),
              rgba(var(--rgb-accent), 0.14), transparent 65%);
}
.pain-card:hover::after,
.calc__item:hover::after { opacity: 1; }
.pain-card:hover,
.calc__item:hover {
  transform: translateY(-5px);
  border-color: rgba(var(--rgb-accent), 0.45);
  box-shadow: 0 28px 50px -28px rgba(var(--rgb-base), 0.45);
}
.pain-card__visual--stack span:nth-child(3) { animation: sheet-float 5.5s ease-in-out infinite; }
@keyframes sheet-float {
  0%, 100% { transform: translate(-50%, -50%) rotate(-1deg) translate(0, -5px); }
  50%      { transform: translate(-50%, -50%) rotate(-1deg) translate(0, -9px); }
}
.pain-card__clock-hand--minute { animation: hand-tick 8s steps(8) infinite; }
@keyframes hand-tick {
  from { transform: translate(-50%, -100%) rotate(90deg); }
  to   { transform: translate(-50%, -100%) rotate(450deg); }
}
.pain-card__delay-dot { animation: dot-wait 2.6s ease-in-out infinite; }
@keyframes dot-wait {
  0%, 100% { box-shadow: 0 0 0 5px rgba(var(--rgb-accent), 0.18), 0 0 0 1px rgba(255, 255, 255, 0.35); }
  50%      { box-shadow: 0 0 0 11px rgba(var(--rgb-accent), 0),  0 0 0 1px rgba(255, 255, 255, 0.35); }
}
.pain-card__delay-progress { transform-origin: 0 50%; animation: delay-crawl 6s ease-in-out infinite; }
@keyframes delay-crawl {
  0%, 100% { transform: translateY(-50%) scaleX(0.45); }
  55%      { transform: translateY(-50%) scaleX(1); }
}
.section--dark { position: relative; overflow: hidden; }
.section--dark > .container { position: relative; z-index: 2; }
.fx-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
}
.fx-lines svg { width: 100%; height: 100%; display: block; }
.fx-lines path {
  fill: none;
  stroke: var(--c-accent-on-dark);
  stroke-width: 1;
  stroke-dasharray: 8 260;
  animation: line-flow 14s linear infinite;
}
.fx-lines path:nth-child(1) { animation-delay: 0s;    opacity: 0.55; }
.fx-lines path:nth-child(2) { animation-delay: -3.5s; opacity: 0.4;  }
.fx-lines path:nth-child(3) { animation-delay: -7s;   opacity: 0.5;  }
.fx-lines path:nth-child(4) { animation-delay: -10.5s;opacity: 0.35; }
@keyframes line-flow {
  from { stroke-dashoffset: 540; }
  to   { stroke-dashoffset: -270; }
}
.steps { position: relative; }
.step__num {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), color 0.4s ease;
}
.step:hover .step__num { transform: translateY(-3px); color: #fff; }
.step__note { transition: background-color 0.3s ease, color 0.3s ease; }
@media (min-width: 760px) {
  .steps::before,
  .steps::after {
    content: "";
    position: absolute;
    left: 26px;
    top: 0;
    bottom: 0;
    width: 2px;
    border-radius: 2px;
  }
  .steps::before { background: rgba(255, 255, 255, 0.12); }
  .steps::after {
    background: linear-gradient(180deg, var(--c-accent-on-dark), var(--c-green));
    transform: scaleY(var(--steps-progress, 0));
    transform-origin: 50% 0;
    transition: transform 0.15s linear;
  }
  .step { position: relative; }
  .step::before {
    content: "";
    position: absolute;
    left: 21px;
    top: calc(var(--space-4) + 0.75rem);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--c-ink);
    border: 2px solid var(--c-accent-on-dark);
    z-index: 1;
  }
}
.video-teaser .play { animation: play-ring 3.4s ease-out infinite; }
.video-teaser:hover .play { animation-play-state: paused; }
.faq__item summary::after {
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), color 0.2s ease;
}
.faq__item[open] summary::after { content: "+"; transform: rotate(45deg); }
.faq__item[open] .faq__answer { animation: faq-open 0.38s cubic-bezier(0.22, 1, 0.36, 1) both; }
@keyframes faq-open {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}
.faq__item summary { transition: color 0.2s ease, padding-left 0.25s ease; }
.faq__item summary:hover { padding-left: 0.375rem; }
.booking__main { position: relative; overflow: hidden; }
.booking__main::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto -20%;
  height: 140%;
  pointer-events: none;
  background: radial-gradient(45% 50% at 30% 20%, rgba(var(--rgb-accent), 0.22), transparent 70%);
  animation: aura-drift 20s ease-in-out infinite alternate;
}
.booking__main > * { position: relative; z-index: 1; }
.form input,
.form textarea { transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease; }
.form input:focus,
.form textarea:focus { box-shadow: 0 0 0 3px rgba(var(--rgb-accent), 0.22); }
[data-count] { font-variant-numeric: tabular-nums; }
