/* round 8: the Norte week page. Round 7 page B cut to one short story and five blocks, and a flat page for phones and
   browsers without WebGL (html.flat): the waterfall as a still, no canvas, everything in normal flow */

/* ---------- shared pieces ---------- */
.tag svg { width: 0.95em; height: 0.95em; }
.tag--heart svg { color: #C62A1F; }
.link--small { font-size: 15px; }
.halves, .hero__still { display: none; }

/* the bridge: the sieve, held while its four beats play; the beat sits over the top of the screen, the sieve below */
.bridge.sx--pin { height: 560vh; }
.bridge .beat .h2 { font-size: clamp(34px, 3.3vw, 58px); }
.bridge .beat--t { top: 15vh; width: min(46rem, 84vw); }
.bridge .beat .lede { margin: 0.7em auto 0; max-width: 38rem; }
.bridge .beat .note { margin: 1em auto 0; }
.ans { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 0.5em; font-family: var(--display); font-weight: 700; font-size: 17px; color: var(--ink); }
.ans svg { width: 16px; height: 16px; fill: currentColor; }
.ans--red { color: #C62A1F; }
.ans__n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 2px solid currentColor; font-size: 15px; }

/* the workshop: held while one phone turns through the room app's screens; the steps on the left */
.workshop.sx--pin { height: 1166vh; }
.steps { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.step a, .step .blank { pointer-events: auto; }
.step { position: absolute; left: calc(var(--g) + 3.5vw); width: min(33rem, 38vw); top: 50%; opacity: 0; visibility: hidden; transform: translateY(calc(-50% + 26px));
  transition: opacity 380ms ease, transform 560ms cubic-bezier(.2, .7, .2, 1), visibility 0s linear 380ms; }
.step.is-on { opacity: 1; visibility: visible; transform: translateY(-50%); transition: opacity 480ms ease 120ms, transform 640ms cubic-bezier(.2, .7, .2, 1) 120ms, visibility 0s; }
.step.is-past { transform: translateY(calc(-50% - 26px)); }
.workshop .h2 { font-size: clamp(32px, 2.9vw, 52px); }
.step .lede { margin-top: 0.8em; }
.step__k { margin: 0 0 0.6em; font-size: 14px; font-weight: 650; letter-spacing: 0.01em; color: #C62A1F; }
.step__h { margin: 0; font-family: var(--display); font-weight: 750; font-size: clamp(30px, 2.6vw, 46px); letter-spacing: -0.03em; line-height: 1.04; }
.takeaway__free { margin-top: 0.8em; font-weight: 650; color: var(--ink); }
.step .link { display: inline-block; margin-top: 1em; }
.step .blank { margin-top: 1.1em; }
.step[data-side="r"] { left: auto; right: calc(var(--g) + 3.5vw); width: min(31rem, 36vw); }
.phone3d { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.phone3d canvas { display: block; width: 100%; height: 100%; }
.ticks { position: fixed; left: 50%; transform: translateX(-50%); bottom: 5vh; z-index: 6; display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.workshop .phones__note { position: absolute; right: calc(var(--g) + 3.5vw); text-align: right; bottom: 4vh; z-index: 1; margin: 0; font-size: 13px; color: #6A6D76; }
.deep .workshop .phones { display: none; }
.phones { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; align-items: start; }
.phone { margin: 0; }
.phone__frame { position: relative; padding: 5px; border-radius: 24px; background: var(--ink); box-shadow: 0 18px 40px -22px rgba(22, 23, 27, 0.55); }
.phone__frame img { display: block; width: 100%; height: auto; border-radius: 19px; }
.phone__frame::after { content: "Ejemplo"; position: absolute; top: -9px; right: 10px; padding: 3px 7px; border-radius: 3px; background: #C62A1F; color: #fff;
  font-family: var(--display); font-weight: 700; font-size: 11px; letter-spacing: 0.02em; line-height: 1.2; }
.phone figcaption { margin-top: 0.7em; font-size: 13.5px; line-height: 1.35; color: var(--ink-mid); }

/* marked blanks: what only the team can give. Dashed red so nobody ships one by mistake */
.blank { margin-top: 1.4em; padding: 12px 16px; border: 2px dashed rgba(198, 42, 31, 0.55); border-radius: 6px; color: #C62A1F; font-size: 14px; font-weight: 600; }

/* proof of building */
.proof .tx { max-width: 32rem; }
.product { margin-top: 1.8em; padding: 22px 24px; background: #fff; border-radius: 14px; box-shadow: 0 0 0 1px rgba(22, 23, 27, 0.08); }
.product h3 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 24px; letter-spacing: -0.02em; }
.product p { margin: 0.45em 0 0.8em; color: var(--ink-mid); font-size: 16px; line-height: 1.45; }

/* honest answers and the close */
.answers .tx { max-width: 31rem; }
.qa { margin: 1.1em 0 0; border-top: 1px solid rgba(22, 23, 27, 0.12); }
.qa__i { border-bottom: 1px solid rgba(22, 23, 27, 0.12); }
.qa__i summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 13px 0; cursor: pointer; list-style: none;
  font-family: var(--display); font-weight: 700; font-size: clamp(17px, 1.2vw, 21px); letter-spacing: -0.015em; line-height: 1.2; }
.qa__i summary::-webkit-details-marker { display: none; }
.qa__i summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform 240ms ease; }
.qa__i[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.qa__i summary:hover { color: #C62A1F; }
.qa__i p { margin: 0 0 14px; color: var(--ink-mid); font-size: clamp(15px, 1vw, 17px); line-height: 1.5; }
.close { margin-top: 1.6em; }
.close .h2 { font-size: clamp(26px, 2.2vw, 40px); }
.close .lede { margin-top: 0.4em; }
.answers .blank { margin-top: 1.1em; }
.close .btn--big { margin-top: 0; }

/* ---------- the deep page: the story is short now, and its two suits carry the two halves ---------- */
.story { --story: 995vh; }
.deep .proof { min-height: 60vh; }
.deep .answers { padding-top: 6vh; padding-bottom: 6vh; min-height: 100vh; }
.deep .answers .sx__in { align-items: center; }
.deep .say--suit { bottom: 12vh; width: 27vw; }
.deep .say--suit span { font-size: clamp(15px, 1.1vw, 19px); line-height: 1.4; }
@media (max-height: 760px) { .deep .say--suit { bottom: 7vh; } }

/* ---------- the flat page ---------- */
.flat #gl, .flat .thesis, .flat .say { display: none; }
.flat .story { height: auto; }
.flat .stage { position: relative; height: auto; overflow: visible; }
.flat .hero { position: relative; left: auto; top: auto; transform: none; padding: 92px var(--g) 0; }
.flat .hero h1 { font-size: clamp(25px, 7.4vw, 46px); }
.flat .hero__sub { font-size: 17px; max-width: 34ch; }
.flat .hero__acts { flex-wrap: wrap; gap: 14px 22px; }
.flat .hero__still { display: block; width: min(100%, 520px); height: auto; margin: 6px auto 0; }
.flat .top { background: rgba(241, 242, 244, 0.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(22, 23, 27, 0.06); padding-top: 12px; padding-bottom: 12px; }
.flat .top__nav a:not(.top__talk) { display: none; }
.flat .top .btn--ink { padding: 0.7em 1em; font-size: 14px; }
.flat .sx { min-height: 0; padding: 56px var(--g); }
.flat .sx__in { flex-direction: column; }
.flat .halves { display: block; padding-top: 24px; }
.flat .halves .sx__in { gap: 14px; }
.half { position: relative; padding: 22px 22px 20px 64px; background: #fff; border-radius: 14px; box-shadow: 0 0 0 1px rgba(22, 23, 27, 0.08); }
.half__suit { position: absolute; left: 20px; top: 24px; width: 26px; height: 26px; color: var(--ink); }
.half--heart .half__suit, .half--heart h2 { color: #C62A1F; }
.half__suit svg { width: 100%; height: 100%; fill: currentColor; }
.half h2 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: -0.025em; line-height: 1.05; }
.half p { margin: 0.45em 0 0.6em; color: var(--ink-mid); font-size: 16px; line-height: 1.45; }
.half__go { font-size: 15px; font-weight: 650; text-decoration: underline; text-underline-offset: 4px; }
.flat .deck-row, .flat .sx--split .deck-row { flex-direction: column; flex-wrap: nowrap; gap: 14px; width: 100%; }
.flat .pc { width: 100%; aspect-ratio: auto; padding: 46px 22px 22px; }
.flat .pc__ix--br { display: none; }
.flat .sx--deck .sx__in { gap: 22px; }
.flat .sx--l .sx__in, .flat .sx--r .sx__in { justify-content: flex-start; }
.flat .h2 { font-size: clamp(30px, 8.4vw, 44px); }
.flat .foot { flex-direction: column; align-items: flex-start; }
.flat .btn--big { font-size: 18px; }

/* a wide window without WebGL: the still beside the hero, the halves side by side */
@media (min-width: 640px) {
  .flat .stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); align-items: center; min-height: 100vh; min-height: 100svh; }
  .flat .hero { padding: 0 0 0 calc(var(--g) + 3.5vw); }
  .flat .hero h1 { font-size: min(4.3vw, 7vh); }
  .flat .hero__still { width: 100%; margin: 0; }
  .flat .halves .sx__in { flex-direction: row; }
  .flat .half { flex: 1; }
  .flat .deck-row { flex-direction: row; }
  .flat .pc { width: auto; flex: 1 1 0; min-width: 0; }
}

/* round 9: the mark up front, beside the name, and a larger one in the bar */
/* the owner's pick (DaQuest j2a8b6): the word at 28px, centred on a mark of about the same size */
.top__brand { font-size: 28px; gap: 12px; letter-spacing: -0.03em; }
.top__brand svg { width: 25px; height: 30px; transform: translateY(-1px); }
/* desktop: at the top of the page the bar is taller and the mark and word bigger; they ease back to their size as
   soon as the page scrolls (.is-solid, site.js). scale, not transform, so the brand's entrance slide is untouched */
.deep .top { transition: padding 520ms cubic-bezier(.2, .7, .2, 1), background-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease; }
.deep .top:not(.is-solid) { padding-top: 34px; padding-bottom: 34px; }
.deep .top__brand { transform-origin: 0 50%; transition: scale 520ms cubic-bezier(.2, .7, .2, 1); }
.deep .top:not(.is-solid) .top__brand { scale: 1.45; }
.deep.ready .top__brand { transition: opacity 620ms ease, transform 900ms cubic-bezier(.2, .7, .2, 1), scale 520ms cubic-bezier(.2, .7, .2, 1); }

/* Ki-Routine: the workshop line for it */
.product__line { margin: 0.3em 0 0 !important; font-family: var(--display); font-weight: 700; font-size: 19px !important; letter-spacing: -0.015em; color: var(--ink) !important; }

/* ---------- round 9 ---------- */
/* the flat page: the held blocks (the sieve, the phone) become plain blocks */
.flat .sx--pin { height: auto; padding: 56px var(--g); }
.flat .pin__stick { position: static; height: auto; overflow: visible; }
.flat .pin__head { position: static; transform: none; width: auto; text-align: left; }
.flat .beat { position: static; opacity: 1; visibility: visible; transform: none; width: auto; text-align: left; margin-top: 26px; }
.flat .bridge .beat .lede, .flat .bridge .beat .note { margin-left: 0; }
.flat .steps { position: static; transform: none; width: auto; height: auto; }
.flat .step { position: static; opacity: 1; visibility: visible; transform: none; margin-top: 30px; }
.flat .step:first-child { margin-top: 0; }
.flat .phone3d, .flat .ticks { display: none; }
.flat .workshop .phones { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: min(74vw, 300px); gap: 16px; overflow-x: auto;
  scroll-snap-type: x mandatory; margin: 32px calc(-1 * var(--g)) 0; padding: 12px var(--g) 8px; }
.flat .workshop .phone { scroll-snap-align: center; }
.flat .workshop .phones__note { position: static; margin-top: 10px; }
.flat .qa__i summary { font-size: 18px; }

/* the intro (deep page): the header and the hero come in from the sides once the mark has turned gold */
.deep .top__brand, .deep .hero h1 > span, .deep .hero__sub, .deep .hero__acts { opacity: 0; transform: translateX(-36px); }
.deep .top__nav { opacity: 0; transform: translateX(36px); }
.deep.ready .top__brand, .deep.ready .top__nav, .deep.ready .hero h1 > span, .deep.ready .hero__sub, .deep.ready .hero__acts { opacity: 1; transform: none;
  transition: opacity 620ms ease, transform 900ms cubic-bezier(.2, .7, .2, 1); }
.deep.ready .hero h1 > span:nth-child(2) { transition-delay: 70ms; }
.deep.ready .hero h1 > span:nth-child(3) { transition-delay: 140ms; }
.deep.ready .hero__sub { transition-delay: 210ms; }
.deep.ready .hero__acts { transition-delay: 280ms; }
.deep.ready .top__nav { transition-delay: 120ms; }
/* the mark that leaves the loader for the rock: placed every frame by the engine (a perspective map onto the cut) */
.ld-fly { position: fixed; left: 0; top: 0; z-index: 101; transform-origin: 0 0; pointer-events: none; will-change: transform, opacity; }
.ld-fly svg { display: block; width: 100%; height: 100%; }

/* round 10: the call, alone, with the cards in a slow ellipse round it */
.cta { min-height: 100vh; min-height: 100svh; }
.cta .sx__in { justify-content: center; align-items: center; }
.cta__in { max-width: 40rem; text-align: center; margin: 0 auto; }
.cta .h2 { font-size: clamp(34px, 3.4vw, 60px); }
.cta .lede { margin: 0.9em auto 0; max-width: 34rem; }
.cta .acts { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 26px; margin-top: 1.8em; }
.cta .btn--big { margin-top: 0; }
.cta .blank { margin: 1.6em auto 0; max-width: 30rem; }
.phones__note a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.flat .cta { min-height: 0; }
.flat .cta__in { text-align: left; margin: 0; }
.flat .cta .acts { justify-content: flex-start; }
.flat .step[data-side="r"], .flat .step { width: auto; }
.flat .step--quiet { display: none; }

/* round 11: the story beside the river (left two thirds), then the two sides round the centred columns */
.deep .say--beat { left: calc(var(--g) + 3.5vw); top: 50%; transform: translateY(-50%); width: min(34rem, 40vw); }
.say__big { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(34px, 3.3vw, 62px); line-height: 1.04; letter-spacing: -0.03em; text-wrap: balance; }
.say__small { margin: 0.75em 0 0; max-width: 34rem; font-size: clamp(17px, 1.25vw, 22px); line-height: 1.45; color: var(--ink-mid); text-wrap: pretty; }
.deep .say--side { top: 50%; transform: translateY(-50%); width: min(17rem, 19vw); }
.deep .say--side-l { left: calc(var(--g) + 3.5vw); }
.deep .say--side-r { right: calc(var(--g) + 3.5vw); text-align: right; }
.say--side svg { display: block; width: 30px; height: 30px; margin-bottom: 14px; fill: var(--ink); }
.say--side-l svg { fill: #C62A1F; }
.say--side-r svg { margin-left: auto; }
.say--side b { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(28px, 2.4vw, 44px); letter-spacing: -0.025em; line-height: 1.05; }
.say--side-l b { color: #C62A1F; }
.say--side span { display: block; margin-top: 0.55em; font-size: clamp(16px, 1.15vw, 20px); line-height: 1.45; color: var(--ink-mid); }
.deep .say--suit { width: 30vw; }

/* round 11 · the hero (impeccable). The message leads, not the name the bar already carries: the approved line in three
   lines, the last in the heart's red; under it what kadabra does, one clear action, and the brand line as a sign-off.
   One authored entrance: each line rises out of its own mask on an exponential ease-out, then the rest follows */
.deep .hero { left: var(--g); }
.hero .hero__h { font-size: clamp(44px, min(6.1vw, 10.2vh), 108px); line-height: 0.97; letter-spacing: -0.038em; max-width: 9.6em; }
.hero .hero__h > .hl { display: block; overflow: hidden; padding: 0.02em 0 0.07em; margin: 0 0 -0.07em; opacity: 1; transform: none; white-space: nowrap; }
.hero .hero__h > .hl > span { display: block; }
.hero .hero__h > .hl--red { color: #C62A1F; }
.hero .hero__sub { margin-top: 0.95em; max-width: 43ch; font-size: clamp(17px, 1.32vw, 22px); line-height: 1.48; color: var(--ink-mid); }
.hero .hero__acts { margin-top: 1.9em; gap: 26px; }
.btn--hero { padding: 1.02em 1.45em; font-size: clamp(16px, 1.15vw, 19px); gap: 0.6em; }
.btn--hero svg { width: 1.15em; height: 1.15em; }
.hero__sign { display: flex; align-items: center; gap: 12px; margin: 2.3em 0 0; font-size: 14px; color: #5B5E67; }
.hero__suits { display: inline-flex; gap: 4px; }
.hero__suits svg { width: 13px; height: 13px; fill: var(--ink); }
.hero__suits svg:first-child { fill: #C62A1F; }
.deep .hero .hero__h > .hl > span { transform: translateY(108%); }
.deep.ready .hero .hero__h > .hl > span { transform: none; transition: transform 1100ms cubic-bezier(.16, 1, .3, 1); }
.deep.ready .hero .hero__h > .hl:nth-child(2) > span { transition-delay: 90ms; }
.deep.ready .hero .hero__h > .hl:nth-child(3) > span { transition-delay: 180ms; }
.deep .hero__sign { opacity: 0; transform: translateX(-36px); }
.deep.ready .hero__sign { opacity: 1; transform: none; transition: opacity 620ms ease 380ms, transform 900ms cubic-bezier(.2, .7, .2, 1) 380ms; }
.deep.ready .hero__sub { transition-delay: 260ms; }
.deep.ready .hero__acts { transition-delay: 330ms; }
.flat .hero .hero__h { font-size: clamp(38px, 10.5vw, 64px); }
@media (min-width: 640px) { .flat .hero .hero__h { font-size: min(5.3vw, 9.2vh); } }
/* end hero */

/* the bar's WhatsApp button keeps its white label on hover (the nav's hover ink would hide it) */
.top__nav a.top__talk:hover { color: #fff; }
.flat .hero .hero__h > .hl { white-space: normal; }

/* the hero's line (the owner's copy) is longer: a size that keeps its three lines left of the waterfall */
.hero .hero__h { font-size: clamp(40px, min(4.7vw, 8.2vh), 86px); max-width: 11em; }
.flat .hero .hero__h { font-size: clamp(34px, 9vw, 56px); }
@media (min-width: 640px) { .flat .hero .hero__h { font-size: min(4.7vw, 8.2vh); } }

/* "Y el tiempo es dinero.": the word in gold, with the shine that crosses the gold mark on the rock (the owner asked
   for this one effect by name, so it is the one gradient on the page) */
.thesis--gold p { font-size: clamp(28px, 2.4vw, 44px); }
.gold { background: linear-gradient(100deg, #9C6B12 0%, #C99A2E 38%, #FFF1BF 50%, #C99A2E 62%, #9C6B12 100%); background-size: 260% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.thesis--gold.is-on .gold { animation: gold-wipe 4.2s cubic-bezier(.3, .1, .3, 1) 0.15s infinite both; }
@keyframes gold-wipe { 0% { background-position: 100% 0; } 38%, 100% { background-position: 0% 0; } }   /* one sweep, then a rest */
@media (prefers-reduced-motion: reduce) { .thesis--gold.is-on .gold { animation: none; background-position: 50% 0; } }

/* round 12, an experiment: the switch that shuffles the river's colours */

/* round 12: the three lines between the walls, one at a time. Each word rises out of its own mask, one after the
   other; the key word in each carries the colour (rápido, tiempo in red; dinero in gold) */
.deep .say--line { width: min(34rem, 38vw); }
.say--line p { font-family: var(--display); font-weight: 700; font-size: clamp(34px, 3.3vw, 60px); line-height: 1.06; letter-spacing: -0.03em; text-wrap: balance; }
.say--line-gold p { font-size: clamp(44px, 4.6vw, 86px); }
.say--rise .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.04em 0.02em 0.1em; margin: -0.04em -0.02em -0.1em; }
.say--rise .w > span { display: inline-block; transform: translateY(110%); transition: transform 520ms cubic-bezier(.5, 0, .75, 0); }
.say--rise.is-on .w > span { transform: none; transition: transform 900ms cubic-bezier(.16, 1, .3, 1) calc(var(--i) * 55ms); }
.say--rise .w--red { color: #C62A1F; }
.say--line.is-on .gold { animation: gold-wipe 4.2s cubic-bezier(.3, .1, .3, 1) 0.5s infinite both; }
@media (prefers-reduced-motion: reduce) { .say--rise .w > span { transform: none; transition: none; } .say--line.is-on .gold { animation: none; background-position: 50% 0; } }

/* round 12: the step bars, for both held sections: a track per step, the current one wider, each filling red as the
   page scrolls through it; a click goes to that step. Hit areas are taller than the bars */
.ticks { gap: 6px; align-items: center; }
.ticks li { display: block; }
.ticks button { display: block; position: relative; width: 40px; height: 26px; padding: 0; border: 0; background: none; cursor: pointer; }
.ticks button::before, .ticks button::after { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 4px; border-radius: 2px; }
.ticks button::before { background: rgba(22, 23, 27, 0.16); }
.ticks button::after { background: #C62A1F; transform-origin: left center; transform: scaleX(var(--f, 0)); }
.ticks button:hover::before { background: rgba(22, 23, 27, 0.32); }
.ticks button:focus-visible { outline: 2px solid #C62A1F; outline-offset: 2px; border-radius: 4px; }

/* round 13: the step bars on every held part (moved to the body by site.js, fixed, faded in and out with their part):
   upright on the right while the story's words come, along the foot elsewhere; and the cue to keep scrolling */
.ticks { transition: none; }
.ticks.is-off, .more.is-off { pointer-events: none; }
.ticks--hi { bottom: 9vh; }
.ticks--v { left: auto; right: max(14px, calc(var(--g) * 0.55)); bottom: auto; top: 50%; transform: translateY(-50%); flex-direction: column; }
.ticks--v button { width: 26px; height: 40px; }
.ticks--v button::before, .ticks--v button::after { left: 11px; right: auto; width: 4px; top: 0; bottom: 0; height: auto; }
.ticks--v button::after { transform-origin: center top; transform: scaleY(var(--f, 0)); }
.more { position: fixed; z-index: 6; left: 50%; bottom: calc(5vh + 34px); transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 4px; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 600; letter-spacing: 0.01em; color: var(--ink-mid); cursor: pointer; text-decoration: none; white-space: nowrap; }
.more svg { width: 16px; height: 16px; fill: none; stroke: #C62A1F; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; animation: more-bob 1.6s cubic-bezier(.45, 0, .55, 1) infinite; }
.more:hover { color: var(--ink); }
.more:focus-visible { outline: 2px solid #C62A1F; outline-offset: 3px; border-radius: 4px; }
.more--hi { bottom: calc(9vh + 34px); }
.more--v { left: auto; right: max(8px, calc(var(--g) * 0.55 - 8px)); top: calc(50% + 104px); bottom: auto; transform: none; flex-direction: column; align-items: flex-end; gap: 2px; font-size: 13px; }
.more--static { position: absolute; bottom: 4.5vh; }
.flat .more--static { display: none; }
@keyframes more-bob { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }
@media (prefers-reduced-motion: reduce) { .more svg { animation: none; } }

/* round 14: the bars keep one size; only the red fill moves, eased between scroll events */
.ticks button::after { transition: transform 260ms cubic-bezier(.2, .7, .2, 1); }
.ticks li.is-on button::before { background: rgba(22, 23, 27, 0.24); }
/* the story's words are dealt in like cards from the river's side, one by one, and swept off the other way */
.say--deal .w { display: inline-block; }
.say--deal .w > span { display: inline-block; opacity: 0; transform: translate(70px, -10px) rotate(9deg); transform-origin: 0 100%;
  transition: opacity 240ms ease, transform 420ms cubic-bezier(.5, 0, .75, 0); }
.say--deal.is-on .w > span { opacity: 1; transform: none; transition: opacity 360ms ease calc(var(--i) * 70ms), transform 760ms cubic-bezier(.2, 1.25, .35, 1) calc(var(--i) * 70ms); }
.say--deal.is-out .w > span { opacity: 0; transform: translate(-40px, 6px) rotate(-5deg); transition: opacity 300ms ease calc(var(--i) * 30ms), transform 520ms cubic-bezier(.5, 0, .75, 0) calc(var(--i) * 30ms); }
@media (prefers-reduced-motion: reduce) { .say--deal .w > span { opacity: 1; transform: none; transition: none; } }
/* the close's copy waits for its ring of cards */
.deep .cta:not(.is-full) .rv { opacity: 0 !important; transform: translateY(22px) !important; }
/* the cover for a long jump: the page colour over everything but the header, the mark breathing */
.warp { position: fixed; inset: 0; z-index: 39; display: grid; place-items: center; background: var(--ground, #F1F2F4); opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 300ms ease, visibility 0s linear 300ms; }
.is-warping .warp { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity 300ms ease; }
.warp__logo { width: 54px; height: 64px; --front: var(--ink); animation: warp-breathe 1.5s ease-in-out infinite; }
@keyframes warp-breathe { 0%, 100% { opacity: 0.25; transform: scale(0.96); } 50% { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .warp__logo { animation: none; } }

/* round 15: the spade's words, centred under it; the heart's own section after the sieve */
.deep .say--suit.say--c { left: 50%; transform: translateX(-50%); width: min(34rem, 44vw); }
.heartx.sx--pin { height: 200vh; }
.heartx__tx { position: absolute; left: 50%; bottom: 9vh; transform: translateX(-50%); width: min(36rem, 84vw); text-align: center; }
.heartx__tx .h2 { color: #C62A1F; font-size: clamp(30px, 2.6vw, 46px); }
.heartx__tx .lede { margin: 0.5em auto 0; }
.flat .heartx { display: none; }

/* r9 (natura): the story is the river's, eleven screens; its lines sit over the clear sky at the left */
.story { --story: 1175vh; }
.deep .say--sky { left: calc(var(--g) + 2vw); top: 14vh; width: min(30rem, 34vw); }
.say--sky .say__big { font-size: clamp(32px, 3vw, 56px); }
.say__sub { margin: 0.85em 0 0; font-size: clamp(16px, 1.15vw, 20px); line-height: 1.45; color: var(--ink-mid); max-width: 26rem; }
.deep .say--suit.say--riv { bottom: auto; width: min(19rem, 22vw); transform: translateX(-50%); }

/* r9 audit A: the banks named in the scene; the story is shorter (8.6 screens); the software part of the workshop has its own mark */
.deep .say--bank { display: flex; align-items: center; gap: 8px; transform: translate(-50%, -50%); font-family: var(--display); font-weight: 700;
  font-size: clamp(15px, 1.1vw, 19px); letter-spacing: -0.01em; color: var(--ink); background: rgba(241, 242, 244, 0.86); padding: 6px 12px 6px 9px; border-radius: 999px; white-space: nowrap; }
.say--bank svg { width: 16px; height: 16px; fill: var(--ink); }
.say--bank-l svg { fill: #C62A1F; }
.story { --story: 960vh; }
.workshop { position: relative; }
.workshop .mark-at { position: absolute; left: 0; top: calc(6.1 * 100vh); width: 1px; height: 1px; }
