/* Intro: world.js sets --r (0..1) and .opened on .stage; the book flies into .book-slot. */
.stage[data-i] .intro { top: 46%; width: calc(100% - 48px); gap: 32px; translate: 0 calc((1 - var(--r, 0)) * 14px); }
.stage[data-i].opened .intro { pointer-events: auto; }
.book-slot { display: block; flex: none; width: 236px; height: 64px; }
/* Book a call (flown into the slot by world.js) with a quieter text link beside it. */
.cta { display: flex; align-items: center; gap: 28px; opacity: 0; transition: opacity .6s 1.6s; }
.opened .cta { opacity: 1; }
.see { font-size: var(--fs-m); color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .3em; }
.see span { display: inline-block; transition: translate .3s var(--ease-out); }
.see:hover span { translate: 0 3px; }

.big { margin: 0; font-size: clamp(44px, 8.4vw, 150px); line-height: .98; letter-spacing: -0.045em; font-weight: 500; }
.big .w { display: inline-block; opacity: 0; translate: 0 .6em; rotate: 4deg; transition: opacity .5s, translate .8s var(--ease-out), rotate .8s var(--ease-out); transition-delay: calc(var(--k) * 70ms); }
.opened .big .w { opacity: 1; translate: none; rotate: none; }
/* One accent word in an italic serif. */
.big .w[data-serif] { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -0.02em; padding-right: .04em; }
.big mark {
  color: inherit; padding: 0 .03em; border-radius: .15em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
  background: linear-gradient(var(--hl), var(--hl)) no-repeat 0 85% / 0% 45%;
  transition: background-size .7s var(--ease-out); transition-delay: calc(.7s + var(--k) * .35s);
}
.opened .big mark { background-size: 100% 45%; }
.big mark + mark, .big mark ~ mark {
  background: linear-gradient(var(--bg), var(--bg)) right bottom / 100% 32% no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M3 13c22-7 40-8 58-4s30 6 50 1 38-7 55-3 22 4 31 1' fill='none' stroke='%23ffe36e' stroke-width='6' stroke-linecap='round'/%3E%3Cpath d='M14 16c30-5 70-6 112-3s45 1 60-2' fill='none' stroke='%23ffe36e' stroke-width='3.5' stroke-linecap='round'/%3E%3C/svg%3E") left bottom / 100% 32% no-repeat;
  transition: background-size 1s cubic-bezier(.6,.1,.3,1); transition-delay: calc(.7s + var(--k) * .35s);
}
.opened .big mark + mark, .opened .big mark ~ mark { background-size: 0% 32%, 100% 32%; }

.stage[data-i] .now { max-width: 440px; margin-top: -8px; opacity: 0; translate: 0 10px; transition: opacity .6s 1.4s, translate .8s var(--ease-out) 1.4s; }
.stage[data-i].opened .now { opacity: 1; translate: none; }

@media (prefers-reduced-motion: reduce) { .big .w, .big mark, .stage[data-i] .now, .cta { transition: none; } }

/* Phones: the button and "What we do" stack, centred; the slot matches the smaller button. */
@media (width <= 760px) {
  .cta { flex-direction: column; gap: 16px; }
  .book-slot { width: 200px; height: 52px; }
}
