/**
 * Cinestar Child — sponsors.css
 * Sponsors & Partners page (/sponsors-partners/) styles.
 * Class prefix: ce-sp-* (page-specific), ce-marquee / ce-sponsor-* (shared marquee)
 * Depends on: main.css (design tokens + utilities)
 *
 * Sections:
 *   A. Page Hero         — gradient bg with subtle shimmer
 *   B. Intro Copy        — centred brand-voice paragraph
 *   C. Marquee Base      — shared marquee + sponsor-badge styles (also in home.css)
 *   D. Logo Rows         — heading + 3 auto-scrolling marquees
 *   E. CTA Section       — two-column benefit list + action card
 */


/* ════════════════════════════════════════════════════════════════════
   A. PAGE HERO
   Softer spotlight vs gallery — gold/purple, centred composition.
   ════════════════════════════════════════════════════════════════════ */

.ce-sp-hero {
	position: relative;
	min-height: 42vh;
	display: flex;
	align-items: flex-end;
	padding-top: var(--ce-header-h, 80px);
	padding-bottom: 3.5rem;
	overflow: hidden;
}

@media (max-width: 767px) {
	.ce-sp-hero {
		min-height: 36vh;
		padding-bottom: 2.5rem;
	}
}

.ce-sp-hero__bg {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 55% 70% at 30% 0%,   rgba(255, 215,   0, 0.15) 0%, transparent 65%),
		radial-gradient(ellipse 45% 60% at 80% 20%,  rgba(123,  47, 190, 0.14) 0%, transparent 60%),
		radial-gradient(ellipse 40% 50% at 50% 110%, rgba(255,  20, 147, 0.10) 0%, transparent 55%),
		var(--ce-bg, #0A0A0A);
}

.ce-sp-hero__content {
	position: relative;
	z-index: 1;
}

.ce-sp-hero__eyebrow {
	font-family: var(--ce-font-body, 'Inter', sans-serif);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--ce-gold, #FFD700);
	margin: 0 0 0.75rem;
}

.ce-sp-hero__title {
	font-family: var(--ce-font-head, 'Montserrat', sans-serif);
	font-size: clamp(2.25rem, 5vw, 4rem);
	font-weight: 900;
	color: var(--ce-text, #FFFFFF);
	line-height: 1.05;
	margin: 0 0 1rem;
	letter-spacing: -0.02em;
}

.ce-sp-hero__sub {
	font-family: var(--ce-font-body, 'Inter', sans-serif);
	font-size: clamp(0.95rem, 1.5vw, 1.1rem);
	color: var(--ce-text-muted, rgba(255,255,255,0.65));
	max-width: 52ch;
	margin: 0;
	line-height: 1.65;
}


/* ════════════════════════════════════════════════════════════════════
   B. INTRO COPY
   ════════════════════════════════════════════════════════════════════ */

.ce-sp-intro {
	padding: 3.5rem 0;
	background: var(--ce-bg, #0A0A0A);
	border-bottom: 1px solid rgba(255,255,255,0.06);
}

.ce-sp-intro__inner {
	max-width: 72ch;
	margin: 0 auto;
	text-align: center;
}

.ce-sp-intro__text {
	font-family: var(--ce-font-body, 'Inter', sans-serif);
	font-size: clamp(1rem, 1.4vw, 1.125rem);
	color: rgba(255,255,255,0.80);
	line-height: 1.80;
	margin: 0;
}


/* ════════════════════════════════════════════════════════════════════
   C. MARQUEE BASE — shared marquee + sponsor-badge styles
   Duplicated from home.css so sponsors page is self-contained.
   ════════════════════════════════════════════════════════════════════ */

/* Marquee overflow container */
.ce-marquee {
	overflow: hidden;
	width: 100%;
	margin-block: 1rem;
	mask-image: linear-gradient(
		to right,
		transparent 0%,
		black 12%,
		black 88%,
		transparent 100%
	);
	-webkit-mask-image: linear-gradient(
		to right,
		transparent 0%,
		black 12%,
		black 88%,
		transparent 100%
	);
}

.ce-marquee__track {
	display: flex;
	align-items: center;
	gap: 3.25rem;
	width: max-content;
	animation: ce-marquee 50s linear infinite;
}

/* Only pause on actual hover devices */
@media (hover: hover) {
	.ce-marquee:hover .ce-marquee__track {
		animation-play-state: paused;
	}
}

@keyframes ce-marquee {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}

/* Sponsor logo badge */
.ce-sponsor-badge {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	padding: 10px 16px;
	border-radius: 12px;
	background: transparent;
	transition: background 0.3s ease, padding 0.3s ease;
}

.ce-sponsor-badge img {
	max-width: 120px;
	height: auto;
	display: block;
	filter: brightness(0) invert(1);
	opacity: 0.7;
	transition: filter 0.3s ease, opacity 0.3s ease;
}

.ce-sponsor-badge:hover {
	background: rgba(255, 255, 255, 0.95);
}

.ce-sponsor-badge:hover img {
	filter: none;
	opacity: 1;
}

/* Size variants */
.ce-sponsor--sm img { max-width: 100px; }
.ce-sponsor--lg img { max-width: 122px; }
.ce-sponsor--wide img { max-width: 160px; }
.ce-sponsor--xl img { max-width: 180px; }
.ce-sponsor--xxl img { max-width: 270px; }

/* Round logos — preserve aspect with contain */
.ce-sponsor--round img {
	max-width: none;
	object-fit: contain;
}

/* Light/gold logos — on light backgrounds */
.ce-sponsor--light img {
	filter: brightness(2) grayscale(1);
}

.ce-sponsor--light:hover img {
	filter: brightness(0.7) saturate(1.4);
}

/* Dark-background logos — keep dark bg, brighten content */
.ce-sponsor--dark img {
	filter: grayscale(1) brightness(1.5);
	opacity: 0.8;
}

.ce-sponsor--dark:hover {
	background: transparent;
}

.ce-sponsor--dark:hover img {
	filter: none;
	opacity: 1;
}

/* Dark hover pill — for logos with white/light artwork that vanish on white bg */
.ce-sponsor--dark-hover:hover {
	background: rgba(30, 30, 30, 0.95);
}

/* Gentle filter — preserves fine detail instead of full invert */
.ce-sponsor--gentle img {
	filter: grayscale(1) brightness(1.8);
	opacity: 0.8;
}

.ce-sponsor--gentle:hover img {
	filter: none;
	opacity: 1;
}

/* Medium size — between default (120px) and wide (160px) */
.ce-sponsor--md img { max-width: 140px; }

/* Rounded image — softens visible background boxes */
.ce-sponsor--img-rounded img {
	border-radius: 12px;
}

/* Soft rounded — 8px radius + dark border to hide faint image borders */
.ce-sponsor--img-soft img {
	border-radius: 8px;
	border: 2px solid #0A0A0A;
}

/* Boosted contrast — makes thin/fine text visible in default state */
.ce-sponsor--contrast img {
	filter: brightness(0) invert(1) contrast(1.3);
	opacity: 0.9;
}

.ce-sponsor--contrast:hover img {
	filter: none;
	opacity: 1;
}

/* Blend mode — blends dark image bg into page bg instead of inverting */
.ce-sponsor--blend img {
	filter: none;
	mix-blend-mode: luminosity;
	opacity: 0.8;
}

.ce-sponsor--blend:hover img {
	filter: none;
	mix-blend-mode: normal;
	opacity: 1;
}

/* Native background — for logos with baked-in white/light backgrounds.
   Default: muted greyscale card. Hover: full-colour with own background. */
.ce-sponsor--native-bg img {
	filter: grayscale(1);
	opacity: 0.5;
	border-radius: 12px;
}

.ce-sponsor--native-bg:hover {
	background: transparent;
}

.ce-sponsor--native-bg:hover img {
	filter: none;
	opacity: 1;
	border-radius: 12px;
}

/* Mobile: proportionally smaller logos */
@media (max-width: 767px) {
	.ce-sponsor-badge { padding: 8px 12px; }
	.ce-sponsor-badge img { max-width: 90px; }
	.ce-sponsor--sm img { max-width: 75px; }
	.ce-sponsor--lg img { max-width: 92px; }
	.ce-sponsor--wide img { max-width: 120px; }
	.ce-sponsor--xl img { max-width: 135px; }
	.ce-sponsor--xxl img { max-width: 200px; }
	.ce-sponsor--round img { max-width: none; object-fit: contain; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
	.ce-marquee__track {
		animation: none;
	}
}


/* ════════════════════════════════════════════════════════════════════
   D. LOGO ROWS — heading + 3 auto-scrolling marquees
   ════════════════════════════════════════════════════════════════════ */

.ce-sp-logos {
	padding: 4rem 0 3rem;
	background: var(--ce-bg, #0A0A0A);
}

.ce-sp-logos__heading {
	font-family: var(--ce-font-head, 'Montserrat', sans-serif);
	font-size: clamp(1.5rem, 2.5vw, 2rem);
	font-weight: 800;
	color: var(--ce-text, #FFFFFF);
	margin: 0 0 2.5rem;
	text-align: center;
	letter-spacing: -0.01em;
}

.ce-sp-logos__heading::after {
	content: '';
	display: block;
	width: 3rem;
	height: 3px;
	background: var(--ce-gold, #FFD700);
	margin: 0.6rem auto 0;
	border-radius: 2px;
}

/* Spacing between marquee rows */
.ce-sp-logos .ce-marquee {
	margin-block: 0.75rem;
}

/* Reverse scroll direction for row 2 */
.ce-marquee--reverse .ce-marquee__track {
	animation-direction: reverse;
}


/* ════════════════════════════════════════════════════════════════════
   E. CTA SECTION — two-column layout (copy + action card)
   ════════════════════════════════════════════════════════════════════ */

.ce-sp-cta {
	padding: 5rem 0;
	background:
		radial-gradient(ellipse 80% 70% at 0% 50%, rgba(255,215,0,0.07) 0%, transparent 60%),
		radial-gradient(ellipse 60% 60% at 100% 50%, rgba(123,47,190,0.08) 0%, transparent 55%),
		var(--ce-bg, #0A0A0A);
	border-top: 1px solid rgba(255,255,255,0.06);
}

.ce-sp-cta__inner {
	display: grid;
	grid-template-columns: 1fr 420px;
	gap: 4rem;
	align-items: start;
}

@media (max-width: 1023px) {
	.ce-sp-cta__inner {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}
}

/* Left column — copy */
.ce-sp-cta__eyebrow {
	display: block;
	font-family: var(--ce-font-body, 'Inter', sans-serif);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--ce-gold, #FFD700);
	margin-bottom: 0.75rem;
}

.ce-sp-cta__title {
	font-family: var(--ce-font-head, 'Montserrat', sans-serif);
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	font-weight: 900;
	color: var(--ce-text, #FFFFFF);
	margin: 0 0 1.25rem;
	letter-spacing: -0.02em;
	line-height: 1.1;
}

.ce-sp-cta__body {
	font-family: var(--ce-font-body, 'Inter', sans-serif);
	font-size: 0.975rem;
	color: rgba(255,255,255,0.72);
	line-height: 1.75;
	margin: 0;
	max-width: 60ch;
}

/* Right column — action card */
.ce-sp-cta__card {
	background: rgba(255,255,255,0.04);
	border: 1px solid rgba(255,255,255,0.10);
	border-radius: 14px;
	padding: 2rem;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1.25rem;
	position: sticky;
	top: calc(var(--ce-header-h, 80px) + 1.5rem);
}

@media (max-width: 1023px) {
	.ce-sp-cta__card {
		position: static;
		max-width: 480px;
	}
}

.ce-sp-cta__card-heading {
	font-family: var(--ce-font-body, 'Inter', sans-serif);
	font-size: 1rem;
	font-weight: 600;
	color: var(--ce-text, #FFFFFF);
	margin: 0;
	line-height: 1.5;
}

.ce-sp-cta__card-note {
	font-family: var(--ce-font-body, 'Inter', sans-serif);
	font-size: 0.82rem;
	color: rgba(255,255,255,0.45);
	margin: 0;
	line-height: 1.5;
}

.ce-sp-cta__email {
	color: var(--ce-gold, #FFD700);
	text-decoration: none;
	font-weight: 500;
}

.ce-sp-cta__email:hover {
	text-decoration: underline;
}

.ce-sp-cta__email:focus-visible {
	outline: 2px solid var(--ce-gold, #FFD700);
	outline-offset: 2px;
	border-radius: 2px;
}

/* Full-width button inside card */
.ce-sp-cta__card .ce-btn {
	width: 100%;
	justify-content: center;
	text-align: center;
}
