/*
 * KORE – layout styles
 * One file for all pages. BEM: .block__element--modifier. Tokens live in :root.
 *
 * Contents
 *   1. Tokens
 *   2. Fonts
 *   3. Base
 *   4. Layout: container, section, section head, split
 *   5. Shared: eyebrow, swatch, titles, lead, buttons, tag, crumbs, back link
 *   6. Nav
 *   7. Hero (+ icon grid, art panel, stats, jump list, facts)
 *   8. Homepage: steps, art, cards, team
 *   9. Audit: pillars, video, panels
 *  10. Studie: output cards, source list
 *  11. Praxe: story, timeline, lessons, takeaway, quotes, downloads
 *  12. Contact + form
 *  13. Footer
 *  14. Radar (js/kore-radar.js)
 *  15. Responsive
 */

/* 1. Tokens ---------------------------------------------------------------- */

:root {
	--ink: #231F20;
	--white: #FFFFFF;
	--grey-100: #EBEBEC;
	--grey-300: #D1D3D4;
	--grey-500: #A7A9AC;
	--grey-700: #6D6E71;

	--yellow: #FFF450;
	--yellow-light: #FFFDE5;
	--green: #4FBE9C;
	--green-light: #E4F3EC;
	--green-mid: #2E9A7A;
	--green-dark: #237A60;
	--green-text: #1F7A5F;
	--blue: #75BEE9;
	--blue-light: #E8F3FB;
	--blue-dark: #2A6F9A;
	--orange: #F9A97F;
	--orange-light: #FFEFE6;
	--rust: #B4532A;
	--pink: #F386A1;
	--pink-light: #FDEAED;
	--purple: #9C67AB;
	--purple-dark: #8E5A9E;

	--font-sans: 'Space Grotesk', sans-serif;
	--font-mono: 'Space Mono', monospace;

	--nav-height: 82px;
	--gutter: 32px;
	--line: 1px solid var(--ink);
}

/* 2. Fonts ----------------------------------------------------------------- */

/*
 * Self-hosted copies of the Google Fonts files the mock-up rendered with (v22 / v17),
 * Latin + Latin Extended subsets. Space Grotesk is a variable font (wght 300–700): one file per
 * subset declared over its whole range, so bold is the real cut, not synthesized. Space Mono is
 * static: separate 400 and 700 files.
 */

@font-face {
	font-family: 'Space Grotesk';
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url('../fonts/space-grotesk-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: 'Space Grotesk';
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url('../fonts/space-grotesk-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: 'Space Mono';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/space-mono-400-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: 'Space Mono';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/space-mono-400-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: 'Space Mono';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('../fonts/space-mono-700-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: 'Space Mono';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('../fonts/space-mono-700-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 3. Base ------------------------------------------------------------------ */

*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	min-height: 100vh;
	background: var(--white);
	color: var(--ink);
	font-family: var(--font-sans);
	font-weight: 300;
	font-size: 17px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

a {
	color: var(--ink);
}

a:hover {
	color: var(--purple-dark);
}

img {
	display: block;
	max-width: 100%;
}

input,
textarea,
button {
	font-family: inherit;
}

[id] {
	scroll-margin-top: var(--nav-height);
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* 4. Layout ---------------------------------------------------------------- */

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 var(--gutter);
}

.section {
	border-bottom: var(--line);
}

.section--white { background: var(--white); }
.section--yellow { background: var(--yellow); }
.section--green { background: var(--green); }
.section--pink { background: var(--pink); }
.section--green-light { background: var(--green-light); }
.section--blue-light { background: var(--blue-light); }
.section--orange-light { background: var(--orange-light); }
.section--pink-light { background: var(--pink-light); }

.section--last {
	border-bottom: none;
}

.section__inner {
	padding-top: 96px;
	padding-bottom: 96px;
	display: flex;
	flex-direction: column;
	gap: 48px;
}

.section__inner--gap-40 { gap: 40px; }
.section__inner--gap-24 { gap: 24px; }

.section__inner--py-88 {
	padding-top: 88px;
	padding-bottom: 88px;
}

/* Award band (section type "award"): a compact strip, e.g. right under the hero */
.section__inner--award {
	padding-top: 64px;
	padding-bottom: 64px;
}

/* Seal + text as one unit: the text is a block (3 lines at 28 px) next to the 140 px seal,
   centred on it, instead of one long line trailing off to the right */
.award {
	display: flex;
	align-items: center;
	gap: 40px;
}

.award__seal {
	flex: none;
	width: 140px;
	height: auto;
}

.award__text {
	max-width: 24ch;
	font-size: 28px;
	font-weight: 400;
	line-height: 1.25;
	text-wrap: balance;
}

/* Half the top padding: a band that continues the section above it (praxe overview #kroky) */
.section__inner--pt-48 {
	padding-top: 48px;
}

/* Section header: text on the left, lead on the right, bottoms aligned */
.section-head {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
	gap: 32px 64px;
	align-items: end;
}

.section-head--tight {
	gap: 24px 64px;
}

.section-head__text {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

/* Two equal columns that stack under 2 × 420 px */
.split {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
	gap: 56px 80px;
	align-items: center;
}

.split--start {
	gap: 48px 80px;
	align-items: start;
}

.split__col {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.split__col--gap-24 {
	gap: 24px;
}

/* 5. Shared ---------------------------------------------------------------- */

.eyebrow {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-mono);
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.eyebrow--hero {
	font-size: 23px;
}

.swatch {
	flex: none;
	width: 12px;
	height: 12px;
}

.swatch--sm {
	width: 10px;
	height: 10px;
}

.swatch--ink { background: var(--ink); }
.swatch--green { background: var(--green); }
.swatch--blue { background: var(--blue); }
.swatch--orange { background: var(--orange); }
.swatch--pink { background: var(--pink); }

.page-title {
	font-weight: 300;
	font-size: clamp(44px, 6vw, 64px);
	line-height: 1;
	letter-spacing: -0.03em;
	text-wrap: balance;
}

.section-title {
	font-weight: 300;
	font-size: clamp(34px, 4vw, 52px);
	line-height: 1.05;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

.lead {
	font-size: 18px;
	max-width: 52ch;
	text-wrap: pretty;
}

.lead--lg {
	font-size: 19px;
}

/* Buttons: outline by default; --solid is the dark pill. Hover colours follow the section accent. */
.btn {
	display: flex;
	align-items: center;
	gap: 10px;
	align-self: flex-start;
	padding: 16px 24px;
	border: var(--line);
	border-radius: 999px;
	background: transparent;
	color: var(--ink);
	font-family: var(--font-mono);
	font-size: 14px;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	text-decoration: none;
	cursor: pointer;
}

.btn--sm { padding: 12px 22px; }
.btn--mt-8 { margin-top: 8px; }

.btn--solid {
	background: var(--ink);
	color: var(--white);
}

.btn--solid-yellow {
	background: var(--ink);
	color: var(--yellow);
}

.btn--green {
	background: var(--green);
	border-color: var(--green);
	color: var(--ink);
}

.btn--hover-ink:hover { background: var(--ink); color: var(--white); }
.btn--hover-ink-yellow:hover { background: var(--ink); color: var(--yellow); }
.btn--hover-purple:hover { background: var(--purple-dark); color: var(--white); }
.btn--hover-green:hover { background: var(--green); color: var(--ink); }
.btn--hover-green-dark:hover { background: var(--green-dark); border-color: var(--green-dark); color: var(--white); }
.btn--hover-blue:hover { background: var(--blue); color: var(--ink); }
.btn--hover-blue-dark:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: var(--white); }
.btn--hover-orange:hover { background: var(--orange); color: var(--ink); }
.btn--hover-pink:hover { background: var(--pink); color: var(--ink); }
.btn--hover-white:hover { background: var(--white); border-color: var(--white); color: var(--ink); }

.btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 8px;
}

.btn-row--mt-24 {
	margin-top: 24px;
}

/* Pill label */
.tag {
	display: flex;
	align-items: center;
	gap: 8px;
	align-self: flex-start;
	padding: 6px 14px;
	border: var(--line);
	border-radius: 999px;
	font-family: var(--font-mono);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.tag--white { background: var(--white); }

.tag--dark {
	border: none;
	background: var(--ink);
	color: var(--white);
	letter-spacing: 0.04em;
}

.tag--green {
	background: var(--green);
	letter-spacing: 0.04em;
}

.tag--orange {
	background: var(--orange);
	letter-spacing: 0.04em;
}

.tag-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.tag-list--mt-4 {
	margin-top: 4px;
}

.crumbs {
	display: flex;
	gap: 10px;
	font-family: var(--font-mono);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	display:none; /* temporary? maybe... */
}

.crumbs__link {
	text-decoration: none;
}

.crumbs__link:hover {
	text-decoration: underline;
}

.back-link {
	display: flex;
	align-items: center;
	gap: 8px;
	align-self: flex-start;
	margin-bottom: 24px;
	font-family: var(--font-mono);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	text-decoration: none;
}

/* 6. Nav ------------------------------------------------------------------- */

.nav {
	position: sticky;
	top: 0;
	z-index: 10;
	background: var(--white);
	border-bottom: var(--line);
}

.nav__inner {
	height: var(--nav-height);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.nav__logo {
	display: flex;
	text-decoration: none;
}

.nav__logo-img {
	height: 43px;
	width: auto;
}

.nav__menu {
	display: flex;
	flex-wrap: wrap;
	gap: 28px;
	font-family: var(--font-mono);
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.nav__link {
	display: flex;
	align-items: center;
	gap: 8px;
	text-decoration: underline;
	text-decoration-color: transparent;
	text-decoration-thickness: 1px;
	text-underline-offset: 6px;
	transition: text-decoration-color 0.2s, text-underline-offset 0.2s;
}

.nav__link:hover,
.nav__link--active {
	text-decoration-color: currentColor;
	text-underline-offset: 4px;
}

/* Mobile only, see 15. Responsive */
.nav__toggle {
	display: none;
}

/* 7. Hero ------------------------------------------------------------------ */

.hero {
	border-bottom: var(--line);
}

.hero__inner {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
}

.hero__content {
	padding: 72px 48px 88px 0;
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.hero__content--home {
	padding-top: 88px;
}
.hero__content--case {
	padding: 48px 48px 72px 0;
	gap: 24px;
}

.page-title--home {
	font-size: 65px;
	font-weight: 400;
	line-height: 1;
	/* The mock-up computed the spacing on a 44–60 px heading and inherited it to 65 px text */
	letter-spacing: calc(-0.03 * clamp(44px, 6vw, 60px));
	text-wrap: balance;
}

.hero__media {
	border-left: var(--line);
	border-right: var(--line);
	display: grid;
	grid-template-rows: minmax(0, 1fr) auto;
}

.hero__art {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 48px;
	min-height: 300px;
	border-bottom: var(--line);
}

.hero__art--green { background: var(--green); }
.hero__art--orange { background: var(--orange); }
.hero__art--purple { background: var(--purple); }
.hero__art--blue { background: var(--blue); }

.hero__art-img--brain {
	width: 100%;
	max-width: 300px;
}

.hero__art-img--sunburst {
	width: 100%;
	max-width: 320px;
	height: auto;
}

/* Portrait art: sized by height */
.hero__art-img--book {
	width: auto;
	height: 340px;
}

/* Homepage: 2 × 2 icons */
.icon-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	border-left: var(--line);
	border-right: var(--line);
}

/*
 * Image centred in the middle row, the hover word centred in the space below it.
 * The vertical padding lives in the outer rows so the word's row reaches the border.
 */
.icon-grid__cell {
	display: grid;
	grid-template-rows: minmax(36px, 1fr) auto minmax(36px, 1fr);
	align-items: center;
	justify-items: center;
	padding: 0 36px;
}

.icon-grid__cell:nth-child(-n+2) { border-bottom: var(--line); }
.icon-grid__cell:nth-child(odd) { border-right: var(--line); }

.icon-grid__img {
	grid-row: 2;
	width: 100%;
	max-width: 190px;
	height: auto;
	transition: transform 0.4s ease;
}

.icon-grid__cell:hover .icon-grid__img {
	transform: scale(1.06);
}

/* One K-O-R-E word per icon, revealed on hover */
.icon-grid__word {
	grid-row: 3;
	font-size: 22px;
	line-height: 1;
	letter-spacing: -0.02em;
	text-align: center;
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 0.4s ease, transform 0.4s ease;
	pointer-events: none;
}

.icon-grid__word b {
	font-weight: 800;
}

.icon-grid__cell:hover .icon-grid__word {
	opacity: 1;
	transform: none;
}

.icon-grid__img--wide { max-width: 200px; }
.icon-grid__img--narrow { max-width: 170px; }

/* Audit: key numbers under the art */
.stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	background: var(--white);
}

.stats__item {
	padding: 20px 24px;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.stats__item:not(:last-child) {
	border-right: var(--line);
}

.stats__value {
	font-size: 36px;
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.stats__label {
	font-family: var(--font-mono);
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

/* Studie: in-page jump links under the art */
.jump-list {
	display: flex;
	flex-direction: column;
	background: var(--white);
}

.jump-list__link {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 24px;
	font-size: 18px;
	text-decoration: none;
}

.jump-list__link + .jump-list__link {
	border-top: var(--line);
}

.jump-list__link:hover {
	background: var(--orange-light);
	color: var(--ink);
}

.jump-list__num {
	font-family: var(--font-mono);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

/* Praxe: school facts – one row per priority (1–3) + the time allocation, so 2–4 rows sharing the hero height */
.facts {
	display: flex;
	flex-direction: column;
	border-left: var(--line);
	border-right: var(--line);
}

.facts__item {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 8px;
	padding: 28px 32px;
	background: var(--white);
}

.facts__item + .facts__item { border-top: var(--line); }

.facts__label {
	font-family: var(--font-mono);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.facts__pillar {
	font-size: 15px;
	line-height: 1.35;
	text-wrap: pretty;
}

.facts__value {
	font-size: 28px;
	line-height: 1.1;
	letter-spacing: -0.01em;
}

.facts__value--priority {
	margin-top: 4px;
	font-size: 22px;
	line-height: 1.2;
	text-wrap: pretty;
}

/* The "Priorita · Pilíř N" pill: as wide as its text (.tag is flex, a block inside the <dt>) */
.facts .tag {
	display: inline-flex;
}

/* Priority status under the priority: a yellow dot + text ("ve tvorbě", "pilot 1. ročník") */
.facts__status {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
}

.facts__dot {
	flex-shrink: 0;
	width: 14px;
	height: 14px;
	border: var(--line);
	border-radius: 50%;
	background: var(--yellow);
}

/* Counsellor time: always the last tile, lighter than the priorities */
.facts__item--time {
	background: color-mix(in srgb, var(--blue-light) 45%, var(--white));
}

.facts__value small {
	font-size: 15px;
	letter-spacing: 0;
}

/* Several counsellors: one row each under the total */
.facts__split {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 4px 16px;
	margin-top: 8px;
	padding-top: 10px;
	border-top: var(--line);
	font-size: 15px;
}

.facts__split span:nth-child(even) {
	font-family: var(--font-mono);
	font-size: 14px;
	text-align: right;
}

/* 8. Homepage -------------------------------------------------------------- */

/* Numbered phases */
.steps {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
	border-top: var(--line);
}

.steps__item {
	padding: 32px 32px 40px 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.steps--compact .steps__item {
	padding-bottom: 8px;
}

.steps__num {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--green);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-mono);
	font-weight: 700;
	font-size: 18px;
}

.steps__title {
	font-weight: 300;
	font-size: 26px;
	letter-spacing: -0.01em;
}

.steps__text {
	font-size: 16px;
}

/*
 * Praxe overview: the four shared phases with their school year. No rule above them and no
 * bottom padding (the section's own padding is enough); the last, still upcoming phase is white.
 */
.steps--blue {
	border-top: none;
}

.steps--blue .steps__item {
	padding-bottom: 0;
}

.steps--blue .steps__title {
	font-weight: 700;
	font-size: 28px;
}

.steps--blue .steps__num {
	background: var(--blue-light);
	border: var(--line);
}

.steps--blue .steps__item:last-child .steps__num {
	background: var(--white);
}

.steps__year {
	margin-top: -10px;
	font-family: var(--font-mono);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

/* Praxe overview, variant 2: the same phases as a ruled list inside the hero */
.phase-list {
	list-style: none;
	display: flex;
	flex-direction: column;
	border-top: var(--line);
}

.phase-list__item {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 14px 0;
	border-bottom: var(--line);
}

.phase-list__head {
	font-family: var(--font-mono);
	font-weight: 700;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.phase-list__text {
	font-size: 16px;
	text-wrap: pretty;
}

/* Full-width band: no rule above the first phase, the head in its own column (stacks at ≤ 600 px) */
.phase-list--wide {
	border-top: none;
}

.phase-list--wide .phase-list__item {
	display: grid;
	grid-template-columns: 340px minmax(0, 1fr);
	align-items: baseline;
	gap: 4px 32px;
	padding: 18px 0;
}

.phase-list--wide .phase-list__text {
	max-width: 70ch;
}

.art-panel, .art-panel__blue {
	aspect-ratio: 1 / 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 48px;
	background: var(--purple);
	border: var(--line);
}

.art-panel__blue {
	background: var(--blue);
}

.art-panel__img {
	height: 100%;
	width: auto;
	object-fit: contain;
}

/* Study cards */
.cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
	gap: 24px;
}

.cards--lg {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.card {
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-height: 280px;
	padding: 28px;
	background: var(--white);
	border: var(--line);
	color: var(--ink);
	text-decoration: none;
}

.card:hover {
	background: var(--orange);
	color: var(--ink);
}

.card--lg {
	min-height: 300px;
	padding: 32px;
}

.card__top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.card__meta {
	font-family: var(--font-mono);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.card__title {
	font-weight: 300;
	font-size: 26px;
	line-height: 1.15;
	letter-spacing: -0.01em;
}

.card--lg .card__title {
	font-size: 28px;
	text-wrap: balance;
}

.card__text {
	flex: 1;
	font-size: 16px;
}

.card--lg .card__text {
	text-wrap: pretty;
}

.card__foot {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding-top: 16px;
	border-top: var(--line);
	font-family: var(--font-mono);
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

/* The action label ("Číst více →") turns bold on hover: real Space Mono 700, same 612-unit advance, no shift */
.card:hover .card__foot > span:last-child,
.card:hover .card__foot:not(:has(> span)) {
	font-weight: 700;
}

/* Praxe overview: school cards and the audit call to action */
.card--hover-blue:hover {
	background: var(--blue);
}

.card__label {
	margin-bottom: -8px;
	font-family: var(--font-mono);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.card__list {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding-left: 1.2em;
	font-size: 16px;
	text-wrap: pretty;
}

/* Audit colours: light green at rest, green on hover – like the school cards go blue */
.card--cta {
	background: var(--green-light);
}

.card--cta:hover {
	background: var(--green);
}

.card--cta .card__title{
	font-weight: bold;
}

/* Team */
/* Medallions stacked on the left, the shared text beside them (one column under 943 px, see 15.) */
.team {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 8fr);
	border-top: var(--line);
	border-left: var(--line);
}

.team__member {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 24px;
	padding: 28px;
	border-right: var(--line);
	border-bottom: var(--line);
}

.team__photo {
	flex: none;
	width: 112px;
	height: 112px;
	border: var(--line);
	border-radius: 50%;
	object-fit: cover;
}

.team__body {
	flex: 1 1 220px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.team__name {
	font-weight: 300;
	font-size: 22px;
}

.team__role {
	font-family: var(--font-mono);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

/* Beside both medallions: the team's shared text, then the project note */
.team__shared {
	grid-column: 2;
	grid-row: 1 / span 2;
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 28px;
	border-right: var(--line);
	border-bottom: var(--line);
	text-wrap: pretty;
}

/* Space Grotesk has no italic cut: the slant is synthesized */
.team__quote {
	font-size: 20px;
	font-style: italic;
}

.team__about {
	font-size: 16px;
}

/* 9. Audit ----------------------------------------------------------------- */

.pillars {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
	background: var(--white);
	border-top: var(--line);
	border-left: var(--line);
}

.pillars__item {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 32px;
	border-right: var(--line);
	border-bottom: var(--line);
	transition: background 0.2s;
}

.pillars__item:hover {
	background: var(--green-light);
}

.pillars__label {
	font-family: var(--font-mono);
	font-weight: 700;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.pillars__title {
	font-weight: 300;
	font-size: 24px;
	line-height: 1.2;
	letter-spacing: -0.01em;
}

.pillars__text {
	font-size: 16px;
	text-wrap: pretty;
}

.video {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	display: flex;
	align-items: center;
	justify-content: center;
	background: repeating-linear-gradient(135deg, var(--green-light) 0 10px, #D3EBDF 10px 20px);
}

.video__media {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	background: var(--ink);
}

/* kore.js hides the native controls behind the design's play button until the first click */
.video--playing .video__play,
.video--playing .video__caption {
	display: none;
}

.video__play {
	position: relative;
	width: 96px;
	height: 96px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding-left: 6px;
	border: none;
	border-radius: 50%;
	background: var(--ink);
	color: var(--white);
	font-size: 28px;
	cursor: pointer;
}

.video__play:hover {
	background: var(--green-dark);
}

.video__caption {
	position: absolute;
	left: 20px;
	bottom: 16px;
	padding: 4px 10px;
	background: var(--white);
	border: var(--line);
	font-family: var(--font-mono);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.panels {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
	gap: 32px;
}

.panel {
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding: 40px;
	background: var(--white);
	border: var(--line);
}

.panel--dark {
	gap: 28px;
	background: var(--ink);
	color: var(--white);
}

.panel__title {
	font-weight: 300;
	font-size: 36px;
	line-height: 1.1;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

.panel__text {
	flex: 1;
	font-size: 17px;
	text-wrap: pretty;
}

.panel__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-top: 24px;
	border-top: var(--line);
}

.panel__meta {
	font-family: var(--font-mono);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.panel__cta {
	margin-top: auto;
}

/* 10. Studie --------------------------------------------------------------- */

.source-list {
	display: flex;
	flex-direction: column;
	border-top: var(--line);
}

.source-list__item {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 12px 32px;
	align-items: center;
	padding: 28px 0;
	border-bottom: var(--line);
	color: var(--ink);
	text-decoration: none;
}

/* The row highlight bleeds 24 px past the text on both sides */
.source-list__item:hover {
	color: var(--ink);
	background: var(--source-hover);
	box-shadow: -24px 0 0 var(--source-hover), 24px 0 0 var(--source-hover);
}

.source-list--hover-white { --source-hover: var(--white); }
.source-list--hover-orange { --source-hover: var(--orange-light); }

.source-list__body {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.source-list__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px;
	font-family: var(--font-mono);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.source-list__title {
	font-size: 24px;
	line-height: 1.2;
	letter-spacing: -0.01em;
	text-wrap: balance;
}

.source-list__text {
	max-width: 70ch;
	font-size: 16px;
	text-wrap: pretty;
}

.source-list__action {
	font-family: var(--font-mono);
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	white-space: nowrap;
}

/* 11. Praxe ---------------------------------------------------------------- */

.story {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
	gap: 32px 64px;
	align-items: start;
}

.story__text {
	max-width: 56ch;
	font-size: 19px;
	text-wrap: pretty;
}

.timeline {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
	border-top: var(--line);
}

.timeline__item {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 0 28px 32px 0;
}

.timeline__item:last-child {
	padding-right: 0;
}

.timeline__dot {
	width: 16px;
	height: 16px;
	margin-top: -8px;
	border: var(--line);
	border-radius: 50%;
	background: var(--blue);
}

.timeline__dot--current {
	background: var(--green);
}

.timeline__dot--planned {
	border-style: dashed;
	background: var(--white);
}

/* Dot + status badge on the line; same box as a bare dot, so the years stay aligned */
.timeline__mark {
	display: flex;
	align-items: center;
	gap: 8px;
	height: 16px;
	margin-top: -8px;
}

.timeline__mark .timeline__dot {
	flex: none;
	margin-top: 0;
}

.timeline__year {
	font-family: var(--font-mono);
	font-weight: 700;
	font-size: 32px;
	line-height: 1;
}

.timeline__badge {
	padding: 2px 10px;
	border: 1px dashed var(--ink);
	border-radius: 999px;
	background: var(--white);
	font-family: var(--font-mono);
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.timeline__badge--current {
	border-style: solid;
	background: var(--green);
}

.timeline__badge--done {
	border-style: solid;
	background: var(--blue);
}

.timeline__title {
	font-weight: 300;
	font-size: 24px;
	line-height: 1.15;
}

.timeline__text {
	font-size: 16px;
	text-wrap: pretty;
}

.lessons {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
	gap: 24px;
}

.lesson {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 32px;
	background: var(--white);
	border: var(--line);
}

.lesson__text {
	font-size: 18px;
	text-wrap: pretty;
}

.lesson__text:not(:last-child) {
	padding-bottom: 20px;
	border-bottom: var(--line);
}

.takeaway {
	max-width: 24ch;
	font-size: clamp(30px, 3.6vw, 48px);
	line-height: 1.1;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

.quotes {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
	gap: 48px 64px;
}

.quote {
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding-top: 28px;
	border-top: var(--line);
}

.quote__text {
	font-size: clamp(24px, 2.6vw, 32px);
	line-height: 1.2;
	letter-spacing: -0.01em;
	text-wrap: pretty;
}

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

.quote__who {
	display: flex;
	flex-direction: column;
}

.quote__name {
	font-size: 17px;
}

.quote__role {
	font-family: var(--font-mono);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.downloads {
	display: flex;
	flex-direction: column;
	border-top: var(--line);
}

.downloads__link {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	padding: 20px 0;
	border-bottom: var(--line);
	font-size: 19px;
	text-decoration: none;
}

.downloads__type {
	flex: none;
	padding: 6px 14px;
	border: var(--line);
	border-radius: 999px;
	font-family: var(--font-mono);
	font-size: 12px;
}

/* Running text from the `text` section (legal pages, 404): readable measure, spaced blocks */
.text {
	max-width: 72ch;
	text-wrap: pretty;
}

.text > * + * {
	margin-top: 16px;
}

.text h3 {
	margin-top: 40px;
	font-size: 22px;
	font-weight: 500;
	line-height: 1.3;
}

.text ul {
	padding-left: 22px;
}

.text li + li {
	margin-top: 6px;
}

.text h2 {
	margin-top: 48px;
	font-size: clamp(26px, 3vw, 34px);
	font-weight: 400;
	line-height: 1.15;
}

.text blockquote {
	padding-left: 20px;
	border-left: var(--line);
}

.text img {
	display: block;
	max-width: 100%;
	height: auto;
}

/* `display: block` on <table> turns the element itself into a plain scroll box; its thead/tbody/
   tr/th/td keep their table-part display values, so the browser still builds a normal table-layout
   box inside it (column widths intact) — that inner box can be wider than the outer one and scroll,
   without a wrapper element the sanitized HTML has no room for. */
.text table {
	display: block;
	width: 100%;
	overflow-x: auto;
	border-collapse: collapse;
}

.text th,
.text td {
	padding: 10px 12px;
	border-bottom: 1px solid var(--grey-300);
}

.text th {
	font-weight: 500;
	text-align: left;
	border-bottom: var(--line);
}

.text td p,
.text th p {
	margin: 0;
}

/* Sitemap page (/mapa-webu): ruled rows like .downloads, case studies indented below */
.sitemap-list {
	list-style: none;
	max-width: 760px;
	border-top: var(--line);
}

.sitemap-list__item {
	padding: 16px 0;
	border-bottom: var(--line);
	font-size: 19px;
}

.sitemap-list__sub {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-top: 12px;
	padding-left: var(--gutter);
	font-size: 16px;
}

/* 12. Contact + form ------------------------------------------------------- */

.contact__lead {
	max-width: 52ch;
	font-size: 18px;
}

.contact__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
	gap: 48px 80px;
	align-items: start;
}

/* Label–value rows; --dark sits on the ink panel */
.info-list {
	display: flex;
	flex-direction: column;
	border-top: var(--line);
}

.info-list__row {
	display: grid;
	grid-template-columns: 120px minmax(0, 1fr);
	gap: 16px;
	align-items: baseline;
	padding: 18px 0;
	border-bottom: var(--line);
}

.info-list__label {
	font-family: var(--font-mono);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.info-list__value {
	font-size: 20px;
}

.info-list--dark {
	border-top-color: var(--grey-700);
}

.info-list--dark .info-list__row {
	grid-template-columns: 140px minmax(0, 1fr);
	border-bottom-color: var(--grey-700);
}

.info-list--dark .info-list__label {
	color: var(--green);
}

.info-list--dark .info-list__value {
	font-size: 17px;
}

.form {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 32px;
	background: var(--white);
	border: var(--line);
}

.form__row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
	gap: 20px;
}

.form__field {
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-family: var(--font-mono);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.form__input,
.form__textarea {
	background: transparent;
	color: var(--ink);
	font-family: var(--font-sans);
	font-weight: 300;
	font-size: 18px;
	text-transform: none;
	letter-spacing: 0;
	outline: none;
}

.form__input {
	padding: 10px 0;
	border: none;
	border-bottom: var(--line);
}

.form__input:focus {
	border-bottom: 2px solid var(--pink);
}

.form__textarea {
	min-height: 140px;
	margin-top: 4px;
	padding: 12px;
	border: var(--line);
	resize: vertical;
}

.form__textarea:focus {
	border: 2px solid var(--pink);
}

/* 13. Footer --------------------------------------------------------------- */

.footer {
	background: var(--ink);
	color: var(--grey-100);
}

.footer__inner {
	display: flex;
	flex-direction: column;
	gap: 56px;
	padding-top: 72px;
	padding-bottom: 28px;
}

.footer__cols {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
	gap: 40px;
}

.footer__about {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.footer__logo {
	align-self: flex-start;
	height: 40px;
	width: auto;
}

.footer__claim {
	max-width: 32ch;
	font-size: 16px;
}

.footer__col {
	display: flex;
	flex-direction: column;
	gap: 10px;
	font-size: 16px;
}

.footer__heading {
	margin-bottom: 6px;
	color: var(--grey-500);
	font-family: var(--font-mono);
	font-weight: 400;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.footer__link {
	color: var(--grey-100);
	text-decoration: none;
}

.footer__link:hover { color: var(--yellow); }
.footer__link--green:hover { color: var(--green); }
.footer__link--blue:hover { color: var(--blue); }
.footer__link--orange:hover { color: var(--orange); }
.footer__link--pink:hover { color: var(--pink); }

.footer__partners {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px 32px;
	margin-bottom: -24px;
	padding-top: 32px;
	border-top: 1px solid var(--grey-500);
}

.footer__logos {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 24px 32px;
}

.footer__partner-logo {
	height: 64px;
	width: auto;
}

.footer__partner-logo--kraj {
	height: 58px;
}

/* Award (NCKP 2026): its own row under the menu, apart from the mandatory EU publicity below */
.footer__award {
	display: flex;
	align-items: center;
	gap: 20px;
}

.footer__award-seal {
	flex: none;
	width: 110px;
	height: auto;
}

.footer__award-text {
	max-width: 36ch;
	font-size: 16px;
	color: var(--grey-100);
}

/* Wide raster: sized by width (64 px tall × 4820/625), so max-width shrinks it in proportion */
.footer__partner-logo--eu {
	width: 494px;
	height: auto;
}

.footer__grant {
	flex: 1 1 160px;
	max-width: 400px;
	color: var(--grey-100);
	font-size: 14px;
	line-height: 1.5;
	text-wrap: pretty;
}

.footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 16px;
	padding-top: 20px;
	border-top: 1px solid var(--grey-500);
	color: var(--grey-500);
	font-family: var(--font-mono);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
}

.footer__legal-link {
	color: var(--grey-500);
	text-decoration: none;
}

.footer__legal-link:hover {
	color: var(--yellow);
}

/* 14. Radar (markup rendered by js/kore-radar.js) -------------------------- */

.kore-radar {
	display: flex;
	flex-direction: column;
	gap: 40px;
	color: var(--ink);
}

.kore-radar__head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: end;
	gap: 24px;
}

.kore-radar__head--bare {
	justify-content: flex-end;
}

.kore-radar__head-text {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.kore-radar__toggles {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.kore-radar__toggle {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 22px;
	border: var(--line);
	border-radius: 999px;
	color: var(--ink);
	font-family: var(--font-mono);
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	cursor: pointer;
	transition: opacity 0.2s, background 0.2s;
}

/* opts.legend: a single series shown as a label, nothing to toggle */
.kore-radar__toggle--static {
	background: var(--white);
	cursor: default;
}

/* Directly under the head (legend), not a full 40 px flex gap away */
.kore-radar__note {
	margin-top: -24px;
	font-size: 15px;
	color: color-mix(in srgb, var(--ink) 70%, transparent);
}

.kore-radar__swatch {
	flex: none;
}

.kore-radar__swatch--fill {
	width: 14px;
	height: 14px;
	border: 1px solid;
}

.kore-radar__swatch--line {
	width: 22px;
	height: 0;
}

/* 1 px gap on an ink background draws the divider in both the two-column and the stacked layout */
.kore-radar__box {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
	gap: 1px;
	background: var(--ink);
	border: var(--line);
}

.kore-radar__chart {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 360px;
	padding: 32px;
	background: var(--white);
}

.kore-radar__svg {
	display: block;
	width: 100%;
	max-width: 480px;
	height: auto;
	overflow: visible;
}

.kore-radar__list {
	display: flex;
	flex-direction: column;
	padding: 32px;
	background: var(--white);
}

.kore-radar__row {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0 -14px;
	padding: 12px 14px;
	outline: none;
	cursor: default;
	transition: background 0.2s;
}

.kore-radar__row:focus-visible {
	box-shadow: inset 0 0 0 2px var(--ink);
}

.kore-radar__row-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
}

.kore-radar__row-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.kore-radar__row-top {
	display: flex;
	align-items: center;
	gap: 8px;
}

.kore-radar__row-label {
	font-family: var(--font-mono);
	font-weight: 700;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	white-space: nowrap;
}

.kore-radar__badge {
	padding: 1px 8px;
	border: var(--line);
	border-radius: 999px;
	font-family: var(--font-mono);
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.kore-radar__row-name {
	font-size: 16px;
	line-height: 1.3;
	text-wrap: pretty;
}

.kore-radar__delta {
	font-family: var(--font-mono);
	font-weight: 700;
	font-size: 13px;
	white-space: nowrap;
}

.kore-radar__row-bar {
	display: flex;
	align-items: center;
	gap: 16px;
}

.kore-radar__track {
	position: relative;
	flex: 1;
	height: 10px;
	background: var(--grey-100);
}

.kore-radar__bar {
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	transition: opacity 0.2s;
}

.kore-radar__tick {
	position: absolute;
	top: -3px;
	width: 0;
	height: 16px;
	transition: opacity 0.2s;
}

.kore-radar__vals {
	flex: none;
	min-width: 88px;
	font-family: var(--font-mono);
	font-size: 13px;
	line-height: 1;
	text-align: right;
	white-space: nowrap;
}

/* Homepage: one series, thin bars */
.kore-radar--compact .kore-radar__track {
	height: 4px;
	background: var(--grey-300);
}

.kore-radar--compact .kore-radar__vals {
	min-width: 44px;
}

/* 15. Responsive ----------------------------------------------------------- */

/* Menu collapses behind a toggle */
@media (max-width: 960px) {
	.nav__toggle {
		display: flex;
		flex-direction: column;
		justify-content: center;
		gap: 6px;
		width: 44px;
		height: 44px;
		padding: 0 10px;
		background: transparent;
		border: var(--line);
		border-radius: 50%;
		cursor: pointer;
	}

	.nav__toggle-bar {
		display: block;
		height: 1px;
		background: var(--ink);
		transition: transform 0.2s, opacity 0.2s;
	}

	.nav--open .nav__toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.nav--open .nav__toggle-bar:nth-child(2) { opacity: 0; }
	.nav--open .nav__toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

	.nav__menu {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		display: none;
		flex-direction: column;
		gap: 0;
		padding: 8px var(--gutter) 16px;
		background: var(--white);
		border-bottom: var(--line);
	}

	.nav--open .nav__menu {
		display: flex;
	}

	.nav__link {
		padding: 14px 0;
	}

	.nav__link + .nav__link {
		border-top: 1px solid var(--grey-300);
	}
}

/* Two-column heroes stack: the media column moves under the text */
@media (max-width: 943px) {
	.hero__content,
	.hero__content--case {
		padding-right: 0;
	}
	.hero__media,
	.icon-grid,
	.facts {
		border-left: none;
		border-right: none;
		border-top: var(--line);
	}

	/* Content-sized cells: room for the hover word below the scaled icon */
	.icon-grid__cell {
		grid-template-rows: minmax(56px, 1fr) auto minmax(56px, 1fr);
	}

	/* Team: medallions, then the shared text under them */
	.team {
		grid-template-columns: minmax(0, 1fr);
	}

	.team__shared {
		grid-column: auto;
		grid-row: auto;
	}
}

@media (max-width: 600px) {
	:root {
		--gutter: 20px;
	}

	.award {
		gap: 18px;
	}

	.award__seal {
		width: 88px;
	}

	.award__text {
		font-size: 21px;
	}

	.nav__logo-img {
		height: 34px;
	}

	.section__inner,
	.section__inner--py-88 {
		padding-top: 64px;
		padding-bottom: 64px;
	}

	.section__inner--pt-48 {
		padding-top: 32px;
	}

	.phase-list--wide .phase-list__item {
		grid-template-columns: minmax(0, 1fr);
	}

	.hero__content,
	.hero__content--home {
		padding-top: 56px;
		padding-bottom: 64px;
	}

	.hero__content--case {
		padding-top: 40px;
		padding-bottom: 56px;
	}

	.page-title--home {
		font-size: clamp(36px, 11vw, 65px);
	}

	.eyebrow--hero {
		font-size: 18px;
	}

	.hero__art {
		padding: 32px;
		min-height: 240px;
	}

	.hero__art-img--brain {
		width: 100%;
		max-width: 320px;
		height: auto;
	}

	.hero__art-img--book {
		height: 260px;
	}

	.icon-grid__cell {
		grid-template-rows: minmax(24px, 1fr) auto minmax(24px, 1fr);
		padding: 0 24px;
	}

	/* Cells are too short for the hover word, and phones have no hover anyway */
	.icon-grid__word {
		display: none;
	}

	.facts__item {
		padding: 20px;
	}

	.facts__value {
		font-size: 22px;
	}

	.facts__value--priority {
		font-size: 19px;
	}

	.stats__item {
		padding: 16px;
	}

	.stats__value {
		font-size: 28px;
	}

	.jump-list__link {
		padding: 16px 20px;
	}

	.panel {
		padding: 28px 24px;
	}

	.panel__title {
		font-size: 30px;
	}

	.info-list--dark .info-list__row,
	.info-list__row {
		grid-template-columns: 1fr;
		gap: 4px;
	}

	.form {
		padding: 24px 20px;
	}

	.kore-radar__chart,
	.kore-radar__list {
		padding: 20px;
	}

	.kore-radar__chart {
		min-height: 0;
	}

	.timeline__item {
		padding-right: 0;
	}

	.footer__inner {
		padding-top: 56px;
	}
}
