/* Shared offer-page hero — editorial headline.
 * The marquee repeats only the CMS-authored heading.
 */
.brand-editorial-hero {
	--brand-hero-ink: #f6efe6;
	--brand-hero-ink-dim: rgba(246, 239, 230, 0.68);
	--brand-hero-recede: 0;
	--brand-hero-red: #c0362c;
	--brand-hero-wine: #f65058;
	background: var(--brand-hero-wine);
	color: var(--brand-hero-ink);
	isolation: isolate;
	min-height: 100vh;
	overflow: hidden;
	padding: 0;
	position: relative;
}

.brand-editorial-hero--brand_consultant {
	--brand-hero-wine: var(--ys-client-coral);
}

.brand-editorial-hero--fractional_cbo {
	--brand-hero-ink: #2a0f10;
	--brand-hero-ink-dim: rgba(42, 15, 16, 0.62);
	--brand-hero-wine: #f8f1e3;
}

.brand-editorial-hero--speaker {
	--brand-hero-wine: #808080;
}

.brand-editorial-hero--training {
	--brand-hero-wine: #4d56c0;
}

.brand-editorial-hero::after {
	display: none;
}

.brand-editorial-hero__opening {
	height: 100vh;
	overflow: hidden;
	position: relative;
}

.brand-editorial-hero__marquee {
	inset: -10% -12%;
	overflow: hidden;
	pointer-events: none;
	position: absolute;
	opacity: calc(1 - var(--brand-hero-recede));
	transform: rotate(-7deg) scale(1.08);
	z-index: 0;
}

.brand-editorial-hero__marquee-row {
	left: 0;
	overflow: hidden;
	position: absolute;
	width: 100%;
}

.brand-editorial-hero__marquee-row--1 {
	top: 10%;
}

.brand-editorial-hero__marquee-row--2 {
	top: 42%;
}

.brand-editorial-hero__marquee-row--3 {
	top: 74%;
}

.brand-editorial-hero__marquee-track {
	animation: brand-editorial-marquee 64s linear infinite;
	display: flex;
	width: max-content;
	will-change: transform;
}

.brand-editorial-hero__marquee-row--2 .brand-editorial-hero__marquee-track {
	animation-direction: reverse;
	animation-duration: 72s;
}

.brand-editorial-hero__marquee-row--3 .brand-editorial-hero__marquee-track {
	animation-duration: 68s;
}

.brand-editorial-hero__marquee-group {
	display: flex;
	flex-shrink: 0;
}

.brand-editorial-hero__marquee-text {
	--brand-marquee-outline: var(--brand-hero-ink-dim);
	color: transparent;
	flex-shrink: 0;
	font-family: var(--ys-preview-primary, var(--ys-service-primary-font, "Instrument Sans", sans-serif));
	font-size: clamp(3.25rem, 7.5vw, 7.25rem);
	font-style: normal;
	font-weight: 600;
	letter-spacing: -0.045em;
	line-height: 0.92;
	margin: 0;
	max-width: none;
	opacity: 0.55;
	padding-right: 0.45em;
	paint-order: stroke fill;
	white-space: nowrap;
	-webkit-text-fill-color: transparent;
	-webkit-text-stroke: 0.75px var(--brand-marquee-outline);
}

.brand-editorial-hero__vignette {
	background: radial-gradient(ellipse at 48% 48%, rgba(42, 15, 16, 0.04) 0, rgba(42, 15, 16, 0.2) 52%, rgba(42, 15, 16, 0.7) 100%);
	inset: 0;
	mask-image: linear-gradient(to bottom, #000 0 72%, transparent 100%);
	opacity: calc(1 - var(--brand-hero-recede));
	pointer-events: none;
	position: absolute;
	z-index: 1;
}

.brand-editorial-hero__stage {
	left: 50%;
	max-width: 70vw;
	position: absolute;
	opacity: calc(1 - var(--brand-hero-recede));
	top: 51%;
	transform: translate(-50%, -50%) scale(calc(1 - (var(--brand-hero-recede) * 0.16)));
	transform-origin: center center;
	width: 70vw;
	z-index: 3;
}

.brand-editorial-hero--speaker .brand-editorial-hero__stage {
	max-width: 82vw;
	width: 82vw;
}

.brand-editorial-hero .brand-editorial-hero__eyebrow {
	color: var(--brand-hero-ink);
	margin-bottom: clamp(1.25rem, 2.5vw, 2.5rem);
}

.brand-editorial-hero__title {
	margin: 0;
	max-width: none;
	text-align: start;
	width: 100%;
}

.brand-editorial-hero__line {
	display: block;
	margin-left: 0;
	overflow: visible;
	position: relative;
	width: 100%;
}

.brand-editorial-hero__line-text {
	display: block;
	font-size: var(--brand-hero-line-size, 1em);
	position: relative;
	text-align: start;
	transform-origin: left center;
	white-space: nowrap;
	z-index: 2;
}

.brand-editorial-hero__line-text.is-magnetic {
	font-size: calc(var(--brand-hero-line-size, 1em) * 1.1);
	letter-spacing: 0;
}

.brand-editorial-hero__char {
	display: inline-block;
	transform: translate3d(0, 0, 0);
	will-change: transform;
}

.brand-editorial-hero__ink-circle {
	fill: none;
	height: 1.1em;
	left: -0.12em;
	overflow: visible;
	pointer-events: none;
	position: absolute;
	stroke: var(--brand-hero-red);
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 4;
	top: -0.05em;
	transform: rotate(-3deg);
	width: min(4.4em, 110%);
	z-index: 1;
}

.brand-editorial-hero__scroll {
	bottom: max(1.75rem, env(safe-area-inset-bottom));
	height: clamp(3.5rem, 8vh, 6rem);
	left: 50%;
	overflow: hidden;
	position: absolute;
	opacity: calc(1 - var(--brand-hero-recede));
	transform: translateX(-50%);
	width: 1px;
	z-index: 4;
}

.brand-editorial-hero__problem {
	background: linear-gradient(to bottom, rgba(42, 15, 16, 0) 0%, rgba(42, 15, 16, 0.2) 14%, rgba(42, 15, 16, 0.38) 100%);
	padding: clamp(6rem, 12vh, 10rem) 0 clamp(8rem, 16vh, 13rem);
	position: relative;
	z-index: 3;
}

.brand-editorial-hero--fractional_cbo .brand-editorial-hero__vignette {
	background: radial-gradient(ellipse at 48% 48%, rgba(42, 15, 16, 0.01) 0, rgba(42, 15, 16, 0.07) 52%, rgba(42, 15, 16, 0.18) 100%);
}

.brand-editorial-hero--fractional_cbo .brand-editorial-hero__problem {
	background: linear-gradient(to bottom, rgba(42, 15, 16, 0) 0%, rgba(42, 15, 16, 0.035) 14%, rgba(42, 15, 16, 0.08) 100%);
}

.brand-editorial-hero__problem-inner {
	margin: 0 auto;
	max-width: 78rem;
	width: min(90vw, calc(100% - 3rem));
}

.brand-editorial-hero__problem-list {
	display: grid;
}

.brand-editorial-hero__problem-line {
	border-bottom: 1px solid rgba(246, 239, 230, 0.28);
	max-width: none;
	padding: clamp(2.25rem, 5vw, 4rem) 0;
	width: 100%;
}

.brand-editorial-hero--fractional_cbo .brand-editorial-hero__problem-line {
	border-color: rgba(42, 15, 16, 0.22);
}

.brand-editorial-hero__problem-line:first-child {
	padding-top: 0;
}

.brand-editorial-hero__problem-line.is-closing-line {
	border-bottom: 0;
	opacity: 0.82;
	padding-bottom: 0;
}

.brand-editorial-hero__problem-line .ys-hero-scroll__statement-inner {
	font-size: clamp(1.45rem, 2.35vw, 2rem);
	line-height: 1.3;
}

.brand-editorial-hero__problem-line .ys-landing__prose,
.brand-editorial-hero__problem-line .ys-landing__prose > :last-child,
.brand-editorial-hero__resolution-copy > :last-child,
.brand-editorial-hero__value > :last-child {
	margin-bottom: 0;
}

.brand-editorial-hero__resolution {
	margin-top: clamp(8rem, 18vh, 14rem);
	max-width: none;
	position: relative;
}

.brand-editorial-hero__resolution-copy {
	position: relative;
	z-index: 1;
}

.brand-editorial-hero__resolution-circle {
	fill: none;
	left: 0;
	overflow: visible;
	pointer-events: none;
	position: absolute;
	stroke: var(--brand-hero-red);
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 4;
	top: 0;
	transform: rotate(-3deg);
	z-index: 0;
}

.brand-editorial-hero.is-motion-ready .brand-editorial-hero__resolution-circle path {
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
	transition: stroke-dashoffset 560ms cubic-bezier(0.22, 1, 0.36, 1);
}

.brand-editorial-hero.is-motion-ready .brand-editorial-hero__resolution.is-circle-drawn .brand-editorial-hero__resolution-circle path {
	stroke-dashoffset: 0;
}

.brand-editorial-hero__close {
	margin-top: clamp(2rem, 5vh, 4rem);
	max-width: 64rem;
}

.brand-editorial-hero__value {
	color: rgba(246, 239, 230, 0.78);
	font-size: clamp(1.15rem, 2.15vw, 1.8rem);
	line-height: 1.55;
}

.brand-editorial-hero__actions {
	margin-top: clamp(2rem, 4vw, 3.5rem);
}

.brand-editorial-hero--fractional_cbo .brand-editorial-hero__value {
	color: rgba(42, 15, 16, 0.78);
}

.brand-editorial-hero__actions .ys-landing__cta--primary {
	background: var(--brand-hero-ink);
	border-color: var(--brand-hero-ink);
	color: var(--brand-hero-red);
}

.brand-editorial-hero--fractional_cbo .brand-editorial-hero__actions .ys-landing__cta--primary {
	color: #f8f1e3;
}

.brand-editorial-hero__actions .ys-landing__cta--secondary {
	border-color: rgba(246, 239, 230, 0.46);
	color: var(--brand-hero-ink);
}

.brand-editorial-hero--fractional_cbo .brand-editorial-hero__actions .ys-landing__cta--secondary {
	border-color: rgba(42, 15, 16, 0.4);
}

.brand-editorial-hero.is-motion-ready [data-brand-hero-reveal] {
	opacity: 0;
	transform: translateY(1.375rem);
	transition: opacity 650ms ease, transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
}

.brand-editorial-hero.is-motion-ready [data-brand-hero-reveal].is-revealed {
	opacity: 1;
	transform: translateY(0);
}

.brand-editorial-hero.is-motion-ready .brand-editorial-hero__close {
	transition-delay: 150ms;
}

.brand-editorial-hero__scroll::before {
	background: rgba(246, 239, 230, 0.28);
	content: "";
	inset: 0;
	position: absolute;
}

.brand-editorial-hero--fractional_cbo .brand-editorial-hero__scroll::before {
	background: rgba(42, 15, 16, 0.28);
}

.brand-editorial-hero__scroll span {
	animation: brand-editorial-scroll-cue 1.8s cubic-bezier(0.22, 1, 0.36, 1) infinite;
	background: var(--brand-hero-red);
	height: 42%;
	left: 0;
	position: absolute;
	top: -45%;
	width: 1px;
}

.brand-editorial-hero__grain {
	background-image: repeating-radial-gradient(circle at 30% 20%, rgba(246, 239, 230, 0.16) 0 0.45px, transparent 0.7px 3px);
	inset: 0;
	mix-blend-mode: overlay;
	opacity: 0.08;
	pointer-events: none;
	position: absolute;
	z-index: 5;
}

.brand-editorial-hero--fractional_cbo .brand-editorial-hero__grain {
	background-image: repeating-radial-gradient(circle at 30% 20%, rgba(42, 15, 16, 0.14) 0 0.45px, transparent 0.7px 3px);
}

.brand-editorial-hero__cursor {
	border: 1px solid rgba(246, 239, 230, 0.62);
	border-radius: 50%;
	height: 2.875rem;
	left: 0;
	opacity: 0;
	pointer-events: none;
	position: fixed;
	top: 0;
	transform: translate3d(-50%, -50%, 0);
	transition: background-color 240ms ease, border-color 240ms ease, height 320ms cubic-bezier(0.22, 1, 0.36, 1), opacity 180ms ease, width 320ms cubic-bezier(0.22, 1, 0.36, 1);
	width: 2.875rem;
	z-index: 9999;
}

.brand-editorial-hero--fractional_cbo .brand-editorial-hero__cursor {
	border-color: rgba(42, 15, 16, 0.56);
}

.brand-editorial-hero__cursor.is-visible {
	opacity: 1;
}

.brand-editorial-hero__cursor.is-magnetic {
	background: rgba(192, 54, 44, 0.12);
	border-color: var(--brand-hero-red);
	height: 5.625rem;
	width: 5.625rem;
}


@keyframes brand-editorial-marquee {

	to {
		transform: translateX(-50%);
	}
}

@keyframes brand-editorial-scroll-cue {

	0% {
		transform: translateY(0);
	}

	70%,
	100% {
		transform: translateY(340%);
	}
}


@media screen and (max-width: 767px) {

	.brand-editorial-hero__stage,
	.brand-editorial-hero--speaker .brand-editorial-hero__stage {
		max-width: 88vw;
		top: 49%;
		width: 88vw;
	}

	.brand-editorial-hero__line-text {
		transform: scale(0.5);
	}

	.brand-editorial-hero--speaker .brand-editorial-hero__line-text,
	.brand-editorial-hero--training .brand-editorial-hero__line-text {
		--brand-hero-line-size: 7.5vw;
	}

	.brand-editorial-hero__ink-circle {
		display: none;
	}

	.brand-editorial-hero__marquee {
		inset-inline: -35%;
	}
}

@media (hover: none), (pointer: coarse) {

	.brand-editorial-hero__cursor {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {

	.brand-editorial-hero__marquee-track,
	.brand-editorial-hero__scroll span {
		animation: none;
	}

	.brand-editorial-hero__char {
		transform: none !important;
	}


	.brand-editorial-hero.is-motion-ready [data-brand-hero-reveal] {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.brand-editorial-hero.is-motion-ready .brand-editorial-hero__resolution-circle path {
		stroke-dashoffset: 0;
		transition: none;
	}

	.brand-editorial-hero__cursor {
		display: none;
	}
}

@media (forced-colors: active) {

	.brand-editorial-hero__marquee,
	.brand-editorial-hero__grain,
	.brand-editorial-hero__vignette {
		display: none;
	}

	.brand-editorial-hero__ink-circle,
	.brand-editorial-hero__scroll::before,
	.brand-editorial-hero__scroll span {
		stroke: canvastext;
	}
}
