/*
 * Custom styling
 */

:root {
	--reformer-primary: #6f4f38;
	--reformer-heading: #1b1b1b;
	--reformer-tag: #6b5e50;
	--reformer-text: #5c5044;
	--reformer-bg: #e8dfd2;
	--reformer-white: #fff;

	--reformer-font-heading: 'Cormorant Garamond', serif;
	--reformer-font-body: 'Mulish', sans-serif;
	--reformer-font-button: 'Jost', sans-serif;
}

@font-face {
	font-family: 'Cormorant Garamond';
	src: url( '../fonts/cormorant.ttf' );
	font-weight: 100 900;
	font-stretch: 75% 125%; 
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Mulish';
	src: url( '../fonts/mulish.ttf' );
	font-weight: 100 900;
	font-stretch: 75% 125%; 
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Jost';
	src: url( '../fonts/jost.ttf' );
	font-weight: 100 900;
	font-stretch: 75% 125%; 
	font-style: normal;
	font-display: swap;
}

body {
	font-family: var(--reformer-font-body);
	color: var(--reformer-text);
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--reformer-font-heading);
	font-weight: 500;
	color: var(--reformer-heading);
}

h1 i, h2 i, h3 i, h4 i, h5 i, h6 i {
	font-weight: 300;
}

h1 {
	font-size: 4rem;
	line-height: 1;
}

h2 {
	font-size: 2.75rem;
}

h3 {
	font-size: 2.25rem;
}

p {
	line-height: 1.6;
}

.btn {
	border: 1px solid var(--reformer-primary);
	border-radius: 60px;
	background: transparent;
	font-family: var(--reformer-font-button);
	font-size: 1rem;
	font-weight: 400;
	color: var(--reformer-primary);
}

.btn:hover {
	background: var(--reformer-primary);
	color: var(--reformer-white);
}

.btn.btn-secondary {
	border-color: var(--reformer-white);
	color: var(--reformer-white);
}

.btn.btn-secondary:hover {
	background: var(--reformer-white);
	color: var(--reformer-primary);
}

.btn.btn-arrow {
	display: inline-flex;
	align-items: center;
	gap: 1rem;
}

.btn.btn-arrow::after {
	content: url( '../media/arrow.svg' );
	line-height: 0;
}

.btn.btn-arrow:hover::after {
	content: url( '../media/arrow-light.svg' );
	line-height: 0;
}

.container {
	max-width: 1240px;
}

/*
 * Accessibility
 */
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.skip-link.screen-reader-text:focus {
	position: fixed;
	top: 1rem;
	left: 1rem;
	width: auto;
	height: auto;
	clip: auto;
	overflow: visible;
	white-space: normal;
	padding: 0.75rem 1.25rem;
	background: var(--reformer-white);
	color: var(--reformer-primary);
	border-radius: 0.5rem;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
	z-index: 1000;
}

/*
 * Header
 */
.header {
	background: var(--reformer-white);
	padding: 1.5rem 0;
}

.header-inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 1.5rem;
}

.header-nav-menu {
	justify-self: start;
}

.header-nav-menu ul {
	display: flex;
	align-items: center;
	gap: 1rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.header-nav-menu a {
	position: relative;
	font-family: var(--reformer-font-button);
	font-size: 1rem;
	text-transform: uppercase;
	color: var(--reformer-tag);
}

.header-nav-menu a::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -4px;
	width: 0;
	height: 1px;
	background-color: var(--reformer-primary);
	transition: width 0.25s ease-in-out;
}

.header-nav-menu a:hover::after,
.header-nav-menu .current-menu-item > a::after {
	width: 70%;
}

.header-nav-menu a:hover,
.header-nav-menu .current-menu-item > a {
	color: var(--reformer-primary);
}

.header-nav-close {
	display: none;
}

.header-branding {
	justify-self: center;
}

.header-branding .custom-logo-link {
	display: block;
}

.header-branding .custom-logo {
	display: block;
	max-width: 200px;
}

.header-extras {
	justify-self: end;
}

.header-extras .btn {
	padding-top: 0.625rem;
	padding-bottom: 0.625rem;
}

.header-overlay {
	display: none;
}

.header-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	width: 24px;
	height: 24px;
	padding: 0;
	border: none;
	background: transparent;
	flex-shrink: 0;
}

.header-toggle-bar {
	display: block;
	width: 24px;
	height: 2px;
	background-color: var(--reformer-primary);
	transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
}

.header-toggle[aria-expanded="true"] .header-toggle-bar:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.header-toggle[aria-expanded="true"] .header-toggle-bar:nth-child(2) {
	opacity: 0;
}

.header-toggle[aria-expanded="true"] .header-toggle-bar:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

@media ( max-width: 900px ) {
	.header-toggle {
		display: flex;
	}

	.header-branding {
		justify-self: auto;
	}

	.site-name {
		align-items: flex-start;
		text-align: left;
	}

	.header-nav {
		display: flex;
		position: fixed;
		inset: 0 0 0 auto;
		width: min(320px, 85vw);
		flex-direction: column;
		align-items: flex-start;
		justify-content: flex-start;
		gap: 2rem;
		padding: 6.5rem 2rem 2rem;
		background: var(--reformer-white);
		box-shadow: -8px 0 24px rgba(0, 0, 0, 0.08);
		transform: translateX(100%);
		transition: transform 0.3s ease-in-out;
		z-index: 100;
	}

	.header-nav.is-open {
		transform: translateX(0);
	}

	.header-nav-close {
		display: flex;
		align-items: center;
		justify-content: center;
		position: absolute;
		top: 1.5rem;
		right: 1.5rem;
		width: 32px;
		height: 32px;
		padding: 0;
		border: none;
		background: transparent;
		font-size: 1.75rem;
		line-height: 1;
		color: var(--reformer-primary);
	}

	.header-nav-menu {
		grid-column: auto;
		justify-self: auto;
		width: 100%;
	}

	.header-nav-menu ul {
		flex-direction: column;
		align-items: flex-start;
		gap: 1.5rem;
	}

	.header-extras .btn {
		padding: 0;
		border: 0;
	}

	.header-extras .btn:hover {
		background: transparent;
		color: var(--reformer-primary);
	}

	.header-overlay {
		display: block;
		position: fixed;
		inset: 0;
		background: rgba(27, 27, 27, 0.4);
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
		z-index: 90;
	}

	.header-overlay.is-open {
		opacity: 1;
		visibility: visible;
	}

	body.header-nav-open {
		overflow: hidden;
	}
}

@media ( max-width: 576px ) {
	.header-extras .btn {
		display: none;
	}
}

/*
 * Footer
 */
.footer {
	padding: 4.5rem 0 2rem;
	background: var(--reformer-primary);
	color: var(--reformer-white);
}

.footer-top {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 3rem;
	padding-bottom: 3rem;
}

.footer-brand {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.footer-logo {
	margin: 0;
	font-family: var(--reformer-font-heading);
	font-size: 1.5rem;
	line-height: 1.3;
	color: var(--reformer-white);
}

.footer-logo span {
	display: block;
	font-family: var(--reformer-font-button);
	font-size: 0.75rem;
	font-weight: 400;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.footer-tagline {
	margin: 0;
	max-width: 360px;
	color: var(--reformer-white);
	opacity: 0.7;
	font-size: 1rem;
}

.footer-heading {
	display: block;
	margin-bottom: 1.25rem;
	font-family: var(--reformer-font-button);
	font-size: 1rem;
	font-weight: 400;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--reformer-bg);
}

.footer-col-body {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	font-size: 1rem;
}

.footer-col-body a {
	color: var(--reformer-white);
}

.footer-col-body a:hover {
	text-decoration: underline;
}

.footer-hours {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.footer-hours-row {
	display: grid;
	grid-template-columns: 100px 1fr;
	gap: 1rem;
	font-size: 1rem;
}

.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding-top: 2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-copyright {
	margin: 0;
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	opacity: 0.8;
}

.footer-nav-menu {
	display: flex;
	align-items: center;
	gap: 1rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-nav-menu a {
	font-family: var(--reformer-font-button);
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--reformer-white);
	opacity: 0.8;
}

.footer-nav-menu a:hover {
	opacity: 1;
	text-decoration: underline;
}

@media ( max-width: 900px ) {
	.footer-top {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}
}

@media ( max-width: 576px ) {
	.footer-bottom {
		flex-direction: column;
		align-items: flex-start;
		gap: 1rem;
	}
}

/*
 * Hero
 */
.hero {
	padding: 80px 0;
	overflow: hidden;
	position: relative;
}

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

.hero-image::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient( to right, #6f4f38, rgba(111, 79, 56, .5) );
	opacity: .6;
}

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

.hero-content {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	max-width: 640px;
	margin-inline: auto;
	z-index: 1;
	text-align: center;
	color: #fff;
}

.hero-content h1 {
	margin: 0;
	color: #fff;
}

.hero-content p {
	opacity: .8;
}

/*
 * Heading
 */
.flex-element-heading.align-center {
	text-align: center;
}

.flex-element-heading.align-right {
	text-align: right;
}

/*
 * Intro
 */
.intro {
	padding: 80px 0;
}

.intro-wrapper {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	max-width: 740px;
}

.intro.align-center .intro-wrapper {
	align-items: center;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

.intro.align-right .intro-wrapper {
	align-items: flex-end;
	text-align: right;
	margin-left: auto;
}

.intro-wrapper h1,
.intro-wrapper h2 {
	margin-bottom: 1rem;
}

@media ( max-width: 768px ) {
	.intro {
		padding: 60px 0;
	}
}

/*
 * Text Image
 */
.text-image {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: center;
	padding: 60px 0;
}

/* Column widths */
.text-image-33-66 { grid-template-columns: 1fr 2fr; }
.text-image-66-33 { grid-template-columns: 2fr 1fr; }
.text-image-25-75 { grid-template-columns: 1fr 3fr; }
.text-image-75-25 { grid-template-columns: 3fr 1fr; }

/* Direction */
.text-image-text-right .text-image-content { order: 2; }
.text-image-text-right .text-image-image   { order: 1; }

.text-image-content {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

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

@media ( max-width: 768px ) {
	.text-image,
	.text-image-33-66,
	.text-image-66-33,
	.text-image-25-75,
	.text-image-75-25 {
		grid-template-columns: 1fr;
	}

	.text-image--text-right .text-image-content,
	.text-image--text-right .text-image-image {
		order: unset;
	}
}

/*
 * Tag
 */
.tag {
	display: inline-flex;
	align-items: center;
	gap: 1rem;
	font-family: var(--reformer-font-button);
	font-size: 1rem;
	text-transform: uppercase;
	color: var(--reformer-tag);
}

.tag.line::before {
	content: '';
	width: 32px;
	height: 1px;
	background-color: var(--reformer-tag);
}

/*
 * Content
 */
.content {
	padding: 80px 0;
}

.content-body {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.content-body-left {
	align-items: flex-start;
	text-align: left;
}

.content-body-center {
	align-items: center;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

.content-body-right {
	align-items: flex-end;
	text-align: right;
	margin-left: auto;
}

/*
 * Card Grid
 */
.card-grid {
	padding: 80px 0;
	background-color: var(--reformer-bg);
}

.card-grid-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	margin-bottom: 3rem;
}

.card-grid-header-text {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.card-grid-header-text h2 {
	margin: 0;
	font-size: 2.5rem;
}

.card-grid-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

.card {
	background: #fff;
	padding: 2rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	border-radius: 1rem;
}

.card .tag {
	align-self: flex-start;
}

.card-title {
	margin: 0;
}

.card-title i {
	font-weight: 300;
}

.card-description {
	flex: 1;
	margin: 0;
}

.card .btn {
	align-self: flex-start;
}

@media ( max-width: 768px ) {
	.card-grid-header {
		flex-direction: column;
		align-items: flex-start;
	}

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

/*
 * Card Icon Grid
 */
.card-icon-grid {
	padding: 80px 0;
	background-color: var(--reformer-bg);
}

.card-icon-grid-header {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	text-align: center;
	margin-bottom: 3rem;
}

.card-icon-grid-header h2 {
	margin: 0;
	font-size: 2.5rem;
}

.card-icon-grid-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

.card-icon-grid-cards .card {
	background: #fff;
	padding: 2rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	border-radius: 1rem;
}

.card-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 1rem;
	background-color: var(--reformer-primary);
	color: var(--reformer-white);
}

.card-icon-grid-cards .card-title {
	margin: 0;
}

.card-icon-grid-cards .card-title i {
	font-weight: 300;
}

.card-icon-grid-cards .card-description {
	margin: 0;
}

.card-icon-grid-footer {
	display: flex;
	justify-content: center;
	margin-top: 2.5rem;
}

@media ( max-width: 768px ) {
	.card-icon-grid-cards {
		grid-template-columns: 1fr;
	}
}

/*
 * Team
 */
.team {
	padding: 80px 0;
}

.team-intro {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: start;
	margin-bottom: 1.5rem;
}

.team-intro-heading {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.team-intro-text {
	margin: 0;
	padding-top: 0.5rem;
}

.team-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

.team-member {
	position: relative;
	overflow: hidden;
	border-radius: 1rem;
}

.team-member-image img {
	width: 100%;
	height: 440px;
	object-fit: cover;
	object-position: top;
	display: block;
}

.team-member-info {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 2rem;
	background: linear-gradient( to top, rgba(0,0,0,.55), transparent );
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	color: #fff;
}

.team-member-role {
	color: #fff;
}

.team-member-name {
	margin: 0;
	color: #fff;
}

.team-cta {
	background-color: #5c4a3a;
	color: #fff;
	padding: 2rem;
	border-radius: 1rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	justify-content: center;
}

.team-cta-heading {
	color: #fff;
	margin: 0;
}

.team-cta-heading i {
	font-weight: 300;
}

.team-cta p {
	margin-bottom: 1rem;
	opacity: 0.85;
}

.team-cta .btn {
	align-self: flex-start;
}

@media ( max-width: 768px ) {
	.team-intro {
		gap: 1rem;
		grid-template-columns: 1fr;
	}

	.team-intro h2 {
		margin: 0;
	}

	.team-grid {
		grid-template-columns: 1fr;
	}

	.team-member-image img {
		height: 360px;
	}
}

/*
 * Studio
 */
.studio {
	position: relative;
	overflow: hidden;
	padding: 80px 0;
}

.studio .container {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8rem;
	z-index: 1;
}

.studio-media {
	position: relative;
	width: 40%;
}

.studio-frame {
	position: relative;
}

.studio-slider {
	position: relative;
	z-index: 1;
}

.studio-slider .swiper-slide {
	border-radius: 1rem;
	overflow: hidden;
}

.studio-slider img {
	display: block;
	width: 100%;
	height: 560px;
	object-fit: cover;
	object-position: center;
}

.studio-content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1.25rem;
	width: 60%;
}

.studio-content h2 {
	margin: 0;
	font-size: 2.75rem;
}

.studio-nav {
	position: absolute;
	z-index: 2;
	bottom: 24px;
	right: 24px;
	display: flex;
	gap: 2px;
}

.studio-nav button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border: none;
	border-radius: .5rem;
	background: var(--reformer-primary);
	color: var(--reformer-white);
	cursor: pointer;
	transition: 0.2s ease-in-out;
}

.studio-nav button:hover {
	background: var(--reformer-heading);
}

@media ( max-width: 768px ) {
	.studio {
		padding: 80px 0;
	}

	.studio .container {
		flex-direction: column-reverse;
		gap: 3rem;
	}

	.studio-content,
	.studio-media {
		width: 100%;
	}

	.studio-slider img {
		height: 400px;
	}
}

/*
 * Lesson
 */
.lesson {
	padding: 80px 0;
}

.lesson .container {
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-align: center;
	gap: 1rem;
}

.lesson .tag { 
	justify-content: center;
}

.lesson-title {
	margin: 0;
}

.lesson-text {
	margin-top: 1rem;
}

.lesson-shortcode {
	margin-top: 1.5rem;
}

.lesson .momo-schedule__weekly > div {
	padding: 32px;
	border-radius: 1rem;
	background: var(--reformer-bg);
}

.lesson .momo-schedule__weekly-grid {
	gap: 0 !important;
}

.lesson .momo-schedule-day-title {
	font-family: var(--reformer-font-heading);
	font-size: 2rem;
	color: var(--reformer-heading);
}

.lesson .momo-schedule-item__title {
	margin-top: .25rem;
	margin-bottom: .5rem;
	font-family: var(--reformer-font-heading);
	color: var(--reformer-heading);
}

.lesson .momo-schedule-item {
	align-items: center !important;
	padding: 1rem 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.35) !important;
}

.lesson .momo-schedule__weekly-grid .momo-schedule-item:last-child {
	border-bottom: 0 !important;
}

.lesson .momo-schedule-item__info {
	text-align: left;
}

.lesson .momo-button.momo-button--primary {
	background-color: var(--reformer-primary) !important;
	border-color: var(--reformer-primary) !important;
	color: var(--reformer-white) !important;
}

.lesson .momo-read-more,
.lesson .momo-schedule-item .momo-schedule-item__image {
	display: none;
}

@media ( max-width: 768px ) {
	.lesson .momo-schedule-item {
		align-items: unset !important;
	}
}

/*
 * Contact
 */
.contact {
	padding: 80px 0;
	padding-top: 0;
}

.contact .container {
	display: grid;
	grid-template-columns: 1fr 1.4fr;
	gap: 1.5rem;
	align-items: stretch;
}

.contact-cards {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.contact-card {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding: 2rem;
	background: var(--reformer-bg);
	border-radius: 1rem;
}

.contact-card-body {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	color: var(--reformer-heading);
}

.contact-card-body a {
	color: var(--reformer-heading);
}

.contact-card-body a:hover {
	text-decoration: underline;
}

.contact-hours {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	color: var(--reformer-heading);
}

.contact-hours-row {
	display: grid;
	grid-template-columns: 90px 1fr;
	gap: 1rem;
}

.contact-map {
	position: relative;
	overflow: hidden;
	border-radius: 1rem;
}

.contact-map iframe {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 480px;
	border: 0;
}

@media ( max-width: 900px ) {
	.contact .container {
		grid-template-columns: 1fr;
	}

	.contact-map iframe {
		height: 400px;
	}
}

/*
 * Gallery
 */
.gallery-slider.swiper {
	width: 100%;
	overflow: hidden;
	padding: 80px 0;
	padding-top: 0;
}

.gallery-slider .swiper-wrapper {
	transition-timing-function: linear !important;
}

.gallery-slider .gallery-slide {
	width: 320px;
	height: 460px;
	border-radius: 1rem;
	overflow: hidden;
}

.gallery-slider .gallery-slide-small  { width: 220px; }
.gallery-slider .gallery-slide-medium { width: 320px; }
.gallery-slider .gallery-slide-large  { width: 420px; }

.gallery-slide img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

@media ( max-width: 768px ) {
	.gallery {
		padding: 60px 0;
	}

	.gallery-slide {
		height: 360px;
	}

	.gallery-slide-small  { width: 180px; }
	.gallery-slide-medium { width: 260px; }
	.gallery-slide-large  { width: 320px; }
}