/*
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.1.6
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-gold-dark: #8a6a35; /* 1.1.6: white text on it is 5.0:1 */
	--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-dark); 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);
	color: var(--py-ink); /* dark on gold: 6.7:1 (white on gold was 2.85:1) */
	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,
.button--ghost:focus-visible,
.section--dark .button--ghost:hover,
.section--dark .button--ghost:focus-visible,
.hero .button--ghost:hover,
.hero .button--ghost:focus-visible { color: var(--py-ink); }

/* 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; flex-shrink: 0; 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; flex-wrap: nowrap; gap: clamp(12px, 1.2vw, 22px); list-style: none; margin: 0; padding: 0; }
.primary-nav a {
	position: relative;
	color: inherit;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .12em;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
}
.primary-nav li { flex-shrink: 0; }
.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); }
.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--ink { background: var(--py-ink); color: var(--py-paper); }
.booking-wrap--ink .pame-schedule,
.booking-wrap--ink .pame-schedule__title,
.booking-wrap--ink .pame-checkout label,
.booking-wrap--ink .pame-travel legend { color: var(--py-paper); }
.booking-wrap--ink .pame-schedule__lede,
.booking-wrap--ink .pame-private__thanks { color: rgba(247, 244, 238, .78); }
.booking-wrap--ink .pame-checkout input,
.booking-wrap--ink .pame-checkout select,
.booking-wrap--ink .pame-checkout textarea {
	background: var(--py-paper);
	color: var(--py-ink);
	border-color: rgba(182, 148, 88, .55);
}
.booking-wrap--ink .pame-checkout input:focus,
.booking-wrap--ink .pame-checkout select:focus,
.booking-wrap--ink .pame-checkout textarea:focus { border-color: var(--py-gold); }
.booking-wrap--ink .pame-travel__option {
	background: #1a1917;
	border-color: rgba(182, 148, 88, .45);
	color: var(--py-paper);
}
.booking-wrap--ink .pame-travel__option:has(input:checked) {
	background: var(--py-charcoal);
	border-color: var(--py-gold);
}
.booking-wrap--ink .pame-btn { background: var(--py-gold); color: var(--py-ink) !important; }
.booking-wrap--ink .pame-btn:hover,
.booking-wrap--ink .pame-btn:focus { background: var(--py-paper); color: var(--py-ink) !important; }

.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); }

/* What happens in class */
.class-flow__lead { max-width: 38rem; }
.class-flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 56px 0 0; padding: 0; list-style: none; }
.class-flow__step { padding: 34px 30px 30px; background: var(--py-white); border-top: 2px solid var(--py-gold); }
.class-flow__num { display: block; margin-bottom: 18px; color: var(--py-gold); font-family: var(--py-serif); font-size: 40px; line-height: 1; }
.class-flow__step h3 { margin: 0 0 10px; }
.class-flow__step p { margin: 0; color: var(--py-muted); }
.class-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 40px 0 0; padding: 0; list-style: none; }
.class-facts li { padding-top: 14px; border-top: 1px solid var(--py-line); font-size: 15px; line-height: 1.55; }
.class-facts small { display: block; margin-bottom: 4px; color: var(--py-gold); font-size: 10px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
@media (max-width: 1020px) { .class-facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 740px) { .class-flow, .class-facts { grid-template-columns: 1fr; } .class-flow { margin-top: 36px; gap: 14px; } }

/* 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); }
/* 1.1.6: clear keyboard focus on the contact form and booking forms. */
.contact-form input:focus-visible, .contact-form select:focus-visible, .contact-form textarea:focus-visible, .contact-form button:focus-visible { outline: 2px solid var(--py-gold-dark); outline-offset: 2px; }
.booking-wrap--ink { --pame-focus: var(--py-gold); }
.contact-form .form-privacy { margin: 0; color: var(--py-muted); font-size: 13px; line-height: 1.6; }
.contact-form .form-privacy a { color: inherit; text-decoration: underline; }
.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; flex-wrap: wrap; justify-content: flex-start; column-gap: 28px; row-gap: 8px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.13); color: rgba(255,255,255,.64); font-size: 12px; }
.footer-bottom a { color: inherit; text-decoration: none; transition: color .2s ease; }
.footer-bottom a:hover, .footer-bottom a:focus-visible { color: var(--py-gold); }

/* 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; }
/* Full-bleed photos drift very slowly. Parents are overflow: hidden. */
@keyframes py-drift {
	from { transform: scale(1); }
	to { transform: scale(1.06); }
}
.hero__image img,
.page-hero__image img,
.quote-banner img {
	animation: py-drift 32s ease-in-out infinite alternate;
}
.split__media img.pame-photo,
.card img.pame-photo {
	opacity: 0;
	transition: opacity 1.1s ease, transform 1.4s cubic-bezier(.2,.7,.2,1);
}
.split__media img.pame-photo { transform: translateY(14px); }
.split__media img.pame-photo.is-in,
.card img.pame-photo.is-in { opacity: 1; transform: none; }
.card img.pame-photo.is-in { transition: opacity 1.1s ease, transform 1s cubic-bezier(.2,.7,.2,1); }
.card:hover img.pame-photo.is-in { transform: scale(1.035); }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.reveal, .split__media img.pame-photo, .card img.pame-photo { opacity: 1; transform: none; }
	.hero__image img,
	.page-hero__image img,
	.quote-banner img { animation: none; }
}

@media (max-width: 1280px) {
	/* Inline labels no longer fit beside the logo. Use the full-screen menu. */
	.primary-nav {
		display: none;
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		width: 100%;
		height: 100vh;
		height: 100dvh;
		z-index: -1;
		overflow-y: auto;
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
		padding: calc(104px + env(safe-area-inset-top, 0px)) var(--py-gutter) calc(40px + env(safe-area-inset-bottom, 0px));
		background: var(--py-ink);
	}
	.primary-nav.is-open { display: block; animation: nav-in .28s ease; }
	@keyframes nav-in { from { opacity: 0; } }
	/* A blurred or animated header traps a fixed child inside it (iPhone Safari and Chrome), so switch those off while the menu is open. */
	.menu-open .site-header {
		position: fixed;
		background: var(--py-ink);
		border-bottom-color: rgba(255,255,255,.12);
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
		animation: none;
		transform: none;
	}
	.primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; max-width: 560px; }
	.primary-nav li { border-bottom: 1px solid rgba(255,255,255,.12); }
	.primary-nav li:first-child { border-top: 1px solid rgba(255,255,255,.12); }
	.primary-nav a {
		display: block;
		padding: 15px 0;
		font-family: var(--py-serif);
		font-size: clamp(30px, 8.5vw, 44px);
		font-weight: 500;
		line-height: 1.1;
		letter-spacing: -.01em;
		text-transform: none;
		white-space: normal;
	}
	.primary-nav a::after { display: none; }
	.primary-nav .current-menu-item > a { color: var(--py-gold); }
	.primary-nav li.menu-item-book { margin-top: 30px; border: 0; }
	.primary-nav .nav-book {
		padding: 19px 20px !important;
		border: 1px solid var(--py-gold);
		background: var(--py-gold);
		color: var(--py-ink) !important;
		font-family: var(--py-sans);
		font-size: 12px;
		font-weight: 600;
		letter-spacing: .18em;
		text-align: center;
		text-transform: uppercase;
	}
	.menu-toggle { display: block; position: relative; }
	/* Three bars; the third <span> is the screen-reader label, so target bars by position. */
	.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
	.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 1020px) {
	.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; }
	.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; }
}

/* EN | ES */
.header-lang { display: flex; gap: 2px; margin-left: auto; margin-right: 12px; }
.header-lang a { padding: 8px 6px; color: rgba(255, 255, 255, .62); font-family: var(--py-sans); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-decoration: none; }
.header-lang a.is-current { color: #fff; box-shadow: inset 0 -1px 0 var(--py-gold); }
.header-lang a:focus-visible { outline: 1px solid var(--py-gold); }
@media (min-width: 1281px) {
	.header-lang { order: 5; margin: 0 0 0 22px; }
}
.lang-suggest { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 900; display: flex; align-items: center; gap: 12px; max-width: 460px; margin: 0 auto; padding: 12px 12px 12px 18px; background: var(--py-ink); color: #fff; font-family: var(--py-sans); font-size: 15px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.lang-suggest a { margin-left: auto; padding: 10px 14px; background: var(--py-gold); color: var(--py-ink); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.lang-suggest button { width: 36px; height: 36px; border: 0; background: none; color: #fff; font-size: 22px; cursor: pointer; }

/* Pages without the dark photo at the top: a solid header, and room for it. */
body.header-solid .site-header { background: var(--py-ink); }
body.header-solid .pame-yoga-confirm-page { padding-top: 130px; }
@media (max-width: 1020px) { body.header-solid .pame-yoga-confirm-page { padding-top: 112px; } }
@media print { body.header-solid .pame-yoga-confirm-page { padding-top: 0; } }

.footer-bottom span:last-child { margin-left: auto; }
@media (max-width: 1020px) { .footer-bottom span:last-child { margin-left: 0; } }

/* Readable text colors (WCAG AA, 4.5:1): a darker gold for small gold text on light backgrounds,
   and a slightly darker muted grey. The bright gold stays on dark sections, where it already passes. */
:root { --py-gold-text: #7a5c2d; --py-muted: #665f57; }
.eyebrow, .feature__number, .timeline__item span, .card__link, .class-flow__num, .class-facts small, .contact-list small, .signature { color: var(--py-gold-text); }
.section--dark .eyebrow, .section--dark .feature__number, .section--dark .timeline__item span, .section--dark .card__link, .section--dark .class-flow__num, .section--dark .class-facts small, .section--dark .contact-list small, .section--dark .signature,
.hero .eyebrow, .page-hero .eyebrow, .site-footer .eyebrow { color: var(--py-gold); }

/* Footer: no underlines anywhere (modern look); color change on hover/focus. */
.site-footer a, .site-footer a:visited { text-decoration: none !important; }
.site-footer a:focus-visible { outline: 1px solid var(--py-gold); outline-offset: 3px; }

/* 1.1.0 — homepage photography: hero Ken Burns, Meet your trainer, photo strip */
.hero__image { overflow: hidden; }
.hero__image picture { display: block; height: 100%; }
.hero__image img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 45%; transform-origin: 60% 45%; animation: pame-kenburns 18s ease-in-out infinite alternate; will-change: transform; }
@keyframes pame-kenburns { from { transform: scale(1); } to { transform: scale(1.12); } }
.hero__image::after { background: linear-gradient(90deg, rgba(17,16,15,.85) 0%, rgba(17,16,15,.45) 55%, rgba(17,16,15,.15)), linear-gradient(0deg, rgba(17,16,15,.7), transparent 45%); }
@media (min-width: 900px) {
	.hero { background: var(--py-ink); }
	.hero__image { left: auto; right: 0; width: 54%; }
	.hero__image img { object-position: 50% 45%; }
	.hero__image::after { background: linear-gradient(90deg, var(--py-ink) 0%, rgba(17,16,15,.55) 22%, rgba(17,16,15,.1) 55%), linear-gradient(0deg, rgba(17,16,15,.65), transparent 45%); }
	.hero h1 { max-width: 560px; font-size: clamp(64px, 6.7vw, 96px); }
	.hero__sub { max-width: 480px; font-size: clamp(22px, 2vw, 28px); }
}
.split__media picture { display: block; }
.split__media picture img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 70%; }
.photo-strip { background: var(--py-ink); color: var(--py-paper); }
.photo-strip h2 { color: var(--py-paper); margin-bottom: 40px; }
.photo-strip .eyebrow { color: #b69458; }
.photo-strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.photo-strip__item { margin: 0; overflow: hidden; border-radius: 4px; border-top: 2px solid #b69458; }
.photo-strip__item img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; transition: transform 1.2s ease; }
.photo-strip__item:hover img { transform: scale(1.04); }
@media (max-width: 760px) { .photo-strip__grid { grid-template-columns: 1fr 1fr; gap: 10px; } }
@media (prefers-reduced-motion: reduce) {
	.hero__image img { animation: none; transform: none; }
	.photo-strip__item img { transition: none; }
	.photo-strip__item:hover img { transform: none; }
}

/* ai-look-20261203 */
.hero .eyebrow, .split__copy .eyebrow { text-transform: none; letter-spacing: .02em; font-size: 16px; font-weight: 500; }
.hero__location { text-transform: none; letter-spacing: .06em; font-size: 13px; }
.scroll-cue { text-transform: none; letter-spacing: .04em; font-size: 14px; color: rgba(255,255,255,.88); }
.split__media::after { content: none; }
