/*
Theme Name: Breganja
Theme URI: https://breganja.com/
Author: Breganja
Description: Native WordPress block theme for the shared Breganja, Speleologija and Sportsko penjanje web experience.
Version: 1.35.9
Requires at least: 6.6
Tested up to: 6.8
Requires PHP: 8.1
Text Domain: breganja
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
	--breganja-radius-control: 4px;
	--breganja-radius-button: 6px;
	--breganja-radius-card: 8px;
	--breganja-motion-fast: 180ms;
	--breganja-motion-base: 220ms;
}

/*
 * Theme-owned Gutenberg layout contract.
 *
 * These native Group/Query wrappers are deliberately rendered as grid or
 * flex components by the Theme. Their direct-child spacing belongs to the
 * component gap/positioning rules, not to Gutenberg's flow blockGap margin.
 * Ordinary prose and unlisted flow containers retain WordPress spacing.
 */
body.home :where(
	.home-hero__split,
	.home-hero__panel,
	.home-current__grid,
	.home-current__secondary .wp-block-post-template,
	.home-signature__layout,
	.home-signature__entities,
	.home-intents__scene,
	.home-intent-world,
	.home-intent-world__heading,
	.home-introduction__inner,
	.home-activities__grid,
	.home-history__inner,
	.home-final__paths,
	.home-final__path
).is-layout-flow > *,
.spk-page :where(
	.spk-hero,
	.spk-paths__grid,
	.spk-path,
	.spk-split,
	.spk-adults__layout,
	.spk-adults__paths,
	.spk-gym__layout,
	.spk-final__paths
).is-layout-flow > *,
.speleo-page .wp-block-post-content :where(
	.inner-editorial-grid,
	.speleo-pillars,
	.speleo-field__layout,
	.speleo-archive__layout,
	.speleo-secondary-stories,
	.speleo-people__layout,
	.speleo-timeline,
	.speleo-timeline__item,
	.inner-story--featured,
	.speleo-stories__secondary .wp-block-post-template,
	.inner-final__layout,
	.inner-final__links
).is-layout-flow > * {
	margin-block-start: 0;
}

/* v1.22.1 — normal WordPress Pages render as destinations, not story cards. */
.breganja-static-page {
	--breganja-static-gutter: clamp(20px, 4vw, 64px);
	box-sizing: border-box;
	margin-block-start: 0;
	padding-block: clamp(64px, 8vw, 112px) clamp(96px, 10vw, 144px);
	background: var(--wp--preset--color--off-white);
	color: var(--wp--preset--color--ink);
	overflow-wrap: anywhere;
}

.breganja-static-page__title {
	box-sizing: border-box;
	width: min(calc(100% - (2 * var(--breganja-static-gutter))), var(--wp--style--global--content-size, 760px));
	max-width: none;
	margin: 0 auto;
	color: var(--wp--preset--color--ink);
	font-family: var(--wp--preset--font-family--manrope);
	font-size: clamp(2.375rem, 1.9rem + 2vw, 3.5rem);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.04;
}

.breganja-static-page > .breganja-static-page__content {
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	margin-block-start: var(--wp--preset--spacing--32);
	padding: 0;
}

.breganja-static-page > .breganja-static-page__content > :first-child {
	margin-block-start: 0;
}

.breganja-static-page__content.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignwide):not(.alignfull)) {
	box-sizing: border-box;
	width: min(calc(100% - (2 * var(--breganja-static-gutter))), var(--wp--style--global--content-size, 760px));
	max-width: none;
	margin-inline: auto;
}

.breganja-static-page__content.is-layout-constrained > .alignwide {
	box-sizing: border-box;
	width: min(calc(100% - (2 * var(--breganja-static-gutter))), var(--wp--style--global--wide-size, 1320px));
	max-width: none;
	margin-inline: auto;
}

.breganja-static-page__content.is-layout-constrained > .alignfull {
	width: 100%;
	max-width: none;
}

.breganja-static-page__content :is(img, video, iframe, object) {
	max-width: 100%;
}

.breganja-static-page__content :is(pre, .wp-block-table) {
	overflow-x: auto;
}

/* Sportsko penjanje landing — v1.14.0 */
.spk-page {
	--spk-gutter: clamp(20px, 4vw, 64px);
	--spk-section-space: clamp(72px, 9vw, 144px);
	background: var(--wp--preset--color--off-white);
}

.spk-page > * {
	margin-block-start: 0;
}

.spk-shell {
	box-sizing: border-box;
	width: min(100% - (2 * var(--spk-gutter)), var(--wp--style--global--wide-size));
	max-width: none;
	margin-inline: auto !important;
}

.spk-section {
	box-sizing: border-box;
	padding-block: var(--spk-section-space);
}

.spk-section__intro {
	max-width: 850px;
}

.spk-section__intro > *,
.spk-split__copy > *,
.spk-gym__copy > *,
.spk-hero__content > *,
.spk-final__inner > * {
	margin-block-start: 0;
}

.spk-eyebrow,
.spk-path__label,
.spk-hero__cue,
.spk-future-link,
.spk-gym__location {
	font-family: var(--wp--preset--font-family--montserrat);
	font-size: clamp(0.7rem, 0.67rem + 0.13vw, 0.78rem);
	font-weight: 600;
	letter-spacing: 0.11em;
	line-height: 1.35;
	text-transform: uppercase;
}

.spk-eyebrow,
.spk-path__label {
	color: var(--wp--preset--color--breganja-red);
}

.spk-eyebrow::after {
	display: inline-block;
	width: 38px;
	height: 1px;
	margin-left: 12px;
	background: currentColor;
	content: "";
	vertical-align: middle;
}

.spk-page h2 {
	max-width: 14ch;
	margin-block: clamp(14px, 2vw, 24px) 0;
	font-size: clamp(2.35rem, 5vw, 4.75rem);
	line-height: 0.97;
}

.spk-page h3 {
	margin-block: 12px 0;
}

.spk-lead {
	max-width: 62ch;
	font-size: clamp(1.08rem, 1rem + 0.4vw, 1.35rem);
	line-height: 1.55;
}

.spk-future-link {
	margin-block-start: 28px;
}

.spk-future-link span {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	border-bottom: 2px solid var(--wp--preset--color--breganja-red);
	color: inherit;
}

.spk-future-link a {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	border-bottom: 2px solid var(--wp--preset--color--breganja-red);
	color: inherit;
	text-decoration: none;
}

.spk-path__stretched-link {
	position: absolute;
	inset: 0;
	z-index: 2;
}

.spk-hero {
	position: relative;
	display: grid;
	min-height: clamp(700px, 100svh, 980px);
	overflow: hidden;
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--off-white);
	isolation: isolate;
}

.spk-hero__media,
.spk-hero__shade,
.spk-hero__content {
	grid-area: 1 / 1;
}

.spk-hero__media,
.spk-hero__media img {
	width: 100%;
	height: 100%;
}

.spk-hero__media {
	margin: 0;
}

.spk-hero__media img {
	display: block;
	object-fit: cover;
	object-position: 67% 45%;
}

.spk-hero__shade {
	z-index: 1;
	background: linear-gradient(90deg, rgba(23, 25, 24, 0.82) 0%, rgba(23, 25, 24, 0.42) 42%, rgba(23, 25, 24, 0.04) 72%);
}

.spk-hero__content {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding-block: clamp(160px, 19vh, 230px) clamp(72px, 9vh, 110px);
}

.spk-hero__identity {
	width: clamp(165px, 17vw, 270px);
	height: auto;
	margin-bottom: clamp(28px, 4vh, 52px);
}

.spk-hero .spk-eyebrow,
.spk-hero h1,
.spk-hero__lead,
.spk-hero__cue {
	max-width: 620px;
	color: var(--wp--preset--color--off-white);
}

.spk-hero h1 {
	margin-block: 16px 0;
	font-size: clamp(4rem, 8.6vw, 9rem);
	line-height: 0.88;
}

.spk-hero__lead {
	margin-block-start: 30px;
	font-size: clamp(1.15rem, 1rem + 0.65vw, 1.55rem);
	line-height: 1.45;
}

.spk-hero__cue {
	margin-block-start: clamp(36px, 6vh, 72px);
}

.spk-paths {
	background: var(--wp--preset--color--off-white);
}

.spk-paths__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: stretch;
	gap: clamp(16px, 2vw, 32px);
	margin-block-start: clamp(36px, 4.5vw, 60px) !important;
}

.spk-paths__grid > .spk-path {
	height: 100%;
}

.spk-path {
	position: relative;
	display: grid;
	min-height: clamp(500px, 61vw, 720px);
	overflow: hidden;
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--off-white);
}

.spk-path__media,
.spk-path__copy {
	grid-area: 1 / 1;
}

.spk-path__media,
.spk-path__media img {
	width: 100%;
	height: 100%;
}

.spk-path__media {
	margin: 0;
}

.spk-path__media::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(23, 25, 24, 0.88), rgba(23, 25, 24, 0.05) 70%);
	content: "";
}

.spk-path__media img {
	display: block;
	object-fit: cover;
	transition: transform var(--breganja-motion-base) ease;
}

.spk-path:nth-child(1) .spk-path__media img { object-position: 51% 45%; }
.spk-path:nth-child(2) .spk-path__media img { object-position: 63% 50%; }
.spk-path:nth-child(3) .spk-path__media img { object-position: 54% 48%; }

.spk-path__copy {
	position: relative;
	z-index: 1;
	align-self: end;
	padding: clamp(24px, 3vw, 44px);
}

.spk-path__copy h3,
.spk-path__copy p,
.spk-path__copy .spk-future-link span {
	color: var(--wp--preset--color--off-white);
}

.spk-path__copy h3 {
	max-width: 13ch;
	font-size: clamp(1.8rem, 2.6vw, 3.25rem);
	line-height: 1;
}

.spk-path__copy > p:not(.spk-path__label, .spk-future-link) {
	margin-block-start: 14px;
}

.spk-children {
	background: var(--wp--preset--color--mist);
}

.spk-split,
.spk-gym__layout {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	align-items: center;
	gap: clamp(40px, 7vw, 110px);
}

.spk-split__copy > p:not(.spk-eyebrow, .spk-future-link) {
	max-width: 60ch;
	margin-block-start: 24px;
}

.spk-split__media,
.spk-gym__media {
	margin: 0;
	overflow: hidden;
}

.spk-split__media img,
.spk-gym__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.spk-split__media {
	height: clamp(520px, 55vw, 760px);
}

.spk-split__media img {
	object-position: 52% 48%;
}

.spk-adults {
	background: var(--wp--preset--color--deep-cave);
	color: var(--wp--preset--color--off-white);
}

.spk-adults h2,
.spk-adults h3,
.spk-adults p {
	color: var(--wp--preset--color--off-white);
}

.spk-adults__layout {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: clamp(56px, 8vw, 140px);
}

.spk-adults__paths {
	display: grid;
	gap: 0;
	border-top: 1px solid rgba(247, 246, 242, 0.26);
}

.spk-adult-path {
	padding-block: clamp(32px, 4vw, 56px);
	border-bottom: 1px solid rgba(247, 246, 242, 0.26);
}

.spk-adult-path > p:not(.spk-path__label, .spk-future-link) {
	max-width: 52ch;
	margin-block-start: 18px;
}

.spk-gym {
	padding-block: 0;
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--off-white);
}

.spk-gym__layout {
	width: 100%;
	max-width: none;
	grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.65fr);
	gap: 0;
}

.spk-gym__media {
	height: clamp(650px, 72vw, 900px);
}

.spk-gym__media img {
	object-position: 50% 48%;
}

.spk-gym__copy {
	padding: clamp(52px, 7vw, 120px) var(--spk-gutter);
}

.spk-gym h2,
.spk-gym p,
.spk-gym .spk-future-link span {
	color: var(--wp--preset--color--off-white);
}

.spk-gym__location {
	margin-block-start: 28px;
}

.spk-events {
	background: var(--wp--preset--color--off-white);
}

.spk-stories {
	background: var(--wp--preset--color--mist);
}

.spk-stories__layout {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: clamp(48px, 8vw, 130px);
}

.spk-empty-state {
	max-width: 900px;
	margin-block-start: clamp(48px, 6vw, 88px);
	padding: clamp(32px, 5vw, 64px);
	border-top: 2px solid var(--wp--preset--color--breganja-red);
	background: rgba(232, 234, 231, 0.58);
}

.spk-stories .spk-empty-state {
	margin-block-start: 0;
	background: var(--wp--preset--color--off-white);
}

.spk-empty-state h3 {
	max-width: 19ch;
	margin-block-start: 0;
}

.spk-empty-state p {
	max-width: 52ch;
	margin-block-start: 18px;
}

.spk-final {
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--off-white);
}

.spk-final h2,
.spk-final h3,
.spk-final p,
.spk-final .spk-future-link span {
	color: var(--wp--preset--color--off-white);
}

.spk-final__inner > h2 {
	max-width: 12ch;
}

.spk-page .spk-final__inner > h2 + .spk-lead {
	margin-block-start: 24px;
}

.spk-final__paths {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-block-start: clamp(56px, 8vw, 110px);
	border-top: 1px solid rgba(247, 246, 242, 0.3);
}

.spk-final__path {
	padding: clamp(28px, 3vw, 48px);
	border-right: 1px solid rgba(247, 246, 242, 0.3);
}

.spk-final__path:first-child {
	padding-left: 0;
}

.spk-final__path:last-child {
	border-right: 0;
}

.spk-final__path h3 {
	max-width: 14ch;
}

@media (hover: hover) {
	.spk-path:hover .spk-path__media img {
		transform: scale(1.015);
	}
}

@media (max-width: 900px) {
	.spk-paths__grid,
	.spk-final__paths {
		grid-template-columns: 1fr;
	}

	.spk-path {
		min-height: clamp(480px, 90vw, 680px);
	}

	.spk-split,
	.spk-adults__layout,
	.spk-gym__layout,
	.spk-stories__layout {
		grid-template-columns: 1fr;
	}

	.spk-split__media {
		order: -1;
		height: min(78vw, 620px);
	}

	.spk-gym__media {
		height: min(82vw, 680px);
	}

	.spk-final__path,
	.spk-final__path:first-child {
		padding: 32px 0;
		border-right: 0;
		border-bottom: 1px solid rgba(247, 246, 242, 0.3);
	}

	.spk-final__path:last-child {
		border-bottom: 0;
	}
}

@media (max-width: 600px) {
	.spk-page {
		--spk-gutter: 20px;
		--spk-section-space: 72px;
	}

	.spk-hero {
		min-height: 760px;
	}

	.spk-hero__media img {
		object-position: 70% 50%;
	}

	.spk-hero__shade {
		background: linear-gradient(0deg, rgba(23, 25, 24, 0.88) 0%, rgba(23, 25, 24, 0.42) 54%, rgba(23, 25, 24, 0.08) 100%);
	}

	.spk-hero__content {
		padding-block: 130px 54px;
	}

	.spk-hero h1 {
		font-size: clamp(3.7rem, 18vw, 5.3rem);
	}

	.spk-paths__grid {
		gap: 16px;
	}

	.spk-path {
		min-height: 520px;
	}

	.spk-gym__copy {
		padding-inline: var(--spk-gutter);
	}
}

@media (prefers-reduced-motion: reduce) {
	.spk-path__media img {
		transition: none;
	}

	.spk-path:hover .spk-path__media img {
		transform: none;
	}
}

/*
 * Phase 1B cutoff recovery: retain this superseded Homepage layer as release
 * history, but remove it from the active cascade. The exact pre-Story pattern
 * does not contain these proof-story/tagline components.
 */
@media not all {
/* v1.29.0 — Homepage and SPK finalization. */
body.home .home-proof-stories {
	display: grid;
	gap: clamp(1.25rem, 2.5vw, 2rem);
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-inline: auto;
	max-width: var(--wp--style--global--wide-size);
	padding-inline: var(--home-gutter, clamp(1.25rem, 4vw, 4rem));
}

body.home .home-proof-story {
	display: flex;
	min-width: 0;
	flex-direction: column;
	background: var(--wp--preset--color--off-white);
	border: 1px solid rgb(23 25 24 / 16%);
	border-radius: var(--breganja-radius-card);
	overflow: hidden;
}

body.home .home-proof-story__media {
	display: block;
	aspect-ratio: 4 / 3;
	background: var(--wp--preset--color--mist);
	overflow: hidden;
}

body.home .home-proof-story__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

body.home .home-proof-story__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: clamp(1.25rem, 2.5vw, 2rem);
}

body.home .home-proof-story__label {
	color: var(--breganja-red);
	font-family: var(--wp--preset--font-family--montserrat);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

body.home .home-proof-story h3 {
	font-size: clamp(1.45rem, 1.2rem + 0.8vw, 2rem);
	line-height: 1.12;
	margin-block: 0.75rem 1rem;
}

body.home .home-proof-story h3 a,
body.home .home-proof-story__cta a {
	color: inherit;
	text-decoration: none;
}

body.home .home-proof-story__cta {
	margin-top: auto;
	padding-top: 1.25rem;
	font-family: var(--wp--preset--font-family--montserrat);
	font-weight: 700;
}

body.home .home-proof-story:focus-within {
	outline: 3px solid var(--breganja-red);
	outline-offset: 4px;
}

body.home .home-history__inner {
	align-items: center;
}

body.home .home-history__tagline {
	display: flex;
	grid-column: 1 / 7;
	min-width: 0;
	flex-direction: column;
	font-family: var(--wp--preset--font-family--montserrat);
	font-size: clamp(3.25rem, 7vw, 7.5rem);
	font-weight: 700;
	letter-spacing: -0.075em;
	line-height: 0.78;
	text-transform: lowercase;
}

body.home .home-history__tagline span:nth-child(2) {
	color: var(--breganja-red);
	font-size: 0.62em;
	line-height: 0.9;
	margin-left: 1.15em;
}

body.home .home-history__content {
	grid-column: 8 / 13;
}

body.home .home-history__content h2 {
	font-size: clamp(3.25rem, 5vw, 5.75rem);
	margin-block: 0.65rem 1rem;
}

body.home .home-history__content .home-history__copy,
body.home .home-history__content > p:has(> .home-history__link) {
	margin-block: 0 1.25rem;
}

@media (max-width: 781px) {
	body.home .home-proof-stories {
		grid-template-columns: minmax(0, 1fr);
	}

	body.home .home-history__tagline,
	body.home .home-history__content {
		grid-column: 1;
	}

	body.home .home-history__tagline {
		font-size: clamp(3rem, 17vw, 5.5rem);
		margin-bottom: 2rem;
	}
}
}


/* Sportsko penjanje landing — v1.14.1 proportion tuning. */
.spk-page {
	--spk-section-space: clamp(64px, 6.2vw, 104px);
}

.spk-page h2 {
	font-size: clamp(2.15rem, 3.15vw, 3.25rem);
	line-height: 1.02;
}

.spk-hero {
	min-height: clamp(680px, 82svh, 840px);
}

.spk-hero__content {
	justify-content: center;
	padding-block: clamp(112px, 13vh, 150px) clamp(52px, 7vh, 72px);
}

.spk-hero__identity {
	width: clamp(145px, 11vw, 190px);
	margin-bottom: clamp(20px, 2.5vh, 28px);
}

.spk-hero h1 {
	margin-block-start: 12px;
	font-size: clamp(3.75rem, 4.2vw, 4.5rem);
	line-height: 0.94;
}

.spk-hero__lead {
	max-width: 540px;
	margin-block-start: 22px;
	font-size: clamp(1.08rem, 0.99rem + 0.3vw, 1.25rem);
}

.spk-hero__cue {
	margin-block-start: clamp(28px, 4vh, 42px);
}

.spk-paths .spk-section__intro {
	max-width: 700px;
}

.spk-path {
	min-height: clamp(460px, 34vw, 590px);
}

.spk-path__copy {
	padding: clamp(24px, 2.25vw, 36px);
}

.spk-path__copy h3 {
	font-size: clamp(1.7rem, 2.05vw, 2.55rem);
	line-height: 1.03;
}

.spk-children {
	padding-block: clamp(72px, 6vw, 96px);
}

.spk-split {
	grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
	gap: clamp(40px, 5.5vw, 88px);
}

.spk-split__media {
	height: clamp(480px, 43vw, 650px);
}

.spk-adults {
	padding-block: clamp(72px, 6vw, 96px);
}

.spk-adults__layout {
	grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
	align-items: center;
	gap: clamp(52px, 6.5vw, 104px);
}

.spk-adults__paths {
	align-self: center;
}

.spk-adult-path {
	padding-block: clamp(28px, 3vw, 42px);
}

.spk-gym__layout {
	grid-template-columns: minmax(0, 1.15fr) minmax(430px, 0.85fr);
}

.spk-gym__media {
	height: clamp(590px, 54vw, 760px);
}

.spk-gym__copy {
	padding: clamp(56px, 6vw, 96px) clamp(40px, 5vw, 80px);
}

.spk-gym__copy > p:not(.spk-eyebrow, .spk-gym__location, .spk-future-link) {
	max-width: 52ch;
}

.spk-events,
.spk-stories {
	padding-block: clamp(64px, 5vw, 84px);
}

.spk-events .spk-section__intro {
	max-width: 780px;
}

.spk-empty-state {
	max-width: 780px;
	margin-block-start: clamp(30px, 3vw, 44px);
	padding: clamp(24px, 3vw, 40px);
}

.spk-stories__layout {
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
	align-items: center;
	gap: clamp(44px, 6vw, 96px);
}

.spk-stories .spk-empty-state {
	margin-block-start: 0;
}

.spk-final {
	padding-block: clamp(72px, 6vw, 96px);
}

.spk-final__paths {
	margin-block-start: clamp(44px, 5vw, 72px);
}

@media (max-width: 900px) {
	.spk-hero {
		min-height: clamp(650px, 82svh, 780px);
	}

	.spk-hero__content {
		justify-content: flex-end;
	}

	.spk-path {
		min-height: clamp(460px, 76vw, 620px);
	}

	.spk-split,
	.spk-adults__layout,
	.spk-gym__layout,
	.spk-stories__layout {
		grid-template-columns: 1fr;
	}

	.spk-split__media,
	.spk-gym__media {
		height: min(76vw, 590px);
	}
}

@media (max-width: 600px) {
	.spk-page {
		--spk-section-space: 64px;
	}

	.spk-page h2 {
		font-size: clamp(2rem, 10vw, 2.65rem);
	}

	.spk-hero {
		min-height: 680px;
	}

	.spk-hero__content {
		padding-block: 112px 48px;
	}

	.spk-hero__identity {
		width: 145px;
		margin-bottom: 20px;
	}

	.spk-hero h1 {
		font-size: clamp(3.5rem, 17vw, 4.35rem);
	}

	.spk-path {
		min-height: 480px;
	}

	.spk-children,
	.spk-adults,
	.spk-events,
	.spk-stories,
	.spk-final {
		padding-block: 64px;
	}

	.spk-split__media,
	.spk-gym__media {
		height: min(82vw, 520px);
	}

	.spk-gym__copy {
		padding: 56px var(--spk-gutter);
	}
}

/* Sportsko penjanje landing — v1.14.2 final visual corrections. */
.spk-page .spk-hero__content {
	transform: translateY(clamp(-56px, -4vh, -36px));
}

.spk-page .spk-gym__layout {
	width: min(100% - (2 * var(--spk-gutter)), var(--wp--style--global--wide-size, 1320px));
	margin-inline: auto !important;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	gap: clamp(40px, 4vw, 64px);
}

.spk-page .spk-gym__media {
	height: clamp(520px, 42vw, 660px);
}

.spk-page .spk-gym__copy {
	padding: clamp(48px, 5vw, 72px) 0;
}

.spk-page :is(
	.spk-children .spk-split__copy,
	.spk-adults .spk-section__intro,
	.spk-gym__copy,
	.spk-events .spk-section__intro,
	.spk-stories .spk-section__intro
) > h2 + p {
	margin-block-start: 24px;
}

@media (max-width: 900px) {
	.spk-page .spk-hero__content {
		transform: translateY(-24px);
	}

	.spk-page .spk-gym__layout {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.spk-page .spk-gym__media {
		height: min(68vw, 560px);
	}

	.spk-page .spk-gym__copy {
		padding: 56px 0;
	}
}

@media (max-width: 600px) {
	.spk-page .spk-hero__content {
		transform: translateY(-12px);
	}

	.spk-page .spk-gym__layout {
		width: calc(100% - (2 * var(--spk-gutter)));
	}

	.spk-page .spk-gym__media {
		height: min(82vw, 480px);
	}

	.spk-page .spk-gym__copy {
		padding-block: 48px;
	}
}

/* Sportsko penjanje landing — v1.14.3 targeted Hero and editorial-image pass. */
.spk-page .spk-hero {
	height: clamp(620px, calc(100svh - 105px), 840px);
	min-height: 0;
}

.spk-page .spk-hero__content {
	justify-content: center;
	margin-block-start: 0;
	padding-block: clamp(72px, 9vh, 96px) clamp(48px, 6vh, 72px);
	transform: none;
}

.spk-page .spk-hero__shade {
	margin-block-start: 0;
}

.spk-page .spk-hero__media {
	min-height: 0;
	overflow: hidden;
}

.spk-page :is(.spk-children .spk-split__media, .spk-gym__media) {
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-size: 100% 100%;
	mask-repeat: no-repeat;
	mask-size: 100% 100%;
}

.spk-page .spk-children .spk-split__media {
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 100%);
	mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 100%);
}

.spk-page .spk-gym__media {
	-webkit-mask-image: linear-gradient(90deg, #000 0%, #000 88%, transparent 100%);
	mask-image: linear-gradient(90deg, #000 0%, #000 88%, transparent 100%);
}

@media (max-width: 900px) {
	.spk-page .spk-hero {
		height: clamp(620px, calc(100svh - 96px), 780px);
	}

	.spk-page .spk-hero__content {
		justify-content: center;
		padding-block: clamp(80px, 10vh, 104px) clamp(44px, 6vh, 64px);
		transform: none;
	}

	.spk-page :is(.spk-children .spk-split__media, .spk-gym__media) {
		-webkit-mask-image: linear-gradient(180deg, #000 0%, #000 88%, transparent 100%);
		mask-image: linear-gradient(180deg, #000 0%, #000 88%, transparent 100%);
	}
}

@media (max-width: 600px) {
	.spk-page .spk-hero {
		height: clamp(616px, calc(100svh - 84px), 680px);
	}

	.spk-page .spk-hero__content {
		justify-content: flex-end;
		padding-block: 112px 48px;
	}
}

html {
	scroll-behavior: smooth;
}

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-wrap: break-word;
}

:where(a, button, input, select, textarea, summary):focus-visible {
	outline: 3px solid var(--wp--preset--color--breganja-red);
	outline-offset: 3px;
}

a {
	text-underline-offset: 0.18em;
	text-decoration-thickness: 0.08em;
}

.skip-link {
	background: var(--wp--preset--color--ink);
	border-radius: var(--breganja-radius-control);
	color: var(--wp--preset--color--off-white);
	font-family: var(--wp--preset--font-family--montserrat);
	font-size: 0.875rem;
	font-weight: 600;
	left: var(--wp--preset--spacing--16);
	padding: 0.75rem 1rem;
	position: fixed;
	top: var(--wp--preset--spacing--16);
	transform: translateY(-200%);
	transition: transform var(--breganja-motion-fast) ease;
	z-index: 100000;
}

.skip-link:focus {
	transform: translateY(0);
}

.site-header {
	background: color-mix(in srgb, var(--wp--preset--color--off-white) 96%, transparent);
	border-bottom: 1px solid var(--wp--preset--color--mist);
	position: sticky;
	top: 0;
	z-index: 1000;
	backdrop-filter: blur(12px);
}

body.home .site-header {
	left: 0;
	position: fixed;
	right: 0;
	top: var(--wp-admin--admin-bar--height, 0px);
	transition: background-color var(--breganja-motion-base) ease,
		border-color var(--breganja-motion-base) ease,
		box-shadow var(--breganja-motion-base) ease;
}

body.home:not(.breganja-header-compact) .site-header {
	background: linear-gradient(to bottom, rgb(23 25 24 / 82%) 0%, rgb(23 25 24 / 38%) 58%, transparent 100%);
	border-color: rgb(255 255 255 / 18%);
	box-shadow: none;
	color: var(--wp--preset--color--white);
	backdrop-filter: none;
}

body.home:not(.breganja-header-compact) .site-header a,
body.home:not(.breganja-header-compact) .site-header button {
	color: var(--wp--preset--color--white);
}

body.home.breganja-header-compact .site-header {
	background: color-mix(in srgb, var(--wp--preset--color--off-white) 98%, transparent);
	border-color: var(--wp--preset--color--mist);
	box-shadow: 0 8px 24px rgb(23 25 24 / 8%);
	color: var(--wp--preset--color--ink);
	backdrop-filter: blur(14px);
}

body.home.breganja-header-compact .site-header__inner {
	min-height: 4.25rem;
}

body.home:not(.breganja-header-compact) .site-header__inner {
	min-height: 5.5rem;
}

body.home:not(.breganja-header-compact) .site-header .wp-block-site-title {
	text-shadow: 0 1px 16px rgb(23 25 24 / 45%);
}

body.home:not(.breganja-header-compact) .site-header .wp-block-navigation-item__content {
	text-shadow: 0 1px 14px rgb(23 25 24 / 48%);
}

body.home:not(.breganja-header-compact) .site-header .wp-block-navigation__submenu-container {
	color: var(--wp--preset--color--ink);
	text-shadow: none;
}

.site-header__inner {
	min-height: 5rem;
	transition: min-height var(--breganja-motion-base) ease;
}

.site-header .wp-block-site-logo img {
	display: block;
	max-height: 2.5rem;
	width: auto;
}

.site-header .wp-block-site-title,
.site-header .wp-block-navigation {
	font-family: var(--wp--preset--font-family--montserrat);
}

.site-header .wp-block-site-title {
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.site-header .wp-block-navigation-item__content {
	min-height: 44px;
	display: inline-flex;
	align-items: center;
}

.site-header .wp-block-navigation__submenu-container {
	border: 1px solid var(--wp--preset--color--mist) !important;
	border-radius: var(--breganja-radius-card);
	box-shadow: 0 12px 32px rgb(23 25 24 / 12%);
	padding: 0.5rem;
}

.site-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	border-radius: var(--breganja-radius-control);
	padding-inline: 0.75rem;
}

.site-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
.site-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus-visible {
	background: var(--wp--preset--color--mist);
}

.site-header .wp-block-navigation__submenu-container [data-future-href] {
	cursor: default;
	opacity: 0.72;
}

.site-header .wp-block-navigation__submenu-container [data-future-href]:hover {
	background: transparent;
}

.wp-block-button__link,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	min-height: 48px;
	transition: background-color var(--breganja-motion-fast) ease,
		color var(--breganja-motion-fast) ease,
		border-color var(--breganja-motion-fast) ease;
}

input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]):not([type="reset"]),
select,
textarea {
	border: 1px solid var(--wp--preset--color--mist);
	border-radius: var(--breganja-radius-control);
	color: var(--wp--preset--color--ink);
	font: inherit;
	font-size: max(1rem, 16px);
	min-height: 48px;
	padding: 0.75rem 1rem;
	width: 100%;
}

textarea {
	min-height: 9rem;
	resize: vertical;
}

.site-footer a {
	color: inherit;
}

.site-footer .wp-block-navigation {
	font-family: var(--wp--preset--font-family--montserrat);
	font-size: 0.8125rem;
	font-weight: 500;
}

/* Homepage v0.2 ---------------------------------------------------------- */
.breganja-home section {
	position: relative;
}

.home-section {
	padding-block: clamp(4.5rem, 9vw, 8rem);
}

.home-section__eyebrow,
.home-card__meta,
.home-hero__world {
	font-family: var(--wp--preset--font-family--montserrat);
	font-size: clamp(0.75rem, 0.7rem + 0.15vw, 0.875rem);
	font-weight: 600;
	letter-spacing: 0.08em;
	line-height: 1.3;
	text-transform: uppercase;
}

.home-section__intro {
	max-width: 46rem;
}

.home-hero {
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--white);
	min-height: 100svh;
}

.home-hero__split {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	min-height: 100svh;
}

.home-hero__panel {
	align-items: flex-end;
	display: flex;
	isolation: isolate;
	min-height: 100svh;
	overflow: hidden;
	position: relative;
	transition: filter var(--breganja-motion-slow, 250ms) ease;
}

.home-hero__panel::after {
	background:
		linear-gradient(to top, rgb(23 25 24 / 94%) 0%, rgb(23 25 24 / 58%) 34%, rgb(23 25 24 / 22%) 66%, rgb(23 25 24 / 46%) 100%),
		linear-gradient(to right, rgb(23 25 24 / 32%), transparent 58%);
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
	z-index: -1;
}

.home-hero__panel::before {
	background: linear-gradient(to bottom, rgb(23 25 24 / 18%), transparent 40%);
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
	z-index: -1;
}

.home-hero__image {
	height: 100%;
	inset: 0;
	object-fit: cover;
	position: absolute;
	transition: transform var(--breganja-motion-slow, 250ms) ease;
	width: 100%;
	z-index: -2;
}

.home-hero__panel--speleo .home-hero__image {
	object-position: 52% 48%;
}

.home-hero__panel--spk .home-hero__image {
	object-position: 58% 48%;
}

.home-hero__panel:where(:hover, :focus-within) .home-hero__image {
	transform: scale(1.018);
}

.home-hero__content {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	max-width: 46rem;
	padding: clamp(8rem, 14vw, 12rem) clamp(1.5rem, 5vw, 5rem) clamp(5.5rem, 12vh, 8rem);
	width: 100%;
}

.home-hero__title {
	color: var(--wp--preset--color--white) !important;
	font-size: clamp(3rem, 5.4vw, 4.5rem);
	font-weight: 700;
	letter-spacing: -0.045em;
	line-height: 0.98;
	margin-block: 0.65rem 1.4rem;
	max-width: 9ch;
	text-wrap: balance;
}

.home-hero__world {
	align-items: center;
	display: inline-flex;
	gap: 0.65rem;
	margin: 0;
	text-shadow: 0 1px 16px rgb(23 25 24 / 65%);
}

.home-hero__world,
.home-hero__link {
	color: var(--wp--preset--color--white) !important;
}

.home-hero__world::before {
	background: var(--wp--preset--color--breganja-red);
	content: "";
	height: 2px;
	width: 2rem;
}

.home-hero__link {
	border-bottom: 1px solid rgb(255 255 255 / 72%);
	color: inherit;
	display: inline-flex;
	font-family: var(--wp--preset--font-family--montserrat);
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.025em;
	min-height: 48px;
	align-items: center;
	text-decoration: none;
	text-shadow: 0 1px 14px rgb(23 25 24 / 70%);
	transition: border-color var(--breganja-motion-fast) ease,
		transform var(--breganja-motion-fast) ease;
}

.home-hero__link:hover {
	border-color: var(--wp--preset--color--breganja-red);
	color: inherit;
	text-decoration: none;
	transform: translateX(3px);
}

.home-hero__statement {
	background: rgb(23 25 24 / 90%);
	bottom: 0;
	font-family: var(--wp--preset--font-family--montserrat);
	font-size: 0.75rem;
	font-weight: 600;
	left: 50%;
	letter-spacing: 0.12em;
	padding: 0.8rem 1.15rem;
	position: absolute;
	text-transform: uppercase;
	transform: translateX(-50%);
	white-space: nowrap;
	z-index: 3;
}

.home-hero__panel:focus-within {
	box-shadow: inset 0 0 0 3px var(--wp--preset--color--white);
}

.home-current__grid {
	display: grid;
	gap: var(--wp--preset--spacing--32);
	grid-template-columns: minmax(0, 1.6fr) minmax(17rem, 1fr);
}

.home-current__secondary .wp-block-post-template {
	display: grid;
	gap: var(--wp--preset--spacing--24);
}

.home-story-card {
	border-bottom: 1px solid var(--wp--preset--color--mist);
	height: 100%;
	padding-bottom: var(--wp--preset--spacing--24);
}

.home-story-card .wp-block-post-featured-image {
	aspect-ratio: 4 / 3;
	margin-bottom: var(--wp--preset--spacing--24);
	overflow: hidden;
}

.home-story-card .wp-block-post-featured-image img {
	height: 100%;
	object-fit: cover;
	transition: transform var(--breganja-motion-base) ease;
	width: 100%;
}

.home-story-card:focus-within .wp-block-post-featured-image img,
.home-story-card:hover .wp-block-post-featured-image img {
	transform: scale(1.015);
}

.home-story-card .wp-block-post-title a {
	text-decoration: none;
}

.home-story-card .wp-block-post-terms,
.home-story-card .wp-block-post-date {
	font-family: var(--wp--preset--font-family--montserrat);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.home-story-card--featured .wp-block-post-title {
	font-size: clamp(2rem, 3.7vw, 3.5rem) !important;
}

.home-signature {
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--white);
	overflow: hidden;
}

.home-signature__layout {
	display: grid;
	gap: clamp(2rem, 6vw, 6rem);
	grid-template-columns: minmax(0, 0.9fr) minmax(17rem, 0.75fr) minmax(0, 0.9fr);
	min-height: 48rem;
	align-items: center;
}

.home-signature__figure {
	margin: 0;
	position: relative;
}

.home-signature__figure img {
	display: block;
	height: clamp(22rem, 44vw, 37rem);
	object-fit: cover;
	width: 100%;
}

.home-signature__figure--depth {
	align-self: end;
}

.home-signature__figure--height {
	align-self: start;
}

.home-signature__figure figcaption {
	font-family: var(--wp--preset--font-family--montserrat);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	margin-top: 0.75rem;
	text-transform: uppercase;
}

.home-signature__copy {
	text-align: center;
}

.home-intents__grid {
	display: grid;
	gap: var(--wp--preset--spacing--16);
	grid-template-columns: repeat(12, 1fr);
}

.home-intent {
	background: var(--wp--preset--color--mist);
	border: 1px solid transparent;
	border-radius: var(--breganja-radius-card);
	color: var(--wp--preset--color--ink);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 19rem;
	padding: clamp(1.5rem, 4vw, 3rem);
	text-decoration: none;
	transition: background-color var(--breganja-motion-base) ease,
		border-color var(--breganja-motion-base) ease,
		transform var(--breganja-motion-base) ease;
}

.home-intent:nth-child(1),
.home-intent:nth-child(4) {
	grid-column: span 7;
}

.home-intent:nth-child(2),
.home-intent:nth-child(3) {
	grid-column: span 5;
}

.home-intent--spk {
	background: var(--wp--preset--color--off-white);
	border-color: var(--wp--preset--color--mist);
}

.home-intent--speleo {
	background: var(--wp--preset--color--deep-cave);
	color: var(--wp--preset--color--white);
}

.home-intent:hover {
	border-color: var(--wp--preset--color--breganja-red);
	color: inherit;
	transform: translateY(-3px);
}

.home-intent__title {
	font-size: clamp(1.75rem, 3vw, 3rem);
	font-weight: 700;
	line-height: 1.1;
}

.home-people {
	background: var(--wp--preset--color--mist);
}

.home-people__mosaic {
	display: grid;
	gap: var(--wp--preset--spacing--24);
	grid-template-columns: minmax(0, 1.35fr) minmax(17rem, 0.65fr);
}

.home-people__visual {
	min-height: clamp(25rem, 50vw, 42rem);
	overflow: hidden;
	position: relative;
}

.home-people__visual img {
	height: 100%;
	object-fit: cover;
	position: absolute;
	width: 100%;
}

.home-people__proofs {
	display: grid;
	gap: var(--wp--preset--spacing--24);
}

.home-proof {
	background: var(--wp--preset--color--off-white);
	border-radius: var(--breganja-radius-card);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 12rem;
	padding: var(--wp--preset--spacing--24);
}

.home-proof--dark {
	background: var(--wp--preset--color--forest-dark);
	color: var(--wp--preset--color--white);
}

.home-development-note {
	border-left: 3px solid var(--wp--preset--color--breganja-red);
	font-size: 0.875rem;
	margin-top: var(--wp--preset--spacing--24);
	padding-left: var(--wp--preset--spacing--16);
}

.home-final {
	background: var(--wp--preset--color--deep-cave);
	color: var(--wp--preset--color--white);
	text-align: center;
}

.home-final__paths {
	display: grid;
	gap: var(--wp--preset--spacing--16);
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: var(--wp--preset--spacing--48);
}

.home-final__path {
	border: 1px solid rgb(255 255 255 / 38%);
	border-radius: var(--breganja-radius-card);
	color: inherit;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 14rem;
	padding: var(--wp--preset--spacing--32);
	text-decoration: none;
	transition: background-color var(--breganja-motion-base) ease,
		border-color var(--breganja-motion-base) ease;
}

.home-final__path:hover {
	background: rgb(255 255 255 / 8%);
	border-color: var(--wp--preset--color--white);
	color: inherit;
}

.home-final__path strong {
	font-size: clamp(1.75rem, 4vw, 3.5rem);
	line-height: 1.1;
}

.home-final__contact {
	margin-top: var(--wp--preset--spacing--32);
}

.home-final__contact a {
	color: inherit;
}

@media (max-width: 781px) {
	.site-header:has(.wp-block-navigation__responsive-container.is-menu-open) {
		left: 0;
		position: fixed;
		right: 0;
		top: var(--wp-admin--admin-bar--height, 0px);
		z-index: 99998;
		backdrop-filter: none;
	}

	.site-header__inner {
		min-height: 4.5rem;
	}

	.site-header .wp-block-navigation__responsive-container.is-menu-open {
		background: var(--wp--preset--color--off-white);
		color: var(--wp--preset--color--ink);
		padding: var(--wp--preset--spacing--24) var(--wp--preset--spacing--20);
	}

	.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
		align-items: stretch;
		gap: 0.25rem;
		width: 100%;
	}

	.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > .wp-block-navigation-item {
		width: 100%;
	}

	.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
		min-width: 0;
		width: 100%;
		margin: 0.125rem 0 0.5rem;
		padding: 0.125rem 0 0.25rem 1rem;
		border: 0 !important;
		border-radius: 0;
		background: transparent !important;
		box-shadow: none;
	}

	.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container > .wp-block-navigation-item {
		width: 100%;
	}

	.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
		width: 100%;
		min-height: 48px;
		padding: 0.5rem;
	}

	.site-header .wp-block-navigation__responsive-container-content {
		min-height: calc(100dvh - 3rem);
	}

	.site-header .wp-block-navigation__responsive-container .wp-block-navigation-item__content {
		font-size: 1rem;
		min-height: 48px;
	}

	body.home:not(.breganja-header-compact) .site-header .wp-block-navigation__responsive-container.is-menu-open,
	body.home:not(.breganja-header-compact) .site-header .wp-block-navigation__responsive-container.is-menu-open a,
	body.home:not(.breganja-header-compact) .site-header .wp-block-navigation__responsive-container.is-menu-open button {
		color: var(--wp--preset--color--ink);
	}

	.home-hero__split,
	.home-current__grid,
	.home-signature__layout,
	.home-people__mosaic,
	.home-final__paths {
		grid-template-columns: 1fr;
	}

	.home-hero__panel {
		min-height: max(50svh, 28rem);
	}

	.home-hero__content {
		padding: 7.5rem var(--wp--preset--spacing--20) 4.25rem;
	}

	.home-hero__panel--speleo .home-hero__image {
		object-position: 51% 50%;
	}

	.home-hero__panel--spk .home-hero__image {
		object-position: 58% 50%;
	}

	.home-hero__title {
		font-size: clamp(2.75rem, 12vw, 4rem);
	}

	.home-hero__statement {
		display: none;
	}

	.home-signature__layout {
		min-height: 0;
	}

	.home-signature__copy {
		grid-row: 1;
	}

	.home-signature__figure--depth {
		grid-row: 2;
	}

	.home-signature__figure--height {
		grid-row: 3;
	}

	.home-signature__figure img {
		height: min(120vw, 34rem);
	}

	.home-intents__grid {
		grid-template-columns: 1fr;
	}

	.home-intent,
	.home-intent:nth-child(n) {
		grid-column: auto;
		min-height: 15rem;
	}

	.home-intent:nth-child(1) { order: 1; }
	.home-intent:nth-child(2) { order: 2; }
	.home-intent:nth-child(3) { order: 3; }
	.home-intent:nth-child(4) { order: 4; }
}

/* v1.2 — Intent / Choose your path: two connected editorial worlds. */
.home-intents {
	background: var(--wp--preset--color--off-white);
	overflow: clip;
	padding-block: clamp(4rem, 7vh, 5.5rem);
}

.home-intents__scene {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
	gap: clamp(3rem, 6vw, 7rem);
	margin-top: clamp(2rem, 4vh, 3rem);
	position: relative;
}

.home-intents__scene::after {
	background: linear-gradient(180deg, transparent, var(--breganja-red) 22%, var(--breganja-red) 78%, transparent);
	content: "";
	height: 72%;
	left: 53.5%;
	op: 14%;
	position: absolute;
	transform: translateX(-50%);
	width: 1px;
}

.home-intent-world {
	display: grid;
	grid-template-rows: auto minmax(12rem, 1fr) auto;
	min-height: clamp(28rem, 52vh, 35rem);
	position: relative;
}

.home-intent-world__heading,
.home-intent-world__paths {
	position: relative;
	z-index: 2;
}

.home-intent-world__heading h3 {
	font-size: clamp(2rem, 3.2vw, 3.8rem);
	letter-spacing: -0.045em;
	line-height: 0.95;
	margin: 0;
	max-width: 11ch;
}

.home-intent-world__heading h3 span,
.home-intent-path__direction {
	color: var(--breganja-red);
}

.home-intent-world__visual {
	inset: 4rem -2% 7rem 34%;
	margin: 0;
	pointer-events: none;
	position: absolute;
}

.home-intent-world__visual img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.home-intent-world--spk .home-intent-world__visual {
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 24%, #000 82%, transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0%, #000 24%, #000 82%, transparent 100%);
}

.home-intent-world--spk .home-intent-world__visual img {
	object-position: 56% 48%;
}

.home-intent-world--speleo .home-intent-world__heading,
.home-intent-world--speleo .home-intent-world__paths {
	margin-left: auto;
	width: min(100%, 28rem);
}

.home-intent-world--speleo .home-intent-world__visual {
	inset: 5.5rem 30% 5rem -5%;
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 74%, transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 74%, transparent 100%);
}

.home-intent-world--speleo .home-intent-world__visual img {
	object-position: 50% 52%;
}

.home-intent-world__paths {
	align-self: end;
	width: min(100%, 30rem);
}

.home-intent-path {
	align-items: end;
	background: transparent;
	color: var(--wp--preset--color--charcoal);
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	min-height: 5.25rem;
	padding: 1rem 0 0.9rem;
	position: relative;
	text-decoration: none;
}

.home-intent-path::after {
	background: var(--breganja-red);
	bottom: 0;
	content: "";
	height: 2px;
	left: 0;
	position: absolute;
	transform: scaleX(0.16);
	transform-origin: left;
	transition: transform 220ms ease;
	width: 100%;
}

.home-intent-path__label {
	font-family: var(--wp--preset--font-family--montserrat);
	font-size: 0.7rem;
	font-weight: 700;
	grid-column: 1 / -1;
	letter-spacing: 0.08em;
	margin-bottom: 0.35rem;
	text-transform: uppercase;
}

.home-intent-path strong {
	font-size: clamp(1.08rem, 1.35vw, 1.45rem);
	line-height: 1.18;
}

.home-intent-path__direction {
	font-family: var(--wp--preset--font-family--montserrat);
	font-size: 1.3rem;
	font-weight: 700;
	padding-left: 1rem;
	transition: transform 220ms ease;
}

.home-intent-path:hover::after,
.home-intent-path:focus-visible::after {
	transform: scaleX(1);
}

.home-intent-world--spk .home-intent-path:hover .home-intent-path__direction,
.home-intent-world--spk .home-intent-path:focus-visible .home-intent-path__direction {
	transform: translateY(-0.25rem);
}

.home-intent-world--speleo .home-intent-path:hover .home-intent-path__direction,
.home-intent-world--speleo .home-intent-path:focus-visible .home-intent-path__direction {
	transform: translateY(0.25rem);
}

.home-intent-path:focus-visible {
	border-radius: 2px;
	outline: 3px solid var(--breganja-red);
	outline-offset: 4px;
}

@media (max-width: 1100px) and (min-width: 782px) {
	.home-intents__scene {
		gap: 3rem;
	}

	.home-intents__scene::after {
		left: 52.5%;
	}

	.home-intent-world__visual {
		opacity: 0.78;
	}
}

@media (max-width: 781px) {
	.home-intents {
		padding-block: 4.5rem;
	}

	.home-intents__scene {
		display: grid;
		gap: 4.5rem;
		grid-template-columns: minmax(0, 1fr);
		margin-top: 2.25rem;
	}

	.home-intents__scene::after {
		display: none;
	}

	.home-intent-world {
		display: grid;
		grid-template-rows: auto auto auto;
		min-height: 0;
	}

	.home-intent-world__heading h3 {
		font-size: clamp(2rem, 10vw, 3rem);
		max-width: none;
	}

	.home-intent-world__visual,
	.home-intent-world--speleo .home-intent-world__visual {
		inset: auto;
		height: clamp(10rem, 48vw, 13rem);
		margin: 1.25rem 0 0.5rem;
		position: relative;
		width: 100%;
		-webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 82%, transparent 100%);
		mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 82%, transparent 100%);
	}

	.home-intent-world--spk .home-intent-world__visual img {
		object-position: 50% 46%;
	}

	.home-intent-world--speleo .home-intent-world__visual img {
		object-position: 50% 52%;
	}

	.home-intent-world--speleo .home-intent-world__heading,
	.home-intent-world--speleo .home-intent-world__paths,
	.home-intent-world__paths {
		margin-left: 0;
		width: 100%;
	}

	.home-intent-path {
		min-height: 5.5rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.home-intent-path::after,
	.home-intent-path__direction {
		transition: none;
	}
}

/* v1.13.5 — editor-replaceable archival image slot in the locked History composition. */
body.home .home-history__visual {
	aspect-ratio: 4 / 3;
	grid-column: 1 / 7;
	margin: 0 0 var(--home-space-s);
	max-width: 24rem;
	overflow: hidden;
	width: 100%;
}

body.home .home-history__visual img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

@media (max-width: 781px) {
	body.home .home-history__visual {
		grid-column: 1;
		margin-bottom: var(--home-space-xs);
		max-width: 32rem;
	}
}

/* v1.3 — homepage composition and golden-ratio refinement ----------- */
:root {
	--home-space-s: clamp(1rem, 1.2vw, 1.25rem);
	--home-space-m: clamp(1.625rem, 2.1vw, 2rem);
	--home-space-l: clamp(2.625rem, 3.5vw, 3.375rem);
	--home-space-xl: clamp(4.25rem, 6vw, 5.5rem);
}

/* A shared modular rhythm without changing the locked global grid. */
.home-section:not(.home-hero),
.home-introduction {
	padding-block: var(--home-space-xl);
}

.home-introduction {
	padding-top: clamp(7rem, 10vw, 8.5rem);
}

.home-current {
	padding-block: var(--home-space-xl) !important;
}

.home-section__header {
	margin-bottom: var(--home-space-l);
}

.home-section__header h2,
.home-current > .home-grid > h2,
.home-people > .home-grid > h2 {
	font-size: clamp(2.125rem, 2.4vw + 1rem, 3.625rem);
	letter-spacing: -0.04em;
	line-height: 0.98;
	margin-block: var(--home-space-s) 0;
}

.home-section__intro {
	font-size: clamp(1rem, 0.92rem + 0.32vw, 1.25rem);
	line-height: 1.58;
	margin-top: var(--home-space-s);
	max-width: 42rem;
}

/* Intent: two stacked editorial bands; text and imagery never overlap. */
.home-intents {
	overflow: clip;
	padding-block: var(--home-space-xl);
}

.home-intents__scene {
	display: grid;
	gap: var(--home-space-m);
	grid-template-columns: minmax(0, 1fr);
	margin-top: 0;
}

.home-intents__scene::after {
	display: none;
}

.home-intent-world {
	align-items: stretch;
	display: grid;
	gap: 0 var(--home-space-l);
	grid-template-rows: auto 1fr;
	min-height: clamp(16rem, 29vh, 19rem);
	position: relative;
}

.home-intent-world--spk {
	grid-template-columns: minmax(0, 1.618fr) minmax(18rem, 1fr);
}

.home-intent-world--speleo {
	grid-template-columns: minmax(18rem, 1fr) minmax(0, 1.618fr);
}

.home-intent-world__heading {
	align-self: end;
	position: relative;
	z-index: 1;
}

.home-intent-world__heading h3 {
	font-size: clamp(2rem, 2.5vw, 3.25rem);
	letter-spacing: -0.04em;
	line-height: 0.98;
	margin: 0 0 var(--home-space-s);
	max-width: 12ch;
}

.home-intent-world__visual,
.home-intent-world--speleo .home-intent-world__visual {
	align-self: stretch;
	grid-row: 1 / 3;
	height: auto;
	inset: auto;
	margin: 0;
	min-height: 16rem;
	opacity: 1;
	position: relative;
	width: 100%;
	z-index: 0;
}

.home-intent-world--spk .home-intent-world__visual {
	grid-column: 1;
	-webkit-mask-image: linear-gradient(90deg, #000 0%, #000 88%, transparent 100%);
	mask-image: linear-gradient(90deg, #000 0%, #000 88%, transparent 100%);
}

.home-intent-world--speleo .home-intent-world__visual {
	grid-column: 2;
	-webkit-mask-image: linear-gradient(270deg, #000 0%, #000 88%, transparent 100%);
	mask-image: linear-gradient(270deg, #000 0%, #000 88%, transparent 100%);
}

.home-intent-world__visual img {
	height: 100%;
	min-height: 16rem;
	object-fit: cover;
	width: 100%;
}

.home-intent-world--spk .home-intent-world__visual img {
	object-position: 52% 48%;
}

.home-intent-world--speleo .home-intent-world__visual img {
	object-position: 50% 46%;
}

.home-intent-world--spk .home-intent-world__heading,
.home-intent-world--spk .home-intent-world__paths {
	grid-column: 2;
}

.home-intent-world--speleo .home-intent-world__heading,
.home-intent-world--speleo .home-intent-world__paths {
	grid-column: 1;
	margin-left: 0;
	width: 100%;
}

.home-intent-world__paths {
	align-self: end;
	position: relative;
	width: 100%;
	z-index: 1;
}

.home-intent-path {
	min-height: 4.75rem;
	padding-block: 0.8rem;
}

.home-intent-path strong {
	font-size: clamp(1.05rem, 0.9rem + 0.45vw, 1.4rem);
}

/* Existing homepage scenes: dominant/secondary proportions and rhythm. */
.home-introduction__inner {
	display: grid;
	gap: var(--home-space-s) var(--home-space-l);
	grid-template-columns: repeat(12, minmax(0, 1fr));
}

.home-introduction__inner > .home-section__eyebrow {
	grid-column: 1 / 13;
}

.home-introduction__headline {
	font-size: clamp(2.5rem, 3.35vw, 4rem);
	grid-column: 1 / 8;
	letter-spacing: -0.045em;
	line-height: 0.99;
}

.home-introduction__copy,
.home-introduction__link {
	grid-column: 9 / 13;
}

.home-introduction__copy {
	align-self: end;
}

.home-introduction__link {
	justify-self: start;
}

.home-signature__layout {
	min-height: clamp(32rem, 62vh, 39rem);
}

.home-signature__figure--depth {
	grid-column: 1 / 7;
}

.home-signature__figure--height {
	grid-column: 8 / 13;
}

.home-signature__copy {
	grid-column: 5 / 10;
}

.home-current__grid {
	gap: var(--home-space-l);
	grid-template-columns: minmax(0, 1.618fr) minmax(18rem, 1fr);
	margin-top: var(--home-space-l) !important;
}

.home-current__empty {
	margin-inline: 0;
	max-width: 50rem;
}

.home-activities__grid {
	gap: var(--home-space-s);
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr) minmax(0, 1fr);
}

.home-activity-placeholder {
	min-height: clamp(20rem, 38vh, 25rem);
	padding: var(--home-space-m);
}

.home-people__mosaic {
	gap: var(--home-space-l);
	grid-template-columns: minmax(0, 1.618fr) minmax(18rem, 1fr);
}

.home-people__proofs {
	grid-template-columns: 1fr;
}

.home-proof--wide {
	grid-column: auto;
}

.home-history__inner {
	display: grid;
	gap: var(--home-space-s) var(--home-space-l);
	grid-template-columns: repeat(12, minmax(0, 1fr));
}

.home-history__inner > .home-section__eyebrow {
	grid-column: 1 / 13;
}

.home-history h2 {
	font-size: clamp(4rem, 6.2vw, 7rem);
	grid-column: 1 / 8;
	letter-spacing: -0.06em;
	line-height: 0.86;
}

.home-history__copy,
.home-history__link {
	grid-column: 9 / 13;
}

.home-history__copy {
	align-self: end;
}

.home-history__link {
	justify-self: start;
}

.home-final > .home-grid {
	text-align: center;
}

.home-final h2 {
	font-size: clamp(2.5rem, 3.5vw, 4rem);
	margin-inline: auto;
	max-width: 17ch;
}

.home-final__paths {
	gap: var(--home-space-s);
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	margin-top: var(--home-space-l);
}

.home-final__secondary {
	gap: var(--home-space-m);
	justify-content: center;
	margin-top: var(--home-space-m);
}

@media (max-width: 1100px) and (min-width: 782px) {
	.home-intent-world--spk,
	.home-intent-world--speleo {
		gap: 0 var(--home-space-m);
		grid-template-columns: minmax(0, 1.382fr) minmax(16rem, 1fr);
	}

	.home-intent-world--speleo {
		grid-template-columns: minmax(16rem, 1fr) minmax(0, 1.382fr);
	}

	.home-people__mosaic,
	.home-current__grid {
		gap: var(--home-space-m);
		grid-template-columns: minmax(0, 1.382fr) minmax(16rem, 1fr);
	}
}

@media (max-width: 781px) {
	:root {
		--home-space-xl: clamp(4rem, 16vw, 5rem);
	}

	.home-section__header {
		margin-bottom: var(--home-space-m);
	}

	.home-introduction {
		padding-top: 6.5rem;
	}

	.home-intent-world--spk,
	.home-intent-world--speleo {
		display: grid;
		gap: 0;
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: auto auto auto;
		min-height: 0;
	}

	.home-intent-world--spk .home-intent-world__heading,
	.home-intent-world--speleo .home-intent-world__heading {
		grid-column: 1;
		grid-row: 1;
	}

	.home-intent-world--spk .home-intent-world__visual,
	.home-intent-world--speleo .home-intent-world__visual {
		grid-column: 1;
		grid-row: 2;
		height: clamp(11rem, 52vw, 14rem);
		margin: 0 0 0.5rem;
		min-height: 0;
		-webkit-mask-image: linear-gradient(180deg, #000 0%, #000 88%, transparent 100%);
		mask-image: linear-gradient(180deg, #000 0%, #000 88%, transparent 100%);
	}

	.home-intent-world--spk .home-intent-world__paths,
	.home-intent-world--speleo .home-intent-world__paths {
		grid-column: 1;
		grid-row: 3;
	}

	.home-intent-world__heading h3 {
		font-size: clamp(2rem, 9vw, 2.75rem);
		margin-bottom: var(--home-space-s);
	}

	.home-intent-world__visual img {
		min-height: 0;
	}

	.home-intent-path {
		min-height: 5.5rem;
	}

	.home-introduction__inner,
	.home-history__inner {
		display: grid;
		gap: var(--home-space-s);
		grid-template-columns: minmax(0, 1fr);
	}

	.home-introduction__inner > .home-section__eyebrow,
	.home-introduction__headline,
	.home-introduction__copy,
	.home-introduction__link,
	.home-history__inner > .home-section__eyebrow,
	.home-history h2,
	.home-history__copy,
	.home-history__link {
		grid-column: 1;
	}

	.home-signature__layout,
	.home-current__grid,
	.home-activities__grid,
	.home-people__mosaic,
	.home-final__paths {
		grid-template-columns: minmax(0, 1fr);
	}

	.home-activity-placeholder {
		min-height: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}

/* Homepage v0.5 — high-fidelity first viewport -------------------------- */
body.home:not(.breganja-header-compact) .site-header {
	background: transparent;
	border-color: transparent;
	box-shadow: none;
	backdrop-filter: none;
}

body.home:not(.breganja-header-compact) .site-header__inner {
	min-height: clamp(5rem, 6vw, 5.625rem);
}

body.home.breganja-header-compact .site-header__inner {
	min-height: 4.25rem;
}

.site-header__brand {
	align-items: center;
	display: inline-flex;
	flex: 0 0 auto;
	min-height: 48px;
	position: relative;
	width: clamp(7.5rem, 10vw, 9.25rem);
}

.site-header__brand-mark {
	background: url("assets/images/breganja-logo.png") center / contain no-repeat;
	display: block;
	height: 3.25rem;
	transition: filter var(--breganja-motion-base) ease,
		height var(--breganja-motion-base) ease;
	width: 100%;
}

body.home:not(.breganja-header-compact) .site-header__brand-mark {
	filter: brightness(0) invert(1);
}

body.home.breganja-header-compact .site-header__brand-mark {
	height: 2.65rem;
}

body.home:not(.breganja-header-compact) .site-header .wp-block-navigation {
	color: var(--wp--preset--color--ink);
}

body.home:not(.breganja-header-compact) .site-header .wp-block-navigation-item__content,
body.home:not(.breganja-header-compact) .site-header .wp-block-navigation-submenu__toggle {
	color: var(--wp--preset--color--ink);
	text-shadow: 0 1px 12px rgb(255 255 255 / 48%);
}

.site-header .wp-block-navigation-item__content {
	letter-spacing: 0.045em;
	position: relative;
	text-decoration: none;
}

.site-header .wp-block-navigation > .wp-block-navigation-item > .wp-block-navigation-item__content::after,
.site-header .wp-block-navigation > .wp-block-navigation-item > .wp-block-navigation-submenu__toggle::after {
	background: currentColor;
	bottom: 0.45rem;
	content: "";
	height: 1px;
	left: 0;
	position: absolute;
	transform: scaleX(0);
	transform-origin: right;
	transition: transform var(--breganja-motion-fast) ease;
	width: 100%;
}

.site-header .wp-block-navigation > .wp-block-navigation-item:where(:hover, :focus-within) > :is(.wp-block-navigation-item__content, .wp-block-navigation-submenu__toggle)::after {
	transform: scaleX(1);
	transform-origin: left;
}

.home-hero {
	min-height: 100svh;
	overflow: hidden;
	position: relative;
}

.home-hero__split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: 100svh;
	transition: grid-template-columns var(--breganja-motion-slow, 250ms) ease;
}

@media (hover: hover) and (min-width: 782px) {
	.home-hero__split:has(.home-hero__panel--speleo:hover) {
		grid-template-columns: 56fr 44fr;
	}

	.home-hero__split:has(.home-hero__panel--spk:hover) {
		grid-template-columns: 44fr 56fr;
	}
}

.home-hero__panel {
	align-items: center;
	min-height: 100svh;
	position: relative;
}

.home-hero__panel::before,
.home-hero__panel::after {
	background: none;
}

.home-hero__panel::after {
	content: "";
	inset: auto;
	pointer-events: none;
	position: absolute;
	z-index: -1;
}

.home-hero__panel--speleo::after {
	background: radial-gradient(ellipse at left center, rgb(23 25 24 / 64%) 0%, rgb(23 25 24 / 38%) 42%, transparent 73%);
	height: 68%;
	left: 0;
	top: 19%;
	width: min(88%, 42rem);
}

.home-hero__panel--spk::after {
	background: radial-gradient(ellipse at left center, rgb(255 255 255 / 30%) 0%, rgb(255 255 255 / 12%) 46%, transparent 74%);
	height: 58%;
	left: 0;
	top: 21%;
	width: min(76%, 34rem);
}

.home-hero__image,
.home-hero__panel:where(:hover, :focus-within) .home-hero__image {
	transform: none;
}

.home-hero__panel--speleo .home-hero__image {
	object-position: 55% 56%;
}

.home-hero__panel--spk .home-hero__image {
	object-position: 56% 50%;
}

.home-hero__content {
	justify-content: center;
	max-width: 42rem;
	padding: clamp(7rem, 11vh, 9rem) clamp(2rem, 5vw, 5.5rem) clamp(7rem, 12vh, 9rem);
	position: relative;
	z-index: 1;
}

.home-hero__panel--speleo .home-hero__content {
	color: var(--wp--preset--color--white);
}

.home-hero__panel--spk .home-hero__content {
	color: var(--wp--preset--color--ink);
}

.home-hero__world {
	color: inherit !important;
	font-size: clamp(0.7rem, 0.65rem + 0.16vw, 0.82rem);
	letter-spacing: 0.14em;
	margin: 0 0 clamp(1rem, 2vh, 1.5rem);
	text-shadow: none;
}

.home-hero__world::before {
	display: none;
}

.home-hero__title {
	color: inherit !important;
	font-size: clamp(3.65rem, 5.7vw, 6.4rem);
	letter-spacing: -0.052em;
	line-height: 0.9;
	margin: 0 0 clamp(1.75rem, 3.5vh, 2.75rem);
	max-width: 7.5ch;
	text-shadow: none;
}

.home-hero__link {
	align-items: center;
	background: transparent;
	border: 1px solid currentColor;
	border-radius: var(--breganja-radius-button);
	color: inherit !important;
	display: inline-flex;
	font-size: 0.75rem;
	letter-spacing: 0.065em;
	min-height: 48px;
	padding: 0.75rem 1.15rem;
	text-decoration: none;
	text-shadow: none;
	text-transform: uppercase;
	transition: background-color var(--breganja-motion-fast) ease,
		border-color var(--breganja-motion-fast) ease,
		color var(--breganja-motion-fast) ease;
}

.home-hero__panel--speleo .home-hero__link:hover {
	background: var(--wp--preset--color--white);
	border-color: var(--wp--preset--color--white);
	color: var(--wp--preset--color--ink) !important;
	transform: none;
}

.home-hero__panel--spk .home-hero__link:hover {
	background: var(--wp--preset--color--ink);
	border-color: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--white) !important;
	transform: none;
}

.home-hero__panel--spk .home-hero__link {
	background: rgb(247 246 242 / 78%);
	backdrop-filter: blur(5px);
}

.home-hero__statement {
	background: transparent;
	bottom: clamp(3.5rem, 7vh, 5.25rem);
	color: var(--wp--preset--color--white);
	font-size: 0.68rem;
	letter-spacing: 0.18em;
	padding: 0;
	text-shadow: 0 1px 16px rgb(23 25 24 / 80%);
}

.home-hero::after {
	background: var(--wp--preset--color--off-white);
	bottom: -1px;
	clip-path: polygon(0 100%, 0 78%, 34% 94%, 64% 48%, 100% 80%, 100% 100%);
	content: "";
	height: clamp(3.5rem, 7vw, 7.25rem);
	left: 0;
	pointer-events: none;
	position: absolute;
	width: 100%;
	z-index: 4;
}

.home-introduction {
	background: var(--wp--preset--color--off-white);
	padding-block: clamp(5.5rem, 11vw, 10rem) clamp(6.5rem, 12vw, 11rem);
}

.home-introduction__inner {
	margin-inline: auto;
	max-width: 72rem;
}

.home-introduction__headline {
	font-size: clamp(2.75rem, 5.4vw, 5.75rem);
	letter-spacing: -0.045em;
	line-height: 0.98;
	margin: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(2.25rem, 4vw, 3.5rem);
	max-width: 16ch;
}

.home-introduction__link {
	border-bottom: 1px solid currentColor;
	display: inline-flex;
	font-family: var(--wp--preset--font-family--montserrat);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.07em;
	min-height: 44px;
	text-decoration: none;
	text-transform: uppercase;
}

@media (max-width: 1000px) and (min-width: 782px) {
	.site-header .wp-block-navigation {
		font-size: 0.72rem;
		gap: 0.65rem;
	}

	.site-header__brand {
		width: 7rem;
	}

	.home-hero__content {
		padding-inline: 2.25rem;
	}
}

@media (max-width: 781px) {
	body.home:not(.breganja-header-compact) .site-header__inner,
	body.home.breganja-header-compact .site-header__inner {
		min-height: 4.25rem;
	}

	.site-header__brand {
		width: 7.25rem;
	}

	.site-header__brand-mark,
	body.home.breganja-header-compact .site-header__brand-mark {
		height: 2.75rem;
	}

	body.home:not(.breganja-header-compact) .site-header .wp-block-navigation__responsive-container-open {
		color: var(--wp--preset--color--white);
		filter: drop-shadow(0 1px 8px rgb(23 25 24 / 70%));
	}

	.home-hero__split {
		grid-template-columns: 1fr;
		min-height: 100svh;
	}

	.home-hero__panel {
		min-height: max(50svh, 27rem);
	}

	.home-hero__panel--speleo .home-hero__image {
		object-position: 54% 58%;
	}

	.home-hero__panel--spk .home-hero__image {
		object-position: 57% 50%;
	}

	.home-hero__panel--speleo::after {
		height: 74%;
		top: 14%;
		width: 92%;
	}

	.home-hero__panel--spk::after {
		height: 70%;
		top: 14%;
		width: 88%;
	}

	.home-hero__content {
		max-width: 27rem;
		padding: 5.75rem var(--wp--preset--spacing--20) 3.25rem;
	}

	.home-hero__panel--spk .home-hero__content {
		padding-top: 3.5rem;
	}

	.home-hero__title {
		font-size: clamp(3.15rem, 14vw, 4.35rem);
		margin-bottom: 1.5rem;
	}

	.home-hero__world {
		margin-bottom: 0.8rem;
	}

	.home-hero__statement {
		display: block;
		bottom: 2.45rem;
		font-size: 0.58rem;
		letter-spacing: 0.12em;
	}

	.home-hero::after {
		height: 3.4rem;
	}

	.home-introduction {
		padding-block: 5rem 6.5rem;
	}

	.home-introduction__headline {
		font-size: clamp(2.55rem, 11vw, 4rem);
	}
}

@media (prefers-reduced-motion: reduce) {
	.home-hero__split {
		transition: none;
	}
}

/* Homepage v0.6 — complete Concept v2 structure ------------------------- */
.home-introduction__copy {
	color: color-mix(in srgb, var(--wp--preset--color--ink) 72%, transparent);
	font-size: var(--wp--preset--font-size--lead, 1.25rem);
	max-width: 42rem;
	margin: 0 0 clamp(2rem, 4vw, 3.25rem);
}

.home-introduction__copy strong,
.home-history__copy strong {
	color: var(--wp--preset--color--breganja-red);
	font-family: var(--wp--preset--font-family--montserrat);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.home-signature {
	padding-block: clamp(7rem, 13vw, 12rem);
}

.home-signature__layout {
	gap: clamp(3rem, 7vw, 7.5rem);
	grid-template-columns: minmax(0, 0.85fr) minmax(23rem, 1fr) minmax(0, 0.85fr);
	min-height: clamp(46rem, 66vw, 62rem);
}

.home-signature__figure img {
	height: clamp(28rem, 49vw, 46rem);
}

.home-signature__copy h2 {
	color: inherit;
	font-size: clamp(2.75rem, 3.9vw, 3.75rem);
	margin-block: 1.5rem 2.5rem;
}

.home-signature__entities {
	border-block: 1px solid rgb(255 255 255 / 22%);
	display: grid;
	font-family: var(--wp--preset--font-family--montserrat);
	font-size: 0.7rem;
	font-weight: 600;
	gap: 0.85rem;
	letter-spacing: 0.06em;
	padding-block: 1.25rem;
	text-transform: uppercase;
}

.home-signature__copy a {
	color: inherit;
}

.home-intents {
	background: var(--wp--preset--color--off-white);
}

.home-intent {
	isolation: isolate;
	overflow: hidden;
	position: relative;
}

.home-intent::before {
	color: color-mix(in srgb, currentColor 16%, transparent);
	content: "↗";
	font-family: var(--wp--preset--font-family--manrope);
	font-size: clamp(5rem, 12vw, 10rem);
	font-weight: 700;
	line-height: 1;
	position: absolute;
	right: clamp(1rem, 3vw, 2.5rem);
	top: clamp(0.5rem, 2vw, 1.5rem);
	z-index: -1;
}

.home-intent--speleo::before {
	content: "↘";
}

.home-intent__title {
	max-width: 15ch;
}

.home-activities {
	background: var(--wp--preset--color--mist);
}

.home-activities__grid {
	display: grid;
	gap: var(--wp--preset--spacing--16);
	grid-template-columns: repeat(12, 1fr);
	margin-top: var(--wp--preset--spacing--48);
}

.home-activity-placeholder {
	background: var(--wp--preset--color--off-white);
	border-top: 3px solid var(--wp--preset--color--ink);
	display: flex;
	flex-direction: column;
	grid-column: span 4;
	min-height: 24rem;
	padding: clamp(1.5rem, 3vw, 2.5rem);
}

.home-activity-placeholder:nth-child(2) {
	border-color: var(--wp--preset--color--breganja-red);
	transform: translateY(2.5rem);
}

.home-activity-placeholder:nth-child(3) {
	border-color: var(--wp--preset--color--forest-dark);
}

.home-activity-placeholder h3 {
	font-size: clamp(1.75rem, 2.8vw, 2.75rem);
	margin-block: auto 1rem;
}

.home-activity-placeholder__meta,
.home-development-label {
	font-family: var(--wp--preset--font-family--montserrat);
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.home-development-label {
	color: var(--wp--preset--color--breganja-red);
}

.home-activity-placeholder__meta {
	color: color-mix(in srgb, var(--wp--preset--color--ink) 62%, transparent);
	margin-top: 1.5rem;
}

.home-activities__empty {
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--ink) 18%, transparent);
	margin-top: var(--wp--preset--spacing--48);
	max-width: 52rem;
	padding: clamp(2rem, 5vw, 4rem);
}

.home-activities__empty[hidden] {
	display: none;
}

.home-people {
	padding-block: clamp(7rem, 12vw, 11rem);
}

.home-people__mosaic {
	align-items: stretch;
	grid-template-columns: minmax(0, 1.25fr) minmax(20rem, 0.75fr);
	margin-top: var(--wp--preset--spacing--48);
}

.home-people__visual {
	min-height: clamp(34rem, 57vw, 52rem);
}

.home-people__visual::after {
	background: linear-gradient(to top, rgb(23 25 24 / 62%), transparent 35%);
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
}

.home-people__visual-caption {
	bottom: var(--wp--preset--spacing--24);
	color: var(--wp--preset--color--white);
	font-family: var(--wp--preset--font-family--montserrat);
	font-size: 0.7rem;
	font-weight: 600;
	left: var(--wp--preset--spacing--24);
	letter-spacing: 0.08em;
	margin: 0;
	position: absolute;
	text-transform: uppercase;
	z-index: 1;
}

.home-people__proofs {
	grid-template-rows: 1fr 1fr auto;
}

.home-proof {
	min-height: 0;
	padding: clamp(1.5rem, 3vw, 2.5rem);
}

.home-proof strong {
	font-size: clamp(1.25rem, 2.1vw, 2rem);
	line-height: 1.2;
	margin-top: 2rem;
}

.home-proof--wide {
	background: transparent;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--ink) 18%, transparent);
}

.home-history {
	background: var(--wp--preset--color--off-white);
	border-block: 1px solid var(--wp--preset--color--mist);
	padding-block: clamp(8rem, 16vw, 15rem);
}

.home-history__inner {
	margin-inline: auto;
	max-width: 72rem;
}

.home-history h2 {
	font-size: clamp(5rem, 13vw, 12rem);
	letter-spacing: -0.065em;
	line-height: 0.82;
	margin-block: clamp(2rem, 5vw, 4rem);
}

.home-history__copy {
	font-size: var(--wp--preset--font-size--lead, 1.25rem);
	max-width: 42rem;
}

.home-history__link {
	border-bottom: 1px solid currentColor;
	display: inline-flex;
	font-family: var(--wp--preset--font-family--montserrat);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.07em;
	margin-top: var(--wp--preset--spacing--32);
	min-height: 44px;
	text-decoration: none;
	text-transform: uppercase;
}

.home-final__secondary {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--16) var(--wp--preset--spacing--32);
	justify-content: center;
	margin-top: var(--wp--preset--spacing--32);
}

.home-final__secondary a {
	color: inherit;
	font-family: var(--wp--preset--font-family--montserrat);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	min-height: 44px;
	text-underline-offset: 0.35em;
}

.site-footer__slogan {
	font-family: var(--wp--preset--font-family--montserrat);
	font-weight: 600;
	letter-spacing: 0.06em;
}

@media (max-width: 1100px) and (min-width: 782px) {
	.home-signature__layout {
		gap: 2rem;
		grid-template-columns: minmax(0, 0.8fr) minmax(20rem, 1fr) minmax(0, 0.8fr);
	}

	.home-signature__copy h2 {
		font-size: clamp(2.5rem, 4.8vw, 3.25rem);
	}
}

@media (max-width: 781px) {
	.home-signature {
		padding-block: 6.5rem;
	}

	.home-signature__layout {
		gap: 3.5rem;
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.home-signature__figure img {
		height: min(120vw, 34rem);
	}

	.home-signature__copy h2 {
		font-size: clamp(2.75rem, 12vw, 4rem);
	}

	.home-activities__grid {
		grid-template-columns: 1fr;
	}

	.home-activity-placeholder,
	.home-activity-placeholder:nth-child(2) {
		grid-column: auto;
		min-height: 19rem;
		transform: none;
	}

	.home-people__mosaic {
		grid-template-columns: 1fr;
	}

	.home-people__visual {
		min-height: min(120vw, 34rem);
	}

	.home-history {
		padding-block: 7rem;
	}

	.home-history h2 {
		font-size: clamp(4.75rem, 24vw, 7.5rem);
	}

	.home-final__secondary {
		align-items: center;
		flex-direction: column;
	}
}

/* Homepage v0.7 — art direction below the locked hero ------------------ */
.home-section:not(.home-hero) {
	padding-block: clamp(5rem, 8vw, 7.5rem);
}

.home-section__eyebrow {
	letter-spacing: 0.11em;
}

.home-introduction {
	padding-block: clamp(4.75rem, 8vw, 7.5rem) clamp(5.5rem, 9vw, 8rem);
}

.home-introduction__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr);
	column-gap: clamp(3rem, 8vw, 8rem);
	row-gap: var(--wp--preset--spacing--24);
}

.home-introduction__inner > .home-section__eyebrow,
.home-introduction__headline {
	grid-column: 1;
}

.home-introduction__headline {
	font-size: clamp(2.75rem, 4.7vw, 5rem);
	line-height: 0.97;
	margin: clamp(1rem, 2vw, 1.75rem) 0 0;
	max-width: 15ch;
}

.home-introduction__copy {
	align-self: end;
	font-size: clamp(1rem, 1.2vw, 1.125rem);
	grid-column: 2;
	grid-row: 1 / span 2;
	line-height: 1.65;
	margin: 0;
	max-width: 34rem;
}

.home-introduction__link {
	align-items: center;
	display: inline-flex;
	grid-column: 2;
	justify-self: start;
	margin-top: var(--wp--preset--spacing--16);
	min-height: 44px;
}

.home-signature {
	padding-block: clamp(5.5rem, 8vw, 8rem);
}

.home-signature__layout {
	gap: clamp(2rem, 5vw, 5rem);
	grid-template-columns: minmax(0, 0.88fr) minmax(21rem, 1fr) minmax(0, 0.88fr);
	min-height: clamp(36rem, 49vw, 46rem);
}

.home-signature__figure img {
	height: clamp(25rem, 38vw, 35rem);
}

.home-signature__figure--depth img {
	object-position: 50% 42%;
}

.home-signature__figure--height img {
	object-position: 64% 50%;
}

.home-signature__copy h2 {
	font-size: clamp(2.5rem, 3.5vw, 3.5rem);
	line-height: 0.98;
	margin-block: 1.25rem 2rem;
}

.home-signature__entities {
	gap: 0.65rem;
	padding-block: 1rem;
}

.home-signature__copy > p:last-child {
	margin-top: var(--wp--preset--spacing--24);
}

.home-intents__grid {
	gap: var(--wp--preset--spacing--16);
	margin-top: var(--wp--preset--spacing--32);
}

.home-intent {
	border-radius: var(--breganja-radius-button);
	min-height: clamp(12.5rem, 17vw, 15.5rem);
	padding: clamp(1.5rem, 3vw, 2.5rem);
}

.home-intent::before {
	font-size: clamp(4rem, 8vw, 7.5rem);
	opacity: 0.74;
	right: clamp(1rem, 2vw, 2rem);
	top: 50%;
	transform: translateY(-50%);
	transition: opacity var(--breganja-motion-base) ease,
		transform var(--breganja-motion-base) ease;
}

.home-intent:hover,
.home-intent:focus-visible {
	transform: translateY(-2px);
}

.home-intent:hover::before,
.home-intent:focus-visible::before {
	opacity: 1;
	transform: translate(0.2rem, calc(-50% - 0.2rem));
}

.home-intent__title {
	font-size: clamp(1.65rem, 2.8vw, 2.75rem);
	line-height: 1.08;
	max-width: 14ch;
}

.home-current {
	background: var(--wp--preset--color--off-white);
	padding-block: clamp(5rem, 8vw, 7.5rem) !important;
}

.home-current__grid {
	align-items: stretch;
	gap: clamp(1.5rem, 3vw, 3rem);
	grid-template-columns: minmax(0, 1.45fr) minmax(18rem, 0.55fr);
}

.home-story-card {
	border-color: color-mix(in srgb, var(--wp--preset--color--ink) 18%, transparent);
	padding-bottom: var(--wp--preset--spacing--20);
}

.home-story-card .wp-block-post-featured-image {
	margin-bottom: var(--wp--preset--spacing--20);
}

.home-current__empty {
	background: var(--wp--preset--color--mist);
	border-left: 3px solid var(--wp--preset--color--breganja-red);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: clamp(18rem, 31vw, 29rem);
	padding: clamp(1.75rem, 4vw, 3.5rem);
}

.home-current__empty h3 {
	font-size: clamp(1.75rem, 3.2vw, 3rem);
	margin-block: auto 1rem;
	max-width: 16ch;
}

.home-activities {
	padding-block: clamp(5rem, 8vw, 7rem);
}

.home-activities__grid {
	gap: 0;
	margin-top: var(--wp--preset--spacing--32);
}

.home-activity-placeholder,
.home-activity-placeholder:nth-child(2) {
	background: transparent;
	border-color: color-mix(in srgb, var(--wp--preset--color--ink) 72%, transparent);
	border-radius: 0;
	border-right: 1px solid color-mix(in srgb, var(--wp--preset--color--ink) 18%, transparent);
	min-height: 19rem;
	padding: clamp(1.5rem, 2.6vw, 2.5rem);
	transform: none;
}

.home-activity-placeholder:nth-child(2) {
	border-top-color: var(--wp--preset--color--breganja-red);
}

.home-activity-placeholder:nth-child(3) {
	border-right: 0;
}

.home-activity-placeholder h3 {
	font-size: clamp(1.65rem, 2.3vw, 2.25rem);
	margin: 1.5rem 0 0.75rem;
}

.home-activity-placeholder__meta {
	margin: 0.75rem 0 0;
}

.home-activity-placeholder__fields {
	display: flex;
	flex-wrap: wrap;
	font-family: var(--wp--preset--font-family--montserrat);
	font-size: 0.65rem;
	font-weight: 600;
	gap: 0.5rem 1rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.home-activity-placeholder > p:not(.home-activity-placeholder__meta) {
	font-size: 0.95rem;
	line-height: 1.55;
	margin-block: 1.25rem;
}

.home-activity-placeholder__destination {
	font-family: var(--wp--preset--font-family--montserrat);
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	margin-top: auto;
	text-transform: uppercase;
}

.home-people {
	padding-block: clamp(5.5rem, 9vw, 8rem);
}

.home-people__mosaic {
	gap: var(--wp--preset--spacing--16);
	grid-template-columns: minmax(0, 1.4fr) minmax(19rem, 0.6fr);
	margin-top: var(--wp--preset--spacing--32);
}

.home-people__visual {
	min-height: clamp(30rem, 44vw, 40rem);
}

.home-people__proofs {
	gap: var(--wp--preset--spacing--16);
	grid-template-rows: 1fr 1fr auto;
}

.home-proof {
	border-radius: var(--breganja-radius-button);
	padding: clamp(1.5rem, 2.5vw, 2.25rem);
}

.home-proof strong {
	font-size: clamp(1.15rem, 1.65vw, 1.65rem);
	margin-top: 1.25rem;
}

.home-development-note {
	margin-top: var(--wp--preset--spacing--20);
}

.home-history {
	padding-block: clamp(5.5rem, 9vw, 8rem);
}

.home-history__inner {
	display: grid;
	grid-template-columns: minmax(19rem, 0.78fr) minmax(20rem, 1fr);
	column-gap: clamp(3rem, 9vw, 9rem);
	row-gap: var(--wp--preset--spacing--24);
}

.home-history__inner > .home-section__eyebrow,
.home-history h2 {
	grid-column: 1;
}

.home-history h2 {
	font-size: clamp(4.75rem, 9vw, 8rem);
	line-height: 0.85;
	margin: 1.5rem 0 0;
}

.home-history__copy {
	align-self: end;
	font-size: clamp(1rem, 1.3vw, 1.2rem);
	grid-column: 2;
	grid-row: 1 / span 2;
	line-height: 1.65;
	margin: 0;
	max-width: 36rem;
}

.home-history__link {
	align-items: center;
	display: inline-flex;
	grid-column: 2;
	justify-self: start;
	margin-top: 0;
	min-height: 44px;
}

.home-final {
	padding-block: clamp(5rem, 8vw, 7rem);
}

.home-final h2,
.home-final .home-section__eyebrow {
	color: var(--wp--preset--color--white);
}

.home-final h2 {
	font-size: clamp(2.5rem, 4.3vw, 4.5rem);
	margin-block: 1rem 0;
}

.home-final__paths {
	gap: var(--wp--preset--spacing--16);
	margin-top: var(--wp--preset--spacing--32);
}

.home-final__path {
	border-radius: var(--breganja-radius-button);
	min-height: 11.5rem;
	padding: clamp(1.5rem, 3vw, 2.5rem);
}

.home-final__path strong {
	font-size: clamp(2rem, 3.6vw, 3.25rem);
}

.home-final__secondary {
	margin-top: var(--wp--preset--spacing--24);
}

.home-final__contact {
	margin-top: var(--wp--preset--spacing--24);
}

.home-current > .alignwide > p:last-child a,
.home-final__contact a {
	align-items: center;
	display: inline-flex;
	min-height: 44px;
}

@media (max-width: 1100px) and (min-width: 782px) {
	.home-introduction__inner,
	.home-history__inner {
		column-gap: 3rem;
	}

	.home-signature__layout {
		gap: 1.5rem;
		grid-template-columns: minmax(0, 0.78fr) minmax(18rem, 1fr) minmax(0, 0.78fr);
	}

	.home-signature__copy h2 {
		font-size: clamp(2.25rem, 4vw, 2.85rem);
	}

	.home-people__mosaic {
		grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
	}
}

@media (max-width: 781px) {
	.home-section:not(.home-hero) {
		padding-block: 4.5rem;
	}

	.home-introduction {
		padding-block: 4.5rem 5rem;
	}

	.home-introduction__inner,
	.home-history__inner {
		display: grid;
		grid-template-columns: 1fr;
		row-gap: var(--wp--preset--spacing--20);
	}

	.home-introduction__inner > *,
	.home-history__inner > * {
		grid-column: 1;
		grid-row: auto;
	}

	.home-introduction__headline {
		font-size: clamp(2.5rem, 11vw, 3.5rem);
		margin-top: 0.75rem;
	}

	.home-introduction__copy {
		margin-top: var(--wp--preset--spacing--16);
	}

	.home-introduction__link {
		margin-top: var(--wp--preset--spacing--16);
	}

	.home-signature {
		padding-block: 5rem;
	}

	.home-signature__layout {
		gap: 2.75rem;
		grid-template-columns: 1fr;
	}

	.home-signature__figure img {
		height: min(108vw, 29rem);
	}

	.home-signature__copy h2 {
		font-size: clamp(2.5rem, 11vw, 3.5rem);
	}

	.home-intent {
		min-height: 11.5rem;
		padding: 1.5rem;
	}

	.home-intent::before {
		font-size: 4.5rem;
	}

	.home-current {
		padding-block: 4.5rem !important;
	}

	.home-current__grid {
		grid-template-columns: 1fr;
	}

	.home-current__empty {
		min-height: 20rem;
	}

	.home-activities__grid {
		gap: var(--wp--preset--spacing--16);
	}

	.home-activity-placeholder,
	.home-activity-placeholder:nth-child(2),
	.home-activity-placeholder:nth-child(3) {
		border-right: 0;
		min-height: 16rem;
		padding: 1.5rem;
	}

	.home-people__mosaic {
		gap: var(--wp--preset--spacing--16);
	}

	.home-people__visual {
		min-height: min(100vw, 29rem);
	}

	.home-history {
		padding-block: 5rem;
	}

	.home-history h2 {
		font-size: clamp(4.5rem, 21vw, 6.5rem);
		margin-top: 0.75rem;
	}

	.home-history__copy {
		margin-top: var(--wp--preset--spacing--16);
	}

	.home-final {
		padding-block: 4.5rem;
	}

	.home-final h2 {
		font-size: clamp(2.35rem, 10vw, 3.25rem);
	}

	.home-final__path {
		min-height: 10.5rem;
	}
}

/* Homepage v0.9 — consolidated global homepage content grid ---------- */
.home-grid {
	box-sizing: border-box;
	margin-inline: auto !important;
	max-width: var(--wp--style--global--wide-size, 1320px) !important;
	position: relative;
	transform: none !important;
	width: calc(100% - 2 * var(--wp--preset--spacing--24)) !important;
}

@media (max-width: 781px) {
	.home-grid {
		width: calc(100% - 2 * var(--wp--preset--spacing--20)) !important;
	}
}

/* Homepage v1.0 — typography and identity refinement ----------------- */
:root {
	--breganja-red: #a71f21;
}

.site-header__brand {
	width: clamp(9.25rem, 10vw, 11.25rem);
}

.site-header__brand-mark {
	height: 3.75rem;
}

body.home:not(.breganja-header-compact) .site-header__inner {
	min-height: 5.75rem;
}

body.home.breganja-header-compact .site-header__brand {
	width: 9rem;
}

body.home.breganja-header-compact .site-header__brand-mark {
	height: 3rem;
}

.site-header .breganja-navigation {
	font-size: clamp(0.84rem, 0.78rem + 0.12vw, 0.95rem);
	font-weight: 600;
	letter-spacing: 0.035em;
	line-height: 1.3;
}

.site-header .breganja-navigation .wp-block-navigation__container {
	column-gap: clamp(1rem, 1.6vw, 1.75rem);
}

.site-header .wp-block-navigation > .wp-block-navigation-item > .wp-block-navigation-item__content::after,
.site-header .wp-block-navigation > .wp-block-navigation-item > .wp-block-navigation-submenu__toggle::after {
	background: var(--breganja-red);
	height: 2px;
}

.home-hero__identity {
	display: block;
	height: auto;
	margin: 0 0 clamp(0.85rem, 1.6vh, 1.25rem);
	max-height: 5.25rem;
	object-fit: contain;
	object-position: left center;
	width: clamp(8.5rem, 12vw, 13rem);
}

.home-hero__panel--speleo .home-hero__identity {
	filter: drop-shadow(0 2px 12px rgb(23 25 24 / 48%));
}

.home-hero__panel--spk .home-hero__identity {
	filter: drop-shadow(0 1px 8px rgb(247 246 242 / 42%));
}

.home-section__eyebrow,
.home-card__meta,
.home-hero__world {
	font-size: clamp(0.78rem, 0.74rem + 0.14vw, 0.9rem);
	letter-spacing: 0.09em;
}

.home-grid > .home-section__eyebrow::after,
.home-section__header > .home-section__eyebrow::after {
	background: var(--breganja-red);
	content: "";
	display: inline-block;
	height: 2px;
	margin-left: 0.65rem;
	vertical-align: middle;
	width: 1.5rem;
}

.home-introduction__headline {
	font-size: clamp(2.5rem, 4vw, 4.25rem);
	line-height: 1;
}

.home-signature__copy h2 {
	font-size: clamp(2.25rem, 3vw, 3.15rem);
	line-height: 1;
}

.home-section__header h2,
.home-current > .home-grid > h2,
.home-people > .home-grid > h2 {
	font-size: clamp(2.15rem, 3.1vw, 3rem);
	line-height: 1.05;
}

.home-intent__title {
	font-size: clamp(1.55rem, 2.35vw, 2.35rem);
}

.home-story-card--featured .wp-block-post-title,
.home-current__empty h3 {
	font-size: clamp(1.75rem, 2.75vw, 2.75rem) !important;
}

.home-activity-placeholder h3 {
	font-size: clamp(1.5rem, 2vw, 2rem);
}

.home-proof strong {
	font-size: clamp(1.1rem, 1.45vw, 1.5rem);
}

.home-history h2 {
	font-size: clamp(3.75rem, 7vw, 6.25rem);
	line-height: 0.9;
}

.home-final h2 {
	font-size: clamp(2.35rem, 3.8vw, 3.9rem);
	line-height: 1;
}

.home-introduction__link,
.home-history__link,
.home-current > .home-grid > p:last-child a,
.home-final__secondary a,
.home-final__contact a {
	text-decoration-color: var(--breganja-red);
	text-decoration-thickness: 2px;
}

.home-introduction__link:hover,
.home-history__link:hover,
.home-current > .home-grid > p:last-child a:hover,
.home-final__secondary a:hover,
.home-final__contact a:hover {
	color: var(--breganja-red);
}

@media (max-width: 1100px) and (min-width: 782px) {
	.site-header__brand,
	body.home.breganja-header-compact .site-header__brand {
		width: 8rem;
	}

	.site-header .breganja-navigation {
		font-size: 0.8rem;
		letter-spacing: 0.025em;
	}

	.site-header .breganja-navigation .wp-block-navigation__container {
		column-gap: 0.65rem;
	}
}

@media (max-width: 781px) {
	.site-header__brand,
	body.home.breganja-header-compact .site-header__brand {
		width: 8rem;
	}

	.site-header__brand-mark,
	body.home.breganja-header-compact .site-header__brand-mark {
		height: 3rem;
	}

	.home-hero__identity {
		margin-bottom: 0.7rem;
		max-height: 3.75rem;
		width: 7.5rem;
	}

	.home-introduction__headline {
		font-size: clamp(2.35rem, 10vw, 3.25rem);
	}

	.home-signature__copy h2 {
		font-size: clamp(2.25rem, 10vw, 3.15rem);
	}

	.home-history h2 {
		font-size: clamp(3.5rem, 15vw, 4.5rem);
	}

	.home-final h2 {
		font-size: clamp(2.25rem, 9vw, 3rem);
	}
}

/* Homepage v1.1 — viewport composition and visual refinement --------- */
@media (min-width: 782px) {
	.home-hero,
	.home-hero__split,
	.home-hero__panel {
		height: clamp(42rem, 82svh, 54rem);
		min-height: 0;
	}

	.home-hero__content {
		padding-block: clamp(5.5rem, 9vh, 7.25rem) clamp(4.5rem, 8vh, 6.5rem);
	}
}

body.home:not(.breganja-header-compact) .site-header {
	background: linear-gradient(to bottom, rgb(23 25 24 / 52%), transparent);
	border-color: transparent;
}

body.home:not(.breganja-header-compact) .site-header .wp-block-navigation,
body.home:not(.breganja-header-compact) .site-header .wp-block-navigation-item__content,
body.home:not(.breganja-header-compact) .site-header .wp-block-navigation-submenu__toggle {
	color: var(--wp--preset--color--white) !important;
	text-shadow: 0 1px 14px rgb(23 25 24 / 70%);
}

body.home:not(.breganja-header-compact) .site-header .wp-block-navigation__submenu-container {
	background-color: rgb(23 25 24 / 78%) !important;
	border-color: rgb(247 246 242 / 18%) !important;
	box-shadow: 0 14px 34px rgb(23 25 24 / 32%);
	color: var(--wp--preset--color--off-white);
}

body.home.breganja-header-compact .site-header .wp-block-navigation__submenu-container,
body:not(.home) .site-header .wp-block-navigation__submenu-container {
	background-color: rgb(247 246 242 / 90%) !important;
}

body.home:not(.breganja-header-compact) .site-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	color: var(--wp--preset--color--off-white) !important;
	text-shadow: none;
}

body.home:not(.breganja-header-compact) .site-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
body.home:not(.breganja-header-compact) .site-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus-visible {
	background: rgb(247 246 242 / 12%);
}

body.home:not(.breganja-header-compact) .site-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus-visible {
	outline: 2px solid var(--wp--preset--color--breganja-red);
	outline-offset: 2px;
}

@media (max-width: 781px) {
	.site-header .wp-block-navigation__responsive-container.is-menu-open,
	.site-header .wp-block-navigation__responsive-container.is-menu-open a,
	.site-header .wp-block-navigation__responsive-container.is-menu-open button {
		color: var(--wp--preset--color--ink) !important;
		text-shadow: none;
	}

	body.home .site-header .wp-block-navigation__responsive-container.is-menu-open,
	body.home .site-header .wp-block-navigation__responsive-container.is-menu-open a,
	body.home .site-header .wp-block-navigation__responsive-container.is-menu-open button,
	body.home .site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
		color: var(--wp--preset--color--ink) !important;
		text-shadow: none;
	}

	.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container:only-child {
		flex-grow: 0;
	}

	.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
		align-items: flex-start;
		gap: 0.75rem;
	}

	.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > .wp-block-navigation-item,
	.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container > .wp-block-navigation-item {
		align-items: flex-start;
		width: 100%;
		text-align: left;
	}

	.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > .wp-block-navigation-submenu {
		gap: 0.125rem;
	}

	.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container.wp-block-navigation-submenu {
		box-sizing: border-box;
		align-items: flex-start;
		gap: 0.125rem;
		width: 100%;
		margin: 0;
		padding: 0.125rem 0 0.25rem 1rem !important;
		border: 0 !important;
		background-color: transparent !important;
		box-shadow: none;
	}

	.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
		box-sizing: border-box;
		justify-content: flex-start;
		text-align: left;
	}
}

.site-header .breganja-navigation {
	font-size: clamp(0.9rem, 0.83rem + 0.15vw, 1.02rem);
}

.site-header .wp-block-navigation-item__content,
.site-header .wp-block-navigation-submenu__toggle {
	min-height: 48px;
	padding-block: 0.55rem;
}

.home-hero__panel--speleo .home-hero__image {
	filter: brightness(1.2) contrast(0.96) saturate(0.98);
}

.home-hero__panel--speleo::before {
	background: linear-gradient(90deg, rgb(23 25 24 / 46%) 0%, rgb(23 25 24 / 18%) 48%, transparent 76%);
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
	z-index: 0;
}

.home-hero__panel--speleo .home-hero__content {
	text-shadow: 0 1px 18px rgb(23 25 24 / 78%);
}

.home-hero__statement {
	align-items: flex-start;
	background: var(--wp--preset--color--off-white);
	border-top: 3px solid var(--breganja-red);
	bottom: -3.5rem;
	color: var(--wp--preset--color--ink);
	display: flex;
	flex-direction: column;
	font-family: var(--wp--preset--font-family--manrope);
	font-size: clamp(1.35rem, 2vw, 2rem);
	font-weight: 700;
	gap: 0.05em;
	left: 50%;
	letter-spacing: -0.025em;
	line-height: 1.02;
	padding: 1.1rem clamp(1.5rem, 3vw, 2.75rem) 1.25rem;
	text-align: left;
	text-shadow: none;
	text-transform: uppercase;
	transform: translateX(-50%);
	width: min(24rem, calc(100% - 3rem));
	z-index: 7;
}

.home-hero__statement span:last-child {
	color: var(--breganja-red);
}

.home-hero::after {
	height: clamp(2.5rem, 4vw, 4rem);
}

.home-introduction {
	padding-top: clamp(7rem, 11vw, 9rem);
}

.home-hero__link {
	background: var(--breganja-red);
	border-color: var(--breganja-red);
	color: var(--wp--preset--color--white) !important;
	font-size: 0.82rem;
	font-weight: 600;
	min-height: 52px;
	padding: 0.9rem 1.35rem;
}

.home-hero__panel--spk .home-hero__link {
	background: var(--breganja-red);
	backdrop-filter: none;
	border-color: var(--breganja-red);
	color: var(--wp--preset--color--white) !important;
}

.home-hero__panel--speleo .home-hero__link:hover,
.home-hero__panel--spk .home-hero__link:hover {
	background: var(--wp--preset--color--ink);
	border-color: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--white) !important;
}

.home-introduction__link,
.home-signature__copy > p:last-child a,
.home-history__link {
	align-items: center;
	background: var(--breganja-red);
	border: 1px solid var(--breganja-red);
	border-radius: var(--breganja-radius-button);
	color: var(--wp--preset--color--white);
	display: inline-flex;
	font-family: var(--wp--preset--font-family--montserrat);
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.055em;
	min-height: 50px;
	padding: 0.8rem 1.2rem;
	text-decoration: none;
	text-transform: uppercase;
}

.home-introduction__link:hover,
.home-signature__copy > p:last-child a:hover,
.home-history__link:hover {
	background: transparent;
	color: var(--breganja-red);
}

.home-signature {
	background: var(--wp--preset--color--mist);
	color: var(--wp--preset--color--ink);
	padding-block: clamp(3.5rem, 6vh, 5rem);
}

.home-signature__layout {
	align-items: center;
	display: grid;
	gap: 0;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	grid-template-rows: 1fr;
	min-height: clamp(34rem, 70vh, 42rem);
	position: relative;
}

.home-signature__figure {
	grid-row: 1;
	margin: 0;
	position: relative;
}

.home-signature__figure--depth {
	align-self: start;
	grid-column: 1 / 7;
	margin-top: 1rem;
	z-index: 1;
}

.home-signature__figure--height {
	align-self: end;
	grid-column: 7 / 13;
	margin-bottom: 1rem;
	z-index: 1;
}

.home-signature__figure img {
	height: clamp(24rem, 54vh, 32rem);
	width: 100%;
}

.home-signature__figure--depth img {
	-webkit-mask-image: linear-gradient(90deg, #000 0%, #000 68%, transparent 100%);
	mask-image: linear-gradient(90deg, #000 0%, #000 68%, transparent 100%);
	object-position: 50% 42%;
}

.home-signature__figure--height img {
	-webkit-mask-image: linear-gradient(270deg, #000 0%, #000 68%, transparent 100%);
	mask-image: linear-gradient(270deg, #000 0%, #000 68%, transparent 100%);
	object-position: 64% 50%;
}

.home-signature__copy {
	background: color-mix(in srgb, var(--wp--preset--color--ink) 94%, transparent);
	border-left: 3px solid var(--breganja-red);
	color: var(--wp--preset--color--white);
	grid-column: 5 / 9;
	grid-row: 1;
	justify-self: stretch;
	padding: clamp(2rem, 4vw, 3.25rem);
	position: relative;
	text-align: left;
	z-index: 3;
}

.home-signature__copy h2 {
	color: inherit;
	margin-block: 1rem 1.5rem;
}

.home-signature__entities {
	border-color: rgb(255 255 255 / 24%);
}

.home-signature__copy > p:last-child {
	margin-bottom: 0;
}

.home-current {
	background: var(--wp--preset--color--white);
}

.home-people {
	background: var(--wp--preset--color--off-white);
}

.home-history {
	background: var(--wp--preset--color--mist);
}

.home-people__visual {
	-webkit-mask-image: linear-gradient(90deg, #000 0%, #000 88%, transparent 100%);
	mask-image: linear-gradient(90deg, #000 0%, #000 88%, transparent 100%);
}

.home-final__path {
	border-color: rgb(255 255 255 / 32%);
	border-top: 3px solid var(--breganja-red);
}

.home-final__path:hover,
.home-final__path:focus-visible {
	background: rgb(167 31 33 / 18%);
	border-color: var(--breganja-red);
}

.home-final__path strong,
.home-final__path .home-section__eyebrow {
	color: var(--wp--preset--color--white);
}

.home-current > .home-grid > p:last-child a,
.home-final__secondary a,
.home-final__contact a {
	font-size: 0.82rem;
	font-weight: 600;
	min-height: 48px;
}

@media (max-width: 1100px) and (min-width: 782px) {
	.site-header .breganja-navigation {
		font-size: 0.84rem;
	}

	.site-header .breganja-navigation .wp-block-navigation__container {
		column-gap: 0.6rem;
	}

	.home-signature__figure--depth {
		grid-column: 1 / 8;
	}

	.home-signature__figure--height {
		grid-column: 6 / 13;
	}

	.home-signature__copy {
		grid-column: 4 / 10;
	}
}

@media (max-width: 781px) {
	.home-hero,
	.home-hero__split {
		height: auto;
	}

	.home-hero__panel--speleo .home-hero__image {
		filter: brightness(1.16) contrast(0.98);
	}

	.home-hero__statement {
		bottom: -2.75rem;
		font-size: 1.15rem;
		padding: 0.85rem 1.2rem 1rem;
		width: calc(100% - 2.5rem);
	}

	.home-introduction {
		padding-top: 6.5rem;
	}

	.home-hero__link {
		font-size: 0.78rem;
		min-height: 50px;
	}

	.home-signature {
		padding-block: 4.5rem;
	}

	.home-signature__layout {
		display: grid;
		gap: 2rem;
		grid-template-columns: 1fr;
		grid-template-rows: auto;
		min-height: 0;
	}

	.home-signature__copy,
	.home-signature__figure--depth,
	.home-signature__figure--height {
		grid-column: 1;
		margin: 0;
	}

	.home-signature__copy {
		grid-row: 1;
		padding: 2rem;
	}

	.home-signature__figure--depth {
		grid-row: 2;
	}

	.home-signature__figure--height {
		grid-row: 3;
	}

	.home-signature__figure img {
		height: min(100vw, 27rem);
	}

	.home-signature__figure--depth img,
	.home-signature__figure--height img,
	.home-people__visual {
		-webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
		mask-image: linear-gradient(180deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
	}
}

/* v1.3 cascade lock — follows all legacy version blocks. */
body.home {
	--home-space-s: clamp(1rem, 1.2vw, 1.25rem);
	--home-space-m: clamp(1.625rem, 2.1vw, 2rem);
	--home-space-l: clamp(2.625rem, 3.5vw, 3.375rem);
	--home-space-xl: clamp(4.25rem, 6vw, 5.5rem);
}

body.home .home-section:not(.home-hero) {
	padding-block: var(--home-space-xl);
}

body.home .home-introduction {
	padding-block: clamp(7rem, 10vw, 8.5rem) var(--home-space-xl);
}

body.home .home-current {
	padding-block: var(--home-space-xl) !important;
}

body.home .home-section__header {
	margin-bottom: var(--home-space-l);
}

body.home .home-section__header h2,
body.home .home-current > .home-grid > h2,
body.home .home-people > .home-grid > h2 {
	font-size: clamp(2.125rem, 2.4vw + 1rem, 3.625rem);
	letter-spacing: -0.04em;
	line-height: 0.98;
	margin-block: var(--home-space-s) 0;
}

body.home .home-section__intro {
	font-size: clamp(1rem, 0.92rem + 0.32vw, 1.25rem);
	line-height: 1.58;
	margin-top: var(--home-space-s);
	max-width: 42rem;
}

body.home .home-intents {
	overflow: clip;
}

body.home .home-intents__scene {
	display: grid;
	gap: var(--home-space-m);
	grid-template-columns: minmax(0, 1fr);
	margin-top: 0;
	position: relative;
}

body.home .home-intents__scene::after {
	display: none;
}

body.home .home-intent-world {
	align-items: stretch;
	display: grid;
	gap: 0 var(--home-space-l);
	grid-template-rows: auto 1fr;
	min-height: clamp(16rem, 29vh, 19rem);
	position: relative;
}

body.home .home-intent-world--spk {
	grid-template-columns: minmax(0, 1.618fr) minmax(18rem, 1fr);
}

body.home .home-intent-world--speleo {
	grid-template-columns: minmax(18rem, 1fr) minmax(0, 1.618fr);
}

body.home .home-intent-world__heading {
	align-self: end;
	position: relative;
	z-index: 1;
}

body.home .home-intent-world__heading h3 {
	font-size: clamp(2rem, 2.5vw, 3.25rem);
	letter-spacing: -0.04em;
	line-height: 0.98;
	margin: 0 0 var(--home-space-s);
	max-width: 12ch;
}

body.home .home-intent-world__visual,
body.home .home-intent-world--speleo .home-intent-world__visual {
	align-self: stretch;
	grid-row: 1 / 3;
	height: auto;
	inset: auto;
	margin: 0;
	min-height: 16rem;
	opacity: 1;
	position: relative;
	width: 100%;
	z-index: 0;
}

body.home .home-intent-world--spk .home-intent-world__visual {
	grid-column: 1;
	-webkit-mask-image: linear-gradient(90deg, #000 0%, #000 88%, transparent 100%);
	mask-image: linear-gradient(90deg, #000 0%, #000 88%, transparent 100%);
}

body.home .home-intent-world--speleo .home-intent-world__visual {
	grid-column: 2;
	-webkit-mask-image: linear-gradient(270deg, #000 0%, #000 88%, transparent 100%);
	mask-image: linear-gradient(270deg, #000 0%, #000 88%, transparent 100%);
}

body.home .home-intent-world__visual img {
	height: 100%;
	min-height: 16rem;
	object-fit: cover;
	width: 100%;
}

body.home .home-intent-world--spk .home-intent-world__visual img {
	object-position: 52% 48%;
}

body.home .home-intent-world--speleo .home-intent-world__visual img {
	object-position: 50% 46%;
}

body.home .home-intent-world--spk .home-intent-world__heading,
body.home .home-intent-world--spk .home-intent-world__paths {
	grid-column: 2;
}

body.home .home-intent-world--speleo .home-intent-world__heading,
body.home .home-intent-world--speleo .home-intent-world__paths {
	grid-column: 1;
	margin-left: 0;
	width: 100%;
}

body.home .home-intent-world__paths {
	align-self: end;
	position: relative;
	width: 100%;
	z-index: 1;
}

body.home .home-intent-path {
	min-height: 4.75rem;
	padding-block: 0.8rem;
}

body.home .home-intent-path strong {
	font-size: clamp(1.05rem, 0.9rem + 0.45vw, 1.4rem);
}

body.home .home-introduction__inner,
body.home .home-history__inner {
	display: grid;
	gap: var(--home-space-s) var(--home-space-l);
	grid-template-columns: repeat(12, minmax(0, 1fr));
}

body.home .home-introduction__inner > .home-section__eyebrow,
body.home .home-history__inner > .home-section__eyebrow {
	grid-column: 1 / 13;
}

body.home .home-introduction__headline {
	font-size: clamp(2.5rem, 3.35vw, 4rem);
	grid-column: 1 / 8;
	letter-spacing: -0.045em;
	line-height: 0.99;
}

body.home .home-introduction__copy,
body.home .home-introduction__link,
body.home .home-history__copy,
body.home .home-history__link {
	grid-column: 9 / 13;
}

body.home .home-introduction__copy,
body.home .home-history__copy {
	align-self: end;
}

body.home .home-introduction__link,
body.home .home-history__link {
	justify-self: start;
}

body.home .home-signature__layout {
	min-height: clamp(32rem, 62vh, 39rem);
}

body.home .home-signature__figure--depth {
	grid-column: 1 / 7;
}

body.home .home-signature__figure--height {
	grid-column: 8 / 13;
}

body.home .home-signature__copy {
	grid-column: 5 / 10;
}

body.home .home-current__grid {
	gap: var(--home-space-l);
	grid-template-columns: minmax(0, 1.618fr) minmax(18rem, 1fr);
	margin-top: var(--home-space-l) !important;
}

body.home .home-current__empty {
	margin-inline: 0;
	max-width: 50rem;
}

body.home .home-activities__grid {
	gap: var(--home-space-s);
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr) minmax(0, 1fr);
}

body.home .home-activity-placeholder {
	min-height: clamp(20rem, 38vh, 25rem);
	padding: var(--home-space-m);
}

body.home .home-people__mosaic {
	gap: var(--home-space-l);
	grid-template-columns: minmax(0, 1.618fr) minmax(18rem, 1fr);
}

body.home .home-people__proofs {
	grid-template-columns: 1fr;
}

body.home .home-proof--wide {
	grid-column: auto;
}

body.home .home-history h2 {
	font-size: clamp(4rem, 6.2vw, 7rem);
	grid-column: 1 / 8;
	letter-spacing: -0.06em;
	line-height: 0.86;
}

body.home .home-final > .home-grid {
	text-align: center;
}

body.home .home-final h2 {
	font-size: clamp(2.5rem, 3.5vw, 4rem);
	margin-inline: auto;
	max-width: 17ch;
}

body.home .home-final__paths {
	gap: var(--home-space-s);
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	margin-top: var(--home-space-l);
}

body.home .home-final__secondary {
	gap: var(--home-space-m);
	justify-content: center;
	margin-top: var(--home-space-m);
}

@media (max-width: 1100px) and (min-width: 782px) {
	body.home .home-intent-world--spk,
	body.home .home-intent-world--speleo {
		gap: 0 var(--home-space-m);
		grid-template-columns: minmax(0, 1.382fr) minmax(16rem, 1fr);
	}

	body.home .home-intent-world--speleo {
		grid-template-columns: minmax(16rem, 1fr) minmax(0, 1.382fr);
	}

	body.home .home-people__mosaic,
	body.home .home-current__grid {
		gap: var(--home-space-m);
		grid-template-columns: minmax(0, 1.382fr) minmax(16rem, 1fr);
	}
}

@media (max-width: 781px) {
	body.home {
		--home-space-xl: clamp(4rem, 16vw, 5rem);
	}

	body.home .home-introduction {
		padding-top: 6.5rem;
	}

	body.home .home-section__header {
		margin-bottom: var(--home-space-m);
	}

	body.home .home-intent-world--spk,
	body.home .home-intent-world--speleo {
		display: grid;
		gap: 0;
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: auto auto auto;
		min-height: 0;
	}

	body.home .home-intent-world--spk .home-intent-world__heading,
	body.home .home-intent-world--speleo .home-intent-world__heading {
		grid-column: 1;
		grid-row: 1;
	}

	body.home .home-intent-world--spk .home-intent-world__visual,
	body.home .home-intent-world--speleo .home-intent-world__visual {
		grid-column: 1;
		grid-row: 2;
		height: clamp(11rem, 52vw, 14rem);
		margin: 0 0 0.5rem;
		min-height: 0;
		-webkit-mask-image: linear-gradient(180deg, #000 0%, #000 88%, transparent 100%);
		mask-image: linear-gradient(180deg, #000 0%, #000 88%, transparent 100%);
	}

	body.home .home-intent-world--spk .home-intent-world__paths,
	body.home .home-intent-world--speleo .home-intent-world__paths {
		grid-column: 1;
		grid-row: 3;
	}

	body.home .home-intent-world__heading h3 {
		font-size: clamp(2rem, 9vw, 2.75rem);
		margin-bottom: var(--home-space-s);
	}

	body.home .home-intent-world__visual img {
		min-height: 0;
	}

	body.home .home-intent-path {
		min-height: 5.5rem;
	}

	body.home .home-introduction__inner,
	body.home .home-history__inner {
		display: grid;
		gap: var(--home-space-s);
		grid-template-columns: minmax(0, 1fr);
	}

	body.home .home-introduction__inner > .home-section__eyebrow,
	body.home .home-introduction__headline,
	body.home .home-introduction__copy,
	body.home .home-introduction__link,
	body.home .home-history__inner > .home-section__eyebrow,
	body.home .home-history h2,
	body.home .home-history__copy,
	body.home .home-history__link {
		grid-column: 1;
	}

	body.home .home-signature__layout,
	body.home .home-current__grid,
	body.home .home-activities__grid,
	body.home .home-people__mosaic,
	body.home .home-final__paths {
		grid-template-columns: minmax(0, 1fr);
	}

body.home .home-activity-placeholder {
		min-height: 0;
	}
}

/* v1.4 — final homepage visual polish. */
body.home .home-introduction {
	padding-bottom: clamp(3.5rem, 4.8vw, 4.5rem);
	padding-top: clamp(6.25rem, 8.5vw, 7.5rem);
}

body.home .home-intents__scene {
	gap: var(--home-space-l);
}

body.home .home-intent-world__visual {
	filter: saturate(0.92) contrast(0.98);
	opacity: 0.9;
}

body.home .home-intent-world__heading h3 {
	font-size: clamp(2.25rem, 2.7vw, 3.5rem);
}

body.home .home-intent-path strong {
	font-size: clamp(1.125rem, 0.95rem + 0.5vw, 1.5rem);
}

body.home .home-current {
	padding-block: clamp(3.75rem, 5vw, 4.75rem) !important;
}

body.home .home-current__empty {
	background: transparent;
	border: 0;
	border-left: 2px solid var(--breganja-red);
	margin-top: var(--home-space-m);
	max-width: 42rem;
	min-height: 0;
	padding: 0.35rem 0 0.35rem var(--home-space-m);
}

body.home .home-current__empty h3 {
	font-size: clamp(1.35rem, 1.2rem + 0.55vw, 1.8rem) !important;
	margin-block: 0.45rem;
}

body.home .home-current__empty p:last-child {
	margin-bottom: 0;
}

body.home .home-activities {
	padding-block: clamp(3.75rem, 5vw, 4.75rem);
}

body.home .home-activities__grid[hidden] {
	display: none !important;
}

body.home .home-activities__empty {
	background: transparent;
	border: 0;
	border-left: 2px solid var(--breganja-red);
	display: block;
	margin: 0;
	max-width: 44rem;
	min-height: 0;
	padding: 0.35rem 0 0.35rem var(--home-space-m);
}

body.home .home-activities__empty h3 {
	font-size: clamp(1.35rem, 1.2rem + 0.55vw, 1.8rem);
	margin-block: 0.45rem;
}

body.home .home-activities__empty p {
	margin-block: 0.45rem;
}

body.home .home-activities__empty a {
	display: inline-flex;
	margin-top: 0.65rem;
	min-height: 48px;
}

body.home .home-people__proofs {
	align-content: center;
	gap: var(--home-space-s);
}

body.home .home-proof {
	min-height: 0;
	opacity: 0.76;
	padding: var(--home-space-m);
}

body.home .home-proof:first-child {
	opacity: 0.92;
	padding-block: var(--home-space-l);
}

body.home .home-proof strong {
	font-size: clamp(1.05rem, 0.95rem + 0.32vw, 1.3rem);
}

body.home .home-history {
	padding-block: clamp(3.5rem, 4.8vw, 4.5rem);
}

body.home .home-history h2 {
	font-size: clamp(3.75rem, 5.4vw, 6.25rem);
}

body.home .home-final {
	padding-block: clamp(3.75rem, 5.5vw, 5rem);
}

body.home .home-final h2 {
	font-size: clamp(2.75rem, 4vw, 4.5rem);
	margin-block: var(--home-space-s) 0;
	max-width: none;
}

body.home .home-final__paths {
	display: flex;
	gap: var(--home-space-s);
	justify-content: center;
	margin-top: var(--home-space-l);
}

body.home .home-final__path {
	align-items: center;
	background: var(--breganja-red);
	border: 1px solid var(--breganja-red);
	border-radius: var(--breganja-radius-button);
	display: inline-flex;
	justify-content: center;
	min-height: 56px;
	padding: 0.9rem clamp(1.4rem, 2.4vw, 2.25rem);
	width: auto;
}

body.home .home-final__path strong {
	font-family: var(--wp--preset--font-family--montserrat);
	font-size: clamp(0.9rem, 0.82rem + 0.2vw, 1.05rem);
	letter-spacing: 0.055em;
	text-transform: uppercase;
}

body.home .home-final__path:hover,
body.home .home-final__path:focus-visible {
	background: transparent;
	border-color: var(--breganja-red);
}

body.home .home-final__path:hover strong,
body.home .home-final__path:focus-visible strong {
	color: var(--breganja-red);
}

body.home .home-final__contact {
	margin-top: var(--home-space-m);
}

@media (max-width: 781px) {
	body.home .home-introduction {
		padding-bottom: 4rem;
		padding-top: 6rem;
	}

	body.home .home-intent-world__visual {
		opacity: 0.94;
	}

	body.home .home-current,
	body.home .home-activities,
	body.home .home-history,
	body.home .home-final {
		padding-block: 4rem;
	}

	body.home .home-current__empty,
	body.home .home-activities__empty {
		padding-left: var(--home-space-s);
	}

	body.home .home-final__paths {
		align-items: stretch;
		flex-direction: column;
	}

	body.home .home-final__path {
		min-height: 56px;
		width: 100%;
	}
}

/* v1.5 — locked homepage design-system polish. */
body.home {
	--home-type-display: clamp(3.35rem, 5.4vw, 6.5rem);
	--home-type-h1: clamp(2.75rem, 4.2vw, 5rem);
	--home-type-h2: clamp(2.15rem, 2.6vw, 3.5rem);
	--home-type-h3: clamp(1.4rem, 1.45vw, 2rem);
	--home-type-lead: clamp(1.05rem, 0.98rem + 0.28vw, 1.28rem);
	--home-type-body: clamp(0.98rem, 0.94rem + 0.12vw, 1.08rem);
	--home-type-label: clamp(0.75rem, 0.72rem + 0.1vw, 0.86rem);
}

body.home .home-section__eyebrow,
body.home .home-development-label,
body.home .home-intent-path__label,
body.home .home-hero__world {
	font-size: var(--home-type-label);
}

body.home .home-section__intro,
body.home .home-introduction__copy {
	font-size: var(--home-type-lead);
}

body.home .home-section__header h2,
body.home .home-current > .home-grid > h2,
body.home .home-people > .home-grid > h2 {
	font-size: var(--home-type-h2);
}

body.home .home-activity-placeholder h3,
body.home .home-proof strong,
body.home .home-current__empty h3,
body.home .home-activities__empty h3 {
	font-size: var(--home-type-h3) !important;
}

body.home .home-introduction__headline {
	font-size: var(--home-type-h1);
}

body.home .home-hero__title {
	font-size: var(--home-type-display);
}

@media (min-width: 782px) {
	body.home .home-hero,
	body.home .home-hero__split,
	body.home .home-hero__panel {
		height: clamp(39rem, 78svh, 50rem);
	}
}

body.home .home-hero__statement {
	font-size: clamp(1.5rem, 1.25rem + 0.8vw, 2.25rem);
	width: min(27rem, calc(100% - 3rem));
}

body.home .home-introduction {
	padding-bottom: clamp(3.25rem, 4.2vw, 4rem);
	padding-top: clamp(6rem, 8vw, 7.25rem);
}

body.home .home-introduction__inner > .home-section__eyebrow {
	color: var(--wp--preset--color--ink);
	font-weight: 700;
	letter-spacing: 0.1em;
}

body.home .home-introduction__inner > .home-section__eyebrow::after {
	background: var(--breganja-red);
	content: "";
	display: inline-block;
	height: 2px;
	margin-left: 0.75rem;
	vertical-align: middle;
	width: clamp(1.75rem, 3vw, 3rem);
}

body.home .home-intents {
	padding-block: clamp(4rem, 5.2vw, 5rem);
}

body.home .home-intent-world__visual {
	filter: saturate(0.95) contrast(0.99);
	opacity: 0.88;
}

body.home .home-intent-world__heading h3 {
	font-size: clamp(2.2rem, 2.5vw, 3.25rem);
}

body.home .home-intent-path {
	min-height: 4.5rem;
}

body.home .home-current,
body.home .home-activities {
	padding-block: clamp(3.25rem, 4.4vw, 4.25rem) !important;
}

body.home .home-current__secondary .wp-block-post-template {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.home .home-current__grid {
	gap: var(--home-space-m);
	margin-top: var(--home-space-m) !important;
}

body.home .home-people {
	padding-block: clamp(4rem, 5.4vw, 5.25rem);
}

body.home .home-people__visual {
	-webkit-mask-image: linear-gradient(90deg, #000 0%, #000 92%, transparent 100%);
	mask-image: linear-gradient(90deg, #000 0%, #000 92%, transparent 100%);
}

body.home .home-proof {
	background: transparent;
	border-color: rgb(23 25 24 / 18%);
	opacity: 0.72;
}

body.home .home-proof:first-child {
	background: var(--wp--preset--color--ink);
	opacity: 0.9;
}

body.home .home-history {
	padding-block: clamp(3.25rem, 4.2vw, 4rem);
}

body.home .home-history h2 {
	font-size: clamp(3.75rem, 5.2vw, 6rem);
}

body.home .home-final {
	padding-block: clamp(4rem, 5.8vw, 5.5rem);
}

body.home .home-final h2 {
	font-size: var(--home-type-h1);
	line-height: 0.96;
	max-width: 16ch;
}

body.home .home-final__paths {
	display: grid;
	gap: 0;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: var(--home-space-l);
	width: 100%;
}

body.home .home-final__path {
	align-items: center;
	background: transparent;
	border: 0;
	border-radius: 0;
	border-top: 1px solid rgb(255 255 255 / 34%);
	display: flex;
	justify-content: center;
	min-height: clamp(7rem, 12vw, 10rem);
	padding: var(--home-space-m);
	position: relative;
	width: 100%;
}

body.home .home-final__path + .home-final__path {
	border-left: 1px solid rgb(255 255 255 / 34%);
}

body.home .home-final__path::after {
	background: var(--breganja-red);
	bottom: 0;
	content: "";
	height: 3px;
	left: 0;
	position: absolute;
	transform: scaleX(0.12);
	transform-origin: center;
	transition: transform 220ms ease;
	width: 100%;
}

body.home .home-final__path strong {
	font-family: var(--wp--preset--font-family--manrope);
	font-size: clamp(1.7rem, 2.2vw, 2.75rem);
	letter-spacing: -0.035em;
	text-transform: none;
}

body.home .home-final__path:hover,
body.home .home-final__path:focus-visible {
	background: rgb(255 255 255 / 4%);
	border-color: rgb(255 255 255 / 34%);
}

body.home .home-final__path:hover::after,
body.home .home-final__path:focus-visible::after {
	transform: scaleX(1);
}

body.home .home-final__path:hover strong,
body.home .home-final__path:focus-visible strong {
	color: var(--wp--preset--color--white);
}

body.home .home-final__contact {
	margin-bottom: 0;
	margin-top: var(--home-space-m);
}

body.home .site-footer {
	padding-block: clamp(2.5rem, 3.8vw, 3.75rem);
}

@media (max-width: 781px) {
	body.home .home-hero__title {
		font-size: clamp(2.8rem, 13vw, 4rem);
	}

	body.home .home-introduction {
		padding-bottom: 3.5rem;
		padding-top: 6rem;
	}

	body.home .home-intents,
	body.home .home-current,
	body.home .home-activities,
	body.home .home-history {
		padding-block: 3.75rem !important;
	}

	body.home .home-current__secondary .wp-block-post-template,
	body.home .home-final__paths {
		grid-template-columns: minmax(0, 1fr);
	}

	body.home .home-final__path {
		min-height: 5.75rem;
	}

	body.home .home-final__path + .home-final__path {
		border-left: 0;
	}

	body.home .home-final__contact {
		margin-top: var(--home-space-s);
	}
}

@media (prefers-reduced-motion: reduce) {
	body.home .home-final__path::after {
		transition: none;
	}
}

/* v1.6 — final identity and closing-scene lock. */
body.home:not(.breganja-header-compact) .site-header__brand {
	width: clamp(11rem, 12vw, 13.5rem);
}

body.home:not(.breganja-header-compact) .site-header__brand-mark {
	height: 4.25rem;
}

body.home.breganja-header-compact .site-header__brand {
	width: 10.25rem;
}

body.home.breganja-header-compact .site-header__brand-mark {
	height: 3.5rem;
}

body.home .home-hero__identity {
	max-height: 7rem;
	width: clamp(12rem, 15vw, 18rem);
}

body.home .home-intent-world__heading {
	display: grid;
	gap: 0.65rem;
	grid-template-columns: minmax(7.5rem, 0.72fr) minmax(0, 1fr);
	align-items: center;
}

body.home .home-intent-world__identity {
	display: block;
	height: auto;
	max-height: 5rem;
	object-fit: contain;
	object-position: left center;
	width: min(100%, 12rem);
}

body.home .home-intent-world__heading h3 {
	font-size: clamp(1.75rem, 2vw, 2.65rem);
	margin-bottom: var(--home-space-s);
	max-width: 10ch;
}

body.home .home-final {
	padding-bottom: 0;
}

body.home .home-final__paths {
	align-items: stretch;
	grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
	margin-top: clamp(2.5rem, 4vw, 4rem);
}

body.home .home-final__path {
	align-content: center;
	align-items: start;
	border: 0;
	display: grid;
	gap: var(--home-space-s);
	justify-items: start;
	min-height: clamp(12rem, 19vw, 16rem);
	padding: clamp(1.75rem, 3vw, 3rem);
	text-align: left;
}

body.home .home-final__path + .home-final__path {
	align-content: end;
	border-left: 0;
	justify-items: end;
	text-align: right;
}

body.home .home-final__path::before {
	background: radial-gradient(circle at 50% 50%, rgb(255 255 255 / 6%), transparent 68%);
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
}

body.home .home-final__path + .home-final__path::before {
	background: radial-gradient(circle at 60% 65%, rgb(255 255 255 / 5%), transparent 66%);
}

body.home .home-final__identity {
	display: block;
	height: auto;
	max-height: 8rem;
	object-fit: contain;
	object-position: left center;
	position: relative;
	width: clamp(13rem, 18vw, 21rem);
	z-index: 1;
}

body.home .home-final__path + .home-final__path .home-final__identity {
	object-position: right center;
}

body.home .home-final__path strong {
	color: var(--wp--preset--color--white);
	position: relative;
	z-index: 1;
}

body.home .home-final__signature {
	align-items: center;
	background: var(--wp--preset--color--off-white);
	color: var(--wp--preset--color--ink);
	display: flex;
	gap: var(--home-space-l);
	justify-content: space-between;
	margin-top: clamp(2.5rem, 4vw, 4rem);
	padding: clamp(1.5rem, 2.4vw, 2.25rem) clamp(1.5rem, 3vw, 3rem);
}

body.home .home-final__signature > img {
	display: block;
	height: auto;
	width: clamp(10rem, 14vw, 14rem);
}

body.home .home-final__signature .home-final__contact {
	margin: 0;
}

body.home .home-final__signature .home-final__contact a {
	color: var(--wp--preset--color--ink);
	text-decoration-color: var(--breganja-red);
}

body.home .home-final__signature .home-final__contact a:hover,
body.home .home-final__signature .home-final__contact a:focus-visible {
	color: var(--breganja-red);
}

@media (max-width: 1100px) and (min-width: 782px) {
	body.home:not(.breganja-header-compact) .site-header__brand {
		width: 9.5rem;
	}

	body.home:not(.breganja-header-compact) .site-header__brand-mark {
		height: 3.5rem;
	}

	body.home.breganja-header-compact .site-header__brand {
		width: 8.75rem;
	}

	body.home .home-hero__identity {
		width: clamp(10rem, 15vw, 13rem);
	}

	body.home .home-intent-world__heading {
		grid-template-columns: minmax(6.5rem, 0.65fr) minmax(0, 1fr);
	}

	body.home .home-intent-world__identity {
		width: 9rem;
	}
}

@media (max-width: 781px) {
	body.home:not(.breganja-header-compact) .site-header__brand,
	body.home.breganja-header-compact .site-header__brand {
		width: 9.25rem;
	}

	body.home:not(.breganja-header-compact) .site-header__brand-mark,
	body.home.breganja-header-compact .site-header__brand-mark {
		height: 3.35rem;
	}

	body.home .home-hero__identity {
		max-height: 5rem;
		width: 10.5rem;
	}

	body.home .home-intent-world__heading {
		gap: 0.75rem;
		grid-template-columns: minmax(0, 1fr);
	}

	body.home .home-intent-world__identity {
		max-height: 4.75rem;
		width: 10rem;
	}

	body.home .home-intent-world__heading h3 {
		font-size: clamp(1.9rem, 8.5vw, 2.5rem);
		margin-bottom: var(--home-space-s);
		max-width: none;
	}

	body.home .home-final__paths {
		grid-template-columns: minmax(0, 1fr);
	}

	body.home .home-final__path,
	body.home .home-final__path + .home-final__path {
		align-content: center;
		justify-items: start;
		min-height: 10.5rem;
		padding: var(--home-space-m) 0;
		text-align: left;
	}

	body.home .home-final__path + .home-final__path {
		border-top: 1px solid rgb(255 255 255 / 22%);
	}

	body.home .home-final__identity,
	body.home .home-final__path + .home-final__path .home-final__identity {
		max-height: 6rem;
		object-position: left center;
		width: min(75vw, 17rem);
	}

	body.home .home-final__signature {
		align-items: flex-start;
		flex-direction: column;
		gap: var(--home-space-s);
		padding-inline: var(--wp--preset--spacing--20);
	}

	body.home .home-final__signature > img {
		width: 11rem;
	}
}

/* v1.7 — reusable inner-page primitives and Speleologija landing. */
.breganja-inner {
	--inner-space-s: clamp(1rem, 1.2vw, 1.25rem);
	--inner-space-m: clamp(1.625rem, 2.2vw, 2.125rem);
	--inner-space-l: clamp(2.625rem, 3.6vw, 3.5rem);
	--inner-space-xl: clamp(4.25rem, 6.2vw, 6rem);
	--inner-h1: clamp(3.5rem, 6.2vw, 7rem);
	--inner-h2: clamp(2.35rem, 3.4vw, 4.25rem);
	--inner-h3: clamp(1.4rem, 1.65vw, 2rem);
	--inner-lead: clamp(1.08rem, 0.98rem + 0.38vw, 1.4rem);
	background: var(--wp--preset--color--off-white);
	color: var(--wp--preset--color--ink);
	overflow: clip;
}

.speleo-page > .wp-block-post-content,
.speleo-page > .wp-block-post-content > * {
	margin-block: 0;
}

/* v1.9.1 — native Post Content compatibility layer.
 * Gutenberg adds flow-layout spacing and alignment semantics that were not
 * present when the same compositions rendered from the v1.8 pattern. Keep
 * the editable block architecture while restoring the original section box
 * model and letting the component CSS below own all intentional rhythm. */
.speleo-page > .wp-block-post-content {
	box-sizing: border-box;
	max-width: none;
	padding: 0;
	width: 100%;
}

.speleo-page > .wp-block-post-content > .alignfull {
	margin-inline: 0;
	max-width: none;
	width: 100%;
}

.speleo-page .wp-block-post-content :where(.is-layout-flow) > :is(.wp-block-group, .wp-block-query, .wp-block-buttons, .wp-block-image) {
	margin-block-start: 0;
}

.inner-section {
	padding-block: var(--inner-space-xl);
}

.inner-section--ink,
.inner-final {
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--off-white);
}

/* Keep the Speleologija dark-section heading hierarchy legible without
 * changing heading colors on the homepage or light inner-page surfaces. */
.speleo-page .inner-section--ink :is(h1, h2, h3, h4, h5, h6) {
	color: var(--wp--preset--color--off-white);
}

.inner-section--mist {
	background: var(--wp--preset--color--mist);
}

.inner-section h2,
.inner-final h2 {
	font-size: var(--inner-h2);
	letter-spacing: -0.05em;
	line-height: 0.98;
	margin-block: var(--inner-space-s) 0;
}

.inner-section h3 {
	font-size: var(--inner-h3);
	letter-spacing: -0.03em;
	line-height: 1.08;
}

.inner-eyebrow {
	font-family: var(--wp--preset--font-family--montserrat);
	font-size: clamp(0.76rem, 0.72rem + 0.12vw, 0.88rem);
	font-weight: 700;
	letter-spacing: 0.09em;
	line-height: 1.3;
	margin: 0;
	text-transform: uppercase;
}

.inner-eyebrow::after {
	background: var(--breganja-red);
	content: "";
	display: inline-block;
	height: 2px;
	margin-left: 0.7rem;
	vertical-align: middle;
	width: 1.75rem;
}

.inner-lead {
	font-size: var(--inner-lead);
	line-height: 1.58;
}

.inner-editorial-grid {
	display: grid;
	gap: var(--inner-space-l);
	grid-template-columns: minmax(0, 1.618fr) minmax(18rem, 1fr);
}

.inner-section__intro {
	margin-bottom: var(--inner-space-l);
}

.inner-section__intro > h2 {
	max-width: 19ch;
}

.inner-button {
	align-items: center;
	background: var(--breganja-red);
	border: 1px solid var(--breganja-red);
	border-radius: var(--breganja-radius-button);
	color: var(--wp--preset--color--white);
	display: inline-flex;
	font-family: var(--wp--preset--font-family--montserrat);
	font-size: 0.82rem;
	font-weight: 700;
	justify-content: center;
	letter-spacing: 0.055em;
	min-height: 52px;
	padding: 0.85rem 1.3rem;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color 180ms ease, color 180ms ease;
}

.inner-button:hover,
.inner-button:focus-visible {
	background: transparent;
	color: var(--breganja-red);
}

.inner-buttons {
	margin: 0;
}

.inner-button-block .wp-block-button__link {
	align-items: center;
	background: var(--breganja-red);
	border: 1px solid var(--breganja-red);
	border-radius: var(--breganja-radius-button);
	color: var(--wp--preset--color--white);
	display: inline-flex;
	font-family: var(--wp--preset--font-family--montserrat);
	font-size: 0.82rem;
	font-weight: 700;
	justify-content: center;
	letter-spacing: 0.055em;
	min-height: 52px;
	padding: 0.85rem 1.3rem;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color 180ms ease, color 180ms ease;
}

.inner-button-block .wp-block-button__link:hover,
.inner-button-block .wp-block-button__link:focus-visible {
	background: transparent;
	color: var(--breganja-red);
}

.inner-button-block--outline .wp-block-button__link {
	background: transparent;
	color: var(--breganja-red);
}

.inner-button-block--outline .wp-block-button__link:hover,
.inner-button-block--outline .wp-block-button__link:focus-visible {
	background: var(--breganja-red);
	color: var(--wp--preset--color--white);
}

.inner-button--outline {
	background: transparent;
	color: var(--breganja-red);
}

.inner-button--outline:hover,
.inner-button--outline:focus-visible {
	background: var(--breganja-red);
	color: var(--wp--preset--color--white);
}

.inner-text-link {
	color: inherit;
	display: inline-flex;
	font-family: var(--wp--preset--font-family--montserrat);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.045em;
	min-height: 48px;
	padding-block: 0.75rem;
	text-decoration-color: var(--breganja-red);
	text-decoration-thickness: 2px;
	text-transform: uppercase;
}

.inner-text-link:hover,
.inner-text-link:focus-visible {
	color: var(--breganja-red);
}

.inner-text-link-wrap {
	margin: 0;
}

.inner-hero {
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--white);
	height: clamp(38rem, 78svh, 50rem);
	min-height: 38rem;
	position: relative;
}

.inner-hero__media,
.inner-hero__shade {
	inset: 0;
	position: absolute;
}

.inner-hero__media {
	height: 100%;
	margin: 0;
	width: 100%;
}

.inner-hero__media img {
	height: 100%;
	object-fit: cover;
	object-position: 51% 48%;
	width: 100%;
}

.inner-hero__shade {
	background: linear-gradient(90deg, rgb(23 25 24 / 78%) 0%, rgb(23 25 24 / 48%) 38%, rgb(23 25 24 / 10%) 68%, rgb(23 25 24 / 32%) 100%);
}

.inner-hero__content {
	display: flex;
	flex-direction: column;
	height: 100%;
	justify-content: center;
	padding-block: clamp(3rem, 7vh, 5rem);
	position: relative;
	z-index: 1;
}

.inner-hero__identity {
	display: block;
	height: auto;
	margin-bottom: var(--inner-space-m);
	max-height: 8.5rem;
	object-fit: contain;
	object-position: left center;
	width: clamp(15rem, 24vw, 25rem);
}

/* Native, replaceable logo Image block; retain the existing Hero geometry. */
.inner-hero--speleo figure.inner-hero__identity {
	margin-block: 0 var(--inner-space-m);
	margin-inline: 0;
}

.inner-hero--speleo figure.inner-hero__identity > img {
	display: block;
	height: auto;
	max-height: inherit;
	object-fit: contain;
	object-position: left center;
	width: 100%;
}

.inner-hero h1 {
	color: inherit;
	font-size: var(--inner-h1);
	letter-spacing: -0.065em;
	line-height: 0.88;
	margin-block: var(--inner-space-s);
}

.inner-hero__lead {
	font-size: var(--inner-lead);
	line-height: 1.52;
	margin: 0 0 var(--inner-space-m);
	max-width: 40rem;
}

.inner-hero .inner-button {
	align-self: flex-start;
}

.speleo-below {
	background: var(--wp--preset--color--off-white);
}

.speleo-pillars {
	counter-reset: none;
	display: grid;
	gap: 0 var(--inner-space-m);
	grid-template-columns: repeat(4, minmax(0, 1fr));
	list-style: none;
	margin: var(--inner-space-l) 0 0;
	padding: 0;
}

.speleo-pillars li,
.speleo-pillars .speleo-pillar {
	border-top: 2px solid var(--breganja-red);
	padding-top: var(--inner-space-s);
}

.speleo-pillars li > span,
.speleo-pillar__number {
	color: var(--breganja-red);
	font-family: var(--wp--preset--font-family--montserrat);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	margin: 0;
}

.speleo-pillars h3 {
	margin-block: 1.6rem 0.75rem;
	text-transform: uppercase;
}

.speleo-pillars p {
	font-size: 0.98rem;
	line-height: 1.58;
	margin: 0;
}

.speleo-field__layout {
	align-items: center;
	display: grid;
	gap: var(--inner-space-l);
	grid-template-columns: minmax(18rem, 1fr) minmax(0, 1.618fr);
}

.speleo-field__copy {
	position: relative;
	z-index: 1;
}

.speleo-field__visual {
	height: clamp(27rem, 58vh, 38rem);
	margin: 0;
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 100%);
	mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 100%);
}

.speleo-field__visual img {
	height: 100%;
	object-fit: cover;
	object-position: 50% 43%;
	width: 100%;
}

.speleo-archive__layout {
	display: grid;
	gap: var(--inner-space-l);
	grid-template-columns: minmax(0, 1.618fr) minmax(18rem, 1fr);
}

.speleo-featured-story {
	border-top: 3px solid var(--breganja-red);
	padding-top: var(--inner-space-m);
}

.speleo-featured-story__depth {
	color: var(--breganja-red);
	font-size: clamp(4rem, 7vw, 8rem);
	font-weight: 700;
	letter-spacing: -0.07em;
	line-height: 0.85;
	margin-block: var(--inner-space-l) var(--inner-space-s);
}

.speleo-featured-story h3 {
	font-size: clamp(2rem, 2.8vw, 3.5rem);
	margin-block: 0 var(--inner-space-s);
}

.speleo-featured-story > p:not([class]) {
	font-size: var(--inner-lead);
	line-height: 1.55;
	max-width: 50rem;
}

.speleo-featured-story__note {
	border-left: 2px solid var(--breganja-red);
	font-weight: 700;
	padding-left: var(--inner-space-s);
}

.speleo-secondary-stories {
	display: grid;
	grid-template-rows: repeat(2, minmax(0, 1fr));
}

.speleo-secondary-stories article {
	border-top: 1px solid rgb(23 25 24 / 24%);
	padding-block: var(--inner-space-m);
}

.speleo-secondary-stories article:last-child {
	border-bottom: 1px solid rgb(23 25 24 / 24%);
}

.speleo-secondary-stories h3 {
	font-size: clamp(1.55rem, 1.8vw, 2.25rem);
	margin-block: var(--inner-space-s) 0.75rem;
}

.speleo-secondary-stories p:not(.inner-eyebrow) {
	line-height: 1.55;
}

.speleo-archive__all {
	justify-content: flex-end;
	margin: var(--inner-space-l) 0 0;
	text-align: right;
}

.speleo-documentation h2 {
	max-width: 13ch;
}

.speleo-documentation__list {
	align-self: end;
	list-style: none;
	margin: 0;
	padding: 0;
}

.speleo-documentation__list li {
	border-bottom: 1px solid rgb(23 25 24 / 22%);
	font-size: clamp(1.2rem, 1.4vw, 1.6rem);
	font-weight: 600;
	padding-block: 0.8rem;
}

.speleo-documentation__list li::before {
	color: var(--breganja-red);
	content: "↓";
	display: inline-block;
	font-family: var(--wp--preset--font-family--montserrat);
	margin-right: 0.75rem;
}

.speleo-people__layout {
	align-items: center;
	display: grid;
	gap: var(--inner-space-l);
	grid-template-columns: minmax(0, 1.618fr) minmax(18rem, 1fr);
}

.speleo-people__visual {
	height: clamp(28rem, 58vh, 38rem);
	margin: 0;
	-webkit-mask-image: linear-gradient(90deg, #000 0%, #000 90%, transparent 100%);
	mask-image: linear-gradient(90deg, #000 0%, #000 90%, transparent 100%);
}

.speleo-people__visual img {
	height: 100%;
	object-fit: cover;
	object-position: 50% 48%;
	width: 100%;
}

.speleo-school {
	scroll-margin-top: 6rem;
}

.speleo-school__copy {
	align-self: end;
}

.speleo-school__status {
	border-left: 2px solid var(--breganja-red);
	font-size: clamp(1.25rem, 1.5vw, 1.65rem);
	font-weight: 700;
	margin-block: var(--inner-space-m);
	padding-left: var(--inner-space-s);
}

.speleo-traces .inner-section__intro h2 {
	font-size: clamp(4.25rem, 7vw, 8rem);
	line-height: 0.86;
}

.speleo-timeline {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

.speleo-timeline li,
.speleo-timeline__item {
	border-top: 2px solid var(--breganja-red);
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
	padding: var(--inner-space-s) var(--inner-space-s) 0 0;
	position: relative;
}

.speleo-timeline li::before,
.speleo-timeline__item::before {
	background: var(--breganja-red);
	border-radius: 50%;
	content: "";
	height: 0.55rem;
	left: 0;
	position: absolute;
	top: -0.35rem;
	width: 0.55rem;
}

.speleo-timeline time,
.speleo-timeline__year {
	color: var(--breganja-red);
	font-family: var(--wp--preset--font-family--montserrat);
	font-size: 0.85rem;
	font-weight: 700;
	margin: 0;
}

.speleo-timeline a,
.speleo-timeline__link {
	color: inherit;
	font-size: clamp(1.05rem, 1.2vw, 1.35rem);
	font-weight: 700;
	line-height: 1.25;
	margin: 0;
	text-decoration: none;
}

.speleo-timeline__link a {
	color: inherit;
	text-decoration: none;
}

.speleo-timeline a:hover,
.speleo-timeline a:focus-visible {
	color: var(--breganja-red);
}

.speleo-stories > .home-grid > h2 {
	font-size: var(--inner-h2);
	letter-spacing: -0.05em;
	line-height: 0.98;
	margin-block: var(--inner-space-s) var(--inner-space-l);
}

.speleo-stories__featured {
	margin-bottom: var(--inner-space-m);
}

.inner-story {
	border-top: 1px solid rgb(23 25 24 / 24%);
	padding-block: var(--inner-space-m);
}

.inner-story--featured {
	display: grid;
	gap: var(--inner-space-m) var(--inner-space-l);
	grid-template-columns: minmax(0, 1.618fr) minmax(18rem, 1fr);
}

.inner-story--featured .wp-block-post-featured-image {
	grid-row: 1 / 5;
	height: 100%;
	margin: 0;
	-webkit-mask-image: linear-gradient(90deg, #000 0%, #000 92%, transparent 100%);
	mask-image: linear-gradient(90deg, #000 0%, #000 92%, transparent 100%);
}

.inner-story--featured .wp-block-post-featured-image img {
	height: 100%;
	object-fit: cover;
}

.inner-story .wp-block-post-date {
	color: var(--breganja-red);
	font-family: var(--wp--preset--font-family--montserrat);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.inner-story .wp-block-post-title {
	font-size: clamp(1.45rem, 1.8vw, 2.35rem);
	line-height: 1.08;
	margin-block: 0.5rem;
}

.inner-story .wp-block-post-title a {
	color: inherit;
	text-decoration: none;
}

.inner-story .wp-block-post-title a:hover,
.inner-story .wp-block-post-title a:focus-visible {
	color: var(--breganja-red);
}

.speleo-stories__secondary .wp-block-post-template {
	display: grid;
	gap: var(--inner-space-m);
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.inner-empty-state {
	border-left: 2px solid var(--breganja-red);
	max-width: 42rem;
	padding-left: var(--inner-space-m);
}

.inner-empty-state h3 {
	margin-block: 0 0.5rem;
}

.speleo-stories__all {
	justify-content: flex-end;
	margin: var(--inner-space-l) 0 0;
	text-align: right;
}

.inner-final {
	padding-block: var(--inner-space-xl);
}

.inner-final__layout {
	display: grid;
	gap: var(--inner-space-m) var(--inner-space-l);
	grid-template-columns: minmax(0, 1.618fr) minmax(18rem, 1fr);
}

.inner-final__identity {
	display: block;
	grid-column: 1 / 3;
	height: auto;
	max-height: 8rem;
	object-fit: contain;
	object-position: left center;
	width: clamp(16rem, 26vw, 27rem);
}

.inner-final h2 {
	align-self: end;
	font-size: clamp(3rem, 5vw, 6rem);
}

.inner-final__links {
	display: grid;
}

.inner-final__links a {
	border-bottom: 1px solid rgb(255 255 255 / 25%);
	color: inherit;
	font-family: var(--wp--preset--font-family--montserrat);
	font-size: clamp(0.9rem, 0.84rem + 0.2vw, 1.05rem);
	font-weight: 700;
	letter-spacing: 0.045em;
	min-height: 52px;
	padding-block: 1rem;
	text-decoration: none;
	text-transform: uppercase;
}

.inner-final__links a:hover,
.inner-final__links a:focus-visible {
	color: var(--breganja-red);
}

@media (max-width: 1100px) and (min-width: 782px) {
	.inner-editorial-grid,
	.speleo-archive__layout,
	.speleo-people__layout,
	.inner-story--featured,
	.inner-final__layout {
		gap: var(--inner-space-m);
		grid-template-columns: minmax(0, 1.382fr) minmax(16rem, 1fr);
	}

	.speleo-field__layout {
		grid-template-columns: minmax(16rem, 1fr) minmax(0, 1.382fr);
	}

	.speleo-pillars {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: var(--inner-space-l);
	}

	.speleo-timeline {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: var(--inner-space-l);
	}
}

@media (max-width: 781px) {
	.breganja-inner {
		--inner-space-xl: clamp(4rem, 15vw, 5rem);
	}

	.inner-hero {
		height: auto;
		min-height: 44rem;
	}

	.inner-hero__media img {
		object-position: 54% 48%;
	}

	.inner-hero__shade {
		background: linear-gradient(180deg, rgb(23 25 24 / 22%) 0%, rgb(23 25 24 / 46%) 42%, rgb(23 25 24 / 90%) 100%);
	}

	.inner-hero__content {
		justify-content: flex-end;
		min-height: 44rem;
		padding-bottom: 3rem;
	}

	.inner-hero__identity {
		max-height: 6rem;
		width: min(76vw, 20rem);
	}

	.inner-hero h1 {
		font-size: clamp(3.5rem, 17vw, 5rem);
	}

	.inner-editorial-grid,
	.speleo-field__layout,
	.speleo-archive__layout,
	.speleo-people__layout,
	.inner-story--featured,
	.inner-final__layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.speleo-pillars,
	.speleo-timeline,
	.speleo-stories__secondary .wp-block-post-template {
		grid-template-columns: minmax(0, 1fr);
	}

	.speleo-pillars {
		gap: var(--inner-space-l);
	}

	.speleo-field__copy {
		grid-row: 1;
	}

	.speleo-field__visual {
		grid-row: 2;
		height: min(120vw, 31rem);
		-webkit-mask-image: linear-gradient(180deg, #000 0%, #000 90%, transparent 100%);
		mask-image: linear-gradient(180deg, #000 0%, #000 90%, transparent 100%);
	}

	.speleo-archive__all,
	.speleo-stories__all {
		justify-content: flex-start;
		text-align: left;
	}

	.speleo-people__visual {
		height: min(85vw, 25rem);
		-webkit-mask-image: linear-gradient(180deg, #000 0%, #000 90%, transparent 100%);
		mask-image: linear-gradient(180deg, #000 0%, #000 90%, transparent 100%);
	}

	.speleo-people__copy {
		grid-row: 1;
	}

	.speleo-people__visual {
		grid-row: 2;
	}

	.speleo-timeline {
		gap: var(--inner-space-l);
	}

	.inner-story--featured .wp-block-post-featured-image {
		grid-row: auto;
		height: min(70vw, 22rem);
		-webkit-mask-image: linear-gradient(180deg, #000 0%, #000 90%, transparent 100%);
		mask-image: linear-gradient(180deg, #000 0%, #000 90%, transparent 100%);
	}

	.inner-final__identity {
		grid-column: 1;
		max-height: 6rem;
		width: min(78vw, 21rem);
	}

	.inner-final__links a {
		min-height: 56px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.inner-button {
		transition: none;
	}
}

/* v1.12 — native Homepage block-wrapper compatibility (frontend only). */
body.home .home-hero__media {
	height: 100%;
	inset: 0;
	margin: 0;
	position: absolute;
	width: 100%;
	z-index: -2;
}

body.home .home-hero__media img {
	display: block;
	height: 100%;
	object-fit: cover;
	transition: transform var(--breganja-motion-slow, 250ms) ease;
	width: 100%;
}

body.home .home-hero__panel--speleo .home-hero__media img {
	filter: brightness(1.2) contrast(0.96) saturate(0.98);
	object-position: 52% 48%;
}

body.home .home-hero__panel--spk .home-hero__media img {
	object-position: 58% 48%;
}

body.home .home-hero__panel:where(:hover, :focus-within) .home-hero__media img {
	transform: scale(1.018);
}

body.home .home-hero__link-wrap,
body.home .home-hero__statement > p,
body.home .home-signature__image,
body.home .home-signature__caption,
body.home .home-signature__entities > p,
body.home .home-intent-path > *,
body.home .home-people__image,
body.home .home-final__cta {
	margin-block: 0;
}

body.home .home-hero__statement > p:last-child {
	color: var(--breganja-red);
}

body.home .home-signature__caption {
	font-family: var(--wp--preset--font-family--montserrat);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	margin-top: 0.75rem;
	text-transform: uppercase;
}

body.home .home-intent-path,
body.home .home-final__path {
	position: relative;
}

body.home .home-intent-path__title,
body.home .home-intent-path__title a {
	color: inherit;
	font-size: clamp(1.125rem, 0.95rem + 0.5vw, 1.5rem);
	line-height: 1.18;
	text-decoration: none;
}

body.home .home-intent-path__title a::after,
body.home .home-final__cta a::after {
	content: "";
	inset: 0;
	position: absolute;
	z-index: 2;
}

body.home .home-intent-path:focus-within {
	border-radius: 2px;
	outline: 3px solid var(--breganja-red);
	outline-offset: 4px;
}

body.home .home-intent-path:focus-within::after {
	transform: scaleX(1);
}

body.home .home-intent-world--spk .home-intent-path:focus-within .home-intent-path__direction {
	transform: translateY(-0.25rem);
}

body.home .home-intent-world--speleo .home-intent-path:focus-within .home-intent-path__direction {
	transform: translateY(0.25rem);
}

body.home .home-final__cta,
body.home .home-final__cta a,
body.home .home-final__cta strong {
	color: inherit;
	text-decoration: none;
}

body.home .home-final__path:focus-within {
	background: transparent;
	border-color: var(--breganja-red);
}

body.home .home-final__path:focus-within strong {
	color: var(--breganja-red);
}

@media (max-width: 781px) {
	body.home .home-hero__panel--speleo .home-hero__media img {
		filter: brightness(1.16) contrast(0.98);
	}
}

@media (prefers-reduced-motion: reduce) {
	body.home .home-hero__media img,
	body.home .home-intent-path__direction {
		transition: none;
	}
}

/* v1.12.1–1.12.2 — restore pre-native-wrapper component geometry. */
body.home .home-hero__statement {
	margin: 0 0 1em;
}

body.home .home-history__inner > p:has(> .home-history__link) {
	grid-column: 9 / 13;
	justify-self: start;
	margin: 0;
	width: max-content;
}

body.home .home-history__link {
	white-space: nowrap;
}

@media (max-width: 781px) {
	body.home .home-history__inner > p:has(> .home-history__link) {
		grid-column: 1;
	}
}

/* v1.13 — compact two-world Homepage closing navigation. */
:is(.home-hero__identity, .home-intent-world__identity, .home-final__identity, .inner-hero__identity) {
	max-width: 100%;
	object-fit: contain;
	overflow: visible;
}

body.home .home-final {
	background: var(--wp--preset--color--ink);
	border-bottom: 1px solid rgb(247 246 242 / 16%);
	padding-block: clamp(3rem, 4vw, 4rem) clamp(2.5rem, 3.25vw, 3.25rem);
}

body.home .home-final > .home-grid {
	text-align: center;
}

body.home .home-final h2 {
	font-size: clamp(2.75rem, 4vw, 4.5rem);
	line-height: 0.98;
	margin: var(--home-space-s) auto 0;
	max-width: 16ch;
}

body.home .home-final__paths {
	display: grid;
	gap: 0;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: clamp(1.75rem, 2.5vw, 2.5rem) auto 0;
	max-width: 68rem;
	width: 100%;
}

body.home .home-final__path,
body.home .home-final__path + .home-final__path {
	align-content: center;
	align-items: center;
	background: transparent;
	border: 0;
	border-radius: 0;
	border-top: 1px solid rgb(247 246 242 / 28%);
	box-sizing: border-box;
	display: grid;
	gap: 1rem;
	grid-template-rows: clamp(9rem, 11vw, 11rem) auto;
	justify-items: center;
	min-height: clamp(8.5rem, 10vw, 10rem);
	overflow: visible;
	padding: clamp(1.25rem, 2vw, 1.75rem);
	text-align: center;
	width: 100%;
}

body.home .home-final__logo-stage {
	align-items: center;
	display: flex;
	height: 100%;
	justify-content: center;
	margin: 0;
	overflow: visible;
	width: 100%;
}

body.home .home-final__path + .home-final__path {
	border-left: 1px solid rgb(247 246 242 / 24%);
}

body.home .home-final__path::before {
	display: none;
}

body.home .home-final__path::after {
	background: var(--breganja-red);
	bottom: 0;
	height: 2px;
	transform: scaleX(0.14);
	transform-origin: center;
	transition: transform var(--breganja-motion-base) ease;
}

body.home .home-final__identity,
body.home .home-final__path + .home-final__path .home-final__identity {
	display: block;
	height: auto;
	max-height: 100%;
	max-width: 100%;
	object-fit: contain;
	object-position: center;
	overflow: visible;
	width: clamp(17rem, 22vw, 21rem);
}

body.home .home-final__cta,
body.home .home-final__cta a {
	display: inline-flex;
	justify-content: center;
	white-space: nowrap;
}

body.home .home-final__path strong {
	color: var(--wp--preset--color--off-white);
	font-family: var(--wp--preset--font-family--montserrat);
	font-size: clamp(0.9rem, 0.82rem + 0.2vw, 1.05rem);
	font-weight: 700;
	letter-spacing: 0.055em;
	text-transform: uppercase;
	transition: color var(--breganja-motion-fast) ease, transform var(--breganja-motion-fast) ease;
}

body.home .home-final__path:hover,
body.home .home-final__path:focus-within {
	background: rgb(247 246 242 / 3%);
	border-color: rgb(247 246 242 / 28%);
}

body.home .home-final__path:focus-within {
	outline: 2px solid var(--wp--preset--color--off-white);
	outline-offset: -4px;
}

body.home .home-final__path:hover::after,
body.home .home-final__path:focus-within::after {
	transform: scaleX(0.5);
}

body.home .home-final__path:hover strong,
body.home .home-final__path:focus-within strong {
	color: var(--wp--preset--color--off-white);
	transform: translateY(-2px);
}

body.home .site-footer {
	border-top: 0;
}

@media (max-width: 781px) {
	body.home .home-final {
		padding-block: 3.25rem 2.25rem;
	}

	body.home .home-final h2 {
		font-size: clamp(2.5rem, 11vw, 3.35rem);
	}

	body.home .home-final__paths {
		grid-template-columns: minmax(0, 1fr);
		margin-top: 2rem;
	}

	body.home .home-final__path,
	body.home .home-final__path + .home-final__path {
		border-left: 0;
		min-height: 9rem;
		padding: 1.5rem 0;
		grid-template-rows: 10rem auto;
	}

	body.home .home-final__path + .home-final__path {
		border-top: 1px solid rgb(247 246 242 / 24%);
	}

	body.home .home-final__identity,
	body.home .home-final__path + .home-final__path .home-final__identity {
		max-height: 100%;
		width: min(86vw, 19rem);
	}

	body.home .home-final__logo-stage {
		height: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.home .home-final__path::after,
	body.home .home-final__path strong {
		transition: none;
	}

	body.home .home-final__path:hover strong,
	body.home .home-final__path:focus-within strong {
		transform: none;
	}
}

/*
 * Phase 1B cutoff recovery: later Homepage experiments are intentionally
 * excluded from the active cascade. Non-Homepage systems are unaffected.
 */
@media not all {
/* v1.29.0 — final cascade for Homepage proof stories and continuity. */
body.home .home-proof-stories {
	display: grid;
	gap: clamp(1.25rem, 2.5vw, 2rem);
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-inline: auto;
	max-width: var(--wp--style--global--wide-size);
	padding-inline: var(--home-gutter, clamp(1.25rem, 4vw, 4rem));
}

body.home .home-proof-story {
	background: var(--wp--preset--color--off-white);
	border: 1px solid rgb(23 25 24 / 16%);
	border-radius: var(--breganja-radius-card);
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
}

body.home .home-proof-story__media {
	aspect-ratio: 4 / 3;
	background: var(--wp--preset--color--mist);
	display: block;
	overflow: hidden;
}

body.home .home-proof-story__media img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

body.home .home-proof-story__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: clamp(1.25rem, 2.5vw, 2rem);
}

body.home .home-proof-story__label {
	color: var(--breganja-red);
	font-family: var(--wp--preset--font-family--montserrat);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

body.home .home-proof-story h3 {
	font-size: clamp(1.45rem, 1.2rem + 0.8vw, 2rem);
	line-height: 1.12;
	margin-block: 0.75rem 1rem;
}

body.home .home-proof-story h3 a,
body.home .home-proof-story__cta a {
	color: inherit;
	text-decoration: none;
}

body.home .home-proof-story__cta {
	font-family: var(--wp--preset--font-family--montserrat);
	font-weight: 700;
	margin-top: auto;
	padding-top: 1.25rem;
}

body.home .home-proof-story:focus-within {
	outline: 3px solid var(--breganja-red);
	outline-offset: 4px;
}

body.home .home-history__inner {
	align-items: center;
}

body.home .home-history__tagline {
	display: flex;
	flex-direction: column;
	font-family: var(--wp--preset--font-family--montserrat);
	font-size: clamp(3.25rem, 7vw, 7.5rem);
	font-weight: 700;
	grid-column: 1 / 7;
	letter-spacing: -0.075em;
	line-height: 0.78;
	min-width: 0;
	text-transform: lowercase;
}

body.home .home-history__tagline span:nth-child(2) {
	color: var(--breganja-red);
	font-size: 0.62em;
	line-height: 0.9;
	margin-left: 1.15em;
}

body.home .home-history__content {
	grid-column: 8 / 13;
}

body.home .home-history__content h2 {
	font-size: clamp(3.25rem, 5vw, 5.75rem);
	margin-block: 0.65rem 1rem;
}

body.home .home-history__content .home-history__copy,
body.home .home-history__content > p:has(> .home-history__link) {
	grid-column: auto;
	margin-block: 0 1.25rem;
}

@media (max-width: 781px) {
	body.home .home-proof-stories {
		grid-template-columns: minmax(0, 1fr);
	}

	body.home .home-history__tagline,
	body.home .home-history__content {
		grid-column: 1;
	}

	body.home .home-history__tagline {
		font-size: clamp(3rem, 17vw, 5.5rem);
		margin-bottom: 2rem;
	}
}

/*
 * v1.30.3 — authoritative Homepage visual recovery.
 * Homepage scenes own their inter-scene rhythm; ordinary Gutenberg flow keeps
 * the WordPress block gap everywhere outside this explicitly scoped contract.
 */
body.home .wp-site-blocks > .breganja-home,
body.home .breganja-home > .home-hero,
body.home .breganja-home > .home-introduction,
body.home .breganja-home > .home-section,
body.home .home-hero > .home-hero__split,
body.home .wp-site-blocks > .wp-block-template-part:last-child {
	margin-block-start: 0;
}

/* Restore the approved documentary mosaic while retaining the three real Stories. */
body.home .home-people__stories {
	box-sizing: border-box;
	display: grid;
	gap: var(--home-space-s);
	grid-template-columns: minmax(0, 1.618fr) minmax(18rem, 1fr);
	grid-template-rows: repeat(2, minmax(0, 1fr));
	margin-inline: auto;
	margin-top: var(--home-space-l);
	max-width: var(--wp--style--global--wide-size);
	padding-inline: 0;
	width: calc(100% - 3rem);
}

body.home .home-people__stories .home-proof-story {
	min-height: 0;
}

body.home .home-people__stories .home-proof-story--dominant {
	grid-row: 1 / 3;
	min-height: clamp(34rem, 52vw, 46rem);
	position: relative;
}

body.home .home-proof-story--dominant .home-proof-story__media {
	aspect-ratio: auto;
	inset: 0;
	position: absolute;
}

body.home .home-proof-story--dominant .home-proof-story__media::after {
	background: linear-gradient(to top, rgb(23 25 24 / 88%) 0%, rgb(23 25 24 / 24%) 58%, transparent 100%);
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
}

body.home .home-proof-story--dominant .home-proof-story__body {
	color: var(--wp--preset--color--off-white);
	justify-content: end;
	position: relative;
	z-index: 1;
}

body.home .home-proof-story--dominant h3 {
	color: var(--wp--preset--color--off-white);
	font-size: clamp(2rem, 3.4vw, 3.75rem);
	max-width: 13ch;
}

body.home .home-proof-story--dominant h3 a,
body.home .home-proof-story--dominant .home-proof-story__cta a {
	color: inherit;
}

body.home .home-people__stories > .home-proof-story:not(.home-proof-story--dominant) {
	display: grid;
	grid-template-columns: minmax(8.5rem, 0.8fr) minmax(0, 1.2fr);
}

body.home .home-people__stories > .home-proof-story:not(.home-proof-story--dominant) .home-proof-story__media {
	aspect-ratio: auto;
	height: 100%;
}

body.home .home-people__stories > .home-proof-story:not(.home-proof-story--dominant) .home-proof-story__body {
	padding: clamp(1.1rem, 2vw, 1.75rem);
}

body.home .home-people__stories > .home-proof-story:not(.home-proof-story--dominant) h3 {
	font-size: clamp(1.3rem, 1.05rem + 0.7vw, 1.8rem);
}

body.home .home-people__stories > .home-proof-story:not(.home-proof-story--dominant) .home-proof-story__body > p:not([class]) {
	font-size: 0.92rem;
}

/* Restrained historical continuity grid with the later approved tagline. */
body.home .home-history__inner {
	align-items: start;
	display: grid;
	gap: var(--home-space-s) var(--home-space-l);
	grid-template-columns: repeat(12, minmax(0, 1fr));
	margin-inline: auto;
	max-width: 72rem;
}

body.home .home-history__inner > .home-section__eyebrow {
	grid-column: 1 / 8;
}

body.home .home-history h2 {
	font-size: clamp(4rem, 6.2vw, 7rem);
	grid-column: 1 / 8;
	letter-spacing: -0.06em;
	line-height: 0.86;
	margin-block: var(--home-space-s) 0;
}

body.home .home-history__tagline {
	align-items: center;
	align-self: end;
	display: inline-flex;
	flex-direction: row;
	font-family: var(--wp--preset--font-family--montserrat);
	font-size: clamp(0.78rem, 0.72rem + 0.22vw, 0.95rem);
	font-weight: 700;
	gap: 0.55em;
	grid-column: 1 / 8;
	letter-spacing: 0.08em;
	line-height: 1.2;
	margin-top: var(--home-space-m);
	text-transform: lowercase;
}

body.home .home-history__tagline span:nth-child(2) {
	color: var(--breganja-red);
	font-size: 1em;
	line-height: inherit;
	margin-left: 0;
}

body.home .home-history__copy,
body.home .home-history__link-wrap {
	grid-column: 9 / 13;
}

body.home .home-history__copy {
	align-self: end;
	font-size: var(--wp--preset--font-size--lead, 1.25rem);
	grid-row: 1 / 4;
	margin: 0;
}

body.home .home-history__link-wrap {
	margin: var(--home-space-s) 0 0;
}

body.home .home-final__contact {
	color: rgb(247 246 242 / 76%);
	font-family: var(--wp--preset--font-family--montserrat);
	font-size: 0.82rem;
	font-weight: 600;
	margin: var(--home-space-m) 0 0;
	text-align: center;
}

body.home .home-final__contact a {
	color: var(--wp--preset--color--off-white);
	text-decoration-color: var(--breganja-red);
	text-decoration-thickness: 2px;
	text-underline-offset: 0.28em;
}

body.home .home-final__contact a:hover,
body.home .home-final__contact a:focus-visible {
	color: var(--breganja-red);
}

@media (max-width: 1100px) and (min-width: 782px) {
	body.home .home-people__stories {
		gap: var(--home-space-m);
		grid-template-columns: minmax(0, 1.382fr) minmax(16rem, 1fr);
	}

	body.home .home-people__stories > .home-proof-story:not(.home-proof-story--dominant) {
		display: flex;
	}

	body.home .home-people__stories > .home-proof-story:not(.home-proof-story--dominant) .home-proof-story__media {
		aspect-ratio: 16 / 7;
		height: auto;
	}
}

@media (max-width: 781px) {
	body.home .home-signature__layout {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: auto auto auto;
	}

	body.home .home-signature__copy,
	body.home .home-signature__figure--depth,
	body.home .home-signature__figure--height {
		grid-column: 1;
		justify-self: stretch;
		margin-inline: 0;
		width: 100%;
	}

	body.home .home-signature__copy {
		grid-row: 1;
	}

	body.home .home-signature__figure--depth {
		grid-row: 2;
	}

	body.home .home-signature__figure--height {
		grid-row: 3;
	}

	body.home .home-people__stories {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: auto;
		width: calc(100% - 2.5rem);
	}

	body.home .home-people__stories .home-proof-story--dominant {
		grid-row: auto;
		min-height: 0;
	}

	body.home .home-proof-story--dominant .home-proof-story__media {
		aspect-ratio: 4 / 3;
		position: relative;
	}

	body.home .home-proof-story--dominant .home-proof-story__media::after {
		display: none;
	}

	body.home .home-proof-story--dominant .home-proof-story__body {
		color: var(--wp--preset--color--ink);
	}

	body.home .home-proof-story--dominant h3 {
		color: var(--wp--preset--color--ink);
	}

	body.home .home-people__stories > .home-proof-story:not(.home-proof-story--dominant) {
		display: flex;
	}

	body.home .home-people__stories > .home-proof-story:not(.home-proof-story--dominant) .home-proof-story__media {
		aspect-ratio: 4 / 3;
		height: auto;
	}

	body.home .home-history__inner {
		grid-template-columns: minmax(0, 1fr);
	}

	body.home .home-history__inner > .home-section__eyebrow,
	body.home .home-history h2,
	body.home .home-history__tagline,
	body.home .home-history__copy,
	body.home .home-history__link-wrap {
		grid-column: 1;
		grid-row: auto;
	}

	body.home .home-history__tagline {
		font-size: 0.82rem;
		margin-block: var(--home-space-s) var(--home-space-m);
	}

	body.home .home-final__contact {
		margin-top: var(--home-space-s);
	}
}

/*
 * v1.31.0 — controlled pre-Story Homepage restoration.
 *
 * The People section again uses the accepted documentary-image/proof-slot
 * composition. Migrated Stories populate only those proof slots; they do not
 * create another generic Story grid. These rules are Homepage-scoped so the
 * Story archive, Story singles and internal Page families retain their current
 * contracts.
 */
body.home :where(
	.home-people__mosaic,
	.home-people__visual,
	.home-people__proofs
).is-layout-flow > * {
	margin-block-start: 0;
}

body.home .home-people__mosaic {
	box-sizing: border-box;
	margin-inline: auto;
	max-width: var(--wp--style--global--wide-size);
	width: 100%;
}

body.home .home-people__proofs--stories {
	grid-template-rows: repeat(3, minmax(0, 1fr));
}

body.home .home-people__proofs--stories .home-proof-story {
	border: 0;
	border-radius: var(--breganja-radius-card);
	min-height: 0;
}

body.home .home-people__proofs--stories .home-proof-story:first-child {
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--off-white);
}

body.home .home-people__proofs--stories .home-proof-story:first-child h3,
body.home .home-people__proofs--stories .home-proof-story:first-child a {
	color: inherit;
}

body.home .home-people__proofs--stories .home-proof-story__body {
	justify-content: center;
	padding: clamp(1.5rem, 3vw, 2.5rem);
}

body.home .home-people__proofs--stories .home-proof-story h3 {
	font-size: clamp(1.35rem, 1.12rem + 0.72vw, 1.9rem);
	margin-block: 0.65rem 0.8rem;
}

body.home .home-people__proofs--stories .home-proof-story__body > p:not([class]) {
	font-size: 0.95rem;
	line-height: 1.55;
	margin: 0;
}

body.home .home-people__proofs--stories .home-proof-story__cta {
	margin-top: var(--home-space-s);
	padding-top: 0;
}

@media (max-width: 781px) {
	body.home .home-people__mosaic {
		grid-template-columns: minmax(0, 1fr);
	}

	body.home .home-people__visual {
		min-height: clamp(22rem, 118vw, 34rem);
	}

	body.home .home-people__proofs--stories {
		grid-template-rows: auto;
	}
}

/*
 * v1.31.1 — exact pre-Story Homepage restoration.
 *
 * Reassert only the historical People and continuity geometry that later
 * Homepage-specific iterations changed. The current Gutenberg flow-margin
 * compatibility contract remains in force above, and no shared Page or Story
 * selector is changed here.
 */
body.home .home-history__inner {
	align-items: normal;
	max-width: var(--wp--style--global--wide-size);
}

body.home .home-history__inner > .home-section__eyebrow {
	grid-column: 1 / 13;
}

body.home .home-history h2 {
	font-size: clamp(3.75rem, 5.2vw, 6rem);
	grid-column: 1 / 8;
	letter-spacing: -0.06em;
	line-height: 0.86;
	margin: 1.5rem 0 0;
}

body.home .home-introduction__inner > p:has(> .home-introduction__link) {
	grid-column: 9 / 13;
	justify-self: start;
	margin: 0;
	width: max-content;
}

body.home .home-history__copy {
	align-self: end;
	font-size: clamp(1rem, 1.3vw, 1.2rem);
	grid-column: 9 / 13;
	grid-row: 1 / span 2;
	line-height: 1.65;
	margin: 0;
	max-width: 36rem;
}

@media (max-width: 781px) {
	body.home .home-history__inner > .home-section__eyebrow,
	body.home .home-history h2,
	body.home .home-history__copy,
	body.home .home-history__link,
	body.home .home-introduction__inner > p:has(> .home-introduction__link) {
		grid-column: 1;
	}

	body.home .home-history__copy {
		grid-row: auto;
	}

	body.home .home-people__visual {
		min-height: min(100vw, 29rem);
	}
}
}

/*
 * v1.31.2 — exact 2026-09-22 Homepage cutoff render recovery.
 *
 * Historical recovery layer. Later owner-approved section changes take
 * precedence; this layer is not evidence of an accepted exact cutoff render.
 */
body.home .wp-site-blocks > .breganja-home,
body.home .breganja-home > .home-hero,
body.home .breganja-home > .home-introduction,
body.home .breganja-home > .home-section,
body.home .home-hero > .home-hero__split,
body.home .wp-site-blocks > .wp-block-template-part:last-child {
	margin-block-start: 0;
}

body.home :where(
	.home-people__mosaic,
	.home-people__visual,
	.home-people__proofs
).is-layout-flow > * {
	margin-block-start: 0;
}

body.home .home-introduction__inner > p:has(> .home-introduction__link) {
	grid-column: 9 / 13;
	justify-self: start;
	margin: 0;
	width: max-content;
}

body.home .home-history__inner {
	align-items: normal;
	display: grid;
	gap: var(--home-space-s) var(--home-space-l);
	grid-template-columns: repeat(12, minmax(0, 1fr));
	margin-inline: auto;
	max-width: var(--wp--style--global--wide-size);
}

body.home .home-history__inner > .home-section__eyebrow {
	grid-column: 1 / 13;
}

body.home .home-history h2 {
	font-size: clamp(3.75rem, 5.2vw, 6rem);
	grid-column: 1 / 8;
	letter-spacing: -0.06em;
	line-height: 0.86;
	margin: 1.5rem 0 0;
}

body.home .home-history__copy {
	align-self: end;
	font-size: clamp(1rem, 1.3vw, 1.2rem);
	grid-column: 9 / 13;
	grid-row: 1 / span 2;
	line-height: 1.65;
	margin: 0;
	max-width: 36rem;
}

@media (max-width: 781px) {
	body.home .home-history__inner {
		grid-template-columns: minmax(0, 1fr);
	}

	body.home .home-history__inner > .home-section__eyebrow,
	body.home .home-history h2,
	body.home .home-history__copy,
	body.home .home-history__link,
	body.home .home-introduction__inner > p:has(> .home-introduction__link) {
		grid-column: 1;
	}

	body.home .home-history__copy {
		grid-row: auto;
	}
}

/* Homepage revalidation: the eyebrow precedes both editorial columns.
 * The headline spans the copy and CTA rows so their lower edges share a line.
 * Explicit rows replace inherited placement that lifted the copy above the H2.
 */
body.home .home-introduction__inner {
	row-gap: var(--wp--preset--spacing--8);
}

body.home .home-introduction__inner > .home-section__eyebrow {
	grid-row: 1;
	margin: 0;
}

body.home .home-introduction__headline {
	align-self: start;
	grid-row: 2 / span 2;
	margin: 0;
}

body.home .home-introduction__copy {
	align-self: start;
	grid-row: 2;
	margin: 0;
}

body.home .home-introduction__inner > p:has(> .home-introduction__link) {
	align-self: end;
	grid-row: 3;
}

body.home .home-introduction__link {
	margin-block: 0;
}

@media (max-width: 1279px) {
	body.home .home-introduction__inner {
		grid-template-columns: minmax(0, 1fr);
		row-gap: var(--home-space-s);
	}

	body.home .home-introduction__inner > .home-section__eyebrow,
	body.home .home-introduction__headline,
	body.home .home-introduction__copy,
	body.home .home-introduction__inner > p:has(> .home-introduction__link) {
		grid-column: 1;
		grid-row: auto;
	}
}
