/**
 * DJ Refresh — ILS promo band ("Easy To Activate. Always In Sync.").
 *
 * Cinematic full-bleed section: performer photo (images/djr/ils/ils-hero.jpg) under a dark scrim,
 * with the ILS pitch + CTAs top-left and a glassy benefit ribbon along the bottom. Desktop uses a
 * left-to-right scrim (subject stays visible on the right); mobile switches to an overall darken so
 * the white copy reads over the photo at any width.
 */

.djr-ils {
	position: relative;
	color: #fff;
	background: #130b1d;
	overflow: hidden;
}

/*
 * Photo lives on its own layer so JS can translate it for a subtle parallax (js/djr-ils.js).
 * It's oversized top & bottom (inset: -12% 0) to give the transform room to travel without
 * exposing an edge. The scrim gradients sit above it on .djr-ils::before, below the content.
 */
.djr-ils__bg {
	position: absolute;
	inset: -12% 0;
	z-index: 0;
	background: #130b1d url("../images/djr/ils/ils-hero.jpg") center right / cover no-repeat;
	will-change: transform;
}

.djr-ils::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background:
		linear-gradient(90deg, rgba(9, 7, 14, 0.95) 0%, rgba(15, 10, 24, 0.86) 34%, rgba(20, 14, 32, 0.45) 64%, rgba(20, 14, 32, 0.08) 100%),
		radial-gradient(1100px 780px at 84% -14%, rgba(179, 40, 70, 0.40), rgba(179, 40, 70, 0) 58%);
}

@media (prefers-reduced-motion: reduce) {
	.djr-ils__bg { transform: none !important; }
}

.djr-ils__inner {
	position: relative;
	z-index: 2;
	max-width: 1600px;
	margin: 0 auto;
	padding: clamp(56px, 7vw, 96px) clamp(24px, 6.25vw, 100px);
	min-height: clamp(520px, 44vw, 680px);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: clamp(32px, 5vw, 64px);
}

/* ---------- Copy ---------- */
.djr-ils__copy { max-width: 680px; }

.djr-ils__eyebrow {
	display: inline-block;
	margin-bottom: 18px;
	color: #ff3b3b;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.djr-ils__title {
	margin: 0 0 18px;
	color: #fff;
	font-weight: 800;
	line-height: 1.03;
	letter-spacing: -0.01em;
	font-size: clamp(34px, 5.4vw, 70px);
}

.djr-ils__lead {
	margin: 0 0 28px;
	max-width: 620px;
	color: #cfc9e0;
	font-weight: 400;
	line-height: 1.55;
	font-size: clamp(15px, 1.3vw, 20px);
}

/* ---------- CTAs ---------- */
.djr-ils__cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
}

/*
 * These render on the legacy homepage chrome, whose global style.css sets `a{color:#444}` and
 * leaves `a:hover` to the browser default (blue + underline). Pin colour and text-decoration on
 * every link state so neither the legacy rule nor the UA default can leak through on hover/focus.
 */
.djr-ils__btn,
.djr-ils__btn:link,
.djr-ils__btn:visited,
.djr-ils__btn:hover,
.djr-ils__btn:focus,
.djr-ils__btn:active {
	text-decoration: none;
}

.djr-ils__btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 28px;
	border: 1.5px solid transparent;
	border-radius: 999px;
	font-weight: 600;
	font-size: 16px;
	line-height: 1;
	cursor: pointer;
	transition: transform 0.15s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

/* Primary — stays white text; darkens, lifts and gains a soft red glow on hover. */
.djr-ils__btn--primary,
.djr-ils__btn--primary:link,
.djr-ils__btn--primary:visited {
	background: #a91d22;
	border-color: #a91d22;
	color: #fff;
}
.djr-ils__btn--primary:hover,
.djr-ils__btn--primary:focus-visible {
	background: #c22630;
	border-color: #c22630;
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(169, 29, 34, 0.45);
}

/* Ghost — outlined; inverts to a solid white pill with dark text on hover. */
.djr-ils__btn--ghost,
.djr-ils__btn--ghost:link,
.djr-ils__btn--ghost:visited {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.55);
	color: #fff;
}
.djr-ils__btn--ghost:hover,
.djr-ils__btn--ghost:focus-visible {
	background: #fff;
	border-color: #fff;
	color: #130b1d;
	transform: translateY(-2px);
}

.djr-ils__play {
	display: inline-block;
	width: 0;
	height: 0;
	margin-right: 2px;
	border-left: 9px solid currentColor;
	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
}

/* ---------- Benefit ribbon ---------- */
.djr-ils__ribbon {
	list-style: none;
	margin: 0;
	padding: clamp(16px, 1.6vw, 22px) clamp(20px, 2.2vw, 34px);
	display: flex;
	flex-wrap: wrap;
	gap: clamp(18px, 2.4vw, 40px);
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.10);
	border-radius: 16px;
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}

.djr-ils__feat {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 1 1 200px;
	min-width: 190px;
}

.djr-ils__check {
	flex: 0 0 auto;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #a91d22;
	display: inline-grid;
	place-items: center;
}
.djr-ils__check::before {
	content: "\2713"; /* ✓ */
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
}

.djr-ils__feat-body { display: flex; flex-direction: column; gap: 1px; }
.djr-ils__feat-title { font-weight: 700; font-size: 17px; color: #fff; }
.djr-ils__feat-sub { font-size: 13px; color: #b3a9c6; }

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
	.djr-ils__feat { flex: 1 1 42%; min-width: 42%; }
}

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
	.djr-ils__bg { background-position: 62% center; }
	/* Switch the left-to-right scrim for an overall darken so white copy reads over the whole photo. */
	.djr-ils::before {
		background: linear-gradient(180deg, rgba(9, 7, 14, 0.86) 0%, rgba(15, 10, 24, 0.70) 42%, rgba(12, 9, 20, 0.90) 100%);
	}
	.djr-ils__inner {
		min-height: 0;
		padding: 52px 24px 40px;
		gap: 36px;
	}
	.djr-ils__title { font-size: clamp(30px, 9vw, 42px); }
	.djr-ils__lead { font-size: 15px; }
	.djr-ils__ribbon { flex-direction: column; gap: 16px; padding: 20px; }
	.djr-ils__feat { flex: 1 1 auto; min-width: 0; }
}
