/*!
Theme Name: Pencl Child
Theme URI: https://penclit.com/
Author: Pencl
Description: Custom theme for penclit.com — land and development feasibility. Built on ACF Pro (local JSON field groups) and the Bootstrap 5 grid.
Version: 2.3.1
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pencl-child
*/

/* ==========================================================================
   TABLE OF CONTENTS
   --------------------------------------------------------------------------
   1.  CSS variables (design tokens)
   2.  Fonts
   3.  Base / reset
   4.  Utilities
   5.  Typography helpers
   6.  Buttons & links
   7.  Bands (section wrappers)
   8.  Global — Header
   9.  Global — Footer
   10. Shared — Section heads, cards, closing CTA
   11. Page — Homepage
   12. Page — Quick Verdict
   13. Page — Blog Listing, archives & search
   14. Page — Blog Detail (single post)
   15. Shared — Long-form content (.prose)
   16. Page — Legal (Privacy Policy, Terms & Conditions) & default pages
   17. Page — 404
   18. Motion preferences

   Desktop is the base. Tablet and mobile overrides live in assets/css/responsive.css.
   ========================================================================== */


/* ==========================================================================
   1. CSS variables (design tokens)
   ========================================================================== */
:root {
	/* Palette */
	--pc-ink: #1a1a18;
	--pc-ink-soft: #2e2a24;        /* dark band, footer, napkin ink */
	--pc-body: #575349;            /* supporting sans copy */
	--pc-serif: #4a4740;           /* serif body copy */
	--pc-muted: #6f6a5c;           /* small print (≥4.9:1 on white and tint) */
	--pc-tint: #f7f4ec;
	--pc-line: #efebe1;
	--pc-line-strong: #d9d3c6;
	--pc-brand: #1f4f49;           /* primary button */
	--pc-brand-hover: #173c37;
	--pc-link: #1f6b5f;
	--pc-accent: #e2912f;          /* pencil orange (decorative only) */
	--pc-eyebrow: #9c6631;         /* on white (4.8:1) */
	--pc-eyebrow-tint: #8a5a2b;    /* on tint (5.3:1) */
	--pc-cream: #f7f5ef;
	--pc-dark-muted: #b8b4ab;
	--pc-dark-link: #ded6c6;
	--pc-gold: #ebbe8e;

	/* Quick Verdict palette */
	--qv-bg: #faf4eb;
	--qv-amber: #ecaa0b;
	--qv-amber-rgb: 236, 170, 11;
	--qv-amber-hover: #fab72a;
	--qv-amber-deep: #cb8a00;
	--qv-ink: #181611;
	--qv-sub: #58554f;
	--qv-card: #fefbf7;
	--qv-border: #e5e1da;
	--qv-group: #66635d;
	--qv-label: #504d47;
	--qv-input-bg: #f5f1ec;
	--qv-input-border: #dbd7d0;
	--qv-dark: #17130e;
	--qv-dark-label: #8b857c;
	--qv-dark-text: #f3f1ee;

	/* Type */
	--pc-font-sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--pc-font-serif: "Newsreader", Georgia, "Times New Roman", serif;
	--pc-font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
	--pc-font-display: "Space Grotesk", "Instrument Sans", system-ui, sans-serif;

	/* Layout */
	--pc-pad: 48px;                /* page gutter; 22px on tablet/mobile */
	--pc-header-h: 66px;
	--pc-radius: 20px;
	--pc-shadow-hover: 0 22px 44px -26px rgba(30, 24, 14, .38);
	--pc-ease: cubic-bezier(.2, .8, .3, 1);
}


/* ==========================================================================
   2. Fonts (self-hosted, latin subset, font-display: swap)
   ========================================================================== */
@font-face {
	font-family: "Instrument Sans";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("assets/fonts/instrument-sans-latin.woff2") format("woff2");
}
@font-face {
	font-family: "Newsreader";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("assets/fonts/newsreader-400-latin.woff2") format("woff2");
}
@font-face {
	font-family: "Newsreader";
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url("assets/fonts/newsreader-italic-400-latin.woff2") format("woff2");
}
@font-face {
	font-family: "JetBrains Mono";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("assets/fonts/jetbrains-mono-latin.woff2") format("woff2");
}
/* Quick Verdict only — the browser downloads it only where it is used. */
@font-face {
	font-family: "Space Grotesk";
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url("assets/fonts/space-grotesk-latin.woff2") format("woff2");
}


/* ==========================================================================
   3. Base / reset
   ========================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: calc(var(--pc-header-h) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	margin: 0;
	background: #fff;
	color: var(--pc-ink);
	font-family: var(--pc-font-sans);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0;
	font-weight: 700;
	line-height: 1.2;
}

p,
ul,
ol,
dl,
figure,
blockquote {
	margin: 0;
}

ul,
ol {
	padding-left: 2rem;
}

dd {
	margin: 0;
}

b,
strong {
	font-weight: bolder;
}

a {
	color: var(--pc-link);
	text-decoration: none;
}

a:hover {
	color: var(--pc-ink);
	text-decoration: underline;
}

img,
svg,
video {
	max-width: 100%;
	vertical-align: middle;
}

img {
	height: auto;
}

button,
input,
select,
textarea {
	margin: 0;
	font: inherit;
	color: inherit;
}

button {
	cursor: pointer;
}

fieldset {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

hr {
	margin: 1rem 0;
	border: 0;
	border-top: 1px solid currentColor;
	opacity: .25;
}

table {
	border-collapse: collapse;
}

[hidden] {
	display: none !important;
}

::selection {
	background: var(--pc-accent);
	color: #fff;
}

:focus-visible {
	outline: 2px solid var(--pc-brand);
	outline-offset: 3px;
	border-radius: 4px;
}

.site-main {
	flex: 1 0 auto;
}

.site-main:focus {
	outline: none;
}

.pc-container {
	width: 100%;
	max-width: calc(1240px + var(--pc-pad) * 2);
	margin-inline: auto;
	padding-inline: var(--pc-pad);
}

.skip-link {
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 10001;
	padding: 10px 16px;
	border-radius: 999px;
	background: var(--pc-brand);
	color: #fff;
	font-weight: 600;
	transform: translateY(-160%);
	transition: transform .15s ease;
}

.skip-link:focus {
	transform: none;
	color: #fff;
}


/* ==========================================================================
   4. Utilities (the Bootstrap grid file supplies d-*, row/col, gutters)
   ========================================================================== */
.visually-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.text-center {
	text-align: center !important;
}

.text-start {
	text-align: left !important;
}

.h-100 {
	height: 100% !important;
}

.list-unstyled {
	margin-bottom: 0;
	padding-left: 0;
	list-style: none;
}


/* ==========================================================================
   5. Typography helpers
   ========================================================================== */
.serif {
	font-family: var(--pc-font-serif);
}

.serif-italic {
	font-family: var(--pc-font-serif);
	font-style: italic;
}

.mono {
	font-family: var(--pc-font-mono);
	font-variant-numeric: tabular-nums;
}

.eyebrow {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: -.01em;
	color: var(--pc-eyebrow);
}

.section-title {
	max-width: 22em;
	margin: 12px auto 0;
	font-size: clamp(2rem, 1.25rem + 2.4vw, 2.875rem);
	font-weight: 700;
	line-height: 1.06;
	letter-spacing: -.045em;
	text-wrap: balance;
}

.section-title--page {
	font-size: clamp(2.25rem, 1.3rem + 3vw, 3.5rem);
	line-height: 1.04;
}

.section-title--sm {
	font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.25rem);
}

/* An accent word wrapped in <em> by the editor becomes the serif italic. */
h1 em, h1 i,
h2 em, h2 i,
.section-title em,
.cta-band__title em,
.display-title em {
	font-family: var(--pc-font-serif);
	font-style: italic;
	font-weight: 400;
	letter-spacing: -.02em;
}

.section-intro {
	max-width: 32em;
	margin: 20px auto 0;
	font-size: 21px;
	line-height: 1.5;
	color: var(--pc-serif);
	text-wrap: pretty;
}

.serif-copy {
	margin: 8px 0 0;
	font-family: var(--pc-font-serif);
	font-size: 18px;
	line-height: 1.5;
	color: var(--pc-serif);
	text-wrap: pretty;
}

.serif-copy--sm {
	font-size: 17px;
	line-height: 1.45;
}

.step-num {
	display: block;
	font-family: var(--pc-font-mono);
	font-size: 13px;
	font-weight: 700;
	color: var(--pc-eyebrow);
}

.card-kicker {
	margin: 0;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--pc-link);
}

.card-eyebrow {
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	color: var(--pc-eyebrow);
}

.card-title {
	margin: 10px 0 0;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -.02em;
}

.card-title--md {
	font-size: 20px;
	letter-spacing: -.025em;
}

.card-title-lg {
	margin: 12px 0 0;
	font-size: 21px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -.025em;
}

.card-title-xl {
	margin: 0;
	font-size: 23px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -.03em;
}


/* ==========================================================================
   6. Buttons & links
   ========================================================================== */
.btn-pc {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 13px 28px;
	border: 1px solid var(--pc-brand);
	border-radius: 999px;
	background: var(--pc-brand);
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.btn-pc:hover,
.btn-pc:focus-visible {
	background: var(--pc-brand-hover);
	border-color: var(--pc-brand-hover);
	color: #fff;
	text-decoration: none;
}

.btn-pc--sm {
	min-height: 36px;
	padding: 8px 18px;
	font-size: 13px;
}

.btn-pc--md {
	padding: 12px 24px;
	font-size: 14.5px;
	white-space: nowrap;
}

.btn-pc--lg {
	padding: 14px 30px;
}

.btn-pc--outline {
	background: transparent;
	border-color: var(--pc-line-strong);
	color: var(--pc-ink);
}

.btn-pc--outline:hover,
.btn-pc--outline:focus-visible {
	background: var(--pc-tint);
	border-color: var(--pc-ink);
	color: var(--pc-ink);
}

.btn-pc--block {
	display: flex;
	width: 100%;
	font-size: 14.5px;
}

.link-quiet,
.link-strong {
	font-size: 15px;
	font-weight: 500;
	color: var(--pc-link);
}

.link-quiet:hover,
.link-strong:hover {
	color: var(--pc-ink);
}

.link-strong {
	font-weight: 600;
}

.btn-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 18px 26px;
	margin-top: 34px;
}


/* ==========================================================================
   7. Bands (full-width section wrappers)
   ========================================================================== */
.band {
	padding: 88px 0 80px;
}

.band--tint {
	padding: 84px 0;
	background: var(--pc-tint);
}

/* Brown text drops a shade on the tinted background to keep 4.5:1 contrast. */
.band--tint .eyebrow,
.band--tint .step-num,
.band--tint .card-eyebrow {
	color: var(--pc-eyebrow-tint);
}

.band--dark {
	padding: 70px 0;
	background: var(--pc-ink-soft);
	color: var(--pc-cream);
}

.band--dark :focus-visible {
	outline-color: var(--pc-gold);
}

.band-footnote {
	max-width: 52em;
	margin: 24px auto 0;
	font-size: 13px;
	line-height: 1.7;
	color: var(--pc-muted);
}

.band-footnote a {
	text-decoration: underline;
}


/* ==========================================================================
   8. Global — Header (logo · primary navigation · actions)
   ========================================================================== */
.site-header {
	position: relative;
	z-index: 20;
	background: rgba(255, 255, 255, .92);
	border-bottom: 1px solid var(--pc-line);
}

@supports (backdrop-filter: blur(1px)) {
	.site-header {
		background: rgba(255, 255, 255, .86);
		backdrop-filter: saturate(180%) blur(14px);
	}
}

.site-header.is-sticky {
	position: sticky;
	top: 0;
}

.admin-bar .site-header.is-sticky {
	top: 32px;
}

.site-header__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	column-gap: 20px;
	min-height: var(--pc-header-h);
}

/* "pencl" wordmark: "penc" + pencil glyph as the "l" (header, footer, splash).
   The glyph is 1.25em tall, so 26px text gives a 32.5px pencil. */
.pc-wordmark {
	display: flex;
	align-items: flex-end;
	font-family: var(--pc-font-display);
	font-size: 26px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -.03em;
	color: var(--pc-ink);
}

.pc-wordmark__glyph {
	display: block;
	width: auto;
	height: 1.25em;
	margin-left: 2px;
}

.pc-wordmark--light {
	font-size: 24px;
	color: var(--pc-cream);
}

.site-logo {
	order: 1;
	align-self: center;
	padding-block: 8px;
	text-decoration: none;
}

.site-logo:hover {
	color: var(--pc-ink);
	text-decoration: none;
}

/* Desktop navigation: a single row between the logo and the actions. */
.site-nav {
	display: flex;
	order: 2;
	flex: 0 1 auto;
}

.site-nav__list {
	display: flex;
	align-items: center;
	gap: 30px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav__list a {
	position: relative;
	display: block;
	padding: 6px 0;
	font-size: 13px;
	color: var(--pc-body);
	transition: color .2s ease;
}

/* Underline bar: grows in on hover, stays full under the active item. */
.site-nav__list a::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: -1px;
	left: 0;
	height: 2px;
	border-radius: 2px;
	background: var(--pc-accent);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform .25s var(--pc-ease);
}

.site-nav__list a:hover {
	color: var(--pc-ink);
	text-decoration: none;
}

.site-nav__list a:hover::after {
	transform: scaleX(.35);
}

/* Active: the current page (Blogs), its section (a blog post → Blogs), or the
   homepage section in view (set by assets/js/main.js while scrolling). */
.site-nav__list .current-menu-item > a,
.site-nav__list .current-menu-parent > a,
.site-nav__list .current-menu-ancestor > a,
.site-nav__list a[aria-current] {
	color: var(--pc-ink);
	text-shadow: .25px 0 0 currentColor, -.25px 0 0 currentColor; /* faux semibold, no width jump */
}

.site-nav__list .current-menu-item > a::after,
.site-nav__list .current-menu-parent > a::after,
.site-nav__list .current-menu-ancestor > a::after,
.site-nav__list a[aria-current]::after {
	transform: scaleX(1);
}

.site-nav__extra {
	padding-bottom: 14px;
}

.site-nav__extra a {
	display: inline-block;
	padding: 8px 0;
	font-size: 15px;
	font-weight: 600;
}

.site-header__actions {
	display: flex;
	order: 3;
	align-items: center;
	gap: 20px;
}

.site-header__link {
	align-items: center;
	min-height: 44px;
	font-size: 13px;
	font-weight: 500;
	color: var(--pc-link);
}

.site-header__link::after {
	content: "\00a0\203A";
}

/* On its own page the "Quick verdict" link reads as the current item. */
.site-header__link[aria-current="page"],
.site-nav__extra-link[aria-current="page"] {
	color: var(--pc-ink);
	text-decoration: underline;
	text-decoration-color: var(--pc-accent);
	text-decoration-thickness: 2px;
	text-underline-offset: .45em;
}

/* Hamburger (shown on tablet/mobile only — see responsive.css). */
.nav-toggle {
	display: none;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--pc-line);
	border-radius: 999px;
	background: #fff;
}

.nav-toggle:hover {
	border-color: var(--pc-line-strong);
}

.nav-toggle__bars {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.nav-toggle__bars span {
	display: block;
	width: 16px;
	height: 1.5px;
	border-radius: 2px;
	background: var(--pc-ink);
	transition: transform .2s ease, opacity .2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) {
	transform: translateY(5.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) {
	opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) {
	transform: translateY(-5.5px) rotate(-45deg);
}

@keyframes pcNavIn {
	from { opacity: 0; transform: translateY(-6px); }
	to { opacity: 1; transform: none; }
}

/* Announcement bar under the header */
.announcement {
	padding: 13px 0;
	background: var(--pc-tint);
}

.announcement__text {
	margin: 0 auto;
	font-size: 13.5px;
	font-weight: 600;
	text-align: center;
	color: var(--pc-eyebrow-tint);
}


/* ==========================================================================
   9. Global — Footer
   ========================================================================== */
.site-footer {
	background: var(--pc-ink-soft);
	color: var(--pc-dark-muted);
	font-size: 13px;
}

.site-footer :focus-visible {
	outline-color: var(--pc-gold);
}

.site-footer__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px 24px;
	padding-block: 24px;
}

.site-footer__brand {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
}

.site-footer__copy {
	margin: 0;
}

.site-footer__name {
	font-weight: 600;
	color: var(--pc-dark-link);
	text-decoration: underline;
	text-decoration-color: transparent;
	text-underline-offset: .2em;
	transition: color .2s ease, text-decoration-color .2s ease;
}

.site-footer__name:hover {
	color: var(--pc-cream);
	text-decoration-color: currentColor;
}

.site-footer__list {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__list a {
	display: inline-block;
	padding: 6px 0;
	color: var(--pc-dark-link);
}

.site-footer__list a:hover {
	color: #fff;
}

.site-footer__list .current-menu-item > a,
.site-footer__list a[aria-current="page"] {
	color: #fff;
	text-decoration: underline;
	text-decoration-color: var(--pc-accent);
	text-decoration-thickness: 2px;
	text-underline-offset: .35em;
}


/* ==========================================================================
   10. Shared — Section heads, cards, closing CTA
   Used on the Homepage and at the foot of Blog Detail.
   ========================================================================== */
.card-grid {
	margin-top: calc(48px - var(--bs-gutter-y));
}

.columns-grid {
	margin-top: calc(56px - var(--bs-gutter-y));
}

.pc-card {
	height: 100%;
	padding: 28px 26px;
	border-radius: var(--pc-radius);
	background: #fff;
}

.pc-card--tint {
	padding: 26px 26px 28px;
	background: var(--pc-tint);
}

.pc-card--tint .step-num {
	color: var(--pc-eyebrow-tint);
}

.pc-card--list {
	display: flex;
	flex-direction: column;
	gap: 22px;
	margin: 0;
	padding: 30px 28px;
}

.pc-card--list .card-title {
	margin-top: 0;
}

.pc-card--list .serif-copy {
	margin-top: 5px;
}

.pc-card__icon {
	display: block;
	margin-bottom: 14px;
}

.pc-card__icon svg {
	display: block;
}

.pc-card .card-kicker + .card-title {
	margin-top: 10px;
}

.card-footnote {
	margin: 12px 0 0;
	font-size: 12px;
	color: var(--pc-muted);
}

.chip-list {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin: 14px 0 0;
	padding: 0;
	list-style: none;
}

.chip {
	padding: 5px 11px;
	border-radius: 999px;
	background: #fff;
	font-size: 12px;
	color: var(--pc-ink-soft);
}

.chip__arrow {
	color: var(--pc-muted);
}

/* Closing call-to-action band */
.cta-band {
	padding: 96px 0 100px;
}

.cta-band__title {
	max-width: 18em;
	margin: 0 auto;
	font-size: clamp(2.125rem, 1.2rem + 2.8vw, 3.25rem);
	font-weight: 700;
	line-height: 1.04;
	letter-spacing: -.05em;
	text-wrap: balance;
}

.cta-band__text {
	max-width: 28em;
	margin: 18px auto 0;
	font-size: clamp(1.1875rem, 1rem + .6vw, 1.375rem);
	line-height: 1.45;
	color: var(--pc-serif);
	text-wrap: pretty;
}

.cta-band .btn-row {
	margin-top: 32px;
}


/* Card hover — one treatment for every card on the site: homepage cards, pricing
   plans, blog cards and method illustrations.
   A hairline ring and a soft shadow on pointer devices; the lift and image zoom
   live in section 18 so they are skipped under prefers-reduced-motion. */
.pc-card,
.plan,
.post-card {
	transition: box-shadow .3s var(--pc-ease), transform .3s var(--pc-ease), border-color .3s ease, background-color .3s ease;
}

.post-card__media img,
.method__ill svg {
	transition: transform .5s var(--pc-ease);
}

@media (hover: hover) {
	.pc-card:hover,
	.plan:hover,
	.post-card:hover {
		box-shadow: 0 0 0 1px var(--pc-line-strong), var(--pc-shadow-hover);
	}

	.post-card:hover .post-card__more {
		color: var(--pc-ink);
	}

	.post-card:hover .post-card__go {
		border-color: var(--pc-ink-soft);
		background: var(--pc-ink-soft);
		color: #fff;
	}
}

/* Keyboard users get the same lift cue as soon as focus lands inside a card. */
.post-card:focus-within {
	box-shadow: 0 0 0 1px var(--pc-line-strong), var(--pc-shadow-hover);
}


/* Opening splash / logo loader (every page; template-parts/global/splash.php) */
@keyframes pcSplash {
	0%, 42% { opacity: 1; visibility: visible; }
	100% { opacity: 0; visibility: hidden; }
}
@keyframes pcSplashMark {
	0% { opacity: 0; transform: translateY(6px); }
	38%, 100% { opacity: 1; transform: none; }
}
@keyframes pcSplashRule {
	0% { transform: scaleX(0); }
	55%, 100% { transform: scaleX(1); }
}

.splash {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--pc-tint);
	pointer-events: none;
	animation: pcSplash 1.5s ease-in-out forwards; /* no-JS fallback */
}

/* Script-driven (template-parts/home/splash.php): stays up until .is-done.
   The delayed animation is only a failsafe in case the script never finishes. */
.splash.is-js {
	animation: pcSplashOut .6s ease-in-out 5s forwards;
}

.splash.is-done {
	opacity: 0;
	visibility: hidden;
	transition: opacity .6s ease-in-out, visibility 0s linear .6s;
}

@keyframes pcSplashOut {
	to { opacity: 0; visibility: hidden; }
}

.splash__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	animation: pcSplashMark 1.1s ease-out both;
}

.splash__logo {
	font-size: 56px;
}

.splash__rule {
	width: 180px;
	height: 1px;
	background: #c9c2ae;
	transform-origin: left center;
	animation: pcSplashRule 1.1s ease-out both;
}

.splash__tagline {
	font-size: 13px;
	color: var(--pc-eyebrow-tint);
}


/* ==========================================================================
   11. Page — Homepage (page_templates/template-home.php)
   ========================================================================== */

/* ---- 11.2 Hero ---- */
.hero {
	padding-bottom: 0;
}

.hero__title {
	margin: 14px auto 0;
	font-size: clamp(2.625rem, 1.2rem + 5.4vw, 4.75rem);
	font-weight: 700;
	line-height: 1.02;
	letter-spacing: -.05em;
	text-wrap: balance;
}

.hero__title em {
	position: relative;
	display: inline-block;
}

.hero__underline {
	position: absolute;
	left: -3%;
	bottom: .02em;
	width: 106%;
	height: .16em;
	overflow: visible;
}

.hero__underline path {
	fill: none;
	stroke: var(--pc-accent);
	stroke-width: 6;
	stroke-linecap: round;
	stroke-dasharray: 250;
	stroke-dashoffset: 0;
}

.hero__lede {
	max-width: 26em;
	margin: 22px auto 0;
	font-size: clamp(1.25rem, 1.05rem + .7vw, 1.5rem);
	line-height: 1.45;
	color: var(--pc-serif);
	text-wrap: pretty;
}

.hero__text {
	max-width: 40em;
	margin: 14px auto 0;
	font-size: 17px;
	line-height: 1.65;
	color: var(--pc-body);
	text-wrap: pretty;
}

.hero__note {
	margin: 18px 0 0;
	font-size: 13px;
	color: var(--pc-muted);
}

/* ---- 11.3 Napkin illustration (authored finished; CSS only reveals it) ---- */
.napkin {
	max-width: 900px;
	margin: 54px auto 0;
}

.napkin svg {
	display: block;
	width: 100%;
	height: auto;
}

.napkin__ring {
	stroke-dasharray: 780;
	stroke-dashoffset: 0;
}

.napkin__steam {
	opacity: .55;
}

/* ---- 11.4 The method ---- */
.method .eyebrow {
	margin-top: 8px;
}

.method__list {
	margin-top: calc(34px - var(--bs-gutter-y));
}

.method__ill {
	margin-bottom: 20px;
}

.method__ill svg {
	display: block;
	width: 232px;
	max-width: 100%;
	height: auto;
}

.ill-pop,
.ill-grow,
.ill-stamp {
	transform-box: fill-box;
	transform-origin: center;
}

.ill-grow {
	transform-origin: bottom;
}

.ill-stamp {
	transform: rotate(-9deg);
}

/* ---- 11.5 Product loop (11s timeline, matches the live loop) ---- */
.loop-band {
	padding: 30px 0 36px;
}

.pl {
	position: relative;
	width: min(560px, 100%);
	aspect-ratio: 1;
	margin: 0 auto;
	overflow: hidden;
	border-radius: var(--pc-radius);
	background: #fff;
	box-shadow: 0 18px 44px -30px rgba(30, 24, 14, .5);
	container-type: inline-size;
	text-align: left;
}

.pl p {
	margin: 0;
}

.pl-layer {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	opacity: 0;
}

.pl-a2 {
	opacity: 1; /* the still shown with reduced motion */
}

.pl-media {
	position: relative;
	flex: 1;
	overflow: hidden;
	background: var(--pc-line);
}

.pl-video,
.pl-photo {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	max-width: none;
	height: 100%;
	object-fit: cover;
}

.pl-tag {
	position: absolute;
	left: 16cqw;
	bottom: 9cqw;
	display: flex;
	align-items: baseline;
	gap: 1.4cqw;
	padding: 1.5cqw 3.2cqw;
	border-radius: 999px;
	background: rgba(255, 255, 255, .8);
	backdrop-filter: blur(14px) saturate(115%);
	box-shadow: 0 6px 18px -10px rgba(30, 24, 14, .45);
	font-size: 2.32cqw;
	font-weight: 500;
	color: var(--pc-body);
}

.pl-tag b {
	font-family: var(--pc-font-mono);
	font-size: 2.86cqw;
	font-weight: 700;
	letter-spacing: -.03em;
	color: var(--pc-ink);
}

.pl-caption {
	display: flex;
	flex-direction: column;
	justify-content: center;
	height: 37%;
	padding: 5cqw 6.4cqw;
	background: var(--pc-tint);
}

.pl-caption__step {
	display: flex;
	align-items: center;
	gap: 1.8cqw;
	font-size: 2.23cqw;
	font-weight: 600;
	letter-spacing: -.005em;
	color: var(--pc-eyebrow-tint);
}

.pl-caption__num {
	font-family: var(--pc-font-mono);
	font-size: 2.32cqw;
	font-weight: 700;
}

.pl .pl-caption__title {
	margin-top: 1.6cqw;
	font-size: 5.89cqw;
	font-weight: 700;
	line-height: 1.04;
	letter-spacing: -.045em;
}

.pl .pl-caption__text {
	margin-top: 1.4cqw;
	font-family: var(--pc-font-serif);
	font-size: 2.86cqw;
	font-style: italic;
	line-height: 1.4;
	color: var(--pc-serif);
}

.pl-sheet {
	position: relative;
	display: flex;
	flex: 1;
	flex-direction: column;
	justify-content: center;
	gap: 1.5cqw;
	padding: 5.4cqw 6.4cqw;
	background: #fff;
}

.pl-row,
.pl-net {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
}

.pl-row span,
.pl-net span {
	font-size: 2.59cqw;
	font-weight: 500;
	color: var(--pc-body);
}

.pl-row b,
.pl-net b {
	font-family: var(--pc-font-mono);
	font-size: 2.68cqw;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.pl-row.is-neg b {
	color: #b91c1c;
}

.pl-hr {
	height: 1px;
	margin: 0;
	border: 0;
	background: var(--pc-line);
	opacity: 1;
}

.pl-net {
	margin-top: 1.1cqw;
	padding: 2.1cqw 2.9cqw;
	border-radius: 12px;
	background: #eaf1ee;
}

.pl-net span {
	font-size: 2.68cqw;
	font-weight: 600;
	color: var(--pc-brand);
}

.pl-net b {
	font-size: 3.04cqw;
	color: var(--pc-brand);
}

.pl .pl-lots {
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 1.6cqw;
	margin-top: 1.8cqw;
	font-size: 2.5cqw;
	color: var(--pc-muted);
}

.pl-lots b {
	font-family: var(--pc-font-mono);
	font-size: 2.86cqw;
	font-weight: 700;
	color: var(--pc-ink);
}

.pl .pl-total {
	position: relative;
	align-self: center;
	margin-top: .6cqw;
}

.pl-total span {
	display: block;
	padding: 1.1cqw 3.4cqw;
	font-family: var(--pc-font-mono);
	font-size: 6.79cqw;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	letter-spacing: -.05em;
}

.pl-total svg {
	position: absolute;
	left: -3%;
	top: -14%;
	width: 106%;
	height: 128%;
	overflow: visible;
	pointer-events: none;
}

.pl-total path {
	fill: none;
	stroke: var(--pc-accent);
	stroke-width: 3.4;
	stroke-linecap: round;
	stroke-dasharray: 700;
	stroke-dashoffset: 0;
}

.pl-plate {
	position: absolute;
	left: 4.3cqw;
	right: 4.3cqw;
	bottom: 4.3cqw;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 3.4cqw;
	padding: 2.7cqw 3.2cqw;
	border-radius: 14px;
	background: rgba(255, 255, 255, .78);
	backdrop-filter: blur(16px) saturate(115%);
	box-shadow: 0 12px 30px -18px rgba(30, 24, 14, .7);
}

.pl-plate__ring {
	flex: none;
	width: 13cqw;
	height: 13cqw;
	transform: rotate(-90deg);
}

.pl-plate__arc {
	stroke: var(--pc-accent);
}

.pl-plate--nogo .pl-plate__arc {
	stroke: #c4bcae;
}

.pl-plate__score {
	display: flex;
	align-items: baseline;
	gap: 1.4cqw;
}

.pl-plate__num {
	font-family: var(--pc-font-mono);
	font-size: 5.4cqw;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	line-height: 1;
	letter-spacing: -.05em;
}

.pl-plate--nogo .pl-plate__num,
.pl-plate__of {
	color: var(--pc-body);
}

.pl-plate__of {
	font-size: 2.14cqw;
}

.pl-plate__badge {
	display: inline-block;
	flex: none;
	padding: 1.2cqw 3cqw;
	border-radius: 999px;
	background: #dcfce7;
	color: #166534;
	font-size: 2.32cqw;
	font-weight: 700;
	letter-spacing: .05em;
}

.pl-plate--nogo .pl-plate__badge {
	background: #fee2e2;
	color: #b91c1c;
}

.pl-toggle {
	position: absolute;
	top: 81%;
	right: 4.3cqw;
	display: none; /* shown only when motion is allowed (section 18) */
	align-items: center;
	justify-content: center;
	width: 6.4cqw;
	min-width: 32px;
	height: 6.4cqw;
	min-height: 32px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, .9);
	box-shadow: 0 4px 14px -8px rgba(30, 24, 14, .6);
}

.pl-toggle svg {
	display: block;
	width: 40%;
	height: 40%;
	fill: var(--pc-ink);
}

.pl-toggle__play,
.pl[data-pl="paused"] .pl-toggle__pause {
	display: none !important;
}

.pl[data-pl="paused"] .pl-toggle__play {
	display: block !important;
}

.pl-progress {
	position: absolute;
	left: 0;
	bottom: 0;
	display: none;
	width: 100%;
	height: .6%;
	min-height: 3px;
	background: var(--pc-line);
}

.pl-progress span {
	display: block;
	height: 100%;
	background: var(--pc-brand);
	transform-origin: left center;
}

/* ---- 11.6 Sample verdict (dark band) ---- */
.verdict__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 32px 60px;
}

.verdict__ring {
	position: relative;
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 190px;
	height: 190px;
}

.verdict__ring svg {
	width: 190px;
	height: 190px;
	transform: rotate(-90deg);
}

.verdict__score {
	position: absolute;
	margin: 0;
	text-align: center;
}

.verdict__num {
	display: block;
	font-family: var(--pc-font-mono);
	font-size: 50px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	line-height: 1;
	letter-spacing: -.05em;
}

.verdict__of {
	display: block;
	margin-top: 3px;
	font-size: 12.5px;
	color: var(--pc-dark-muted);
}

.verdict__copy {
	max-width: 440px;
}

.verdict__title {
	margin: 16px 0 0;
	font-size: clamp(1.625rem, 1.3rem + 1vw, 1.875rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -.035em;
}

.verdict__text {
	margin: 12px 0 0;
	font-size: 19px;
	line-height: 1.45;
	color: var(--pc-dark-muted);
	text-wrap: pretty;
}

.verdict__stats {
	margin: calc(46px - var(--bs-gutter-y)) 0 0;
	padding-top: 8px;
	border-top: 1px solid rgba(255, 255, 255, .12);
}

.verdict__stats .col {
	display: flex;
	flex-direction: column-reverse; /* value above label, label read first */
}

.verdict__label {
	margin-top: 7px;
	font-size: 12.5px;
	font-weight: 400;
	color: var(--pc-dark-muted);
}

.verdict__value {
	margin: 0;
	font-size: clamp(1.25rem, 1rem + .8vw, 1.5625rem);
	font-weight: 700;
	letter-spacing: -.04em;
}

.verdict__highlight {
	margin-top: 30px;
	padding-top: 30px;
	border-top: 1px solid rgba(255, 255, 255, .12);
}

.verdict__highlight p {
	margin: 0;
}

.verdict__hl-value {
	font-size: clamp(1.75rem, 1.4rem + 1vw, 2.125rem);
	font-weight: 700;
	letter-spacing: -.045em;
	color: var(--pc-gold);
}

.verdict__highlight .verdict__hl-label {
	margin-top: 8px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--pc-cream);
}

.verdict__highlight .verdict__hl-text {
	margin-top: 4px;
}

.verdict__hl-text,
.verdict__footnote {
	font-size: 12.5px;
	color: var(--pc-dark-muted);
}

.verdict__footnote {
	margin: 26px 0 0;
}

.badge-verdict {
	display: inline-block;
	padding: 6px 15px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .05em;
}

.badge-verdict--go {
	background: rgba(22, 163, 74, .25);
	color: #7fd79b;
}

.badge-verdict--conditional {
	background: rgba(226, 145, 47, .25);
	color: #f2c185;
}

.badge-verdict--nogo {
	background: rgba(220, 38, 38, .25);
	color: #fca5a5;
}

/* ---- 11.7 Check your math ---- */
.check .serif-copy--sm {
	margin-top: 6px;
}

/* ---- 11.8 Pricing ---- */
.founding {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 22px 28px;
	margin-top: 44px;
	padding: 28px 30px;
	border-radius: var(--pc-radius);
	background: #fff;
}

.founding__copy {
	flex: 1 1 420px;
}

.founding__copy .serif-copy {
	max-width: 44em;
	margin-top: 5px;
}

.founding__title {
	margin: 8px 0 0;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -.03em;
}

.plans {
	margin-top: calc(20px - var(--bs-gutter-y));
}

.plan {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 34px 30px;
	border-radius: var(--pc-radius);
	background: #fff;
}

.plan p {
	margin: 0;
}

.plan__top {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
}

.plan__name {
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	color: var(--pc-eyebrow);
}

.plan__badge {
	padding: 4px 11px;
	border-radius: 999px;
	background: #eaf6f3;
	font-size: 12px;
	font-weight: 600;
	color: var(--pc-link);
}

.plan .plan__price {
	display: flex;
	align-items: baseline;
	gap: 7px;
	margin-top: 16px;
}

.plan__amount {
	font-size: 46px;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -.055em;
}

.plan__period {
	font-size: 14px;
	color: var(--pc-body);
}

.plan .plan__billing {
	margin-top: 5px;
	font-size: 12.5px;
	color: var(--pc-muted);
}

.plan .plan__desc {
	margin-top: 12px;
}

.plan__features {
	display: flex;
	flex-direction: column;
	gap: 11px;
	margin: 22px 0 0;
	padding: 22px 0 0;
	border-top: 1px solid var(--pc-line);
	list-style: none;
	font-size: 14.5px;
	line-height: 1.5;
	color: #3a3730;
}

.plan__foot {
	margin-top: auto;
	padding-top: 28px;
}

.plan .plan__note {
	margin-bottom: 18px;
	font-size: 12.5px;
	line-height: 1.6;
	color: var(--pc-muted);
}


/* ==========================================================================
   12. Page — Quick Verdict (page_templates/template-quick-verdict.php)
   ========================================================================== */
.qv {
	padding: 56px 0 88px;
	background:
		radial-gradient(circle at 15% 8%, rgba(var(--qv-amber-rgb), .07), transparent 42%),
		var(--qv-bg);
	font-family: var(--pc-font-display);
	color: var(--qv-ink);
}

.qv__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: calc(1140px + var(--pc-pad) * 2);
}

.qv__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 20px;
	padding: 6px 14px;
	border: 1px solid rgba(var(--qv-amber-rgb), .45);
	border-radius: 999px;
	background: rgba(var(--qv-amber-rgb), .14);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .03em;
	text-align: center;
	text-transform: uppercase;
	color: #3b2b0d;
}

.qv__dot {
	flex-shrink: 0;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--qv-amber-deep);
}

.qv__title {
	max-width: 820px;
	margin: 0 0 14px;
	font-size: clamp(2.125rem, 5.6vw, 3.625rem);
	font-weight: 700;
	line-height: 1.04;
	letter-spacing: -.02em;
	text-align: center;
}

/* The <em> word gets a highlighter stroke instead of the serif italic. */
.qv__title em,
.qv__title i {
	position: relative;
	z-index: 0;
	font-family: inherit;
	font-style: normal;
	font-weight: inherit;
	letter-spacing: inherit;
	white-space: nowrap;
}

.qv__title em::after,
.qv__title i::after {
	content: "";
	position: absolute;
	left: -4px;
	right: -4px;
	bottom: .06em;
	z-index: -1;
	height: .32em;
	border-radius: 2px;
	background: rgba(var(--qv-amber-rgb), .55);
}

.qv__intro {
	max-width: 560px;
	margin: 0 0 40px;
	font-size: clamp(15px, 1.6vw, 18px);
	line-height: 1.5;
	text-align: center;
	color: var(--qv-sub);
}

.qv-card {
	display: grid;
	grid-template-columns: 1fr 1fr;
	width: 100%;
	overflow: hidden;
	border: 1px solid var(--qv-border);
	border-radius: 24px;
	background: var(--qv-card);
	box-shadow: 0 1px 2px rgba(24, 22, 17, .06), 0 30px 70px rgba(24, 22, 17, .1);
}

.qv-form {
	display: flex;
	flex-direction: column;
	gap: 26px;
	padding: 36px 36px 40px;
}

.qv-group {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.qv-group__title {
	float: left; /* lets the flex gap apply under a legend */
	width: 100%;
	margin: 0 0 4px;
	padding: 0;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--qv-group);
}

.qv-group__title + * {
	clear: both;
}

.qv-pair {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.qv-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.qv-field__label {
	font-size: 13px;
	font-weight: 500;
	color: var(--qv-label);
}

.qv-field__input {
	width: 100%;
	min-height: 52px;
	padding: 12px 16px;
	border: 1.5px solid var(--qv-input-border);
	border-radius: 12px;
	background: var(--qv-input-bg);
	font-family: inherit;
	font-size: 19px;
	font-weight: 600;
	color: var(--qv-ink);
	-moz-appearance: textfield;
	appearance: textfield;
	transition: border-color .15s ease, background-color .15s ease;
}

.qv-field__input::-webkit-inner-spin-button,
.qv-field__input::-webkit-outer-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

.qv-field__input:hover {
	border-color: #b9b3a9;
}

.qv-field__input:focus,
.qv-field__input:focus-visible {
	outline: 2px solid var(--qv-amber-deep);
	outline-offset: 1px;
	border-color: var(--qv-amber);
	background: #fbf8f3;
}

.qv-yield {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 16px;
	border: 1px dashed rgba(var(--qv-amber-rgb), .6);
	border-radius: 12px;
	background: rgba(var(--qv-amber-rgb), .1);
}

.qv-yield__label {
	margin: 0;
	font-size: 13px;
	line-height: 1.35;
	color: #504635;
}

.qv-yield__note {
	display: block;
	font-size: 11.5px;
	color: #6b6458;
}

.qv-yield__value {
	font-size: 24px;
	font-weight: 700;
	white-space: nowrap;
	color: var(--qv-ink);
}

.qv-result {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 40px 36px 36px;
	background:
		radial-gradient(circle at 90% 0%, rgba(var(--qv-amber-rgb), .14), transparent 55%),
		var(--qv-dark);
	color: var(--qv-dark-text);
}

.qv-result :focus-visible {
	outline-color: var(--qv-amber);
}

.qv-result__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	justify-content: center;
	gap: 22px;
}

.qv-result__eyebrow {
	margin: 0 0 10px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--qv-dark-label);
}

.qv-result__verdict {
	margin: 0;
	font-size: clamp(30px, 4.2vw, 42px);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -.015em;
	color: var(--qv-amber);
}

.qv-result__note {
	margin: 2px 0 0;
	font-size: 13px;
	line-height: 1.5;
	color: var(--qv-dark-label);
}

.qv-metrics {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
	margin: 0;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, .1);
}

.qv-metrics dt {
	margin-bottom: 4px;
	font-size: 12px;
	font-weight: 400;
	color: var(--qv-dark-label);
}

.qv-metrics dd {
	margin: 0;
	font-size: 23px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	color: var(--qv-dark-text);
}

.qv-metrics__wide {
	grid-column: 1 / -1;
}

.qv-cta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	margin-top: 28px;
	padding: 18px 22px;
	border-radius: 13px;
	background: var(--qv-amber);
	box-shadow: 0 12px 30px rgba(var(--qv-amber-rgb), .35);
	font-size: 17px;
	font-weight: 700;
	letter-spacing: -.005em;
	color: #120f0b;
	transition: background-color .2s ease, box-shadow .2s ease;
}

.qv-cta:hover,
.qv-cta:focus-visible {
	background: var(--qv-amber-hover);
	box-shadow: 0 14px 34px rgba(var(--qv-amber-rgb), .42);
	color: #120f0b;
	text-decoration: none;
}

.qv-cta:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

.qv-cta__arrow {
	width: 0;
	height: 0;
	border-top: 5px solid transparent;
	border-bottom: 5px solid transparent;
	border-left: 7px solid #120f0b;
}


/* ==========================================================================
   13. Page — Blog Listing, archives & search
   (page_templates/template-blog.php, archive.php, search.php)
   ========================================================================== */
.blog-head {
	padding-bottom: 48px;
}

/* Toolbar: category filter + live search (one form; AJAX via assets/js/blog.js). */
.blog-toolbar-wrap {
	position: relative;
	z-index: 5;
	margin-bottom: 28px;
}

.blog-toolbar {
	display: flex;
	align-items: center;
	gap: 14px 20px;
	padding: 8px 8px 8px 10px;
	border: 1px solid var(--pc-line);
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 10px 30px -22px rgba(30, 24, 14, .35);
}

.cat-filter {
	flex: 1;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.cat-filter__list {
	display: flex;
	gap: 4px;
	margin: 0;
	padding: 2px;
	overflow-x: auto;
	list-style: none;
	scrollbar-width: none;
	scroll-snap-type: x proximity;
}

.cat-filter__list::-webkit-scrollbar {
	display: none;
}

.cat-filter__list > li {
	flex: none;
	scroll-snap-align: start;
}

.cat-filter__chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 8px 16px;
	border: 1px solid transparent;
	border-radius: 999px;
	background: transparent;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
	color: var(--pc-body);
	cursor: pointer;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.cat-filter__chip:hover {
	background: var(--pc-tint);
	color: var(--pc-ink);
	text-decoration: none;
}

.cat-filter__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border-radius: 999px;
	background: var(--pc-tint);
	font-size: 11.5px;
	font-weight: 700;
	color: var(--pc-muted);
	transition: background-color .2s ease, color .2s ease;
}

.cat-filter__chip[aria-pressed="true"],
.cat-filter__chip[aria-current="page"] {
	background: var(--pc-ink-soft);
	color: #fff;
}

.cat-filter__chip[aria-pressed="true"] .cat-filter__count {
	background: rgba(255, 255, 255, .16);
	color: var(--pc-cream);
}

/* Tag chips on the blog detail page reuse the chip look as links. */
.tag-list .cat-filter__chip {
	border-color: var(--pc-line-strong);
	background: #fff;
	color: var(--pc-ink);
}

.blog-search {
	position: relative;
	display: flex;
	flex: 0 1 340px;
	align-items: center;
	min-width: 220px;
	padding: 0 6px 0 44px;
	border: 1px solid var(--pc-line-strong);
	border-radius: 999px;
	background: #fff;
	transition: border-color .2s ease, box-shadow .2s ease;
}

.blog-toolbar--search-only {
	justify-content: center;
}

.blog-toolbar--search-only .blog-search {
	flex-basis: 560px;
}

.blog-search:focus-within {
	border-color: var(--pc-brand);
	box-shadow: 0 0 0 3px rgba(31, 79, 73, .14);
}

.blog-search__icon,
.blog-search__spinner {
	position: absolute;
	top: 50%;
	left: 16px;
	margin-top: -9px;
	color: var(--pc-muted);
	pointer-events: none;
}

.blog-search__spinner {
	width: 18px;
	height: 18px;
	border: 2px solid var(--pc-line-strong);
	border-top-color: var(--pc-brand);
	border-radius: 50%;
	opacity: 0;
}

.blog-search.is-loading .blog-search__icon {
	opacity: 0;
}

.blog-search.is-loading .blog-search__spinner {
	opacity: 1;
	animation: pcSpin .7s linear infinite;
}

@keyframes pcSpin {
	to { transform: rotate(360deg); }
}

.blog-search__input {
	flex: 1;
	min-width: 0;
	height: 46px;
	padding: 0 8px 0 0;
	border: 0;
	background: transparent;
	font: inherit;
	font-size: 16px; /* 16px+ stops iOS zooming on focus */
	color: var(--pc-ink);
}

.blog-search__input::placeholder {
	color: var(--pc-muted);
	opacity: 1;
}

.blog-search__input:focus {
	outline: none; /* the whole pill shows the focus ring */
}

.blog-search__input::-webkit-search-cancel-button {
	-webkit-appearance: none;
	appearance: none;
}

.blog-search__clear {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--pc-tint);
	font-size: 20px;
	line-height: 1;
	color: var(--pc-body);
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease;
}

.blog-search__clear:hover {
	background: var(--pc-line-strong);
	color: var(--pc-ink);
}

.blog-search__clear[hidden] {
	display: none;
}

/* Results block (replaced in place by the AJAX filter) */
.blog-results {
	scroll-margin-top: calc(var(--pc-header-h) + 24px);
	transition: opacity .2s ease;
}

.blog-results:focus {
	outline: none;
}

.blog-results.is-loading {
	opacity: .5;
	pointer-events: none;
}

.blog-results__summary {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px 20px;
	margin: 0 4px 18px;
}

.blog-results__count {
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	color: var(--pc-muted);
}

.blog-results__reset {
	font-size: 14px;
	font-weight: 600;
	color: var(--pc-link);
	text-decoration: underline;
	text-underline-offset: .2em;
}

.blog-empty {
	padding: 56px 24px;
	border: 1px dashed var(--pc-line-strong);
	border-radius: var(--pc-radius);
	background: rgba(255, 255, 255, .5);
}

.blog-empty__icon {
	color: var(--pc-line-strong);
}

.blog-empty__title {
	margin: 14px 0 0;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: -.02em;
	color: var(--pc-ink);
}

.blog-empty__text {
	margin: 6px 0 20px;
	font-family: var(--pc-font-serif);
	font-size: 18px;
	color: var(--pc-serif);
}

/* Post card — the title link stretches over the whole card. */
.post-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border-radius: var(--pc-radius);
	background: #fff;
}

.post-card__media {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background:
		radial-gradient(circle at 30% 30%, rgba(226, 145, 47, .18), transparent 60%),
		var(--pc-line);
}

.post-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.post-card__cat {
	position: absolute;
	top: 14px;
	left: 14px;
	padding: 5px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .94);
	box-shadow: 0 4px 14px -6px rgba(30, 24, 14, .4);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .01em;
	color: var(--pc-ink-soft);
}

.post-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 22px 24px;
}

.post-card__flag {
	margin: 0 0 10px;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--pc-eyebrow);
}

.post-card__title {
	margin: 0;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -.025em;
	text-wrap: balance;
}

.post-card__link {
	color: var(--pc-ink);
}

.post-card__link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.post-card__link:hover {
	color: var(--pc-ink);
	text-decoration: none;
}

.post-card__link:focus-visible {
	outline: none;
}

.post-card__link:focus-visible::after {
	border-radius: var(--pc-radius);
	outline: 2px solid var(--pc-brand);
	outline-offset: -2px;
}

.post-card__excerpt {
	display: -webkit-box;
	margin: 10px 0 0;
	overflow: hidden;
	font-family: var(--pc-font-serif);
	font-size: 17px;
	line-height: 1.5;
	color: var(--pc-serif);
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 3;
}

.post-card__foot {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: auto;
	padding-top: 20px;
}

.post-card__avatar,
.article-byline__avatar {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--pc-ink-soft);
	font-family: var(--pc-font-display);
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .02em;
	color: var(--pc-cream);
}

.post-card__byline {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-width: 0;
}

.post-card__author {
	overflow: hidden;
	font-size: 13.5px;
	font-weight: 600;
	white-space: nowrap;
	text-overflow: ellipsis;
	color: var(--pc-ink);
}

.post-card__byline .post-meta {
	font-size: 12.5px;
}

.post-card__go {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 1px solid var(--pc-line-strong);
	border-radius: 50%;
	color: var(--pc-ink);
	transition: background-color .25s ease, border-color .25s ease, color .25s ease;
}

.post-card__more {
	flex: none;
	font-size: 14px;
	font-weight: 600;
	color: var(--pc-link);
}

.post-card__arrow {
	display: inline-block;
	transition: transform .25s var(--pc-ease);
}

/* Featured (newest) card: full row; image left, text right on wide screens.
   Below that it reads as a normal card (no "Read the post" label). */
@media (max-width: 991.98px) {
	.post-card--featured .post-card__more {
		display: none;
	}
}

.blog-cards > .blog-cards__featured {
	flex: 0 0 auto;
	width: 100%;
}

@media (min-width: 992px) {
	.post-card--featured {
		display: grid;
		grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
	}

	.post-card--featured .post-card__media {
		aspect-ratio: auto;
		min-height: 400px;
	}

	.post-card--featured .post-card__body {
		justify-content: center;
		padding: 44px 48px;
	}

	.post-card--featured .post-card__title {
		font-size: clamp(1.75rem, 1.2rem + 1.2vw, 2.25rem);
		line-height: 1.12;
		letter-spacing: -.035em;
	}

	.post-card--featured .post-card__excerpt {
		margin-top: 16px;
		font-size: 19px;
		-webkit-line-clamp: 4;
		line-clamp: 4;
	}

	.post-card--featured .post-card__foot {
		margin-top: 0;
		padding-top: 32px;
	}
}

.post-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 0;
	margin: 0;
	font-size: 13px;
	color: var(--pc-muted);
}

.post-meta__item + .post-meta__item::before {
	content: "\00b7";
	margin: 0 8px;
}

/* Pagination */
.pagination-nav {
	margin-top: 48px;
}

.pagination-nav__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pagination-nav .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	border: 1px solid var(--pc-line-strong);
	border-radius: 999px;
	background: #fff;
	font-weight: 600;
	color: var(--pc-ink);
}

.pagination-nav .page-numbers:hover {
	border-color: var(--pc-ink);
	text-decoration: none;
}

.pagination-nav .page-numbers.current {
	border-color: var(--pc-brand);
	background: var(--pc-brand);
	color: #fff;
}

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


/* ==========================================================================
   14. Page — Blog Detail (single.php)
   Body is the post's block-editor content, set in a 700px reading column
   (about 68 characters a line); wide/full blocks can break out of it.
   ========================================================================== */
:root {
	--pc-measure: 700px;
}

.reading-progress {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	z-index: 30;
	height: 3px;
	pointer-events: none;
}

.admin-bar .reading-progress {
	top: 32px;
}

.reading-progress__bar {
	display: block;
	height: 100%;
	background: var(--pc-accent);
	transform: scaleX(var(--progress, 0));
	transform-origin: left center;
}

/* Header: tinted band with the headline set left, like an editorial cover.
   With a featured image, the image overlaps the bottom of the band. */
.article-head {
	position: relative;
	padding: 48px 0 56px;
	background:
		radial-gradient(circle at 88% 0%, rgba(226, 145, 47, .12), transparent 42%),
		var(--pc-tint);
}

.article-head.has-hero {
	padding-bottom: 168px;
}

.article-head__inner {
	max-width: calc(1100px + var(--pc-pad) * 2);
}

.article-head__top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 16px;
}

.article-head__top .breadcrumb-nav ol {
	justify-content: flex-start;
}

.article-head__cat {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	padding: 4px 14px;
	border: 1px solid rgba(156, 102, 49, .3);
	border-radius: 999px;
	background: #fff;
	font-size: 13px;
	font-weight: 700;
	color: var(--pc-eyebrow-tint);
	transition: border-color .2s ease, color .2s ease;
}

.article-head__cat:hover {
	border-color: var(--pc-eyebrow-tint);
	color: var(--pc-ink);
	text-decoration: none;
}

.article-head__title {
	max-width: 18em;
	margin: 22px 0 0;
	font-size: clamp(2.25rem, 1.3rem + 3vw, 3.75rem);
	font-weight: 700;
	line-height: 1.04;
	letter-spacing: -.045em;
	text-wrap: balance;
}

.article-head__dek {
	max-width: 36em;
	margin: 20px 0 0;
	font-family: var(--pc-font-serif);
	font-size: clamp(1.1875rem, 1.05rem + .5vw, 1.4375rem);
	line-height: 1.5;
	color: var(--pc-serif);
	text-wrap: pretty;
}

/* Meta strip: author · published · reading time. */
.article-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 0;
	margin: 32px 0 0;
	padding: 18px 0 0;
	border-top: 1px solid var(--pc-line-strong);
	list-style: none;
}

.article-meta > li {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 0 28px;
	border-left: 1px solid var(--pc-line-strong);
}

.article-meta > li:first-child {
	padding-left: 0;
	border-left: 0;
}

.article-meta > .article-meta__author {
	flex-direction: row;
	align-items: center;
	gap: 12px;
}

.article-meta__author > span:last-child {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.article-meta__label {
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--pc-muted);
}

.article-meta__value {
	font-size: 15px;
	font-weight: 600;
	color: var(--pc-ink);
}

.article-byline__avatar {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--pc-ink-soft);
	font-family: var(--pc-font-display);
	font-size: 15px;
	font-weight: 700;
	color: var(--pc-cream);
}

.article-hero {
	position: relative;
	max-width: calc(1100px + var(--pc-pad) * 2);
	margin: -128px auto 56px;
}

.article-hero img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: var(--pc-radius);
	background: var(--pc-line);
	box-shadow: 0 30px 60px -36px rgba(30, 24, 14, .45);
}

.article-hero figcaption {
	margin-top: 10px;
	font-size: 13px;
	text-align: center;
	color: var(--pc-muted);
}

/* Layout: one reading column; on wide screens an "On this page" rail on the
   left and a share rail on the right, both sticky. */
.article-layout {
	display: grid;
	grid-template-columns: minmax(0, var(--pc-measure));
	justify-content: center;
}

@media (min-width: 1200px) {
	.article-layout {
		grid-template-columns: 200px minmax(0, var(--pc-measure)) 200px;
		column-gap: 56px;
	}
}

.article-rail > * {
	position: sticky;
	top: calc(var(--pc-header-h) + 32px);
}

.article-rail--end > * {
	display: flex;
	justify-content: flex-end;
}

.article-main {
	min-width: 0;
}

.article-main > .doc-toc--compact {
	margin-bottom: 32px;
	border: 1px solid var(--pc-line);
}

/* Article body: the post's own editor content, set as a serif reading text
   with sans headings. */
.prose--article {
	font-family: var(--pc-font-serif);
	font-size: 20.5px;
	line-height: 1.7;
	color: #2b2a26;
	font-feature-settings: "kern", "liga", "onum";
	hyphens: manual;
}

.prose--article > * + * {
	margin-top: 1.25em;
}

/* Opening paragraph reads as the lead-in. */
.prose--article > p:first-child {
	font-size: 1.18em;
	line-height: 1.55;
	color: var(--pc-ink);
}

.prose--article h2,
.prose--article h3,
.prose--article h4,
.prose--article table,
.prose--article figcaption,
.prose--article .wp-block-button {
	font-family: var(--pc-font-sans);
}

.prose--article h2 {
	margin-top: 2em;
	font-size: clamp(1.5rem, 1.25rem + .8vw, 1.875rem);
	line-height: 1.2;
	letter-spacing: -.03em;
}

.prose--article h3 {
	margin-top: 1.7em;
	font-size: clamp(1.25rem, 1.15rem + .35vw, 1.4375rem);
	letter-spacing: -.02em;
}

.prose--article strong {
	font-weight: 600;
}

.prose--article a {
	text-decoration-color: rgba(31, 107, 95, .4);
}

.prose--article ul,
.prose--article ol {
	padding-left: 1.3em;
}

.prose--article ol li::marker {
	font-family: var(--pc-font-sans);
	font-size: .85em;
	font-weight: 700;
	color: var(--pc-eyebrow);
}

/* Tables: sans, compact, in a soft card that scrolls sideways on phones. */
.prose--article .wp-block-table {
	margin-block: 2em;
	border: 1px solid var(--pc-line);
	border-radius: 14px;
}

.prose--article .wp-block-table table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
	line-height: 1.5;
}

.prose--article .wp-block-table thead {
	border-bottom: 0;
}

.prose--article .wp-block-table th {
	padding: 12px 16px;
	border: 0;
	border-bottom: 1px solid var(--pc-line-strong);
	background: var(--pc-tint);
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .04em;
	text-align: left;
	text-transform: uppercase;
	color: var(--pc-ink-soft);
}

.prose--article .wp-block-table td {
	padding: 12px 16px;
	border: 0;
	border-bottom: 1px solid var(--pc-line);
	color: var(--pc-ink);
}

.prose--article .wp-block-table tr:last-child td {
	border-bottom: 0;
}

.prose--article h2 + *,
.prose--article h3 + * {
	margin-top: .7em;
}

.prose--article li + li {
	margin-top: .55em;
}

.prose--article li > ul,
.prose--article li > ol {
	margin-top: .55em;
}

.prose--article blockquote {
	margin-block: 1.8em;
	padding: 6px 0 6px 26px;
	font-size: 1.3em;
	line-height: 1.45;
}

.prose--article .wp-block-pullquote {
	margin-block: 2em;
	padding: 28px 0;
	border-top: 2px solid var(--pc-ink);
	border-bottom: 2px solid var(--pc-ink);
	text-align: center;
}

.prose--article .wp-block-pullquote blockquote {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 1.45em;
}

.prose--article figure,
.prose--article .wp-block-image,
.prose--article .wp-block-embed,
.prose--article .wp-block-video,
.prose--article .wp-block-gallery {
	margin-block: 2em;
}

.prose--article img,
.prose--article video {
	max-width: 100%;
	height: auto;
}

.prose--article .alignwide {
	width: min(1040px, 100vw - var(--pc-pad) * 2);
	max-width: none;
	margin-left: 50%;
	transform: translateX(-50%);
}

/* With the side rails showing, wide blocks only reach into the gutters. */
@media (min-width: 1200px) {
	.prose--article .alignwide {
		width: calc(100% + 112px);
	}
}

.prose--article .alignfull {
	width: 100vw;
	max-width: none;
	margin-left: 50%;
	transform: translateX(-50%);
}

.prose--article .alignfull img {
	border-radius: 0;
}

.prose--article .wp-block-table {
	overflow-x: auto;
}

.prose--article .wp-block-table table {
	min-width: 520px;
}

.prose--article .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 12px 26px;
	border-radius: 999px;
	background: var(--pc-brand);
	font-size: 15px;
	font-weight: 600;
	color: #fff;
	text-decoration: none;
}

.prose--article .wp-block-button__link:hover {
	background: var(--pc-brand-hover);
	color: #fff;
}

.prose--article .wp-block-separator {
	margin-block: 2.6em;
	border: 0;
	border-top: 1px solid var(--pc-line-strong);
}

.page-links {
	margin-top: 32px;
	font-size: 15px;
	font-weight: 600;
}

.breadcrumb-nav ol {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 13.5px;
	font-weight: 600;
}

.breadcrumb-nav li + li::before {
	content: "/";
	margin: 0 10px;
	color: var(--pc-line-strong);
}

.breadcrumb-nav a {
	color: var(--pc-eyebrow);
}

.article-foot {
	padding-bottom: 80px;
}

.tag-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 48px 0 0;
	padding: 0;
	list-style: none;
}

/* Share row */
.share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px 24px;
	margin-top: 40px;
	padding: 20px 0;
	border-top: 1px solid var(--pc-line);
	border-bottom: 1px solid var(--pc-line);
}

.share__label {
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	color: var(--pc-ink);
}

.share__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.share__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border: 1px solid var(--pc-line-strong);
	border-radius: 999px;
	background: #fff;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	color: var(--pc-ink);
	cursor: pointer;
	transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}

.share__link:hover {
	border-color: var(--pc-ink);
	color: var(--pc-ink);
	text-decoration: none;
}

.share__copy {
	padding: 0 16px 0 14px;
}

/* Vertical share rail beside the article (wide screens). */
.share--rail {
	flex-direction: column;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 0;
	border: 0;
}

.share--rail .share__label {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--pc-muted);
}

.share--rail .share__list {
	flex-direction: column;
}

.share--rail .share__copy {
	padding: 0;
}

/* Author card under the article. */
.author-card {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 18px;
	margin-top: 48px;
	padding: 22px 24px;
	border-radius: 18px;
	background: var(--pc-tint);
}

.author-card__avatar {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--pc-ink-soft);
	font-family: var(--pc-font-display);
	font-size: 19px;
	font-weight: 700;
	color: var(--pc-cream);
}

.author-card__text {
	flex: 1;
	min-width: 160px;
}

.author-card__label {
	margin: 0;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--pc-eyebrow-tint);
}

.author-card__name {
	margin: 2px 0 0;
	font-size: 19px;
	font-weight: 700;
	letter-spacing: -.02em;
	color: var(--pc-ink);
}

.author-card__more {
	font-size: 14px;
	font-weight: 600;
	color: var(--pc-link);
}

.share__copy.is-copied {
	border-color: var(--pc-brand);
	background: var(--pc-brand);
	color: #fff;
}

.related .row {
	margin-top: calc(32px - var(--bs-gutter-y));
}


/* ==========================================================================
   15. Shared — Long-form content (.prose)
   Editor content on Blog Detail, Legal and default pages.
   ========================================================================== */
.prose {
	font-size: 17px;
	line-height: 1.75;
	color: #2b2a26;
	overflow-wrap: break-word;
}

.prose > * + * {
	margin-top: 1.1em;
}

.prose h2,
.prose h3,
.prose h4 {
	margin-top: 2em;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -.02em;
	color: var(--pc-ink);
	scroll-margin-top: calc(var(--pc-header-h) + 16px);
}

.prose h2 {
	font-size: clamp(1.375rem, 1.2rem + .5vw, 1.625rem);
}

.prose h3 {
	font-size: 1.25rem;
}

.prose h4 {
	font-size: 1.0625rem;
}

.prose h2 + *,
.prose h3 + *,
.prose h4 + * {
	margin-top: .6em;
}

.prose ul,
.prose ol {
	padding-left: 1.4em;
}

.prose li + li {
	margin-top: .4em;
}

.prose ul li::marker {
	color: var(--pc-accent);
}

.prose a {
	color: var(--pc-link);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: .18em;
}

.prose a:hover {
	color: var(--pc-ink);
	text-decoration-thickness: 2px;
}

.prose strong,
.prose b {
	font-weight: 700;
	color: var(--pc-ink);
}

.prose blockquote {
	margin-inline: 0;
	padding: 4px 0 4px 22px;
	border-left: 3px solid var(--pc-accent);
	font-family: var(--pc-font-serif);
	font-size: 1.25em;
	font-style: italic;
	line-height: 1.5;
	color: var(--pc-serif);
}

.prose blockquote p {
	margin: 0;
}

.prose blockquote cite {
	display: block;
	margin-top: 8px;
	font-family: var(--pc-font-sans);
	font-size: 14px;
	font-style: normal;
	color: var(--pc-muted);
}

.prose hr {
	margin: 2.4em 0;
	border: 0;
	border-top: 1px solid var(--pc-line);
	opacity: 1;
}

.prose img {
	border-radius: 14px;
}

.prose figcaption,
.prose .wp-element-caption {
	margin-top: 8px;
	font-size: 13px;
	text-align: center;
	color: var(--pc-muted);
}

.prose code {
	padding: .1em .35em;
	border-radius: 4px;
	background: var(--pc-tint);
	font-size: .9em;
}

.prose pre {
	padding: 18px 20px;
	overflow-x: auto;
	border-radius: 12px;
	background: var(--pc-ink-soft);
	color: var(--pc-cream);
}

.prose pre code {
	padding: 0;
	background: none;
}

.prose table {
	width: 100%;
	font-size: 15px;
}

.prose th,
.prose td {
	padding: 10px 12px;
	border-bottom: 1px solid var(--pc-line);
	text-align: left;
}

.prose th {
	font-weight: 600;
}

.prose .has-small-font-size {
	font-size: 13px;
	line-height: 1.6;
	color: var(--pc-muted);
}

.prose .alignleft {
	float: left;
	margin: .3em 1.5em 1em 0;
}

.prose .alignright {
	float: right;
	margin: .3em 0 1em 1.5em;
}

.prose .aligncenter {
	margin-inline: auto;
}


/* ==========================================================================
   16. Page — Legal (page_templates/template-legal.php) & default page.php
   Shared layout: template-parts/page/document.php
   ========================================================================== */
.doc-head {
	padding-bottom: 56px;
}

.doc-head__meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 24px 0 0;
	font-size: 13px;
	color: var(--pc-muted);
}

.doc-head__meta > span {
	padding: 6px 14px;
	border: 1px solid var(--pc-line);
	border-radius: 999px;
	background: var(--pc-tint);
}

.doc-head__meta time {
	font-weight: 600;
	color: var(--pc-ink-soft);
}

.doc-band {
	padding-top: 64px;
}

/* "On this page" — sticky sidebar on desktop, collapsible card below 992px. */
.doc-toc {
	position: sticky;
	top: calc(var(--pc-header-h) + 32px);
	max-height: calc(100vh - var(--pc-header-h) - 64px);
	overflow-y: auto;
	overscroll-behavior: contain;
}

.admin-bar .doc-toc {
	top: calc(var(--pc-header-h) + 64px);
}

.doc-toc__title {
	margin: 0 0 14px;
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--pc-eyebrow-tint);
}

.doc-toc__list {
	margin: 0;
	padding: 0;
	border-left: 1px solid var(--pc-line-strong);
	list-style: none;
}

.doc-toc__list a {
	display: block;
	margin-left: -1px;
	padding: 7px 0 7px 16px;
	border-left: 2px solid transparent;
	font-size: 14px;
	line-height: 1.4;
	color: var(--pc-body);
	transition: color .2s ease, border-color .2s ease;
}

.doc-toc__list a:hover {
	border-left-color: var(--pc-line-strong);
	color: var(--pc-ink);
	text-decoration: none;
}

.doc-toc__list a[aria-current="true"] {
	border-left-color: var(--pc-accent);
	font-weight: 600;
	color: var(--pc-ink);
}

.doc-toc--compact {
	position: static;
	max-height: none;
	margin-bottom: 20px;
	overflow: visible;
	border-radius: 16px;
	background: #fff;
}

.doc-toc--compact .doc-toc__title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 52px;
	margin: 0;
	padding: 14px 22px;
	cursor: pointer;
	list-style: none;
}

.doc-toc--compact .doc-toc__title::-webkit-details-marker {
	display: none;
}

.doc-toc--compact .doc-toc__title::after {
	content: "";
	width: 8px;
	height: 8px;
	margin-top: -4px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform .2s ease;
}

.doc-toc--compact[open] .doc-toc__title::after {
	margin-top: 4px;
	transform: rotate(-135deg);
}

.doc-toc--compact .doc-toc__list {
	margin: 0 22px 18px;
}

/* The document itself: a white card like the homepage cards, with one type
   scale throughout — 18px body (paragraphs and lists alike), 24px section
   headings, 19px sub-headings — and the same spacing between every block. */
.doc-body {
	--doc-gap: 18px;
	padding: 52px 56px 56px;
	border-radius: var(--pc-radius);
	background: #fff;
	font-size: 18px;
	line-height: 1.7;
	color: #2b2a26;
}

.doc-body > * + * {
	margin-top: var(--doc-gap);
}

.doc-body > :first-child {
	margin-top: 0;
}

.doc-body > :last-child {
	margin-bottom: 0;
}

.doc-body p,
.doc-body li {
	font-size: inherit;
	line-height: inherit;
}

.doc-body h2 {
	font-size: 24px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -.02em;
	color: var(--pc-ink);
}

.doc-body h2:not(:first-child) {
	margin-top: 44px;
	padding-top: 36px;
	border-top: 1px solid var(--pc-line);
}

.doc-body h3 {
	margin-top: 32px;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: -.01em;
	color: var(--pc-ink);
}

.doc-body h2 + *,
.doc-body h3 + * {
	margin-top: 12px;
}

.doc-body ul,
.doc-body ol {
	padding-left: 1.25em;
}

.doc-body li + li {
	margin-top: 10px;
}

.doc-body li::marker {
	color: var(--pc-accent);
}

.doc-body strong {
	font-weight: 600;
	color: var(--pc-ink);
}

.doc-body a {
	font-size: inherit;
}



/* ==========================================================================
   17. Page — 404 (404.php) — content centred in the space between header and footer
   ========================================================================== */
.error404 .site-main {
	display: flex;
	flex-direction: column;
}

.error-404 {
	display: flex;
	flex: 1;
	align-items: center;
	justify-content: center;
	padding: 72px 0;
	background:
		radial-gradient(circle at 50% 20%, rgba(226, 145, 47, .08), transparent 55%),
		var(--pc-tint);
}

.error-404__heading {
	margin: 0;
}

.error-404__code {
	display: block;
	font-size: clamp(6rem, 3rem + 14vw, 11rem);
	font-weight: 700;
	line-height: .9;
	letter-spacing: -.06em;
	color: var(--pc-ink);
}

.error-404__title {
	display: block;
	margin-top: 18px;
	font-family: var(--pc-font-serif);
	font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem);
	font-style: italic;
	font-weight: 400;
	color: var(--pc-eyebrow-tint);
}

.error-404__text {
	max-width: 28em;
	margin: 14px auto 0;
	font-size: 20px;
	line-height: 1.5;
	color: var(--pc-serif);
}

.error-404 .btn-pc {
	margin-top: 32px;
}


/* ==========================================================================
   18. Motion preferences
   Everything is authored in its finished state; animation only plays when the
   OS allows it. One-off reveals finish within five seconds (WCAG 2.2.2); the
   product loop has a pause button.
   ========================================================================== */

/* ---- Homepage: hero underline + napkin (play once on load) ---- */
@keyframes pcUnderline { from { stroke-dashoffset: 250; } to { stroke-dashoffset: 0; } }
@keyframes pcWrite {
	from { clip-path: inset(-30% 100% -30% -4%); }
	to { clip-path: inset(-30% -8% -30% -4%); }
}
@keyframes pcArm {
	0% { transform: translate(-69px, -60px); }
	22% { transform: translate(0, -30px); }
	42% { transform: translate(0, 0); }
	62% { transform: translate(-28px, 30px); }
	82%, 100% { transform: translate(-40px, 72px); }
}
@keyframes pcRing { from { stroke-dashoffset: 780; } to { stroke-dashoffset: 0; } }
@keyframes pcSteam {
	0% { opacity: 0; transform: translateY(8px); }
	45% { opacity: .6; }
	100% { opacity: .55; transform: translateY(-6px); }
}

/* ---- Homepage: method illustrations (play once when scrolled into view) ---- */
@keyframes pcPop {
	from { opacity: 0; transform: scale(.4); }
	to { opacity: 1; transform: scale(1); }
}
@keyframes pcGrow {
	from { transform: scaleY(.02); }
	to { transform: scaleY(1); }
}
@keyframes pcStamp {
	0% { opacity: 0; transform: rotate(-17deg) scale(2); }
	60% { opacity: 1; transform: rotate(-9deg) scale(1); }
	75% { transform: rotate(-9deg) scale(1.07); }
	100% { opacity: 1; transform: rotate(-9deg) scale(1); }
}

/* ---- Homepage: product loop timeline ---- */
@keyframes plA1 { 0%, 29.9% { opacity: 1; } 30.9%, 100% { opacity: 0; } }
@keyframes plA2 { 0%, 29.9% { opacity: 0; } 30.9%, 62.9% { opacity: 1; } 63.9%, 100% { opacity: 0; } }
@keyframes plA3a { 0%, 62.9% { opacity: 0; } 63.9%, 86.8% { opacity: 1; } 86.9%, 100% { opacity: 0; } }
@keyframes plA3aFull { 0%, 62.9% { opacity: 0; } 63.9%, 100% { opacity: 1; } }
@keyframes plA3b { 0%, 86.8% { opacity: 0; } 86.9%, 100% { opacity: 1; } }
@keyframes plCap1Out { 0%, 29.8% { opacity: 1; } 29.9%, 100% { opacity: 0; } }
@keyframes plCap2Out { 0%, 62.8% { opacity: 1; } 62.9%, 100% { opacity: 0; } }
@keyframes plTag { 0%, 1.7% { opacity: 0; transform: scale(.86); } 3.8% { opacity: 1; transform: scale(1.05); } 5%, 100% { opacity: 1; transform: scale(1); } }
@keyframes plG { 0%, 32.9% { opacity: 0; transform: translateY(5px); } 35%, 100% { opacity: 1; transform: none; } }
@keyframes plD1 { 0%, 36.9% { opacity: 0; transform: translateY(5px); } 38.8%, 100% { opacity: 1; transform: none; } }
@keyframes plD2 { 0%, 39.9% { opacity: 0; transform: translateY(5px); } 41.8%, 100% { opacity: 1; transform: none; } }
@keyframes plD3 { 0%, 42.9% { opacity: 0; transform: translateY(5px); } 44.8%, 100% { opacity: 1; transform: none; } }
@keyframes plNet { 0%, 46.9% { opacity: 0; transform: scale(.94); } 49.4% { opacity: 1; transform: scale(1.04); } 50.8%, 100% { opacity: 1; transform: none; } }
@keyframes plLots { 0%, 51.4% { opacity: 0; transform: translateY(5px); } 53.4%, 100% { opacity: 1; transform: none; } }
@keyframes plTot { 0%, 55.4% { opacity: 0; transform: scale(.9); } 57.6% { opacity: 1; transform: scale(1.05); } 59%, 100% { opacity: 1; transform: none; } }
@keyframes plCircle { 0%, 57.4% { stroke-dashoffset: 700; } 62.6%, 100% { stroke-dashoffset: 0; } }
@keyframes plPhoto3 { 0%, 63.8% { transform: scale(1.015); } 86.8%, 100% { transform: scale(1.07); } }
@keyframes plPlate { 0%, 64.5% { opacity: 0; transform: translateY(8px); } 67.6%, 100% { opacity: 1; transform: none; } }
@keyframes plRing { 0%, 65.4% { opacity: 0; } 68.9%, 100% { opacity: 1; } }
@keyframes plPhoto4 { 0%, 86.8% { transform: scale(1.02); } 100% { transform: scale(1.06); } }
@keyframes plPlate4 { 0%, 87% { opacity: 0; transform: translateY(8px); } 89.5%, 100% { opacity: 1; transform: none; } }
@keyframes plScore { 0%, 73.9% { opacity: 0; transform: scale(.9); } 76.2% { opacity: 1; transform: scale(1.06); } 77.6%, 100% { opacity: 1; transform: none; } }
@keyframes plGo { 0%, 77.4% { opacity: 0; transform: scale(1.5) rotate(-7deg); } 79.4% { opacity: 1; transform: scale(.96); } 80.6%, 100% { opacity: 1; transform: none; } }
@keyframes plNoPop { 0%, 89.9% { opacity: 0; transform: scale(1.4) rotate(5deg); } 92% { opacity: 1; transform: scale(.97); } 93.2%, 100% { opacity: 1; transform: none; } }
@keyframes plBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---- Quick Verdict: verdict text entrance ---- */
@keyframes qvIn {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
	/* Homepage hero */
	.hero__underline path { animation: pcUnderline 1.1s 1.6s var(--pc-ease) both; }
	.napkin { --start: 1.2s; }
	.napkin__write { animation: pcWrite .55s calc(var(--start) + var(--i) * .5s) ease-out both; }
	.napkin__arm { animation: pcArm 2.6s var(--start) cubic-bezier(.45, .05, .3, 1) both; }
	.napkin__ring { animation: pcRing .9s calc(var(--start) + 2.6s) ease-out both; }
	.napkin__steam { animation: pcSteam 2.4s calc(var(--i) * .7s) ease-out both; }

	/* Homepage method illustrations (home.js adds .is-armed, then .is-inview) */
	.ill.is-armed .ill-pop,
	.ill.is-armed .ill-stamp { opacity: 0; }
	.ill.is-armed .ill-grow { transform: scaleY(.02); }
	.ill.is-inview .ill-pop { animation: pcPop .45s calc(var(--i) * .12s) ease-out both; }
	.ill.is-inview .ill-grow { animation: pcGrow .9s calc(var(--i) * .14s) var(--pc-ease) both; }
	.ill.is-inview .ill-stamp { animation: pcStamp .8s .2s cubic-bezier(.3, 1.5, .5, 1) both; }

	/* Homepage product loop */
	.pl { --pl: 11s linear infinite; }
	.pl-toggle { display: flex; }
	.pl-progress { display: block; }
	.pl-a1 { animation: plA1 var(--pl); }
	.pl-a2 { animation: plA2 var(--pl); }
	.pl-a3 { animation: plA3a var(--pl); }
	.pl[data-walk="off"] .pl-a3 { animation-name: plA3aFull; }
	.pl-a4 { animation: plA3b var(--pl); }
	.pl-cap1 { animation: plCap1Out var(--pl); }
	.pl-cap2 { animation: plCap2Out var(--pl); }
	.pl-tag { animation: plTag var(--pl); }
	.pl-row--0 { animation: plG var(--pl); }
	.pl-row--1 { animation: plD1 var(--pl); }
	.pl-row--2 { animation: plD2 var(--pl); }
	.pl-row--3 { animation: plD3 var(--pl); }
	.pl-net { animation: plNet var(--pl); }
	.pl-lots { animation: plLots var(--pl); }
	.pl-total { animation: plTot var(--pl); }
	.pl-total path { animation: plCircle var(--pl); }
	.pl-a3 .pl-photo { animation: plPhoto3 var(--pl); }
	.pl-video--zoom { animation: plPhoto4 var(--pl); }
	.pl-plate--go { animation: plPlate var(--pl); }
	.pl-plate--go .pl-plate__arc { animation: plRing var(--pl); }
	.pl-plate--go .pl-plate__score { animation: plScore var(--pl); }
	.pl-plate--go .pl-plate__badge { animation: plGo var(--pl); }
	.pl-plate--nogo { animation: plPlate4 var(--pl); }
	.pl-plate--nogo .pl-plate__badge { animation: plNoPop var(--pl); }
	.pl-progress span { animation: plBar var(--pl); }
	.pl[data-pl="paused"] *,
	.pl[data-pl="idle"] * { animation-play-state: paused !important; }

	/* Quick Verdict */
	.qv-result__verdict.is-updated { animation: qvIn .35s ease both; }

}

/* Card lift (see "Card hover" in section 10). */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.pc-card:not(.pc-card--list):hover,
	.plan:hover,
	.post-card:hover {
		transform: translateY(-4px);
	}

	.pc-card--list:hover {
		transform: translateY(-2px);
	}

	.post-card:hover .post-card__media img {
		transform: scale(1.04);
	}

	.method__list > li:hover .method__ill svg {
		transform: translateY(-4px) rotate(-1deg);
	}
}

@media (prefers-reduced-motion: reduce) {
	.splash { animation-duration: .35s; }
	.splash * { animation: none !important; }

	*,
	*::before,
	*::after {
		transition-duration: .01ms !important;
	}
}
