/* Bachelor of Science page — scoped to the WPBakery row carrying el_class "bsc". */

.bsc {
	--bsc-ink: #10231f;
	--bsc-muted: #55665f;
	--bsc-forest: #0f3b3a;
	--bsc-forest-2: #14504d;
	--bsc-teal: #19636b;
	--bsc-leaf: #c9e265;
	--bsc-sun: #f4b63f;
	--bsc-cream: #f5f2ea;
	--bsc-paper: #fbfaf6;
	--bsc-line: #dcd8cc;
	--bsc-white: #fff;
	--bsc-radius: 18px;
	--bsc-display: "Bai Jamjuree", system-ui, sans-serif;
	--bsc-body: "Inter", "Bai Jamjuree", system-ui, -apple-system, "Segoe UI", sans-serif;
	--bsc-nav-h: 60px;

	background: var(--bsc-cream);
	color: var(--bsc-ink);
	font-family: var(--bsc-body);
	font-size: 17px;
	line-height: 1.6;
	overflow-x: clip;
	margin: 0 !important;
	padding: 0 !important;
}

.bsc *,
.bsc *::before,
.bsc *::after { box-sizing: border-box; }

/* Neutralise WPBakery / Werkstatt spacing around our blocks. */
.bsc > .columns,
.bsc .vc_column_container > .vc_column-inner,
.bsc .wpb_wrapper { padding: 0 !important; margin: 0 !important; }
.bsc .wpb_content_element.bsc-block { margin: 0 !important; padding: 0; }

/* Element resets carry element-only specificity via :where() so component
   classes always win, while still loading after the theme stylesheet. */
:where(.bsc) h1, :where(.bsc) h2, :where(.bsc) h3, :where(.bsc) h4, :where(.bsc) p,
:where(.bsc) ul, :where(.bsc) ol, :where(.bsc) dl, :where(.bsc) dd, :where(.bsc) dt {
	margin: 0;
	padding: 0;
	letter-spacing: normal;
	text-transform: none;
	font-weight: inherit;
}
:where(.bsc) ul, :where(.bsc) ol { list-style: none; }
:where(.bsc) li { margin: 0; font-size: inherit; line-height: inherit; }
body :where(.bsc) a { font-size: inherit; line-height: inherit; }
:where(.bsc) a { color: inherit; text-decoration: none; }
:where(.bsc) p {
	color: inherit;
	font-size: inherit;
	/* The theme sets p { line-height: 1.15em !important }. */
	line-height: inherit !important;
}
/* The theme draws an animated underline on ".wpb_text_column a:after";
   none of the links in this design want it. */
.bsc .wpb_text_column a::after { content: none; }

/* wpautop may leave stray empty paragraphs / breaks between blocks. */
.bsc .bsc-block > .wpb_wrapper > p:empty,
.bsc .bsc-block > .wpb_wrapper > br { display: none; }

.bsc-wrap {
	width: 100%;
	max-width: 1200px;
	margin-inline: auto;
	padding-inline: clamp(16px, 4vw, 40px);
}

/* The theme forces h1–h5 { font-family: "Sis-Bold"; font-weight: 400 !important }. */
.bsc .bsc-h2 {
	font-family: var(--bsc-display);
	font-weight: 700 !important;
	font-size: clamp(28px, 3.6vw, 44px);
	line-height: 1.1 !important;
	color: var(--bsc-forest);
	letter-spacing: -0.01em;
}

.bsc-kicker {
	font-family: var(--bsc-display);
	font-weight: 600;
	font-size: 13px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--bsc-teal);
	margin-bottom: 14px;
}

.bsc-section { padding-block: clamp(64px, 9vw, 120px); }
.bsc-section__head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }

/* ---------- Buttons ---------- */

.bsc-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.bsc .bsc-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 24px;
	border-radius: 999px;
	font-family: var(--bsc-display);
	font-weight: 600;
	font-size: 16px;
	line-height: 1.2;
	border: 1.5px solid transparent;
	transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.bsc .bsc-btn:hover { transform: translateY(-2px); }
.bsc .bsc-btn:focus-visible,
.bsc a:focus-visible,
.bsc summary:focus-visible { outline: 3px solid var(--bsc-sun); outline-offset: 3px; }

.bsc .bsc-btn--primary { background: var(--bsc-leaf); color: var(--bsc-forest); }
.bsc .bsc-btn--primary:hover { background: #d8ee7d; color: var(--bsc-forest); }
.bsc .bsc-btn--ghost { border-color: rgba(255, 255, 255, .45); color: var(--bsc-white); }
.bsc .bsc-btn--ghost:hover { border-color: var(--bsc-white); background: rgba(255, 255, 255, .08); color: var(--bsc-white); }
.bsc .bsc-btn--light { background: var(--bsc-white); color: var(--bsc-forest); }
.bsc .bsc-btn--light:hover { background: var(--bsc-cream); color: var(--bsc-forest); }
.bsc-btn__arrow { transition: transform .2s; }
.bsc-btn:hover .bsc-btn__arrow { transform: translateX(4px); }

/* ---------- Hero ---------- */

.bsc-hero {
	position: relative;
	background:
		radial-gradient(900px 480px at 88% -10%, rgba(201, 226, 101, .22), transparent 60%),
		radial-gradient(700px 520px at -10% 110%, rgba(25, 99, 107, .55), transparent 60%),
		var(--bsc-forest);
	color: var(--bsc-white);
	padding-block: clamp(72px, 10vw, 136px) clamp(64px, 8vw, 104px);
	isolation: isolate;
}
/* Contour-line texture evoking the land. The rings ripple outward by
   animating the gradient's start offset over one ring period (24px), so the
   loop is seamless; browsers without @property just show static rings. */
@property --bsc-ring {
	syntax: "<length>";
	inherits: false;
	initial-value: 0px;
}
.bsc-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	opacity: .12;
	background-image: repeating-radial-gradient(
		circle at 78% 30%,
		transparent var(--bsc-ring),
		rgba(255, 255, 255, .6) calc(var(--bsc-ring) + 1px),
		transparent calc(var(--bsc-ring) + 2px),
		transparent calc(var(--bsc-ring) + 24px)
	);
	mask-image: linear-gradient(to left, #000 10%, transparent 75%);
	-webkit-mask-image: linear-gradient(to left, #000 10%, transparent 75%);
	animation: bsc-ripple 4s linear infinite;
}
/* Paused by the script while the hero is off screen. */
.bsc-hero.is-offscreen::before { animation-play-state: paused; }

@keyframes bsc-ripple {
	to { --bsc-ring: 24px; }
}

.bsc-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
	gap: clamp(32px, 5vw, 72px);
	align-items: end;
}


.bsc .bsc-hero__title {
	font-family: var(--bsc-display);
	font-weight: 700 !important;
	font-size: clamp(36px, 5.4vw, 68px);
	line-height: 1.04 !important;
	letter-spacing: -0.02em;
	color: var(--bsc-white);
}
.bsc-hero__title em {
	font-style: normal;
	color: var(--bsc-leaf);
}

.bsc-hero .bsc-actions { margin-top: 40px; }

.bsc-hero__card {
	background: rgba(255, 255, 255, .06);
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: var(--bsc-radius);
	padding: 28px;
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}
.bsc-facts {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1px;
	background: rgba(255, 255, 255, .14);
	border-radius: 12px;
	overflow: hidden;
}
.bsc-fact {
	background: var(--bsc-forest);
	padding: 22px 24px;
}
.bsc .bsc-fact__label {
	font-size: 14px;
	line-height: 1.4;
	color: rgba(255, 255, 255, .65);
	margin-bottom: 6px;
}
.bsc .bsc-fact__value {
	font-family: var(--bsc-display);
	font-weight: 700;
	font-size: 44px;
	line-height: 1;
	color: var(--bsc-white);
	display: flex;
	align-items: baseline;
	gap: 6px;
}
.bsc-fact__value small {
	font-family: var(--bsc-body);
	font-weight: 400;
	font-size: 13px;
	color: rgba(255, 255, 255, .6);
}

/* ---------- Sub navigation ---------- */

/* The theme sets #wrapper [role="main"] { overflow: hidden }, which turns it into
   a scroll container and stops position: sticky from working. "clip" still
   clips overflow but creates no scroll container. This stylesheet only loads
   on this page, so other pages keep the theme's value. */
#wrapper [role="main"] { overflow: hidden; overflow: clip; }

/* Sticky on the WPBakery wrapper: its parent is the column holding every block. */
.bsc .bsc-block--nav {
	position: sticky;
	top: 0;
	z-index: 20;
}
.admin-bar .bsc .bsc-block--nav { top: 32px; }
@media (max-width: 782px) { .admin-bar .bsc .bsc-block--nav { top: 0; } }

.bsc-subnav {
	background: rgba(251, 250, 246, .92);
	backdrop-filter: saturate(1.4) blur(10px);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid var(--bsc-line);
}
.bsc-subnav__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: var(--bsc-nav-h);
}
.bsc-subnav__list {
	position: relative;
	display: flex;
	gap: 4px;
	overflow-x: auto;
	scrollbar-width: none;
	margin-inline: -8px !important;
}
.bsc-subnav__list::-webkit-scrollbar { display: none; }
.bsc .bsc-subnav__list a {
	display: block;
	white-space: nowrap;
	padding: 8px 12px;
	border-radius: 999px;
	font-family: var(--bsc-display);
	font-weight: 600;
	font-size: 15px;
	color: var(--bsc-muted);
	transition: color .2s, background-color .2s;
}
.bsc .bsc-subnav__list a:hover { color: var(--bsc-forest); background: rgba(15, 59, 58, .06); }
.bsc .bsc-subnav__list a.is-active {
	background: var(--bsc-forest);
	color: var(--bsc-white);
}

/* Sliding pill: once the script runs, the active background is a single
   pseudo-element that glides between links (position/size set via --pill-*). */
.bsc-subnav__list li { position: relative; z-index: 1; }
.bsc-subnav__list.has-pill::before {
	content: "";
	position: absolute;
	top: var(--pill-y, 0);
	left: 0;
	width: var(--pill-w, 0);
	height: var(--pill-h, 0);
	border-radius: 999px;
	background: var(--bsc-forest);
	transform: translateX(var(--pill-x, 0));
	opacity: 0;
	transition: transform .45s cubic-bezier(.3, .8, .25, 1), width .45s cubic-bezier(.3, .8, .25, 1), opacity .25s ease;
}
.bsc-subnav__list.has-pill.pill-on::before { opacity: 1; }
.bsc-subnav__list.pill-instant::before { transition: opacity .25s ease; }
.bsc .bsc-subnav__list.has-pill a.is-active { background: transparent; transition: color .3s ease .08s; }
.bsc .bsc-subnav__end { flex-shrink: 0; }
.bsc .bsc-subnav__cta {
	display: inline-block;
	padding: 8px 18px;
	border-radius: 999px;
	background: var(--bsc-leaf);
	color: var(--bsc-forest);
	font-family: var(--bsc-display);
	font-weight: 700;
	font-size: 15px;
}
.bsc .bsc-subnav__cta:hover { background: #d8ee7d; color: var(--bsc-forest); }

.bsc section[id] { scroll-margin-top: calc(var(--bsc-nav-h) + 16px); }

/* ---------- Philosophy ---------- */

.bsc-philosophy { background: var(--bsc-paper); }
.bsc-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr);
	gap: clamp(32px, 6vw, 96px);
}
.bsc-split__head { position: sticky; top: calc(var(--bsc-nav-h) + 32px); align-self: start; }

.bsc .bsc-quote {
	font-family: var(--bsc-display);
	font-weight: 500;
	font-size: clamp(22px, 2.4vw, 30px);
	line-height: 1.35 !important;
	color: var(--bsc-forest);
	padding-left: 24px !important;
	border-left: 4px solid var(--bsc-leaf);
}


/* ---------- Objectives ---------- */

#wrapper .bsc .bsc-cards {
	counter-reset: bsc-card;
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 20px;
}
/* "#wrapper .bsc" beats the theme's "#wrapper ol li" / "#wrapper ol li:before" list styling. */
#wrapper .bsc .bsc-card {
	counter-increment: bsc-card;
	margin: 0;
	grid-column: span 2;
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 28px 28px 32px;
	border-radius: var(--bsc-radius);
	background: var(--bsc-white);
	border: 1px solid var(--bsc-line);
	transition: transform .25s, box-shadow .25s, border-color .25s;
}
/* 3 + 2 layout: the last two cards share the second row. */
#wrapper .bsc .bsc-card:nth-child(n + 4) { grid-column: span 3; }
#wrapper .bsc .bsc-card::before {
	content: counter(bsc-card, decimal-leading-zero);
	counter-increment: none;
	border: 0;
	line-height: 1;
	text-align: center;
	font-family: var(--bsc-display);
	font-weight: 700;
	font-size: 15px;
	color: var(--bsc-teal);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(201, 226, 101, .35);
	margin-bottom: 8px;
}
.bsc-card:hover {
	transform: translateY(-4px);
	border-color: transparent;
	box-shadow: 0 18px 40px -18px rgba(15, 59, 58, .35);
}
.bsc .bsc-card__title {
	font-family: var(--bsc-display);
	font-weight: 700 !important;
	font-size: 21px;
	line-height: 1.2 !important;
	color: var(--bsc-forest);
}
#wrapper .bsc .bsc-card { color: var(--bsc-ink); font-size: 17px; }
.bsc-card p { color: inherit; font-size: inherit; }

/* ---------- Degree ---------- */

.bsc-degree { background: var(--bsc-paper); }
.bsc-degree__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}
.bsc-degree__card {
	padding: clamp(24px, 3vw, 36px);
	border-radius: var(--bsc-radius);
	background: var(--bsc-white);
	border: 1px solid var(--bsc-line);
}
.bsc-degree__card--th { background: var(--bsc-forest); color: var(--bsc-white); border-color: var(--bsc-forest); }
.bsc-degree__card dt {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--bsc-muted);
	margin-bottom: 6px;
}
.bsc-degree__card--th dt { color: rgba(255, 255, 255, .6); }
.bsc-degree__card dd {
	font-family: var(--bsc-display);
	font-weight: 600;
	font-size: clamp(19px, 1.8vw, 23px);
	line-height: 1.35;
	color: var(--bsc-forest);
}
.bsc-degree__card--th dd { color: var(--bsc-white); }
.bsc-degree__card dd + dt {
	margin-top: 22px;
	padding-top: 22px;
	border-top: 1px solid var(--bsc-line);
}
.bsc-degree__card--th dd + dt { border-top-color: rgba(255, 255, 255, .16); }
.bsc .bsc-degree__abbr { font-size: 17px; font-weight: 500; }

/* ---------- Course structure ---------- */

.bsc-structure__head {
	max-width: none;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
}
.bsc .bsc-total { text-align: right; }
.bsc .bsc-total__value {
	display: flex;
	align-items: baseline;
	justify-content: flex-end;
	gap: 10px;
	margin-top: 6px !important;
}
.bsc-total__value small { font-size: 15px; color: var(--bsc-muted); }
.bsc-total__num {
	font-family: var(--bsc-display);
	font-weight: 700;
	font-size: clamp(56px, 7vw, 88px);
	line-height: .9;
	color: var(--bsc-forest);
	font-variant-numeric: tabular-nums;
}
.bsc-total__label { font-size: 15px; line-height: 1.35; color: var(--bsc-muted); transition: color .25s ease; }

/* While a group is highlighted the total shows that group's credits,
   tinted with the group's colour. */
.bsc-total__num { transition: color .25s ease; }
.bsc-total-partial .bsc-total__label { color: var(--bsc-forest); font-weight: 600; }
.bsc-structure[data-bsc-active="ge"] .bsc-total__num { color: var(--bsc-teal); }
.bsc-structure[data-bsc-active="fe"] .bsc-total__num { color: #c98a0e; }

.bsc .bsc-structure__sub {
	font-family: var(--bsc-display);
	font-weight: 700;
	font-size: 20px;
	color: var(--bsc-forest);
	margin-bottom: 16px !important;
}

.bsc-meter {
	display: flex;
	gap: 4px;
	height: 56px;
	margin-bottom: 32px;
}
/* ".bsc" prefix: beats the theme's ".wpb_text_column a { display: inline-block }". */
.bsc .bsc-meter__seg {
	position: relative;
	flex: 1 1 0;
	min-width: 40px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	padding-inline: 14px;
	font-family: var(--bsc-display);
	font-size: 17px;
	transform-origin: left;
	cursor: pointer;
	transition: transform .9s cubic-bezier(.2, .7, .2, 1), translate .25s ease, box-shadow .25s ease, filter .25s ease;
}
.bsc-meter__seg b { font-weight: 700; }
.bsc .bsc-meter__seg--ge,
.bsc .bsc-meter__seg--sr { color: var(--bsc-white); }
.bsc .bsc-meter__seg--fe { color: var(--bsc-forest); }
.bsc .bsc-meter__seg:last-child { justify-content: center; padding-inline: 0; }
.bsc .bsc-meter__seg--ge { flex-grow: 30; background: var(--bsc-teal); color: var(--bsc-white); }
.bsc .bsc-meter__seg--sr { flex-grow: 84; background: var(--bsc-forest); color: var(--bsc-white); }
.bsc .bsc-meter__seg--fe { flex-grow: 6; background: var(--bsc-sun); color: var(--bsc-forest); }

/* Group name shown above a segment while it (or its group) is highlighted. */
.bsc .wpb_text_column .bsc-meter__seg::after {
	content: attr(data-bsc-label);
	display: block;
	position: absolute;
	top: auto;
	left: 50%;
	bottom: calc(100% + 10px);
	width: auto;
	border: 0;
	transform: none;
	translate: -50% 4px;
	padding: 6px 12px;
	border-radius: 8px;
	background: var(--bsc-ink);
	color: var(--bsc-white);
	font-family: var(--bsc-display);
	font-weight: 600;
	font-size: 13px;
	line-height: 1.2;
	white-space: nowrap;
	pointer-events: none;
	opacity: 0;
	z-index: 3;
	transition: opacity .2s ease, translate .2s ease;
}
/* End segments anchor their tooltip to the outer edge so it never leaves the page. */
.bsc .wpb_text_column .bsc-meter__seg:first-child::after { left: 0; translate: 0 4px; }
.bsc .wpb_text_column .bsc-meter__seg:last-child::after { left: auto; right: 0; translate: 0 4px; }

/* ---- Meter ↔ group sync: highlight one pair, fade the rest ---- */
.bsc-sync-on .bsc-meter__seg { filter: saturate(.35) opacity(.4); }
.bsc-sync-on .bsc-meter__seg.is-hl {
	filter: none;
	translate: 0 -4px;
	box-shadow: 0 12px 24px -10px rgba(15, 59, 58, .55);
}
.bsc .wpb_text_column .bsc-meter__seg.is-hl::after { opacity: 1; translate: -50% 0; }
.bsc .wpb_text_column .bsc-meter__seg:first-child.is-hl::after,
.bsc .wpb_text_column .bsc-meter__seg:last-child.is-hl::after { translate: 0 0; }

.bsc-group {
	transition: translate .25s ease, box-shadow .25s ease, border-color .25s ease, filter .25s ease;
}
.bsc-sync-on .bsc-group { filter: saturate(.4) opacity(.55); }
.bsc-sync-on .bsc-group.is-hl {
	filter: none;
	translate: 0 -2px;
	border-color: var(--accent);
	box-shadow: 0 0 0 2px var(--accent), 0 18px 40px -20px rgba(15, 59, 58, .45);
}
.bsc-group.is-flash { animation: bsc-flash 1.2s ease; }
@keyframes bsc-flash {
	0%, 100% { box-shadow: 0 0 0 0 transparent; }
	25% { box-shadow: 0 0 0 4px var(--accent); }
}

.bsc-groups { display: grid; gap: 16px; }

.bsc-group {
	--accent: var(--bsc-teal);
	border-radius: var(--bsc-radius);
	background: var(--bsc-white);
	border: 1px solid var(--bsc-line);
	overflow: hidden;
}
.bsc-group--sr { --accent: var(--bsc-forest); }
.bsc-group--fe { --accent: var(--bsc-sun); }

.bsc-group__summary {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 22px 24px;
	cursor: pointer;
	list-style: none;
}
.bsc-group__summary::-webkit-details-marker { display: none; }
.bsc-group__summary::after {
	content: "";
	width: 10px;
	height: 10px;
	border-right: 2px solid var(--bsc-muted);
	border-bottom: 2px solid var(--bsc-muted);
	transform: rotate(45deg) translate(-3px, -3px);
	transition: transform .25s;
}
.bsc-group__summary--static { cursor: default; }
.bsc-group__summary--static::after { visibility: hidden; }
.bsc-group[open] > .bsc-group__summary::after { transform: rotate(225deg) translate(-3px, -3px); }

.bsc-group__no {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: var(--bsc-display);
	font-weight: 700;
	background: var(--accent);
	color: var(--bsc-white);
}
.bsc-group--fe .bsc-group__no { color: var(--bsc-forest); }
.bsc-group__name {
	flex: 1;
	font-family: var(--bsc-display);
	font-weight: 700;
	font-size: clamp(18px, 1.8vw, 22px);
	color: var(--bsc-forest);
}
.bsc-group__credits {
	font-family: var(--bsc-display);
	font-weight: 700;
	font-size: 18px;
	color: var(--bsc-forest);
	white-space: nowrap;
	text-align: right;
}
.bsc-group__credits small {
	display: block;
	font-family: var(--bsc-body);
	font-weight: 400;
	font-size: 12px;
	color: var(--bsc-muted);
	text-transform: uppercase;
	letter-spacing: .06em;
}

.bsc-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 12px;
	padding: 0 24px 24px !important;
}
.bsc-item {
	position: relative;
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	padding: 14px 16px 18px;
	border-radius: 12px;
	background: var(--bsc-cream);
	font-size: 15px;
	overflow: hidden;
}
/* Share of the group's credits, drawn as a bar along the bottom edge.
   --share is set by the script from data-bsc-credits. */
.bsc-item::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	height: 4px;
	width: var(--share, 0%);
	background: var(--accent);
	border-radius: 0 4px 4px 0;
	transform-origin: left;
	transition: transform 1s cubic-bezier(.2, .7, .2, 1) .15s;
}
.bsc-item__name { font-weight: 500; color: var(--bsc-ink); }
.bsc-item__credits {
	flex-shrink: 0;
	font-family: var(--bsc-display);
	font-weight: 700;
	font-size: 18px;
	color: var(--bsc-forest);
}
.bsc-item__credits small {
	font-family: var(--bsc-body);
	font-weight: 400;
	font-size: 12px;
	color: var(--bsc-muted);
}

/* ---------- Call to action ---------- */

.bsc-cta { padding-block: 0 clamp(64px, 9vw, 120px); }
.bsc-cta__inner { display: flex; justify-content: center; }
.bsc .bsc-btn--lg { min-height: 60px; padding: 0 44px; font-size: 18px; letter-spacing: .06em; }

/* ---------- Motion (enabled only once JS has run) ---------- */

.bsc-js [data-bsc-reveal] {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
	transition-delay: var(--bsc-delay, 0s);
}
.bsc-js [data-bsc-reveal].is-in { opacity: 1; transform: none; }
.bsc-js .bsc-group[data-bsc-reveal] {
	transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1), translate .25s ease, box-shadow .25s ease, border-color .25s ease, filter .25s ease;
}
/* Cards keep their hover lift after revealing. */
.bsc-js .bsc-card.is-in:hover { transform: translateY(-4px); }

.bsc-js .bsc-meter:not(.is-in) .bsc-meter__seg { transform: scaleX(0); }
.bsc-js .bsc-meter .bsc-meter__seg:nth-child(2) { transition-delay: .12s, 0s, 0s, 0s; }
.bsc-js .bsc-meter .bsc-meter__seg:nth-child(3) { transition-delay: .24s, 0s, 0s, 0s; }
.bsc-js .bsc-group:not(.is-in) .bsc-item::after { transform: scaleX(0); }

@media (prefers-reduced-motion: reduce) {
	.bsc *,
	.bsc *::before,
	.bsc *::after { transition: none !important; animation: none !important; }
	.bsc-js [data-bsc-reveal] { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
	.bsc-hero__grid,
	.bsc-split { grid-template-columns: 1fr; }
	.bsc-split__head { position: static; }
	#wrapper .bsc .bsc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	#wrapper .bsc .bsc-card,
	#wrapper .bsc .bsc-card:nth-child(n + 4) { grid-column: span 1; }
	#wrapper .bsc .bsc-card:last-child { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
	.bsc { font-size: 16px; }
	.bsc-degree__grid,
	#wrapper .bsc .bsc-cards { grid-template-columns: 1fr; }
	#wrapper .bsc .bsc-card:last-child { grid-column: auto; }
	.bsc-actions .bsc-btn { width: 100%; justify-content: center; }
	.bsc-meter { height: 44px; }
	.bsc .bsc-meter__seg { padding-inline: 10px; font-size: 15px; }
	.bsc .bsc-meter__seg:last-child { padding-inline: 0; }
	.bsc-group__summary { flex-wrap: wrap; padding: 18px; gap: 4px 12px; }
	.bsc-group__summary::after { order: 2; }
	.bsc-group__credits { order: 3; flex-basis: 100%; text-align: left; }
	.bsc-list { padding: 0 18px 18px !important; }
	.bsc-list { grid-template-columns: 1fr; }
	.bsc-subnav__end { display: none; }
	/* Fade the edges so the horizontally scrolling list reads as scrollable. */
	.bsc-subnav__list {
		-webkit-mask-image: linear-gradient(to right, transparent, #000 16px, #000 calc(100% - 24px), transparent);
		mask-image: linear-gradient(to right, transparent, #000 16px, #000 calc(100% - 24px), transparent);
		padding-inline: 8px !important;
	}
	.bsc .bsc-total { text-align: left; }
	.bsc .bsc-total__value { justify-content: flex-start; }
}
