/* EWB Courses — homepage styles.
 *
 * Loaded ONLY on the front page (see inc/enqueue.php).
 * All colours must come from tokens.css — no raw hex values here.
 * Mobile-first; min-width media queries layer on tablet/desktop.
 */

/* Effect utilities (.glass, .aurora, .iridescent, .grain-overlay) are now in assets/css/effects.css */

/* Kicker dark variant (light backgrounds) */
.kicker--dark { color: var(--grey-dark); }
.kicker--dark::after { background: var(--cyan); }

/* Reveal default reuse — already defined in global.css */

/* =========================================================================
   1. Hero
   ========================================================================= */
.ewb-hero {
	position: relative;
	isolation: isolate;
	padding: clamp(4rem, 10vw, 7rem) 0 clamp(3rem, 8vw, 6rem);
	overflow: hidden;
	color: var(--white);
}

.ewb-hero__inner {
	position: relative;
	z-index: 2;
	display: grid;
	gap: var(--space-7);
	grid-template-columns: 1fr;
	align-items: center;
}

.ewb-hero__kicker {
	color: var(--cyan);
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
}

.ewb-hero__kicker::before {
	content: "";
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--lime);
	box-shadow: 0 0 0 4px rgba(166, 255, 0, 0.18);
}

.ewb-hero__title {
	font-family: var(--font-display);
	font-weight: var(--fw-black);
	font-size: clamp(2.25rem, 6vw, 5rem);
	line-height: 1.02;
	letter-spacing: -0.02em;
	margin: 0 0 var(--space-5);
}

.ewb-hero__title-accent {
	display: block;
	color: var(--cyan);
	background: linear-gradient(90deg, var(--cyan), var(--lime));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.ewb-hero__lede {
	font-family: var(--font-body);
	font-weight: var(--fw-semibold);
	font-size: clamp(1rem, 1.6vw, 1.25rem);
	color: var(--grey-light);
	margin: 0 0 var(--space-6);
	max-width: 56ch;
}

.ewb-hero__ctas {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3);
	margin-bottom: var(--space-6);
}

.ewb-hero__chips {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3);
}

.ewb-chip {
	padding: 0.5rem 1rem;
	border-radius: var(--radius-pill);
	font-size: var(--fs-small);
	color: var(--white);
}

.ewb-chip strong {
	color: var(--cyan);
	font-family: var(--font-display);
	font-weight: var(--fw-black);
	margin-inline-end: 4px;
}

.ewb-hero__visual {
	position: relative;
	min-height: 220px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.ewb-hero__blob {
	position: absolute;
	width: clamp(220px, 35vw, 380px);
	height: auto;
	top: -10%;
	right: -10%;
	z-index: 1;
	pointer-events: none;
}

.ewb-hero__device {
	position: relative;
	z-index: 2;
	width: clamp(280px, 90%, 480px);
	height: auto;
	transform: rotate(-3deg);
	filter: drop-shadow(0 40px 80px rgba(0, 184, 255, 0.25));
	display: none;
}

@media (min-width: 768px) {
	.ewb-hero__inner { grid-template-columns: 1.2fr 1fr; gap: var(--space-9); }
	.ewb-hero__device { display: block; }
}

@media (min-width: 1024px) {
	.ewb-hero__inner { grid-template-columns: 1.4fr 1fr; }
}

/* =========================================================================
   2. Trust strip
   ========================================================================= */
.ewb-trust { padding-block: clamp(3rem, 6vw, 5rem); }

.ewb-trust__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-4);
}

.ewb-trust__card {
	padding: var(--space-6);
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
	transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.ewb-trust__card:hover {
	transform: translateY(-4px);
	box-shadow: 0 20px 50px rgba(0, 184, 255, 0.18);
	border-color: rgba(0, 184, 255, 0.45);
}

.ewb-trust__num {
	font-family: var(--font-display);
	font-weight: var(--fw-black);
	font-size: clamp(2.5rem, 5vw, 4rem);
	line-height: 1;
	color: var(--cyan);
}

.ewb-trust__label {
	color: var(--grey-light);
	font-weight: var(--fw-semibold);
	font-size: var(--fs-small);
}

@media (min-width: 640px) {
	.ewb-trust__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
	.ewb-trust__grid { grid-template-columns: repeat(4, 1fr); }
}

/* =========================================================================
   3. Courses bento
   ========================================================================= */
.ewb-courses {
	background: var(--navy-deep);
}

.ewb-courses__bento {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-4);
}

.ewb-course-tile {
	padding: 0;
	overflow: hidden;
	transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
	position: relative;
}

.ewb-course-tile__link {
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
	height: 100%;
	padding: var(--space-6);
	color: var(--white);
	text-decoration: none;
}

.ewb-course-tile__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-3);
	flex-wrap: wrap;
}

.ewb-course-tile__code {
	font-family: var(--font-display);
	font-weight: var(--fw-black);
	font-size: var(--fs-small);
	letter-spacing: 0.05em;
	color: var(--grey-light);
	text-transform: uppercase;
}

.ewb-course-tile__title {
	font-family: var(--font-display);
	font-weight: var(--fw-bold);
	font-size: 1.5rem;
	margin: 0;
	color: var(--white);
	line-height: 1.15;
}

.ewb-course-tile__sub {
	color: var(--grey-light);
	margin: 0;
	font-size: var(--fs-small);
	line-height: var(--lh-snug);
}

.ewb-course-tile__bottom {
	margin-top: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-3);
	flex-wrap: wrap;
	padding-top: var(--space-3);
}

.ewb-course-tile__cta {
	color: var(--cyan);
	font-weight: var(--fw-bold);
	font-size: var(--fs-small);
}

.ewb-course-tile--cyan { border-color: rgba(0, 184, 255, 0.3); }
.ewb-course-tile--lime { border-color: rgba(166, 255, 0, 0.3); }

.ewb-course-tile::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	box-shadow: 0 0 60px rgba(0, 184, 255, 0) inset;
	pointer-events: none;
	transition: box-shadow var(--dur) var(--ease);
}

.ewb-course-tile--lime::after { box-shadow: 0 0 60px rgba(166, 255, 0, 0) inset; }

.ewb-course-tile:hover { transform: scale(1.02); }
.ewb-course-tile--cyan:hover { border-color: var(--cyan); box-shadow: 0 24px 60px rgba(0, 184, 255, 0.18); }
.ewb-course-tile--lime:hover { border-color: var(--lime); box-shadow: 0 24px 60px rgba(166, 255, 0, 0.15); }

.ewb-courses__placeholder {
	padding: var(--space-7);
	text-align: center;
	color: var(--grey-light);
}

@media (min-width: 768px) {
	.ewb-courses__bento { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
	.ewb-courses__bento {
		grid-template-columns: repeat(3, 1fr);
		grid-template-areas:
			"ceh ceh aws"
			"azure devops devops"
			"ccna dm dm";
		gap: var(--space-5);
	}
}

/* =========================================================================
   4. Why ElevateWithB (beige bg)
   ========================================================================= */
.ewb-why {
	background: var(--beige);
	color: var(--grey-dark);
	position: relative;
	isolation: isolate;
}
.ewb-why .section-heading__title,
.ewb-why .section-heading__lede { color: var(--grey-dark); }

.ewb-why__grid {
	display: grid;
	gap: var(--space-4);
	grid-template-columns: 1fr;
}

.ewb-why__card {
	padding: var(--space-6);
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
	transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.ewb-why__card:hover {
	transform: translateY(-3px);
	box-shadow: 0 18px 40px rgba(10, 19, 48, 0.12);
}

.ewb-why__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: var(--radius-md);
	background: rgba(10, 19, 48, 0.06);
}

.ewb-why__icon svg { width: 32px; height: 32px; }

.ewb-why__card--cyan .ewb-why__icon { color: var(--cyan); }
.ewb-why__card--lime .ewb-why__icon { color: var(--navy-deep); background: rgba(166, 255, 0, 0.25); }

.ewb-why__title {
	font-family: var(--font-display);
	font-weight: var(--fw-bold);
	font-size: 1.25rem;
	margin: 0;
	color: var(--grey-dark);
}

.ewb-why__body {
	color: rgba(31, 35, 40, 0.78);
	margin: 0;
	font-size: var(--fs-small);
	line-height: var(--lh-base);
}

@media (min-width: 768px) {
	.ewb-why__grid { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================================
   5. How it works
   ========================================================================= */
.ewb-how {
	background: var(--navy-deep);
	position: relative;
	overflow: hidden;
	isolation: isolate;
}

.ewb-how__device {
	position: absolute;
	pointer-events: none;
	opacity: 0.45;
	display: none;
	z-index: 0;
}

.ewb-how__device--phone {
	left: -60px;
	top: 15%;
	width: 180px;
	transform: rotate(-10deg);
	filter: drop-shadow(0 30px 60px rgba(0, 184, 255, 0.18));
}

.ewb-how__device--mac {
	right: -100px;
	bottom: 8%;
	width: 360px;
	transform: rotate(8deg);
	filter: drop-shadow(0 30px 60px rgba(0, 184, 255, 0.18));
}

@media (min-width: 1024px) {
	.ewb-how__device { display: block; }
}

.ewb-how__steps {
	position: relative;
	display: grid;
	gap: var(--space-4);
	grid-template-columns: 1fr;
	z-index: 2;
}

.ewb-how__step {
	padding: var(--space-6);
	position: relative;
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
}

.ewb-how__step-icon {
	color: var(--cyan);
	display: inline-flex;
	width: 48px;
	height: 48px;
	align-items: center;
	justify-content: center;
}

.ewb-how__step-icon svg { width: 100%; height: 100%; }

.ewb-how__step-n {
	font-family: var(--font-display);
	font-weight: var(--fw-black);
	font-size: clamp(2rem, 4vw, 3rem);
	color: var(--cyan);
	line-height: 1;
	letter-spacing: -0.02em;
}

.ewb-how__step-title {
	font-family: var(--font-display);
	font-weight: var(--fw-bold);
	font-size: 1.15rem;
	margin: 0;
	color: var(--white);
}

.ewb-how__step-body {
	color: var(--grey-light);
	font-size: var(--fs-small);
	margin: 0;
	line-height: var(--lh-base);
}

@media (min-width: 768px) {
	.ewb-how__steps { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
	.ewb-how__steps {
		grid-template-columns: repeat(4, 1fr);
		gap: var(--space-5);
	}
	/* Dashed connecting line behind the steps */
	.ewb-how__steps::before {
		content: "";
		position: absolute;
		left: 6%;
		right: 6%;
		top: 76px;
		height: 2px;
		background-image: linear-gradient(to right, var(--cyan) 50%, transparent 0);
		background-size: 14px 2px;
		background-repeat: repeat-x;
		opacity: 0.4;
		z-index: -1;
	}
}

/* =========================================================================
   6. Testimonials carousel
   ========================================================================= */
.ewb-tst { background: var(--navy-light); }

.ewb-tst__carousel {
	position: relative;
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: var(--space-3);
}

.ewb-tst__track {
	display: flex;
	overflow: hidden;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	gap: var(--space-4);
	padding: var(--space-3);
}

.ewb-tst__slide {
	flex: 0 0 100%;
	scroll-snap-align: center;
	min-width: 0;
}

.ewb-tst__card {
	padding: var(--space-6);
	display: flex;
	flex-direction: column;
	gap: var(--space-4);
	height: 100%;
}

.ewb-tst__stars {
	color: var(--lime);
	font-size: 1.125rem;
	letter-spacing: 2px;
}

.ewb-tst__quote {
	margin: 0;
	font-size: 1.0625rem;
	line-height: var(--lh-base);
	color: var(--white);
}

.ewb-tst__quote p { margin: 0; }

.ewb-tst__quote::before {
	content: "\201C";
	display: block;
	font-family: var(--font-display);
	font-size: 3rem;
	line-height: 0.6;
	color: var(--cyan);
	margin-bottom: var(--space-2);
}

.ewb-tst__person {
	display: flex;
	align-items: center;
	gap: var(--space-3);
	margin-top: auto;
}

.ewb-tst__avatar {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	object-fit: cover;
	background: var(--navy-deep);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--cyan);
	font-family: var(--font-display);
	font-weight: var(--fw-black);
	font-size: 1.5rem;
	border: 2px solid rgba(0, 184, 255, 0.35);
	flex: 0 0 56px;
}

.ewb-tst__avatar--fallback { letter-spacing: 0; }

.ewb-tst__meta { display: flex; flex-direction: column; gap: 2px; }
.ewb-tst__name { font-weight: var(--fw-bold); color: var(--white); font-size: var(--fs-small); }
.ewb-tst__role { color: var(--grey-light); font-size: var(--fs-xs); }

.ewb-tst__nav {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 184, 255, 0.12);
	border: 1px solid rgba(0, 184, 255, 0.35);
	color: var(--cyan);
	cursor: pointer;
	transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
	flex: 0 0 44px;
}

.ewb-tst__nav:hover,
.ewb-tst__nav:focus-visible {
	background: var(--cyan);
	color: var(--navy-deep);
}

.ewb-tst__nav svg { width: 22px; height: 22px; }

.ewb-tst__dots {
	grid-column: 1 / -1;
	display: flex;
	justify-content: center;
	gap: var(--space-2);
	margin-top: var(--space-5);
}

.ewb-tst__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgba(184, 192, 208, 0.3);
	border: 0;
	cursor: pointer;
	transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}

.ewb-tst__dot.is-active {
	background: var(--cyan);
	transform: scale(1.3);
}

@media (min-width: 768px) {
	.ewb-tst__slide { flex: 0 0 60%; }
	.ewb-tst__track { padding: var(--space-5) calc(20% - var(--space-4)); }
}

@media (min-width: 1024px) {
	.ewb-tst__slide { flex: 0 0 50%; }
	.ewb-tst__track { padding: var(--space-5) 25%; }
}

/* =========================================================================
   7. YouTube section
   ========================================================================= */
.ewb-yt {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: var(--navy-deep);
}

.ewb-yt__bento {
	display: grid;
	gap: var(--space-4);
	grid-template-columns: 1fr;
	position: relative;
	z-index: 2;
}

.ewb-yt__tile {
	padding: 0;
	overflow: hidden;
}

.ewb-yt__link {
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
	padding: var(--space-4);
	color: var(--white);
	text-decoration: none;
	height: 100%;
}

.ewb-yt__thumb {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: var(--radius-md);
	background:
		radial-gradient(ellipse at center, rgba(0, 184, 255, 0.25) 0%, transparent 60%),
		linear-gradient(135deg, var(--navy-light), var(--navy-deep));
	position: relative;
	overflow: hidden;
}

.ewb-yt__thumb::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(0, 184, 255, 0.08) 1px, transparent 1px),
		linear-gradient(90deg, rgba(0, 184, 255, 0.08) 1px, transparent 1px);
	background-size: 24px 24px;
	opacity: 0.6;
}

.ewb-yt__play {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	color: var(--lime);
	width: 64px;
	height: 64px;
	display: inline-block;
	transition: transform var(--dur) var(--ease);
}

.ewb-yt__tile:hover .ewb-yt__play { transform: translate(-50%, -50%) scale(1.1); }

.ewb-yt__play svg { width: 100%; height: 100%; }
.ewb-yt__play-tri { fill: var(--navy-deep); }

.ewb-yt__title {
	font-family: var(--font-display);
	font-weight: var(--fw-bold);
	font-size: 1rem;
	color: var(--white);
	line-height: 1.25;
	display: block;
	margin-top: var(--space-2);
}

.ewb-yt__meta { display: flex; flex-direction: column; gap: var(--space-2); }

.ewb-yt__cta-tile {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: var(--space-5);
}

@media (min-width: 1024px) {
	.ewb-yt__bento {
		grid-template-columns: 2fr 1fr 1fr;
		grid-template-areas:
			"big small1 small2"
			"big small3 cta";
		gap: var(--space-5);
	}
	.ewb-yt__tile--large .ewb-yt__thumb { aspect-ratio: 4 / 5; }
	.ewb-yt__tile--large .ewb-yt__title { font-size: 1.375rem; }
}

/* =========================================================================
   8. Demo band
   ========================================================================= */
.ewb-demo {
	background: var(--lime);
	color: var(--navy-deep);
	position: relative;
	overflow: hidden;
	padding-block: clamp(3rem, 6vw, 5rem);
}

.ewb-demo__aurora {
	position: absolute;
	inset: -20%;
	background:
		radial-gradient(circle at 15% 30%, rgba(0, 184, 255, 0.35), transparent 50%),
		radial-gradient(circle at 85% 75%, rgba(10, 19, 48, 0.18), transparent 55%);
	filter: blur(60px);
	z-index: 0;
	pointer-events: none;
}

.ewb-demo__inner {
	position: relative;
	z-index: 2;
	display: grid;
	gap: var(--space-5);
	grid-template-columns: 1fr;
	align-items: center;
}

.ewb-demo__title {
	font-family: var(--font-display);
	font-weight: var(--fw-black);
	font-size: clamp(1.75rem, 4vw, 2.75rem);
	color: var(--navy-deep);
	margin: 0 0 var(--space-2);
	line-height: 1.1;
}

.ewb-demo__lede {
	color: var(--navy-deep);
	font-weight: var(--fw-semibold);
	font-size: 1.125rem;
	margin: 0;
}

.ewb-demo__ctas {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-4);
	align-items: center;
}

.ewb-demo__btn-primary {
	background: var(--navy-deep);
	color: var(--lime);
	border-color: var(--navy-deep);
}

.ewb-demo__btn-primary:hover,
.ewb-demo__btn-primary:focus-visible {
	background: var(--navy-light);
	color: var(--lime);
}

.ewb-demo__learn {
	color: var(--navy-deep);
	font-weight: var(--fw-bold);
	text-decoration: underline;
	text-underline-offset: 4px;
}

@media (min-width: 768px) {
	.ewb-demo__inner { grid-template-columns: 1.4fr 1fr; gap: var(--space-7); }
	.ewb-demo__ctas { justify-content: flex-end; }
}

/* =========================================================================
   9. Founder block
   ========================================================================= */
.ewb-founder {
	background: var(--navy-deep);
	position: relative;
	overflow: hidden;
	isolation: isolate;
}

.ewb-founder__blob {
	position: absolute;
	top: -10%;
	right: -10%;
	width: clamp(220px, 28vw, 320px);
	pointer-events: none;
	z-index: 1;
	opacity: 0.7;
}

.ewb-founder__inner {
	position: relative;
	z-index: 2;
	display: grid;
	gap: var(--space-7);
	grid-template-columns: 1fr;
	align-items: center;
}

.ewb-founder__photo {
	position: relative;
	width: 100%;
	max-width: 320px;
	aspect-ratio: 1;
	margin-inline: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.ewb-founder__ring {
	position: absolute;
	inset: 8px;
	border-radius: var(--radius-lg);
	border: 2px solid var(--cyan);
	opacity: 0.5;
}

.ewb-founder__initials {
	font-family: var(--font-display);
	font-weight: var(--fw-black);
	font-size: clamp(4rem, 10vw, 7rem);
	color: var(--white);
	letter-spacing: -0.02em;
}

.ewb-founder__name {
	font-family: var(--font-display);
	font-weight: var(--fw-black);
	font-size: clamp(2rem, 4vw, 3rem);
	margin: 0 0 var(--space-4);
	color: var(--white);
}

.ewb-founder__bio {
	color: var(--grey-light);
	font-size: 1.0625rem;
	line-height: var(--lh-base);
	margin: 0 0 var(--space-5);
	max-width: 60ch;
}

.ewb-founder__quote {
	color: var(--cyan);
	font-style: italic;
	font-size: 1.125rem;
	border-inline-start: 3px solid var(--cyan);
	padding-inline-start: var(--space-4);
	margin: 0 0 var(--space-6);
	font-weight: var(--fw-medium);
	line-height: var(--lh-snug);
}

.ewb-founder__links {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-4);
	align-items: center;
}

.ewb-founder__badge {
	display: inline-flex;
	flex-direction: column;
	padding: var(--space-2) var(--space-4);
	background: rgba(0, 184, 255, 0.1);
	border: 1px solid rgba(0, 184, 255, 0.3);
	border-radius: var(--radius-md);
	font-size: var(--fs-xs);
	color: var(--grey-light);
	line-height: 1.3;
}

.ewb-founder__badge-label { letter-spacing: 0.1em; text-transform: uppercase; }
.ewb-founder__badge-num   { color: var(--cyan); font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--fs-small); }

.ewb-founder__icon-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.06);
	color: var(--grey-light);
	border: 1px solid rgba(255, 255, 255, 0.1);
	transition: color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}

.ewb-founder__icon-link:hover,
.ewb-founder__icon-link:focus-visible {
	color: var(--navy-deep);
	background: var(--cyan);
}

.ewb-founder__icon-link svg { width: 20px; height: 20px; }

@media (min-width: 768px) {
	.ewb-founder__inner { grid-template-columns: 40% 1fr; gap: var(--space-9); }
}

/* =========================================================================
   10. FAQ bento
   ========================================================================= */
.ewb-faq { background: var(--beige); color: var(--grey-dark); position: relative; isolation: isolate; }
.ewb-faq .section-heading__title { color: var(--grey-dark); }

.ewb-faq__bento {
	display: grid;
	gap: var(--space-3);
	grid-template-columns: 1fr;
}

.ewb-faq__item {
	background: rgba(255, 255, 255, 0.7);
	border-color: rgba(31, 35, 40, 0.1);
}

.ewb-faq__item .faq__trigger { color: var(--grey-dark); }
.ewb-faq__item .faq__trigger:hover { color: var(--navy-deep); }
.ewb-faq__item .faq__panel { color: rgba(31, 35, 40, 0.78); }
.ewb-faq__item .faq__icon { color: var(--navy-deep); }

@media (min-width: 768px) {
	.ewb-faq__bento { grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
}

/* =========================================================================
   11. Final CTA
   ========================================================================= */
.ewb-cta {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	text-align: center;
	background: var(--navy-deep);
	padding-block: clamp(4rem, 9vw, 7rem);
}

.ewb-cta__inner {
	position: relative;
	z-index: 2;
	max-width: 720px;
	margin-inline: auto;
}

.ewb-cta__blob {
	position: absolute;
	top: 50%;
	left: 50%;
	width: clamp(300px, 45vw, 500px);
	transform: translate(-50%, -50%);
	z-index: 1;
	mix-blend-mode: overlay;
	opacity: 0.85;
	pointer-events: none;
}

.ewb-cta__title {
	font-family: var(--font-display);
	font-weight: var(--fw-black);
	font-size: clamp(2rem, 5vw, 3.5rem);
	margin: 0 0 var(--space-4);
	color: var(--white);
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.ewb-cta__lede {
	color: var(--grey-light);
	font-size: 1.125rem;
	margin: 0 0 var(--space-6);
}

.ewb-cta__buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--space-4);
}

@media (prefers-reduced-motion: no-preference) {
	@keyframes ewb-cta-pulse {
		0%   { box-shadow: 0 0 0 0 rgba(166, 255, 0, 0.55); }
		70%  { box-shadow: 0 0 0 18px rgba(166, 255, 0, 0); }
		100% { box-shadow: 0 0 0 0 rgba(166, 255, 0, 0); }
	}
	.ewb-cta__pulse { animation: ewb-cta-pulse 2.4s var(--ease) infinite; }
}

/* =========================================================================
   Mobile readability boost — page-specific overrides only.
   Generic .glass / .glass-light / .aurora / .iridescent mobile fallbacks
   live in assets/css/effects.css.
   ========================================================================= */
@media (max-width: 767px) {
	.ewb-hero__blob { opacity: 0.8; }
	.ewb-cta__blob { mix-blend-mode: normal; opacity: 0.35; }
}

/* =========================================================================
   CASE STUDIES
   Beige bg + light glass cards. 3-column bento on desktop, 1+1 on tablet,
   single column on mobile. Hover tilt + cyan glow handled here; data-tilt
   hook on the card root for the future interactivity layer.
   ========================================================================= */
.ewb-cases {
	background: var(--beige);
	color: var(--grey-dark);
	position: relative;
	isolation: isolate;
	overflow: hidden;
}

.ewb-cases__title { color: var(--grey-dark); }
.ewb-cases__lede  { color: rgba(31, 35, 40, 0.72); }

.ewb-cases__grid {
	display: grid;
	gap: var(--space-5);
	grid-template-columns: 1fr;
	margin-top: var(--space-7);
}

.ewb-cases__item { display: flex; }

.ewb-cases__card {
	display: flex;
	flex-direction: column;
	width: 100%;
	overflow: hidden;
	color: var(--grey-dark);
	transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
	will-change: transform;
	transform-style: preserve-3d;
}

.ewb-cases__photo {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: var(--navy-light);
}

.ewb-cases__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform var(--dur-slow) var(--ease);
}

.ewb-cases__img--fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-display);
	font-weight: var(--fw-black);
	font-size: 4rem;
	color: var(--cyan);
	background: var(--navy-light);
}

.ewb-cases__body {
	padding: var(--space-5);
	display: flex;
	flex-direction: column;
	gap: var(--space-4);
	flex: 1;
}

.ewb-cases__person {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--space-3);
	flex-wrap: wrap;
}

.ewb-cases__name {
	font-family: var(--font-body);
	font-weight: var(--fw-semibold);
	font-size: 1.125rem;
	color: var(--cyan);
	margin: 0;
	line-height: var(--lh-snug);
}

.ewb-cases__persona {
	color: rgba(31, 35, 40, 0.55);
	font-size: var(--fs-small);
	font-weight: var(--fw-medium);
}

.ewb-cases__state { display: flex; flex-direction: column; gap: var(--space-1); }

.ewb-cases__label {
	font-family: var(--font-body);
	font-size: var(--fs-xs);
	font-weight: var(--fw-semibold);
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.ewb-cases__label--before { color: rgba(31, 35, 40, 0.5); }
.ewb-cases__label--after  { color: var(--lime); text-shadow: 0 0 12px rgba(166, 255, 0, 0.45); }

/* Make the lime label still legible on the beige background by giving it
   a subtle navy underlay via text-shadow; lime alone reads light on beige. */
.ewb-cases__label--after {
	color: var(--grey-dark);
	background: var(--lime);
	display: inline-block;
	padding: 2px 8px;
	border-radius: var(--radius-pill);
	align-self: flex-start;
	text-shadow: none;
	font-size: 0.6875rem;
}

.ewb-cases__label--before {
	display: inline-block;
	padding: 2px 8px;
	border-radius: var(--radius-pill);
	border: 1px solid rgba(31, 35, 40, 0.15);
	background: rgba(255, 255, 255, 0.5);
	align-self: flex-start;
	font-size: 0.6875rem;
}

.ewb-cases__text {
	margin: 0;
	font-size: var(--fs-body);
	line-height: var(--lh-snug);
	color: var(--grey-dark);
}

.ewb-cases__salary {
	display: inline-block;
	margin-left: var(--space-1);
	font-family: var(--font-display);
	font-weight: var(--fw-black);
	color: var(--grey-dark);
	background: var(--lime);
	padding: 1px 8px;
	border-radius: var(--radius-sm);
	letter-spacing: 0.01em;
}

.ewb-cases__course {
	display: flex;
	align-items: center;
	gap: var(--space-2);
}

.ewb-cases__badge {
	display: inline-flex;
	align-items: center;
	font-family: var(--font-body);
	font-weight: var(--fw-semibold);
	font-size: var(--fs-small);
	color: var(--cyan);
	background: rgba(0, 184, 255, 0.1);
	border: 1px solid rgba(0, 184, 255, 0.3);
	padding: 4px 10px;
	border-radius: var(--radius-pill);
	letter-spacing: 0.02em;
}

.ewb-cases__quote {
	margin: 0;
	padding-top: var(--space-3);
	border-top: 1px solid rgba(31, 35, 40, 0.1);
	font-style: italic;
	font-size: var(--fs-small);
	line-height: var(--lh-base);
	color: rgba(31, 35, 40, 0.78);
}

.ewb-cases__quote p { margin: 0; }

/* Hover state — subtle tilt + cyan glow shadow.
   Only on devices that can hover; disabled under prefers-reduced-motion. */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.ewb-cases__card:hover {
		transform: perspective(900px) rotateX(2deg) rotateY(-4deg) translateY(-4px);
		box-shadow:
			0 24px 50px rgba(0, 184, 255, 0.18),
			0 8px 20px rgba(10, 19, 48, 0.12);
	}
	.ewb-cases__card:hover .ewb-cases__img { transform: scale(1.04); }
}

/* Tablet — 2 cards top row, 1 card centered bottom row. */
@media (min-width: 640px) and (max-width: 1023px) {
	.ewb-cases__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: var(--space-5);
	}
	.ewb-cases__item:nth-child(3) {
		grid-column: 1 / -1;
		max-width: calc(50% - var(--space-3));
		justify-self: center;
	}
}

/* Desktop — 3 equal columns. */
@media (min-width: 1024px) {
	.ewb-cases__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: var(--space-6);
	}
	.ewb-cases__body { padding: var(--space-6); }
}

/* Mobile readability — already covered by global beige token; raise glass-light
   opacity slightly here so card content sits clean against the section bg. */
@media (max-width: 767px) {
	.ewb-cases__card { background: rgba(255, 255, 255, 0.88); }
}
