/* ==========================================================================
   GEF ABLE Journey — shared design system for the Journey + Resource Bank
   pages. Scoped under .gef-able to avoid leaking into the rest of the theme.
   ========================================================================== */

.gef-able {
	--able-red: #ff0000;
	--able-red-dark: #cc0000;
	--able-ink: #1a1a1a;
	--able-cream: #fbf4d7;
	--able-cream-dark: #f5e9c2;
	--able-gray: rgba(26, 26, 26, 0.62);
	--able-gray-light: rgba(26, 26, 26, 0.45);
	--able-border: #ececec;
	--able-radius: 16px;
	--able-radius-sm: 10px;
	--able-shadow: 0 4px 24px rgba(26, 26, 26, 0.06);
	--able-shadow-lg: 0 20px 48px rgba(26, 26, 26, 0.14);
	font-family: 'Lato', sans-serif;
	color: var(--able-ink);
	overflow-x: hidden;
}

.gef-able * { box-sizing: border-box; }

.gef-able img { max-width: 100%; display: block; }

.gef-able .able-section {
	padding: 96px 20px;
}

.gef-able .able-section.able-tight { padding: 64px 20px; }

/* Used when several ABLE Resource Group elements are stacked back-to-back —
   avoids doubled-up vertical whitespace between each category block. Each
   instance is its own top-level element (not a sibling in shared markup),
   so this can't rely on :first-of-type — 32px reads fine as a repeating gap. */
.gef-able .able-section.able-group-section { padding: 32px 20px 8px; }

.gef-able .able-inner {
	max-width: 1140px;
	margin: 0 auto;
}

.gef-able .able-inner-narrow {
	max-width: 820px;
	margin: 0 auto;
}

.gef-able .able-bg-cream { background: var(--able-cream); }
.gef-able .able-bg-white { background: #ffffff; }
.gef-able .able-bg-ink { background: var(--able-ink); color: #ffffff; }

.gef-able .able-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: 'Lato', sans-serif;
	font-weight: 700;
	font-size: 12.5px;
	letter-spacing: 2.2px;
	text-transform: uppercase;
	color: var(--able-red);
	margin: 0 0 18px;
}

.gef-able .able-eyebrow::before {
	content: "";
	display: inline-block;
	width: 24px;
	height: 2px;
	background: var(--able-red);
}

.gef-able .able-bg-ink .able-eyebrow { color: #ff6b6b; }

.gef-able h1.able-h1 {
	font-family: 'Oswald', sans-serif;
	font-weight: 700;
	text-transform: uppercase;
	line-height: 1.08;
	letter-spacing: -0.5px;
	font-size: clamp(36px, 5.4vw, 62px);
	margin: 0 0 22px;
}

.gef-able h2.able-h2 {
	font-family: 'Oswald', sans-serif;
	font-weight: 700;
	text-transform: uppercase;
	line-height: 1.15;
	letter-spacing: -0.2px;
	font-size: clamp(26px, 3.4vw, 38px);
	margin: 0 0 18px;
}

.gef-able .able-center { text-align: center; }

.gef-able .able-lede {
	font-size: 18px;
	line-height: 1.65;
	color: var(--able-gray);
	max-width: 640px;
}

.gef-able .able-center .able-lede,
.gef-able .able-lede.able-center { margin: 0 auto; }

.gef-able .able-bg-ink .able-lede { color: rgba(255, 255, 255, 0.75); }

/* ---------- Buttons ---------- */

.gef-able .able-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: 'Oswald', sans-serif;
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 1px;
	text-transform: uppercase;
	text-decoration: none;
	padding: 16px 34px;
	border-radius: 999px;
	border: 2px solid transparent;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
	white-space: nowrap;
}

.gef-able .able-btn svg { width: 16px; height: 16px; transition: transform 0.2s ease; }

.gef-able .able-btn:hover svg { transform: translateX(3px); }

.gef-able .able-btn-primary {
	background: var(--able-red);
	color: #ffffff !important;
	border-color: var(--able-red);
	box-shadow: 0 10px 24px rgba(255, 0, 0, 0.25);
}

.gef-able .able-btn-primary:hover {
	background: var(--able-red-dark);
	border-color: var(--able-red-dark);
	transform: translateY(-2px);
	box-shadow: 0 14px 30px rgba(255, 0, 0, 0.32);
}

.gef-able .able-btn-outline {
	background: transparent;
	color: var(--able-ink) !important;
	border-color: var(--able-ink);
}

.gef-able .able-btn-outline:hover {
	background: var(--able-ink);
	color: #ffffff !important;
	transform: translateY(-2px);
}

.gef-able .able-bg-ink .able-btn-outline {
	color: #ffffff !important;
	border-color: rgba(255, 255, 255, 0.5);
}

.gef-able .able-bg-ink .able-btn-outline:hover {
	background: #ffffff;
	color: var(--able-ink) !important;
}

.gef-able .able-btn-ghost {
	padding: 0;
	background: none;
	border: none;
	color: var(--able-ink) !important;
	font-family: 'Oswald', sans-serif;
	font-weight: 600;
	font-size: 13px;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	text-decoration: none;
	border-bottom: 2px solid var(--able-red);
	padding-bottom: 2px;
}

.gef-able .able-btn-ghost:hover { color: var(--able-red) !important; }

/* ---------- Hero ---------- */

.gef-able .able-hero {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 56px;
	align-items: center;
}

.gef-able .able-hero-visual {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

.gef-able .able-hero-visual img {
	max-width: 340px;
	width: 100%;
	filter: drop-shadow(0 20px 40px rgba(26, 26, 26, 0.12));
}

.gef-able .able-hero-visual::before {
	content: "";
	position: absolute;
	inset: 10%;
	background: radial-gradient(circle, rgba(255, 0, 0, 0.08) 0%, rgba(255, 0, 0, 0) 70%);
	z-index: 0;
}

.gef-able .able-hero-ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 34px;
}

.gef-able .able-hero-meta {
	display: flex;
	gap: 28px;
	margin-top: 44px;
	flex-wrap: wrap;
}

.gef-able .able-hero-meta-item {
	font-family: 'Oswald', sans-serif;
}

.gef-able .able-hero-meta-num {
	font-size: 26px;
	font-weight: 700;
	color: var(--able-red);
	display: block;
	line-height: 1;
}

.gef-able .able-hero-meta-label {
	font-family: 'Lato', sans-serif;
	font-size: 12.5px;
	color: var(--able-gray);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* ---------- Intro quote band ---------- */

.gef-able .able-quote {
	position: relative;
	font-family: 'Oswald', sans-serif;
	font-weight: 500;
	font-size: clamp(20px, 2.6vw, 27px);
	line-height: 1.5;
	text-align: center;
	max-width: 880px;
	margin: 0 auto;
	color: var(--able-ink);
}

.gef-able .able-quote strong { color: var(--able-red); font-weight: 700; }

/* ---------- Stage path ---------- */

.gef-able .able-path {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 28px;
	margin-top: 20px;
}

.gef-able .able-path::before {
	content: "";
	position: absolute;
	top: 34px;
	left: 12.5%;
	right: 12.5%;
	height: 2px;
	background: repeating-linear-gradient(90deg, var(--able-border) 0 10px, transparent 10px 20px);
	z-index: 0;
}

.gef-able .able-stage {
	position: relative;
	z-index: 1;
	background: #ffffff;
	border-radius: var(--able-radius);
	padding: 32px 22px 30px;
	text-align: center;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gef-able .able-stage:hover {
	transform: translateY(-6px);
	box-shadow: var(--able-shadow-lg);
}

.gef-able .able-stage-icon {
	width: 68px;
	height: 68px;
	margin: 0 auto 20px;
	border-radius: 50%;
	background: #ffffff;
	border: 2px solid var(--able-red);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--able-red);
	transition: background-color 0.25s ease, color 0.25s ease;
}

.gef-able .able-stage-icon svg { width: 30px; height: 30px; }

.gef-able .able-stage:hover .able-stage-icon {
	background: var(--able-red);
	color: #ffffff;
}

.gef-able .able-stage-num {
	display: inline-block;
	font-family: 'Oswald', sans-serif;
	font-weight: 700;
	font-size: 12px;
	letter-spacing: 1px;
	color: var(--able-gray-light);
	margin-bottom: 8px;
}

.gef-able .able-stage-name {
	font-family: 'Nunito', sans-serif;
	font-weight: 900;
	font-size: 17px;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	margin: 0 0 10px;
}

.gef-able .able-stage-desc {
	font-size: 13.5px;
	line-height: 1.55;
	color: var(--able-gray);
	margin: 0;
}

/* ---------- Next-step cards ---------- */

.gef-able .able-steps {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 28px;
}

.gef-able .able-step-card {
	background: #ffffff;
	border-radius: var(--able-radius);
	padding: 40px;
	box-shadow: var(--able-shadow);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.gef-able .able-step-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--able-shadow-lg);
}

.gef-able .able-step-tag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: var(--able-cream);
	color: var(--able-red);
	margin-bottom: 24px;
}

.gef-able .able-step-tag svg { width: 26px; height: 26px; }

.gef-able .able-step-card.able-step-alt .able-step-tag {
	background: var(--able-ink);
	color: #ffffff;
}

.gef-able .able-step-eyebrow {
	font-family: 'Oswald', sans-serif;
	font-weight: 600;
	font-size: 12.5px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--able-gray-light);
	margin: 0 0 8px;
}

.gef-able .able-step-title {
	font-family: 'Oswald', sans-serif;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 23px;
	margin: 0 0 14px;
}

.gef-able .able-step-desc {
	font-size: 15px;
	line-height: 1.6;
	color: var(--able-gray);
	margin: 0 0 28px;
	flex-grow: 1;
}

/* ---------- Closing band ---------- */

.gef-able .able-closing {
	position: relative;
	text-align: center;
	overflow: hidden;
}

.gef-able .able-closing-visual {
	position: absolute;
	top: 50%;
	right: 4%;
	transform: translateY(-50%);
	width: 220px;
	opacity: 0.9;
	pointer-events: none;
}

.gef-able .able-closing .able-h2 { color: #ffffff; max-width: 720px; margin-left: auto; margin-right: auto; }

/* ---------- Resource Bank: featured book ---------- */

.gef-able .able-featured {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	gap: 48px;
	align-items: center;
	background: linear-gradient(135deg, var(--able-cream) 0%, var(--able-cream-dark) 100%);
	border-radius: 24px;
	padding: 48px;
	position: relative;
	overflow: hidden;
}

.gef-able .able-featured::after {
	content: "";
	position: absolute;
	top: -60px;
	right: -60px;
	width: 220px;
	height: 220px;
	border-radius: 50%;
	background: rgba(255, 0, 0, 0.06);
}

.gef-able .able-book-mock {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

.gef-able .able-book-cover {
	width: 200px;
	aspect-ratio: 3 / 4;
	background: var(--able-ink);
	border-radius: 6px 10px 10px 6px;
	box-shadow: 12px 12px 0 rgba(255, 0, 0, 0.85), var(--able-shadow-lg);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 26px 20px;
	color: #ffffff;
	position: relative;
	z-index: 1;
}

.gef-able .able-book-cover .able-book-eyebrow {
	font-family: 'Lato', sans-serif;
	font-size: 10px;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.6);
}

.gef-able .able-book-cover .able-book-title {
	font-family: 'Oswald', sans-serif;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 22px;
	line-height: 1.2;
}

.gef-able .able-book-cover .able-book-foot {
	font-family: 'Lato', sans-serif;
	font-size: 11px;
	color: rgba(255, 255, 255, 0.55);
}

.gef-able .able-featured-label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: 'Lato', sans-serif;
	font-weight: 700;
	font-size: 12px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--able-red);
	margin: 0 0 14px;
}

.gef-able .able-featured-title {
	font-family: 'Oswald', sans-serif;
	font-weight: 700;
	text-transform: uppercase;
	font-size: clamp(24px, 3vw, 32px);
	margin: 0 0 16px;
	line-height: 1.15;
}

.gef-able .able-featured-desc {
	font-size: 15.5px;
	line-height: 1.65;
	color: var(--able-gray);
	margin: 0 0 26px;
	max-width: 460px;
}

.gef-able .able-featured-note {
	display: block;
	margin-top: 14px;
	font-size: 12.5px;
	color: var(--able-gray-light);
}

/* ---------- Resource groups ---------- */

.gef-able .able-group { margin-bottom: 52px; }

.gef-able .able-group-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	border-bottom: 2px solid var(--able-ink);
	padding-bottom: 14px;
	margin-bottom: 24px;
}

.gef-able .able-group-title {
	font-family: 'Oswald', sans-serif;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	font-size: 20px;
	margin: 0;
}

.gef-able .able-group-count {
	font-family: 'Lato', sans-serif;
	font-size: 12.5px;
	color: var(--able-gray-light);
}

.gef-able .able-resource-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 18px;
}

.gef-able .able-resource-card {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	background: #ffffff;
	border: 1px solid var(--able-border);
	border-radius: var(--able-radius-sm);
	padding: 22px;
	transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.gef-able .able-resource-card:hover {
	box-shadow: var(--able-shadow);
	border-color: transparent;
	transform: translateY(-3px);
}

.gef-able .able-resource-icon {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--able-cream);
	color: var(--able-red);
	display: flex;
	align-items: center;
	justify-content: center;
}

.gef-able .able-resource-icon svg { width: 22px; height: 22px; }

.gef-able .able-resource-body { flex-grow: 1; min-width: 0; }

.gef-able .able-resource-name {
	font-family: 'Nunito', sans-serif;
	font-weight: 900;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.2px;
	margin: 0 0 4px;
}

.gef-able .able-resource-sub {
	font-size: 12.5px;
	line-height: 1.5;
	color: var(--able-gray);
	margin: 0 0 12px;
}

.gef-able .able-resource-action {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: 'Oswald', sans-serif;
	font-weight: 600;
	font-size: 11.5px;
	letter-spacing: 0.6px;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--able-red);
}

.gef-able .able-resource-action svg { width: 13px; height: 13px; }

.gef-able .able-resource-action.able-pending {
	color: var(--able-gray-light);
	pointer-events: none;
}

/* ---------- Forms wrapper ---------- */

.gef-able .able-form-shell {
	background: #ffffff;
	border-radius: var(--able-radius);
	box-shadow: var(--able-shadow);
	padding: 44px;
	max-width: 760px;
	margin: 0 auto;
}

.gef-able .able-form-shell .wpcf7-form-control-wrap { display: block; margin-bottom: 4px; }

.gef-able .able-form-shell p { margin-bottom: 20px; }

.gef-able .able-form-shell label {
	display: block;
	font-family: 'Oswald', sans-serif;
	font-weight: 600;
	font-size: 13px;
	letter-spacing: 0.3px;
	text-transform: uppercase;
	margin-bottom: 8px;
	color: var(--able-ink);
}

.gef-able .able-form-shell input[type="text"],
.gef-able .able-form-shell input[type="email"],
.gef-able .able-form-shell input[type="tel"],
.gef-able .able-form-shell select,
.gef-able .able-form-shell textarea {
	width: 100%;
	font-family: 'Lato', sans-serif;
	font-size: 15px;
	padding: 13px 16px;
	border: 1.5px solid var(--able-border);
	border-radius: 8px;
	background: #fbfbfb;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}

.gef-able .able-form-shell input:focus,
.gef-able .able-form-shell select:focus,
.gef-able .able-form-shell textarea:focus {
	outline: none;
	border-color: var(--able-red);
	background: #ffffff;
}

.gef-able .able-form-shell input[type="submit"] {
	font-family: 'Oswald', sans-serif;
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 1px;
	text-transform: uppercase;
	background: var(--able-red);
	color: #ffffff;
	border: none;
	padding: 16px 38px;
	border-radius: 999px;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.gef-able .able-form-shell input[type="submit"]:hover {
	background: var(--able-red-dark);
	transform: translateY(-2px);
}

.gef-able .able-likert-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 16px 0;
	border-bottom: 1px solid var(--able-border);
}

.gef-able .able-likert-row:last-child { border-bottom: none; }

.gef-able .able-likert-label {
	font-family: 'Lato', sans-serif;
	font-weight: 400;
	font-size: 14.5px;
	text-transform: none;
	letter-spacing: 0;
	margin: 0;
	max-width: 60%;
}

.gef-able .able-likert-scale {
	display: flex;
	gap: 6px;
	flex-shrink: 0;
}

.gef-able .able-likert-scale .wpcf7-list-item { margin: 0; }

.gef-able .able-likert-scale .wpcf7-list-item-label {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1.5px solid var(--able-border);
	font-family: 'Oswald', sans-serif;
	font-weight: 600;
	font-size: 13px;
	color: var(--able-gray);
	cursor: pointer;
	transition: all 0.15s ease;
}

.gef-able .able-likert-scale input[type="radio"] {
	position: absolute;
	opacity: 0;
	width: 36px;
	height: 36px;
	cursor: pointer;
	margin: 0;
}

.gef-able .able-likert-scale label {
	position: relative;
	display: inline-block;
	margin: 0 !important;
	text-transform: none !important;
	font-weight: 400 !important;
}

.gef-able .able-likert-scale input[type="radio"]:checked + .wpcf7-list-item-label,
.gef-able .able-likert-scale .wpcf7-list-item:has(input:checked) .wpcf7-list-item-label {
	background: var(--able-red);
	border-color: var(--able-red);
	color: #ffffff;
}

.gef-able .able-section-title {
	font-family: 'Oswald', sans-serif;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 16px;
	letter-spacing: 0.5px;
	color: var(--able-red);
	margin: 36px 0 6px;
	padding-top: 20px;
	border-top: 2px solid var(--able-ink);
}

.gef-able .able-form-shell .able-section-title:first-of-type {
	margin-top: 0;
	padding-top: 0;
	border-top: none;
}

.gef-able .able-scale-hint {
	font-size: 12.5px;
	color: var(--able-gray-light);
	font-style: italic;
	margin: -4px 0 18px;
}

.gef-able .wpcf7-not-valid-tip {
	font-size: 12.5px;
	color: var(--able-red);
	margin-top: 6px;
}

.gef-able .wpcf7-response-output {
	border-radius: var(--able-radius-sm) !important;
	font-size: 14px !important;
	margin-top: 24px !important;
}

/* ---------- Form modal ---------- */

body.able-modal-open {
	overflow: hidden;
}

.able-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 100000;
	padding: 40px 20px;
	align-items: flex-start;
	justify-content: center;
	overflow-y: auto;
}

.able-modal.is-open {
	display: flex;
}

.able-modal-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(26, 26, 26, 0.75);
}

.able-modal-panel {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 760px;
	margin: auto;
	animation: able-modal-in 0.2s ease;
}

@keyframes able-modal-in {
	from { opacity: 0; transform: translateY(12px); }
	to { opacity: 1; transform: translateY(0); }
}

.able-modal-close {
	position: absolute;
	top: -18px;
	right: -18px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--able-ink);
	color: #ffffff;
	border: none;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.able-modal-close:hover {
	background: var(--able-red);
	transform: rotate(90deg);
}

.able-modal .able-form-shell {
	max-width: none;
	max-height: calc(100vh - 80px);
	overflow-y: auto;
}

@media screen and (max-width: 560px) {
	.able-modal {
		padding: 24px 14px;
	}

	.able-modal-close {
		top: -14px;
		right: 0;
	}
}

/* ---------- Responsive ---------- */

@media screen and (max-width: 900px) {
	.gef-able .able-hero { grid-template-columns: 1fr; }
	.gef-able .able-hero-visual { order: -1; }
	.gef-able .able-hero-visual img { max-width: 220px; }
	.gef-able .able-path { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
	.gef-able .able-path::before { display: none; }
	.gef-able .able-steps { grid-template-columns: 1fr; }
	.gef-able .able-featured { grid-template-columns: 1fr; padding: 32px; text-align: center; }
	.gef-able .able-resource-grid { grid-template-columns: 1fr; }
	.gef-able .able-closing-visual { display: none; }
}

@media screen and (max-width: 560px) {
	.gef-able .able-section { padding: 64px 18px; }
	.gef-able .able-section.able-tight { padding: 48px 18px; }
	.gef-able .able-hero-ctas { flex-direction: column; align-items: stretch; }
	.gef-able .able-hero-ctas .able-btn { justify-content: center; }
	.gef-able .able-form-shell { padding: 28px 20px; }
	.gef-able .able-likert-row { flex-direction: column; align-items: flex-start; gap: 10px; }
	.gef-able .able-likert-label { max-width: 100%; }
}
