/*
 * Approved homepage design (design-reference/DESIGN-APPROVALS.md).
 * Loaded on the front page only, after theme.css. Colours come from theme.json;
 * the shared design tokens and the site footer live in theme.css.
 */

/* ---------- Shared pieces ---------- */

.ss-home h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem) !important; letter-spacing: -0.035em; line-height: 1.06; }

.ss-eyebrow--rule::before,
.ss-eyebrow--trail::after {
	background: var(--ss-grad-line);
	border-radius: 3px;
	content: "";
	display: inline-block;
	height: 3px;
	vertical-align: middle;
	width: 3.25rem;
}
.ss-eyebrow--rule::before { margin: -0.15em 1rem 0 0; }
.ss-eyebrow--trail::after { margin: -0.15em 0 0 1rem; width: 2.75rem; }
.ss-eyebrow--magenta { color: #9c1a8c; }
.ss-home .ss-eyebrow { font-size: 0.85rem !important; letter-spacing: 0.2em; }

.ss-gradient-text--light {
	background: var(--ss-grad-text-light);
	-webkit-background-clip: text;
	background-clip: text;
}

/* Line icons: a gradient (or solid) fill masked by a theme icon. Decorative. */
.ss-glyph {
	background: linear-gradient(135deg, var(--ss-purple) 0%, var(--ss-cyan-deep) 100%);
	display: inline-block;
	flex: 0 0 auto;
	height: 1.5rem;
	-webkit-mask: var(--ss-icon) center / contain no-repeat;
	mask: var(--ss-icon) center / contain no-repeat;
	width: 1.5rem;
}
.ss-glyph--lg { height: 2.5rem; width: 2.5rem; }
.ss-glyph--navy { background: var(--ss-navy); }
.ss-glyph--white { background: #fff; }
.ss-glyph--light { background: linear-gradient(135deg, #d2b4ff 0%, #5fdcf6 100%); }

.ss-glyph--target, .ss-icon--target { --ss-icon: url("../icons/target.svg"); }
.ss-glyph--layers, .ss-icon--layers { --ss-icon: url("../icons/layers.svg"); }
.ss-glyph--cog { --ss-icon: url("../icons/cog.svg"); }
.ss-glyph--check { --ss-icon: url("../icons/check-circle.svg"); }
.ss-glyph--star { --ss-icon: url("../icons/star.svg"); }
.ss-glyph--workflow { --ss-icon: url("../icons/workflow.svg"); }
.ss-glyph--search { --ss-icon: url("../icons/search.svg"); }
.ss-glyph--flask { --ss-icon: url("../icons/flask.svg"); }
.ss-glyph--rocket { --ss-icon: url("../icons/rocket.svg"); }
.ss-glyph--chart { --ss-icon: url("../icons/chart.svg"); }
.ss-glyph--refresh { --ss-icon: url("../icons/refresh.svg"); }
.ss-glyph--infinity { --ss-icon: url("../icons/infinity.svg"); }
.ss-glyph--shield { --ss-icon: url("../icons/shield.svg"); }
.ss-glyph--zap, .ss-icon--zap { --ss-icon: url("../icons/zap.svg"); }
.ss-icon--users { --ss-icon: url("../icons/users.svg"); }

/* Buttons */
.ss-home .ss-btn-gradient .wp-block-button__link,
.ss-home .ss-btn-gradient .wp-block-button__link:hover {
	background: var(--ss-grad-cta);
	border-radius: var(--ss-pill);
	box-shadow: 0 14px 30px -14px rgba(74, 64, 230, 0.75);
	color: #fff;
}
.ss-home .ss-btn-gradient .wp-block-button__link,
.ss-home .ss-btn-pill .wp-block-button__link { font-size: 1.15rem; padding: 1.05rem 2.4rem; }
.ss-home .ss-btn-gradient .wp-block-button__link:hover { filter: brightness(1.08); }
.ss-home .ss-btn-pill .wp-block-button__link {
	background: #fff;
	border: 1.5px solid var(--ss-navy);
	border-radius: var(--ss-pill);
	color: var(--ss-navy);
	padding: calc(1.05rem - 1.5px) calc(2.4rem - 1.5px);
}
.ss-home .ss-btn-pill .wp-block-button__link:hover { background: var(--ss-lavender); border-color: var(--ss-purple); color: var(--ss-purple-deep); }
.ss-home .ss-btn-light .wp-block-button__link {
	background: #fff;
	border-radius: var(--ss-pill);
	box-shadow: 0 12px 30px -14px rgba(25, 195, 234, 0.6);
	color: var(--ss-navy);
	font-size: 1.08rem;
	padding: 0.95rem 1.9rem;
}
.ss-home .ss-btn-light .wp-block-button__link::after { color: var(--ss-purple); }
.ss-home .ss-btn-light .wp-block-button__link:hover { background: var(--ss-lavender); color: var(--ss-navy); }
.ss-home .wp-block-buttons { gap: 1.1rem 1.5rem; }

/* ---------- 01 Hero ---------- */

.ss-hero--home { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(4.5rem, 9vw, 7.5rem); }
.ss-hero--home::before {
	background: radial-gradient(60% 70% at 85% 40%, rgba(25, 195, 234, 0.1), transparent 70%),
		radial-gradient(50% 60% at 65% 20%, rgba(106, 43, 224, 0.1), transparent 70%);
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
}
.ss-hero--home::after {
	background: url("../images/wave-light.svg") center bottom / 100% 100% no-repeat;
	bottom: 0;
	content: "";
	height: clamp(36px, 6vw, 90px);
	left: 0;
	opacity: 0.6;
	pointer-events: none;
	position: absolute;
	right: 0;
}
.ss-hero--home .ss-eyebrow { color: var(--ss-navy); margin-bottom: 1.25rem !important; }
.ss-hero--home .ss-hero__grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); }
.ss-hero--home h1 { font-size: clamp(2.6rem, 5vw, 4.6rem) !important; }
@media (max-width: 899px) { .ss-hero--home .ss-hero__grid { grid-template-columns: minmax(0, 1fr); } }
.ss-hero--home .ss-lead { color: var(--ss-ink); font-size: clamp(1.1rem, 1.6vw, 1.3rem) !important; }

/* Every label carries its divider. The list is pulled left by one label padding plus the 1px divider,
   and clip-path hides whatever falls left of the copy column, so the first label of any row (wrapped or
   not) shows no divider and lines up with the column at every width and text spacing (2026-11-19). */
.ss-indicators {
	--ss-ind-pad: 0.95rem;
	clip-path: inset(-1rem -1rem -1rem calc(var(--ss-ind-pad) + 1px));
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem 0;
	list-style: none;
	margin: 2.5rem 0 0 calc(-1 * var(--ss-ind-pad) - 1px) !important;
	padding: 0;
}
.ss-indicators li {
	align-items: center;
	border-left: 1px solid #cfc9e6;
	color: var(--ss-navy);
	display: flex;
	font-size: 1rem;
	font-weight: 600;
	gap: 0.5rem;
	padding: 0.1rem var(--ss-ind-pad);
}
.ss-brushline { background: url("../images/brush-underline.svg") no-repeat 0 100% / 100% 0.45em; padding-bottom: 0.3em; }

.ss-portrait-stage {
	aspect-ratio: 1 / 1;
	display: grid;
	margin-inline: auto;
	max-width: 560px;
	place-items: center;
	position: relative;
	width: 100%;
}
.ss-portrait-stage::before {
	background: url("../images/paint-hero.svg") center / contain no-repeat;
	content: "";
	inset: -6% -10% -6% -8%;
	position: absolute;
}
.ss-portrait-stage .ss-portrait { margin: 0; position: relative; width: min(100%, 400px); z-index: 1; }
/* The protected portrait is shown at or below its native 400px width; CSS only, never altered. */
.ss-portrait-stage .ss-portrait img {
	aspect-ratio: 1 / 1;
	display: block;
	max-width: 400px;
	-webkit-mask-image: radial-gradient(ellipse 50% 52% at 50% 48%, #000 70%, transparent 100%);
	mask-image: radial-gradient(ellipse 50% 52% at 50% 48%, #000 70%, transparent 100%);
	width: 100%;
}
.ss-portrait-note {
	color: var(--ss-navy);
	font-size: clamp(1.35rem, 2.4vw, 1.9rem) !important;
	line-height: 1.05 !important;
	margin: 0 !important;
	position: absolute;
	right: -2%;
	top: 4%;
	transform: rotate(-7deg);
	z-index: 2;
}
.ss-portrait-note::after {
	background: url("../images/brush-underline.svg") no-repeat center / contain;
	content: "";
	display: block;
	height: 0.6em;
	margin-top: 0.15em;
	width: 4.6em;
}
@media (max-width: 899px) {
	.ss-hero--home .ss-portrait-stage { max-width: 340px; }
	.ss-portrait-note { right: 0; top: 0; }
}
/*
 * Short desktop and laptop windows (F-01, 2026-11-19): the hero's padding, type and gaps scale with
 * width only, so a wide but short window (for example 1366x768 or a 1920x1080 screen at 125-150%
 * scaling) pushed the capability labels and portrait below the fold. Height-aware values keep the
 * whole composition visible from about 585px of window height. Taller windows keep the original sizes.
 */
@media (min-width: 900px) and (max-height: 760px) {
	.ss-hero--home { padding-block: clamp(1.5rem, 3.5vh, 3rem) clamp(2.75rem, 7vh, 5rem); }
	.ss-hero--home::after { height: min(6vw, 8vh, 90px); }
	.ss-hero--home .ss-eyebrow { margin-bottom: 0.9rem !important; }
	.ss-hero--home h1 { font-size: clamp(2.6rem, min(5vw, 9.5vh), 4.6rem) !important; margin-bottom: 1rem; }
	.ss-hero--home .ss-lead { font-size: clamp(1.05rem, min(1.6vw, 2.6vh), 1.3rem) !important; }
	.ss-hero--home .wp-block-buttons { margin-top: 1.4rem; }
	.ss-hero--home .ss-indicators { margin-top: 1.5rem !important; }
}
/* Under 600px of height the protected portrait is shown at 340px (CSS sizing only), with the
   handwritten note sized and placed as on tablets so it stays clear of the portrait. */
@media (min-width: 900px) and (max-height: 600px) {
	.ss-hero--home .ss-portrait-stage { max-width: 340px; }
	.ss-hero--home .ss-portrait-stage .ss-portrait { width: min(100%, 340px); }
	.ss-hero--home .ss-portrait-note { font-size: 1.35rem !important; right: 0; top: 0; }
}
@media (max-width: 599px) {
	/* Phones (F-08, 2026-11-19): a shorter bottom band under the stacked portrait; the 36px wave still fits. */
	.ss-hero--home { padding-bottom: 3rem; }
	.ss-indicators { --ss-ind-pad: 0.75rem; }
	.ss-home .ss-hero .wp-block-button { flex: 1 1 100%; }
	.ss-home .ss-hero .wp-block-button__link { text-align: center; width: 100%; }
}

/* ---------- 02 Consulting Services (approved reference: What I Do) ---------- */

.ss-home-services { overflow: hidden; }
.ss-home-services::before {
	background: url("../images/brush-streak.svg") right top / contain no-repeat;
	content: "";
	height: clamp(110px, 16vw, 230px);
	pointer-events: none;
	position: absolute;
	right: -1%;
	top: clamp(0.5rem, 2vw, 1.5rem);
	width: clamp(280px, 40vw, 620px);
}
.ss-home-services .ss-section-head { max-width: 62rem; position: relative; }
.ss-home-services .ss-lead { max-width: 52em; }

.ss-service-card { border-radius: 22px; gap: 0.9rem; overflow: hidden; padding: 2rem 1.75rem 1.75rem; }
.ss-service-card::after {
	background: radial-gradient(closest-side, rgba(176, 92, 246, 0.2), transparent);
	bottom: -35%;
	content: "";
	height: 70%;
	pointer-events: none;
	position: absolute;
	right: -35%;
	width: 90%;
}
.ss-service-card:nth-child(even)::after { background: radial-gradient(closest-side, rgba(25, 195, 234, 0.2), transparent); }
.ss-service-card h3 { color: var(--ss-navy); font-size: 1.4rem !important; line-height: 1.2; margin-top: 0.4rem !important; }
.ss-service-card h3::after {
	background: var(--ss-grad-line);
	border-radius: 3px;
	content: "";
	display: block;
	height: 3px;
	margin-top: 1.1rem;
	width: 3.25rem;
}
.ss-service-card p { color: #2e3358; font-size: 1.02rem !important; }
.ss-service-card .ss-link-arrow { padding-top: 0.75rem; }
.ss-service-card .ss-link-arrow a { font-size: 1.08rem; }

.ss-icon--solid {
	background: linear-gradient(140deg, #7a2ff0 0%, #4b3fe0 100%);
	box-shadow: 0 10px 22px -12px rgba(90, 50, 220, 0.8);
	height: 60px;
	width: 60px;
}
.ss-icon--solid::after { background: #fff; inset: 15px; }
.ss-service-card:nth-child(2) .ss-icon--solid { background: linear-gradient(140deg, #19a9e8 0%, #2457d8 100%); }
.ss-service-card:nth-child(3) .ss-icon--solid { background: linear-gradient(140deg, #a03ee8 0%, #6a2be0 100%); }
.ss-service-card:nth-child(4) .ss-icon--solid { background: linear-gradient(140deg, #1d8fe8 0%, #3b3fe0 100%); }

/* ---------- 03 Technologies ---------- */

.ss-stack {
	background: linear-gradient(180deg, #fff 0%, #faf8ff 100%);
	border: 1px solid var(--ss-border);
	border-radius: var(--ss-radius-lg);
	box-shadow: var(--ss-shadow);
	display: grid;
	gap: clamp(1.5rem, 3vw, 3rem);
	grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
	overflow: hidden;
	padding: clamp(1.5rem, 4vw, 3.25rem);
	position: relative;
}
.ss-stack::before {
	background: url("../images/brush-streak.svg") right top / contain no-repeat;
	content: "";
	height: clamp(80px, 10vw, 150px);
	pointer-events: none;
	position: absolute;
	right: -1%;
	top: -1%;
	width: clamp(200px, 28vw, 420px);
}
.ss-stack > * { margin: 0 !important; position: relative; }
.ss-stack__intro { align-self: center; border-right: 1px solid var(--ss-border); padding-right: clamp(1.25rem, 3vw, 2.5rem); }
.ss-stack__intro > * { margin-block: 0 !important; }
.ss-stack__intro h2 { font-size: clamp(1.9rem, 2.9vw, 2.6rem) !important; margin: 0 0 1.25rem !important; }
.ss-stack__intro p:last-child { color: var(--ss-muted); font-size: 1.08rem; }

.ss-stack__grid { display: grid; gap: 1rem; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.ss-tech-card {
	align-content: start;
	align-items: center;
	background: #fff;
	border: 1px solid var(--ss-border);
	border-radius: 18px;
	box-shadow: 0 1px 2px rgba(16, 21, 58, 0.04), 0 10px 24px -18px rgba(50, 24, 140, 0.35);
	display: grid;
	gap: 0.75rem 1rem;
	grid-template-columns: minmax(0, 1fr) auto;
	padding: 1.35rem 1.35rem 1.5rem;
}
.ss-tech-card .ss-tech__name { color: var(--ss-navy); font-size: 1.55rem !important; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
.ss-tech-card p { color: var(--ss-muted); font-size: 0.98rem; grid-column: 1 / -1; line-height: 1.55; margin: 0; }
.ss-icon--chip { border-radius: 12px; height: 44px; width: 44px; }
.ss-icon--chip::after { inset: 11px; }
.ss-tech-card:nth-child(1) .ss-icon--chip { background: #e4f6fd; }
.ss-tech-card:nth-child(2) .ss-icon--chip,
.ss-tech-card:nth-child(6) .ss-icon--chip { background: #efe8ff; }
.ss-tech-card:nth-child(3) .ss-icon--chip { background: #e8f4fb; }
.ss-tech-card:nth-child(4) .ss-icon--chip { background: #fde8f3; }
.ss-tech-card:nth-child(4) .ss-icon--chip::after { background: linear-gradient(135deg, var(--ss-magenta), #b0157a); }
.ss-tech-card:nth-child(5) .ss-icon--chip { background: #e3f7f4; }

@media (max-width: 1100px) {
	.ss-stack { grid-template-columns: minmax(0, 1fr); }
	.ss-stack__intro { border-bottom: 1px solid var(--ss-border); border-right: 0; padding: 0 0 1.75rem; }
}
@media (max-width: 860px) { .ss-stack__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .ss-stack__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 04 NorthstarIQ spotlight ---------- */

.ss-spotlight {
	align-items: center;
	background: var(--ss-night);
	border-radius: var(--ss-radius-lg);
	box-shadow: 0 30px 60px -32px rgba(42, 22, 128, 0.65);
	color: var(--ss-on-dark-text);
	display: grid;
	gap: clamp(1.5rem, 3vw, 3rem);
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr) minmax(0, 0.6fr);
	overflow: hidden;
	padding: clamp(2rem, 4.5vw, 3.5rem) clamp(1.5rem, 4.5vw, 3.75rem);
	position: relative;
}
.ss-spotlight::after {
	background: linear-gradient(152deg, transparent 52%, rgba(123, 51, 242, 0.5) 60%, rgba(59, 91, 232, 0.45) 66%, rgba(25, 195, 234, 0.4) 70%, transparent 78%),
		linear-gradient(150deg, transparent 70%, rgba(176, 92, 246, 0.45) 74%, rgba(25, 195, 234, 0.35) 77%, transparent 81%),
		radial-gradient(40% 70% at 85% 50%, rgba(123, 51, 242, 0.35), transparent 70%);
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
}
.ss-spotlight > * { margin: 0 !important; position: relative; z-index: 1; }
.ss-spotlight__brand > * { margin-block: 0 !important; }
.ss-spotlight__wordmark {
	color: #fff;
	font-size: clamp(2.8rem, 6vw, 4.75rem) !important;
	letter-spacing: -0.045em;
	line-height: 1 !important;
	margin: 0.4rem 0 1.5rem !important;
}
.ss-spotlight__wordmark span {
	background: var(--ss-grad-text-light);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.ss-spotlight .ss-badge {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(185, 195, 255, 0.4);
	color: #e3e6ff;
	font-size: 0.95rem !important;
	letter-spacing: 0;
	padding: 0.45rem 1rem;
	text-transform: none;
}
.ss-spotlight__body {
	align-self: stretch;
	border-left: 1px solid var(--ss-line-dark);
	display: flex;
	flex-direction: column;
	gap: 1.75rem;
	justify-content: center;
	padding-left: clamp(1.5rem, 3vw, 3rem);
}
.ss-spotlight__body > * { margin: 0 !important; }
.ss-spotlight__lead { color: #e3e6ff; font-size: clamp(0.95rem, 1.1vw, 1rem) !important; font-weight: 400; letter-spacing: normal; line-height: 1.6; max-width: 40em; }
.ss-spotlight__star {
	aspect-ratio: 1 / 1;
	background: url("../images/north-star.svg") center / 74% no-repeat;
	filter: drop-shadow(0 0 28px rgba(25, 195, 234, 0.45));
	justify-self: center;
	width: min(100%, 250px);
}
.ss-spotlight__star::before {
	border: 2px solid rgba(157, 233, 250, 0.55);
	border-radius: 50%;
	box-shadow: 0 0 24px rgba(25, 195, 234, 0.35), inset 0 0 24px rgba(123, 51, 242, 0.35);
	content: "";
	inset: 6%;
	position: absolute;
}
@media (max-width: 1023px) {
	/* Brand and compass share the top row; the description takes the full width below. */
	.ss-spotlight { grid-template-columns: minmax(0, 1fr) auto; }
	.ss-spotlight__star { grid-column: 2; grid-row: 1; width: 170px; }
	.ss-spotlight__body { border-left: 0; border-top: 1px solid var(--ss-line-dark); grid-column: 1 / -1; padding: 1.75rem 0 0; }
}
@media (max-width: 680px) {
	.ss-spotlight { grid-template-columns: minmax(0, 1fr); }
	.ss-spotlight__star { grid-column: auto; grid-row: auto; opacity: 0.35; position: absolute; right: -4%; top: -10%; width: 220px; z-index: 0; }
}

/* ---------- 05 Intelligence Labs ---------- */

.ss-labs {
	align-items: center;
	background: var(--ss-night);
	border-radius: var(--ss-radius-lg);
	box-shadow: 0 30px 60px -32px rgba(42, 22, 128, 0.65);
	display: grid;
	gap: clamp(1.5rem, 3vw, 2.5rem);
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr);
	overflow: hidden;
	padding: clamp(2rem, 4vw, 3rem);
	position: relative;
}
.ss-labs::before {
	background: radial-gradient(40% 55% at 30% 50%, rgba(123, 51, 242, 0.35), transparent 70%),
		radial-gradient(30% 40% at 36% 60%, rgba(25, 195, 234, 0.18), transparent 70%);
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
}
.ss-labs::after {
	background: linear-gradient(160deg, transparent 40%, rgba(25, 195, 234, 0.55) 49%, rgba(123, 51, 242, 0.6) 52%, transparent 60%);
	bottom: -30%;
	content: "";
	height: 70%;
	pointer-events: none;
	position: absolute;
	right: -10%;
	width: 60%;
}
.ss-labs > * { margin: 0 !important; position: relative; z-index: 1; }
.ss-labs__intro > * { margin-block: 0 !important; }
.ss-labs__intro h2 { color: #fff; font-size: clamp(2.4rem, 4.4vw, 3.6rem) !important; line-height: 1.02; margin: 0 0 1.25rem !important; }
.ss-labs__intro p:last-child { color: var(--ss-on-dark-text); font-size: 1.12rem; }

/* One preview card (GTM & n8n Workflow Library) since 2026-11-19, so a single column at every width. */
.ss-labs__channels { display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr); }
.ss-lab-card {
	align-items: center;
	background: linear-gradient(160deg, rgba(76, 52, 190, 0.35) 0%, rgba(20, 24, 90, 0.6) 100%);
	border: 1.5px solid rgba(176, 140, 255, 0.55);
	border-radius: 22px;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 0 40px -14px rgba(123, 51, 242, 0.7);
	column-gap: 0.9rem;
	display: grid;
	grid-template-areas: "icon title art" "desc desc art" "soon soon art";
	grid-template-columns: auto minmax(0, 1fr) minmax(60px, 24%);
	overflow: hidden;
	padding: 1.6rem;
	row-gap: 0.75rem;
}
.ss-lab-card--templates { border-color: rgba(240, 107, 184, 0.5); }
.ss-lab-card::after { align-self: stretch; background: url("../images/labs-layers.svg") center / contain no-repeat; content: ""; grid-area: art; min-height: 110px; }
.ss-lab-card--templates::after { background-image: url("../images/labs-window.svg"); }
.ss-lab-card > * { margin: 0 !important; }
.ss-lab-card .ss-glyph { background: linear-gradient(135deg, #fff 0%, #9de9fa 100%); grid-area: icon; }
.ss-lab-card--templates .ss-glyph { background: linear-gradient(135deg, #f06bb8 0%, #b98cff 100%); }
.ss-lab-card h3 { color: #fff; font-size: 1.22rem !important; grid-area: title; line-height: 1.25; }
.ss-lab-card p { color: var(--ss-on-dark-text); font-size: 1rem; grid-area: desc; line-height: 1.55; }
.ss-lab-card .ss-soon { color: #f6a5d6; font-size: 1.08rem; font-weight: 700; grid-area: soon; }

@media (max-width: 1100px) { .ss-labs { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) {
	.ss-lab-card { grid-template-areas: "icon title" "desc desc" "soon soon"; grid-template-columns: auto minmax(0, 1fr); padding: 1.35rem; }
	.ss-lab-card::after { display: none; }
}

/* ---------- 06 Delivery framework ---------- */

.ss-framework-section { overflow: hidden; }
.ss-framework-section::before {
	background: radial-gradient(38% 60% at 100% 0%, rgba(25, 195, 234, 0.22), transparent 70%),
		radial-gradient(32% 50% at 86% 0%, rgba(176, 92, 246, 0.28), transparent 70%);
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
}
.ss-framework-section .ss-container { position: relative; }
.ss-framework-section .ss-section-head { max-width: none; }
.ss-framework-section h2 { font-size: clamp(2rem, 3.5vw, 3.05rem) !important; }
.ss-framework-section .ss-lead { max-width: none; }

.ss-stages {
	display: grid;
	gap: 0.75rem;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	list-style: none;
	margin: 0;
	padding: 1.4rem 0 0;
	position: relative;
}
/* Connector: visible in the gaps between cards. */
.ss-stages::before {
	background: linear-gradient(90deg, #3a1fb0, var(--ss-purple), #3b5be8, var(--ss-cyan));
	content: "";
	height: 2px;
	left: 7%;
	position: absolute;
	right: 7%;
	top: 1.4rem;
}
.ss-stage {
	align-items: center;
	background: #fff;
	border: 1px solid var(--ss-border);
	border-radius: 22px;
	box-shadow: var(--ss-shadow);
	display: flex;
	flex-direction: column;
	padding: 2.5rem 1rem 1.5rem;
	position: relative;
	text-align: center;
	z-index: 1;
}
.ss-stage:nth-child(1) { --ss-stage: #161a5e; }
.ss-stage:nth-child(2) { --ss-stage: #3a1fb0; }
.ss-stage:nth-child(3) { --ss-stage: #5120b8; }
.ss-stage:nth-child(4) { --ss-stage: #4146d8; }
.ss-stage:nth-child(5) { --ss-stage: #2d62d6; }
.ss-stage:nth-child(6) { --ss-stage: #1477c4; }
.ss-stage:nth-child(7) { --ss-stage: #0a7fae; }
.ss-stage__num {
	color: #fff;
	font-size: 1.3rem;
	font-weight: 800;
	isolation: isolate;
	left: 50%;
	letter-spacing: 0.02em;
	line-height: 1;
	min-width: 3.8rem;
	padding: 0.45rem 1rem;
	position: absolute;
	text-align: center;
	top: -1.25rem;
	transform: translateX(-50%);
}
.ss-stage__num::before { background: var(--ss-stage); border-radius: 8px; content: ""; inset: 0; position: absolute; transform: skewX(-16deg); z-index: -1; }
.ss-stage:not(:last-child)::after {
	background: var(--ss-stage);
	border-radius: 50%;
	box-shadow: 0 0 0 3px #fff;
	content: "";
	height: 12px;
	position: absolute;
	right: calc(-0.375rem - 6px);
	top: -6px;
	width: 12px;
	z-index: 2;
}
.ss-stage .ss-glyph { margin: 0.25rem 0 0.9rem; }
.ss-stage h3 { color: var(--ss-navy); font-size: 1.1rem !important; line-height: 1.2; margin: 0; }
.ss-stage h3::after { background: var(--ss-stage); border-radius: 3px; content: ""; display: block; height: 3px; margin: 0.8rem auto 0; width: 2.4rem; }
.ss-stage p { color: var(--ss-ink); font-size: 0.9rem; line-height: 1.5; margin: 0.9rem 0 0; text-align: left; }

.ss-loop { display: flex; justify-content: center; margin-top: 0.5rem; padding-top: 1.9rem; position: relative; }
.ss-loop__arc { height: 3.4rem; position: absolute; top: 0; width: 43%; }
.ss-loop__arc::before { content: ""; inset: 0; position: absolute; }
.ss-loop__arc::after { content: ""; height: 12px; position: absolute; top: -10px; width: 18px; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.ss-loop__arc--start { left: 7%; }
.ss-loop__arc--start::before { border-bottom: 3px solid #4a1fd0; border-bottom-left-radius: 28px; border-left: 3px solid #4a1fd0; }
.ss-loop__arc--start::after { background: #4a1fd0; left: -7.5px; }
.ss-loop__arc--end { right: 7%; }
.ss-loop__arc--end::before { border-bottom: 3px solid #0e86b8; border-bottom-right-radius: 28px; border-right: 3px solid #0e86b8; }
.ss-loop__arc--end::after { background: #0e86b8; right: -7.5px; }
.ss-loop__label {
	align-items: center;
	background: var(--ss-grad-cta);
	border-radius: var(--ss-pill);
	box-shadow: 0 14px 30px -14px rgba(74, 64, 230, 0.7);
	color: #fff;
	display: inline-flex;
	font-size: 1.02rem !important;
	font-weight: 800;
	gap: 0.9rem;
	letter-spacing: 0.2em;
	margin: 0 !important;
	padding: 0.85rem 2.4rem;
	position: relative;
	text-transform: uppercase;
	z-index: 1;
}
.ss-loop__label .ss-glyph { height: 1.7rem; width: 1.7rem; }

@media (max-width: 1180px) {
	.ss-stages { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 2.75rem; }
	.ss-stages::before, .ss-stage::after, .ss-loop__arc { display: none; }
	.ss-loop { margin-top: 2rem; padding-top: 0; }
}
@media (max-width: 760px) {
	.ss-stages { grid-template-columns: minmax(0, 1fr); row-gap: 2.25rem; }
	.ss-stages::before { background: linear-gradient(180deg, #3a1fb0, var(--ss-purple), #3b5be8, var(--ss-cyan)); bottom: 0; display: block; height: auto; left: 2.4rem; right: auto; top: 0; width: 2px; }
	.ss-stage { align-items: flex-start; padding: 2.4rem 1.35rem 1.4rem; text-align: left; }
	.ss-stage__num { left: 1.35rem; transform: none; }
	.ss-stage h3::after { margin-left: 0; }
	.ss-loop__label { font-size: 0.9rem !important; letter-spacing: 0.14em; padding: 0.8rem 1.4rem; }
}

/* ---------- 07 Newsletter ---------- */

.ss-newsletter-band {
	background: radial-gradient(55% 80% at 100% 0%, rgba(123, 51, 242, 0.45), transparent 60%),
		linear-gradient(120deg, #080c2e 0%, #10154a 55%, #1c1263 100%);
	color: var(--ss-on-dark-text);
	overflow: hidden;
	padding-block: clamp(4rem, 8vw, 6.5rem);
	position: relative;
}
.ss-newsletter-band::before {
	background: url("../images/wave-dark.svg") left bottom / 100% 100% no-repeat;
	bottom: 0;
	content: "";
	height: 26%;
	left: 0;
	opacity: 0.55;
	pointer-events: none;
	position: absolute;
	width: 75%;
}
/* Architectural glass artwork, right edge. */
.ss-newsletter-band::after {
	background: repeating-linear-gradient(90deg, rgba(198, 160, 255, 0.55) 0 2px, transparent 2px 68px),
		repeating-linear-gradient(0deg, rgba(198, 160, 255, 0.4) 0 2px, transparent 2px 82px),
		linear-gradient(165deg, rgba(176, 92, 246, 0.65) 0%, rgba(59, 91, 232, 0.4) 55%, rgba(25, 195, 234, 0.2) 100%);
	bottom: -12%;
	content: "";
	height: 80%;
	-webkit-mask-image: linear-gradient(to left, #000 35%, transparent 100%);
	mask-image: linear-gradient(to left, #000 35%, transparent 100%);
	pointer-events: none;
	position: absolute;
	right: -4%;
	transform: skewY(-30deg);
	transform-origin: right bottom;
	width: clamp(200px, 22vw, 360px);
}
.ss-newsletter-band__grid {
	align-items: center;
	display: grid;
	gap: clamp(2rem, 5vw, 4.5rem);
	grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
	position: relative;
	z-index: 1;
}
.ss-newsletter-band__grid > * { margin: 0 !important; }
.ss-newsletter-band__main > * { margin-block: 0 !important; }
.ss-newsletter-band__main h2 { color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.6rem) !important; line-height: 1.05; margin: 0 0 1.25rem !important; }
.ss-newsletter-band__lead { color: var(--ss-on-dark-text); font-size: 1.15rem !important; max-width: 36em; }

.ss-signup {
	align-items: center;
	background: #fff;
	border-radius: var(--ss-pill);
	box-shadow: 0 0 0 3px rgba(185, 160, 255, 0.25), 0 20px 40px -20px rgba(25, 195, 234, 0.5);
	display: flex;
	gap: 0.5rem;
	margin-top: 2rem;
	max-width: 40rem;
	padding: 0.45rem 0.45rem 0.45rem 0.6rem;
}
.ss-signup__icon { background: #f1eefc; border-radius: 50%; flex: 0 0 auto; height: 2.75rem; position: relative; width: 2.75rem; }
.ss-signup__icon::after {
	background: var(--ss-navy);
	content: "";
	inset: 0.7rem;
	-webkit-mask: url("../icons/mail.svg") center / contain no-repeat;
	mask: url("../icons/mail.svg") center / contain no-repeat;
	position: absolute;
}
.ss-signup__input {
	background: transparent;
	border: 0;
	color: var(--ss-ink);
	flex: 1 1 auto;
	font: inherit;
	font-size: 1.05rem;
	min-width: 0;
	padding: 0.8rem 0.5rem;
}
.ss-signup__input::placeholder { color: #5d6285; opacity: 1; }
.ss-signup__button {
	background: var(--ss-grad-cta);
	border: 0;
	border-radius: var(--ss-pill);
	color: #fff;
	flex: 0 0 auto;
	font: inherit;
	font-size: 1.05rem;
	font-weight: 800;
	padding: 0.95rem 1.75rem;
}
/* Not connected: no form, nothing submits. Disabled controls read as unavailable. */
.ss-signup__input:disabled, .ss-signup__button:disabled { cursor: not-allowed; }
.ss-signup__button:disabled { opacity: 0.8; }
.ss-signup__note { align-items: flex-start; color: var(--ss-on-dark-text); display: flex; font-size: 0.98rem; gap: 0.6rem; margin-top: 1.1rem !important; }
.ss-signup__note .ss-glyph { height: 1.25rem; margin-top: 0.15rem; width: 1.25rem; }
.ss-signup__note a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ss-signup__note a:hover { color: #b9f0fc; }
.ss-signup__trap { height: 1px; left: -10000px; overflow: hidden; position: absolute; width: 1px; }
.ss-signup__button[disabled], form.ss-signup[aria-busy="true"] .ss-signup__button { cursor: progress; }
.ss-signup__input:focus-visible { outline: 3px solid var(--ss-cyan); outline-offset: 2px; }
.ss-signup__input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px #ffb4b4; }
.ss-signup__status { border-left: 4px solid currentColor; color: #fff; font-weight: 700; margin-top: 1rem !important; padding: 0.15rem 0 0.15rem 0.75rem; }
.ss-signup__status--success { color: #b9f0fc; }
.ss-signup__status--info { color: #fff; }
.ss-signup__status--error { color: #ffd1d1; }
.ss-signup-action { align-items: center; display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; }
.ss-signup-action .ss-signup__prompt { color: #fff; font-weight: 700; margin: 0; }

.ss-newsletter-band__benefits { border-left: 1px solid var(--ss-line-dark); padding-left: clamp(1.5rem, 4vw, 3.5rem); }
.ss-newsletter-band__benefits .ss-eyebrow { color: #fff; font-size: 0.95rem !important; letter-spacing: 0.22em; margin-bottom: 1.25rem !important; }
.ss-benefits { display: grid; gap: 0.9rem; list-style: none; margin: 0; padding: 0; }
.ss-benefits li {
	align-items: center;
	background: rgba(28, 24, 96, 0.78);
	border: 1px solid rgba(160, 130, 255, 0.45);
	border-radius: 16px;
	color: #fff;
	display: flex;
	font-size: 1.1rem;
	gap: 1.1rem;
	min-height: 4.6rem;
	overflow: hidden;
	padding: 0 1.2rem 0 0;
}
.ss-benefits__icon {
	align-self: stretch;
	background: rgba(123, 51, 242, 0.22);
	border-right: 1px solid rgba(160, 130, 255, 0.3);
	display: grid;
	flex: 0 0 auto;
	place-items: center;
	width: 4.4rem;
}
.ss-benefits__icon .ss-glyph { height: 1.65rem; width: 1.65rem; }

@media (max-width: 1023px) { .ss-newsletter-band::after { display: none; } }
@media (max-width: 960px) {
	.ss-newsletter-band__grid { grid-template-columns: minmax(0, 1fr); }
	.ss-newsletter-band__benefits { border-left: 0; border-top: 1px solid var(--ss-line-dark); padding: 2rem 0 0; }
}
@media (max-width: 520px) {
	.ss-signup { border-radius: 20px; flex-wrap: wrap; padding: 0.6rem; }
	.ss-signup__input { flex: 1 1 0; }
	.ss-signup__button { flex-basis: 100%; }
}

/* ---------- Preferences ---------- */

@media (prefers-reduced-motion: reduce) {
	.ss-home .ss-btn-gradient .wp-block-button__link:hover { filter: none; }
}
@media (forced-colors: active) {
	.ss-glyph, .ss-signup__icon { display: none; }
	.ss-gradient-text--light, .ss-spotlight__wordmark span { background: none; color: CanvasText; }
	.ss-signup__button, .ss-loop__label { border: 1px solid ButtonText; }
}

/* Fractional & Contract Consulting callout after the four service cards (owner-approved 2026-11-06). */
.ss-fc-callout { align-items: center; display: grid !important; gap: 0.4rem 1.6rem !important; grid-template-columns: auto 1fr auto; margin-top: 1.75rem !important; padding: 1.4rem 1.75rem !important; }
.ss-fc-callout .ss-eyebrow { font-size: 0.78rem !important; margin: 0 0 0.2rem !important; }
.ss-fc-callout h3 { color: var(--ss-navy); font-size: 1.25rem !important; margin: 0 0 0.25rem !important; }
.ss-fc-callout__text p:last-child { max-width: 46rem; }
.ss-fc-callout .ss-link-arrow { margin: 0 !important; padding: 0 !important; white-space: nowrap; }
@media (max-width: 1023px) {
	.ss-fc-callout { grid-template-columns: auto 1fr; }
	.ss-fc-callout .ss-link-arrow { grid-column: 2; }
}
@media (max-width: 767px) {
	.ss-fc-callout { grid-template-columns: 1fr; padding: 1.3rem 1.25rem !important; }
	.ss-fc-callout .ss-link-arrow { grid-column: 1; white-space: normal; }
}
