/* ==========================================================================
   SAV — Homepage sections. Light top → hard cut → dark bottom.
   v2: cinematic composition — taller hero with depth, living glass panels,
   the curtain for THE CUT, richer ambient light.
   ========================================================================== */

/* --- 01 Hero ------------------------------------------------------------ */
.sav-hero {
	padding-top: calc(var(--sav-header-top) + var(--sav-header-h) + 96px);
	padding-bottom: var(--sav-16);
	min-height: 92svh;
	display: flex; align-items: center;
}
.sav-hero > .container { width: 100%; }
.sav-hero .sav-glow--sky { width: 1100px; height: 1100px; left: -520px; top: -560px; }
.sav-hero .sav-glow--electric { width: 980px; height: 980px; right: -460px; top: -520px; }
.sav-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 640px) minmax(0, 1fr);
	gap: var(--sav-12) var(--sav-12);
	align-items: center;
}
/* Hero kicker — plain Fragment Mono, letterspaced (per Figma). No pill. */
.sav-hero__copy .kicker { margin-bottom: 34px; color: var(--sav-fg-faint); }
.sav-hero__title {
	font-size: clamp(2.375rem, 1.4rem + 3.05vw, 3.625rem);
	line-height: 1.07; letter-spacing: -.032em;
	max-width: 600px; margin-bottom: 30px;
}
.sav-hero__title em { font-style: normal; color: var(--sav-accent); }
.sav-hero__sub { font-size: 1.125rem; line-height: 1.61; color: var(--sav-fg-soft); max-width: 520px; margin-bottom: 36px; }
.sav-hero__cta { margin-bottom: 26px; }
.sav-hero__micro { font-family: var(--sav-font-mono); font-size: .75rem; line-height: 1.17; color: var(--sav-fg-faint); margin: 0; letter-spacing: .01em; }

.sav-hero__panels { position: relative; min-height: 640px; perspective: 1400px; }
.sav-hero__panel { position: absolute; will-change: transform; }
.sav-hero__panel--1 { top: 0; right: 40px; width: min(520px, 100%); padding: 28px 28px 24px; }
.sav-hero__panel--2 { top: 296px; right: -28px; width: 312px; padding: 22px 22px 20px; }
.sav-hero__title em { white-space: nowrap; }

/* Living panel UI */
.sav-panel .kicker { color: var(--sav-accent); font-size: .65625rem; margin-bottom: 6px; }
.sav-panel__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.sav-panel__live { display: inline-flex; align-items: center; gap: 7px; font-family: var(--sav-font-mono); font-size: .6875rem; letter-spacing: .04em; color: var(--sav-fg-faint); white-space: nowrap; padding-top: 2px; }
.sav-panel__live i { width: 7px; height: 7px; border-radius: 50%; background: var(--sav-electric); box-shadow: 0 0 0 0 rgba(0, 102, 255, .5); animation: sav-pulse 2.2s ease-out infinite; }
@keyframes sav-pulse { 0% { box-shadow: 0 0 0 0 rgba(0, 102, 255, .55); } 70% { box-shadow: 0 0 0 9px rgba(0, 102, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 102, 255, 0); } }
.sav-panel__value { font-size: var(--sav-text-stat-lg); font-weight: 600; line-height: 1; letter-spacing: -.035em; color: var(--sav-fg); margin: 0 0 10px; }
.sav-hero__panel--2 .sav-panel__value { font-size: 2.75rem; margin: 6px 0 8px; }
.sav-panel__label { font-size: .9375rem; color: var(--sav-fg-soft); margin: 0; }
.sav-panel__meta { font-size: .6875rem; letter-spacing: .06em; color: var(--sav-fg-faint); margin: 14px 0 0; }

.sav-meter { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--sav-line); }
.sav-meter__row { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.sav-meter__k { font-family: var(--sav-font-mono); font-size: .65625rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sav-fg-faint); }
.sav-meter__v { font-size: 1.375rem; font-weight: 600; letter-spacing: -.02em; color: var(--sav-fg); }
.sav-meter__track { position: relative; height: 8px; border-radius: 999px; background: var(--sav-bg-alt); overflow: visible; }
.sav-meter__fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--sav-sky), var(--sav-electric)); transform-origin: 0 50%; }
.sav-meter__tick { position: absolute; top: -4px; width: 1px; height: 16px; background: var(--sav-line-strong); translate: -50% 0; }
.sav-meter__tick em { position: absolute; top: 20px; left: 50%; translate: -50% 0; font: 400 .625rem var(--sav-font-mono); letter-spacing: .06em; color: var(--sav-fg-faint); font-style: normal; }
.sav-meter__tick--end { translate: -100% 0; }
.sav-meter__tick--end em { left: auto; right: 0; translate: 0; }
.sav-meter__note { margin: 30px 0 0; font-family: var(--sav-font-mono); font-size: .65625rem; letter-spacing: .04em; color: var(--sav-fg-faint); }

.sav-pipe { list-style: none; margin: 14px 0 0; padding: 0 0 0 4px; position: relative; display: grid; gap: 9px; }
.sav-pipe::before { content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 1px; background: var(--sav-line); }
.sav-pipe__step { position: relative; padding-left: 22px; font-size: .84375rem; color: var(--sav-fg-faint); line-height: 1.3; transition: color var(--motion-normal) var(--ease-standard); }
.sav-pipe__step::before { content: ""; position: absolute; left: 4px; top: 5px; width: 9px; height: 9px; border-radius: 50%; background: var(--sav-paper-raised); border: 1px solid var(--sav-line-strong); transition: background-color var(--motion-normal), border-color var(--motion-normal), box-shadow var(--motion-normal); }
.sav-pipe__step.is-on { color: var(--sav-fg); font-weight: 500; }
.sav-pipe__step.is-on::before { background: var(--sav-electric); border-color: var(--sav-electric); box-shadow: 0 0 0 3px rgba(0, 102, 255, .16); }

.sav-hero__panel--image { padding: 10px; }
.sav-hero__panel--image img { border-radius: var(--sav-radius-md); width: 100%; }
.sav-hero__panel--image .kicker { position: absolute; left: 20px; top: 16px; margin: 0; padding: 4px 8px; border-radius: 6px; background: rgba(255, 255, 255, .8); }

.sav-hero__scrollcue { position: absolute; left: 50%; bottom: 26px; translate: -50% 0; width: 1px; height: 44px; overflow: hidden; opacity: .6; }
.sav-hero__scrollcue span { display: block; width: 100%; height: 100%; background: linear-gradient(180deg, transparent, var(--sav-electric)); transform-origin: 50% 0; }

/* --- 02 Proof strip ------------------------------------------------------ */
.sav-proof { padding-block: 40px 56px; }
.sav-proof .container { position: relative; padding-top: 56px; --rule: 1; }
.sav-proof .container::before { content: ""; position: absolute; left: var(--sav-gutter); right: var(--sav-gutter); top: 0; height: 1px; background: linear-gradient(90deg, var(--sav-rule-strong), var(--sav-rule)); transform: scaleX(var(--rule)); transform-origin: 0 50%; }
.sav-proof__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sav-8); }
.sav-proof .stat__value { font-size: clamp(2.125rem, 1.7rem + 1.35vw, 2.875rem); line-height: 1.3; letter-spacing: -.03em; }

/* --- 03 Three pillars -------------------------------------------------- */
.sav-pillars { padding-block: var(--sav-section); }
.sav-pillars .section-head { margin-bottom: 40px; }

/* --- 04 Case studies ----------------------------------------------------- */
.sav-cases { padding-block: var(--sav-section) calc(var(--sav-section) * .7); }
.sav-cases .sav-glow--sky { left: -600px; top: auto; bottom: -500px; width: 1000px; height: 1000px; opacity: .55; }
.sav-cases .section-head { margin-bottom: 40px; }

/* --- 04b Voices — testimonials: spotlight + two-row marquee -------------- */
.sav-voices-section { padding-block: var(--sav-section) calc(var(--sav-section) * .8); overflow: clip; }
.sav-voices-section .sav-glow--electric { left: auto; right: -420px; top: -300px; width: 900px; height: 900px; opacity: .7; }
.sav-voices .section-head { margin-bottom: 40px; }
.sav-voices__grid { display: grid; grid-template-columns: minmax(0, 456px) minmax(0, 1fr); gap: var(--sav-6); align-items: stretch; }
/* Spotlight */
.sav-voice--spotlight { display: flex; flex-direction: column; padding: 12px; }
.sav-voice__media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--sav-radius-lg); overflow: hidden; background: linear-gradient(135deg, var(--sav-navy) 0%, #10233D 55%, var(--sav-blue) 170%); display: flex; align-items: center; justify-content: center; }
.sav-voice__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: scale var(--motion-slow) var(--ease-out); }
.sav-voice--spotlight:hover .sav-voice__media img { scale: 1.03; }
.sav-voice__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(10, 26, 47, .55)); pointer-events: none; }
.sav-voice__initials { font-size: clamp(3rem, 6vw, 4.5rem); font-weight: 600; letter-spacing: -.04em; color: var(--sav-white); opacity: .9; }
.sav-voice__play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 2; display: inline-flex; align-items: center; gap: 12px; padding: 12px 20px 12px 14px; border-radius: 999px; color: var(--sav-white); background: rgba(10, 26, 47, .55); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font-weight: 500; font-size: .9375rem; transition: background-color var(--motion-normal), border-color var(--motion-normal), scale var(--motion-normal) var(--ease-standard); }
.sav-voice__play svg { width: 18px; height: 18px; fill: currentColor; }
.sav-voice__play-ring { position: absolute; inset: -6px; border-radius: inherit; border: 1px solid rgba(0, 212, 255, .55); animation: sav-ring 2.2s ease-out infinite; pointer-events: none; }
@keyframes sav-ring { 0% { scale: 1; opacity: .8; } 100% { scale: 1.18; opacity: 0; } }
.sav-voice__play:hover { background: var(--sav-accent); border-color: var(--sav-accent); scale: 1.04; }
.sav-voice__play-label { letter-spacing: .01em; }
.sav-voice--spotlight .sav-voice__body { padding: 22px 16px 14px; display: flex; flex-direction: column; flex: 1; }
.sav-voice__mark { display: inline-block; width: 22px; height: 15px; margin-bottom: 14px; }
.sav-voice__mark svg { width: 100%; height: 100%; display: block; }
.sav-voice__highlight { font-size: clamp(1.25rem, 1.05rem + .8vw, 1.625rem); font-weight: 600; letter-spacing: -.022em; line-height: 1.22; color: var(--sav-fg); margin: 0 0 14px; text-wrap: balance; }
.sav-voice__quote { margin: 0; }
.sav-voice__quote p { margin: 0; font-size: .9375rem; line-height: 1.6; color: var(--sav-fg-soft); }
.sav-voice--spotlight .sav-voice__quote p { font-size: 1rem; }
.sav-voice__who { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 18px; }
.sav-voice__avatar { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: .8125rem; color: var(--sav-white); background: linear-gradient(135deg, var(--sav-navy), var(--sav-blue) 160%); }
.sav-voice__avatar img { width: 100%; height: 100%; object-fit: cover; }
.sav-voice__meta { display: flex; flex-direction: column; min-width: 0; }
.sav-voice__name { font-size: .9375rem; letter-spacing: -.01em; color: var(--sav-fg); }
.sav-voice__role { font-size: .8125rem; color: var(--sav-fg-faint); }
.sav-voice__logo { margin-left: auto; flex: 0 0 auto; }
.sav-voice__logo img { height: 24px; width: auto; max-width: 110px; filter: grayscale(1) opacity(.7); }
.sav-voice__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.sav-badge--sample { border-style: dashed; color: var(--sav-fg-faint); }
.sav-voice__playmini { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; background: none; color: var(--sav-accent); border-color: rgba(0, 102, 255, .35); }
.sav-voice__playmini svg { width: 9px; height: 9px; fill: currentColor; }
.sav-voice__playmini:hover { background: var(--sav-accent); color: var(--sav-white); }
/* Wall: two marquee rows, opposite directions, pause on hover/focus */
/* Wall = user-driven horizontal scroller. 2 rows × N cols on desktop, 1 row on mobile.
 * No auto-marquee: the reader drags/scrolls; scroll-snap keeps cards aligned.
 * Fade masks on left/right hint at more content. Focus-visible outline stays crisp. */
/* Wall: no scrollbar — track auto-scrolls RTL as an infinite marquee. Cards
 * ship in menu order plus a duplicate copy inline; -50% translate loops
 * seamlessly. Hover pauses; reduced-motion pauses. */
.sav-voices__wall { min-width: 0; overflow: hidden; padding-block: 6px 8px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.sav-voices__track {
	display: grid;
	grid-auto-flow: column;
	grid-template-rows: repeat(2, minmax(252px, auto));
	grid-auto-columns: 340px;
	gap: 24px;
	width: max-content;
	will-change: transform;
	animation: sav-voices-scroll calc(var(--sav-voices-count, 6) * 6s) linear infinite;
}
.sav-voices__track > .sav-voice { width: auto; flex: none; }
.sav-voices__wall:hover .sav-voices__track,
.sav-voices__wall:focus-within .sav-voices__track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
	.sav-voices__track { animation-play-state: paused; }
}
@keyframes sav-voices-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.sav-voice--card { width: 340px; padding: 20px 20px 18px; }
.sav-voice--card .sav-voice__mark { width: 18px; height: 12px; margin-bottom: 10px; }
.sav-voice--card .sav-voice__quote p { font-size: .9375rem; color: var(--sav-fg); }
.sav-voice--card .sav-voice__who { padding-top: 14px; }
/* Player modal */
.sav-player { position: fixed; inset: 0; z-index: 400; display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; transition: opacity 240ms var(--ease-standard); }
.sav-player[hidden] { display: none; }   /* author display:flex would otherwise beat the UA [hidden] rule and the invisible overlay would swallow every click */
.sav-player.is-open { opacity: 1; }
.sav-player__backdrop { position: absolute; inset: 0; background: rgba(6, 15, 28, .82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.sav-player__box { position: relative; width: min(1040px, 100%); border-radius: var(--sav-radius-xl); background: var(--sav-surface-1); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .7); padding: 12px; transform: translateY(14px) scale(.98); transition: transform 300ms var(--ease-out); }
.sav-player.is-open .sav-player__box { transform: none; }
.sav-player__frame { aspect-ratio: 16 / 9; border-radius: var(--sav-radius-lg); overflow: hidden; background: #000; }
.sav-player__frame iframe, .sav-player__frame video { width: 100%; height: 100%; display: block; border: 0; }
.sav-player__name { margin: 10px 4px 2px; font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sav-cyan); }
.sav-player__close { position: absolute; right: -6px; top: -50px; width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--sav-white); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); }
.sav-player__close svg { width: 16px; height: 16px; }
.sav-player__close:hover { background: var(--sav-accent); border-color: var(--sav-accent); }
html.player-open, html.player-open body { overflow: hidden; }

/* --- 05 Logo wall ("Also trusted by") --------------------------------------
 * Auto-scrolling marquee. Pace target: ~1 logo travels off-screen every 3s
 * (D14). Duration = (logo count × 3s). Track duplicates once for a seamless
 * loop; hover / focus-within pauses; reduced-motion falls back to a static
 * wrapping row. Logos glide in monochrome; on hover they lift to full colour. */
.sav-logo-wall { padding-block: 24px 56px; }
.sav-logo-wall .container { position: relative; padding-top: 44px; --rule: 1; }
.sav-logo-wall .container::before { content: ""; position: absolute; left: var(--sav-gutter); right: var(--sav-gutter); top: 0; height: 1px; background: var(--sav-rule); transform: scaleX(var(--rule)); transform-origin: 0 50%; }
.sav-logo-wall .kicker { margin-bottom: 26px; }

.sav-logos { display: flex; align-items: center; gap: var(--sav-10); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.sav-logos__track { display: flex; align-items: center; gap: var(--sav-10); flex-shrink: 0; list-style: none; margin: 0; padding: 0; width: max-content; animation: sav-logos-marquee calc(var(--sav-logos-count, 20) * 3s) linear infinite; will-change: transform; }
.sav-logos:hover .sav-logos__track,
.sav-logos:focus-within .sav-logos__track { animation-play-state: paused; }
/* -100% here = one full copy of the track's content (because width: max-content),
 * plus one gap to slide past the joint into the duplicate track — seamless loop. */
@keyframes sav-logos-marquee { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(calc(-100% - var(--sav-10)), 0, 0); } }

/* Fixed min-width per cell so the marquee's per-logo pace stays true even
 * before webp images finish decoding — otherwise cells collapse to 0 and
 * the 3-second-per-logo pace becomes 3-second-per-gap. Height sized so
 * compact square marks (McDonald's, Sony, Fila…) read at the same visual
 * weight as wide text-based marks (Project US Foundation, Adaptive Choice). */
.sav-logos__item { display: inline-flex; align-items: center; justify-content: center; min-height: 84px; min-width: 200px; flex: 0 0 auto; }
.sav-logos__item--logo img { height: 84px; width: auto; max-width: 240px; object-fit: contain; filter: grayscale(1) contrast(1.05) opacity(.62); transition: filter var(--motion-normal) var(--ease-standard), scale var(--motion-normal) var(--ease-standard); }
.sav-logos__item--logo:hover img, .sav-logos__item--logo:focus-within img { filter: none; scale: 1.06; }
.sav-logos__name { font-size: 1.0625rem; font-weight: 500; letter-spacing: -.01em; color: var(--sav-fg-soft); white-space: nowrap; transition: color var(--motion-normal) var(--ease-standard); }
.sav-logos__item:hover .sav-logos__name { color: var(--sav-fg); }

@media (prefers-reduced-motion: reduce) {
	.sav-logos { overflow: visible; -webkit-mask-image: none; mask-image: none; flex-wrap: wrap; justify-content: center; }
	.sav-logos__track { animation: none; flex-wrap: wrap; justify-content: center; }
	.sav-logos__track[aria-hidden="true"] { display: none; }
}

/* --- 06 THE CUT — dark (pure black per Figma) --------------------------- */
.sav-cut { padding-block: 112px 96px; min-height: 100svh; display: flex; align-items: center; background-color: #000000; }
.sav-cut > .container { width: 100%; }
.sav-cut .sav-glow--electric { left: 40px; right: auto; top: -300px; width: 760px; height: 760px; }
.sav-cut .sav-glow--sky { left: auto; right: -160px; top: 520px; width: 640px; height: 640px; }
.sav-cut__veil { position: absolute; inset: -2px 0 0 0; z-index: 3; background: var(--sav-paper); pointer-events: none; clip-path: inset(0 0 0 0); will-change: clip-path; }
html:not(.cinema) .sav-cut__veil { display: none; }
.sav-cut__grid { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); gap: var(--sav-12) var(--sav-16); align-items: center; }
.sav-cut__copy .kicker { color: var(--sav-accent); margin-bottom: 24px; letter-spacing: .16em; }
.sav-cut__title { color: var(--sav-white); font-size: clamp(1.875rem, 1.375rem + 1.55vw, 2.625rem); line-height: 1.14; letter-spacing: -.026em; max-width: 14ch; margin-bottom: 26px; }
.sav-cut__body { color: var(--sav-zinc-400); font-size: 1.0625rem; line-height: 1.647; max-width: 480px; margin-bottom: 40px; }

.sav-cluster { position: relative; width: 100%; max-width: 620px; height: 510px; margin-left: auto; }
.sav-cluster .sav-connector { position: absolute; left: var(--x); top: var(--y); }
.sav-cluster__more { position: absolute; left: 60px; top: 546px; margin: 0; font-family: var(--sav-font-mono); font-size: .75rem; letter-spacing: .04em; color: #8A8A93; white-space: nowrap; }
.sav-cluster__extra { position: absolute; left: 0; top: 600px; display: flex; flex-wrap: wrap; gap: 12px; }
.sav-cluster__extra .sav-connector { position: static; width: 72px; height: 72px; }
.sav-cluster__extra .sav-connector svg { width: 22px; height: 22px; }

/* --- 07 Final CTA — dark ----------------------------------------------- */
/* --- 07 Final CTA — dark rounded card on the light section ---------------
 * Boxed, not full-bleed. Pure black card with 16px radius sits inside the
 * SAV container; heading+sub on the left, primary CTA on the right; a soft
 * blue glow blooms center-back for depth. Matches the Figma "07 Final CTA — dark". */
.sav-final { padding-block: var(--sav-8) var(--sav-12); background: var(--sav-paper); }
.sav-final__card {
	position: relative;
	background: #000000;
	border-radius: 16px;
	padding: 40px;
	min-height: 181px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sav-8);
	overflow: hidden;
	isolation: isolate;
}
.sav-final__card > * { position: relative; z-index: 1; }
/* Figma: 420×420 ellipse, #3B82F6 @ 22% + Layer blur, anchored at (x=0, y=-119)
   of the card. Centre sits ~210px in from the left, slightly above the card
   centre — reads as a soft, off-centre blue bloom near the heading, right side
   stays clean black. Alpha boosted (0.7 peak → 0.15 mid) to compensate for
   CSS blur's wider diffusion vs Figma's layer blur. */
.sav-final .sav-glow--cta {
	position: absolute;
	left: 210px; top: -119px;
	width: 420px; height: 420px;
	transform: none;
	background: radial-gradient(closest-side, rgba(59, 130, 246, .70), rgba(59, 130, 246, .18) 55%, rgba(59, 130, 246, 0) 80%);
	filter: blur(50px);
	opacity: 1;
	z-index: 0;
	pointer-events: none;
}
.sav-final__body { flex: 1 1 auto; min-width: 0; }
.sav-final__action { flex: 0 0 auto; }
.sav-final .kicker { color: var(--sav-accent); margin: 0 0 12px; }
.sav-final__title { color: var(--sav-white); font-size: clamp(1.875rem, 1.375rem + 1.55vw, 2.625rem); letter-spacing: -.026em; line-height: 1.14; max-width: 40ch; margin: 0 0 10px; }
.sav-final__sub { color: var(--sav-zinc-400); font-size: 1.0625rem; line-height: 1.59; max-width: 60ch; margin: 0; }

/* The seam: a hairline of light at the top edge of the dark section. */
.sav-cut::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(0, 212, 255, .45) 30%, rgba(0, 102, 255, .45) 70%, transparent); z-index: 4; }

/* --- 08 Success gallery — "Become our next success story" ---------------
 * Single-row RTL marquee of portrait case-study cards. Each card is a
 * full-bleed client photo (darkened for text readability) with the client
 * name white-set at the top-left. 4 cards visible on desktop, 2 on mobile.
 * Track content duplicated inline for a seamless -50% loop; hover pauses;
 * reduced-motion pauses. Pace ≈ 50 px/sec, matching the live section on
 * savmediagroup.com.au. Typography stays the site's own. */
.sav-success { padding-block: var(--sav-section); background: var(--sav-paper); }
.sav-success__head { text-align: left; margin-bottom: var(--sav-8); }
.sav-success__title { font-size: clamp(1.75rem, 1.4rem + 1.1vw, 2.375rem); letter-spacing: -.024em; line-height: 1.29; margin: var(--sav-2) 0 0; max-width: 22ch; }

.sav-success__viewport {
	position: relative; width: 100%; overflow: hidden;
	-webkit-mask-image: linear-gradient(to right, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
	mask-image:         linear-gradient(to right, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
}
.sav-success__track {
	display: flex; gap: 20px; width: max-content;
	will-change: transform;
	animation: sav-success-scroll var(--sav-success-duration, 72s) linear infinite;
}
.sav-success__viewport:hover .sav-success__track,
.sav-success__viewport:focus-within .sav-success__track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
	.sav-success__track { animation-play-state: paused; }
}
@keyframes sav-success-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.sav-success__card {
	position: relative;
	/* Item width sized from the VISIBLE container, not the track (the track's
	 * width: max-content means % basis collapses). Formula: (available inside
	 * SAV container − 3 × 20 px gap) / 4 visible cards. */
	flex: 0 0 calc((min(100vw, var(--sav-container)) - 2 * var(--sav-gutter) - 60px) / 4);
	min-height: 372px;
	border-radius: 20px;
	overflow: hidden;
	/* Client PNGs vary — some are full-bleed photos, others have transparent
	 * padding around the subject. Matching the section paper here keeps those
	 * transparent regions blending in (no navy peek-through). Label sits over
	 * a top-side gradient (see ::before) so it stays readable on either. */
	background: var(--sav-paper-raised);
	isolation: isolate;
}
.sav-success__img {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
	/* Own background so any transparent pixels inside the PNG show white
	 * cleanly — the card bg is only visible if the image truly doesn't
	 * touch an edge, which shouldn't happen with cover. */
	background: var(--sav-paper-raised);
	z-index: 0;
}
.sav-success__label {
	position: absolute; top: 18px; left: 18px; z-index: 2;
	display: inline-block;
	padding: 8px 14px;
	background: rgba(10, 26, 47, .78);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	border-radius: 999px;
	color: var(--sav-white);
	font-family: var(--sav-font-sans);
	font-weight: 700;
	font-size: clamp(.75rem, .65rem + .35vw, .9375rem);
	line-height: 1.1;
	letter-spacing: .04em;
	text-transform: uppercase;
	max-width: calc(100% - 36px);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}


/* --- Brand watermark: the S mark, huge and faint, behind the hero panels --- */
.sav-hero__watermark { position: absolute; right: -4%; top: 6%; width: 44vw; max-width: 680px; opacity: .045; z-index: var(--z-glow); pointer-events: none; will-change: transform; }
.sav-hero__watermark svg { width: 100%; height: auto; }
.sav-hero__watermark svg path { fill: var(--sav-ink); }
.sav-hero__watermark svg circle { fill: var(--sav-blue); }


/* THE CUT / ORCA — per-connector coloured glow (Figma 119:111, exact values).
   Tile: white 5% fill, white 9% border, 20px radius, 0 0 34px brand glow @30%. */
.sav-cut .sav-cluster .sav-connector {
	--glow: 255, 255, 255;
	background-color: rgba(255, 255, 255, .05);
	border-color: rgba(255, 255, 255, .09);
	border-radius: 20px;
	box-shadow: 0 0 34px rgba(var(--glow), .3);
}
.sav-cut .sav-cluster .sav-connector--gmail    { --glow: 234, 67, 53; }
.sav-cut .sav-cluster .sav-connector--slack    { --glow: 97, 31, 105; }
.sav-cut .sav-cluster .sav-connector--notion   { --glow: 242, 242, 242; }
.sav-cut .sav-cluster .sav-connector--drive    { --glow: 31, 164, 99; }
.sav-cut .sav-cluster .sav-connector--meta     { --glow: 8, 102, 255; }
.sav-cut .sav-cluster .sav-connector--whatsapp { --glow: 37, 211, 102; }
.sav-cut .sav-cluster .sav-connector--xero     { --glow: 19, 181, 234; }
.sav-cut .sav-cluster .sav-connector--figma    { --glow: 242, 78, 30; }


/* Logo wall — static row when 6 or fewer logos (Figma 229:1310).
   logos.php adds .sav-logos--static and skips the cloned track. */
.sav-logos.sav-logos--static {
	overflow: visible;
	-webkit-mask-image: none;
	mask-image: none;
}
.sav-logos.sav-logos--static .sav-logos__track {
	width: 100%;
	flex-wrap: nowrap;
	justify-content: space-between;
	gap: var(--sav-8);
	animation: none;
	transform: none;
}
.sav-logos.sav-logos--static .sav-logos__item {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}
.sav-logos.sav-logos--static .sav-logos__item img {
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 56px;
}
@media (max-width: 767px) {
	.sav-logos.sav-logos--static .sav-logos__track { flex-wrap: wrap; row-gap: var(--sav-6); }
	.sav-logos.sav-logos--static .sav-logos__item { flex: 0 0 calc(33.333% - var(--sav-8)); }
}


/* Full-colour connector icons (Figma PNGs, see sav_connector_img()). */
.sav-connector .sav-connector__img {
	display: block;
	width: auto;
	height: auto;
	max-width: 40px;
	max-height: 40px;
	flex: none;
}
/* Notion sits on a light tile inside the tile (Figma: #F2F2F2, 9/14/0/9 radius, soft glow). */
.sav-cut .sav-cluster .sav-connector--notion .sav-connector__img {
	background: #F2F2F2;
	border-radius: 9px 14px 0 9px;
	box-shadow: 0 0 22px rgba(242, 242, 242, .55);
}


/* =====================================================================
   HOMEPAGE FIGMA QC — Oct 2026 (node 119:2 CSS export).
   Type sizes for H1/H2/H3 come from the site-wide scale in responsive.css.
   ===================================================================== */

/* 01 Hero */
body .sav-hero__watermark { display: none; }
body .sav-hero .kicker { font-size: 11.5px; line-height: 14px; letter-spacing: .14em; }
body .sav-hero__micro { letter-spacing: 0; }
body .sav-hero .sav-hero__panel {
	background: rgba(255, 255, 255, .72);
	border: 1px solid rgba(255, 255, 255, .9);
	border-radius: 12px;
	box-shadow: 0 30px 30px -3px rgba(10, 12, 16, .09), 0 10px 10px -2px rgba(10, 12, 16, .1);
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
	height: auto;
	min-height: 0;
}
body .sav-hero .sav-hero__panel--1 { width: 500px; padding: 26px; }
body .sav-hero .sav-hero__panel--2 { width: 300px; padding: 22px; }
body .sav-hero .sav-hero__panel .kicker { font-size: 10.5px; line-height: 13px; letter-spacing: .12em; color: #3B82F6; margin: 0; }
body .sav-hero .sav-panel__head { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; margin: 0; }
body .sav-hero .sav-panel__live { font-family: 'Geist', var(--sav-font, sans-serif); font-size: 13px; line-height: 17px; letter-spacing: 0; text-transform: none; color: #8A93A3; }
body .sav-hero .sav-panel__live i { display: none; }
body .sav-hero .sav-hero__panel--1 .sav-panel__value { font-size: 64px; line-height: 83px; letter-spacing: -.03em; margin: 23px 0 0; }
body .sav-hero .sav-hero__panel--1 .sav-panel__label { font-size: 15px; line-height: 20px; color: #4A5261; margin: 0; }
body .sav-hero .sav-meter { margin-top: 16px; padding-top: 16px; border-top: 1px solid #E3E8F0; }
body .sav-hero .sav-meter__row { display: flex; flex-direction: row-reverse; justify-content: flex-end; align-items: baseline; gap: 8px; margin: 0; }
body .sav-hero .sav-meter__v { font-size: 22px; line-height: 29px; font-weight: 600; color: #0A0C10; letter-spacing: 0; }
body .sav-hero .sav-meter__k { font-family: 'Geist', var(--sav-font, sans-serif); font-size: 13px; line-height: 17px; letter-spacing: 0; text-transform: none; color: #8A93A3; }
body .sav-hero .sav-meter__track,
body .sav-hero .sav-meter__note,
body .sav-hero .sav-pipe,
body .sav-hero .sav-panel__meta { display: none; }
body .sav-hero .sav-hero__panel--2 .sav-panel__value { font-size: 40px; line-height: 52px; letter-spacing: -.02em; margin: 11px 0 2px; }
body .sav-hero .sav-hero__panel--2 .sav-panel__label { font-size: 14px; line-height: 18px; color: #4A5261; margin: 0; }

/* Panel placement (Figma: panel 2 sits 256px right/down of panel 1, overlapping it by 12px). */
@media (min-width: 1025px) {
	body .sav-hero .sav-hero__panels { height: 400px; min-height: 0; align-self: center; }
	body .sav-hero .sav-hero__panel--1 { top: 0; left: auto; right: 30px; bottom: auto; }
	body .sav-hero .sav-hero__panel--2 { top: 256px; left: auto; right: -26px; bottom: auto; }
}

/* 02 Proof strip */
body .sav-proof .container { border-top: 1px solid #E3E8F0; }
body .sav-proof__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 0; }
body .sav-proof .stat__label { line-height: 13px; letter-spacing: .12em; }
body .sav-proof .stat__source { line-height: 17px; }

/* 03 Pillars */
body .sav-pillars .lede,
body .sav-cases .lede { max-width: 620px; }
body .sav-pillars .card .kicker { line-height: 13px; letter-spacing: .12em; }
body .sav-pillars .card__foot { font-size: 11px; line-height: 13px; letter-spacing: .08em; color: #8A93A3; }
body .sav-pillars .card--accent .card__foot { color: #3B82F6; }

/* "What it's like" — testimonials */
body .sav-voices-section { background: #FFFFFF; }
body .sav-voices-section .lede { max-width: 620px; font-size: 16.5px; line-height: 1.6; }
body .sav-voice--spotlight {
	padding: 24px;
	border-radius: 14px;
	background: #FFFFFF;
	box-shadow: 0 30px 30px -2.5px rgba(10, 12, 16, .09), 0 10px 10px -1.9px rgba(10, 12, 16, .11), 0 3.5px 3.5px -1.2px rgba(10, 12, 16, .12), 0 1px 1px -.6px rgba(10, 12, 16, .13);
}
body .sav-voice--spotlight .sav-voice__media { height: 300px; border-radius: 10px; background-image: linear-gradient(121.43deg, #0B1B2F 0%, #17365E 68.97%); }
body .sav-voice--spotlight .sav-voice__initials { font-size: 52px; line-height: 1; letter-spacing: 1px; color: #D9E0ED; }
body .sav-voice--spotlight .sav-voice__highlight { font-size: 21px; line-height: 1.32; letter-spacing: -.35px; }
body .sav-voice--spotlight .sav-voice__quote { font-size: 14.5px; line-height: 1.62; color: #4A5261; }
body .sav-voice--card { box-shadow: 0 6px 12px -2px rgba(10, 12, 16, .05), 0 1px 2px rgba(10, 12, 16, .06); }
body .sav-voice--card p { font-size: 14.5px; line-height: 1.55; }
body .sav-voice__avatar { width: 38px; height: 38px; font-size: 13px; background: linear-gradient(135deg, #17365E 0%, #0B1B2F 71.43%); }
body .sav-voice__name { font-size: 14px; line-height: 1.3; font-weight: 600; letter-spacing: 0; }
body .sav-voice__role { font-size: 12.5px; line-height: 1.4; }
body .sav-voices-section .sav-badge { font-size: 10px; line-height: 1; letter-spacing: .6px; padding: 5px 8px; border-radius: 6px; }

/* 04 Case studies */
body .sav-cases .sav-case .sav-client-logo { display: none; }
body .sav-cases .sav-case .kicker { font-size: 10px; line-height: 12px; letter-spacing: .12em; color: #3B82F6; }
body .sav-cases .sav-case__value { line-height: 68px; letter-spacing: -.03em; }
body .sav-cases .sav-case__label { line-height: 18px; }
body .sav-cases .sav-case__secondary { line-height: 14px; letter-spacing: .08em; }

/* 06 THE CUT */
body .sav-cut .sav-cut__title { max-width: 520px; } /* Figma text box 520 wide (was ~363px, wrapped to 4 lines) */
body .sav-cut__body { color: #A1A1AA; max-width: 470px; }
body .sav-cut .sav-connector__label { font-size: 9px; line-height: 11px; letter-spacing: .06em; color: #A1A1AA; }
body .sav-cut .kicker { letter-spacing: .16em; }
body .sav-cluster__more { font-size: 11px; line-height: 13px; letter-spacing: .08em; color: #3F3F46; }

/* Success gallery — Figma centres the head */
body .sav-success .section-head { text-align: center; margin-inline: auto; }
body .sav-success .section-head .slashes { margin-inline: auto; }
body .sav-success__card { width: 286px; height: 401px; border-radius: 48px; box-shadow: 0 4px 4px rgba(0, 0, 0, .25); }

/* 07 Final CTA (homepage card) */
body.home .sav-final__card { min-height: 241px; border-radius: 16px; background: #000000; }
body.home .sav-final .kicker { letter-spacing: .16em; }
body .sav-final__card p:not(.kicker) { color: #A1A1AA; }
body .sav-final__card .btn { padding: 15px 24px; font-size: 15px; line-height: 20px; }
@media (min-width: 1400px) {
	body.home .sav-final__card { margin-inline: -60px; }
}


/* ===== VOICES SPOTLIGHT — self-hosted video first-frame thumbnail (8 Oct 2026) =====
   inc/testimonials.php renders <video class="sav-voice__thumb"> in the spotlight
   media box when the testimonial's Video URL is an .mp4/.webm/.mov and no
   Featured Image is set. Cover-fit like the img path; play button stays on top. */
.sav-voice__media .sav-voice__thumb {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 30%;
	display: block;
	z-index: 0;
	pointer-events: none;
	transition: scale var(--motion-slow) var(--ease-out);
}
.sav-voice--spotlight:hover .sav-voice__media .sav-voice__thumb { scale: 1.03; }
.sav-voice__media::after { z-index: 1; }

/* Spotlight inline playback (sav-voices.js adds .is-playing) — video on top, clickable controls, no overlay/play pill. */
.sav-voice__media.is-playing .sav-voice__thumb { z-index: 3; pointer-events: auto; scale: 1 !important; background: #000; }
.sav-voice__media.is-playing::after,
.sav-voice__media.is-playing .sav-voice__play { opacity: 0; visibility: hidden; pointer-events: none; }
