/*
Theme Name: Zennwell
Theme URI: https://Zennwell.online
Author: Zennwell
Author URI: https://Zennwell.online
Description: A premium dark one-page WordPress theme for Zennwell, a New York yoga and wellness studio. Smooth-scroll navigation, six image-led services, and an editorial spa 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: zennwell
Tags: one-page, custom-menu, custom-logo, featured-images, theme-options, translation-ready
*/

:root {
	--ink: #12110f;
	--ink-soft: #1c1b18;
	--ivory: #f4efe6;
	--ivory-deep: #e8e0d2;
	--gold: #c4a574;
	--gold-soft: #d4bc93;
	--stone: #8a847a;
	--white: #faf7f2;
	--header-h: 92px;
	--font-serif: "Playfair Display", Georgia, serif;
	--font-sans: "Manrope", 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: 16px;
	line-height: 1.7;
	color: var(--ivory);
	background: var(--ink);
	-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(1120px, calc(100% - 48px));
	margin-inline: auto;
}

.eyebrow {
	margin: 0 0 16px;
	font-size: 11px;
	letter-spacing: 0.42em;
	text-transform: uppercase;
	color: var(--gold);
}

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

.section {
	padding: 120px 0;
}

.section-title {
	font-size: clamp(2.6rem, 6vw, 4.6rem);
	line-height: 1;
	margin: 0 0 20px;
}

.lede {
	color: var(--stone);
	max-width: 36rem;
	font-size: 1.05rem;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 15px 30px;
	border: 1px solid var(--gold);
	background: var(--gold);
	color: var(--ink);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease);
}

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

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

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

/* Header — centered wordmark with split nav */
.site-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 100;
	min-height: var(--header-h);
	display: flex;
	align-items: center;
	transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
	border-bottom: 1px solid transparent;
}

.site-header.is-scrolled,
.site-header.menu-open {
	background: rgba(18, 17, 15, 0.94);
	border-bottom-color: rgba(196, 165, 116, 0.18);
	backdrop-filter: blur(18px);
}

.header-inner {
	position: relative;
	width: min(1120px, calc(100% - 40px));
	margin-inline: auto;
	display: flex;
	align-items: center;
	min-height: var(--header-h);
}

.site-logo,
.custom-logo-link {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;
	font-family: var(--font-serif);
	font-size: 1.85rem;
	font-style: italic;
	color: var(--gold);
	letter-spacing: 0.04em;
}

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

.site-nav {
	display: flex;
	justify-content: space-between;
	width: 100%;
}

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

.nav-assigned {
	width: 100%;
	justify-content: space-between;
	padding-inline: 9rem;
}

.nav-list a {
	font-size: 11px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: rgba(244, 239, 230, 0.78);
}

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

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

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

/* Hero */
.hero {
	position: relative;
	min-height: 100vh;
	display: grid;
	place-items: center;
	text-align: center;
	overflow: hidden;
}

.hero-media,
.hero-media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-overlay {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse at center, rgba(18, 17, 15, 0.15) 0%, rgba(18, 17, 15, 0.72) 100%);
}

.hero-content {
	position: relative;
	z-index: 2;
	padding: 120px 24px 80px;
	max-width: 860px;
}

.hero h1 {
	font-size: clamp(3.4rem, 9vw, 7.4rem);
	line-height: 0.9;
	margin: 0 0 24px;
	color: var(--ivory);
}

.hero .rule {
	width: 72px;
	height: 1px;
	background: var(--gold);
	margin: 0 auto 28px;
}

.hero p {
	margin: 0 auto 36px;
	max-width: 34rem;
	color: rgba(244, 239, 230, 0.78);
	font-size: 1.08rem;
}

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

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

.about-grid {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 72px;
	align-items: center;
}

.about-image img {
	width: 100%;
	height: 560px;
	object-fit: cover;
	filter: saturate(0.9);
}

.about-copy .quote {
	font-family: var(--font-serif);
	font-style: italic;
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	line-height: 1.35;
	color: var(--ivory);
	margin: 0 0 28px;
}

.facts {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-top: 40px;
	padding-top: 28px;
	border-top: 1px solid rgba(196, 165, 116, 0.2);
}

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

.facts span {
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--stone);
}

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

.service-mosaic {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-auto-rows: 340px;
	gap: 12px;
}

.service-card {
	position: relative;
	overflow: hidden;
	display: block;
	color: var(--ivory);
}

.service-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s var(--ease);
}

.service-card:hover img {
	transform: scale(1.06);
}

.service-card .shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 30%, rgba(18, 17, 15, 0.86) 100%);
}

.service-card .copy {
	position: absolute;
	left: 24px;
	right: 24px;
	bottom: 22px;
}

.service-card h3 {
	margin: 0 0 6px;
	font-size: 1.55rem;
}

.service-card p {
	margin: 0;
	font-size: 0.9rem;
	color: rgba(244, 239, 230, 0.78);
}

/* Contact */
.contact {
	background: var(--ivory);
	color: var(--ink);
}

.contact .eyebrow {
	color: #9a7b4f;
}

.contact .section-title,
.contact h2 {
	color: var(--ink);
}

.contact-grid {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	gap: 48px;
}

.contact-panel {
	background: var(--ink);
	color: var(--ivory);
	padding: 48px 40px;
}

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

.contact .contact-panel .section-title,
.contact-panel h2 {
	color: var(--ivory);
}

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

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

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

.hours {
	margin-top: 24px;
	padding-top: 22px;
	border-top: 1px solid rgba(196, 165, 116, 0.25);
	color: var(--stone);
	font-size: 0.95rem;
}

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

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

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

.contact-form input,
.contact-form textarea {
	width: 100%;
	border: 0;
	border-bottom: 1px solid var(--ivory-deep);
	background: transparent;
	padding: 12px 0;
	font-size: 16px;
	color: var(--ink);
	border-radius: 0;
}

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

.contact-form input:focus,
.contact-form textarea:focus {
	outline: none;
	border-bottom-color: var(--gold);
}

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

.form-status.is-ok {
	color: #3d4f46;
}

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

/* Footer */
.site-footer {
	padding: 28px 0;
	border-top: 1px solid rgba(196, 165, 116, 0.16);
	font-size: 13px;
	color: var(--stone);
}

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

.site-footer a {
	color: var(--gold-soft);
}

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

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

body:not(.home) .site-header {
	background: var(--ink);
	border-bottom-color: rgba(196, 165, 116, 0.18);
}

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

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

@media (max-width: 980px) {
	.header-inner {
		justify-content: space-between;
	}

	.site-logo,
	.custom-logo-link {
		position: static;
		transform: none;
		left: auto;
	}

	.menu-toggle {
		display: block;
	}

	.site-nav {
		display: none;
	}

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

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

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

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

	.nav-list a {
		font-size: 16px;
	}

	.site-header.menu-open .menu-toggle span:nth-child(1) {
		transform: translateY(7px) 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(-7px) rotate(-45deg);
	}

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

	.service-mosaic {
		grid-auto-rows: 280px;
	}

	.service-card {
		min-height: 280px;
	}

	.about-image img {
		height: 380px;
	}

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

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

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

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

	.hero-actions {
		flex-direction: column;
		align-items: center;
	}
}
