/* ==========================================================================
   PocketPlan — theme styles
   Colours come from theme.json presets; dark mode overrides them here.
   ========================================================================== */

:root {
	color-scheme: light;
	--pp-header-bg: rgba(245, 242, 237, 0.92);
	--pp-shadow: 0 14px 34px rgba(31, 29, 26, 0.14);
	--pp-radius: 12px;
}

:root[data-theme="dark"],
:root[data-theme="dark"] body {
	color-scheme: dark;
	--wp--preset--color--base: #161513;
	--wp--preset--color--surface: #1E1C1A;
	--wp--preset--color--sand: #26231F;
	--wp--preset--color--sand-2: #2C2925;
	--wp--preset--color--line: #34312C;
	--wp--preset--color--ink: #EEEAE3;
	--wp--preset--color--body: #C9C1B4;
	--wp--preset--color--muted: #A39B8F;
	--wp--preset--color--accent: #A9B48E;
	--wp--preset--color--on-accent: #161513;
	--pp-header-bg: rgba(22, 21, 19, 0.9);
	--pp-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
}

body {
	transition: background-color 0.25s ease, color 0.25s ease;
	-webkit-font-smoothing: antialiased;
}

/* Italic words inside headings become the olive serif accent.
   In the editor: select a word in a heading and press Italic. */
h1 em, h2 em, h3 em, .pp-accent {
	font-family: var(--wp--preset--font-family--dm-serif);
	font-style: italic;
	font-weight: 400;
	letter-spacing: -0.02em;
	color: var(--wp--preset--color--accent);
}

.pp-eyebrow {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
	margin: 0;
}

.pp-lead { font-size: 1.125rem; line-height: 1.55; color: var(--wp--preset--color--body); }
.pp-muted { color: var(--wp--preset--color--muted); }

/* ---------- Header ---------- */
.pp-header {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0);
	z-index: 50;
	background: var(--pp-header-bg);
	-webkit-backdrop-filter: saturate(1.4) blur(12px);
	backdrop-filter: saturate(1.4) blur(12px);
	border-bottom: 1px solid var(--wp--preset--color--line);
}
.pp-header__inner {
	max-width: 1180px;
	margin: 0 auto;
	min-height: 64px;
	gap: 12px;
}
.pp-logo { display: flex; align-items: center; height: 44px; color: var(--wp--preset--color--ink); text-decoration: none; flex: 0 0 auto; }
.pp-logo svg { display: block; height: 24px; width: auto; }
.pp-logo .pp-logo__accent { fill: var(--wp--preset--color--accent); }

.pp-nav .wp-block-navigation-item__content { padding: 0.5rem 0.75rem; border-radius: 6px; text-decoration: none; }
.pp-nav .wp-block-navigation-item__content:hover { background: var(--wp--preset--color--sand); color: var(--wp--preset--color--ink); }
.pp-nav .current-menu-item > .wp-block-navigation-item__content { background: var(--wp--preset--color--sand); font-weight: 600; }
.pp-nav .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--wp--preset--color--base) !important;
	color: var(--wp--preset--color--ink) !important;
	padding: 1.5rem;
}
.pp-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-size: 1.25rem; font-weight: 600; padding: 0.75rem 0; }
.pp-nav .wp-block-navigation__responsive-container-open,
.pp-nav .wp-block-navigation__responsive-container-close { width: 44px; height: 44px; align-items: center; justify-content: center; }

.pp-header__actions { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.pp-icon-btn {
	width: 44px; height: 44px; border: 0; border-radius: 6px; background: transparent;
	color: var(--wp--preset--color--ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
.pp-icon-btn:hover { background: var(--wp--preset--color--sand); }
.pp-icon-btn:focus-visible, .pp-btn:focus-visible { outline: 2px solid var(--wp--preset--color--accent); outline-offset: 2px; }
.pp-theme-toggle .pp-sun { display: none; }
:root[data-theme="dark"] .pp-theme-toggle .pp-sun { display: block; }
:root[data-theme="dark"] .pp-theme-toggle .pp-moon { display: none; }
.pp-btn {
	display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 999px;
	background: var(--wp--preset--color--ink); color: var(--wp--preset--color--base) !important; font-weight: 600; font-size: 0.9375rem;
	text-decoration: none; white-space: nowrap; transition: background-color 0.2s ease;
}
.pp-btn:hover { background: var(--wp--preset--color--accent); color: var(--wp--preset--color--on-accent) !important; }
.pp-btn--ghost { background: transparent; color: var(--wp--preset--color--ink) !important; border: 1px solid var(--wp--preset--color--ink); }

.pp-header__login { font-size: 0.9375rem; font-weight: 500; text-decoration: none; padding: 0 10px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 6px; }
.pp-header__login:hover { background: var(--wp--preset--color--sand); }
@media (max-width: 599px) {
	.pp-header__login { display: none; }
	.pp-header__inner { gap: 4px; }
	.pp-nav { order: 3; }
	.pp-header__actions { margin-left: auto; }
}

/* ---------- Hero ---------- */
.pp-hero { text-align: center; padding-top: clamp(3.5rem, 11vw, 6.5rem); padding-bottom: clamp(2.25rem, 6vw, 3.5rem); }
.pp-hero h1 { max-width: 980px; margin-left: auto; margin-right: auto; }
.pp-hero .pp-lead { max-width: 520px; margin-left: auto; margin-right: auto; }
.pp-text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; min-height: 44px; text-decoration: none; }
.pp-text-link svg { transition: transform 0.2s ease; }
.pp-text-link:hover svg { transform: translateX(3px); }

/* ---------- Recipe cards: row on desktop, swipe stack on phones ---------- */
.pp-stack { max-width: 1180px; margin: 0 auto; padding-bottom: clamp(4rem, 8vw, 6.5rem); }
.pp-stack__deck { display: flex; gap: 16px; }
.pp-card {
	position: relative; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 12px;
	color: var(--wp--preset--color--ink); text-decoration: none;
}
.pp-card__img { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: var(--wp--preset--color--sand-2); }
.pp-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.pp-card:hover .pp-card__img img { transform: scale(1.03); }
.pp-card__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 0.9375rem; }
.pp-card__name { font-weight: 600; }
.pp-card__stat { color: var(--wp--preset--color--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.pp-card__meal { display: none; }
.pp-card__stamp, .pp-stack__controls, .pp-stack__hint { display: none; }
.pp-stack__deck .pp-card:nth-child(n+4) { display: none; }

@media (max-width: 759px) {
	.pp-stack { padding-bottom: 4.5rem; overflow: hidden; }
	.pp-stack__deck { position: relative; display: block; max-width: 400px; margin: 0 auto; aspect-ratio: 1 / 1.18; }
	.pp-stack__deck .pp-card:nth-child(n+4) { display: flex; }
	.pp-card {
		position: absolute; inset: 0; border-radius: 18px; overflow: hidden; box-shadow: var(--pp-shadow); gap: 0;
		touch-action: pan-y; user-select: none; -webkit-user-select: none; will-change: transform;
		transition: transform 0.3s ease, opacity 0.3s ease;
	}
	.pp-card.is-dragging { transition: none; cursor: grabbing; }
	.pp-card__img { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
	.pp-card__img img { pointer-events: none; }
	.pp-card__meta {
		position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2; padding: 12px 14px; border-radius: 12px;
		background: var(--wp--preset--color--surface); align-items: center;
	}
	.pp-card__meal { display: block; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wp--preset--color--muted); }
	.pp-card__stamp {
		display: block; position: absolute; top: 22px; z-index: 3; padding: 6px 12px; border-radius: 8px; border: 3px solid;
		background: var(--wp--preset--color--surface); font-size: 1.125rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
		opacity: 0; pointer-events: none;
	}
	.pp-card__stamp--save { left: 18px; color: var(--wp--preset--color--accent); transform: rotate(-12deg); }
	.pp-card__stamp--skip { right: 18px; color: var(--wp--preset--color--ink); transform: rotate(12deg); }
	.pp-stack__controls { display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 28px; }
	.pp-stack__btn {
		width: 56px; height: 56px; border-radius: 999px; border: 1px solid var(--wp--preset--color--line); cursor: pointer;
		background: var(--wp--preset--color--surface); color: var(--wp--preset--color--ink); display: inline-flex; align-items: center; justify-content: center;
	}
	.pp-stack__btn--save { background: var(--wp--preset--color--accent); color: var(--wp--preset--color--on-accent); border: 0; }
	.pp-stack__count { min-width: 64px; text-align: center; font-size: 0.8125rem; font-weight: 600; color: var(--wp--preset--color--muted); font-variant-numeric: tabular-nums; }
	.pp-stack__hint { display: block; margin: 14px 0 0; text-align: center; font-size: 0.8125rem; color: var(--wp--preset--color--muted); }
}

/* ---------- How it works ---------- */
.pp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 32px; }
.pp-steps li { border-top: 2px solid var(--wp--preset--color--line); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.pp-steps li:first-child { border-top-color: var(--wp--preset--color--accent); }
.pp-steps__when { font-size: 0.8125rem; font-weight: 600; color: var(--wp--preset--color--muted); }
.pp-steps li:first-child .pp-steps__when { color: var(--wp--preset--color--accent); }
.pp-steps__title { font-size: 1.125rem; font-weight: 700; letter-spacing: -0.02em; }
.pp-steps__body { font-size: 0.9375rem; line-height: 1.55; color: var(--wp--preset--color--body); }

/* ---------- Recipe rail (scrolls sideways on phones) ---------- */
.pp-rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pp-rail__card { display: flex; flex-direction: column; border-radius: 10px; overflow: hidden; background: var(--wp--preset--color--surface); color: var(--wp--preset--color--ink); text-decoration: none; }
.pp-rail__card img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; display: block; background: var(--wp--preset--color--sand-2); }
.pp-rail__body { padding: 14px; display: flex; flex-direction: column; gap: 6px; }
.pp-rail__meal { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wp--preset--color--muted); }
.pp-rail__name { font-size: 1rem; font-weight: 600; line-height: 1.25; }
.pp-rail__stat { font-size: 0.8125rem; color: var(--wp--preset--color--body); }
@media (max-width: 900px) { .pp-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 759px) {
	.pp-rail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--wp--style--root--padding-right, 20px)); padding: 0 var(--wp--style--root--padding-right, 20px) 8px; scrollbar-width: none; }
	.pp-rail::-webkit-scrollbar { display: none; }
	.pp-rail__card { flex: 0 0 72%; scroll-snap-align: start; }
}

/* ---------- Cards, panels, pricing ---------- */
.pp-panel { background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--line); border-radius: var(--pp-radius); }
.pp-price { display: flex; align-items: baseline; gap: 6px; }
.pp-price__amount { font-size: clamp(2.25rem, 5vw, 3rem); font-weight: 600; letter-spacing: -0.04em; }
.pp-billing { display: inline-flex; background: var(--wp--preset--color--sand); border-radius: 999px; padding: 3px; gap: 2px; }
.pp-billing button { font: inherit; font-size: 0.8125rem; font-weight: 600; height: 36px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--wp--preset--color--ink); cursor: pointer; }
.pp-billing button[aria-pressed="true"] { background: var(--wp--preset--color--ink); color: var(--wp--preset--color--base); }
.pp-ticks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; font-size: 0.9375rem; }
.pp-ticks li::before { content: "✓"; color: var(--wp--preset--color--accent); font-weight: 700; margin-right: 8px; }
@media (max-width: 480px) { .pp-ticks { grid-template-columns: 1fr; } }

/* ---------- Calculator ---------- */
.pp-calc { overflow: hidden; }
.pp-calc__controls { padding: 20px; display: flex; flex-direction: column; gap: 18px; border-bottom: 1px solid var(--wp--preset--color--line); }
.pp-calc label { font-size: 0.8125rem; font-weight: 600; display: flex; flex-direction: column; gap: 10px; }
.pp-calc__row { display: flex; justify-content: space-between; }
.pp-calc input[type="range"] { width: 100%; accent-color: var(--wp--preset--color--accent); }
.pp-calc__goals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--wp--preset--color--line); border-radius: 8px; overflow: hidden; }
.pp-calc__goals button { font: inherit; font-size: 0.875rem; height: 44px; border: 0; background: transparent; color: var(--wp--preset--color--ink); cursor: pointer; }
.pp-calc__goals button[aria-pressed="true"] { background: var(--wp--preset--color--accent); color: var(--wp--preset--color--on-accent); font-weight: 600; }
.pp-calc__out { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.pp-calc__out div { padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; border-right: 1px solid var(--wp--preset--color--line); }
.pp-calc__out div:last-child { border-right: 0; }
.pp-calc__label { font-size: 0.75rem; color: var(--wp--preset--color--muted); }
.pp-calc__value { font-size: 1.75rem; font-weight: 700; letter-spacing: -0.03em; }
.pp-calc__note { padding: 14px 20px; border-top: 1px solid var(--wp--preset--color--line); background: var(--wp--preset--color--sand); font-size: 0.8125rem; color: var(--wp--preset--color--body); margin: 0; }

/* ---------- FAQ ---------- */
.wp-block-details summary { font-size: 1.0625rem; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: "+"; color: var(--wp--preset--color--muted); font-weight: 400; font-size: 1.25rem; line-height: 1; }
.wp-block-details[open] summary::after { content: "−"; }
.wp-block-details > :not(summary) { color: var(--wp--preset--color--body); margin-top: 0.75rem; }

/* ---------- Footer ---------- */
.pp-footer { background: #1F1D1A; color: #C9C1B4; }
:root[data-theme="dark"] .pp-footer { background: #0F0E0D; }
.pp-footer a { color: #F5F2ED; text-decoration: none; }
.pp-footer a:hover { color: #A9B48E; }
.pp-footer .pp-logo { color: #F5F2ED; }
.pp-footer .pp-logo .pp-logo__accent { fill: #A9B48E; }
.pp-footer__links { display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: 0.875rem; }
.pp-footer__legal { font-size: 0.8125rem; color: #A39B8F; border-top: 1px solid #3A3631; padding-top: 1.25rem; }

/* ---------- Members' tab bar (phones, logged in) ---------- */
.pp-tabbar { display: none; }
@media (max-width: 859px) {
	body.pp-member { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
	body.pp-member .pp-tabbar {
		display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
		padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); background: var(--pp-header-bg);
		-webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--wp--preset--color--line);
	}
	.pp-tabbar a { min-height: 52px; border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--wp--preset--color--body); text-decoration: none; font-size: 0.6875rem; font-weight: 600; }
	.pp-tabbar a[aria-current="page"] { color: var(--wp--preset--color--accent); background: var(--wp--preset--color--sand); }
}

/* ---------- WP Recipe Maker ---------- */
.wprm-recipe-container, .wprm-recipe { font-family: var(--wp--preset--font-family--manrope) !important; color: var(--wp--preset--color--ink); }
.wprm-recipe { background: var(--wp--preset--color--surface) !important; border: 1px solid var(--wp--preset--color--line) !important; border-radius: var(--pp-radius); padding: clamp(1rem, 3vw, 1.75rem) !important; }
.wprm-recipe-name { font-weight: 700 !important; letter-spacing: -0.035em !important; color: var(--wp--preset--color--ink) !important; }
.wprm-recipe-header { font-weight: 700 !important; letter-spacing: -0.02em !important; color: var(--wp--preset--color--ink) !important; }
.wprm-recipe-summary, .wprm-recipe-instruction-text { color: var(--wp--preset--color--body) !important; line-height: 1.6; }
.wprm-recipe-link, .wprm-recipe-jump, .wprm-recipe-print { border-radius: 999px !important; background: var(--wp--preset--color--ink) !important; color: var(--wp--preset--color--base) !important; border: 0 !important; font-weight: 600 !important; }
.wprm-nutrition-label-container { color: var(--wp--preset--color--body) !important; }
.wprm-recipe-ingredient { border-bottom: 1px solid var(--wp--preset--color--line); padding: 0.4rem 0; }

/* ---------- MemberPress ---------- */
.mepr-form label, .mp-form-label label { font-weight: 600; font-size: 0.875rem; color: var(--wp--preset--color--ink); }
.mepr-form input[type="text"], .mepr-form input[type="email"], .mepr-form input[type="password"], .mepr-form select,
.mp-form-row input[type="text"], .mp-form-row input[type="email"], .mp-form-row input[type="password"] {
	width: 100%; min-height: 46px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--wp--preset--color--line);
	background: var(--wp--preset--color--surface); color: var(--wp--preset--color--ink); font: inherit; box-sizing: border-box;
}
.mepr-submit, .mepr-form input[type="submit"], .mepr-share-button {
	min-height: 48px; padding: 0 26px; border-radius: 999px; border: 0; background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--on-accent); font: inherit; font-weight: 600; cursor: pointer;
}
.mepr-unauthorized-message, .mepr_error { background: var(--wp--preset--color--sand); border-radius: var(--pp-radius); padding: 1.25rem; border: 0; color: var(--wp--preset--color--ink); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ==========================================================================
   v1.1 — motion, colour and detail
   ========================================================================== */
html, body { overflow-x: clip; }
[hidden] { display: none !important; }
.pp-billing { align-self: flex-start; }

:root {
	--pp-glow-1: rgba(169, 180, 142, 0.55);
	--pp-glow-2: rgba(236, 196, 160, 0.55);
	--pp-glow-3: rgba(78, 90, 60, 0.22);
	--pp-ease: cubic-bezier(0.22, 1, 0.36, 1);
}
:root[data-theme="dark"] { --pp-glow-1: rgba(169, 180, 142, 0.22); --pp-glow-2: rgba(200, 140, 90, 0.18); --pp-glow-3: rgba(169, 180, 142, 0.12); }
/* Scroll progress line */
.pp-progress { position: fixed; top: var(--wp-admin--admin-bar--height, 0); left: 0; right: 0; height: 2px; z-index: 70; pointer-events: none; }
.pp-progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--wp--preset--color--accent), #C9A27A, var(--wp--preset--color--accent)); background-size: 200% 100%; animation: pp-slide 6s linear infinite; }

/* Header gains a soft shadow once you scroll */
.pp-header { transition: box-shadow 0.3s ease, background-color 0.3s ease; }
.pp-header.is-scrolled { box-shadow: 0 8px 30px rgba(31, 29, 26, 0.08); }

/* Hero: drifting colour glow + fine grain */
.pp-hero { position: relative; isolation: isolate; }
.pp-hero h1 { max-width: 1180px; }
.pp-hero::before {
	content: ""; position: absolute; z-index: -2; inset: -8% -30% -12%; pointer-events: none;
	background:
		radial-gradient(38% 46% at 22% 34%, var(--pp-glow-1), transparent 70%),
		radial-gradient(32% 42% at 78% 22%, var(--pp-glow-2), transparent 70%),
		radial-gradient(42% 46% at 58% 82%, var(--pp-glow-3), transparent 72%);
	filter: blur(30px);
	animation: pp-drift 22s ease-in-out infinite alternate;
}
.pp-hero::after {
	content: ""; position: absolute; z-index: -1; inset: -8% -30% -12%; pointer-events: none; opacity: 0.07; mix-blend-mode: multiply;
	background-image: 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' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
@keyframes pp-drift {
	0% { transform: translate3d(-4%, 0, 0) scale(1) rotate(0deg); }
	50% { transform: translate3d(3%, -3%, 0) scale(1.08) rotate(4deg); }
	100% { transform: translate3d(-1%, 3%, 0) scale(1.03) rotate(-3deg); }
}

/* Hand-drawn swash under the italic hero word */
.pp-hero h1 em { position: relative; display: inline-block; }
.pp-hero h1 em::after {
	content: ""; position: absolute; left: 2%; right: 2%; bottom: -0.08em; height: 0.22em; pointer-events: none;
	background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 24' preserveAspectRatio='none'><path d='M4 16 C 60 4, 120 22, 180 10 S 270 6, 296 14' fill='none' stroke='%23A9B48E' stroke-width='6' stroke-linecap='round'/></svg>") no-repeat center / 100% 100%;
	transform: scaleX(0); transform-origin: 0 50%; animation: pp-draw 1.1s var(--pp-ease) 0.7s forwards;
}
@keyframes pp-draw { to { transform: scaleX(1); } }

/* Hero stats */
.pp-stats { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 32px; margin: 28px auto 0; padding: 0; list-style: none; font-size: 0.875rem; color: var(--wp--preset--color--body); }
.pp-stats li { display: flex; align-items: baseline; gap: 6px; }
.pp-stats strong { font-size: 1.375rem; font-weight: 800; letter-spacing: -0.03em; color: var(--wp--preset--color--ink); font-variant-numeric: tabular-nums; }
.pp-stats li + li::before { content: ""; width: 4px; height: 4px; border-radius: 999px; background: var(--wp--preset--color--accent); align-self: center; margin-right: 26px; opacity: 0.6; }
@media (max-width: 599px) { .pp-stats li + li::before { display: none; } .pp-stats { gap: 8px 20px; } }

/* Buttons: lift + light sweep */
.wp-block-button__link, .pp-btn { transition: transform 0.25s var(--pp-ease), background-color 0.2s ease, color 0.2s ease, box-shadow 0.25s ease; }
.wp-block-button__link:hover, .pp-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(31, 29, 26, 0.14); }
.wp-block-button:not(.is-style-outline) .wp-block-button__link { position: relative; overflow: hidden; isolation: isolate; }
.wp-block-button:not(.is-style-outline) .wp-block-button__link::after {
	content: ""; position: absolute; inset: 0; z-index: -1; transform: translateX(-120%);
	background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
}
.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover::after { transform: translateX(120%); transition: transform 0.8s ease; }
.wp-block-button.is-style-outline .wp-block-button__link { border-width: 1px; }
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--wp--preset--color--ink); color: var(--wp--preset--color--base); border-color: var(--wp--preset--color--ink); }

/* Recipe cards: lift and gentle 3D tilt (desktop) */
@media (min-width: 760px) {
	.pp-card { perspective: 900px; }
	.pp-card__img { transition: transform 0.5s var(--pp-ease), box-shadow 0.5s var(--pp-ease); transform-style: preserve-3d; }
	.pp-card:hover .pp-card__img { box-shadow: 0 22px 44px rgba(31, 29, 26, 0.18); }
	.pp-card__img::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, 0.22), transparent 55%); opacity: 0; transition: opacity 0.4s ease; }
	.pp-card:hover .pp-card__img::after { opacity: 1; }
	.pp-stack__deck .pp-card:nth-child(2) { margin-top: 36px; }
}

/* Ticker ribbon */
.pp-ticker { overflow: hidden; background: var(--wp--preset--color--accent); color: var(--wp--preset--color--on-accent); padding: 14px 0; transform: rotate(-1.2deg); margin: 0 -2vw; box-shadow: 0 10px 30px rgba(31, 29, 26, 0.12); }
.pp-ticker__track { display: flex; width: max-content; animation: pp-marquee 38s linear infinite; }
.pp-ticker:hover .pp-ticker__track { animation-play-state: paused; }
.pp-ticker__group { display: flex; align-items: center; gap: 28px; padding-right: 28px; white-space: nowrap; font-size: 0.9375rem; font-weight: 700; letter-spacing: -0.01em; }
.pp-ticker__group em { font-family: var(--wp--preset--font-family--dm-serif); font-weight: 400; font-size: 1.125rem; opacity: 0.85; }
.pp-ticker__star { font-size: 0.75rem; opacity: 0.7; }
@keyframes pp-marquee { to { transform: translateX(-50%); } }
.pp-ticker-wrap { padding: 8px 0 clamp(3.5rem, 7vw, 5rem); overflow: hidden; }

/* How it works: lines fill in as you scroll */
.pp-steps li { position: relative; border-top-color: var(--wp--preset--color--line) !important; }
.pp-steps li::before { content: ""; position: absolute; top: -2px; left: 0; height: 2px; width: 100%; background: var(--wp--preset--color--accent); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1s var(--pp-ease); }
.pp-steps li.is-in::before, .no-pp-motion .pp-steps li::before { transform: scaleX(1); }
.pp-steps li:nth-child(2)::before { transition-delay: 0.35s; }
.pp-steps li:nth-child(3)::before { transition-delay: 0.7s; }
.pp-steps__num { font-family: var(--wp--preset--font-family--dm-serif); font-style: italic; font-size: 2.5rem; line-height: 1; color: var(--wp--preset--color--accent); opacity: 0.9; }

/* Pricing: slow sheen across the membership card */
.pp-plan { position: relative; overflow: hidden; isolation: isolate; }
.pp-plan::before { content: ""; position: absolute; inset: -40%; z-index: -1; background: conic-gradient(from 0deg, transparent 0 70%, rgba(169, 180, 142, 0.28) 80%, transparent 90%); animation: pp-spin 12s linear infinite; }
.pp-plan::after { content: ""; position: absolute; inset: 1px; z-index: -1; border-radius: 13px; background: #1F1D1A; }
@keyframes pp-spin { to { transform: rotate(360deg); } }
.pp-popular { align-self: flex-start; font-size: 0.6875rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: #A9B48E; color: #1F1D1A; }

/* Closing CTA: moving colour wash */
.pp-cta { position: relative; overflow: hidden; isolation: isolate; background: var(--wp--preset--color--sand) !important; }
.pp-cta::before { content: ""; position: absolute; inset: -50%; z-index: -1; background: radial-gradient(30% 40% at 30% 40%, var(--pp-glow-2), transparent 70%), radial-gradient(30% 40% at 70% 60%, var(--pp-glow-1), transparent 70%); filter: blur(30px); animation: pp-drift 18s ease-in-out infinite alternate-reverse; }

/* FAQ: smooth reveal and hover tint */
.wp-block-details { transition: background-color 0.2s ease; padding-left: 10px !important; padding-right: 10px !important; border-radius: 8px; }
.wp-block-details:hover { background: color-mix(in srgb, var(--wp--preset--color--sand) 55%, transparent); }
.wp-block-details[open] > :not(summary) { animation: pp-fade 0.35s var(--pp-ease); }
.wp-block-details summary::after { transition: transform 0.3s var(--pp-ease); }
.wp-block-details[open] summary::after { transform: rotate(180deg); }

/* Scroll reveal (only when JS + motion are available) */
.pp-motion .pp-reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--pp-ease), transform 0.8s var(--pp-ease); }
.pp-motion .pp-reveal.is-in { opacity: 1; transform: none; }
@media (max-width: 759px) { .pp-motion .pp-stack .pp-reveal { opacity: 1; transform: none; } }

@keyframes pp-fade { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@keyframes pp-slide { to { background-position: 200% 0; } }

/* Hero entrance */
.pp-motion .pp-hero > * { animation: pp-rise 0.9s var(--pp-ease) both; }
.pp-motion .pp-hero > *:nth-child(2) { animation-delay: 0.08s; }
.pp-motion .pp-hero > *:nth-child(3) { animation-delay: 0.18s; }
.pp-motion .pp-hero > *:nth-child(4) { animation-delay: 0.26s; }
.pp-motion .pp-hero > *:nth-child(5) { animation-delay: 0.34s; }
@keyframes pp-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
	.pp-hero::before, .pp-cta::before, .pp-plan::before, .pp-ticker__track, .pp-progress span { animation: none !important; }
	.pp-hero h1 em::after { transform: scaleX(1); animation: none; }
}
main.wp-block-group { overflow-x: clip; }
.pp-stack { padding-bottom: clamp(2rem, 4vw, 3rem); }
.pp-hero .pp-lead { max-width: 540px; }
@media (max-width: 599px) { .pp-stats { font-size: 0.8125rem; } .pp-stats strong { font-size: 1.125rem; } }
.pp-hero::before, .pp-hero::after, .pp-cta::before {
	-webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
	mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
}
:root[data-theme="dark"] .pp-hero::after { mix-blend-mode: soft-light; opacity: 0.12; }

/* ==========================================================================
   v1.2 — Recipes library (locked preview + members), Learn, Meet Pocket
   ========================================================================== */
.pp-page-recipes, .pp-page-learn { padding-top: clamp(2rem, 5vw, 4rem); padding-bottom: var(--wp--preset--spacing--60); }
.pp-page-recipes > *, .pp-page-learn > * { max-width: 1180px !important; }

/* Chips (shared) */
.pp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pp-chips button {
	height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--wp--preset--color--line);
	background: var(--wp--preset--color--surface); color: var(--wp--preset--color--ink); font: inherit; font-size: 0.875rem; font-weight: 600; cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.pp-chips button:hover { border-color: var(--wp--preset--color--ink); }
.pp-chips button[aria-pressed="true"] { background: var(--wp--preset--color--ink); color: var(--wp--preset--color--base); border-color: var(--wp--preset--color--ink); }
.pp-chips--quiet button { height: 32px; padding: 0 12px; font-size: 0.8125rem; background: transparent; }
.pp-chips--quiet button[aria-pressed="true"] { background: var(--wp--preset--color--accent); border-color: var(--wp--preset--color--accent); color: var(--wp--preset--color--on-accent); }
@media (max-width: 599px) {
	.pp-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -20px; padding-inline: 20px; }
	.pp-chips::-webkit-scrollbar { display: none; }
	.pp-chips button { flex: 0 0 auto; }
}

/* Locked library */
.pp-ll { display: flex; flex-direction: column; gap: clamp(3.5rem, 8vw, 6rem); }
.pp-ll h2 { margin: 0; font-size: clamp(1.9rem, 3.6vw, 2.75rem); letter-spacing: -0.035em; line-height: 1.08; }
.pp-ll__hero { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.pp-ll__intro { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.pp-ll__intro .pp-eyebrow { display: inline-flex; align-items: center; gap: 8px; }
.pp-ll__title { margin: 0; font-size: clamp(2.75rem, 6.4vw, 5rem); line-height: 0.98; letter-spacing: -0.045em; }
.pp-ll__intro .pp-lead { margin: 0; max-width: 520px; }
.pp-ll__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.pp-ll__login { margin: 0; font-size: 0.9375rem; color: var(--wp--preset--color--muted); }
.pp-ll__login a { color: var(--wp--preset--color--ink); font-weight: 600; }

.pp-ll__block {
	position: relative; overflow: hidden; isolation: isolate; border-radius: 18px; padding: 28px; color: #F5F2ED; background: #1F1D1A;
	display: flex; flex-direction: column; gap: 16px; box-shadow: var(--pp-shadow);
}
.pp-ll__block::before { content: ""; position: absolute; inset: -50%; z-index: -1; background: conic-gradient(from 0deg, transparent 0 68%, rgba(169, 180, 142, 0.35) 80%, rgba(201, 162, 122, 0.25) 86%, transparent 92%); animation: pp-spin 14s linear infinite; }
.pp-ll__block::after { content: ""; position: absolute; inset: 1px; z-index: -1; border-radius: 17px; background: radial-gradient(120% 80% at 100% 0%, rgba(169, 180, 142, 0.14), transparent 60%), #1F1D1A; }
.pp-ll__block-head { display: flex; justify-content: space-between; align-items: center; }
.pp-ll__pill { display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px; border-radius: 999px; background: rgba(169, 180, 142, 0.16); color: #C8D1B0; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.pp-ll__dot { width: 7px; height: 7px; border-radius: 50%; background: #A9B48E; box-shadow: 0 0 0 0 rgba(169, 180, 142, 0.7); animation: pp-pulse 2s ease-out infinite; }
@keyframes pp-pulse { 70% { box-shadow: 0 0 0 8px rgba(169, 180, 142, 0); } 100% { box-shadow: 0 0 0 0 rgba(169, 180, 142, 0); } }
.pp-ll__block-num { font-size: 0.8125rem; color: #A39B8F; font-weight: 600; }
.pp-ll__block-total { margin: 0; font-size: 1.125rem; color: #C9C1B4; }
.pp-ll__block-total strong { display: block; font-family: var(--wp--preset--font-family--dm-serif); font-weight: 400; font-style: italic; font-size: 4.5rem; line-height: 0.9; color: #F5F2ED; letter-spacing: -0.02em; }
.pp-ll__meals { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 0.875rem; }
.pp-ll__meals li { display: grid; grid-template-columns: 78px 1fr 18px; gap: 12px; align-items: center; color: #C9C1B4; }
.pp-ll__meals b { color: #F5F2ED; text-align: right; }
.pp-ll__bar { height: 6px; border-radius: 99px; background: rgba(245, 242, 237, 0.1); overflow: hidden; }
.pp-ll__bar i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, #4E5A3C, #A9B48E); transform-origin: 0 50%; }
.pp-motion .pp-ll__bar i { transform: scaleX(0); transition: transform 1.1s var(--pp-ease); }
.pp-motion .pp-ll__block.is-in .pp-ll__bar i { transform: scaleX(1); }
.pp-ll__meals li:nth-child(2) .pp-ll__bar i { transition-delay: 0.1s; }
.pp-ll__meals li:nth-child(3) .pp-ll__bar i { transition-delay: 0.2s; }
.pp-ll__meals li:nth-child(4) .pp-ll__bar i { transition-delay: 0.3s; }
.pp-ll__block-foot { margin: 4px 0 0; padding-top: 14px; border-top: 1px solid rgba(245, 242, 237, 0.1); font-size: 0.8125rem; color: #A39B8F; }

.pp-ll__preview { display: flex; flex-direction: column; gap: 20px; }
.pp-ll__toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.pp-ll__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pp-ll__card {
	position: relative; display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; text-decoration: none; color: inherit;
	background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--line);
	transition: transform 0.35s var(--pp-ease), box-shadow 0.35s var(--pp-ease);
}
.pp-ll__card[hidden] { display: none !important; }
.pp-ll__card:hover { transform: translateY(-4px); box-shadow: var(--pp-shadow); }
.pp-ll__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--wp--preset--color--sand); }
.pp-ll__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--pp-ease), filter 0.4s ease; -webkit-user-drag: none; user-select: none; pointer-events: none; }
.pp-ll__card:hover .pp-ll__img img { transform: scale(1.04); }
.pp-ll__lock {
	position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: 999px;
	background: rgba(31, 29, 26, 0.72); color: #F5F2ED; font-size: 0.75rem; font-weight: 600; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.pp-ll__body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; }
.pp-ll__meta { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wp--preset--color--muted); }
.pp-ll__name { font-weight: 700; font-size: 1.0625rem; letter-spacing: -0.02em; color: var(--wp--preset--color--ink); }
.pp-ll__redacted { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.pp-ll__redacted i { display: block; height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--wp--preset--color--sand) 0%, var(--wp--preset--color--sand-2) 50%, var(--wp--preset--color--sand) 100%); background-size: 200% 100%; animation: pp-slide 3.2s linear infinite; }
.pp-ll__redacted i:nth-child(2) { width: 82%; }
.pp-ll__redacted i:nth-child(3) { width: 58%; }
.pp-ll__card--more {
	justify-content: center; align-items: flex-start; gap: 6px; padding: 28px; min-height: 260px; color: #F5F2ED; border-color: transparent;
	background: radial-gradient(120% 90% at 0% 100%, rgba(169, 180, 142, 0.35), transparent 60%), radial-gradient(90% 80% at 100% 0%, rgba(201, 162, 122, 0.28), transparent 60%), #1F1D1A;
}
.pp-ll__more-num { font-family: var(--wp--preset--font-family--dm-serif); font-style: italic; font-size: 4.25rem; line-height: 0.95; }
.pp-ll__more-text { color: #C9C1B4; }
.pp-ll__card--more .pp-text-link { color: #F5F2ED; margin-top: 8px; }

.pp-ll__inside { display: flex; flex-direction: column; gap: 28px; }
.pp-ll__features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.pp-ll__features li { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 14px; border: 1px solid var(--wp--preset--color--line); background: var(--wp--preset--color--surface); }
.pp-ll__features strong { color: var(--wp--preset--color--ink); letter-spacing: -0.015em; margin-top: 6px; }
.pp-ll__features span:last-child { font-size: 0.9375rem; color: var(--wp--preset--color--body); }
.pp-ll__ico { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--wp--preset--color--sand); color: var(--wp--preset--color--accent); }

.pp-ll__drip { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.pp-ll__drip-copy { display: flex; flex-direction: column; gap: 14px; }
.pp-ll__drip-copy p { margin: 0; color: var(--wp--preset--color--body); max-width: 440px; }
.pp-ll__track { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pp-ll__track::before { content: ""; position: absolute; top: 9px; left: 9px; right: calc((100% - 30px) / 4 - 11px); height: 2px; background: var(--wp--preset--color--line); }
.pp-ll__track::after { content: ""; position: absolute; top: 9px; left: 9px; right: calc((100% - 30px) / 4 - 11px); height: 2px; background: linear-gradient(90deg, var(--wp--preset--color--accent), #C9A27A); transform-origin: 0 50%; transition: transform 1.6s var(--pp-ease); }
.pp-motion .pp-ll__track::after { transform: scaleX(0.04); }
.pp-motion .pp-ll__track.is-in::after { transform: scaleX(1); }
.pp-ll__track li { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 4px; padding-top: 32px; font-size: 0.875rem; color: var(--wp--preset--color--muted); }
.pp-ll__track li::before { content: ""; position: absolute; top: 0; left: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--wp--preset--color--base); border: 2px solid var(--wp--preset--color--line); box-sizing: border-box; }
.pp-ll__track li.is-live::before { border-color: var(--wp--preset--color--accent); background: var(--wp--preset--color--accent); box-shadow: 0 0 0 5px rgba(78, 90, 60, 0.15); }
.pp-ll__track b { color: var(--wp--preset--color--ink); font-size: 1rem; }

.pp-ll__cta { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 14px; }
.pp-ll__cta-main {
	position: relative; overflow: hidden; isolation: isolate; border-radius: 18px; padding: clamp(28px, 4vw, 44px); background: #1F1D1A; color: #E4DDD1;
	display: flex; flex-direction: column; gap: 14px; align-items: flex-start;
}
.pp-ll__cta-main::before { content: ""; position: absolute; inset: -30%; z-index: -1; background: radial-gradient(40% 50% at 20% 80%, rgba(169, 180, 142, 0.35), transparent 70%), radial-gradient(35% 45% at 85% 20%, rgba(201, 162, 122, 0.3), transparent 70%); animation: pp-drift 18s ease-in-out infinite alternate; }
.pp-ll__cta-main h2 { color: #F5F2ED; }
.pp-ll__cta-main h2 em { color: #C8D1B0; }
.pp-ll__cta-main p { margin: 0; max-width: 460px; }
.pp-ll__cta-main .pp-btn { background: #F5F2ED; color: #1F1D1A !important; margin-top: 6px; }
.pp-ll__cta-main .pp-btn:hover { background: #A9B48E; }
.pp-ll__cta-side { border-radius: 18px; padding: clamp(24px, 3vw, 36px); border: 1px solid var(--wp--preset--color--line); background: var(--wp--preset--color--surface); display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.pp-ll__cta-side p { margin: 0; color: var(--wp--preset--color--body); }

@media (max-width: 959px) {
	.pp-ll__features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pp-ll__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 759px) {
	.pp-ll__hero, .pp-ll__drip, .pp-ll__cta { grid-template-columns: 1fr; }
	.pp-ll__block-total strong { font-size: 3.5rem; }
}
@media (max-width: 599px) {
	.pp-ll__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.pp-ll__body { padding: 12px 12px 14px; }
	.pp-ll__name { font-size: 0.9375rem; }
	.pp-ll__meta { font-size: 0.6875rem; letter-spacing: 0.04em; }
	.pp-ll__lock { top: 8px; left: 8px; height: 24px; padding: 0 9px; font-size: 0.6875rem; }
	.pp-ll__redacted { display: none; }
	.pp-ll__card--more { min-height: 0; padding: 18px; }
	.pp-ll__more-num { font-size: 3rem; }
	.pp-ll__features { grid-template-columns: 1fr; }
	.pp-ll__features li { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 14px; padding: 18px; }
	.pp-ll__features strong { margin: 0; }
	.pp-ll__features span:last-child { flex-basis: 100%; }
	.pp-ll__track { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.pp-ll__track li { font-size: 0.75rem; }
	.pp-ll__track b { font-size: 0.875rem; }
	.pp-ll__actions .pp-btn { flex: 1 1 auto; justify-content: center; }
}

/* Members' library */
.pp-library { display: flex; flex-direction: column; gap: 18px; }
.pp-library__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 8px; }
.pp-library__title { margin: 6px 0 0; font-size: clamp(2.5rem, 5.5vw, 4.25rem); line-height: 1; letter-spacing: -0.045em; }
.pp-library__search input { height: 44px; width: min(320px, 100%); padding: 0 16px; border-radius: 999px; border: 1px solid var(--wp--preset--color--line); background: var(--wp--preset--color--surface); color: var(--wp--preset--color--ink); font: inherit; }
.pp-library__empty { color: var(--wp--preset--color--muted); }
.pp-lib-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin-top: 8px; }
.pp-lib-card { display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; text-decoration: none; color: inherit; background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--line); transition: transform 0.35s var(--pp-ease), box-shadow 0.35s var(--pp-ease); }
.pp-lib-card[hidden] { display: none !important; }
.pp-lib-card:hover { transform: translateY(-4px); box-shadow: var(--pp-shadow); }
.pp-lib-card__img { position: relative; aspect-ratio: 4 / 3; background: var(--wp--preset--color--sand); overflow: hidden; }
.pp-lib-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.pp-lib-card.is-locked { cursor: default; }
.pp-lib-card.is-locked:hover { transform: none; box-shadow: none; }
.pp-lib-card.is-locked .pp-lib-card__img img { filter: blur(14px) saturate(0.8); transform: scale(1.15); }
.pp-lib-card__lock { position: absolute; inset: auto auto 12px 12px; height: 28px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 999px; background: rgba(31, 29, 26, 0.75); color: #F5F2ED; font-size: 0.75rem; font-weight: 600; }
.pp-lib-card__body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 18px; }
.pp-lib-card__meta { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wp--preset--color--muted); }
.pp-lib-card__title { font-weight: 700; letter-spacing: -0.02em; color: var(--wp--preset--color--ink); }
.pp-lib-card__macros { font-size: 0.875rem; color: var(--wp--preset--color--accent); font-weight: 600; }

/* Lock panel (single recipes, empty states) */
.pp-lockpanel { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: clamp(32px, 6vw, 64px) 24px; border-radius: 18px; border: 1px solid var(--wp--preset--color--line); background: var(--wp--preset--color--surface); }
.pp-lockpanel h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.25rem); letter-spacing: -0.03em; }
.pp-lockpanel p { margin: 0; color: var(--wp--preset--color--body); max-width: 460px; }
.pp-lockpanel__icon { width: 52px; height: 52px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--wp--preset--color--sand); color: var(--wp--preset--color--accent); }
.pp-lockpanel__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: center; margin-top: 6px; }
.pp-lockpanel--quiet { align-items: flex-start; text-align: left; }

/* Learn */
.pp-page-learn { display: flex; flex-direction: column; gap: clamp(3rem, 7vw, 5rem); }
.pp-learn-hero { display: block; }
.pp-learn-calc { display: flex; flex-direction: column; gap: 16px; }
.pp-learn-calc h2 { margin: 0 0 8px; font-size: clamp(1.9rem, 3.6vw, 2.75rem); letter-spacing: -0.035em; }
.pp-page-learn .pp-meet { border-top: 0 !important; padding-top: 0 !important; }
.pp-guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.pp-guide { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: inherit; }
.pp-guide__img { aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: var(--wp--preset--color--sand); }
.pp-guide__img img { width: 100%; height: 100%; object-fit: cover; }
.pp-guide__title { font-weight: 700; font-size: 1.125rem; letter-spacing: -0.02em; color: var(--wp--preset--color--ink); }
.pp-guide__meta { font-size: 0.9375rem; color: var(--wp--preset--color--body); }

/* Meet Pocket */
.pp-meet h2 { font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: -0.04em; line-height: 1.04; margin: 12px 0 18px; }
.pp-meet .pp-lead { margin: 0 0 14px; }
.pp-proof { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; border-top: 1px solid var(--wp--preset--color--line); padding-top: 22px; }
.pp-proof li { display: flex; flex-direction: column; gap: 6px; font-size: 0.9375rem; }
.pp-proof strong { color: var(--wp--preset--color--ink); letter-spacing: -0.015em; }
.pp-proof span:last-child { color: var(--wp--preset--color--body); }
.pp-proof__num { font-family: var(--wp--preset--font-family--dm-serif); font-style: italic; font-size: 1.5rem; color: var(--wp--preset--color--accent); line-height: 1; }
.pp-portrait { position: relative; margin: 0; max-width: 440px; margin-inline: auto; }
.pp-portrait__frame {
	position: relative; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; isolation: isolate;
	background: radial-gradient(80% 60% at 20% 15%, rgba(201, 162, 122, 0.55), transparent 60%), radial-gradient(70% 60% at 85% 85%, rgba(169, 180, 142, 0.6), transparent 60%), var(--wp--preset--color--sand);
	display: flex; align-items: center; justify-content: center;
}
.pp-portrait__frame::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E"); mix-blend-mode: multiply; }
.pp-portrait__mono { font-family: var(--wp--preset--font-family--dm-serif); font-style: italic; font-size: clamp(9rem, 22vw, 14rem); line-height: 1; color: #1F1D1A; opacity: 0.9; transform: translateY(-4%); }
.pp-portrait__ring { position: absolute; width: 72%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(31, 29, 26, 0.18); animation: pp-spin 40s linear infinite; }
.pp-portrait__ring::before { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: #4E5A3C; }
.pp-portrait__card {
	position: absolute; left: -18px; bottom: 28px; display: flex; flex-direction: column; gap: 2px; padding: 16px 20px; border-radius: 14px;
	background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--line); box-shadow: var(--pp-shadow);
}
.pp-portrait__name { font-weight: 800; font-size: 1.25rem; letter-spacing: -0.03em; color: var(--wp--preset--color--ink); }
.pp-portrait__role { font-size: 0.875rem; color: var(--wp--preset--color--body); }
.pp-portrait__place { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 0.8125rem; font-weight: 600; color: var(--wp--preset--color--accent); }
.pp-portrait__tags { position: absolute; right: -10px; top: 24px; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.pp-portrait__tags li { height: 30px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 999px; background: #1F1D1A; color: #F5F2ED; font-size: 0.75rem; font-weight: 600; box-shadow: 0 6px 16px rgba(31, 29, 26, 0.18); }
.pp-portrait__tags li:nth-child(even) { margin-right: 18px; background: var(--wp--preset--color--surface); color: var(--wp--preset--color--ink); border: 1px solid var(--wp--preset--color--line); }
.pp-motion .pp-portrait__tags li { opacity: 0; transform: translateX(12px); transition: opacity 0.6s var(--pp-ease), transform 0.6s var(--pp-ease); }
.pp-motion .pp-portrait.is-in .pp-portrait__tags li { opacity: 1; transform: none; }
.pp-portrait.is-in .pp-portrait__tags li:nth-child(2) { transition-delay: 0.1s; }
.pp-portrait.is-in .pp-portrait__tags li:nth-child(3) { transition-delay: 0.2s; }
.pp-portrait.is-in .pp-portrait__tags li:nth-child(4) { transition-delay: 0.3s; }
:root[data-theme="dark"] .pp-portrait__mono { color: #EEEAE3; }
:root[data-theme="dark"] .pp-portrait__ring { border-color: rgba(238, 234, 227, 0.2); }
@media (max-width: 781px) {
	.pp-proof { grid-template-columns: 1fr; gap: 14px; }
	.pp-portrait { margin-top: 12px; max-width: 360px; }
	.pp-portrait__card { left: 12px; bottom: 12px; }
	.pp-portrait__tags { right: 10px; top: 14px; }
}

/* Recipes are for members: no print button, no image dragging */
.wprm-recipe-print, .wprm-print-recipe-shortcode, .wprm-recipe-pin { display: none !important; }

@media (prefers-reduced-motion: reduce) {
	.pp-ll__block::before, .pp-ll__cta-main::before, .pp-ll__dot, .pp-ll__redacted i, .pp-portrait__ring { animation: none !important; }
	.pp-ll__bar i, .pp-ll__track::after, .pp-portrait__tags li { transform: none !important; opacity: 1 !important; transition: none !important; }
}
.pp-page-learn > *, .pp-page-recipes > * { width: 100%; box-sizing: border-box; }
.pp-page-learn > .pp-meet { margin-left: auto !important; margin-right: auto !important; padding-left: 0 !important; padding-right: 0 !important; }

/* Paid Memberships Pro forms in PocketPlan style */
:root {
	--pmpro--color--accent: var(--wp--preset--color--ink);
	--pmpro--color--accent--variation: var(--wp--preset--color--accent);
	--pmpro--color--base: var(--wp--preset--color--surface);
	--pmpro--color--base--variation: var(--wp--preset--color--sand);
	--pmpro--color--contrast: var(--wp--preset--color--ink);
	--pmpro--color--border: var(--wp--preset--color--line);
	--pmpro--color--border--variation: var(--wp--preset--color--line);
	--pmpro--base--border-radius: 16px;
	--pmpro--btn--border-radius: 999px;
	--pmpro--box-shadow: none;
}
.pmpro { font-family: inherit; color: var(--wp--preset--color--body); }
.pmpro_card { border: 1px solid var(--wp--preset--color--line) !important; background: var(--wp--preset--color--surface) !important; box-shadow: none !important; }
.pmpro_card_title { font-family: inherit; letter-spacing: -0.03em; color: var(--wp--preset--color--ink); }
.pmpro_form_label { font-weight: 600; font-size: 0.875rem; color: var(--wp--preset--color--ink); }
.pmpro_form_input, .pmpro input[type="text"], .pmpro input[type="email"], .pmpro input[type="password"], .pmpro select {
	min-height: 48px; border-radius: 12px !important; border: 1px solid var(--wp--preset--color--line) !important; background: var(--wp--preset--color--base) !important;
	color: var(--wp--preset--color--ink) !important; font: inherit !important; padding: 0 14px !important; box-shadow: none !important;
}
.pmpro_form_input:focus, .pmpro input:focus { outline: 2px solid var(--wp--preset--color--accent) !important; outline-offset: 1px; border-color: transparent !important; }
.pmpro_btn, .pmpro input[type="submit"], .pmpro .button-primary, #wp-submit {
	min-height: 48px; border-radius: 999px !important; background: var(--wp--preset--color--ink) !important; color: var(--wp--preset--color--base) !important;
	border: 0 !important; font: inherit !important; font-weight: 600 !important; letter-spacing: 0; transition: background-color 0.2s ease;
}
.pmpro_btn:hover, .pmpro input[type="submit"]:hover, #wp-submit:hover { background: var(--wp--preset--color--accent) !important; color: var(--wp--preset--color--on-accent) !important; }
.pmpro_card_actions { background: var(--wp--preset--color--sand) !important; border-top: 1px solid var(--wp--preset--color--line) !important; }
.pmpro a { color: var(--wp--preset--color--ink); }
.pmpro_login_wrap, .pmpro_section { max-width: 520px; margin-inline: auto; }
.pmpro_levels_table, .pmpro_table { border-radius: 16px; overflow: hidden; }
.pmpro_form_field-password-toggle button { color: var(--wp--preset--color--accent) !important; }

/* Member login + join intro */
.pp-auth { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; margin-bottom: 28px; }
.pp-auth h1 { margin: 0; font-size: clamp(2.5rem, 5vw, 3.75rem); letter-spacing: -0.045em; line-height: 1; }
.pp-auth p { margin: 0; color: var(--wp--preset--color--body); max-width: 460px; }
.pp-page-join { padding-top: clamp(2.5rem, 6vw, 5rem); padding-bottom: var(--wp--preset--spacing--60); }
.pp-page-join .pp-ll__hero { margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.pp-page-about > .wp-block-post-content > .alignfull:first-child { border-top: 0 !important; }
.pp-price__soon { font-size: 1.75rem; letter-spacing: -0.03em; }
.pp-price:has(.pp-price__soon) > span + span { display: none; }
.pmpro_form_input, .pmpro input[type="text"], .pmpro input[type="email"], .pmpro input[type="password"] { height: 48px !important; line-height: 46px !important; box-sizing: border-box !important; width: 100%; }
.pmpro .pmpro_btn-password-toggle, .pmpro_form_field-password-toggle button { background: transparent !important; color: var(--wp--preset--color--accent) !important; min-height: 0 !important; padding: 0 !important; border: 0 !important; }

/* ==========================================================================
   Community (bbPress) — replaces bbPress's default styles
   ========================================================================== */
.pp-community { padding-top: clamp(2rem, 5vw, 4rem); padding-bottom: var(--wp--preset--spacing--60); }
.pp-community__head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.pp-community__title { margin: 0; font-size: clamp(2.4rem, 5vw, 3.75rem); letter-spacing: -0.045em; line-height: 1.02; }
.pp-community .wp-block-post-date, .pp-community .entry-meta { display: none; }
.pp-community__intro { margin: 0 0 26px; font-size: 1.125rem; color: var(--wp--preset--color--body); max-width: 620px; }
#bbpress-forums { font-size: 0.9375rem; color: var(--wp--preset--color--body); }
#bbpress-forums a { color: var(--wp--preset--color--ink); }
#bbpress-forums ul { list-style: none; margin: 0; padding: 0; }
#bbpress-forums .bbp-breadcrumb { font-size: 0.8125rem; color: var(--wp--preset--color--muted); margin: 0 0 18px; }
#bbpress-forums .bbp-breadcrumb a { color: var(--wp--preset--color--muted); text-decoration: none; }
#bbpress-forums .bbp-breadcrumb a:hover { color: var(--wp--preset--color--ink); }
#bbpress-forums .bbp-breadcrumb-home, #bbpress-forums .bbp-breadcrumb-home + .bbp-breadcrumb-sep { display: none; }
#bbpress-forums .subscription-toggle, #bbpress-forums #subscription-toggle, #bbpress-forums #favorite-toggle { float: right; font-size: 0.8125rem; font-weight: 600; }
#bbpress-forums .subscription-toggle, #bbpress-forums #subscription-toggle a, #bbpress-forums #favorite-toggle a { text-decoration: none; padding: 6px 12px; border: 1px solid var(--wp--preset--color--line); border-radius: 999px; }

/* Search */
#bbpress-forums .bbp-search-form { margin: 0 0 18px; }
#bbpress-forums .bbp-search-form form > div { display: flex; gap: 8px; }
#bbpress-forums .bbp-search-form input[type="text"] { flex: 1; height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--wp--preset--color--line); background: var(--wp--preset--color--surface); color: var(--wp--preset--color--ink); font: inherit; }

/* Header/footer rows of lists */
#bbpress-forums li.bbp-header, #bbpress-forums li.bbp-footer { display: none; }

/* Forum index as cards */
#bbpress-forums ul.bbp-forums > li.bbp-body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
#bbpress-forums ul.bbp-forums ul.forum {
	position: relative; display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: 18px; border: 1px solid var(--wp--preset--color--line);
	background: var(--wp--preset--color--surface); transition: transform 0.3s var(--pp-ease), box-shadow 0.3s var(--pp-ease); overflow: hidden;
}
#bbpress-forums ul.bbp-forums ul.forum::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--wp--preset--color--accent), #C9A27A); }
#bbpress-forums ul.bbp-forums ul.forum:hover { transform: translateY(-3px); box-shadow: var(--pp-shadow); }
#bbpress-forums .bbp-forum-title { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.025em; text-decoration: none; }
#bbpress-forums .bbp-forum-title::after { content: ""; position: absolute; inset: 0; }
#bbpress-forums .bbp-forum-content { margin-top: 6px; color: var(--wp--preset--color--body); }
#bbpress-forums ul.forum .bbp-forum-topic-count, #bbpress-forums ul.forum .bbp-forum-reply-count { display: inline; font-size: 0.8125rem; font-weight: 600; color: var(--wp--preset--color--accent); }
#bbpress-forums ul.forum .bbp-forum-topic-count::after { content: " topics"; }
#bbpress-forums ul.forum .bbp-forum-reply-count::after { content: " posts"; }
#bbpress-forums ul.forum { }
#bbpress-forums ul.forum .bbp-forum-freshness { font-size: 0.8125rem; color: var(--wp--preset--color--muted); }
#bbpress-forums ul.forum .bbp-forum-freshness .bbp-topic-meta, #bbpress-forums .bbp-author-avatar img { vertical-align: middle; }
#bbpress-forums ul.forum li.bbp-forum-topic-count + li.bbp-forum-reply-count::before { content: "· "; }

/* Topic list */
#bbpress-forums ul.bbp-topics { border: 1px solid var(--wp--preset--color--line); border-radius: 18px; overflow: hidden; background: var(--wp--preset--color--surface); margin-bottom: 20px; }
#bbpress-forums ul.bbp-topics ul.topic { display: grid; grid-template-columns: minmax(0, 1fr) 80px 180px; gap: 16px; align-items: center; padding: 18px 22px; border-top: 1px solid var(--wp--preset--color--line); }
#bbpress-forums ul.bbp-topics li.bbp-body ul.topic:first-child { border-top: 0; }
#bbpress-forums ul.topic .bbp-topic-voice-count { display: none; }
#bbpress-forums .bbp-topic-permalink { font-weight: 700; font-size: 1.0625rem; letter-spacing: -0.02em; text-decoration: none; }
#bbpress-forums .bbp-topic-meta { display: block; margin-top: 4px; font-size: 0.8125rem; color: var(--wp--preset--color--muted); }
#bbpress-forums .bbp-topic-meta a { color: var(--wp--preset--color--muted); text-decoration: none; }
#bbpress-forums ul.topic .bbp-topic-reply-count { font-weight: 700; color: var(--wp--preset--color--accent); text-align: center; }
#bbpress-forums ul.topic .bbp-topic-reply-count::after { content: " replies"; display: block; font-size: 0.6875rem; font-weight: 600; color: var(--wp--preset--color--muted); letter-spacing: 0.06em; text-transform: uppercase; }
#bbpress-forums ul.topic .bbp-topic-freshness { font-size: 0.8125rem; color: var(--wp--preset--color--muted); text-align: right; }
#bbpress-forums ul.topic .bbp-topic-freshness a { color: var(--wp--preset--color--muted); }
#bbpress-forums ul.topic.sticky, #bbpress-forums ul.topic.super-sticky { background: rgba(78, 90, 60, 0.06); }
#bbpress-forums .bbp-topic-started-by img, #bbpress-forums .bbp-topic-freshness-author img, #bbpress-forums .bbp-topic-started-in { display: none; }

/* Single topic */
#bbpress-forums ul.bbp-lead-topic, #bbpress-forums ul.bbp-replies { display: flex; flex-direction: column; gap: 12px; }
#bbpress-forums .bbp-topic-tags { font-size: 0.8125rem; margin: 0 0 12px; }
#bbpress-forums li.bbp-body > div.topic, #bbpress-forums li.bbp-body > div.reply, #bbpress-forums ul.bbp-replies > li > div.reply, #bbpress-forums ul.bbp-replies > li > div.topic {
	display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 20px; padding: 22px; border: 1px solid var(--wp--preset--color--line); border-radius: 0 0 18px 18px; background: var(--wp--preset--color--surface); border-top: 0;
}
#bbpress-forums .bbp-reply-header, #bbpress-forums .bbp-topic-header { padding: 10px 22px; border: 1px solid var(--wp--preset--color--line); border-radius: 18px 18px 0 0; background: var(--wp--preset--color--sand); font-size: 0.75rem; color: var(--wp--preset--color--muted); }
#bbpress-forums .bbp-meta { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
#bbpress-forums .bbp-meta a { color: var(--wp--preset--color--muted); text-decoration: none; }
#bbpress-forums .bbp-admin-links { font-size: 0.75rem; }
#bbpress-forums .bbp-reply-author, #bbpress-forums .bbp-topic-author { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; font-size: 0.8125rem; }
#bbpress-forums .bbp-author-avatar img { border-radius: 50%; width: 52px; height: 52px; }
#bbpress-forums .bbp-author-name { font-weight: 700; color: var(--wp--preset--color--ink); text-decoration: none; font-size: 0.9375rem; }
#bbpress-forums .bbp-author-role { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wp--preset--color--accent); }
#bbpress-forums .bbp-author-ip { display: none; }
#bbpress-forums .bbp-reply-content, #bbpress-forums .bbp-topic-content { font-size: 1rem; line-height: 1.65; color: var(--wp--preset--color--body); }
#bbpress-forums .bbp-reply-content p:first-child, #bbpress-forums .bbp-topic-content p:first-child { margin-top: 0; }
#bbpress-forums .bbp-reply-content img, #bbpress-forums .bbp-topic-content img { max-width: 100%; height: auto; border-radius: 12px; }
#bbpress-forums ul.bbp-replies > li.bbp-header, #bbpress-forums ul.bbp-lead-topic > li.bbp-header { display: none; }
#bbpress-forums div.bbp-reply-header + div { margin-bottom: 0; }

/* Pagination */
#bbpress-forums .bbp-pagination { display: flex; justify-content: space-between; align-items: center; font-size: 0.8125rem; color: var(--wp--preset--color--muted); margin: 10px 0 18px; }
#bbpress-forums .bbp-pagination-links a, #bbpress-forums .bbp-pagination-links span.current { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 34px; border-radius: 999px; border: 1px solid var(--wp--preset--color--line); text-decoration: none; margin-left: 4px; }
#bbpress-forums .bbp-pagination-links span.current { background: var(--wp--preset--color--ink); color: var(--wp--preset--color--base); border-color: var(--wp--preset--color--ink); }

/* Notices */
#bbpress-forums .bbp-template-notice { padding: 14px 18px; border-radius: 14px; border: 1px solid var(--wp--preset--color--line); background: var(--wp--preset--color--surface); margin: 0 0 16px; font-size: 0.9375rem; }
#bbpress-forums .bbp-template-notice p, #bbpress-forums .bbp-template-notice ul { margin: 0; }
#bbpress-forums .bbp-template-notice.error { border-color: #C98A7A; background: rgba(201, 138, 122, 0.12); }
#bbpress-forums .bbp-template-notice.info { display: none; }
.bbp-forum-content > .bbp-template-notice.info { display: none; }

/* New topic / reply forms */
#bbpress-forums fieldset.bbp-form { border: 1px solid var(--wp--preset--color--line); border-radius: 18px; background: var(--wp--preset--color--surface); padding: clamp(20px, 3vw, 30px); margin: 18px 0 0; }
#bbpress-forums fieldset.bbp-form fieldset.bbp-form { border: 0; padding: 0; background: none; margin: 0; }
#bbpress-forums fieldset.bbp-form > legend { float: left; width: 100%; padding: 0; margin: 0 0 14px; font-size: 1.375rem; font-weight: 700; letter-spacing: -0.03em; color: var(--wp--preset--color--ink); }
#bbpress-forums fieldset.bbp-form > legend + * { clear: both; }
#bbpress-forums fieldset.bbp-form label { display: block; font-weight: 600; font-size: 0.875rem; color: var(--wp--preset--color--ink); margin-bottom: 6px; }
#bbpress-forums fieldset.bbp-form p { margin: 0 0 14px; }
#bbpress-forums fieldset.bbp-form input[type="text"], #bbpress-forums fieldset.bbp-form textarea, #bbpress-forums fieldset.bbp-form select {
	width: 100%; box-sizing: border-box; border-radius: 12px; border: 1px solid var(--wp--preset--color--line); background: var(--wp--preset--color--base); color: var(--wp--preset--color--ink); font: inherit; padding: 12px 14px;
}
#bbpress-forums fieldset.bbp-form input[type="text"] { height: 48px; padding: 0 14px; }
#bbpress-forums fieldset.bbp-form textarea { min-height: 170px; resize: vertical; line-height: 1.6; }
#bbpress-forums fieldset.bbp-form input:focus, #bbpress-forums fieldset.bbp-form textarea:focus { outline: 2px solid var(--wp--preset--color--accent); outline-offset: 1px; border-color: transparent; }
#bbpress-forums fieldset.bbp-form select { width: auto; height: 40px; padding: 0 12px; }
#bbpress-forums .bbp-the-content-wrapper { margin-bottom: 14px; }
#bbpress-forums .bbp-submit-wrapper { display: flex; justify-content: flex-end; }
#bbpress-forums button.submit, #bbpress-forums .bbp-submit-wrapper button, #bbpress-forums .bbp-search-form input[type="submit"], #bbpress-forums #bbp_search_submit {
	height: 46px; padding: 0 22px; border-radius: 999px; border: 0; background: var(--wp--preset--color--ink); color: var(--wp--preset--color--base); font: inherit; font-weight: 600; cursor: pointer; transition: background-color 0.2s ease;
}
#bbpress-forums button.submit:hover, #bbpress-forums #bbp_search_submit:hover { background: var(--wp--preset--color--accent); color: var(--wp--preset--color--on-accent); }
#bbpress-forums .bbp-form input[type="checkbox"] { margin-right: 6px; }
#bbpress-forums .bbp-form input[type="checkbox"] + label { display: inline; font-weight: 500; }
#bbpress-forums .bbp-allowed-tags { display: none; }

/* Profile pages */
#bbpress-forums #bbp-user-wrapper { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; }
#bbpress-forums #bbp-single-user-details { display: flex; flex-direction: column; gap: 10px; }
#bbpress-forums #bbp-user-avatar img { border-radius: 50%; }
#bbpress-forums #bbp-user-navigation li { margin: 0 0 4px; }
#bbpress-forums #bbp-user-navigation li a { display: block; padding: 8px 12px; border-radius: 10px; text-decoration: none; font-weight: 600; }
#bbpress-forums #bbp-user-navigation li.current a { background: var(--wp--preset--color--sand); }

/* "Share your take" on recipes */
.pp-share { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 40px; padding: 26px 28px; border-radius: 18px; background: #1F1D1A; color: #C9C1B4; position: relative; overflow: hidden; isolation: isolate; }
.pp-share::before { content: ""; position: absolute; inset: -40%; z-index: -1; background: radial-gradient(35% 50% at 15% 80%, rgba(169, 180, 142, 0.35), transparent 70%), radial-gradient(30% 45% at 90% 20%, rgba(201, 162, 122, 0.28), transparent 70%); }
.pp-share h3 { margin: 6px 0 4px; color: #F5F2ED; font-size: 1.75rem; letter-spacing: -0.03em; }
.pp-share h3 em { color: #C8D1B0; }
.pp-share p { margin: 0; max-width: 440px; }
.pp-share .pp-eyebrow { color: #A39B8F; }
.pp-share .pp-btn { background: #F5F2ED; color: #1F1D1A !important; }

@media (max-width: 759px) {
	#bbpress-forums ul.bbp-forums > li.bbp-body { grid-template-columns: 1fr; }
	#bbpress-forums ul.bbp-topics ul.topic { grid-template-columns: minmax(0, 1fr) 64px; padding: 16px; }
	#bbpress-forums ul.topic .bbp-topic-freshness { display: none; }
	#bbpress-forums li.bbp-body > div.topic, #bbpress-forums li.bbp-body > div.reply, #bbpress-forums ul.bbp-replies > li > div.reply, #bbpress-forums ul.bbp-replies > li > div.topic { grid-template-columns: 1fr; gap: 12px; padding: 18px; }
	#bbpress-forums .bbp-reply-author, #bbpress-forums .bbp-topic-author { flex-direction: row; align-items: center; flex-wrap: wrap; }
	#bbpress-forums .bbp-author-avatar img { width: 36px; height: 36px; }
	#bbpress-forums #bbp-user-wrapper { grid-template-columns: 1fr; }
}
.pp-member-only { display: none !important; }
body.logged-in .pp-member-only { display: inline-flex !important; }
body.logged-in .pp-guest-only { display: none !important; }
#bbpress-forums fieldset.bbp-form br { display: none; }
#bbpress-forums fieldset.bbp-form label + input, #bbpress-forums fieldset.bbp-form label + select { margin-top: 0; }
#bbpress-forums li.bbp-body > p, #bbpress-forums ul.forum > p, #bbpress-forums ul.topic > p { display: none; }
#bbpress-forums ul.bbp-forums ul.forum { flex-direction: row; flex-wrap: wrap; align-items: baseline; column-gap: 8px; row-gap: 6px; }
#bbpress-forums ul.bbp-forums ul.forum > li.bbp-forum-info { flex-basis: 100%; margin-bottom: 8px; }
#bbpress-forums ul.forum .bbp-forum-topic-count::after, #bbpress-forums ul.forum .bbp-forum-reply-count::after { content: none; }
#bbpress-forums ul.forum .bbp-forum-topic-count::before { content: "Topics "; color: var(--wp--preset--color--muted); font-weight: 500; }
#bbpress-forums ul.forum li.bbp-forum-topic-count + li.bbp-forum-reply-count::before { content: "· Posts "; color: var(--wp--preset--color--muted); font-weight: 500; }
#bbpress-forums ul.forum .bbp-forum-freshness { margin-left: auto; }
#bbpress-forums ul.forum .bbp-forum-freshness .bbp-topic-meta, #bbpress-forums ul.forum .bbp-topic-freshness-author { display: none; }
#bbpress-forums .bbp-search-form input[type="text"] { padding: 0 18px; }
#bbpress-forums .bbp-breadcrumb { clear: both; }
@media (max-width: 859px) { .pp-tabbar a { font-size: 0.625rem; } }

/* Recipe posts */
.wprm-recipe h1, .wprm-recipe h2, .wprm-recipe h3, .wprm-recipe-name, .wprm-recipe-header, .wprm-recipe-container h2, .wprm-recipe-container h3 { font-family: var(--wp--preset--font-family--manrope) !important; }
.single .wprm-recipe-image, .single .wprm-recipe .wprm-recipe-image { display: none !important; }
.wprm-recipe a { color: var(--wp--preset--color--accent) !important; }
.pp-macros { display: flex; flex-direction: column; gap: 10px; margin: 0 0 22px; padding: 20px 22px; border-radius: 18px; background: #1F1D1A; color: #C9C1B4; }
.pp-macros .pp-eyebrow { color: #A39B8F; }
.pp-macros ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.pp-macros li { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 12px; background: rgba(245, 242, 237, 0.06); }
.pp-macros strong { font-family: var(--wp--preset--font-family--dm-serif); font-style: italic; font-weight: 400; font-size: 1.9rem; line-height: 1; color: #F5F2ED; }
.pp-macros li:first-child strong { color: #C8D1B0; }
.pp-macros span:not(.pp-eyebrow) { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.pp-macros__diet { margin: 0; font-size: 0.875rem; color: #C8D1B0; }
@media (max-width: 599px) { .pp-macros ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pp-macros strong { font-size: 1.6rem; } }

/* Learn guides */
.single .pp-pull, .pp-pull { margin: 2rem 0; padding: 1.5rem 1.75rem; border: 0; border-left: 4px solid var(--wp--preset--color--accent); border-radius: 0 14px 14px 0; background: var(--wp--preset--color--sand); }
.pp-pull p { margin: 0; font-family: var(--wp--preset--font-family--dm-serif); font-style: italic; font-size: clamp(1.35rem, 2.4vw, 1.75rem); line-height: 1.3; color: var(--wp--preset--color--ink); }
.pp-table table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; background: var(--wp--preset--color--surface); border-radius: 14px; overflow: hidden; }
.pp-table th { text-align: left; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wp--preset--color--muted); background: var(--wp--preset--color--sand); }
.pp-table th, .pp-table td { padding: 12px 14px; border-bottom: 1px solid var(--wp--preset--color--line); border-left: 0; border-right: 0; border-top: 0; }
.pp-table tr:last-child td { border-bottom: 0; }
@media (max-width: 599px) { .pp-table { overflow-x: auto; } .pp-table table { min-width: 520px; } }
.pp-guide { transition: transform 0.3s var(--pp-ease); }
.pp-guide:hover { transform: translateY(-3px); }
.pp-guide__img { aspect-ratio: 16 / 10; }
.pp-pricing-soon .pp-billing, [data-pp-pricing]:has(.pp-price__soon) .pp-billing { display: none; }
.single .wp-block-post-content h2 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); letter-spacing: -0.03em; margin: 2.2rem 0 0.6rem; }
.single .wp-block-post-content > p, .single .wp-block-post-content li { font-size: 1.0625rem; line-height: 1.7; }

/* ==========================================================================
   Train With Pocket — enquiry questions + call booking
   ========================================================================== */
.pp-page-train { padding-top: clamp(2rem, 5vw, 4rem); padding-bottom: var(--wp--preset--spacing--60); }
.pp-train { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.pp-train__intro { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 100px; }
.pp-train__title { margin: 0; font-size: clamp(2.75rem, 6vw, 4.75rem); line-height: 0.98; letter-spacing: -0.045em; }
.pp-train__intro .pp-lead { margin: 0; max-width: 480px; }
.pp-train__how { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.pp-train__how li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.pp-train__how b { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--wp--preset--color--sand); color: var(--wp--preset--color--accent); font-family: var(--wp--preset--font-family--dm-serif); font-style: italic; font-weight: 400; font-size: 1.25rem; }
.pp-train__how span { display: flex; flex-direction: column; gap: 2px; color: var(--wp--preset--color--body); font-size: 0.9375rem; }
.pp-train__how strong { color: var(--wp--preset--color--ink); font-size: 1rem; }
.pp-train__note { margin: 6px 0 0; font-size: 0.875rem; color: var(--wp--preset--color--muted); }
.pp-train__note a { color: var(--wp--preset--color--ink); font-weight: 600; }

.pp-train__card > p:empty { display: none; }
.pp-pt { position: relative; min-height: 520px; padding: clamp(22px, 3.5vw, 36px); border-radius: 22px; border: 1px solid var(--wp--preset--color--line); background: var(--wp--preset--color--surface); box-shadow: 0 24px 60px rgba(31, 29, 26, 0.08); display: flex; flex-direction: column; gap: 24px; }
.pp-pt__head { display: flex; flex-direction: column; gap: 10px; }
.pp-pt__bar { height: 4px; border-radius: 99px; background: var(--wp--preset--color--sand); overflow: hidden; }
.pp-pt__bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--wp--preset--color--accent), #C9A27A); transition: width 0.5s var(--pp-ease); }
.pp-pt__meta { display: flex; justify-content: space-between; align-items: center; font-size: 0.8125rem; color: var(--wp--preset--color--muted); font-weight: 600; }
.pp-pt__back { border: 0; background: none; font: inherit; font-weight: 600; color: var(--wp--preset--color--ink); cursor: pointer; padding: 6px 0; }
.pp-pt__body { display: flex; flex-direction: column; gap: 16px; animation: pp-rise 0.45s var(--pp-ease) both; }
.pp-pt__q { margin: 0; font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.12; letter-spacing: -0.035em; outline: none; }
.pp-pt__sub { margin: 0; color: var(--wp--preset--color--body); }
.pp-pt__opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 4px; }
.pp-pt__opt { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 12px 16px; text-align: left; border-radius: 14px; border: 1px solid var(--wp--preset--color--line); background: var(--wp--preset--color--base); color: var(--wp--preset--color--ink); font: inherit; font-weight: 600; cursor: pointer; transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s var(--pp-ease); }
.pp-pt__opt:hover { border-color: var(--wp--preset--color--ink); transform: translateY(-1px); }
.pp-pt__opt.is-on { border-color: var(--wp--preset--color--accent); background: rgba(78, 90, 60, 0.08); }
.pp-pt__key { flex: 0 0 28px; height: 28px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-size: 0.75rem; border: 1px solid var(--wp--preset--color--line); color: var(--wp--preset--color--muted); }
.pp-pt__opt.is-on .pp-pt__key { background: var(--wp--preset--color--accent); border-color: var(--wp--preset--color--accent); color: var(--wp--preset--color--on-accent); }
.pp-pt__text, .pp-pt__form input { width: 100%; box-sizing: border-box; border-radius: 12px; border: 1px solid var(--wp--preset--color--line); background: var(--wp--preset--color--base); color: var(--wp--preset--color--ink); font: inherit; padding: 12px 14px; }
.pp-pt__form input { height: 50px; }
.pp-pt__text:focus, .pp-pt__form input:focus { outline: 2px solid var(--wp--preset--color--accent); outline-offset: 1px; border-color: transparent; }
.pp-pt__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 4px; }
.pp-pt__actions .pp-btn { height: 50px; padding: 0 22px; border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.pp-pt__actions .pp-btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.pp-pt__actions .pp-text-link { border: 0; background: none; font: inherit; font-weight: 600; cursor: pointer; color: var(--wp--preset--color--muted); }
.pp-pt__days { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; scroll-behavior: smooth; }
.pp-pt__days::-webkit-scrollbar { display: none; }
.pp-pt__day { flex: 0 0 66px; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 6px; border-radius: 14px; border: 1px solid var(--wp--preset--color--line); background: var(--wp--preset--color--base); color: var(--wp--preset--color--ink); font: inherit; font-size: 0.75rem; font-weight: 600; cursor: pointer; }
.pp-pt__day strong { font-family: var(--wp--preset--font-family--dm-serif); font-weight: 400; font-size: 1.6rem; line-height: 1; }
.pp-pt__day.is-on { background: var(--wp--preset--color--ink); color: var(--wp--preset--color--base); border-color: var(--wp--preset--color--ink); }
.pp-pt__daylabel { margin: 4px 0 0; font-weight: 700; color: var(--wp--preset--color--ink); }
.pp-pt__times { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; max-height: 260px; overflow-y: auto; padding-right: 4px; }
.pp-pt__time { height: 44px; border-radius: 12px; border: 1px solid var(--wp--preset--color--line); background: var(--wp--preset--color--base); color: var(--wp--preset--color--ink); font: inherit; font-weight: 600; cursor: pointer; }
.pp-pt__time:hover { border-color: var(--wp--preset--color--ink); }
.pp-pt__time.is-on { background: var(--wp--preset--color--accent); border-color: var(--wp--preset--color--accent); color: var(--wp--preset--color--on-accent); }
.pp-pt__form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pp-pt__form label { display: flex; flex-direction: column; gap: 6px; font-size: 0.875rem; font-weight: 600; color: var(--wp--preset--color--ink); }
.pp-pt__form label em { font-style: normal; font-weight: 500; color: var(--wp--preset--color--muted); }
.pp-pt__form .pp-pt__small, .pp-pt__form .pp-pt__err, .pp-pt__form .pp-pt__actions { grid-column: 1 / -1; }
.pp-pt__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.pp-pt__small { margin: 0; font-size: 0.8125rem; color: var(--wp--preset--color--muted); }
.pp-pt__small a { color: var(--wp--preset--color--ink); }
.pp-pt__err { margin: 0; padding: 10px 14px; border-radius: 10px; background: rgba(201, 138, 122, 0.15); color: #8A3A2A; font-weight: 600; font-size: 0.875rem; }
.pp-pt__err[hidden] { display: none; }
.pp-pt__loading { color: var(--wp--preset--color--muted); }
.pp-pt__done { display: flex; flex-direction: column; gap: 16px; animation: pp-rise 0.5s var(--pp-ease) both; }
.pp-pt__tick { width: 56px; height: 56px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--wp--preset--color--accent); color: var(--wp--preset--color--on-accent); }
.pp-pt__summary { margin-top: 6px; padding: 18px 20px; border-radius: 16px; background: var(--wp--preset--color--sand); }
.pp-pt__summary ul { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.pp-pt__summary li { display: flex; justify-content: space-between; gap: 16px; font-size: 0.875rem; }
.pp-pt__summary li span { color: var(--wp--preset--color--muted); }
.pp-pt__summary li strong { text-align: right; color: var(--wp--preset--color--ink); }
.pp-pt.is-done { min-height: 0; }
@media (max-width: 859px) {
	.pp-train { grid-template-columns: 1fr; }
	.pp-train__intro { position: static; }
	.pp-train__how { display: none; }
}
@media (max-width: 599px) {
	.pp-pt { padding: 20px; min-height: 0; border-radius: 18px; }
	.pp-pt__opts, .pp-pt__form { grid-template-columns: 1fr; }
	.pp-pt__actions .pp-btn { flex: 1 1 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .pp-pt__body, .pp-pt__done { animation: none; } }
.pp-meet__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 26px; }
.pp-meet__cta span { font-size: 0.875rem; color: var(--wp--preset--color--muted); }
.pp-train > *, .pp-train__card, .pp-pt, .pp-pt__body { min-width: 0; }
@media (max-width: 859px) { .pp-train { grid-template-columns: minmax(0, 1fr); } }
.pp-pt__picked { font-size: 0.875rem; color: var(--wp--preset--color--body); } .pp-pt__picked strong { color: var(--wp--preset--color--ink); }

/* Header: Community button (olive) next to Account (outline) / Join (ink) */
.pp-btn--community { background: var(--wp--preset--color--accent); color: var(--wp--preset--color--on-accent) !important; }
.pp-btn--community:hover { background: var(--wp--preset--color--ink); color: var(--wp--preset--color--base) !important; }
.pp-header__actions .pp-btn--ghost { background: transparent; color: var(--wp--preset--color--ink) !important; border: 1.5px solid var(--wp--preset--color--ink); }
.pp-header__actions .pp-btn--ghost:hover { background: var(--wp--preset--color--ink); color: var(--wp--preset--color--base) !important; }
.pp-header__actions { gap: 8px; }
@media (max-width: 599px) {
	.pp-btn--community { width: 44px; padding: 0; justify-content: center; }
	.pp-btn--community span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.pp-header__actions .pp-btn { height: 40px; padding: 0 14px; }
	.pp-header__actions .pp-btn--community { padding: 0; width: 40px; }
}

/* Train With Pocket — quiz v2 */
.pp-pt { min-height: 0; gap: 22px; padding: clamp(22px, 3.2vw, 34px); background: linear-gradient(180deg, var(--wp--preset--color--surface), var(--wp--preset--color--surface)) padding-box; }
.pp-pt__head { gap: 14px; }
.pp-pt__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pp-pt__from { display: flex; align-items: center; gap: 10px; }
.pp-pt__from > span:last-child { display: flex; flex-direction: column; line-height: 1.25; }
.pp-pt__from strong { font-size: 0.875rem; color: var(--wp--preset--color--ink); }
.pp-pt__from em { font-style: normal; font-size: 0.75rem; color: var(--wp--preset--color--muted); }
.pp-pt__avatar { width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--wp--preset--color--ink); color: var(--wp--preset--color--base); font-family: var(--wp--preset--font-family--dm-serif); font-style: italic; font-size: 1.1rem; }
.pp-pt__back { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--wp--preset--color--line); background: var(--wp--preset--color--base); font-size: 0.8125rem; }
.pp-pt__back:hover { border-color: var(--wp--preset--color--ink); }
.pp-pt__segs { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.pp-pt__segs i { height: 4px; border-radius: 99px; background: var(--wp--preset--color--sand-2); transition: background-color 0.4s ease; }
.pp-pt__segs i.is-done { background: var(--wp--preset--color--accent); }
.pp-pt__segs i.is-now { background: linear-gradient(90deg, var(--wp--preset--color--accent) 50%, var(--wp--preset--color--sand-2) 50%); }
.pp-pt__meta { margin: 0; display: block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--wp--preset--color--muted); }
.pp-pt__meta span { color: var(--wp--preset--color--accent); margin-right: 8px; }
.pp-pt__q { font-size: clamp(1.55rem, 2.6vw, 2rem); }
.pp-pt__opts { gap: 10px; margin-top: 2px; }
.pp-pt__opts--3 { grid-template-columns: 1fr; }
.pp-pt__opt { position: relative; min-height: 76px; padding: 14px 44px 14px 14px; gap: 14px; border-radius: 16px; background: var(--wp--preset--color--base); animation: pp-rise 0.4s var(--pp-ease) both; }
.pp-pt__opt:hover { border-color: var(--wp--preset--color--accent); box-shadow: 0 8px 22px rgba(31, 29, 26, 0.06); transform: translateY(-2px); }
.pp-pt__opt:focus-visible { outline: 2px solid var(--wp--preset--color--accent); outline-offset: 2px; }
.pp-pt__ico { flex: 0 0 46px; height: 46px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; background: var(--wp--preset--color--sand); color: var(--wp--preset--color--accent); transition: background-color 0.2s ease, color 0.2s ease; }
.pp-pt__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pp-pt__txt strong { font-size: 0.975rem; letter-spacing: -0.01em; color: var(--wp--preset--color--ink); }
.pp-pt__txt span { font-size: 0.8125rem; font-weight: 500; color: var(--wp--preset--color--muted); }
.pp-pt__check { position: absolute; top: 50%; right: 14px; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid var(--wp--preset--color--line); color: transparent; transition: all 0.2s ease; }
.pp-pt__opt.is-on { border-color: var(--wp--preset--color--accent); background: rgba(78, 90, 60, 0.07); }
.pp-pt__opt.is-on .pp-pt__ico { background: var(--wp--preset--color--accent); color: var(--wp--preset--color--on-accent); }
.pp-pt__opt.is-on .pp-pt__check { background: var(--wp--preset--color--accent); border-color: var(--wp--preset--color--accent); color: var(--wp--preset--color--on-accent); }
.pp-pt__opts--num { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pp-pt__opts--num .pp-pt__opt { flex-direction: column; align-items: flex-start; justify-content: space-between; min-height: 120px; padding: 16px; }
.pp-pt__opts--num .pp-pt__check { top: 16px; right: 14px; margin-top: 0; }
.pp-pt__num { font-family: var(--wp--preset--font-family--dm-serif); font-style: italic; font-size: 2.6rem; line-height: 1; color: var(--wp--preset--color--accent); }
.pp-pt__opts--num .pp-pt__txt strong { font-size: 0.8125rem; font-weight: 600; color: var(--wp--preset--color--muted); }
.pp-pt__foot { margin: 0; padding-top: 16px; border-top: 1px solid var(--wp--preset--color--line); display: flex; align-items: center; gap: 8px; font-size: 0.8125rem; color: var(--wp--preset--color--muted); }
.pp-pt.is-done .pp-pt__foot { display: none; }
@media (max-width: 599px) {
	.pp-pt__opts { grid-template-columns: 1fr; }
	.pp-pt__opts--num { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pp-pt__opt { min-height: 68px; }
	.pp-pt__from em { display: none; }
}
@media (prefers-reduced-motion: reduce) { .pp-pt__opt { animation: none; } }

/* Tablet: use the menu button until there's room for the full nav (stops the two-line wrap) */
@media (min-width: 600px) and (max-width: 1099px) {
	.pp-nav .wp-block-navigation__responsive-container-open { display: flex !important; }
	.pp-nav .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none !important; }
}

/* Train With Pocket — get the questions above the fold on phones */
@media (max-width: 859px) {
	.pp-page-train { padding-top: 1.25rem; }
	.pp-train { gap: 1.25rem; }
	.pp-train__intro { gap: 10px; }
	.pp-train__title { font-size: clamp(2.1rem, 9vw, 3.25rem); }
	.pp-train__intro .pp-lead { font-size: 1rem; }
	.pp-train__note { display: none; }
}
@media (max-width: 599px) {
	.pp-train__intro .pp-eyebrow { font-size: 0.6875rem; letter-spacing: 0.1em; }
	.pp-pt { padding: 18px; gap: 18px; }
	.pp-pt__q { font-size: clamp(1.35rem, 6vw, 1.6rem); }
	.pp-pt__opt { min-height: 64px; padding: 10px 40px 10px 10px; gap: 12px; }
	.pp-pt__ico { flex-basis: 40px; height: 40px; border-radius: 11px; }
	.pp-pt__check { right: 12px; }
	.pp-pt__times { grid-template-columns: repeat(3, minmax(0, 1fr)); max-height: none; overflow: visible; }
	.pp-pt__day { flex-basis: 58px; }
	.pp-pt__summary li { flex-direction: column; gap: 0; }
	.pp-pt__summary li strong { text-align: left; }
	.pp-pt__body > .pp-pt__actions { position: sticky; bottom: 0; z-index: 2; margin: 0 -18px; padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(251, 250, 247, 0), var(--wp--preset--color--surface) 30%); }
	body.pp-member .pp-pt__body > .pp-pt__actions { bottom: calc(64px + env(safe-area-inset-bottom)); }
	.pp-pt__picked { flex-basis: 100%; text-align: center; }
}
@media (max-width: 359px) {
	.pp-pt__txt span { display: none; }
	.pp-pt__opt { min-height: 56px; }
}
/* Short landscape phones */
@media (max-height: 500px) and (orientation: landscape) {
	.pp-train__intro { position: static; }
	.pp-pt__times { max-height: none; }
}

@media (min-width: 600px) and (max-width: 1099px) {
	.pp-header__inner .pp-nav { order: 3; margin-left: 4px; }
	.pp-header__inner .pp-header__actions { order: 2; margin-left: auto; }
}
.pp-footer__email { display: inline-block; margin-top: 4px; font-size: 0.875rem; font-weight: 600; color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   v1.6 — Scroll stories
   ========================================================================== */
.pp-scroll { position: relative; margin-top: 0 !important; margin-bottom: 0 !important; }
.pp-scroll-on .pp-manifesto { height: 300vh; }
.pp-scroll-on .pp-plate { height: 280vh; }
.pp-scroll-on .pp-weeks { height: 320vh; }
.pp-scroll__pin { position: relative; display: flex; align-items: center; padding: clamp(4rem, 9vw, 7rem) 0; }
.pp-scroll-on .pp-scroll__pin { position: sticky; top: 0; height: 100vh; height: 100svh; padding: 64px 0 0; overflow: hidden; box-sizing: border-box; }
.pp-scroll-on .pp-scroll .pp-reveal { opacity: 1 !important; transform: none !important; }
.pp-manifesto__inner, .pp-plate__inner, .pp-weeks__inner { width: min(1180px, calc(100% - 2 * var(--wp--preset--spacing--40, 1.5rem))); margin: 0 auto; }

/* 1 — Manifesto */
.pp-manifesto { background: #1F1D1A; color: #F5F2ED; }
.pp-manifesto .pp-eyebrow { color: #A39B8F; }
.pp-manifesto__inner { position: relative; display: flex; flex-direction: column; gap: 18px; }
.pp-manifesto__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.1em; font-weight: 800; letter-spacing: -0.045em; line-height: 1.02; font-size: clamp(2.2rem, 6.4vw, 5.25rem); }
.pp-manifesto__list li span { position: relative; display: inline-block; color: rgba(245, 242, 237, calc(1 - var(--s, 0) * 0.72)); transition: color 0.1s linear; }
.pp-manifesto__list li span::after { content: ""; position: absolute; left: -0.04em; right: -0.04em; top: 54%; height: 0.09em; border-radius: 99px; background: #C9A27A; transform-origin: 0 50%; transform: scaleX(var(--s, 0)) rotate(-1.2deg); }
.pp-manifesto__answer { position: absolute; right: 0; bottom: -0.2em; max-width: 520px; text-align: right; opacity: var(--a, 0); transform: translateY(calc((1 - var(--a, 0)) * 40px)); display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.pp-manifesto__word { margin: 0; font-family: var(--wp--preset--font-family--dm-serif); font-size: clamp(4.5rem, 13vw, 11rem); line-height: 0.9; color: #C8D1B0; letter-spacing: -0.02em; }
.pp-manifesto__word em { font-style: italic; }
.pp-manifesto__quote { margin: 0; font-size: 1.0625rem; line-height: 1.5; color: #E4DDD1; max-width: 440px; }
.pp-manifesto__quote span { color: #A39B8F; white-space: nowrap; }

/* 2 — Plate */
.pp-plate { background: #E4E8DE; }
.pp-plate__inner { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.pp-plate__copy { display: flex; flex-direction: column; gap: 16px; }
.pp-plate__title { margin: 0; font-size: clamp(2rem, 4.2vw, 3.5rem); line-height: 1.02; letter-spacing: -0.045em; }
.pp-plate__steps { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; counter-reset: s; }
.pp-plate__steps li { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 12px 0 12px 44px; border-top: 1px solid rgba(31, 29, 26, 0.12); opacity: 0.35; transition: opacity 0.35s ease; counter-increment: s; }
.pp-plate__steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 12px; font-family: var(--wp--preset--font-family--dm-serif); font-style: italic; font-size: 1.3rem; color: var(--wp--preset--color--accent); }
.pp-plate__steps li.is-on { opacity: 1; }
.pp-plate__steps li.is-now strong { color: var(--wp--preset--color--accent); }
.pp-plate__steps strong { font-size: 1.0625rem; color: var(--wp--preset--color--ink); transition: color 0.3s ease; }
.pp-plate__steps span { font-size: 0.9375rem; color: var(--wp--preset--color--body); }
.pp-plate__stage { position: relative; width: min(100%, 560px, 72vh); aspect-ratio: 1; justify-self: center; }
.pp-plate__svg { width: 100%; height: 100%; overflow: visible; }
.pp-piece { transform-box: view-box; transform-origin: 50% 50%; opacity: var(--k, 0); transform: translate(calc(var(--dx) * (1 - var(--k, 0)) * 1px), calc(var(--dy) * (1 - var(--k, 0)) * 1px)) rotate(calc(var(--dr) * (1 - var(--k, 0)) * 1deg)); will-change: transform, opacity; }
.pp-plate__label { position: absolute; left: 50%; bottom: 2%; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 22px; border-radius: 16px; background: #1F1D1A; color: #F5F2ED; box-shadow: 0 18px 40px rgba(31, 29, 26, 0.28); white-space: nowrap; opacity: var(--l, 0); transform: translateX(-50%) rotate(calc(-3deg * var(--l, 0))) scale(calc(1.35 - 0.35 * var(--l, 0))); }
.pp-plate__name { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #A39B8F; }
.pp-plate__macros { font-size: 1rem; color: #C9C1B4; }
.pp-plate__macros b { font-family: var(--wp--preset--font-family--dm-serif); font-style: italic; font-weight: 400; font-size: 1.6rem; color: #F5F2ED; }
.pp-plate__macros i { display: inline-block; width: 4px; height: 4px; margin: 0 8px 4px; border-radius: 50%; background: #645D54; }
.pp-plate__stamp { font-size: 0.75rem; color: #C8D1B0; }

/* 3 — Six weeks */
.pp-weeks { background: var(--wp--preset--color--base); border-top: 1px solid var(--wp--preset--color--line); }
.pp-weeks__inner { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 5vw, 4.5rem); align-items: center; }
.pp-weeks__copy { display: flex; flex-direction: column; gap: 16px; }
.pp-weeks__title { margin: 0; font-size: clamp(2rem, 4.2vw, 3.5rem); line-height: 1.02; letter-spacing: -0.045em; }
.pp-weeks__captions { position: relative; min-height: 5.5em; }
.pp-weeks__captions p { position: absolute; inset: 0 auto auto 0; margin: 0; font-size: 1.125rem; line-height: 1.5; color: var(--wp--preset--color--body); opacity: 0; transform: translateY(10px); transition: opacity 0.4s ease, transform 0.4s var(--pp-ease); }
.pp-weeks__captions p.is-on { opacity: 1; transform: none; }
.pp-weeks__captions strong { color: var(--wp--preset--color--ink); }
.pp-weeks__stage { display: flex; flex-direction: column; gap: 22px; padding: clamp(20px, 3vw, 32px); border-radius: 22px; border: 1px solid var(--wp--preset--color--line); background: var(--wp--preset--color--surface); box-shadow: 0 24px 60px rgba(31, 29, 26, 0.07); }
.pp-weeks__counter { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pp-weeks__counter .pp-eyebrow { flex-basis: 100%; }
.pp-weeks__counter strong { font-family: var(--wp--preset--font-family--dm-serif); font-style: italic; font-weight: 400; font-size: clamp(3.5rem, 7vw, 5.5rem); line-height: 0.9; color: var(--wp--preset--color--accent); font-variant-numeric: tabular-nums; min-width: 2ch; }
.pp-weeks__counter > span:last-child { font-weight: 600; color: var(--wp--preset--color--body); }
.pp-weeks__track { position: relative; padding-top: 14px; }
.pp-weeks__track::before, .pp-weeks__fill { content: ""; position: absolute; top: 0; left: 0; height: 6px; border-radius: 99px; }
.pp-weeks__track::before { right: 0; background: var(--wp--preset--color--sand-2); }
.pp-weeks__fill { width: calc(var(--w, 0) * 100%); background: linear-gradient(90deg, var(--wp--preset--color--accent), #C9A27A); }
.pp-weeks__ticks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, 1fr); font-size: 0.6875rem; font-weight: 700; color: var(--wp--preset--color--muted); }
.pp-weeks__ticks li { transition: color 0.2s ease; }
.pp-weeks__ticks li.is-on { color: var(--wp--preset--color--ink); }
.pp-weeks__ticks li.is-key { color: var(--wp--preset--color--accent); }
.pp-weeks__blocks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pp-weeks__block { position: relative; display: flex; flex-direction: column; gap: 2px; min-height: 150px; padding: 16px; border-radius: 16px; border: 1px dashed var(--wp--preset--color--line); background: var(--wp--preset--color--base); color: var(--wp--preset--color--muted); overflow: hidden; transition: background-color 0.45s ease, color 0.45s ease, border-color 0.45s ease, transform 0.45s var(--pp-ease); }
.pp-weeks__block b { font-size: 1.0625rem; color: inherit; }
.pp-weeks__block em { font-style: normal; font-size: 0.8125rem; }
.pp-weeks__lock { width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 8px; background: var(--wp--preset--color--sand); color: var(--wp--preset--color--muted); transition: background-color 0.4s ease, color 0.4s ease; }
.pp-shackle { transition: transform 0.45s var(--pp-ease); transform-origin: 16px 10.5px; transform-box: view-box; }
.pp-weeks__block.is-open { background: #1F1D1A; color: #F5F2ED; border: 1px solid #1F1D1A; transform: translateY(-4px); }
.pp-weeks__block.is-open .pp-weeks__lock { background: #A9B48E; color: #1F1D1A; }
.pp-weeks__block.is-open .pp-shackle { transform: translate(5px, -3px) rotate(28deg); }
.pp-weeks__block.is-open em { color: #C8D1B0; }
.pp-weeks__cards { position: absolute; right: 12px; bottom: 12px; width: 58px; height: 46px; }
.pp-weeks__cards i { position: absolute; inset: 0; border-radius: 8px; background: #F5F2ED; opacity: 0; transform: translateY(20px); transition: opacity 0.4s ease, transform 0.5s var(--pp-ease); box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25); }
.pp-weeks__cards i:nth-child(1) { background: #E8875E; }
.pp-weeks__cards i:nth-child(2) { background: #A9B48E; }
.pp-weeks__cards i:nth-child(3) { background: #E7C14A; }
.pp-weeks__cards i:nth-child(4) { background: #F5F2ED; }
.pp-weeks__block.is-open .pp-weeks__cards i { opacity: 1; }
.pp-weeks__block.is-open .pp-weeks__cards i:nth-child(1) { transform: rotate(-14deg) translate(-14px, 2px); transition-delay: 0.05s; }
.pp-weeks__block.is-open .pp-weeks__cards i:nth-child(2) { transform: rotate(-5deg) translate(-5px, -2px); transition-delay: 0.12s; }
.pp-weeks__block.is-open .pp-weeks__cards i:nth-child(3) { transform: rotate(5deg) translate(4px, -3px); transition-delay: 0.19s; }
.pp-weeks__block.is-open .pp-weeks__cards i:nth-child(4) { transform: rotate(13deg) translate(12px, 0); transition-delay: 0.26s; }

/* Phones & tablets */
@media (max-width: 859px) {
	.pp-scroll-on .pp-manifesto { height: 240vh; }
	.pp-scroll-on .pp-plate { height: 230vh; }
	.pp-scroll-on .pp-weeks { height: 250vh; }
	.pp-scroll-on .pp-scroll__pin { padding-top: 60px; align-items: center; }
	.pp-manifesto__answer { position: static; align-items: flex-start; text-align: left; margin-top: 8px; }
	.pp-manifesto__list { font-size: clamp(1.9rem, 9vw, 3.4rem); }
	.pp-manifesto__word { font-size: clamp(4rem, 22vw, 7rem); }
	.pp-manifesto__quote { font-size: 0.9375rem; }
	.pp-plate__inner, .pp-weeks__inner { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
	.pp-plate__steps { display: none; }
	.pp-plate__copy { gap: 8px; }
	.pp-plate__stage { width: min(88vw, 52vh); }
	.pp-plate__label { padding: 10px 14px; }
	.pp-plate__macros { font-size: 0.8125rem; }
	.pp-plate__macros b { font-size: 1.25rem; }
	.pp-plate__macros i { margin: 0 4px 3px; }
	.pp-weeks__captions { min-height: 4.8em; }
	.pp-weeks__captions p { font-size: 1rem; }
	.pp-weeks__stage { gap: 14px; padding: 16px; }
	.pp-weeks__block { min-height: 112px; padding: 12px; }
	.pp-weeks__cards { width: 40px; height: 32px; right: 8px; bottom: 8px; }
	.pp-weeks__ticks li:nth-child(even):not(.is-key) { visibility: hidden; }
}
@media (max-width: 380px) {
	.pp-plate__macros i:nth-of-type(3) { display: none; }
	.pp-plate__macros b:last-of-type, .pp-plate__macros b:last-of-type + * { }
}
/* Very short screens (landscape phones): no pinning, just show the finished state */
@media (max-height: 520px) {
	.pp-scroll-on .pp-manifesto, .pp-scroll-on .pp-plate, .pp-scroll-on .pp-weeks { height: auto; }
	.pp-scroll-on .pp-scroll__pin { position: relative; height: auto; padding: 3rem 0; }
}
/* Reduced motion: finished state, no pinning */
.pp-scroll-static .pp-scroll__pin { padding: clamp(3.5rem, 8vw, 6rem) 0; }
@media (min-width: 860px) {
	.pp-manifesto__inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 3rem; row-gap: 18px; align-items: end; }
	.pp-manifesto__inner > .pp-eyebrow { grid-column: 1 / -1; }
	.pp-manifesto__list { font-size: clamp(2.2rem, 4.6vw, 4.5rem); }
	.pp-manifesto__answer { position: static; align-self: end; }
	.pp-manifesto__word { font-size: clamp(5rem, 10vw, 9.5rem); }
}
.pp-manifesto__list li span { white-space: nowrap; }
@media (min-width: 860px) { .pp-manifesto__list { font-size: clamp(2rem, 3.7vw, 3.75rem); } }
@media (max-width: 859px) {
	.pp-manifesto__list { font-size: clamp(1.5rem, 7.4vw, 3.2rem); }
	.pp-weeks__ticks li { visibility: hidden !important; }
	.pp-weeks__ticks li:nth-child(1), .pp-weeks__ticks li:nth-child(6), .pp-weeks__ticks li:nth-child(12) { visibility: visible !important; }
	.pp-weeks__cards { top: 12px; bottom: auto; }
}
/* Plate section: readable in both themes */
.pp-plate { background: #E4E8DE; color: #1F1D1A; }
.pp-plate .pp-plate__title, .pp-plate .pp-plate__steps strong { color: #1F1D1A; }
.pp-plate .pp-plate__steps span { color: #4A443D; }
.pp-plate .pp-eyebrow { color: #645D54; }
:root[data-theme="dark"] .pp-plate { background: #1E221C; color: #EEEAE3; }
:root[data-theme="dark"] .pp-plate .pp-plate__title, :root[data-theme="dark"] .pp-plate .pp-plate__steps strong { color: #EEEAE3; }
:root[data-theme="dark"] .pp-plate .pp-plate__steps span { color: #C9C1B4; }
:root[data-theme="dark"] .pp-plate .pp-eyebrow { color: #A39B8F; }
:root[data-theme="dark"] .pp-plate__steps li { border-top-color: rgba(238, 234, 227, 0.14); }
:root[data-theme="dark"] .pp-plate__steps li.is-now strong { color: #A9B48E; }
:root[data-theme="dark"] .pp-plate__label { background: #F5F2ED; color: #1F1D1A; }
:root[data-theme="dark"] .pp-plate__macros b { color: #1F1D1A; }
:root[data-theme="dark"] .pp-plate__macros { color: #4A443D; }
:root[data-theme="dark"] .pp-plate__stamp { color: #4E5A3C; }
:root[data-theme="dark"] .pp-weeks__block.is-open { background: #4E5A3C; border-color: #4E5A3C; color: #F5F2ED; }
:root[data-theme="dark"] .pp-weeks__block.is-open .pp-weeks__lock { background: #C8D1B0; }
:root[data-theme="dark"] .pp-manifesto { background: #0F0E0D; }
/* No strip between the last section and the footer */
.wp-site-blocks > .wp-block-template-part:last-child, .wp-site-blocks > footer { margin-top: 0 !important; }
.wp-site-blocks > main, .wp-site-blocks > .wp-block-group:has(+ .wp-block-template-part:last-child) { margin-bottom: 0 !important; }

/* ==========================================================================
   v1.7 — Expanding recipe board (desktop); swipe stack stays on phones
   ========================================================================== */
.pp-stats__n { display: inline-flex; align-items: baseline; font-size: 1.375rem; font-weight: 800; letter-spacing: -0.03em; color: var(--wp--preset--color--ink); }
.pp-board { display: none; }
@media (min-width: 900px) {
	.pp-stack { display: none !important; }
	.pp-board { display: flex; flex-direction: column; gap: 16px; margin-top: clamp(2.5rem, 5vw, 4rem) !important; }
}
.pp-board__head { display: flex; justify-content: space-between; align-items: center; }
.pp-board__dots { display: flex; gap: 6px; }
.pp-board__dots i { width: 22px; height: 4px; border-radius: 99px; background: var(--wp--preset--color--sand-2); transition: background-color 0.3s ease, width 0.3s ease; }
.pp-board__dots i.is-on { width: 40px; background: var(--wp--preset--color--accent); }
.pp-board__row { display: flex; gap: 10px; height: clamp(440px, 46vw, 600px); }
.pp-board__panel { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: 22px; text-decoration: none; color: #F5F2ED; background: #1F1D1A; transition: flex-grow 0.75s cubic-bezier(0.22, 1, 0.36, 1); isolation: isolate; outline: none; }
.pp-board__panel.is-on { flex-grow: 5.2; }
.pp-board__panel:focus-visible { box-shadow: 0 0 0 3px var(--wp--preset--color--base), 0 0 0 5px var(--wp--preset--color--accent); }
.pp-board__panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.12); filter: saturate(0.75) brightness(0.8); transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1), filter 0.6s ease; -webkit-user-drag: none; user-select: none; }
.pp-board__panel.is-on img { transform: scale(1.02); filter: none; }
.pp-board__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(31, 29, 26, 0.15) 0%, rgba(31, 29, 26, 0.35) 45%, rgba(31, 29, 26, 0.88) 100%); transition: background 0.6s ease; }
.pp-board__panel:not(.is-on) .pp-board__shade { background: rgba(31, 29, 26, 0.5); }
.pp-board__num { position: absolute; top: 20px; left: 20px; font-family: var(--wp--preset--font-family--dm-serif); font-style: italic; font-size: 1.5rem; color: rgba(245, 242, 237, 0.85); }
.pp-board__spine { position: absolute; left: 50%; bottom: 26px; display: flex; flex-direction: row-reverse; align-items: center; gap: 12px; white-space: nowrap; writing-mode: vertical-rl; transform: translateX(-50%) rotate(180deg); transition: opacity 0.35s ease; }
.pp-board__spine b { font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.01em; }
.pp-board__spine em { font-style: normal; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #C8D1B0; }
.pp-board__panel.is-on .pp-board__spine { opacity: 0; }
.pp-board__body { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 10px; padding: 28px 30px 30px; min-width: 460px; opacity: 0; transform: translateY(18px); transition: opacity 0.4s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); pointer-events: none; }
.pp-board__panel.is-on .pp-board__body { opacity: 1; transform: none; transition-delay: 0.25s; }
.pp-board__meal { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #C8D1B0; }
.pp-board__name { font-size: clamp(1.8rem, 2.8vw, 2.6rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.04em; max-width: 520px; }
.pp-board__macros { display: flex; align-items: center; gap: 22px; margin-top: 6px; }
.pp-board__ring { position: relative; width: 74px; height: 74px; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; }
.pp-board__ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.pp-board__ring circle { fill: none; stroke: rgba(245, 242, 237, 0.18); stroke-width: 4; }
.pp-board__ring .pp-board__arc { stroke: #A9B48E; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.35s; }
.pp-board__panel.is-on .pp-board__arc { stroke-dashoffset: calc(100 - var(--pct)); }
.pp-board__ring strong { font-family: var(--wp--preset--font-family--dm-serif); font-style: italic; font-weight: 400; font-size: 1.35rem; line-height: 1; }
.pp-board__ring small, .pp-board__stat small { font-size: 0.625rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #C9C1B4; }
.pp-board__stat { display: flex; flex-direction: column; gap: 2px; padding-left: 22px; border-left: 1px solid rgba(245, 242, 237, 0.18); }
.pp-board__stat strong { font-family: var(--wp--preset--font-family--dm-serif); font-style: italic; font-weight: 400; font-size: 1.6rem; line-height: 1; }
.pp-board__cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 0.875rem; font-weight: 600; color: #F5F2ED; }
.pp-board__panel:hover .pp-board__cta svg { transform: translateX(3px); }
.pp-board__cta svg { transition: transform 0.2s ease; }
.pp-board__timer { position: absolute; left: 30px; right: 30px; top: 22px; height: 3px; border-radius: 99px; background: rgba(245, 242, 237, 0.2); overflow: hidden; opacity: 0; transition: opacity 0.3s ease; }
.pp-board__timer::after { content: ""; position: absolute; inset: 0; background: #F5F2ED; transform-origin: 0 50%; transform: scaleX(0); }
.pp-board.is-auto .pp-board__panel.is-on .pp-board__timer { opacity: 1; left: 64px; }
.pp-board.is-auto .pp-board__panel.is-on .pp-board__timer::after { animation: pp-board-timer var(--pp-board-ms, 5200ms) linear forwards; }
@keyframes pp-board-timer { to { transform: scaleX(1); } }
@media (min-width: 900px) and (max-width: 1199px) {
	.pp-board__body { min-width: 380px; padding: 22px 24px 24px; }
	.pp-board__macros { gap: 14px; }
	.pp-board__stat { padding-left: 14px; }
	.pp-board__ring { width: 64px; height: 64px; }
}
@media (prefers-reduced-motion: reduce) {
	.pp-board__panel, .pp-board__panel img, .pp-board__body, .pp-board__arc { transition: none !important; }
}
@media (min-width: 900px) { .pp-board { margin-top: 0.5rem !important; } }
/* Slightly tighter space between the header and the homepage hero */
.home .wp-site-blocks > main { margin-top: 0 !important; }
.pp-hero { padding-top: clamp(2.75rem, 6vw, 5.5rem) !important; }

/* ==========================================================================
   v1.8 — Custom menu sheet (below 1100px) + recipe board on phones
   ========================================================================== */
.pp-menu-btn { display: none; }
@media (max-width: 1099px) {
	.pp-header .pp-nav { display: none !important; }
	.pp-menu-btn { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 40px; height: 40px; flex: none; padding: 0; border: 1px solid var(--wp--preset--color--line); border-radius: 999px; background: var(--wp--preset--color--surface); color: var(--wp--preset--color--ink); cursor: pointer; }
	.pp-menu-btn span { display: block; width: 16px; height: 1.8px; border-radius: 2px; background: currentColor; }
	.pp-menu-btn span + span { width: 10px; margin-left: 6px; }
	.pp-header__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
	.pp-header__actions .pp-btn { height: 40px; padding: 0 16px; }
	.pp-header__actions .pp-icon-btn { width: 40px; height: 40px; border-radius: 999px; background: transparent; }
}
@media (max-width: 599px) {
	/* Phones: logo on the left, one tidy group on the right. Members get the tab bar for everything else. */
	.pp-header__actions .pp-theme-toggle,
	.pp-header__actions .pp-btn--community,
	.pp-header__actions .pp-member-only { display: none !important; }
}
@media (min-width: 1100px) { .pp-menu, .pp-menu-btn { display: none !important; } }

.pp-menu { position: fixed; inset: 0; z-index: 9999; background: rgba(31, 29, 26, 0.35); opacity: 0; transition: opacity 0.3s ease; }
.pp-menu.is-open { opacity: 1; }
html.pp-menu-open, html.pp-menu-open body { overflow: hidden; }
.pp-menu__panel { position: absolute; inset: 8px; display: flex; flex-direction: column; gap: clamp(14px, 3vh, 24px); padding: 14px 20px calc(18px + env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; border-radius: 26px; background: var(--wp--preset--color--base); color: var(--wp--preset--color--ink); transform: translateY(-14px) scale(0.985); transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
.pp-menu.is-open .pp-menu__panel { transform: none; }
.pp-menu__top { display: flex; align-items: center; justify-content: space-between; min-height: 44px; }
.pp-menu__label { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--wp--preset--color--muted); }
.pp-menu__close { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--wp--preset--color--line); border-radius: 999px; background: var(--wp--preset--color--surface); color: var(--wp--preset--color--ink); cursor: pointer; }
.pp-menu__links { display: flex; flex-direction: column; }
.pp-menu__links a { display: flex; align-items: baseline; gap: 16px; padding: clamp(10px, 1.9vh, 16px) 2px; border-bottom: 1px solid var(--wp--preset--color--line); color: var(--wp--preset--color--ink); text-decoration: none; font-size: clamp(1.55rem, 4.4vh, 2.25rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.035em; opacity: 0; transform: translateY(10px); transition: opacity 0.35s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), color 0.2s ease; }
.pp-menu__links a:first-child { border-top: 1px solid var(--wp--preset--color--line); }
.pp-menu.is-open .pp-menu__links a { opacity: 1; transform: none; }
.pp-menu.is-open .pp-menu__links a:nth-child(2) { transition-delay: 0.04s; }
.pp-menu.is-open .pp-menu__links a:nth-child(3) { transition-delay: 0.08s; }
.pp-menu.is-open .pp-menu__links a:nth-child(4) { transition-delay: 0.12s; }
.pp-menu.is-open .pp-menu__links a:nth-child(5) { transition-delay: 0.16s; }
.pp-menu__links i { flex: none; width: 22px; font-style: normal; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; color: var(--wp--preset--color--muted); transform: translateY(-0.35em); }
.pp-menu__links em { font-family: var(--wp--preset--font-family--dm-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; color: var(--wp--preset--color--accent); }
.pp-menu__links a[aria-current="page"], .pp-menu__links a[aria-current="page"] i { color: var(--wp--preset--color--accent); }
.pp-menu__links a:active { color: var(--wp--preset--color--accent); }
.pp-menu__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; }
.pp-menu__actions .pp-btn { justify-content: center; height: 52px; font-size: 0.9375rem; }
.pp-menu__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 4px; }
.pp-menu__foot a { font-size: 0.8125rem; color: var(--wp--preset--color--muted); text-decoration: none; }
.pp-menu__theme { display: inline-flex; align-items: center; gap: 10px; padding: 6px 0; border: 0; background: none; color: var(--wp--preset--color--ink); font: inherit; font-size: 0.875rem; font-weight: 600; cursor: pointer; }
.pp-menu__switch { position: relative; width: 38px; height: 22px; border-radius: 99px; background: var(--wp--preset--color--sand-2); transition: background-color 0.25s ease; }
.pp-menu__switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--wp--preset--color--surface); box-shadow: 0 1px 3px rgba(31, 29, 26, 0.2); transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1); }
.pp-menu__theme[aria-pressed="true"] .pp-menu__switch { background: var(--wp--preset--color--accent); }
.pp-menu__theme[aria-pressed="true"] .pp-menu__switch::after { transform: translateX(16px); }
@media (min-width: 600px) { .pp-menu__panel { left: auto; width: min(440px, calc(100% - 16px)); } }
@media (prefers-reduced-motion: reduce) { .pp-menu, .pp-menu__panel, .pp-menu__links a { transition: none !important; } }

/* Recipe board on phones and small tablets: the same panels, stacked as an accordion */
@media (max-width: 899px) {
	.pp-stack { display: none !important; }
	.pp-board { display: flex; flex-direction: column; gap: 12px; margin-top: 0.75rem !important; margin-bottom: clamp(2.5rem, 8vw, 4rem) !important; }
	.pp-board__dots i { width: 14px; }
	.pp-board__dots i.is-on { width: 28px; }
	.pp-board__row { flex-direction: column; height: auto; gap: 8px; }
	.pp-board__panel { flex: none; height: 60px; border-radius: 18px; transition: height 0.7s cubic-bezier(0.22, 1, 0.36, 1); -webkit-tap-highlight-color: transparent; }
	.pp-board__panel.is-on { height: clamp(390px, 112vw, 540px); }
	.pp-board__num { top: 17px; left: 18px; font-size: 1.25rem; }
	.pp-board__spine { left: 54px; right: 18px; top: 0; bottom: auto; height: 60px; flex-direction: row; justify-content: space-between; gap: 12px; writing-mode: horizontal-tb; transform: none; }
	.pp-board__spine b { overflow: hidden; text-overflow: ellipsis; font-size: 0.9375rem; }
	.pp-board__spine em { flex: none; font-size: 0.625rem; }
	.pp-board__body { min-width: 0; gap: 8px; padding: 20px 20px 22px; }
	.pp-board__meal { font-size: 0.6875rem; line-height: 1.4; }
	.pp-board__name { font-size: clamp(1.6rem, 7.4vw, 2.2rem); }
	.pp-board__macros { gap: 12px; margin-top: 4px; }
	.pp-board__ring { width: 58px; height: 58px; }
	.pp-board__ring strong { font-size: 1.1rem; }
	.pp-board__stat { padding-left: 12px; }
	.pp-board__stat strong { font-size: 1.3rem; }
	.pp-board__cta { margin-top: 4px; }
	.pp-board__timer { left: 54px; right: 20px; top: 28px; }
	.pp-board.is-auto .pp-board__panel.is-on .pp-board__timer { left: 54px; }
}
@media (max-width: 359px) { .pp-board__stat:last-child { display: none; } }
@media (max-width: 899px) { .pp-board__ring small { font-size: 0.5rem; letter-spacing: 0.05em; } }
@media (max-width: 599px) { body.logged-in .pp-header__actions .pp-member-only { display: none !important; } }
.pp-menu__actions .pp-btn--community { width: auto !important; height: 52px !important; padding: 0 18px !important; border-radius: 999px; }
.pp-menu__actions .pp-btn--community span { position: static !important; width: auto !important; height: auto !important; clip: auto !important; overflow: visible !important; }
body.admin-bar .pp-menu__panel { top: 54px; }
@media (min-width: 783px) { body.admin-bar .pp-menu__panel { top: 40px; } }
