/* ==========================================================================
   DEALSFLOW — STORY (everything below the locked hero)
   A continuous cinematic narrative in acts. Warm stone, moss, bronze, glass.
   Motion: transform/opacity only, driven by .in (IntersectionObserver) and
   --p (scroll progress, 0..1) set by js/story.js. Reduced motion = final states.
   ========================================================================== */

:root {
  --st-cream: #F7F1E6;
  --st-cream-deep: #F1E7D6;
  --st-sand: #EBDCC5;
  --st-stone: #B9AA97;
  --st-bronze: #D5AB8F;
  --st-bronze-deep: #C8996F;
  --st-charcoal: #10100F;
  --st-soft-black: #181715;
  --st-moss: #5C7A3A;
  --st-olive: #7B8C54;
  --st-ink: #151620;
  --st-muted: #6E665D;
  --st-line: rgba(30, 24, 18, 0.10);
  --st-glass: rgba(255, 248, 238, 0.62);
  --st-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- shared act scaffolding ---------- */
.act {
  position: relative;
  overflow: hidden;
}
.act .act-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
}
.act-label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--st-muted);
}
.act-label::before {
  content: '';
  width: 34px;
  height: 1px;
  background: var(--st-bronze);
}
.act h2 {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: clamp(36px, 4.6vw, 62px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--st-ink);
  margin: 22px 0 18px;
}
.act h2 .l { display: block; }
.act .act-body {
  font-size: 17px;
  line-height: 1.7;
  color: var(--st-muted);
  max-width: 560px;
}
.act--dark h2 { color: #F2EDE4; }
.act--dark .act-label { color: rgba(242, 237, 228, 0.55); }
.act--dark .act-body { color: rgba(242, 237, 228, 0.6); }

/* staged entrance: children rise with intent, not fade-in-place */
.seq > * {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--st-ease), transform 0.9s var(--st-ease);
}
.in .seq > *:nth-child(1) { transition-delay: 0.05s; }
.in .seq > *:nth-child(2) { transition-delay: 0.16s; }
.in .seq > *:nth-child(3) { transition-delay: 0.27s; }
.in .seq > *:nth-child(4) { transition-delay: 0.38s; }
.in .seq > *:nth-child(5) { transition-delay: 0.49s; }
.in .seq > * {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   DEMO EXPAND — as you leave the hero, the OS window pins, scales up, and
   holds centre stage for a beat before the story begins. Desktop only.
   --dp (0..1, pin progress) and --dgrow (max growth) set by js/story.js.
   At rest (--dp:0) the hero composition is pixel-identical to before.
   ========================================================================== */
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .demo-expand { min-height: 225vh; }
  .demo-expand .container-wide {
    position: sticky;
    top: max(84px, calc(50vh - 350px));
  }
  .demo-expand .chat-window {
    transform: scale(calc(1 + min(var(--dp, 0) / 0.4, 1) * var(--dgrow, 0)));
    transform-origin: 50% 22%;
    will-change: transform;
  }
}

/* ==========================================================================
   ACT 1 — HERO BRIDGE + THE CONVERSATION
   ========================================================================== */
.act-bridge {
  background:
    radial-gradient(ellipse 120% 60% at 50% 0%, rgba(235, 220, 197, 0.55), transparent 60%),
    linear-gradient(180deg, #F4F4F9 0%, var(--st-cream) 24%, var(--st-cream) 100%);
  padding: clamp(120px, 16vh, 190px) 0 clamp(60px, 8vh, 110px);
  text-align: center;
}
.act-bridge .act-label { justify-content: center; }
.act-bridge .act-label::after {
  content: '';
  width: 34px;
  height: 1px;
  background: var(--st-bronze);
}
.act-bridge .act-body { margin: 0 auto; }

.act-convo {
  background: var(--st-cream);
  padding: clamp(30px, 5vh, 70px) 0 clamp(120px, 16vh, 180px);
}
.convo-row {
  display: grid;
  grid-template-columns: 1fr 56px 1fr 56px 1.15fr;
  align-items: stretch;
  gap: 0;
  max-width: 1080px;
  margin: 0 auto;
}
.convo-card {
  background: var(--st-glass);
  border: 1px solid var(--st-line);
  border-radius: 18px;
  padding: 26px 28px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 24px 60px -30px rgba(27, 29, 40, 0.18), inset 0 1px 0 rgba(255,255,255,0.7);
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--st-ease), transform 0.8s var(--st-ease);
}
.convo-who {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--st-muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.convo-who .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--st-bronze);
}
.convo-card--flow .convo-who .dot { background: var(--st-moss); }
.convo-text {
  font-family: var(--font-primary);
  font-size: 19px;
  font-weight: 600;
  color: var(--st-ink);
  letter-spacing: -0.01em;
}
.convo-caret {
  display: inline-block;
  width: 9px; height: 1.1em;
  vertical-align: -3px;
  border-right: 2px solid var(--st-moss);
  animation: convoCaret 0.85s steps(1) infinite;
}
@keyframes convoCaret { 0%, 48% { opacity: 1; } 49%, 100% { opacity: 0; } }

.convo-link {
  position: relative;
  align-self: center;
  height: 2px;
  background: var(--st-line);
  overflow: hidden;
}
.convo-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--st-bronze), var(--st-moss));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.7s var(--st-ease);
}
.convo-check { list-style: none; margin: 0; padding: 0; }
.convo-check li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--st-ink);
  padding: 7px 0;
  opacity: 0;
  transform: translateX(14px);
  transition: opacity 0.55s var(--st-ease), transform 0.55s var(--st-ease);
}
.convo-check .tick {
  width: 17px; height: 17px;
  border-radius: 50%;
  border: 1.5px solid var(--st-moss);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.convo-check .tick svg { width: 9px; height: 9px; stroke: var(--st-moss); }

/* sequence steps (added by JS): user -> line -> flow -> line -> checklist */
.act-convo.step-1 .convo-card--you { opacity: 1; transform: none; }
.act-convo.step-2 .convo-link--a::before { transform: scaleX(1); }
.act-convo.step-3 .convo-card--flow { opacity: 1; transform: none; }
.act-convo.step-4 .convo-link--b::before { transform: scaleX(1); }
.act-convo.step-5 .convo-card--result { opacity: 1; transform: none; }
.act-convo.step-5 .convo-check li { opacity: 1; transform: none; }
.act-convo.step-5 .convo-check li:nth-child(1) { transition-delay: 0.10s; }
.act-convo.step-5 .convo-check li:nth-child(2) { transition-delay: 0.28s; }
.act-convo.step-5 .convo-check li:nth-child(3) { transition-delay: 0.46s; }
.act-convo.step-5 .convo-check li:nth-child(4) { transition-delay: 0.64s; }

/* ==========================================================================
   ACT 3 — THE ORCHESTRA (dark)
   ========================================================================== */
.act-orchestra {
  background:
    radial-gradient(ellipse 80% 50% at 50% 118%, rgba(92, 122, 58, 0.14), transparent 60%),
    radial-gradient(ellipse 70% 45% at 18% -10%, rgba(213, 171, 143, 0.08), transparent 55%),
    linear-gradient(180deg, var(--st-charcoal), var(--st-soft-black));
  padding: clamp(110px, 15vh, 170px) 0;
}
/* the hero's ruins, asleep in the dark — same world, night version */
.act-orchestra::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 42%;
  background-image: url('../img/hero-ruins.webp');
  background-size: cover;
  background-position: 50% 100%;
  filter: grayscale(0.55) brightness(0.34) sepia(0.25);
  opacity: 0.16;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 70%);
  mask-image: linear-gradient(180deg, transparent, #000 70%);
}
.act-orchestra .act-wrap { position: relative; z-index: 1; }
.orch-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.orch-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--st-bronze);
  text-decoration: none;
  border-bottom: 1px solid rgba(213, 171, 143, 0.35);
  padding-bottom: 3px;
  transition: border-color 0.3s ease;
}
.orch-cta:hover { border-color: var(--st-bronze); }

.orch-stage {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 520px;
  margin: 0 auto;
  width: 100%;
}
.orch-orbit {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  border: 1.5px dashed rgba(213, 171, 143, 0.22);
  animation: orchSpin 80s linear infinite;
}
@keyframes orchSpin { to { transform: rotate(360deg); } }

.orch-core {
  position: absolute;
  top: 50%; left: 50%;
  width: 148px; height: 148px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(213, 171, 143, 0.35);
  box-shadow:
    0 0 0 10px rgba(213, 171, 143, 0.05),
    0 0 60px rgba(213, 171, 143, 0.13);
  animation: orchBreath 5.5s ease-in-out infinite;
  z-index: 3;
}
.orch-core img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
  object-fit: cover;
}
.orch-core-label {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  color: #E9C9A8;
}
@keyframes orchBreath {
  0%, 100% { box-shadow: 0 0 0 10px rgba(213,171,143,0.05), 0 0 55px rgba(213,171,143,0.11), inset 0 1px 0 rgba(255,255,255,0.08); }
  50% { box-shadow: 0 0 0 14px rgba(213,171,143,0.07), 0 0 85px rgba(213,171,143,0.2), inset 0 1px 0 rgba(255,255,255,0.08); }
}

.orch-beam {
  position: absolute;
  top: 50%; left: 50%;
  width: 37%;
  height: 1.5px;
  transform-origin: left center;
  transform: rotate(var(--beam, 0deg));
  background: rgba(213, 171, 143, 0.12);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.orch-beam::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 34px; height: 3px;
  margin-top: -1.5px;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, #E9C9A8);
  animation: beamTravel 1.4s var(--st-ease) infinite;
}
@keyframes beamTravel {
  0% { transform: translateX(-10%); opacity: 0; }
  25% { opacity: 1; }
  100% { transform: translateX(320%); opacity: 0; }
}
.act-orchestra.is-cycling .orch-beam { opacity: 1; }

.orch-node {
  position: absolute;
  top: 50%; left: 50%;
  width: 96px;
  margin: -48px 0 0 -48px;
  transform: rotate(var(--ang)) translate(var(--orbit, 218px)) rotate(calc(var(--ang) * -1));
  text-align: center;
  z-index: 2;
}
.orch-node .n-disc {
  width: 58px; height: 58px;
  margin: 0 auto 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #232220, #171614);
  border: 1px solid rgba(242, 237, 228, 0.14);
  color: rgba(242, 237, 228, 0.55);
  transition: border-color 0.5s ease, color 0.5s ease, box-shadow 0.5s ease, transform 0.5s var(--st-ease);
}
.orch-node .n-disc svg { width: 21px; height: 21px; }
.orch-node .n-name {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(242, 237, 228, 0.42);
  transition: color 0.5s ease;
}
.orch-node.active .n-disc {
  border-color: rgba(233, 201, 168, 0.85);
  color: #E9C9A8;
  box-shadow: 0 0 34px rgba(213, 171, 143, 0.28);
  transform: scale(1.08);
}
.orch-node.active .n-name { color: #E9C9A8; }

.orch-panel {
  background: rgba(24, 23, 21, 0.82);
  border: 1px solid rgba(242, 237, 228, 0.1);
  border-radius: 14px;
  padding: 18px 20px;
  margin-top: 30px;
  max-width: 380px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.orch-panel .p-dept {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--st-bronze);
}
.orch-panel .p-task {
  font-size: 15px;
  font-weight: 600;
  color: #F2EDE4;
  margin: 7px 0 12px;
}
.orch-panel .p-bar {
  height: 3px;
  border-radius: 3px;
  background: rgba(242, 237, 228, 0.1);
  overflow: hidden;
}
.orch-panel .p-bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--st-bronze), var(--st-olive));
  transform: scaleX(0);
  transform-origin: left center;
}
.act-orchestra.is-cycling .orch-panel .p-bar i {
  animation: orchBar 2.8s var(--st-ease) infinite;
}
@keyframes orchBar {
  0% { transform: scaleX(0); }
  72%, 100% { transform: scaleX(1); }
}
.orch-panel .p-done {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 11px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--st-olive);
  opacity: 0;
}
.act-orchestra.is-cycling .orch-panel .p-done { animation: orchDone 2.8s ease infinite; }
@keyframes orchDone {
  0%, 68% { opacity: 0; transform: translateY(3px); }
  80%, 96% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; }
}

/* ==========================================================================
   ACT 4 — WATCH THE COMPANY WORK (timeline)
   ========================================================================== */
.act-timeline {
  background: linear-gradient(180deg, var(--st-cream) 0%, var(--st-cream-deep) 100%);
  padding: clamp(110px, 15vh, 170px) 0;
}
.tl-head { text-align: center; }
.tl-head .act-label { justify-content: center; }
.tl-head .act-label::after { content: ''; width: 34px; height: 1px; background: var(--st-bronze); }
.tl-head .act-body { margin: 0 auto; }

.tl-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-top: 72px;
}
.tl-line {
  position: absolute;
  top: 8px;
  left: 4%; right: 4%;
  height: 2px;
  background: var(--st-line);
}
.tl-line i {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--st-bronze), var(--st-moss));
  transform: scaleX(var(--p, 0));
  transform-origin: left center;
}
.tl-ev { text-align: center; position: relative; }
.tl-ev .e-dot {
  width: 18px; height: 18px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--st-cream);
  border: 2px solid var(--st-stone);
  transition: border-color 0.45s ease, background 0.45s ease, box-shadow 0.45s ease;
}
.tl-ev .e-time {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--st-muted);
  margin: 14px 0 4px;
}
.tl-ev .e-name {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 16px;
  color: var(--st-ink);
  opacity: 0.36;
  transition: opacity 0.45s ease, transform 0.45s var(--st-ease);
  transform: translateY(6px);
}
.tl-ev.on .e-dot {
  border-color: var(--st-moss);
  background: var(--st-moss);
  box-shadow: 0 0 0 5px rgba(92, 122, 58, 0.14);
}
.tl-ev.on .e-name { opacity: 1; transform: none; }

/* ==========================================================================
   ACT 5 — INSIDE DEALSFLOW (dark product)
   ========================================================================== */
.act-inside {
  background:
    radial-gradient(ellipse 70% 45% at 85% -8%, rgba(213, 171, 143, 0.09), transparent 55%),
    linear-gradient(180deg, var(--st-soft-black), var(--st-charcoal));
  padding: clamp(110px, 15vh, 170px) 0;
}
.inside-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: center;
}
.inside-board {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 14px;
  transform: translateY(calc(var(--p, 0) * -22px));
  will-change: transform;
}
.ib-panel {
  background: rgba(28, 27, 24, 0.86);
  border: 1px solid rgba(242, 237, 228, 0.09);
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.ib-panel .ib-title {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(242, 237, 228, 0.4);
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ib-stat-row { display: flex; gap: 18px; }
.ib-stat b {
  display: block;
  font-family: var(--font-primary);
  font-size: 21px;
  font-weight: 700;
  color: #F2EDE4;
  letter-spacing: -0.02em;
}
.ib-stat span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: rgba(242, 237, 228, 0.42);
}
.ib-task {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 0;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: rgba(242, 237, 228, 0.78);
  border-bottom: 1px solid rgba(242, 237, 228, 0.05);
}
.ib-task:last-child { border-bottom: 0; }
.ib-task .t-box {
  width: 13px; height: 13px;
  border-radius: 4px;
  border: 1.5px solid rgba(242, 237, 228, 0.3);
  flex-shrink: 0;
  transition: background 0.4s ease, border-color 0.4s ease;
}
.ib-task.done .t-box { background: var(--st-olive); border-color: var(--st-olive); }
.ib-task.done { color: rgba(242, 237, 228, 0.4); text-decoration: line-through; }
.ib-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(123, 140, 84, 0.45);
  color: var(--st-olive);
}
.ib-chip .c-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--st-olive);
  animation: chipPulse 2.4s ease-in-out infinite;
}
@keyframes chipPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.ib-bars { display: flex; align-items: flex-end; gap: 7px; height: 58px; }
.ib-bars i {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, rgba(213, 171, 143, 0.75), rgba(213, 171, 143, 0.25));
  transform: scaleY(var(--h, 0.4));
  transform-origin: bottom;
  transition: transform 1s var(--st-ease);
}
.act-inside.in .ib-bars i:nth-child(1) { --h: 0.45; transition-delay: 0.1s; }
.act-inside.in .ib-bars i:nth-child(2) { --h: 0.62; transition-delay: 0.18s; }
.act-inside.in .ib-bars i:nth-child(3) { --h: 0.5; transition-delay: 0.26s; }
.act-inside.in .ib-bars i:nth-child(4) { --h: 0.82; transition-delay: 0.34s; }
.act-inside.in .ib-bars i:nth-child(5) { --h: 0.7; transition-delay: 0.42s; }
.act-inside.in .ib-bars i:nth-child(6) { --h: 0.95; transition-delay: 0.5s; }
.ib-inbox-line {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: rgba(242, 237, 228, 0.65);
  padding: 6px 0;
}
.ib-inbox-line .st {
  color: var(--st-bronze);
  transition: color 0.4s ease;
}
.ib-inbox-line.done .st { color: var(--st-olive); }

/* ==========================================================================
   ACT 6 — AI EMPLOYEES (gallery)
   ========================================================================== */
.act-employees {
  background: var(--st-cream);
  padding: clamp(110px, 15vh, 170px) 0;
}
.emp-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, 350px);
  gap: 22px;
  overflow-x: auto;
  padding: 56px 40px 26px;
  max-width: 1320px;
  margin: 0 auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.emp-track::-webkit-scrollbar { display: none; }
.emp-card {
  scroll-snap-align: center;
  position: relative;
  background:
    linear-gradient(170deg, rgba(255, 251, 244, 0.9), rgba(241, 231, 214, 0.9));
  border: 1px solid var(--st-line);
  border-radius: 22px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 30px 70px -38px rgba(27, 29, 40, 0.3);
  opacity: 0;
  transform: translateY(42px);
  transition: opacity 0.9s var(--st-ease), transform 0.9s var(--st-ease);
}
.emp-portrait {
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.emp-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 1.2s var(--st-ease);
}
.emp-card:hover .emp-portrait img { transform: scale(1.07); }
.emp-body {
  padding: 20px 24px 24px;
  /* the portrait haze melts into the card body */
  background: linear-gradient(180deg, rgba(241, 231, 214, 0), rgba(241, 231, 214, 0.4));
}
.act-employees.in .emp-card { opacity: 1; transform: none; }
.act-employees.in .emp-card:nth-child(1) { transition-delay: 0.05s; }
.act-employees.in .emp-card:nth-child(2) { transition-delay: 0.14s; }
.act-employees.in .emp-card:nth-child(3) { transition-delay: 0.23s; }
.act-employees.in .emp-card:nth-child(4) { transition-delay: 0.32s; }
.act-employees.in .emp-card:nth-child(5) { transition-delay: 0.41s; }
.act-employees.in .emp-card:nth-child(6) { transition-delay: 0.5s; }
.emp-card::after {                     /* light sweep across the stone */
  content: '';
  position: absolute;
  top: -30%;
  left: -80%;
  width: 55%;
  height: 160%;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 249, 238, 0.65), transparent);
  transition: left 1.1s var(--st-ease);
  pointer-events: none;
}
.emp-card:hover::after { left: 140%; }
.emp-medal-unused {
  width: 96px; height: 96px;
  border-radius: 50%;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-size: 36px;
  font-weight: 700;
  color: rgba(75, 62, 48, 0.75);
  background:
    radial-gradient(circle at 32% 28%, #F4E9D8, #D9C7AC 62%, #C2AC8D);
  border: 1px solid rgba(120, 100, 76, 0.35);
  box-shadow:
    inset 0 2px 5px rgba(255, 255, 255, 0.75),
    inset 0 -3px 7px rgba(97, 78, 56, 0.3),
    0 12px 26px -12px rgba(75, 62, 48, 0.45);
  position: relative;
}
.emp-medal-unused::before {                   /* inner engraved ring */
  content: '';
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  border: 1px solid rgba(120, 100, 76, 0.3);
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.5);
}
.emp-name {
  font-family: var(--font-primary);
  font-size: 24px;
  font-weight: 700;
  color: var(--st-ink);
  letter-spacing: -0.02em;
}
.emp-role {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--st-bronze-deep);
  margin: 5px 0 16px;
}
.emp-lines { list-style: none; margin: 0; padding: 0; }
.emp-lines li {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--st-muted);
  padding: 3.5px 0;
}
.emp-foot {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--st-muted);
  margin-top: 16px;
}

/* ==========================================================================
   ACT 7 — INTEGRATIONS
   ========================================================================== */
.act-integrations {
  background: linear-gradient(180deg, var(--st-cream) 0%, var(--st-cream-deep) 100%);
  padding: clamp(110px, 15vh, 170px) 0;
}
.int-head { text-align: center; }
.int-head .act-label { justify-content: center; }
.int-head .act-label::after { content: ''; width: 34px; height: 1px; background: var(--st-bronze); }
.int-head .act-body { margin: 0 auto; }
.int-web {
  position: relative;
  max-width: 880px;
  margin: 64px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.int-core {
  grid-column: 1 / -1;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 30px;
  border-radius: 999px;
  background: linear-gradient(160deg, #23221F, #161512);
  color: #F2EDE4;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-indent: 0.24em;
  border: 1px solid rgba(213, 171, 143, 0.45);
  box-shadow: 0 0 44px rgba(213, 171, 143, 0.22);
  margin-bottom: 26px;
}
.int-core .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--st-olive);
  animation: chipPulse 2.2s ease-in-out infinite;
}
.int-chip {
  position: relative;
  background: rgba(255, 251, 244, 0.75);
  border: 1px solid var(--st-line);
  border-radius: 14px;
  padding: 15px 16px 13px;
  text-align: center;
  cursor: default;
  transition: transform 0.45s var(--st-ease), box-shadow 0.45s var(--st-ease), border-color 0.3s ease;
}
.int-chip:hover, .int-chip.open {
  transform: translateY(-4px);
  border-color: rgba(213, 171, 143, 0.6);
  box-shadow: 0 20px 44px -22px rgba(27, 29, 40, 0.3);
}
.int-chip .i-ico {
  width: 26px; height: 26px;
  margin: 0 auto 7px;
}
.int-chip .i-ico svg { width: 100%; height: 100%; }
.int-chip .i-name {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--st-ink);
}
.int-chip .i-does {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.55;
  color: var(--st-muted);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s var(--st-ease), opacity 0.4s ease, margin 0.5s var(--st-ease);
  margin-top: 0;
}
.int-chip:hover .i-does, .int-chip.open .i-does {
  max-height: 72px;
  opacity: 1;
  margin-top: 7px;
}
.int-chip::before {                    /* data pulse up to Flow */
  content: '';
  position: absolute;
  top: -26px;
  left: 50%;
  width: 1.5px;
  height: 26px;
  background: linear-gradient(180deg, transparent, rgba(213, 171, 143, 0.5));
  background-size: 100% 220%;
  animation: intPulse 2.6s linear infinite;
}
.int-chip:nth-child(odd)::before { animation-delay: 1.2s; }
@keyframes intPulse {
  0% { background-position: 0 120%; }
  100% { background-position: 0 -120%; }
}

/* ==========================================================================
   ACT 8 — OLD WAY vs DEALSFLOW WAY
   ========================================================================== */
.act-versus {
  background: var(--st-charcoal);
  padding: clamp(110px, 15vh, 170px) 0;
}
.vs-head { text-align: center; margin-bottom: 56px; }
.vs-head .act-label { justify-content: center; }
.vs-head .act-label::after { content: ''; width: 34px; height: 1px; background: var(--st-bronze); }
.vs-stage {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(242, 237, 228, 0.1);
  min-height: 420px;
}
.vs-side { position: absolute; inset: 0; padding: 46px 50px; }
.vs-old {
  background:
    radial-gradient(ellipse 60% 50% at 20% 15%, rgba(160, 60, 40, 0.1), transparent 60%),
    linear-gradient(160deg, #1B1A17, #121110);
}
.vs-new {
  background: linear-gradient(160deg, var(--st-cream), var(--st-cream-deep));
  clip-path: inset(0 0 0 calc((1 - var(--p, 0)) * 100%));
  will-change: clip-path;
}
.vs-title {
  font-family: var(--font-primary);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}
.vs-old .vs-title { color: rgba(242, 237, 228, 0.85); }
.vs-new .vs-title { color: var(--st-ink); }
.vs-list { list-style: none; margin: 0; padding: 0; max-width: 340px; }
.vs-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 0;
  font-size: 15px;
}
.vs-old .vs-list li { color: rgba(242, 237, 228, 0.55); }
.vs-new .vs-list li { color: var(--st-ink); }
.vs-old .vs-list .x {
  width: 16px; height: 16px; flex-shrink: 0;
  color: rgba(224, 122, 95, 0.8);
}
.vs-new .vs-list .tick {
  width: 17px; height: 17px; flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid var(--st-moss);
  display: inline-flex; align-items: center; justify-content: center;
}
.vs-new .vs-list .tick svg { width: 9px; height: 9px; stroke: var(--st-moss); }
.vs-noise {
  position: absolute;
  right: 44px;
  top: 44px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}
.vs-noise span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(242, 237, 228, 0.4);
  border: 1px solid rgba(242, 237, 228, 0.12);
  background: rgba(242, 237, 228, 0.04);
  border-radius: 8px;
  padding: 6px 12px;
  animation: vsJitter 3.4s ease-in-out infinite;
}
.vs-noise span:nth-child(2) { animation-delay: 0.6s; }
.vs-noise span:nth-child(3) { animation-delay: 1.3s; }
.vs-noise span:nth-child(4) { animation-delay: 2s; }
@keyframes vsJitter {
  0%, 100% { transform: translate(0, 0); }
  22% { transform: translate(-2px, 1px); }
  48% { transform: translate(1px, -2px); }
  74% { transform: translate(-1px, 2px); }
}
.vs-calm-flow {
  position: absolute;
  right: 50px;
  bottom: 46px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--st-olive);
  display: flex;
  align-items: center;
  gap: 8px;
}
.vs-calm-flow .pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--st-olive);
  animation: chipPulse 2.6s ease-in-out infinite;
}

/* ==========================================================================
   ACT 9 — RESULTS (honest outcomes, no invented metrics)
   ========================================================================== */
.act-results {
  background: var(--st-cream);
  padding: clamp(110px, 15vh, 170px) 0;
  text-align: center;
}
.act-results .act-label { justify-content: center; }
.act-results .act-label::after { content: ''; width: 34px; height: 1px; background: var(--st-bronze); }
.res-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
  margin-top: 64px;
}
.res-item .r-big {
  font-family: var(--font-primary);
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--st-ink);
  display: inline-block;
  position: relative;
  padding-bottom: 10px;
}
.res-item .r-big::after {
  content: '';
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 0;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--st-olive), var(--st-moss));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.1s var(--st-ease);
}
.act-results.in .res-item:nth-child(1) .r-big::after { transform: scaleX(1); transition-delay: 0.2s; }
.act-results.in .res-item:nth-child(2) .r-big::after { transform: scaleX(1); transition-delay: 0.45s; }
.act-results.in .res-item:nth-child(3) .r-big::after { transform: scaleX(1); transition-delay: 0.7s; }
.res-item p {
  font-size: 14.5px;
  color: var(--st-muted);
  margin-top: 12px;
  line-height: 1.6;
}

/* ==========================================================================
   ACT 10 — PRICING AS COMPANY GROWTH
   ========================================================================== */
.act-pricing {
  background: linear-gradient(180deg, var(--st-cream) 0%, var(--st-cream-deep) 100%);
  padding: clamp(110px, 15vh, 170px) 0;
}
.pr-head { text-align: center; }
.pr-head .act-label { justify-content: center; }
.pr-head .act-label::after { content: ''; width: 34px; height: 1px; background: var(--st-bronze); }
.pr-head .act-body { margin: 0 auto; }
.pr-path {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 70px;
}
.pr-path::before {                     /* growth line behind the cards */
  content: '';
  position: absolute;
  top: 96px;
  left: 6%;
  right: 6%;
  height: 1.5px;
  background: linear-gradient(90deg, var(--st-stone), var(--st-bronze), var(--st-moss));
  opacity: 0.4;
}
.pr-card {
  position: relative;
  background: rgba(255, 251, 244, 0.85);
  border: 1px solid var(--st-line);
  border-radius: 20px;
  padding: 28px 24px 26px;
  text-align: center;
  transition: transform 0.5s var(--st-ease), box-shadow 0.5s var(--st-ease), border-color 0.35s ease;
  display: flex;
  flex-direction: column;
}
.pr-card:hover {
  transform: translateY(-6px);
  border-color: rgba(92, 122, 58, 0.4);
  box-shadow: 0 34px 70px -34px rgba(27, 29, 40, 0.35);
}
.pr-card.featured {
  border-color: rgba(213, 171, 143, 0.7);
  background: linear-gradient(175deg, #FFFBF4, #F5EADA);
}
.pr-ruin { height: 96px; margin: 0 auto 18px; display: flex; align-items: flex-end; justify-content: center; }
.pr-ruin img {
  max-height: 100%;
  max-width: 88%;
  object-fit: contain;
  filter: drop-shadow(0 14px 20px rgba(75, 62, 48, 0.22));
  transition: transform 0.6s var(--st-ease), filter 0.6s ease;
}
.pr-card:hover .pr-ruin img {
  transform: translateY(-4px) scale(1.04);
  filter: drop-shadow(0 20px 26px rgba(75, 62, 48, 0.3)) saturate(1.12) brightness(1.03);
}
.pr-name {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 18px;
  color: var(--st-ink);
}
.pr-price {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -0.03em;
  color: var(--st-ink);
  margin: 8px 0 2px;
}
.pr-price small {
  font-size: 13px;
  font-weight: 500;
  color: var(--st-muted);
  letter-spacing: 0;
}
.pr-one {
  font-size: 14px;
  color: var(--st-muted);
  line-height: 1.55;
  margin: 8px 0 12px;
  min-height: 44px;
}
.pr-inc {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--st-bronze-deep);
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}
.pr-cta {
  margin-top: auto;
  display: inline-block;
  padding: 11px 20px;
  border-radius: 999px;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  color: var(--st-ink);
  border: 1px solid rgba(30, 24, 18, 0.2);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.pr-cta:hover { background: var(--st-ink); color: #F2EDE4; border-color: var(--st-ink); }
.pr-card.featured .pr-cta {
  background: var(--st-bronze);
  border-color: var(--st-bronze);
  color: var(--st-ink);
}
.pr-card.featured .pr-cta:hover { background: var(--st-bronze-deep); border-color: var(--st-bronze-deep); }
.pr-more {
  display: block;
  text-align: center;
  margin-top: 42px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--st-muted);
  text-decoration: none;
  border-bottom: none;
}
.pr-more span { border-bottom: 1px solid var(--st-line); padding-bottom: 3px; transition: border-color 0.3s, color 0.3s; }
.pr-more:hover span { color: var(--st-ink); border-color: var(--st-bronze); }

/* ==========================================================================
   ACT 11 — FINAL CTA
   ========================================================================== */
.act-final {
  position: relative;
  background:
    radial-gradient(ellipse 90% 60% at 50% 118%, rgba(213, 171, 143, 0.3), transparent 62%),
    linear-gradient(180deg, var(--st-cream-deep), var(--st-sand));
  padding: clamp(130px, 18vh, 210px) 0 clamp(150px, 20vh, 230px);
  text-align: center;
}
.act-final .ruin-edge {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 46%;
  background-image: url('../img/hero-ruins.webp');
  background-size: cover;
  background-position: 50% 100%;
  opacity: 0.24;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 65%);
  mask-image: linear-gradient(180deg, transparent, #000 65%);
}
.act-final .act-wrap { position: relative; z-index: 1; }
.act-final .act-label { justify-content: center; }
.act-final .act-label::after { content: ''; width: 34px; height: 1px; background: var(--st-bronze); }
.fin-prompt {
  position: relative;
  max-width: 620px;
  margin: 44px auto 0;
}
.fin-input {
  width: 100%;
  padding: 19px 56px 19px 24px;
  border-radius: 999px;
  border: 1px solid rgba(30, 24, 18, 0.16);
  background: rgba(255, 251, 244, 0.92);
  font-family: var(--font-mono);
  font-size: 14.5px;
  color: var(--st-ink);
  outline: none;
  box-shadow: 0 26px 60px -28px rgba(27, 29, 40, 0.3);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.fin-input:focus {
  border-color: rgba(213, 171, 143, 0.8);
  box-shadow: 0 26px 60px -24px rgba(27, 29, 40, 0.35), 0 0 0 4px rgba(213, 171, 143, 0.18);
}
.fin-mic {
  position: absolute;
  right: 9px; top: 9px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--st-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.fin-mic svg { width: 17px; height: 17px; stroke: #F2EDE4; }
.fin-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--st-muted);
  margin-top: 12px;
  display: block;
}
.fin-sug {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.6s var(--st-ease), opacity 0.45s ease;
}
.fin-prompt.is-open .fin-sug { max-height: 130px; opacity: 1; }
.fin-sug button {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--st-ink);
  background: rgba(255, 251, 244, 0.8);
  border: 1px solid var(--st-line);
  border-radius: 999px;
  padding: 9px 16px;
  cursor: pointer;
  transition: border-color 0.3s ease, transform 0.3s var(--st-ease);
}
.fin-sug button:hover { border-color: var(--st-bronze); transform: translateY(-2px); }
.fin-reply {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--st-moss);
  min-height: 20px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s var(--st-ease);
}
.fin-reply.show { opacity: 1; transform: none; }
.fin-ctas {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.fin-micro {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--st-muted);
  margin-top: 18px;
}

/* ==========================================================================
   FAQ bridge tone (existing FAQ section sits between acts)
   ========================================================================== */
.faq-section { background: var(--st-cream); }

/* ==========================================================================
   REDUCED MOTION — static final states
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .seq > *, .convo-card, .convo-check li, .emp-card,
  .tl-ev .e-name, .res-item .r-big::after {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .convo-link::before { transform: scaleX(1) !important; transition: none; }
  .tl-line i { transform: scaleX(1) !important; }
  .tl-ev .e-dot { border-color: var(--st-moss); background: var(--st-moss); }
  .tl-ev .e-name { opacity: 1; }
  .vs-new { clip-path: inset(0 0 0 50%) !important; }
  .orch-orbit, .orch-core, .orch-beam::after, .vs-noise span,
  .int-chip::before, .ib-chip .c-dot, .int-core .pulse, .vs-calm-flow .pulse,
  .convo-caret { animation: none !important; }
  .orch-beam { opacity: 0 !important; }
  .orch-panel .p-bar i { transform: scaleX(1); animation: none !important; }
  .orch-panel .p-done { opacity: 1; animation: none !important; }
  .inside-board { transform: none !important; }
  .ib-bars i { transform: scaleY(var(--h, 0.6)) !important; }
  .emp-card::after { display: none; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .orch-grid { grid-template-columns: 1fr; gap: 30px; }
  .orch-stage { max-width: 440px; }
  .orch-node { --orbit: 178px; }
  .inside-grid { grid-template-columns: 1fr; gap: 44px; }
  .int-web { grid-template-columns: repeat(2, 1fr); max-width: 560px; }
}

@media (max-width: 768px) {
  .act .act-wrap { padding: 0 24px; }
  .act h2 { font-size: clamp(30px, 8vw, 40px); }

  /* conversation stacks */
  .convo-row { grid-template-columns: 1fr; gap: 0; }
  .convo-link {
    width: 2px; height: 42px;
    justify-self: center;
  }
  .convo-link::before {
    background: linear-gradient(180deg, var(--st-bronze), var(--st-moss));
    transform: scaleY(0);
    transform-origin: top center;
  }
  .act-convo.step-2 .convo-link--a::before { transform: scaleY(1); }
  .act-convo.step-4 .convo-link--b::before { transform: scaleY(1); }

  /* orchestra becomes a centred stack */
  .orch-stage { aspect-ratio: auto; max-width: none; }
  .orch-orbit, .orch-beam { display: none; }
  .orch-core { position: static; transform: none; margin: 0 auto 26px; }
  .orch-nodes-wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
  .orch-node { position: static; margin: 0; width: auto; transform: none; }
  .orch-panel { max-width: none; }

  /* timeline goes vertical */
  .tl-rail { grid-template-columns: 1fr; gap: 26px; margin-top: 48px; padding-left: 10px; }
  .tl-line {
    top: 8px; bottom: 8px; left: 18px; right: auto;
    width: 2px; height: auto;
  }
  .tl-line i { transform: scaleY(var(--p, 0)); transform-origin: top center; }
  .tl-ev { text-align: left; padding-left: 40px; }
  .tl-ev .e-dot { position: absolute; left: 10px; top: 2px; margin: 0; }
  .tl-ev .e-time { margin: 0 0 3px; }

  .inside-board { grid-template-columns: 1fr; }
  .emp-track { grid-auto-columns: 84%; padding: 40px 24px 20px; }
  .vs-stage { min-height: 0; }
  .vs-side { position: static; padding: 34px 26px; }
  .vs-new { clip-path: none !important; }
  .vs-noise { position: static; align-items: flex-start; margin-top: 22px; }
  .vs-calm-flow { position: static; margin-top: 22px; }
  .res-row { grid-template-columns: 1fr; gap: 34px; margin-top: 44px; }
  .pr-path { grid-template-columns: 1fr; max-width: 380px; margin-left: auto; margin-right: auto; }
  .pr-path::before { display: none; }
  .pr-one { min-height: 0; }
  .fin-ctas .btn { width: 100%; justify-content: center; }
}

/* ==========================================================================
   MOSS MICRO-INTERACTIONS
   ========================================================================== */
/* moss blooms along the bottom edge of primary CTAs on hover */
.btn-primary, .pr-cta {
  position: relative;
  overflow: hidden;
}
.btn-primary::after, .pr-cta::after {
  content: '';
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: -4px;
  height: 14px;
  background:
    radial-gradient(closest-side at 18% 100%, rgba(92, 122, 58, 0.8), transparent),
    radial-gradient(closest-side at 42% 100%, rgba(123, 140, 84, 0.7), transparent),
    radial-gradient(closest-side at 66% 100%, rgba(92, 122, 58, 0.75), transparent),
    radial-gradient(closest-side at 88% 100%, rgba(123, 140, 84, 0.65), transparent);
  filter: blur(3px);
  opacity: 0;
  transform: translateY(100%);
  transition: transform 0.5s var(--st-ease), opacity 0.35s ease;
  pointer-events: none;
}
.btn-primary:hover::after, .pr-cta:hover::after {
  opacity: 1;
  transform: translateY(30%);
}

/* act label rules draw themselves as each act arrives */
.act .act-label::before, .act .act-label::after {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.9s var(--st-ease) 0.15s;
}
.act .act-label::after { transform-origin: right center; }
.act.in .act-label::before, .act.in .act-label::after { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  .act .act-label::before, .act .act-label::after { transform: scaleX(1) !important; transition: none !important; }
  .btn-primary::after, .pr-cta::after { display: none; }
  .emp-portrait img { transform: none !important; transition: none !important; }
}
