/* wpmedia.agency site layer: page layout. Tokens come from tokens.css (single source, incl. [data-theme=dark]); components from components.css. */
body { margin: 0; background: var(--canvas); }
.wp-root { font-size: 16px; line-height: 1.55; }
.wp-root h1, .wp-root h2, .wp-root h3, .wp-root p { margin: 0; }
.wrap { max-width: var(--page-max); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--tight { padding: 40px 0; }
.stack-8 { display: flex; flex-direction: column; gap: 8px; }
.stack-16 { display: flex; flex-direction: column; gap: 16px; }
.stack-24 { display: flex; flex-direction: column; gap: 24px; }
.row { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

.wp-nav__pill a.is-active { background: var(--mint); color: var(--mint-ink); }

/* Footer */
.foot { background: var(--surface-inverse); color: var(--ink-inverse); border-radius: var(--radius-arc) var(--radius-arc) 0 0; padding: 64px 0 40px; }
.foot__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.foot h4 { margin: 0 0 16px; font: 400 12px/1.4 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-inverse-muted); }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.foot a { color: var(--ink-inverse); text-decoration: none; font-size: 15px; }
.foot a:hover { text-decoration: underline; text-decoration-color: var(--mint); text-underline-offset: 4px; }
.foot__base { margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.16); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--ink-inverse-muted); }
@media (max-width: 900px) { .foot__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .foot { border-radius: 32px 32px 0 0; } }

/* No lonely last words: balance headings, avoid orphans in body copy */
.wp-root .wp-display, .wp-root h1, .wp-root h2, .wp-root h3 { text-wrap: balance; }
.wp-root p, .wp-root .lead { text-wrap: pretty; }

/* Type helpers */
.d-xl { font-size: clamp(56px, 7.4vw, 96px); }
.d-lg { font-size: clamp(44px, 5.6vw, 72px); }
.d-md { font-size: clamp(36px, 4vw, 48px); }
.h2 { font: 500 32px/1.15 var(--font-sans); letter-spacing: -.02em; }
.h3 { font: 500 24px/1.25 var(--font-sans); letter-spacing: -.015em; }
.lead { font-size: 20px; line-height: 1.45; color: var(--ink-muted); max-width: 600px; }
.small { font-size: 14px; line-height: 1.45; }

/* Section header: eyebrow + display title + intro, split */
.sec-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-bottom: 40px; }
.sec-head .lead { font-size: 18px; }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 40px 0 80px; }
.hero__copy { display: flex; flex-direction: column; gap: 24px; }
.hero__art { position: relative; height: 520px; }
.hero--page { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); padding: 24px 0 64px; align-items: end; }
.trust { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; font-size: 14px; color: var(--ink-muted); }
.trust span + span::before { content: "·"; margin-right: 16px; color: var(--ink-subtle); }

/* Block composition (stand-in for 3D renders) */
.blk { position: absolute; }
.blk--slab { background: var(--surface-inverse); border-radius: var(--radius-xl); }
.blk--card { background: var(--surface); border-radius: var(--radius-lg); padding: 24px; }
.blk--pill { background: var(--mint); border-radius: var(--radius-pill); }
.blk--disc { background: var(--surface); border-radius: 50%; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.check i { flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--mint); display: grid; place-items: center; margin-top: 1px; }
.check i svg { width: 12px; height: 12px; }
.check em { font-style: normal; color: var(--ink-muted); display: block; font-size: 13px; }

/* Grids */
.g2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.g3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.g4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }

/* Split block: foundation vs growth */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.split .wp-card { display: flex; flex-direction: column; gap: 16px; }
.pillrow { display: flex; gap: 8px; flex-wrap: wrap; }

/* Steps */
.step { display: flex; flex-direction: column; gap: 12px; }
.step__n { font-family: var(--font-display); font-weight: 700; font-size: 64px; line-height: .9; color: var(--ink); }
.step__n span { color: var(--ink-subtle); }

/* Use case rows inside inverse */
.case { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 24px; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.16); }
.case:first-child { border-top: 0; padding-top: 0; }
.flow { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font: 400 12px/1.4 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; }
.flow b { font-weight: 400; background: rgba(255,255,255,.08); color: var(--ink-inverse); padding: 6px 10px; border-radius: var(--radius-pill); }
.flow b.end { background: var(--inverse-action); color: var(--inverse-action-ink); }
.flow i { font-style: normal; color: var(--ink-inverse-muted); }

/* Case study placeholder */
.shot { background: var(--surface-mist); border-radius: 16px; height: 240px; display: grid; place-items: center; color: var(--ink-subtle); font: 400 12px/1.4 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; border: 1.5px dashed var(--hairline); }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 8px; }
.faq details { background: var(--surface); border-radius: 16px; padding: 24px 28px; }
.faq summary { font: 500 18px/1.35 var(--font-sans); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 24px/1 var(--font-sans); color: var(--ink-muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 12px; color: var(--ink-muted); max-width: var(--text-max); }

/* Table */
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl th, .tbl td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--hairline); vertical-align: top; }
.tbl th { font: 400 12px/1.4 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-muted); }
.tbl td:first-child { font-weight: 500; }
.tblbox { background: var(--surface); border-radius: var(--radius-lg); padding: 8px 16px; overflow-x: auto; }

/* Notice (routing to wordpresshemsida.com) */
.notice { display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--mint); color: var(--mint-ink); border-radius: var(--radius-lg); padding: 24px 32px; }

/* Forms */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; font-weight: 500; }
.field input, .field textarea, .field select { font: 400 16px/1.4 var(--font-sans); color: var(--ink); background: var(--surface-mist); border: 1px solid var(--hairline); border-radius: var(--radius-sm); padding: 14px 16px; }
.field textarea { min-height: 120px; resize: vertical; }
.opt { display: flex; gap: 8px; flex-wrap: wrap; }
.opt label { display: inline-flex; align-items: center; gap: 8px; background: var(--surface-mist); border-radius: var(--radius-pill); padding: 10px 16px; font-size: 14px; cursor: pointer; }
.opt input { accent-color: var(--ink); }

@media (max-width: 900px) {
  .hero, .hero--page, .sec-head, .split, .g2, .g3, .g4 { grid-template-columns: minmax(0, 1fr); }
  .hero__art { height: 360px; }
  .section { padding: 64px 0; }
  .case { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .wp-nav__pill { display: none; }
}

/* ───────── Motion ─────────
   Calm, short, purposeful. Ease-out, 12–16px travel, no bounce, no parallax.
   Everything sits still for people who ask for reduced motion. */
:root { --ease-out: cubic-bezier(.2, .7, .2, 1); --dur-1: .25s; --dur-2: .6s; }

/* 1 · Hero pieces arrive one by one (load) */
@keyframes wp-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes wp-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes wp-pop { 0% { transform: scale(0); } 70% { transform: scale(1.1); } 100% { transform: scale(1); } }
@keyframes wp-step { 0%, 100% { background: transparent; } 8%, 30% { background: rgba(7,33,53,.10); } }
@keyframes wp-breathe { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }

.hero__art.is-animated .blk { animation: wp-rise var(--dur-2) var(--ease-out) both; }
.hero__art.is-animated .blk:nth-child(1) { animation-delay: .05s; }
.hero__art.is-animated .blk:nth-child(2) { animation-delay: .20s; }
.hero__art.is-animated .blk:nth-child(3) { animation-delay: .32s; }
.hero__art.is-animated .blk:nth-child(4) { animation-delay: .44s; }
.hero__art.is-animated .blk:nth-child(5) { animation-delay: .56s; }
.hero__art.is-animated .blk:nth-child(6) { animation-delay: .70s; }

/* Tracking: bars grow in, left to right */
.hero__art.is-animated .bars span { transform-origin: bottom; animation: wp-grow .7s var(--ease-out) both; }
.hero__art.is-animated .bars span:nth-child(1) { animation-delay: .70s; }
.hero__art.is-animated .bars span:nth-child(2) { animation-delay: .78s; }
.hero__art.is-animated .bars span:nth-child(3) { animation-delay: .86s; }
.hero__art.is-animated .bars span:nth-child(4) { animation-delay: .94s; }
.hero__art.is-animated .bars span:nth-child(5) { animation-delay: 1.02s; }
.hero__art.is-animated .bars span:nth-child(6) { animation-delay: 1.10s; }

/* Care: checks tick in */
.hero__art.is-animated .check i { animation: wp-pop .4s var(--ease-out) both; }
.hero__art.is-animated .check:nth-of-type(2) i { animation-delay: 1.0s; }
.hero__art.is-animated .check:nth-of-type(3) i { animation-delay: 1.2s; }

/* Automation: the flow keeps running, one step at a time (slow loop) */
.flowchip .fstep { padding: 3px 6px; margin: -3px -6px; border-radius: 999px; animation: wp-step 4.8s ease-in-out infinite; }
.flowchip .fstep:nth-child(1) { animation-delay: 1.4s; }
.flowchip .fstep:nth-child(3) { animation-delay: 2.2s; }
.flowchip .fstep:nth-child(5) { animation-delay: 3.0s; }
.flowchip .auto { animation: wp-breathe 2.4s ease-in-out infinite; }
.wp-dot { animation: wp-breathe 2.4s ease-in-out infinite; }


/* 1b · Hero idle loop (starts once everything has arrived, ~1.3s) */
@keyframes wp-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes wp-bars { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.78); } }
@keyframes wp-type { 0% { max-width: 0; } 6%, 13.5% { max-width: 27ch; } 16.3%, 100% { max-width: 0; } }
@keyframes wp-caret { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes wp-tick { 0%, 88%, 100% { transform: scale(1); } 92% { transform: scale(.75); } 96% { transform: scale(1.08); } }

.hero__art.is-animated .blk:nth-child(2) { animation: wp-rise var(--dur-2) var(--ease-out) .20s both, wp-float 8s ease-in-out 1.3s infinite; }
.hero__art.is-animated .blk:nth-child(3) { animation: wp-rise var(--dur-2) var(--ease-out) .32s both, wp-float 9s ease-in-out 2.1s infinite; }
.hero__art.is-animated .blk:nth-child(4) { animation: wp-rise var(--dur-2) var(--ease-out) .44s both, wp-float 7.5s ease-in-out 1.7s infinite; }
.hero__art.is-animated .blk:nth-child(5) { animation: wp-rise var(--dur-2) var(--ease-out) .56s both, wp-float 8.5s ease-in-out 2.5s infinite; }
.hero__art.is-animated .blk:nth-child(6) { animation: wp-rise var(--dur-2) var(--ease-out) .70s both, wp-float 7s ease-in-out 1.9s infinite; }

/* Tracking: bars rise, a trend line traces their tops, then the month resets (6s loop) */
@keyframes wp-barcycle { 0% { transform: scaleY(0); } 15%, 85% { transform: scaleY(1); } 100% { transform: scaleY(0); } }
@keyframes wp-draw { 0%, 22% { stroke-dashoffset: 100; opacity: 1; } 50%, 82% { stroke-dashoffset: 0; opacity: 1; } 92%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes wp-dotpop { 0%, 48% { transform: scale(0); } 54% { transform: scale(1.25); } 58%, 82% { transform: scale(1); } 92%, 100% { transform: scale(0); } }
.bars { position: relative; }
.barline { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.barline path { stroke-dasharray: 100; stroke-dashoffset: 100; animation: wp-draw 6s var(--ease-out) 2s infinite both; }
.bardot { position: absolute; left: 93.4%; top: 5.8px; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: var(--mint); border: 2px solid var(--ink); box-sizing: border-box; animation: wp-dotpop 6s var(--ease-out) 2s infinite both; }
.hero__art.is-animated .bars span:nth-child(1) { animation: wp-grow .7s var(--ease-out) .70s both, wp-barcycle 6s var(--ease-out) 2.00s infinite both; }
.hero__art.is-animated .bars span:nth-child(2) { animation: wp-grow .7s var(--ease-out) .78s both, wp-barcycle 6s var(--ease-out) 2.06s infinite both; }
.hero__art.is-animated .bars span:nth-child(3) { animation: wp-grow .7s var(--ease-out) .86s both, wp-barcycle 6s var(--ease-out) 2.12s infinite both; }
.hero__art.is-animated .bars span:nth-child(4) { animation: wp-grow .7s var(--ease-out) .94s both, wp-barcycle 6s var(--ease-out) 2.18s infinite both; }
.hero__art.is-animated .bars span:nth-child(5) { animation: wp-grow .7s var(--ease-out) 1.02s both, wp-barcycle 6s var(--ease-out) 2.24s infinite both; }
.hero__art.is-animated .bars span:nth-child(6) { animation: wp-grow .7s var(--ease-out) 1.10s both, wp-barcycle 6s var(--ease-out) 2.30s infinite both; }


/* Web & WooCommerce: the page loads and builds itself, then a product goes in the cart (6s loop) */
@keyframes wp-load { 0% { transform: scaleX(0); opacity: 1; } 30% { transform: scaleX(1); opacity: 1; } 40%, 100% { transform: scaleX(1); opacity: 0; } }
@keyframes wp-build { 0%, 18% { opacity: 0; transform: translateY(6px); } 30%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
@keyframes wp-line { 0%, 30% { transform: scaleX(0); } 45%, 92% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes wp-cart { 0%, 55% { background: var(--surface-mist); } 62%, 85% { background: var(--ink); } 92%, 100% { background: var(--surface-mist); } }
.urlbar { position: relative; overflow: hidden; }
.urlbar::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--mint); transform-origin: left; animation: wp-load 6s var(--ease-out) 1.3s infinite both; }
.webhero { animation: wp-build 6s var(--ease-out) 1.3s infinite both; }
.webline { transform-origin: left; animation: wp-line 6s var(--ease-out) 1.3s infinite both; }
.webtiles > span { animation: wp-build 6s var(--ease-out) infinite both; }
.webline--2 { animation-delay: 1.45s; }
.webbtn { animation: wp-build 6s var(--ease-out) 1.6s infinite both; }
@keyframes wp-reveal { 0%, 22% { clip-path: inset(0 100% 0 0); opacity: 1; } 38%, 92% { clip-path: inset(0 0 0 0); opacity: 1; } 100% { clip-path: inset(0 0 0 0); opacity: 0; } }
@keyframes wp-sun { 0%, 35% { transform: translateY(10px); } 55%, 100% { transform: none; } }
.webimg { animation: wp-reveal 6s var(--ease-out) 1.3s infinite both; }
.websun { animation: wp-sun 6s var(--ease-out) 1.3s infinite both; }

.webtiles > span:nth-child(1) { animation-delay: 1.5s; }
.webtiles > span:nth-child(2) { animation: wp-build 6s var(--ease-out) 1.65s infinite both, wp-cart 6s ease-in-out 1.65s infinite both; }
.webtiles > span:nth-child(3) { animation-delay: 1.8s; }

/* SEO: real customer searches type themselves, one after another (6 queries, 7s each, 42s loop) */
.qwrap { display: inline-flex; white-space: nowrap; }
.qtext { display: inline-block; overflow: hidden; white-space: nowrap; vertical-align: bottom; max-width: 0; animation: wp-type 42s steps(27, end) infinite both; }
.qtext:nth-child(1) { max-width: 27ch; animation-delay: 1.2s; }
.qtext:nth-child(2) { animation-delay: 8.2s; }
.qtext:nth-child(3) { animation-delay: 15.2s; }
.qtext:nth-child(4) { animation-delay: 22.2s; }
.qtext:nth-child(5) { animation-delay: 29.2s; }
.qtext:nth-child(6) { animation-delay: 36.2s; }
.qcaret { display: inline-block; width: 1.5px; height: 14px; margin-left: 1px; background: var(--ink); vertical-align: middle; animation: wp-caret 1s step-end infinite; }

/* Care: the checks re-tick now and then, like a daily routine */
.hero__art.is-animated .check:nth-of-type(2) i { animation: wp-pop .4s var(--ease-out) 1.0s both, wp-tick 6s ease-in-out 3s infinite; }
.hero__art.is-animated .check:nth-of-type(3) i { animation: wp-pop .4s var(--ease-out) 1.2s both, wp-tick 6s ease-in-out 3.4s infinite; }

/* 2 · Content reveals on scroll (CSS only, where supported; otherwise just visible) */
@supports (animation-timeline: view()) {
  main .section .sec-head,
  main .section .wp-card,
  main .section .faq details,
  main .section .wp-cta {
    animation: wp-rise linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 35%;
  }
}

/* 3 · Small interactions */
.wp-btn--primary { transition: background-color var(--dur-1) ease, transform var(--dur-1) var(--ease-out); }
.wp-btn--primary:hover { transform: translateY(-1px); }
.wp-btn:active { transform: translateY(0); }
a.wp-service { transition: transform var(--dur-1) var(--ease-out), background-color var(--dur-1) ease; }
a.wp-service:hover { transform: translateY(-4px); }
a.wp-service .wp-service__foot .wp-link { transition: background-color var(--dur-1) ease; }
a.wp-service:hover .wp-service__foot .wp-link { background: var(--mint); color: var(--mint-ink); }
.faq details p { animation: wp-rise .35s var(--ease-out) both; }
.wp-mark { background-size: 0% 100%; background-repeat: no-repeat; animation: wp-mark .8s .3s var(--ease-out) forwards;
  background-image: linear-gradient(transparent 62%, var(--mint) 62%, var(--mint) 92%, transparent 92%); background-color: transparent; }
@keyframes wp-mark { to { background-size: 100% 100%; } }

/* SEO hero: results appear after each typed query (7s per query, synced with .qtext) */
@keyframes wp-serp { 0%, 38% { opacity: 0; transform: translateY(6px); } 46%, 80% { opacity: 1; transform: none; } 88%, 100% { opacity: 0; transform: translateY(-4px); } }
.serp-ai  { animation: wp-serp 7s var(--ease-out) 1.2s infinite both; }
.serp-org { animation: wp-serp 7s var(--ease-out) 1.55s infinite both; }

/* Tracking hero: donut fills, events stream in, KPIs pulse (6s loop) */
@keyframes wp-ring { 0%, 8% { stroke-dashoffset: 42; } 40%, 88% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 42; } }
@keyframes wp-feed { 0% { opacity: 0; transform: translateY(8px); } 8%, 84% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes wp-kpi { 0%, 60%, 100% { opacity: 1; } 70% { opacity: .35; } 80% { opacity: 1; } }
.ring-arc { animation: wp-ring 6s var(--ease-out) 1.2s infinite both; }
.feed > div { animation: wp-feed 6s var(--ease-out) infinite both; }
.feed > div:nth-child(1) { animation-delay: 1.0s; }
.feed > div:nth-child(2) { animation-delay: 1.5s; }
.feed > div:nth-child(3) { animation-delay: 2.0s; }
.feed > div:nth-child(4) { animation-delay: 2.5s; }
.kpi-up { animation: wp-kpi 6s ease-in-out 2s infinite; }

/* Contact: "What happens next" steps rise in, a progress line runs through them, each step lights up in turn (6s loop) */
@keyframes wp-nsline { 0%, 8% { transform: scaleY(0); } 62%, 90% { transform: scaleY(1); } 100% { transform: scaleY(0); } }
@keyframes wp-nson { 0%, 100% { background: var(--mint); transform: scale(1); } 6% { transform: scale(1.18); } 10%, 22% { background: var(--ink); transform: scale(1); } 30% { background: var(--mint); } }
.ns-line { position: absolute; left: 9px; top: 21px; bottom: 21px; width: 2px; border-radius: 2px; background: var(--ink); opacity: .18; transform-origin: top; animation: wp-nsline 6s var(--ease-out) 1s infinite both; }
.nextsteps .ns-track .check { position: relative; animation: wp-rise var(--dur-2) var(--ease-out) both; }
.nextsteps .ns-track .check:nth-of-type(1) { animation-delay: .2s; }
.nextsteps .ns-track .check:nth-of-type(2) { animation-delay: .4s; }
.nextsteps .ns-track .check:nth-of-type(3) { animation-delay: .6s; }
.nextsteps .ns-track .check i { position: relative; z-index: 1; animation: wp-nson 6s var(--ease-out) infinite both; }
@keyframes wp-nsstroke { 0%, 8%, 30%, 100% { stroke: #072135; } 10%, 22% { stroke: #d1ffca; } }
.nextsteps .ns-track .check i svg path { animation: wp-nsstroke 6s var(--ease-out) infinite both; }
.nextsteps .ns-track .check:nth-of-type(1) i svg path { animation-delay: 1.0s; }
.nextsteps .ns-track .check:nth-of-type(2) i svg path { animation-delay: 2.2s; }
.nextsteps .ns-track .check:nth-of-type(3) i svg path { animation-delay: 3.4s; }
.nextsteps .ns-track .check:nth-of-type(1) i { animation-delay: 1.0s; }
.nextsteps .ns-track .check:nth-of-type(2) i { animation-delay: 2.2s; }
.nextsteps .ns-track .check:nth-of-type(3) i { animation-delay: 3.4s; }
.ns-slot { animation: wp-rise var(--dur-2) var(--ease-out) .9s both; }

/* Ads hero: spend vs revenue bars grow, leaks get struck through one by one (6s loop) */
@keyframes wp-hbar { 0%, 6% { transform: scaleX(0); } 36%, 88% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes wp-strike { 0%, 10% { background-size: 0% 1.5px; color: var(--ink); } 30%, 88% { background-size: 100% 1.5px; color: var(--ink-subtle); } 100% { background-size: 0% 1.5px; color: var(--ink); } }
.hbar { transform-origin: left; animation: wp-hbar 6s var(--ease-out) 1.0s infinite both; }
.hbar--2 { animation-delay: 1.4s; }
.leak { background-image: linear-gradient(var(--ink), var(--ink)); background-repeat: no-repeat; background-position: 0 55%; background-size: 0% 1.5px; animation: wp-strike 6s var(--ease-out) infinite both; }
.check:nth-of-type(2) .leak { animation-delay: 1.4s; }
.check:nth-of-type(3) .leak { animation-delay: 2.0s; }
.check:nth-of-type(4) .leak { animation-delay: 2.6s; }

/* Ads hero: Shopping carousel scrolls endlessly (track holds two copies) */
@keyframes wp-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.shop-track { animation: wp-marquee 18s linear 1s infinite; }
.shop-track:hover { animation-play-state: paused; }

/* Ads hero: Google tabs switch All (text ad) <-> Shopping (product carousel), 12s loop */
@keyframes wp-gview-a { 0%, 42% { opacity: 1; transform: none; visibility: visible; } 48%, 94% { opacity: 0; transform: translateY(6px); visibility: hidden; } 100% { opacity: 1; transform: none; visibility: visible; } }
@keyframes wp-gview-b { 0%, 42% { opacity: 0; transform: translateY(6px); visibility: hidden; } 48%, 94% { opacity: 1; transform: none; visibility: visible; } 100% { opacity: 0; transform: translateY(6px); visibility: hidden; } }
@keyframes wp-gtab-a { 0%, 44% { color: var(--ink); font-weight: 600; box-shadow: inset 0 -2px 0 var(--ink); } 46%, 96% { color: var(--ink-muted); font-weight: 400; box-shadow: inset 0 -2px 0 transparent; } 98%, 100% { color: var(--ink); font-weight: 600; box-shadow: inset 0 -2px 0 var(--ink); } }
@keyframes wp-gtab-b { 0%, 44% { color: var(--ink-muted); font-weight: 400; box-shadow: inset 0 -2px 0 transparent; } 46%, 96% { color: var(--ink); font-weight: 600; box-shadow: inset 0 -2px 0 var(--ink); } 98%, 100% { color: var(--ink-muted); font-weight: 400; box-shadow: inset 0 -2px 0 transparent; } }
.gview--all { animation: wp-gview-a 12s var(--ease-out) 1s infinite both; }
.gview--shop { animation: wp-gview-b 12s var(--ease-out) 1s infinite both; }
.gtab--all { animation: wp-gtab-a 12s steps(1, end) 1s infinite both; }
.gtab--shop { animation: wp-gtab-b 12s steps(1, end) 1s infinite both; }
@media (prefers-reduced-motion: reduce) { .gview--all { display: none; } .gtab--shop { color: var(--ink); font-weight: 600; box-shadow: inset 0 -2px 0 var(--ink); } }

/* Automation hero: the enquiry wipes in, then the 4-step flow lights up in turn (reuses .nextsteps) */
@keyframes wp-msg { 0%, 4% { clip-path: inset(0 100% 0 0); } 18%, 92% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 100% 0 0); } }
.msg-reveal { animation: wp-msg 6s var(--ease-out) .6s infinite both; }
.nextsteps .ns-track .check:nth-of-type(4) { animation-delay: .8s; }
.nextsteps .ns-track .check:nth-of-type(4) i, .nextsteps .ns-track .check:nth-of-type(4) i svg path { animation-delay: 4.6s; }

/* Web hero: Gantt bars grow week by week, speed ring fills to 98 */
.hbar--3 { animation-delay: 1.8s; }
.hbar--4 { animation-delay: 2.2s; }
@keyframes wp-ringfull { 0%, 8% { stroke-dashoffset: 98; } 45%, 88% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 98; } }
.ring-arc--full { animation: wp-ringfull 6s var(--ease-out) 1.2s infinite both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .wp-mark { background-size: 100% 100%; }
}
