/*
Theme Name: Zennbreath
Theme URI: https://Zennbreath.online
Author: Zennbreath
Author URI: https://Zennbreath.online
Description: A coastal one-page WordPress theme for Zennbreath, a Saint Augustine yoga and breath studio. Centered hero, alternating class rows, and a campaign-ready contact and privacy structure.
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: zennbreath
Tags: one-page, custom-menu, custom-logo, featured-images, theme-options, translation-ready
*/

:root {
	--sand: #f4efe6;
	--sand-deep: #e8dfd0;
	--salt: #fbf8f3;
	--teal: #1f6f66;
	--teal-deep: #164e48;
	--coral: #d4785a;
	--navy: #1b2a3a;
	--ink: #243040;
	--muted: #5e6a72;
	--white: #ffffff;
	--line: rgba(27, 42, 58, 0.12);
	--header-h: 86px;
	--font-serif: "Marcellus", "Times New Roman", serif;
	--font-sans: "Figtree", system-ui, sans-serif;
	--ease: cubic-bezier(0.2, 0.8, 0.2, 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(--salt);
	-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% - 40px));
	margin-inline: auto;
}

.eyebrow {
	margin: 0 0 10px;
	font-size: 11px;
	letter-spacing: 0.34em;
	text-transform: uppercase;
	color: var(--teal);
	font-weight: 600;
}

h1,
h2,
h3,
.footer-name,
.site-logo span {
	font-family: var(--font-serif);
	font-weight: 400;
	letter-spacing: -0.02em;
}

.section {
	padding: 100px 0;
}

.section-title {
	font-size: clamp(2.2rem, 4.6vw, 3.7rem);
	line-height: 1.08;
	margin: 0 0 18px;
	color: var(--navy);
}

.lede {
	color: var(--muted);
	max-width: 38rem;
	font-size: 1.08rem;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 13px 26px;
	border-radius: 4px;
	border: 1px solid transparent;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
	transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}

.btn:hover {
	transform: translateY(-1px);
}

.btn-light {
	background: var(--salt);
	color: var(--navy);
}

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

.btn-ghost {
	background: transparent;
	color: var(--salt);
	border-color: rgba(251, 248, 243, 0.45);
}

.btn-ghost:hover {
	background: rgba(251, 248, 243, 0.12);
}

.btn-navy {
	background: var(--navy);
	color: var(--salt);
}

.btn-navy:hover {
	background: var(--teal-deep);
}

/* Header */
.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,
body:not(.home) .site-header {
	background: rgba(244, 239, 230, 0.96);
	box-shadow: 0 10px 30px rgba(27, 42, 58, 0.08);
	backdrop-filter: blur(12px);
}

.site-header.menu-open {
	background: var(--sand);
	backdrop-filter: none;
}

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

.site-logo {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--salt);
	font-size: 1.45rem;
}

.site-logo img,
.custom-logo {
	width: 42px;
	height: 42px;
	object-fit: cover;
	border-radius: 50%;
}

.site-header.is-scrolled .site-logo,
.site-header.menu-open .site-logo,
.site-header.is-scrolled .nav-list a,
.site-header.menu-open .nav-list a,
body:not(.home) .site-logo,
body:not(.home) .nav-list a {
	color: var(--navy);
}

.custom-logo-link {
	display: flex;
}

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

.nav-list a {
	font-size: 12px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--salt);
	position: relative;
}

.nav-list a.is-active::after,
.nav-list a:hover::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -6px;
	height: 1px;
	background: var(--coral);
}

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

.menu-toggle span {
	display: block;
	height: 2px;
	margin: 6px 0;
	background: currentColor;
	color: inherit;
}

.site-header:not(.is-scrolled):not(.menu-open) .menu-toggle {
	color: var(--salt);
}

.site-header.is-scrolled .menu-toggle,
.site-header.menu-open .menu-toggle,
body:not(.home) .menu-toggle {
	color: var(--navy);
}

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

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

.hero-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-veil {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(27, 42, 58, 0.28) 0%, rgba(27, 42, 58, 0.55) 55%, rgba(22, 78, 72, 0.72) 100%);
}

.hero-content {
	position: relative;
	z-index: 1;
	width: min(760px, calc(100% - 40px));
	padding: 140px 0 80px;
}

.breathe-mark {
	width: 86px;
	height: 86px;
	margin: 0 auto 22px;
	position: relative;
}

.breathe-mark span {
	position: absolute;
	inset: 0;
	border: 1px solid rgba(251, 248, 243, 0.55);
	border-radius: 50%;
	animation: breathe 5.5s ease-in-out infinite;
}

.breathe-mark span:nth-child(2) {
	inset: 10px;
	animation-delay: 0.4s;
	border-color: var(--coral);
}

.breathe-mark span:nth-child(3) {
	inset: 22px;
	animation-delay: 0.8s;
}

@keyframes breathe {
	0%,
	100% {
		transform: scale(0.92);
		opacity: 0.55;
	}
	50% {
		transform: scale(1);
		opacity: 1;
	}
}

.hero h1 {
	font-size: clamp(3rem, 8vw, 5.4rem);
	line-height: 0.95;
	margin: 0 0 18px;
	color: var(--salt);
}

.hero-lead {
	margin: 0 auto 28px;
	max-width: 34rem;
	font-size: 1.12rem;
	color: rgba(251, 248, 243, 0.88);
}

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

.hero-nap {
	margin: 0;
	font-size: 13px;
	letter-spacing: 0.04em;
	color: rgba(251, 248, 243, 0.78);
}

.hero-nap a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

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

.about-split {
	display: grid;
	grid-template-columns: 0.92fr 1.08fr;
	gap: 56px;
	align-items: center;
}

.about-photo img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: 2px 80px 2px 2px;
}

.about-copy p + p {
	margin-top: 16px;
}

/* Pillars */
.pillars {
	padding: 92px 0;
	background: var(--teal-deep);
	color: var(--salt);
}

.pillars .eyebrow,
.pillars .section-title,
.pillars .lede {
	color: var(--salt);
}

.pillars .lede {
	opacity: 0.82;
	margin-bottom: 40px;
}

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

.pillar-card {
	padding: 28px 24px 32px;
	border: 1px solid rgba(251, 248, 243, 0.18);
	background: rgba(251, 248, 243, 0.04);
}

.pillar-card h3 {
	margin: 0 0 12px;
	font-size: 1.7rem;
}

.pillar-card p {
	margin: 0;
	color: rgba(251, 248, 243, 0.82);
}

/* Classes */
.classes {
	background: var(--salt);
}

.classes-head {
	margin-bottom: 48px;
}

.class-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: center;
	padding: 28px 0;
	border-top: 1px solid var(--line);
}

.class-row.is-flip .class-photo {
	order: 2;
}

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

.class-num {
	display: block;
	font-size: 12px;
	letter-spacing: 0.22em;
	color: var(--coral);
	font-weight: 600;
	margin-bottom: 8px;
}

.class-copy h3 {
	margin: 0 0 8px;
	font-size: 2.1rem;
	color: var(--navy);
}

.class-lead {
	margin: 0 0 12px;
	color: var(--teal);
	font-weight: 600;
}

/* Who */
.who-section {
	padding: 88px 0;
	background: var(--sand-deep);
}

.who-grid {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 48px;
	align-items: start;
}

.who-note {
	background: var(--navy);
	color: var(--salt);
	padding: 32px 28px;
}

.who-note h3 {
	margin: 0 0 16px;
	font-size: 1.6rem;
}

.who-note ol {
	margin: 0;
	padding-left: 18px;
}

.who-note li + li {
	margin-top: 10px;
}

/* Visit */
.visit {
	background: var(--sand);
}

.visit-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 36px;
}

.visit-panel,
.visit-form {
	background: var(--white);
	padding: 36px 32px;
	border-top: 4px solid var(--teal);
}

.visit-list {
	list-style: none;
	margin: 24px 0;
	padding: 0;
}

.visit-list li {
	padding: 14px 0;
	border-bottom: 1px solid var(--line);
}

.visit-list span {
	display: block;
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--teal);
	margin-bottom: 4px;
	font-weight: 600;
}

.visit-list a {
	color: var(--navy);
	text-decoration: underline;
	text-underline-offset: 3px;
}

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

.form-row label {
	display: block;
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin-bottom: 6px;
	font-weight: 600;
}

.form-row input,
.form-row textarea {
	width: 100%;
	border: 1px solid var(--line);
	background: var(--salt);
	padding: 12px 14px;
	color: var(--ink);
	border-radius: 2px;
}

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

.form-status {
	min-height: 1.4em;
	margin: 12px 0 0;
	font-size: 14px;
}

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

.form-status.is-err {
	color: #9b3b2a;
}

/* Footer */
.site-footer {
	background: var(--navy);
	color: rgba(251, 248, 243, 0.82);
	padding: 56px 0 32px;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 0.8fr;
	gap: 32px;
	padding-bottom: 36px;
	border-bottom: 1px solid rgba(251, 248, 243, 0.12);
}

.footer-name {
	margin: 0 0 10px;
	font-size: 1.8rem;
	color: var(--salt);
}

.footer-links ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-links a {
	display: inline-block;
	padding: 4px 0;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-size: 12px;
	font-weight: 600;
}

.footer-links a:hover,
.footer-contact a:hover,
.to-top:hover {
	color: var(--coral);
}

.footer-legal {
	padding-top: 24px;
	display: grid;
	gap: 10px;
}

.disclaimer {
	font-size: 13px;
	line-height: 1.6;
	max-width: 52rem;
	color: rgba(251, 248, 243, 0.62);
}

.to-top {
	justify-self: start;
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--salt);
}

/* Inner pages */
.page-shell {
	padding: calc(var(--header-h) + 56px) 0 80px;
	background: var(--sand);
	min-height: 70vh;
}

.entry-content {
	max-width: 42rem;
}

.entry-content h2 {
	font-family: var(--font-serif);
	font-size: 1.6rem;
	margin: 28px 0 10px;
	color: var(--navy);
}

.entry-content p {
	margin: 0 0 14px;
}

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

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

@media (max-width: 900px) {
	.about-split,
	.class-row,
	.who-grid,
	.visit-grid,
	.footer-grid,
	.pillar-row {
		grid-template-columns: 1fr;
	}

	.class-row.is-flip .class-photo {
		order: 0;
	}

	.about-photo img {
		aspect-ratio: 4 / 3;
		border-radius: 2px;
	}

	.menu-toggle {
		display: block;
		z-index: 3;
	}

	.site-nav {
		position: fixed;
		inset: 0;
		z-index: 2;
		background: var(--sand);
		display: grid;
		place-items: center;
		transform: translateY(-110%);
		transition: transform 0.4s var(--ease);
	}

	.site-header.menu-open .site-nav {
		transform: none;
	}

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

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

	.hero h1 {
		font-size: clamp(2.6rem, 12vw, 3.6rem);
	}
}

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

	.breathe-mark span,
	.reveal {
		animation: none;
		transition: none;
		opacity: 1;
		transform: none;
	}
}
