/* =========================================================
   ROOT
   ========================================================= */

   :root {
    --color-bg: #2b2f2e;
    --color-bg-dark: #13191f;

    --color-surface: #302e27;
    --color-surface-light: #e8e4da;

    --color-text: #292923; /*(41, 41, 35)*/
    --color-text-light: #eeeae0; /*(238, 234, 224)*/
	--color-text-test: #f2f4f5; /*(242, 244, 245)*/

    --color-muted: #8b887e;
    --color-muted-light: #b8b4a8;
	--color-muted-dark: #596363;

    --color-accent: #8fb6a8;
    --color-accent-dark: #6f9689;

    --color-emerald-0: #CAE8E0; /* emerald air */
    --color-emerald-1: #96CCBD; /* emerald pale */
    --color-emerald-2: #64A996; /* emerald light */
    --color-emerald: #3f8f78; /* emerald base */
    --color-emerald-dark: #245c4d;
    --color-emerald-deep: #173c34;
	--color-teal-soft: #38A3A5;
	--color-aqua-warm: #2E8A8C;

	--color-coral: #FF8C66;
	--color-apricot: #F07865;
	--color-apricot-dark: #D1523E;

    --color-gold: #b99a58;
    --color-gold-light: #d2b875; /*(210, 184, 117)*/
    --color-gold-dark: #806a3d;

	--color-sandalwood-dark: #4D3823; /*(77, 56, 35)*/

	--color-honey-air: #FFF2D3; /*(255, 242, 211)*/
	--color-honey-pale: #ffe8b2; /*(255, 232, 178)*/
	--color-honey: #FFDD8C;

    --color-border: rgba(255, 255, 255, 0.14);
    --color-border-dark: rgba(0, 0, 0, 0.14);

	--color-overlay-gold: rgba(185, 154, 88, 0.36);
	--color-overlay-dark: rgba(19, 25, 31, 0.36);
	--color-overlay-dark-2: rgba(19, 25, 31, 0.72);

	--color-book-light: #1a233a;     /* cover 1: night blue */
	--color-book-light-deep: #0b1120;
	--color-book-earth: #2e1d11;     /* cover 2: dark leather */
	--color-book-earth-deep: #130b05;
	--color-book-shadow: #1e102d;    /* cover 3: deep violet */
	--color-book-shadow-deep: #09030e;
	--color-book-emerald: #12302a;   /* cover 4: deep emerald */
	--color-book-emerald-deep: #04120d;
	--color-book-parchment: #f4eae1;
	--color-book-parchment-dark: #d2bea5;
	--color-book-ink: #2c221e;

    --font-body: "Inter", Arial, Helvetica, sans-serif;
    --font-heading: "Manrope", "Inter", Arial, Helvetica, sans-serif;
	--font-book-title: "Cinzel", Georgia, serif;
	--font-book-text: "IM Fell English", Georgia, serif;
	--font-book-ornate: "Cinzel Decorative", "Cinzel", Georgia, serif;

    --fs-base: 1rem; /* 16px */
	/* --fs-xs: 0.7rem; /* 11.2px > 11px=0.688 */
	--fs-xs: 0.75rem; /* 12px > micro/captions */
    /* --fs-sm: 0.8rem; 12.8px > 13px=0.813 */
    --fs-sm: 0.875rem; /* 14px > small/secondary */
    --fs-md: 0.9rem; /* 14.4px > 15px=0.938*/
    /* --fs-lead: clamp(1.15rem, 2vw, 1.45rem); 18.4px--23.2px */
    --fs-lead: clamp(1.25rem, 2vw, 1.5rem); /* 20 - 25px */
    --fs-card-sm: clamp(1.25rem, 2.5vw, 1.75rem); /*20px--28px*/
    --fs-card-md: clamp(1.6rem, 3vw, 2.4rem); /*25.6px--38.4px*/
    --fs-card-lg: clamp(1.8rem, 3.6vw, 3.8rem); /*28.8px--60.8px*/
    --fs-heading-lg: clamp(3rem, 6vw, 6rem); /*48px--96px*/
    --fs-heading-xl: clamp(3.5rem, 7vw, 7rem); /*56px--112px*/
	--fs-watermark: clamp(11rem, 24vw, 18rem); /*176px--288px*/
    --line-height-base: 1.7;
    --line-height-tight: 1.1;

    --content-width: 1280px;
    --narrow-width: 760px;

    --section-space: 140px;
    --section-space-small: 90px;

	--glass-space: 40px;

    --gap: 40px;
    --gap-small: 24px;

    --radius: 4px;
    --radius-large: 48px;

    --border-width: 1px;
    --shadow: 0 30px 80px rgba(0, 0, 0, 0.16);

    --transition: 0.3s ease;
}


/* =========================================================
   RESET
   ========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--color-bg);
    color: var(--color-text-light);
    font-family: var(--font-body);
    font-size: var(--fs-base);
    line-height: var(--line-height-base);
	overflow-x: clip;
}

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

a {
    color: inherit;
    text-decoration: none;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.08;
}

/* TOKENS */
.color-gold {
	color:var(--color-gold);
}

/* =========================================================
   GLOBAL LAYOUT
   ========================================================= */

.container {
    width: min(
        calc(100% - 64px),
        var(--content-width)
    );

    margin-inline: auto;
}
.section {
    position: relative;
    padding-block: var(--section-space);
	overflow: hidden;
}
.section.section-overflow {
	overflow: visible;
}
.section.section-flush-bottom {
	padding-bottom: 0;
}
.section p {
	color: var(--color-muted-light);
}
.section-intro {
    max-width: 760px;
    margin-bottom: 90px;
}
.section-intro .eyebrow,
.programs-intro .eyebrow {
    margin-bottom: 0;
    color: var(--color-accent-dark);
}

.section-intro h2,
.programs-intro h2 {
    margin: 0;
    padding-top: 0.22em;
    padding-bottom: 0.2em;
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 6rem);
    line-height: 0.95;
    font-weight: 500;
    letter-spacing: -0.045em;
}
.section-intro .section-subtitle {
    margin: 28px 0 0;
	font-size: var(--fs-lead);
	opacity: 0.8;
}
.eyebrow {
	display: block;
    margin-bottom: 18px;
    color: var(--color-accent);
    font-size: var(--fs-sm);
    font-weight: 600;
    letter-spacing: 0.18em;
    line-height: 1.3;
    text-transform: uppercase;
}
.number {
	display: block;
	font-size: var(--fs-base);
	letter-spacing: 0.18em;
	color: var(--color-gold-light);
}
.link-ico {
	display: inline-flex;
	gap: 9px;
	align-items: center;
	margin-top: 20px;
	text-decoration: none;
	letter-spacing: 0.04em;
	color: var(--color-text);
	font-size: var(--fs-base);
	font-weight: 600;
	transition: margin-left var(--transition);
}
.link-ico-gold-light {
	color: var(--color-gold-light);
}
.link-ico-gold-dark {
	color: var(--color-gold-dark);
}
.link-ico:hover,
.link-ico-gold-light:hover,
.link-ico-gold-dark:hover {
	color: var(--color-apricot-dark);
	margin-left: 6px;
}
.link-ico svg {
	display: inline-block;
	width: 0.78rem;
	height: 0.78rem;
	margin-left: 0.36em;
	vertical-align: middle;
	/* transition: transform var(--transition); */
}
/* .link-ico:hover svg {
	transform: translateX(6px);
} */
.title-ico {
	display: flex;
	align-self: stretch; /* bcoz card: flex-start */
	align-items: center;
	justify-content: space-between;
	gap: 0.4em;
}
.title-ico svg {
	flex: none;
	width: 2.3em;
	height: 2.3em;
	color: var(--color-accent);
	fill: var(--color-accent);
	stroke-width: 3px;
}
.title {
    max-width: 760px;
    margin-bottom: 34px;
    /* font-size: clamp(2.8rem, 5.5vw, 5.8rem); */
	font-size: var(--fs-heading-lg); /*48px--96px*/
    letter-spacing: -0.045em;
}
.title-large {
    font-size: var(--fs-heading-xl); /*56px--112px*/
}
.title em {
    color: var(--color-accent-dark);
    font-style: normal;
}
.text {
    max-width: 680px;
    margin-bottom: 24px;
}
.text-xs {
	font-size: var(--fs-xs);
}
.text-sm {
	font-size: var(--fs-sm);
}
.text-lead {
	font-size: var(--fs-lead);
}
.text-lead.line-height-tight {
	line-height: var(--line-height-tight);
}
.text-card-md {
	font-size: var(--fs-card-md);
}
.text-uppercase {
	text-transform: uppercase;
}
.text-large {
    font-size: var(--fs-lead);
    line-height: 1.65;
}
.text-muted-dark {
    color: var(--color-muted-dark);
}
.text-muted-light {
	color: var(--color-muted-light);
}
.text-gold {
	color: var(--color-gold);
}
.text-gold-light {
	color: var(--color-gold-light);
}
.text-gold-dark {
	color: var(--color-gold-dark);
}
.text-accent-dark {
	color: var(--color-accent-dark);
}
.text-bold {
	font-weight: 600;
}
.line-height-tight {
	line-height: var(--line-height-tight);
}
.image {
    overflow: hidden;
}
.image img {
    height: 100%;
    object-fit: cover;
}
.image-cover {
    width: 100%;
    height: 100%;
}
.image-square {
    aspect-ratio: 1;
	border-radius: 18px;
	box-shadow: 0 0 11px rgba(0, 0, 0, 0.54);
}
.image-square img,
.image-square video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
	border-radius: 18px;
}
.image-square:hover img,
.image-square:hover video {
	box-shadow: 0 0 18px rgba(0, 0, 0, 0.72);
}
.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.image-grid img {
    aspect-ratio: 1;
    object-fit: cover;
	border-radius: 9px;
	transition: transform 0.36s ease;
	box-shadow: 0 0 11px rgba(0, 0, 0, 0.54);
}
.image-grid img:hover {
	transform: scale(1.011);
	box-shadow: 0 0 18px rgba(0, 0, 0, 0.72);
}
.image-organic {
    overflow: hidden;
    border-radius: 48% 52% 46% 54% / 53% 45% 55% 47%;
}
.image-organic img {
    min-height: 100%;
}
.image-grid-open {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	cursor: zoom-in;
}
.image-grid-open img {
	width: 100%;
}
body.photo-modal-open {
	overflow: hidden;
}
.photo-modal[hidden] {
	display: none;
}
.photo-modal {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: grid;
	place-items: center;
	padding: 28px;
}
.photo-modal-overlay {
	position: absolute;
	inset: 0;
	background: rgba(8, 13, 14, 0.84);
}
.photo-modal-stage {
	position: relative;
	z-index: 1;
	display: inline-block;
	max-width: min(960px, 100%);
	line-height: 0;
}
.photo-modal-image {
	display: block;
	width: auto;
	max-width: min(960px, 100%);
	max-height: calc(100vh - 56px);
	height: auto;
	margin: 0;
	border-radius: 12px;
}
.photo-modal-glass {
	position: absolute;
	right: 16px;
	bottom: 16px;
	width: 220px;
	max-width: calc(100% - 32px);
	margin: 0;
	padding: 16px;
	background: rgba(19, 25, 31, 0.46);
	border: 1px solid rgba(185, 154, 88, 0.42);
	border-radius: 6px;
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	color: var(--color-text-light);
	font-size: 0.95rem;
	line-height: 1.45;
	text-align: left;
}
.photo-modal-close {
	position: absolute;
	top: 18px;
	right: 18px;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: rgba(19, 25, 31, 0.55);
	cursor: pointer;
}
.photo-modal-close img {
	width: 32px;
	height: 32px;
}
/* photo credits*/
.section-aside {
	position: absolute;
	right: 22px;
	bottom: 28px;
	z-index: 24;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}
.section-aside.middle {
	bottom: 50%;
	transform: translateY(50%);
}
.photo-credit {
	display: block;
	width: 28px;
	height: 28px;
	/* margin: 0 0 12px; */
	color: var(--color-text-light);
	opacity: 0.36;
}
.photo-credit:hover,
.photo-credit:focus {
	opacity: 1;
	color: var(--color-accent);
}
.photo-credit svg {
	display: block;
	width: 100%;
	height: 100%;
}



/* =========================================================
   HEADER & NAVIGATION
   ========================================================= */

.site-header {
	position: relative;
    /* position: sticky; */
    top: 0;
    z-index: 20;
    margin-bottom: -86px;
	/* background: rgba(10, 20, 19, 0.18);
	backdrop-filter: blur(9px); */
}
.site-header .mobile-menu .main-nav a[aria-current="page"] {
	color: var(--color-gold-light);
	pointer-events: none;
	border-bottom: 1px solid rgba(210, 184, 117, 0.18);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 86px;
}

.lang-switch {
	position: fixed;
	top: calc(22px + 44px + 6px);
	right: 22px;
	z-index: 202;
	width: 44px;
}

.lang-switch-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--color-text-light);
	cursor: pointer;
}

.lang-switch-toggle.on-light {
	color: var(--color-text);
}

.lang-switch-icon {
	display: block;
	width: 22px;
	height: 22px;
}

.lang-switch-menu {
	position: absolute;
	top: 50%;
	right: calc(100% + 8px);
	transform: translateY(-50%);
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 5.5rem;
	margin: 0;
	padding: 0.4rem;
	list-style: none;
	border: 1px solid rgba(238, 234, 224, 0.18);
	border-radius: 6px;
	background: rgba(18, 28, 26, 0.42);
	backdrop-filter: blur(14px) saturate(1.2);
	-webkit-backdrop-filter: blur(14px) saturate(1.2);
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.18s ease, visibility 0.18s ease;
}

/* Keep :hover alive across the gap to the left-opening menu */
.lang-switch-menu::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 100%;
	width: 12px;
}

.lang-switch:hover .lang-switch-menu,
.lang-switch:focus-within .lang-switch-menu {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.lang-switch-menu a {
	display: flex;
	align-items: center;
	gap: 0.55em;
	padding: 0.45em 0.65em;
	border-radius: 6px;
	color: var(--color-text-light);
	font-size: var(--fs-xs);
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	opacity: 0.72;
	transition: opacity 0.15s ease, background-color 0.15s ease;
}

.lang-switch-menu a:hover,
.lang-switch-menu a:focus-visible {
	opacity: 1;
	background: rgba(238, 234, 224, 0.1);
}

.lang-switch-menu a[aria-current="page"] {
	opacity: 1;
	pointer-events: none;
	background: rgba(238, 234, 224, 0.12);
}

.lang-switch-flag {
	display: block;
	width: 18px;
	height: 12px;
	object-fit: cover;
	border-radius: 2px;
	flex-shrink: 0;
}

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

.logo {
    font-family: var(--font-heading);
    font-weight: 600;
}

.menu-toggle {
	display: none;
}

.mobile-menu-button {
	position: fixed;
	top: 22px;
	right: 22px;
	z-index: 202;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	color: var(--color-text-light);
	cursor: pointer;
}
.mobile-menu-button:hover,
.mobile-menu-button.on-light:hover {
	color: var(--color-apricot-dark);
}

.mobile-menu-button.on-light {
	color: var(--color-text);
}

.mobile-menu-button img,
.mobile-menu-button svg.icon-open,
.mobile-menu-button svg.icon-close {
	display: block;
	width: 28px;
	height: 28px;
	flex-shrink: 0;
}

.mobile-menu-button .icon-close {
	display: none;
}

#menu-toggle:checked ~ .mobile-menu-button .icon-open {
	display: none;
}

#menu-toggle:checked ~ .mobile-menu-button .icon-close {
	display: block;
}

.mobile-menu {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 201;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--color-bg-dark);
	visibility: hidden;
	pointer-events: none;
}

.mobile-menu .main-nav {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}

.mobile-menu .main-nav a {
	color: var(--color-text-light);
	font-size: 2rem;
}

#menu-toggle:checked ~ .mobile-menu {
	visibility: visible;
	pointer-events: auto;
}

body:has(#menu-toggle:checked) .site-header {
	z-index: 210;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
}

/* ?????? */
main section[id] {
	scroll-margin-top: 110px;
}

.page-nav {
	position: fixed;
	top: 120px;
	right: 22px;
	z-index: 25;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 10px;
}

.page-nav a {
	/* color: rgba(241, 243, 241, 0.72); */
	color: var(--color-text-light);
	font-size: var(--fs-xs);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	/* text-shadow: 0 1px 0px rgba(19, 25, 31, 0.8); */
}

.page-nav.on-light a {
	/* color: rgba(19, 25, 31, 0.72);
	text-shadow: none; */
	color: var(--color-text);
}

.page-nav a[aria-current="true"],
.page-nav.on-light a[aria-current="true"] {
	/* color: rgba(238, 234, 224, 0.72); */
	color: var(--color-accent-dark);
	font-weight: 600;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;

    display: flex;
    align-items: center;
}

.hero-image {
    position: absolute;
    inset: 0;
}

.hero-image img {
    filter: saturate(0.72);
    transform: scale(1.03);
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(8, 13, 14, 0.82) 0%,
            rgba(8, 13, 14, 0.54) 45%,
            rgba(8, 13, 14, 0.14) 100%
        );
}

.hero-container {
    position: relative;
    z-index: 3;

    display: flex;
    align-items: center;

    min-height: 100vh;
}

.hero-content {
    max-width: 800px;
    padding-top: 80px;
}

.hero-content-glass {
    position: relative;
    isolation: isolate;
}

.hero-content-glass::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: calc(80px - var(--glass-space));
    right: calc(var(--glass-space) * -2);
    bottom: calc(var(--glass-space) * -1);
    left: calc(var(--glass-space) * -2);

    background: rgba(124, 128, 130, 0.036);
    backdrop-filter: blur(11px);
    -webkit-backdrop-filter: blur(11px);
}

.hero-content-glass .hero-text {
    margin-bottom: 0;
}

.hero-title {
    max-width: 900px;
    margin-bottom: 30px;

    font-size: clamp(4rem, 9vw, 9rem);
    letter-spacing: -0.065em;
}

.hero-title .hero-title-small {
    display: block;
    font-size: min(0.5em, 7.2vw);
    line-height: 1.15;
    letter-spacing: -0.04em;
    white-space: nowrap;
}

.hero-title-krug {
    --logo-size: 2.15em;

    display: flex;
    align-items: center;
    max-width: none;
    line-height: 1;
    white-space: nowrap;
}

.hero-title-krug .krug-logo {
    display: block;
    width: calc(357em / 64);
    height: auto;
    flex: none;
    overflow: visible;
}

.hero-title-krug .krug-ring {
    fill: var(--color-apricot);
}

.hero-title-krug .krug-letters-krug {
    color: var(--color-text-light);
}
.hero-title-krug .krug-letters-dobrote {
	color: var(--color-text-light);
}

.hero-title-krug .dobrote-word {
    margin-left: calc(var(--logo-size) / -1.8);
    line-height: 1;
}

.hero-text {
    max-width: 540px;
    color: rgba(241, 243, 241, 0.8);
    font-size: var(--fs-lead);
}

.hero-mark {
    position: absolute;
    right: 5%;
    bottom: 18%;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--color-accent);
}
.hero-mark span {
	position: relative;
	display: block;
	height: 1em;
	overflow: hidden;
	font-size: 2rem;
	line-height: 1;
	/* Keep ↓ for a11y; draw the moving glyph via ::before */
	color: transparent;
}
.hero-mark span::before {
	content: "↓";
	position: absolute;
	left: 0;
	right: 0;
	color: var(--color-accent);
	text-align: center;
	animation: mark-fall 1.8s linear infinite;
}
@keyframes mark-fall {
	0% {
		transform: translateY(-100%);
	}
	100% {
		transform: translateY(100%);
	}
}
.hero-image-overlap {
    position: absolute;
    z-index: 6;
    top: -36vh;
    right: 0;
    width: calc(100% / 3);
    aspect-ratio: 3 / 4;
    overflow: hidden;
	box-shadow: 0 0 32px rgba(0, 0, 0, 0.72);
	border-radius: 18px;
}
.hero-image-overlap img {
    height: 100%;
    object-fit: cover;
	border-radius: 18px;
}
.hero-image-overlap + .container {
    padding-right: calc(100vw / 3);
}

.hero-mark small {
    margin-top: 1px;
    font-size: var(--fs-xs);
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-bottom {
    position: absolute;
    z-index: 5;
    right: 32px;
    bottom: 28px;
    left: 32px;
    display: flex;
    gap: 30px;
    color: var(--color-text-light);
	opacity: 0.54;
    font-size: var(--fs-xs);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}


/* =========================================================
   INTRO
   ========================================================= */

.intro-section {
    overflow: hidden;

    background: radial-gradient(
        circle,
        var(--color-honey-pale),
        var(--color-surface-light)
    );
    color: var(--color-text);
}

.intro-section .eyebrow {
    color: var(--color-accent-dark);
}

.intro-container {
    position: relative;
    display: grid;
    grid-template-columns: 0.35fr 1fr;
    gap: 80px;
    min-height: 760px;
    align-items: center;

}

.intro-word {
    align-self: start;
    padding-top: 40px;
    color: rgba(37, 43, 43, 0.09);
    font-size: clamp(4rem, 10vw, 9rem);
    font-weight: 600;
    letter-spacing: -0.08em;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.intro-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
}

.intro-text {
    max-width: 680px;
    margin-left: 12%;
}

.intro-shape {
    position: absolute;
    right: -180px;
    bottom: -280px;
    width: 600px;
    height: 600px;
    border: 1px solid rgba(111, 150, 137, 0.25);
    border-radius: 50%;
}

.intro-shape::after {
    content: "";
    position: absolute;
    inset: 100px;
    border: 1px solid rgba(111, 150, 137, 0.2);
    border-radius: 50%;
}

.intro-breath {
    position: absolute;
    z-index: 1;

    right: -180px;
    bottom: -280px;

    width: 600px;
    height: 600px;

    pointer-events: none;
}

.intro-breath-readout {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 50%;

    margin: 0;
    padding: 18px 22px;

    transform: translate(-50%, -50%);
    text-align: center;

    color: var(--color-emerald-dark);
    background: radial-gradient(
        circle,
        rgba(255, 232, 178, 0.88) 0%,
        rgba(255, 232, 178, 0) 72%
    );
}

.intro-breath-phase {
    display: block;
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.intro-breath-timer {
    display: block;
    margin-top: 4px;

    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}


/* =========================================================
   STATEMENT
   ========================================================= */

.statement-section {
    min-height: 650px;
    display: flex;
    align-items: center;

    background:
        linear-gradient(
            rgba(10, 20, 17, 0.82),
            rgba(10, 20, 17, 0.82)
        ),
        url("/assets/images/bgr_emerald_2.jpg") center / cover;
}
.statement-section.van-vremena {
    min-height: 650px;
    display: flex;
    align-items: center;

    background:
        linear-gradient(
            rgba(10, 20, 17, 0.82),
            rgba(10, 20, 17, 0.82)
        ),
        url("/assets/images/bgr_emerald_4.jpg") center / cover;
}

.statement-background {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.statement-background span {
    color: rgba(255, 255, 255, 0.09);
    font-size: clamp(10rem, 25vw, 30rem);
    font-weight: 700;
    letter-spacing: -0.1em;
}

.statement-background.statement-van-vremena span {
    color: rgba(255, 255, 255, 0.036);
}

.statement-container {
    position: relative;
    z-index: 2;
}

.statement-line {
    width: 80px;
    height: 1px;
    margin-bottom: 40px;
    background: var(--color-accent);
}

.statement {
    max-width: 900px;
    margin: 0;
    font-family: var(--font-heading);
    font-size: var(--fs-heading-xl); /*56px--112px*/
    letter-spacing: -0.06em;
    line-height: 1.05;
}

.statement span {
    color: var(--color-accent);
}

.statement-detail {
    display: flex;
    gap: 16px;

    margin-top: 50px;

    color: var(--color-muted-light);

    font-size: 0.68rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}


/* =========================================
   ex - 3 GRANE | NEW: BOOKS
   ========================================= */

.path-section,
.ponuda-section {
    min-height: 900px;
    background:
        linear-gradient(
            rgba(10, 25, 21, 1),
            rgba(10, 25, 21, 0.82)
        ),
        url("/assets/images/bgr_emerald_5_cloth.jpg") center / cover;
    color: var(--color-text-light);
}

.path-container {
    position: relative;
    z-index: 2;
    min-height: 900px;
    padding-top: var(--section-space);
    padding-bottom: var(--section-space);
}


/* Heading */

.path-section .section-heading {
    position: absolute;
    top: var(--section-space);
    left: 0;
    width: 30%;
    max-width: 360px;
}

.path-section .eyebrow {
    color: var(--color-gold-light);
}

.path-section .section-heading h2,{
    margin: 0;
    color: var(--color-text-light);
    /* font-size: clamp(2.4rem, 4vw, 4rem); */
	font-size: var(--fs-card-lg); /*28.8px--60.8px*/
    line-height: 1;
}

.path-section .section-heading p {
    max-width: 320px;
    margin: 28px 0 0;
    color: var(--color-muted-light);
}

/* NEW BOOKS
========================================= */
.books {
	--book-w: 360px;
	--book-h: 500px;
	--book-ease: cubic-bezier(0.25, 1, 0.3, 1);

	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 32px;
	min-height: 620px;
	perspective: 2000px;
}

.book {
	--book-shift: 3px;

	position: relative;
	flex: none;
	width: var(--book-w);
	height: var(--book-h);
	transform-origin: 100% 50%;
	transition:
		transform 1.1s var(--book-ease),
		opacity 0.6s ease;
}
.book:hover {
	transform: translateY(-14px) rotate(1deg);
}

.book-cover {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 34px;
	padding: 32px 26px;
	border-radius: 3px 10px 10px 3px;
	font: inherit;
	color: inherit;
	text-align: center;
	cursor: pointer;
	transform-origin: left center;
	backface-visibility: hidden;
	transition: transform 1.2s var(--book-ease);
}
.book-cover::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 14px;
	border-radius: 3px 0 0 3px;
	background: linear-gradient(to right, rgba(0, 0, 0, 0.55), rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.25));
}
.book-cover::after {
	content: "";
	position: absolute;
	inset: 12px 12px 12px 24px;
	border: 1px solid currentColor;
	border-radius: 4px;
	opacity: 0.28;
	pointer-events: none;
}

.book-cover .number {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	border: 1px solid currentColor;
	border-radius: 50%;
	font-family: var(--font-book-title);
	font-size: 1.1rem;
	letter-spacing: 0.2em;
	text-indent: 0.2em;
}
.book-cover svg {
	width: 72px;
	height: 72px;
	stroke-width: 6px;
}

.book-stars {
	position: absolute;
	left: 36px;
	right: 24px;
	display: flex;
	justify-content: space-between;
	font-size: var(--fs-xs);
	opacity: 0.4;
}
.book-stars:first-child {
	top: 22px;
}
.book-stars:last-child {
	bottom: 22px;
}

.book-heading {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}

.book-tome {
	font-family: var(--font-book-title);
	font-size: var(--fs-xs);
	font-weight: 600;
	letter-spacing: 0.3em;
	text-indent: 0.3em;
	text-transform: uppercase;
	opacity: 0.6;
}

.book-hint {
	position: absolute;
	bottom: 36px;
	left: 0;
	right: 0;
	font-family: var(--font-book-text);
	font-size: var(--fs-sm);
	font-style: italic;
	opacity: 0.6;
}

.book-title {
	font-family: var(--font-book-ornate);
	font-size: 1.55rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	background-clip: text;
}
.book-title::after {
	content: "";
	display: block;
	width: 64px;
	height: 1px;
	margin: 18px auto 0;
	background: linear-gradient(to right, transparent, currentColor, transparent);
}

.book-one   { color: #d4af37; }
.book-two   { color: #d58a4e; }
.book-three { color: #b9a6e0; }
.book-four  { color: #9fd6c0; }
.book-five  { color: #b04a5a; }

.book-cover {
	box-shadow:
		inset 0 0 40px rgba(0, 0, 0, 0.8),
		0 35px 60px -15px rgba(0, 0, 0, 0.9),
		0 0 30px rgba(0, 0, 0, 0.5);
}

/* Metallic Foil & Embossed Text Styling */
.book-one .book-title {
	background: linear-gradient(135deg, #bf953f 0%, #fcf6ba 25%, #b38728 50%, #fbf5b7 75%, #aa771c 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	filter: drop-shadow(0px 2px 3px rgba(0, 0, 0, 0.9)) drop-shadow(0px 0px 8px rgba(252, 246, 186, 0.3));
}

.book-two .book-title {
	background: linear-gradient(135deg, #e5a970 0%, #ffd9b3 30%, #b86b32 60%, #e5a970 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	filter: drop-shadow(0px 2px 3px rgba(0,0,0,0.9)) drop-shadow(0px 0px 8px rgba(229, 169, 112, 0.3));
}

.book-three .book-title {
	background: 
		linear-gradient(135deg, 
			#e0e0e0 0%, 
			#ffffff 30%, 
			#8a9ba8 60%, 
			#d1d5db 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	filter: drop-shadow(0px 2px 3px rgba(0,0,0,0.9)) drop-shadow(0px 0px 10px rgba(168, 85, 247, 0.4));
}

.book-four .book-title {
	background: linear-gradient(135deg, #cfe8dc 0%, #ffffff 30%, #6fa58f 60%, #cfe8dc 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	filter: drop-shadow(0px 2px 3px rgba(0,0,0,0.9)) drop-shadow(0px 0px 8px rgba(120, 200, 170, 0.35));
}
.book-five .book-title {
	background: linear-gradient(135deg, #8b2c3c 0%, #f2c4c9 28%, #a33a4c 55%, #f8dde0 78%, #6e1e2c 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	filter: drop-shadow(0px 2px 3px rgba(0,0,0,0.9)) drop-shadow(0px 0px 8px rgba(176, 74, 90, 0.4));
}

/* Book Cover Leather Textures */
.book-one .book-cover{
	background:
		radial-gradient(
			circle at 30% 30%, 
			#1a233a,
			#0b1120);
	border: 2px solid rgba(212, 175, 55, 0.4);
}

.book-two .book-cover{
	background: 
		radial-gradient(
			circle at 30% 30%, 
			#2e1d11,
			#130b05);
	border: 2px solid rgba(184, 107, 50, 0.4);
}

.book-three .book-cover{
	background:
		radial-gradient(
			circle at 30% 30%, 
			#1e102d, 
			#09030e);
	border: 2px solid rgba(168, 85, 247, 0.4);
}

.book-four .book-cover {
	background:
		radial-gradient(
			circle at 30% 30%,
			var(--color-book-emerald),
			var(--color-book-emerald-deep));
	border: 2px solid rgba(120, 200, 170, 0.4);
}
.book-five .book-cover {
	background:
		radial-gradient(
			circle at 30% 30%,
			#3f0f1a,
			#150409);
	border: 2px solid rgba(176, 74, 90, 0.45);
}

.book-pages {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	display: grid;
	grid-template-columns: 1fr 1fr;
	width: calc(var(--book-w) * 2);
	height: 100%;
	border-radius: 6px;
	box-shadow:
		0 35px 60px -15px rgba(0, 0, 0, 0.9),
		0 0 30px rgba(0, 0, 0, 0.5);
	opacity: 0;
	transition: opacity 0.3s ease;
}
.book-pages[hidden],
.books-close[hidden] {
	display: none;
}

.book-page {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 34px 28px;
	overflow-y: auto;
	color: var(--color-book-ink);
	font-family: var(--font-book-text);
	background-color: var(--color-book-parchment);
	box-shadow: inset 0 0 30px rgba(100, 70, 40, 0.25);
}
.book-page:first-child {
	border-radius: 6px 0 0 6px;
	background-image:
		linear-gradient(to right, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.05) 8%, transparent 20%),
		linear-gradient(to left, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.02) 6%, transparent 15%),
		radial-gradient(circle, rgba(244, 234, 225, 0.9), rgba(210, 190, 165, 0.85));
}
.book-page:last-child {
	border-radius: 0 6px 6px 0;
	background-image:
		linear-gradient(to left, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.05) 8%, transparent 20%),
		linear-gradient(to right, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.02) 6%, transparent 15%),
		linear-gradient(rgba(255, 251, 235, 0.4), rgba(255, 251, 235, 0.4)),
		radial-gradient(circle, rgba(244, 234, 225, 0.9), rgba(210, 190, 165, 0.85));
}

.book-page .eyebrow {
	margin: 0;
	color: #8a6a3d;
}
.book .book-page h3 {
	margin: 0;
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(44, 34, 30, 0.2);
	color: var(--color-book-ink);
	font-family: var(--font-book-title);
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.2;
}
.book-page h4 {
	margin: 0;
	padding-bottom: 4px;
	border-bottom: 1px solid rgba(120, 53, 15, 0.1);
	color: #78350f;
	font-family: var(--font-book-title);
	font-size: var(--fs-xs);
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}
.book-page p,
.book-page li {
	margin: 0;
	color: var(--color-book-ink);
	/* font-size: var(--fs-lead); */
	line-height: 1.55;
}

.book-page p {
	font-style: italic;
}
.book-page ul {
	margin: 0;
	padding-left: 1.1em;
}
.book-page .link-ico {
	margin-top: auto;
	color: var(--color-book-ink);
}
.book-page .link-ico:hover {
	color: var(--color-apricot-dark);
}

.books-close {
	position: absolute;
	top: calc(100% + 72px);
	left: 50%;
	z-index: 10;
	padding: 12px 26px;
	border: 1px solid var(--color-gold-light);
	border-radius: 999px;
	background: rgba(10, 25, 21, 0.72);
	color: var(--color-gold-light);
	font: inherit;
	font-size: var(--fs-xs);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	cursor: pointer;
	opacity: 0;
	transform: translateX(-50%);
	transition: opacity 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.books.is-open .book:not(.is-active) {
	opacity: 0;
	transform: translateY(30px) scale(0.85);
	pointer-events: none;
}
.books.is-open .books-close {
	opacity: 1;
	/* Delay only the fade-in; colors must not inherit the 0.6s delay on mouse-out */
	transition:
		opacity 0.4s ease 0.6s,
		background-color 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease;
}
.books.is-open .books-close:hover {
	background: var(--color-gold-light);
	border-color: var(--color-bg-dark);
	color: var(--color-bg-dark);
	font-weight: 600;
}

.book.is-active {
	z-index: 5;
	transform: translateX(var(--book-shift)) scale(1.4);
}
.book.is-active .book-cover {
	transform: rotateY(-180deg);
}
.book.is-active .book-pages {
	opacity: 1;
	transition-delay: 0.35s;
}

@media (max-width: 800px) {
	.books {
		flex-direction: column;
		gap: 40px;
		width: 100%;
		min-height: 0;
		margin-top: 40px;
	}
	.book.is-active {
		width: 100%;
		max-width: 420px;
		height: auto;
		transform: none;
	}
	.books.is-open .book:not(.is-active) {
		display: none;
	}
	.book.is-active .book-cover {
		display: none;
	}
	.book.is-active .book-pages {
		position: static;
		grid-template-columns: 1fr;
		width: 100%;
	}
	.book-page:first-child,
	.book-page:last-child {
		border-radius: 6px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.book,
	.book-cover,
	.book-pages {
		transition: none;
	}
	.hero-mark span::before {
		animation: none;
		transform: none;
	}
}

/* BOOK CAROUSEL
========================================= */
.book-carousel {
	--book-w: 360px;
	--book-h: 500px;
	--book-ease: cubic-bezier(0.25, 1, 0.3, 1);
	--card-side-x: 90%;
	--card-side-angle: -54deg;

	position: relative;
	height: calc(var(--book-h) + 80px);
	margin-top: 40px;
	perspective: 1600px;
	touch-action: pan-y;
	user-select: none;
}
.book-carousel:focus-visible {
	outline: 1px solid var(--color-gold-light);
	outline-offset: 8px;
}

.book-card {
	--card-opacity: 0;

	position: absolute;
	top: 40px;
	left: 50%;
	margin-left: calc(var(--book-w) / -2);
	transform-origin: 50% 50%;
	transform: translateZ(-420px) scale(0.7);
	pointer-events: none;
	transition: transform 0.8s var(--book-ease);
}
.book-card[data-pos="0"] {
	--card-opacity: 1;

	z-index: 3;
	transform-style: preserve-3d;
	transform: none;
	pointer-events: auto;
}
.book-card[data-pos="-1"],
.book-card[data-pos="1"] {
	--card-opacity: 0.6;

	z-index: 2;
	cursor: pointer;
	pointer-events: auto;
}
.book-card[data-pos="-1"] {
	transform: translateX(calc(var(--card-side-x) * -1)) translateZ(-220px) rotateY(var(--card-side-angle));
}
.book-card[data-pos="1"] {
	transform: translateX(var(--card-side-x)) translateZ(-220px) rotateY(calc(var(--card-side-angle) * -1));
}

.book-card .book-cover {
	cursor: inherit;
	opacity: var(--card-opacity);
	transition:
		transform 1.2s var(--book-ease),
		opacity 0.6s ease;
}
.book-card > .book-page {
	position: absolute;
	inset: 0;
	z-index: 1;
	opacity: 0;
	transition: opacity 0.6s ease;
}
.book-card[data-pos="0"] > .book-page {
	opacity: 1;
}
.book-card.is-open .book-cover {
	transform: rotateY(-180deg);
}

.book-dots {
	display: flex;
	gap: 10px;
}
.book-dots span {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: currentColor;
	box-shadow: 0 0 8px currentColor;
}

@media (max-width: 800px) {
	.book-carousel {
		--book-w: 240px;
		--book-h: 340px;
		--card-side-x: 72%;
		--card-side-angle: -54deg;
	}
}

@media (prefers-reduced-motion: reduce) {
	.book-card,
	.book-card .book-cover,
	.book-card > .book-page {
		transition: none;
	}
}


/* =========================================================
   PROSTOR ZA ISKUSTVO
   ========================================================= */

.experience-section {
    min-height: 100vh;
    padding: 0;
    background: var(--color-bg-dark);
}

.experience-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-template-rows: 1fr;
	width: 100%;
    min-height: 100vh;
}

.experience-card {
	width: 100%;
	min-width: 0;
    min-height: 100vh;
    position: relative;
    z-index: 0;
    overflow: hidden;
}

/* Image */

.experience-image {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-size: cover;
    background-position: center;
    transition: transform 1.2s ease;
}

.experience-one .experience-image {
    background-image: url("/assets/images/bgr_ovladaj_umom.jpg");
}

.experience-two .experience-image {
    background-image: url("/assets/images/bgr_mindfulness.jpg");
}

.experience-three .experience-image {
    background-image: url("/assets/images/bgr_krug_dobrote.jpg");
}

/* Dark image treatment */

.experience-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(
            to top,
            rgba(10, 20, 19, 0.88) 0%,
            rgba(10, 20, 19, 0.42) 48%,
            rgba(10, 20, 19, 0.16) 100%
        );
    transition: background 0.5s ease;
}

/* Content */

.experience-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 48px 42px 52px;
    color: var(--color-text-light);
}

.experience-number {
    margin-bottom: 18px;
	font-size: var(--fs-md);
}

.experience-content h3 {
    max-width: 420px;
    margin: 0 0 24px;
    font-family: var(--font-heading);
	font-size: var(--fs-card-lg);
    line-height: 1.05;
    font-weight: 500;
}

.experience-play,
.experience-modal-play {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border: 0;
    background: none;
    color: var(--color-text-light);
    font-family: var(--font-body);
    font-size: 1rem;
    cursor: pointer;
}

.play-icon {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    font-size: var(--fs-md);
    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

/* Subtle separation */

.experience-card + .experience-card {
    border-left: 1px solid rgba(255, 255, 255, 0.16);
}

/* Interaction */

.experience-card:hover .experience-image {
    transform: scale(1.035);
}

.experience-card:hover .experience-overlay {
    background:
        linear-gradient(
            to top,
            rgba(10, 20, 19, 0.9) 0%,
            rgba(10, 20, 19, 0.5) 52%,
            rgba(10, 20, 19, 0.2) 100%
        );
}

.experience-card:hover .play-icon {
    background: rgba(185, 154, 88, 0.18);
    border-color: var(--color-gold-light);
    transform: scale(1.06);
}
.experience-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: rgba(5, 10, 10, 0.88);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.35s ease,
        visibility 0.35s ease;
}

.experience-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body.experience-modal-open {
    overflow: hidden;
}
.experience-modal-panel {
    position: relative;
    width: min(1200px, 90vw);
    height: min(760px, 86vh);
    overflow: hidden;
    background: var(--color-bg-dark);
}

.experience-modal-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
	filter: saturate(0.45) brightness(0.36);
    transform: scale(1.03);
}
.experience-modal-image {
    z-index: 0;
}

.experience-modal-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
	background: rgba(8, 15, 14, 0.63);
}

.experience-modal-close {
    position: absolute;
    top: 22px;
    right: 22px;
    z-index: 3;
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    background: transparent;
    color: var(--color-text-light);
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
    transition:
        background 0.3s ease,
        border-color 0.3s ease;
}

.experience-modal-close:hover {
    background: rgba(185, 154, 88, 0.18);
    border-color: var(--color-gold-light);
}

.experience-modal-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: var(--color-text-light);
}

.experience-modal-stage {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 88px 48px 120px;
    text-align: center;
    pointer-events: none;
}

.experience-modal-countdown {
    margin-bottom: 8px;
    font-family: var(--font-heading);
    font-size: clamp(7.5rem, 18vw, 14rem);
    font-weight: 500;
    line-height: 0.85;
    letter-spacing: -0.04em;
    color: var(--color-text-light);
    opacity: 0.5;
}

.experience-modal-countdown:empty {
    display: none;
}

.experience-modal-number {
    margin-bottom: 14px;
}

.experience-modal-title {
    max-width: 12em;
    margin: 0;
    font-size: clamp(2.6rem, 5vw, 4.8rem);
    line-height: 1.02;
    letter-spacing: -0.035em;
}

.experience-modal-text {
    max-width: 34rem;
    margin: 18px 0 0;
    color: rgba(238, 234, 224, 0.78);
}

.experience-modal-text:empty {
    display: none;
}

.experience-modal-controls {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 28px 36px 32px;
    background: linear-gradient(
        to top,
        rgba(8, 15, 14, 0.55),
        rgba(8, 15, 14, 0)
    );
}

.experience-modal-play {
    flex-shrink: 0;
    padding: 0;
}

.experience-modal-volume-icon {
    flex-shrink: 0;
}

.experience-modal-volume-icon svg {
    width: 16px;
    height: 16px;
    display: block;
    fill: currentColor;
}

.experience-modal-time {
    flex-shrink: 0;
    font-size: var(--fs-sm);
    letter-spacing: 0.04em;
    font-variant-numeric: tabular-nums;
    color: rgba(238, 234, 224, 0.82);
    white-space: nowrap;
}

.experience-modal-progress,
.experience-modal-volume {
    --fill: 0%;
    -webkit-appearance: none;
    appearance: none;
    height: 22px;
    margin: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.experience-modal-progress {
    flex: 1;
    min-width: 0;
}

.experience-modal-volume {
    --fill: 100%;
    flex: 0 0 108px;
    width: 108px;
}

.experience-modal-progress::-webkit-slider-runnable-track,
.experience-modal-volume::-webkit-slider-runnable-track {
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(
        to right,
        var(--color-gold-light) var(--fill),
        rgba(255, 255, 255, 0.28) var(--fill)
    );
}

.experience-modal-progress::-webkit-slider-thumb,
.experience-modal-volume::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    margin-top: -5px;
    border: 0;
    border-radius: 50%;
    background: var(--color-text-light);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.experience-modal-progress::-moz-range-track,
.experience-modal-volume::-moz-range-track {
    height: 2px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(
        to right,
        var(--color-gold-light) var(--fill),
        rgba(255, 255, 255, 0.28) var(--fill)
    );
}

.experience-modal-progress::-moz-range-thumb,
.experience-modal-volume::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border: 0;
    border-radius: 50%;
    background: var(--color-text-light);
}

.experience-modal-play:hover .play-icon,
.experience-modal-volume-icon:hover {
    background: rgba(185, 154, 88, 0.18);
    border-color: var(--color-gold-light);
}

/* =========================================
   PROGRAMS
   ========================================= */

.programs-section {
    padding: 150px 0 170px;
    background: var(--color-surface-light);
    color: var(--color-text);
}

.programs-container {
    position: relative;
}
#intro-cetiri-teme {
	background: var(--color-surface-light);
	/* background: linear-gradient(
		to bottom,
        var(--color-honey-air),
        var(--color-surface-light)
    ); */
	color: var(--color-text);	
}
#intro-work {
	background: linear-gradient(
		to bottom,
        var(--color-surface-light),
        var(--color-honey-air)
    );
	color: var(--color-text);
}
/* .programs-intro {
    max-width: 760px;
    margin-bottom: 90px;
} */

/* -----------------------------------------
   PROGRAM LIST
   ----------------------------------------- */

.programs-list {
    border-top: 1px solid rgba(37, 43, 43, 0.18);
}

.programs-list.van-vremena {
	margin: 36px 0;
}
.program {
    position: relative;
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    min-height: 230px;
    padding: 46px 0;
    border-bottom: 1px solid rgba(37, 43, 43, 0.18);
    transition:
        padding 0.4s ease,
        background 0.4s ease;
}
.program.van-vremena {
	min-height: 180px;
	padding: 72px 0;
	border-bottom: none;
	border-right: 1px solid rgba(37, 43, 43, 0.18);
	/* transition: none; */
	grid-template-columns: 1fr;
	place-items: center;
	text-align: center;
}
.program.van-vremena:last-child {
	border-right: none;
}
.program.van-vremena > * {
	grid-area: 1 / 1;
}
.program.van-vremena .tjedan {
	font-family: var(--font-heading);
	font-size: var(--fs-watermark);
	color: var(--color-emerald-dark);
	font-weight: 800;
	line-height: 1;
	opacity: 0.045;
}
.program.van-vremena .text-card-md {
	position: relative;
	z-index: 1;
}
.programs-list-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	/* gap: 20px; */
}
.programs-list-grid .program-content {
	grid-column: span 1;
	min-height: auto;
	padding: 20px;
	border-bottom: none;
	transition: none;
}

/* -----------------------------------------
   CONTENT
   ----------------------------------------- */

.program-content {
    position: relative;
    max-width: 760px;
}

.program-content h3,
.programs-work h3 {
    margin: 0 0 18px;
    font-family: var(--font-heading);
    /* font-size: clamp(2rem, 3.6vw, 3.8rem); */
	font-size: var(--fs-card-lg); /*28.8px--60.8px*/
    line-height: 1;
    font-weight: 500;
    letter-spacing: -0.035em;
}

.program-content p {
    max-width: 600px;
    margin: 0 0 26px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-muted-dark);
}


/* -----------------------------------------
   DETAIL LINK
   ----------------------------------------- */

.programs-list .link-ico {
    display: inline-flex;
    position: relative;
    color: var(--color-text);
    letter-spacing: 0.08em;
	text-transform: uppercase;
	font-weight: 400;
}

.programs-list .link-ico::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(1);
	transform-origin: left;
    transition: transform 0.3s ease;
}

.programs-list .link-ico:hover {
    color: var(--color-apricot-dark);
}

.programs-list .link-ico:hover::after {
    transform: scaleX(0.35);
}


/* -----------------------------------------
   LINE DRAWING
   ----------------------------------------- */

.program-symbol {
    position: absolute;
    top: 50%;
    right: 7%;
    width: 110px;
    height: 110px;
    transform: translateY(-50%);
    opacity: 0.7;
    pointer-events: none;
	stroke-width: 3;
}
.program-mark {
	position: relative;
	width: 54px;
	height: 54px;
	stroke-width: 3;
}
.program-one .program-symbol,
.program-three .program-symbol,
.program-one .program-mark,
.program-three .program-mark {
    color: var(--color-emerald);
    fill: var(--color-emerald);
}
.program-two .program-symbol,
.program-four .program-mark,
.program-two .program-mark,
.program-four .program-mark {
    color: var(--color-gold);
    fill: var(--color-gold);
}


/* -----------------------------------------
   HOVER
   ----------------------------------------- */

.program:hover {
    padding-left: 18px;
    background: rgba(63, 143, 120, 0.055);
}

.program:hover .program-symbol,
.program:hover .program-mark {
    opacity: 1;
}
.program:hover .tjedan {
	opacity: 0.09;
}

.program-dark,
.program-dark:hover {
	margin-top: 32px;
	padding-left: 0;
	background: rgba(255, 255, 255, 0.06);
	color: var(--color-muted);
	transition: none;
}
.program.program-dark .tjedan,
.program.program-dark:hover .tjedan {
	color: var(--color-gold-light);
	opacity: 0.11;
}

/* PEOPLE */

.arrow-link {
    display: inline-flex;
    gap: 20px;
    align-items: center;
    margin-top: 20px;
    color: var(--color-text);
    font-size: 0.8rem;
    font-weight: 600;
}

.arrow-link strong {
    color: var(--color-accent-dark);
    font-size: 1.2rem;
    font-weight: 400;

    transition: transform var(--transition);
}

.arrow-link:hover strong {
    transform: translateX(5px);
}



/* =========================================================
   QUOTE
   ========================================================= */

.quote-section {
    position: relative;

    min-height: 700px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background: var(--color-accent);
    color: var(--color-bg-dark);
}

.quote-container {
    position: relative;
    z-index: 2;
}

.quote {
    max-width: 900px;
    margin: 0;

    font-family: var(--font-heading);
	font-size: var(--fs-heading-lg); /*48px--96px*/
    font-weight: 500;
    letter-spacing: -0.055em;
    line-height: 1.05;
}

.quote-author {
    max-width: 900px;
    margin: 32px 0 0;
    text-align: right;
    font-size: var(--fs-lead);
    letter-spacing: 0.04em;
}

.quote-mark {
    position: absolute;

    right: 5%;
    top: -80px;

    color: rgba(16, 21, 22, 0.12);

    font-family: Georgia, serif;
    font-size: 30rem;
    line-height: 1;
}

.quote-decoration {
    position: absolute;

    width: 600px;
    height: 600px;

    right: -100px;
    bottom: -300px;
}


/* =========================================================
   ABOUT
   ========================================================= */

.about-section {
    background: var(--color-surface-light);
    color: var(--color-text);
}

.about-container {
    display: grid;
    grid-template-columns: 0.85fr 1fr;
    gap: 120px;
    align-items: center;
}

.about-image {
    position: relative;

    height: 720px;
}

.image-caption {
    position: absolute;
    right: 30px;
    bottom: 30px;
    color: white;
    font-size: var(--fs-xs);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.about-content .text {
    color: var(--color-muted);
}
.about-section .eyebrow {
    color: var(--color-accent-dark);
}
.about-content .text-large {
    color: var(--color-text);
}


/* =========================================================
   BUTTONS
   ========================================================= */

.button {
    display: inline-flex;
    min-height: 50px;
    padding: 13px 27px;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-size: var(--fs-sm);
    font-weight: 600;
    letter-spacing: 0.06em;

    transition:
        background var(--transition),
        color var(--transition),
        border-color var(--transition);
}

.button-light {
    background: var(--color-text-light);
    color: var(--color-bg-dark);
}

.button-light:hover {
    background: var(--color-accent-dark);
    color: var(--color-text-light);
}

.button-dark {
    background: var(--color-bg-dark);
    color: var(--color-text-light);
}

.button-dark:hover {
    background: var(--color-accent-dark);
}


/* =========================================================
   CONTACT
   ========================================================= */

.contact-section {
    position: relative;

    min-height: 760px;

    display: flex;
    align-items: center;

    overflow: hidden;
}

.contact-background {
    position: absolute;
    inset: 0;
}

.contact-background img {
    height: 100%;
    object-fit: cover;

    filter: saturate(0.6);
}

.contact-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(10, 16, 17, 0.88),
            rgba(10, 16, 17, 0.48),
            rgba(10, 16, 17, 0.15)
        );
}

.contact-container {
    position: relative;
    z-index: 2;
}

.contact-container .title {
    max-width: 850px;
}

.contact-container .contact-text {
    max-width: 600px;
    margin: 0 0 26px;
    font-size: var(--fs-card-sm);
    line-height: 1.7;
}
.contact-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 72px;
	align-items: center;
}
.contact-form-wrap {
	position: relative;
	z-index: 2;
}
.contact-form-wrap form {
	display: flex;
	flex-direction: column;
	gap: 9px;
}
.contact-form-wrap form[hidden] {
	display: none !important;
}

.contact-form-wrap input,
.contact-form-wrap textarea {
	width: 100%;
	padding: 14px 18px;
	border: none;
	border: 1px solid var(--color-overlay-gold);
	background: var(--color-overlay-dark);
	color: var(--color-text-light);
	border-radius: 3px;
	font-family: var(--font-body);
 	font-size: 1.1rem;
	box-sizing: border-box;
}
.contact-form-wrap input:focus,
.contact-form-wrap textarea:focus {
	outline: none;
	border-color: var(--color-gold);
	background-color: var(--color-overlay-dark-2);
}
.contact-form-wrap textarea {
	min-height: 144px;
}
.btn-submit {
	padding: 18px;
	outline: none;
	border: 1px solid var(--color-overlay-gold);
	background-color: var(--color-overlay-dark);
	color: var(--color-text-light);
	border-radius: 3px;
	font-size: 1.1rem;
	box-sizing: border-box;
	cursor: pointer;
	transition: all 0.2s ease;
	&:hover,
	&:focus {
		background: var(--color-overlay-gold);
		border-color: var(--color-gold);
		color: var(--color-text-light);
	}
}
.btn-submit svg {
	display: inline-block;
	width: 18px;
	height: 18px;
	vertical-align: middle;
	margin-left: 8px;
}
.contact-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.contact-status[hidden] {
	display: none !important;
}
.contact-status {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: grid;
	place-items: center;
	padding: 28px;
}
.contact-status-overlay {
	position: absolute;
	inset: 0;
	padding: 0;
	border: 0;
	background: rgba(8, 13, 14, 0.84);
	cursor: pointer;
}
.contact-status-panel {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 22px;
	box-sizing: border-box;
	width: min(540px, 100%);
	margin: 0;
	padding: 80px;
	border: 1px solid currentColor;
	border-radius: 3px;
	background-color: var(--color-overlay-dark-2);
	font-size: 1.25rem;
	line-height: 1.45;
	text-align: center;
}
.contact-status-text {
	margin: 0;
	white-space: pre-line;
}
.contact-status-close {
	display: inline-block;
	padding: 12px 28px;
	border: 1px solid currentColor;
	border-radius: 3px;
	color: inherit;
	background: transparent;
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
}
.contact-status-close:hover,
.contact-status-close:focus {
	outline: none;
	background: var(--color-apricot-dark);
	color: var(--color-bg-dark);
}
.contact-status.is-sent {
	color: var(--color-emerald);
}
.contact-status.is-error {
	color: var(--color-apricot-dark);
}
/* =========================================================
	MINDFULNESS page
   =========================================================*/

.ponuda-section.mindfulness {
	background:
	linear-gradient(
		rgba(10, 25, 21, 0.72), /*#0a1915*/
		rgba(10, 25, 21, 0.82)
	),
	url("/assets/images/bgr_emerald_3.jpg") center / cover;
}


/* Map the page's section classes to the original layout */


.section-alt {
    background: var(--color-surface-light);
    color: var(--color-text);
}

.section-alt p,
.intro-section p {
    color: var(--color-muted-dark);
}

.section-alt .eyebrow {
    color: var(--color-accent-dark);
}

/* Hero: retain the original image, overlay and typography */
.hero-mindfulness .hero-image {
    background: url("/assets/images/mindfulness.jpg") center / cover no-repeat;
}

.hero-mindfulness .hero-content {
    max-width: 850px;
}

.hero-mindfulness h1 {
    max-width: 800px;
    margin-bottom: 30px;
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 7vw, 7rem);
    font-weight: 500;
    letter-spacing: -0.055em;
    line-height: 1.02;
}

/* Intro */
.mindfulness-intro {
    display: grid;
    /* grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); */
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    column-gap: clamp(32px, 7vw, 1px);
    align-items: start;
}


.mindfulness-intro h2 {
    margin-bottom: 0;
}

.mindfulness-intro h2,
.curriculum-section h2,
.closing-section h2 {
    margin-top: 0;
}

.mindfulness-intro-copy {
    max-width: 700px;
	font-size: 1.18rem;
	border-top: 1px solid var(--color-overlay-gold);
	border-bottom: 1px solid var(--color-overlay-gold);
	padding: 1rem 0;
}

.mindfulness-intro-copy p + p {
    margin-top: 1.2em;
}

/* Four offers */
.offer-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3px;
    margin-top: 48px;
    border: 1px solid var(--color-border-dark);

}

.offer-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding: clamp(26px, 4vw, 48px);
	/* background: rgba(63, 143, 120, 0.09); */
	background: rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(11px);
    -webkit-backdrop-filter: blur(11px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
    transition: background var(--transition);
}

.offer-card:hover {
    background: rgba(63, 143, 120, 0.18);
}

.offer-card h3 {
    margin: 0 0 12px;
    font-size: clamp(1.7rem, 2.5vw, 2.4rem);
}

.offer-card .offer-subtitle {
    margin: 0 0 18px;
    color: var(--color-text-light);
    /* font-weight: 600; */
	font-size: var(--fs-lead);
	opacity: 0.8;

}

.offer-card p {
    max-width: 620px;
	opacity: 0.8;
}

.offer-card .link-ico,
.offer-detail-grid .link-ico {
    margin-top: auto;
    padding-top: 24px;
    text-underline-offset: 5px;
	font-weight: 400;
    border-bottom: 1px solid currentColor;
}

#mindfulness
#skola-vrline,
#individualni-rad,
#mozaik-ljubavi {
    border-bottom: 1px solid var(--color-border);
}

#mindfulness {
    background:
        linear-gradient(
            rgba(77, 56, 35, 0.96),
            rgba(10, 20, 17, 0.9)
        ),
        url("/assets/images/bgr_sandalwood_1.jpg") center / cover;
}

#skola-vrline {
	background:
		radial-gradient(
			circle,
			var(--color-honey-pale),
			var(--color-surface-light)
		);
}
#oslobodi-um-program {
	background:
		linear-gradient(
			rgba(77, 56, 35, 0.96),
			rgba(10, 20, 17, 0.9)
		),
		url("/assets/images/bgr_sandalwood_2.jpg") center / cover;
}

.offer-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: clamp(32px, 7vw, 100px);
    align-items: start;
}

.offer-detail-block {
	display: grid;
	grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
	grid-column: 1 / -1;
	grid-template-rows: auto auto;
	column-gap: clamp(32px, 7vw, 100px);
	row-gap: 32px;
	align-items: start;
}
.offer-detail-block .offer-detail-lead {
	grid-column: 1;
	grid-row: 1;
}
.offer-detail-block > .program {
	grid-column: 1;
	grid-row: 2;
	margin-top: 0;
}
.offer-detail-block > .session-list {
	grid-column: 2;
	grid-row: 2;
}

.offer-detail-lead {
    max-width: 480px;
}

.offer-detail-lead .image {
    margin-top: 48px;
}

/* Eight-week course */
.session-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--color-border);
}

.session-list li {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid var(--color-border);
}

.session-number {
    padding-top: 3px;
}

.session-list strong {
    display: block;
    margin-bottom: 5px;
}

.session-list p {
    margin: 0;
    color: var(--color-muted-light);
    font-size: var(--fs-md);
}

/* School of Virtues */
.practice-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 30px;
    margin: 28px 0;
    padding: 0;
    list-style: none;
}

.practice-list li {
    padding: 14px 0;
    border-bottom: 1px solid var(--color-border);
}

.practice-list strong {
    display: block;
    margin-bottom: 5px;
}

.practice-list span {
    color: var(--color-muted-dark);
    font-size: var(--fs-md);
}

.offer-note {
    margin-top: 26px;
    padding: 20px 24px;
    border-left: 2px solid var(--color-gold);
    background: rgba(255, 255, 255, .035);
}

.offer-note p {
    margin: 0;
}
.offer-value {
    margin-top: 26px;
    padding: 11px 24px;
	display: flex;
	align-items: center;
	gap: 9px;
}
.offer-value.light-bgr {
	background: rgba(210, 184, 117, .09);
}
.offer-value.dark-bgr {
	background: rgba(0, 0, 0, .045);
}
.offer-value.light-bgr span {
	color: var(--color-gold-light);
}
.offer-value.dark-bgr span {
	color: var(--color-gold-dark);
}
/* .offer-value span {
    font-size: var(--fs-base);
    font-weight: 600;
	color: var(--color-gold-light);
} */
.offer-value svg {
    width: 36px;
    height: 36px;
	stroke-width: 3px;
	transform: rotate(-45deg);
}
/* Closing invitation */
.closing-section {
    text-align: center;
}

.closing-section p {
    max-width: 680px;
    margin-inline: auto;
}

.closing-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px 28px;
    margin-top: 30px;
}


/* =========================================================
   O MENI
   ========================================================= */

section.o-meni-section {
	overflow: visible;
}
.o-meni-section {
	overflow: visible;
	min-height: 900px;
	background:
		linear-gradient(
			rgba(10, 25, 21, 0.72),
			rgba(10, 25, 21, 0.82)
		),
		url("/assets/images/bgr_emerald_4.jpg") center / cover;
	color: var(--color-text-light);
   }
.o-meni-intro {
    display: grid;
    /* grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); */
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    column-gap: clamp(32px, 7vw, 1px);
    align-items: start;
}

.o-meni-intro .text {
	max-width: 700px;
	font-size: 1.18rem;
	border-top: 1px solid var(--color-overlay-gold);
	border-bottom: 1px solid var(--color-overlay-gold);
	padding: 1rem 0;
}
.o-meni-intro .text span {
	font-weight: 600;
}
.o-meni-section .text {
	color: var(--color-muted-light);
	font-size: var(--fs-lead);
	border-top: 1px solid var(--color-overlay-gold);
	border-bottom: 1px solid var(--color-overlay-gold);
	padding: 1rem 0;
}
.container-edukacije,
.container-profesionalni-put {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(40px, 7vw, 100px);
	align-items: center;
}

.o-meni-edukacije {
	position: relative;
	max-width: 480px;
	padding: 0 28% 24% 0;
}
.o-meni-edukacije img {
	position: relative;
	z-index: 1;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	border-radius: 18px;
	transition: transform var(--transition);
}
.o-meni-edukacije img + img {
	position: absolute;
	z-index: 3;
	right: 0;
	bottom: 0;
	width: 72%;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.o-meni-edukacije:hover img {
	transform: translate(-90px, -90px);
}
.o-meni-edukacije:hover img + img {
	z-index: 5;
	transform: translate(90px, 90px);
}

/* 
=========================================================
   PROFESIONALNI PUT
   ========================================================= */
.profesionalni-put-text .text-lead {
	color: var(--color-muted-dark);
	border-top: 1px solid var(--color-overlay-gold);
	border-bottom: 1px solid var(--color-overlay-gold);
	padding: 1rem 0;
}


/* 
=========================================================
   FOOTER
   ========================================================= */

.site-footer {
    padding-block: 45px;
    background: var(--color-bg-dark);
    color: var(--color-muted-light);
	border-top: 1px solid var(--color-overlay-gold);
}

.footer-container {
    display: grid;
    grid-template-columns: 0.75fr 1.5fr 0.75fr;
    align-items: start;
    gap: 30px;
}

.footer-center {
    text-align: center;
    font-size: var(--fs-xs);
    letter-spacing: 0.12em;
}
.footer-center .note {
	text-align: left;
}

.footer-right {
    text-align: right;
    font-size: var(--fs-xs);
}

.back-to-top {
	position: fixed;
	right: 0;
	bottom: 50px;
	z-index: 100;
	width: 45px;
	height: 45px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--color-overlay-gold);
	color: var(--color-emerald);
	border: 0px solid var(--color-emerald);
	border-radius: 3px;
	text-decoration: none;
	font-size: 2rem;
	line-height: 1;
}

.back-to-top::before {
	content: "";
	width: 10px;
	height: 10px;
	border-left: 2px solid var(--color-emerald);
	border-top: 2px solid var(--color-emerald);
	transform: rotate(45deg);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1200px) {
	body {
		padding-bottom: 52px;
	}

	.page-nav {
		position: fixed;
		top: auto;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 25;
		flex-direction: row;
		align-items: center;
		gap: 18px;
		margin: 0;
		padding: 12px 22px;
		overflow-x: auto;
		background: rgba(19, 25, 31, 0.92);
	}
}

@media (max-width: 1000px) {

    :root {
        --section-space: 100px;
    }

    /* .main-nav {
        display: none;
    } */

    .hero-title {
        font-size: clamp(4rem, 12vw, 7rem);
    }

    .intro-container {
        grid-template-columns: 1fr;
    }

    .intro-word {
        display: none;
    }

    .intro-text {
        margin-left: 0;
    }
	.intro-breath-timer {
        font-size: 1.45rem;
    }
	.intro-shape {
		right: -100px;
		bottom: -180px;
		width: 300px;
		height: 300px;
	}
	.intro-shape::after {
		inset: 60px;
	}
    .section-heading-split {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .path-layout {
        grid-template-columns: 1fr;
        gap: 70px;
    }

    .path-image {
        width: 70%;
        height: 550px;
    }

    .school-container {
        grid-template-columns: 1fr;
        gap: 70px;
    }

    .school-image {
        width: 70%;
        height: 550px;
    }

    .coaching-container {
        grid-template-columns: 1fr;
        gap: 70px;
    }

    .coaching-image {
        width: 70%;
        height: 550px;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 70px;
    }

    .about-image {
        width: 70%;
        height: 600px;
    }

}


@media (max-width: 800px) {
	
/* 3 BRANCHES - LANDING */

	.intro-container {
		min-height: auto;
	}
	.intro-shape {
		right: -100px;
		bottom: -80px;
		width: 200px;
		height: 200px;
	}
	.intro-shape::after {
		inset: 40px;
	}
    .path-section {
        min-height: auto;
    }

    .path-container {
        min-height: auto;
    }

    .path-section .section-heading {
        position: relative;
        top: auto;
        left: auto;
        width: auto;
        max-width: 600px;
        margin-bottom: 60px;
    }

    .branches {
        width: 100%;
		height: auto;
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 30px;
    }

    .branches-line {
        left: 0;
        width: 1px;
        height: 100%;
    }

    .branches-node-start {
        top: 0;
        left: 0;
        transform: translate(-50%, 0);
    }

    .branches-path {
        left: 0;
        width: 30px;
        transform: none;
    }

    .branches-path-one {
        top: 80px;
    }

    .branches-path-two {
        top: 50%;
    }

    .branches-path-three {
        top: auto;
        bottom: 80px;
    }

    .branch,
    .branch-one,
    .branch-two,
    .branch-three {
        position: relative;
		top: auto;
		left: auto;
		right: auto;
		bottom: auto;

        width: 100%;
		max-width: 500px;
        transform: none;
    }

    .branch-card {
        min-height: 220px;
    }

/* iskustvo MOBILE */

    .experience-section,
    .experience-container {
        min-height: auto;
    }

    .experience-container {
        display: flex;
        flex-direction: column;
		min-height: auto;
    }

    .experience-card {
		width: 100%;
        min-height: 72vh;
    }

    .experience-card + .experience-card {
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.16);
    }

    .experience-content {
        padding: 36px 28px 40px;
    }

    .experience-content h3 {
        font-size: 2rem;
    }

    .experience-modal {
        padding: 16px;
    }

    .experience-modal-panel {
        width: 100%;
        height: min(640px, 88vh);
    }

    .experience-modal-stage {
        padding: 72px 24px 108px;
    }

    .experience-modal-title {
        font-size: 2.2rem;
    }

    .experience-modal-controls {
        gap: 12px;
        padding: 20px 16px 22px;
    }

    .experience-modal-volume {
        flex-basis: 72px;
        width: 72px;
    }
	
/* PROGRAMS - LANDING */
    .programs-section {
        padding: 100px 0 110px;
    }

    .section-intro {
        margin-bottom: 60px;
    }

    .section-intro h2 {
        font-size: 3.2rem;
    }

    .program {
        grid-template-columns: 55px minmax(0, 1fr);
        min-height: 0;
        padding: 38px 0 44px;
    }

    .program-content {
        padding-right: 70px;
    }

    .program-content h3 {
        font-size: 2rem;
    }

    .program-content p {
        font-size: 1rem;
    }

    .program-symbol {
        right: 0;
        width: 70px;
        height: 70px;
        opacity: 0.5;
    }

	.hero-image-overlap {
		position: relative;
		top: auto;
		width: 66%;
		margin: calc(var(--section-space) * -1 - 60px) 0 40px auto;
	}

	.hero-image-overlap + .container {
		padding-right: 0;
	}

	.container-edukacije,
	.container-profesionalni-put {
		grid-template-columns: 1fr;
	}

/* MINDFULNESS */
	.mindfulness-intro,
	.offer-detail-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.offer-detail-block {
		grid-template-columns: 1fr;
	}
	.offer-detail-block > .program,
	.offer-detail-block > .session-list {
		grid-column: 1;
		grid-row: auto;
	}

	.mindfulness-intro > div:first-child,
	.mindfulness-intro > div:last-child {
		display: block;
		grid-row: auto;
	}

	.offer-grid,
	.practice-list {
		grid-template-columns: 1fr;
	}

	.offer-card {
		min-height: 0;
	}

}


@media (max-width: 700px) {

    .container {
        width: min(
            calc(100% - 36px),
            var(--content-width)
        );
    }

    .section {
        padding-block: 80px;
    }

    .site-header {
        margin-bottom: -70px;
    }

    .header-container {
        min-height: 70px;
    }

    .hero {
        min-height: 800px;
    }

    .hero-content {
        padding-top: 50px;
    }

    .hero-content-glass {
        --glass-space: 16px;
    }

    .hero-content-glass::before {
        top: calc(50px - var(--glass-space));
    }

    .hero-title {
        font-size: clamp(3.5rem, 17vw, 6rem);
    }

    .hero-bottom {
        right: 18px;
        bottom: 18px;
        left: 18px;

        gap: 15px;
    }

    .hero-ripple {
        width: 400px;
        height: 400px;

        right: -77px;
        bottom: -116px;
    }

    .intro-section {
        padding-bottom: 200px;
    }

    .intro-breath {
        width: 280px;
        height: 280px;

        right: -36px;
        bottom: -210px;
    }

    .intro-breath-readout {
        padding: 12px 16px;
    }

    .title {
        font-size: clamp(2.7rem, 11vw, 4.5rem);
    }

    .title-large {
        font-size: clamp(3rem, 13vw, 5rem);
    }

    .statement-section {
        min-height: 500px;
    }

    .statement {
        font-size: clamp(3rem, 13vw, 5rem);
    }

    .path-image,
    .school-image,
    .coaching-image,
    .about-image {
        width: 100%;
        height: 430px;
    }

    .path-item-offset {
        margin-left: 0;
    }

    .quote-section {
        min-height: 550px;
    }

    .quote {
        font-size: clamp(2.8rem, 12vw, 4.5rem);
    }

    .quote-mark {
        right: -20px;
        top: -30px;
        font-size: 18rem;
    }

    .contact-section {
        min-height: 650px;
    }
	.contact-content {
		grid-template-columns: 1fr;
		gap: 36px;
		padding: 18px 0;
	}

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-center,
    .footer-right {
        text-align: center;
    }
}

@media (min-width: 501px) and (max-width: 800px) {
	/* PROGRAMS - VAN VREMENA */
	.programs-list-grid {
		grid-template-columns: 1fr 1fr;
	}
	.program.van-vremena {
		border-right: none;
		border-top: 1px solid var(--color-border-dark);
	}
	.programs-list-grid .program.van-vremena.program-one,
	.programs-list-grid .program.van-vremena.program-three {
		border-right: 1px solid var(--color-border-dark);
	}

}
@media (max-width: 500px) {
	.programs-list-grid {
		grid-template-columns: 1fr;
	}
	.program.van-vremena {
		border-right: none;
		border-top: 1px solid var(--color-border-dark);
	}
}