@charset "UTF-8";
/* =============================================================================
   Bachelor programme page — shared primitives, then the hero, announcement,
   facts, sub-nav, toast and mobile bar.

   Ported from the Figma Make export (figma_make/LSB - BIB (domi)/src/index.css,
   2026-09-15). Rules for the porting, which every programme-*.css follows:

   - Every export class is prefixed `bib-`: the export's .hero, .btn, .card,
     .tag and .stats would collide with the site's own. Element parts become
     BEM (`.planner-head` -> `.bib-planner__head`); state classes become `is-*`.
   - Two type voices, as on the rest of the site: the export's Lora stays Lora;
     Inter AND IBM Plex Mono both become Geist. The mono labels keep their
     uppercase tracking (`.bib-mono`), which is what made them read as labels.
   - Colours are base.css tokens. The export's translucent navies are
     color-mix() of those tokens — the custom properties below — so no raw
     colour appears outside base.css.
   - Breakpoints map onto the site's: the export's 1100 -> 1280 (80em),
     900 -> 1024 (64em), 560 -> 768 (48em). Width is the header's container.

   Section CSS lives beside this file, one sheet per section group, loaded only
   on this template (inc/enqueue.php).
   ========================================================================== */

:root {
	--bib-ink: var(--color-navy);
	--bib-ink-2: color-mix(in srgb, var(--color-navy) 76%, transparent);
	--bib-ink-3: color-mix(in srgb, var(--color-navy) 56%, transparent);
	--bib-line: color-mix(in srgb, var(--color-navy) 15%, transparent);
	--bib-line-2: color-mix(in srgb, var(--color-navy) 28%, transparent);
	--bib-paper: var(--color-ink-100);
	--bib-abyss: var(--color-navy-abyss);
	--bib-on-dark: color-mix(in srgb, var(--color-white) 78%, transparent);
	--bib-on-dark-3: color-mix(in srgb, var(--color-white) 55%, transparent);
	--bib-line-dark: color-mix(in srgb, var(--color-white) 16%, transparent);
	--bib-magenta: var(--color-crimson);
	--bib-magenta-dark: var(--color-crimson-dark);
	--bib-magenta-on-dark: var(--color-crimson-on-dark);
	--bib-magenta-tint: color-mix(in srgb, var(--color-crimson) 7%, transparent);
	/* Dark grounds, lit from the top-left as in Figma (BIB 1066:8226, MIM
	   1078:10802): an ellipse at (12%, 8%), 120% x 90% of the box, to navy by
	   58% (Domagoj, 2026-09-16; was centred at 50% 30%, from the export). */
	--bib-glow: radial-gradient(ellipse 120% 90% at 12% 8%, var(--color-navy-glow-hi) 0%, var(--color-navy) 58%);
	/* The same glow mirrored, lit from the top-right (Open Programs, Domagoj, 2026-09-25). */
	--bib-glow-right: radial-gradient(ellipse 120% 90% at 88% 8%, var(--color-navy-glow-hi) 0%, var(--color-navy) 58%);
	--bib-r-sm: var(--radius-field);    /* 8  */
	--bib-r: 0.875rem;                  /* 14 */
	--bib-r-lg: 1.375rem;               /* 22 */
	--bib-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--bib-sec: 7.5rem;                  /* 120 section padding */
	--bib-shadow-card: 0 1.875rem 5rem -1.875rem color-mix(in srgb, var(--color-navy-abyss) 90%, transparent);
}

/* ---------------------------------------------------------------------------
   Base
   ------------------------------------------------------------------------ */

.bib {
	font-family: var(--font-display);
	color: var(--bib-ink);
	background-color: var(--bib-paper);
	line-height: 1.6;
}

/* Resets are zero-specificity (hard rule 20): `.bib h1 { margin: 0 }` would
   out-rank `.bib-hero__title` and flatten every component's spacing. */
:where(.bib) :where(h1, h2, h3, h4) {
	font-family: var(--font-display);
	font-weight: var(--fw-regular);
	letter-spacing: -0.005em;
	color: inherit;
	margin: 0;
}

:where(.bib) :where(p, dl, dd, ul, ol, figure, blockquote) {
	margin: 0;
}

:where(.bib) :where(ul[class], ol[class]) {
	list-style: none;
	padding: 0;
}

/* Element weight (0,0,1), not zero: it must still beat base.css's `a` colour —
   at zero, links on navy grounds (the announcement) turned navy and vanished —
   while any component class keeps out-ranking it (2026-09-16). */
:where(.bib) a {
	color: inherit;
}

.bib :focus-visible,
.bib-modal :focus-visible,
.bib-mbar :focus-visible {
	outline: 2px solid var(--bib-magenta);
	outline-offset: 3px;
	border-radius: 4px;
}

.bib-sprite {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
}

.bib-i {
	flex: none;
}

/* ---------------------------------------------------------------------------
   Type
   ------------------------------------------------------------------------ */

.bib-eyebrow {
	display: flex;
	align-items: center;
	gap: var(--space-2);
	margin-block-end: 1.125rem;
	font-family: var(--font-display);
	font-size: var(--fs-ui-tag);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--bib-magenta);
}

/* No leading dot — it read as AI-generated (Domagoj, 2026-09-29). */

.bib-dark .bib-eyebrow,
.bib-hero .bib-eyebrow {
	color: var(--bib-magenta-on-dark);
}

.bib-h2 {
	font-size: clamp(2rem, 4vw, 2.875rem);   /* 32 → 46 */
	line-height: 1.14;
	color: var(--color-navy);
}

.bib-h3 {
	font-size: var(--fs-editorial-lg);
	line-height: 1.3;
}

.bib-lead {
	font-size: var(--fs-copy-17);
	line-height: 1.7;
	color: var(--bib-ink-2);
}

.bib-dark .bib-h2 { color: var(--color-white); }
.bib-dark .bib-lead { color: var(--bib-on-dark); }

/* The export's IBM Plex Mono labels, in Geist. */
.bib-mono {
	font-family: var(--font-body);
	font-size: 0.71875rem;              /* 11.5 */
	font-weight: var(--fw-medium);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.bib-small {
	font-size: var(--fs-ui-sm);
	line-height: 1.6;
	color: var(--bib-ink-2);
}

.bib-fine {
	font-family: var(--font-body);
	font-size: 0.78125rem;              /* 12.5 */
	line-height: 1.55;
	color: var(--bib-ink-3);
}

.bib-dark .bib-fine { color: var(--bib-on-dark-3); }

/* ---------------------------------------------------------------------------
   Buttons, links, chips
   ------------------------------------------------------------------------ */

.bib-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.625rem;
	height: 3rem;
	padding: 0 1.625rem;
	border: 1px solid transparent;
	border-radius: var(--radius-full);
	font-family: var(--font-body);
	font-size: var(--fs-ui);
	font-weight: var(--fw-medium);
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	background: none;
	color: inherit;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.bib-btn--primary {
	background-color: var(--bib-magenta);
	color: var(--color-white);
}

.bib-btn--primary:hover {
	background-color: var(--bib-magenta-dark);
	color: var(--color-white);
}

.bib-btn--outline {
	border-color: var(--bib-line-2);
	color: var(--color-navy);
}

.bib-btn--outline:hover {
	border-color: var(--color-navy);
	background-color: color-mix(in srgb, var(--color-navy) 4%, transparent);
}

.bib-btn--on-dark,
.bib-dark .bib-btn--outline {
	border-color: var(--bib-on-dark-3);
	color: var(--color-white);
}

.bib-btn--on-dark:hover,
.bib-dark .bib-btn--outline:hover {
	border-color: var(--color-white);
	background-color: color-mix(in srgb, var(--color-white) 8%, transparent);
	color: var(--color-white);
}

.bib-btn--navy {
	background-color: var(--color-navy);
	color: var(--color-white);
}

.bib-btn--navy:hover {
	background-color: var(--color-navy-mid);
	color: var(--color-white);
}

.bib-btn--white {
	background-color: var(--color-white);
	color: var(--color-navy);
}

.bib-btn--white:hover {
	background-color: var(--color-slate-200);
	color: var(--color-navy); /* an <a> would take the generic a:hover crimson */
}

.bib-btn--sm {
	height: 2.375rem;
	padding: 0 1.125rem;
	font-size: 0.84375rem;              /* 13.5 */
}

.bib-btn--block {
	width: 100%;
}

.bib-btn svg {
	width: 1.125rem;
	height: 1.125rem;
}

.bib-link {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	padding-block-end: 2px;
	border-block-end: 1px solid var(--bib-line-2);
	font-family: var(--font-body);
	font-size: 0.90625rem;              /* 14.5 */
	font-weight: var(--fw-medium);
	color: var(--color-navy);
	text-decoration: none;
	background: none;
	cursor: pointer;
	transition: border-color 0.2s, color 0.2s;
}

.bib-link:hover {
	border-color: var(--bib-magenta);
	color: var(--bib-magenta);
}

.bib-dark .bib-link {
	color: var(--color-white);
	border-color: color-mix(in srgb, var(--color-white) 40%, transparent);
}

.bib-dark .bib-link:hover {
	color: var(--bib-magenta-on-dark);
	border-color: var(--bib-magenta-on-dark);
}

/* "Get the full curriculum as PDF" — the brochure download under a
   curriculum. It was a hairline text link and got missed (Domagoj,
   2026-09-29), so on every page it is a solid navy pill with the download
   mark in its own disc; crimson on hover. */
.bib-dl-cta {
	display: inline-flex;
	align-items: center;
	gap: 0.625rem;
	padding: 0.375rem 1.25rem 0.375rem 0.375rem;
	border: 0;
	border-radius: var(--radius-full);
	background-color: var(--color-navy);
	font-family: var(--font-body);
	font-size: var(--fs-ui-sm);
	font-weight: var(--fw-semibold);
	line-height: 1.2;
	color: var(--color-white);
	cursor: pointer;
	transition: background-color 0.2s, transform 0.2s;
}

.bib-dl-cta svg {
	box-sizing: content-box;
	flex: none;
	padding: 0.5rem;
	border-radius: 50%;
	background-color: color-mix(in srgb, var(--color-white) 16%, transparent);
}

.bib-dl-cta:hover {
	background-color: var(--bib-magenta);
	color: var(--color-white);
	transform: translateY(-1px);
}

.bib-dl-cta:focus-visible {
	outline: 2px solid var(--bib-magenta);
	outline-offset: 3px;
}

.bib-dark .bib-dl-cta {
	background-color: var(--color-white);
	color: var(--color-navy);
}

.bib-dark .bib-dl-cta svg {
	background-color: color-mix(in srgb, var(--color-navy) 10%, transparent);
}

.bib-dark .bib-dl-cta:hover {
	background-color: var(--bib-magenta-on-dark);
	color: var(--color-white);
}

/* Round arrow button. */
.bib-circ {
	display: inline-grid;
	place-items: center;
	flex: none;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 50%;
	background-color: var(--color-navy);
	color: var(--color-white);
	transition: background-color 0.2s;
}

.bib-circ svg {
	width: 1.125rem;
	height: 1.125rem;
}

a:hover > .bib-circ,
button:hover > .bib-circ,
.bib-circ:hover {
	background-color: var(--bib-magenta);
}

.bib-chip {
	padding: 0.3125rem 0.75rem;
	border: 1px solid var(--bib-line-2);
	border-radius: var(--radius-full);
	background-color: var(--color-white);
	font-family: var(--font-body);
	font-size: 0.78125rem;
	color: var(--bib-ink-2);
}

/* "N days left" — plain magenta text, no tint (2026-09-29). Shown only inside
   the last 60 days (programme-state.js URGENT_DAYS). */
.bib-days {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	margin-inline-start: var(--space-2);
	padding: 0.1875rem 0.5625rem;
	border-radius: var(--radius-full);
	font-family: var(--font-body);
	font-size: var(--fs-ui-2xs);
	font-weight: var(--fw-medium);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	vertical-align: 3px;
	color: var(--bib-magenta);
}

/* An icon inside a round +/- disc: block, or its baseline gap pushes it low
   (Domagoj, 2026-09-17). */
.bib-req__pm .bib-i,
.bib-dl-table__pm .bib-i,
.bib-faq__pm .bib-i {
	display: block;
}

/* ---------------------------------------------------------------------------
   Sections
   ------------------------------------------------------------------------ */

.bib section {
	position: relative;
}

.bib-sec {
	padding-block: var(--bib-sec);
}

.bib-sec--white {
	background-color: var(--color-white);
}

.bib-sec--dark {
	background: var(--bib-glow);
	color: var(--color-white);
}

/* Two sections on the same ground meet without doubling the padding. */
.bib-sec--flush {
	padding-block-start: 0;
}

.bib-split-head {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4.5rem;
	align-items: end;
	margin-block-end: var(--space-16);
}

.bib-split-head .bib-lead {
	max-width: 32.5rem;
}

/* Anchored sections clear the sticky header and sub-nav. */
.bib [id] {
	scroll-margin-top: calc(var(--header-height) + 4rem);
}

/* ---------------------------------------------------------------------------
   Hero + planner
   ------------------------------------------------------------------------ */

.bib-hero {
	justify-content: flex-start;
	min-height: 0;
	padding-block: calc(var(--header-height) + var(--ticker-height) + 5.5rem) 6rem;
	background-color: var(--bib-abyss);
	text-align: start;
}

.bib-hero__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.bib-hero__bg picture,
.bib-hero__bg img {
	display: block;
	width: 100%;
	height: 100%;
}

.bib-hero__bg img {
	object-fit: cover;
	object-position: center 40%;
}

.bib-hero__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg,
			color-mix(in srgb, var(--color-navy-abyss) 94%, transparent) 0%,
			color-mix(in srgb, var(--color-navy-abyss) 82%, transparent) 42%,
			color-mix(in srgb, var(--color-navy) 55%, transparent) 72%,
			color-mix(in srgb, var(--color-navy) 40%, transparent) 100%),
		linear-gradient(0deg, color-mix(in srgb, var(--color-navy-abyss) 60%, transparent), transparent 40%);
}

.bib-hero__grid {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr);
	gap: var(--space-16);
	align-items: center;
}

.bib-hero__title {
	margin-block-end: 1.625rem;
	font-size: clamp(2.75rem, 5.6vw, 4.5rem);   /* 44 → 72 */
	line-height: 1.04;
	letter-spacing: -0.015em;
	color: var(--color-white);
}

.bib-hero__sub {
	max-width: 33.75rem;
	margin-block-end: 2.25rem;
	font-size: var(--fs-copy-19);       /* 19 at 1024+, 16 on a phone */
	line-height: 1.6;
	color: color-mix(in srgb, var(--color-white) 86%, transparent);
}

.bib-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.875rem;
	margin-block-end: var(--space-7);
}

.bib-hero__check {
	display: inline-flex;
	align-items: center;
	gap: var(--space-3);
	font-family: var(--font-body);
	font-size: 0.90625rem;
	color: color-mix(in srgb, var(--color-white) 86%, transparent);
	text-decoration: none;
}

.bib-hero__check b {
	padding-block-end: 1px;
	border-block-end: 1px solid color-mix(in srgb, var(--color-white) 45%, transparent);
	font-weight: var(--fw-medium);
	color: var(--color-white);
}

/* Only the bold part is a link, so the lead-in ("New here?", "Not sure you
   qualify?") does not light up on hover (Domagoj, 2026-09-17). */
.bib-hero__check-link {
	text-decoration: none;
}

.bib-hero__check-link:hover b,
.bib-hero__check-link:focus-visible b {
	border-color: var(--bib-magenta-on-dark);
	color: var(--bib-magenta-on-dark);
}

.bib-hero__dot {
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	background-color: var(--color-live);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-live) 18%, transparent);
	animation: bib-pulse 2.4s ease-in-out infinite;
}

@keyframes bib-pulse {
	50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--color-live) 8%, transparent); }
}

.bib-planner {
	padding: 1.625rem 1.625rem 1.375rem;
	border-radius: var(--bib-r-lg);
	background-color: var(--color-white);
	box-shadow: var(--bib-shadow-card);
	color: var(--color-navy);
}

.bib-planner__head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-block-end: 0.875rem;
}

.bib-planner__title {
	font-size: 1.3125rem;               /* 21 */
}

.bib-planner__head .bib-mono {
	color: var(--bib-ink-3);
}

/* Segmented intake switch with a sliding thumb. */
.bib-seg {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr;
	margin-block-end: 0.625rem;
	padding: 4px;
	border-radius: var(--radius-full);
	background-color: var(--bib-paper);
}

.bib-seg__opt {
	position: relative;
	z-index: 1;
	height: 2.5rem;
	border: 0;
	border-radius: var(--radius-full);
	background: none;
	font-family: var(--font-body);
	font-size: var(--fs-ui-sm);
	font-weight: var(--fw-medium);
	color: var(--bib-ink-2);
	cursor: pointer;
	transition: color 0.25s;
}

.bib-seg__opt[aria-checked="true"] {
	color: var(--color-white);
}

.bib-seg__thumb {
	position: absolute;
	inset-block: 4px;
	inset-inline-start: 4px;
	width: calc(50% - 4px);
	border-radius: var(--radius-full);
	background-color: var(--color-navy);
	transition: transform 0.35s var(--bib-ease);
}

.bib-seg[data-v="1"] .bib-seg__thumb {
	transform: translateX(100%);
}

/* Intakes are a list editors add to (inc/facts.php, 2026-10-17): one, three
   or four options share the track, the thumb one option wide. Counted with
   :has() so the markup needs no count class. */
.bib-seg:not(:has(> .bib-seg__opt:nth-of-type(2))) {
	grid-template-columns: 1fr;
}

.bib-seg:not(:has(> .bib-seg__opt:nth-of-type(2))) .bib-seg__thumb {
	width: calc(100% - 8px);
}

.bib-seg:has(> .bib-seg__opt:nth-of-type(3)) {
	grid-template-columns: repeat(3, 1fr);
}

.bib-seg:has(> .bib-seg__opt:nth-of-type(3)) .bib-seg__thumb {
	width: calc((100% - 8px) / 3);
}

.bib-seg:has(> .bib-seg__opt:nth-of-type(4)) {
	grid-template-columns: repeat(4, 1fr);
}

.bib-seg:has(> .bib-seg__opt:nth-of-type(4)) .bib-seg__thumb {
	width: calc((100% - 8px) / 4);
}

.bib-seg:has(> .bib-seg__opt:nth-of-type(3)) .bib-seg__opt {
	height: auto;
	min-height: 2.5rem;
	padding-inline: var(--space-1);
	font-size: var(--fs-ui-xs);
	line-height: 1.2;
}

.bib-seg[data-v="2"] .bib-seg__thumb {
	transform: translateX(200%);
}

.bib-seg[data-v="3"] .bib-seg__thumb {
	transform: translateX(300%);
}

.bib-prow {
	display: grid;
	grid-template-columns: 6.875rem 1fr;
	gap: 0.875rem;
	align-items: baseline;
	padding-block: 0.9375rem;
	border-block-end: 1px solid var(--bib-line);
}

.bib-prow:last-child {
	border-block-end: 0;
}

.bib-prow dt {
	font-family: var(--font-body);
	font-size: var(--fs-ui-tag);
	color: var(--bib-ink-3);
}

.bib-prow dd {
	font-size: 1.1875rem;
	line-height: 1.3;
}

.bib-prow small {
	display: block;
	margin-block-start: 3px;
	font-family: var(--font-body);
	font-size: 0.78125rem;
	color: var(--bib-ink-3);
}

.bib-prow small a {
	color: inherit;
}

.bib-planner__foot {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: var(--space-4);
	margin-block-start: 0.375rem;
	padding-block-start: var(--space-4);
	border-block-start: 1px solid var(--bib-line);
}

.bib-planner__foot p {
	font-family: var(--font-body);
	font-size: 0.78125rem;
	line-height: 1.5;
	color: var(--bib-ink-3);
}

/* ---------------------------------------------------------------------------
   Announcement line
   ------------------------------------------------------------------------ */

.bib-announce {
	background-color: var(--color-navy);
	color: var(--color-white);
}

.bib-announce__inner {
	display: flex;
	align-items: center;
	gap: var(--space-7);
	min-height: 4.25rem;
}

.bib-announce__label {
	flex: none;
	padding-inline-end: var(--space-7);
	border-inline-end: 1px solid color-mix(in srgb, var(--color-white) 35%, transparent);
	font-size: var(--fs-ui);
	letter-spacing: 0.04em;
}

.bib-announce__list {
	display: grid;
	flex: 1;
	gap: var(--space-2);
}

.bib-announce__item {
	display: flex;
	align-items: center;
	gap: var(--space-7);
}

.bib-announce__text {
	display: flex;
	align-items: center;
	gap: 0.875rem;
	font-size: 0.96875rem;              /* 15.5 */
}

.bib-announce__text::before {
	content: "";
	flex: none;
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	background-color: var(--bib-magenta);
}

.bib-announce__link {
	flex: none;
	margin-inline-start: auto;
	font-family: var(--font-body);
	font-size: var(--fs-ui-sm);
	font-weight: var(--fw-medium);
	text-underline-offset: 4px;
}

.bib-announce__link:hover {
	color: var(--bib-magenta-on-dark);
}

/* ---------------------------------------------------------------------------
   Facts
   ------------------------------------------------------------------------ */

.bib-facts {
	border-block-end: 1px solid var(--bib-line);
	background-color: var(--color-white);
}

.bib-facts__list {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
}

.bib-facts__item {
	padding: 1.625rem 1.375rem 1.5rem;
	border-inline-start: 1px solid var(--bib-line);
}

.bib-facts__item:first-child {
	padding-inline-start: 0;
	border-inline-start: 0;
}

.bib-facts__term {
	margin-block-end: var(--space-2);
	color: var(--bib-ink-3);
}

.bib-facts__value {
	font-size: 1.1875rem;
	line-height: 1.3;
}

/* ---------------------------------------------------------------------------
   Sticky sub-nav
   ------------------------------------------------------------------------ */

.bib-subnav-sentinel {
	height: 1px;
	margin-block-end: -1px;
}

/* The bar has no resting place in the page (Domagoj, 2026-09-22): it is fixed
   under the header and hidden until the sentinel — where it used to sit —
   scrolls past the header, then slides in already in its stuck look.
   programme-state.js toggles .is-stuck, and body.is-subnav-stuck, which turns
   the header's primary button into a ghost (header.css). The slide is short
   and fades, because the header is translucent: a bar parked fully behind it
   would read through the blur. */
.bib-subnav {
	position: fixed;
	inset-inline: 0;
	top: var(--header-height);
	z-index: var(--z-sticky);
	border-block-end: 1px solid var(--bib-line);
	background-color: var(--color-white);
	box-shadow: 0 0.625rem 1.875rem -1.25rem color-mix(in srgb, var(--color-navy) 35%, transparent);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-0.75rem);
	transition: opacity 0.3s var(--bib-ease), transform 0.3s var(--bib-ease), visibility 0s linear 0.3s;
}

.bib-subnav.is-stuck {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition: opacity 0.3s var(--bib-ease), transform 0.3s var(--bib-ease), visibility 0s;
}

@media (prefers-reduced-motion: reduce) {
	.bib-subnav,
	.bib-subnav.is-stuck { transform: none; }
}

.bib-subnav__inner {
	display: flex;
	align-items: center;
	gap: var(--space-5);
	height: 4rem;
}

.bib-subnav__prog {
	width: 0;
	overflow: hidden;
	padding-inline-end: 0;
	border-inline-end: 1px solid transparent;
	font-size: var(--fs-ui);
	white-space: nowrap;
	opacity: 0;
	transition: opacity 0.3s;
}

.bib-subnav.is-stuck .bib-subnav__prog {
	width: auto;
	padding-inline-end: var(--space-5);
	border-color: var(--bib-line);
	opacity: 1;
}

.bib-subnav__list {
	display: flex;
	flex: 1;
	gap: 1.625rem;
	overflow-x: auto;
	scrollbar-width: none;
}

.bib-subnav__list::-webkit-scrollbar {
	display: none;
}

.bib-subnav__link {
	display: block;
	padding-block: 1.25rem;
	border-block-end: 2px solid transparent;
	font-size: var(--fs-ui);
	color: var(--bib-ink-3);
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.2s, border-color 0.2s;
}

.bib-subnav__link:hover {
	color: var(--color-navy);
}

.bib-subnav__link.is-current {
	border-color: var(--bib-magenta);
	color: var(--color-navy);
}

.bib-subnav__cta {
	display: flex;
	flex: none;
	align-items: center;
	gap: 0.875rem;
}

.bib-subnav__cta .bib-days {
	margin: 0;
}

/* ---------------------------------------------------------------------------
   Toast + mobile bar
   ------------------------------------------------------------------------ */

.bib-toast {
	position: fixed;
	inset-inline-start: 50%;
	bottom: var(--space-7);
	z-index: calc(var(--z-modal) + 10);
	padding: var(--space-3) var(--space-5);
	border-radius: var(--radius-full);
	background-color: var(--color-navy);
	font-family: var(--font-body);
	font-size: var(--fs-ui-sm);
	color: var(--color-white);
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, 1.25rem);
	transition: opacity 0.3s var(--bib-ease), transform 0.3s var(--bib-ease);
}

.bib-toast.is-shown {
	opacity: 1;
	transform: translate(-50%, 0);
}

.bib-mbar {
	display: none;
}

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

/* The stuck programme name only fits beside all eight links on a wide screen;
   narrower, it pushed "Overview" out of the list. */
@media (max-width: 99.99em) {
	.bib-subnav__prog,
	.bib-subnav.is-stuck .bib-subnav__prog { display: none; }
}

@media (max-width: 79.99em) {
	.bib-subnav__cta .bib-days { display: none; }

	.bib-facts__list { grid-template-columns: repeat(3, 1fr); }
	.bib-facts__item:nth-child(4) { padding-inline-start: 0; border-inline-start: 0; }
	.bib-facts__item:nth-child(n + 4) { border-block-start: 1px solid var(--bib-line); }
}

@media (max-width: 63.99em) {
	:root { --bib-sec: 5.25rem; }

	.bib-hero {
		padding-block: calc(var(--header-height) + var(--ticker-height) + 3rem) 4rem;
	}

	.bib-hero__grid,
	.bib-split-head {
		grid-template-columns: minmax(0, 1fr);
	}

	.bib-hero__grid { gap: var(--space-10); }
	.bib-split-head { gap: var(--space-5); margin-block-end: 2.75rem; }

	.bib-announce__inner {
		flex-wrap: wrap;
		gap: 0.625rem;
		padding-block: var(--space-4);
	}

	.bib-announce__label { padding: 0; border: 0; }
	.bib-announce__list { flex-basis: 100%; }
	.bib-announce__item { flex-wrap: wrap; gap: 0.375rem var(--space-4); }
	.bib-announce__link { margin-inline-start: 0; }

	.bib-subnav__prog,
	.bib-subnav__cta .bib-btn { display: none; }

	.bib-mbar {
		position: fixed;
		inset-inline: 0;
		bottom: 0;
		z-index: calc(var(--z-sticky) + 1);
		display: grid;
		grid-template-columns: 1fr 1.3fr;
		gap: 0.625rem;
		padding: 0.625rem 0.875rem calc(0.625rem + env(safe-area-inset-bottom));
		border-block-start: 1px solid var(--bib-line);
		background-color: var(--color-white);
		transform: translateY(110%);
		transition: transform 0.35s var(--bib-ease);
	}

	.bib-mbar.is-shown { transform: none; }

	/* The site's back-to-top disc would sit on "Apply now"; lift it clear. */
	body:has(.bib-mbar.is-shown) .to-top { bottom: 5.25rem; }
	.bib-mbar .bib-btn { height: 2.875rem; }
}

@media (max-width: 47.99em) {
	.bib-hero__actions .bib-btn { flex: 1; }

	/* The key facts as the careers tiles (.bib-careers__stats,
	   programme-sections.css): white cards on the paper ground, the value
	   first with the magenta rule under it, the term as the caption
	   (Domagoj, 2026-09-28). The value is a phrase, not a number, so it
	   takes an editorial size rather than the stat's 48. */
	.bib-facts {
		padding-block: var(--space-6);
		border-block-end: 0;
		background-color: var(--bib-paper);
	}

	.bib-facts__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: var(--space-3);
	}

	.bib-facts__item,
	.bib-facts__item:first-child,
	.bib-facts__item:nth-child(4) {
		display: flex;
		flex-direction: column;
		gap: var(--space-3);
		padding: 1.25rem;
		border: 0;
		border-radius: var(--bib-r-lg);
		background-color: var(--color-white);
		box-shadow: var(--shadow-sm);
	}

	.bib-facts__value {
		order: -1;
		font-size: var(--fs-editorial-md);
		line-height: 1.2;
		color: var(--color-navy);
	}

	.bib-facts__value::after {
		content: "";
		display: block;
		width: 2rem;
		height: 2px;
		margin-block-start: var(--space-4);
		background-color: var(--bib-magenta);
	}

	.bib-facts__term {
		margin: 0;
		font-family: var(--font-body);
		font-size: var(--fs-ui-sm);
		font-weight: var(--fw-regular);
		letter-spacing: normal;
		text-transform: none;
		line-height: 1.5;
		color: var(--bib-ink-2);
	}

	.bib-planner__foot { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
	.bib *,
	.bib *::before,
	.bib *::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}
}

/* Phones: 84px above and below every section made these pages 21–28k px
   long at 390 (Domagoj, 2026-09-25). Kept after the tablet step above so it
   wins the cascade. */
@media (max-width: 47.99em) {
	:root { --bib-sec: 3.5rem; }         /* 56 */

	/* Announcement links go on a phone; the message stands on its own and
	   the page carries the same action lower down (Domagoj, 2026-09-27). */
	.bib-announce__link { display: none; }

	/* The bottom action bar's buttons: 32px, 14px type (Domagoj). */
	.bib-mbar .bib-btn {
		height: 2rem;
		font-size: var(--fs-ui-sm);          /* 14 */
	}

	/* base.css already lifts the disc to 4.5rem on phones, clear of the bar;
	   the 5.25rem lift above is for tablets. */
	body:has(.bib-mbar.is-shown) .to-top { bottom: 4.5rem; }

	/* Header and sub-nav stacked were 128px of a 844px screen; the bar drops
	   to 52. The links scroll sideways, so their edge fades out to say so. */
	.bib-subnav__inner { height: 3.25rem; }

	.bib-subnav__link { padding-block: 0.55rem; }      /* Domagoj, 2026-09-27 */

	.bib-subnav__list {
		-webkit-mask-image: linear-gradient(to right, var(--color-white) calc(100% - 2.5rem), transparent);
		mask-image: linear-gradient(to right, var(--color-white) calc(100% - 2.5rem), transparent);
	}

	/* A bar that also carries the audience switch (Career Center, Exec Ed,
	   FIM): the switch takes the whole first row and the section links get
	   the second. Side by side at 390 the switch left room for one and a half
	   links (Domagoj, 2026-09-27). programme-state.js measures the bar's real
	   height for jumps, so the taller bar needs nothing else. */
	.bib-subnav__inner:has(.cc-lens) {
		flex-wrap: wrap;
		height: auto;
		gap: 0;
		padding-block-start: var(--space-2);
	}

	.bib-subnav__inner:has(.cc-lens) .cc-lens,
	.bib-subnav__inner:has(.cc-lens) .bib-subnav__list {
		flex: 1 0 100%;
	}
}

/* While programme-state.js measures the hero card at every intake, nothing
   animates, so the switch and its thumb never visibly move. */
.is-measuring .bib *,
.is-measuring .bib *::before,
.is-measuring .bib *::after {
	transition: none !important;
}
