/* Šanca pre Biel – kampaňový vzhľad (farby a efekty podľa letáka). */


:root {
	--sb-navy-950: #050e24;
	--sb-navy-900: #081630;
	--sb-navy: #0b1d3d;
	--sb-navy-700: #13295a;
	--sb-blue: #4a90dc;
	--sb-blue-soft: #7fb4ea;
	--sb-blue-deep: #2a64ad;
	--sb-ink: #0d1b33;
	--sb-text: #45526a;
	--sb-paper: #f2f6fb;
	--sb-line: rgba(13, 27, 51, .1);
	--sb-display: Generalsans, sans-serif;
	--sb-body: Generalsans, sans-serif;
	--sb-shell: 1240px;
	--sb-header-h: 76px;
	--sb-stripe: linear-gradient(90deg,
		#5ba4d6 0 12.5%, #e5332a 12.5% 25%, #009846 25% 37.5%, #ffe500 37.5% 50%,
		#f39129 50% 62.5%, #4169a6 62.5% 75%, #b32e34 75% 87.5%, #8fbf3c 87.5% 100%);

	--color--heading: var(--sb-ink);
	--color--body: var(--sb-text);
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: var(--sb-header-h);
}

body {
	background: #fff;
	color: var(--sb-text);
	font-family: var(--sb-body);
	font-size: 17px;
	line-height: 1.6;
}

h1, h2, h3, h4 {
	font-family: var(--sb-display);
	color: var(--sb-ink);
}

.sb-shell {
	width: min(var(--sb-shell), 100% - 48px);
	margin-inline: auto;
}

.sb-accent { color: var(--sb-blue); }

.sb-stripe {
	display: block;
	height: 6px;
	background: var(--sb-stripe);
}

.sb-rule {
	display: block;
	width: 56px;
	height: 3px;
	margin: 26px 0 22px;
	background: var(--sb-blue);
}

/* Buttons & links */
.sb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 52px;
	padding: 0 28px;
	border: 1px solid var(--sb-blue);
	border-radius: 999px;
	background: var(--sb-blue);
	color: #fff;
	font-family: var(--sb-display);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.sb-btn:hover {
	border-color: #fff;
	background: #fff;
	color: var(--sb-navy);
	transform: translateY(-1px);
}

.sb-btn--ghost {
	border-color: rgba(255, 255, 255, .35);
	background: transparent;
}

.sb-btn--small {
	white-space: nowrap;
	min-height: 40px;
	padding: 0 18px;
	font-size: 13px;
}

.sb-btn:focus-visible,
.sb-link:focus-visible,
.sb-header a:focus-visible {
	outline: 2px solid var(--sb-blue-soft);
	outline-offset: 3px;
}

.sb-link {
	display: inline-flex;
	gap: 8px;
	color: var(--sb-blue-deep);
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid currentColor;
}

.sb-link span { transition: transform .2s ease; }
.sb-link:hover span { transform: translateX(4px); }

.sb-eyebrow,
.sb-kicker {
	margin: 0 0 18px;
	font-family: var(--sb-display);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
}

.sb-eyebrow { color: var(--sb-blue-soft); }

.sb-kicker {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--sb-blue-deep);
}

.sb-kicker::before {
	content: "";
	width: 28px;
	height: 3px;
	background: var(--sb-blue);
}

.sb-kicker--light { color: var(--sb-blue-soft); }

/* Header */
.sb-header {
	position: fixed;
	z-index: 1000;
	inset: 0 0 auto;
	height: var(--sb-header-h);
	background: rgba(8, 22, 48, .72);
	border-bottom: 1px solid rgba(255, 255, 255, .08);
	backdrop-filter: blur(14px) saturate(140%);
	-webkit-backdrop-filter: blur(14px) saturate(140%);
	transition: background-color .25s ease;
}

.sb-header.is-scrolled { background: rgba(8, 22, 48, .94); }

.sb-header__inner {
	display: flex;
	align-items: center;
	gap: 32px;
	height: 100%;
}

.sb-header__brand {
	display: block;
	flex: 0 0 auto;
	width: clamp(190px, 22vw, 290px);
}

.sb-header__brand img {
	display: block;
	width: 100%;
	height: auto;
}

.sb-header__nav {
	display: flex;
	gap: 30px;
	margin-left: auto;
}

.sb-header__nav a {
	position: relative;
	color: rgba(255, 255, 255, .82);
	font-family: var(--sb-display);
	font-size: 14px;
	font-weight: 500;
	letter-spacing: .06em;
	text-transform: uppercase;
	text-decoration: none;
	transition: color .2s ease;
}

.sb-header__nav a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -6px;
	height: 2px;
	background: var(--sb-blue);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .25s ease;
}

.sb-header__nav a:hover { color: #fff; }
.sb-header__nav a:hover::after { transform: scaleX(1); }

.sb-header__actions {
	display: flex;
	align-items: center;
	gap: 14px;
}

.sb-header__social {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border: 1px solid rgba(255, 255, 255, .25);
	border-radius: 50%;
	color: #fff;
}

/* Hero */
.sb-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	min-height: min(100svh, 900px);
	padding-top: var(--sb-header-h);
	background:
		radial-gradient(120% 90% at 78% 30%, #173a78 0%, rgba(23, 58, 120, 0) 55%),
		linear-gradient(180deg, var(--sb-navy) 0%, var(--sb-navy-900) 100%);
	--color--body: rgba(255, 255, 255, .82);
	color: var(--color--body);
}

.sb-hero__glow {
	position: absolute;
	z-index: -1;
	right: 4%;
	bottom: -18%;
	width: min(820px, 70vw);
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(74, 144, 220, .5) 0%, rgba(74, 144, 220, .14) 40%, rgba(74, 144, 220, 0) 70%);
	filter: blur(10px);
	animation: sb-breathe 9s ease-in-out infinite alternate;
}

.sb-hero__grid {
	position: absolute;
	z-index: -1;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
	background-size: 64px 64px;
	mask-image: radial-gradient(90% 80% at 70% 40%, #000 20%, transparent 75%);
	-webkit-mask-image: radial-gradient(90% 80% at 70% 40%, #000 20%, transparent 75%);
}

.sb-hero__inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
	align-items: center;
	min-height: calc(min(100svh, 900px) - var(--sb-header-h) - 68px);
}

.sb-hero__content {
	position: relative;
	z-index: 2;
	padding: 56px 0 72px;
}

.sb-hero__title {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding-top: .08em;
	color: #fff;
	font-size: clamp(56px, 7.4vw, 108px);
	font-weight: 600;
	line-height: .92;
	letter-spacing: -.045em;
	text-transform: uppercase;
	text-shadow: 0 14px 40px rgba(3, 10, 28, .35);
}

.sb-hero__title .sb-accent {
	display: block;
	padding-bottom: .06em;
	background: linear-gradient(100deg, #b9dcfb 0%, #7fb4ea 38%, var(--sb-blue) 72%, #3b7fcf 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	text-shadow: none;
	filter: drop-shadow(0 10px 30px rgba(74, 144, 220, .28));
}

.sb-hero__tagline {
	margin: 0 0 14px;
	color: #fff;
	font-family: var(--sb-display);
	font-size: clamp(20px, 1.9vw, 26px);
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -.02em;
}

.sb-hero__text {
	max-width: 470px;
	color: var(--color--body);
	margin: 0 0 34px;
	font-size: 18px;
	line-height: 1.6;
}

.sb-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.sb-hero__people {
	position: relative;
	align-self: stretch;
	min-height: 560px;
	margin-right: -40px;
}

.sb-hero__person {
	position: absolute;
	bottom: 0;
	display: block;
}

.sb-hero__person img {
	display: block;
	width: 100%;
	height: auto;
}

.sb-hero__person--center {
	z-index: 3;
	left: 50%;
	width: 54%;
	transform: translateX(-50%);
	filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .45));
}

.sb-hero__person--left,
.sb-hero__person--right {
	z-index: 2;
	width: 48%;
	filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .4)) brightness(.9);
}

.sb-hero__person--left { left: -4%; bottom: -6%; }
.sb-hero__person--right { right: -5%; bottom: -8%; width: 53%; }

.sb-hero__people::after {
	content: "";
	position: absolute;
	z-index: 4;
	inset: auto -10% -1px;
	height: 26%;
	background: linear-gradient(180deg, rgba(8, 22, 48, 0) 0%, var(--sb-navy-900) 92%);
	pointer-events: none;
}

.sb-hero__bottom {
	position: relative;
	z-index: 5;
	background: var(--sb-navy-900);
}

.sb-hero__bottom-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	height: 60px;
}

.sb-hero__hashtag {
	color: #fff;
	font-family: var(--sb-display);
	font-size: 18px;
	font-weight: 600;
	letter-spacing: -.01em;
}

.sb-hero__scroll {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: rgba(255, 255, 255, .7);
	font-family: var(--sb-display);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	text-decoration: none;
	transition: color .2s ease;
}

.sb-hero__scroll span { transition: transform .2s ease; }
.sb-hero__scroll:hover { color: #fff; }
.sb-hero__scroll:hover span { transform: translateY(3px); }

/* Full-width party stripe closing the hero, with a soft coloured glow above it. */
.sb-hero__stripe {
	position: relative;
	height: 8px;
}

.sb-hero__stripe::before {
	content: "";
	position: absolute;
	inset: -14px 0 0;
	background: inherit;
	filter: blur(16px);
	opacity: .45;
	pointer-events: none;
}

/* Hero entrance */
.sb-hero__content > * { animation: sb-rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.sb-hero__content > :nth-child(2) { animation-delay: .08s; }
.sb-hero__content > :nth-child(3) { animation-delay: .16s; }
.sb-hero__content > :nth-child(4) { animation-delay: .22s; }
.sb-hero__content > :nth-child(5) { animation-delay: .28s; }
.sb-hero__content > :nth-child(6) { animation-delay: .34s; }
.sb-hero__person { animation: sb-person 1.1s cubic-bezier(.2, .7, .2, 1) both; }
.sb-hero__person--center { animation-name: sb-person-center; animation-delay: .15s; }
.sb-hero__person--left { animation-delay: .3s; }
.sb-hero__person--right { animation-delay: .4s; }

@keyframes sb-rise { from { opacity: 0; transform: translateY(24px); } }
@keyframes sb-person { from { opacity: 0; translate: 0 60px; } }
@keyframes sb-person-center { from { opacity: 0; translate: 0 60px; } }
@keyframes sb-breathe { to { transform: scale(1.12); opacity: .75; } }

/* Sections */
.sb-section { padding: clamp(72px, 9vw, 120px) 0; }

.sb-section h2 {
	margin: 0;
	font-size: clamp(34px, 4.4vw, 56px);
	font-weight: 600;
	line-height: 1.06;
	letter-spacing: -.035em;
}

.sb-section__head {
	max-width: 900px;
	margin-bottom: clamp(40px, 5vw, 64px);
}

/* Letter */
.sb-letter { background: #fff; }

.sb-letter__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	gap: clamp(40px, 6vw, 88px);
	align-items: center;
}

.sb-letter__photo {
	position: relative;
	margin: 0;
	overflow: visible;
	border-radius: 0;
}

.sb-letter__photo::before {
	content: "";
	position: absolute;
	z-index: 0;
	inset: 22px -22px -22px 22px;
	border: 2px solid var(--sb-blue);
}

.sb-letter__photo img {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 2;
	border-radius: 0;
	object-fit: cover;
}

.sb-letter__photo figcaption {
	position: absolute;
	z-index: 2;
	left: 0;
	bottom: 0;
	padding: 10px 16px;
	background: var(--sb-navy);
	color: #fff;
	font-family: var(--sb-display);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.sb-letter__body h2 { margin-bottom: 24px; }

.sb-letter__text p { margin: 0 0 18px; line-height: 1.65; }
.sb-letter__text p:first-child {
	color: var(--sb-ink);
	font-size: 19px;
	font-weight: 500;
}

/* Program */
.sb-program {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(70% 60% at 0% 0%, rgba(74, 144, 220, .22) 0%, rgba(74, 144, 220, 0) 60%),
		var(--sb-navy);
	--color--body: rgba(255, 255, 255, .74);
	color: var(--color--body);
}

.sb-program h2,
.sb-team h2 { color: #fff; }

.sb-goals {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sb-goal {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 30px 26px 32px;
	border: 1px solid rgba(255, 255, 255, .1);
	background: linear-gradient(180deg, rgba(255, 255, 255, .06) 0%, rgba(255, 255, 255, .02) 100%);
	transition: border-color .25s ease, transform .25s ease, background-color .25s ease;
}

.sb-goal::before {
	content: "";
	position: absolute;
	inset: -1px -1px auto;
	height: 4px;
	background: var(--sb-blue);
	transform: scaleX(.18);
	transform-origin: left;
	transition: transform .35s ease;
}

.sb-goal:hover { border-color: rgba(127, 180, 234, .45); transform: translateY(-4px); }
.sb-goal:hover::before { transform: scaleX(1); }

.sb-goal__num {
	position: absolute;
	top: 18px;
	right: 22px;
	color: rgba(255, 255, 255, .12);
	font-family: var(--sb-display);
	font-size: 52px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: -.04em;
}

.sb-goal__icon {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	margin-bottom: 26px;
	border-radius: 50%;
	background: rgba(74, 144, 220, .16);
	color: var(--sb-blue-soft);
}

.sb-goal__icon svg { width: 28px; height: 28px; }

.sb-goal h3 {
	margin: 0 0 12px;
	color: #fff;
	font-size: 23px;
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -.02em;
}

.sb-goal p { margin: 0; font-size: 16px; line-height: 1.55; }

.sb-program__outro {
	max-width: 760px;
	margin-top: 48px;
	padding-left: 22px;
	border-left: 3px solid var(--sb-blue);
	color: rgba(255, 255, 255, .86);
	font-size: 19px;
}

.sb-program__outro p { margin: 0; }

/* Team */
.sb-team {
	background:
		radial-gradient(60% 50% at 100% 0%, rgba(74, 144, 220, .18) 0%, rgba(74, 144, 220, 0) 60%),
		var(--sb-navy-900);
	--color--body: rgba(255, 255, 255, .74);
	color: var(--color--body);
}

.sb-team .sb-section__head { max-width: none; margin-inline: auto; text-align: center; }
.sb-team .sb-kicker { justify-content: center; }

.sb-team__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sb-person {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 0 clamp(20px, 3vw, 40px);
	text-align: center;
}

.sb-person + .sb-person { border-left: 1px solid rgba(255, 255, 255, .12); }

.sb-person__photo {
	position: relative;
	width: min(250px, 80%);
	aspect-ratio: 1 / 1.22;
	margin-bottom: 26px;
	overflow: hidden;
	border-radius: 0 0 999px 999px;
}

.sb-person__photo::before {
	content: "";
	position: absolute;
	inset: auto 0 0;
	aspect-ratio: 1;
	border: 3px solid var(--sb-blue);
	border-radius: 50%;
	background: radial-gradient(circle at 50% 35%, #eef4fb 0%, #c9d9ee 100%);
}

.sb-person__img img {
	position: absolute;
	z-index: 1;
	left: 50%;
	top: 4%;
	width: var(--w, 118%);
	max-width: none;
	height: auto;
	transform: translateX(-50%);
	transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}

.sb-person:hover .sb-person__img img { transform: translateX(-50%) scale(1.04); }

.sb-person:nth-child(1) .sb-person__img img { --w: 112%; }
.sb-person:nth-child(2) .sb-person__img img { --w: 118%; }
.sb-person:nth-child(3) .sb-person__img img { --w: 104%; top: 5%; }

.sb-person__role {
	display: inline-block;
	margin: 0 0 10px;
	padding: 4px 12px;
	border-radius: 999px;
	background: rgba(74, 144, 220, .18);
	color: var(--sb-blue-soft);
	font-family: var(--sb-display);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.sb-person--lead .sb-person__role { background: var(--sb-blue); color: #fff; }

.sb-person__name {
	margin: 0;
	color: #fff;
	font-size: clamp(30px, 2.8vw, 38px);
	font-weight: 600;
	line-height: 1.05;
	letter-spacing: -.035em;
}

.sb-person__job {
	margin: 8px 0 18px;
	color: var(--sb-blue-soft);
	font-weight: 600;
}

.sb-person__bio {
	margin: 0 0 22px;
	font-size: 16px;
	line-height: 1.6;
}

.sb-person__points {
	display: grid;
	gap: 10px;
	width: 100%;
	margin: auto 0 0;
	padding: 20px 0 0;
	border-top: 1px solid rgba(255, 255, 255, .14);
	list-style: none;
	text-align: left;
}

.sb-person__points li {
	display: grid;
	grid-template-columns: 22px minmax(0, 1fr);
	gap: 10px;
	color: #fff;
	font-size: 15.5px;
	line-height: 1.45;
}

.sb-person__points svg {
	width: 22px;
	height: 22px;
	padding: 3px;
	border-radius: 50%;
	background: var(--sb-blue);
	color: #fff;
	stroke-width: 3;
}

.sb-person__motto {
	margin: 18px 0 0;
	color: var(--sb-blue-soft);
	font-family: var(--sb-display);
	font-size: 18px;
	font-weight: 600;
	letter-spacing: -.01em;
}

.sb-team__claim {
	margin: clamp(56px, 7vw, 88px) 0 0;
	color: #fff;
	font-family: var(--sb-display);
	font-size: clamp(26px, 3vw, 38px);
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -.03em;
	text-align: center;
}

/* Candidate card → popup */
.sb-person { position: relative; }

.sb-person__more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 22px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--sb-blue-soft);
	font-family: var(--sb-display);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	cursor: pointer;
	transition: color .2s ease, gap .2s ease;
}

/* The whole card is the click target. */
.sb-person__more::after {
	content: "";
	position: absolute;
	z-index: 2;
	inset: 0;
}

.sb-person { cursor: pointer; }
.sb-person:hover .sb-person__more { gap: 12px; color: #fff; }
.sb-person__more:focus-visible { outline: none; }
.sb-person:has(.sb-person__more:focus-visible) { outline: 2px solid var(--sb-blue); outline-offset: 8px; border-radius: 12px; }

.sb-modal-open { overflow: hidden; }

.sb-modal {
	width: min(980px, calc(100% - 32px));
	max-height: calc(100dvh - 48px);
	padding: 0;
	border: 0;
	border-radius: 20px;
	background:
		radial-gradient(70% 60% at 0% 0%, rgba(74, 144, 220, .2) 0%, rgba(74, 144, 220, 0) 60%),
		var(--sb-navy-900);
	color: rgba(255, 255, 255, .8);
	box-shadow: 0 40px 120px rgba(0, 0, 0, .55);
	overflow: auto;
	overscroll-behavior: contain;
}

.sb-modal::backdrop {
	background: rgba(5, 14, 36, .78);
	backdrop-filter: blur(6px);
}

.sb-modal[open] { animation: sb-modal-in .35s cubic-bezier(.2, .7, .2, 1); }
.sb-modal[open]::backdrop { animation: sb-fade-in .35s ease; }

@keyframes sb-modal-in { from { opacity: 0; transform: translateY(24px) scale(.98); } }
@keyframes sb-fade-in { from { opacity: 0; } }

.sb-modal__panel {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
	gap: clamp(28px, 4vw, 56px);
	padding: clamp(28px, 4vw, 56px);
}

.sb-modal__aside {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.sb-modal .sb-person__photo { width: min(240px, 100%); }
.sb-modal .sb-person__img img { --w: 112%; }

.sb-modal__text {
	font-size: 17px;
	line-height: 1.7;
}

.sb-modal__text > :first-child { margin-top: 0; }
.sb-modal__text p { margin: 0 0 1em; }
.sb-modal__text strong { color: #fff; }
.sb-modal__text a { color: var(--sb-blue-soft); }
.sb-modal__text ul,
.sb-modal__text ol { margin: 0 0 1em; padding-left: 1.2em; }

.sb-modal .sb-person__points { margin: 4px 0 24px; }
.sb-modal .sb-person__points:last-child { margin-bottom: 0; }
.sb-modal__text + .sb-modal__text { margin-top: 8px; }

.sb-modal__subtitle {
	margin: 8px 0 12px;
	color: #fff;
	font-family: var(--sb-display);
	font-size: 20px;
	font-weight: 600;
	letter-spacing: -.01em;
}

.sb-modal__close {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 3;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: 50%;
	background: rgba(255, 255, 255, .06);
	color: #fff;
	cursor: pointer;
	transition: background .2s ease, transform .2s ease;
}

.sb-modal__close:hover { background: var(--sb-blue); transform: rotate(90deg); }
.sb-modal__close:focus-visible { outline: 2px solid var(--sb-blue-soft); outline-offset: 2px; }

@media (max-width: 767px) {
	.sb-modal { max-height: calc(100dvh - 24px); border-radius: 16px; }
	.sb-modal__panel { grid-template-columns: minmax(0, 1fr); padding: 56px 20px 28px; }
	.sb-modal .sb-person__photo { width: min(200px, 70%); }
}

@media (prefers-reduced-motion: reduce) {
	.sb-modal[open],
	.sb-modal[open]::backdrop { animation: none; }
}

/* CTA */
.sb-cta {
	background: linear-gradient(100deg, var(--sb-blue-deep) 0%, var(--sb-blue) 100%);
	--color--body: rgba(255, 255, 255, .92);
	color: var(--color--body);
}

.sb-cta__inner {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: clamp(28px, 5vw, 72px);
	align-items: center;
	padding: clamp(48px, 6vw, 72px) 0;
}

.sb-cta__date {
	margin: 0;
	padding-right: clamp(28px, 5vw, 72px);
	border-right: 1px solid rgba(255, 255, 255, .35);
	color: #fff;
	font-family: var(--sb-display);
	font-size: 24px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: -.02em;
}

.sb-cta__date span {
	display: block;
	font-size: clamp(80px, 9vw, 116px);
	font-weight: 600;
	letter-spacing: -.05em;
}

.sb-cta h2 {
	margin: 0 0 12px;
	color: #fff;
	font-size: clamp(30px, 3.6vw, 46px);
	font-weight: 600;
	line-height: 1.05;
	letter-spacing: -.035em;
}

.sb-cta p { max-width: 640px; margin: 0; font-size: 18px; }

/* Footer */
.sb-footer {
	background: var(--sb-navy-950);
	--color--body: rgba(255, 255, 255, .6);
	color: var(--color--body);
	font-size: 15px;
}

.sb-footer__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 44px 0;
}

.sb-footer__logo { display: block; width: 260px; height: auto; }

.sb-footer__meta { display: flex; gap: 24px; }
.sb-footer__meta a { color: #fff; }

/* Inner pages under the fixed header */
body:not(.home) #content { padding-top: var(--sb-header-h); }
body:not(.home) .sb-header { background: var(--sb-navy-900); }

/* Scroll reveal (only when JS is running) */
.sb-js .sb-reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1);
	transition-delay: calc(var(--i, 0) * 90ms);
}

.sb-js .sb-reveal.is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1100px) {
	.sb-goals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 991px) {
	.sb-header__nav { display: none; }
	.sb-header__actions { margin-left: auto; }

	.sb-hero__inner { grid-template-columns: 1fr; }
	.sb-hero__content { padding: 48px 0 8px; }
	.sb-hero__people { min-height: 0; aspect-ratio: 1.1; margin: 0 auto; width: min(640px, 100%); }

	.sb-letter__grid { grid-template-columns: 1fr; }
	.sb-letter__photo { margin-right: 22px; }

	.sb-team__grid { grid-template-columns: 1fr; gap: 64px; max-width: 560px; margin-inline: auto; }
	.sb-person + .sb-person { border-left: 0; }
}

@media (max-width: 600px) {
	:root { --sb-header-h: 64px; }
	body { font-size: 16px; }
	.sb-shell { width: calc(100% - 32px); }
	.sb-header__inner { gap: 16px; }
	.sb-header__brand { width: min(215px, 54vw); }
	.sb-header__social { display: none; }
	.sb-btn--small { padding: 0 14px; font-size: 15px; }
	.sb-hero__title { font-size: clamp(40px, 12.5vw, 56px); letter-spacing: -.04em; }
	.sb-hero__tagline { font-size: 19px; }
	.sb-hero__bottom-inner { height: 52px; }
	.sb-hero__actions .sb-btn { flex: 1 1 100%; }
	.sb-hero__hashtag { font-size: 16px; }
	.sb-hero__scroll { font-size: 12px; letter-spacing: .1em; }
	.sb-goals { grid-template-columns: 1fr; }
	.sb-cta__inner { grid-template-columns: 1fr; }
	.sb-cta__date { padding: 0 0 20px; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .35); }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.sb-hero__content > *,
	.sb-hero__person,
	.sb-hero__glow { animation: none; }
	.sb-js .sb-reveal { opacity: 1; transform: none; transition: none; }
}

/* ------------------------------------------------------------------ */
/* Sub-pages (template-podstranka.php) and the grants comparison       */
/* ------------------------------------------------------------------ */

.sb-tone--pink, .sb-chapter--pink { --tone: #e4007c; --tone-soft: #fde6f2; }
.sb-tone--amber, .sb-chapter--amber { --tone: #ef9f1c; --tone-soft: #fdf1dc; }
.sb-tone--sky, .sb-chapter--sky { --tone: #1ea3dc; --tone-soft: #e1f3fb; }
.sb-tone--lavender, .sb-chapter--lavender { --tone: #9b7fbd; --tone-soft: #f1ecf7; }
.sb-tone--red, .sb-chapter--red { --tone: #e2403a; --tone-soft: #fde8e7; }
.sb-tone--green, .sb-chapter--green { --tone: #36b05a; --tone-soft: #e3f5e8; }
.sb-tone--dark, .sb-chapter--dark { --tone: #e5332a; --tone-soft: rgba(255, 255, 255, .06); }

.sb-btn__meta {
	font-weight: 500;
	letter-spacing: .02em;
	text-transform: none;
	opacity: .75;
}

.sb-btn--light { border-color: #fff; background: #fff; color: var(--sb-navy); }
.sb-btn--light:hover { border-color: var(--sb-navy); background: var(--sb-navy); color: #fff; }
.sb-btn--dark { border-color: var(--sb-navy); background: var(--sb-navy); }
.sb-btn--dark:hover { border-color: var(--sb-blue); background: var(--sb-blue); color: #fff; }

/* Hero */
body:not(.home) #content:has(> .sb-page-hero) { padding-top: 0; }

.sb-page-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding-top: var(--sb-header-h);
	background:
		radial-gradient(120% 90% at 78% 30%, #173a78 0%, rgba(23, 58, 120, 0) 55%),
		linear-gradient(180deg, var(--sb-navy) 0%, var(--sb-navy-900) 100%);
	--color--body: rgba(255, 255, 255, .82);
	color: var(--color--body);
}

.sb-page-hero .sb-hero__glow { bottom: -45%; width: min(680px, 60vw); }

.sb-page-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr);
	gap: clamp(32px, 6vw, 96px);
	align-items: center;
	padding: clamp(56px, 7vw, 96px) 0 clamp(64px, 8vw, 104px);
}

.sb-page-hero__inner--text { grid-template-columns: minmax(0, 1fr); }

.sb-page-hero__content > * { animation: sb-rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.sb-page-hero__content > :nth-child(2) { animation-delay: .08s; }
.sb-page-hero__content > :nth-child(3) { animation-delay: .14s; }
.sb-page-hero__content > :nth-child(4) { animation-delay: .2s; }
.sb-page-hero__content > :nth-child(5) { animation-delay: .26s; }

.sb-page-hero__title {
	display: flex;
	flex-direction: column;
	margin: 0;
	color: #fff;
	font-size: clamp(42px, 5.6vw, 82px);
	font-weight: 600;
	line-height: .95;
	letter-spacing: -.04em;
	text-transform: uppercase;
	text-wrap: balance;
}

.sb-page-hero__title .sb-accent {
	padding-bottom: .06em;
	background: linear-gradient(100deg, #b9dcfb 0%, #7fb4ea 38%, var(--sb-blue) 72%, #3b7fcf 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.sb-page-hero .sb-hero__text { max-width: 620px; }

.sb-page-hero__note {
	max-width: 620px;
	margin: 28px 0 0;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, .14);
	color: rgba(255, 255, 255, .62);
	font-size: 15px;
}

.sb-page-hero__doc {
	display: block;
	justify-self: center;
	width: min(360px, 100%);
	transform: rotate(3deg);
	transition: transform .35s cubic-bezier(.2, .7, .2, 1);
	animation: sb-person 1.1s .2s cubic-bezier(.2, .7, .2, 1) both;
}

.sb-page-hero__doc img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 10px;
	box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .12);
}

.sb-page-hero__doc:hover { transform: rotate(0) translateY(-6px); }

/* Chapter navigation */
.sb-toc {
	position: sticky;
	z-index: 900;
	top: var(--sb-header-h);
	border-bottom: 1px solid var(--sb-line);
	background: rgba(255, 255, 255, .92);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
}

.sb-toc__inner {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	padding: 12px 0;
	scrollbar-width: none;
}

.sb-toc__inner::-webkit-scrollbar { display: none; }

.sb-toc__link {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 8px;
	padding: 7px 14px;
	border: 1px solid var(--sb-line);
	border-radius: 999px;
	color: var(--sb-ink);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	transition: border-color .2s ease, background-color .2s ease;
}

.sb-toc__link::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--tone, var(--sb-blue));
}

.sb-toc__link:hover { border-color: var(--tone, var(--sb-blue)); background: var(--tone-soft, var(--sb-paper)); }

/* Document content */
.sb-page { background: #fff; }

.sb-doc {
	width: min(880px, 100% - 48px);
	padding: clamp(56px, 7vw, 96px) 0 clamp(72px, 9vw, 120px);
	color: var(--sb-text);
	font-size: 18px;
	line-height: 1.7;
}

.sb-doc p { margin: 0 0 1.1em; }
.sb-doc strong { color: var(--sb-ink); }
.sb-doc a:not(.sb-btn) { color: var(--sb-blue-deep); }

.sb-doc h2 {
	scroll-margin-top: calc(var(--sb-header-h) + 76px);
	margin: clamp(64px, 8vw, 96px) 0 28px;
	color: var(--sb-ink);
	font-size: clamp(30px, 3.6vw, 44px);
	font-weight: 600;
	line-height: 1.08;
	letter-spacing: -.03em;
}

.sb-doc h3 {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 48px 0 16px;
	color: var(--tone, var(--sb-blue-deep));
	font-size: 19px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: .02em;
	text-transform: uppercase;
}

.sb-doc h3::before {
	content: "";
	flex: 0 0 auto;
	width: 34px;
	height: 8px;
	border-radius: 0 999px 999px 0;
	background: var(--tone, var(--sb-blue));
}

.sb-doc ul {
	margin: 0 0 1.3em;
	padding: 0;
	list-style: none;
}

.sb-doc ul li {
	position: relative;
	margin: 0 0 .55em;
	padding-left: 30px;
}

.sb-doc ul li::before {
	content: "";
	position: absolute;
	top: .62em;
	left: 4px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--tone, var(--sb-blue));
}

.sb-doc .wp-block-image { margin: 32px 0; }
.sb-doc .wp-block-image img { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: 0 24px 60px -24px rgba(13, 27, 51, .35); }
.sb-doc .wp-block-image figcaption { margin-top: 12px; color: #7a869c; font-size: 14px; text-align: center; }

.sb-lead { color: var(--sb-ink); font-size: clamp(20px, 2vw, 23px); font-weight: 500; line-height: 1.5; }

.sb-doc .sb-zdroje {
	margin: 20px 0 0;
	padding: 16px 20px 16px 52px;
	border-radius: 14px;
	background: var(--tone-soft, var(--sb-paper));
	color: var(--sb-ink);
	font-size: 16px;
	line-height: 1.55;
	position: relative;
}

.sb-doc .sb-zdroje::before {
	content: "€";
	position: absolute;
	top: 14px;
	left: 16px;
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--tone, var(--sb-blue));
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
}

.sb-callout {
	margin: 32px 0 28px !important;
	padding: 4px 0 4px 22px;
	border-left: 4px solid var(--tone, var(--sb-blue));
	color: var(--sb-ink);
	font-family: var(--sb-display);
	font-size: clamp(21px, 2.2vw, 26px);
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -.015em;
}

/* Stats */
.sb-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 14px;
	margin: 36px 0 40px;
}

.sb-stat {
	padding: 22px 22px 20px;
	border-radius: 16px;
	background: var(--sb-paper);
	color: var(--sb-text);
	font-size: 15px;
	line-height: 1.45;
}

.sb-stat strong {
	display: block;
	margin-bottom: 6px;
	color: var(--sb-ink);
	font-family: var(--sb-display);
	font-size: clamp(24px, 2.6vw, 30px);
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -.03em;
	white-space: nowrap;
}

.sb-stat--alert { background: var(--sb-navy); color: rgba(255, 255, 255, .78); }
.sb-stat--alert strong { color: #fff; }
.sb-stat--blue { background: var(--sb-blue); color: rgba(255, 255, 255, .88); }
.sb-stat--blue strong { color: #fff; }

/* Chapters */
.sb-chapter { margin-top: clamp(72px, 9vw, 112px); }

.sb-chapter h2 {
	position: relative;
	margin: 0 0 32px;
	padding: 26px 28px 26px 104px;
	border-radius: 20px;
	background:
		radial-gradient(circle at 58px 50%, rgba(255, 255, 255, .22) 0 30px, transparent 31px),
		var(--tone);
	color: #fff;
	font-size: clamp(26px, 3.2vw, 38px);
}

.sb-chapter h2::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 44px;
	width: 28px;
	height: 28px;
	margin-top: -14px;
	background: #fff;
	-webkit-mask: var(--icon) center / contain no-repeat;
	mask: var(--icon) center / contain no-repeat;
}

.sb-chapter--pink { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cellipse cx='9' cy='7' rx='6' ry='3'/%3E%3Cpath d='M3 7v5c0 1.7 2.7 3 6 3s6-1.3 6-3V7'/%3E%3Cpath d='M9 15v2c0 1.7 2.7 3 6 3s6-1.3 6-3v-5c0-1.6-2.4-2.9-5.5-3'/%3E%3C/svg%3E"); }
.sb-chapter--amber { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 11l1.6-4.4A2 2 0 0 1 8.5 5h7a2 2 0 0 1 1.9 1.6L19 11'/%3E%3Crect x='3' y='11' width='18' height='6' rx='2'/%3E%3Cpath d='M6 17v2M18 17v2'/%3E%3Ccircle cx='7.5' cy='14' r='.6'/%3E%3Ccircle cx='16.5' cy='14' r='.6'/%3E%3C/svg%3E"); }
.sb-chapter--sky { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3Ccircle cx='17' cy='9' r='2.5'/%3E%3Cpath d='M2 20c0-3.3 2.7-6 6-6s6 2.7 6 6'/%3E%3Cpath d='M14.5 14.3A5 5 0 0 1 22 18.5V20'/%3E%3C/svg%3E"); }
.sb-chapter--lavender { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l9-5 9 5'/%3E%3Cpath d='M5 9v9M10 9v9M14 9v9M19 9v9'/%3E%3Cpath d='M3 20h18'/%3E%3C/svg%3E"); }
.sb-chapter--red { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='9' r='6'/%3E%3Cpath d='m9 14.2-2 7.8 5-3 5 3-2-7.8'/%3E%3Cpath d='m12 6.5.8 1.6 1.7.2-1.2 1.2.3 1.7-1.6-.8-1.6.8.3-1.7-1.2-1.2 1.7-.2z'/%3E%3C/svg%3E"); }
.sb-chapter--green { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 6 11h3l-4 6h14l-4-6h3z'/%3E%3Cpath d='M12 17v4'/%3E%3C/svg%3E"); }

.sb-chapter--dark {
	position: relative;
	overflow: hidden;
	padding: clamp(36px, 5vw, 64px);
	border-radius: 28px;
	background:
		radial-gradient(70% 60% at 100% 0%, rgba(74, 144, 220, .28) 0%, rgba(74, 144, 220, 0) 60%),
		var(--sb-navy);
	color: rgba(255, 255, 255, .82);
}

.sb-chapter--dark h2 {
	margin: 0 0 28px;
	padding: 0;
	background: none;
	color: #fff;
	font-size: clamp(36px, 5vw, 64px);
	line-height: 1;
	text-transform: uppercase;
}

.sb-chapter--dark h2::before { content: none; }
.sb-chapter--dark h2 small { display: block; margin-bottom: 10px; font-size: .45em; letter-spacing: 0; text-transform: none; }
.sb-chapter--dark { --color--body: rgba(255, 255, 255, .84); }
.sb-chapter--dark p { color: var(--color--body); }
.sb-chapter--dark strong { color: #fff; }
.sb-red { color: #ff4a3d; }
.sb-chapter--dark .sb-accent { color: var(--sb-blue-soft); }
.sb-chapter--dark .wp-block-image img { box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); }
.sb-chapter--dark .wp-block-image figcaption { color: rgba(255, 255, 255, .55); }

/* Bar chart */
.sb-chart {
	display: grid;
	gap: 10px;
	margin: 28px 0 8px;
}

.sb-chart__row {
	display: grid;
	grid-template-columns: 150px minmax(0, 1fr) 104px;
	gap: 16px;
	align-items: center;
	font-size: 15px;
}

.sb-chart__label { color: var(--sb-ink); font-weight: 600; line-height: 1.2; }

.sb-chart__track {
	position: relative;
	height: 28px;
	border-radius: 6px;
	background: var(--sb-paper);
}

.sb-chart__bar {
	position: absolute;
	inset: 0 auto 0 0;
	width: calc(var(--v) * 100%);
	border-radius: 6px;
	background: linear-gradient(90deg, var(--sb-navy-700), #24427f);
	transform-origin: left;
	transition: transform 1s cubic-bezier(.2, .7, .2, 1);
	transition-delay: calc(var(--i, 0) * 60ms + .15s);
}

.sb-js .sb-chart:not(.is-visible) .sb-chart__bar { transform: scaleX(0); }

.sb-chart__value { color: var(--sb-ink); font-variant-numeric: tabular-nums; font-weight: 600; text-align: right; white-space: nowrap; }

.sb-chart__row.is-biel .sb-chart__label,
.sb-chart__row.is-biel .sb-chart__value { color: var(--sb-blue-deep); font-weight: 700; }
.sb-chart__row.is-biel .sb-chart__bar { background: linear-gradient(90deg, var(--sb-blue-deep), var(--sb-blue)); box-shadow: 0 8px 20px -8px rgba(74, 144, 220, .8); }
.sb-chart__row.is-biel .sb-chart__track { outline: 2px solid var(--sb-blue); outline-offset: 3px; }

.sb-chart--compact { gap: 8px; margin: 0; }
.sb-chart--compact .sb-chart__row { grid-template-columns: 128px minmax(0, 1fr) 92px; gap: 12px; font-size: 14px; }
.sb-chart--compact .sb-chart__track { height: 20px; }

/* Table */
.sb-table-wrap {
	overflow-x: auto;
	margin: 24px 0 8px;
	border: 1px solid var(--sb-line);
	border-radius: 16px;
}

.sb-table {
	width: 100%;
	min-width: 760px;
	margin: 0;
	border-collapse: collapse;
	font-size: 15px;
	line-height: 1.35;
}

.sb-table th,
.sb-table td {
	padding: 13px 14px;
	border: 0;
	border-bottom: 1px solid var(--sb-line);
	text-align: left;
	vertical-align: middle;
}

.sb-table thead th {
	background: var(--sb-navy);
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.sb-table tbody th { color: var(--sb-ink); font-weight: 600; }
.sb-table tbody tr:nth-child(even) { background: #f8fafd; }
.sb-table tbody tr:last-child > * { border-bottom: 0; }
.sb-table .is-num { font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.sb-table tr.is-biel { background: #e7f1fc !important; }
.sb-table tr.is-biel > * { color: var(--sb-blue-deep); font-weight: 700; }
.sb-table tr.is-biel > :first-child { box-shadow: inset 4px 0 0 var(--sb-blue); }

.sb-notes { color: #6b778c; font-size: 15px; }
.sb-doc .sb-notes li::before { background: #b8c2d3; }

/* Download band */
.sb-download .sb-cta__inner { grid-template-columns: auto minmax(0, 1fr) auto; }

.sb-download__icon {
	display: grid;
	place-items: center;
	width: 84px;
	height: 84px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .16);
	color: #fff;
}

.sb-download__icon svg { width: 40px; height: 40px; }

/* Homepage: program buttons + grants teaser */
.sb-program__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 40px;
}

.sb-grants { background: #fff; }

.sb-grants__grid {
	display: grid;
	grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
	gap: clamp(40px, 6vw, 88px);
	align-items: center;
}

.sb-grants__body h2 { margin-bottom: 24px; }
.sb-grants__text { margin-bottom: 32px; }
.sb-grants__text p { margin: 0 0 16px; line-height: 1.65; }
.sb-grants__text p:first-child { color: var(--sb-ink); font-size: 19px; font-weight: 500; }

.sb-grants__chart {
	padding: clamp(24px, 3vw, 36px);
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 30px 70px -30px rgba(13, 27, 51, .3), 0 0 0 1px var(--sb-line);
}

.sb-grants__caption {
	margin: 0 0 18px;
	color: var(--sb-blue-deep);
	font-family: var(--sb-display);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
}

@media (min-width: 992px) {
	.sb-toc__inner { flex-wrap: wrap; justify-content: center; overflow: visible; }
}

@media (max-width: 991px) {
	.sb-page-hero__inner { grid-template-columns: minmax(0, 1fr); }
	.sb-page-hero__doc { width: min(260px, 70%); }
	.sb-grants__grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 600px) {
	.sb-doc { width: calc(100% - 32px); font-size: 17px; }
	.sb-page-hero__title { font-size: clamp(34px, 10vw, 48px); }
	.sb-page-hero .sb-hero__actions .sb-btn { flex: 1 1 100%; }
	.sb-chapter h2 { padding: 20px 18px 20px 76px; border-radius: 16px; background: radial-gradient(circle at 40px 50%, rgba(255, 255, 255, .22) 0 22px, transparent 23px), var(--tone); }
	.sb-chapter h2::before { left: 29px; width: 22px; height: 22px; margin-top: -11px; }
	.sb-chapter--dark { margin-inline: -16px; border-radius: 0; padding: 40px 16px; }
	.sb-chart__row,
	.sb-chart--compact .sb-chart__row { grid-template-columns: 96px minmax(0, 1fr) 82px; gap: 10px; font-size: 13px; }
	.sb-chart__track { height: 22px; }
	.sb-download .sb-cta__inner { grid-template-columns: minmax(0, 1fr); }
	.sb-download__icon { display: none; }
	.sb-stat strong { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
	.sb-page-hero__content > *,
	.sb-page-hero__doc { animation: none; }
	.sb-chart__bar { transition: none; }
	.sb-js .sb-chart:not(.is-visible) .sb-chart__bar { transform: none; }
}

/* Mobile menu */
.sb-header__toggle { display: none; }
.sb-header__nav a { white-space: nowrap; }

@media (min-width: 992px) and (max-width: 1240px) {
	.sb-header__inner { gap: 20px; }
	.sb-header__brand { width: 200px; }
	.sb-header__nav { gap: 20px; }
	.sb-header__nav a { font-size: 13px; letter-spacing: .04em; }
	.sb-header__social { display: none; }
}

@media (max-width: 991px) {
	.sb-header__toggle {
		display: inline-grid;
		align-content: center;
		gap: 5px;
		width: 44px;
		height: 44px;
		padding: 0 11px;
		border: 1px solid rgba(255, 255, 255, .25);
		border-radius: 50%;
		background: transparent;
		cursor: pointer;
	}

	.sb-header__toggle span {
		display: block;
		height: 2px;
		border-radius: 2px;
		background: #fff;
		transition: transform .25s ease, opacity .2s ease;
	}

	.sb-header.is-open .sb-header__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.sb-header.is-open .sb-header__toggle span:nth-child(2) { opacity: 0; }
	.sb-header.is-open .sb-header__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
	.sb-header__toggle:focus-visible { outline: 2px solid var(--sb-blue-soft); outline-offset: 2px; }

	.sb-header.is-open { background: var(--sb-navy-900); }

	.sb-header.is-open .sb-header__nav {
		position: absolute;
		top: 100%;
		right: 0;
		left: 0;
		display: flex;
		flex-direction: column;
		gap: 0;
		padding: 8px 24px 24px;
		border-bottom: 1px solid rgba(255, 255, 255, .08);
		background: var(--sb-navy-900);
		box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
	}

	.sb-header.is-open .sb-header__nav a {
		padding: 16px 0;
		border-bottom: 1px solid rgba(255, 255, 255, .08);
		font-size: 16px;
	}

	.sb-header.is-open .sb-header__nav a::after { content: none; }
}

@media (max-width: 600px) {
	.sb-header__actions { gap: 10px; }
	.sb-header__actions .sb-btn--small { display: none; }
	.sb-header.is-open .sb-header__nav { padding-inline: 16px; }
}
