/*
Theme Name: PameYoga
Theme URI: https://pameyoga.com
Author: PameYoga
Description: A modern editorial WordPress theme for Pamela's yoga practice in Imperial Valley, California.
Version: 1.8.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: pame-yoga
*/

:root {
	--py-ink: #11100f;
	--py-charcoal: #24211f;
	--py-paper: #f7f4ee;
	--py-warm: #ece6dc;
	--py-white: #fff;
	--py-gold: #b69458;
	--py-muted: #6f6961;
	--py-line: rgba(17, 16, 15, .15);
	--py-serif: "Cormorant Garamond", Georgia, serif;
	--py-sans: "DM Sans", Arial, sans-serif;
	--py-max: 1240px;
	--py-gutter: clamp(20px, 4vw, 64px);
	--py-section: clamp(84px, 11vw, 160px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--py-paper);
	color: var(--py-ink);
	font-family: var(--py-sans);
	font-size: 17px;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea { font: inherit; }
::selection { background: var(--py-gold); color: var(--py-white); }
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0,0,0,0);
	white-space: nowrap;
	border: 0;
}
.skip-link:focus {
	clip: auto;
	width: auto;
	height: auto;
	top: 12px;
	left: 12px;
	z-index: 99999;
	padding: 10px 16px;
	background: var(--py-white);
}
.container {
	width: min(calc(100% - (var(--py-gutter) * 2)), var(--py-max));
	margin-inline: auto;
}
.section { padding: var(--py-section) 0; }
.section--white { background: var(--py-white); }
.section--dark { background: var(--py-ink); color: var(--py-white); }
.section--warm { background: var(--py-warm); }
.eyebrow {
	margin: 0 0 18px;
	color: var(--py-gold);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .2em;
	line-height: 1.3;
	text-transform: uppercase;
}
.display,
h1, h2, h3 {
	margin-top: 0;
	font-family: var(--py-serif);
	font-weight: 500;
	letter-spacing: -.035em;
	line-height: .98;
}
h1 { font-size: clamp(56px, 9.5vw, 144px); }
h2 { font-size: clamp(45px, 6vw, 88px); }
h3 { font-size: clamp(28px, 3vw, 42px); }
p { margin-top: 0; }
.lead {
	color: var(--py-muted);
	font-family: var(--py-serif);
	font-size: clamp(24px, 2.2vw, 34px);
	line-height: 1.35;
}
.section--dark .lead { color: rgba(255,255,255,.72); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 54px;
	padding: 14px 28px;
	border: 1px solid var(--py-ink);
	background: var(--py-ink);
	color: var(--py-white);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .14em;
	line-height: 1.2;
	text-decoration: none;
	text-transform: uppercase;
	transition: background .3s ease, border-color .3s ease, color .3s ease, transform .3s ease;
}
.button:hover, .button:focus-visible {
	background: var(--py-gold);
	border-color: var(--py-gold);
	transform: translateY(-2px);
}
.button--light { background: var(--py-white); border-color: var(--py-white); color: var(--py-ink); }
.button--ghost { background: transparent; color: var(--py-ink); }
.section--dark .button--ghost,
.hero .button--ghost { border-color: rgba(255,255,255,.55); color: var(--py-white); }
.button--ghost:hover { color: var(--py-white); }

/* Header */
.site-header {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1000;
	width: 100%;
	border-bottom: 1px solid rgba(255,255,255,.16);
	color: var(--py-white);
}
.site-header.is-stuck {
	position: fixed;
	background: rgba(17,16,15,.94);
	backdrop-filter: blur(16px);
	animation: header-in .35s ease;
}
@keyframes header-in { from { transform: translateY(-100%); } }
.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 92px;
	gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 13px; color: inherit; text-decoration: none; }
.brand-mark { width: 38px; color: var(--py-gold); }
.brand-name {
	font-family: var(--py-serif);
	font-size: 30px;
	font-style: italic;
	font-weight: 500;
	letter-spacing: -.04em;
}
.custom-logo { width: auto; max-width: 210px; max-height: 64px; }
.primary-nav ul { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 34px); list-style: none; margin: 0; padding: 0; }
.primary-nav a {
	position: relative;
	color: inherit;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .12em;
	text-decoration: none;
	text-transform: uppercase;
}
.primary-nav a::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: -8px;
	left: 0;
	height: 1px;
	background: var(--py-gold);
	transform: scaleX(0);
	transition: transform .25s ease;
}
.primary-nav a:hover::after, .primary-nav .current-menu-item a::after { transform: scaleX(1); }
.nav-book {
	padding: 12px 18px !important;
	border: 1px solid rgba(255,255,255,.5);
}
.nav-book::after { display: none; }
.menu-toggle {
	display: none;
	width: 46px;
	height: 46px;
	padding: 12px;
	border: 0;
	background: transparent;
	color: inherit;
}
.menu-toggle span { display: block; height: 1px; margin: 6px 0; background: currentColor; transition: transform .3s ease, opacity .3s ease; }

/* Hero */
.hero {
	position: relative;
	display: grid;
	min-height: 100svh;
	align-items: end;
	overflow: hidden;
	background: #080808;
	color: var(--py-white);
}
.hero__image { position: absolute; inset: 0; }
.hero__image img { height: 100%; object-fit: cover; object-position: 50% 42%; }
.hero__image::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(0,0,0,.8) 0%, rgba(0,0,0,.25) 55%, rgba(0,0,0,.38) 100%),
		linear-gradient(0deg, rgba(0,0,0,.68) 0%, transparent 50%);
}
.hero__content {
	position: relative;
	z-index: 2;
	max-width: 920px;
	padding-top: 180px;
	padding-bottom: clamp(70px, 10vh, 120px);
}
.hero h1 { max-width: 900px; margin-bottom: 24px; }
.hero__sub { max-width: 610px; color: rgba(255,255,255,.78); font-family: var(--py-serif); font-size: clamp(22px, 2.4vw, 34px); line-height: 1.35; }
.hero__location {
	position: absolute;
	right: var(--py-gutter);
	bottom: 48px;
	z-index: 2;
	margin: 0;
	font-size: 10px;
	letter-spacing: .2em;
	text-transform: uppercase;
	writing-mode: vertical-rl;
}
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; margin-top: 54px; color: rgba(255,255,255,.65); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; }
.scroll-cue::before { content: ""; width: 50px; height: 1px; background: var(--py-gold); }

/* Editorial content */
.split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
	align-items: center;
	gap: clamp(50px, 9vw, 140px);
}
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { min-height: 640px; max-height: 820px; object-fit: cover; }
.split__media::after {
	content: "";
	position: absolute;
	right: -18px;
	bottom: -18px;
	width: 40%;
	height: 40%;
	border-right: 1px solid var(--py-gold);
	border-bottom: 1px solid var(--py-gold);
	pointer-events: none;
}
.split__copy { max-width: 580px; }
.split__copy h2 { margin-bottom: 32px; }
.signature { margin: 30px 0 0; color: var(--py-gold); font-family: var(--py-serif); font-size: 32px; font-style: italic; }
.features {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	margin-top: 70px;
	border-top: 1px solid var(--py-line);
	border-left: 1px solid var(--py-line);
}
.feature {
	min-height: 310px;
	padding: clamp(28px, 3vw, 46px);
	border-right: 1px solid var(--py-line);
	border-bottom: 1px solid var(--py-line);
	transition: background .35s ease, color .35s ease;
}
.feature:hover { background: var(--py-ink); color: var(--py-white); }
.feature__number { color: var(--py-gold); font-size: 11px; letter-spacing: .14em; }
.feature h3 { margin: 72px 0 20px; font-size: 34px; }
.feature p { color: var(--py-muted); font-size: 15px; line-height: 1.7; }
.feature:hover p { color: rgba(255,255,255,.7); }
.ashtanga {
	position: relative;
	min-height: 850px;
	display: grid;
	align-items: end;
	overflow: hidden;
}
.ashtanga__image { position: absolute; inset: 0; }
.ashtanga__image img { height: 100%; object-fit: cover; object-position: 55% 55%; }
.ashtanga__image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.86), rgba(0,0,0,.12)), linear-gradient(0deg, rgba(0,0,0,.7), transparent); }
.ashtanga__content { position: relative; z-index: 2; max-width: 690px; padding-top: 120px; padding-bottom: 110px; }
.ashtanga h2 { margin-bottom: 28px; }
.ashtanga ul { columns: 2; margin: 30px 0 0; padding: 0; list-style: none; }
.ashtanga li { position: relative; margin: 0 0 9px; padding-left: 20px; color: rgba(255,255,255,.75); }
.ashtanga li::before { content: "—"; position: absolute; left: 0; color: var(--py-gold); }
.timeline {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	margin-top: 70px;
	border-top: 1px solid var(--py-line);
}
.timeline__item { position: relative; padding: 45px 30px 0 0; }
.timeline__item::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--py-gold); }
.timeline__item span { color: var(--py-gold); font-size: 11px; letter-spacing: .15em; text-transform: uppercase; }
.timeline__item h3 { margin: 12px 0 10px; font-size: 33px; }
.timeline__item p { max-width: 250px; color: var(--py-muted); font-size: 14px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 64px; }
.card { position: relative; min-height: 610px; overflow: hidden; background: #0c0c0c; color: var(--py-white); }
.card img { position: absolute; inset: 0; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.84), transparent 65%); }
.card:hover img { transform: scale(1.035); }
.card__content { position: absolute; right: 0; bottom: 0; left: 0; z-index: 2; padding: 38px; }
.card__content h3 { margin-bottom: 14px; }
.card__content p { color: rgba(255,255,255,.7); font-size: 15px; }
.card__link { display: inline-block; margin-top: 10px; color: var(--py-gold); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-decoration: none; text-transform: uppercase; }
.quote-banner { position: relative; min-height: 720px; display: grid; place-items: center; overflow: hidden; text-align: center; color: var(--py-white); }
.quote-banner img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: 50% 52%; }
.quote-banner::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.58); }
.quote-banner blockquote { position: relative; z-index: 2; max-width: 950px; margin: 0; padding: var(--py-gutter); font-family: var(--py-serif); font-size: clamp(46px, 7vw, 98px); line-height: 1.05; }
.message-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(50px, 9vw, 150px); align-items: start; }
.message-grid__quote { position: relative; }
.message-grid__quote::before { content: "“"; display: block; height: 70px; color: var(--py-gold); font-family: var(--py-serif); font-size: 130px; line-height: 1; }
.message-grid__quote p { font-family: var(--py-serif); font-size: clamp(24px, 2.2vw, 34px); line-height: 1.45; }
.message-grid__body p { color: var(--py-muted); }
.cta { text-align: center; }
.cta h2 { max-width: 900px; margin-inline: auto; }
.cta p { max-width: 620px; margin-inline: auto; color: var(--py-muted); }

/* Inner pages */
.page-hero {
	position: relative;
	display: grid;
	min-height: 72svh;
	align-items: end;
	overflow: hidden;
	background: var(--py-ink);
	color: var(--py-white);
}
.page-hero__image { position: absolute; inset: 0; }
.page-hero__image img { height: 100%; object-fit: cover; }
.page-hero__image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.82), rgba(0,0,0,.22)), linear-gradient(0deg, rgba(0,0,0,.55), transparent); }
.page-hero__content { position: relative; z-index: 2; max-width: 980px; padding-top: 190px; padding-bottom: 80px; }
.page-hero h1 { margin-bottom: 20px; font-size: clamp(58px, 9vw, 125px); }
.page-hero p { max-width: 650px; color: rgba(255,255,255,.76); font-family: var(--py-serif); font-size: clamp(21px, 2vw, 30px); }
.prose { max-width: 780px; }
.prose h2 { margin: 65px 0 25px; }
.prose p, .prose li { color: var(--py-muted); }
.prose ul { padding-left: 20px; }
.statement { padding: clamp(70px, 10vw, 140px) var(--py-gutter); background: var(--py-ink); color: var(--py-white); text-align: center; }
.statement p { max-width: 1000px; margin: 0 auto; font-family: var(--py-serif); font-size: clamp(38px, 6vw, 82px); line-height: 1.1; }
.benefits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 60px; background: var(--py-line); }
.benefit { padding: clamp(28px, 4vw, 55px); background: var(--py-paper); }
.benefit h3 { margin-bottom: 15px; }
.benefit p { color: var(--py-muted); }
.booking-wrap { padding: var(--py-section) 0; background: var(--py-white); }
.booking-wrap .pame-schedule { max-width: var(--py-max); padding: 0; }
.booking-note { max-width: 40rem; color: var(--py-muted); }
.booking-note a { color: inherit; }
.offer-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.offer { padding: 32px 28px; background: var(--py-white); border: 1px solid var(--py-line); }
.offer__price { margin: 0 0 8px; font-family: var(--py-serif); font-size: 56px; line-height: 1; }
.offer p { color: var(--py-muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 9vw, 140px); }
.contact-list { list-style: none; margin: 45px 0 0; padding: 0; }
.contact-list li { padding: 18px 0; border-bottom: 1px solid var(--py-line); }
.contact-list small { display: block; color: var(--py-gold); font-size: 10px; letter-spacing: .15em; text-transform: uppercase; }
.contact-list a { text-decoration: none; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.contact-form .full { grid-column: 1 / -1; }
.contact-form label { display: block; color: var(--py-muted); font-size: 11px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.contact-form input, .contact-form textarea {
	width: 100%;
	margin-top: 8px;
	padding: 15px 0;
	border: 0;
	border-bottom: 1px solid var(--py-line);
	border-radius: 0;
	background: transparent;
	color: var(--py-ink);
	outline: none;
}
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--py-gold); }
.form-notice { margin-bottom: 25px; padding: 14px 18px; background: var(--py-warm); }

/* Footer */
.site-footer { padding: 85px 0 30px; background: var(--py-ink); color: var(--py-white); }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 50px; padding-bottom: 70px; }
.footer-brand p { max-width: 380px; margin-top: 24px; color: rgba(255,255,255,.58); }
.footer-title { color: var(--py-gold); font-size: 10px; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; }
.footer-links { list-style: none; margin: 22px 0 0; padding: 0; }
.footer-links li { margin: 8px 0; }
.footer-links a { color: rgba(255,255,255,.72); text-decoration: none; }
.footer-links a:hover { color: var(--py-gold); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.13); color: rgba(255,255,255,.42); font-size: 12px; }
.footer-bottom a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* Motion */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
	.reveal { opacity: 1; transform: none; }
}

@media (max-width: 1020px) {
	.primary-nav { display: none; position: fixed; inset: 0; z-index: -1; padding: 120px var(--py-gutter) 40px; background: var(--py-ink); }
	.primary-nav.is-open { display: block; }
	.primary-nav ul { flex-direction: column; align-items: flex-start; gap: 23px; }
	.primary-nav a { font-family: var(--py-serif); font-size: clamp(32px, 6vw, 56px); font-weight: 500; letter-spacing: -.02em; text-transform: none; }
	.nav-book { padding: 0 !important; border: 0; color: var(--py-gold) !important; }
	.menu-toggle { display: block; }
	.menu-open .menu-toggle span:first-child { transform: translateY(7px) rotate(45deg); }
	.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
	.menu-open .menu-toggle span:last-child { transform: translateY(-7px) rotate(-45deg); }
	.features { grid-template-columns: repeat(2, 1fr); }
	.cards { grid-template-columns: 1fr 1fr; }
	.card:last-child { grid-column: 1 / -1; min-height: 520px; }
	.message-grid, .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 740px) {
	body { font-size: 16px; }
	.header-inner { min-height: 76px; }
	.brand-mark { width: 31px; }
	.brand-name { font-size: 26px; }
	.hero__image img { object-position: 51% 50%; }
	.hero__image::after { background: linear-gradient(0deg, rgba(0,0,0,.86), rgba(0,0,0,.08) 80%); }
	.hero__content { padding-top: 160px; padding-bottom: 55px; }
	.hero__location { display: none; }
	.scroll-cue { margin-top: 36px; }
	.split { grid-template-columns: 1fr; gap: 55px; }
	.split--reverse .split__media { order: 0; }
	.split__media img { min-height: 500px; max-height: 680px; }
	.features { grid-template-columns: 1fr; }
	.feature { min-height: 250px; }
	.feature h3 { margin-top: 45px; }
	.ashtanga { min-height: 810px; }
	.ashtanga__image img { object-position: 56% 55%; }
	.ashtanga__image::after { background: linear-gradient(0deg, rgba(0,0,0,.88), rgba(0,0,0,.12)); }
	.ashtanga__content { padding-top: 300px; padding-bottom: 70px; }
	.ashtanga ul { columns: 1; }
	.timeline { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--py-line); margin-left: 5px; }
	.timeline__item { padding: 0 0 42px 32px; }
	.timeline__item::before { top: 8px; left: -5px; }
	.cards { grid-template-columns: 1fr; }
	.card, .card:last-child { grid-column: auto; min-height: 530px; }
	.quote-banner { min-height: 620px; }
	.quote-banner img { object-position: 52% 50%; }
	.message-grid { gap: 20px; }
	.benefits, .offer-row { grid-template-columns: 1fr; }
	.contact-form { grid-template-columns: 1fr; }
	.contact-form .full { grid-column: auto; }
	.footer-grid { grid-template-columns: 1fr; }
	.footer-bottom { flex-direction: column; }
}
