:root {
	--site-cream: #f8f5ed;
	--site-ink: #202d22;
	--site-green: #294638;
	--site-moss: #dce4d1;
	--site-accent: #f0ca56;
	--site-muted: #526352;
	--site-border: #dce1d4;
	--site-heading: var(--wp--preset--font-family--display, Georgia, serif);
	--site-gutter: clamp(1.2rem, 4vw, 4rem);
	--site-width: 75rem;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: #fff;
	color: var(--site-ink);
}

a {
	text-underline-offset: .2em;
}

:where(a, button):focus-visible {
	outline: 3px solid #a36b00;
	outline-offset: 4px;
}

:where(.site-header, .site-main, .site-footer) figure {
	margin: 0;
}

:where(.site-header, .site-main, .site-footer) img {
	display: block;
	max-width: 100%;
	height: auto;
}

.site-main {
	background: #fff;
}

.site-main > .wp-block-group,
.site-main > .wp-block-post-content,
.site-main > .wp-block-post-content > .wp-block-group {
	margin-block: 0;
	max-width: none;
}

:where(.site-main, .site-footer) :where(h1, h2, h3) {
	color: inherit;
}

.site-main :where(h1, h2) {
	font-family: var(--site-heading);
	font-weight: 500;
	letter-spacing: -.043em;
	text-wrap: balance;
}

.site-main h2 {
	font-size: clamp(2.2rem, 4.1vw, 4.15rem);
	line-height: 1.02;
}

.site-main h3 {
	font-size: clamp(1.16rem, 1.5vw, 1.4rem);
	font-weight: 700;
	letter-spacing: -.022em;
	line-height: 1.26;
}

.site-main p {
	line-height: 1.64;
}

.site-main [id] {
	scroll-margin-top: 1.25rem;
}

.site-header {
	background: #fff;
	border-bottom: 1px solid var(--site-border);
}

.site-header .header-inner {
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: center;
	gap: clamp(.65rem, 1.6vw, 1.7rem);
	min-height: 4.9rem;
	width: min(100% - 2 * var(--site-gutter), 89rem);
	margin-inline: auto;
	padding-block: .8rem;
}

.site-brand,
.site-header .primary-nav,
.header-contact {
	margin: 0;
}

.site-brand {
	display: flex;
	flex: 0 1 auto;
	align-items: center;
	gap: .55rem;
}

.site-brand .brand-logo {
	margin: 0;
	width: clamp(10.8rem, 17vw, 14.5rem);
}

.site-header .primary-nav,
.site-header .primary-nav .wp-block-navigation__container {
	gap: clamp(.7rem, 1.3vw, 1.4rem);
	font-size: .84rem;
	font-weight: 600;
	line-height: 1.3;
}

.site-header .wp-block-navigation-item__content:hover,
.site-header .header-phone a:hover {
	color: var(--site-green);
	text-decoration: underline;
}

.site-header .wp-block-navigation__responsive-container.is-menu-open {
	padding: 1.5rem;
	background: var(--site-cream);
	color: var(--site-ink);
}

.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	align-items: flex-start;
	padding-top: 3.5rem;
}

.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	align-items: flex-start;
	gap: 1.35rem;
	font-size: 1.15rem;
}

.header-contact {
	display: flex;
	align-items: center;
	gap: .8rem;
	white-space: nowrap;
}

.header-contact .header-phone {
	margin: 0;
	font-size: .83rem;
	font-weight: 700;
}

.header-contact .header-phone a {
	color: inherit;
	text-decoration: none;
}

.wp-block-buttons.is-layout-flex {
	gap: .75rem;
}

.wp-block-button .wp-block-button__link {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	min-height: 3rem;
	padding: .67rem 1.27rem;
	border: 1px solid transparent;
	border-radius: 100vw;
	font-family: inherit;
	font-size: .89rem;
	font-weight: 750;
	line-height: 1.28;
	text-align: center;
	text-decoration: none;
	transition: background-color .2s, color .2s, border-color .2s;
}

.button-accent .wp-block-button__link {
	background-color: var(--site-accent);
	color: #1e261b;
}

.button-accent .wp-block-button__link:hover {
	background-color: #ffe187;
}

.button-ink .wp-block-button__link {
	background-color: var(--site-green);
	color: #fff;
}

.button-ink .wp-block-button__link:hover {
	background-color: #162e22;
}

.button-outline .wp-block-button__link {
	background: transparent;
	border-color: currentColor;
	color: var(--site-green);
}

.button-outline .wp-block-button__link:hover {
	background: var(--site-moss);
	color: var(--site-ink);
}

.header-contact .wp-block-button__link {
	min-height: 2.6rem;
	padding-inline: .95rem;
	font-size: .8rem;
}

.hero {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	background: #243729;
	color: #fff;
}

.hero .hero-inner {
	display: grid;
	align-items: center;
	min-height: clamp(30rem, 57vw, 44rem);
	width: min(100% - 2 * var(--site-gutter), var(--site-width));
	margin-inline: auto;
	padding-block: clamp(4.5rem, 10vw, 8.5rem);
}

.hero .hero-image {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	margin: 0;
}

.hero .hero-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 54%;
}

.hero::before {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, rgb(15 31 20 / 92%) 0%, rgb(15 31 20 / 79%) 32%, rgb(15 31 20 / 39%) 66%, rgb(15 31 20 / 12%) 100%);
	content: "";
}

.hero .hero-copy {
	width: min(100%, 45rem);
	margin: 0;
}

.hero .hero-kicker {
	margin-block: 0 .8rem;
	color: #ffe38c;
	font-size: .81rem;
	font-weight: 750;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.hero h1 {
	margin: 0;
	font-size: clamp(3.7rem, 7.4vw, 7.65rem);
	font-weight: 500;
	line-height: .93;
	text-wrap: initial;
}

.hero p:not(.hero-kicker) {
	max-width: 33rem;
	margin-block: 1.5rem 0;
	color: #fff;
	font-size: clamp(1.02rem, 1.5vw, 1.25rem);
}

.hero .hero-actions {
	margin-top: 1.95rem;
}

.hero .button-outline .wp-block-button__link {
	color: #fff;
}

.hero .button-outline .wp-block-button__link:hover {
	background: #fff;
	color: var(--site-ink);
}

.section {
	padding-block: clamp(4.5rem, 8vw, 7.8rem);
}

.section .section-inner {
	width: min(100% - 2 * var(--site-gutter), var(--site-width));
	max-width: none;
	margin-inline: auto;
}

.section .section-heading {
	max-width: 52rem;
	margin: 0 0 clamp(1.8rem, 4vw, 3.1rem);
}

.section-heading :where(h2, h3) {
	margin-block: 0;
}

.section .section-heading p {
	max-width: 45rem;
	margin-block: 1rem 0;
	color: var(--site-muted);
}

.section :is(.about-copy, .private-copy, .contacts-copy, .detail-copy, .booking-intro) > * + * {
	margin-block-start: 1rem;
}

.about,
.gallery,
.trademarks {
	background: var(--site-cream);
}

.about-layout,
.private-layout,
.contacts-layout,
.event-detail {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: center;
	gap: clamp(1.6rem, 5.5vw, 5rem);
}

.about-layout > *,
.private-layout > *,
.contacts-layout > *,
.event-detail > * {
	margin-block: 0;
	max-width: none;
}

.about-image img,
.private-image img,
.detail-image img {
	width: 100%;
	aspect-ratio: 5 / 4;
	border-radius: 1.05rem;
	object-fit: cover;
}

.about-copy :where(h2, h3),
.private-copy :where(h2, h3),
.contacts-copy :where(h2, h3),
.detail-copy :where(h2, h3),
.booking-intro :where(h2, h3) {
	margin-top: 0;
}

.event-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1rem, 2.3vw, 2rem);
}

.event-grid .event-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	margin: 0;
	border: 1px solid var(--site-border);
	border-radius: .9rem;
	background: #fff;
}

.event-card .event-card-image {
	width: 100%;
	margin: 0;
}

.event-card-image img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	object-position: center 43%;
}

.event-card-image img[src$="/event-podcasts.jpg"] {
	background: var(--site-moss);
	object-fit: contain;
	object-position: center;
}

.event-card .event-card-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: .72rem;
	margin: 0;
	padding: clamp(1.15rem, 2.2vw, 1.7rem);
}

.event-card-body > * {
	margin: 0;
}

.event-card-body p {
	font-size: .94rem;
}

.event-card-body > :last-child {
	margin-top: auto;
}

.event-card-link a {
	color: var(--site-green);
	font-weight: 700;
}

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-rows: clamp(8rem, 15vw, 13.25rem);
	gap: .8rem;
}

.gallery-grid .wp-block-image {
	overflow: hidden;
	width: 100%;
	height: 100%;
	margin: 0;
	border-radius: .65rem;
	background: var(--site-moss);
}

.gallery-grid .wp-block-image:first-child {
	grid-column: span 2;
	grid-row: span 2;
}

.gallery-grid .wp-block-image a {
	display: block;
	width: 100%;
	height: 100%;
}

.gallery-grid img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .25s ease;
}

.gallery-grid .wp-block-image:where(:hover, :focus-within) img {
	transform: scale(1.035);
}

.values-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(1.25rem, 3vw, 2.6rem);
}

.values-grid .value {
	margin: 0;
	padding-top: 1.4rem;
	border-top: 1px solid #b6c7b6;
}

.value .wp-block-image {
	margin-block: 0 .9rem;
}

.value .wp-block-image img {
	width: 2.5rem;
	height: 2.5rem;
	object-fit: contain;
}

.value :where(h2, h3) {
	margin: 0;
}

.values-grid .value p {
	margin-top: .55rem;
	font-size: .94rem;
}

.booking {
	background: var(--site-moss);
}

.booking .section-inner {
	max-width: 61rem;
}

.booking-intro {
	max-width: 43rem;
	margin-inline: auto;
	text-align: center;
}

.booking-intro .wp-block-buttons {
	justify-content: center;
}

.booking .booking-widget {
	margin-top: 1.6rem;
}

.booking-widget iframe {
	display: block;
	width: 100%;
	max-width: 100%;
	border: 0;
	border-radius: .75rem;
}

.private-event {
	background: var(--site-green);
	color: #fff;
}

.private-copy p a {
	color: inherit;
	font-weight: 700;
}

.detail-list {
	display: grid;
	gap: clamp(2.5rem, 5vw, 4.6rem);
}

.event-detail {
	margin: 0;
}

.event-detail + .event-detail {
	padding-top: clamp(2.5rem, 5vw, 4.6rem);
	border-top: 1px solid var(--site-border);
}

.detail-reversed .detail-image {
	grid-column: 2;
	grid-row: 1;
}

.detail-reversed .detail-copy {
	grid-column: 1;
	grid-row: 1;
}

.detail-copy h3 {
	font-family: var(--site-heading);
	font-size: clamp(1.9rem, 3vw, 3.05rem);
	font-weight: 500;
	letter-spacing: -.035em;
	line-height: 1.08;
}

.detail-copy li {
	margin-block: .25rem;
	line-height: 1.5;
}

.trademark-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: .95rem;
}

.trademark-grid .wp-block-image {
	overflow: hidden;
	margin: 0;
	border: 1px solid var(--site-border);
	border-radius: .65rem;
	background: #fff;
}

.trademark-grid .wp-block-image a {
	display: block;
}

.trademark-grid img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: contain;
}

.contacts .contacts-layout {
	grid-template-columns: .8fr 1.2fr;
}

.contacts-copy :where(a:not(.wp-block-button__link)) {
	color: var(--site-green);
	font-weight: 700;
}

.contacts-map iframe {
	display: block;
	width: 100%;
	height: clamp(17rem, 34vw, 25rem);
	border: 1px solid var(--site-border);
	border-radius: .9rem;
	background: var(--site-moss);
}

.site-footer {
	padding-block: 1.45rem;
	background: #17291e;
	color: #fff;
}

.site-footer .footer-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: .85rem 1.5rem;
	width: min(100% - 2 * var(--site-gutter), var(--site-width));
	margin-inline: auto;
}

.site-footer :where(p, a) {
	margin: 0;
	color: inherit;
	font-size: .85rem;
}

.site-footer a {
	color: #fff;
}

@media (max-width: 73rem) {
	.header-contact .header-phone {
		display: none;
	}
}

@media (max-width: 61rem) {
	.site-header .header-inner {
		flex-wrap: wrap;
	}

	.site-header .primary-nav {
		order: 3;
		flex: 0 0 100%;
		justify-content: center;
	}

	.site-header .primary-nav .wp-block-navigation__container {
		justify-content: center;
	}
}

@media (max-width: 50rem) {
	.event-grid,
	.values-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.about-layout,
	.private-layout,
	.contacts-layout,
	.event-detail,
	.contacts .contacts-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.detail-reversed .detail-image,
	.detail-reversed .detail-copy {
		grid-column: auto;
		grid-row: auto;
	}

	.about-image img,
	.private-image img,
	.detail-image img {
		max-height: 26rem;
	}
}

@media (max-width: 37.5rem) {
	.site-header .header-inner {
		flex-wrap: nowrap;
		min-height: 4.2rem;
	}

	.site-header .primary-nav {
		order: 3;
		flex: 0 0 auto;
		margin-left: 0;
	}

	.site-header .primary-nav .wp-block-navigation__responsive-container-open {
		display: flex;
	}

	.site-header .primary-nav .wp-block-navigation__responsive-container:not(.is-menu-open) {
		display: none;
	}

	.header-contact {
		margin-left: auto;
	}

	.header-contact .wp-block-button__link {
		min-height: 2.35rem;
		padding-inline: .66rem;
		font-size: .73rem;
	}

	.site-brand .brand-logo {
		width: clamp(8.4rem, 39vw, 12.5rem);
	}

	.hero .hero-inner {
		min-height: 32rem;
		align-items: end;
		padding-block: 4rem 3rem;
	}

	.hero::before {
		background: linear-gradient(0deg, rgb(14 30 19 / 92%) 0%, rgb(14 30 19 / 67%) 48%, rgb(14 30 19 / 24%) 100%);
	}

	.hero h1 {
		font-size: clamp(2.65rem, 10vw, 4rem);
	}

	.hero p:not(.hero-kicker) {
		margin-top: 1.15rem;
	}

	.hero .hero-actions {
		margin-top: 1.4rem;
	}

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

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

	.gallery-grid .wp-block-image:first-child {
		grid-row: span 1;
	}

	.site-footer .footer-inner {
		flex-wrap: wrap;
	}
}

@media (max-width: 30rem) {
	.values-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

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

	:where(.site-header, .site-main, .site-footer) * {
		transition-duration: 0s !important;
	}
}

.page-intro {
	background: var(--site-green);
	color: #fff;
}

.page-intro .page-intro-layout {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	align-items: center;
	gap: clamp(1.55rem, 5.5vw, 5rem);
}

.page-intro .page-intro-copy {
	min-width: 0;
}

.page-intro .page-intro-copy h1 {
	margin: 0;
	font-size: clamp(2.65rem, 5.6vw, 5.65rem);
	line-height: .99;
	overflow-wrap: anywhere;
}

.page-intro .page-intro-copy p {
	margin-block: 1.25rem 0;
	font-size: clamp(1rem, 1.4vw, 1.16rem);
}

.page-intro .wp-block-buttons {
	margin-top: 1.6rem;
}

.page-intro .page-intro-image {
	margin: 0;
}

.page-intro .page-intro-image img {
	width: 100%;
	aspect-ratio: 4 / 3;
	border-radius: 1.05rem;
	object-fit: cover;
}

.workshops-intro .page-intro-image img {
	object-position: center 68%;
}

.workshops-intro .button-outline .wp-block-button__link,
#svoi-master-klass .button-outline .wp-block-button__link {
	color: #fff;
}

.workshops-intro .button-outline .wp-block-button__link:hover,
#svoi-master-klass .button-outline .wp-block-button__link:hover {
	color: var(--site-ink);
}

@media (max-width: 50rem) {
	.page-intro .page-intro-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.page-intro .page-intro-image img {
		max-height: 25rem;
	}
}
