/*
 * Move Me Mama — main stylesheet. No build step.
 *
 * 1. Fonts          5. Header & nav     9. Inner pages
 * 2. Tokens         6. Buttons, chips  10. Classes, schedule, events, prices
 * 3. Base           7. Homepage        11. Footer
 * 4. Layout         8. Prose & blocks  12. Motion & utilities
 */

/* 1. Fonts — self-hosted variable fonts, latin + latin-ext (Polish) ------------------------- */

@font-face {
	font-family: "Montserrat";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/montserrat-normal-var-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Montserrat";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/montserrat-normal-var-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Cormorant Garamond";
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url("../fonts/cormorant-normal-var-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Cormorant Garamond";
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url("../fonts/cormorant-normal-var-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Cormorant Garamond";
	font-style: italic;
	font-weight: 300 700;
	font-display: swap;
	src: url("../fonts/cormorant-italic-var-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Cormorant Garamond";
	font-style: italic;
	font-weight: 300 700;
	font-display: swap;
	src: url("../fonts/cormorant-italic-var-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Caveat";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("../fonts/caveat-var-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Caveat";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("../fonts/caveat-var-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* 2. Tokens ---------------------------------------------------------------------------- */

:root {
	--cream: #f9f5ed;
	--paper: #fffdf9;
	--linen: #f2eadd;
	--sand: #dec9b0;
	--sand-soft: #efe4d4;
	--wood: #c6ab8a;
	--caramel: #94673f;
	--rose: #c68e80;
	--rose-soft: #f1ddd3;
	--rose-light: #f6d6cb;
	--rose-deep: #8e5f52;
	--sage: #9aa38a;
	--sage-soft: #e1e3d6;
	--sage-deep: #5f6a52;
	--sage-ink: #4b5541;
	--ink: #5f5b47;
	--ink-strong: #46432f;
	--ink-soft: #706b56;
	--line: #e7dccb;
	--line-strong: #d6c7b1;
	--on-dark: #fffaf3;

	--font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
	--font-hand: "Caveat", "Segoe Print", cursive;

	--radius-sm: 0.875rem;
	--radius: 1.5rem;
	--radius-lg: 2.25rem;
	--shadow-sm: 0 12px 28px -22px rgba(70, 67, 47, 0.4);
	--shadow: 0 30px 60px -36px rgba(70, 67, 47, 0.42);

	--gutter: clamp(1.25rem, 4vw, 2.75rem);
	--container: 76rem;
	--section: clamp(4.5rem, 10vw, 8rem);
	--header-h: 4.75rem;
	--admin-bar: var(--wp-admin--admin-bar--height, 0px);
	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

.tone-rose {
	--tone: var(--rose-soft);
	--tone-strong: var(--rose);
	--tone-ink: var(--rose-deep);
}
.tone-sage {
	--tone: var(--sage-soft);
	--tone-strong: var(--sage);
	--tone-ink: var(--sage-deep);
}
.tone-sand {
	--tone: var(--sand-soft);
	--tone-strong: var(--wood);
	--tone-ink: var(--caramel);
}

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

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + var(--admin-bar) + 1rem);
}

body {
	margin: 0;
	background: var(--cream);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.75;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}

img,
svg,
video {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

h1,
h2,
h3,
h4 {
	margin: 0;
	color: var(--ink-strong);
	font-family: var(--font-display);
	font-weight: 500;
	line-height: 1.12;
	letter-spacing: -0.005em;
	text-wrap: balance;
}

h1 em,
h2 em,
h3 em {
	color: var(--rose-deep);
	font-style: italic;
}

p {
	margin: 0;
	text-wrap: pretty;
}

ul,
ol {
	margin: 0;
	padding: 0;
}

dl,
dd {
	margin: 0;
}

address {
	font-style: normal;
}

button {
	font: inherit;
	color: inherit;
}

:focus-visible {
	outline: 2px solid var(--rose-deep);
	outline-offset: 3px;
	border-radius: 4px;
}

::selection {
	background: var(--rose-light);
	color: var(--ink-strong);
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	z-index: 100;
	padding: 0.75rem 1.25rem;
	border-radius: 999px;
	background: var(--sage-deep);
	color: var(--on-dark);
	font-weight: 600;
	text-decoration: none;
	transform: translateY(-200%);
}

.skip-link:focus {
	transform: none;
}

.eyebrow {
	margin-bottom: 1rem;
	color: var(--rose-deep);
	font-family: var(--font-body);
	font-size: 0.72rem;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.24em;
	text-transform: uppercase;
}

.handwritten {
	color: var(--rose-deep);
	font-family: var(--font-hand);
	font-size: clamp(1.9rem, 3.4vw, 2.5rem);
	line-height: 1.1;
}

.fine-print {
	margin-top: 1.5rem;
	color: var(--ink-soft);
	font-size: 0.78rem;
	text-align: center;
}

.empty-state {
	padding: 3rem 2rem;
	border: 1px dashed var(--line-strong);
	border-radius: var(--radius-lg);
	color: var(--ink-soft);
	text-align: center;
}

/* One-line pre-opening note above a page's main content (Grafik, Cennik). */
.launch-note {
	display: flex;
	gap: 0.65rem;
	align-items: center;
	width: fit-content;
	margin: 0 auto 2rem;
	padding: 0.75rem 1.25rem;
	border-radius: var(--radius-sm);
	background: var(--rose-soft);
	color: var(--ink-strong);
	font-size: 0.9rem;
	font-weight: 500;
}

.launch-note svg {
	color: var(--rose-deep);
}

/* Brand icons are monochrome SVGs used as masks, so they take currentColor. */
.mmm-brand-icon {
	display: block;
	width: 100%;
	height: 100%;
	background: currentColor;
	-webkit-mask: var(--icon) center / contain no-repeat;
	mask: var(--icon) center / contain no-repeat;
}

.mmm-ui-icon {
	flex: none;
	width: 1.15em;
	height: 1.15em;
}

.icon-disc {
	display: grid;
	flex: none;
	place-items: center;
	width: 4.25rem;
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--tone, var(--rose-soft));
	color: var(--ink-strong);
}

.icon-disc .mmm-brand-icon {
	width: 60%;
	height: 60%;
}

.icon-disc--sm {
	width: 2.75rem;
}

.icon-disc--lg {
	width: 5.5rem;
	margin-bottom: 1.5rem;
}

.mmm-decor {
	position: absolute;
	z-index: 0;
	height: auto;
	pointer-events: none;
	user-select: none;
}

.mmm-figure {
	width: 100%;
	height: auto;
}

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

.container {
	position: relative;
	z-index: 1;
	width: min(100% - 2 * var(--gutter), var(--container));
	margin-inline: auto;
}

.container--narrow {
	max-width: 46rem;
}

.section {
	position: relative;
	padding-block: var(--section);
	overflow-x: clip;
}

.section--tight {
	padding-block: clamp(2.5rem, 6vw, 4.5rem);
}

.section--flush-top {
	padding-top: 0;
}

.section-head {
	max-width: 44rem;
	margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
}

.section-head--center {
	margin-inline: auto;
	text-align: center;
}

.section-head__title {
	font-size: clamp(2.3rem, 4.6vw, 3.6rem);
}

.section-head__lead {
	margin-top: 1.25rem;
	color: var(--ink-soft);
	font-size: 1.05rem;
}

.split {
	display: grid;
	gap: clamp(3rem, 7vw, 6rem);
	align-items: center;
}

@media (min-width: 60rem) {
	.split {
		grid-template-columns: 1.05fr 1fr;
	}
}

/* 5. Header & navigation --------------------------------------------------------------- */

/* Pre-opening bar: sits above the sticky header and scrolls away with the page. */
.launch-bar {
	padding: 0.5rem var(--gutter);
	background: var(--rose-soft);
	color: var(--ink-strong);
	font-size: 0.8rem;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.02em;
	text-align: center;
}

.site-header {
	position: sticky;
	top: var(--admin-bar);
	z-index: 50;
	background: rgba(249, 245, 237, 0.86);
	-webkit-backdrop-filter: saturate(1.2) blur(14px);
	backdrop-filter: saturate(1.2) blur(14px);
	transition: box-shadow 0.35s var(--ease), background-color 0.35s var(--ease);
}

.site-header.is-scrolled {
	box-shadow: 0 1px 0 var(--line), 0 18px 40px -30px rgba(70, 67, 47, 0.45);
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	min-height: var(--header-h);
	width: min(100% - 2 * var(--gutter), 84rem);
}

.brand {
	display: inline-flex;
	flex: none;
	align-items: center;
	gap: 0.7rem;
	color: var(--ink);
	text-decoration: none;
}

.brand__mark {
	width: 2.6rem;
	height: auto;
}

.brand__word {
	font-size: 0.76rem;
	font-weight: 500;
	letter-spacing: 0.32em;
	line-height: 1;
	text-transform: uppercase;
	white-space: nowrap;
}

.brand__word span {
	color: var(--rose);
}

.site-nav__menu {
	list-style: none;
}

.site-nav__menu a {
	text-decoration: none;
}

.submenu-toggle {
	display: inline-grid;
	place-items: center;
	width: 1.75rem;
	height: 1.75rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: none;
	color: inherit;
	cursor: pointer;
}

.submenu-toggle svg {
	width: 0.95rem;
	height: 0.95rem;
	transition: transform 0.25s var(--ease);
}

.is-open > .submenu-toggle svg {
	transform: rotate(180deg);
}

.nav-toggle {
	display: none;
	position: relative;
	flex: none;
	width: 2.9rem;
	height: 2.9rem;
	margin-left: 0.25rem;
	padding: 0;
	border: 1px solid var(--line-strong);
	border-radius: 50%;
	background: var(--paper);
	cursor: pointer;
}

.nav-toggle__lines,
.nav-toggle__lines::before {
	position: absolute;
	left: 50%;
	width: 1.1rem;
	height: 1.5px;
	border-radius: 2px;
	background: var(--ink-strong);
	transform: translateX(-50%);
	transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}

.nav-toggle__lines {
	top: calc(50% - 3px);
}

.nav-toggle__lines::before {
	content: "";
	top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__lines {
	top: 50%;
	transform: translateX(-50%) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__lines::before {
	top: 0;
	transform: translateX(-50%) rotate(-90deg);
	left: 50%;
}

/* Desktop: full menu in one row, never a hamburger. */
@media (min-width: 68rem) {
	.site-nav {
		display: flex;
		align-items: center;
		margin-left: auto;
	}

	.site-nav__menu {
		display: flex;
		align-items: center;
		gap: clamp(0.9rem, 1.6vw, 1.6rem);
	}

	.site-nav__menu > li {
		position: relative;
		display: flex;
		align-items: center;
	}

	.site-nav__menu > li > a {
		position: relative;
		padding-block: 0.6rem;
		color: var(--ink);
		font-size: clamp(0.8rem, 0.95vw, 0.88rem);
		font-weight: 500;
		letter-spacing: 0.01em;
		white-space: nowrap;
		transition: color 0.2s ease;
	}

	.site-nav__menu > li > a::after {
		content: "";
		position: absolute;
		left: 50%;
		bottom: 0.1rem;
		width: 4px;
		height: 4px;
		border-radius: 50%;
		background: var(--rose);
		opacity: 0;
		transform: translateX(-50%) scale(0.4);
		transition: opacity 0.25s ease, transform 0.25s var(--ease);
	}

	.menu-item-has-children > a {
		padding-right: 0.1rem;
	}

	.site-nav__menu > li > a:hover,
	.site-nav__menu > .current-menu-item > a,
	.site-nav__menu > .current-menu-ancestor > a,
	.site-nav__menu > .current-menu-parent > a,
	.site-nav__menu > .current_page_parent > a {
		color: var(--rose-deep);
	}

	.site-nav__menu > .current-menu-item > a::after,
	.site-nav__menu > .current-menu-ancestor > a::after,
	.site-nav__menu > .current-menu-parent > a::after {
		opacity: 1;
		transform: translateX(-50%) scale(1);
	}

	.site-nav .sub-menu {
		position: absolute;
		top: calc(100% + 0.5rem);
		left: -1rem;
		min-width: 15rem;
		padding: 0.5rem;
		border: 1px solid var(--line);
		border-radius: 1.1rem;
		background: var(--paper);
		box-shadow: var(--shadow);
		list-style: none;
		opacity: 0;
		visibility: hidden;
		transform: translateY(6px);
		transition: opacity 0.22s ease, transform 0.22s var(--ease), visibility 0.22s;
	}

	.site-nav .sub-menu::before {
		content: "";
		position: absolute;
		inset: -0.75rem 0 auto;
		height: 0.75rem;
	}

	.site-nav li:hover > .sub-menu,
	.site-nav li:focus-within > .sub-menu,
	.site-nav li.is-open > .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.site-nav .sub-menu a {
		display: block;
		padding: 0.6rem 0.85rem;
		border-radius: 0.65rem;
		color: var(--ink);
		font-size: 0.86rem;
		white-space: nowrap;
		transition: background-color 0.2s ease, color 0.2s ease;
	}

	.site-nav .sub-menu a:hover,
	.site-nav .sub-menu .current-menu-item > a {
		background: var(--linen);
		color: var(--rose-deep);
	}

	.site-nav__extra {
		display: none;
	}
}

/* At narrower desktops the wordmark yields room to the menu; the mark stays. */
@media (min-width: 68rem) and (max-width: 72rem) {
	.brand__word {
		display: none;
	}
}

@media (max-width: 67.99rem) {
	.js .nav-toggle {
		display: inline-block;
	}

	.site-header__cta {
		margin-left: auto;
	}

	.js .site-nav {
		position: fixed;
		inset: calc(var(--header-h) + var(--admin-bar)) 0 0;
		z-index: 49;
		display: flex;
		flex-direction: column;
		gap: 2rem;
		padding: 1.5rem var(--gutter) 2.5rem;
		overflow-y: auto;
		background: var(--cream);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-0.5rem);
		transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
	}

	.nav-open .site-nav {
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.nav-open {
		overflow: hidden;
	}

	/* The panel is placed from the top of the viewport, so the header has to sit there. */
	.nav-open .launch-bar {
		display: none;
	}

	/* backdrop-filter would make the header the containing block of the fixed panel. */
	.nav-open .site-header {
		background: var(--cream);
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
	}

	.site-nav__menu > li {
		position: relative;
		border-bottom: 1px solid var(--line);
	}

	.site-nav__menu > li > a {
		display: block;
		padding: 0.8rem 3rem 0.8rem 0;
		color: var(--ink-strong);
		font-family: var(--font-display);
		font-size: 1.75rem;
		line-height: 1.2;
	}

	.site-nav__menu .current-menu-item > a,
	.site-nav__menu .current-menu-ancestor > a {
		color: var(--rose-deep);
	}

	.site-nav__menu > li > .submenu-toggle {
		position: absolute;
		top: 0.85rem;
		right: 0;
		width: 2.5rem;
		height: 2.5rem;
		border: 1px solid var(--line-strong);
	}

	.js .site-nav .sub-menu {
		display: none;
	}

	.site-nav .sub-menu {
		padding: 0 0 1rem 0.25rem;
		list-style: none;
	}

	.site-nav li.is-open > .sub-menu {
		display: block;
	}

	.site-nav .sub-menu a {
		display: block;
		padding: 0.45rem 0;
		color: var(--ink);
		font-size: 1rem;
	}

	.site-nav__extra {
		display: grid;
		gap: 1.25rem;
		margin-top: auto;
	}

	.site-nav__contact {
		display: flex;
		flex-wrap: wrap;
		gap: 0.75rem 1.5rem;
		font-size: 0.9rem;
	}

	.site-nav__contact a {
		display: inline-flex;
		align-items: center;
		gap: 0.5rem;
		text-decoration: none;
	}

	html:not(.js) .site-header__inner {
		flex-wrap: wrap;
	}

	html:not(.js) .site-nav {
		order: 3;
		width: 100%;
		padding-bottom: 1rem;
	}

	html:not(.js) .site-nav__extra {
		display: none;
	}
}

@media (max-width: 30rem) {
	.site-header__inner {
		gap: 0.6rem;
	}

	.brand {
		gap: 0.5rem;
	}

	.brand__mark {
		width: 2.2rem;
	}

	.brand__word {
		font-size: 0.68rem;
		letter-spacing: 0.22em;
	}

	.site-header__cta {
		padding-inline: 1rem;
	}
}

@media (max-width: 23rem) {
	.brand__word {
		font-size: 0.62rem;
		letter-spacing: 0.16em;
	}
}

@media (max-width: 22rem) {
	.site-header__cta {
		display: none;
	}

	.nav-toggle {
		margin-left: auto;
	}
}

/* 6. Buttons, chips, links ------------------------------------------------------------- */

.btn,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	min-height: 3.1rem;
	padding: 0.85rem 1.7rem;
	border: 1px solid transparent;
	border-radius: 999px;
	background: var(--sage-deep);
	color: var(--on-dark);
	font-family: var(--font-body);
	font-size: 0.78rem;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.1em;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s var(--ease), box-shadow 0.25s ease;
}

.btn:hover,
.wp-block-button__link:hover {
	transform: translateY(-2px);
}

.btn--primary:hover,
.wp-block-button__link:hover {
	background: var(--sage-ink);
	box-shadow: 0 14px 28px -18px rgba(75, 85, 65, 0.8);
}

.btn--ghost {
	border-color: var(--line-strong);
	background: transparent;
	color: var(--ink-strong);
}

.btn--ghost:hover {
	border-color: var(--ink-soft);
	background: var(--paper);
}

.btn--light {
	background: var(--on-dark);
	color: var(--ink-strong);
}

.btn--light:hover {
	background: var(--rose-soft);
}

.btn--ghost-light {
	border-color: rgba(255, 250, 243, 0.55);
	background: transparent;
	color: var(--on-dark);
}

.btn--ghost-light:hover {
	border-color: var(--on-dark);
	background: rgba(255, 250, 243, 0.12);
}

.btn--sm {
	min-height: 2.55rem;
	padding: 0.6rem 1.25rem;
	font-size: 0.72rem;
}

.btn--block {
	width: 100%;
}

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--sage-deep);
	font-size: 0.74rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.link-arrow svg {
	transition: transform 0.3s var(--ease);
}

:is(.class-card, .category-card, .event-card, .post-card, .path-card):hover .link-arrow svg,
:is(.class-card, .category-card, .event-card, .post-card, .path-card):hover .path-card__arrow svg {
	transform: translateX(4px);
}

.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	list-style: none;
}

.chip {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.45rem 0.95rem;
	border: 1px solid transparent;
	border-radius: 999px;
	background: var(--tone, var(--linen));
	color: var(--ink);
	font-size: 0.8rem;
	font-weight: 500;
	line-height: 1.3;
	text-decoration: none;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.chip .mmm-ui-icon {
	width: 1rem;
	height: 1rem;
	color: var(--tone-ink, var(--rose-deep));
}

a.chip:hover,
.chip--filter:hover {
	border-color: var(--line-strong);
}

.chip--filter {
	cursor: pointer;
}

.chip--filter.is-active {
	background: var(--sage-deep);
	color: var(--on-dark);
}

.chips--static .chip {
	background: var(--linen);
}

.chips--nav {
	justify-content: center;
	margin-bottom: clamp(1rem, 3vw, 2rem);
}

.heart-list,
.prose .is-style-mmm-hearts {
	display: grid;
	gap: 0.65rem;
	padding: 0;
	list-style: none;
}

.heart-list li,
.prose .is-style-mmm-hearts li {
	position: relative;
	padding-left: 1.85rem;
}

.heart-list li::before,
.prose .is-style-mmm-hearts li::before {
	content: "";
	position: absolute;
	top: 0.38em;
	left: 0;
	width: 1.05em;
	height: 1.05em;
	background: var(--rose);
	-webkit-mask: url("../img/heart.svg") center / contain no-repeat;
	mask: url("../img/heart.svg") center / contain no-repeat;
}

/* 7. Homepage -------------------------------------------------------------------------- */

.hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: clamp(36rem, calc(100svh - var(--header-h) - var(--admin-bar) - 0.75rem), 58rem);
	margin: 0 clamp(0.6rem, 1.6vw, 1.25rem);
	overflow: hidden;
	border-radius: var(--radius-lg);
	background: var(--sand);
	color: var(--on-dark);
	isolation: isolate;
}

.hero__media {
	position: absolute;
	inset: 0;
	z-index: -1;
}

.hero__slides {
	position: absolute;
	inset: 0;
	animation: hero-zoom 26s ease-in-out infinite alternate;
}

.hero__slide,
.hero__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero__slide:nth-child(2) {
	opacity: 0;
	animation: hero-slide-2 24s ease-in-out infinite;
}

.hero__slide:nth-child(3) {
	opacity: 0;
	animation: hero-slide-3 24s ease-in-out infinite;
}

@keyframes hero-zoom {
	from {
		transform: scale(1);
	}
	to {
		transform: scale(1.07);
	}
}

@keyframes hero-slide-2 {
	0%,
	30% {
		opacity: 0;
	}
	36%,
	94% {
		opacity: 1;
	}
	100% {
		opacity: 0;
	}
}

@keyframes hero-slide-3 {
	0%,
	63% {
		opacity: 0;
	}
	69%,
	94% {
		opacity: 1;
	}
	100% {
		opacity: 0;
	}
}

.hero.is-paused .hero__slides,
.hero.is-paused .hero__slide {
	animation-play-state: paused;
}

.hero__veil {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(52, 44, 32, 0.5) 0%, rgba(52, 44, 32, 0.22) 42%, rgba(52, 44, 32, 0) 68%),
		linear-gradient(180deg, rgba(52, 44, 32, 0.1) 0%, rgba(52, 44, 32, 0) 30%, rgba(52, 44, 32, 0.25) 60%, rgba(52, 44, 32, 0.62) 100%);
}

.hero__content {
	padding-block: clamp(3rem, 8vw, 6rem) clamp(3rem, 7vw, 5.5rem);
}

.hero__title {
	max-width: 13ch;
	color: var(--on-dark);
	font-size: clamp(3rem, 7.4vw, 6.2rem);
	font-weight: 500;
	line-height: 0.98;
	letter-spacing: -0.015em;
	text-shadow: 0 2px 30px rgba(40, 32, 20, 0.25);
}

.hero__title em {
	color: var(--rose-light);
}

.hero__lead {
	max-width: 34rem;
	margin-top: 1.5rem;
	font-size: clamp(1rem, 1.5vw, 1.15rem);
	line-height: 1.65;
	opacity: 0.94;
}

/* Pre-opening note: a round sticker in the corner of the photo, like a stamp on a leaflet.
   The text is editable, so the lettering shrinks with its length (--chars, set in
   front-page.php) to keep the sticker round; about 27 characters fit at full size. */
.hero__note {
	position: absolute;
	top: clamp(1.5rem, 9%, 4.5rem);
	right: clamp(1.25rem, 9%, 9rem);
	display: grid;
	place-items: center;
	width: clamp(9.5rem, 17vw, 14rem);
	aspect-ratio: 1;
	padding: 0.9em;
	border-radius: 50%;
	background: var(--cream);
	box-shadow: 0 18px 40px -18px rgba(40, 32, 20, 0.55);
	font-size: clamp(1.55rem, 2.75vw, 2.3rem);
	font-size: calc(clamp(1.55rem, 2.75vw, 2.3rem) * min(1, sqrt(27 / var(--chars))));
	line-height: 1;
	text-align: center;
	text-wrap: balance;
	transform: rotate(8deg);
}

.hero__note::before {
	content: "";
	position: absolute;
	inset: 0.5rem;
	border: 1.5px dashed var(--rose);
	border-radius: 50%;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 2.25rem;
}

.hero__toggle {
	position: absolute;
	right: clamp(1rem, 3vw, 2rem);
	bottom: clamp(1rem, 3vw, 2rem);
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 1px solid rgba(255, 250, 243, 0.5);
	border-radius: 50%;
	background: rgba(52, 44, 32, 0.25);
	color: var(--on-dark);
	cursor: pointer;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.hero__toggle svg {
	width: 1rem;
	height: 1rem;
}

.hero__toggle-play,
.hero.is-paused .hero__toggle-pause {
	display: none;
}

.hero.is-paused .hero__toggle-play {
	display: block;
}

html:not(.js) .hero__toggle {
	display: none;
}

/* Idea */

.idea__inner {
	text-align: center;
}

.idea__mark {
	width: 5rem;
	margin: 0 auto 1.75rem;
}

.idea__text {
	font-size: 1.05rem;
}

.idea__text .is-style-mmm-lead,
.idea__text > p:first-child {
	color: var(--ink-strong);
	font-family: var(--font-display);
	font-size: clamp(1.65rem, 3.2vw, 2.35rem);
	font-weight: 500;
	line-height: 1.3;
}

.idea__sign {
	margin-top: 2rem;
	transform: rotate(-3deg);
}

.idea__leaf {
	top: 2rem;
	left: max(-4rem, calc(50% - 46rem));
	width: clamp(8rem, 16vw, 15rem);
	transform: rotate(-18deg);
}

.idea__blob {
	top: 12%;
	right: max(-10rem, calc(50% - 52rem));
	width: clamp(12rem, 24vw, 22rem);
	opacity: 0.75;
}

.pillars {
	display: grid;
	gap: 2.5rem;
	margin-top: clamp(4rem, 8vw, 6rem);
	list-style: none;
	text-align: center;
}

.pillar {
	padding-inline: 1rem;
}

.pillar__word {
	display: block;
	margin-bottom: 0.75rem;
	color: var(--rose-deep);
	font-family: var(--font-display);
	font-size: clamp(2.4rem, 4vw, 3.1rem);
	font-style: italic;
	line-height: 1;
}

.pillar p {
	max-width: 21rem;
	margin-inline: auto;
	color: var(--ink-soft);
	font-size: 0.95rem;
}

@media (min-width: 48rem) {
	.pillars {
		grid-template-columns: repeat(3, 1fr);
		gap: 0;
	}

	.pillar + .pillar {
		border-left: 1px solid var(--line);
	}
}

/* Paths */

.paths {
	overflow: hidden;
	background: var(--linen);
}

.paths__blob {
	right: -6rem;
	bottom: -5rem;
	width: clamp(14rem, 26vw, 24rem);
	opacity: 0.7;
}

.path-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr));
	gap: 1rem;
	list-style: none;
}

@media (min-width: 64rem) {
	.path-grid {
		grid-template-columns: repeat(4, 1fr);
		gap: 1.25rem;
	}
}

.path-card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	height: 100%;
	padding: 1.75rem 1.6rem 1.5rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--paper);
	text-decoration: none;
	transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s ease;
}

.path-card:hover {
	border-color: var(--line-strong);
	box-shadow: var(--shadow);
	transform: translateY(-4px);
}

.path-card .icon-disc {
	margin-bottom: 1.5rem;
}

.path-card__name {
	color: var(--ink-strong);
	font-family: var(--font-display);
	font-size: 1.6rem;
	font-weight: 500;
	line-height: 1.15;
}

.path-card__tag {
	margin-top: 0.35rem;
	padding-right: 2.5rem;
	color: var(--ink-soft);
	font-size: 0.86rem;
	line-height: 1.5;
}

.path-card__arrow {
	position: absolute;
	right: 1.4rem;
	bottom: 1.4rem;
	display: grid;
	place-items: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 50%;
	background: var(--linen);
	color: var(--sage-deep);
}

.path-card__arrow svg {
	width: 1rem;
	height: 1rem;
	transition: transform 0.3s var(--ease);
}

/* Studio teaser */

.split__media {
	position: relative;
	max-width: 34rem;
	margin-inline: auto;
	padding: 0 2rem 2.5rem 0;
}

.arch {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
}

.split__inset {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 40%;
	aspect-ratio: 1;
	object-fit: cover;
	border: 0.5rem solid var(--cream);
	border-radius: 50%;
	box-shadow: var(--shadow-sm);
}

.split__plant {
	bottom: -1rem;
	left: -3.5rem;
	z-index: 2;
	width: clamp(6rem, 11vw, 9rem);
}

.split__body > p:not(.eyebrow) {
	margin-top: 1.5rem;
	max-width: 32rem;
	color: var(--ink-soft);
}

.feature-list {
	display: grid;
	gap: 0.9rem 1.5rem;
	margin: 2rem 0 2.5rem;
	list-style: none;
	font-size: 0.93rem;
}

@media (min-width: 34rem) {
	.feature-list {
		grid-template-columns: 1fr 1fr;
	}
}

.feature-list li {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	line-height: 1.45;
}

.feature-list .icon-disc .mmm-brand-icon {
	width: 62%;
	height: 62%;
}

/* Quote band */

.quote-band {
	overflow: hidden;
	background: var(--rose-soft);
}

.quote-band__blob {
	top: -6rem;
	left: -8rem;
	width: clamp(16rem, 30vw, 28rem);
	opacity: 0.55;
	mix-blend-mode: multiply;
}

.quote-band__leaf {
	right: max(-3rem, calc(50% - 44rem));
	bottom: -1.5rem;
	width: clamp(7rem, 13vw, 11rem);
	transform: scaleX(-1) rotate(-10deg);
}

.quote-band__inner {
	display: grid;
	gap: 2.5rem;
	align-items: center;
	justify-items: center;
	text-align: center;
}

.quote-band__figure {
	width: clamp(10rem, 22vw, 17rem);
}

.quote-band__quote {
	margin: 0;
	max-width: 36rem;
}

.quote-band blockquote {
	margin: 0;
}

.quote-band blockquote p {
	color: var(--rose-deep);
	font-family: var(--font-hand);
	font-size: clamp(2.4rem, 5vw, 3.8rem);
	line-height: 1.08;
}

.quote-band figcaption {
	margin-top: 1.5rem;
	color: var(--ink);
	font-size: 0.74rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

@media (min-width: 52rem) {
	.quote-band__inner {
		grid-template-columns: auto 1fr;
		gap: clamp(3rem, 7vw, 6rem);
		justify-content: center;
		text-align: left;
	}

	.quote-band__quote {
		justify-self: start;
	}
}

/* CTA band (shared) */

.cta-band {
	position: relative;
	display: grid;
	gap: 2rem;
	align-items: center;
	padding: clamp(2.5rem, 6vw, 4.5rem);
	overflow: hidden;
	border-radius: var(--radius-lg);
	background: var(--sage-deep);
	color: var(--on-dark);
	isolation: isolate;
}

.cta-band__body {
	position: relative;
	z-index: 1;
	max-width: 34rem;
}

.cta-band__title {
	margin-bottom: 1rem;
	color: var(--on-dark);
	font-size: clamp(2.2rem, 4.4vw, 3.4rem);
}

.cta-band__title em {
	color: var(--rose-light);
}

.cta-band p {
	opacity: 0.9;
}

.cta-band__actions {
	position: relative;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.cta-band__leaf {
	top: -3.5rem;
	right: -1.5rem;
	z-index: 0;
	width: clamp(7rem, 11vw, 9.5rem);
	opacity: 0.5;
	transform: rotate(28deg);
}

@media (min-width: 60rem) {
	.cta-band {
		grid-template-columns: 1fr auto;
		gap: 3rem;
	}

	.cta-band__actions {
		margin-right: clamp(0rem, 6vw, 5rem);
	}
}

/* 8. Prose & editor blocks ------------------------------------------------------------- */

.prose {
	font-size: 1.0625rem;
}

.prose > * {
	margin-block: 0;
}

.prose > * + * {
	margin-top: 1.15em;
}

.prose > h2,
.prose > .wp-block-heading:where(h2) {
	margin-top: 2.4em;
	font-size: clamp(1.9rem, 3.2vw, 2.55rem);
}

.prose > h3 {
	margin-top: 2em;
	font-size: clamp(1.45rem, 2.3vw, 1.75rem);
}

.prose > :is(h2, h3) + * {
	margin-top: 0.85em;
}

.prose > :first-child {
	margin-top: 0;
}

.prose a:not(.wp-block-button__link) {
	color: var(--rose-deep);
	text-decoration: underline;
	text-decoration-color: rgba(142, 95, 82, 0.4);
	transition: text-decoration-color 0.2s ease;
}

.prose a:not(.wp-block-button__link):hover {
	text-decoration-color: currentColor;
}

.prose strong {
	color: var(--ink-strong);
	font-weight: 600;
}

.prose ul:not([class*="is-style"]),
.prose ol {
	padding-left: 1.25rem;
}

.prose ul:not([class*="is-style"]) li::marker {
	color: var(--rose);
}

.prose li + li {
	margin-top: 0.35em;
}

.prose--center {
	max-width: 46rem;
	margin-inline: auto;
	text-align: center;
}

.prose .is-style-mmm-lead,
.page-hero__desc p:first-child {
	color: var(--ink-strong);
	font-family: var(--font-display);
	font-size: clamp(1.45rem, 2.6vw, 1.9rem);
	font-weight: 500;
	line-height: 1.35;
}

.prose .is-style-mmm-handwritten {
	color: var(--rose-deep);
	font-family: var(--font-hand);
	font-size: clamp(2rem, 3.6vw, 2.6rem);
	line-height: 1.1;
	transform: rotate(-2deg);
	transform-origin: left;
}

.prose .is-style-mmm-eyebrow {
	margin-top: 2.5em;
	color: var(--rose-deep);
	font-family: var(--font-body);
	font-size: 0.74rem;
	font-weight: 600;
	letter-spacing: 0.24em;
	text-transform: uppercase;
}

.prose .wp-block-quote,
.prose blockquote {
	margin-inline: 0;
	padding: 0.25rem 0 0.25rem 1.5rem;
	border-left: 2px solid var(--rose);
	color: var(--ink-strong);
	font-family: var(--font-display);
	font-size: clamp(1.4rem, 2.4vw, 1.8rem);
	font-style: italic;
	line-height: 1.4;
}

.prose blockquote cite {
	display: block;
	margin-top: 0.75rem;
	color: var(--ink-soft);
	font-family: var(--font-body);
	font-size: 0.78rem;
	font-style: normal;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.prose .wp-block-separator,
.prose hr {
	width: 4rem;
	margin: 3rem auto;
	border: 0;
	border-top: 1px solid var(--line-strong);
}

/* FAQ — the core Details block styled as an accordion. */
.prose .wp-block-details {
	margin-top: 0;
	border-bottom: 1px solid var(--line);
}

.prose > :is(h2, h3) + .wp-block-details {
	margin-top: 1rem;
	border-top: 1px solid var(--line);
}

.prose .wp-block-details summary {
	position: relative;
	padding: 1.15rem 3rem 1.15rem 0;
	color: var(--ink-strong);
	font-weight: 600;
	line-height: 1.5;
	list-style: none;
	cursor: pointer;
}

.prose .wp-block-details summary::-webkit-details-marker {
	display: none;
}

.prose .wp-block-details summary::before,
.prose .wp-block-details summary::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 0.75rem;
	width: 0.85rem;
	height: 1.5px;
	background: var(--rose-deep);
	transition: transform 0.3s var(--ease);
}

.prose .wp-block-details summary::after {
	transform: rotate(90deg);
}

.prose .wp-block-details[open] summary::after {
	transform: rotate(0deg);
}

.prose .wp-block-details > :not(summary) {
	margin: 0 0 1.25rem;
	color: var(--ink-soft);
}

.prose .is-style-mmm-cards {
	gap: 1.25rem;
	margin-top: 1.75rem;
}

/* Without an aside the text column is narrow; let card rows use the full container. */
@media (min-width: 62rem) {
	.page-layout:not(.page-layout--aside, .page-layout--single, .page-layout--doc) .prose > .is-style-mmm-cards {
		width: min(var(--container), 100vw - 2 * var(--gutter));
	}
}

.prose .is-style-mmm-cards > .wp-block-column {
	padding: 1.75rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--paper);
}

.prose .is-style-mmm-cards h3 {
	margin: 0 0 0.6rem;
	font-size: 1.55rem;
}

.prose .is-style-mmm-cards p {
	color: var(--ink-soft);
	font-size: 0.95rem;
}

.prose :is(.is-style-mmm-card, .is-style-mmm-panel-sage, .is-style-mmm-panel-rose) {
	padding: clamp(1.75rem, 4vw, 2.5rem);
	border-radius: var(--radius-lg);
}

.prose .is-style-mmm-card {
	border: 1px solid var(--line);
	background: var(--paper);
}

.prose .is-style-mmm-panel-sage {
	background: var(--sage-soft);
}

.prose .is-style-mmm-panel-rose {
	background: var(--rose-soft);
}

.prose :is(.is-style-mmm-card, .is-style-mmm-panel-sage, .is-style-mmm-panel-rose) > * + * {
	margin-top: 1em;
}

.prose .wp-block-buttons {
	margin-top: 2rem;
}

.prose .wp-block-image img,
.prose figure img {
	border-radius: var(--radius);
}

.prose figure {
	margin-inline: 0;
}

.prose figcaption {
	margin-top: 0.6rem;
	color: var(--ink-soft);
	font-size: 0.82rem;
	text-align: center;
}

/* 9. Inner pages ----------------------------------------------------------------------- */

.page-hero {
	position: relative;
	padding-block: clamp(3rem, 7vw, 6rem) clamp(3rem, 6vw, 5rem);
	overflow: hidden;
}

.page-hero__inner {
	max-width: var(--container);
}

.page-hero__inner > * {
	max-width: 44rem;
}

.page-hero.has-figure .page-hero__inner > * {
	max-width: min(44rem, 62%);
}

.page-hero__title {
	font-size: clamp(2.7rem, 6.4vw, 5rem);
	line-height: 1.02;
	letter-spacing: -0.01em;
}

.page-hero__lead {
	margin-top: 1.4rem;
	color: var(--ink-soft);
	font-size: clamp(1.02rem, 1.5vw, 1.15rem);
}

.page-hero__desc {
	margin-top: 1.5rem;
}

.page-hero__hand {
	margin-top: 0.75rem;
	color: var(--rose-deep);
	font-family: var(--font-hand);
	font-size: clamp(1.7rem, 3vw, 2.2rem);
	line-height: 1.15;
}

.page-hero__desc p + p {
	margin-top: 1em;
	color: var(--ink-soft);
}

.page-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 2rem;
}

.page-hero__blob--a {
	top: -5rem;
	right: max(-8rem, calc(50% - 50rem));
	width: clamp(14rem, 30vw, 27rem);
	opacity: 0.8;
}

.page-hero.tone-sage .page-hero__blob--a {
	opacity: 0.85;
}

.page-hero__leaf {
	bottom: -1.5rem;
	left: max(-3.5rem, calc(50% - 48rem));
	width: clamp(5.5rem, 9vw, 8.5rem);
	transform: rotate(-30deg);
	opacity: 0.9;
}

.page-hero__figure {
	position: absolute;
	right: max(var(--gutter), calc(50% - var(--container) / 2 + 2rem));
	bottom: 0;
	z-index: 1;
	width: clamp(9rem, 19vw, 16rem);
	opacity: 0.92;
}

.page-hero__figure .mmm-figure {
	max-height: 26rem;
	width: auto;
	margin-left: auto;
}

@media (max-width: 47.99rem) {
	.page-hero.has-figure .page-hero__inner > * {
		max-width: none;
	}

	.page-hero__leaf {
		display: none;
	}

	.idea__leaf {
		top: -1rem;
		left: -2.5rem;
		width: 5.5rem;
	}

	.idea__blob {
		top: 4rem;
		right: -9rem;
		width: 12rem;
		opacity: 0.5;
	}

	.page-hero__figure {
		right: -1rem;
		width: 8rem;
		opacity: 0.22;
	}
}

.crumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	margin-bottom: 1.75rem;
	list-style: none;
	color: var(--ink-soft);
	font-size: 0.78rem;
}

.crumbs li + li::before {
	content: "/";
	margin-right: 0.35rem;
	color: var(--line-strong);
}

.crumbs a {
	text-decoration: none;
}

.crumbs a:hover {
	color: var(--rose-deep);
}

.page-photo {
	margin-bottom: clamp(3rem, 6vw, 4.5rem);
}

.page-photo img {
	width: 100%;
	aspect-ratio: 21 / 9;
	object-fit: cover;
	border-radius: var(--radius-lg);
}

.page-layout {
	display: grid;
	gap: clamp(2.5rem, 5vw, 4.5rem);
	align-items: start;
}

.page-layout > .prose {
	max-width: 46rem;
}

.page-layout--doc,
.page-layout--single {
	max-width: 46rem;
}

.page-layout--single {
	margin: clamp(3.5rem, 7vw, 5rem) auto 0;
}

/* Phones/tablets: key facts + "Zapisz się" first, long content after. */
@media (max-width: 61.99rem) {
	.page-layout--aside > .facts-card {
		order: -1;
	}
}

@media (min-width: 62rem) {
	.page-layout--aside {
		grid-template-columns: minmax(0, 1fr) 22rem;
	}

	.page-layout--aside .facts-card {
		position: sticky;
		top: calc(var(--header-h) + var(--admin-bar) + 1.5rem);
	}
}

.facts-card {
	padding: clamp(1.75rem, 3vw, 2.25rem);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--paper);
	box-shadow: var(--shadow-sm);
}

.facts-card__title {
	margin-bottom: 1.25rem;
	font-size: 1.7rem;
}

.facts-card__list > div {
	padding-block: 0.8rem;
	border-top: 1px solid var(--line);
}

.facts-card dt,
.facts-card__label {
	margin-bottom: 0.15rem;
	color: var(--ink-soft);
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.facts-card dd {
	color: var(--ink-strong);
	font-weight: 500;
	line-height: 1.5;
}

.facts-card__slots {
	padding-block: 0.8rem;
	border-top: 1px solid var(--line);
}

.facts-card__slots ul {
	display: grid;
	gap: 0.35rem;
	margin-top: 0.35rem;
	list-style: none;
}

.facts-card__slots li {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	color: var(--ink-strong);
	font-weight: 500;
}

.facts-card__slots li span:last-child {
	color: var(--ink);
	font-weight: 400;
	font-variant-numeric: tabular-nums;
}

.facts-card__actions {
	display: grid;
	gap: 0.6rem;
	margin-top: 1.5rem;
}

.note-card {
	position: relative;
	display: grid;
	gap: 1.75rem;
	align-items: center;
	margin-top: clamp(3rem, 6vw, 4.5rem);
	padding: clamp(2rem, 5vw, 3rem) clamp(1.75rem, 5vw, 3.5rem);
	overflow: hidden;
	border-radius: var(--radius-lg);
	background: var(--sage-soft);
}

.note-card > div {
	position: relative;
	z-index: 1;
	max-width: 38rem;
}

.note-card .btn {
	position: relative;
	z-index: 1;
	justify-self: start;
}

.note-card__title {
	font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.note-card p:not(.eyebrow) {
	margin-top: 0.6rem;
	color: var(--ink-soft);
}

.note-card__plant {
	right: -1rem;
	bottom: -3rem;
	width: 8rem;
	opacity: 0.85;
}

@media (min-width: 52rem) {
	.note-card {
		grid-template-columns: 1fr auto;
		padding-right: clamp(6rem, 12vw, 10rem);
	}
}

/* Studio */

.amenities {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
	gap: 1rem;
	list-style: none;
}

.amenities li {
	display: grid;
	justify-items: center;
	gap: 0.2rem;
	padding: 1.75rem 1rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--paper);
	text-align: center;
}

.amenities .icon-disc {
	width: 3.75rem;
	margin-bottom: 0.75rem;
}

.amenities strong {
	color: var(--ink-strong);
	font-family: var(--font-display);
	font-size: 1.5rem;
	font-weight: 500;
	line-height: 1.2;
}

.amenities span {
	color: var(--ink-soft);
	font-size: 0.86rem;
}

.studio-intro {
	margin-block: clamp(3.5rem, 7vw, 5.5rem);
}

.feature-grid {
	display: grid;
	gap: clamp(2rem, 4vw, 2.75rem) clamp(1.25rem, 2.5vw, 2rem);
	list-style: none;
}

@media (min-width: 40rem) {
	.feature-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.feature-tile--wide {
		grid-column: span 2;
	}

	.feature-tile--wide .feature-tile__media img {
		aspect-ratio: 8 / 3;
	}
}

@media (min-width: 60rem) {
	.feature-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.feature-tile__media {
	overflow: hidden;
	border-radius: var(--radius-lg);
	background: var(--linen);
}

.feature-tile__media img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform 1.2s var(--ease);
}

.feature-tile:hover .feature-tile__media img {
	transform: scale(1.04);
}

.feature-tile__title {
	margin: 1.25rem 0 0.4rem;
	font-size: 1.6rem;
}

.feature-tile p {
	color: var(--ink-soft);
	font-size: 0.95rem;
}

.feature-tile--wide p {
	max-width: 40rem;
}

/* Zapisy */

.steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
	gap: 1rem;
	list-style: none;
	counter-reset: step;
}

.step {
	padding: 2rem 1.75rem;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--paper);
}

.step__num {
	display: grid;
	place-items: center;
	width: 3.25rem;
	height: 3.25rem;
	margin-bottom: 1.25rem;
	border-radius: 50%;
	background: var(--rose-soft);
	color: var(--rose-deep);
	font-family: var(--font-display);
	font-size: 1.7rem;
	font-style: italic;
	line-height: 1;
}

.step__title {
	margin-bottom: 0.5rem;
	font-size: 1.55rem;
}

.step p {
	color: var(--ink-soft);
	font-size: 0.93rem;
}

.booking-panel {
	position: relative;
	display: grid;
	gap: 2rem;
	align-items: center;
	margin-top: clamp(2.5rem, 5vw, 3.5rem);
	padding: clamp(2.25rem, 5vw, 3.75rem);
	overflow: hidden;
	border-radius: var(--radius-lg);
	background: var(--sage-deep);
	color: var(--on-dark);
	isolation: isolate;
}

.booking-panel__body,
.booking-panel__actions {
	position: relative;
	z-index: 1;
}

.booking-panel__title {
	margin-bottom: 0.75rem;
	color: var(--on-dark);
	font-size: clamp(2rem, 4vw, 3rem);
}

.booking-panel__title em {
	color: var(--rose-light);
}

.booking-panel p {
	max-width: 32rem;
	opacity: 0.9;
}

.booking-panel__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.booking-panel__leaf {
	top: -3rem;
	right: -1.5rem;
	width: 9rem;
	opacity: 0.5;
	transform: rotate(24deg);
}

@media (min-width: 60rem) {
	.booking-panel {
		grid-template-columns: 1fr auto;
	}

	.booking-panel__actions {
		max-width: 26rem;
		justify-content: flex-end;
	}
}

/* Kontakt */

.contact-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
	gap: 1rem;
	list-style: none;
}

.contact-card {
	display: grid;
	gap: 0.25rem;
	height: 100%;
	padding: 1.75rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--paper);
	text-decoration: none;
	transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.contact-card:hover {
	box-shadow: var(--shadow);
	transform: translateY(-3px);
}

.contact-card__icon {
	display: grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	margin-bottom: 1rem;
	border-radius: 50%;
	background: var(--sage-soft);
	color: var(--sage-deep);
}

.contact-card__label {
	color: var(--ink-soft);
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.contact-card__value {
	color: var(--ink-strong);
	font-size: 1.02rem;
	font-weight: 500;
	line-height: 1.45;
	overflow-wrap: anywhere;
}

.contact-layout {
	display: grid;
	gap: clamp(2.5rem, 5vw, 4rem);
	align-items: start;
	margin-top: clamp(3.5rem, 7vw, 5rem);
}

@media (min-width: 60rem) {
	.contact-layout {
		grid-template-columns: 1fr 1fr;
	}
}

.map-consent {
	position: relative;
	display: grid;
	min-height: 26rem;
	overflow: hidden;
	border-radius: var(--radius-lg);
	background: var(--sage-soft);
}

.map-consent iframe {
	width: 100%;
	height: 100%;
	min-height: 26rem;
	border: 0;
}

.map-consent__placeholder {
	position: relative;
	z-index: 1;
	display: grid;
	place-content: center;
	justify-items: center;
	gap: 0.75rem;
	padding: 2.5rem 2rem;
	text-align: center;
}

.map-consent__placeholder .contact-card__icon {
	margin: 0;
	background: var(--paper);
}

.map-consent__address {
	color: var(--ink-strong);
	font-family: var(--font-display);
	font-size: 1.6rem;
	line-height: 1.25;
}

.map-consent__note {
	max-width: 22rem;
	color: var(--ink-soft);
	font-size: 0.82rem;
}

.map-consent__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.6rem;
	margin-top: 0.5rem;
}

.map-consent__blob {
	right: -5rem;
	bottom: -6rem;
	width: 20rem;
	opacity: 0.8;
}

.map-consent.is-loaded .map-consent__blob {
	display: none;
}

/* Contact form */

.contact-form-section {
	display: grid;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: start;
	margin-top: clamp(4rem, 8vw, 6rem);
	scroll-margin-top: calc(var(--header-h) + var(--admin-bar) + 1.5rem);
}

@media (min-width: 60rem) {
	.contact-form-section {
		grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	}

	.contact-form-section__intro {
		position: sticky;
		top: calc(var(--header-h) + var(--admin-bar) + 2rem);
	}
}

.contact-form-section__intro p:not(.eyebrow) {
	max-width: 26rem;
	margin-top: 1.25rem;
	color: var(--ink-soft);
}

.contact-form-section__intro .handwritten {
	margin-top: 1.75rem;
	color: var(--rose-deep);
	transform: rotate(-3deg);
	transform-origin: left;
}

.form-card {
	padding: clamp(1.75rem, 4vw, 3rem);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--paper);
	box-shadow: var(--shadow-sm);
}

.contact-form {
	display: grid;
	gap: 1.25rem;
}

.form-row {
	display: grid;
	gap: 1.25rem;
}

@media (min-width: 40rem) {
	.form-row--2 {
		grid-template-columns: 1fr 1fr;
	}
}

.form-field {
	display: grid;
	gap: 0.45rem;
	align-content: start;
}

.form-field label {
	color: var(--ink-strong);
	font-size: 0.84rem;
	font-weight: 600;
}

.form-optional {
	color: var(--ink-soft);
	font-weight: 400;
}

.contact-form :is(input[type="text"], input[type="email"], input[type="tel"], select, textarea) {
	width: 100%;
	padding: 0.85rem 1rem;
	border: 1px solid var(--line-strong);
	border-radius: 0.9rem;
	background: var(--cream);
	color: var(--ink-strong);
	font: inherit;
	font-size: 1rem;
	line-height: 1.5;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.contact-form select {
	padding-right: 2.75rem;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f6a52' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-position: right 1rem center;
	background-repeat: no-repeat;
	background-size: 1rem;
}

.contact-form textarea {
	min-height: 9rem;
	resize: vertical;
}

.contact-form :is(input, select, textarea):focus {
	border-color: var(--sage-deep);
	background-color: var(--paper);
	box-shadow: 0 0 0 4px rgba(95, 106, 82, 0.15);
	outline: none;
}

.contact-form [aria-invalid="true"] {
	border-color: var(--rose-deep);
}

.form-error {
	color: var(--rose-deep);
	font-size: 0.8rem;
	font-weight: 500;
}

.form-alert {
	padding: 0.85rem 1.1rem;
	border-radius: 0.9rem;
	background: var(--rose-soft);
	color: var(--rose-deep);
	font-size: 0.9rem;
	font-weight: 500;
}

.form-field--check {
	grid-template-columns: auto 1fr;
	column-gap: 0.75rem;
	align-items: start;
}

.form-field--check input {
	width: 1.2rem;
	height: 1.2rem;
	margin: 0.2rem 0 0;
	accent-color: var(--sage-deep);
}

.form-field--check label {
	color: var(--ink-soft);
	font-size: 0.84rem;
	font-weight: 400;
	line-height: 1.55;
}

.form-field--check label a {
	color: var(--rose-deep);
}

.form-field--check .form-error {
	grid-column: 2;
}

.form-trap {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.form-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 1.5rem;
	align-items: center;
	margin-top: 0.25rem;
}

.form-note {
	color: var(--ink-soft);
	font-size: 0.78rem;
}

.form-success {
	display: grid;
	gap: 1rem;
	justify-items: start;
}

.form-success h3 {
	font-size: clamp(1.8rem, 3vw, 2.3rem);
}

.form-success p {
	color: var(--ink-soft);
}

.form-success a:not(.btn) {
	color: var(--rose-deep);
}

/* 10. Classes, categories, schedule, events, prices ------------------------------------ */

.category-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr));
	gap: 1.25rem;
	list-style: none;
}

.category-card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 2.25rem 2rem 2rem;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--paper);
	transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
	isolation: isolate;
}

.category-card::before {
	content: "";
	position: absolute;
	top: -4.5rem;
	right: -4.5rem;
	z-index: -1;
	width: 11rem;
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--tone);
	opacity: 0.55;
	transition: transform 0.6s var(--ease);
}

.category-card:hover {
	box-shadow: var(--shadow);
	transform: translateY(-4px);
}

.category-card:hover::before {
	transform: scale(1.15);
}

.category-card .icon-disc {
	margin-bottom: 1.5rem;
}

.category-card__title {
	font-size: 1.95rem;
}

.category-card__title a {
	text-decoration: none;
}

.category-card__title a::after,
.class-card__title a::after,
.event-card__title a::after,
.post-card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	border-radius: inherit;
}

.category-card__tag {
	margin-top: 0.2rem;
	color: var(--tone-ink);
	font-family: var(--font-hand);
	font-size: 1.45rem;
	line-height: 1.2;
}

.category-card__text {
	margin-top: 0.9rem;
	color: var(--ink-soft);
	font-size: 0.93rem;
}

.category-card__classes {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin: 1.25rem 0 0;
	list-style: none;
}

.category-card__classes li {
	padding: 0.25rem 0.7rem;
	border-radius: 999px;
	background: var(--linen);
	font-size: 0.76rem;
}

.category-card .link-arrow {
	margin-top: auto;
	padding-top: 1.75rem;
}

.class-list {
	display: grid;
	gap: 1.25rem;
}

@media (min-width: 52rem) {
	.class-list {
		grid-template-columns: repeat(2, 1fr);
	}

	.class-list--grid {
		grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));
	}
}

.class-card {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--paper);
	transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.class-card:hover {
	box-shadow: var(--shadow);
	transform: translateY(-4px);
}

.class-card__media img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.class-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 0.85rem;
	padding: clamp(1.75rem, 3vw, 2.25rem);
}

.class-card__title {
	font-size: clamp(1.75rem, 2.6vw, 2.1rem);
}

.class-card__title a {
	text-decoration: none;
}

.class-card__sub {
	margin-top: -0.5rem;
	color: var(--rose-deep);
	font-family: var(--font-hand);
	font-size: 1.45rem;
	line-height: 1.2;
}

.class-card__text {
	color: var(--ink-soft);
	font-size: 0.95rem;
}

.class-card .chips {
	margin-top: 0.25rem;
}

.class-card .link-arrow {
	margin-top: auto;
	padding-top: 0.75rem;
}

.other-cats {
	margin-top: clamp(3rem, 6vw, 4.5rem);
	text-align: center;
}

.other-cats__title {
	margin-bottom: 1.25rem;
	font-size: 1.6rem;
}

.other-cats .chips {
	justify-content: center;
}

.other-cats .chip {
	padding: 0.6rem 1.15rem;
	font-size: 0.86rem;
}

/* Single class */

.class-main > * + * {
	margin-top: clamp(2.25rem, 4vw, 3rem);
}

.class-main__photo img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: var(--radius-lg);
}

.who-card {
	padding: clamp(1.75rem, 4vw, 2.5rem);
	border-radius: var(--radius-lg);
	background: var(--tone, var(--rose-soft));
}

.who-card .eyebrow {
	margin-bottom: 0.6rem;
}

.who-card__text {
	color: var(--ink-strong);
	font-family: var(--font-display);
	font-size: clamp(1.4rem, 2.4vw, 1.75rem);
	line-height: 1.35;
}

.info-block__title,
.instructor__name {
	margin-bottom: 1.25rem;
	font-size: clamp(1.8rem, 3vw, 2.3rem);
}

.instructor {
	display: flex;
	gap: 1.5rem;
	align-items: flex-start;
	padding: clamp(1.75rem, 4vw, 2.5rem);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--paper);
}

.instructor__avatar {
	display: grid;
	flex: none;
	place-items: center;
	width: 4.5rem;
	height: 4.5rem;
	border-radius: 50%;
	background: var(--sage-soft);
	color: var(--sage-deep);
	font-family: var(--font-display);
	font-size: 2rem;
	font-style: italic;
}

.instructor .eyebrow {
	margin-bottom: 0.35rem;
}

.instructor__name {
	margin-bottom: 0.5rem;
	font-size: 1.7rem;
}

.instructor p:not(.eyebrow) {
	color: var(--ink-soft);
	font-size: 0.95rem;
}

.related {
	background: var(--linen);
	margin-top: clamp(4rem, 8vw, 6rem);
	padding-block: var(--section);
}

/* Schedule */

.schedule-intro {
	margin-bottom: 2.5rem;
}

.schedule__toolbar {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 2rem;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 1.75rem;
}

.schedule__note {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	color: var(--ink-soft);
	font-size: 0.86rem;
}

.schedule__note svg {
	color: var(--rose-deep);
}

.schedule__week {
	display: grid;
	gap: 1.5rem;
}

@media (min-width: 64rem) {
	.schedule__week {
		grid-template-columns: repeat(var(--days, 6), minmax(0, 1fr));
		gap: 0.75rem;
		padding: 1rem;
		border: 1px solid var(--line);
		border-radius: var(--radius-lg);
		background: var(--paper);
	}
}

.schedule__dayname {
	margin-bottom: 0.75rem;
	padding-bottom: 0.65rem;
	border-bottom: 1px solid var(--line);
	color: var(--ink-soft);
	font-family: var(--font-body);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

@media (min-width: 64rem) {
	.schedule__dayname {
		padding: 0.5rem 0.25rem 0.75rem;
		text-align: center;
	}
}

.schedule__slots {
	display: grid;
	gap: 0.6rem;
	list-style: none;
}

.schedule__slots li[hidden] {
	display: none;
}

.slot {
	display: grid;
	gap: 0.15rem;
	padding: 0.95rem 1rem;
	border: 1px solid transparent;
	border-radius: 1rem;
	background: var(--tone);
	text-decoration: none;
	transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s ease;
}

.slot:hover {
	border-color: var(--tone-strong);
	box-shadow: var(--shadow-sm);
	transform: translateY(-2px);
}

/* Class in progress (set in theme.js): a soft halo in the category colour. */
.slot.is-now {
	--halo: 0 0 0 0.3rem color-mix(in srgb, var(--tone-strong) 30%, transparent);
	box-shadow: var(--halo);
}

.slot.is-now:hover {
	box-shadow: var(--halo), var(--shadow-sm);
}

.schedule__day.is-today .schedule__dayname {
	border-bottom-color: var(--rose);
	color: var(--rose-deep);
}

.slot__time {
	color: var(--tone-ink);
	font-size: 0.78rem;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.02em;
}

.slot__title {
	color: var(--ink-strong);
	font-family: var(--font-display);
	font-size: 1.22rem;
	font-weight: 600;
	line-height: 1.15;
}

.slot__meta {
	color: var(--ink-soft);
	font-size: 0.74rem;
	line-height: 1.35;
}

@media (max-width: 63.99rem) {
	.schedule__day {
		padding: 1.25rem;
		border: 1px solid var(--line);
		border-radius: var(--radius);
		background: var(--paper);
	}

	.slot {
		grid-template-columns: 6.5rem 1fr;
		align-items: baseline;
		column-gap: 1rem;
	}

	.slot__meta {
		grid-column: 2;
	}
}

.schedule__day.is-empty {
	opacity: 0.45;
}

.schedule-embed {
	min-height: 20rem;
	padding: 1rem;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--paper);
}

/* Registrations closed: the planned week stays readable but faded and inert. The notice
   card lies on top of the week grid, or above it while the days are one column. */
.schedule-lock {
	display: grid;
	gap: 2rem;
}

.schedule-lock > * {
	min-width: 0;
}

.schedule-lock__content {
	opacity: 0.4;
	pointer-events: none;
	-webkit-user-select: none;
	user-select: none;
}

.schedule-lock__card {
	display: grid;
	gap: 1rem;
	justify-items: center;
	justify-self: center;
	width: min(100%, 30rem);
	padding: clamp(1.75rem, 5vw, 2.75rem);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--paper);
	box-shadow: var(--shadow);
	text-align: center;
}

.schedule-lock__title {
	font-size: clamp(1.9rem, 3.6vw, 2.5rem);
}

.schedule-lock__title em {
	color: var(--rose-deep);
}

.schedule-lock__card p {
	color: var(--ink-soft);
}

@media (min-width: 64rem) {
	.schedule-lock > * {
		grid-area: 1 / 1;
	}

	.schedule-lock__card {
		z-index: 1;
		align-self: start;
		margin-top: 8rem;
	}
}

.schedule-help {
	display: grid;
	gap: 1.5rem;
	align-items: center;
	margin-top: clamp(2.5rem, 5vw, 3.5rem);
	padding: clamp(1.75rem, 4vw, 2.5rem) clamp(1.75rem, 4vw, 3rem);
	border-radius: var(--radius-lg);
	background: var(--linen);
}

.schedule-help__title {
	margin-bottom: 0.4rem;
	font-size: 1.8rem;
}

.schedule-help p {
	max-width: 36rem;
	color: var(--ink-soft);
}

.schedule-help__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
}

@media (min-width: 56rem) {
	.schedule-help {
		grid-template-columns: 1fr auto;
	}
}

.class-dialog {
	width: min(100% - 2rem, 34rem);
	max-height: calc(100svh - 2rem);
	padding: 0;
	border: 0;
	border-radius: var(--radius-lg);
	background: var(--paper);
	color: var(--ink);
	box-shadow: 0 40px 80px -30px rgba(52, 44, 32, 0.5);
}

.class-dialog::backdrop {
	background: rgba(60, 52, 40, 0.45);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}

.class-dialog[open] {
	animation: dialog-in 0.35s var(--ease);
}

@keyframes dialog-in {
	from {
		opacity: 0;
		transform: translateY(12px) scale(0.98);
	}
}

.class-dialog__inner {
	position: relative;
	padding: clamp(2rem, 5vw, 2.75rem);
}

.class-dialog__close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	display: grid;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: 50%;
	background: var(--paper);
	cursor: pointer;
}

.class-dialog .eyebrow {
	margin-bottom: 0.5rem;
}

.class-dialog__title {
	padding-right: 2.5rem;
	font-size: clamp(1.9rem, 4vw, 2.4rem);
}

.class-dialog__sub {
	margin-top: 0.15rem;
	color: var(--rose-deep);
	font-family: var(--font-hand);
	font-size: 1.45rem;
	line-height: 1.2;
}

.class-dialog__time {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin: 1rem 0;
	padding: 0.45rem 0.9rem;
	border-radius: 999px;
	background: var(--linen);
	font-size: 0.85rem;
	font-weight: 500;
}

.class-dialog__inner > [data-field="excerpt"] {
	color: var(--ink-soft);
}

.class-dialog__facts {
	margin-top: 1.25rem;
}

.class-dialog__facts > div {
	display: grid;
	grid-template-columns: 7.5rem 1fr;
	gap: 1rem;
	padding-block: 0.6rem;
	border-top: 1px solid var(--line);
	font-size: 0.92rem;
}

.class-dialog__facts dt {
	color: var(--ink-soft);
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	line-height: 2;
	text-transform: uppercase;
}

.class-dialog__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin-top: 1.75rem;
}

[data-field]:empty,
[data-wrap][hidden] {
	display: none;
}

/* Events */

.event-list {
	display: grid;
	gap: 1.25rem;
}

@media (min-width: 60rem) {
	.event-list {
		grid-template-columns: repeat(2, 1fr);
	}
}

.event-card {
	--event-pad: clamp(1.5rem, 3vw, 2.25rem);
	position: relative;
	display: grid;
	grid-template-columns: auto 1fr;
	gap: clamp(1.25rem, 3vw, 2rem);
	align-items: start;
	padding: var(--event-pad);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--paper);
	transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.event-card:hover {
	box-shadow: var(--shadow);
	transform: translateY(-4px);
}

.date-badge {
	display: grid;
	justify-items: center;
	width: 5.25rem;
	padding: 0.9rem 0.5rem 0.8rem;
	border-radius: 1.25rem;
	background: var(--sand-soft);
	line-height: 1;
}

/* With a cover the card is one column: photo bleeding to the edges, date badge on its corner. */
.event-card.has-cover {
	grid-template-columns: 1fr;
	overflow: hidden;
	padding-top: 0;
}

.event-card__media {
	margin-inline: calc(-1 * var(--event-pad));
}

.event-card__media img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.event-card.has-cover .date-badge {
	position: absolute;
	top: 1rem;
	left: 1rem;
	z-index: 1;
	box-shadow: var(--shadow);
}

.date-badge__day {
	color: var(--ink-strong);
	font-family: var(--font-display);
	font-size: 2.6rem;
	font-weight: 500;
}

.date-badge__month {
	margin-top: 0.3rem;
	color: var(--caramel);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.event-card__body {
	display: grid;
	gap: 0.7rem;
	justify-items: start;
}

.event-card__title {
	font-size: clamp(1.6rem, 2.6vw, 2rem);
}

.event-card__title a {
	text-decoration: none;
}

.event-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 1.1rem;
	color: var(--ink-soft);
	font-size: 0.84rem;
}

.event-card__meta span {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
}

.event-card__meta svg {
	color: var(--rose-deep);
}

.event-card__text {
	color: var(--ink-soft);
	font-size: 0.95rem;
}

.status {
	display: inline-block;
	padding: 0.3rem 0.75rem;
	border-radius: 999px;
	background: var(--sage-soft);
	color: var(--sage-deep);
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.status--last {
	background: var(--rose-soft);
	color: var(--rose-deep);
}

.status--full,
.status--cancelled {
	background: var(--linen);
	color: var(--ink-soft);
}

.status--soon {
	background: var(--sand-soft);
	color: var(--caramel);
}

.past-events {
	margin-top: clamp(3rem, 6vw, 4rem);
}

.past-events summary {
	display: inline-flex;
	gap: 0.4rem;
	padding: 0.75rem 1.4rem;
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	color: var(--ink-strong);
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	list-style: none;
	cursor: pointer;
}

.past-events summary::-webkit-details-marker {
	display: none;
}

.past-events summary span {
	color: var(--ink-soft);
}

.past-events[open] summary {
	margin-bottom: 1.5rem;
}

.event-list--compact .event-card {
	padding: 1.25rem 1.5rem;
	background: transparent;
}

.event-list--compact .date-badge {
	width: 4.25rem;
	padding-block: 0.6rem;
}

.event-list--compact .date-badge__day {
	font-size: 1.9rem;
}

.event-list--compact .event-card__title {
	font-size: 1.4rem;
}

/* Prices */

.price-group {
	display: grid;
	gap: 0 3rem;
	margin-top: clamp(3.5rem, 7vw, 5rem);
}

@media (min-width: 64rem) {
	.price-group {
		grid-template-columns: 16rem minmax(0, 1fr);
		align-items: start;
	}

	.price-group__head {
		position: sticky;
		top: calc(var(--header-h) + var(--admin-bar) + 1.5rem);
	}

	.price-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 76rem) {
	.price-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.price-group__head {
	display: grid;
	gap: 0.5rem;
	margin-bottom: 1.75rem;
}

.price-group__title {
	font-size: clamp(2rem, 3.2vw, 2.5rem);
}

.price-group__head p {
	color: var(--ink-soft);
}

.price-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr));
	gap: 1.25rem;
	list-style: none;
}

.price-tile {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 2.25rem 2rem 2rem;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--paper);
}

.price-tile.is-featured {
	border-color: var(--sage);
	background: linear-gradient(180deg, var(--sage-soft), var(--paper) 70%);
}

.price-tile__badge {
	position: absolute;
	top: -0.8rem;
	left: 2rem;
	padding: 0.3rem 0.85rem;
	border-radius: 999px;
	background: var(--sage-deep);
	color: var(--on-dark);
	font-size: 0.66rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.price-tile__name {
	font-size: 1.6rem;
}

.price-tile__price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.4rem;
	margin-top: 1rem;
}

.price-tile__amount {
	color: var(--ink-strong);
	font-family: var(--font-display);
	font-size: 3rem;
	font-weight: 500;
	line-height: 1;
}

.price-tile__unit {
	color: var(--ink-soft);
	font-size: 0.9rem;
}

.price-tile__note {
	margin-top: 0.35rem;
	color: var(--rose-deep);
	font-size: 0.82rem;
	font-weight: 500;
}

.price-tile .heart-list {
	margin-top: 1.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--line);
	font-size: 0.92rem;
}

/* Blog */

.post-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr));
	gap: 1.5rem;
}

.post-card {
	position: relative;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--paper);
}

.post-card__media img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.post-card__body {
	display: grid;
	gap: 0.75rem;
	padding: 1.75rem;
}

.post-card__body .eyebrow {
	margin: 0;
}

.post-card__title {
	font-size: 1.7rem;
}

.post-card__title a {
	text-decoration: none;
}

.pagination .nav-links {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	margin-top: 3rem;
}

.pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 2.75rem;
	height: 2.75rem;
	padding: 0 1rem;
	border: 1px solid var(--line);
	border-radius: 999px;
	text-decoration: none;
}

.pagination .current {
	background: var(--sage-deep);
	color: var(--on-dark);
}

/* 11. Footer --------------------------------------------------------------------------- */

.site-footer {
	position: relative;
	margin-top: clamp(1rem, 3vw, 2rem);
	/* Room for the garland (3:1 image) above the columns. */
	padding-top: calc(min(24rem, 80vw) / 3 + 3rem);
	overflow: hidden;
	background: var(--linen);
	font-size: 0.92rem;
}

.site-footer__garland {
	top: 1.25rem;
	left: 50%;
	width: min(24rem, 80vw);
	transform: translateX(-50%);
	opacity: 0.92;
}

.site-footer__grid {
	display: grid;
	gap: 2.5rem;
}

@media (min-width: 44rem) {
	.site-footer__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 64rem) {
	.site-footer__grid {
		grid-template-columns: 1.4fr 1fr 1fr 1.25fr;
		gap: 3rem;
	}
}

.site-footer__logo img {
	width: 8.5rem;
}

.site-footer__brand p {
	max-width: 19rem;
	margin-top: 1.5rem;
	color: var(--ink-soft);
}

.site-footer__title {
	margin-bottom: 1.1rem;
	color: var(--rose-deep);
	font-family: var(--font-body);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

.site-footer__list {
	display: grid;
	gap: 0.5rem;
	list-style: none;
}

.site-footer a {
	text-decoration: none;
	transition: color 0.2s ease;
}

.site-footer a:hover {
	color: var(--rose-deep);
}

.site-footer__contact address {
	display: grid;
	gap: 0.75rem;
}

.site-footer__contact a {
	display: flex;
	gap: 0.7rem;
	align-items: flex-start;
	line-height: 1.5;
}

.site-footer__contact svg {
	margin-top: 0.15em;
	color: var(--rose-deep);
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 2rem;
	align-items: center;
	justify-content: space-between;
	margin-top: clamp(3rem, 6vw, 4.5rem);
	padding-block: 1.75rem;
	border-top: 1px solid var(--line-strong);
	color: var(--ink-soft);
	font-size: 0.8rem;
}

.site-footer__motto {
	font-family: var(--font-display);
	font-size: 1rem;
	font-style: italic;
}

.site-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
	list-style: none;
}

/* 12. Motion & utilities --------------------------------------------------------------- */

.js [data-reveal] {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 0.9s var(--ease) var(--delay, 0ms), transform 0.9s var(--ease) var(--delay, 0ms);
}

.js [data-reveal].is-visible {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}

	.js [data-reveal] {
		opacity: 1;
		transform: none;
	}

	.hero__slides {
		animation: none;
	}

	.hero__slide:nth-child(n + 2) {
		display: none;
	}

	.hero__toggle {
		display: none;
	}
}

@media (max-width: 40rem) {
	.path-grid {
		gap: 0.65rem;
	}

	.path-card {
		display: grid;
		grid-template-columns: auto 1fr auto;
		grid-template-rows: auto auto;
		column-gap: 1rem;
		align-items: center;
		padding: 1rem 1.1rem;
	}

	.path-card .icon-disc {
		grid-row: span 2;
		width: 3.4rem;
		margin: 0;
	}

	.path-card__name {
		align-self: end;
		font-size: 1.4rem;
	}

	.path-card__tag {
		align-self: start;
		margin: 0;
		padding: 0;
		font-size: 0.8rem;
	}

	.path-card__arrow {
		position: static;
		grid-column: 3;
		grid-row: 1 / span 2;
	}

	.hero__actions .btn,
	.cta-band__actions .btn,
	.booking-panel__actions .btn {
		width: 100%;
	}

	.event-card {
		grid-template-columns: 1fr;
	}

	.date-badge {
		grid-auto-flow: column;
		gap: 0.6rem;
		align-items: baseline;
		width: auto;
		padding: 0.55rem 1rem;
	}

	.date-badge__day {
		font-size: 1.8rem;
	}

	.date-badge__month {
		margin: 0;
	}
}

@media print {
	.launch-bar,
	.site-header,
	.site-footer,
	.cta-band-wrap,
	.mmm-decor,
	.hero__toggle {
		display: none !important;
	}
}
