/*
Theme Name: Flourish Community
Theme URI: https://flourishcommunity.org/
Author: Joe Bunting
Description: Flourish Community's theme (direction C, Garden), built from theme/starter. Page layouts from core blocks, one color scheme, self-hosted Lora and Inter.
Version: 0.1.5
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: flourish
*/

/* ==========================================================================
   1. Tokens
   ========================================================================== */

:root {
	/* Seth's cream, charcoal, sage and orange (design.md). One color scheme. */
	--ground: #f7f0e7;
	--surface: #fffaf3;
	--surface-sunk: #efe5d7;

	--ink: #343534;
	--ink-soft: #545553;
	--ink-faint: #767570;
	--ink-invert: #f7f0e7;

	--accent: #4f7666;
	--accent-hover: #3f5f52;
	--accent-quiet: #e4ece7;
	--on-accent: #fffaf3;
	--signup-band: #efe5d7;

	/* Orange is only for the waiting list buttons. */
	--cta: #f2973d;
	--cta-hover: #e3852a;
	--on-cta: #2b2a28;

	--sage: #679381;
	--sage-deep: #4f7666;
	--cream: #f7f0e7;

	--rule: #ddd2c2;
	--focus: #343534;

	/* Type */
	--serif: "Lora", Georgia, "Times New Roman", serif;
	--sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

	/* 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: 72rem;
	--radius: 6px;
}

/* ==========================================================================
   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;
}

/* ==========================================================================
   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;
	}
}

/* ==========================================================================
   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);
}

/* ==========================================================================
   17. Flourish (direction C, Garden; clients/flourish/design.md)
   From mockups/garden.html and mockups/shared.css, on the theme's classes.
   ========================================================================== */

body {
	font-family: var(--sans);
	line-height: 1.65;
}

h1,
h2,
h3 {
	font-weight: 450;
	letter-spacing: -0.01em;
	line-height: 1.12;
}

.eyebrow {
	letter-spacing: 0.16em;
	font-size: 0.78rem;
	color: var(--accent);
}

.section-title {
	text-align: center;
	align-items: center;
}

.section-title::after {
	display: none;
}

.center {
	text-align: center;
}

/* ---- Header: the logo centered above the menu; logo and Menu on a phone ---- */

.site-header {
	border-bottom: 0;
	position: relative;
	z-index: 4;
}

.site-header__inner {
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	padding-block: 1.6rem 0.5rem;
}

.site-title a {
	display: block;
	line-height: 0;
}

.site-logo {
	height: 2.6rem;
	width: auto;
	mix-blend-mode: multiply; /* the JPG's white disappears on cream */
}

.nav {
	font-size: 0.98rem;
	font-weight: 500;
	letter-spacing: 0;
}

.nav ul {
	gap: 0.35rem 1.9rem;
	justify-content: center;
}

.nav a {
	color: var(--ink);
	display: inline-block;
	padding-block: 0.7rem;
}

.nav .nav-cta > a,
.nav .nav-cta > a:hover {
	background: var(--cta);
	color: var(--on-cta);
	border-radius: 999px;
	padding: 0.7rem 1.2rem;
}

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

@media (max-width: 44em) {
	.site-header__inner {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: space-between;
		padding-block: 1.1rem;
	}

	.site-logo {
		height: 2.1rem;
	}

	.has-menu-toggle .nav .nav-cta > a {
		color: var(--on-cta);
		display: block;
	}
}

/* ---- Buttons: orange only for the waiting list ------------------------------ */

.wp-block-button.is-style-cta .wp-block-button__link,
.button--cta {
	background: var(--cta);
	border-color: var(--cta);
	color: var(--on-cta);
	font-size: 1.02rem;
	padding: 1rem 1.5rem;
	border-radius: var(--radius);
}

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

.textlink {
	margin: 0;
}

.textlink a {
	color: var(--accent);
	font-weight: 600;
	text-decoration: none;
	display: inline-block;
	padding-block: 0.5rem;
	border-bottom: 2px solid currentColor;
}

/* ---- The waiting list form (Site Basics, id "waitlist") --------------------- */

.joes-form--waitlist {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.6rem;
	margin-top: 1.5rem;
	max-width: 30rem;
	text-align: left;
}

.joes-form--waitlist > * {
	grid-column: 1 / -1;
	margin: 0;
}

.joes-form--waitlist > .joes-form__field--text,
.joes-form--waitlist > .joes-form__field--email {
	grid-column: auto;
}

.joes-form--waitlist .joes-form__field--text > label,
.joes-form--waitlist .joes-form__field--email > label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

.joes-form--waitlist .joes-form__field--select > label {
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--ink-soft);
	margin: 0.2rem 0 0.3rem;
}

.joes-form--waitlist .joes-form__req {
	display: none;
}

.joes-form--waitlist input,
.joes-form--waitlist select,
.site-footer .joes-form input {
	width: 100%;
	max-width: none;
	font: inherit;
	font-size: 1rem;
	padding: 0.9rem 1.1rem;
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	background: var(--surface);
	color: var(--ink);
}

.joes-form--waitlist select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5' fill='none' stroke='%23343534' stroke-width='2'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.9rem center;
	background-size: 1.1rem;
	padding-right: 2.6rem;
}

.joes-form--waitlist input:focus,
.joes-form--waitlist select:focus,
.site-footer .joes-form input:focus {
	outline: 2px solid var(--accent);
	outline-offset: 1px;
}

.joes-form--waitlist button {
	width: 100%;
	font: inherit;
	font-weight: 600;
	font-size: 1.02rem;
	padding: 1rem 1.5rem;
	cursor: pointer;
	border: 0;
	border-radius: var(--radius);
	background: var(--cta);
	color: var(--on-cta);
}

.joes-form--waitlist button:hover {
	background: var(--cta-hover);
}

.joes-form__status {
	font-weight: 500;
}

.waitlist-small {
	margin: 0.75rem 0 0;
	font-size: 0.9rem;
	color: var(--ink-soft);
}

.waitlist-small a {
	color: inherit;
}

/* ---- Home hero ---------------------------------------------------------------- */

.ghero {
	text-align: center;
	padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem) 0;
}

.ghero .vision {
	margin: 0 auto;
	max-width: 30rem;
	font-family: var(--serif);
	font-style: italic;
	font-size: var(--step-0);
	color: var(--accent);
}

.ghero h1 {
	margin: 0.9rem auto 0;
	max-width: 17ch;
	font-size: clamp(2.3rem, 1.3rem + 4vw, 4.4rem);
	font-weight: 400;
}

.ghero h1 em {
	font-style: italic;
	color: var(--accent);
}

.ghero .lede {
	margin: 1.1rem auto 0;
	max-width: 36rem;
}

.ghero .joes-form--waitlist {
	margin-inline: auto;
}

.ghero .pic {
	margin-top: clamp(2.5rem, 2rem + 3vw, 4rem);
}

.ghero .pic img {
	width: 100%;
	aspect-ratio: 21 / 9;
	object-fit: cover;
	object-position: 50% 40%;
	border-radius: var(--radius);
}

/* ---- Other pages' hero: eyebrow, headline, a line, one wide photo ------------- */

.phero {
	text-align: center;
	padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem) 0;
}

.phero h1 {
	margin: 0 auto;
	max-width: 20ch;
	font-size: clamp(2.1rem, 1.3rem + 3vw, 3.6rem);
	font-weight: 400;
}

.phero .lede {
	margin: 1.1rem auto 0;
	max-width: 38rem;
}

.phero .pic {
	margin-top: clamp(2rem, 1.5rem + 3vw, 3.5rem);
}

.phero .pic img {
	width: 100%;
	aspect-ratio: 21 / 9;
	object-fit: cover;
	border-radius: var(--radius);
}

/* ---- Bands -------------------------------------------------------------------- */

.sage {
	background: var(--sage-deep);
	color: var(--cream);
}

.sage h2,
.sage h3 {
	color: #fffaf3;
}

.sage .eyebrow {
	color: #d9eadf;
}

.sage p {
	color: #e7efe9;
}

.sage .way {
	background: rgba(255, 255, 255, 0.08);
}

.sage .way p {
	color: #e7efe9;
}

.sage .way .num {
	color: var(--cta);
}

.sage .textlink a {
	color: #fffaf3;
}

.site-footer .nav-cta {
	display: none;
}

.sage .wp-block-buttons {
	justify-content: center;
}

.narrow {
	max-width: 44rem;
	margin-inline: auto;
}

.narrow > p {
	color: var(--ink-soft);
}

.sage .narrow > p {
	color: #e7efe9;
}

/* ---- The question --------------------------------------------------------------- */

.question {
	max-width: 44rem;
	margin-inline: auto;
	text-align: center;
}

.question h2 {
	margin: 0 0 1.1rem;
	font-size: var(--step-4);
}

.question p {
	font-size: var(--step-1);
	color: var(--ink-soft);
	line-height: 1.55;
	margin: 0;
}

/* ---- Ways to live here ---------------------------------------------------- */

.ways {
	display: grid;
	gap: 1.25rem;
	margin-top: 2.25rem;
}

@media (min-width: 48em) {
	.ways {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		max-width: 52rem;
		margin-inline: auto;
	}
}

.way {
	background: var(--surface);
	border-radius: var(--radius);
	padding: 1.75rem 1.6rem;
	display: grid;
	gap: 0.6rem;
	align-content: start;
}

.way .num {
	font-family: var(--serif);
	font-size: 2.4rem;
	line-height: 1;
	color: var(--accent);
	margin: 0;
}

.way h3 {
	margin: 0.25rem 0 0;
	font-size: var(--step-2);
}

.way p {
	margin: 0;
	color: var(--ink-soft);
}

.ways + .wp-block-buttons,
.ways + .textlink {
	margin-top: 2rem;
	text-align: center;
	justify-content: center;
}

.plan {
	max-width: 40rem;
	margin: 2.5rem auto 0;
	background: #fff;
	border-radius: var(--radius);
	padding: clamp(0.75rem, 0.5rem + 1vw, 1.5rem);
}

.plan img {
	width: 100%;
	height: auto;
}

.plan figcaption {
	margin-top: 0.9rem;
	font-size: 0.95rem;
	color: var(--ink-soft);
	text-align: center;
}

/* ---- Two columns: a photo beside words (life here, directors, founder, closing) -- */

.life,
.directors,
.founder,
.closing,
.contact-grid {
	display: grid;
	gap: 2.5rem;
	align-items: center;
}

@media (min-width: 52em) {
	.life,
	.founder,
	.closing {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 4.5rem;
	}

	.directors {
		grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
		gap: 4rem;
	}

	.contact-grid {
		grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
		gap: 4rem;
		align-items: start;
	}
}

.life .wp-block-image img,
.founder .wp-block-image img,
.directors .wp-block-image img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--radius);
}

.life h2,
.directors h2,
.founder h2,
.closing h2 {
	margin: 0 0 1rem;
}

.life > div > p,
.directors > div > p,
.founder > div > p,
.directors li {
	color: var(--ink-soft);
}

/* No photo of Ken and Kelly yet: the words take the full width. */
.directors--no-photo {
	grid-template-columns: minmax(0, 1fr) !important;
	max-width: 44rem;
	margin-inline: auto;
}

.amenities {
	list-style: none;
	margin: 1.5rem 0 1.75rem;
	padding: 0;
	display: grid;
	gap: 0.85rem;
}

@media (min-width: 30em) {
	.amenities {
		grid-template-columns: 1fr 1fr;
		gap: 0.85rem 1.5rem;
	}
}

.amenities li,
.dots li {
	margin: 0;
	padding-left: 1.6rem;
	position: relative;
	line-height: 1.45;
}

.amenities li::before,
.dots li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.45em;
	width: 0.6rem;
	height: 0.6rem;
	border-radius: 50%;
	background: var(--accent);
}

.dots {
	list-style: none;
	margin: 1.5rem 0 0;
	padding: 0;
	display: grid;
	gap: 1.1rem;
	color: var(--ink-soft);
}

.dots strong {
	color: var(--ink);
}

/* ---- Beliefs and principles: four (or three) in one row --------------------------- */

.beliefs {
	display: grid;
	gap: 2.25rem;
	margin-top: 2.25rem;
	text-align: center;
}

@media (min-width: 40em) {
	.beliefs {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 2.5rem 3rem;
	}
}

@media (min-width: 48em) {
	.beliefs {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 2rem;
	}

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

.beliefs h3 {
	margin: 0 0 0.6rem;
	font-size: var(--step-2);
}

.beliefs p {
	margin: 0;
	color: var(--ink-soft);
}

/* ---- The team ------------------------------------------------------------------ */

.team {
	display: grid;
	gap: 2rem;
	margin-top: 2.25rem;
}

@media (min-width: 48em) {
	.team {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 2.5rem 3.5rem;
	}
}

.team h3 {
	margin: 0 0 0.5rem;
	font-size: var(--step-1);
}

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

/* ---- The podcast ---------------------------------------------------------------- */

.podcast iframe {
	width: 100%;
	max-width: 44rem;
	display: block;
	margin: 2rem auto 0;
	border: 0;
	border-radius: 12px;
}

.podcast .podcast-note {
	margin: 1rem 0 0;
	font-size: var(--step--1);
	color: var(--ink-faint);
}

/* ---- Closing band ----------------------------------------------------------------- */

.closing .more {
	color: var(--ink-soft);
	margin: 1rem 0 0;
	max-width: 30rem;
}

.closing .wp-block-image img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: 50% 30%;
	border-radius: var(--radius);
}

/* ---- Contact ------------------------------------------------------------------- */

.contact-grid .joes-contact {
	margin-top: 0;
}

.joes-contact button {
	background: var(--accent);
	border-color: var(--accent);
	border-radius: var(--radius);
	font-size: 1rem;
	padding: 0.9rem 1.4rem;
}

.joes-contact input,
.joes-contact textarea {
	border-radius: var(--radius);
}

/* ---- Footer ---------------------------------------------------------------------- */

.site-footer {
	background: var(--surface-sunk);
	padding-block: 3.5rem 2rem;
	font-size: 0.95rem;
	color: var(--ink-soft);
}

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

.site-footer__logo {
	display: inline-block;
	line-height: 0;
}

.site-footer__about > p {
	margin: 1.25rem 0 0;
}

.site-footer__about a {
	display: inline-block;
	padding-block: 0.3rem;
}

.site-footer .site-footer__news-title {
	margin-top: 1.5rem;
	color: var(--ink);
	font-weight: 500;
}

.site-footer .joes-form--newsletter {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 0.75rem;
	max-width: 26rem;
}

.site-footer .joes-form--newsletter > .joes-form__field {
	flex: 1 1 12rem;
	min-width: 0;
	margin: 0;
}

.site-footer .joes-form--newsletter > .joes-form__field > label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

.site-footer .joes-form--newsletter .joes-form__req {
	display: none;
}

.site-footer .joes-form input {
	padding: 0.75rem 1rem;
}

.site-footer .joes-form__actions {
	margin: 0;
}

.site-footer .joes-form button {
	font: inherit;
	font-weight: 600;
	padding: 0.75rem 1.1rem;
	border: 0;
	border-radius: var(--radius);
	background: var(--accent);
	color: var(--on-accent);
	cursor: pointer;
	height: 100%;
}

.site-footer .joes-form button:hover {
	background: var(--accent-hover);
}

.site-footer .joes-form__status {
	flex-basis: 100%;
}

.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 (design.md, "Phone") ------------------------------------------------------ */

@media (max-width: 40em) {
	.ghero {
		padding-top: 1.5rem;
	}

	.ghero h1 {
		font-size: 2.2rem;
	}

	.ghero .vision {
		font-size: 0.98rem;
	}

	.ghero .lede {
		display: none; /* the headline carries it; the form stays above the fold */
	}

	.ghero .pic img,
	.phero .pic img {
		aspect-ratio: 4 / 3;
		object-position: 40% 50%;
	}

	.joes-form--waitlist {
		margin-top: 1.1rem;
		gap: 0.5rem;
	}

	.joes-form--waitlist input,
	.joes-form--waitlist select,
	.joes-form--waitlist button {
		padding-block: 0.85rem;
	}

	.joes-form--waitlist input {
		padding-inline: 0.9rem;
	}

	.way {
		padding: 1.25rem;
		grid-template-columns: auto 1fr;
		gap: 0.3rem 1rem;
	}

	.way .num {
		grid-row: span 3;
		font-size: 2rem;
	}

	.way h3 {
		margin: 0;
	}

	.closing .wp-block-image img {
		aspect-ratio: 4 / 3;
		object-position: 50% 25%;
	}
}
