/* Sketch Landing — Hero.
   The inset rounded panel the home hero uses (10px from the viewport edge,
   24px radius), with the global header floating over it on desktop. */

.sklph {
	--sklph-margin: 10px;
	--sklph-radius: 24px;
	--sklph-fg: #ffffff;
	--sklph-muted: rgba(255, 255, 255, 0.78);
	--sklph-line: rgba(255, 255, 255, 0.18);
	position: relative;
	isolation: isolate;
	overflow: hidden;
	width: calc(100vw - var(--sklph-margin) * 2);
	max-width: none;
	margin: var(--sklph-margin) calc(50% - 50vw + var(--sklph-margin)) 0;
	border-radius: var(--sklph-radius);
	background: #2b2563;
	color: var(--sklph-fg);
	/* Top padding clears the floating header (bottom edge at ~78px) with room to
	   spare; the rest is kept lean so the whole panel sits inside a 900px fold. */
	padding: clamp(104px, 9vw, 128px) clamp(20px, 4vw, 56px) clamp(32px, 3vw, 40px);
}
.sklph--dark { background: var(--lp-ink-2); }
.sklph--gradient {
	background: linear-gradient(135deg, #2b2563 0%, #5b47ff 42%, #b23cd9 78%, #ff33b9 100%);
}
.sklph--wash {
	--sklph-fg: var(--lp-ink);
	--sklph-muted: var(--lp-muted);
	--sklph-line: rgba(16, 19, 38, 0.12);
	background: linear-gradient(160deg, #ffffff 0%, #dce9f7 100%);
	color: var(--lp-ink);
}

/* Soft colour blooms behind the gradient, drifting slowly. */
.sklph__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.sklph__glow {
	position: absolute;
	border-radius: 50%;
	filter: blur(80px);
	mix-blend-mode: screen;
	opacity: 0.6;
	will-change: transform;
}
.sklph__glow--a { width: 52vw; height: 52vw; left: -14vw; top: -22vw; background: #6d46ff; animation: sklph-drift-a 18s ease-in-out infinite alternate; }
.sklph__glow--b { width: 46vw; height: 46vw; right: -14vw; bottom: -28vw; background: #ff33b9; opacity: 0.5; animation: sklph-drift-b 22s ease-in-out infinite alternate; }
.sklph__glow--c { width: 28vw; height: 28vw; left: 44%; top: 26%; background: #24b6ff; opacity: 0.22; animation: sklph-drift-c 26s ease-in-out infinite alternate; }
@keyframes sklph-drift-a { to { transform: translate(7vw, 5vw) scale(1.08); } }
@keyframes sklph-drift-b { to { transform: translate(-6vw, -4vw) scale(1.1); } }
@keyframes sklph-drift-c { to { transform: translate(-5vw, 6vw) scale(1.15); } }

/* Background imagery — the home hero's carousel treatment (blur, overscale,
   1.6s crossfade, slow settle) with the brand gradient laid over it as a tint,
   so the pictures read as texture and movement under the colour rather than
   as photography. Layers, bottom to top: media → tint → glows → content. The
   images are absolutely positioned, so nothing moves while they load. */
.sklph__media {
	position: absolute;
	inset: 0;
	z-index: -3;
	overflow: hidden;
	pointer-events: none;
	background: inherit;
}
.sklph .sklph__media-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	display: block;
	transform: scale(1.08);
	/* Slightly darkened so the lightest photos never wash out the white copy. */
	filter: blur(var(--sklph-blur, 20px)) saturate(1.2) brightness(var(--sklph-media-brightness, 0.72));
	opacity: 0;
	transition: opacity 1.6s cubic-bezier(0.4, 0, 0.2, 1);
	will-change: opacity;
}
.sklph .sklph__media-img.is-active {
	opacity: 1;
	animation: sklph-media-settle 18s ease-out forwards;
}
@keyframes sklph-media-settle {
	from { transform: scale(1.08); }
	to   { transform: scale(1.12); }
}
.sklph__tint { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.sklph--gradient .sklph__tint {
	background: linear-gradient(135deg, rgba(43, 37, 99, 0.74) 0%, rgba(91, 71, 255, 0.66) 42%, rgba(178, 60, 217, 0.64) 78%, rgba(255, 51, 185, 0.7) 100%);
}
.sklph--dark .sklph__tint { background: rgba(11, 6, 43, 0.72); }
.sklph--wash { --sklph-media-brightness: 1.04; }
.sklph--wash .sklph__tint {
	background: linear-gradient(160deg, rgba(255, 255, 255, 0.74) 0%, rgba(228, 238, 250, 0.66) 100%);
}
/* With imagery beneath, the glows only need to lift the colour, not carry it. */
.sklph--media .sklph__glow { opacity: 0.4; }
/* The small white copy gets a soft, wide shadow so it stays comfortable over the
   lightest patches of a photo; the display sizes carry themselves. */
.sklph--gradient.sklph--media .sklph__sub,
.sklph--gradient.sklph--media .sklph__stat-label,
.sklph--gradient.sklph--media .sklph__foot,
.sklph--dark.sklph--media .sklph__sub,
.sklph--dark.sklph--media .sklph__stat-label,
.sklph--dark.sklph--media .sklph__foot { text-shadow: 0 1px 2px rgba(11, 6, 43, 0.28), 0 8px 28px rgba(11, 6, 43, 0.3); }

/* Header overlap rules (body.sklph-on-page) live in lp-base.css so the
   confirmation hero gets them too. */
@media (max-width: 768px) {
	.sklph {
		--sklph-margin: 8px;
		padding-top: clamp(40px, 8vw, 64px);
	}
}

/* ── Layout ── */
.sklph__inner {
	position: relative;
	max-width: var(--lp-max);
	margin: 0 auto;
	display: grid;
	/* Card takes 40% of the row (380–520px); the copy column keeps the rest. */
	grid-template-columns: minmax(0, 1fr) clamp(380px, 40%, 520px);
	gap: clamp(28px, 4vw, 64px);
	align-items: center;
}
.sklph--panel-none .sklph__inner { grid-template-columns: minmax(0, 1fr); }
.sklph--panel-calendly .sklph__inner { align-items: start; }
@media (max-width: 980px) {
	.sklph__inner { grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 6vw, 48px); }
}

/* ── Copy ── */
.sklph__copy { min-width: 0; }
.sklph__top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 14px;
	margin-bottom: clamp(20px, 2.4vw, 32px);
}
.sklph__badge { display: inline-flex; }
/* Positioning label: a plain pill (no marker dot, no tail — the speech bubble is for section labels). */
.sklph__kicker {
	display: inline-flex;
	align-items: center;
	padding: 9px 16px;
	border-radius: 999px;
	background: var(--lp-lilac);
	color: var(--lp-indigo);
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	white-space: nowrap;
}
.sklph__kicker--glass {
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
	-webkit-backdrop-filter: blur(10px) saturate(140%);
	backdrop-filter: blur(10px) saturate(140%);
}
.sklph__heading {
	margin: 0 0 clamp(18px, 2vw, 26px);
	font-size: clamp(40px, 6vw, 84px);
	font-weight: 600;
	line-height: 0.98;
	letter-spacing: -0.03em;
	color: var(--sklph-fg);
	text-wrap: balance;
	max-width: 14ch;
}
.sklph__heading .sk-sweep__word {
	--sk-distance: 0.28em;
	--sk-duration: 1s;
	--sk-ease: cubic-bezier(0.16, 1, 0.3, 1);
}
.sklph--wash .sklph__heading { --sk-sweep-fg: var(--lp-ink); }
.sklph__sub {
	max-width: 46ch;
	font-size: clamp(17px, 1.35vw, 21px);
	line-height: 1.5;
	color: var(--sklph-muted);
	text-wrap: pretty;
}
/* Proof stats. Three cells in a grid, a hairline above the group and a faded
   hairline in the middle of each gutter (the Suite stats-row's divider), so
   the separators belong to the layout instead of hanging off the items. Value
   over label, both left-aligned to the cell. */
.sklph .sklph__stats {
	--sklph-stat-gap: clamp(28px, 3vw, 48px);
	display: grid;
	grid-template-columns: repeat(3, auto);
	justify-content: start;
	column-gap: var(--sklph-stat-gap);
	width: fit-content;
	max-width: 100%;
	margin-top: clamp(28px, 3.2vw, 44px);
	padding-top: clamp(22px, 2.4vw, 30px);
	border-top: 1px solid var(--sklph-line);
}
.sklph__stat {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	gap: 8px;
	min-width: 0;
	padding: 4px 0;
	color: var(--sklph-fg);
}
.sklph__stat + .sklph__stat::before {
	content: "";
	position: absolute;
	left: calc(var(--sklph-stat-gap) * -0.5);
	top: 8%;
	bottom: 8%;
	width: 1px;
	background: linear-gradient(to bottom, transparent, var(--sklph-line) 22%, var(--sklph-line) 78%, transparent);
}
.sklph__stat-value {
	font-size: clamp(28px, 2.7vw, 40px);
	font-weight: 600;
	line-height: 1;
	letter-spacing: -0.03em;
	color: var(--sklph-fg);
	font-variant-numeric: tabular-nums;
}
.sklph__stat-label { font-size: 14px; line-height: 1.3; color: var(--sklph-muted); }

/* ── Conversion panel ── */
.sklph__panel { position: relative; min-width: 0; }
@media (max-width: 980px) {
	.sklph__panel { width: 100%; max-width: 580px; margin-inline: auto; }
}
.sklph__card {
	position: relative;
	background: #fff;
	color: var(--lp-ink);
	border-radius: var(--lp-radius-lg);
	padding: clamp(22px, 2.1vw, 30px);
	box-shadow: 0 1px 2px rgba(11, 6, 43, 0.04), 0 30px 70px -24px rgba(11, 6, 43, 0.5);
}
.sklph--wash .sklph__card { border: 1px solid rgba(11, 6, 43, 0.08); box-shadow: var(--lp-shadow-card); }
.sklph--panel-calendly .sklph__card { padding: clamp(18px, 1.8vw, 24px); }
.sklph__card-head { display: grid; gap: 6px; margin-bottom: 14px; }
.sklph__card-pill,
.sklph__card-note {
	justify-self: start;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 6px 12px 6px 10px;
	border-radius: 999px;
	background: #eefbe7;
	color: #23511a;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	margin: 0;
}
.sklph__card-pill { margin-bottom: 4px; }
.sklph__card-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #25d366;
	box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55);
	animation: sklph-pulse 1.8s ease-out infinite;
}
@keyframes sklph-pulse {
	0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
	100% { box-shadow: 0 0 0 9px rgba(37, 211, 102, 0); }
}
.sklph__card-title {
	margin: 0;
	font-size: clamp(20px, 1.7vw, 24px);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: var(--lp-ink);
}
.sklph__card-sub { margin: 0; font-size: 15px; line-height: 1.5; color: var(--lp-muted); }
.sklph__card-privacy {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin: 12px 0 0;
	font-size: 13px;
	color: var(--lp-muted);
}
.sklph__card-privacy svg { width: 13px; height: 13px; flex: 0 0 auto; }
.sklph__notice { margin: 0; padding: 14px; border-radius: 12px; background: var(--lp-panel); color: var(--lp-muted); font-size: 14px; }

/* Calendly mount (Suite booking runtime; narrow, untrimmed). */
.sklp-cal { position: relative; overflow: hidden; border-radius: 16px; background: #fff; }
.sklp-cal .skbk__embed { min-height: 420px; }

/* ── Footer captions ── */
.sklph__foot {
	max-width: var(--lp-max);
	margin: clamp(24px, 3vw, 40px) auto 0;
	display: flex;
	justify-content: space-between;
	gap: 24px;
	font-size: 13px;
	line-height: 1.5;
	color: var(--sklph-muted);
}
/* Short desktop viewports (1366×768 laptops): trim the vertical rhythm a little
   further so the panel still closes inside the first fold. Phones and tablets
   are excluded; there the hero grows to fit its content. */
@media (min-width: 981px) and (max-height: 820px) {
	.sklph { padding-top: 96px; padding-bottom: 24px; }
	.sklph__foot { margin-top: 16px; }
	.sklph__card { padding: 24px 26px; }
	.sklph__card-head { margin-bottom: 12px; }
	.sklph__card-title { font-size: 22px; }
	.sklph__card-privacy { margin-top: 6px; }
	.sklph .sklpf .scrm-field input[type="text"],
	.sklph .sklpf .scrm-field input[type="email"],
	.sklph .sklpf .scrm-field input[type="tel"] { min-height: 46px; padding-top: 10px; padding-bottom: 10px; }
	.sklph .sklph__stats { margin-top: 28px; padding-top: 20px; }
	.sklph__heading { margin-bottom: 18px; }
}

@media (max-width: 600px) {
	.sklph { padding-left: 20px; padding-right: 20px; }
	.sklph__foot { flex-direction: column; gap: 6px; }
	.sklph .sklph__stats { --sklph-stat-gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
	.sklph__stat { gap: 6px; }
	.sklph__stat-value { font-size: 24px; }
	.sklph__stat-label { font-size: 13px; }
	.sklph__card { padding: 20px 18px; }
}

@media (prefers-reduced-motion: reduce) {
	.sklph__glow, .sklph__card-dot { animation: none; }
	/* No crossfade or settle: the first image stays as a still. The cycler still
	   toggles is-active, so the first frame is pinned visible and the rest hidden. */
	.sklph .sklph__media-img { transition: none; animation: none; transform: scale(1.08); }
	.sklph .sklph__media-img:first-child { opacity: 1; }
	.sklph .sklph__media-img:not(:first-child) { display: none; }
}
