/* ==========================================================================
   WIMPRO Homepage — dedicated front-page styles
   Loaded only on the front page. Uses the theme's design tokens.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Layout container (global to the front page)
   -------------------------------------------------------------------------- */
.container {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 28px;
}

/* --------------------------------------------------------------------------
   Buttons (base system used by every homepage CTA)
   -------------------------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 13px 28px;
	border-radius: 999px;
	border: 1px solid transparent;
	font-family: var(--wimpro-font-body);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: none;
	line-height: 1;
	white-space: nowrap;
	cursor: pointer;
	transition: transform var(--wimpro-transition-fast),
		background var(--wimpro-transition-fast),
		border-color var(--wimpro-transition-fast),
		box-shadow var(--wimpro-transition-fast),
		color var(--wimpro-transition-fast);
}
.btn:hover { transform: translateY(-2px); }
.btn svg { flex-shrink: 0; }

.btn--gold {
	background: linear-gradient(180deg, #e6c55c 0%, var(--wimpro-gold) 100%);
	color: #0a0a0a;
	box-shadow: 0 6px 24px rgba(212, 175, 55, 0.28);
}
.btn--gold:hover,
.btn--gold:focus-visible {
	background: linear-gradient(180deg, #f0d47a 0%, #ddbb3f 100%);
	color: #0a0a0a;
	box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.btn--outline {
	background: rgba(10, 10, 10, 0.35);
	border-color: rgba(255, 255, 255, 0.35);
	color: var(--wimpro-white);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}
.btn--outline:hover,
.btn--outline:focus-visible {
	border-color: var(--wimpro-gold);
	color: var(--wimpro-gold);
	background: rgba(10, 10, 10, 0.55);
}

.btn--lg { padding: 17px 38px; font-size: 14px; }
.btn--sm { padding: 9px 18px; font-size: 11px; }
.btn[disabled] { opacity: 0.6; cursor: default; transform: none; }

/* --------------------------------------------------------------------------
   Badges ("WIMPRO ORIGINAL", "COMING SOON", "ORIGINAL")
   -------------------------------------------------------------------------- */
.badge {
	display: inline-block;
	padding: 6px 12px;
	border-radius: 999px;
	font-family: var(--wimpro-font-body);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	line-height: 1;
}
.badge--gold {
	background: linear-gradient(180deg, #e6c55c, var(--wimpro-gold));
	color: #0a0a0a;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.badge--sm { padding: 5px 10px; font-size: 9px; }

/* --------------------------------------------------------------------------
   HERO (full-bleed cinematic slideshow)
   -------------------------------------------------------------------------- */
.hero {
	position: relative;
	height: 82vh;
	min-height: 560px;
	max-height: 900px;
	overflow: hidden;
	background:
		radial-gradient(120% 120% at 20% 0%, #1c1c22 0%, #0b0b0e 45%, #060606 100%);
	display: block;
}
.hero__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.7s ease, visibility 0.7s ease;
	display: block;
}
.hero__slide--active {
	opacity: 1;
	visibility: visible;
}
.hero__backdrop-wrap {
	position: absolute;
	inset: 0;
	display: block;
}
.hero__backdrop {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transform: scale(1.04);
	animation: heroZoom 14s ease-out forwards;
}
@keyframes heroZoom {
	from { transform: scale(1.06); }
	to   { transform: scale(1); }
}
.hero__gradient {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(5, 5, 8, 0.92) 0%, rgba(5, 5, 8, 0.45) 45%, rgba(5, 5, 8, 0.15) 100%),
		linear-gradient(0deg, #060606 0%, rgba(6, 6, 6, 0) 45%);
	display: block;
}
.hero__content {
	position: relative;
	z-index: 3;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: flex-start;
	padding-bottom: 140px;
	max-width: 1280px;
}
.hero__content .badge { margin-bottom: 20px; }
.hero__title {
	margin: 0 0 18px;
	font-size: clamp(40px, 7vw, 84px);
	font-weight: 900;
	line-height: 0.98;
	letter-spacing: -0.03em;
	text-transform: uppercase;
	max-width: 14ch;
	color: var(--wimpro-white);
	text-shadow: 0 4px 40px rgba(0, 0, 0, 0.6);
}
.hero__desc {
	margin: 0 0 24px;
	max-width: 560px;
	font-size: clamp(15px, 1.6vw, 19px);
	line-height: 1.6;
	color: #cfcfcf;
}
.hero__meta {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 28px;
	font-size: 13px;
	letter-spacing: 0.04em;
	color: #b8b8b8;
}
.hero__meta-item { display: inline-block; }
.hero__meta-item + .hero__meta-item::before {
	content: '';
	display: inline-block;
	width: 4px;
	height: 4px;
	margin: 0 8px 3px;
	border-radius: 50%;
	background: var(--wimpro-gold);
	vertical-align: middle;
}
.hero__meta-item--rated {
	color: var(--wimpro-white);
	font-weight: 600;
}
.hero__actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
}

/* --------------------------------------------------------------------------
   Academy banner (section 8)
   -------------------------------------------------------------------------- */
.home-section--academy { padding: 0; }
.academy-banner {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(90% 120% at 85% 0%, #241d0d 0%, #0c0a05 55%, #060606 100%);
}
.academy-banner__bg {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(120deg, rgba(212, 175, 55, 0.10) 0%, transparent 50%),
		repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 90px);
	display: block;
}
.academy-banner__inner {
	position: relative;
	z-index: 2;
	padding-top: 110px;
	padding-bottom: 110px;
}
.academy-banner__content {
	max-width: 720px;
}
.academy-banner__content .home-section__eyebrow { margin-bottom: 16px; }
.academy-banner__title {
	margin: 0 0 10px;
	font-family: var(--wimpro-font-heading);
	font-size: clamp(30px, 5vw, 58px);
	font-weight: 900;
	line-height: 1.02;
	letter-spacing: -0.02em;
	text-transform: uppercase;
	background: linear-gradient(110deg, #f4e2a0 0%, var(--wimpro-gold) 60%, #a8841c 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}
.academy-banner__subtitle {
	margin: 0 0 18px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--wimpro-white);
	opacity: 0.85;
}
.academy-banner__desc {
	margin: 0 0 32px;
	max-width: 580px;
	font-size: 16px;
	line-height: 1.7;
	color: #c9c9c9;
}

/* Hero index (01 / 02 / 03) + next arrow */
.hero__index {
	position: absolute;
	right: 40px;
	bottom: 64px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	z-index: 5;
}
.hero__index-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 0;
	background: none;
	border: 0;
	color: var(--wimpro-white);
	font-family: var(--wimpro-font-heading);
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.1em;
	cursor: pointer;
	opacity: 0.55;
	transition: opacity var(--wimpro-transition-fast);
}
.hero__index-item:hover,
.hero__index-item--active { opacity: 1; }
.hero__index-line {
	display: inline-block;
	width: 0;
	height: 1px;
	background: linear-gradient(90deg, var(--wimpro-gold), transparent);
	transition: width var(--wimpro-transition);
}
.hero__index-item--active .hero__index-line { width: 34px; }

.hero__next {
	position: absolute;
	right: 40px;
	bottom: 24px;
	z-index: 5;
	width: 52px;
	height: 52px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	border: 1px solid rgba(255,255,255,0.25);
	background: rgba(0,0,0,0.35);
	color: var(--wimpro-white);
	cursor: pointer;
	transition: border-color var(--wimpro-transition-fast), background var(--wimpro-transition-fast);
}
.hero__next:hover { border-color: var(--wimpro-gold); background: rgba(0,0,0,0.6); }

/* Generic home section shell */
.home-section {
	padding: 72px 0;
	position: relative;
}
.home-section--stories,
.home-section--watch,
.home-section--cta { background: var(--wimpro-surface); }

.home-section__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 36px;
}
.home-section__head--center {
	justify-content: center;
	text-align: center;
}
.home-section__eyebrow {
	margin: 0 0 8px;
	font-size: 12px;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--wimpro-gold);
	font-weight: 600;
}
.home-section__head--center .home-section__eyebrow { text-align: center; }
.home-section__title {
	margin: 0;
	font-family: var(--wimpro-font-heading);
	font-size: clamp(28px, 4vw, 44px);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: -0.02em;
	color: var(--wimpro-white);
}
.home-section__subtitle {
	margin: 10px 0 0;
	font-family: var(--wimpro-font-heading);
	font-size: clamp(20px, 3vw, 30px);
	font-weight: 700;
}
.home-stories__gold { color: var(--wimpro-gold); }
.home-section__text {
	max-width: 560px;
	color: var(--wimpro-gray);
	line-height: 1.75;
	font-size: 16px;
}
.home-section__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--wimpro-gold);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	transition: color var(--wimpro-transition-fast);
}
.home-section__link:hover { color: var(--wimpro-white); }

/* Now Showing */
.home-now-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
.home-now-card {
	display: block;
	text-decoration: none;
	color: inherit;
	overflow: hidden;
	border-radius: var(--wimpro-radius-lg);
	background: var(--wimpro-card);
	border: 1px solid var(--wimpro-border);
	transition: transform var(--wimpro-transition), border-color var(--wimpro-transition);
}
.home-now-card:hover { transform: translateY(-4px); border-color: var(--wimpro-gold); }
.home-now-card__poster {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
}
.home-now-card__poster img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.home-now-card__play {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	background: rgba(0,0,0,0.35);
	color: var(--wimpro-white);
	opacity: 0;
	transition: opacity var(--wimpro-transition);
}
.home-now-card:hover .home-now-card__play { opacity: 1; }
.home-now-card__poster .badge { position: absolute; top: 12px; left: 12px; }
.home-now-card__info {
	padding: 16px 18px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}
.home-now-card__title { margin: 0; font-size: 17px; font-weight: 600; }
.home-now-card__year { color: var(--wimpro-gray); font-size: 14px; }

/* We Make Stories */
.home-stories {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 48px;
	align-items: center;
}
.home-stories__copy .btn { margin-top: 8px; }
.home-stories__visual {
	position: relative;
	min-height: 360px;
}
.home-stories__frame {
	position: absolute;
	display: block;
	border-radius: var(--wimpro-radius-lg);
}
.home-stories__frame--a {
	inset: 0 10% 0 0;
	background: linear-gradient(140deg, rgba(212,175,55,0.25), rgba(212,175,55,0.05));
	border: 1px solid rgba(212,175,55,0.4);
}
.home-stories__frame--b {
	inset: 8% 0 8% 22%;
	background: linear-gradient(140deg, rgba(255,255,255,0.06), transparent);
	border: 1px solid var(--wimpro-border);
}
.home-stories__stamp {
	position: absolute;
	top: 50%;
	right: 6%;
	transform: translateY(-50%);
	font-family: var(--wimpro-font-heading);
	font-weight: 800;
	font-size: 20px;
	letter-spacing: 0.2em;
	line-height: 1.3;
	color: var(--wimpro-gold);
	text-transform: uppercase;
	text-align: center;
}

/* Mobile Court */
.home-mobilecourt {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 56px;
	align-items: center;
}
.home-mobilecourt__poster-wrapper {
	position: relative;
	display: block;
	border-radius: var(--wimpro-radius-lg);
	overflow: hidden;
	box-shadow: var(--wimpro-shadow-lg);
}
.home-mobilecourt__poster {
	width: 100%;
	display: block;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}
.home-mobilecourt__badge { position: absolute; top: 16px; left: 16px; }
.home-mobilecourt__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }

/* WIMPRO Watch devices */
.home-watch {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 48px;
	align-items: center;
}
.home-watch__devices {
	position: relative;
	min-height: 260px;
	display: grid;
	place-items: center;
}
.device {
	position: absolute;
	display: block;
	background: #0a0a0a;
	border: 1px solid var(--wimpro-border);
	box-shadow: var(--wimpro-shadow);
}
.device__screen {
	position: absolute;
	display: block;
	background: linear-gradient(140deg, rgba(212,175,55,0.12), rgba(0,0,0,0.8));
	inset: 8px;
	border-radius: 2px;
}
.device--tv {
	width: 220px;
	height: 130px;
	border-radius: 6px;
	left: 6%;
	top: 8%;
}
.device--laptop {
	width: 200px;
	height: 128px;
	border-radius: 5px;
	right: 4%;
	top: 4%;
}
.device--tablet {
	width: 110px;
	height: 150px;
	border-radius: 8px;
	left: 24%;
	bottom: 2%;
}
.device--phone {
	width: 72px;
	height: 140px;
	border-radius: 10px;
	right: 16%;
	bottom: 0;
}

/* The Craft */
.home-craft-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}
.home-craft-card {
	padding: 28px 24px;
	background: var(--wimpro-card);
	border: 1px solid var(--wimpro-border);
	border-radius: var(--wimpro-radius-lg);
	transition: border-color var(--wimpro-transition), transform var(--wimpro-transition);
}
.home-craft-card:hover { border-color: var(--wimpro-gold); transform: translateY(-3px); }
.home-craft-card__title {
	margin: 0 0 8px;
	font-size: 18px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--wimpro-white);
}
.home-craft-card__desc { margin: 0; color: var(--wimpro-gray); font-size: 14px; line-height: 1.6; }

/* Behind the Frame masonry */
.home-frame-masonry {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-auto-rows: 180px;
	gap: 16px;
}
.home-frame-item {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: var(--wimpro-radius);
	border: 1px solid var(--wimpro-border);
	text-decoration: none;
}
.home-frame-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform var(--wimpro-transition);
}
.home-frame-item:hover img { transform: scale(1.05); }
.home-frame-item--1 { grid-row: span 1; }
.home-frame-item--2 { grid-row: span 2; }
.home-frame-item--3 { grid-row: span 1; }
.home-frame-item--4 { grid-row: span 2; }
.home-frame-item__label {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 24px 12px 10px;
	background: linear-gradient(transparent, rgba(0,0,0,0.85));
	color: var(--wimpro-white);
	font-size: 13px;
	font-weight: 600;
}

/* Academy section banner */
.home-section--academy { padding-top: 0; padding-bottom: 0; }
.academy-banner--fluid { padding: 72px 0; }

/* Journal */
.home-journal {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 24px;
}
.home-journal__featured-inner {
	display: block;
	text-decoration: none;
	color: inherit;
	border-radius: var(--wimpro-radius-lg);
	overflow: hidden;
	background: var(--wimpro-card);
	border: 1px solid var(--wimpro-border);
	height: 100%;
	transition: border-color var(--wimpro-transition);
}
.home-journal__featured-inner:hover { border-color: var(--wimpro-gold); }
.home-journal__thumb img { width: 100%; height: 230px; object-fit: cover; display: block; }
.home-journal__featured-body { padding: 22px 24px 26px; }
.home-journal__cat {
	font-size: 11px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--wimpro-gold);
	font-weight: 700;
}
.home-journal__featured-title { margin: 8px 0 10px; font-size: 22px; font-weight: 700; }
.home-journal__excerpt { margin: 0; color: var(--wimpro-gray); line-height: 1.7; }
.home-journal__list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.home-journal__item-inner {
	display: flex;
	gap: 16px;
	align-items: center;
	padding: 12px;
	background: var(--wimpro-card);
	border: 1px solid var(--wimpro-border);
	border-radius: var(--wimpro-radius);
	text-decoration: none;
	color: inherit;
	height: 100%;
	transition: border-color var(--wimpro-transition);
}
.home-journal__item-inner:hover { border-color: var(--wimpro-gold); }
.home-journal__item-thumb { flex: 0 0 110px; }
.home-journal__item-thumb img { width: 110px; height: 72px; object-fit: cover; border-radius: var(--wimpro-radius-sm); display: block; }
.home-journal__item-title { margin: 0 0 6px; font-size: 15px; font-weight: 600; line-height: 1.4; }
.home-journal__date { color: var(--wimpro-gray); font-size: 13px; }

/* CTA */
.home-section--cta { text-align: center; }
.home-cta__title {
	margin: 0 0 12px;
	font-family: var(--wimpro-font-heading);
	font-size: clamp(30px, 5vw, 56px);
	font-weight: 800;
	text-transform: uppercase;
	line-height: 1.1;
	letter-spacing: -0.02em;
}
.home-cta__title--gold { color: var(--wimpro-gold); }
.home-cta__desc {
	max-width: 520px;
	margin: 0 auto 28px;
	color: var(--wimpro-gray);
	line-height: 1.7;
}

/* Mobile drawer CTA */
.wimpro-mobile-nav-cta {
	padding: 8px 24px 16px;
}
.wimpro-mobile-nav-cta .wimpro-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.06em;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
	.home-stories,
	.home-mobilecourt,
	.home-watch { grid-template-columns: 1fr; gap: 32px; }
	.home-craft-grid { grid-template-columns: repeat(2, 1fr); }
	.home-frame-masonry { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 170px; }
	.home-journal { grid-template-columns: 1fr; }
	.home-watch__devices { min-height: 220px; }
}

@media (max-width: 600px) {
	.home-section { padding: 56px 0; }
	.home-now-grid { grid-template-columns: 1fr; }
	.home-craft-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
	.home-frame-masonry { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
	.home-section__head { flex-direction: column; align-items: flex-start; gap: 12px; }
	.home-section__head--center { align-items: center; }
	.hero__index { right: 20px; bottom: 96px; }
	.hero__next { right: 20px; bottom: 56px; }
	.home-mobilecourt__actions { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
	.hero__slide,
	.hero__index-line,
	.home-now-card,
	.home-craft-card,
	.home-frame-item img {
		transition: none !important;
	}
}

/* ==========================================================================
   WIMPRO — HERO MODERNISATION
   Cinematic motion pass: ken-burns zoom, atmospheric gradient mesh,
   film-grain overlay, staggered slide-in text, glass controls, autoplay bar.
   ========================================================================== */

/* --- Deeper, more cinematic hero backdrop -------------------------------- */
.hero {
  isolation: isolate;
  background:
    radial-gradient(140% 140% at 15% 0%, #23232b 0%, #121216 40%, #060606 100%);
}

/* Slow continuous ken-burns: zoom + pan for each backdrop */
.hero__backdrop {
  will-change: transform;
  animation: wimproKenBurns 18s ease-out both;
}
.hero__slide--active .hero__backdrop { animation: wimproKenBurns 12s ease-out both; }
@keyframes wimproKenBurns {
  0%   { transform: scale(1.12) translate(-1.2%, 0); }
  100% { transform: scale(1.0)  translate(0, 0); }
}

/* --- Atmospheric gradient mesh + subtle animated aurora ------------------ */
.hero__gradient {
  background:
    radial-gradient(120% 90% at 78% -10%, rgba(212, 175, 55, 0.16) 0%, rgba(212, 175, 55, 0) 52%),
    linear-gradient(90deg, rgba(5, 5, 8, 0.94) 0%, rgba(5, 5, 8, 0.55) 45%, rgba(5, 5, 8, 0.12) 100%),
    linear-gradient(0deg, #060606 0%, rgba(6, 6, 6, 0.35) 48%, rgba(6, 6, 6, 0) 78%);
}

/* Drifting gold aurora blob */
.hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: -20% -10% auto auto;
  width: 46vw;
  height: 46vw;
  max-width: 720px;
  max-height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(212, 175, 55, 0.22) 0%, rgba(212, 175, 55, 0) 62%);
  filter: blur(20px);
  opacity: 0.55;
  animation: wimproAurora 16s ease-in-out infinite;
  pointer-events: none;
}
@keyframes wimproAurora {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.42; }
  50%      { transform: translate(-6%, -4%) scale(1.12); opacity: 0.62; }
}

/* --- Film grain (feTurbulence noise) ------------------------------------- */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.16;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/></svg>");
  animation: wimproGrain 0.9s steps(4) infinite;
}
@keyframes wimproGrain {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-2%, -1%); }
  50%  { transform: translate(1%, 2%); }
  75%  { transform: translate(-1%, 2%); }
  100% { transform: translate(2%, -1%); }
}

/* Raise content above grain/aurora */
.hero__content { z-index: 4; }

/* --- Staggered entrance for hero content --------------------------------- */
.hero__slide { transition: opacity 0.9s ease, visibility 0.9s ease; }
.hero__content > * {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero__slide--active .hero__content > * {
  opacity: 1;
  transform: translateY(0);
}
.hero__slide--active .hero__content > *:nth-child(1) { transition-delay: 0.10s; }
.hero__slide--active .hero__content > *:nth-child(2) { transition-delay: 0.20s; }
.hero__slide--active .hero__content > *:nth-child(3) { transition-delay: 0.30s; }
.hero__slide--active .hero__content > *:nth-child(4) { transition-delay: 0.40s; }
.hero__slide--active .hero__content > *:nth-child(5) { transition-delay: 0.50s; }

/* Title with a subtle gold sweep */
.hero__title {
  background: linear-gradient(180deg, #ffffff 0%, #e9e9e9 60%, #bdbdbd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* --- Glass controls (index + next) --------------------------------------- */
.hero__index {
  right: 40px;
  bottom: 88px;
  padding: 16px 14px;
  border-radius: 18px;
  background: rgba(12, 12, 14, 0.42);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}
.hero__index-item {
  position: relative;
  padding: 6px 4px;
  opacity: 0.5;
}
.hero__index-item--active { opacity: 1; }
.hero__index-line {
  width: 28px;
  background: linear-gradient(90deg, var(--wimpro-gold) 0%, rgba(212, 175, 55, 0)); 
}
.hero__index-item--active .hero__index-line {
  width: 44px;
  background: linear-gradient(90deg, var(--wimpro-gold) 0%, var(--wimpro-gold) 70%, rgba(212, 175, 55, 0));
}

.hero__next {
  width: 58px;
  height: 58px;
  background: rgba(12, 12, 14, 0.42);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  transition: border-color var(--wimpro-transition-fast), transform var(--wimpro-transition-fast), background var(--wimpro-transition-fast);
}
.hero__next:hover {
  border-color: var(--wimpro-gold);
  background: rgba(212, 175, 55, 0.16);
  transform: scale(1.06);
}

/* --- Autoplay progress bar (duration — matches JS interval) ---------------- */
.hero__progress {
  position: absolute;
  z-index: 5;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
}
.hero__progress-bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--wimpro-gold), #f0d47a);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.7);
  animation: wimproProgress var(--hero-interval, 8s) linear infinite;
}
@keyframes wimproProgress {
  from { width: 0; }
  to   { width: 100%; }
}
/* reset bar when hero not hovering/autoplay — kept infinite to match 8s timer */

/* --- Reduced motion: disable all hero animation --------------------------- */
@media (prefers-reduced-motion: reduce) {
  .hero__backdrop,
  .hero__slide--active .hero__backdrop { animation: none !important; transform: none !important; }
  .hero::before,
  .hero::after { animation: none !important; }
  .hero::after { opacity: 0.12; }
  .hero__content > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero__progress-bar { animation: none !important; width: 0 !important; }
  .hero__title { -webkit-text-fill-color: var(--wimpro-white); }
}



/* ==========================================================================
   WIMPRO - Cinematic Noir-Gold Refinement Layer (Home)
   Elegant hero + homepage section refinement.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Elegant section eyebrows — refined gold with a hairline rule
   -------------------------------------------------------------------------- */
.home-section__eyebrow {
  font-weight: 500;
  letter-spacing: 0.34em;
  color: var(--wimpro-gold-light);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
}
.home-section__eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, var(--wimpro-gold), transparent);
}
.home-section__head--center .home-section__eyebrow {
  justify-content: center;
}
.home-section__head--center .home-section__eyebrow::after {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--wimpro-gold));
}

/* --------------------------------------------------------------------------
   Elegant titles — cinematic serif, no forced uppercase
   -------------------------------------------------------------------------- */
.home-section__title {
  font-family: var(--wimpro-font-display);
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  font-size: clamp(30px, 4.4vw, 48px);
  line-height: 1.08;
}
.home-section__subtitle {
  font-family: var(--wimpro-font-display);
  font-style: italic;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   Quiet, elegant section links with underline grow
   -------------------------------------------------------------------------- */
.home-section__link {
  position: relative;
  letter-spacing: 0.2em;
  font-size: 12px;
}
.home-section__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--wimpro-gold-line);
  transform: scaleX(1);
  transform-origin: left;
  transition: transform var(--wimpro-transition);
}
.home-section__link:hover::after { transform: scaleX(0.4); }
.home-section__link:hover { color: var(--wimpro-gold-light); }

/* --------------------------------------------------------------------------
   Refined Now Showing cards
   -------------------------------------------------------------------------- */
.home-now-card {
  border: 1px solid var(--wimpro-border-soft);
  border-radius: var(--wimpro-radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent 45%), var(--wimpro-card);
  box-shadow: none;
  transition: transform var(--wimpro-transition), box-shadow var(--wimpro-transition), border-color var(--wimpro-transition);
}
.home-now-card:hover {
  transform: translateY(-6px);
  border-color: var(--wimpro-gold-line);
  box-shadow: var(--wimpro-shadow-lg), 0 0 0 1px rgba(201,168,76,0.05);
}
.home-now-card__poster { border-radius: calc(var(--wimpro-radius) - 2px); }
.home-now-card__title { font-family: var(--wimpro-font-display); font-weight: 600; letter-spacing: 0; }
.home-now-card__year { letter-spacing: 0.12em; text-transform: uppercase; font-size: 12px; color: rgba(255,255,255,0.5); }

/* --------------------------------------------------------------------------
   Refined Craft cards
   -------------------------------------------------------------------------- */
.home-craft-card {
  border: 1px solid var(--wimpro-border-soft);
  border-radius: var(--wimpro-radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent), var(--wimpro-card);
  transition: transform var(--wimpro-transition), border-color var(--wimpro-transition), box-shadow var(--wimpro-transition);
}
.home-craft-card:hover {
  border-color: var(--wimpro-gold-line);
  transform: translateY(-4px);
  box-shadow: var(--wimpro-shadow);
}
.home-craft-card__title { font-family: var(--wimpro-font-display); font-weight: 600; letter-spacing: 0; color: var(--wimpro-gold-light); }

/* --------------------------------------------------------------------------
   Behind the Frame — elegant hover sheen
   -------------------------------------------------------------------------- */
.home-frame-item {
  border-radius: var(--wimpro-radius);
  overflow: hidden;
  border: 1px solid var(--wimpro-border-soft);
  box-shadow: none;
  transition: transform var(--wimpro-transition), border-color var(--wimpro-transition), box-shadow var(--wimpro-transition);
}
.home-frame-item:hover {
  border-color: var(--wimpro-gold-line);
  box-shadow: var(--wimpro-shadow-lg);
}
.home-frame-item__label {
  font-family: var(--wimpro-font-display);
  letter-spacing: 0.04em;
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   Refined Academy banner
   -------------------------------------------------------------------------- */
.academy-banner {
  border-radius: var(--wimpro-radius-xl);
  border: 1px solid var(--wimpro-border-soft);
  box-shadow: var(--wimpro-shadow-lg);
  overflow: hidden;
}
.academy-banner__title {
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.1;
}
.academy-banner__subtitle { letter-spacing: 0.34em; color: var(--wimpro-gold-light); }
.academy-banner__desc { color: rgba(255,255,255,0.7); line-height: 1.75; }

/* --------------------------------------------------------------------------
   CTA — refined centered statement
   -------------------------------------------------------------------------- */
.home-cta__title {
  font-family: var(--wimpro-font-display);
  font-weight: 700;
  letter-spacing: 0;
}
.home-cta__title--gold {
  background: linear-gradient(120deg, #e6cd82, var(--wimpro-gold), #b8912f);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.home-cta__desc { color: rgba(255,255,255,0.65); line-height: 1.75; max-width: 560px; margin-left: auto; margin-right: auto; }

/* --------------------------------------------------------------------------
   Hero — quieter, more cinematic grain & glass
   -------------------------------------------------------------------------- */
.hero::after { opacity: 0.08; }
.hero::before { opacity: 0.35; }
.hero__index { border: 1px solid var(--wimpro-border-soft); }
.hero__next { border: 1px solid var(--wimpro-border-soft); }

/* Staggered title treatment for hero */
.hero__title {
  font-weight: 700;
  letter-spacing: 0;
}

/* ==========================================================================
   SLEEK DESIGN REFINEMENT (cinematic noir-gold, front page, phase 2)
   ========================================================================== */

/* --- Hero: gold hairline base + breathing cinematic glow --- */
.hero {
  background: #050505;
}
.hero__gradient {
  background:
    linear-gradient(90deg, rgba(4, 4, 6, 0.96) 0%, rgba(4, 4, 6, 0.5) 45%, transparent 100%),
    linear-gradient(0deg, #050505 0%, rgba(5, 5, 5, 0) 55%);
}
.hero__slide--active .hero__backdrop {
  animation: heroZoom 16s ease-out forwards, heroGlow 6s ease-in-out infinite alternate;
}
@keyframes heroGlow {
  from { filter: brightness(0.96) saturate(1.02); }
  to   { filter: brightness(1.05) saturate(1.08) sepia(0.06) hue-rotate(-8deg); }
}

/* Gold hairline under the hero content */
.hero__content { position: relative; }
.hero__content::after {
  content: "";
  position: absolute;
  left: 0; bottom: 96px;
  width: 96px; height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--wimpro-gold), transparent);
}

/* Title: halo glow for cinematic presence */
.hero__title {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7), 0 0 60px rgba(212, 175, 55, 0.18);
}

/* Badge on hero */
.hero__content .badge--gold {
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.4), 0 6px 18px rgba(0, 0, 0, 0.4);
}

/* --- Section headers: eyebrow w/ gold rule + title sheen --- */
.home-section__head { position: relative; }
.home-section__eyebrow {
  position: relative;
  display: inline-block;
  padding-left: 26px;
  font-size: 11px;
  letter-spacing: 0.32em;
}
.home-section__eyebrow::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 16px; height: 1px;
  background: linear-gradient(90deg, var(--wimpro-gold), transparent);
}
.home-section__head--center .home-section__eyebrow { padding-left: 0; padding-right: 26px; }
.home-section__head--center .home-section__eyebrow::before {
  left: auto; right: 0;
  background: linear-gradient(270deg, var(--wimpro-gold), transparent);
}

.home-section__title {
  background: linear-gradient(180deg, #fff 0%, #c9c9c9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--wimpro-white);
}

/* View-all link underline sweep */
.home-section__link {
  position: relative;
  padding-bottom: 4px;
}
.home-section__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--wimpro-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--wimpro-transition);
}
.home-section__link:hover::after { transform: scaleX(1); }

/* --- Now Showing cards: polished hover --- */
.home-now-card {
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}
.home-now-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6), 0 0 24px rgba(212, 175, 55, 0.08);
}
.home-now-card__poster img {
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.home-now-card:hover .home-now-card__poster img { transform: scale(1.06); }
.home-now-card__play svg { transition: transform 0.3s ease; }
.home-now-card:hover .home-now-card__play svg { transform: scale(1.15); }

/* --- Carousel section headers (align with home-section language) --- */
.wimpro-carousel-section__title {
  position: relative;
  padding-bottom: 10px;
}
.wimpro-carousel-section__title::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 44px; height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--wimpro-gold), transparent);
}
.wimpro-carousel-section__view-all {
  position: relative;
  padding-bottom: 4px;
}
.wimpro-carousel-section__view-all svg { transition: transform var(--wimpro-transition-fast); }
.wimpro-carousel-section__view-all:hover svg { transform: translateX(4px); }

/* --- Elegant scroll-reveal for home sections --- */
.site-front .home-section {
  animation: wimproReveal 0.8s ease both;
}
@keyframes wimproReveal {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Polite motion for reduced-motion users */
@media (prefers-reduced-motion: reduce) {
  .site-front .home-section { animation: none !important; }
  .hero__slide--active .hero__backdrop { animation: none !important; filter: none !important; }
}


