/*
Theme Name: FlavorPress
Theme URI: https://flavorpress.io
Author: Matthias Reinholz and Lucas Radke
Author URI: https://flavorpress.io
Description: Editorial block theme for the FlavorPress content-syndication experiment, built in public during Automattic's Radical Speed Month 2026.
Requires at least: 6.5
Tested up to: 6.7
Requires PHP: 7.4
Version: 0.1.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: flavorpress
Tags: block-theme, full-site-editing, editorial, one-column, custom-colors, custom-logo, wide-blocks
*/

/* Paper texture — subtle SVG noise painted on the body, zero network cost. */
body.wp-site-blocks,
body {
	background-color: var(--wp--preset--color--paper);
	background-image:
		radial-gradient(circle at 20% 10%, rgba(185,138,94,0.06), transparent 40%),
		radial-gradient(circle at 80% 80%, rgba(28,42,58,0.04), transparent 45%),
		url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' seed='5' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.45 0 0 0 0 0.32 0 0 0 0 0.2 0 0 0 0.05 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
	background-attachment: fixed, fixed, fixed;
	background-size: auto, auto, 160px 160px;
}

/* Better reading measure for prose paragraphs inside a constrained layout. */
.entry-content p,
main p {
	max-width: 65ch;
}

/* Small-caps editorial eyebrow — use class "eyebrow" on a heading/paragraph. */
.eyebrow {
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--wp--preset--color--wood);
}

/* Dateline rule used in header & section openings. */
.rule-between > * + * {
	border-top: 1px solid var(--wp--preset--color--rule);
	padding-top: var(--wp--preset--spacing--20);
	margin-top: var(--wp--preset--spacing--20);
}

/* Hero featured "plate" — paper card that simulates a morning-desk frame. */
.hero-plate {
	position: relative;
	background: linear-gradient(180deg, #EFE5D1 0%, #E6D8B8 100%);
	border: 1px solid var(--wp--preset--color--rule);
	box-shadow:
		0 1px 0 rgba(255,255,255,0.5) inset,
		0 30px 60px -40px rgba(28,42,58,0.35),
		0 2px 8px -2px rgba(28,42,58,0.15);
	overflow: hidden;
}

.hero-plate::before {
	content: "";
	position: absolute; inset: 0;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='2'/><feColorMatrix values='0 0 0 0 0.4 0 0 0 0 0.25 0 0 0 0 0.1 0 0 0 0.08 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
	pointer-events: none;
	opacity: 0.6;
	mix-blend-mode: multiply;
}

.hero-plate > * { position: relative; }

/* Decorative morning-desk illustration drawn in CSS, no external images. */
.morning-desk {
	position: relative;
	aspect-ratio: 16 / 10;
	background:
		radial-gradient(ellipse at 70% 85%, rgba(139,94,52,0.25), transparent 60%),
		linear-gradient(135deg, #EADFC4 0%, #E0CFA4 100%);
	border-radius: 2px;
	overflow: hidden;
}

.morning-desk .cup {
	position: absolute; right: 16%; bottom: 22%;
	width: 78px; height: 78px; border-radius: 50%;
	background: radial-gradient(circle at 50% 40%, #4B2E16 0 40%, #3A230F 41% 60%, #8B5E34 61% 100%);
	box-shadow: 0 8px 14px -6px rgba(28,42,58,0.4);
}
.morning-desk .cup::after {
	content: ""; position: absolute; right: -22px; top: 18px;
	width: 28px; height: 40px; border: 6px solid #8B5E34; border-left: none; border-radius: 0 40px 40px 0;
}
.morning-desk .steam {
	position: absolute; right: 24%; bottom: 50%;
	width: 3px; height: 40px; background: linear-gradient(180deg, rgba(255,255,255,0.6), transparent);
	border-radius: 3px;
	filter: blur(1px);
	animation: steam 4s ease-in-out infinite;
}
.morning-desk .steam.s2 { right: 30%; bottom: 55%; animation-delay: .8s; height: 55px; }
.morning-desk .steam.s3 { right: 20%; bottom: 48%; animation-delay: 1.4s; height: 30px; }
@keyframes steam {
	0%, 100% { transform: translateY(0) scaleY(1); opacity: .7; }
	50% { transform: translateY(-10px) scaleY(1.1); opacity: .3; }
}

.morning-desk .paper {
	position: absolute; left: 10%; bottom: 12%;
	width: 55%; height: 60%;
	background: #FBF4E3;
	border: 1px solid rgba(28,42,58,0.15);
	box-shadow: 0 14px 24px -18px rgba(28,42,58,0.4);
	transform: rotate(-3deg);
}
.morning-desk .paper::before,
.morning-desk .paper::after {
	content: ""; position: absolute; left: 10%; right: 10%;
	height: 2px; background: rgba(28,42,58,0.18); border-radius: 2px;
}
.morning-desk .paper::before { top: 18%; }
.morning-desk .paper::after { top: 30%; right: 40%; }

.morning-desk .paper .lines {
	position: absolute; left: 10%; right: 10%; top: 42%; bottom: 15%;
	background-image: repeating-linear-gradient(
		to bottom,
		rgba(28,42,58,0.12) 0,
		rgba(28,42,58,0.12) 1px,
		transparent 1px,
		transparent 10px
	);
}

.morning-desk .pen {
	position: absolute; right: 12%; top: 18%;
	width: 120px; height: 8px; border-radius: 4px;
	background: linear-gradient(90deg, #1C2A3A 0 70%, #D95D2A 70% 100%);
	transform: rotate(28deg);
	box-shadow: 0 6px 10px -6px rgba(28,42,58,0.5);
}

.morning-desk .sun {
	position: absolute; top: 12%; right: 14%;
	width: 90px; height: 90px; border-radius: 50%;
	background: radial-gradient(circle, #F6E2B6 0%, rgba(246,226,182,0) 70%);
	opacity: 0.9;
}

/* Ribboned section label used at section tops. */
.section-label {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.8rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--wp--preset--color--wood);
}
.section-label::before {
	content: "";
	width: 28px; height: 1px;
	background: currentColor;
}

/* Exploration list: numbered with editorial serif numerals. */
.exploration-list {
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: item;
}
.exploration-list li {
	display: grid;
	grid-template-columns: 3.5rem 1fr;
	gap: var(--wp--preset--spacing--20);
	padding: var(--wp--preset--spacing--20) 0;
	border-top: 1px solid var(--wp--preset--color--rule);
	counter-increment: item;
	align-items: baseline;
}
.exploration-list li:last-child { border-bottom: 1px solid var(--wp--preset--color--rule); }
.exploration-list li::before {
	content: counter(item, decimal-leading-zero);
	font-family: var(--wp--preset--font-family--serif);
	font-size: 1.75rem;
	font-style: italic;
	color: var(--wp--preset--color--wood);
	line-height: 1;
}
.exploration-list li strong {
	display: block;
	font-family: var(--wp--preset--font-family--serif);
	font-weight: 500;
	font-size: 1.25rem;
	color: var(--wp--preset--color--ink);
	margin-bottom: 0.25rem;
}
.exploration-list li span {
	display: block;
	color: var(--wp--preset--color--ink-soft);
	max-width: 58ch;
}

/* Inline link style overrides for body prose (underline on hover only is harder to scan;
   keep it subtle-underline always, bolder on hover). */
main a:not(.wp-element-button):not(.no-underline) {
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
}
main a:not(.wp-element-button):hover {
	text-decoration-thickness: 2px;
}

/* Signup form styling — the form is rendered by a shortcode; these rules style it. */
.flavorpress-form {
	display: grid;
	gap: var(--wp--preset--spacing--20);
	max-width: 560px;
}
.flavorpress-form label {
	display: block;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.88rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--wp--preset--color--ink-soft);
	margin-bottom: 0.4rem;
}
.flavorpress-form .required-mark {
	color: var(--wp--preset--color--accent-deep);
	margin-left: 0.25rem;
}
.flavorpress-form input[type="email"],
.flavorpress-form input[type="text"],
.flavorpress-form select,
.flavorpress-form textarea {
	width: 100%;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 1rem;
	line-height: 1.5;
	padding: 0.85rem 1rem;
	background: rgba(255,255,255,0.7);
	color: var(--wp--preset--color--ink);
	border: 1px solid var(--wp--preset--color--rule);
	border-radius: 4px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.flavorpress-form textarea { min-height: 120px; resize: vertical; }
.flavorpress-form input:focus,
.flavorpress-form select:focus,
.flavorpress-form textarea:focus {
	outline: none;
	border-color: var(--wp--preset--color--ink);
	box-shadow: 0 0 0 3px rgba(28,42,58,0.08);
	background: #FFF;
}
.flavorpress-form .consent {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.75rem;
	align-items: flex-start;
	font-size: 0.95rem;
	color: var(--wp--preset--color--ink-soft);
}
.flavorpress-form .consent input[type="checkbox"] {
	width: 1.1rem; height: 1.1rem;
	accent-color: var(--wp--preset--color--accent);
	margin-top: 0.2rem;
}
.flavorpress-form button[type="submit"] {
	justify-self: flex-start;
	font-family: var(--wp--preset--font-family--sans);
	font-weight: 600;
	font-size: 1rem;
	letter-spacing: 0.01em;
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--paper);
	border: none;
	border-radius: 999px;
	padding: 0.95rem 1.8rem;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}
.flavorpress-form button[type="submit"]:hover {
	background: var(--wp--preset--color--accent-deep);
	transform: translateY(-1px);
}
.flavorpress-form button[type="submit"]:focus-visible {
	outline: 3px solid var(--wp--preset--color--ink);
	outline-offset: 3px;
}
.flavorpress-form .error {
	color: var(--wp--preset--color--accent-deep);
	font-size: 0.9rem;
	margin-top: 0.3rem;
}
.flavorpress-form .error-summary {
	padding: 1rem 1.1rem;
	background: rgba(217,93,42,0.08);
	border: 1px solid rgba(217,93,42,0.4);
	border-radius: 4px;
	color: var(--wp--preset--color--accent-deep);
}
.flavorpress-form .error-summary ul { margin: 0.4rem 0 0 1.2rem; padding: 0; }

.honeypot {
	position: absolute !important;
	left: -9999px !important;
	height: 0 !important;
	width: 0 !important;
	overflow: hidden !important;
}

.flavorpress-thanks {
	background: #FFF;
	border: 1px solid var(--wp--preset--color--rule);
	border-radius: 4px;
	padding: var(--wp--preset--spacing--30);
}
.flavorpress-thanks h3 {
	margin: 0 0 0.5rem 0;
	font-family: var(--wp--preset--font-family--serif);
	font-size: 1.75rem;
	color: var(--wp--preset--color--ink);
}
.flavorpress-thanks p { color: var(--wp--preset--color--ink-soft); margin: 0 0 1rem 0; }

/* Author cards in "Build in public". */
.authors-grid {
	display: grid;
	gap: var(--wp--preset--spacing--30);
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.author-card {
	background: rgba(255,255,255,0.55);
	border: 1px solid var(--wp--preset--color--rule);
	padding: var(--wp--preset--spacing--30);
	border-radius: 4px;
	transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.author-card:hover {
	transform: translateY(-3px);
	background: #FFF;
	box-shadow: 0 24px 40px -30px rgba(28,42,58,0.4);
}
.author-card h3 { margin: 0 0 0.25rem 0; font-family: var(--wp--preset--font-family--serif); font-size: 1.25rem; }
.author-card .role {
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
	color: var(--wp--preset--color--wood); margin: 0 0 0.75rem 0;
}
.author-card ul {
	list-style: none; padding: 0; margin: 1rem 0 0 0;
	display: flex; flex-wrap: wrap; gap: 0.6rem 1rem;
	font-size: 0.9rem;
}
.author-card ul a { text-decoration: none; color: var(--wp--preset--color--ink); }
.author-card ul a:hover { color: var(--wp--preset--color--accent-deep); }

/* Animations — declarative helpers used via className on blocks. */
.fade-up, .fade-in, .slide-in-left, .slide-in-right, .scale-in {
	opacity: 0;
	will-change: opacity, transform;
	transition: opacity 0.8s cubic-bezier(0.2, 0.65, 0.2, 1),
	            transform 0.8s cubic-bezier(0.2, 0.65, 0.2, 1);
}
.fade-up { transform: translateY(24px); }
.slide-in-left { transform: translateX(-32px); }
.slide-in-right { transform: translateX(32px); }
.scale-in { transform: scale(0.96); }

.is-in-view {
	opacity: 1 !important;
	transform: none !important;
}

/* Staggered children within an animated container. */
.stagger > * {
	opacity: 0; transform: translateY(16px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}
.stagger.is-in-view > *:nth-child(1) { transition-delay: 0.05s; }
.stagger.is-in-view > *:nth-child(2) { transition-delay: 0.15s; }
.stagger.is-in-view > *:nth-child(3) { transition-delay: 0.25s; }
.stagger.is-in-view > *:nth-child(4) { transition-delay: 0.35s; }
.stagger.is-in-view > *:nth-child(5) { transition-delay: 0.45s; }
.stagger.is-in-view > *:nth-child(6) { transition-delay: 0.55s; }
.stagger.is-in-view > * { opacity: 1; transform: none; }

/* Subtle hover lift for interactive cards. */
.hover-lift { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.hover-lift:hover {
	transform: translateY(-2px);
	box-shadow: 0 20px 30px -25px rgba(28,42,58,0.5);
}

/* Focus outlines — WCAG AA. */
:where(a, button, input, select, textarea):focus-visible {
	outline: 3px solid var(--wp--preset--color--ink);
	outline-offset: 3px;
	border-radius: 2px;
}

/* Skip link shown on keyboard focus. */
.skip-link {
	position: absolute; left: -9999px; top: 0;
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--paper);
	padding: 0.6rem 1rem;
	z-index: 100;
	text-decoration: none;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* Utility: cap prose width for readable lines. */
.readable { max-width: 65ch; }
.readable-wide { max-width: 72ch; }

/* Section separator — thin ornamental rule. */
.ornament {
	display: flex; align-items: center; justify-content: center;
	gap: 0.75rem;
	color: var(--wp--preset--color--wood);
	font-family: var(--wp--preset--font-family--serif);
	font-style: italic;
	padding: var(--wp--preset--spacing--30) 0;
}
.ornament::before, .ornament::after {
	content: ""; flex: 0 0 60px; height: 1px; background: currentColor; opacity: 0.5;
}

/* Video embed placeholder frame on the thanks screen. */
.video-placeholder {
	aspect-ratio: 16 / 9;
	background:
		repeating-linear-gradient(
			45deg,
			#EFE5D1 0, #EFE5D1 12px,
			#E6D8B8 12px, #E6D8B8 24px
		);
	border: 1px solid var(--wp--preset--color--rule);
	display: flex; align-items: center; justify-content: center;
	color: var(--wp--preset--color--ink-soft);
	font-family: var(--wp--preset--font-family--serif);
	font-style: italic;
}

/* Responsive: stack hero grid on narrow screens. */
@media (max-width: 880px) {
	.hero-grid { grid-template-columns: 1fr !important; }
	.exploration-list li {
		grid-template-columns: 2.5rem 1fr;
	}
}

/* Reduced motion. */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}
	.morning-desk .steam { display: none; }
}

/* Print — keep it editorial and readable on paper. */
@media print {
	body { background: #FFF; color: #000; }
	.hero-plate, .morning-desk, .video-placeholder { display: none; }
}

/* =============================================================
 * Splash — two-column layout (text left, editorial scene right)
 * ============================================================= */
.splash {
	min-height: 100vh;
	min-height: 100svh;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
	background: #FBF7EC;
	padding: 0 !important;
	margin: 0;
}

.splash__text {
	padding: clamp(2.5rem, 6vw, 5rem) clamp(2rem, 6vw, 5rem);
	display: flex;
	flex-direction: column;
	justify-content: center;
	max-width: 640px;
	width: 100%;
	margin-left: auto;
}

.splash__eyebrow {
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--wp--preset--color--wood);
	margin: 0 0 1.5rem 0;
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
}

.splash__eyebrow::before {
	content: "";
	display: inline-block;
	width: 7px; height: 7px; border-radius: 50%;
	background: var(--wp--preset--color--accent);
	animation: fp-pulse 2.4s ease-out infinite;
	flex-shrink: 0;
}

.splash__eyebrow .pulse { display: none; }
@keyframes fp-pulse {
	0% { box-shadow: 0 0 0 0 rgba(217, 93, 42, 0.45); }
	70% { box-shadow: 0 0 0 12px rgba(217, 93, 42, 0); }
	100% { box-shadow: 0 0 0 0 rgba(217, 93, 42, 0); }
}

.splash__headline {
	font-family: var(--wp--preset--font-family--serif);
	font-style: italic;
	font-weight: 600;
	font-size: clamp(2.1rem, 4.2vw, 3.4rem);
	line-height: 1.12;
	letter-spacing: -0.015em;
	color: var(--wp--preset--color--ink);
	margin: 0 0 1.5rem 0;
}

.splash__headline em {
	font-style: normal;
	color: var(--wp--preset--color--accent);
}

.splash__body {
	font-family: var(--wp--preset--font-family--serif);
	font-size: 1.05rem;
	line-height: 1.6;
	color: var(--wp--preset--color--ink);
	max-width: 58ch;
	margin: 0 0 2rem 0;
}

.splash__body strong {
	color: var(--wp--preset--color--ink);
	font-weight: 600;
}

.splash__meta {
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.85rem;
	line-height: 1.55;
	color: var(--wp--preset--color--ink-soft);
	margin: 0 0 2rem 0;
	max-width: 56ch;
}
.splash__meta a {
	color: var(--wp--preset--color--ink);
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
}
.splash__meta a:hover { color: var(--wp--preset--color--accent-deep); }

/* Splash form — outlined input + rectangular dark submit */
.splash-form {
	display: block;
	max-width: 520px;
}
.splash-form__label {
	display: block;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.88rem;
	font-weight: 500;
	color: var(--wp--preset--color--ink);
	margin: 0 0 0.5rem 0;
}
.splash-form__row {
	display: flex;
	gap: 0;
	width: 100%;
}
.splash-form__row input[type="email"] {
	flex: 1 1 auto;
	min-width: 0;
	padding: 0.9rem 1rem;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 1rem;
	color: var(--wp--preset--color--ink);
	background: transparent;
	border: 1.5px solid var(--wp--preset--color--ink);
	border-radius: 0;
	transition: border-color 0.2s ease, background 0.2s ease;
}
.splash-form__row input[type="email"]:focus {
	outline: none;
	background: #FFF;
	border-color: var(--wp--preset--color--ink);
	box-shadow: inset 0 0 0 1px var(--wp--preset--color--ink);
}
.splash-form__row button[type="submit"] {
	flex: 0 0 auto;
	padding: 0.9rem 1.75rem;
	font-family: var(--wp--preset--font-family--sans);
	font-weight: 600;
	font-size: 1rem;
	color: var(--wp--preset--color--paper);
	background: var(--wp--preset--color--ink);
	border: 1.5px solid var(--wp--preset--color--ink);
	border-radius: 0;
	cursor: pointer;
	margin-left: -1.5px;
	transition: background 0.2s ease, color 0.2s ease;
}
.splash-form__row button[type="submit"]:hover {
	background: var(--wp--preset--color--accent);
	border-color: var(--wp--preset--color--accent);
}

.splash-form__note {
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.72rem;
	line-height: 1.55;
	color: var(--wp--preset--color--ink-soft);
	margin: 1.25rem 0 0 0;
	max-width: 560px;
}

.splash-form__error {
	background: rgba(217, 93, 42, 0.08);
	border-left: 3px solid var(--wp--preset--color--accent-deep);
	color: var(--wp--preset--color--accent-deep);
	padding: 0.75rem 1rem;
	margin: 0 0 1rem 0;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.9rem;
}

/* Splash visual — right-side editorial scene container */
.splash__visual {
	position: relative;
	overflow: hidden;
	min-height: 100vh;
	min-height: 100svh;
	background:
		radial-gradient(ellipse at 30% 25%, rgba(255, 235, 195, 0.4), transparent 55%),
		radial-gradient(ellipse at 80% 85%, rgba(139, 94, 52, 0.08), transparent 60%),
		linear-gradient(160deg, #F0E7D2 0%, #E3D4B0 100%);
}

.splash__visual::after {
	content: "";
	position: absolute; inset: 0;
	pointer-events: none;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' seed='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.4 0 0 0 0 0.25 0 0 0 0 0.1 0 0 0 0.08 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
	mix-blend-mode: multiply;
	opacity: 0.4;
}

.splash__visual svg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	display: block;
}

/* Thanks state — when form is submitted */
.splash-thanks {
	max-width: 520px;
	padding: 1.5rem;
	background: #FFF;
	border: 1.5px solid var(--wp--preset--color--ink);
}
.splash-thanks h3 {
	font-family: var(--wp--preset--font-family--serif);
	font-style: italic;
	font-weight: 600;
	font-size: 1.75rem;
	color: var(--wp--preset--color--ink);
	margin: 0 0 0.5rem 0;
}
.splash-thanks p {
	font-family: var(--wp--preset--font-family--serif);
	color: var(--wp--preset--color--ink-soft);
	margin: 0 0 0.75rem 0;
}

/* Thin footer strip below the splash */
.splash-footer {
	padding: 1.25rem var(--wp--preset--spacing--30);
	background: var(--wp--preset--color--paper);
	border-top: 1px solid var(--wp--preset--color--rule);
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.78rem;
	color: var(--wp--preset--color--ink-soft);
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.75rem 2rem;
}
.splash-footer a {
	color: var(--wp--preset--color--ink-soft);
	text-decoration: underline;
	text-underline-offset: 3px;
}
.splash-footer a:hover { color: var(--wp--preset--color--accent-deep); }

/* Responsive — stack on narrow screens */
@media (max-width: 900px) {
	.splash {
		grid-template-columns: 1fr;
	}
	.splash__text {
		padding: 3rem 1.5rem;
		margin: 0 auto;
		order: 1;
	}
	.splash__visual {
		order: 2;
		min-height: 50vh;
	}
	.splash__headline { font-size: clamp(2.25rem, 9vw, 3.25rem); }
}

@media (max-width: 520px) {
	.splash-form__row { flex-direction: column; }
	.splash-form__row button[type="submit"] {
		margin-left: 0; margin-top: -1.5px;
		width: 100%;
	}
}

.coming-soon__inner {
	max-width: 720px;
	margin: 0 auto;
	width: 100%;
}

.coming-soon__eyebrow {
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--wp--preset--color--wood);
	margin: 0 0 1.75rem 0;
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
}

.coming-soon__eyebrow .pulse {
	display: inline-block;
	width: 8px; height: 8px; border-radius: 50%;
	background: var(--wp--preset--color--accent);
	position: relative;
	box-shadow: 0 0 0 0 rgba(217, 93, 42, 0.5);
	animation: fp-pulse 2.4s ease-out infinite;
}
@keyframes fp-pulse {
	0% { box-shadow: 0 0 0 0 rgba(217, 93, 42, 0.45); }
	70% { box-shadow: 0 0 0 14px rgba(217, 93, 42, 0); }
	100% { box-shadow: 0 0 0 0 rgba(217, 93, 42, 0); }
}

.coming-soon__mark {
	font-family: var(--wp--preset--font-family--serif);
	font-weight: 500;
	font-size: clamp(3.25rem, 8vw, 5.5rem);
	line-height: 1.0;
	letter-spacing: -0.03em;
	color: var(--wp--preset--color--ink);
	margin: 0 0 1.25rem 0;
}

.coming-soon__mark .stop {
	color: var(--wp--preset--color--accent);
}

.coming-soon__lede {
	font-family: var(--wp--preset--font-family--serif);
	font-size: clamp(1.15rem, 1.6vw, 1.4rem);
	font-style: italic;
	line-height: 1.55;
	color: var(--wp--preset--color--ink-soft);
	max-width: 60ch;
	margin: 0 0 2.5rem 0;
}

.coming-soon__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem 2.5rem;
	padding: 1.25rem 0;
	margin: 2rem 0;
	border-top: 1px solid var(--wp--preset--color--rule);
	border-bottom: 1px solid var(--wp--preset--color--rule);
}

.coming-soon__meta dt {
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--wp--preset--color--wood);
	margin: 0 0 0.25rem 0;
}

.coming-soon__meta dd {
	font-family: var(--wp--preset--font-family--serif);
	font-size: 1.1rem;
	color: var(--wp--preset--color--ink);
	margin: 0;
}

.coming-soon__authors {
	display: flex;
	gap: 1rem;
	align-items: center;
	font-size: 0.95rem;
	color: var(--wp--preset--color--ink-soft);
	margin-top: 0.5rem;
}

.coming-soon__authors a {
	color: var(--wp--preset--color--ink);
	text-decoration: none;
	border-bottom: 1px solid var(--wp--preset--color--rule);
	padding-bottom: 1px;
	transition: border-color 0.2s ease, color 0.2s ease;
}
.coming-soon__authors a:hover {
	color: var(--wp--preset--color--accent-deep);
	border-color: var(--wp--preset--color--accent);
}

/* Mini signup form — used on the coming-soon screen */
.flavorpress-form--mini {
	margin-top: 2rem;
}

.flavorpress-form--mini .mini-row {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
	align-items: stretch;
	background: #FFF;
	border: 1px solid var(--wp--preset--color--rule);
	border-radius: 999px;
	padding: 0.35rem 0.35rem 0.35rem 0.35rem;
	box-shadow: 0 18px 34px -28px rgba(28,42,58,0.35);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.flavorpress-form--mini .mini-row:focus-within {
	border-color: var(--wp--preset--color--ink);
	box-shadow: 0 0 0 4px rgba(28,42,58,0.08),
	            0 18px 34px -26px rgba(28,42,58,0.45);
}

.flavorpress-form--mini input[type="email"] {
	flex: 1 1 260px;
	border: none;
	background: transparent;
	padding: 0.85rem 1.1rem;
	font-size: 1.05rem;
	font-family: var(--wp--preset--font-family--sans);
	color: var(--wp--preset--color--ink);
}

.flavorpress-form--mini input[type="email"]:focus {
	outline: none;
	box-shadow: none;
	background: transparent;
}

.flavorpress-form--mini button[type="submit"] {
	flex: 0 0 auto;
	font-family: var(--wp--preset--font-family--sans);
	font-weight: 600;
	font-size: 0.98rem;
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--paper);
	border: none;
	border-radius: 999px;
	padding: 0.85rem 1.5rem;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}
.flavorpress-form--mini button[type="submit"]:hover {
	background: var(--wp--preset--color--accent-deep);
	transform: translateY(-1px);
}

.flavorpress-form--mini .consent {
	margin-top: 1rem;
	font-size: 0.82rem;
	color: var(--wp--preset--color--ink-soft);
}

.flavorpress-form--mini .error-summary {
	margin-bottom: 0.75rem;
}

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

@media (max-width: 520px) {
	.flavorpress-form--mini .mini-row {
		border-radius: 12px;
		padding: 0.4rem;
	}
	.flavorpress-form--mini button[type="submit"] { width: 100%; }
}

/* Subtle decorative dispatch-date stamp for the coming-soon screen */
.dispatch-stamp {
	display: inline-flex;
	gap: 0.6rem;
	align-items: center;
	font-family: var(--wp--preset--font-family--serif);
	font-style: italic;
	font-size: 0.95rem;
	color: var(--wp--preset--color--wood);
	padding: 0.35rem 0.75rem;
	border: 1px dashed var(--wp--preset--color--wood);
	border-radius: 999px;
	margin-top: 0.5rem;
}
.dispatch-stamp::before {
	content: "§";
	font-style: normal;
	color: var(--wp--preset--color--accent);
}
