/* Rudra Singh Growth: global styles.
   Colours, fonts, sizes and spacing come from theme.json (editable in Styles). The short aliases
   below point at those presets so every rule updates when the palette changes. Block-specific
   styles live in /blocks/{name}/style.css and only load on pages that use the block. */

:root {
	--ink: var(--wp--preset--color--ink);
	--ink-2: var(--wp--preset--color--ink-2);
	--ink-3: var(--wp--custom--color--ink-3);
	--cobalt: var(--wp--preset--color--cobalt);
	--cobalt-2: var(--wp--custom--color--cobalt-2);
	--cobalt-3: var(--wp--custom--color--cobalt-3);
	--volt: var(--wp--preset--color--volt);
	--volt-2: var(--wp--custom--color--volt-2);
	--white: var(--wp--preset--color--white);
	--paper: var(--wp--preset--color--paper);
	--haze: var(--wp--preset--color--haze);
	--sky: var(--wp--preset--color--sky);
	--muted: var(--wp--preset--color--muted);
	--muted-2: var(--wp--custom--color--muted-2);
	--line: var(--wp--preset--color--line);
	--line-2: var(--wp--custom--color--line-2);
	--on-dark: var(--wp--preset--color--on-dark);
	--on-dark-muted: var(--wp--preset--color--on-dark-muted);
	--coral: var(--wp--preset--color--coral);
	--up: var(--wp--preset--color--success);
	--up-bg: var(--wp--custom--color--up-bg);
	--down: var(--wp--custom--color--down);
	--down-bg: var(--wp--custom--color--down-bg);
	--amber: var(--wp--custom--color--amber);
	--warn: var(--wp--custom--color--warn);
	--warn-bg: var(--wp--custom--color--warn-bg);
	--warn-line: var(--wp--custom--color--warn-line);
	--scrim: var(--wp--custom--color--scrim);
	--f-display: var(--wp--preset--font-family--display);
	--f-body: var(--wp--preset--font-family--body);
	--f-mono: var(--wp--preset--font-family--mono);
	--shadow-1: var(--wp--preset--shadow--soft);
	--shadow-2: var(--wp--preset--shadow--deep);
	--ease: var(--wp--custom--ease);
	--hdr-h: var(--wp--custom--header-height);
	--sp-section: var(--wp--preset--spacing--90);
	--sp-section-tight: var(--wp--preset--spacing--80);
	--sp-head: var(--wp--preset--spacing--60);
	--gap-cols: var(--wp--preset--spacing--70);
	--gap-grid: clamp(22px, 2.6vw, 36px);
	--pad-card: var(--wp--preset--spacing--50);
	--gap-stack: var(--wp--preset--spacing--40);
	--gut: clamp(16px, 4vw, 40px);
}

/* ---------------------------------------------------------------- base */
html { -webkit-text-size-adjust: 100%; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
::selection { background: var(--volt); color: var(--ink); }
:where(a, button, input, select, textarea, summary):focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 4px; }
:where(h1, h2, h3, h4) { text-wrap: balance; }
:where(p) { text-wrap: pretty; }
.wp-site-blocks > * { margin-block: 0; }
.wp-site-blocks > main { margin-block-start: 0; }
.rs-main > .wp-block-post-content > .alignfull:first-child { margin-block-start: 0; }
.has-display-font-size { font-stretch: 86%; line-height: .95 !important; letter-spacing: -.04em !important; }
.has-giant-font-size { font-stretch: 88%; }
.has-huge-font-size { font-stretch: 90%; }
.has-stat-font-size { font-stretch: 84%; line-height: .95 !important; letter-spacing: -.045em !important; font-variant-numeric: tabular-nums; }
mark { background: var(--volt); color: var(--ink); padding: 0 .12em; border-radius: .12em; }

.rs-ic { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; }
.rs-ic-sm { width: 1em; height: 1em; }
.rs-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rs-dot-live { display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: rs-pulse 1.8s ease-out infinite; }
@keyframes rs-pulse {
	0% { box-shadow: 0 0 0 0 color-mix(in srgb, currentColor 55%, transparent); }
	75%, 100% { box-shadow: 0 0 0 9px transparent; }
}
.rs-tag { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 5px; background: var(--paper); color: var(--muted); font: 500 12px/1.2 var(--f-mono); white-space: nowrap; }
.rs-st { display: inline-flex; padding: 4px 7px; border-radius: 4px; background: var(--paper); color: var(--muted); font: 500 11.5px/1.2 var(--f-mono); white-space: nowrap; }
.rs-st.is-up { background: var(--up-bg); color: var(--up); }
.rs-st.is-mid { background: var(--warn-bg); color: var(--warn); }

/* ---------------------------------------------------------------- sections */
.rs-section { padding-block: var(--sp-section); position: relative; }
.rs-section--tight { padding-block: var(--sp-section-tight); }
.rs-section > * + * { margin-block-start: 0; }
.rs-sec-head { gap: 24px; margin-block-end: var(--sp-head) !important; max-width: 780px; }
.rs-sec-head > * { margin-block: 0 !important; }
.rs-sec-head.is-row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 64px; }
.rs-sec-head.is-row > .wp-block-group { display: grid; gap: 24px; max-width: 780px; }
.rs-sec-head.is-row > .wp-block-group > * { margin: 0; }
.rs-sec-head .is-style-lead, .rs-sec-head > p:not(.is-style-eyebrow) { color: var(--muted); max-width: 56ch; }
.is-style-section-ink .rs-sec-head p:not(.is-style-eyebrow), .is-style-section-cobalt .rs-sec-head p:not(.is-style-eyebrow) { color: inherit; opacity: .85; }
.rs-stack { display: grid; gap: var(--gap-stack); }
.rs-stack > * { margin: 0 !important; }

.rs-grid-bg { position: relative; isolation: isolate; overflow: clip; }
.rs-grid-bg::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 90%); mask-image: linear-gradient(180deg, #000, transparent 90%); }

/* --hero-pb leaves room below the console for its drop shadow, which overflow: clip would otherwise cut off */
.rs-hero { --hero-pb: clamp(88px, 9vw, 136px); position: relative; isolation: isolate; overflow: clip; padding-top: calc(var(--hdr-h) + clamp(64px, 9vw, 136px)) !important; padding-bottom: var(--hero-pb) !important; }
/* cobalt is painted as a gradient over a transparent section so no blue can bleed through a sub-pixel bottom edge */
.rs-hero.rs-hero { background: linear-gradient(to bottom, var(--cobalt) calc(100% - 240px - var(--hero-pb)), transparent calc(100% - 240px - var(--hero-pb))); }
.rs-hero + .rs-section--stats { padding-top: 0; }
.rs-hero::before { content: ""; position: absolute; inset: -56px -56px calc(240px + var(--hero-pb)); z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 20%, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 70% 20%, #000 10%, transparent 75%); animation: rs-grid-drift 18s linear infinite; }
.rs-hero::after { content: ""; position: absolute; z-index: -1; width: 900px; height: 900px; right: -300px; top: -420px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .16), transparent 62%); pointer-events: none; }
@keyframes rs-grid-drift { to { transform: translate(56px, 56px); } }
.rs-hero .rs-hero-copy { max-width: 920px; }
.rs-hero .rs-hero-copy > * { margin-block: 0; }
.rs-hero .rs-hero-copy > * + * { margin-block-start: 34px; }
.rs-hero .is-style-lead { color: var(--haze); }
.rs-hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-block-start: 26px !important; color: var(--sky); font-size: 14.5px; }
.rs-hero-meta a { color: var(--white); font-weight: 600; text-decoration: none; }
.rs-hero-meta a:hover { text-decoration: underline; text-underline-offset: 4px; }
.rs-page-hero { padding-top: calc(var(--hdr-h) + clamp(64px, 8vw, 128px)) !important; padding-bottom: clamp(80px, 10vw, 150px) !important; }
.rs-page-hero.is-short { padding-bottom: clamp(64px, 7vw, 104px) !important; }
.rs-page-hero > * { position: relative; }

/* ---------------------------------------------------------------- block styles: text */
.is-style-eyebrow { display: inline-flex !important; align-items: center; gap: 10px; margin-block: 0; color: var(--cobalt); font-family: var(--f-mono) !important; font-size: 12.5px !important; font-weight: 500 !important; line-height: 1.2 !important; letter-spacing: .1em !important; text-transform: uppercase; }
.is-style-eyebrow::before { content: ""; flex: none; width: 16px; height: 2px; background: currentColor; }
.is-style-eyebrow.has-text-align-center { justify-content: center; }
:where(.is-style-section-ink, .is-style-section-cobalt, .is-style-card-dark, .is-style-card-cobalt, .rs-dark) .is-style-eyebrow { color: var(--volt); }
.is-style-lead { font-size: var(--wp--preset--font-size--large); line-height: 1.6; max-width: 56ch; }
.is-style-chip { display: inline-flex !important; align-items: center; gap: 10px; width: fit-content; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); font-size: 14px; line-height: 1.2; font-weight: 500; }
.is-style-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--volt); color: var(--volt); animation: rs-pulse 1.8s ease-out infinite; }
.is-style-placeholder { padding: 14px 16px; border: 1px dashed var(--warn-line); border-radius: 10px; background: var(--warn-bg); color: var(--warn) !important; font-size: 15px; }
.is-style-placeholder::before { content: "Placeholder · "; font: 600 11px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; }
.is-style-scroll-fill { font-family: var(--f-display); font-weight: 680; font-stretch: 88%; font-size: clamp(36px, 5.4vw, 80px); line-height: 1.02; letter-spacing: -.035em; max-width: 22ch; }
.is-style-scroll-fill strong, .is-style-scroll-fill mark { background: none; padding: 0; color: var(--volt); font-weight: inherit; }
.is-style-scroll-fill.is-fx .rs-w { opacity: .3; transition: opacity .35s; }
.is-style-scroll-fill.is-fx .rs-w.is-on { opacity: 1; }

:is(p, h2, h3, h4).is-style-stat { margin-block: 0; font-family: var(--f-display); font-size: var(--wp--preset--font-size--stat); font-weight: 760; font-stretch: 84%; line-height: .95; letter-spacing: -.045em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.is-style-stat strong, .is-style-stat em { color: var(--cobalt); font-style: normal; font-weight: inherit; }
:where(.is-style-section-ink, .is-style-section-cobalt, .is-style-card-dark) .is-style-stat strong { color: var(--volt); }

/* lists */
.is-style-checks, .is-style-crosses, .is-style-inline, .is-style-plain-links, .is-style-tags { list-style: none; padding-left: 0 !important; }
.is-style-checks, .is-style-crosses { display: grid; gap: 14px; }
.is-style-checks li, .is-style-crosses li { position: relative; padding-left: 34px; line-height: 1.5; }
.is-style-checks li::before, .is-style-crosses li::before { content: ""; position: absolute; left: 0; top: .08em; width: 22px; height: 22px; border-radius: 50%; background: var(--volt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A0F2C' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.is-style-crosses li { font-weight: 500; }
.is-style-crosses li::before { background: var(--down-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D93A34' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E") center / 11px no-repeat; }
.is-style-inline { display: flex; flex-wrap: wrap; gap: 10px 24px; font-weight: 500; }
.is-style-inline li { display: inline-flex; align-items: center; gap: 8px; }
.is-style-inline li::before { content: ""; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C8F04A' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.is-style-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.is-style-tags li { padding: 5px 9px; border-radius: 5px; background: var(--paper); color: var(--muted); font: 500 12px/1.2 var(--f-mono); }
.is-style-section-ink .is-style-tags li, .is-style-card-dark .is-style-tags li { background: var(--ink-3); color: var(--on-dark); }
.is-style-plain-links { display: grid; gap: 4px; }
.is-style-plain-links a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; color: inherit; text-decoration: none; transition: color .2s, transform .2s var(--ease); }
.is-style-plain-links a:hover { color: var(--volt); transform: translateX(3px); }
.rs-steps { list-style: none; padding-left: 0 !important; display: grid; gap: 16px; counter-reset: rs-step; }
.rs-steps li { position: relative; counter-increment: rs-step; padding: 24px 26px 24px 84px; border: 1.5px solid var(--line); border-radius: 14px; transition: border-color .3s; }
.rs-steps li:hover { border-color: var(--ink); }
.rs-steps li::before { content: counter(rs-step, decimal-leading-zero); position: absolute; left: 24px; top: 22px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--haze); color: var(--cobalt); font: 600 14px/1 var(--f-mono); }
.rs-steps strong { display: block; font: 640 18px/1.3 var(--f-display); margin-bottom: 4px; }

/* groups and columns */
.is-style-card { padding: var(--pad-card); border: 1.5px solid var(--line); border-radius: 18px; background: var(--white); color: var(--ink); }
.is-style-card-dark { padding: var(--pad-card); border-radius: 18px; background: var(--ink); color: var(--on-dark); }
.is-style-card-dark :where(h1, h2, h3, h4) { color: var(--white); }
.is-style-card-cobalt { padding: var(--pad-card); border-radius: 18px; background: var(--cobalt); color: var(--white); }
.is-style-card-cobalt :where(h1, h2, h3, h4) { color: var(--white); }
.is-style-card > *, .is-style-card-dark > *, .is-style-card-cobalt > * { margin-block: 0; }
.is-style-card > * + *, .is-style-card-dark > * + *, .is-style-card-cobalt > * + * { margin-block-start: 18px; }
.is-style-dashed { padding: 24px 30px; border: 1.5px dashed var(--line-2); border-radius: 16px; }
.wp-block-column.is-style-card { transition: border-color .3s, transform .3s var(--ease), box-shadow .3s var(--ease); }
.wp-block-column.is-style-card:hover { border-color: var(--ink); transform: translateY(-4px); box-shadow: 0 5px 0 var(--ink); }
.is-style-cards { gap: var(--gap-grid) !important; }
.is-style-stats { gap: 0 40px !important; border-top: 1px solid var(--line); }
.is-style-stats > .wp-block-column { padding-top: 36px; }
.is-style-stats > .wp-block-column > * { margin-block: 0; }
.is-style-stats > .wp-block-column > p:not(.is-style-stat) { margin-block-start: 16px; max-width: 22ch; color: var(--muted); font-size: 15.5px; line-height: 1.45; }

/* marquee */
.is-style-marquee { overflow: hidden; }
.is-style-marquee.is-ready { display: block !important; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.rs-mq-track { display: flex; width: max-content; animation: rs-marquee var(--mq-dur, 44s) linear infinite; }
.is-style-marquee:hover .rs-mq-track { animation-play-state: paused; }
.rs-mq-group { display: flex; align-items: center; gap: var(--mq-gap, 44px); padding-right: var(--mq-gap, 44px); }
.rs-mq-group > * { margin: 0 !important; white-space: nowrap; flex: none; }
@keyframes rs-marquee { to { transform: translateX(-50%); } }

/* timeline columns */
.is-style-timeline { position: relative; gap: clamp(28px, 3.4vw, 48px) !important; counter-reset: rs-tl; }
.is-style-timeline::before { content: ""; position: absolute; left: 22px; right: 22px; top: 21px; height: 3px; border-radius: 3px; background: var(--line); }
.is-style-timeline::after { content: ""; position: absolute; left: 22px; right: 22px; top: 21px; height: 3px; border-radius: 3px; background: var(--cobalt); transform-origin: left; transform: scaleX(var(--p, 1)); }
.is-style-timeline > .wp-block-column { position: relative; counter-increment: rs-tl; padding-top: 72px; }
.is-style-timeline > .wp-block-column > * { margin-block: 0; }
.is-style-timeline > .wp-block-column > * + * { margin-block-start: 14px; }
.is-style-timeline > .wp-block-column::before { content: counter(rs-tl); position: absolute; z-index: 1; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--cobalt); background: var(--cobalt); color: var(--white); font: 700 16px/1 var(--f-mono); transition: background-color .35s, color .35s, border-color .35s, transform .35s var(--ease); }
.is-style-timeline.is-fx > .wp-block-column:not(.is-on)::before { background: var(--white); color: var(--muted); border-color: var(--line-2); }
.is-style-timeline > .wp-block-column > p:not(.is-style-eyebrow):not(.rs-out) { color: var(--muted); font-size: 16px; }
.rs-out { margin-block-start: 22px !important; padding: 16px 18px; border-radius: 10px; background: var(--paper); font-size: 14.5px; line-height: 1.45; }
.rs-out strong { display: block; margin-bottom: 4px; font: 500 11px/1.2 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* ---------------------------------------------------------------- buttons */
.wp-block-button__link, .wp-element-button { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; box-shadow: 0 4px 0 var(--ink); transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s; }
.wp-block-button__link:hover, .wp-element-button:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink); }
.wp-block-button__link:active, .wp-element-button:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--ink); }
.wp-block-button__link::after { content: "→"; font-family: var(--f-body); transition: transform .25s var(--ease); }
.wp-block-button__link:hover::after { transform: translateX(3px); }
.wp-block-button.no-arrow .wp-block-button__link::after, .is-style-ghost .wp-block-button__link::after, .is-style-text .wp-block-button__link::after { content: none; }
.wp-block-button:not([class*="is-style-"]) .wp-block-button__link::before, .wp-block-button.is-style-fill .wp-block-button__link::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .6) 48%, transparent 64%); background-size: 260% 100%; background-position: 130% 0; animation: rs-sheen 5s ease-in-out infinite; }
@keyframes rs-sheen { 0%, 60% { background-position: 130% 0; } 85%, 100% { background-position: -40% 0; } }
:where(.is-style-section-ink, .is-style-section-cobalt, .is-style-card-dark, .is-style-card-cobalt, .rs-dark) .wp-block-button:not([class*="is-style-"]) .wp-block-button__link { box-shadow: 0 4px 0 #000; }
.wp-block-button.is-style-ink .wp-block-button__link { background: var(--ink); color: var(--white); box-shadow: 0 4px 0 var(--cobalt); }
.wp-block-button.is-style-ink .wp-block-button__link:hover { box-shadow: 0 6px 0 var(--cobalt); }
.wp-block-button.is-style-outline .wp-block-button__link { background: var(--white); color: var(--ink); border-color: var(--ink); }
.wp-block-button.is-style-ghost .wp-block-button__link { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .4); box-shadow: none; }
.wp-block-button.is-style-ghost .wp-block-button__link:hover { background: rgba(255, 255, 255, .1); transform: none; }
.wp-block-button.is-style-text .wp-block-button__link { padding: 0; background: none; color: inherit; box-shadow: none; text-decoration: underline; text-underline-offset: 4px; }
.wp-block-button.is-style-text .wp-block-button__link:hover { transform: none; }
.wp-block-buttons { gap: 14px; }

/* ---------------------------------------------------------------- FAQ (details) */
.wp-block-details { overflow: hidden; border: 1.5px solid var(--line); border-radius: 14px; background: var(--white); color: var(--ink); transition: border-color .3s; }
.wp-block-details + .wp-block-details { margin-block-start: 14px; }
.wp-block-details[open] { border-color: var(--ink); }
.wp-block-details summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 28px; list-style: none; cursor: pointer; font: 600 17.5px/1.4 var(--f-body); }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); font: 500 20px/1 var(--f-body); transition: transform .35s var(--ease), background-color .35s; }
.wp-block-details[open] summary::after { transform: rotate(45deg); background: var(--volt); }
.wp-block-details > :not(summary) { margin: 0; padding: 0 28px; color: var(--muted); max-width: 70ch; }
.wp-block-details > :not(summary):last-child { padding-bottom: 26px; }
.wp-block-details[open] > :not(summary) { animation: rs-fade-up .4s var(--ease); }

/* categories as chips */
.wp-block-categories.is-style-chips, .is-style-chips.wp-block-categories-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.is-style-chips .cat-item a { display: inline-block; padding: 9px 16px; border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--white); color: var(--ink); font: 500 14.5px/1.2 var(--f-body); text-decoration: none; transition: border-color .2s, background-color .2s, color .2s; }
.is-style-chips .cat-item a:hover { border-color: var(--ink); }
.is-style-chips .current-cat a { background: var(--ink); border-color: var(--ink); color: var(--white); }

/* testimonial */
.wp-block-quote.is-style-testimonial { position: relative; display: grid; gap: 28px; align-content: space-between; margin: 0; padding: var(--pad-card); border: 1.5px solid var(--line); border-radius: 18px; background: var(--white); color: var(--ink); font-size: 19px; }
.wp-block-quote.is-style-testimonial::before { content: "“"; font: 800 72px/.6 var(--f-display); color: var(--cobalt); height: 34px; }
.wp-block-quote.is-style-testimonial p { color: var(--muted); }
.wp-block-quote.is-style-testimonial cite { font: 600 15px/1.4 var(--f-body); color: var(--ink); }

/* ---------------------------------------------------------------- announcement + header */
.rs-topbar { position: relative; z-index: 60; background: var(--ink); color: var(--on-dark); font: 500 13px/1 var(--f-mono); }
.rs-topbar .is-style-marquee { padding-block: 12px; --mq-gap: 28px; --mq-dur: 42s; }
.rs-topbar p { display: inline-flex; align-items: center; gap: 10px; }
.rs-topbar p + p::before { content: ""; width: 6px; height: 6px; background: var(--volt); transform: rotate(45deg); margin-right: 18px; opacity: .8; }
.rs-topbar .rs-mq-group > p:first-child::before { content: ""; width: 6px; height: 6px; background: var(--volt); transform: rotate(45deg); margin-right: 18px; opacity: .8; }
.rs-topbar a { color: var(--volt); text-decoration: none; }
.rs-topbar a:hover { text-decoration: underline; }

.rs-site-header { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 50; height: var(--hdr-h); margin-bottom: calc(-1 * var(--hdr-h)); color: var(--white); transition: background-color .3s, box-shadow .3s; }
/* the frosted bar lives on a pseudo-element: backdrop-filter on the header itself would trap the fixed mobile menu inside the 72px bar */
.rs-site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--scrim); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 rgba(255, 255, 255, .08); opacity: 0; transition: opacity .3s; pointer-events: none; }
.rs-site-header.is-scrolled::before, .rs-site-header.is-solid::before { opacity: 1; }
/* open mobile menu must cover the announcement bar (z 60) and progress bar */
.has-modal-open .rs-site-header, .rs-site-header:has(.is-menu-open) { z-index: 100; }
.rs-header { height: 100%; }
.rs-header__in { height: var(--hdr-h); gap: 20px; }
.rs-header .wp-block-navigation { color: inherit; gap: 2px; }
.rs-header .wp-block-navigation .wp-block-navigation-item__content { padding: 9px 13px; border-radius: 6px; text-decoration: none; transition: background-color .2s; }
.rs-header .wp-block-navigation-item:not(.has-child) > .wp-block-navigation-item__content:hover,
.rs-header .wp-block-navigation-item.has-child:hover > .wp-block-navigation-item__content { background: rgba(255, 255, 255, .12); }
.rs-header .wp-block-navigation .current-menu-item > .wp-block-navigation-item__content { box-shadow: inset 0 -2px 0 var(--volt); border-radius: 0; }
.rs-header .wp-block-navigation__submenu-icon { margin-left: -6px; margin-right: 6px; }
.rs-header .wp-block-buttons .wp-block-button__link { padding: 11px 16px; font-size: 15px; box-shadow: 0 3px 0 #000; }
.rs-header .rs-header__link { color: inherit; font-size: 15.5px; font-weight: 500; text-decoration: none; }

/* desktop submenu as a mega panel */
@media (min-width: 961px) {
	.rs-header .wp-block-navigation .wp-block-navigation__submenu-container { top: calc(100% + 12px); left: -16px; min-width: 580px !important; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 12px; border: 0 !important; border-radius: 16px; background: var(--white) !important; color: var(--ink) !important; box-shadow: var(--shadow-2); }
	.rs-header .wp-block-navigation .wp-block-navigation__submenu-container::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
	.rs-header .wp-block-navigation__submenu-container .wp-block-navigation-item { width: 100%; }
	.rs-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content { display: grid !important; gap: 4px; width: 100%; padding: 14px !important; border-radius: 10px; }
	.rs-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--paper) !important; }
	.rs-header .wp-block-navigation__submenu-container .wp-block-navigation-item__label { font-weight: 600; font-size: 16px; }
	.rs-header .wp-block-navigation__submenu-container .wp-block-navigation-item__description { display: block; font-size: 14px; line-height: 1.4; color: var(--muted); white-space: normal; }
	.rs-header .wp-block-navigation .has-child:hover > .wp-block-navigation__submenu-container { animation: rs-fade-up .22s var(--ease); }
}
.rs-header .wp-block-navigation-item__description { display: none; }

/* collapse to the mobile menu below 960px (core collapses at 600px) */
@media (max-width: 960px) {
	.rs-header .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.rs-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
	.rs-header .rs-header__link { display: none; }
	/* logo left; call button + burger on the right */
	.rs-header .rs-header__in > .rs-main-nav { order: 3; margin-left: 0; margin-right: 0; }
	.rs-header .rs-header__in > .rs-header__cta { margin-left: auto; }
}
@media (max-width: 560px) {
	.rs-header .rs-header__in > .rs-header__cta { display: none; }
	.rs-header .rs-header__in > .rs-main-nav { margin-left: auto; }
}
.rs-header .wp-block-navigation__responsive-container-open { width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 8px; align-items: center; justify-content: center; color: inherit; }
.rs-header .wp-block-navigation__responsive-container.is-menu-open { background: var(--ink) !important; color: var(--white) !important; padding: calc(env(safe-area-inset-top, 0px) + 20px) var(--gut) calc(env(safe-area-inset-bottom, 0px) + 28px) !important; }
.rs-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { align-items: stretch !important; gap: 4px !important; padding-top: 56px !important; }
.rs-header .is-menu-open .wp-block-navigation__container { align-items: stretch !important; gap: 0 !important; }
.rs-header .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item, .rs-header .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content { width: 100%; }
.rs-header .is-menu-open .wp-block-navigation-item__content { padding: 12px 0 !important; border-bottom: 1px solid rgba(255, 255, 255, .1); font: 650 26px/1.2 var(--f-display) !important; letter-spacing: -.02em; }
.rs-header .is-menu-open .wp-block-navigation__submenu-container { padding: 0 0 8px 16px !important; }
.rs-header .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { font-size: 19px !important; border-bottom: 0; padding: 8px 0 !important; }
.rs-header .wp-block-navigation__responsive-container-close { color: var(--white); }

/* scroll progress */
.rs-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 90; height: 3px; pointer-events: none; }
.rs-progress i { display: block; height: 100%; background: var(--volt); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------------------------------------------------------------- footer */
.rs-site-footer { background: var(--ink); color: var(--on-dark-muted); overflow: clip; }
.rs-footer { padding-top: clamp(88px, 11vw, 144px) !important; padding-bottom: 32px !important; }
.rs-footer a { color: var(--on-dark-muted); }
.rs-footer a:hover { color: var(--volt); }
.rs-footer h2, .rs-footer .rs-footer-h { margin: 0 0 20px; color: var(--white); font: 500 12px/1 var(--f-mono) !important; letter-spacing: .1em; text-transform: uppercase; }
.rs-footer .rs-brand { color: var(--white); }
/* outline fills left to right, then hands over to plain text colour so the finished word renders crisp (no stroke halo, no overlap lines).
   padding gives the fill room for the "g" descender; margins subtract it again */
.rs-footer-word { margin: calc(clamp(80px, 10vw, 144px) - .06em) 0 calc(32px - .2em) !important; padding: .06em 0 .2em !important; font-family: var(--f-display); font-weight: 800; font-stretch: 78%; font-size: clamp(64px, 16.5vw, 250px) !important; line-height: .8 !important; letter-spacing: -.03em; white-space: nowrap; color: transparent !important; -webkit-text-stroke: 1.5px rgba(232, 236, 255, .22); background: linear-gradient(var(--volt), var(--volt)) 0 0 / 0% 100% no-repeat; -webkit-background-clip: text; background-clip: text; transition: background-size 1.6s var(--ease); user-select: none; }
.rs-footer-word.is-in { background-size: 100% 100%; color: var(--volt) !important; -webkit-text-stroke-color: transparent; transition: background-size 1.6s var(--ease), color 0s linear 1.6s, -webkit-text-stroke-color .4s linear 1.3s; }
.rs-footer-bot { padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; }
.rs-footer-bot a { text-decoration: none; }
.rs-footer .wp-block-social-links { gap: 10px; }
.rs-footer .wp-block-social-link { background: var(--ink-3) !important; color: var(--white) !important; }

/* mobile-only sticky call bar; doubled class beats core's "body .is-layout-flex" and the footer's constrained max-width */
.rs-mcta.rs-mcta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: none; align-items: center; justify-content: space-between; gap: 12px; width: auto; max-width: none; margin: 0 !important; padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom, 0px)) !important; background: var(--scrim); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: var(--white); transform: translateY(110%); transition: transform .4s var(--ease); }
.rs-mcta > * { margin: 0 !important; }
.rs-mcta p { font-size: 14.5px; line-height: 1.3; }
.rs-mcta .wp-block-button__link, .rs-mcta .wp-block-button__link:hover { color: var(--ink); }
.rs-mcta.is-on { transform: none; }
@media (max-width: 960px) { .rs-mcta.rs-mcta { display: flex; } }

/* ---------------------------------------------------------------- blog index + cards */
.rs-post-grid .wp-block-post-template { gap: 56px var(--gap-grid); }
.rs-post-grid .wp-block-post { position: relative; display: flex; flex-direction: column; gap: 18px; }
.rs-post-grid .wp-block-post > * { margin: 0 !important; }
.rs-post-grid .wp-block-post-featured-image { overflow: hidden; aspect-ratio: 16 / 10; border-radius: 16px; background: var(--paper); }
.rs-post-grid .wp-block-post-featured-image img, .rs-post-grid .wp-block-post-featured-image svg { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.rs-post-grid .wp-block-post:hover .wp-block-post-featured-image img, .rs-post-grid .wp-block-post:hover .wp-block-post-featured-image svg { transform: scale(1.06) rotate(-.6deg); }
.rs-post-grid .wp-block-post-title { font-size: 21px; line-height: 1.25; letter-spacing: -.015em; font-weight: 660; }
.rs-post-grid .wp-block-post-title a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .4s var(--ease); }
.rs-post-grid .wp-block-post:hover .wp-block-post-title a { background-size: 100% 2px; }
.rs-post-grid .wp-block-post-title a::after { content: ""; position: absolute; inset: 0; }
.rs-post-grid .wp-block-post-excerpt { color: var(--muted); font-size: 15.5px; }
.rs-post-grid .wp-block-post-excerpt__more-text { display: none; }
.rs-post-meta { gap: 8px 12px !important; }
.rs-post-meta > * { margin: 0 !important; }
.rs-post-meta .wp-block-post-terms a { position: relative; z-index: 1; color: var(--cobalt); text-decoration: none; }
.wp-block-query-pagination { gap: 10px; margin-block-start: 56px; font-family: var(--f-mono); font-size: 14px; }
.wp-block-query-pagination a, .wp-block-query-pagination .page-numbers { padding: 8px 12px; border: 1.5px solid var(--line-2); border-radius: 8px; text-decoration: none; color: var(--ink); }
.wp-block-query-pagination .current { background: var(--ink); border-color: var(--ink); color: var(--white); }
.rs-thumb-fallback svg { display: block; width: 100%; height: 100%; }
.wp-block-search__inside-wrapper { border: 1.5px solid var(--line-2) !important; border-radius: 10px; padding: 4px !important; background: var(--white); }
.wp-block-search__input { border: 0 !important; background: transparent; font: 15.5px var(--f-body); padding: 8px 12px !important; }
.wp-block-search__button { margin-left: 0 !important; border-radius: 7px !important; box-shadow: none !important; padding: 10px 16px !important; }
.wp-block-search__button::after { content: none !important; }
.wp-block-search__input:focus { outline: 0; }

/* ---------------------------------------------------------------- article */
.rs-article { gap: clamp(32px, 5vw, 80px) !important; align-items: flex-start !important; }
.rs-article__toc { position: sticky; top: calc(var(--hdr-h) + 28px); flex-basis: 220px !important; flex-grow: 0 !important; }
.rs-article__aside { position: sticky; top: calc(var(--hdr-h) + 28px); flex-basis: 280px !important; flex-grow: 0 !important; }
.rs-prose { font-size: 18px; line-height: 1.8; max-width: 68ch; }
.rs-prose > * { margin-block: 0 0 24px; }
.rs-prose > h2 { margin: 68px 0 20px; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.12; letter-spacing: -.025em; scroll-margin-top: calc(var(--hdr-h) + 24px); }
.rs-prose > h3 { margin: 44px 0 14px; scroll-margin-top: calc(var(--hdr-h) + 24px); }
.rs-prose > h2:first-child, .rs-prose > h3:first-child { margin-top: 0; }
.rs-prose ul:not([class*="is-style"]), .rs-prose ol:not([class*="is-style"]):not(.rs-steps) { padding-left: 1.3em; display: grid; gap: 8px; }
.rs-prose .wp-block-quote:not(.is-style-testimonial) { margin: 40px 0; }
.rs-prose .wp-block-table table { border-collapse: collapse; width: 100%; font-size: 15.5px; line-height: 1.45; }
.rs-prose .wp-block-table th { padding: 12px 16px; background: var(--ink); color: var(--white); text-align: left; font: 500 12px/1.2 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; border: 0; }
.rs-prose .wp-block-table td { padding: 16px; border: 0; border-bottom: 1px solid var(--line); }
.rs-prose .wp-block-table thead { border: 0; }
.rs-prose .wp-block-image img { border-radius: 14px; }
.rs-tldr { padding: 28px 30px !important; border-radius: 16px; background: var(--haze); font-size: 16.5px; line-height: 1.55; }
.rs-tldr > * { margin: 0 !important; }
.rs-tldr > * + * { margin-top: 12px !important; }
.rs-tldr ul { padding-left: 20px; display: grid; gap: 10px; }
.rs-inline-cta { margin: 48px 0 !important; gap: 22px !important; padding: clamp(24px, 3vw, 36px) !important; border-radius: 16px; background: var(--cobalt); color: var(--white); line-height: 1.45; }
.rs-inline-cta p { color: var(--haze); font-size: 15.5px; margin: 0; }
.rs-inline-cta h2, .rs-inline-cta h3 { color: var(--white); margin: 6px 0 !important; font-size: 22px !important; }
.rs-author { gap: 20px !important; margin-top: 72px !important; padding: clamp(24px, 3vw, 32px) !important; border: 1.5px solid var(--line); border-radius: 16px; }
.rs-author .wp-block-avatar img { border-radius: 14px; }
.rs-author .wp-block-post-author-biography { color: var(--muted); }

/* ---------------------------------------------------------------- case study single */
.rs-case-layout { gap: var(--gap-cols) !important; align-items: flex-start !important; }
.rs-case-layout__side { position: sticky; top: calc(var(--hdr-h) + 24px); flex-basis: 290px !important; flex-grow: 0 !important; }
.rs-case-layout .rs-prose > .is-style-eyebrow { margin-top: 72px; margin-bottom: 18px; }
.rs-case-layout .rs-prose > .is-style-eyebrow:first-child { margin-top: 0; }

/* ---------------------------------------------------------------- pattern layouts */
.rs-split.wp-block-columns { column-gap: var(--gap-cols); row-gap: 48px; }
.rs-narrow { max-width: 860px; }
.rs-hero .rs-console-wrap { margin-top: clamp(72px, 9vw, 120px); }
.rs-section--stats { padding-block: clamp(80px, 10vw, 150px) clamp(72px, 9vw, 136px); }
.rs-manifesto { padding-block: clamp(112px, 15vw, 224px); }
.rs-manifesto .is-style-scroll-fill { margin-top: 36px; }
.rs-empty { padding: 40px 0; text-align: center; color: var(--muted); }

/* platforms row */
.rs-tools { display: flex !important; align-items: center; gap: 36px; margin-top: clamp(72px, 9vw, 128px) !important; padding-block: 30px; border-block: 1px solid var(--line); }
.rs-tools > * { margin: 0 !important; }
.rs-tools__label { flex: none; max-width: 15ch; font: 500 12.5px/1.4 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.rs-tools .is-style-marquee { flex: 1; min-width: 0; --mq-gap: 44px; }
.rs-tools .is-style-marquee p { display: inline-flex; align-items: center; gap: 10px; font: 640 18px/1 var(--f-display); letter-spacing: -.01em; color: var(--muted); }
.rs-tools .is-style-marquee p::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--cobalt); transform: rotate(45deg); }

/* manifesto pillars */
.rs-pillars.wp-block-columns { gap: 1px; margin-top: clamp(80px, 10vw, 144px) !important; overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; background: rgba(255, 255, 255, .12); }
.rs-pillars > .wp-block-column { position: relative; padding: var(--pad-card); background: var(--ink); transition: background-color .3s; }
.rs-pillars > .wp-block-column:hover { background: var(--ink-2); }
.rs-pillars > .wp-block-column > * { margin: 0; }
.rs-pillars > .wp-block-column > * + * { margin-top: 12px; }
.rs-pillars p { color: var(--on-dark-muted); font-size: 15.5px; }

/* CSS icons: add class rs-icon-{name} */
.rs-feat, .rs-pillars > .wp-block-column { position: relative; }
.rs-feat::before, .rs-pillars > [class*="rs-icon-"]::before { content: ""; display: block; width: 48px; height: 48px; margin-bottom: 18px; border-radius: 12px; background: var(--haze); transition: transform .4s var(--ease), background-color .3s; }
.rs-pillars > [class*="rs-icon-"]::before { background: var(--ink-3); }
.rs-feat::after, .rs-pillars > [class*="rs-icon-"]::after { content: ""; position: absolute; top: calc(var(--pad-card) + 13px); left: calc(var(--pad-card) + 13px); width: 22px; height: 22px; background: var(--cobalt); -webkit-mask: var(--rs-icon) center / contain no-repeat; mask: var(--rs-icon) center / contain no-repeat; transition: transform .4s var(--ease), background-color .3s; }
.rs-pillars > [class*="rs-icon-"]::after { background: var(--volt); }
.rs-feat:hover::before { transform: rotate(-8deg) scale(1.06); background: var(--volt); }
.rs-feat:hover::after { transform: rotate(-8deg) scale(1.06); background: var(--ink); }
.rs-feat > *, .rs-play-step > * { margin: 0 !important; }
.rs-feat > * + *, .rs-play-step > * + * { margin-top: 14px !important; }
.rs-feat p, .rs-play-step p:not(.is-style-eyebrow) { color: var(--muted); font-size: 15.5px; }
.rs-feat-grid, .rs-play-grid, .rs-toolgrid { gap: var(--gap-grid) !important; }
.rs-feat.is-style-card, .rs-play-step.is-style-card { transition: border-color .3s, transform .3s var(--ease); }
.rs-feat.is-style-card:hover, .rs-play-step.is-style-card:hover { border-color: var(--ink); transform: translateY(-4px); }
.rs-tcard { position: relative; display: flex; align-items: center; gap: 14px; margin: 0 !important; padding: 24px; border: 1.5px solid var(--line); border-radius: 14px; font-weight: 600; transition: border-color .25s, transform .25s var(--ease); }
.rs-tcard:hover { border-color: var(--ink); transform: translateY(-3px); }
.rs-tcard::before { content: ""; flex: none; width: 22px; height: 22px; background: var(--cobalt); -webkit-mask: var(--rs-icon) center / contain no-repeat; mask: var(--rs-icon) center / contain no-repeat; }

/* metric chips on ink */
.is-style-tags.rs-mchips { gap: 16px; }
.is-style-tags.rs-mchips li { padding: 14px 22px; border: 1.5px solid rgba(255, 255, 255, .2); border-radius: 999px; background: transparent; color: var(--white); font: 660 clamp(18px, 2vw, 26px)/1 var(--f-display); letter-spacing: -.015em; transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease); }
.is-style-tags.rs-mchips li:hover { background: var(--volt); border-color: var(--volt); color: var(--ink); transform: translateY(-3px) rotate(-1.5deg); }

/* service hero */
.rs-focus { font-weight: 600; }
.rs-focus strong { display: block; margin-bottom: 4px; font: 500 11.5px/1.2 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--volt); }
.rs-hero-vis.is-framed { border-radius: 20px; box-shadow: var(--shadow-2); }
.rs-page-hero .rs-hero-vis.rs-vis--google-ads { background: var(--cobalt-2); }

/* results strip */
.rs-res-strip { gap: 1px !important; overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; background: rgba(255, 255, 255, .12); }
.rs-res-strip > .wp-block-group { margin: 0 !important; padding: clamp(24px, 2.6vw, 34px); background: var(--ink); }
.rs-res-strip > .wp-block-group > * { margin: 0; }
.rs-res-strip .is-style-stat { font-size: clamp(38px, 4.2vw, 56px); color: var(--volt); }
.rs-res-strip .is-style-stat strong { color: var(--volt); }
.rs-res-strip p:not(.is-style-stat) { margin-top: 10px; font-size: 14.5px; line-height: 1.4; color: var(--on-dark-muted); }

/* FAQ layout */
.rs-sticky { position: sticky; top: calc(var(--hdr-h) + 32px); align-self: flex-start; }
.rs-faq .wp-block-buttons { margin-top: 6px; }

/* fit */
.rs-notfit { gap: 14px 32px !important; margin-top: var(--gap-grid) !important; background: var(--white); }
.rs-notfit > * { margin: 0 !important; }
.rs-notfit .is-style-crosses { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.rs-notfit .is-style-crosses li { font-weight: 400; color: var(--muted); }
.wp-block-column.is-style-card > .rs-vis { margin-bottom: 14px; }

/* about */
.rs-photo { position: relative; aspect-ratio: 4 / 5; max-width: 480px; margin-inline: auto; }
.rs-photo > .wp-block-image, .rs-photo > .wp-block-image img { width: 100%; height: 100%; margin: 0; object-fit: cover; border-radius: 22px; }
.rs-photo__ph { position: absolute; inset: 0; margin: 0 !important; display: grid; place-items: center; padding: 32px; border: 1.5px dashed rgba(255, 255, 255, .3); border-radius: 22px; background: repeating-linear-gradient(135deg, var(--ink-2) 0 14px, var(--ink) 14px 28px); color: var(--on-dark-muted); font: 500 14px/1.5 var(--f-mono); text-align: center; }
.rs-float-chip { position: absolute; z-index: 1; display: inline-flex; align-items: center; gap: 6px; margin: 0 !important; padding: 10px 14px; border-radius: 12px; background: var(--white); color: var(--ink); font-size: 14px; white-space: nowrap; box-shadow: var(--shadow-2); animation: rs-bob 5s ease-in-out infinite; }
.rs-float-chip strong { font: 760 18px/1 var(--f-display); }
.rs-fc-1 { left: -18px; top: 14%; }
.rs-fc-2 { right: -18px; top: 48%; background: var(--volt); animation-delay: -1.6s; }
.rs-fc-3 { left: 8%; bottom: -14px; animation-delay: -3.2s; }
@keyframes rs-bob { 50% { transform: translateY(-8px); } }
.rs-story { font-size: 19px; line-height: 1.75; max-width: 62ch; }
.rs-big-num { margin: 0; font: 780 56px/1 var(--f-display); letter-spacing: -.05em; color: var(--cobalt); }

/* contact */
.rs-contact.wp-block-columns { gap: clamp(28px, 4.5vw, 64px); align-items: flex-start; }
.rs-form-card { padding: clamp(28px, 4vw, 52px) !important; box-shadow: var(--shadow-1); }
.rs-next { list-style: none; padding: 0 !important; display: grid; gap: 22px; counter-reset: rs-next; margin-top: 16px !important; }
.rs-next li { position: relative; padding-left: 46px; counter-increment: rs-next; font-size: 15px; color: var(--muted); }
.rs-next li::before { content: counter(rs-next); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--cobalt); color: var(--white); font: 600 13px/1 var(--f-mono); }
.rs-next strong { display: block; color: var(--ink); font-size: 16px; }
.rs-email { font: 500 15px/1.4 var(--f-mono); overflow-wrap: anywhere; }

/* header layout */
.rs-header__in { gap: 20px; }
.rs-header__in > .rs-main-nav { margin-left: 18px; margin-right: auto; }
.rs-header__cta { gap: 12px; }
.rs-header__cta > * { margin: 0 !important; }
.rs-header__link a { color: inherit; text-decoration: none; opacity: .92; }
.rs-header__link a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* footer layout */
.rs-footer-top.wp-block-columns { gap: 72px; }
.rs-footer-cols.wp-block-columns { gap: 40px; }
.rs-footer-tag { max-width: 36ch; margin: 22px 0 32px !important; }
.rs-footer-mail { font-size: 14.5px; overflow-wrap: break-word; }
.rs-footer .rs-lead--newsletter { max-width: 440px; }
.rs-footer-bot > * { margin: 0 !important; }

/* blog + article */
.rs-blog-tools { gap: 18px !important; margin-bottom: clamp(48px, 6vw, 80px) !important; }
.rs-search { min-width: min(100%, 320px); }
.rs-byline { gap: 8px 16px !important; color: var(--on-dark-muted); font-size: 15px; }
.rs-byline a { color: var(--white); text-decoration: none; font-weight: 600; }
.rs-page-hero .rs-post-meta .wp-block-post-terms a { color: var(--volt); }
.rs-page-hero .rs-reading-time { color: var(--on-dark-muted); }
.rs-article__image img { border-radius: 16px; margin-bottom: 40px; }
.rs-side-cta .wp-block-button__link { width: 100%; }
.rs-related .wp-block-post-template { gap: 44px var(--gap-grid); }
.rs-case-hero-kpis { margin-top: clamp(52px, 7vw, 88px) !important; }

/* ---------------------------------------------------------------- reveal on scroll */
.rs-reveal.is-play { animation: rs-rv-up .8s var(--ease) backwards; animation-delay: var(--d, 0s); }
@keyframes rs-rv-up { from { opacity: 0; transform: translateY(26px); } }
@keyframes rs-fade-up { from { opacity: 0; transform: translateY(8px); } }
.rs-anim-off *, .rs-anim-off *::before, .rs-anim-off *::after { animation-play-state: paused !important; }

/* ---------------------------------------------------------------- Kadence Blocks forms */
.wp-block-kadence-form .kb-field, .kb-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]), .kb-form select, .kb-form textarea { border: 1.5px solid var(--line-2) !important; border-radius: 10px !important; background: var(--white) !important; color: var(--ink) !important; font: 16px var(--f-body) !important; padding: 12px 14px !important; }
.kb-form input:focus, .kb-form select:focus, .kb-form textarea:focus { outline: 0; border-color: var(--cobalt) !important; box-shadow: 0 0 0 4px var(--haze) !important; }
.kb-form label { font: 600 14.5px/1.3 var(--f-body); }
.kb-form .kb-submit-field .kb-button, .kb-form .kb-forms-submit { background: var(--volt) !important; color: var(--ink) !important; border-radius: 6px !important; font-weight: 600 !important; box-shadow: 0 4px 0 var(--ink); }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1180px) {
	.rs-article__aside { display: none !important; }
}
@media (max-width: 960px) {
	.rs-article, .rs-case-layout { flex-wrap: wrap !important; }
	.rs-article__toc, .rs-case-layout__side { position: static; flex-basis: 100% !important; }
	.rs-article__toc { padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; }
	.is-style-timeline { padding-left: 62px; gap: 44px !important; }
	.is-style-timeline::before, .is-style-timeline::after { left: 20px; right: auto; top: 22px; bottom: 22px; width: 3px; height: auto; }
	.is-style-timeline::after { transform-origin: top; transform: scaleY(var(--p, 1)); }
	.is-style-timeline > .wp-block-column { padding-top: 0; }
	.is-style-timeline > .wp-block-column::before { left: -62px; }
}
@media (max-width: 781px) {
	.rs-tools { flex-direction: column; align-items: stretch; gap: 18px; }
	.rs-tools .is-style-marquee { width: 100%; flex: none; }
	.rs-tools__label { max-width: none; }
	.rs-fc-1 { left: 8px; }
	.rs-fc-2 { right: 8px; }
	.rs-sticky { position: static; }
	.is-style-stats > .wp-block-column { flex-basis: calc(50% - 20px) !important; }
	.is-style-stats { flex-wrap: wrap !important; gap: 8px 20px !important; }
	.rs-sec-head.is-row { display: grid; }
}

/* ---------------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	.rs-mq-track { animation: none !important; }
}
