/*
 * Interactive homepage prototype (owner-authorized DESIGN-003 exception, 2026-11-29; Local review).
 * Loaded on the front page after home.css. Without JavaScript every component shows its full
 * server-rendered content; `.is-enhanced` (added by home-experience.js) switches to the interactive view.
 *
 * Motion: CSS animations tied to a component run only while its motion loop is running
 * (`.is-running`, set by the shared controller: on screen, tab visible, not paused, and either motion
 * allowed or the visitor chose Play). Reduced motion removes ambient movement and makes transitions instant.
 */
:root {
	--ss-m-fast: 160ms;
	--ss-m-base: 320ms;
	--ss-m-slow: 700ms;
	--ss-m-ambient: 18s;
	--ss-m-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--ss-m-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
	--ss-m-stagger: 55ms;
	--ss-deep: #070b2b;
	--ss-deep-2: #10165a;
	--ss-glow-cyan: rgba(25, 195, 234, 0.55);
	--ss-glow-purple: rgba(106, 43, 224, 0.5);
	--ss-home-wide: 1240px;
	--ss-ok: #19c3ea;
	--ss-stop: #e2318f;
	/* The selected Consulting Services tab: navy to purple. Shared by tabs, utility controls and the
	 * navy CTA, so all of them read as one control family. */
	--ss-grad-navy: linear-gradient(100deg, var(--ss-navy) 0%, #2a1b8f 100%);
}

/* Page frame: one content width, compact headings and sections (the hero and newsletter band keep
 * their approved frame). The theme's .ss-home h2 (up to 3.4rem) and 1.25rem lead are scaled down here. */
.ss-home .ss-section > .ss-container { --ss-container: var(--ss-home-wide); }
/* Section rhythm: one shared gap between major sections (48px on desktop, 28px on phones).
 * The theme removes the top padding of a plain section that follows another plain section; that is
 * kept for two light sections in a row (they share one gap) but not after a dark band, where the
 * content would otherwise touch the band's edge. */
.ss-home { --ss-home-gap: clamp(1.75rem, 3.6vw, 3rem); --ss-home-head-gap: clamp(1rem, 1.6vw, 1.25rem); }
.ss-home .ss-section { padding-block: var(--ss-home-gap) !important; }
.ss-home .ss-arch-section, .ss-home .ss-engage-section { --ss-home-gap: clamp(1.5rem, 3vw, 2.5rem); }
.ss-home .ss-section:not(.ss-arch-section):not(.ss-engage-section) + .ss-section:not(.ss-arch-section):not(.ss-engage-section) { padding-top: 0 !important; }
.ss-home .ss-section-head { margin-bottom: var(--ss-home-head-gap) !important; }
.ss-home .ss-section-head h2,
.ss-home .ss-arch__head h2,
.ss-home .ss-eg h2,
.ss-home .ss-labs__intro h2,
.ss-home .ss-newsletter-band__main h2 { font-size: clamp(1.7rem, 2.4vw, 2.2rem) !important; letter-spacing: -0.03em; line-height: 1.1; }
/* Section heads: one system for every light section (eyebrow with accent rule, headline, an optional
 * one-line lead) stacked in a single column, so no column is left empty. The Technologies head keeps
 * its core platform labels beside the headline. */
.ss-home .ss-section-head { max-width: none; }
.ss-arch__head {
	align-items: end;
	column-gap: clamp(1.5rem, 3vw, 2.5rem);
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	max-width: none;
}
.ss-home .ss-section-head > *, .ss-arch__head > * { margin-block: 0 !important; }
.ss-home .ss-section-head > .ss-eyebrow, .ss-arch__head > .ss-eyebrow { grid-column: 1 / -1; margin-bottom: 0.45rem !important; }
.ss-home .ss-section-head h2 { max-width: 30ch; }

/* Panels hidden by the tabs stay hidden even where a layout rule sets display. */
.ss-sx [hidden], .ss-arch [hidden], .ss-lc [hidden], .ss-im [hidden], .ss-eg [hidden], .ss-pause[hidden] { display: none !important; }
/* Stable heights only where a change of panel would move content the visitor is looking at: the
 * service summary sits above its diagram, and delivery stages change on their own. Those panels
 * share one grid cell; hidden ones keep their space but are invisible, unfocusable and out of the
 * accessibility tree. Architecture scenarios and impact models take their natural height. */
.ss-sx.is-enhanced .ss-sx__list, .ss-lc__panel { display: grid; }
.ss-sx.is-enhanced .ss-sx__item, .ss-lc__content { grid-area: 1 / 1; }
.ss-sx.is-enhanced .ss-sx__body[hidden], .ss-lc .ss-lc__panel > .ss-lc__content[hidden] { display: grid !important; visibility: hidden; }

/* CTA system: the theme's buttons (gradient = primary, outline pill = secondary, light = primary on
 * dark, light outline = secondary on dark), one focus state, a compact size inside components. */
.ss-home .wp-block-button__link:focus-visible { outline: 3px solid var(--ss-cyan); outline-offset: 3px; }
.ss-home .ss-sx__cta .wp-block-button__link,
.ss-home .ss-arch__cta .wp-block-button__link,
.ss-home .ss-im__cta .wp-block-button__link,
.ss-home .ss-eg__card .wp-block-button__link,
.ss-home .ss-eg__close-actions .wp-block-button__link { font-size: 0.98rem; padding: 0.75rem 1.5rem; white-space: nowrap; }
.ss-home .ss-eg__close-actions .ss-btn-pill .wp-block-button__link { padding: calc(0.75rem - 1.5px) calc(1.5rem - 1.5px); }
/* Navy CTA (Consulting Services): the selected-tab gradient, white text, the shared arrow. */
.ss-home .ss-btn-navy .wp-block-button__link { align-items: center; background: var(--ss-grad-navy); border-radius: var(--ss-pill); box-shadow: 0 12px 26px -14px rgba(14, 20, 70, 0.7); color: #fff; display: inline-flex; font-weight: 700; min-height: 44px; text-decoration: none; }
.ss-home .ss-btn-navy .wp-block-button__link::after { color: #9de9fa; }
.ss-home .ss-btn-navy .wp-block-button__link:hover { color: #fff; filter: brightness(1.25); }
.ss-home .wp-block-buttons.ss-sx__cta, .ss-home .wp-block-buttons.ss-arch__cta, .ss-home .wp-block-buttons.ss-im__cta { margin: 0; }
/* Primary CTAs in the engagement cards and under the impact report: the theme buttons, always laid
 * out as full pill buttons (arrow included) with a 44px minimum target. */
.ss-home .ss-eg__cta .wp-block-button__link, .ss-home .ss-im__cta .wp-block-button__link { align-items: center; display: inline-flex; font-weight: 700; justify-content: center; min-height: 46px; text-decoration: none; }
.ss-home .ss-eg__cta .wp-block-button__link { display: flex; white-space: normal; }
.ss-eg__close-actions { align-items: center; gap: 0.75rem; }

/* Shared tabs ---------------------------------------------------------------------------------- */
.ss-tabs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 1rem; }
.ss-tab {
	align-items: center;
	background: #fff;
	border: 1px solid var(--ss-border);
	border-radius: var(--ss-pill);
	color: var(--ss-navy);
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-size: 0.86rem;
	font-weight: 700;
	gap: 0.5rem;
	min-height: 40px;
	padding: 0.4rem 0.95rem;
	transition: background var(--ss-m-fast) var(--ss-m-ease), border-color var(--ss-m-fast) var(--ss-m-ease), color var(--ss-m-fast) var(--ss-m-ease), box-shadow var(--ss-m-fast) var(--ss-m-ease);
}
.ss-tab:hover { border-color: var(--ss-purple); }
.ss-tab[aria-selected="true"] { background: var(--ss-navy); border-color: var(--ss-navy); box-shadow: 0 10px 24px -14px rgba(14, 20, 70, 0.6); color: #fff; }
.ss-tab:focus-visible, .ss-pause:focus-visible, .ss-im__reset:focus-visible, .ss-arch__back:focus-visible { outline: 3px solid var(--ss-cyan); outline-offset: 3px; }
.ss-tab__num { font-size: 0.72rem; letter-spacing: 0.08em; opacity: 0.7; }
[role="tabpanel"]:focus-visible { outline: 2px dashed var(--ss-purple); outline-offset: 6px; }

/* Play/Pause: a compact utility control in the navy gradient on every component. */
.ss-pause {
	align-items: center;
	background: var(--ss-grad-navy);
	border: 1px solid transparent;
	border-radius: var(--ss-pill);
	box-shadow: 0 8px 18px -12px rgba(14, 20, 70, 0.7);
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	flex: 0 0 auto;
	font: inherit;
	font-size: 0.76rem;
	font-weight: 600;
	gap: 0.4rem;
	min-height: 32px;
	padding: 0.25rem 0.75rem;
	position: relative;
}
/* A 44px touch target around the compact visual control. */
.ss-pause::after { content: ""; inset: -6px; position: absolute; }
.ss-pause:hover { filter: brightness(1.25); }
/* On the dark sections a light edge keeps the control distinct from the background. */
.ss-arch .ss-pause { border-color: rgba(255, 255, 255, 0.32); }
.ss-pause__icon { border-left: 3px solid currentColor; border-right: 3px solid currentColor; height: 10px; width: 9px; }
.ss-pause[aria-pressed="true"] .ss-pause__icon { border-bottom: 5px solid transparent; border-left: 8px solid currentColor; border-right: 0; border-top: 5px solid transparent; height: 0; width: 0; }

/* Illustrative record status (visible only; motion is not announced). */
.ss-record { align-items: baseline; color: var(--ss-muted); display: flex; flex-wrap: wrap; font-size: 0.8rem; gap: 0 0.4rem; line-height: 1.35; margin: 0; min-width: 0; }
.ss-record__label { white-space: nowrap; }
.ss-record__state { color: var(--ss-navy); font-weight: 800; }
.ss-record__state::after { color: var(--ss-muted); content: " ·"; font-weight: 400; }
.ss-record__text { color: var(--ss-navy); font-weight: 600; }
/* Status tones (always paired with words): cyan processing, purple decision or review, green
 * completed, amber held or returned, pink rejected or excluded. */
.ss-record__dot { align-self: center; background: var(--ss-ok); border-radius: 50%; flex: 0 0 auto; height: 9px; width: 9px; }
.ss-record__dot.is-idle { background: #9aa0c8; }
.ss-record__dot.is-decision { background: #8e6df0; }
.ss-record__dot.is-review { background: #c6b4ff; box-shadow: inset 0 0 0 2px #8e6df0; }
.ss-record__dot.is-success { background: #22b573; }
.ss-record__dot.is-warn { background: #f0a43a; }
.ss-record__dot.is-stop { background: var(--ss-stop); }
.ss-record__dot.is-approved { background: #fff; box-shadow: inset 0 0 0 2.5px #22b573; }
.ss-record__dot.is-fail { background: #b3261e; }
.ss-record__text.is-new { animation: ss-status-in 220ms var(--ss-m-ease-out); }
@keyframes ss-status-in { from { opacity: 0.25; } to { opacity: 1; } }
.ss-record--dark { color: #a9b0ea; }
.ss-record--dark .ss-record__state, .ss-record--dark .ss-record__text { color: #fff; }
.ss-record--dark .ss-record__state::after { color: #a9b0ea; }

/* Hero: the approved static composition (brushstroke background, portrait, handwritten note) from
 * home.css. No motion and no added decorative layers around the portrait (owner decision). */
.ss-hero--home .ss-hero__grid > :first-child { animation: ss-reveal var(--ss-m-slow) var(--ss-m-ease-out) both; }
@keyframes ss-dash-move { to { stroke-dashoffset: -160; } }
@keyframes ss-reveal { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes ss-flash { from { box-shadow: 0 0 0 3px rgba(25, 195, 234, 0.5); } to { box-shadow: 0 0 0 0 rgba(25, 195, 234, 0); } }

/* Diagram engine (services and architecture) ------------------------------------------------ */
.ss-dg { display: block; height: auto; overflow: visible; width: 100%; }
/* Connectors: dash patterns come from DASH in home-experience.js (anchored at the arrowhead); strokes
 * are opaque, whole-pixel and unfiltered so dashed runs stay crisp where links share a final run. */
.ss-dg__edge { fill: none; stroke-linecap: round; stroke-width: 2; transition: stroke var(--ss-m-fast), stroke-width var(--ss-m-fast), opacity var(--ss-m-fast); }
.ss-dg__edge.is-exception { stroke-linecap: butt; }
.ss-dg__edge.is-feedback { stroke-width: 1.5; }
.ss-dg__edge.is-relation { stroke-width: 1.5; }
.ss-dg__edge.is-active { stroke-width: 3; }
.ss-dg__edge.is-lit { stroke-width: 2.8; }
.ss-dg__packet, .ss-dg__echo { transition: opacity var(--ss-m-fast); }
.has-focus .ss-dg__packet, .has-focus .ss-dg__echo { opacity: 0.35; }
.ss-dg__node { cursor: pointer; outline: none; transition: transform var(--ss-m-slow) var(--ss-m-ease-out), opacity var(--ss-m-base); }
.ss-dg__node.is-new { opacity: 0; }
.ss-dg__shape { stroke-width: 1.5; transition: stroke var(--ss-m-fast), fill var(--ss-m-fast), filter var(--ss-m-base), stroke-width var(--ss-m-fast); }
.ss-dg__node--stop .ss-dg__shape { stroke-dasharray: 5 4; }
/* One node typography standard for every diagram (sizes match TYPE in home-experience.js). */
.ss-dg__label { font-size: 12px; font-weight: 700; line-height: 15px; pointer-events: none; }
.ss-dg__type { font-size: 9.5px; font-weight: 700; letter-spacing: 0.04em; pointer-events: none; text-transform: uppercase; }
.ss-dg__node--monitor .ss-dg__shape { stroke-dasharray: 2 4; }
.ss-dg__logmark { fill: #19c3ea; pointer-events: none; }
.ss-dg--dark .ss-dg__logmark { fill: #c6b4ff; }
.has-focus .ss-dg__node:not(.is-lit):not(.is-near) { opacity: 0.55; }
.ss-dg__node.is-lit .ss-dg__shape, .ss-dg__node:focus-visible .ss-dg__shape { stroke-width: 2.6; }

/* Light theme (Consulting Services) */
.ss-dg--light .ss-dg__edge { stroke: #b9b3e6; }
.ss-dg--light .ss-dg__edge.is-active, .ss-dg--light .ss-dg__edge.is-lit { stroke: var(--ss-purple); }
.ss-dg--light .ss-dg__edge.is-exception { stroke: #dc5c9e; }
.ss-dg--light .ss-dg__edge.is-exception.is-active, .ss-dg--light .ss-dg__edge.is-exception.is-lit { stroke: var(--ss-stop); }
.ss-dg--light .ss-dg__edge.is-feedback { stroke: #9fd8ea; }
.ss-dg--light .ss-dg__arrow { fill: #9a90e0; }
.ss-dg--light .ss-dg__arrow.is-exception { fill: var(--ss-stop); }
.ss-dg--light .ss-dg__arrow.is-feedback { fill: #7cc9e2; }
/* The moving record carries the status tone (STATE in home-experience.js), the same colours as the
 * status dot: processing cyan, decision purple, under review lavender, returned or held amber,
 * completed green, rejected or excluded pink. */
.ss-dg__packet { fill: #19c3ea; stroke: #fff; stroke-width: 1.5; }
.ss-dg__packet.is-decision { fill: #8e6df0; }
.ss-dg__packet.is-review { fill: #c6b4ff; stroke: #8e6df0; }
.ss-dg__packet.is-warn { fill: #f0a43a; }
.ss-dg__packet.is-success { fill: #22b573; }
.ss-dg__packet.is-stop { fill: #e2318f; }
.ss-dg__packet.is-approved { fill: #fff; stroke: #22b573; stroke-width: 2.5; }
.ss-dg__packet.is-fail { fill: #b3261e; }
.ss-dg--light .ss-dg__echo { fill: #19c3ea; }
.ss-dg--light .ss-dg__shape { fill: #fff; filter: drop-shadow(0 6px 10px rgba(42, 22, 128, 0.1)); stroke: #cdc7f2; }
.ss-dg--light .ss-dg__node--control .ss-dg__shape { fill: #f2efff; stroke: var(--ss-purple); }
.ss-dg--light .ss-dg__node--human .ss-dg__shape { fill: #f4f0ff; stroke: #8e6df0; }
.ss-dg--light .ss-dg__node--stop .ss-dg__shape { fill: #fff4f9; stroke: var(--ss-stop); }
.ss-dg--light .ss-dg__node--output .ss-dg__shape { fill: var(--ss-navy); stroke: var(--ss-navy); }
.ss-dg--light .ss-dg__node--monitor .ss-dg__shape { fill: #eef9fd; stroke: #39b6d8; }
.ss-dg--light .ss-dg__node--monitor .ss-dg__type { fill: #0e7fa3; }
.ss-dg--light .ss-dg__label { fill: var(--ss-navy); }
.ss-dg--light .ss-dg__type { fill: #6b6f99; }
.ss-dg--light .ss-dg__node--stop .ss-dg__type { fill: #b0216d; }
.ss-dg--light .ss-dg__node--output .ss-dg__label { fill: #fff; }
.ss-dg--light .ss-dg__node--output .ss-dg__type { fill: #9de9fa; }
.ss-dg--light .ss-dg__node.is-hit .ss-dg__shape { filter: drop-shadow(0 0 10px rgba(106, 43, 224, 0.45)); stroke: var(--ss-purple); }
.ss-dg--light .ss-dg__node.is-stopped .ss-dg__shape { filter: drop-shadow(0 0 10px rgba(226, 49, 143, 0.5)); stroke-width: 2.6; }
.ss-dg--light .ss-dg__node.is-lit .ss-dg__shape { stroke: var(--ss-purple); }
.ss-dg--light .ss-dg__node:focus-visible .ss-dg__shape { stroke: var(--ss-cyan); }
.ss-dg--light .ss-dg__node.is-current .ss-dg__shape { stroke: #19c3ea; stroke-width: 2.6; }
.ss-dg--light .ss-dg__node[aria-pressed="true"] .ss-dg__shape { filter: drop-shadow(0 0 6px rgba(106, 43, 224, 0.55)); stroke: var(--ss-purple); stroke-width: 3.2; }

/* Dark theme (Technologies & Platforms) */
.ss-dg--dark .ss-dg__edge { stroke: #33557e; }
.ss-dg--dark .ss-dg__edge.is-active, .ss-dg--dark .ss-dg__edge.is-lit { stroke: #7fdcf5; }
.ss-dg--dark .ss-dg__edge.is-exception { stroke: #c85a95; }
.ss-dg--dark .ss-dg__edge.is-exception.is-active, .ss-dg--dark .ss-dg__edge.is-exception.is-lit { stroke: #f06aac; }
.ss-dg--dark .ss-dg__edge.is-feedback { stroke: #6056a0; }
.ss-dg--dark .ss-dg__edge.is-relation { stroke: #616483; }
.ss-dg--dark .ss-dg__arrow { fill: #7fdcf5; }
.ss-dg--dark .ss-dg__arrow.is-exception { fill: #f06aac; }
.ss-dg--dark .ss-dg__arrow.is-feedback { fill: #b39bff; }
.ss-dg--dark .ss-dg__packet { filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.45)); stroke: #0b1040; }
.ss-dg--dark .ss-dg__packet.is-approved { stroke: #22b573; }
.ss-dg--dark .ss-dg__echo { fill: #c6b4ff; }
.ss-dg--dark .ss-dg__g0 { stop-color: #3a3fc4; }
.ss-dg--dark .ss-dg__g1 { stop-color: #23207a; }
.ss-dg--dark .ss-dg__shape { filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.45)); stroke: rgba(127, 220, 245, 0.7); }
.ss-dg--dark .ss-dg__accent { fill: #19c3ea; }
.ss-dg--dark .ss-dg__node--generic .ss-dg__shape { fill: rgba(18, 24, 80, 0.92); stroke: rgba(180, 188, 255, 0.6); }
.ss-dg--dark .ss-dg__node--control .ss-dg__shape { fill: #241a72; stroke: #b39bff; }
.ss-dg--dark .ss-dg__node--human .ss-dg__shape { fill: #2a1a62; stroke: #c6b4ff; }
.ss-dg--dark .ss-dg__node--stop .ss-dg__shape { fill: #2e1145; stroke: #f06aac; }
.ss-dg--dark .ss-dg__node--output .ss-dg__shape { fill: #0f3a5a; stroke: #7fdcf5; }
.ss-dg--dark .ss-dg__node--monitor .ss-dg__shape { fill: rgba(127, 220, 245, 0.08); stroke: #b39bff; }
.ss-dg--dark .ss-dg__node--monitor .ss-dg__type { fill: #c6b4ff; }
.ss-dg--dark .ss-dg__label { fill: #fff; }
.ss-dg--dark .ss-dg__type { fill: #a9b4f0; }
.ss-dg--dark .ss-dg__node--stop .ss-dg__type { fill: #f6a5cb; }
.ss-dg--dark .ss-dg__node.is-hit .ss-dg__shape { filter: drop-shadow(0 0 12px rgba(25, 195, 234, 0.7)); stroke: #7fdcf5; }
.ss-dg--dark .ss-dg__node.is-stopped .ss-dg__shape { filter: drop-shadow(0 0 12px rgba(240, 106, 172, 0.75)); stroke-width: 2.6; }
.ss-dg--dark .ss-dg__node.is-lit .ss-dg__shape { filter: drop-shadow(0 0 12px rgba(25, 195, 234, 0.6)); stroke: #7fdcf5; }
.ss-dg--dark .ss-dg__node:focus-visible .ss-dg__shape { stroke: #fff; }
.ss-dg--dark .ss-dg__node.is-current .ss-dg__shape { stroke: #7fdcf5; stroke-width: 2.6; }
.ss-dg--dark .ss-dg__node[aria-pressed="true"] .ss-dg__shape { filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.45)); stroke: #fff; stroke-width: 3; }

/* Consulting Services ----------------------------------------------------------------------- */
.ss-sx { display: grid; gap: 0.8rem; }
.ss-sx__list { display: grid; gap: 1.25rem; }
.ss-sx__item { border-top: 1px solid var(--ss-border); padding-top: 1.25rem; }
.ss-sx__title { align-items: baseline; display: flex; font-size: 1.2rem; gap: 0.75rem; margin: 0 0 0.5rem; }
.ss-sx__num { color: var(--ss-purple); font-size: 0.85rem; letter-spacing: 0.1em; }
.ss-sx__flowname { color: var(--ss-navy); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; margin: 1rem 0 0.25rem; text-transform: uppercase; }
.ss-sx__steps { color: var(--ss-ink); font-size: 0.92rem; padding-left: 1.2rem; }
.ss-sx__steps li { margin: 0.25rem 0; }
.ss-sx__cta { margin-top: 1rem !important; }
.ss-sx__stage { display: none; }

.ss-sx.is-enhanced > .ss-tabs { margin: 0; }
.ss-sx.is-enhanced .ss-sx__item { border: 0; padding: 0; }
.ss-sx.is-enhanced .ss-sx__flowname, .ss-sx.is-enhanced .ss-sx__steps { display: none; }
.ss-sx.is-enhanced .ss-sx__body { align-items: center; column-gap: 2rem; display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.ss-sx.is-enhanced .ss-sx__body > p { max-width: 60rem; }
.ss-sx.is-enhanced .ss-sx__body > p { font-size: 0.92rem; line-height: 1.5; margin: 0; }
.ss-sx.is-enhanced .ss-sx__body > p:first-child { color: var(--ss-ink); }
.ss-sx.is-enhanced .ss-sx__body:not([hidden]) { animation: ss-reveal var(--ss-m-base) var(--ss-m-ease-out) both; }
.ss-sx.is-enhanced .ss-sx__cta { margin: 0 !important; }
.ss-tabs--sx, .ss-tabs--im { display: grid; gap: 0.5rem; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ss-tabs--sx .ss-tab, .ss-tabs--im .ss-tab { border-radius: 14px; justify-content: flex-start; min-height: 44px; padding: 0.45rem 0.9rem; text-align: left; }
.ss-tabs--sx .ss-tab__num { color: var(--ss-purple); opacity: 1; }
.ss-tabs--sx .ss-tab[aria-selected="true"], .ss-tabs--im .ss-tab[aria-selected="true"] { background: var(--ss-grad-navy); }
.ss-tabs--sx .ss-tab[aria-selected="true"] .ss-tab__num { color: #9de9fa; }
.ss-sx.is-enhanced .ss-sx__stage {
	background:
		linear-gradient(rgba(14, 20, 70, 0.035) 1px, transparent 1px) 0 0 / 28px 28px,
		linear-gradient(90deg, rgba(14, 20, 70, 0.035) 1px, transparent 1px) 0 0 / 28px 28px,
		linear-gradient(160deg, #fbfaff 0%, #eff2ff 100%);
	border: 1px solid var(--ss-border);
	border-radius: var(--ss-radius-lg);
	display: grid;
	gap: 0.25rem;
	padding: 0.45rem clamp(0.6rem, 1.4vw, 0.9rem) 0.6rem;
}
.ss-sxv__head { align-items: center; display: flex; flex-wrap: wrap; gap: 0.3rem 1rem; justify-content: space-between; }
.ss-sxv__title { color: var(--ss-navy); flex: 0 1 auto; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.08em; margin: 0; text-transform: uppercase; }
.ss-sxv__head .ss-record { flex: 1 1 auto; justify-content: flex-end; }
.ss-sxv__canvas { align-items: center; display: flex; min-width: 0; }
.ss-sxv__caption { background: var(--ss-navy); border-radius: 12px; color: #fff; font-size: 0.86rem; line-height: 1.4; padding: 0.4rem 0.8rem; }
.ss-sxv__caption strong { margin-right: 0.15rem; }

/* Technologies & Platforms: signature dark architecture --------------------------------------- */
.ss-arch-section {
	background:
		radial-gradient(60% 50% at 85% 10%, rgba(106, 43, 224, 0.35), transparent 70%),
		radial-gradient(50% 45% at 10% 90%, rgba(25, 195, 234, 0.18), transparent 70%),
		linear-gradient(160deg, var(--ss-deep) 0%, var(--ss-deep-2) 60%, #1b1068 100%);
	color: var(--ss-on-dark-text);
	overflow: hidden;
	position: relative;
}
.ss-arch-section::before {
	background:
		linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 44px 44px,
		linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 44px 44px;
	content: "";
	inset: 0;
	mask-image: radial-gradient(70% 70% at 50% 40%, #000 30%, transparent 80%);
	pointer-events: none;
	position: absolute;
}
.ss-arch-section > * { position: relative; }
.ss-arch-section h2, .ss-arch-section h3 { color: #fff; }
.ss-arch__head { margin-bottom: var(--ss-home-head-gap); }
.ss-arch__head > h2 { grid-column: 1; grid-row: 2; }
.ss-arch__head > .ss-arch__core { grid-column: 2; grid-row: 2; justify-content: flex-end; }
.ss-arch__core { align-items: center; display: flex; flex-wrap: wrap; font-size: 0.8rem; gap: 0.35rem; margin: 0 !important; }
.ss-arch__core > span:first-child { color: #9ea6e8; font-weight: 700; letter-spacing: 0.08em; margin-right: 0.3rem; text-transform: uppercase; }
.ss-arch__chip { border: 1px solid var(--ss-line-dark); border-radius: var(--ss-pill); color: #fff; padding: 0.15rem 0.65rem; }
.ss-arch__scenarios { display: grid; gap: 1.5rem; }
.ss-arch__scenario { border-top: 1px solid var(--ss-line-dark); padding-top: 1.25rem; }
.ss-arch__sub { color: #9ea6e8; font-size: 0.74rem; letter-spacing: 0.1em; margin: 0.75rem 0 0.35rem; text-transform: uppercase; }
.ss-arch__steps, .ss-arch__outcomes { font-size: 0.88rem; margin: 0; padding-left: 1.2rem; }
.ss-arch__steps li { margin: 0.15rem 0; }
.ss-arch__platforms { color: #a9b0ea; font-size: 0.8rem; margin: 0.45rem 0 0; }
/* How it works & business benefits: one native disclosure per scenario, collapsed by default. */
.ss-arch__more { margin-top: 0.6rem; }
/* Shared native disclosure (.ss-more): summary with a chevron that turns when open, 44px target,
 * visible focus. Used by Technologies (dark) and the Operational Impact methodology (light). */
.ss-more summary { align-items: center; color: #fff; cursor: pointer; display: flex; font-size: 0.9rem; font-weight: 700; gap: 0.55rem; list-style: none; min-height: 44px; width: fit-content; }
.ss-more summary::-webkit-details-marker { display: none; }
.ss-more summary::before { border-bottom: 2px solid #7fdcf5; border-right: 2px solid #7fdcf5; content: ""; flex: 0 0 auto; height: 7px; transform: rotate(-45deg); transition: transform var(--ss-m-fast) var(--ss-m-ease); width: 7px; }
.ss-more[open] summary::before { transform: rotate(45deg); }
.ss-more summary:focus-visible { border-radius: 6px; outline: 3px solid var(--ss-cyan); outline-offset: 3px; }
.ss-arch__more-body { display: grid; gap: 0.3rem; padding: 0.15rem 0 0.4rem; }
.ss-arch__more-body .ss-arch__sub { margin: 0.35rem 0 0.15rem; }
.ss-arch__cta { margin-top: 1.25rem !important; }
.ss-arch__note { color: #a9b0ea; font-size: 0.78rem; margin: 0.6rem 0 0; max-width: 72rem; }

.ss-arch.is-enhanced { display: grid; }
.ss-tabs--arch { margin-bottom: 0.6rem; }
.ss-tabs--arch .ss-tab { background: rgba(255, 255, 255, 0.04); border-color: var(--ss-line-dark); border-radius: 14px; color: #dfe3ff; font-size: 0.82rem; padding: 0.35rem 0.85rem; }
.ss-tabs--arch .ss-tab:hover { border-color: #8e7cff; }
/* Wide screens: the six scenarios in one even row (longer names wrap inside their tab, none is
 * shortened); below this they wrap as before, and phones scroll the row. */
@media (min-width: 1100px) {
	.ss-tabs--arch { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
	.ss-tabs--arch .ss-tab { align-items: center; justify-content: center; line-height: 1.25; text-align: center; }
}
.ss-tabs--arch .ss-tab[aria-selected="true"] { background: linear-gradient(100deg, #6a2be0 0%, #3d4de6 100%); border-color: transparent; box-shadow: 0 12px 30px -14px var(--ss-glow-purple); color: #fff; }
.ss-arch__workspace { align-items: stretch; display: grid; gap: 0.75rem; grid-template-columns: minmax(0, 2.4fr) minmax(18rem, 1fr); margin-bottom: 0.5rem; }
.ss-arch__canvas {
	align-items: center;
	background:
		radial-gradient(60% 70% at 50% 40%, rgba(106, 43, 224, 0.16), transparent 75%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
	border: 1px solid var(--ss-line-dark);
	border-radius: var(--ss-radius-lg);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 40px 80px -40px rgba(0, 0, 0, 0.65);
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	position: relative;
}
/* The status row is part of the canvas flow, directly above the diagram (no reserved band); the
 * diagram is centred in any height the information panel adds beside it. */
.ss-arch__overlay { align-items: center; display: flex; gap: 0.75rem; justify-content: space-between; padding: 0.55rem 0.75rem 0 0.9rem; }
.ss-arch__canvas { align-self: start; }
.ss-arch__overlay .ss-pause { pointer-events: auto; }
.ss-arch__info {
	background: rgba(8, 12, 46, 0.72);
	border: 1px solid var(--ss-line-dark);
	border-radius: var(--ss-radius-lg);
	display: flex;
	flex-direction: column;
	font-size: 0.84rem;
	gap: 0.4rem;
	line-height: 1.45;
	padding: 0.7rem 0.95rem;
}
.ss-arch__info h3 { font-size: 1rem; line-height: 1.3; margin: 0.1rem 0 0.3rem; }
.ss-arch__info p { margin: 0 0 0.35rem; }
.ss-arch__info dl { margin: 0.3rem 0 0; }
.ss-arch__info dt { color: #9ea6e8; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; margin-top: 0.45rem; text-transform: uppercase; }
.ss-arch__info dd { margin: 0.15rem 0 0; }
.ss-arch__info dd.is-exception { color: #f6a5cb; }
.ss-arch__eyebrow { color: #7fdcf5 !important; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; margin: 0 !important; text-transform: uppercase; }
.ss-arch__hint { color: #a9b0ea; font-size: 0.78rem; }
.ss-arch__back { background: none; border: 0; color: #7fdcf5; cursor: pointer; font: inherit; font-size: 0.8rem; margin-top: 0.4rem; min-height: 36px; padding: 0; text-decoration: underline; }
/* Legend: node shapes and connector styles, matching the diagram rendering in each theme. */
.ss-legend { font-size: 0.72rem; line-height: 1.35; list-style: none; margin: 0; padding: 0; }
.ss-legend--light { color: var(--ss-muted); display: flex; flex-wrap: wrap; gap: 0.2rem 0.85rem; padding: 0 0.15rem 0.1rem; }
.ss-arch__legend { background: rgba(255, 255, 255, 0.03); border: 1px solid var(--ss-line-dark); border-radius: 14px; color: #c9cff7; display: flex; flex-wrap: wrap; gap: 0.25rem 1.1rem; margin-bottom: 0.5rem; padding: 0.4rem 0.9rem; }
.ss-legend__key { align-items: center; display: inline-flex; gap: 0.35rem; }
.ss-legend__glyph { display: block; flex: 0 0 auto; height: 16px; overflow: visible; width: 30px; }
.ss-legend__glyph .ss-dg__shape { filter: none; transition: none; }
/* Selected scenario, under the canvas: one row with the disclosure (left) and the scenario CTA
 * (right, outside the summary, visible open or closed). Opening the disclosure grows the row; nothing
 * is reserved while it is closed. Benefits wrap as one row of checks; the steps run in two columns. */
.ss-arch.is-enhanced .ss-arch__scenario {
	align-items: start;
	border: 1px solid var(--ss-line-dark);
	border-radius: 18px;
	display: grid;
	gap: 0.4rem 1.5rem;
	grid-template-columns: minmax(0, 1fr) auto;
	padding: 0.4rem 0.6rem 0.4rem 1.1rem;
}
.ss-arch.is-enhanced .ss-arch__more { grid-column: 1; grid-row: 1; margin: 0; }
.ss-arch.is-enhanced .ss-arch__cta { align-self: start; grid-column: 2; grid-row: 1; }
.ss-arch.is-enhanced .ss-arch__scenario > h3, .ss-arch.is-enhanced .ss-arch__scenario > p { display: none; }
.ss-arch.is-enhanced .ss-arch__steps, .ss-arch.is-enhanced .ss-arch__outcomes { font-size: 0.86rem; line-height: 1.45; }
.ss-arch.is-enhanced .ss-arch__outcomes { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; list-style: none; padding: 0; }
.ss-arch.is-enhanced .ss-arch__outcomes li::before { color: #7fdcf5; content: "✓ "; }
.ss-arch.is-enhanced .ss-arch__steps { column-gap: 2rem; columns: 2; }
.ss-arch.is-enhanced .ss-arch__steps li { break-inside: avoid; }
@media (max-width: 760px) {
	.ss-arch.is-enhanced .ss-arch__scenario { grid-template-columns: minmax(0, 1fr); padding-right: 1.1rem; }
	.ss-arch.is-enhanced .ss-arch__cta { grid-column: 1; grid-row: 2; padding-bottom: 0.5rem; }
	.ss-arch.is-enhanced .ss-arch__steps { columns: 1; }
}
.ss-arch.is-enhanced .ss-arch__cta { margin: 0 !important; }

/* Delivery lifecycle ------------------------------------------------------------------------ */
.ss-lc__detail { display: grid; font-size: 0.88rem; gap: 0.15rem 1rem; grid-template-columns: max-content 1fr; margin: 0.75rem 0 0; }
.ss-lc__detail dt { color: var(--ss-navy); font-weight: 700; }
.ss-lc__detail dd { margin: 0; }
.ss-lc__stages { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); list-style: none; margin: 0 0 1.5rem; padding: 0; }
.ss-lc__stage { border-top: 2px solid var(--ss-border); padding-top: 1rem; }
.ss-lc__num { color: var(--ss-purple); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; }
.ss-lc.is-enhanced { --lc-progress: 0; position: relative; }
.ss-lc__track { margin-bottom: 0.35rem; position: relative; }
/* The rail runs through the centre of the 44px stage circles (top 1px + 22px = 23px; line at 12 of 24). */
.ss-lc__path { height: 24px; left: 7.14%; pointer-events: none; position: absolute; top: 11px; width: 85.72%; }
.ss-lc__rail { stroke: var(--ss-border); stroke-width: 4; }
.ss-lc__fill { stroke: var(--ss-purple); stroke-dasharray: 1000; stroke-dashoffset: calc((1 - var(--lc-progress)) * 1000px); stroke-width: 4; transition: stroke-dashoffset var(--ss-m-slow) var(--ss-m-ease-out); }
.ss-lc__flow { opacity: 0.85; stroke: #9de9fa; stroke-dasharray: 4 22; stroke-width: 4; }
.ss-lc.is-running .ss-lc__flow { animation: ss-dash-move 2.4s linear infinite; }
.ss-tabs--lc { display: grid; gap: 0; grid-template-columns: repeat(7, minmax(0, 1fr)); margin: 0; position: relative; z-index: 1; }
.ss-tabs--lc .ss-tab {
	align-items: center;
	background: none;
	border: 0;
	border-radius: 12px;
	box-shadow: none;
	color: var(--ss-muted);
	flex-direction: column;
	font-size: 0.84rem;
	gap: 0;
	justify-content: flex-start;
	line-height: 1.25;
	padding: 50px 0.25rem 0.2rem;
	position: relative;
	text-align: center;
}
.ss-tabs--lc .ss-tab::before {
	background: #fff;
	border: 2px solid var(--ss-border);
	border-radius: 50%;
	content: "";
	height: 44px;
	left: 50%;
	position: absolute;
	top: 1px;
	transform: translateX(-50%);
	transition: background var(--ss-m-base), border-color var(--ss-m-base), box-shadow var(--ss-m-base);
	width: 44px;
}
.ss-tabs--lc .ss-tab__icon { background: var(--ss-navy); height: 20px; left: 50%; position: absolute; top: 13px; transform: translateX(-50%); transition: background var(--ss-m-base); width: 20px; }
.ss-tabs--lc .ss-tab__num { background: var(--ss-purple); border-radius: var(--ss-pill); color: #fff; font-size: 0.64rem; font-weight: 800; left: calc(50% + 10px); opacity: 1; padding: 0.05rem 0.35rem; position: absolute; top: -3px; }
.ss-tabs--lc .ss-tab__label { font-weight: 700; }
.ss-tabs--lc .ss-tab.is-done::before { border-color: var(--ss-purple); }
.ss-tabs--lc .ss-tab.is-done .ss-tab__icon { background: var(--ss-purple); }
.ss-tabs--lc .ss-tab[aria-selected="true"] { background: none; color: var(--ss-navy); }
.ss-tabs--lc .ss-tab[aria-selected="true"]::before { background: linear-gradient(140deg, #6a2be0 0%, #1d8fe0 100%); border-color: transparent; box-shadow: 0 0 0 6px rgba(106, 43, 224, 0.14), 0 12px 24px -10px rgba(106, 43, 224, 0.7); }
.ss-tabs--lc .ss-tab[aria-selected="true"] .ss-tab__icon { background: #fff; }
.ss-tabs--lc .ss-tab[aria-selected="true"] .ss-tab__num { background: var(--ss-cyan); color: var(--ss-navy); }
.ss-lc__panel { background: #fff; border: 1px solid var(--ss-border); border-radius: var(--ss-radius-lg); box-shadow: var(--ss-shadow); padding: 0.8rem clamp(0.9rem, 2vw, 1.35rem); }
.ss-lc__content { display: grid; gap: 0.6rem 1.5rem; grid-template-columns: minmax(0, 1fr) minmax(0, 2.7fr); }
.ss-lc__content:not([hidden]) { animation: ss-reveal var(--ss-m-base) var(--ss-m-ease-out) both; }
.ss-lc__lead > * { margin: 0 0 0.25rem; }
.ss-lc__lead h3 { font-size: 1.1rem; }
.ss-lc__lead p:last-child { color: var(--ss-ink); font-size: 0.9rem; line-height: 1.5; margin: 0; }
.ss-lc__eyebrow { color: var(--ss-purple); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.ss-lc__content .ss-lc__detail { gap: 0.3rem 0; grid-auto-flow: column; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: auto 1fr; margin: 0; }
.ss-lc__content .ss-lc__detail dt { border-left: 2px solid var(--ss-border); color: var(--ss-purple-deep); font-size: 0.72rem; letter-spacing: 0.08em; padding: 0 0.9rem; text-transform: uppercase; }
.ss-lc__content .ss-lc__detail dd { border-left: 2px solid var(--ss-border); font-size: 0.86rem; line-height: 1.45; padding: 0 0.9rem; }
/* The arcs end at the middle of the badge: 1rem of top padding plus half the badge height. */
.ss-lc.is-enhanced .ss-loop { align-items: center; flex-wrap: wrap; gap: 0.3rem 1.25rem; margin-top: 0; padding-top: 1rem; }
.ss-lc.is-enhanced .ss-loop__arc { height: 2rem; }
.ss-lc.is-enhanced .ss-loop__label { font-size: 0.84rem !important; padding: 0.45rem 1.4rem; }
.ss-loop__note { color: var(--ss-muted); flex-basis: 100%; font-size: 0.82rem; margin: 0; text-align: center; }
/* Playback has its own row above the stages, clear of every connector. */
.ss-lc__bar { display: flex; justify-content: flex-end; margin-bottom: 0.1rem; }
/* Continuous improvement: an overarching principle, not an eighth stage. The path spans the whole
 * lifecycle, from the centre of Transition & Sustain (a dot) back to the centre of Discover & Assess
 * (the arrow); stage centres sit at (i + 0.5) / 7 of the width, so the two arcs meet at 50% and the
 * badge is centred on the lifecycle by the flex row itself. */
.ss-lc.is-enhanced .ss-loop { justify-content: center; margin-bottom: 0.6rem; }
.ss-lc.is-enhanced .ss-loop__arc { width: 42.857%; }
.ss-lc.is-enhanced .ss-loop__arc--start { left: 7.143%; }
.ss-lc.is-enhanced .ss-loop__arc--end { left: 50%; right: auto; }
.ss-lc.is-enhanced .ss-loop__arc--end::after { border-radius: 50%; clip-path: none; height: 10px; right: -6.5px; top: -6px; width: 10px; }
.ss-lc.is-enhanced .ss-loop__label { max-width: calc(100% - 2rem); }
.ss-lc.is-running .ss-loop__arc::before { animation: ss-loop-breathe 3.2s ease-in-out infinite; }
@keyframes ss-loop-breathe { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }
.ss-lc.is-running .ss-loop__label { animation: ss-loop-glow 3.2s ease-in-out infinite; }
@keyframes ss-loop-glow { 0%, 100% { box-shadow: 0 14px 30px -14px rgba(74, 64, 230, 0.7); } 50% { box-shadow: 0 14px 36px -10px rgba(25, 195, 234, 0.85); } }

/* Operational impact ------------------------------------------------------------------------- */
/* Head: the shared heading system, then one row of three equal indicators (no cards). */
/* The three indicators: one compact static strip on a lavender surface (small purple icons, short
 * labels, separators). Not interactive: no hover, focus or motion. From 1024px it sits beside the
 * headline; narrower screens place it beneath. */
.ss-home .ss-section-head--split { margin-bottom: 0.7rem !important; }
.ss-home .ss-section-head > .ss-im__traits { align-items: center; background: linear-gradient(160deg, #f8f6ff 0%, #eef1ff 100%); border: 1px solid var(--ss-border); border-radius: 14px; display: flex; flex-wrap: wrap; list-style: none; margin-top: 0.6rem !important; max-width: 100%; padding: 0.3rem 0.4rem; width: fit-content; }
.ss-im__traits li { align-items: center; color: var(--ss-navy); display: inline-flex; font-size: 0.84rem; font-weight: 700; gap: 0.45rem; line-height: 1.3; padding: 0.25rem 0.8rem; }
.ss-im__traits li + li { border-left: 1px solid var(--ss-border); }
.ss-im__traits .ss-glyph { background: var(--ss-purple); flex: 0 0 auto; height: 1rem; width: 1rem; }
@media (max-width: 560px) { .ss-im__traits li + li { border-left: 0; } }
@media (min-width: 1024px) {
	.ss-home .ss-section-head--split { align-items: end; column-gap: clamp(1.5rem, 3vw, 2.5rem); display: grid; grid-template-columns: minmax(0, 1fr) auto; }
	.ss-home .ss-section-head--split > :not(.ss-im__traits) { grid-column: 1; }
	.ss-home .ss-section-head--split > .ss-im__traits { align-self: end; grid-column: 2; grid-row: 1 / span 2; margin-top: 0 !important; }
}
.ss-glyph--clipboard-check { --ss-icon: url("../icons/clipboard-check.svg"); }
.ss-im { display: grid; gap: 0.55rem 1.5rem; grid-template-columns: minmax(0, 1fr) auto; }
.ss-tabs--im .ss-tab { min-height: 40px; padding-block: 0.35rem; }
.ss-im > * { grid-column: 1 / -1; }
.ss-im__model { border: 1px solid var(--ss-border); border-radius: var(--ss-radius-lg); padding: clamp(1.25rem, 3vw, 2rem); }
.ss-im__model > h3 { margin-top: 0; }
.ss-im__inputs { display: grid; gap: 0.9rem 1.5rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); margin: 1rem 0; }
.ss-im__input { display: grid; gap: 0.25rem; }
.ss-im__input label { color: var(--ss-navy); font-size: 0.82rem; font-weight: 700; }
.ss-im__input input[type="number"] { border: 1px solid var(--ss-border); border-radius: 10px; box-sizing: border-box; font: inherit; font-variant-numeric: tabular-nums; max-width: 100%; min-height: 44px; padding: 0.35rem 0.6rem; width: 100%; }
/* Methodology & assumptions: always visible under the active report, in two compact columns. */
.ss-im__method { border-top: 1px solid var(--ss-border); padding-top: 0.05rem; }
.ss-im__method summary { color: var(--ss-navy); min-height: 40px; }
.ss-im__method summary::before { border-color: var(--ss-purple); }
.ss-im__method summary:focus-visible { outline-color: var(--ss-purple); }
.ss-im__method[open] ul { padding-bottom: 0.2rem; }
.ss-im__method ul { column-gap: 2.25rem; columns: 2; margin: 0; padding-left: 1.1rem; }
.ss-im__method li { break-inside: avoid; color: var(--ss-ink); font-size: 0.84rem; line-height: 1.45; margin: 0 0 0.25rem; }
@media (max-width: 900px) { .ss-im__method ul { columns: 1; } }
.ss-im__note { align-self: center; color: var(--ss-muted); font-size: 0.84rem; margin: 0; }
.ss-im__cta { align-self: center; }
.ss-im__chart { display: none; }

.ss-im.is-enhanced { display: grid; }
.ss-im.is-enhanced > .ss-im__model { grid-area: 2 / 1 / 3 / -1; }
.ss-im.is-enhanced > .ss-tabs { grid-area: 1 / 1 / 2 / -1; }
.ss-im.is-enhanced > .ss-im__note { grid-area: 3 / 1; }
.ss-im.is-enhanced > .ss-im__cta { grid-area: 3 / 2; justify-self: end; }
.ss-tabs--im { margin: 0; }
.ss-im.is-enhanced .ss-im__model {
	align-content: start;
	background: linear-gradient(170deg, #ffffff 0%, #f6f4ff 100%);
	box-shadow: var(--ss-shadow);
	display: grid;
	gap: 0.5rem 1rem;
	grid-template-areas: "inputs results" "inputs chart" "reset method";
	grid-template-columns: minmax(15rem, 0.34fr) minmax(0, 1fr);
	grid-template-rows: auto auto auto;
	padding: 0.7rem 0.95rem;
}
.ss-im.is-enhanced .ss-im__model > h3 { display: none; }
/* Assumptions panel (sized to its content): the model's description heads it, then each assumption
 * as label and editable value on one row with a full-width slider underneath. */
.ss-im.is-enhanced .ss-im__inputs { align-content: start; align-self: start; background: #fff; border: 1px solid var(--ss-border); border-radius: 16px; box-sizing: border-box; gap: 0.25rem; grid-area: inputs; grid-template-columns: minmax(0, 1fr); margin: 0; min-width: 0; padding: 0.6rem 0.75rem; }
.ss-im__desc { border-bottom: 1px solid var(--ss-border); color: var(--ss-ink); font-size: 0.82rem; line-height: 1.45; margin: 0 0 0.15rem !important; padding-bottom: 0.45rem; }
.ss-im.is-enhanced .ss-im__input { gap: 0; min-width: 0; }
.ss-im__input-head { align-items: center; display: flex; gap: 0.6rem; justify-content: space-between; min-width: 0; }
.ss-im__input-head label { flex: 1 1 auto; line-height: 1.3; min-width: 0; }
.ss-im.is-enhanced .ss-im__input-head input[type="number"] { flex: 0 0 6.25rem; min-height: 32px; padding-block: 0.15rem; text-align: right; width: 6.25rem; }
.ss-im.is-enhanced .ss-im__reset { align-self: start; grid-area: reset; justify-self: start; min-height: 32px; }
/* The visible track is 6px; the control keeps a 20px interaction height. */
.ss-im__range {
	--fill: 50%;
	accent-color: var(--ss-purple);
	appearance: none;
	background: linear-gradient(90deg, var(--ss-purple) 0 var(--fill), #e3e0f7 var(--fill) 100%) center / 100% 6px no-repeat;
	cursor: pointer;
	height: 20px;
	margin: 0;
	width: 100%;
}
.ss-im__range::-webkit-slider-thumb { appearance: none; background: #fff; border: 3px solid var(--ss-purple); border-radius: 50%; box-shadow: 0 2px 6px rgba(42, 22, 128, 0.3); cursor: pointer; height: 20px; width: 20px; }
.ss-im__range::-moz-range-thumb { background: #fff; border: 3px solid var(--ss-purple); border-radius: 50%; cursor: pointer; height: 14px; width: 14px; }
.ss-im__range:focus-visible { outline: 3px solid var(--ss-cyan); outline-offset: 4px; }
.ss-im__reset { background: none; border: 1px solid var(--ss-border); border-radius: var(--ss-pill); color: var(--ss-navy); cursor: pointer; font: inherit; font-size: 0.82rem; font-weight: 700; justify-self: start; min-height: 36px; padding: 0.25rem 1rem; }
.ss-im.is-enhanced .ss-im__results { align-items: stretch; display: grid; gap: 0.6rem; grid-area: results; grid-template-columns: minmax(14rem, 0.9fr) minmax(0, 2fr); }
.ss-im__lead { background: linear-gradient(140deg, var(--ss-navy) 0%, #2a1b8f 100%); border-radius: 16px; color: #fff; padding: 0.6rem 0.85rem; }
.ss-im__lead > p { margin: 0; }
.ss-im__lead-label { color: #c9cff7; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.ss-im__lead-value { font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-variant-numeric: tabular-nums; font-weight: 800; line-height: 1.1; margin: 0.1rem 0 !important; }
.ss-im__lead-note { color: #9de9fa; font-size: 0.78rem; line-height: 1.4; }
.ss-im__lead-compare { color: #c9cff7; font-size: 0.74rem; margin-top: 0.2rem !important; }
.ss-im__figures { display: grid; gap: 0.6rem; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); margin: 0; }
.ss-im__figure { background: #fff; border: 1px solid var(--ss-border); border-radius: 16px; display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; padding: 0.55rem 0.8rem; }
.ss-im__figure dt { color: var(--ss-muted); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; line-height: 1.3; text-transform: uppercase; }
.ss-im__figure dd { margin: 0; }
.ss-im__figure .ss-im__figure-value { color: var(--ss-navy); font-size: clamp(1.35rem, 2vw, 1.6rem); font-variant-numeric: tabular-nums; font-weight: 800; letter-spacing: -0.01em; line-height: 1.15; overflow-wrap: anywhere; }
.ss-im__figure-rate { color: var(--ss-ink); font-size: 0.8rem; line-height: 1.35; }
.ss-im__figure-rate strong { color: var(--ss-purple-deep); font-variant-numeric: tabular-nums; }
.ss-im__bar { background: #ebe8fa; border-radius: 99px; height: 6px; overflow: hidden; }
.ss-im__bar > span { background: #5a63d8; border-radius: inherit; display: block; height: 100%; transition: width var(--ss-m-base) var(--ss-m-ease); }
.ss-im__bar.is-key > span { background: #19c3ea; }
.ss-im__bar.is-group > span { background: #8e6df0; }
.ss-im__bar.is-review > span { background: #b39bff; }
.ss-im__bar.is-stage > span { background: #6c75e8; }
.ss-im__bar.is-exception > span { background: #e2318f; }
.ss-im__figure-context { color: var(--ss-muted); font-size: 0.74rem; line-height: 1.35; }
.ss-im__figure.is-changed, .ss-im__lead.is-changed { animation: ss-flash 900ms var(--ss-m-ease-out); }
.ss-im.is-enhanced .ss-im__chart { align-self: start; background: linear-gradient(160deg, var(--ss-deep) 0%, var(--ss-deep-2) 100%); border-radius: 16px; display: block; grid-area: chart; padding: 0.55rem 0.8rem 0.6rem; }
.ss-im.is-enhanced .ss-im__method { grid-area: method; }
/* Charts: one color meaning everywhere (cyan accepted, lavender review, magenta exception, white
 * translucent neutral), with every outcome also named in the record accounting beside the chart. */
.ss-im.is-enhanced .ss-im__chart { grid-template-columns: minmax(0, 1fr); row-gap: 0.35rem; }
.ss-im.is-enhanced .ss-im__chart { display: grid; }
.ss-im__svg { display: block; height: auto; overflow: visible; width: 100%; }
.ss-im__mark { fill: #5a63d8; }
.ss-im__mark.is-stage { fill: #6c75e8; }
.ss-im__mark.is-key { fill: #19c3ea; }
.ss-im__mark.is-review { fill: #b39bff; }
.ss-im__mark.is-exception { fill: #e2318f; }
.ss-im__mark.is-muted { fill: rgba(255, 255, 255, 0.22); }
.ss-im__mark.is-track { fill: rgba(255, 255, 255, 0.05); }
.ss-im__mark.is-group { fill: rgba(179, 155, 255, 0.16); stroke: #b39bff; stroke-width: 1.5; }
.ss-im__mark.is-zoom { fill: rgba(179, 155, 255, 0.1); }
.ss-im__mark.is-additional { fill: rgba(226, 49, 143, 0.12); stroke: #e2318f; stroke-dasharray: 4 3; stroke-width: 1.5; }
.ss-im__text.is-inbar { fill: #fff; font-weight: 700; }
.ss-im__text.is-alert { fill: #ff9fcf; }
.ss-im__text { fill: #c9cff7; font-size: 12px; font-variant-numeric: tabular-nums; font-weight: 600; }
.ss-im__text.is-label { fill: #fff; font-weight: 700; }
.ss-im__text.is-value { fill: #dfe3ff; }
.ss-im__text.is-small { font-size: 11px; }
.ss-im__ledger { color: #dfe3ff; font-size: 0.8rem; }
.ss-im__ledger-title { color: #9de9fa; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; margin: 0 0 0.2rem; text-transform: uppercase; }
.ss-im__ledger-rows { column-gap: 1.75rem; display: grid; gap: 0.15rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
.ss-im__ledger-row { align-items: baseline; display: flex; gap: 0.5rem; justify-content: space-between; }
.ss-im__ledger-row dt { align-items: baseline; display: flex; gap: 0.4rem; line-height: 1.3; }
.ss-im__ledger-row dd { font-variant-numeric: tabular-nums; font-weight: 700; margin: 0; white-space: nowrap; }
.ss-im__key { background: #5a63d8; border-radius: 3px; display: inline-block; flex: 0 0 auto; height: 10px; width: 10px; }
.ss-im__key.is-key { background: #19c3ea; }
.ss-im__key.is-review { background: #b39bff; border-radius: 50%; }
.ss-im__key.is-exception { background: #e2318f; }
.ss-im__key.is-muted { background: transparent; border: 1.5px solid rgba(255, 255, 255, 0.6); }
.ss-im__ledger-total { border-top: 1px solid rgba(255, 255, 255, 0.18); color: #fff; font-weight: 700; margin: 0.25rem 0 0; padding-top: 0.25rem; }
.ss-im__ledger-total.is-balanced::before { color: #19c3ea; content: "✓ "; }

/* Engagement models (dark editorial) -------------------------------------------------------- */
.ss-engage-section {
	background:
		radial-gradient(55% 60% at 90% 30%, rgba(106, 43, 224, 0.4), transparent 70%),
		radial-gradient(45% 50% at 0% 100%, rgba(25, 195, 234, 0.16), transparent 70%),
		linear-gradient(150deg, #090d33 0%, #151b63 55%, #1f0f6e 100%);
	color: var(--ss-on-dark-text);
	overflow: hidden;
}
.ss-eg { display: grid; gap: 0.9rem; }
.ss-eg h2 { color: #fff; margin: 0.45rem 0 0.45rem; max-width: 24ch; }
.ss-eg__intro > h2 { margin-bottom: 0; max-width: none; }
.ss-eg__close { align-items: center; border-top: 1px solid var(--ss-line-dark); display: flex; flex-wrap: wrap; gap: 0.6rem 2rem; justify-content: space-between; padding-top: 0.75rem; }
.ss-eg__close p { color: #fff; font-size: 1rem; font-weight: 600; margin: 0; }
/* Three static engagement cards: icon, title, positioning, benefits, and one primary CTA aligned
 * to the bottom of each card. No motion, tabs or diagrams. */
.ss-eg__cards { display: grid; gap: clamp(0.9rem, 2vw, 1.25rem); grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.ss-eg__card {
	background: linear-gradient(165deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.025) 100%);
	border: 1px solid var(--ss-line-dark);
	border-radius: var(--ss-radius-lg);
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	padding: 0.95rem 1.1rem 1rem;
	transition: border-color var(--ss-m-fast) var(--ss-m-ease), box-shadow var(--ss-m-fast) var(--ss-m-ease);
}
.ss-eg__card:hover, .ss-eg__card:focus-within { border-color: rgba(179, 155, 255, 0.75); box-shadow: 0 18px 40px -24px rgba(106, 43, 224, 0.8); }
.ss-eg__card .ss-glyph--lg { height: 2rem; width: 2rem; }
.ss-eg__card h3 { color: #fff; font-size: 1.12rem; margin: 0.1rem 0 0; }
.ss-eg__card .ss-eg__lead { color: #dfe3ff; font-size: 0.94rem; font-weight: 600; line-height: 1.4; margin: 0; }
.ss-eg__points { color: #c9cff7; display: grid; font-size: 0.88rem; gap: 0.25rem; line-height: 1.4; list-style: none; margin: 0.1rem 0 0; padding: 0; }
.ss-eg__points li { padding-left: 1.2rem; position: relative; }
.ss-eg__points li::before { color: #7fdcf5; content: "✓"; left: 0; position: absolute; }
.ss-eg__cta { margin: auto 0 0 !important; padding-top: 0.45rem; }
.ss-eg__cta .wp-block-button, .ss-eg__cta .wp-block-button__link { width: 100%; }
.ss-glyph--handshake { --ss-icon: url("../icons/handshake.svg"); }
@media (max-width: 960px) { .ss-eg__cards { grid-template-columns: minmax(0, 1fr); } }
.ss-btn-pill--light .wp-block-button__link { background: transparent !important; border-color: rgba(255, 255, 255, 0.6) !important; color: #fff !important; }
.ss-btn-pill--light .wp-block-button__link:hover { background: rgba(255, 255, 255, 0.1) !important; }


/* Intelligence Labs: wider headline column, less padding (no redesign) ------------------------- */
.ss-home .ss-labs { gap: clamp(1.25rem, 3vw, 2.25rem); grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); padding: clamp(1.4rem, 2.6vw, 2rem) clamp(1.4rem, 3vw, 2.4rem); }
.ss-home .ss-labs__intro h2 { margin-bottom: 0.6rem !important; }
.ss-home .ss-labs__intro p:last-child { font-size: 1rem; max-width: 50ch; }
.ss-home .ss-lab-card { padding: 1.1rem 1.3rem; row-gap: 0.5rem; }
.ss-home .ss-lab-card::after { min-height: 0; }

/* NorthstarIQ: less inner padding, same artwork, badge and CTA. ----------------------------------- */
.ss-home .ss-spotlight { gap: clamp(1.25rem, 2.6vw, 2.5rem); padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.25rem, 3.6vw, 3rem); }
.ss-home .ss-spotlight__wordmark { margin-bottom: 1rem !important; }
.ss-home .ss-spotlight__body { gap: 1.25rem; }

/* Intelligence Brief: a shorter band (padding, headline, topic cards) with the same content, form and
 * behaviour. The wave stays inside the bottom padding, so it never runs behind the text. ---------- */
.ss-home .ss-newsletter-band { padding-block: clamp(2.25rem, 4.4vw, 3.25rem); }
.ss-home .ss-newsletter-band::before { height: clamp(2.25rem, 4.4vw, 3.25rem); }
.ss-home .ss-newsletter-band__grid { gap: clamp(1.5rem, 3.6vw, 3rem); }
.ss-home .ss-newsletter-band__main h2 { margin: 0 0 0.75rem !important; }
.ss-home .ss-newsletter-band__lead { font-size: 1rem !important; line-height: 1.55; margin-bottom: clamp(1rem, 1.6vw, 1.25rem) !important; }
.ss-home .ss-signup { padding: 0.35rem 0.35rem 0.35rem 0.5rem; }
.ss-home .ss-signup__icon { height: 2.4rem; width: 2.4rem; }
.ss-home .ss-signup__icon::after { inset: 0.6rem; }
.ss-home .ss-signup__input { font-size: 1rem; padding: 0.65rem 0.5rem; }
.ss-home .ss-signup__button { font-size: 1rem; padding: 0.8rem 1.5rem; }
.ss-home .ss-signup__note { font-size: 0.9rem; margin-top: 0.75rem !important; }
.ss-home .ss-newsletter-band__benefits { padding-left: clamp(1.25rem, 3vw, 2.5rem); }
.ss-home .ss-newsletter-band__benefits .ss-eyebrow { margin-bottom: 0.75rem !important; }
@media (max-width: 960px) { .ss-home .ss-newsletter-band__benefits { padding: 1.25rem 0 0; } }
.ss-home .ss-newsletter-band--light { background: linear-gradient(165deg, #fbfaff 0%, #f2f0ff 100%); border-top: 1px solid var(--ss-border); color: var(--ss-ink); }
.ss-home .ss-newsletter-band--light::before, .ss-home .ss-newsletter-band--light::after { display: none; }
.ss-home .ss-newsletter-band--light .ss-newsletter-band__main h2 { color: var(--ss-navy); }
.ss-home .ss-newsletter-band--light .ss-newsletter-band__lead { color: var(--ss-ink); }
.ss-home .ss-newsletter-band--light .ss-signup { box-shadow: 0 0 0 1px #d9d3f5, 0 14px 30px -20px rgba(42, 22, 128, 0.35); }
.ss-home .ss-newsletter-band--light .ss-signup:focus-within { box-shadow: 0 0 0 2px var(--ss-purple), 0 14px 30px -20px rgba(42, 22, 128, 0.35); }
.ss-home .ss-newsletter-band--light .ss-signup__note { color: var(--ss-muted); }
.ss-home .ss-newsletter-band--light .ss-signup__note a { color: var(--ss-purple-deep); }
.ss-home .ss-newsletter-band--light .ss-signup__note a:hover { color: var(--ss-navy); }
.ss-home .ss-newsletter-band--light .ss-signup__status { color: var(--ss-navy); }
.ss-home .ss-newsletter-band--light .ss-signup__status--success { color: #0b6c86; }
.ss-home .ss-newsletter-band--light .ss-signup__status--error { color: #b3261e; }
.ss-home .ss-newsletter-band--light .ss-newsletter-band__benefits { border-color: var(--ss-border); }
.ss-home .ss-newsletter-band--light .ss-newsletter-band__benefits .ss-eyebrow { color: var(--ss-navy); }
/* Inside the Brief: a static editorial preview, four topic cards in a 2 x 2 grid (one column on
 * narrow screens). Informational only: no links, hover states or focus targets. */
.ss-home .ss-newsletter-band--light .ss-newsletter-band__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.ss-brief-cards { display: grid; gap: 0.75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
/* Cards: three type levels (numbered category, title, description). Light cards carry the shared
 * purple-to-cyan line on top; dark cards use the navy-to-purple surface of the selected tabs and
 * navy CTAs, with the dark-section border. Static: no hover, focus or motion. */
.ss-brief-card { align-content: start; border-radius: 16px; display: grid; overflow: hidden; padding: 1.15rem 1.25rem 1.25rem; position: relative; }
.ss-brief-card--light { background: #fff; border: 1px solid #e3def8; box-shadow: 0 4px 14px -12px rgba(42, 22, 128, 0.35); }
.ss-brief-card--light::before { background: var(--ss-grad-line); content: ""; height: 3px; inset: 0 0 auto; position: absolute; }
.ss-brief-card--dark { background: var(--ss-grad-navy); border: 1px solid var(--ss-line-dark); box-shadow: 0 14px 30px -22px rgba(14, 20, 70, 0.7); }
.ss-home .ss-brief-card__label { font-size: 0.7rem !important; font-weight: 700; letter-spacing: 0.12em; line-height: 1.35; margin: 0 0 0.6rem !important; text-transform: uppercase; }
.ss-home .ss-brief-card__title { font-size: 1.05rem !important; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; margin: 0 0 0.4rem !important; }
.ss-home .ss-brief-card__text { font-size: 0.9rem !important; line-height: 1.5; margin: 0 !important; }
.ss-home .ss-brief-card--light .ss-brief-card__label { color: var(--ss-purple-deep); }
.ss-home .ss-brief-card--light .ss-brief-card__title { color: var(--ss-navy); }
.ss-home .ss-brief-card--light .ss-brief-card__text { color: var(--ss-muted); }
.ss-home .ss-brief-card--dark .ss-brief-card__label { color: #7fdcf5; }
.ss-home .ss-brief-card--dark .ss-brief-card__title { color: #fff; }
.ss-home .ss-brief-card--dark .ss-brief-card__text { color: #c9cff7; }
@media (max-width: 960px) { .ss-home .ss-newsletter-band--light .ss-newsletter-band__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .ss-brief-cards { grid-template-columns: minmax(0, 1fr); } }

/* Footer on the homepage (body.home; the site-wide footer elsewhere is unchanged): same content,
 * columns, logo sizes and wave; less padding, gap and heading space. ------------------------------ */
.home .ss-footer { --ss-footer-wave: clamp(28px, 3vw, 44px); padding-block: clamp(2rem, 3.6vw, 2.75rem) calc(var(--ss-footer-wave) + 0.75rem); }
.home .ss-footer ul { gap: 0.4rem; }
.home .ss-footer h2 { gap: 0.7rem; margin-bottom: 0.75rem !important; }
.home .ss-footer__tile { height: 1.9rem; width: 1.9rem; }
.home .ss-footer__tile::after { inset: 0.45rem; }
.home .ss-footer .ss-footer__brand p:not(.ss-footer__name) { margin-top: 0.75rem; }
.home .ss-footer__book { margin-top: 0.85rem !important; }
.home .ss-footer__book a { font-size: 1rem; padding: 0.65rem 1.35rem; }
.home .ss-footer__partner { margin-top: 0 !important; }
.home .ss-footer__base { margin-top: 1.5rem; padding-top: 0.9rem; }
@media (min-width: 1200px) {
	.home .ss-footer__col { padding-inline: 1.75rem 0.4rem; }
	.home .ss-footer__col:last-child { padding-inline: 1.75rem 0; }
}
@media (max-width: 1199px) { .home .ss-footer__grid { row-gap: 1.5rem; } }
@media (max-width: 640px) {
	.home .ss-footer__col, .home .ss-footer__col:last-child { margin-top: 1.1rem; padding: 1.1rem 0 0; }
}

/* Responsive ---------------------------------------------------------------------------------- */
@media (max-width: 1100px) {
	.ss-arch__workspace { grid-template-columns: minmax(0, 1fr); }
	.ss-arch__legend { grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); }
	.ss-im.is-enhanced .ss-im__results { grid-template-columns: minmax(0, 1fr); }
	.ss-home .ss-labs { grid-template-columns: minmax(0, 1fr); }
	.ss-lc__content { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
	.ss-arch__head { grid-template-columns: minmax(0, 1fr); row-gap: 0.6rem; }
	.ss-arch__head > h2, .ss-arch__head > .ss-arch__core { grid-column: 1; grid-row: auto; justify-content: flex-start; }
	.ss-tabs--sx, .ss-tabs--im { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ss-sx.is-enhanced .ss-sx__body { grid-template-columns: minmax(0, 1fr); row-gap: 0.6rem; }
	.ss-sxv__head { flex-wrap: wrap; }
	.ss-sxv__head .ss-record { justify-content: flex-start; order: 3; flex-basis: 100%; }
	.ss-im.is-enhanced .ss-im__model { grid-template-areas: "inputs" "reset" "results" "chart" "method"; grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
	.ss-im.is-enhanced .ss-im__chart { row-gap: 0.75rem; }
	.ss-im__ledger-rows { grid-template-columns: minmax(0, 1fr); }
	.ss-im.is-enhanced > .ss-im__cta, .ss-im.is-enhanced > .ss-im__cta .wp-block-button, .ss-im.is-enhanced > .ss-im__cta .wp-block-button__link { justify-self: stretch; width: 100%; }
	.ss-im.is-enhanced > .ss-im__note { grid-area: 3 / 1 / 4 / -1; }
	.ss-im.is-enhanced > .ss-im__cta { grid-area: 4 / 1 / 5 / -1; }
	.ss-lc__content .ss-lc__detail { display: block; }
	.ss-lc__content .ss-lc__detail dt, .ss-lc__content .ss-lc__detail dd { border-left: 0; padding: 0; }
	.ss-lc__content .ss-lc__detail dt { margin-top: 0.6rem; }
	/* Vertical lifecycle on small screens. */
	.ss-lc__path { display: none; }
	.ss-tabs--lc { gap: 0.3rem; grid-template-columns: minmax(0, 1fr); }
	.ss-tabs--lc::before { background: var(--ss-border); bottom: 22px; content: ""; left: 21px; position: absolute; top: 22px; width: 4px; }
	.ss-tabs--lc::after { background: var(--ss-purple); content: ""; height: calc((100% - 44px) * var(--lc-progress)); left: 21px; position: absolute; top: 22px; transition: height var(--ss-m-slow) var(--ss-m-ease-out); width: 4px; }
	.ss-tabs--lc .ss-tab { align-items: center; flex-direction: row; min-height: 48px; padding: 0.3rem 0.4rem 0.3rem 62px; text-align: left; z-index: 1; }
	.ss-tabs--lc .ss-tab::before { height: 44px; left: 1px; top: 50%; transform: translateY(-50%); width: 44px; }
	.ss-tabs--lc .ss-tab__icon { height: 20px; left: 13px; top: 50%; transform: translateY(-50%); width: 20px; }
	.ss-tabs--lc .ss-tab__num { left: 34px; top: 0; }
}
@media (max-width: 640px) {
	.ss-tabs--arch, .ss-tabs--sx, .ss-tabs--im { display: flex; flex-wrap: nowrap; margin-inline: calc(var(--ss-gutter) * -1); overflow-x: auto; padding-inline: var(--ss-gutter); scroll-snap-type: x proximity; }
	.ss-tabs--arch .ss-tab, .ss-tabs--sx .ss-tab, .ss-tabs--im .ss-tab { flex: 0 0 auto; scroll-snap-align: start; }
	.ss-arch__overlay { flex-wrap: wrap; padding: 0.5rem 0.75rem 0; }
	.ss-im__figures { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.ss-im.is-enhanced .ss-im__chart { padding: 0.6rem; }
	.ss-home .ss-sx__cta .wp-block-button__link, .ss-home .ss-arch__cta .wp-block-button__link, .ss-home .ss-im__cta .wp-block-button__link, .ss-home .ss-eg__card .wp-block-button__link { white-space: normal; }
}

/* Reduced motion: no ambient movement, instant transitions. Loop-driven motion stays off unless the
 * visitor presses Play (then .is-running enables it). */
@media (prefers-reduced-motion: reduce) {
	.ss-record__text.is-new { animation: none; }
	.ss-hero--home .ss-hero__grid > :first-child, .ss-sx.is-enhanced .ss-sx__body:not([hidden]), .ss-lc__content:not([hidden]), .ss-im__figure.is-changed, .ss-im__lead.is-changed { animation: none; }
	.ss-dg__node, .ss-lc__fill, .ss-tabs--lc::after, .ss-im__bar > span { transition: none !important; }
}
