/*
Theme Name: Zenbalance
Theme URI: https://Zenbalance.online
Author: Zenbalance
Author URI: https://Zenbalance.online
Description: A premium light one-page WordPress theme for Zenbalance, a New York yoga studio. Smooth-scroll navigation, six image-led services, and an airy East Village design.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zenbalance
Tags: one-page, custom-menu, custom-logo, featured-images, theme-options, translation-ready
*/

:root {
	--paper: #faf8f5;
	--white: #ffffff;
	--sage: #5c7a6a;
	--sage-deep: #3f564a;
	--blush: #c9a39a;
	--ink: #2a2724;
	--muted: #7a746c;
	--line: #e7e1d8;
	--header-h: 84px;
	--font-serif: "Fraunces", Georgia, serif;
	--font-sans: "DM Sans", system-ui, sans-serif;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: var(--header-h);
}

body {
	margin: 0;
	font-family: var(--font-sans);
	font-size: 17px;
	line-height: 1.7;
	color: var(--ink);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
}

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

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

button,
input,
textarea {
	font-family: inherit;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}

.wrap {
	width: min(1140px, calc(100% - 48px));
	margin-inline: auto;
}

.eyebrow {
	margin: 0 0 12px;
	font-size: 12px;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--sage);
	font-weight: 500;
}

h1,
h2,
h3 {
	font-family: var(--font-serif);
	font-weight: 500;
	letter-spacing: -0.03em;
}

.section {
	padding: 108px 0;
}

.section-title {
	font-size: clamp(2.4rem, 5vw, 4rem);
	line-height: 1.05;
	margin: 0 0 16px;
}

.lede {
	color: var(--muted);
	max-width: 36rem;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 28px;
	border-radius: 999px;
	border: 1px solid var(--sage);
	background: var(--sage);
	color: var(--white);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.06em;
	cursor: pointer;
	transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}

.btn:hover {
	background: var(--sage-deep);
	transform: translateY(-2px);
}

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

.btn-line:hover {
	background: var(--ink);
	color: var(--white);
	border-color: var(--ink);
}

/* Header: logo left, menu right */
.site-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 100;
	min-height: var(--header-h);
	display: flex;
	align-items: center;
	transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header.is-scrolled,
.site-header.menu-open {
	background: rgba(250, 248, 245, 0.96);
	box-shadow: 0 8px 24px rgba(42, 39, 36, 0.06);
	backdrop-filter: blur(14px);
}

.header-inner {
	width: min(1140px, calc(100% - 40px));
	margin-inline: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.site-logo,
.custom-logo-link {
	font-family: var(--font-serif);
	font-size: 1.65rem;
	font-weight: 500;
	color: var(--sage-deep);
}

.custom-logo {
	height: 38px;
	width: auto;
}

.nav-list {
	display: flex;
	gap: 28px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-list a {
	font-size: 13px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
}

.nav-list a:hover,
.nav-list a.is-active {
	color: var(--sage-deep);
}

.menu-toggle {
	display: none;
	width: 44px;
	height: 44px;
	border: 0;
	background: transparent;
	cursor: pointer;
	padding: 0;
}

.menu-toggle span {
	display: block;
	width: 20px;
	height: 1.5px;
	margin: 6px auto;
	background: var(--ink);
}

/* Split hero */
.hero {
	padding: calc(var(--header-h) + 36px) 0 72px;
}

.hero-grid {
	display: grid;
	grid-template-columns: 1fr 0.95fr;
	gap: 64px;
	align-items: center;
}

.hero h1 {
	font-size: clamp(3rem, 7vw, 5.6rem);
	line-height: 0.95;
	margin: 0 0 20px;
}

.hero p {
	margin: 0 0 32px;
	color: var(--muted);
	max-width: 32rem;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.hero-image {
	position: relative;
}

.hero-image img {
	width: 100%;
	height: 720px;
	object-fit: cover;
	border-radius: 200px 200px 28px 28px;
}

.hero-chip {
	position: absolute;
	left: -18px;
	bottom: 40px;
	background: var(--white);
	padding: 16px 22px;
	border-radius: 18px;
	box-shadow: 0 16px 40px rgba(42, 39, 36, 0.1);
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--sage-deep);
}

/* About */
.about {
	background: var(--white);
}

.about-inner {
	max-width: 760px;
	margin: 0 auto 48px;
	text-align: center;
}

.about-inner .lede {
	margin-inline: auto;
}

.about-image img {
	width: 100%;
	height: 480px;
	object-fit: cover;
	border-radius: 28px;
}

.facts {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-top: 40px;
	text-align: center;
}

.facts strong {
	display: block;
	font-family: var(--font-serif);
	font-size: 2rem;
	color: var(--sage);
	font-weight: 500;
}

.facts span {
	font-size: 13px;
	color: var(--muted);
}

/* Services: numbered cards */
.services-head {
	display: flex;
	justify-content: space-between;
	align-items: end;
	gap: 24px;
	margin-bottom: 48px;
}

.service-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}

.service-card {
	background: var(--white);
	border-radius: 24px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(42, 39, 36, 0.05);
	transition: transform 0.4s var(--ease);
}

.service-card:hover {
	transform: translateY(-8px);
}

.service-card img {
	width: 100%;
	height: 220px;
	object-fit: cover;
}

.service-card .body {
	padding: 22px 22px 26px;
}

.service-card .num {
	display: block;
	font-size: 12px;
	letter-spacing: 0.18em;
	color: var(--blush);
	margin-bottom: 6px;
}

.service-card h3 {
	margin: 0 0 8px;
	font-size: 1.45rem;
}

.service-card p {
	margin: 0;
	color: var(--muted);
	font-size: 0.95rem;
}

/* Contact */
.contact-grid {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	gap: 28px;
}

.contact-panel {
	background: var(--sage-deep);
	color: var(--paper);
	padding: 48px 40px;
	border-radius: 28px;
}

.contact-panel .eyebrow {
	color: var(--blush);
}

.contact-panel .section-title {
	color: var(--white);
}

.contact-list {
	list-style: none;
	margin: 28px 0 0;
	padding: 0;
}

.contact-list li {
	margin: 0 0 20px;
}

.contact-list span {
	display: block;
	font-size: 11px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--blush);
	margin-bottom: 4px;
}

.hours {
	margin-top: 22px;
	padding-top: 20px;
	border-top: 1px solid rgba(250, 248, 245, 0.18);
	color: rgba(250, 248, 245, 0.78);
	font-size: 0.95rem;
}

.contact-form {
	background: var(--white);
	padding: 48px 40px;
	border-radius: 28px;
	border: 1px solid var(--line);
}

.form-row {
	margin-bottom: 18px;
}

.contact-form label {
	display: block;
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea {
	width: 100%;
	border: 1px solid var(--line);
	background: var(--paper);
	border-radius: 14px;
	padding: 13px 14px;
	font-size: 16px;
	color: var(--ink);
}

.contact-form textarea {
	min-height: 120px;
	resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
	outline: 2px solid var(--sage);
	border-color: transparent;
}

.form-status {
	min-height: 1.3em;
	margin-top: 12px;
	font-size: 0.92rem;
}

.form-status.is-ok {
	color: var(--sage-deep);
}

.form-status.is-err {
	color: #8a4332;
}

.site-footer {
	padding: 28px 0 40px;
	font-size: 14px;
	color: var(--muted);
}

.footer-inner {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

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

.to-top {
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-size: 12px;
}

.page-shell {
	padding: calc(var(--header-h) + 48px) 0 80px;
}

body:not(.home) .site-header {
	background: var(--paper);
}

.reveal {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.reveal.is-in {
	opacity: 1;
	transform: none;
}

@media (max-width: 980px) {
	.menu-toggle {
		display: block;
		z-index: 120;
	}

	.site-nav {
		display: none;
	}

	.site-header.menu-open {
		min-height: 100vh;
		background: var(--paper);
		align-items: flex-start;
	}

	.site-header.menu-open .header-inner {
		width: 100%;
		flex-wrap: wrap;
		padding: 18px 24px 0;
	}

	.site-header.menu-open .site-nav {
		display: flex;
		width: calc(100% + 48px);
		margin-inline: -24px;
		min-height: calc(100vh - var(--header-h));
		align-items: center;
		justify-content: center;
		background: var(--paper);
	}

	.nav-list {
		flex-direction: column;
		align-items: center;
		gap: 26px;
	}

	.nav-list a {
		font-size: 18px;
		color: var(--ink);
	}

	.site-header.menu-open .menu-toggle span:nth-child(1) {
		transform: translateY(7.5px) rotate(45deg);
	}

	.site-header.menu-open .menu-toggle span:nth-child(2) {
		opacity: 0;
	}

	.site-header.menu-open .menu-toggle span:nth-child(3) {
		transform: translateY(-7.5px) rotate(-45deg);
	}

	.hero-grid,
	.contact-grid,
	.service-grid {
		grid-template-columns: 1fr;
	}

	.hero-image img {
		height: 520px;
	}

	.services-head {
		flex-direction: column;
		align-items: start;
	}
}

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

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

	.hero-image img {
		height: 420px;
		border-radius: 140px 140px 22px 22px;
	}

	.contact-form,
	.contact-panel {
		padding: 32px 24px;
	}
}
