@charset "UTF-8";
/* =============================================================================
   Final CTA + booking form. [figma] node 747:4582 — 1250x767, radius 24.

   Two columns on a diagonal navy gradient: a numbered "what happens next" list
   on the left, and a translucent form card (580x584, radius 16) on the right.

   In the theme the form is a Fluent Forms embed; this markup is the visual
   contract for styling it. Real <label>s and real inputs here — the design
   draws floating labels above each field, which is what these are.
   ========================================================================== */

.cta {
	/* [figma] linear-gradient(107.41deg, #002138 0%, #004066 120.84%) */
	background-image: linear-gradient(107.41deg, #002138 0%, var(--color-navy-glow) 100%);
	border-radius: 1.5rem;                   /* 24 [figma] */
	color: var(--color-on-dark);
	overflow: hidden;
}

.cta__inner {
	display: grid;
	/* minmax(0, …), not 1fr: a bare 1fr floors at its content's min width, and
	   the form pushed the column 27px past the card's edge at 390. */
	grid-template-columns: minmax(0, 1fr);
	gap: var(--space-12);
	padding: var(--space-12) var(--gutter);
}

@media (min-width: 64em) {
	.cta__inner {
		grid-template-columns: minmax(0, 30rem) minmax(0, 36.25rem);
		justify-content: space-between;
		/* The copy column is shorter than the form card, so it sits centred
		   against it, and the block padding is symmetric — the design draws 82
		   above and 101 below, which reads lopsided once the column is centred
		   (Domagoj, 2026-09-04). */
		align-items: center;
		gap: var(--space-16);
		padding: 5.125rem 4.1875rem 5.125rem 4.5625rem;
	}
}

/* No form card (the degree pages and the homepage since 2026-11-10: no free
   calls or personal assessments): one column, a readable measure. */
@media (min-width: 64em) {
	.cta__inner--solo {
		grid-template-columns: minmax(0, 46rem);
		justify-content: start;
	}
}

.cta .bib-final__btn {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3);
	margin-block-start: var(--space-8);
}

/* --- Left column ------------------------------------------------------------ */

/* [figma] Lora Regular 20/50 uppercase. */
.cta__eyebrow {
	font-family: var(--font-display);
	font-size: var(--fs-copy-20);
	line-height: var(--lh-tight);
	letter-spacing: var(--ls-eyebrow);
	text-transform: uppercase;
	color: var(--color-on-dark);
}

/* [figma] Lora Regular 40. */
.cta__title {
	margin-block-start: var(--space-6);
	font-family: var(--font-display);
	font-size: var(--fs-display-md);
	font-weight: var(--fw-regular);
	line-height: var(--lh-tight);
	color: var(--color-on-dark);
}

/* [figma] Lora Regular 16/36. */
.cta__text {
	margin-block-start: var(--space-8);
	font-family: var(--font-display);
	font-size: var(--fs-ui-base);
	line-height: 2.25;                       /* 36 / 16 [figma] */
	color: var(--color-on-dark);
	text-wrap: pretty;                       /* no single word alone on the last line (2026-11-12) */
}

.cta__steps {
	margin-block-start: var(--space-10);
	display: grid;
	gap: var(--space-8);
	list-style: none;
	padding: 0;
}

.cta__step {
	display: flex;
	align-items: center;
	gap: var(--space-6);
}

/* [figma] 40px outlined disc. The numeral is 18px, 16 on phones (Domagoj,
   2026-09-25; the frame draws 22). */
.cta__step-number {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 2.5rem;
	height: 2.5rem;
	border: 1px solid var(--color-on-dark-border);
	border-radius: var(--radius-full);
	font-family: var(--font-body);
	font-size: var(--fs-ui-lg);              /* 18 */
	line-height: 1;
	color: var(--color-on-dark);
}

/* [figma] Lora Regular 16/30. */
.cta__step-text {
	font-family: var(--font-display);
	font-size: var(--fs-ui-base);
	line-height: 1.875;                      /* 30 / 16 [figma] */
	color: var(--color-on-dark);
}

/* --- Form card -------------------------------------------------------------- */

.cta__card {
	/* [figma] rgba(217,217,217,0.1) with a 0.5px #d9d9d9 border. */
	padding: var(--space-8);
	border: 0.5px solid #d9d9d9;
	border-radius: 1rem;                     /* 16 [figma] */
	background-color: rgb(217 217 217 / 0.1);
}

@media (min-width: 64em) {
	.cta__card {
		padding: 3.1875rem 2.4375rem;
	}
}

/* Phones: the drawn 36px and 30px leading is built for a wide column; at 390
   it opens the copy into a list of loose lines. */
@media (max-width: 47.99em) {
	.cta__inner { gap: var(--space-10); padding-block: var(--space-10); }
	.cta__text { margin-block-start: var(--space-6); line-height: 1.75; }
	.cta__steps { margin-block-start: var(--space-8); gap: var(--space-5); }
	.cta__step { gap: var(--space-4); }
	.cta__step-text { line-height: 1.6; }
	.cta__step-number { font-size: var(--fs-ui-base); }      /* 16 (Domagoj, 2026-09-27) */
	.cta__card { padding: var(--space-6) var(--space-5); }
	.cta__card-title { font-size: var(--fs-editorial-xl); }   /* 26 */
}

/* [figma] Lora Regular 30. */
.cta__card-title {
	font-family: var(--font-display);
	font-size: var(--fs-ui-xl);
	font-weight: var(--fw-regular);
	line-height: var(--lh-tight);
	color: var(--color-on-dark);
}

/* [figma] Roboto Light 18 at 60% -> Geist. */
.cta__card-note {
	margin-block-start: var(--space-3);
	font-family: var(--font-body);
	font-size: var(--fs-copy-18);
	color: rgb(255 255 255 / 0.6);
}

.cta__fields {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-6);
	margin-block-start: var(--space-10);
}

@media (min-width: 30em) {
	.cta__fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cta__field--wide { grid-column: 1 / -1; }
}

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

/* [figma] Roboto Light 16 uppercase at 60% -> Geist. */
.cta__label {
	font-family: var(--font-body);
	font-size: var(--fs-ui-sm);              /* 14 (Domagoj, 2026-09-04) */
	font-weight: var(--fw-regular);
	letter-spacing: var(--ls-eyebrow);
	text-transform: uppercase;
	color: rgb(255 255 255 / 0.6);
}

/* [figma] 42px tall, radius 4, same translucent fill as the card. */
.cta__input {
	height: 2.625rem;
	padding-inline: var(--space-3);
	border: 0.5px solid #d9d9d9;
	border-radius: var(--radius-sm);
	background-color: rgb(217 217 217 / 0.1);
	color: var(--color-on-dark);
	font-family: var(--font-body);
	font-size: var(--fs-ui-base);
}

.cta__input::placeholder { color: rgb(255 255 255 / 0.45); }

.cta__input:focus-visible {
	outline: 2px solid var(--color-white);
	outline-offset: 2px;
}

/* A native select needs its own arrow on a dark ground. */
select.cta__input {
	appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, currentcolor 50%),
		linear-gradient(135deg, currentcolor 50%, transparent 50%);
	background-position: calc(100% - 18px) 55%, calc(100% - 12px) 55%;
	background-size: 6px 6px, 6px 6px;
	background-repeat: no-repeat;
	padding-inline-end: var(--space-10);
}

select.cta__input option { color: var(--color-text); }

/* [figma] 500x50 white pill-less button, radius 4, 20px capitalised label. */
.cta__submit {
	width: 100%;
	min-height: 3.125rem;
	margin-block-start: var(--space-8);
	border-radius: var(--radius-sm);
	background-color: var(--color-white);
	color: var(--color-navy);
	font-family: var(--font-body);
	font-size: var(--fs-editorial);
	font-weight: var(--fw-medium);
	transition: background-color var(--duration) var(--ease);
}

.cta__submit:hover {
	background-color: var(--color-crimson);
	color: var(--color-white);
}

/* [figma] Roboto Regular 14/20 at 70%, centred. */
.cta__confidential {
	margin-block-start: var(--space-5);
	font-family: var(--font-body);
	font-size: var(--fs-ui-sm);
	line-height: var(--lh-card);
	text-align: center;
	color: rgb(255 255 255 / 0.7);
}

/* --- Fluent Forms inside the booking card ----------------------------------
   The plugin renders its own markup, so the design's field styles are mapped
   onto its class names rather than the form being rebuilt by hand. Everything
   here is scoped to .cta__card so no other Fluent Form on the site inherits the
   dark treatment.

   Values are the same ones .cta__label / .cta__input / .cta__submit carry — see
   those rules above for the [figma] references. */

.cta__card .frm-fluent-form {
	margin-block-start: var(--space-10);
}

/* Two columns from 30em, matching .cta__fields. The message-style long fields
   and the submit row span the pair. */
/* The plugin wraps every field in a <fieldset>, so that is what has to become
   the grid — putting it on the <form> lays out the fieldset itself and leaves
   the fields in one shrink-to-fit column. `min-width: 0` is required: a
   fieldset defaults to min-content width and would otherwise refuse to shrink
   into its track. */
.cta__card .fluentform .ff-el-group {
	margin-block-end: 0;
}

/* The fieldset is a grid at EVERY width, so the row gap spaces the fields on a
   phone too. It used to become a grid only from 30em, and below that the
   groups (margin zeroed above) sat flush against each other (Domagoj,
   2026-09-25). One column until 30em, two from there. */
.cta__card .frm-fluent-form > fieldset {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	/* [figma] the row gap is the 25 between an input's bottom edge and the
	   next label. */
	row-gap: var(--space-6);
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

@media (min-width: 30em) {
	.cta__card .frm-fluent-form > fieldset {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		/* [figma] 240 + 20 + 240 = the card's 500 content width. */
		column-gap: var(--space-5);
	}

	.cta__card .ff-el-group {
		margin-block-end: 0;
	}

	/* The programme select and the submit run the full width, as drawn. */
	.cta__card .ff_submit_btn_wrapper,
	.cta__card .ff-el-group:has(select),
	.cta__card .ff-el-group:has(textarea),
	.cta__card .ff-el-group.lsb-apply-step__full {
		grid-column: 1 / -1;
	}
}

.cta__card .frm-fluent-form .ff-el-input--label label {
	font-family: var(--font-body);
	font-size: var(--fs-ui-sm);              /* 14 (Domagoj, 2026-09-04) */
	font-weight: var(--fw-regular);
	letter-spacing: var(--ls-eyebrow);
	text-transform: uppercase;
	color: rgb(255 255 255 / 0.6);
}

/* [figma] the labels carry no required marker — the design prints "FIRST NAME",
   not "FIRST NAME *". Validation still enforces it.

   The asterisk is a pseudo-element on the label, and `.ff-el-is-required` is the
   label's WRAPPER, not the marker — hiding that would take the label text with
   it. The plugin's own selector is
   `.fluentform .ff-el-input--label.ff-el-is-required.asterisk-right label::after`,
   so this has to carry at least as much weight to win. */
.cta__card .fluentform .ff-el-input--label.ff-el-is-required.asterisk-right label::after,
.cta__card .fluentform .ff-el-input--label.ff-el-is-required.asterisk-left label::before {
	content: none;
}

/* The plugin sizes selects separately from text inputs, with
   `select.ff-el-form-control:not([size]):not([multiple])` — which ties this rule
   on specificity and then wins on source order, because the plugin's stylesheet
   is enqueued when the form renders, after the theme's. Matching its :not()
   pair is what puts this ahead. */
.cta__card .fluentform select.ff-el-form-control:not([size]):not([multiple]) {
	height: 2.625rem;                        /* 42 [figma] */
}

.cta__card .frm-fluent-form .ff-el-form-control {
	width: 100%;
	height: 2.625rem;
	padding-inline: var(--space-3);
	border: 0.5px solid #d9d9d9;
	border-radius: var(--radius-sm);
	background-color: rgb(217 217 217 / 0.1);
	color: var(--color-on-dark);
	font-family: var(--font-body);
	font-size: var(--fs-ui-base);
	box-shadow: none;
}

.cta__card .frm-fluent-form .ff-el-form-control::placeholder {
	color: rgb(255 255 255 / 0.45);
}

.cta__card .frm-fluent-form .ff-el-form-control:focus,
.cta__card .frm-fluent-form .ff-el-form-control:focus-visible {
	outline: 2px solid var(--color-white);
	outline-offset: 2px;
	border-color: #d9d9d9;
	background-color: rgb(217 217 217 / 0.1);
	/* Restated because Fluent Forms' focus rule sets a dark text colour and
	   loads after the theme — see news.css, newsletter (2026-09-14). */
	color: var(--color-on-dark);
}

/* A native select needs its own arrow on a dark ground. The height is repeated
   here because the plugin sizes selects separately from text inputs. */
.cta__card .frm-fluent-form select.ff-el-form-control {
	height: 2.625rem;                        /* 42 [figma] */
	appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, currentcolor 50%),
		linear-gradient(135deg, currentcolor 50%, transparent 50%);
	background-position: calc(100% - 18px) 55%, calc(100% - 12px) 55%;
	background-size: 6px 6px, 6px 6px;
	background-repeat: no-repeat;
}

/* The popup list is drawn by the OS on its own light ground, so the options need
   a dark colour there — which is also what Chrome paints in the closed control
   while the select has focus. Without the :focus rule below, choosing a value
   turned the field's text grey until it lost focus (Domagoj, 2026-09-04). */
.cta__card .frm-fluent-form select.ff-el-form-control option {
	color: var(--color-text);
}

.cta__card .fluentform select.ff-el-form-control:focus {
	color: var(--color-on-dark);
}

/* "Select a programme" is a PLACEHOLDER, not a choice: it is dropped from the
   list, and while it is the current value the control is styled as the label
   above it rather than as an answer. */
.cta__card .fluentform select.ff-el-form-control option[value=""] {
	display: none;
}

.cta__card .fluentform select.ff-el-form-control:has(option[value=""]:checked) {
	font-size: var(--fs-ui-sm);
	color: rgb(255 255 255 / 0.6);
}

/* Programme names are proper nouns — they stay in their own case, placeholder
   included (Domagoj, 2026-09-04). */
.cta__card .fluentform select.ff-el-form-control {
	text-transform: none;
	letter-spacing: normal;
}

.cta__card .ff_submit_btn_wrapper {
	margin-block-start: var(--space-3);          /* [figma] 34 below the select */
}

.cta__card .frm-fluent-form .ff-btn-submit {
	width: 100%;
	min-height: 3.125rem;
	border: 0;
	border-radius: var(--radius-sm);
	background-color: var(--color-white);
	color: var(--color-navy);
	font-family: var(--font-body);
	font-size: var(--fs-ui-base);            /* 16 (Domagoj, 2026-09-04) */
	font-weight: var(--fw-medium);
	transition: background-color var(--duration) var(--ease), color var(--duration) var(--ease);
}

.cta__card .frm-fluent-form .ff-btn-submit:hover {
	background-color: var(--color-crimson);
	color: var(--color-white);
}

/* At 360 the label is wider than the button; the plugin sets nowrap. */
@media (max-width: 47.99em) {
	.cta__card .frm-fluent-form .ff-btn-submit {
		padding-inline: var(--space-4);
		white-space: normal;
		line-height: var(--lh-tight);
	}
}

/* The plugin's error and success chrome, in the card's palette. */
.cta__card .ff-el-is-error .text-danger,
.cta__card .error-text {
	color: #ffb4c6;
	font-family: var(--font-body);
	font-size: var(--fs-ui-sm);
}

.cta__card .ff-message-success {
	border: 0;
	background-color: rgb(217 217 217 / 0.1);
	color: var(--color-on-dark);
	font-family: var(--font-body);
}

/* --- Phones: the card as a sheet -------------------------------------------
   The form took a whole screen at the end of every page (Domagoj, 2026-09-28).
   On phones the card folds behind one button, labelled with the card's own
   title, and opens full-screen over the page (assets/js/cta-sheet.js). The
   card keeps every class above, so the form inside looks exactly as it did.
   `.has-sheet` is set by the script: without it the card stays inline. */

.cta__open,
.cta__close {
	display: none;
}

@media (max-width: 47.99em) {
	.cta.has-sheet .cta__card:not(.is-open) {
		display: none;
	}

	/* The submit's look: a white bar with the navy label. */
	.cta.has-sheet .cta__open {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: var(--space-2);
		width: 75%;                         /* narrower, centred (Domagoj, 2026-09-29) */
		margin-inline: auto;
		min-height: 3.125rem;
		padding: var(--space-3) var(--space-4);
		border-radius: var(--radius-sm);
		background-color: var(--color-white);
		color: var(--color-navy);
		font-family: var(--font-body);
		font-size: var(--fs-ui-base);
		font-weight: var(--fw-medium);
		line-height: var(--lh-tight);
		text-align: center;
		transition: background-color var(--duration) var(--ease), color var(--duration) var(--ease);
	}

	.cta.has-sheet .cta__open:hover {
		background-color: var(--color-crimson);
		color: var(--color-white);
	}

	.cta.has-sheet .cta__open:focus-visible {
		outline: 2px solid var(--color-white);
		outline-offset: 3px;
	}

	.cta__card.is-open {
		position: fixed;
		inset: 0;
		z-index: var(--z-modal);
		overflow-y: auto;
		overscroll-behavior: contain;
		padding: var(--space-8) var(--gutter) calc(var(--space-8) + env(safe-area-inset-bottom));
		border: 0;
		border-radius: 0;
		background-color: #002138;
		background-image: linear-gradient(160deg, #002138 0%, var(--color-navy-glow) 100%);
		animation: cta-sheet-in 0.3s var(--ease);
	}

	.cta__card.is-open .cta__card-title {
		padding-inline-end: 3rem;
	}

	.cta__card.is-open .cta__close {
		position: absolute;
		top: var(--space-6);
		inset-inline-end: var(--gutter);
		display: grid;
		place-items: center;
		width: 2.5rem;
		height: 2.5rem;
		border: 1px solid var(--color-on-dark-border);
		border-radius: var(--radius-full);
		color: var(--color-on-dark);
	}

	.cta__card.is-open .cta__close:focus-visible {
		outline: 2px solid var(--color-white);
		outline-offset: 2px;
	}
}

@keyframes cta-sheet-in {
	from { opacity: 0; transform: translateY(1.5rem); }
	to { opacity: 1; transform: none; }
}
