/* =========================================================================
   Career Elevation Reflection — Typeform-style, one question per viewport.
   Each step fits 100dvh with no internal scrolling on desktop and mobile.
   ========================================================================= */

:root {
	--celev-accent:   #C9561C;
	--celev-primary:  #421B49;
	--celev-text:     #3a3a3a;
	--celev-muted:    #6b6b6b;
	--celev-line:     rgba(66, 27, 73, 0.10);
	--celev-soft:     #fbf6f0;
	--celev-bg:       #faf6f1;
	--celev-card:     #ffffff;
	--celev-bar-h:    64px;
	--celev-nav-h:    78px;
}

/* The site header is fixed at 70px; sit below it. */
.celev-app {
	background:
		radial-gradient(circle at 0% 0%, rgba(201, 86, 28, 0.06) 0%, rgba(201, 86, 28, 0) 35%),
		radial-gradient(circle at 100% 100%, rgba(66, 27, 73, 0.06) 0%, rgba(66, 27, 73, 0) 40%),
		var(--celev-bg);
	min-height: 100vh;
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
	padding-top: 76px;     /* clears the site header */
	overflow: hidden;       /* steps own the scroll if any */
	position: relative;
}


/* =========================================================================
   PROGRESS BAR (top, sticky, compact)
   ========================================================================= */
.celev-bar {
	position: fixed;
	top: 76px;
	left: 0; right: 0;
	z-index: 30;
	padding: 10px 16px 0;
	pointer-events: none;
}
.celev-bar__inner {
	pointer-events: auto;
	max-width: 900px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 36px 1fr 80px;
	align-items: center;
	gap: 12px;
	padding: 10px 14px;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid var(--celev-line);
	border-radius: 999px;
	box-shadow: 0 8px 24px rgba(66, 27, 73, 0.08);
}
.celev-bar__back {
	width: 36px; height: 36px;
	border-radius: 50%;
	border: 1px solid var(--celev-line);
	background: #fff;
	color: var(--celev-primary);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}
.celev-bar__back svg { width: 15px; height: 15px; }
.celev-bar__back:hover { background: var(--celev-primary); color: #fff; }
.celev-bar__back[disabled] { opacity: 0.30; cursor: not-allowed; }
.celev-bar__back[disabled]:hover { background: #fff; color: var(--celev-primary); }

.celev-bar__meta { min-width: 0; }
.celev-bar__eyebrow {
	display: block;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.20em;
	text-transform: uppercase;
	color: var(--celev-accent);
	line-height: 1;
}
.celev-bar__step-name {
	display: block;
	margin-top: 4px;
	font-family: var(--font-display);
	font-size: 14px;
	font-weight: 500;
	color: var(--celev-primary);
	line-height: 1.2;
	letter-spacing: -0.005em;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.celev-bar__autosave {
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.10em;
	text-align: right;
	color: var(--celev-muted);
	opacity: 0;
	transition: opacity 280ms ease, color 280ms ease;
	text-transform: uppercase;
}
.celev-bar__autosave.is-saving { opacity: 1; color: var(--celev-muted); }
.celev-bar__autosave.is-saved  { opacity: 1; color: #1b8a3a; }

/* Animated hairline progress below the pill */
.celev-bar::after {
	content: '';
	display: block;
	height: 3px;
	margin: 8px auto 0;
	max-width: 900px;
	background: linear-gradient(to right,
		var(--celev-accent) 0%,
		var(--celev-accent) var(--celev-progress, 4%),
		rgba(66, 27, 73, 0.08) var(--celev-progress, 4%),
		rgba(66, 27, 73, 0.08) 100%);
	border-radius: 999px;
	transition: background 420ms cubic-bezier(0.25, 1, 0.5, 1);
}
@media (max-width: 600px) {
	.celev-bar { padding: 8px 10px 0; }
	.celev-bar__inner { padding: 8px 12px; gap: 10px; grid-template-columns: 32px 1fr 60px; }
	.celev-bar__back { width: 32px; height: 32px; }
	.celev-bar__step-name { font-size: 13px; }
}


/* =========================================================================
   STEP CONTAINER — fills the viewport, no internal scroll
   ========================================================================= */
.celev-form {
	flex: 1;
	display: flex;
	flex-direction: column;
	position: relative;
}

.celev-step {
	display: none;
	flex: 1;
	min-height: calc(100dvh - 76px);
	box-sizing: border-box;
	padding: calc(var(--celev-bar-h) + 16px) 24px calc(var(--celev-nav-h) + 16px);
	position: relative;
	overflow: hidden;  /* keep decorations from leaking */
}
@media (max-width: 600px) {
	.celev-step { padding: calc(var(--celev-bar-h) + 12px) 14px calc(var(--celev-nav-h) + 10px); }
}
.celev-step.is-active {
	display: flex;
	align-items: center;
	justify-content: center;
	animation: celevStepIn 460ms cubic-bezier(0.25, 1, 0.5, 1) both;
}
@keyframes celevStepIn {
	from { opacity: 0; transform: translateY(24px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* Background decoration — drifting accent blobs per step */
.celev-step::before,
.celev-step::after {
	content: '';
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
	filter: blur(60px);
	opacity: 0.55;
	z-index: 0;
}
.celev-step::before {
	width: 380px; height: 380px;
	top: -120px; left: -120px;
	background: var(--celev-blob-a, rgba(201, 86, 28, 0.18));
}
.celev-step::after {
	width: 460px; height: 460px;
	bottom: -160px; right: -160px;
	background: var(--celev-blob-b, rgba(66, 27, 73, 0.14));
}

.celev-step__inner {
	width: 100%;
	max-width: 1080px;
	margin: 0 auto;
	position: relative;
	z-index: 1;
}

/* Question steps focus on text — no image aside anymore. The decoration
   blobs in .celev-step::before/::after give the visual texture. */
.celev-step__inner { max-width: 820px; }


/* =========================================================================
   PER-PART theming — each Part of 7 gets its own accent palette so the
   workbook reads as 7 chapters, not 28 identical screens.
   ========================================================================= */
.celev-step[data-celev-part="1"] { --celev-blob-a: rgba(201, 86, 28, 0.22);  --celev-blob-b: rgba(255, 196, 100, 0.22); }
.celev-step[data-celev-part="2"] { --celev-blob-a: rgba(82, 48, 88, 0.20);   --celev-blob-b: rgba(108, 61, 117, 0.16); }
.celev-step[data-celev-part="3"] { --celev-blob-a: rgba(201, 86, 28, 0.18);  --celev-blob-b: rgba(66, 27, 73, 0.18); }
.celev-step[data-celev-part="4"] { --celev-blob-a: rgba(58, 142, 195, 0.18); --celev-blob-b: rgba(201, 86, 28, 0.16); }
.celev-step[data-celev-part="5"] { --celev-blob-a: rgba(201, 86, 28, 0.20);  --celev-blob-b: rgba(66, 27, 73, 0.20); }
.celev-step[data-celev-part="6"] { --celev-blob-a: rgba(212, 165, 116, 0.30); --celev-blob-b: rgba(82, 48, 88, 0.18); }
.celev-step[data-celev-part="7"] { --celev-blob-a: rgba(97, 206, 112, 0.20); --celev-blob-b: rgba(201, 86, 28, 0.20); }


/* =========================================================================
   AMBIENT PARTICLES — soft drifting dots rising up the intro screen.
   18 spans positioned randomly with varied size, color, delay, duration
   to create a subtle "energy rising" feel without literal imagery.
   ========================================================================= */
.celev-particles {
	position: absolute;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
	z-index: 1;
}
.celev-particle {
	position: absolute;
	bottom: -20px;
	width: 6px; height: 6px;
	border-radius: 50%;
	background: rgba(201, 86, 28, 0.55);
	opacity: 0;
	animation: celevRise 18s linear infinite;
}
@keyframes celevRise {
	0%   { transform: translate3d(0, 0, 0) scale(0.6); opacity: 0; }
	8%   { opacity: 0.85; }
	92%  { opacity: 0.85; }
	100% { transform: translate3d(40px, -110vh, 0) scale(1.2); opacity: 0; }
}

/* Per-particle randomisation via :nth-child-ish overrides */
.celev-particle--1  { left: 6%;  width: 8px; height: 8px; background: rgba(201, 86, 28, 0.50); animation-duration: 22s; animation-delay: 0s;  }
.celev-particle--2  { left: 14%; width: 4px; height: 4px; background: rgba(255, 196, 100, 0.50); animation-duration: 16s; animation-delay: 1.4s; }
.celev-particle--3  { left: 22%; width: 5px; height: 5px; background: rgba(201, 86, 28, 0.35); animation-duration: 20s; animation-delay: 3.2s; }
.celev-particle--4  { left: 30%; width: 3px; height: 3px; background: rgba(255, 255, 255, 0.50); animation-duration: 14s; animation-delay: 5.0s; }
.celev-particle--5  { left: 38%; width: 7px; height: 7px; background: rgba(201, 86, 28, 0.45); animation-duration: 24s; animation-delay: 2.0s; }
.celev-particle--6  { left: 46%; width: 4px; height: 4px; background: rgba(255, 196, 100, 0.35); animation-duration: 18s; animation-delay: 7.0s; }
.celev-particle--7  { left: 54%; width: 6px; height: 6px; background: rgba(201, 86, 28, 0.55); animation-duration: 21s; animation-delay: 4.0s; }
.celev-particle--8  { left: 62%; width: 3px; height: 3px; background: rgba(255, 255, 255, 0.40); animation-duration: 15s; animation-delay: 8.5s; }
.celev-particle--9  { left: 70%; width: 5px; height: 5px; background: rgba(255, 196, 100, 0.50); animation-duration: 19s; animation-delay: 0.6s; }
.celev-particle--10 { left: 78%; width: 8px; height: 8px; background: rgba(201, 86, 28, 0.40); animation-duration: 23s; animation-delay: 3.8s; }
.celev-particle--11 { left: 86%; width: 4px; height: 4px; background: rgba(255, 255, 255, 0.55); animation-duration: 17s; animation-delay: 6.0s; }
.celev-particle--12 { left: 94%; width: 6px; height: 6px; background: rgba(201, 86, 28, 0.45); animation-duration: 20s; animation-delay: 1.0s; }
.celev-particle--13 { left: 10%; width: 4px; height: 4px; background: rgba(255, 196, 100, 0.40); animation-duration: 16s; animation-delay: 9.0s; }
.celev-particle--14 { left: 26%; width: 7px; height: 7px; background: rgba(201, 86, 28, 0.35); animation-duration: 22s; animation-delay: 11.0s; }
.celev-particle--15 { left: 50%; width: 3px; height: 3px; background: rgba(255, 255, 255, 0.45); animation-duration: 14s; animation-delay: 10.0s; }
.celev-particle--16 { left: 66%; width: 5px; height: 5px; background: rgba(201, 86, 28, 0.50); animation-duration: 25s; animation-delay: 13.0s; }
.celev-particle--17 { left: 82%; width: 4px; height: 4px; background: rgba(255, 196, 100, 0.45); animation-duration: 18s; animation-delay: 12.0s; }
.celev-particle--18 { left: 90%; width: 6px; height: 6px; background: rgba(201, 86, 28, 0.40); animation-duration: 21s; animation-delay: 14.5s; }


/* =========================================================================
   CHAPTER PREVIEW chips — 7 mini chapter chips below the lede. Compact,
   horizontal scroll on mobile if needed.
   ========================================================================= */
.celev-chapters {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 6px 0 4px;
}
.celev-chapter {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 14px 7px 8px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.10);
	color: rgba(255, 255, 255, 0.82);
	font-family: var(--font-body);
	font-size: 11.5px;
	font-weight: 500;
	letter-spacing: 0.04em;
	transition: background 240ms ease, transform 240ms ease, border-color 240ms ease;
}
.celev-chapter:hover {
	background: rgba(201, 86, 28, 0.18);
	border-color: rgba(201, 86, 28, 0.50);
	transform: translateY(-1px);
}
.celev-chapter__num {
	font-family: var(--font-display);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: -0.01em;
	width: 22px; height: 22px;
	border-radius: 50%;
	background: rgba(201, 86, 28, 0.30);
	color: rgba(255, 255, 255, 0.95);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.celev-chapter__label { white-space: nowrap; }

@media (max-width: 600px) {
	.celev-chapters { gap: 6px; }
	.celev-chapter { font-size: 10.5px; padding: 6px 12px 6px 6px; }
	.celev-chapter__num { width: 18px; height: 18px; font-size: 9.5px; }
}


/* =========================================================================
   QUESTION layout (the heart of the experience)
   ========================================================================= */
.celev-q {
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.celev-q__eyebrow {
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--celev-accent);
	display: flex;
	align-items: center;
	gap: 10px;
}
.celev-q__eyebrow::before {
	content: '';
	width: 22px;
	height: 1px;
	background: var(--celev-accent);
	display: inline-block;
}

.celev-q__title {
	font-family: var(--font-display);
	font-size: clamp(28px, 4.5vw, 44px);
	font-weight: 600;
	color: var(--celev-primary);
	line-height: 1.15;
	letter-spacing: -0.018em;
	margin: 0;
	text-wrap: balance;
}
.celev-q__title em {
	font-style: italic;
	color: var(--celev-accent);
	font-weight: 500;
}

.celev-q__hint {
	margin: 0 0 6px;
	font-size: 15.5px;
	line-height: 1.55;
	color: var(--celev-muted);
	font-style: italic;
	max-width: 56ch;
}

.celev-q__fields {
	margin-top: 6px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.celev-q__grid {
	margin-top: 6px;
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
}
@media (min-width: 720px) {
	.celev-q__grid { grid-template-columns: 1fr 1fr; }
}

.celev-q__field { display: block; }
.celev-q__field-label {
	display: block;
	font-size: 13px;
	font-weight: 700;
	color: var(--celev-primary);
	margin-bottom: 8px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.celev-q__field-label strong { color: var(--celev-accent); }

.celev-q__field textarea,
.celev-q__field input[type="text"],
.celev-q__field input[type="email"] {
	width: 100%;
	padding: 16px 18px;
	font-family: inherit;
	font-size: 17px;
	line-height: 1.55;
	color: var(--celev-primary);
	background: #fff;
	border: 2px solid var(--celev-line);
	border-radius: 14px;
	resize: none;
	transition: border-color 200ms ease, box-shadow 200ms ease, background-color 200ms ease;
	box-shadow: 0 4px 12px rgba(66, 27, 73, 0.04);
}
.celev-q__field textarea:focus,
.celev-q__field input:focus {
	outline: none;
	border-color: var(--celev-accent);
	box-shadow: 0 0 0 5px rgba(201, 86, 28, 0.12);
}


/* =========================================================================
   INTRO step — tightened to fit the viewport without scrolling.
   ========================================================================= */
.celev-step--intro {
	background:
		radial-gradient(circle at 50% 0%, rgba(201, 86, 28, 0.22) 0%, rgba(201, 86, 28, 0) 50%),
		linear-gradient(160deg, #2d1233 0%, #1a0820 100%);
	color: #fff;
	/* The intro doesn't have the top bar / nav, so it doesn't need the
	   bar/nav padding offsets. Use a tighter symmetric padding. */
	padding: 20px 24px;
}
.celev-step--intro .celev-step__inner {
	max-width: 720px;
	text-align: center;
	position: relative;
	z-index: 2;
}
/* Suppress decoration blobs on intro (we have the floats instead) */
.celev-step--intro::before,
.celev-step--intro::after { display: none; }

.celev-intro {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
}
.celev-intro__art {
	width: clamp(70px, 9vw, 100px);
	animation: celevFloat 5.6s ease-in-out infinite;
}
@keyframes celevFloat {
	0%, 100% { transform: translateY(0); }
	50%      { transform: translateY(-8px); }
}
.celev-intro__art svg { width: 100%; height: auto; }
.celev-intro__eyebrow {
	padding: 7px 14px;
	border-radius: 999px;
	background: rgba(201, 86, 28, 0.18);
	color: var(--celev-accent);
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}
.celev-intro__title {
	font-family: var(--font-display);
	font-size: clamp(42px, 6.5vw, 72px);
	font-weight: 500;
	color: #fff;
	line-height: 0.98;
	letter-spacing: -0.035em;
	margin: 0;
}
.celev-intro__title em {
	font-style: italic;
	color: var(--celev-accent);
	font-weight: 400;
	display: block;
}
.celev-intro__lede {
	font-size: clamp(14px, 1.5vw, 16px);
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.84);
	margin: 0 auto;
	max-width: 52ch;
	font-weight: 300;
}
.celev-intro__btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 4px;
	padding: 15px 32px;
	background: var(--celev-accent);
	color: #fff;
	border: 0;
	border-radius: 999px;
	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.20em;
	text-transform: uppercase;
	cursor: pointer;
	transition: transform 240ms cubic-bezier(0.25, 1, 0.5, 1), box-shadow 240ms ease;
	box-shadow: 0 14px 32px rgba(201, 86, 28, 0.40);
}
.celev-intro__btn:hover {
	transform: translateY(-3px) scale(1.02);
	box-shadow: 0 20px 44px rgba(201, 86, 28, 0.55);
}
.celev-intro__btn svg { width: 16px; height: 16px; }
.celev-intro__note {
	margin: 0;
	font-size: 11px;
	color: rgba(255, 255, 255, 0.50);
	font-style: italic;
}
.celev-intro__note kbd {
	background: rgba(255, 255, 255, 0.12);
	padding: 2px 6px;
	border-radius: 5px;
	font-family: inherit;
	font-size: 10px;
	color: rgba(255, 255, 255, 0.85);
}

@media (max-height: 720px) {
	/* Compact even tighter on short laptop viewports */
	.celev-intro { gap: 10px; }
	.celev-intro__art { width: 64px; }
	.celev-intro__title { font-size: clamp(36px, 5.5vw, 56px); }
	.celev-intro__lede { font-size: 14px; line-height: 1.55; }
	.celev-intro__btn { padding: 13px 28px; font-size: 11px; }
}


/* =========================================================================
   LADDER STEPS — show a colored "rung" badge on these
   ========================================================================= */
.celev-q__rung {
	width: 56px; height: 56px;
	border-radius: 14px;
	background: var(--celev-primary);
	color: #fff;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	font-family: var(--font-display);
	font-size: 20px;
	font-weight: 600;
	line-height: 1;
	gap: 1px;
	margin-bottom: 8px;
	box-shadow: 0 8px 18px rgba(66, 27, 73, 0.18);
}
.celev-q__rung-label {
	font-family: var(--font-body);
	font-size: 8px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	opacity: 0.7;
}

/* Color each ladder rung distinctly so users see progression downward */
.celev-step[data-celev-step="15"] .celev-q__rung { background: var(--celev-accent); }
.celev-step[data-celev-step="16"] .celev-q__rung { background: #a4451a; }
.celev-step[data-celev-step="17"] .celev-q__rung { background: #7c3b3f; }
.celev-step[data-celev-step="18"] .celev-q__rung { background: #58294c; }
.celev-step[data-celev-step="19"] .celev-q__rung { background: var(--celev-primary); }


/* =========================================================================
   PART 4 — Sliders + LIVE radar chart (the centerpiece)
   ONE unified panel: chart on the left, slider rows on the right, soft
   divider between. No nested cards. Sliders are inline rows with a single
   horizontal line each. Active slider gets a left-edge accent stripe.
   Slider step content top-aligns so the heading never slips behind the bar.
   ========================================================================= */
/* Slider step is the only exception to viewport-fit: chart + 8 sliders
   don't comfortably fit on smaller laptops, so let this step grow
   naturally and let the page scroll. */
.celev-step--sliders {
	min-height: auto;
	overflow: visible;
}
.celev-step--sliders.is-active {
	align-items: flex-start;
}
.celev-step--sliders .celev-step__inner {
	max-width: 1080px;
}

.celev-presence {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
	margin-top: 22px;
	background: var(--celev-card);
	border: 1px solid var(--celev-line);
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 22px 50px rgba(66, 27, 73, 0.10);
}
@media (min-width: 900px) {
	.celev-presence { grid-template-columns: 1.05fr 1fr; }
}

/* Chart column */
.celev-presence__chart {
	position: relative;
	padding: 26px 18px 22px;
	text-align: center;
	background:
		radial-gradient(circle at 50% 38%, rgba(201, 86, 28, 0.06) 0%, rgba(201, 86, 28, 0) 60%),
		var(--celev-card);
}
@media (min-width: 900px) {
	.celev-presence__chart {
		padding: 28px 22px;
		border-right: 1px solid var(--celev-line);
	}
}
.celev-presence__chart svg {
	width: 100%;
	max-width: 420px;
	height: auto;
	display: block;
	margin: 0 auto;
}
.celev-radar__poly { transition: points 220ms cubic-bezier(0.25, 1, 0.5, 1); }
.celev-presence__avg {
	margin-top: 6px;
	padding-top: 14px;
	border-top: 1px solid var(--celev-line);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
}
.celev-presence__avg-label {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--celev-accent);
}
.celev-presence__avg-num {
	font-family: var(--font-display);
	font-size: 34px;
	font-weight: 600;
	color: var(--celev-primary);
	letter-spacing: -0.01em;
	line-height: 1;
}
.celev-presence__avg-num em { font-style: normal; color: var(--celev-muted); font-size: 16px; font-weight: 500; }

/* Sliders column — single column of inline rows, no nested cards */
.celev-presence__sliders {
	list-style: none;
	margin: 0;
	padding: 8px 4px;
	display: flex;
	flex-direction: column;
}
.celev-slider {
	display: grid;
	grid-template-columns: 140px 1fr 30px;
	align-items: center;
	gap: 14px;
	padding: 12px 20px;
	position: relative;
	transition: background 180ms ease;
}
.celev-slider + .celev-slider {
	border-top: 1px solid var(--celev-line);
}
.celev-slider::before {
	content: '';
	position: absolute;
	left: 0; top: 12px; bottom: 12px;
	width: 3px;
	border-radius: 2px;
	background: transparent;
	transition: background 180ms ease;
}
.celev-slider:focus-within { background: rgba(201, 86, 28, 0.04); }
.celev-slider:focus-within::before { background: var(--celev-accent); }

.celev-slider__name {
	font-family: var(--font-display);
	font-size: 14px;
	font-weight: 500;
	color: var(--celev-primary);
	line-height: 1.2;
}
.celev-slider__value {
	font-family: var(--font-display);
	font-size: 22px;
	font-weight: 600;
	color: var(--celev-accent);
	text-align: right;
	font-variant-numeric: tabular-nums;
	line-height: 1;
	transition: transform 180ms ease;
}
.celev-slider:focus-within .celev-slider__value { transform: scale(1.16); }

.celev-slider input[type="range"] {
	--celev-fill: 44%;
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	height: 6px;
	border-radius: 999px;
	background: linear-gradient(to right,
		var(--celev-accent) 0%,
		var(--celev-accent) var(--celev-fill),
		rgba(66, 27, 73, 0.10) var(--celev-fill),
		rgba(66, 27, 73, 0.10) 100%);
	outline: none;
	cursor: pointer;
}
.celev-slider input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 20px; height: 20px;
	border-radius: 50%;
	background: #fff;
	border: 3px solid var(--celev-accent);
	box-shadow: 0 3px 10px rgba(201, 86, 28, 0.35);
	cursor: pointer;
	transition: transform 160ms ease;
}
.celev-slider input[type="range"]::-webkit-slider-thumb:active { transform: scale(1.18); }
.celev-slider input[type="range"]::-moz-range-thumb {
	width: 20px; height: 20px;
	border-radius: 50%;
	background: #fff;
	border: 3px solid var(--celev-accent);
	cursor: pointer;
}

@media (max-width: 640px) {
	.celev-slider { grid-template-columns: 110px 1fr 28px; gap: 10px; padding: 10px 14px; }
	.celev-slider__name { font-size: 12.5px; }
	.celev-slider__value { font-size: 19px; }
}


/* =========================================================================
   LETTER step — full-screen writing surface
   ========================================================================= */
.celev-step--letter .celev-step__inner { max-width: 760px; }
.celev-letter {
	display: block;
	margin-top: 14px;
}
.celev-letter__label {
	display: block;
	font-family: var(--font-display);
	font-style: italic;
	font-size: 18px;
	color: var(--celev-primary);
	margin-bottom: 10px;
}
.celev-letter textarea {
	width: 100%;
	min-height: 280px;
	padding: 18px 22px;
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 17px;
	line-height: 1.9;
	color: var(--celev-primary);
	background: #fffdf8;
	border: 2px solid var(--celev-line);
	border-radius: 14px;
	resize: vertical;
	background-image: repeating-linear-gradient(transparent, transparent 31.5px, rgba(82, 48, 88, 0.08) 31.5px, rgba(82, 48, 88, 0.08) 32px);
	transition: border-color 200ms ease, box-shadow 200ms ease;
}
.celev-letter textarea:focus {
	outline: none;
	border-color: var(--celev-accent);
	box-shadow: 0 0 0 5px rgba(201, 86, 28, 0.10);
}


/* =========================================================================
   SEND step
   ========================================================================= */
.celev-step--send {
	background:
		radial-gradient(circle at 50% 0%, rgba(201, 86, 28, 0.18) 0%, rgba(201, 86, 28, 0) 50%),
		linear-gradient(160deg, #2d1233 0%, #1a0820 100%);
	color: #fff;
}
.celev-step--send .celev-step__inner { max-width: 640px; text-align: center; }
.celev-send__art { width: 64px; margin: 0 auto 16px; color: #fff; }
.celev-send__art svg { width: 100%; height: auto; }
.celev-send__title {
	font-family: var(--font-display);
	font-size: clamp(34px, 5.5vw, 48px);
	font-weight: 600;
	color: #fff;
	line-height: 1.0;
	letter-spacing: -0.02em;
	margin: 0 0 14px;
}
.celev-send__title em { font-style: italic; color: var(--celev-accent); font-weight: 500; }
.celev-send__lede {
	margin: 0 0 26px;
	color: rgba(255, 255, 255, 0.86);
	font-size: 15.5px;
	line-height: 1.65;
}
.celev-send__row {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
	margin-bottom: 14px;
	text-align: left;
}
@media (min-width: 540px) { .celev-send__row { grid-template-columns: 1fr 1fr; } }
.celev-send .celev-q__field-label { color: rgba(255, 255, 255, 0.9); }
.celev-send .celev-q__field input {
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	border-color: rgba(255, 255, 255, 0.18);
}
.celev-send .celev-q__field input::placeholder { color: rgba(255, 255, 255, 0.4); }
.celev-send .celev-q__field input:focus {
	background: rgba(255, 255, 255, 0.14);
	border-color: var(--celev-accent);
	box-shadow: 0 0 0 5px rgba(201, 86, 28, 0.18);
}
.celev-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 8px 0 22px;
	color: rgba(255, 255, 255, 0.88);
	font-size: 14px;
	line-height: 1.5;
	cursor: pointer;
	text-align: left;
}
.celev-checkbox input {
	width: 20px; height: 20px;
	margin-top: 1px;
	accent-color: var(--celev-accent);
	flex-shrink: 0;
}
.celev-send__btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 17px 38px;
	background: var(--celev-accent);
	color: #fff;
	border: 0;
	border-radius: 999px;
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.20em;
	text-transform: uppercase;
	cursor: pointer;
	transition: transform 220ms cubic-bezier(0.25, 1, 0.5, 1), box-shadow 220ms ease;
	box-shadow: 0 16px 36px rgba(201, 86, 28, 0.40);
}
.celev-send__btn:hover { transform: translateY(-2px); box-shadow: 0 22px 48px rgba(201, 86, 28, 0.50); }
.celev-send__btn:disabled { opacity: 0.6; cursor: wait; transform: none; }
.celev-send__btn svg { width: 18px; height: 18px; }
.celev-send__status {
	margin: 14px 0 0;
	font-size: 13px;
	min-height: 1em;
	font-style: italic;
}


/* =========================================================================
   SUCCESS step
   ========================================================================= */
.celev-step--success .celev-step__inner {
	max-width: 720px;
	text-align: center;
}
.celev-success__icon {
	width: 72px; height: 72px;
	margin: 0 auto 18px;
	animation: celevPop 540ms cubic-bezier(0.25, 1.6, 0.5, 1) both;
}
@keyframes celevPop {
	0%   { opacity: 0; transform: scale(0.4); }
	60%  { opacity: 1; transform: scale(1.12); }
	100% { opacity: 1; transform: scale(1); }
}
.celev-success__icon svg { width: 100%; height: 100%; }
.celev-success__title {
	font-family: var(--font-display);
	font-size: clamp(32px, 5vw, 44px);
	font-weight: 600;
	color: var(--celev-primary);
	margin: 0 0 12px;
	letter-spacing: -0.018em;
	line-height: 1.1;
	text-wrap: balance;
}
.celev-success__body {
	font-size: 16px;
	line-height: 1.65;
	color: var(--celev-text);
	margin: 0 auto 22px;
	max-width: 50ch;
}
.celev-success__summary {
	margin: 22px 0;
	padding: 20px 22px;
	background: var(--celev-card);
	border: 1px solid var(--celev-line);
	border-radius: 16px;
	text-align: left;
	box-shadow: 0 10px 28px rgba(66, 27, 73, 0.05);
}
.celev-success__avg {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	padding-bottom: 10px;
	margin-bottom: 12px;
	border-bottom: 1px solid var(--celev-line);
}
.celev-success__avg span {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--celev-accent);
}
.celev-success__avg strong {
	font-family: var(--font-display);
	font-size: 24px;
	color: var(--celev-primary);
	font-weight: 600;
}
.celev-success__bars { display: flex; flex-direction: column; gap: 6px; }
.celev-success__bar {
	display: grid;
	grid-template-columns: 1.2fr 1.5fr 36px;
	align-items: center;
	gap: 12px;
	font-size: 13px;
	color: var(--celev-primary);
}
.celev-success__bar > span:first-child { font-weight: 500; }
.celev-success__bar strong {
	text-align: right;
	color: var(--celev-accent);
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}
.celev-success__bar-track {
	height: 6px;
	background: rgba(66, 27, 73, 0.08);
	border-radius: 999px;
	overflow: hidden;
	display: block;
}
.celev-success__bar-fill {
	display: block;
	height: 100%;
	border-radius: 999px;
	transition: width 540ms cubic-bezier(0.25, 1, 0.5, 1);
}
.celev-success__actions {
	display: inline-flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-bottom: 8px;
}
.celev-action {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 13px 24px;
	border-radius: 999px;
	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	cursor: pointer;
	border: 1.5px solid transparent;
	text-decoration: none;
	transition: all 200ms ease;
}
.celev-action svg { width: 16px; height: 16px; }
.celev-action--primary {
	background: var(--celev-accent); color: #fff; border-color: var(--celev-accent);
	box-shadow: 0 10px 24px rgba(201, 86, 28, 0.30);
}
.celev-action--primary:hover {
	background: var(--celev-primary); border-color: var(--celev-primary); transform: translateY(-2px);
}
.celev-action--ghost {
	background: transparent; color: var(--celev-primary); border-color: rgba(66, 27, 73, 0.22);
}
.celev-action--ghost:hover {
	background: var(--celev-primary); color: #fff; border-color: var(--celev-primary);
}


/* =========================================================================
   FLOATING NAV (Back / Next + keyboard hint)
   ========================================================================= */
.celev-nav {
	position: fixed;
	bottom: 20px;
	left: 0; right: 0;
	z-index: 31;
	display: flex;
	justify-content: center;
	pointer-events: none;
}
.celev-nav__inner {
	pointer-events: auto;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 8px 14px;
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid var(--celev-line);
	border-radius: 999px;
	box-shadow: 0 20px 44px rgba(66, 27, 73, 0.18);
}
.celev-nav__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 22px;
	border-radius: 999px;
	border: 0;
	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 200ms ease, transform 200ms ease;
}
.celev-nav__btn svg { width: 14px; height: 14px; }
.celev-nav__btn--ghost {
	background: transparent;
	color: var(--celev-primary);
}
.celev-nav__btn--ghost:hover { background: rgba(66, 27, 73, 0.06); }
.celev-nav__btn--ghost[disabled] { opacity: 0.30; cursor: not-allowed; }
.celev-nav__btn--ghost[disabled]:hover { background: transparent; }
.celev-nav__btn--primary {
	background: var(--celev-accent);
	color: #fff;
	box-shadow: 0 6px 14px rgba(201, 86, 28, 0.30);
}
.celev-nav__btn--primary:hover { background: var(--celev-primary); transform: translateY(-1px); }

.celev-nav__hint {
	font-size: 11px;
	color: var(--celev-muted);
	font-style: italic;
	letter-spacing: 0.04em;
}
.celev-nav__hint kbd {
	display: inline-block;
	padding: 2px 6px;
	background: var(--celev-soft);
	border: 1px solid var(--celev-line);
	border-radius: 5px;
	font-family: -apple-system, monospace;
	font-size: 10px;
	font-style: normal;
	font-weight: 700;
	color: var(--celev-primary);
}
@media (max-width: 700px) {
	.celev-nav__hint { display: none; }
}
@media (max-width: 540px) {
	.celev-nav { bottom: 14px; }
	.celev-nav__inner { gap: 8px; padding: 6px 10px; }
	.celev-nav__btn { padding: 10px 16px; font-size: 11px; letter-spacing: 0.14em; }
}


/* =========================================================================
   Mobile polish — make sure each step really does fit small viewports
   ========================================================================= */
@media (max-width: 600px) {
	.celev-q { gap: 12px; }
	.celev-q__title { font-size: clamp(26px, 7vw, 32px); }
	.celev-q__hint  { font-size: 14px; }
	.celev-q__field textarea,
	.celev-q__field input { font-size: 16px; padding: 14px 16px; }
	.celev-intro__title { font-size: clamp(40px, 14vw, 60px); }
	.celev-intro__art   { width: 100px; }
	.celev-letter textarea { min-height: 220px; font-size: 16px; line-height: 1.85; }
}

/* Reduced motion — disable the entrance + chart animations */
@media (prefers-reduced-motion: reduce) {
	.celev-step.is-active,
	.celev-intro__art,
	.celev-success__icon { animation: none !important; }
	.celev-radar__poly,
	.celev-bar::after,
	.celev-success__bar-fill { transition: none !important; }
}


/* =========================================================================
   SITE HEADER on this page — force the "scrolled" look so the nav links
   stay readable. The default header is white-on-image (for the home hero);
   this page has a cream background at the top, so we recolor nav, mega
   triggers, phone link, and undo the logo invert filter.
   ========================================================================= */
body.page-template-page-career-elevation .site-header,
body.page-template-page-career-elevation-php .site-header {
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

body.page-template-page-career-elevation .site-header__nav > a,
body.page-template-page-career-elevation .mega__trigger,
body.page-template-page-career-elevation .site-header__phone,
body.page-template-page-career-elevation .site-header__phone-text,
body.page-template-page-career-elevation-php .site-header__nav > a,
body.page-template-page-career-elevation-php .mega__trigger,
body.page-template-page-career-elevation-php .site-header__phone,
body.page-template-page-career-elevation-php .site-header__phone-text {
	color: var(--celev-primary);
	text-shadow: none;
}

body.page-template-page-career-elevation .site-header__brand img,
body.page-template-page-career-elevation-php .site-header__brand img {
	filter: none;
}

body.page-template-page-career-elevation .site-header__toggle,
body.page-template-page-career-elevation-php .site-header__toggle {
	color: var(--celev-primary);
}
