/* Case Study v1 — staging. Scoped to main.cs1 (body.home-v4). Figma: Case Studies → Sensory (631-16969). */

body.home-v4 main.cs1 {
	--cs1-blue: #1145bb;
	--cs1-navy: #233e99;
	--cs1-pad: var(--v4-pad-x, 60px);
	font-family: Parkinsans, system-ui, sans-serif;
}

.cs1-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

/* Hero (Figma Hero 81, 1440×874) */
.cs1-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: clamp(620px, 60.7vw, 960px);
	padding: 120px var(--cs1-pad) 32px;
	color: #fff;
	background:
		radial-gradient(70% 60% at 50% 18%, rgba(88, 150, 255, .55) 0%, rgba(88, 150, 255, 0) 70%),
		linear-gradient(180deg, #1b5bdc 0%, #1145bb 48%, #0b2f8c 100%);
}

.cs1-hero__word {
	position: absolute;
	z-index: 0;
	top: 6.64%;
	left: 0;
	right: 0;
	margin: 0;
	text-align: center;
	font-weight: 400;
	font-size: clamp(110px, 16.69vw, 300px);
	line-height: 1.2;
	letter-spacing: 0;
	color: rgba(255, 255, 255, .7);
	white-space: nowrap;
	pointer-events: none;
	user-select: none;
}

.cs1-hero__img {
	position: absolute;
	z-index: 1;
	top: 22.2%;
	left: 24.8%;
	width: 52.3%;
	height: auto;
	max-width: none;
	filter: drop-shadow(0 30px 60px rgba(4, 18, 70, .45));
	transform-origin: 50% 55%;
	transform: perspective(1600px) rotateY(calc(var(--cs1-p, 0) * -16deg)) rotateZ(calc(var(--cs1-p, 0) * 3deg)) translateY(calc(var(--cs1-p, 0) * -5%)) scale(calc(1 + var(--cs1-p, 0) * .1));
	will-change: transform;
	animation: cs1-rise 1s cubic-bezier(.2, .7, .2, 1) both .2s;
}

.cs1-hero__foot {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
}

.cs1-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cs1-tags li,
.cs1-visit {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	padding: 8px 18px;
	border: 1px solid rgba(255, 255, 255, .75);
	border-radius: 999px;
	font-size: 14px;
	line-height: 1.4;
	color: #fff;
	background: rgba(255, 255, 255, .04);
	backdrop-filter: blur(4px);
}

.cs1-tags li::before { content: none !important; }
.cs1-tags li { box-sizing: border-box; height: 40px; margin: 0; }

.cs1-visit {
	text-decoration: none;
	transition: background .3s, color .3s, border-color .3s;
}

.cs1-visit:hover,
.cs1-visit:focus-visible {
	background: #fff;
	border-color: #fff;
	color: var(--cs1-blue);
}

.cs1-visit svg { transition: transform .3s; }
.cs1-visit:hover svg { transform: rotate(45deg); }

@keyframes cs1-rise {
	from { opacity: 0; translate: 0 40px; }
	to { opacity: 1; translate: 0 0; }
}

/* Hero scroll animation: the hero pins while the iMac turns to face the
   viewer, the background drifts up and the big word rises (--cs1-p 0→1,
   set by the inline script). Static on phones and for reduced motion. */
.cs1-hero::before {
	content: "";
	position: absolute;
	z-index: -1;
	top: 0;
	left: 0;
	right: 0;
	height: 130%;
	background: var(--cs1-hero-bg, none) center top / cover no-repeat;
	transform: translate3d(0, calc(var(--cs1-p, 0) * -23%), 0);
	will-change: transform;
}
.cs1-hero__word {
	transform: translate3d(0, calc(var(--cs1-p, 0) * -55%), 0);
	opacity: calc(1 - var(--cs1-p, 0) * .35);
}
.cs1-hero-pin { position: relative; }
.cs1-hero-pin__space { height: 70vh; }
@media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
	.cs1-hero-pin > .cs1-hero {
		position: sticky;
		top: 0;
		height: min(max(560px, 60.7vw), 100vh);
		min-height: 0;
	}
}
@media (max-width: 767px), (prefers-reduced-motion: reduce) {
	.cs1-hero-pin__space { display: none; }
}

/* Brand overview (Figma 02 - About Us, 1440×1267, #233E99) */
.cs1-ov {
	position: relative;
	overflow: hidden;
	padding: 80px var(--cs1-pad) 0;
	color: #fff;
	background: var(--cs1-navy);
}

.cs1-pill {
	display: inline-flex;
	align-items: center;
	margin: 0;
	padding: 8px 16px;
	border-radius: 21px;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
}

.cs1-pill--white { background: #fff; color: var(--cs1-navy); }
.cs1-pill--light { background: #f3f3f3; color: #555; }

.cs1-ov__text {
	max-width: 900px;
	margin: 24px 0 0;
	font-size: clamp(22px, 2.23vw, 32px);
	line-height: 1.2;
	font-weight: 400;
	color: #fff;
}

.cs1-ov__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 56px;
}

.cs1-ov__logo { width: auto; height: 40px; }
.cs1-ov__year { margin-left: auto; font-size: 16px; color: rgba(255, 255, 255, .85); }

.cs1-ov__stage {
	position: relative;
	height: clamp(380px, 48vw, 700px);
	margin: 48px calc(-1 * var(--cs1-pad)) 0;
	--cs1-grid: rgba(255, 255, 255, .06);
	background:
		linear-gradient(var(--cs1-grid) 1px, transparent 1px) 0 0 / 40px 40px,
		linear-gradient(90deg, var(--cs1-grid) 1px, transparent 1px) 0 0 / 40px 40px;
	-webkit-mask: radial-gradient(60% 70% at 50% 50%, #000 40%, transparent 100%);
	mask: radial-gradient(60% 70% at 50% 50%, #000 40%, transparent 100%);
}

.cs1-ov__line { position: absolute; background: rgba(255, 255, 255, .3); }
.cs1-ov__line--h1, .cs1-ov__line--h2 { left: 4%; right: 4%; height: 1px; }
.cs1-ov__line--h1 { top: 28%; }
.cs1-ov__line--h2 { top: 72%; }
.cs1-ov__line--v1, .cs1-ov__line--v2 { top: 4%; bottom: 4%; width: 1px; }
.cs1-ov__line--v1 { left: 30%; }
.cs1-ov__line--v2 { left: 70%; }

.cs1-ov__spark {
	position: absolute;
	width: 14px;
	height: 14px;
	margin: -7px 0 0 -7px;
	background:
		linear-gradient(#fff, #fff) center / 1px 100% no-repeat,
		linear-gradient(#fff, #fff) center / 100% 1px no-repeat;
	opacity: .8;
}

.cs1-ov__spark--1 { top: 28%; left: 30%; }
.cs1-ov__spark--2 { top: 28%; left: 70%; }
.cs1-ov__spark--3 { top: 72%; left: 30%; }
.cs1-ov__spark--4 { top: 72%; left: 70%; }

.cs1-ov__mark {
	position: absolute;
	top: 50%;
	left: 50%;
	width: min(32%, 420px);
	height: auto;
	transform: translate(-50%, -50%);
}

/* Project details (Figma second 02 - About Us, 1440×882, white) */
.cs1-info {
	display: grid;
	grid-template-columns: minmax(220px, 400px) 1fr;
	gap: 60px;
	padding: 100px var(--cs1-pad);
	background: #fff;
	color: #000;
}

.cs1-info__side {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 40px;
}

.cs1-info__side > * { position: sticky; }
.cs1-info__name { top: 120px; margin: 0; font-size: 24px; line-height: 1.33; font-weight: 500; }

.cs1-info__facts { position: static !important; display: grid; gap: 16px; margin: 0; }
.cs1-info__facts div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; }
.cs1-info__facts dt { font-weight: 400; color: #000; font-size: 15px; }
.cs1-info__facts dd { margin: 0; color: #646464; font-size: 15px; line-height: 1.45; }

.cs1-info__main { display: grid; gap: 48px; max-width: 820px; }
.cs1-block > * + * { margin-top: 16px; }

.cs1-block__text { margin-bottom: 0; font-size: 16px; line-height: 1.5; color: #555; }
.cs1-block__sub { margin-bottom: 0; font-size: 18px; line-height: 1.4; font-weight: 500; color: #000; }

.cs1-block__list {
	display: grid;
	gap: 10px;
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}

.cs1-block__list li {
	position: relative;
	padding-left: 22px;
	font-size: 16px;
	line-height: 1.5;
	color: #555;
}

.cs1-block__list li::before {
	content: "";
	position: absolute;
	top: .62em;
	left: 0;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--cs1-blue);
}

/* Showcase bento (Figma 06 - FAQ, 1440×2793, black) */
.cs1-show { padding: 100px var(--cs1-pad); background: #000; color: #fff; }

.cs1-show__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 32px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cs1-show__grid > li::before { content: none !important; }
.cs1-show__item { overflow: hidden; border-radius: 20px; }
.cs1-show__item--1 { grid-column: 1 / -1; }
.cs1-show__img { display: block; width: 100%; height: auto; transition: transform .7s ease; }
.cs1-show__item:hover .cs1-show__img { transform: scale(1.03); }

.cs1-show__copy { display: flex; flex-direction: column; gap: 8px; padding: 24px 30px; }
.cs1-show__title { margin: 0; font-size: clamp(24px, 2.23vw, 32px); line-height: 1.1; font-weight: 400; color: #bdbdbd; }
.cs1-show__title strong { font-weight: 400; color: #fff; }
.cs1-show__text { margin: 0; font-size: 16px; line-height: 1.33; color: #bdbdbd; }
.cs1-show__copy .cs1-show__logos { margin-top: 24px; }
.cs1-show__logos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 24px; margin: 0; padding: 0; list-style: none; }
.cs1-show__logos li::before { content: none !important; }
.cs1-show__logos img { width: auto; max-width: 100%; height: 28px; object-fit: contain; }
.cs1-show__logos:has(> li:only-child) { display: block; }
.cs1-show__logos > li:only-child img { width: 100%; height: auto; }

/* Device scene (Figma 06 - FAQ, 1440×970) */
.cs1-scene { background: #000; }
.cs1-scene__img { display: block; width: 100%; height: auto; }

/* Related work (reuses the homepage case cards) */
body.home-v4 main.cs1 .cs1-related { background: #000; }
body.home-v4 main.cs1 .cs1-related .v4-cases__title { color: #fff; }
body.home-v4 main.cs1 .cs1-related .v4-cases__intro { color: #bdbdbd; }
body.home-v4 main.cs1 .cs1-related .v4-pill { background: #3e3e3e; color: #fff; }

/* Tablet */
@media (max-width: 991px) {
	.cs1-hero { min-height: 640px; }
	.cs1-hero__img { left: 8%; width: 84%; top: 26%; }
	.cs1-info { grid-template-columns: 1fr; gap: 40px; padding: 72px var(--cs1-pad); }
	.cs1-info__side > * { position: static; }
}

/* Phone */
@media (max-width: 767px) {
	.cs1-hero { min-height: 600px; padding: 96px 20px 24px; }
	.cs1-hero__word { top: 120px; font-size: 27vw; }
	.cs1-hero__img { top: 175px; left: -4%; width: 108%; }
	.cs1-hero__foot { flex-direction: column; align-items: flex-start; }
	.cs1-tags li, .cs1-visit { min-height: 34px; padding: 6px 14px; font-size: 13px; }
	.cs1-tags li { height: 34px; }
	.cs1-ov { padding: 56px 20px 0; }
	.cs1-ov__meta { margin-top: 36px; }
	.cs1-ov__logo { height: 30px; }
	.cs1-ov__stage { height: 320px; margin: 32px -20px 0; }
	.cs1-ov__mark { width: 60%; }
	.cs1-info { padding: 56px 20px; }
	.cs1-info__main { gap: 36px; }
	.cs1-show { padding: 48px 20px; }
	.cs1-show__grid { grid-template-columns: 1fr; gap: 16px; }
	.cs1-show__logos { grid-template-columns: repeat(2, 1fr); }
}

/* Theme layer: one page background that is blue (#233E99) while the blue
   sections (hero + Brand Overview) fill more than half the screen, then fades
   to white for the details (body.cs1-blue, set by the inline script). */
body.home-v4 main.v4.cs1 { transition: background-color .8s ease; }
body.home-v4.cs1-theme-ready main.v4.cs1 { background-color: #fff; }
body.home-v4.cs1-theme-ready.cs1-blue main.v4.cs1 { background-color: var(--cs1-navy); }
body.home-v4.v4-theme-ready.v4-theme-dark main.v4.cs1 { background-color: #000; }
body.cs1-theme-ready .cs1-ov,
body.cs1-theme-ready .cs1-info { background: transparent; }
.cs1-info__name, .cs1-info__facts dt, .cs1-info__facts dd, .cs1-block__text, .cs1-block__sub, .cs1-block__list li, .cs1-pill--light, .cs1-block__list li::before { transition: color .8s ease, background-color .8s ease; }
body.cs1-blue .cs1-info__name, body.cs1-blue .cs1-info__facts dt, body.cs1-blue .cs1-block__sub { color: #fff; }
body.cs1-blue .cs1-info__facts dd, body.cs1-blue .cs1-block__text, body.cs1-blue .cs1-block__list li { color: rgba(255, 255, 255, .78); }
body.cs1-blue .cs1-pill--light { background: rgba(255, 255, 255, .14); color: #fff; }
body.cs1-blue .cs1-block__list li::before { background: #fff; }

/* No hard edges: the hero melts into the Sensory blue at its bottom, and the
   dark sections share the page background so white fades to black (v4 layer). */
.cs1-hero::after {
	content: "";
	position: absolute;
	z-index: 0;
	left: 0;
	right: 0;
	bottom: 0;
	height: min(240px, 28%);
	background: linear-gradient(180deg, rgba(35, 62, 153, 0) 0%, var(--cs1-navy) 100%);
	pointer-events: none;
}
body.cs1-theme-ready .cs1-show,
body.cs1-theme-ready .cs1-scene,
body.home-v4.cs1-theme-ready main.cs1 .cs1-related { background: transparent; }

/* Brand Overview, white phase (Figma handoff 631-70747): colour logos, dark
   text, black 10% grid lines. Logos cross-fade with the page background. */
.cs1-ov__logos { position: relative; display: inline-flex; }
.cs1-ov__logo--color { position: absolute; inset: 0; width: 100%; height: 100%; }
.cs1-ov__logo, .cs1-ov__mark { transition: opacity .8s ease, filter .8s ease; }
.cs1-ov__logo--color, .cs1-ov__mark--color { opacity: 0; }
.cs1-ov__text, .cs1-ov__year, .cs1-ov .cs1-pill, .cs1-ov__line, .cs1-ov__spark { transition: color .8s ease, background-color .8s ease, filter .8s ease; }
body.cs1-theme-ready:not(.cs1-blue) .cs1-ov__logo--color,
body.cs1-theme-ready:not(.cs1-blue) .cs1-ov__mark--color { opacity: 1; }
body.cs1-theme-ready:not(.cs1-blue) .cs1-ov__logos:has(.cs1-ov__logo--color) .cs1-ov__logo:not(.cs1-ov__logo--color),
body.cs1-theme-ready:not(.cs1-blue) .cs1-ov__stage:has(.cs1-ov__mark--color) .cs1-ov__mark:not(.cs1-ov__mark--color) { opacity: 0; }
body.cs1-theme-ready:not(.cs1-blue) .cs1-ov__logos:not(:has(.cs1-ov__logo--color)) .cs1-ov__logo,
body.cs1-theme-ready:not(.cs1-blue) .cs1-ov__stage:not(:has(.cs1-ov__mark--color)) .cs1-ov__mark { filter: brightness(0) saturate(100%) invert(20%) sepia(60%) saturate(2600%) hue-rotate(220deg) brightness(.9); }
body.cs1-theme-ready:not(.cs1-blue) .cs1-ov__text { color: #000; }
body.cs1-theme-ready:not(.cs1-blue) .cs1-ov__year { color: #555; }
body.cs1-theme-ready:not(.cs1-blue) .cs1-ov .cs1-pill--white { background: #f3f3f3; color: #555; }
body.cs1-theme-ready:not(.cs1-blue) .cs1-ov__line { background: rgba(0, 0, 0, .1); }
body.cs1-theme-ready:not(.cs1-blue) .cs1-ov__spark { filter: invert(1); opacity: .55; }
body.cs1-theme-ready:not(.cs1-blue) .cs1-ov__stage { --cs1-grid: rgba(0, 0, 0, .04); }

@media (prefers-reduced-motion: reduce) {
	.cs1-hero__img { animation: none; }
	body.home-v4 main.v4.cs1, .cs1-info__name, .cs1-info__facts dt, .cs1-info__facts dd, .cs1-block__text, .cs1-block__sub, .cs1-block__list li, .cs1-pill--light { transition: none; }
	.cs1-show__img, .cs1-visit, .cs1-visit svg { transition: none; }
}

/* ==========================================================================
   Extra sections (Cookie Pokie, Figma 631-17891): split hero word, overview
   mascot trio, brand guidelines, collage, e-commerce, marketing, social.
   ========================================================================== */

.cs1-hero__word--split { display: flex; flex-direction: column; padding: 0 2%; line-height: 1; }
.cs1-hero__word--split span { display: block; text-align: left; }
.cs1-hero__word--split span + span { margin-top: -.02em; text-align: right; }
.cs1-hero__deco {
	position: absolute;
	z-index: 0;
	left: 13.5%;
	top: 50%;
	width: 9.2%;
	height: auto;
	pointer-events: none;
	transform: translate3d(0, calc(var(--cs1-p, 0) * -40%), 0);
}

.cs1-ov__trio {
	display: grid;
	grid-template-columns: 1fr minmax(160px, 17%) 1fr;
	align-items: center;
	gap: 40px;
	margin-top: 64px;
}
.cs1-ov__side { max-width: 300px; margin: 0; font-size: 13px; line-height: 1.45; color: rgba(255, 255, 255, .85); transition: color .8s ease; }
.cs1-ov__side--right { justify-self: end; text-align: right; }
.cs1-ov__mascot { width: 100%; height: auto; transition: filter .8s ease; }
body.cs1-theme-ready:not(.cs1-blue) .cs1-ov__side { color: #555; }
body.cs1-theme-ready:not(.cs1-blue) .cs1-ov__mascot { filter: brightness(0) saturate(100%) invert(64%) sepia(17%) saturate(906%) hue-rotate(302deg) brightness(.97); }

/* Generic section head */
.cs1-head { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.cs1-head--center { align-items: center; max-width: 860px; margin: 0 auto; text-align: center; }
.cs1-head__title { margin: 0; font-size: clamp(24px, 2.23vw, 32px); line-height: 1.15; font-weight: 400; color: #000; }
.cs1-head__intro { margin: 0; font-size: 16px; line-height: 1.45; color: #555; }
.cs1-head--dark .cs1-head__title { color: #bdbdbd; }
.cs1-head--dark .cs1-head__title strong { color: #fff; font-weight: 400; }
.cs1-head--dark .cs1-head__intro { max-width: 820px; color: #bdbdbd; }
.cs1-head--dark .cs1-pill--light { background: #3e3e3e; color: #fff; }

/* Markup bits (details / marketing rows) */
.cs1-md__label { margin: 16px 0 0; font-size: 16px; color: #000; }
.cs1-md__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.cs1-md__tags li { padding: 6px 14px; border: 1px solid #dbdbdb; border-radius: 999px; font-size: 14px; color: #333; }
.cs1-md__tags li::before { content: none !important; }
.cs1-md__title { margin: 0; font-size: clamp(22px, 1.9vw, 27px); line-height: 1.2; font-weight: 400; color: #000; }
.cs1-md__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 16px 0 0; padding: 0; list-style: none; }
.cs1-md__stats li { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 14px; background: #f3f3f3; }
.cs1-md__stats li::before { content: none !important; }
.cs1-md__stats strong { font-size: 24px; line-height: 1.2; font-weight: 500; color: #000; }
.cs1-md__stats span { font-size: 13px; line-height: 1.35; color: #555; }
body.cs1-blue .cs1-md__label { color: #fff; }
body.cs1-blue .cs1-md__tags li { border-color: rgba(255, 255, 255, .5); color: #fff; }

/* Brand guidelines */
.cs1-guide, .cs1-collage, .cs1-mkt, .cs1-soc { padding: 100px var(--cs1-pad); background: #fff; color: #000; }
body.cs1-theme-ready .cs1-guide, body.cs1-theme-ready .cs1-collage, body.cs1-theme-ready .cs1-mkt, body.cs1-theme-ready .cs1-soc { background: transparent; }
.cs1-guide__sub { margin: 56px 0 20px; font-size: clamp(22px, 1.9vw, 27px); font-weight: 400; color: #000; }
.cs1-swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.cs1-swatch {
	display: flex;
	flex-direction: column;
	min-height: 200px;
	padding: 22px;
	border-radius: 16px;
	background: var(--sw);
	color: #fff;
	font-size: 14px;
	line-height: 1.5;
}
.cs1-swatch::before { content: none !important; }
.cs1-swatch:nth-child(n+5) { grid-column: span 2; min-height: 130px; }
.cs1-swatch.is-light { color: #000; border: 1px solid #e6e6e6; }
.cs1-swatch__name { margin-bottom: auto; padding-bottom: 24px; font-size: 15px; }
.cs1-swatch__val { font-size: 13px; opacity: .9; }
.cs1-fonts { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.cs1-font { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; padding: 28px 32px; border-radius: 16px; background: #f3f3f3; }
.cs1-font::before { content: none !important; }
.cs1-font__name { margin: 0; font-size: clamp(40px, 4.4vw, 64px); line-height: 1.1; font-weight: 600; color: #000; }
.cs1-font__meta { display: flex; gap: 40px; margin: 14px 0 0; font-size: 13px; color: #555; }
.cs1-font__sample p { margin: 0 0 14px; font-size: 15px; line-height: 1.5; color: #404164; }

/* Collage */
.cs1-collage { padding-top: 0; }
.cs1-collage__grid { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; }
.cs1-collage__grid li::before { content: none !important; }
.cs1-collage__img { display: block; width: 100%; height: auto; border-radius: 16px; }

/* E-commerce (dark) */
.cs1-ecom { padding: 100px var(--cs1-pad); background: #000; color: #fff; }
body.cs1-theme-ready .cs1-ecom { background: transparent; }
.cs1-ecom__big { margin-top: 40px; overflow: hidden; border-radius: 20px; }
.cs1-ecom__img { display: block; width: 100%; height: auto; }
.cs1-ecom__row { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; margin-top: 32px; }
.cs1-ecom__card { overflow: hidden; border-radius: 20px; }
.cs1-ecom__side { padding: 30px; }
.cs1-ecom__title { margin: 0 0 24px; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.2; font-weight: 400; color: #bdbdbd; }
.cs1-ecom__title strong { font-weight: 400; color: #fff; }
.cs1-ecom__text { margin: 0; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.5; color: #bdbdbd; }

/* Marketing rows */
.cs1-mkt__row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-top: 64px; }
.cs1-mkt__row.is-flip .cs1-mkt__copy { order: 2; }
.cs1-mkt__copy > * + * { margin-top: 14px; }
.cs1-mkt__media { overflow: hidden; border-radius: 20px; }
.cs1-mkt__img { display: block; width: 100%; height: auto; }

/* Social row */
.cs1-soc { padding-right: 0; overflow: hidden; }
.cs1-soc .cs1-head { padding-right: var(--cs1-pad); }
.cs1-soc__row {
	display: flex;
	gap: 24px;
	margin: 40px 0 0;
	padding: 0 var(--cs1-pad) 8px 0;
	list-style: none;
	overflow-x: auto;
	scroll-snap-type: x proximity;
	scrollbar-width: none;
}
.cs1-soc__row::-webkit-scrollbar { display: none; }
.cs1-soc__row li { flex: 0 0 clamp(220px, 24.6vw, 356px); scroll-snap-align: start; }
.cs1-soc__row li::before { content: none !important; }
.cs1-soc__img { display: block; width: 100%; height: auto; border-radius: 16px; }

/* Cookie Pokie layout (Figma Hero 81 / Brand Overview) */
main.cs1[data-cs1-key="cookie-pookie"] .cs1-hero {
	background: linear-gradient(180deg, #a0545e 0%, #cf7b91 100%);
}
main.cs1[data-cs1-key="cookie-pookie"] .cs1-hero__img { top: 17.5%; left: 24.6%; width: 50.7%; filter: drop-shadow(0 30px 60px rgba(70, 18, 30, .35)); }
main.cs1[data-cs1-key="cookie-pookie"] .cs1-hero__word { top: 6%; color: rgba(255, 255, 255, .45); }
main.cs1[data-cs1-key="cookie-pookie"] .cs1-ov__stage .cs1-ov__mark { display: none; }
main.cs1[data-cs1-key="cookie-pookie"] .cs1-ov .cs1-pill--white { background: rgba(255, 255, 255, .22); color: #fff; }
main.cs1[data-cs1-key="cookie-pookie"] .cs1-ov__stage { height: clamp(320px, 36vw, 520px); }

@media (max-width: 991px) {
	.cs1-swatches { grid-template-columns: repeat(2, 1fr); }
	.cs1-swatch:nth-child(n+5) { grid-column: span 1; }
	.cs1-font { grid-template-columns: 1fr; gap: 16px; }
	.cs1-ecom__row, .cs1-mkt__row { grid-template-columns: 1fr; }
	.cs1-mkt__row.is-flip .cs1-mkt__copy { order: 0; }
	.cs1-md__stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
	.cs1-guide, .cs1-collage, .cs1-mkt, .cs1-soc, .cs1-ecom { padding: 56px 20px; }
	.cs1-soc { padding-right: 0; }
	.cs1-ov__trio { grid-template-columns: 1fr; justify-items: center; gap: 20px; text-align: center; }
	.cs1-ov__side, .cs1-ov__side--right { justify-self: center; text-align: center; }
	.cs1-ov__mascot { width: 40%; }
	.cs1-hero__deco { display: none; }
	.cs1-swatch { min-height: 150px; }
	.cs1-font__meta { gap: 16px; flex-wrap: wrap; }
}

/* Split hero word sized like Figma (Cookie / Pookie ~200px at 1440). */
main.cs1 .cs1-hero__word--split { font-size: clamp(80px, 13.9vw, 240px); }

/* Cookie Pookie hero layers at the Figma positions (Psd 5 2: 788x701 @ 316,120; mascot group @ 184,425). */
main.cs1[data-cs1-key="cookie-pookie"] .cs1-hero__img { top: 13.7%; left: 21.9%; width: 54.7%; }
main.cs1[data-cs1-key="cookie-pookie"] .cs1-hero__deco { top: 48.7%; left: 12.8%; width: 9.6%; }

/* Cookie Pookie: no hero scroll animation (no pin, static layers). */
main.cs1[data-cs1-key="cookie-pookie"] .cs1-hero-pin__space { display: none; }
main.cs1[data-cs1-key="cookie-pookie"] .cs1-hero-pin > .cs1-hero { position: relative; height: auto; min-height: clamp(620px, 60.7vw, 960px); }
main.cs1[data-cs1-key="cookie-pookie"] .cs1-hero__img,
main.cs1[data-cs1-key="cookie-pookie"] .cs1-hero__word,
main.cs1[data-cs1-key="cookie-pookie"] .cs1-hero__deco,
main.cs1[data-cs1-key="cookie-pookie"] .cs1-hero::before { transform: none; opacity: 1; }
main.cs1[data-cs1-key="cookie-pookie"] .cs1-hero__word { opacity: 1; }

/* Cookie Pookie Brand Overview grid (Figma 628-77354): colour logo + round badge, 1348x784 stage. */
main.cs1[data-cs1-key="cookie-pookie"] .cs1-ov__stage { height: clamp(320px, 54.4vw, 784px); }
main.cs1[data-cs1-key="cookie-pookie"] .cs1-ov__stage .cs1-ov__mark--color { display: block; opacity: 1 !important; top: 50%; left: 21.5%; width: 26.3%; max-width: none; transform: translateY(-50%); }
.cs1-ov__badge { position: absolute; top: 50%; left: 58.4%; width: 18.5%; height: auto; transform: translateY(-50%); }

/* White-phase artwork (-light files, Figma handoff): pink faces instead of white, cross-faded with the page background. */
.cs1-ov__mascots { position: relative; display: block; width: 100%; }
.cs1-ov__mascot--light, .cs1-ov__logo--light { position: absolute; inset: 0; width: 100%; height: 100%; }
.cs1-ov__mark--light, .cs1-ov__badge--light, .cs1-ov__mascot--light, .cs1-ov__logo--light { opacity: 0; filter: none !important; transition: opacity .8s ease; }
.cs1-ov__badge, .cs1-ov__mascot, .cs1-ov__logo, .cs1-ov__mark { transition: opacity .8s ease, filter .8s ease; }
body.cs1-theme-ready:not(.cs1-blue) .cs1-ov__mark--light,
body.cs1-theme-ready:not(.cs1-blue) .cs1-ov__badge--light,
body.cs1-theme-ready:not(.cs1-blue) .cs1-ov__mascot--light,
body.cs1-theme-ready:not(.cs1-blue) .cs1-ov__logo--light { opacity: 1 !important; }
body.cs1-theme-ready:not(.cs1-blue) .cs1-ov__stage:has(.cs1-ov__mark--light) .cs1-ov__mark--color,
body.cs1-theme-ready:not(.cs1-blue) .cs1-ov__stage:has(.cs1-ov__badge--light) .cs1-ov__badge:not(.cs1-ov__badge--light),
body.cs1-theme-ready:not(.cs1-blue) .cs1-ov__mascots:has(.cs1-ov__mascot--light) .cs1-ov__mascot:not(.cs1-ov__mascot--light),
body.cs1-theme-ready:not(.cs1-blue) .cs1-ov__logos:has(.cs1-ov__logo--light) .cs1-ov__logo:not(.cs1-ov__logo--light) { opacity: 0 !important; }
main.cs1[data-cs1-key="cookie-pookie"] .cs1-ov__stage .cs1-ov__mark--light { display: block; top: 50%; left: 21.5%; width: 26.3%; max-width: none; transform: translateY(-50%); }

/* Cookie Pookie grid (reference): lines at 8 / 30.5 / 70.5 / 92% and 19.7 / 51 / 82.4%, crosses on the inner lines. */
main.cs1[data-cs1-key="cookie-pookie"] .cs1-ov__stage {
	--cs1-ln: rgba(255, 255, 255, .3);
	--cs1-cross: rgba(255, 255, 255, .85);
	-webkit-mask: radial-gradient(80% 90% at 50% 50%, #000 60%, transparent 100%);
	mask: radial-gradient(80% 90% at 50% 50%, #000 60%, transparent 100%);
}
main.cs1[data-cs1-key="cookie-pookie"] .cs1-ov__stage::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		linear-gradient(var(--cs1-cross), var(--cs1-cross)) 51% 30.5% / 14px 1px no-repeat,
		linear-gradient(var(--cs1-cross), var(--cs1-cross)) 51% 30.5% / 1px 14px no-repeat,
		linear-gradient(var(--cs1-cross), var(--cs1-cross)) 51% 70.5% / 14px 1px no-repeat,
		linear-gradient(var(--cs1-cross), var(--cs1-cross)) 51% 70.5% / 1px 14px no-repeat,
		linear-gradient(var(--cs1-ln), var(--cs1-ln)) 0 8% / 100% 1px no-repeat,
		linear-gradient(var(--cs1-ln), var(--cs1-ln)) 0 92% / 100% 1px no-repeat,
		linear-gradient(var(--cs1-ln), var(--cs1-ln)) 51% 0 / 1px 100% no-repeat;
	transition: opacity .8s ease;
}
main.cs1[data-cs1-key="cookie-pookie"] .cs1-ov__line--h1 { top: 30.5%; left: 0; right: 0; }
main.cs1[data-cs1-key="cookie-pookie"] .cs1-ov__line--h2 { top: 70.5%; left: 0; right: 0; }
main.cs1[data-cs1-key="cookie-pookie"] .cs1-ov__line--v1 { left: 19.7%; top: 0; bottom: 0; }
main.cs1[data-cs1-key="cookie-pookie"] .cs1-ov__line--v2 { left: 82.4%; top: 0; bottom: 0; }
main.cs1[data-cs1-key="cookie-pookie"] .cs1-ov__spark--1 { top: 30.5%; left: 19.7%; }
main.cs1[data-cs1-key="cookie-pookie"] .cs1-ov__spark--2 { top: 30.5%; left: 80%; }
main.cs1[data-cs1-key="cookie-pookie"] .cs1-ov__spark--3 { top: 70.5%; left: 19.7%; }
main.cs1[data-cs1-key="cookie-pookie"] .cs1-ov__spark--4 { top: 70.5%; left: 80%; }
body.cs1-theme-ready:not(.cs1-blue) main.cs1[data-cs1-key="cookie-pookie"] .cs1-ov__stage { --cs1-ln: rgba(0, 0, 0, .1); --cs1-cross: rgba(0, 0, 0, .45); }

/* Cookie Pookie hero: the laptop floats (hangs and bobs up and down). */
@keyframes cs1-float {
	0%, 100% { transform: translateY(-1.4%) rotate(-1deg); }
	50% { transform: translateY(1.6%) rotate(.6deg); }
}
main.cs1[data-cs1-key="cookie-pookie"] .cs1-hero__img {
	animation: cs1-rise 1s cubic-bezier(.2, .7, .2, 1) both .2s, cs1-float 6s ease-in-out 1.2s infinite;
	transform-origin: 50% 20%;
}
@media (prefers-reduced-motion: reduce) {
	main.cs1[data-cs1-key="cookie-pookie"] .cs1-hero__img { animation: none; }
}

/* Cookie Pookie exact Figma fills: Hero 81 #A0545E -> #CF7B91, Brand Overview #CF7B91 -> #A0555E (layer that fades out in the white phase). Page brand colour #A0555E = overview bottom, so the details continue without an edge. */
main.cs1[data-cs1-key="cookie-pookie"] .cs1-hero { background: linear-gradient(180deg, #a0545e 0%, #cf7b91 100%); }
main.cs1[data-cs1-key="cookie-pookie"] .cs1-hero::after { content: none; }
main.cs1[data-cs1-key="cookie-pookie"] .cs1-ov { position: relative; isolation: isolate; }
main.cs1[data-cs1-key="cookie-pookie"] .cs1-ov::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #cf7b91 0%, #a0555e 100%); opacity: 0; transition: opacity .8s ease; pointer-events: none; }
body.cs1-blue main.cs1[data-cs1-key="cookie-pookie"] .cs1-ov::before { opacity: 1; }

/* Cookie Pookie laptop: the exported shadow is cut at the left and bottom edges of the image; fade those edges (laptop body is inside 5%..97%). */
main.cs1[data-cs1-key="cookie-pookie"] .cs1-hero__img {
	-webkit-mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 97.5%, transparent 100%), linear-gradient(to top, transparent 0, #000 8%);
	-webkit-mask-composite: source-in;
	mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 97.5%, transparent 100%), linear-gradient(to top, transparent 0, #000 8%);
	mask-composite: intersect;
}

/* Scene image: its dark top would cut hard against a white page before the page fades to black; fade the image in over its top quarter so it blends with whatever colour the page has. */
.cs1-scene__img {
	-webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 24%);
	mask-image: linear-gradient(to bottom, transparent 0, #000 24%);
}

/* Details section to Figma (02 - About Us 628-77521): 118px top/bottom, 381 | 915 grid with 24 gap, name 20/1.5,
   text 16/1.2 #585858, pill->text 32, paragraphs 12, blocks 60, facts 70px label + 32 gap, plain bullets. */
.cs1-info { grid-template-columns: 381px minmax(0, 1fr); gap: 24px; padding: 118px var(--cs1-pad); }
.cs1-info__name { font-size: 20px; line-height: 1.5; font-weight: 400; }
.cs1-info__facts { gap: 32px; }
.cs1-info__facts div { grid-template-columns: 70px 1fr; gap: 32px; }
.cs1-info__facts dt { font-size: 16px; line-height: 1.5; }
.cs1-info__facts dd { font-size: 16px; line-height: 1.5; color: #585858; }
.cs1-info__main { gap: 60px; max-width: none; }
.cs1-block > * + * { margin-top: 12px; }
.cs1-block > .cs1-pill + * { margin-top: 32px; }
.cs1-info .cs1-pill--light { padding: 4px 16px; font-size: 16px; line-height: 1.5; }
.cs1-block__text { font-size: 16px; line-height: 1.2; color: #585858; }
.cs1-block__sub, .cs1-md__label { margin-top: 12px; font-size: 16px; line-height: 1.2; font-weight: 400; color: #000; }
.cs1-block__list { gap: 0; margin-top: 12px; }
.cs1-block__list li { padding-left: 14px; font-size: 16px; line-height: 1.2; color: #585858; }
.cs1-block__list li::before { content: "\2022"; top: 0; width: auto; height: auto; border-radius: 0; background: none; color: currentColor; }
body.cs1-blue .cs1-block__list li::before { background: none; }
.cs1-md__tags { gap: 12px; }
.cs1-md__tags li { padding: 4px 12px; font-size: 14px; line-height: 1.5; color: #585858; }

/* Collage section: 60px all round (Figma 1320x1041 grid at 60/60). E-commerce row: side text top-aligned. */
.cs1-collage { padding: 60px var(--cs1-pad); }
.cs1-ecom__row { align-items: start; }
@media (max-width: 991px) {
	.cs1-info { grid-template-columns: 1fr; padding: 72px var(--cs1-pad); }
}
@media (max-width: 767px) {
	.cs1-info { padding: 56px 20px; }
	.cs1-collage { padding: 40px 20px; }
}

/* Cookie Pookie Brand Overview, matched to the Figma screenshot (1440 frame):
   colour small logo 100x57 level with the mascot bottom, 372px mascot column, 1348px centred grid
   (lines 7 / 28.8 / 69.2 / 90.8% and 17.6 / 51 / 84.5%, crosses on the inner lines), crisp lines,
   faint square pattern only in the middle, logo + badge centred at 48.3%. */
main.cs1[data-cs1-key="cookie-pookie"] .cs1-ov { padding-bottom: 96px; }
main.cs1[data-cs1-key="cookie-pookie"] .cs1-ov__trio { grid-template-columns: 1fr 372px 1fr; gap: 24px; margin-top: 56px; }
main.cs1[data-cs1-key="cookie-pookie"] .cs1-ov__side { max-width: 400px; font-size: 14px; line-height: 1.45; align-self: start; margin-top: 40px; }
main.cs1[data-cs1-key="cookie-pookie"] .cs1-ov__meta { margin-top: -57px; }
main.cs1[data-cs1-key="cookie-pookie"] .cs1-ov__logo { height: 57px; }
main.cs1[data-cs1-key="cookie-pookie"] .cs1-ov__logos .cs1-ov__logo:not(.cs1-ov__logo--color):not(.cs1-ov__logo--light) { opacity: 0; }
main.cs1[data-cs1-key="cookie-pookie"] .cs1-ov__logos .cs1-ov__logo--color { opacity: 1; }
body.cs1-theme-ready:not(.cs1-blue) main.cs1[data-cs1-key="cookie-pookie"] .cs1-ov__logos:has(.cs1-ov__logo--light) .cs1-ov__logo--color { opacity: 0 !important; }
main.cs1[data-cs1-key="cookie-pookie"] .cs1-ov__stage {
	margin: 88px calc(3.2vw - var(--cs1-pad)) 0;
	background: none;
	-webkit-mask: none;
	mask: none;
}
main.cs1[data-cs1-key="cookie-pookie"] .cs1-ov__stage::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background:
		linear-gradient(var(--cs1-grid) 1px, transparent 1px) 0 0 / 40px 40px,
		linear-gradient(90deg, var(--cs1-grid) 1px, transparent 1px) 0 0 / 40px 40px;
	-webkit-mask: radial-gradient(40% 40% at 50% 48%, #000 30%, transparent 100%);
	mask: radial-gradient(40% 40% at 50% 48%, #000 30%, transparent 100%);
}
main.cs1[data-cs1-key="cookie-pookie"] .cs1-ov__stage > img { z-index: 1; }
main.cs1[data-cs1-key="cookie-pookie"] .cs1-ov__stage::before {
	z-index: 1;
	background:
		linear-gradient(var(--cs1-cross), var(--cs1-cross)) 51% 28.8% / 14px 1px no-repeat,
		linear-gradient(var(--cs1-cross), var(--cs1-cross)) 51% 28.8% / 1px 14px no-repeat,
		linear-gradient(var(--cs1-cross), var(--cs1-cross)) 51% 69.2% / 14px 1px no-repeat,
		linear-gradient(var(--cs1-cross), var(--cs1-cross)) 51% 69.2% / 1px 14px no-repeat,
		linear-gradient(var(--cs1-ln), var(--cs1-ln)) 0 7% / 100% 1px no-repeat,
		linear-gradient(var(--cs1-ln), var(--cs1-ln)) 0 90.8% / 100% 1px no-repeat,
		linear-gradient(var(--cs1-ln), var(--cs1-ln)) 51% 0 / 1px 100% no-repeat;
}
main.cs1[data-cs1-key="cookie-pookie"] .cs1-ov__line--h1 { top: 28.8%; }
main.cs1[data-cs1-key="cookie-pookie"] .cs1-ov__line--h2 { top: 69.2%; }
main.cs1[data-cs1-key="cookie-pookie"] .cs1-ov__line--v1 { left: 17.6%; }
main.cs1[data-cs1-key="cookie-pookie"] .cs1-ov__line--v2 { left: 84.5%; }
main.cs1[data-cs1-key="cookie-pookie"] .cs1-ov__spark--1 { top: 28.8%; left: 17.6%; }
main.cs1[data-cs1-key="cookie-pookie"] .cs1-ov__spark--2 { top: 28.8%; left: 80.8%; }
main.cs1[data-cs1-key="cookie-pookie"] .cs1-ov__spark--3 { top: 69.2%; left: 17.6%; }
main.cs1[data-cs1-key="cookie-pookie"] .cs1-ov__spark--4 { top: 69.2%; left: 80.8%; }
main.cs1[data-cs1-key="cookie-pookie"] .cs1-ov__line, main.cs1[data-cs1-key="cookie-pookie"] .cs1-ov__spark { z-index: 1; }
main.cs1[data-cs1-key="cookie-pookie"] .cs1-ov__stage .cs1-ov__mark--color,
main.cs1[data-cs1-key="cookie-pookie"] .cs1-ov__stage .cs1-ov__mark--light { top: 48.3%; }
main.cs1[data-cs1-key="cookie-pookie"] .cs1-ov__badge { top: 48.3%; }
@media (max-width: 767px) {
	main.cs1[data-cs1-key="cookie-pookie"] .cs1-ov__trio { grid-template-columns: 1fr; }
	main.cs1[data-cs1-key="cookie-pookie"] .cs1-ov__side { margin-top: 0; }
	main.cs1[data-cs1-key="cookie-pookie"] .cs1-ov__meta { margin-top: 24px; }
	main.cs1[data-cs1-key="cookie-pookie"] .cs1-ov__logo { height: 40px; }
	main.cs1[data-cs1-key="cookie-pookie"] .cs1-ov__stage { margin: 40px -20px 0; }
	main.cs1[data-cs1-key="cookie-pookie"] .cs1-ov { padding-bottom: 48px; }
}
main.cs1[data-cs1-key="cookie-pookie"] .cs1-ov__trio { margin-top: 7px; }
main.cs1[data-cs1-key="cookie-pookie"] .cs1-ov__side { margin-top: 143px; }
@media (max-width: 767px) { main.cs1[data-cs1-key="cookie-pookie"] .cs1-ov__side { margin-top: 0; } main.cs1[data-cs1-key="cookie-pookie"] .cs1-ov__trio { margin-top: 32px; } }

/* Cookie Pookie overview text to Figma: paragraph 32/110% 1049px; side texts 16/120% white, 395px, 146px below the mascot top. */
main.cs1[data-cs1-key="cookie-pookie"] .cs1-ov__text { line-height: 1.1; max-width: 1049px; }
main.cs1[data-cs1-key="cookie-pookie"] .cs1-ov__side { font-size: 16px; line-height: 1.2; max-width: 395px; margin-top: 146px; }
body.cs1-blue main.cs1[data-cs1-key="cookie-pookie"] .cs1-ov__side { color: #fff; }
@media (max-width: 767px) {
	main.cs1[data-cs1-key="cookie-pookie"] .cs1-ov__text { font-size: 22px; }
	main.cs1[data-cs1-key="cookie-pookie"] .cs1-ov__side { margin-top: 0; font-size: 14px; }
}

/* Theme layer fix 1: the overview gradient layer fades out over its last 30%, so the overview's bottom edge is always
   the page colour itself (no line against the details section while the page fades pink -> white). */
main.cs1[data-cs1-key="cookie-pookie"] .cs1-ov::before {
	-webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
	mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
}

/* Theme layer fix 2: light sections stay readable while the page is black (e.g. Marketing scrolling in under
   E-commerce, Social before the related cases): headings white, text #bdbdbd, pills dark — like the homepage. */
main.cs1 :is(.cs1-guide, .cs1-collage, .cs1-mkt, .cs1-soc) :is(.cs1-head__title, .cs1-head__intro, .cs1-pill--light, .cs1-guide__sub, .cs1-mkt__copy *) {
	transition: color .8s ease, background-color .8s ease;
}
body.v4-theme-dark main.cs1 :is(.cs1-guide, .cs1-collage, .cs1-mkt, .cs1-soc) .cs1-head__title,
body.v4-theme-dark main.cs1 :is(.cs1-guide, .cs1-collage, .cs1-mkt, .cs1-soc) .cs1-guide__sub,
body.v4-theme-dark main.cs1 .cs1-mkt__copy :is(h2, h3, h4, strong, .cs1-md__label) { color: #fff; }
body.v4-theme-dark main.cs1 :is(.cs1-guide, .cs1-collage, .cs1-mkt, .cs1-soc) .cs1-head__intro,
body.v4-theme-dark main.cs1 .cs1-mkt__copy :is(p, li) { color: #bdbdbd; }
body.v4-theme-dark main.cs1 :is(.cs1-guide, .cs1-collage, .cs1-mkt, .cs1-soc) .cs1-pill--light { background: #3e3e3e; color: #fff; }
@media (prefers-reduced-motion: reduce) {
	main.cs1 :is(.cs1-guide, .cs1-collage, .cs1-mkt, .cs1-soc) :is(.cs1-head__title, .cs1-head__intro, .cs1-pill--light, .cs1-guide__sub, .cs1-mkt__copy *) { transition: none; }
}

/* Details: the project name scrolls with the page (no sticky), so it stays above Industry / Services / Founded. */
.cs1-info__side > .cs1-info__name { position: static; }

/* Figma comments (Sensory #11-#18, also applied to Cookie Pookie where shared). */
/* #13: the details left column sticks as one unit — name with the facts right below it — while the right column scrolls (desktop). */
@media (min-width: 992px) {
	.cs1-info__side { position: sticky; top: 120px; align-self: start; justify-content: flex-start; gap: 48px; }
	.cs1-info__side > *, .cs1-info__side > .cs1-info__name { position: static; }
}
/* #11: overview paragraph 32px / 110%, 1049px wide (Figma). */
main.cs1 .cs1-ov__text { line-height: 1.1; max-width: 1049px; }
/* #12: Sensory small overview logo 107 x 60 (Figma). */
main.cs1[data-cs1-key="sensory"] .cs1-ov__logo { height: 60px; }
/* #15 / #17: the tablet-on-mountains scene is removed from Sensory. */
main.cs1[data-cs1-key="sensory"] .cs1-scene { display: none; }
/* #18: Sensory hero melts into the Brand Overview blue — the fade now sits over the iMac stand, so there is no cut edge. */
main.cs1[data-cs1-key="sensory"] .cs1-hero::after {
	z-index: 1;
	height: min(380px, 40%);
	background: linear-gradient(180deg, rgba(35, 62, 153, 0) 0%, rgba(35, 62, 153, .55) 45%, var(--cs1-navy) 100%);
}
main.cs1[data-cs1-key="sensory"] .cs1-hero__img { z-index: 0; }
main.cs1[data-cs1-key="sensory"] .cs1-hero__foot { z-index: 3; }

main.cs1[data-cs1-key="sensory"] .cs1-hero::after { height: min(240px, 24%); background: linear-gradient(180deg, rgba(35, 62, 153, 0) 0%, rgba(35, 62, 153, .35) 40%, var(--cs1-navy) 100%); }

/* ===== Responsive QA fixes (2026-11-06) ===== */
/* All widths: the theme gives every li 20px left padding + a bullet; photo lists must line up with the text. */
main.cs1 :is(.cs1-collage__grid, .cs1-soc__row) > li { padding-left: 0; list-style: none; }
main.cs1 :is(.cs1-collage__grid, .cs1-soc__row) > li::before { content: none; display: none; }

/* All widths: dark sections stay readable while the page is still white (e.g. E-commerce scrolling in). */
main.cs1 .cs1-ecom :is(.cs1-head__title, .cs1-head__title strong, .cs1-head__intro, .cs1-ecom__title, .cs1-ecom__title strong, .cs1-ecom__text) { transition: color .8s ease; }
body.cs1-theme-ready:not(.v4-theme-dark):not(.cs1-blue) main.cs1 .cs1-ecom :is(.cs1-head__title, .cs1-ecom__title) { color: #646464; }
body.cs1-theme-ready:not(.v4-theme-dark):not(.cs1-blue) main.cs1 .cs1-ecom :is(.cs1-head__title strong, .cs1-ecom__title strong) { color: #000; }
body.cs1-theme-ready:not(.v4-theme-dark):not(.cs1-blue) main.cs1 .cs1-ecom :is(.cs1-head__intro, .cs1-ecom__text) { color: #555; }

@media (max-width: 767px) {
	/* Cookie Pookie hero on phones: whole word visible below the header, laptop larger and lower, no empty band. */
	main.cs1[data-cs1-key="cookie-pookie"] .cs1-hero-pin > .cs1-hero { min-height: 640px; }
	main.cs1 .cs1-hero__word--split { font-size: 17vw; }
	main.cs1[data-cs1-key="cookie-pookie"] .cs1-hero__word { top: 96px; }
	main.cs1[data-cs1-key="cookie-pookie"] .cs1-hero__img { top: 30%; left: 3%; width: 94%; }
	main.cs1[data-cs1-key="cookie-pookie"] .cs1-hero__deco { top: 64%; left: 4%; width: 16%; }
	/* Overview side texts read left-aligned on phones. */
	main.cs1 .cs1-ov__side, main.cs1 .cs1-ov__side--right { text-align: left; justify-self: start; }
	/* Details: clear space between the facts and the first block. */
	main.cs1 .cs1-info { row-gap: 56px; }
}
@media (max-width: 380px) {
	main.cs1 .cs1-ov__text { font-size: 20px; }
	main.cs1 .cs1-info__facts div { grid-template-columns: 70px 1fr; gap: 16px; }
}
/* Showcase cards + client logos: drop the theme's 20px li padding (all widths). */
main.cs1 .cs1-show__grid > li.cs1-show__item, main.cs1 .cs1-show__logos > li { padding-left: 0; }
/* Sensory hero on phones: word fits and sits above the iMac, iMac lower, tags clear of the stand. */
@media (max-width: 767px) {
	main.cs1[data-cs1-key="sensory"] .cs1-hero-pin > .cs1-hero { min-height: 700px; }
	main.cs1[data-cs1-key="sensory"] .cs1-hero__word { top: 96px; font-size: 21vw; }
	main.cs1[data-cs1-key="sensory"] .cs1-hero__img { top: 210px; left: 2%; width: 96%; }
}
/* Tablets (768-991px): hero word below the header; overview = mascot on top, the two texts side by side under it. */
@media (min-width: 768px) and (max-width: 991px) {
	main.cs1[data-cs1-key="cookie-pookie"] .cs1-hero__word { top: 104px; }
	main.cs1[data-cs1-key="cookie-pookie"] .cs1-ov__trio { grid-template-columns: 1fr 1fr; gap: 32px 40px; margin-top: 48px; }
	main.cs1[data-cs1-key="cookie-pookie"] .cs1-ov__mascots { grid-column: 1 / -1; order: -1; justify-self: center; max-width: 320px; }
	main.cs1[data-cs1-key="cookie-pookie"] .cs1-ov__side { margin-top: 0; max-width: none; text-align: left; justify-self: start; }
	main.cs1[data-cs1-key="cookie-pookie"] .cs1-ov__meta { margin-top: 40px; }
}
/* Phones: Cookie Pookie hero height follows the laptop size (190px offset + laptop 94vw x 0.89 + 150px tag area). */
@media (max-width: 767px) {
	main.cs1[data-cs1-key="cookie-pookie"] .cs1-hero-pin > .cs1-hero { min-height: calc(340px + 83.7vw); }
	main.cs1[data-cs1-key="cookie-pookie"] .cs1-hero__img { top: 190px; }
}
/* Phones: Sensory hero height follows the iMac size (210px offset + iMac 96vw x 0.816 + ~215px tag area). */
@media (max-width: 767px) {
	main.cs1[data-cs1-key="sensory"] .cs1-hero-pin > .cs1-hero { min-height: calc(425px + 78.3vw); }
}
/* Tablets: Sensory hero — word below the header, iMac smaller and below it, tags under the stand. */
@media (min-width: 768px) and (max-width: 991px) {
	main.cs1[data-cs1-key="sensory"] .cs1-hero-pin > .cs1-hero { min-height: 880px; }
	main.cs1[data-cs1-key="sensory"] .cs1-hero__word { top: 100px; font-size: 19vw; }
	main.cs1[data-cs1-key="sensory"] .cs1-hero__img { top: 270px; left: 12%; width: 76%; }
}
