/* Program Finder --------------------------------- */

.pf-trigger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 32px;
	background: var(--wp--preset--color--primary, #000C2D);
	color: #fff;
	border: none;
	border-radius: 100px;
	font-family: var(--wp--preset--font-family--sequel-sans, sans-serif);
	font-size: var(--wp--preset--font-size--normal, 1.2rem);
	font-weight: 405;
	cursor: pointer;
	transition: opacity 0.2s ease;
}

.pf-trigger:hover {
	opacity: 0.85;
}

/* Overlay */

.pf-overlay {
	position: fixed;
    inset: 0;
    background: transparent;
    z-index: 9999;
    overflow-y: auto;
    display: flex;
}

.pf-overlay::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.pf-overlay[hidden] {
	display: none;
}

body.pf-open {
	overflow: hidden;
}

/* Modal */

.pf-modal {
	position: relative;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    padding: 80px clamp(24px, 8vw, 120px) 60px;
    max-width: 1080px;
    margin: auto;
    box-sizing: border-box;
    background-color: #fff;
    width: 95vw;
}

/* Corner SVGs */

.pf-corner {
	position: absolute;
	z-index: 0;
	pointer-events: none;
}

.pf-corner--top {
	top: 0;
	left: 0;
}

.pf-corner--bottom {
	bottom: 0;
	right: 0;
	transform: rotate(180deg);
}

/* Header */

.pf-modal__header {
	//position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 48px;
	min-height: 32px;
}

.pf-back,
.pf-close {
	display: flex;
	align-items: center;
	justify-content: center;
	background: none;
	border: none;
	padding: 4px;
	cursor: pointer;
	color: var(--wp--preset--color--primary, #000C2D);
	line-height: 1;
	transition: opacity 0.2s ease;
}

.pf-back:hover,
.pf-close:hover {
	opacity: 0.6;
}

.pf-back[hidden] {
	visibility: hidden;
	pointer-events: none;
}

/* Progress */

.pf-progress {
	display: flex;
	align-items: center;
    position: absolute;
    top: 45px;
    right: 90px;
}

.pf-progress__segment {
	width: 48px;
	height: 4px;
	background: #FEEBE8;
	transition: background 0.3s ease;
}

.pf-progress__segment.is-active {
	background: var(--wp--preset--color--secondary, #F6361C);
}

/* Intro Screen */

.pf-intro-screen {
	display: none;
	flex-direction: column;
	position: relative;
	z-index: 1;
    text-align: center;
}

.pf-intro-screen.is-active {
	display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
}

.pf-intro-screen__content {
    align-items: center;
    justify-content: center;
}

.pf-intro-screen__heading {
	font-family: var(--wp--preset--font-family--sequel-sans, sans-serif);
	font-size: clamp(1.5rem, 3.5vw, 2.2rem);
	font-weight: 600;
	color: var(--wp--preset--color--primary, #000C2D);
	margin: 0 0 1rem;
	text-transform: none;
	line-height: 1.25;
}

.pf-intro-screen__description {
	font-family: var(--wp--preset--font-family--sequel-sans, sans-serif);
	font-size: var(--wp--preset--font-size--normal, 1.2rem);
	font-weight: 405;
	color: var(--wp--preset--color--primary, #000C2D);
	line-height: 1.7;
	margin: 0;
}

.pf-start {
	width: 100%;
	padding: 16px;
    margin-top: 45px;
	background: var(--wp--preset--color--primary, #000C2D);
	color: #fff;
	border: none;
	border-radius: 100px;
	font-family: var(--wp--preset--font-family--sequel-sans, sans-serif);
	font-size: var(--wp--preset--font-size--normal, 1.2rem);
	font-weight: 405;
	cursor: pointer;
	transition: opacity 0.2s ease;
}

.pf-start:hover {
	opacity: 0.85;
}

/* Steps */

.pf-step {
	display: none;
	flex-direction: column;
	flex: 1;
	position: relative;
	z-index: 1;
}

.pf-step.is-active {
	display: flex;
}

.pf-question {
	font-family: var(--wp--preset--font-family--sequel-sans, sans-serif);
	font-size: clamp(1.5rem, 3.5vw, 2.2rem);
	font-weight: 405;
	font-style: normal;
	color: var(--wp--preset--color--primary, #000C2D);
	margin: 0 0 2rem;
	line-height: 1.25;
	text-transform: none;
}

/* Options */

.pf-options {
	list-style: none;
	margin: 0 0 2rem;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.pf-option {
	width: 100%;
	text-align: left;
	padding: 16px 20px;
	background: #fff;
	border: 1.5px solid var(--wp--preset--color--primary, #000C2D);
	border-radius: 4px;
	font-family: var(--wp--preset--font-family--sequel-sans, sans-serif);
	font-size: var(--wp--preset--font-size--normal, 1.2rem);
	font-weight: 405;
	color: var(--wp--preset--color--primary, #000C2D);
	cursor: pointer;
	transition: background 0.15s ease, border-width 0.1s ease;
	line-height: 1.4;
}

.pf-option:hover {
	background: #f5f5f5;
}

.pf-option.is-selected {
	border-width: 2.5px;
	background: #fafafa;
}

/* Continue */

.pf-continue {
	width: 100%;
	padding: 16px;
	background: var(--wp--preset--color--primary, #000C2D);
	color: #fff;
	border: none;
	border-radius: 100px;
	font-family: var(--wp--preset--font-family--sequel-sans, sans-serif);
	font-size: var(--wp--preset--font-size--normal, 1.2rem);
	font-weight: 405;
	cursor: pointer;
	transition: opacity 0.2s ease;
	margin-top: auto;
}

.pf-continue:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.pf-continue:not(:disabled):hover {
	opacity: 0.85;
}

/* Results */

.pf-results {
	display: none;
	flex-direction: column;
	flex: 1;
	position: relative;
	z-index: 1;
}

.pf-results.is-active {
	display: flex;
}

.pf-results__heading {
	font-family: var(--wp--preset--font-family--sequel-sans, sans-serif);
	font-size: clamp(1.3rem, 3vw, 1.8rem);
	font-weight: 405;
	color: var(--wp--preset--color--primary, #000C2D);
	margin: 0 0 1.5rem;
	text-transform: none;
}

.pf-result-cards {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin-bottom: 2rem;
}

.pf-result-card {
	display: none;
	position: relative;
	overflow: hidden;
	padding: 36px;
	color: #000C2D;
}

.pf-result-card.is-visible {
	display: block;
}

/* Result card accent SVG */

.pf-result-card__accent {
	position: absolute;
	top: 0;
	right: 0;
    height: 220px;
	display: flex;
	align-items: stretch;
	pointer-events: none;
	aria-hidden: true;
}

.pf-result-card__accent svg {
	height: 100%;
	width: auto;
	transform: scaleX(-1);
	display: block;
}

.pf-result-card__title {
	font-family: var(--wp--preset--font-family--pp-right-grotesk, sans-serif);
	font-size: clamp(1.2rem, 2.5vw, 1.6rem);
	font-weight: 900;
	text-transform: uppercase;
	color: var(--pf-card-text, #000C2D);
	margin: 0 0 1rem;
	line-height: var(--wp--custom--line-height--snug, 1.2);
	position: relative;
	z-index: 1;
}

.pf-result-card__description {
	font-family: var(--wp--preset--font-family--sequel-sans, sans-serif);
	font-size: var(--wp--preset--font-size--normal, 1.2rem);
	font-weight: 405;
	line-height: 1.6;
	margin: 0 0 1.5rem;
	color: var(--pf-card-text, #000C2D);
	position: relative;
	z-index: 1;
	max-width: 75%;
}

.pf-result-card__callout {
	padding: 20px 24px;
	margin-bottom: 1.5rem;
	position: relative;
	z-index: 1;
}

.pf-result-card__callout p {
	font-family: var(--wp--preset--font-family--sequel-sans, sans-serif);
	font-style: italic;
	font-size: var(--wp--preset--font-size--normal, 1.2rem);
	font-weight: 405;
	color: var(--wp--preset--color--primary, #000C2D);
	margin: 0 0 0.5rem;
}

.pf-result-card__callout a {
	font-family: var(--wp--preset--font-family--sequel-sans, sans-serif);
	color: var(--wp--preset--color--primary, #000C2D);
	text-decoration: underline;
    font-size: 1rem;
}

.pf-result-card__cta {
    box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 10px 16px;
	background: var(--wp--preset--color--primary, #000C2D);
	color: #fff;
	text-decoration: none;
	border-radius: 100px;
	font-family: var(--wp--preset--font-family--sequel-sans, sans-serif);
	font-size: var(--wp--preset--font-size--normal, 1.2rem);
	font-weight: 405;
	text-align: center;
	transition: opacity 0.2s ease;
	position: relative;
	z-index: 1;
}

.pf-result-card__cta:hover {
	opacity: 0.85;
	color: #fff;
}

/* Restart */

.pf-restart {
	background: none;
	border: none;
	padding: 0;
	font-family: var(--wp--preset--font-family--sequel-sans, sans-serif);
	font-size: var(--wp--preset--font-size--normal, 1.2rem);
	color: #999;
	cursor: pointer;
	text-decoration: underline;
	align-self: flex-start;
	margin-top: auto;
}

.pf-restart:hover {
	color: var(--wp--preset--color--primary, #000C2D);
}

/* Editor preview */

.pf-editor__preview {
	margin-top: 12px;
	padding: 12px 16px;
	font-size: 13px;
	color: #666;
}

.pf-editor__trigger-preview {
	display: inline-block;
	padding: 10px 24px;
	background: var(--wp--preset--color--primary, #000C2D);
	color: #fff;
	border-radius: 100px;
	font-size: 14px;
	margin-bottom: 8px;
}