/*
 * site-refresh-2.css (Task 13, client brief "Prompt", 29 Nov 2026). Loaded
 * on every page after site-refresh.css, so the brief's changes live in one
 * place:
 *
 *  1. Section headings: centred everywhere (desktop and mobile alike)
 *  2. Mobile follows the desktop alignment and spacing
 *  3. Salesforce certifications: one auto-scrolling row
 *  4. L2 / L3 hero graphic (module-hero-motif.php)
 *  5. Product heroes: logo and live interface
 *  6. In-depth overview module (Products, Services, Sectors L1)
 *  7. Work page: every case study, no filters
 *  8. Partner logos and case study card images
 *
 * Motion follows MOTION.md: everything that moves is scoped under
 * .si-motion (set only when the visitor has not asked for reduced motion)
 * and loops longer than five seconds have a pause button.
 */

/* ---------- 1. Section headings: centred ----------
 * Every section heading sits centred over its section, with its intro and
 * any button centred under it. Headings inside articles (blog posts, legal
 * text), card titles and panel titles are not section headings and keep
 * their own alignment. */
.section-head,
.section-head--split,
.l3-section-head {
	text-align: center;
	margin-inline: auto;
	max-width: 760px;
}
.section-head :is(p, .lead, .l3-intro),
.l3-section-head :is(p, .l3-intro) { margin-inline: auto; }
.section-head--split,
.related-content__head.section-head--split {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: var(--space-4);
}
.section-head--split > * { max-width: 760px; }
.l3-head {
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	text-align: center;
	gap: var(--space-3);
}
.l3-head > div { display: flex; flex-direction: column; align-items: center; }
.l3-head__note { text-align: center; max-width: 60ch; }
.l3-related__head {
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: var(--space-2);
}
.link-panel__title,
.l3-related__title { text-align: center; }
/* Sector solution sections print the heading straight into the container. */
.l3-section > .container > .l3-h2,
.l3-section > .container > .l3-intro { text-align: center; margin-inline: auto; }
.l3-section > .container > .l3-intro { max-width: 62ch; }
/* Headings with a max-width (.l3-h2 is 18ch) centre their box as well as their text. */
:is(.section-head, .l3-section-head, .l3-head, .l3-related__head) :is(h2, .l3-h2, .l3-intro, .l3-head__note) { margin-inline: auto; }
/* A heading still inside one column of a two-column block (sector solution FAQ). */
.l3-faq > .l3-h2 { text-align: center; margin-inline: auto; }
.l3-section-head { margin-bottom: var(--space-7); }
.l3-section-head .l3-intro { margin-bottom: 0; }
/* Text + visual split and the L3 scope list now sit under a centred head. */
.tvs-head { margin-bottom: var(--space-7); }
.l3-spec--centred { max-width: 880px; margin-inline: auto; }
/* SEO & AEO service page (its own design): its split sections stack under a
   centred heading, like every other section on the site. */
.sa-section__head { text-align: center; margin-inline: auto; }
.sa-section__head :is(p) { margin-inline: auto; }
.sa-problem__grid,
.sa-research__grid,
.sa-faq__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-7); max-width: 880px; margin-inline: auto; }
.sa-problem__text h2,
.sa-research__grid > div:first-child h2,
.sa-faq__grid > h2 { max-width: 22ch; margin-inline: auto; text-align: center; }
.sa-research__grid > div:first-child .sa-section__intro { text-align: center; margin-inline: auto; }
.sa-problem__text h2::before,
.sa-research__grid > div:first-child h2::before,
.sa-faq__grid > h2::before { content: ""; display: block; width: 44px; height: 3px; margin: 0 auto var(--space-4); border-radius: 2px; background: var(--brand-pink); }
.sa-cta__inner { text-align: center; margin-inline: auto; }
.sa-cta__inner :is(h2, p) { margin-inline: auto; }
.sa-cta__actions { justify-content: center; }

/* Pink rule above every centred section heading (Task 12 style, now on all). */
:is(.section-head, .l3-section-head, .l3-head) h2::before {
	content: "";
	display: block;
	width: 44px;
	height: 3px;
	margin: 0 auto var(--space-4);
	border-radius: 2px;
	background: var(--brand-pink);
	transform-origin: center;
}
.section--dark :is(.section-head, .l3-head) h2::before { background: var(--brand-light, #E85184); }

/* ---------- 2. Mobile follows desktop ----------
 * Phones keep the desktop alignment (centred heads, centred buttons under
 * them) and the same proportions of space; only the sizes scale down. */
@media (max-width: 767px) {
	.section-head--split { align-items: center; }
	.section-head--split .btn { align-self: center; }
	.l3-head { align-items: center; margin-bottom: var(--space-6); }
	.cta-block__actions { justify-content: center; }
	/* Buttons keep their desktop size (base.css made every button full width
	   on phones); forms and the menu keep the full-width button. */
	.btn { width: auto; max-width: 100%; white-space: normal; text-align: center; }
	:is(form, .mobile-nav__cta, .inline-field, .l3-enquire) .btn--primary[type="submit"],
	.mobile-nav__cta .btn,
	form button.btn[type="submit"] { width: 100%; }
	.inline-field .btn { width: auto; }
	.stat-band { text-align: center; }
	.stat-band > * { justify-items: center; }
}

/* ---------- 3. Salesforce certifications: one moving row ---------- */
.si-badge-marquee { position: relative; margin-top: var(--space-8); }
.si-badge-marquee__viewport {
	overflow-x: auto;
	scrollbar-width: thin;
	padding-block: var(--space-2) var(--space-3);
}
.si-badge-marquee__track { display: flex; width: max-content; }
.si-badges.si-badges--marquee {
	display: flex;
	flex-wrap: nowrap;
	gap: var(--space-6);
	margin: 0;
	padding: 0 var(--space-6) 0 0;
	list-style: none;
}
.si-badges--marquee .si-badges__item { flex: none; width: 132px; }
.si-badges--marquee .si-badges__img { height: 88px; }
.si-badges--marquee .si-badges__label { font-size: 0.75rem; }
/* Still (no JavaScript or reduced motion): one list, scroll by hand. */
.si-badge-marquee:not(.is-running) .si-badges--marquee[aria-hidden="true"] { display: none; }
.si-badge-marquee.is-running .si-badge-marquee__viewport {
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
@keyframes si-marquee { to { transform: translateX(-50%); } }
.si-motion .si-badge-marquee.is-running .si-badge-marquee__track { animation: si-marquee calc(var(--badge-count, 12) * 3.2s) linear infinite; }
.si-badge-marquee.is-running:hover .si-badge-marquee__track,
.si-badge-marquee.is-running:focus-within .si-badge-marquee__track,
.si-badge-marquee.is-paused .si-badge-marquee__track { animation-play-state: paused; }
.si-badge-marquee__toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	margin: var(--space-3) auto 0;
	padding: 0 16px;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: var(--bg);
	color: var(--text-main);
	font: 500 0.8125rem/1 var(--font-sans, inherit);
	cursor: pointer;
}
.si-badge-marquee__toggle:not([hidden]) { display: flex; }
.si-badge-marquee__toggle svg { fill: currentColor; }
.si-badge-marquee__toggle:hover,
.si-badge-marquee__toggle:focus-visible { border-color: var(--brand-pink-deep); color: var(--brand-pink-deep); }
.si-badge-marquee__icon-play,
.si-badge-marquee__toggle[aria-pressed="true"] .si-badge-marquee__icon-pause { display: none; }
.si-badge-marquee__toggle[aria-pressed="true"] .si-badge-marquee__icon-play { display: block; }
@media (max-width: 767px) {
	.si-badge-marquee { margin-top: var(--space-6); }
	.si-badges--marquee .si-badges__item { width: 112px; }
	.si-badges--marquee .si-badges__img { height: 72px; }
}

/* ---------- 4. L2 / L3 hero graphic ---------- */
.hero-motif { position: relative; container: hero-motif / inline-size; }
.hero-motif__stage {
	position: relative;
	display: grid;
	place-items: center;
	min-height: 400px;
	padding: 84px 18px;
	transform: perspective(1100px) rotateX(var(--hero-rx, 0deg)) rotateY(var(--hero-ry, 0deg));
	transition: transform 600ms var(--si-ease, ease-out);
}
.hero-motif__deco { position: absolute; inset: 0; pointer-events: none; }
.hero-motif__grid {
	position: absolute; inset: 4% 2%;
	background-image: radial-gradient(var(--border-strong) 1.2px, transparent 1.3px);
	background-size: 22px 22px;
	-webkit-mask-image: radial-gradient(closest-side, #000 50%, transparent);
	mask-image: radial-gradient(closest-side, #000 50%, transparent);
	opacity: 0.85;
}
.hero-motif__glow {
	position: absolute; left: 26%; top: 24%;
	width: 48%; height: 52%;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(210, 58, 102, 0.24), rgba(210, 58, 102, 0));
	filter: blur(6px);
}
.hero-motif__links { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hero-motif__path { fill: none; stroke: var(--border-strong); stroke-width: 2; stroke-dasharray: 4 7; vector-effect: non-scaling-stroke; }
.hero-motif__pulse { fill: none; stroke: var(--brand-pink); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; opacity: 0; }

.hero-motif__chip {
	position: absolute;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	max-width: 46%;
	padding: 7px 12px 7px 7px;
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: 999px;
	box-shadow: 0 12px 28px rgba(30, 30, 30, 0.09);
	font-size: 0.8125rem;
	font-weight: 500;
	line-height: 1.2;
	color: var(--text-main);
	white-space: nowrap;
}
.hero-motif__chip-icon {
	flex: none;
	display: inline-flex; align-items: center; justify-content: center;
	width: 28px; height: 28px;
	border-radius: 50%;
	background: var(--brand-pink-tint);
	color: var(--brand-pink-deep);
}
.hero-motif__chip-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.hero-motif__chip:nth-of-type(2) .hero-motif__chip-icon { background: var(--brand-black); color: var(--brand-white); }

.hero-motif__card {
	position: relative;
	z-index: 1;
	width: min(100%, 360px);
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 20px 20px 18px;
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius-card);
	box-shadow: 0 24px 56px rgba(30, 30, 30, 0.12);
}
.hero-motif__card-head { display: flex; align-items: center; gap: 14px; }
.hero-motif__tile {
	flex: none;
	display: inline-flex; align-items: center; justify-content: center;
	width: 56px; height: 56px;
	border-radius: 14px;
	background: var(--brand-pink-deep);
	color: var(--brand-white);
	box-shadow: 0 10px 24px rgba(184, 40, 94, 0.28);
}
.hero-motif__card-titles { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.hero-motif__kicker { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-secondary); }
.hero-motif__title { font-size: 1.125rem; font-weight: 600; line-height: 1.2; color: var(--text-main); }
.hero-motif__steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.hero-motif__steps i { height: 9px; border-radius: 2px; background: var(--surface); clip-path: polygon(0 0, 88% 0, 100% 50%, 88% 100%, 0 100%, 12% 50%); }
.hero-motif__steps i:nth-child(-n + 2) { background: var(--brand-black); }
.hero-motif__steps i:nth-child(3) { background: var(--brand-pink); }
.hero-motif__rows { display: flex; flex-direction: column; gap: 9px; }
.hero-motif__row { display: flex; align-items: center; gap: 10px; }
.hero-motif__row b { flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--surface); }
.hero-motif__row i { flex: 1; height: 7px; border-radius: 4px; background: var(--surface); }
.hero-motif__row:nth-child(2) i { margin-right: 24%; }
.hero-motif__row:nth-child(3) i { margin-right: 42%; }
.hero-motif__row:first-child b { background: var(--brand-pink-tint); }
.hero-motif__status { display: inline-flex; align-items: center; gap: 8px; font-size: 0.75rem; color: var(--text-secondary); }
.hero-motif__status-dot { width: 8px; height: 8px; border-radius: 50%; background: #2E9E6A; box-shadow: 0 0 0 4px rgba(46, 158, 106, 0.14); }

/* The page's own box as the card (L3 "At a glance", key facts, L2 figure). */
.hero-motif__card--inner { width: min(100%, 420px); padding: 0; background: transparent; border: 0; box-shadow: none; gap: 0; }
.hero-motif__card--inner > :is(.l3-glance, .l3-keys, .hero-l2__glance) { box-shadow: 0 24px 56px rgba(30, 30, 30, 0.12); }
.hero-motif__card--inner > :is(.l3-glance, .hero-l2__glance) { background: var(--bg); border: 1px solid var(--border); padding-top: 34px; }
.hero-motif__card--inner > .l3-keys { padding-top: 40px; }
.hero-motif__badge {
	position: absolute;
	z-index: 2;
	left: 22px; top: -22px;
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px;
	border-radius: 12px;
	background: var(--brand-pink-deep);
	color: var(--brand-white);
	box-shadow: 0 10px 24px rgba(184, 40, 94, 0.3);
}
/* An illustration as the card (sector solutions). */
.hero-motif__card--inner > .hero-motif__media { border-radius: var(--radius-card); overflow: hidden; box-shadow: 0 24px 56px rgba(30, 30, 30, 0.12); }
.hero-motif__card--inner > .hero-motif__media .hero-split__img { border-radius: 0; }
.hero-motif:has(.hero-motif__media) .hero-motif__card--inner { width: min(100%, 440px); }

.hero-motif__toggle {
	position: relative; z-index: 3;
	display: block; margin: 4px 0 0 auto;
	min-height: 44px; padding: 0 14px;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: var(--bg);
	color: var(--text-secondary);
	font-size: 0.75rem;
	cursor: pointer;
}
.hero-motif__toggle[hidden] { display: none; }
.hero-motif:has(.hero-motif__media) .hero-motif__badge { display: none; }
.hero-motif__toggle:hover, .hero-motif__toggle:focus-visible { opacity: 1; color: var(--brand-pink-deep); border-color: var(--brand-pink-deep); }

@media (max-width: 1023px) {
	.hero-motif { max-width: 560px; width: 100%; margin-inline: auto; }
}
@container hero-motif (max-width: 460px) {
	.hero-motif__stage { min-height: 0; padding: 70px 8px 76px; }
	.hero-motif__chip { font-size: 0.6875rem; padding: 5px 9px 5px 5px; gap: 6px; max-width: 48%; }
	.hero-motif__chip-icon { width: 22px; height: 22px; }
	.hero-motif__chip-icon svg { width: 13px; height: 13px; }
	.hero-motif__card { padding: 16px; gap: 11px; }
	.hero-motif__tile { width: 46px; height: 46px; border-radius: 12px; }
	.hero-motif__title { font-size: 1rem; }
}

/* Motion (only when motion is on). */
@keyframes motif-pulse {
	0% { stroke-dasharray: 10 100; stroke-dashoffset: 10; opacity: 0; }
	10% { opacity: 1; }
	65% { stroke-dasharray: 10 100; stroke-dashoffset: -100; opacity: 1; }
	75%, 100% { stroke-dasharray: 10 100; stroke-dashoffset: -100; opacity: 0; }
}
@keyframes motif-step { 0%, 18% { background: var(--surface); } 24%, 100% { background: var(--brand-pink); } }
@keyframes motif-dot { 0%, 100% { box-shadow: 0 0 0 4px rgba(46, 158, 106, 0.14); } 50% { box-shadow: 0 0 0 7px rgba(46, 158, 106, 0.06); } }
@keyframes motif-row { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }
.si-motion .hero-motif__chip { animation: hero-in 700ms var(--si-ease) both, hero-float 6.5s ease-in-out infinite; animation-delay: calc(var(--i) * 140ms + 200ms), calc(var(--i) * 1.3s + 900ms); }
.si-motion .hero-motif__card { animation: hero-in 700ms var(--si-ease) 80ms both; }
.si-motion .hero-motif__glow { animation: hero-glow 9s ease-in-out infinite; }
.si-motion .hero-motif__pulse { animation: motif-pulse 4.2s cubic-bezier(0.45, 0, 0.25, 1) infinite; animation-delay: calc(var(--i) * 1.05s + 600ms); }
.si-motion .hero-motif__tile,
.si-motion .hero-motif__badge { animation: hero-breathe 3.6s ease-in-out infinite; }
.si-motion .hero-motif__steps i:nth-child(4) { animation: motif-step 5s ease-in-out infinite alternate; }
.si-motion .hero-motif__steps i:nth-child(5) { animation: motif-step 5s ease-in-out 1.2s infinite alternate; }
.si-motion .hero-motif__status-dot { animation: motif-dot 2.4s ease-in-out infinite; }
.si-motion .hero-motif__row i { animation: motif-row 3.2s ease-in-out infinite; }
.si-motion .hero-motif__row:nth-child(2) i { animation-delay: 400ms; }
.si-motion .hero-motif__row:nth-child(3) i { animation-delay: 800ms; }
.hero-motif.is-paused *,
.hero-motif.is-paused *::before,
.hero-motif.is-paused *::after { animation-play-state: paused !important; }

/* ---------- 6. In-depth overview (Products, Services, Sectors) ---------- */
.detail-list__jump { margin: calc(var(--space-6) * -1) auto var(--space-8); }
.detail-list__jump ul { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2); margin: 0; padding: 0; list-style: none; }
.detail-list__jump a {
	display: inline-flex; align-items: center;
	min-height: 44px; padding: 0 16px;
	border: 1px solid var(--border); border-radius: 999px;
	background: var(--bg);
	color: var(--text-main); font-size: 0.875rem; font-weight: 500; text-decoration: none;
	transition: border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out);
}
.detail-list__jump a:hover, .detail-list__jump a:focus-visible { border-color: var(--brand-pink-deep); color: var(--brand-pink-deep); background: var(--brand-pink-tint); }
.detail-list { display: flex; flex-direction: column; gap: var(--space-9, 96px); }
.detail-item {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: var(--space-9, 96px);
	align-items: center;
	scroll-margin-top: 140px;
}
.detail-item > * { min-width: 0; }
.detail-item--flip .detail-item__media { order: 2; }
.detail-item__img { display: block; width: 100%; height: auto; border-radius: var(--radius-card); }
.detail-item__top { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-3); }
.detail-item__index { font-family: var(--font-mono); font-size: 0.8125rem; color: var(--brand-pink-deep); }
.detail-item__label { font-family: var(--font-mono); font-size: 0.8125rem; color: var(--text-secondary); }
.detail-item__logo { display: block; height: 44px; width: auto; max-width: 220px; margin-bottom: var(--space-4); }
.detail-item__title { margin: 0 0 var(--space-3); font-size: var(--fs-h2-sm, 2rem); line-height: 1.12; letter-spacing: -0.02em; }
.detail-item__tagline { margin: 0 0 var(--space-4); font-size: 1.125rem; line-height: 1.5; color: var(--text-main); font-weight: 500; }
.detail-item__copy { margin: 0 0 var(--space-4); color: var(--text-secondary); max-width: 62ch; }
.detail-item__cols {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	gap: var(--space-6);
	margin: var(--space-5) 0 var(--space-6);
	padding-top: var(--space-5);
	border-top: 1px solid var(--border);
}
.detail-item__points-title { margin: 0 0 var(--space-3); font-size: 1rem; font-weight: 600; }
.detail-item__points ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.detail-item__points li { position: relative; padding-left: 24px; font-size: 0.9375rem; line-height: 1.45; color: var(--text-main); }
.detail-item__points li::before {
	content: ""; position: absolute; left: 0; top: 0.32em;
	width: 14px; height: 14px; border-radius: 50%;
	background: var(--brand-pink-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M4 7.2l2 2 4-4.4' fill='none' stroke='%23B8285E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.detail-item__facts { margin: 0; display: flex; flex-direction: column; gap: var(--space-4); }
.detail-item__facts dt { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-secondary); margin-bottom: 4px; }
.detail-item__facts dd { margin: 0; font-size: 0.9375rem; line-height: 1.45; color: var(--text-main); }
.detail-item__proof dd { font-weight: 600; }
@media (max-width: 1023px) {
	.detail-list { gap: var(--space-8); }
	.detail-item { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }
	.detail-item--flip .detail-item__media { order: 0; }
	.detail-item__media { max-width: 640px; }
}
@media (max-width: 767px) {
	.detail-list__jump { margin: calc(var(--space-3) * -1) auto var(--space-6); }
	.detail-item__cols { grid-template-columns: minmax(0, 1fr); gap: var(--space-5); }
	.detail-item__title { font-size: 1.625rem; }
}

/* ---------- 7. Work page: every case study ---------- */
.work-showcase__summary {
	display: flex; flex-wrap: wrap; justify-content: center;
	gap: var(--space-3);
	margin: calc(var(--space-4) * -1) 0 var(--space-8);
}
.work-showcase__summary > div {
	display: flex; align-items: baseline; gap: 10px;
	padding: 10px 18px;
	border: 1px solid var(--border); border-radius: 999px;
	background: var(--bg);
}
.work-showcase__summary dt { order: 2; font-size: 0.875rem; color: var(--text-secondary); }
.work-showcase__summary dd { margin: 0; font-size: 1.25rem; font-weight: 600; color: var(--text-main); }
.work-showcase__list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: var(--space-6); }
.work-row {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
	gap: var(--space-8);
	align-items: center;
	padding: var(--space-6);
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: calc(var(--radius-card) + 4px);
}
.work-row > * { min-width: 0; }
.work-row--flip .work-row__media { order: 2; }
.work-row__media { display: block; border-radius: var(--radius-card); overflow: hidden; }
.work-row__img { display: block; width: 100%; height: auto; transition: transform 600ms var(--si-ease, ease-out); }
.work-row:hover .work-row__img { transform: scale(1.02); }
.work-row__meta { display: flex; align-items: center; gap: var(--space-3); margin: 0 0 var(--space-3); font-family: var(--font-mono); font-size: 0.8125rem; color: var(--text-secondary); }
.work-row__num { color: var(--brand-pink-deep); }
.work-row__title { margin: 0 0 var(--space-3); font-size: 1.625rem; line-height: 1.18; letter-spacing: -0.02em; }
.work-row__title a { color: inherit; text-decoration: none; background-image: linear-gradient(var(--brand-pink-deep), var(--brand-pink-deep)); background-size: 0 2px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size var(--dur-base) var(--ease-out); }
.work-row__title a:hover, .work-row__title a:focus-visible { background-size: 100% 2px; }
.work-row__summary { margin: 0 0 var(--space-4); color: var(--text-secondary); }
.work-row__story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-5); margin: 0 0 var(--space-5); padding-top: var(--space-4); border-top: 1px solid var(--border); }
.work-row__story dt { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-secondary); margin-bottom: 6px; }
.work-row__story dd { margin: 0; font-size: 0.9375rem; line-height: 1.5; color: var(--text-main); }
.work-row__metrics { display: flex; flex-wrap: wrap; gap: var(--space-3); margin: 0 0 var(--space-4); padding: 0; list-style: none; }
.work-row__metrics li { display: flex; flex-direction: column; gap: 2px; min-width: 120px; padding: 12px 16px; border-radius: 12px; background: var(--surface); }
.work-row__metrics strong { font-size: 1.375rem; line-height: 1.1; color: var(--text-main); overflow-wrap: anywhere; }
.work-row__metrics span { font-size: 0.8125rem; line-height: 1.35; color: var(--text-secondary); }
.work-row__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 var(--space-5); padding: 0; list-style: none; }
.work-row__tags li { padding: 4px 10px; border-radius: 999px; border: 1px solid var(--border); font-size: 0.75rem; color: var(--text-secondary); }
@media (max-width: 1023px) {
	.work-row { grid-template-columns: minmax(0, 1fr); gap: var(--space-5); }
	.work-row--flip .work-row__media { order: 0; }
}
@media (max-width: 767px) {
	.work-row { padding: var(--space-4); }
	.work-row__story { grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
	.work-row__title { font-size: 1.375rem; }
	.work-row__metrics li { flex: 1 1 calc(50% - var(--space-3)); min-width: 0; }
}

/* ---------- 5. Product heroes: logo and live interface ---------- */
.hero-product__logo { display: block; height: 48px; width: auto; max-width: min(280px, 100%); margin-bottom: var(--space-5); }
.hero-product .hero-product__logo + .hero-product__badge { margin-top: 0; }
.hero-product .hero-motif__card--inner { width: min(100%, 470px); }
.hero-motif__toasts { position: absolute; z-index: 3; left: 50%; bottom: 2%; width: min(78%, 320px); height: 58px; transform: translateX(-50%); }
.hero-motif__toast {
	position: absolute; left: 0; right: 0; bottom: 0;
	display: flex; align-items: center; gap: 10px;
	padding: 10px 14px;
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: 12px;
	box-shadow: 0 14px 34px rgba(30, 30, 30, 0.12);
	opacity: 0;
}
.hero-motif__toast:first-child { opacity: 1; }
.hero-motif__toast-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--brand-pink); box-shadow: 0 0 0 4px var(--brand-pink-tint); }
.hero-motif__toast strong { display: block; font-size: 0.8125rem; line-height: 1.2; color: var(--text-main); }
.hero-motif__toast small { display: block; font-size: 0.6875rem; line-height: 1.3; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.si-motion .hero-motif__toast { opacity: 0; animation: hero-toast calc(var(--n, 4) * 3s) var(--si-ease) infinite; animation-delay: calc(var(--i) * 3s + 1s); }
.si-motion .hero-motif__toast:first-child { opacity: 0; }
.hero-product .hero-motif__stage { padding-bottom: 96px; }
@media (max-width: 767px) { .hero-product__logo { height: 40px; } }

/* ---------- 8. Partner logos ---------- */
/* The Salesforce cloud is nearly square, so at the shared logo height it
   looks smaller than the wordmarks beside it; give it a little more. */
.si-logo-grid--partners .si-logo-grid__img[alt="Salesforce Partner"] { height: 64px; max-height: 64px; }
