/* ==========================================================================
   Creator Story (creator-story.php)
   Self-contained: only loaded by creator-story.php, every class is cs-*.
   ========================================================================== */

:root {
	--cs-amber: #FFB224;
	--cs-orange: #FF7A00;
	--cs-ink: #1A0C00;
	--cs-black: #0B0B0B;
	--cs-cream: #FFF6E6;
	--cs-brown: #5A4636;
	--cs-brown-soft: #6B5544;
	--cs-font: "Outfit", system-ui, sans-serif;
	--cs-display: "Wendy One", "Outfit", system-ui, sans-serif;
	--cs-hand: "Gochi Hand", cursive;
	--cs-gutter: clamp(20px, 8.33vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }

body.cs-page {
	margin: 0;
	background: #FFFFFF;
	color: #111111;
	font-family: var(--cs-font);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

:where(.cs-page) img { display: block; max-width: 100%; height: auto; }
:where(.cs-page) a { color: inherit; text-decoration: none; }
:where(.cs-page) :where(h1, h2, h3, p, blockquote, figure) { margin: 0; }

.cs-icon { display: inline-block; flex-shrink: 0; width: 16px; height: 16px; }

.cs-container {
	width: min(1200px, 100% - 2 * var(--cs-gutter));
	margin-inline: auto;
}

.cs-display { font-family: var(--cs-display); font-weight: 400; }
.cs-hand { font-family: var(--cs-hand); font-weight: 400; }

/* Shared: pill buttons ---------------------------------------------------- */
.cs-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border-radius: 999px;
	background: var(--cs-amber);
	color: var(--cs-ink);
	font-weight: 600;
	white-space: nowrap;
	transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.cs-btn:hover { transform: translateY(-2px); }
.cs-btn .cs-icon { transition: transform .2s ease; }
.cs-btn:hover .cs-icon { transform: translateX(3px); }
.cs-page a:focus-visible, .cs-page button:focus-visible {
	outline: 3px solid var(--cs-amber);
	outline-offset: 3px;
}

/* Shared: section kicker (01 —— THE SPARK) -------------------------------- */
.cs-kicker {
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--cs-orange);
}
.cs-kicker__num { font-family: var(--cs-display); font-size: 18px; }
.cs-kicker__line { width: 40px; height: 2px; background: currentColor; }
.cs-kicker__label { font-size: 15px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; }

/* ==========================================================================
   1. Hero
   ========================================================================== */
.cs-hero {
	position: relative;
	padding: 28px clamp(20px, 5.56vw, 80px) 72px;
	overflow: hidden;
	background: #FCC543;
	color: #FFFFFF;
	text-align: center;
}
/* Background art at its true aspect ratio (never stretched), fading into the flat amber below it */
.cs-hero::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	width: 100%;
	aspect-ratio: 1920 / 1950;
	transform: translateX(-50%);
	background:
		linear-gradient(180deg, #FCC54300 88%, #FCC543 100%),
		url(../images/case_study/hero-bg.webp) no-repeat center top / 100% 100%;
	pointer-events: none;
}
.cs-hero > * { position: relative; z-index: 1; }
/* Curved hand-off into the white section below */
.cs-hero { padding-bottom: calc(72px + var(--cs-curve)); --cs-curve: clamp(8px, 1vw, 14px); }
.cs-hero::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: calc(var(--cs-curve) + 1px);
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0 0C360 84 1080 84 1440 0V90H0Z' fill='%23FFFFFF'/%3E%3C/svg%3E") no-repeat center bottom / 100% 100%;
	pointer-events: none;
}

.cs-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: 1280px;
	margin: 0 auto;
}
.cs-nav__brand { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.cs-nav__logo { width: 160px; height: auto; }
.cs-nav__crumb { color: #DCCA84; font-size: 15px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; }

/* "Meet Dave" profile chip */
.cs-meet {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	margin-top: 64px;
	padding: 6px 28px 6px 6px;
	border-radius: 999px;
	border: 1px solid #FFFFFF14;
	background: linear-gradient(180deg, #FFFFFF12 0%, #FFFFFF06 100%);
	box-shadow: 0 10px 30px #00000040, inset 0 1px 0 #FFFFFF14;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	text-align: left;
}
.cs-meet__photo {
	width: 76px;
	height: 76px;
	flex-shrink: 0;
	border-radius: 50%;
	object-fit: cover;
	box-shadow: 0 4px 14px #00000059;
}
.cs-meet__text { display: flex; flex-direction: column; gap: 4px; }
.cs-meet__name { color: #FFFFFF; font-size: 26px; font-weight: 700; letter-spacing: -.015em; line-height: 1.1; }
.cs-meet__name span { color: #FFFFFF80; font-weight: 400; }
.cs-meet__bio { color: #FFFFFF99; font-size: 15px; font-weight: 400; letter-spacing: .01em; text-wrap: balance; }

.cs-hero__title {
	max-width: 1440px;
	margin: 28px auto 0;
	font-family: var(--cs-display);
	font-weight: 400;
	font-size: clamp(34px, 4.4vw, 68px);
	line-height: 1.02;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.cs-hero__line { position: relative; max-width: 100%; white-space: nowrap; }
@media (max-width: 1023px) { .cs-hero__line { white-space: normal; text-wrap: balance; } }
.cs-hero__line--pill {
	margin-top: 10px;
	padding: 4px 22px 8px;
	border: 1px solid #FFD73D1A;
	border-radius: 30px;
	background: url(../images/headlinebg.webp) no-repeat center bottom / cover;
	color: #FED45E;
	line-height: .95;
}
.cs-hero__doodle { position: absolute; height: auto; pointer-events: none; }
.cs-hero__doodle--spark-l { width: 21px; top: 84%; right: 100.5%; }
.cs-hero__doodle--spark-r { width: 21px; bottom: 70%; right: -26px; }

.cs-hero__sub {
	max-width: 900px;
	margin: 36px auto 0;
	color: #FFFFFFDE;
	font-size: clamp(18px, 1.6vw, 23px);
	font-weight: 400;
	line-height: 1.6;
	text-wrap: pretty;
}
.cs-hero__nos { display: inline-block; margin-top: 6px; color: #FFFFFF; font-weight: 700; }
.cs-hero__sub strong { color: #FED45E; font-weight: 600; white-space: nowrap; }


/* "Press play" prompt above the video */
.cs-watch {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin: 56px auto 0;
	color: #FED45E;
	font-size: clamp(22px, 1.95vw, 27px);
	line-height: 1.25;
}
.cs-watch__text {
	padding: 10px 26px 12px;
	border-radius: 999px;
	background: #FED45E;
	color: var(--cs-ink);
	box-shadow: 0 8px 22px #00000040;
	white-space: nowrap;
}
.cs-watch__arrow {
	flex-shrink: 0;
	width: 62px;
	height: 42px;
	margin-top: 34px;
	background: currentColor;
	-webkit-mask: url(../images/case_study/hand-arrow.webp) no-repeat center / contain;
	mask: url(../images/case_study/hand-arrow.webp) no-repeat center / contain;
	transform: scaleY(-1);
}
.cs-watch__arrow--right { transform: scale(-1, -1); }

/* Video player ------------------------------------------------------------ */
.cs-video {
	position: relative;
	max-width: 1120px;
	margin: 26px auto 0;
	padding: 10px;
	border-radius: 28px;
	background: var(--cs-black);
}
.cs-video__frame {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 1100 / 612;
	overflow: hidden;
	border: 0;
	padding: 0;
	border-radius: 20px;
	background: #000 url(../images/case_study/episode-1-thumbnail.webp) no-repeat center / cover;
	color: #FFFFFF;
	font: inherit;
	text-align: left;
	cursor: pointer;
}
.cs-video__frame::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, #00000080 0%, #00000000 20%, #00000000 60%, #000000B3 100%);
}
.cs-video__top {
	position: absolute;
	top: 22px;
	left: 24px;
	right: 24px;
	display: flex;
	align-items: center;
	gap: 12px;
}
.cs-video__avatar {
	width: 40px;
	height: 40px;
	flex-shrink: 0;
	border-radius: 50%;
	border: 2px solid #FFFFFF;
	object-fit: cover;
}
.cs-video__title {
	font-size: 20px;
	font-weight: 600;
	filter: drop-shadow(0 1px 3px #00000099);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.cs-video__play {
	position: absolute;
	left: 50%;
	top: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 92px;
	height: 64px;
	margin: -32px 0 0 -46px;
	border-radius: 20px;
	background: #FF0000;
	box-shadow: 0 10px 30px #00000066;
	transition: transform .2s ease, background-color .2s ease;
}
.cs-video__play .cs-icon { width: 48px; height: 48px; }
.cs-video__frame:hover .cs-video__play { transform: scale(1.08); background: #E60000; }
.cs-video__watch {
	position: absolute;
	left: 24px;
	bottom: 16px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border-radius: 10px;
	background: #000000B3;
	color: #FFFFFF;
	font-size: 15px;
}
.cs-video__watch strong { font-weight: 700; }
.cs-video__watch .cs-icon { width: 20px; height: 20px; }
.cs-video iframe {
	display: block;
	width: 100%;
	aspect-ratio: 1100 / 612;
	border: 0;
	border-radius: 20px;
}


/* Scroll prompt under the video */
.cs-how { scroll-margin-top: 0; }
.cs-scroll {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin-top: 44px;
	color: var(--cs-ink);
	font-size: clamp(20px, 1.8vw, 26px);
	font-weight: 800;
	letter-spacing: -.01em;
}
.cs-scroll__arrow {
	width: 1.05em;
	height: 1.05em;
	stroke-width: 2.75;
	animation: cs-bounce 1.6s ease-in-out infinite;
}
@keyframes cs-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(7px); } }

/* ==========================================================================
   2. The Spark
   ========================================================================== */
.cs-spark { padding: 120px 0; background: #FFFFFF; }
.cs-spark__inner { display: flex; align-items: center; gap: 88px; }
.cs-spark__story > .cs-narrator { margin-top: 0; }
.cs-spark__story { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.cs-spark__title em { font-style: normal; color: #FF7A00; background: linear-gradient(90deg, #FF6A00 0%, #FF9500 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.cs-invite__title em,
.cs-how__title em { font-style: normal; color: #FF7A00; background: linear-gradient(90deg, #FF6A00 0%, #FF9500 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
/* Sleek hand-drawn underline */
.cs-swoosh { position: relative; display: inline-block; }
.cs-swoosh::after {
	content: "";
	position: absolute;
	left: 2%;
	right: 2%;
	bottom: -0.12em;
	height: 0.22em;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 14' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%23FF6A00'/%3E%3Cstop offset='1' stop-color='%23FF9500'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M3 9C70 3 150 2 297 6' fill='none' stroke='url(%23g)' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
	pointer-events: none;
}
.cs-spark__head { display: flex; flex-direction: column; align-items: center; gap: 20px; margin-bottom: 72px; text-align: center; }
.cs-spark__title {
	max-width: 1000px;
	font-family: var(--cs-display);
	font-weight: 400;
	font-size: clamp(34px, 3.9vw, 56px);
	line-height: 1.1;
	color: #111111;
}

/* Narrator: Dave's face starts a gold thread that runs down his story */
.cs-narrator { display: flex; align-items: center; gap: 20px; margin-top: 4px; }
.cs-narrator__photo {
	width: 84px;
	height: 84px;
	flex-shrink: 0;
	border-radius: 50%;
	object-fit: cover;
	box-shadow: 0 0 0 4px #FFFFFF, 0 0 0 6px #FFB22466;
}
.cs-narrator__who { display: flex; flex-direction: column; gap: 4px; }
.cs-narrator__who strong { color: #111111; font-size: 28px; font-weight: 800; letter-spacing: -.01em; line-height: 1.1; }
.cs-narrator__who span { color: #8A7A6A; font-size: 18px; }

.cs-narration {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 18px;
	margin: -14px 0 0 41px;
	padding: 28px 0 0 33px;
}
.cs-narration::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 26px;
	left: 0;
	width: 2px;
	border-radius: 2px;
	background: linear-gradient(180deg, #FFB224 0%, #FFB22480 70%, #FFB22400 100%);
}
.cs-narration p { color: #3D3A36; font-size: clamp(17px, 1.32vw, 19px); line-height: 1.65; }
.cs-narration p.cs-narration__lead { color: #111111; font-size: clamp(19px, 1.53vw, 22px); font-weight: 600; line-height: 1.55; }
.cs-narration em { color: #111111; font-weight: 600; font-style: italic; }
.cs-narration mark {
	padding: 0 2px;
	background: linear-gradient(180deg, transparent 58%, #FFD98A 58%);
	color: inherit;
}
.cs-narration p.cs-narration__sign { margin-top: -6px; color: var(--cs-orange); font-size: 30px; line-height: 1; }

/* Dave's P.S.: a handwritten postscript, no box */
.cs-ps {
	max-width: 820px;
	margin: 96px auto 0;
	padding-top: 44px;
	border-top: 2px dashed #E9D8BC;
	color: #2B2A6B;
	transform: rotate(-1deg);
}
.cs-ps__text { font-size: clamp(22px, 2vw, 29px); line-height: 1.45; text-align: center; text-wrap: pretty; }
.cs-ps__label { margin-right: 6px; color: var(--cs-orange); font-size: 1.25em; }
.cs-ps__text u {
	text-decoration: none;
	background: linear-gradient(180deg, transparent 62%, #FFD98A 62%, #FFD98A 92%, transparent 92%);
}

/* Dave's night, as a vertical timeline */
.cs-night {
	position: relative;
	width: 500px;
	flex-shrink: 0;
	padding: 40px 40px 34px;
	border-radius: 28px;
	background: radial-gradient(120% 60% at 100% 0%, #3A1E0A 0%, #0B0B0B 55%);
	color: #FFFFFF;
}
.cs-night__head { padding-bottom: 26px; }
.cs-night__label { color: var(--cs-amber); font-size: 12px; font-weight: 700; letter-spacing: 2.5px; }
.cs-night__title { margin-top: 10px; font-family: var(--cs-display); font-weight: 400; font-size: 26px; line-height: 1.18; }
.cs-night__list { position: relative; margin: 0; padding: 0; list-style: none; }
.cs-night__row { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 0 0 22px 30px; }
.cs-night__row:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 12px;
	bottom: -12px;
	left: 5px;
	width: 2px;
	background: #FFFFFF1F;
}
.cs-night__row:nth-last-child(2)::after { background: linear-gradient(180deg, #FFFFFF1F 0%, #FFB224 100%); }
.cs-night__row::before {
	z-index: 1;
	content: "";
	position: absolute;
	top: 6px;
	left: 0;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #0B0B0B;
	box-shadow: inset 0 0 0 2px #FFFFFF59;
}
.cs-night__time { color: #FFFFFF73; font-size: 13px; font-weight: 700; letter-spacing: 1px; line-height: 22px; }
.cs-night__body { color: #FFFFFFD9; font-size: 16px; line-height: 1.5; }
.cs-night__row--answer .cs-night__body {
	padding: 10px 14px;
	border-radius: 12px;
	border: 1px solid #FFB22433;
	background: #FFB22414;
	color: #FED45E;
	font-style: italic;
	font-weight: 600;
}
.cs-night__row--answer::before { background: #FFB22499; box-shadow: none; }
.cs-night__row--now { padding-bottom: 0; }
.cs-night__row--now::before { background: var(--cs-amber); box-shadow: 0 0 0 5px #FFB22433, 0 0 18px #FFB224AA; }
.cs-night__row--now .cs-night__time { color: var(--cs-amber); }
.cs-night__row--now .cs-night__body { color: #FFFFFF; font-size: 17px; font-weight: 700; }

/* ==========================================================================
   3. How he did it (6 steps)
   ========================================================================== */
.cs-how {
	--cs-curve: clamp(8px, 1vw, 14px);
	position: relative;
	padding: calc(120px + var(--cs-curve)) 0 calc(140px + var(--cs-curve));
	background:
		radial-gradient(1100px 520px at 50% 0%, #FFE3B3B3 0%, #FFE3B300 70%),
		radial-gradient(800px 900px at 0% 38%, #FFE8C4A6 0%, #FFE8C400 70%),
		radial-gradient(800px 900px at 100% 70%, #FFE8C4A6 0%, #FFE8C400 70%),
		linear-gradient(180deg, #FFF4E2 0%, #FFF8EE 55%, #FFF4E2 100%);
}
/* Cream dips down into the white testimonial below */
.cs-how::after {
	content: "";
	position: absolute;
	bottom: -1px;
	left: 0;
	right: 0;
	height: calc(var(--cs-curve) + 1px);
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0 0Q720 180 1440 0V90H0Z' fill='%23FFFFFF'/%3E%3C/svg%3E") no-repeat center bottom / 100% 100%;
	pointer-events: none;
}
/* Cream section arches up into the white section above */
.cs-how::before {
	content: "";
	position: absolute;
	top: -1px;
	left: 0;
	right: 0;
	height: calc(var(--cs-curve) + 1px);
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0 0H1440V90Q720 -90 0 90Z' fill='%23FFFFFF'/%3E%3C/svg%3E") no-repeat center top / 100% 100%;
	pointer-events: none;
}
.cs-how__inner { --cs-step-gap: 120px; display: flex; flex-direction: column; gap: var(--cs-step-gap); }

.cs-how__header { display: flex; justify-content: center; text-align: center; }
.cs-how__header-title { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.cs-how__label { color: var(--cs-orange); font-size: 14px; font-weight: 700; letter-spacing: 3px; }
.cs-how__title {
	font-family: var(--cs-display);
	font-weight: 400;
	font-size: clamp(40px, 4.44vw, 64px);
	line-height: 1.05;
	color: var(--cs-ink);
}

.cs-step { display: flex; align-items: center; gap: 96px; }
/* Sleek divider between steps: fading hairline with a honey dot */
.cs-step + .cs-step { position: relative; }
.cs-step + .cs-step::before,
.cs-step + .cs-step::after {
	content: "";
	position: absolute;
	top: calc(var(--cs-step-gap, 120px) / -2);
	left: 50%;
	pointer-events: none;
}
.cs-step + .cs-step::before {
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, #E8D3B000 0%, #E8D3B0 20%, #E8D3B0 80%, #E8D3B000 100%);
}
.cs-step + .cs-step::after {
	width: 30px;
	height: 30px;
	margin: -15px 0 0 -15px;
	border-radius: 50%;
	background: var(--cs-amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A0C00' stroke-width='2.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14'/%3E%3Cpath d='m19 12-7 7-7-7'/%3E%3C/svg%3E") no-repeat center / 16px;
	box-shadow: 0 0 0 6px var(--cs-cream), 0 0 0 7px #E8D3B0;
}
.cs-step__text { order: 1; width: 420px; flex-shrink: 0; display: flex; flex-direction: column; gap: 18px; }
.cs-step__visual { order: 2; flex: 1 1 0; min-width: 0; }
.cs-step__meta { display: flex; align-items: center; gap: 14px; }
.cs-step__num { font-family: var(--cs-display); font-size: 56px; line-height: 1; color: var(--cs-orange); }
.cs-step__when { color: #9A7A60; font-size: 14px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.cs-step__title {
	font-family: var(--cs-display);
	font-weight: 400;
	font-size: clamp(30px, 2.5vw, 36px);
	line-height: 1.12;
	color: var(--cs-ink);
	text-wrap: balance;
}
.cs-step__title em { font-style: normal; color: #FF7A00; background: linear-gradient(90deg, #FF6A00 0%, #FF9500 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.cs-step__body { color: #6B5544; font-size: 18px; line-height: 1.65; max-width: 400px; text-wrap: pretty; }
.cs-step__lead { display: block; margin-bottom: 6px; color: var(--cs-ink); font-size: 20px; font-weight: 700; line-height: 1.35; }
.cs-step__body strong { color: var(--cs-ink); font-weight: 600; }
.cs-step__closer { color: var(--cs-orange); font-size: 40px; line-height: 1.15; }
/* Dave's margin note on each step */
.cs-aside { display: flex; align-items: flex-start; gap: 12px; margin-top: 6px; transform: rotate(-1.2deg); transform-origin: left center; }
.cs-aside img {
	width: 40px;
	height: 40px;
	flex-shrink: 0;
	border-radius: 50%;
	object-fit: cover;
	box-shadow: 0 0 0 3px #FFFFFF;
}
.cs-aside p {
	position: relative;
	padding: 10px 16px 11px;
	border-radius: 4px 16px 16px 16px;
	background: #FFFFFF;
	border: 1px solid #EADCC4;
	color: #2B2A6B;
	font-size: 21px;
	line-height: 1.3;
}
.cs-step__side { width: 480px; flex-shrink: 0; display: flex; flex-direction: column; gap: 18px; }

/* Shared mock window */
.cs-mock {
	overflow: hidden;
	border-radius: 20px;
	background: #FFFFFF;
	border: 1px solid #EADCC4;
}
.cs-mock--dark { background: #141414; border-color: #141414; color: #FFFFFF; }
.cs-mock__bar {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 24px;
	border-bottom: 1px solid #FFFFFF14;
}
.cs-mock__bar img { width: 92px; height: auto; }
.cs-mock__bar-div { width: 1px; height: 18px; background: #FFFFFF26; }
.cs-mock__crumb { color: #FFFFFF99; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Step 1: real ToonBee "Create New Project" screenshot */
.cs-shot { overflow: hidden; border-radius: 22px; border: 1px solid #EADCC4; background: #8F8B88; }
.cs-shot img { width: 100%; }
.cs-shot--light { background: #FFFFFF; }

/* Step 3: style picker floating over the lyrics screen */
.cs-layered { position: relative; padding-bottom: 56px; }
.cs-layered__over {
	position: absolute;
	right: -36px;
	bottom: 0;
	width: 54%;
	height: auto;
	border-radius: 18px;
	border: 1px solid #EADCC4;
	box-shadow: 0 0 0 6px #FFF6E6;
	transform: rotate(1.5deg);
}
.cs-shot--fade img { -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent 100%); mask-image: linear-gradient(180deg, #000 82%, transparent 100%); }

/* Step 2: episode cast */
.cs-cast {
	padding: 22px;
	border-radius: 22px;
	background: #FFFFFF;
	border: 1px solid #EADCC4;
}
.cs-cast__grid {
	display: grid;
	grid-template-columns: 1.15fr 1fr 1fr;
	grid-template-rows: 196px 196px;
	gap: 12px;
}
.cs-cast__card {
	position: relative;
	margin: 0;
	overflow: hidden;
	border-radius: 16px;
	background: #F4EBDD;
}
.cs-cast__card--hero { grid-row: span 2; }
.cs-cast__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.cs-cast__card::after {
	content: "";
	position: absolute;
	inset: 45% 0 0;
	background: linear-gradient(180deg, #1A0C0000 0%, #1A0C00CC 100%);
}
.cs-cast__card figcaption {
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 12px;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 1px;
	color: #FFFFFF;
}
.cs-cast__card figcaption strong { font-family: var(--cs-display); font-weight: 400; font-size: 21px; line-height: 1.1; }
.cs-cast__card--hero figcaption strong { font-size: 30px; }
.cs-cast__card figcaption span { color: #FFFFFFCC; font-size: 13px; font-weight: 500; }

/* Step 4: photo → character viewer */
.cs-step--stack { flex-direction: column; align-items: stretch; gap: 48px; }
.cs-step--stack .cs-morph { order: 2; }
.cs-step__top { order: 1; display: flex; align-items: center; gap: 96px; }
.cs-step__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.cs-step__row .cs-step__body { width: auto; }

.cs-morph { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.cs-morph__hero:first-child { grid-column: 1 / -1; }
.cs-morph__hero:first-child .cs-morph__stage { gap: 18px; }
.cs-morph__hero:first-child .cs-morph__arrow { width: 48px; height: 48px; }
.cs-morph__hero:first-child .cs-morph__arrow .cs-icon { width: 22px; height: 22px; }
.cs-morph__hero:first-child .cs-morph__tag { top: auto; bottom: 14px; left: 14px; padding: 7px 13px; font-size: 13px; }
.cs-morph__hero:first-child .cs-morph__tag--toon { left: auto; right: 14px; }
.cs-morph__hero:first-child .cs-morph__caption { margin-top: 18px; font-size: 18px; }
.cs-morph__hero:first-child .cs-morph__caption strong { font-size: 26px; }
.cs-morph .cs-morph__stage { gap: 10px; }
.cs-morph .cs-morph__arrow { width: 36px; height: 36px; }
.cs-morph .cs-morph__arrow .cs-icon { width: 18px; height: 18px; }
.cs-morph .cs-morph__tag { top: auto; bottom: 10px; left: 10px; padding: 5px 10px; font-size: 11px; }
.cs-morph .cs-morph__tag--toon { left: auto; right: 10px; }
.cs-morph .cs-morph__caption { margin-top: 14px; font-size: 16px; }
.cs-morph .cs-morph__caption strong { font-size: 22px; }
.cs-morph .cs-morph__caption span { font-size: 14px; }
.cs-morph__hero {
	margin: 0;
	padding: 18px 18px 22px;
	border-radius: 26px;
	background: #FFFFFF;
	border: 1px solid #EADCC4;
}
.cs-morph__stage { display: flex; align-items: stretch; gap: 18px; }
.cs-morph__before, .cs-morph__after { position: relative; margin: 0; overflow: hidden; border-radius: 18px; background: #F4EBDD; }
.cs-morph__before { flex: 0 0 29%; }
.cs-morph__after { flex: 1 1 0; aspect-ratio: 16 / 9; }
.cs-morph__before img, .cs-morph__after img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cs-morph__before img { object-position: center top; }
.cs-morph__arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	align-self: center;
	width: 48px;
	height: 48px;
	flex-shrink: 0;
	border-radius: 50%;
	background: var(--cs-amber);
	color: var(--cs-ink);
}
.cs-morph__arrow .cs-icon { width: 22px; height: 22px; }
.cs-morph__tag {
	position: absolute;
	bottom: 14px;
	left: 14px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 13px;
	border-radius: 999px;
	background: #000000A6;
	color: #FFFFFF;
	font-size: 13px;
	font-weight: 700;
}
.cs-morph__tag .cs-icon { width: 14px; height: 14px; }
.cs-morph__tag--toon { left: auto; right: 14px; background: var(--cs-amber); color: var(--cs-ink); }
.cs-morph__caption { margin-top: 18px; padding: 0 4px; color: var(--cs-brown-soft); font-size: 18px; line-height: 1.5; }
.cs-morph__caption strong { margin-right: 8px; color: var(--cs-ink); font-size: 26px; font-weight: 400; }
.cs-morph__caption span { color: #A08A73; font-size: 16px; }


/* Step 5: real Scenes list, auto-scrolling top to bottom */
.cs-scroller {
	position: relative;
	height: 480px;
	overflow: hidden;
	border-radius: 22px;
	background: #FFFFFF;
	border: 1px solid #EADCC4;
}
.cs-scroller::before, .cs-scroller::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	z-index: 1;
	height: 56px;
	pointer-events: none;
}
.cs-scroller::before { top: 0; background: linear-gradient(180deg, #FFFFFF 0%, #FFFFFF00 100%); }
.cs-scroller::after { bottom: 0; background: linear-gradient(0deg, #FFFFFF 0%, #FFFFFF00 100%); }
.cs-scroller img { width: 100%; animation: cs-scroll 48s ease-in-out infinite; }
@keyframes cs-scroll-sm {
	0%, 8% { transform: translateY(0); }
	46%, 54% { transform: translateY(calc(-100% + 400px)); }
	92%, 100% { transform: translateY(0); }
}
@keyframes cs-scroll {
	0%, 8% { transform: translateY(0); }
	46%, 54% { transform: translateY(calc(-100% + 480px)); }
	92%, 100% { transform: translateY(0); }
}

/* Step 6: video published dialog */
.cs-published__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 28px;
	border-bottom: 1px solid #E5E5E5;
	color: #0F0F0F;
	font-size: 20px;
	font-weight: 700;
}
.cs-published__head .cs-icon { width: 20px; height: 20px; color: #606060; }
.cs-published__body { display: flex; flex-wrap: wrap; gap: 24px; padding: 28px; }
.cs-published__thumb { position: relative; flex: 1 1 260px; max-width: 100%; aspect-ratio: 300 / 169; overflow: hidden; border-radius: 12px; }
.cs-published__thumb img { width: 100%; height: 100%; object-fit: cover; }
.cs-published__dur {
	position: absolute;
	right: 8px;
	bottom: 8px;
	padding: 2px 5px;
	border-radius: 4px;
	background: #000000CC;
	color: #FFFFFF;
	font-size: 12px;
	font-weight: 600;
}
.cs-published__info { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.cs-published__title { color: #0F0F0F; font-size: 17px; font-weight: 700; line-height: 23px; }
.cs-published__link { display: flex; flex-direction: column; gap: 2px; }
.cs-published__link span { color: #606060; font-size: 12px; }
.cs-published__link a { color: #065FD4; font-size: 14px; font-weight: 500; }
.cs-published__link a:hover { text-decoration: underline; }
.cs-published__visibility { display: flex; align-items: center; gap: 8px; color: #0F0F0F; font-size: 14px; font-weight: 600; }
.cs-published__visibility .cs-icon { width: 18px; height: 18px; color: #2BA640; }

/* ==========================================================================
   4. Testimonial
   ========================================================================== */
.cs-quote { padding: 130px 0; background: #FFFFFF; }
.cs-quote__inner { display: flex; align-items: center; gap: 88px; }
.cs-portrait { position: relative; width: 320px; height: 400px; flex-shrink: 0; }
.cs-portrait__photo {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: flex-end;
	padding: 20px;
	overflow: hidden;
	border-radius: 26px;
	border: 1px solid #E8C9A0;
	background: #FFF1D6;
	color: #7A3A0099;
	font-size: 13px;
}
.cs-portrait__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cs-quote__content { flex: 1 1 0; display: flex; flex-direction: column; gap: 24px; }
.cs-quote__text { color: #111111; font-size: clamp(20px, 1.81vw, 26px); font-weight: 500; line-height: 1.5; }
.cs-quote__author { display: flex; align-items: center; gap: 16px; padding-top: 8px; }
.cs-quote__bar { width: 4px; height: 52px; border-radius: 4px; background: linear-gradient(180deg, #FF6A00 0%, #FF9500 100%); }
.cs-quote__name { color: #111111; font-size: 26px; }
.cs-quote__role { margin-top: 4px; color: #6B5B4B; font-size: 17px; }

/* ==========================================================================
   5. Join the live training
   ========================================================================== */
.cs-join::before {
	content: "";
	position: absolute;
	top: -1px;
	left: 0;
	right: 0;
	height: calc(var(--cs-curve) + 1px);
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0 0H1440V90Q720 -90 0 90Z' fill='%23FFFFFF'/%3E%3C/svg%3E") no-repeat center top / 100% 100%;
	pointer-events: none;
}
.cs-join {
	--cs-curve: clamp(8px, 1vw, 14px);
	position: relative;
	padding: calc(110px + var(--cs-curve)) 0 110px;
	background: linear-gradient(180deg, #FFB224 0%, #F07D37 60%, #E86826 100%);
	color: var(--cs-ink);
}
.cs-invite {
	display: flex;
	align-items: center;
	gap: 64px;
	max-width: 1080px;
	margin: 0 auto;
	padding: 28px;
	border-radius: 32px;
	background: #FFFFFF;
}
.cs-invite__photo { flex: 0 0 42%; overflow: hidden; border-radius: 22px; aspect-ratio: 1; background: #6B2F12; }
.cs-invite__photo img { width: 100%; height: 100%; object-fit: cover; }
.cs-invite__body { flex: 1 1 0; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding-right: 20px; }
.cs-invite__badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 5px 14px 5px 5px;
	border-radius: 999px;
	border: 1px solid #EADCC4;
	background: #FFFFFF;
	color: var(--cs-brown);
	font-size: 14px;
	font-weight: 600;
}
.cs-invite__live {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	border-radius: 999px;
	background: #E5322D;
	color: #FFFFFF;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 1.2px;
	text-transform: uppercase;
}
.cs-invite__live i { position: relative; width: 7px; height: 7px; border-radius: 50%; background: #FFFFFF; }
.cs-invite__live i::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: #FFFFFF;
	animation: cs-ping 1.6s ease-out infinite;
}
@keyframes cs-ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(2.6); opacity: 0; } }
.cs-invite__title { color: var(--cs-ink); font-size: clamp(32px, 3.2vw, 46px); line-height: 1.08; text-wrap: balance; }
.cs-invite__hosts { color: var(--cs-brown); font-size: 17px; }
.cs-invite__hosts strong { color: var(--cs-ink); }
.cs-invite__text { color: #6B5544; font-size: 18px; line-height: 1.6; }
.cs-invite__text strong { color: var(--cs-orange); font-weight: 700; }
.cs-invite__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 8px; padding: 0; list-style: none; }
.cs-invite__chips li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border-radius: 999px;
	background: #FFF6E6;
	color: var(--cs-ink);
	font-size: 15px;
	font-weight: 600;
}
.cs-invite__chips .cs-icon { width: 15px; height: 15px; color: var(--cs-orange); stroke-width: 3; }

/* Matches the purchase button on the home page */
.cs-buy {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-width: 320px;
	padding: 18px 34px;
	border-radius: 19px;
	background: linear-gradient(180deg, #FFAC25 0%, #FFBF21 51%, #FFD21D 100%);
	box-shadow: 0 10px 21px #0000002B;
	color: #000000;
	font-family: "Zalando Sans SemiExpanded", var(--cs-font);
	font-size: 24px;
	font-weight: 700;
	letter-spacing: -.5px;
	transition: transform .3s ease;
}
.cs-buy:hover { transform: scale(1.05); }
.cs-buy--sm { align-self: flex-start; min-width: 0; margin-top: 12px; padding: 14px 24px; border-radius: 16px; font-size: 18px; }
.cs-buy--sm .cs-icon { width: 20px; height: 20px; stroke-width: 2.5; }
html:has(body.cs-page) { scroll-behavior: smooth; }
#join { scroll-margin-top: 0; }
.cs-buy img { width: 30px; height: 30px; }
.cs-final__trust { color: #8A7461; font-size: 14px; font-weight: 500; }


/* ==========================================================================
   Footer
   ========================================================================== */
.cs-footer { padding: 64px 0; background: var(--cs-black); }
.cs-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cs-footer__inner img { width: 120px; height: auto; }
.cs-footer__copy { color: #FFFFFF80; font-size: 15px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1279px) {
	.cs-step__top { gap: 56px; }
	.cs-layered__over { right: -12px; }
	.cs-step, .cs-spark__inner, .cs-quote__inner { gap: 56px; }
	.cs-step__text { width: 380px; }
	.cs-night { width: 440px; }
	.cs-step__side { width: 420px; }
}

@media (max-width: 1099px) {
		.cs-step__text { width: 340px; }
}

@media (max-width: 991px) {
	.cs-join { padding: calc(80px + var(--cs-curve)) 0 80px; }
	.cs-invite { flex-direction: column; align-items: stretch; gap: 28px; padding: 18px; }
	.cs-invite__photo { flex: none; }
	.cs-invite__body { padding: 0 6px 10px; }
	.cs-step__top { flex-direction: column; align-items: stretch; gap: 36px; }
	.cs-morph { grid-template-columns: minmax(0, 1fr); }
	.cs-meet { margin-top: 48px; }
	.cs-hero { padding-bottom: calc(64px + var(--cs-curve)); }

	.cs-spark { padding: 88px 0; }
	.cs-spark__inner { gap: 48px; }
	.cs-spark__head { margin-bottom: 48px; }
	.cs-spark__inner { flex-direction: column; align-items: stretch; }
	.cs-night { width: 100%; }

	.cs-how { padding: calc(88px + var(--cs-curve)) 0 calc(100px + var(--cs-curve)); }
	.cs-how__inner { --cs-step-gap: 88px; }

	.cs-step { flex-direction: column; align-items: stretch; gap: 36px; }
	.cs-step__text { width: auto; max-width: 600px; order: 1; }
	.cs-step__visual { order: 2; }
	.cs-step__row { flex-direction: column; align-items: flex-start; gap: 18px; }
	.cs-step__row .cs-step__text, .cs-step__side { width: auto; max-width: 600px; }
	.cs-step--stack { gap: 40px; }

	.cs-quote { padding: 96px 0; }
	.cs-quote__inner { flex-direction: column; align-items: center; gap: 48px; }


	.cs-footer__inner { flex-direction: column; text-align: center; gap: 14px; }
}

@media (max-width: 767px) {
	.cs-how__title { font-size: 34px; text-wrap: balance; }
	.cs-buy { white-space: nowrap; font-size: 19px; padding: 16px 22px; }
	.cs-hero__sub strong { white-space: normal; }
	.cs-buy { width: 100%; min-width: 0; font-size: 20px; }
	.cs-scroller { height: 400px; }
	.cs-scroller img { animation-name: cs-scroll-sm; }
		.cs-morph__hero { padding: 12px 12px 16px; border-radius: 20px; }
				.cs-morph__stage { flex-direction: column; align-items: center; gap: 10px; }
	.cs-morph__before { flex: none; width: 100%; height: 260px; }
	.cs-morph__after { flex: none; width: 100%; }
	.cs-morph__arrow { transform: rotate(90deg); width: 40px; height: 40px; }
	.cs-morph__caption strong { display: block; font-size: 22px; }
	.cs-layered { padding-bottom: 40px; }
	.cs-layered__over { right: -6px; width: 66%; border-radius: 12px; }
	.cs-cast { padding: 14px; }
	.cs-cast__grid { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 170px 170px; gap: 8px; }
	.cs-cast__card--hero { grid-column: span 2; grid-row: auto; }
	.cs-cast__card figcaption strong { font-size: 18px; }
	.cs-cast__card--hero figcaption strong { font-size: 26px; }
	.cs-aside p { font-size: 18px; }
	.cs-aside img { width: 34px; height: 34px; }
	.cs-ps { margin-top: 56px; padding-top: 32px; }
	.cs-scroll { margin-top: 32px; gap: 8px; font-size: 18px; }
	.cs-br { display: none; }
	.cs-hero::before { width: 1280px; }
	.cs-nav__logo { width: 130px; }
	.cs-nav__crumb { font-size: 13px; }
	.cs-hero { padding-bottom: calc(48px + var(--cs-curve)); }
	.cs-meet { margin-top: 36px; gap: 12px; padding-right: 18px; }
	.cs-meet__photo { width: 60px; height: 60px; }
	.cs-meet__name { font-size: 21px; }
	.cs-meet__bio { font-size: 13px; }
	.cs-hero__title { margin-top: 22px; }
	.cs-hero__doodle { display: none; }
	.cs-hero__line--pill { padding: 2px 12px 6px; border-radius: 16px; margin-top: 6px; }
	.cs-video { margin-top: 18px; padding: 6px; border-radius: 18px; }
	.cs-video__frame, .cs-video iframe { border-radius: 13px; }
	.cs-video__top { top: 12px; left: 14px; right: 14px; gap: 8px; }
	.cs-video__avatar { width: 28px; height: 28px; }
	.cs-video__title { font-size: 13px; }
	.cs-video__play { width: 64px; height: 44px; margin: -22px 0 0 -32px; border-radius: 14px; top: 50%; }
	.cs-video__play .cs-icon { width: 32px; height: 32px; }
	.cs-video__watch { display: none; }
	.cs-watch { margin-top: 36px; gap: 6px; font-size: 18px; }
	.cs-watch__text { white-space: normal; text-wrap: balance; padding: 8px 18px 10px; border-radius: 18px; text-align: center; }
	.cs-watch__arrow { display: none; }

	.cs-night { padding: 28px 22px; }
	.cs-narration { margin-left: 31px; padding-left: 22px; }
	.cs-night__label { font-size: 11px; letter-spacing: 1.5px; }
	.cs-narrator__photo { width: 64px; height: 64px; }
	.cs-narrator__who strong { font-size: 23px; }
	.cs-narrator__who span { font-size: 15px; }

	.cs-step__num { font-size: 44px; }
	.cs-step__body { font-size: 17px; line-height: 27px; }
	.cs-step__closer { font-size: 34px; }






	.cs-published__head { padding: 16px 18px; font-size: 17px; }
	.cs-published__body { flex-direction: column; padding: 18px; gap: 18px; }
	.cs-published__thumb { width: 100%; }
	
	.cs-portrait { width: 240px; height: 300px; }
	.cs-portrait__photo { border-radius: 20px; }
		
}

@media (prefers-reduced-motion: reduce) {
	.cs-page *, .cs-page *::before, .cs-page *::after { animation: none !important; transition: none !important; }
}
