/* Section 2 (the chaos of chats) and the Home block with the phone.
   Bubbles float over a centred headline; the paragraph and the Home block rise in as you scroll. */

/* ---- Scroll reveal: only hides things when JS is running (theme-init.js adds .js) ---- */
html.js .rv { opacity: 0; transform: translateY(34px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform 1s cubic-bezier(.2, .7, .2, 1); }
html.js .rv.in { opacity: 1; transform: none; }

/* ---- Section 2: a pinned screen; scrolling through the runway brings the paragraph in and gathers the bubbles ---- */
.chaos { position: relative; padding: 0 0 clamp(24px, 6vw, 72px); overflow: clip; }
.chaos-pin {
  position: sticky; top: 0; height: max(100svh, 640px); overflow: clip;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: clamp(96px, 14vh, 140px) var(--gutter) clamp(48px, 8vh, 90px);
}
.chaos-run { height: 90svh; }
.chaos .chaos-title {
  position: relative; z-index: 1; margin: 0; text-align: center; text-wrap: balance;
  font-size: clamp(1.7rem, calc((100vw - var(--gutter) * 2) / 10.9), 4.6rem); line-height: 1.12;
}
.cb-field { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.chaos .chaos-copy {
  position: relative; z-index: 3; max-width: 40rem; margin: 40px auto 0; padding: 0;
  text-align: center; font-size: clamp(1.05rem, 2vw, 1.3rem); line-height: 1.6; color: var(--muted);
}
html.js .chaos .chaos-copy { opacity: var(--rp, 0); transform: translateY(calc((1 - var(--rp, 0)) * 26px)); }

/* ---- Bubbles ---- */
.cb {
  --bw: 18rem; position: absolute; left: var(--x); top: var(--y); translate: -50% -50%; rotate: var(--r);
  width: max-content; max-width: min(var(--bw), 64vw); opacity: 0; scale: .7;
  font: 400 clamp(.86rem, 1.15vw, 1rem)/1.35 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, system-ui, sans-serif;
  color: #1c1f22; will-change: transform;
}
.cb p { margin: 0; font-size: 1em; line-height: 1.35; color: inherit; max-width: none; }
.cb small, .cb time { font-size: .74em; }
.chaos.is-in .cb {
  /* --cp (0 to 1) is set from the scroll position: the bubbles slide to one point under the paragraph, shrink and dissolve */
  opacity: calc(1 - clamp(0, (var(--cp, 0) - .72) * 3.6, 1));
  scale: calc(1 - var(--cp, 0) * .55);
  translate: calc(-50% + var(--tx, 0px) * var(--cp, 0)) calc(-50% + var(--ty, 0px) * var(--cp, 0));
  animation: cb-in .65s cubic-bezier(.2, 1.35, .4, 1) var(--d) backwards, cb-float var(--dur) ease-in-out var(--d) infinite alternate;
}
html:not(.js) .cb { opacity: 1; scale: 1; }
@keyframes cb-in { from { opacity: 0; scale: .65; } }
@keyframes cb-float { from { transform: translate(0, 0); rotate: var(--r); } to { transform: translate(var(--dx), var(--dy)); rotate: calc(var(--r) + var(--dr)); } }

/* SMS: green bubble, small caption above, "Delivered" below */
.cb-sms { display: grid; justify-items: end; gap: .3em; }
.cb-sms .meta { color: #6c7378; justify-self: center; letter-spacing: .01em; }
.cb-sms p { position: relative; padding: .55em .95em .6em; border-radius: 1.3em; background: #30c85c; color: #fff; box-shadow: 0 .6em 1.2em -.5em rgb(20 80 40 / .5), 0 1px 2px rgb(0 0 0 / .12); }
.cb-sms p::after { content: ""; position: absolute; right: -.28em; bottom: 0; width: .8em; height: .9em; background: #30c85c; clip-path: polygon(0 0, 100% 100%, 0 100%); border-bottom-left-radius: .2em; }
.cb-sms .st { color: #6c7378; margin-right: .2em; }

/* Chat with green bubbles, sender in colour, time and read ticks */
.cb-wa p, .cb-tg p { display: block; }
.cb-wa { padding: .4em .6em .3em .65em; border-radius: .6em; background: #d9fdd3; box-shadow: 0 .5em 1.1em -.5em rgb(20 60 40 / .45), 0 1px 1px rgb(0 0 0 / .14); min-width: 9em; }
.cb-wa::before { content: ""; position: absolute; left: -.4em; top: 0; width: .65em; height: .8em; background: #d9fdd3; clip-path: polygon(100% 0, 0 0, 100% 100%); }
.cb-wa .n { display: block; font-size: .82em; font-weight: 600; color: #1f9d6e; }
.cb-wa .t { display: flex; justify-content: flex-end; align-items: center; gap: .25em; margin-top: -.1em; font-size: .7em; color: #667781; }
.cb-wa .tk { width: 1.25em; color: #34a8e8; }

/* Light messenger: white bubble, blue sender name, time at the right */
.cb-tg { padding: .4em .7em .3em; border-radius: .9em .9em .9em .25em; background: #fff; box-shadow: 0 .5em 1.1em -.5em rgb(30 50 80 / .45), 0 1px 1px rgb(0 0 0 / .12); min-width: 10em; }
.cb-tg .n { display: block; font-size: .85em; font-weight: 600; color: #3390ec; }
.cb-tg .t { display: block; text-align: right; font-size: .7em; color: #8a949b; margin-top: -.05em; }

/* Gradient messenger: purple-blue bubble, round avatar, "Seen" */
.cb-ms { display: flex; align-items: flex-end; gap: .55em; }
.cb-ms .av { flex: none; display: grid; place-items: center; width: 2em; height: 2em; border-radius: 50%; background: linear-gradient(135deg, #f6a04d, #e0558a); color: #fff; font-weight: 700; font-size: .9em; box-shadow: 0 2px 6px rgb(0 0 0 / .25); }
.cb-ms p { padding: .6em .95em; border-radius: 1.4em 1.4em 1.4em .4em; color: #fff; background: linear-gradient(135deg, #a33bf7, #0a84ff); box-shadow: 0 .6em 1.2em -.5em rgb(60 40 160 / .6); }
.cb-ms .st { display: block; margin: .3em 0 0 .6em; color: #6c7378; }

/* Work chat: bordered card, square avatar, name and time, a reaction */
.cb-sl { display: flex; gap: .65em; padding: .65em .85em .7em .65em; border-radius: .7em; background: #fff; border: 1px solid rgb(30 40 50 / .14); box-shadow: 0 .7em 1.3em -.6em rgb(30 40 60 / .5); }
.cb-sl .av { flex: none; display: grid; place-items: center; width: 2.3em; height: 2.3em; border-radius: .45em; background: linear-gradient(135deg, #36c5f0, #2eb67d 60%, #ecb22e); color: #fff; font-weight: 700; }
.cb-sl .h { display: flex; align-items: baseline; gap: .5em; }
.cb-sl .h b { font-size: .95em; }
.cb-sl .h time { color: #6c7378; }
.cb-sl .rx { display: inline-block; margin-top: .35em; padding: .1em .55em; border-radius: 1em; background: #e8f3fb; border: 1px solid #b6d7f0; font-size: .78em; color: #1264a3; }

/* Notification banner */
.cb-push { display: flex; gap: .7em; align-items: center; padding: .65em .85em .7em .65em; border-radius: 1.3em; background: rgb(255 255 255 / .86); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border: 1px solid rgb(255 255 255 / .8); box-shadow: 0 .9em 1.7em -.7em rgb(30 40 60 / .55); }
.cb-push .ic { flex: none; width: 2.3em; height: 2.3em; border-radius: .55em; background: linear-gradient(160deg, #5ee27d, #1fae4b); position: relative; }
.cb-push .ic::after { content: ""; position: absolute; inset: .55em .5em .65em; border-radius: .45em; background: #fff; }
.cb-push .h { display: flex; justify-content: space-between; gap: 1em; color: #6c7378; }
.cb-push .h small { letter-spacing: .04em; }
.cb-push p { font-weight: 500; }

/* Dark chat: slate bubble, teal sender */
.cb-dk { padding: .45em .8em .35em; border-radius: 1.1em 1.1em .3em 1.1em; background: #2b3037; color: #f2f4f5; box-shadow: 0 .6em 1.2em -.5em rgb(10 14 20 / .65), 0 1px 1px rgb(0 0 0 / .2); min-width: 9.5em; }
.cb-dk .n { display: block; font-size: .82em; font-weight: 600; color: #5ad0c0; }
.cb-dk .t { display: block; text-align: right; font-size: .7em; color: #9aa3ab; }

/* Group chat: warm bubble with the group name on top */
.cb-gr { padding: .4em .8em .3em; border-radius: .9em .9em .3em .9em; background: #fff1bf; box-shadow: 0 .5em 1.1em -.5em rgb(120 90 20 / .5), 0 1px 1px rgb(0 0 0 / .12); min-width: 9.5em; }
.cb-gr .gh { display: block; font-size: .72em; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: #b4691a; }
.cb-gr .t { display: block; text-align: right; font-size: .7em; color: #8d7a45; }

/* "typing…" bubbles */
.cb-ty { display: flex; gap: .3em; padding: .75em .9em; border-radius: 1.2em; background: #e4e4e9; box-shadow: 0 .4em .9em -.5em rgb(0 0 0 / .4); }
.cb-ty i { width: .55em; height: .55em; border-radius: 50%; background: #8d8e94; animation: cb-dot 1.2s ease-in-out infinite; }
.cb-ty i:nth-child(2) { animation-delay: .18s; } .cb-ty i:nth-child(3) { animation-delay: .36s; }
@keyframes cb-dot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-.28em); opacity: 1; } }

/* Phones: fewer, smaller, re-placed so the headline stays readable in between */
@media (max-width: 700px) {
  .cb { left: var(--mx); top: var(--my); --bw: 15rem; font-size: .84rem; }
  .chaos-stage { min-height: max(100svh, 620px); }
}

/* ---- Feature slider: one long line, five taglines, a draggable pill that reveals each app screen ---- */
.slider-block { --sl-top: 84px; position: relative; z-index: 1; overflow: clip; padding-top: var(--sl-pt, 40px); padding-bottom: clamp(32px, 5vw, 56px); margin-top: var(--sl-mt, 0px); }
.slider { width: min(calc(100% - var(--gutter) * 2), 1080px); margin-inline: auto; }
/* the line with the taglines stays fixed under the header while you scroll through this section */
.sl-rail { position: sticky; top: var(--sl-top); z-index: 5; height: 60px; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.sl-rail::before { content: ""; position: absolute; inset: 0 -100vw; z-index: -1; background: color-mix(in srgb, var(--bg) 90%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.sl-line { position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; border-radius: 2px; background: var(--line); }
.sl-tabs { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(6, 1fr); }
.sl-tab {
  justify-self: center; align-self: center; display: flex; align-items: center; gap: .5rem; padding: .35rem .8rem; border: 0; border-radius: 99px;
  background: var(--bg); color: var(--muted); font: 600 .98rem/1 inherit; font-family: inherit; cursor: pointer; white-space: nowrap; transition: color .2s;
}
.sl-tab:hover { color: var(--ink); }
.sl-tab:focus-visible, .sl-thumb:focus-visible, .sl-dot:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }
.sl-tab[aria-selected="true"] { opacity: 0; pointer-events: none; }
.sl-ic { flex: none; width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sl-thumb {
  position: absolute; left: 0; top: 50%; z-index: 2; display: flex; align-items: center; gap: .65rem; height: 54px; padding: 0 .9rem 0 .5rem; border-radius: 99px;
  background: var(--surface); color: var(--ink); font-weight: 700; font-size: 1rem; white-space: nowrap; cursor: grab; touch-action: none;
  box-shadow: 0 14px 26px -10px rgb(40 48 56 / .42), 0 3px 8px rgb(40 48 56 / .16), inset 0 0 0 1px rgb(255 255 255 / .85);
  transform: translate(calc(var(--sx, 0) * 1px - 50%), -50%); transition: transform .5s cubic-bezier(.3, .8, .25, 1), box-shadow .2s;
}
.sl-thumb b { font-weight: 700; }
.sl-thumb .sl-ic { box-sizing: content-box; width: 1.3rem; height: 1.3rem; padding: .5rem; border-radius: 50%; background: var(--rose); color: #fff; }
.sl-grip { width: 8px; height: 20px; margin-left: .2rem; opacity: .4; background: radial-gradient(circle, currentColor 1.4px, transparent 1.8px) 0 0 / 8px 7px; }
.sl-rail.is-drag .sl-thumb { cursor: grabbing; transition: box-shadow .2s; box-shadow: 0 22px 34px -12px rgb(40 48 56 / .5), 0 4px 10px rgb(40 48 56 / .2), inset 0 0 0 1px rgb(255 255 255 / .85); }

/* 40px between the line and the screen + text */
.slider-block { touch-action: pan-y; }
.slider-block.is-swiping, .slider-block.is-swiping * { user-select: none; -webkit-user-select: none; cursor: grabbing; }
.sl-stage { display: grid; margin-top: 40px; touch-action: pan-y; }
.slide {
  grid-area: 1 / 1; display: grid; grid-template-columns: auto minmax(0, 32rem); gap: clamp(40px, 7vw, 96px); align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateX(44px); transition: opacity .45s ease, transform .6s cubic-bezier(.2, .7, .2, 1), visibility 0s .6s;
}
.slide.is-before { transform: translateX(-44px); }
.slide.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.slide .copy { width: auto; margin: 0; }
/* the screen is sized from the window height so line + screen + text fit in one view */
.shot {
  position: relative; justify-self: center; height: clamp(300px, calc(100svh - var(--sl-top) - 60px - 40px - 56px), 680px); aspect-ratio: 390 / 844; border-radius: 12px; overflow: hidden; background: #fdfcf9;
  box-shadow: 0 34px 60px -26px rgb(40 48 56 / .5), 0 10px 24px -12px rgb(40 48 56 / .3), 0 0 0 1px rgb(40 48 56 / .1);
}
.shot-media { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.sl-dots, .sl-slot { display: none; }

@media (max-width: 860px) {
  .slider-block { --sl-top: 78px; padding-bottom: 24px; }
  .sl-stage { margin-top: 40px; }
  .slide { grid-template-columns: 1fr; grid-auto-rows: auto; justify-items: center; gap: 14px; align-content: start; }
  .slide .copy { width: 100%; }
  /* phone first, dots under it, then the text; the phone takes whatever height the text leaves */
  /* full-height screen like on desktop: the width is set, the height follows the 390 / 844 ratio */
  .shot { aspect-ratio: 390 / 844; height: auto; width: clamp(180px, 58vw, 300px); }
  .sl-stage { position: relative; }
  .sl-slot { display: block; height: 12px; }
  /* the dots sit right under the screen (the screen's height follows its width) and never move with the slides */
  .sl-dots { display: flex; position: absolute; left: 0; right: 0; top: calc(clamp(180px, 58vw, 300px) * 844 / 390 + 14px); z-index: 3; gap: 9px; align-items: center; justify-content: center; height: 12px; }
  .sl-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: var(--line); cursor: pointer; transition: width .3s, background .3s; }
  .sl-dot[aria-current="true"] { width: 24px; background: var(--rose); }
  .slide .copy h2 { font-size: clamp(1.5rem, 6.4vw, 2rem); }
  .slide .copy h2 + p { margin-top: 12px; font-size: 1rem; }
  .slide .copy ul { margin-top: 12px; }
  .slide .copy li { margin: 6px 0; font-size: .96rem; line-height: 1.45; }
}
@media (max-width: 700px) {
  .sl-tab span { display: none; }
  .sl-tab { padding: .45rem; } .sl-tab .sl-ic { width: 1.15rem; height: 1.15rem; }
  .sl-thumb { height: 40px; gap: .45rem; padding: 0 .65rem 0 .35rem; font-size: .8rem; }
  .sl-thumb .sl-ic { width: 1rem; height: 1rem; padding: .35rem; }
  .sl-grip { width: 6px; height: 14px; background-size: 6px 5px; margin-left: .1rem; }
  .sl-rail { height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .chaos-run { display: none; } .chaos-pin { position: relative; }
  html.js .chaos .chaos-copy { opacity: 1; transform: none; }
  html.js .rv { opacity: 1; transform: none; transition: none; }
  .slide, .sl-thumb { transition: none; }
  .cb { opacity: 1; scale: 1; animation: none !important; }
  .cb-ty i { animation: none; }
}

/* Dark theme: the pill's outline is dark grey instead of white */
html[data-theme="dark"] .sl-thumb { box-shadow: 0 14px 26px -10px rgb(0 0 0 / .6), 0 3px 8px rgb(0 0 0 / .35), inset 0 0 0 1px #3b454d; }
html[data-theme="dark"] .sl-rail.is-drag .sl-thumb { box-shadow: 0 22px 34px -12px rgb(0 0 0 / .7), 0 4px 10px rgb(0 0 0 / .4), inset 0 0 0 1px #3b454d; }

/* ---- "Two people, one space": the logo assembles itself, then the headline and four zig-zag cards appear one by one ---- */
.duo { overflow-x: clip; }
.duo .copy { width: min(calc(100% - var(--gutter) * 2), 720px); }
.duo-head { text-align: center; }
.duo-mark { display: block; width: clamp(112px, 15vw, 156px); height: auto; margin: 0 auto clamp(22px, 3vw, 34px); overflow: visible; }
.duo-mark.dm-dark { display: none; }
html[data-theme="dark"] .duo-mark.dm-dark { display: block; }
html[data-theme="dark"] .duo-mark.dm-light { display: none; }
.duo .duo-title, .duo .duo-lead { text-align: center; margin-inline: auto; }
.duo .duo-title { text-wrap: balance; }
.duo .duo-lead { max-width: 36rem; }

.copy-block .duo-cards { display: flex; flex-direction: column; gap: clamp(14px, 2vw, 20px); margin: clamp(40px, 6vw, 64px) 0 0; padding: 0; list-style: none; --zz: clamp(28px, 10vw, 112px); }
.copy-block .duo-card {
  display: flex; align-items: flex-start; gap: 12px; width: calc(100% - var(--zz)); margin: 0; padding: clamp(18px, 2.4vw, 26px);
  border-radius: 22px; background: var(--bg); box-shadow: none; border: 1px solid var(--line); color: var(--muted); font-size: 1.02rem; line-height: 1.55;
  scroll-margin-top: 110px;
}
.copy-block .duo-card:nth-child(odd) { margin-right: auto; }
.copy-block .duo-card:nth-child(even) { margin-left: auto; }
.duo-ic { flex: none; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; color: var(--rose); background: color-mix(in srgb, var(--rose) 13%, transparent); }
.duo-svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.duo-body { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding-top: 2px; }
.duo-t { display: block; color: var(--ink); font-size: 1.2rem; font-weight: 650; letter-spacing: -.01em; line-height: 1.25; }
.duo-tx { display: block; }
.copy-block .duo-trial { margin: 0; padding: 0; list-style: none; }
.copy-block .duo-trial li { margin: 0; font-size: 1rem; line-height: 1.5; }
.copy-block .duo-trial li::before { content: "\2022"; margin-right: .55em; color: var(--rose); }

/* Appearance. 1: a scribbled house is drawn, 2: two stick people walk in, 3: it all turns into the app icon with sparkles and a shimmer.
   The headline and text come first (script adds .is-in), then the cards slide in one after another (.is-ready / .in). */
.duo-stage { position: relative; width: clamp(132px, 19vw, 190px); margin: 0 auto clamp(22px, 3vw, 34px); }
.duo-stage .duo-mark { width: 100%; margin: 0; }
.duo-scribble, .duo-sp, .duo-shine { display: none; }
html.js .duo-scribble { display: block; position: absolute; inset: 0; width: 100%; height: 100%; color: var(--ink); overflow: visible; pointer-events: none; }
html.js .duo .sk { stroke-dasharray: 1; stroke-dashoffset: 1; }
html.js .duo.is-in .sk { animation: sk-draw var(--t, .6s) cubic-bezier(.5, .1, .3, 1) var(--d, 0s) both; }
html.js .duo .sk.lt { opacity: .45; }
@keyframes sk-draw { to { stroke-dashoffset: 0; } }
html.js .duo.is-in .pw-a { animation: pw-a .7s cubic-bezier(.35, 0, .6, 1) 1.85s both, pw-fade .2s ease-in 2.35s both; }
html.js .duo.is-in .pw-b { animation: pw-b .7s cubic-bezier(.35, 0, .6, 1) 1.85s both, pw-fade .2s ease-in 2.35s both; }
@keyframes pw-a { to { transform: translateX(385px); } }
@keyframes pw-b { to { transform: translateX(-385px); } }
@keyframes pw-fade { to { opacity: 0; } }
html.js .duo.is-in .bob { animation: bob .23s ease-in-out 1.85s 3 both; }
@keyframes bob { 50% { transform: translateY(-16px); } }
html.js .duo .hs { transform-box: fill-box; transform-origin: 50% 50%; }
html.js .duo.is-in .hs { animation: scrib-out .5s ease-in 2.4s forwards; }
@keyframes scrib-out { to { opacity: 0; transform: scale(.82); filter: blur(6px); } }
html.js .duo .duo-logo { display: block; opacity: 0; transform: scale(.6); filter: blur(10px); }
html.js .duo.is-in .duo-logo { animation: logo-in .95s cubic-bezier(.3, 1.45, .5, 1) 2.6s both; }
@keyframes logo-in { to { opacity: 1; transform: none; filter: none; } }
html.js .duo-shine { display: block; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  -webkit-mask: url("/assets/brand/duo-mask.svg") center / 100% 100% no-repeat; mask: url("/assets/brand/duo-mask.svg") center / 100% 100% no-repeat;
  background: linear-gradient(105deg, transparent 38%, rgb(255 255 255 / .85) 50%, transparent 62%) 160% 0 / 300% 100% no-repeat; }
html.js .duo.is-in .duo-shine { animation: shine 5s ease-in-out 3.6s infinite; }
@keyframes shine { 0% { opacity: 1; background-position: 160% 0; } 22% { opacity: 1; background-position: -60% 0; } 23%, 100% { opacity: 0; background-position: -60% 0; } }
html.js .duo-sp { display: block; position: absolute; width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2); opacity: 0; pointer-events: none; color: var(--rose); }
.duo-sp svg { display: block; width: 100%; height: 100%; fill: currentColor; }
.duo-sp:nth-of-type(3n) { color: #d9a441; }
html.js .duo.is-in .duo-sp { animation: twinkle 2.8s ease-in-out calc(3.3s + var(--sd)) infinite; }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(0) rotate(0); } 35% { opacity: 1; transform: scale(1) rotate(45deg); } 60% { opacity: .9; transform: scale(.7) rotate(80deg); } 80% { opacity: 0; transform: scale(0) rotate(120deg); } }
html.js .duo .duo-title, html.js .duo .duo-lead { opacity: 0; transform: translateY(22px); filter: blur(8px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1), filter .8s cubic-bezier(.2, .7, .2, 1); }
html.js .duo.is-in .duo-title { opacity: 1; transform: none; filter: none; transition-delay: .1s; }
html.js .duo.is-in .duo-lead { opacity: 1; transform: none; filter: none; transition-delay: .4s; }
html.js .duo .duo-card { opacity: 0; transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); }
html.js .duo .duo-card:nth-child(odd) { transform: translateX(-46px); }
html.js .duo .duo-card:nth-child(even) { transform: translateX(46px); }
html.js .duo .duo-card.in { opacity: 1; transform: none; }
html.js .duo .duo-card .duo-ic { transform: scale(.4) rotate(-14deg); opacity: 0; }
html.js .duo .duo-card.in .duo-ic { animation: duo-pop .7s cubic-bezier(.3, 1.5, .5, 1) .25s both; }
@keyframes duo-pop { from { transform: scale(.4) rotate(-14deg); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 860px) { .copy-block .duo-cards { --zz: clamp(14px, 5vw, 40px); } html.js .duo .duo-card:nth-child(odd) { transform: translateX(-28px); } html.js .duo .duo-card:nth-child(even) { transform: translateX(28px); } }
@media (max-width: 480px) { .copy-block .duo-card { gap: 12px; } .duo-ic { width: 46px; height: 46px; border-radius: 14px; } .duo-svg { width: 22px; height: 22px; } }
@media (prefers-reduced-motion: reduce) {
  html.js .duo .duo-logo, html.js .duo .duo-title, html.js .duo .duo-lead, html.js .duo .duo-card, html.js .duo .duo-card .duo-ic { opacity: 1; transform: none; filter: none; transition: none; animation: none; }
  html.js .duo-scribble, html.js .duo-shine, html.js .duo-sp { display: none; }
}
/* Revealed cards always rest centred: the small-screen start offsets above must not outlast the reveal. */
html.js .duo .duo-card.in:nth-child(n) { transform: none; }
