/*
Theme Name: Hannah Maher
Theme URI: https://joebunting.com/websites/
Author: Joe Bunting
Description: Hannah Maher (High Rise Yoga), hannahmaher.com. Built from the starter theme with design D, the mix (clients/highriseyoga/design.md).
Version: 0.2.10
Requires at least: 6.5
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: highriseyoga
*/

/* ==========================================================================
   1. Tokens
   One color scheme, on :root.
   ========================================================================== */

:root {
	/* One scheme (no dark mode): Shoreline's ivory and sand, sage for anything
	   you can press (design.md). */
	--ground: #f7f2ea;
	--surface: #fcf9f4;
	--surface-sunk: #ece3d4;

	--ink: #2a2f27;
	--ink-soft: #4d5348;
	--ink-faint: #5f6357;
	--ink-invert: #f7f2ea;

	--accent: #4f6447;
	--accent-hover: #3d4f37;
	--accent-quiet: #e3e6da;
	--signup-band: #ece3d4;
	--on-accent: #fcf9f4;

	--rule: #dbd1c1;
	--focus: #2a2f27;

	/* Type: one family, two weights. */
	--sans: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
	--serif: var(--sans);

	/* Scale. Fluid, mobile-first. */
	--step--1: clamp(0.83rem, 0.81rem + 0.11vw, 0.89rem);
	--step-0: clamp(1.05rem, 1.01rem + 0.2vw, 1.19rem);
	--step-1: clamp(1.27rem, 1.19rem + 0.38vw, 1.5rem);
	--step-2: clamp(1.52rem, 1.38rem + 0.68vw, 2rem);
	--step-3: clamp(1.83rem, 1.58rem + 1.19vw, 2.66rem);
	--step-4: clamp(2.19rem, 1.78rem + 1.99vw, 3.55rem);

	/* Space */
	--gap: 1.25rem;
	--band: clamp(3rem, 2rem + 5vw, 5.5rem);
	--measure: 34rem;
	--wide: 74rem;
	--radius: 4px;
}

/* ==========================================================================
   2. Base
   ========================================================================== */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

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

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

body {
	margin: 0;
	background: var(--ground);
	color: var(--ink);
	font-family: var(--serif);
	font-size: var(--step-0);
	line-height: 1.6;
	font-synthesis-weight: none;
	text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
	font-family: var(--serif);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.012em;
	margin: 0 0 0.6em;
	text-wrap: balance;
}

h1 {
	font-size: var(--step-4);
}

h2 {
	font-size: var(--step-3);
}

h3 {
	font-size: var(--step-1);
}

p {
	margin: 0 0 1.1em;
	text-wrap: pretty;
}

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
	text-decoration-color: var(--accent);
}

a:hover {
	color: var(--accent);
}

:focus-visible {
	outline: 2px solid var(--focus);
	outline-offset: 3px;
}

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

figure {
	margin: 0;
}

blockquote {
	margin: 0;
}

ul,
ol {
	padding-left: 1.1em;
}

li {
	margin-bottom: 0.4em;
}

hr {
	border: 0;
	border-top: 1px solid var(--rule);
	margin: var(--band) 0;
}

::selection {
	background: var(--accent-quiet);
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--surface);
	color: var(--ink);
	padding: 0.75rem 1rem;
	z-index: 100;
}

.skip-link:focus {
	left: 1rem;
	top: 1rem;
}

/* ==========================================================================
   3. Layout
   ========================================================================== */

.wrap {
	width: min(100% - 2rem, var(--wide));
	margin-inline: auto;
}

.wrap--narrow {
	width: min(100% - 2rem, 46rem);
	margin-inline: auto;
}

.band {
	padding-block: var(--band);
}

.band--sunk {
	background: var(--surface-sunk);
}

.band--surface {
	background: var(--surface);
}

.measure {
	max-width: var(--measure);
}

.lede {
	font-size: var(--step-1);
	line-height: 1.5;
	color: var(--ink-soft);
}

.eyebrow {
	font-family: var(--sans);
	font-size: var(--step--1);
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ink-faint);
	margin: 0 0 0.9rem;
}

.section-title {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin-bottom: 2rem;
}

.section-title h2 {
	margin: 0;
}

.section-title--spaced {
	margin-top: 3rem;
}

.section-title::after {
	content: "";
	width: 2.5rem;
	height: 2px;
	background: var(--accent);
}

/* ==========================================================================
   4. Header & navigation
   ========================================================================== */

.site-header {
	border-bottom: 1px solid var(--rule);
	background: var(--ground);
}

.site-header__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.75rem 1.5rem;
	padding-block: 1.1rem;
}

.site-title {
	font-family: var(--serif);
	font-size: var(--step-1);
	font-weight: 600;
	letter-spacing: -0.01em;
	margin: 0;
}

.site-title a {
	text-decoration: none;
}

.site-title__role {
	display: block;
	font-family: var(--sans);
	font-size: var(--step--1);
	font-weight: 500;
	letter-spacing: 0.04em;
	color: var(--ink-faint);
}

.nav {
	font-family: var(--sans);
	font-size: var(--step--1);
	letter-spacing: 0.02em;
}

.nav ul {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 1.4rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav a {
	text-decoration: none;
	color: var(--ink-soft);
	padding-block: 0.3rem;
	border-bottom: 2px solid transparent;
}

.nav a:hover,
.nav .current-menu-item > a {
	color: var(--ink);
	border-bottom-color: var(--accent);
}

.nav .nav-cta > a {
	background: var(--accent);
	color: var(--on-accent);
	border: 0;
	border-radius: var(--radius);
	padding: 0.5rem 0.9rem;
	font-weight: 600;
}

.nav .nav-cta > a:hover {
	background: var(--accent-hover);
	color: var(--on-accent);
}

/* Mobile menu. assets/js/nav.js adds .has-menu-toggle and reveals the button;
   without it the links above simply wrap. Wide screens never show the
   button. */
.menu-toggle {
	display: none;
}

@media (max-width: 44em) {
	.has-menu-toggle .site-header__inner {
		align-items: center;
	}

	.has-menu-toggle .menu-toggle {
		display: inline-flex;
		align-items: center;
		gap: 0.6rem;
		min-height: 2.75rem;
		padding: 0 0.6rem;
		margin-right: -0.6rem;
		border: 0;
		background: none;
		font-family: var(--sans);
		font-size: var(--step--1);
		font-weight: 600;
		letter-spacing: 0.02em;
		color: var(--ink);
		cursor: pointer;
	}

	/* Three bars that turn into an X while the menu is open. */
	.menu-toggle__icon,
	.menu-toggle__icon::before,
	.menu-toggle__icon::after {
		display: block;
		width: 1.125rem;
		height: 2px;
		border-radius: 1px;
		background: currentColor;
		transition: transform 0.2s ease, background-color 0.2s ease;
	}

	.menu-toggle__icon {
		position: relative;
	}

	.menu-toggle__icon::before,
	.menu-toggle__icon::after {
		content: "";
		position: absolute;
		left: 0;
	}

	.menu-toggle__icon::before { top: -6px; }
	.menu-toggle__icon::after { top: 6px; }

	.is-menu-open .menu-toggle__icon { background-color: transparent; }
	.is-menu-open .menu-toggle__icon::before { transform: translateY(6px) rotate(45deg); }
	.is-menu-open .menu-toggle__icon::after { transform: translateY(-6px) rotate(-45deg); }

	.has-menu-toggle .nav {
		display: none;
		flex-basis: 100%;
		font-size: var(--step-0);
	}

	.has-menu-toggle.is-menu-open .nav {
		display: block;
	}

	.has-menu-toggle .nav ul {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	/* Set like a short table of contents: the display serif, space between
	   the links and no rules. */
	.has-menu-toggle .nav ul {
		padding-block: 0.5rem 1.25rem;
	}

	.has-menu-toggle .nav a {
		display: block;
		padding-block: 0.4rem;
		border-bottom: 0;
		font-family: var(--serif);
		font-size: var(--step-2);
		font-weight: 500;
		letter-spacing: -0.01em;
		color: var(--ink);
	}

	/* The menu's call to action stays a button, set apart below the links. */
	.has-menu-toggle .nav .nav-cta > a {
		margin-top: 1rem;
		padding: 0.75rem 1rem;
		font-family: var(--sans);
		font-size: var(--step-0);
		letter-spacing: 0;
		color: var(--on-accent);
		text-align: center;
	}
}

/* ==========================================================================
   5. Buttons
   The editor's Button block gets the same look: the default style is the
   solid button, the Outline style is the quiet one.
   ========================================================================== */

.button,
.wp-block-button .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--sans);
	font-size: var(--step--1);
	font-weight: 600;
	letter-spacing: 0.02em;
	text-decoration: none;
	padding: 0.8rem 1.3rem;
	border-radius: var(--radius);
	border: 1px solid var(--accent);
	background: var(--accent);
	color: var(--on-accent);
	cursor: pointer;
	transition: background-color 120ms ease, border-color 120ms ease;
}

.button:hover,
.wp-block-button .wp-block-button__link:hover {
	background: var(--accent-hover);
	border-color: var(--accent-hover);
	color: var(--on-accent);
}

.button--quiet,
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	color: var(--ink);
	border-color: var(--rule);
}

.button--quiet:hover,
.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: transparent;
	color: var(--accent);
	border-color: var(--accent);
}

.actions,
.wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.75rem;
}

/* ==========================================================================
   6. Hero
   ========================================================================== */

.hero {
	padding-block: clamp(2.5rem, 1.5rem + 5vw, 5rem) var(--band);
}

.hero__inner {
	display: grid;
	gap: clamp(1.75rem, 1rem + 4vw, 3.5rem);
}

@media (min-width: 52em) {
	.hero__inner {
		grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
		align-items: center;
	}
}

.hero h1 {
	margin-bottom: 0.35em;
}

.hero__line {
	font-size: var(--step-1);
	line-height: 1.45;
	color: var(--ink-soft);
	max-width: 30ch;
}

.hero__portrait {
	position: relative;
}

.hero__portrait .wp-block-image {
	margin: 0;
}

.hero__portrait img {
	width: 100%;
	border-radius: var(--radius);
	background: var(--surface-sunk);
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

.portrait-placeholder {
	display: grid;
	place-items: center;
	aspect-ratio: 4 / 5;
	border: 1px dashed var(--rule);
	border-radius: var(--radius);
	background: var(--surface-sunk);
	color: var(--ink-faint);
	font-family: var(--sans);
	font-size: var(--step--1);
	text-align: center;
	padding: 1.5rem;
}

/* Where I've spoken: names set in type, one quiet row under the hero. */
.spoken {
	border-top: 1px solid var(--rule);
	padding-block: 1.75rem 2.25rem;
}

.spoken .eyebrow {
	margin-bottom: 0.75rem;
}

.spoken__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 2.25rem;
	font-family: var(--serif);
	font-size: var(--step-1);
	font-weight: 600;
	line-height: 1.3;
	color: var(--ink-soft);
}

.spoken__list li {
	margin: 0;
}

/* ==========================================================================
   7. Figures (the proof strip)
   ========================================================================== */

.figures {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem 1rem;
	border-top: 1px solid var(--rule);
	padding-top: 1.75rem;
	margin-top: 2.25rem;
}

@media (min-width: 46em) {
	.figures {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.figure__value {
	display: block;
	margin: 0;
	font-family: var(--serif);
	font-size: var(--step-2);
	font-weight: 600;
	line-height: 1.1;
	color: var(--accent);
}

.figure__label {
	display: block;
	margin-bottom: 0;
	font-family: var(--sans);
	font-size: var(--step--1);
	line-height: 1.4;
	color: var(--ink-faint);
	margin-top: 0.35rem;
}

/* ==========================================================================
   8. Cards & grids
   ========================================================================== */

.grid {
	display: grid;
	gap: 1.5rem;
}

@media (min-width: 42em) {
	.grid--2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.grid--3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.card {
	background: var(--surface);
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	padding: 1.5rem;
}

.card h3 {
	margin-bottom: 0.5rem;
}

.card p:last-child {
	margin-bottom: 0;
}

.card__meta {
	font-family: var(--sans);
	font-size: var(--step--1);
	color: var(--ink-faint);
}

/* Topics get a number, which is the only ornament in the theme. */
.topic {
	counter-increment: topic;
	position: relative;
	padding-top: 2.25rem;
}

.topic::before {
	content: counter(topic, decimal-leading-zero);
	position: absolute;
	top: 1.25rem;
	font-family: var(--sans);
	font-size: var(--step--1);
	font-weight: 600;
	letter-spacing: 0.1em;
	color: var(--accent);
}

.topics {
	counter-reset: topic;
	margin-top: 2.5rem;
}

/* ==========================================================================
   9. Quotes
   ========================================================================== */

.quote {
	border-left: 2px solid var(--accent);
	padding-left: 1.25rem;
	font-size: var(--step-1);
	line-height: 1.45;
}

.quote p {
	margin-bottom: 0.6em;
}

.quote cite {
	display: block;
	font-family: var(--sans);
	font-size: var(--step--1);
	font-style: normal;
	color: var(--ink-faint);
}

.pull {
	font-size: var(--step-2);
	line-height: 1.25;
	max-width: 22ch;
	margin: 0;
}

/* ==========================================================================
   10. Lists: events, press, endorsements
   ========================================================================== */

.entries {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.entries > li {
	margin: 0;
	font-family: var(--sans);
	font-size: var(--step--1);
	color: var(--ink-faint);
}

/* The bold part of a list item is its title; the rest is the meta line. */
.entries strong {
	display: block;
	font-family: var(--serif);
	font-size: var(--step-1);
	font-weight: 600;
	line-height: 1.3;
	color: var(--ink);
	margin: 0 0 0.25rem;
}

.entries strong a {
	color: var(--ink);
	text-decoration: none;
}

.entries strong a:hover {
	color: var(--accent);
	text-decoration: underline;
}

/* Press photographs: image, then a title and download links beneath it. */
.photos {
	margin-block: 1.75rem 2.25rem;
}

.photos .wp-block-image {
	margin: 0;
}

/* One ratio across the row so the captions share a baseline. The download
   links always point at the uncropped file. */
.photos .wp-block-image img {
	width: 100%;
	max-width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	object-position: center;
	display: block;
}

.photo__meta {
	font-family: var(--sans);
	font-size: var(--step--1);
	color: var(--ink-faint);
	margin: 0.6rem 0 0;
}

.photo__meta strong {
	display: block;
	font-weight: 600;
	color: var(--ink);
	margin-bottom: 0.15rem;
}

.meta {
	font-family: var(--sans);
	font-size: var(--step--1);
	color: var(--ink-faint);
	margin: 0;
}

.names {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 1.25rem;
}

@media (min-width: 42em) {
	.names {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.names--stack {
	grid-template-columns: minmax(0, 1fr);
}

.names li {
	margin: 0;
	font-family: var(--sans);
	font-size: var(--step--1);
	color: var(--ink-faint);
}

.names strong {
	display: block;
	font-family: var(--serif);
	font-size: var(--step-0);
	font-weight: 600;
	color: var(--ink);
}

/* ==========================================================================
   11. Forms
   ========================================================================== */

.form {
	display: grid;
	gap: 1rem;
	max-width: 36rem;
}

.form label {
	display: block;
	font-family: var(--sans);
	font-size: var(--step--1);
	font-weight: 600;
	margin-bottom: 0.35rem;
}

.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form textarea,
.form select {
	width: 100%;
	font-family: var(--sans);
	font-size: var(--step-0);
	color: var(--ink);
	background: var(--surface);
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	padding: 0.7rem 0.8rem;
}

.form textarea {
	min-height: 9rem;
	resize: vertical;
}

.form__row {
	display: grid;
	gap: 1rem;
}

@media (min-width: 36em) {
	.form__row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.form__optional {
	font-weight: 400;
	color: var(--ink-faint);
}

.form select {
	appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, var(--ink-faint) 50%), linear-gradient(135deg, var(--ink-faint) 50%, transparent 50%);
	background-position: calc(100% - 1.1rem) 50%, calc(100% - 0.75rem) 50%;
	background-size: 0.35rem 0.35rem;
	background-repeat: no-repeat;
	padding-right: 2rem;
}

.form__hp {
	position: absolute;
	left: -9999px;
}

.form__note {
	font-family: var(--sans);
	font-size: var(--step--1);
	color: var(--ink-faint);
}

.notice {
	border-left: 2px solid var(--accent);
	background: var(--accent-quiet);
	padding: 1rem 1.25rem;
	margin-bottom: 1.5rem;
	font-family: var(--sans);
	font-size: var(--step--1);
}

/* Site Basics' contact form ([contact_form]). */
.joes-contact {
	display: grid;
	gap: 1.1rem;
	max-width: 36rem;
	margin-top: 1.5rem;
}

.joes-contact__field {
	margin: 0;
}

.joes-contact label {
	display: block;
	font-family: var(--sans);
	font-size: var(--step--1);
	font-weight: 600;
	color: var(--ink);
	margin-bottom: 0.35rem;
}

.joes-contact input,
.joes-contact textarea {
	width: 100%;
	font-family: var(--sans);
	font-size: var(--step-0);
	color: var(--ink);
	background: var(--surface);
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	padding: 0.7rem 0.8rem;
}

.joes-contact textarea {
	min-height: 10rem;
	resize: vertical;
}

.joes-contact input:focus,
.joes-contact textarea:focus {
	outline: 2px solid var(--accent);
	outline-offset: 1px;
}

.joes-contact__actions {
	margin: 0;
}

.joes-contact button {
	font-family: var(--sans);
	font-size: var(--step--1);
	font-weight: 600;
	padding: 0.8rem 1.4rem;
	border: 1px solid var(--accent);
	border-radius: var(--radius);
	background: var(--accent);
	color: var(--on-accent);
	cursor: pointer;
}

.joes-contact button:hover {
	background: var(--accent-hover);
	border-color: var(--accent-hover);
}

.joes-contact__status {
	margin: 0;
	color: var(--ink-soft);
}

/* ==========================================================================
   12. Entry content (pages and posts from the editor)
   ========================================================================== */

.entry {
	max-width: 40rem;
}

.entry h2 {
	font-size: var(--step-2);
	margin-top: 1.8em;
}

.entry h3 {
	margin-top: 1.6em;
}

.entry img {
	border-radius: var(--radius);
	margin-block: 1.5rem;
}

.entry .wp-block-quote {
	border-left: 2px solid var(--accent);
	padding-left: 1.25rem;
	font-size: var(--step-1);
}

.entry-meta {
	font-family: var(--sans);
	font-size: var(--step--1);
	color: var(--ink-faint);
	margin-bottom: 1.5rem;
}

.page-header {
	padding-block: clamp(2.5rem, 1.5rem + 4vw, 4rem) 0;
}

.page-header h1 {
	margin-bottom: 0.3em;
}

/* ==========================================================================
   13. Call to action band
   ========================================================================== */

.cta {
	background: var(--surface-sunk);
	border-top: 1px solid var(--rule);
	border-bottom: 1px solid var(--rule);
}

.cta__inner {
	display: grid;
	gap: 1.5rem;
	align-items: center;
}

@media (min-width: 46em) {
	.cta__inner {
		grid-template-columns: minmax(0, 1fr) auto;
	}
}

.cta h2 {
	margin: 0;
	font-size: var(--step-2);
}

.cta p {
	margin: 0.5rem 0 0;
	color: var(--ink-soft);
}

.cta .actions,
.cta .wp-block-buttons {
	margin-top: 0;
}

/* ==========================================================================
   14. Footer
   ========================================================================== */

.site-footer {
	padding-block: var(--band) 2.5rem;
	font-family: var(--sans);
	font-size: var(--step--1);
	color: var(--ink-faint);
}

.site-footer__inner {
	display: grid;
	gap: 2rem;
}

@media (min-width: 46em) {
	.site-footer__inner {
		grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
	}
}

.site-footer h2 {
	font-family: var(--sans);
	font-size: var(--step--1);
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ink-faint);
	margin-bottom: 0.9rem;
}

.site-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.5rem;
}

.site-footer a {
	text-decoration: none;
	color: var(--ink-soft);
}

.site-footer a:hover {
	color: var(--accent);
}

.site-footer__legal {
	margin-top: 2.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--rule);
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
	justify-content: space-between;
}

/* The Story Cartel credit sits on the right, beside the theme switch (stacked on phones). */
@media (min-width: 46em) {
	.site-footer .site-footer__credit {
		margin-left: auto;
	}
}

.site-footer p {
	margin: 0 0 0.6em;
}

/* ==========================================================================
   15. Theme toggle
   ========================================================================== */

.theme-toggle {
	font-family: var(--sans);
	font-size: var(--step--1);
	background: none;
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	color: var(--ink-soft);
	padding: 0.35rem 0.7rem;
	cursor: pointer;
}

.theme-toggle:hover {
	color: var(--accent);
	border-color: var(--accent);
}

/* ==========================================================================
   16. Print. The press kit is meant to survive a printer.
   ========================================================================== */

@media print {
	.site-header,
	.site-footer,
	.cta,
	.theme-toggle,
	.actions,
	.wp-block-buttons {
		display: none !important;
	}

	body {
		background: #fff;
		color: #000;
		font-size: 11pt;
	}

	.band {
		padding-block: 1rem;
		break-inside: avoid;
	}
}

/* ==========================================================================
   Email signup (Joe's Popups templates in popups/, highriseyoga_signup_form())
   ========================================================================== */

.signup__title {
	font-size: var(--step-2);
	line-height: 1.15;
	margin: 0 0 0.6rem;
}

.signup__why {
	margin: 0 0 1.1rem;
}

.signup__form {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
}

.signup__form input {
	flex: 1 1 12rem;
	min-width: 0;
	font-family: var(--sans);
	font-size: var(--step-0);
	color: var(--ink);
	background: var(--surface);
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	padding: 0.7rem 0.8rem;
}

.signup__form .button {
	flex: 1 1 100%;
	justify-content: center;
}

.signup__error {
	flex-basis: 100%;
	margin: 0;
	color: var(--accent);
	font-size: var(--step--1);
}

.signup__done {
	margin: 0;
}

/* On the home page the signup is a full-width band after the section named in HIGHRISEYOGA_SIGNUP_AFTER
   (moved there by highriseyoga_signup_move()): words left, form right. */
.jp.jp--inline {
	width: auto;
	max-width: none;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	max-height: none;
	overflow: visible;
	background: var(--signup-band);
	color: var(--ink);
}

.jp--inline .jp__body {
	width: min(100% - 2rem, var(--wide));
	margin-inline: auto;
	padding: 2.6rem 0;
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	column-gap: 2.5rem;
	align-items: center;
}

.jp--inline .signup__title,
.jp--inline .signup__why {
	grid-column: 1;
}

.jp--inline .signup__why {
	margin: 0;
}

.jp--inline .signup__form,
.jp--inline .signup__done {
	grid-column: 2;
	grid-row: 1 / span 2;
}

@media (max-width: 800px) {
	.jp--inline .jp__body {
		grid-template-columns: 1fr;
		row-gap: 1rem;
	}
	.jp--inline .signup__form,
	.jp--inline .signup__done {
		grid-column: 1;
		grid-row: auto;
	}
}

/* ==========================================================================
   The blog (home.php, archive.php, single.php, comments.php)
   Optional per site; the templates ship either way. Posts are spaced apart,
   never divided by rules.
   ========================================================================== */

/* On a post, its blog's menu item is the current one. */
.nav .current_page_parent > a {
	color: var(--accent);
}

.post-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: clamp(2.5rem, 2rem + 2vw, 3.5rem);
	max-width: 52rem;
}

.post-card {
	margin: 0;
	display: grid;
	gap: 1rem;
}

@media (min-width: 46em) {
	.post-card--image {
		grid-template-columns: minmax(0, 18rem) minmax(0, 1fr);
		gap: 2rem;
		align-items: start;
	}
}

.post-card__image img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	border-radius: var(--radius);
}

.post-card__date {
	font-family: var(--sans);
	font-size: var(--step--1);
	color: var(--ink-faint);
	margin: 0 0 0.4rem;
}

.post-card__title {
	font-size: var(--step-2);
	margin: 0 0 0.5rem;
}

.post-card__title a {
	color: var(--ink);
	text-decoration: none;
}

.post-card__title a:hover {
	color: var(--accent);
	text-decoration: underline;
}

.post-card__excerpt {
	color: var(--ink-soft);
	margin: 0;
}

/* Page numbers under a list of posts. */
.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 3rem;
	font-family: var(--sans);
	font-size: var(--step--1);
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.75rem;
	min-height: 2.75rem;
	padding: 0 0.8rem;
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	color: var(--ink-soft);
	text-decoration: none;
}

.pagination a.page-numbers:hover {
	border-color: var(--accent);
	color: var(--accent);
}

.pagination .page-numbers.current {
	background: var(--accent);
	border-color: var(--accent);
	color: var(--on-accent);
}

.pagination .page-numbers.dots {
	border-color: transparent;
}

/* A post: one centered column, the photo a little wider. */
.post-header,
.post-body,
.post-after {
	width: min(100% - 2rem, 40rem);
	margin-inline: auto;
}

.post-header {
	padding-block: clamp(2.5rem, 1.5rem + 4vw, 4rem) 0;
}

.post-header .eyebrow a {
	color: inherit;
	text-decoration: none;
}

.post-header .eyebrow a:hover {
	color: var(--accent);
}

.post-header h1 {
	font-size: var(--step-4);
	margin-bottom: 0.4em;
}

.post-header .entry-meta {
	margin: 0;
}

.post-photo {
	width: min(100% - 2rem, 52rem);
	margin: 2rem auto 0;
}

.post-photo img {
	width: 100%;
	border-radius: var(--radius);
}

.post-photo figcaption,
.entry figcaption {
	font-family: var(--sans);
	font-size: var(--step--1);
	color: var(--ink-faint);
	margin-top: 0.6rem;
}

.post-body {
	max-width: none;
	padding-block: 2.5rem var(--band);
}

.entry ul,
.entry ol {
	margin: 0 0 1.1em;
}

.entry figure {
	margin-block: 2rem;
}

.entry figure img {
	margin-block: 0;
}

.entry .wp-block-pullquote {
	margin-block: 2.5rem;
	padding: 0;
	font-size: var(--step-2);
	line-height: 1.3;
	text-align: left;
}

.entry .wp-block-quote cite,
.entry .wp-block-pullquote cite {
	display: block;
	font-family: var(--sans);
	font-size: var(--step--1);
	font-style: normal;
	color: var(--ink-faint);
	margin-top: 0.5rem;
}

.entry code {
	font-size: 0.9em;
	background: var(--surface-sunk);
	padding: 0.1em 0.3em;
	border-radius: var(--radius);
}

.post-after {
	padding-block: var(--band);
}

/* Previous and next post. */
.post-nav .nav-links {
	display: grid;
	gap: 1.5rem;
}

@media (min-width: 40em) {
	.post-nav .nav-links {
		grid-template-columns: 1fr 1fr;
	}
	.post-nav .nav-next {
		grid-column: 2;
		text-align: right;
	}
}

.post-nav a {
	display: block;
	text-decoration: none;
	color: var(--ink);
}

.post-nav__label {
	display: block;
	font-family: var(--sans);
	font-size: var(--step--1);
	color: var(--ink-faint);
	margin-bottom: 0.25rem;
}

.post-nav__title {
	font-weight: 600;
	line-height: 1.3;
}

.post-nav a:hover .post-nav__title {
	color: var(--accent);
	text-decoration: underline;
}

/* Comments, when a site has them on. */
.comments {
	margin-top: var(--band);
}

.comments__title {
	font-size: var(--step-2);
}

.comment-list,
.comment-list .children {
	list-style: none;
	margin: 0 0 2.5rem;
	padding: 0;
	display: grid;
	gap: 2rem;
}

.comment-list .children {
	margin: 1.5rem 0 0 1.25rem;
}

.comment-meta {
	font-family: var(--sans);
	font-size: var(--step--1);
	color: var(--ink-faint);
	margin-bottom: 0.5rem;
}

.comment-meta .fn {
	font-style: normal;
	font-weight: 600;
	color: var(--ink);
}

.comment-meta a {
	color: inherit;
	text-decoration: none;
}

.comment-meta .says {
	display: none;
}

.comment-metadata {
	margin-top: 0.15rem;
}

.comment .reply a {
	font-family: var(--sans);
	font-size: var(--step--1);
	display: inline-block;
	padding-block: 0.35rem;
}

.comment-form input[type="url"] {
	width: 100%;
	font-family: var(--sans);
	font-size: var(--step-0);
	color: var(--ink);
	background: var(--surface);
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	padding: 0.7rem 0.8rem;
}

.comment-form .comment-form-cookies-consent {
	display: flex;
	gap: 0.5rem;
	align-items: start;
	font-family: var(--sans);
	font-size: var(--step--1);
}

.comment-form .comment-form-cookies-consent input {
	flex: none;
	width: 1.5rem;
	height: 1.5rem;
	margin: 0;
	accent-color: var(--accent);
}

/* ==========================================================================
   Hannah Maher: design D, the mix (clients/highriseyoga/design.md)
   Shoreline's video hero, sage and sand; Canopy's photo cards and YouTube
   band; Linen's quote. Everything above this is the starter; these rules
   win where they differ.
   ========================================================================== */

body { font-family: var(--sans); font-weight: 400; line-height: 1.7; background: var(--ground); color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--sans); font-weight: 300; letter-spacing: -0.005em; line-height: 1.15; }
h2 { font-size: var(--step-3); }
h3 { font-weight: 450; }
strong, b { font-weight: 550; }
img, video { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
.eyebrow { font-weight: 500; letter-spacing: 0.18em; }
.section-title::after { display: none; }
.section-title { margin-bottom: 2.25rem; }
.lede { font-weight: 400; }
.band--sand, .band--sunk { background: var(--surface-sunk); }
.band--signup { background: var(--signup-band); }

/* Buttons: pills. */
.button,
.wp-block-button .wp-block-button__link { border-radius: 999px; font-size: 0.98rem; font-weight: 500; padding: 0.9rem 1.5rem; }
.wp-block-buttons { gap: 0.75rem 1.5rem; align-items: center; }
.textlink a, a.textlink { color: var(--accent); font-weight: 500; text-decoration: none; display: inline-block; padding-block: 0.5rem; border-bottom: 1px solid currentColor; }

/* ---- Header -------------------------------------------------------------------
   Ivory on every page; on Home it sits over the video in white. */
.site-header { border-bottom: 0; background: var(--ground); position: relative; z-index: 10; }
.site-header--over { position: absolute; inset: 0 0 auto 0; background: none; color: #fff; }
/* Logged in: WordPress's admin bar pushes <html> down, but an absolute header doesn't move with it. */
.admin-bar .site-header--over { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header--over { top: 46px; } }
.site-header__inner { align-items: center; padding-block: 1.25rem; }
.site-title { margin: 0; font-size: 1rem; }
.site-title a { display: grid; gap: 0.1rem; line-height: 1.1; color: inherit; text-decoration: none; }
.site-title b { font-weight: 400; font-size: 1.05rem; letter-spacing: 0.32em; text-transform: uppercase; white-space: nowrap; }
.site-title small { font-size: 0.78rem; letter-spacing: 0.3em; text-transform: uppercase; opacity: 0.85; }
.site-title a:hover { color: inherit; }

.nav { font-size: 0.95rem; letter-spacing: 0; }
.nav ul { gap: 0.35rem 1.75rem; }
.nav a { color: inherit; opacity: 0.92; border-bottom: 0; display: inline-block; padding-block: 0.7rem; margin-block: -0.7rem; }
.site-header:not(.site-header--over) .nav a { color: var(--ink-soft); opacity: 1; }
.nav a:hover, .nav .current-menu-item > a { color: inherit; opacity: 1; text-decoration: underline; text-underline-offset: 0.35em; text-decoration-thickness: 1px; text-decoration-color: currentColor; }
.site-header:not(.site-header--over) .nav .current-menu-item > a { color: var(--ink); }

/* The one button: Practice with me (the menu's last item), with Classes and
   Retreats under it. */
.nav > ul > li:last-child { position: relative; }
.nav > ul > li:last-child > a { margin-block: 0; padding: 0.6rem 1.15rem; border: 1px solid currentColor; border-radius: 999px; font-weight: 500; text-decoration: none; }
.site-header:not(.site-header--over) .nav > ul > li:last-child > a { color: var(--accent); }
.nav > ul > li:last-child > a:hover { text-decoration: none; background: rgba(255, 255, 255, 0.14); }
.site-header:not(.site-header--over) .nav > ul > li:last-child > a:hover { background: var(--accent-quiet); }
.nav .menu-item-has-children > a::after { content: " ▾"; font-size: 0.7em; opacity: 0.7; }
.nav .sub-menu { display: none; }
@media (min-width: 60.01em) {
	.nav .sub-menu { position: absolute; right: 0; top: calc(100% + 0.6rem); z-index: 20; flex-direction: column; align-items: stretch; gap: 0; min-width: 12rem; padding: 0.5rem; background: var(--surface); border-radius: 6px; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16); }
	.nav .sub-menu::before { content: ""; position: absolute; inset: -0.7rem 0 auto 0; height: 0.7rem; }   /* the gap the pointer crosses */
	.nav .menu-item-has-children:hover > .sub-menu,
	.nav .menu-item-has-children:focus-within > .sub-menu { display: flex; }
	.nav .sub-menu a { display: block; margin: 0; padding: 0.6rem 0.9rem; color: var(--ink) !important; opacity: 1; border-radius: 4px; }
	.nav .sub-menu a:hover { background: var(--accent-quiet); text-decoration: none; }
}

/* Phone and tablet: the links fold behind the Menu button (assets/js/nav.js). */
@media (max-width: 60em) {
	.has-menu-toggle .menu-toggle { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 2.75rem; padding: 0 1rem; margin: 0; border: 1px solid currentColor; border-radius: 999px; background: none; font-family: var(--sans); font-size: 0.95rem; font-weight: 500; letter-spacing: 0.08em; color: inherit; cursor: pointer; }
	.menu-toggle__icon { display: none; }
	.has-menu-toggle .nav { display: none; flex-basis: 100%; }
	.has-menu-toggle.is-menu-open .nav { display: block; background: var(--surface); color: var(--ink); border-radius: 6px; padding: 0.75rem; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18); }
	.has-menu-toggle .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 0; }
	.has-menu-toggle .nav a { display: block; margin: 0; padding: 0.7rem 1rem; font-size: 1.05rem; color: var(--ink) !important; opacity: 1; }
	.has-menu-toggle .nav > ul > li:last-child { order: -1; }
	.has-menu-toggle .nav > ul > li:last-child > a { border: 0; padding: 0.7rem 1rem; font-weight: 500; }
	.has-menu-toggle .nav > ul > li:last-child > a::after { content: none; }
	.has-menu-toggle .nav .sub-menu { display: block; }
	.has-menu-toggle .nav .sub-menu a { padding-left: 2rem; font-size: 0.98rem; color: var(--ink-soft) !important; }
}

/* ---- Video hero (Home) ----------------------------------------------------------- */
.vhero { position: relative; min-height: 100svh; display: grid; align-items: end; color: #fff; overflow: hidden; background: #8a8f86; }
.vhero .wp-block-video, .vhero .hero-still { position: absolute; inset: 0; margin: 0; }
.vhero .wp-block-video video, .vhero .hero-still img { width: 100%; height: 100%; object-fit: cover; }
.vhero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,22,20,0.32) 0%, rgba(20,22,20,0.04) 30%, rgba(20,22,20,0.12) 60%, rgba(20,22,20,0.5) 100%); pointer-events: none; }
.vhero__inner { position: relative; z-index: 2; display: grid; justify-items: center; text-align: center; padding-block: 8rem clamp(3rem, 2rem + 5vw, 6rem); }
.vhero h1 { margin: 0; color: #fff; font-weight: 250; font-size: clamp(2.6rem, 1.2rem + 6.2vw, 6.2rem); letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.05; }
.vhero .eyebrow { color: rgba(255,255,255,0.92); margin-bottom: 1.25rem; }
.vhero .sub { margin: 0.9rem 0 0; font-size: 0.85rem; letter-spacing: 0.42em; text-transform: uppercase; opacity: 0.9; }
.vhero .lede { color: rgba(255,255,255,0.94); max-width: 34ch; margin: 1.25rem auto 0; font-size: var(--step-1); }
.vhero .joes-form { margin-inline: auto; justify-content: center; }
.vhero .signup-small { color: rgba(255,255,255,0.9); }
@media (prefers-reduced-motion: reduce) { .vhero .wp-block-video { display: none; } }

/* Her roles above her name: dots between on a wide screen, one per line on a phone. */
.roles span + span::before { content: " · "; }

/* ---- The signup form (Site Basics' [joes_form id="signup"]) ------------------------ */
:is(.joes-form--signup, .joes-form--retreat-news) { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.75rem; max-width: 34rem; }
:is(.joes-form--signup, .joes-form--retreat-news) .joes-form__field { flex: 1 1 14rem; min-width: 0; margin: 0; }
:is(.joes-form--signup, .joes-form--retreat-news) .joes-form__field > label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:is(.joes-form--signup, .joes-form--retreat-news) input[type="email"] { width: 100%; max-width: none; font: inherit; font-size: 1rem; padding: 0.95rem 1.2rem; border: 1px solid var(--rule); border-radius: 999px; background: var(--surface); color: var(--ink); }
.vhero :is(.joes-form--signup, .joes-form--retreat-news) input[type="email"] { background: rgba(255,255,255,0.94); border-color: transparent; }
:is(.joes-form--signup, .joes-form--retreat-news) .joes-form__actions { margin: 0; flex: 0 0 auto; }
:is(.joes-form--signup, .joes-form--retreat-news) button { font: inherit; font-weight: 500; font-size: 1rem; padding: 0.95rem 1.5rem; cursor: pointer; border: 0; border-radius: 999px; background: var(--accent); color: var(--on-accent); }
:is(.joes-form--signup, .joes-form--retreat-news) button:hover { background: var(--accent-hover); }
:is(.joes-form--signup, .joes-form--retreat-news) .joes-form__check, :is(.joes-form--signup, .joes-form--retreat-news) .joes-form__status { flex-basis: 100%; margin: 0; order: 3; }
:is(.joes-form--signup, .joes-form--retreat-news) .joes-form__status { font-weight: 500; }
.vhero :is(.joes-form--signup, .joes-form--retreat-news) .joes-form__status { color: #fff; }
.signup-small { margin: 0.8rem 0 0; font-size: 0.85rem; opacity: 0.85; }

/* ---- Logo strip ---------------------------------------------------------------- */
.logos { padding-block: 2.5rem; }
.logos .eyebrow { text-align: center; margin-bottom: 1.75rem; }
.logos ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1.5rem 3rem; }
.logos li { margin: 0; display: grid; place-items: center; height: 2.6rem; }
.logos img { max-height: 2.4rem; width: auto; filter: brightness(0); opacity: 0.62; }
.logos img.tall { max-height: 2.6rem; }
.logos .type { font-weight: 500; font-size: 0.95rem; letter-spacing: 0.06em; color: var(--ink); opacity: 0.62; text-align: center; line-height: 1.15; }
.logos .type small { display: block; font-weight: 400; font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; }

/* ---- Photo beside words (Hi, I'm Hannah; and the inside pages) ----------------- */
.intro, .split { display: grid; gap: 2.5rem; align-items: center; }
/* The photo leads on a phone and sits left on wider screens; --flip puts it right, whatever order the markup has. */
.split > .wp-block-image { order: -1; }
@media (min-width: 52em) {
	.intro, .split { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 5rem; }
	.split--flip { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
	.split--flip > .wp-block-image { order: 2; }
}
.intro .wp-block-image img, .split .wp-block-image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.split--wide .wp-block-image img { aspect-ratio: 4 / 3; }
.intro h2, .split h2 { margin: 0 0 1rem; }
.intro p, .split p { color: var(--ink-soft); max-width: 36rem; }

/* ---- Ways to practice (photo cards) --------------------------------------------- */
.ways { display: grid; gap: 2rem 1.5rem; }
@media (min-width: 40em) { .ways { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64em) { .ways { grid-template-columns: repeat(4, minmax(0, 1fr)); } .ways--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.way { display: grid; gap: 0.75rem; align-content: start; }
.way .wp-block-image img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
.way h3 { margin: 0.25rem 0 0; font-size: var(--step-1); font-weight: 450; }
.way h3 a { text-decoration: none; }
.way p { margin: 0; color: var(--ink-soft); font-size: 0.97rem; }
.way .way__more a { color: var(--accent); font-weight: 500; font-size: 0.95rem; text-decoration: none; }
.styles { margin: 2.75rem 0 0; text-align: center; color: var(--ink-soft); font-size: 0.98rem; letter-spacing: 0.02em; }
.styles b, .styles strong { font-weight: 500; color: var(--ink); }

/* ---- Her quote --------------------------------------------------------------------- */
.quote-band { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 52em) { .quote-band { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 5rem; } }
.quote-band .wp-block-image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.quote-band blockquote { margin: 0; padding: 0; border: 0; }
.quote-band blockquote p { font-size: var(--step-3); font-weight: 250; line-height: 1.3; margin: 0; }
.quote-band cite, .words cite { display: block; margin-top: 1.25rem; font-style: normal; font-size: 0.9rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); }

/* ---- YouTube ------------------------------------------------------------------------ */
.faith { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 52em) { .faith { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 5rem; } }
.faith > .wp-block-image img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 50% 35%; border-radius: var(--radius); }
.faith h2 { margin: 0 0 1rem; }
.faith p { color: var(--ink-soft); max-width: 34rem; }
.videos { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.75rem; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); }
.vid a { text-decoration: none; color: inherit; display: grid; gap: 0.7rem; align-content: start; }
.vid__thumb { position: relative; }
.vid__thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.vid__thumb::after { content: ""; position: absolute; left: 50%; top: 50%; width: 3.4rem; height: 3.4rem; margin: -1.7rem 0 0 -1.7rem; border-radius: 50%; background: rgba(255,255,255,0.9) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7l8 5-8 5z' fill='%23222'/%3E%3C/svg%3E") center / 1.6rem no-repeat; }
.vid b { font-size: 1.02rem; font-weight: 500; line-height: 1.4; }
.faith .wp-block-buttons { margin-top: 2rem; }

/* ---- Kind words ----------------------------------------------------------------------- */
.words { display: grid; gap: 2.5rem; }
@media (min-width: 52em) { .words { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; } }
.words blockquote { margin: 0; padding: 0; border: 0; }
.words blockquote p { font-size: var(--step-1); font-weight: 300; line-height: 1.5; margin: 0; }

/* ---- Signup band ----------------------------------------------------------------------- */
.signup-band { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 52em) { .signup-band { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 5rem; } }
.signup-band h2 { margin: 0; }
.signup-band .more { color: var(--ink-soft); margin: 1rem 0 0; max-width: 32rem; }
.signup-band .wp-block-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }

/* ---- Inside pages ---------------------------------------------------------------------- */
.page-hero { padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem) clamp(2rem, 1rem + 3vw, 3.5rem); }
.page-hero h1 { margin: 0; font-weight: 250; font-size: clamp(2.4rem, 1.4rem + 4vw, 4.4rem); letter-spacing: 0.01em; }
.page-hero .lede { margin: 1.25rem 0 0; max-width: 40rem; }
.page-hero .wp-block-buttons { margin-top: 1.75rem; }
.prose { max-width: 40rem; }
.prose p, .prose li { color: var(--ink-soft); }
.list { display: grid; gap: 2rem 3rem; }
@media (min-width: 46em) { .list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.list h3 { margin: 0 0 0.4rem; font-size: var(--step-1); }
.list p { margin: 0 0 0.4rem; color: var(--ink-soft); }
.note { font-size: 0.92rem; color: var(--ink-faint); }

/* ---- Footer -------------------------------------------------------------------------- */
.site-footer { background: var(--surface-sunk); padding-block: 4rem 2rem; font-size: 0.95rem; color: var(--ink-soft); border-top: 0; }
.band--signup + .site-footer, .band--signup:last-child { margin-bottom: 0; }
.site-footer__inner { display: grid; gap: 2rem; }
@media (min-width: 46em) { .site-footer__inner { grid-template-columns: 1fr auto; align-items: end; } }
.site-footer .site-title a { color: var(--ink); }
.site-footer__nav ul { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.site-footer__nav a { display: inline-block; padding-block: 0.6rem; }
.site-footer__legal { border-top: 0; font-size: 0.85rem; color: var(--ink-faint); }
.site-footer__legal a { color: var(--ink-faint); }

/* ---- Phone ------------------------------------------------------------------------------ */
@media (max-width: 40em) {
	.vhero { min-height: 92svh; }
	.vhero .wp-block-video video, .vhero .hero-still img { object-position: 30% 50%; }   /* the beach curve and the palms stay in frame */
	.vhero h1 { letter-spacing: 0.1em; }
	.vhero .eyebrow { font-size: 0.78rem; letter-spacing: 0.12em; line-height: 1.7; max-width: 22rem; margin-inline: auto; }
	.roles span { display: block; }
	.roles span + span::before { content: none; }
	.roles { line-height: 1.9; }
	:is(.joes-form--signup, .joes-form--retreat-news) .joes-form__actions, :is(.joes-form--signup, .joes-form--retreat-news) button { flex: 1 1 100%; width: 100%; }
	.vhero :is(.joes-form--signup, .joes-form--retreat-news) .joes-form__actions { flex: 1 1 100%; }
	.logos ul { gap: 1.25rem 2rem; }
	.logos img { max-height: 1.9rem; }
	.way .wp-block-image img { aspect-ratio: 4 / 3; }
	.faith > .wp-block-image img, .quote-band .wp-block-image img { aspect-ratio: 4 / 3; }
	.quote-band blockquote p { font-size: var(--step-2); }
	/* Three videos as a short list, not three screens of thumbnails. */
	.videos { grid-template-columns: 1fr; gap: 1rem; }
	.vid a { grid-template-columns: 8.5rem minmax(0, 1fr); gap: 0.9rem; align-items: center; }
	.vid b { font-size: 0.92rem; }
	.vid__thumb::after { width: 2.2rem; height: 2.2rem; margin: -1.1rem 0 0 -1.1rem; background-size: 1.1rem; }
}

/* Every other form (the contact form): pill buttons and soft fields, like the signup. */
main form button[type="submit"] { font: inherit; font-weight: 500; font-size: 1rem; padding: 0.9rem 1.6rem; border: 0; border-radius: 999px; background: var(--accent); color: var(--on-accent); cursor: pointer; }
main form button[type="submit"]:hover { background: var(--accent-hover); }
main form input[type="text"], main form input[type="email"], main form textarea { font: inherit; font-size: 1rem; padding: 0.85rem 1rem; border: 1px solid var(--rule); border-radius: 8px; background: var(--surface); color: var(--ink); }

/* ---- Photo focal points: the image block can't save an inline object-position, so the content uses these classes */
.wp-block-image.pos-35-50 img { object-position: 35% 50%; }
.wp-block-image.pos-40-50 img { object-position: 40% 50%; }
.wp-block-image.pos-45-50 img { object-position: 45% 50%; }
.wp-block-image.pos-50-15 img { object-position: 50% 15%; }
.wp-block-image.pos-50-25 img { object-position: 50% 25%; }
.wp-block-image.pos-50-30 img { object-position: 50% 30%; }
.wp-block-image.pos-50-35 img { object-position: 50% 35%; }
.wp-block-image.pos-50-40 img { object-position: 50% 40%; }
.wp-block-image.pos-50-45 img { object-position: 50% 45%; }
.wp-block-image.pos-50-60 img { object-position: 50% 60%; }
.wp-block-image.pos-50-70 img { object-position: 50% 70%; }
.wp-block-image.pos-55-50 img { object-position: 55% 50%; }

/* ---- Classes (one card per studio) and Retreats (inc/entries.php) ------------------------ */
.studios { display: grid; gap: 1.5rem; margin-top: 2rem; }
@media (min-width: 40em) { .studios { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.5rem; } }
@media (min-width: 64em) { .studios { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.studio { display: grid; gap: 1rem; align-content: start; }
/* Phone: a small photo beside the words, so the cards don't push Private sessions and YouTube down the page. */
@media (max-width: 39.99em) { .studio { grid-template-columns: 7.5rem minmax(0, 1fr); align-items: start; } .studio .wp-block-image img { aspect-ratio: 1; } }
.studio .wp-block-image { margin: 0; }
.studio .wp-block-image img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.studio h3 { margin: 0 0 0.3rem; font-size: var(--step-0); font-weight: 500; }
.studio p { margin: 0 0 0.3rem; color: var(--ink-soft); font-size: var(--step--1, 0.9rem); }
.studio .eyebrow { margin-bottom: 0.4rem; }

.retreats { display: grid; gap: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }
.retreat { display: grid; gap: 1.5rem 4rem; align-items: center; }
@media (min-width: 52em) {
	.retreat { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.retreat:nth-child(even) > .wp-block-image { order: 2; }
}
.retreat .wp-block-image { margin: 0; }
.retreat .wp-block-image img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.retreat h3 { margin: 0 0 0.75rem; font-size: var(--step-2); font-weight: 400; }
.retreat h3 a, .way h3 a { color: inherit; text-decoration: none; }
.retreat p { color: var(--ink-soft); max-width: 34rem; }
.retreat .wp-block-buttons { margin-top: 1.5rem; }
.way__meta { font-size: 0.9rem; color: var(--ink-faint); }
.way .wp-block-image { margin: 0; }

/* ---- Practice online (Classes): words and photo across, the videos in a row below ------- */
.online { display: grid; gap: 2.5rem; }
@media (min-width: 52em) { .online { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 2.5rem 5rem; align-items: center; } }
.online h2 { margin: 0 0 1rem; }
.online p { color: var(--ink-soft); max-width: 34rem; }
.online .wp-block-buttons { margin-top: 1.75rem; }
.online > .wp-block-image { margin: 0; }
.online > .wp-block-image img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.online > .videos { grid-column: 1 / -1; margin: 0; }
@media (min-width: 52em) { .online > .videos { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* "Read more" on a retreat card whose page says more (inc/entries.php) */
.read-more { margin: 0.25rem 0 0; }
.way .read-more a { padding-block: 0.25rem; }

/* The logo strip as a sideways row (assets/js/logos.js adds the row and track when the logos don't fit):
   swipe or drag it, and it drifts on its own. */
.logos__row { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; cursor: grab; user-select: none; -webkit-user-select: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.logos__row::-webkit-scrollbar { display: none; }
.logos__row:active { cursor: grabbing; }
.logos__row img { -webkit-user-drag: none; pointer-events: none; }
.logos__track { display: flex; width: max-content; }
.logos__track ul { flex-wrap: nowrap; justify-content: flex-start; padding-right: 3rem; }
.logos__track li { flex: 0 0 auto; }
.logos__track .type { white-space: nowrap; }
@media (max-width: 40em) { .logos__track ul { padding-right: 2rem; } }
.logos img.short { max-height: 1.7rem; }
@media (max-width: 40em) { .logos img.short { max-height: 1.35rem; } }
.nowrap { white-space: nowrap; }

/* About's photo gallery (core Gallery, Expand on click). */
.photos h2 { margin-bottom: 2rem; }
.photos .wp-block-gallery.has-nested-images { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
@media (min-width: 40em) { .photos .wp-block-gallery.has-nested-images { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; } }
.photos .wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) { width: auto; margin: 0; }
.photos .wp-block-gallery.has-nested-images figure.wp-block-image img { aspect-ratio: 3 / 2; object-fit: cover; height: auto; }
@media (max-width: 39.99em) { .photos .wp-block-gallery.has-nested-images figure.wp-block-image img { aspect-ratio: 1; } }
.photos .wp-block-gallery .wp-block-image img { border-radius: var(--radius); }
.wp-lightbox-container button.lightbox-trigger { width: 2.75rem; height: 2.75rem; padding: 0.7rem; }
