/**
 * OM Development — production design system.
 *
 * Editorial-industrial Baltic consultancy: mineral paper surfaces, hard
 * 1px grid lines, monospace system labels, signal-lime connections and
 * terracotta conversion moments. No remote fonts, no build step.
 *
 * Contents:
 *   1.  Tokens + reset
 *   2.  Base typography
 *   3.  Utilities: shell, skip link, sr-only, eyebrow, buttons, links
 *   4.  Header + navigation (desktop, submenu, mobile)
 *   5.  Hero + system map
 *   6.  Section intros
 *   7.  Audience routes
 *   8.  Problem
 *   9.  Offers
 *   10. Proof
 *   11. Process (dark)
 *   12. About
 *   13. Qualification
 *   14. Pricing
 *   15. FAQ
 *   16. Contact + form
 *   17. Service pages: page hero, sections, closing CTA
 *   18. Blog: archives, single, entry content, comments, search, 404
 *   19. Footer
 *   20. WordPress core classes
 *   21. Reveal, focus, reduced motion, print
 */

/* -------------------------------------------------------------------
   1. Tokens + reset
------------------------------------------------------------------- */

:root {
	--ink: #171813;
	--paper: #f3f0e7;
	--cream: #e8e3d5;
	--lime: #d9ff43;
	--terra: #ff6b35;
	--white: #fffdf6;

	--ink-soft: rgba(23, 24, 19, 0.72);
	--ink-faint: rgba(23, 24, 19, 0.55);
	--line: rgba(23, 24, 19, 0.18);
	--line-strong: rgba(23, 24, 19, 0.85);
	--line-light: rgba(255, 253, 246, 0.22);
	--white-soft: rgba(255, 253, 246, 0.78);

	--font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
		"Helvetica Neue", Arial, "Noto Sans", sans-serif;
	--font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas,
		"Liberation Mono", monospace;

	--shell: 1180px;
	--gutter: clamp(20px, 4vw, 44px);
	--section-pad: clamp(64px, 9vw, 116px);

	--step-0: 1rem;
	--step-1: clamp(1.1rem, 1rem + 0.5vw, 1.3rem);
	--step-2: clamp(1.35rem, 1.15rem + 1vw, 1.75rem);
	--step-3: clamp(1.75rem, 1.4rem + 1.8vw, 2.5rem);
	--step-4: clamp(2.25rem, 1.7rem + 2.8vw, 3.4rem);
	--step-5: clamp(2.6rem, 1.9rem + 3.6vw, 4.1rem);

	--radius: 2px;
	--shadow-hard: 6px 6px 0 rgba(23, 24, 19, 0.9);
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 90px;
}

body {
	margin: 0;
	font-family: var(--font-sans);
	font-size: var(--step-0);
	line-height: 1.6;
	color: var(--ink);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
}

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

figure {
	margin: 0;
}

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

/* -------------------------------------------------------------------
   2. Base typography
------------------------------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.6em;
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.022em;
	text-wrap: balance;
}

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

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

h3 {
	font-size: var(--step-2);
	letter-spacing: -0.012em;
}

p {
	margin: 0 0 1em;
}

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

ul,
ol {
	margin: 0 0 1em;
	padding-left: 1.2em;
}

a {
	color: inherit;
	text-decoration-color: var(--terra);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

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

strong {
	font-weight: 700;
}

::selection {
	background: var(--lime);
	color: var(--ink);
}

/* -------------------------------------------------------------------
   3. Utilities
------------------------------------------------------------------- */

.section-shell {
	max-width: var(--shell);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

/* Skip link: hidden until focused, then a hard signal block. */
.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 200;
	padding: 12px 20px;
	background: var(--ink);
	color: var(--white);
	font-family: var(--font-mono);
	font-size: 0.85rem;
	text-decoration: none;
}

.skip-link:focus {
	left: 12px;
	top: 12px;
}

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

.screen-reader-text:focus {
	position: absolute !important;
	width: auto;
	height: auto;
	margin: 0;
	padding: 12px 20px;
	clip: auto;
	clip-path: none;
	left: 12px;
	top: 12px;
	z-index: 200;
	background: var(--ink);
	color: var(--white);
}

/* Monospace eyebrow with a lime tick — the system label device. */
.eyebrow {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 18px;
	font-family: var(--font-mono);
	font-size: 0.78rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ink-soft);
	max-width: 60ch;
}

.eyebrow > span[aria-hidden] {
	flex: none;
	width: 22px;
	height: 10px;
	background: var(--lime);
	border: 1px solid var(--ink);
}

/* Buttons: hard border, hard offset shadow on hover. Min target 44px. */
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 50px;
	padding: 12px 26px;
	border: 1px solid var(--ink);
	border-radius: var(--radius);
	background: var(--white);
	color: var(--ink);
	font-weight: 600;
	font-size: 1rem;
	line-height: 1.25;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease,
		background-color 0.15s ease, color 0.15s ease;
}

.button:hover {
	transform: translate(-2px, -2px);
	box-shadow: 4px 4px 0 var(--ink);
}

.button:active {
	transform: translate(0, 0);
	box-shadow: none;
}

.button-primary {
	background: var(--terra);
	color: var(--ink);
}

.button-primary:hover {
	background: var(--lime);
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	font-weight: 600;
	text-decoration-line: underline;
	text-decoration-color: var(--terra);
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

.text-link:hover {
	text-decoration-color: var(--ink);
}

.text-link span[aria-hidden] {
	font-family: var(--font-mono);
}

/* -------------------------------------------------------------------
   4. Header + navigation
------------------------------------------------------------------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--paper);
	border-bottom: 1px solid var(--ink);
	transition: box-shadow 0.2s ease;
}

.site-header.scrolled {
	box-shadow: 0 4px 0 rgba(23, 24, 19, 0.08);
}

.header-inner {
	max-width: var(--shell);
	margin-inline: auto;
	padding: 14px var(--gutter);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 72px;
}

.brand-link {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.brand-mark {
	display: inline-grid;
	place-items: center;
	width: 42px;
	height: 42px;
	background: var(--ink);
	color: var(--lime);
	font-family: var(--font-mono);
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.05em;
}

.brand-name {
	font-size: 1.05rem;
}

.custom-logo {
	max-height: 48px;
	width: auto;
}

/* Desktop navigation. */
.site-nav {
	display: flex;
	align-items: center;
	gap: 26px;
}

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

.site-nav .menu li {
	position: relative;
}

.site-nav .menu a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 6px 12px;
	font-size: 0.98rem;
	font-weight: 500;
	text-decoration: none;
	border-bottom: 2px solid transparent;
}

.site-nav .menu a:hover {
	border-bottom-color: var(--terra);
}

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

/* Submenu toggle button (injected by main.js). */
.submenu-toggle {
	display: inline-grid;
	place-items: center;
	width: 28px;
	height: 28px;
	margin-left: 2px;
	padding: 0;
	border: 1px solid var(--line);
	background: transparent;
	font-family: var(--font-mono);
	font-size: 0.9rem;
	line-height: 1;
	cursor: pointer;
}

.submenu-toggle:hover {
	border-color: var(--ink);
	background: var(--lime);
}

.submenu-open > .submenu-toggle span[aria-hidden] {
	display: inline-block;
	transform: rotate(45deg);
}

/* Dropdown submenu. */
.site-nav .sub-menu,
.site-nav .children {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 90;
	min-width: 260px;
	margin: 0;
	padding: 8px 0;
	list-style: none;
	background: var(--white);
	border: 1px solid var(--ink);
	box-shadow: var(--shadow-hard);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}

.site-nav .menu-item-has-children:hover > .sub-menu,
.site-nav .menu-item-has-children:focus-within > .sub-menu,
.site-nav .menu-item-has-children.submenu-open > .sub-menu,
.site-nav .page_item_has_children:hover > .children,
.site-nav .page_item_has_children:focus-within > .children,
.site-nav .page_item_has_children.submenu-open > .children {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.site-nav .sub-menu a,
.site-nav .children a {
	display: flex;
	width: 100%;
	padding: 10px 18px;
	border-bottom: 0;
	font-size: 0.94rem;
}

.site-nav .sub-menu a:hover,
.site-nav .children a:hover {
	background: var(--lime);
}

.nav-cta {
	min-height: 44px;
	padding: 8px 18px;
	font-size: 0.94rem;
	white-space: nowrap;
}

/* Mobile toggle (hidden on desktop). */
.nav-toggle {
	display: none;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 8px 14px;
	background: transparent;
	border: 1px solid var(--ink);
	border-radius: var(--radius);
	cursor: pointer;
	font-family: var(--font-mono);
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.nav-toggle-bars {
	display: inline-flex;
	flex-direction: column;
	gap: 5px;
	width: 20px;
}

.nav-toggle-bars span {
	height: 2px;
	background: var(--ink);
	transition: transform 0.2s ease;
}

.nav-open .nav-toggle-bars span:first-child {
	transform: translateY(3.5px) rotate(45deg);
}

.nav-open .nav-toggle-bars span:last-child {
	transform: translateY(-3.5px) rotate(-45deg);
}

/* -------------------------------------------------------------------
   5. Hero + system map
------------------------------------------------------------------- */

.hero {
	border-bottom: 1px solid var(--ink);
	background:
		linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 96px no-repeat,
		var(--paper);
}

.hero-grid {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
	padding-block: var(--section-pad);
}

.hero-copy h1 {
	margin-bottom: 0.5em;
	max-width: 21ch;
}

.hero-lead {
	max-width: 52ch;
	font-size: var(--step-1);
	color: var(--ink-soft);
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 26px;
	margin-top: 28px;
}

.hero-microtext {
	margin-top: 16px;
	font-family: var(--font-mono);
	font-size: 0.8rem;
	color: var(--ink-faint);
}

/* The connected growth-system board. */
.hero-board {
	background: var(--cream);
	border: 1px solid var(--ink);
	box-shadow: var(--shadow-hard);
}

.board-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding: 12px 18px;
	border-bottom: 1px solid var(--ink);
	font-family: var(--font-mono);
	font-size: 0.76rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.live-dot {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.live-dot::before {
	content: "";
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--terra);
	border: 1px solid var(--ink);
	animation: om-pulse 2.4s ease-in-out infinite;
}

@keyframes om-pulse {
	0%,
	100% {
		box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.5);
	}
	50% {
		box-shadow: 0 0 0 6px rgba(255, 107, 53, 0);
	}
}

.system-map {
	position: relative;
	padding: 10px;
}

.system-map svg {
	width: 100%;
	height: auto;
}

.system-line {
	fill: none;
	stroke: var(--ink);
	stroke-width: 1.5;
	stroke-dasharray: 6 5;
}

.system-orbit {
	fill: none;
	stroke: var(--ink);
	stroke-opacity: 0.25;
	stroke-width: 1;
	stroke-dasharray: 2 6;
}

.system-node {
	position: absolute;
	transform: translate(-50%, -50%);
	padding: 8px 14px;
	background: var(--white);
	border: 1px solid var(--ink);
	font-family: var(--font-mono);
	font-size: 0.8rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	white-space: nowrap;
}

.node-main {
	left: 50%;
	top: 50%;
	background: var(--lime);
	font-weight: 700;
	padding: 12px 20px;
	box-shadow: 3px 3px 0 var(--ink);
}

.node-a {
	left: 21%;
	top: 19%;
}

.node-b {
	left: 79%;
	top: 19%;
}

.node-c {
	left: 21%;
	top: 81%;
}

.node-d {
	left: 79%;
	top: 81%;
}

.board-note {
	margin: 0;
	padding: 14px 18px;
	border-top: 1px solid var(--ink);
	font-size: 0.9rem;
	color: var(--ink-soft);
}

/* -------------------------------------------------------------------
   6. Section intros
------------------------------------------------------------------- */

.section-intro {
	max-width: 720px;
	margin-bottom: clamp(36px, 5vw, 56px);
}

.section-intro h2 {
	margin-bottom: 0.45em;
}

.section-intro p {
	font-size: var(--step-1);
	color: var(--ink-soft);
	max-width: 56ch;
}

.section-intro-light {
	color: var(--white);
}

.section-intro-light .eyebrow {
	color: var(--white-soft);
}

.section-intro-light p {
	color: var(--white-soft);
}

/* -------------------------------------------------------------------
   7. Audience routes
------------------------------------------------------------------- */

.routes {
	padding-block: var(--section-pad);
	border-bottom: 1px solid var(--ink);
}

.route-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: clamp(20px, 3vw, 36px);
}

.route-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: clamp(24px, 3.4vw, 40px);
	background: var(--white);
	border: 1px solid var(--ink);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.route-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 7px;
	border-bottom: 1px solid var(--ink);
}

.route-card-b2b::before {
	background: var(--lime);
}

.route-card-ecom::before {
	background: var(--terra);
}

.route-card:hover {
	transform: translate(-2px, -2px);
	box-shadow: var(--shadow-hard);
}

.route-kicker {
	margin: 6px 0 0;
	font-family: var(--font-mono);
	font-size: 0.76rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ink-soft);
}

.route-card h3 {
	margin: 0;
	font-size: var(--step-3);
}

.route-pains {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 10px;
}

.route-pains li {
	position: relative;
	padding-left: 24px;
	color: var(--ink-soft);
}

.route-pains li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 10px;
	height: 10px;
	border: 1px solid var(--ink);
	background: var(--cream);
}

.route-anchor {
	margin: 4px 0 0;
	padding-top: 14px;
	border-top: 1px solid var(--line);
	font-family: var(--font-mono);
	font-size: 0.84rem;
}

.route-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	margin-top: auto;
	font-weight: 700;
	text-decoration-color: var(--terra);
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

.route-link:hover {
	text-decoration-color: var(--ink);
}

/* -------------------------------------------------------------------
   8. Problem
------------------------------------------------------------------- */

.problem {
	padding-block: var(--section-pad);
	background: var(--cream);
	border-bottom: 1px solid var(--ink);
}

.problem-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(28px, 5vw, 64px);
	align-items: start;
}

.problem-grid .section-intro {
	margin-bottom: 0;
}

.problem-list {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: om-problem;
	border-top: 1px solid var(--ink);
}

.problem-list li {
	counter-increment: om-problem;
	display: grid;
	grid-template-columns: 44px 1fr;
	gap: 16px;
	padding: 16px 0;
	border-bottom: 1px solid var(--line);
}

.problem-list li::before {
	content: counter(om-problem, decimal-leading-zero);
	font-family: var(--font-mono);
	font-size: 0.85rem;
	color: var(--ink-faint);
	padding-top: 3px;
}

.problem-closing {
	grid-column: 1 / -1;
	margin: 8px 0 0;
	padding: 20px 24px;
	background: var(--paper);
	border: 1px solid var(--ink);
	border-left: 8px solid var(--lime);
	font-size: var(--step-1);
	font-weight: 600;
	max-width: 62ch;
}

/* -------------------------------------------------------------------
   9. Offers
------------------------------------------------------------------- */

.offers {
	padding-block: var(--section-pad);
	border-bottom: 1px solid var(--ink);
}

.offer-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(18px, 2.5vw, 28px);
}

.offer-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: clamp(22px, 3vw, 34px);
	background: var(--white);
	border: 1px solid var(--ink);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.offer-card:hover {
	transform: translate(-2px, -2px);
	box-shadow: var(--shadow-hard);
}

.offer-no {
	font-family: var(--font-mono);
	font-size: 0.85rem;
	color: var(--ink-faint);
	letter-spacing: 0.1em;
}

.offer-kicker {
	margin: 0;
	font-family: var(--font-mono);
	font-size: 0.76rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ink-soft);
}

.offer-card h3 {
	margin: 0;
}

.offer-card p {
	color: var(--ink-soft);
}

.offer-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	margin-top: auto;
	font-weight: 700;
	text-decoration-color: var(--terra);
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

.offer-link:hover {
	text-decoration-color: currentColor;
}

/* The one signal-highlighted priority card. */
.offer-card-featured {
	background: var(--ink);
	color: var(--white);
	border-color: var(--ink);
}

.offer-card-featured .offer-no {
	color: var(--lime);
}

.offer-card-featured .offer-kicker {
	color: var(--lime);
}

.offer-card-featured p {
	color: var(--white-soft);
}

.offer-card-featured .offer-link {
	color: var(--white);
	text-decoration-color: var(--lime);
}

.offer-card-featured:hover {
	box-shadow: 6px 6px 0 var(--terra);
}

.offer-extra {
	margin: clamp(24px, 3vw, 36px) 0 0;
	padding-top: 18px;
	border-top: 1px solid var(--line);
	font-family: var(--font-mono);
	font-size: 0.88rem;
	color: var(--ink-soft);
}

.offer-extra a {
	color: var(--ink);
	font-weight: 600;
}

/* -------------------------------------------------------------------
   10. Proof
------------------------------------------------------------------- */

.proof {
	padding-block: var(--section-pad);
	background: var(--cream);
	border-bottom: 1px solid var(--ink);
}

.proof-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(18px, 2.5vw, 28px);
}

.proof-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: clamp(22px, 3vw, 32px);
	background: var(--white);
	border: 1px solid var(--ink);
}

.proof-card h3 {
	margin: 0;
	font-size: var(--step-1);
	line-height: 1.3;
}

.proof-card p {
	color: var(--ink-soft);
	font-size: 0.95rem;
}

/* Honest placeholder: dashed frame, no fake data. */
.proof-card-placeholder {
	background: transparent;
	border-style: dashed;
}

.proof-status {
	align-self: flex-start;
	margin: 0 0 4px;
	padding: 5px 10px;
	background: var(--paper);
	border: 1px solid var(--ink);
	font-family: var(--font-mono);
	font-size: 0.72rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ink-soft);
}

.proof-more {
	margin: clamp(24px, 3vw, 36px) 0 0;
}

/* -------------------------------------------------------------------
   11. Process (dark)
------------------------------------------------------------------- */

.process {
	padding-block: var(--section-pad);
	background: var(--ink);
	color: var(--white);
	border-bottom: 1px solid var(--ink);
}

.process-list {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--line-light);
}

.process-list li {
	display: grid;
	grid-template-columns: 90px 1fr;
	gap: clamp(16px, 3vw, 40px);
	padding: clamp(20px, 3vw, 30px) 0;
	border-bottom: 1px solid var(--line-light);
}

.process-no {
	font-family: var(--font-mono);
	font-size: var(--step-3);
	font-weight: 700;
	line-height: 1;
	color: var(--lime);
}

.process-list h3 {
	margin: 0 0 6px;
	font-size: var(--step-2);
	color: var(--white);
}

.process-list p {
	margin: 0;
	color: var(--white-soft);
	max-width: 58ch;
}

/* -------------------------------------------------------------------
   12. About
------------------------------------------------------------------- */

.about {
	padding-block: var(--section-pad);
	border-bottom: 1px solid var(--ink);
}

.about-grid {
	display: grid;
	grid-template-columns: 0.72fr 1.28fr;
	gap: clamp(28px, 5vw, 72px);
	align-items: start;
}

.about-photo,
.about-photo-placeholder {
	width: 100%;
	border: 1px solid var(--ink);
	background: var(--cream);
}

.about-photo {
	object-fit: cover;
	aspect-ratio: 3 / 4;
}

.about-photo-placeholder {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	aspect-ratio: 3 / 4;
	padding: 16px;
	background:
		repeating-linear-gradient(
			-45deg,
			transparent 0 14px,
			rgba(23, 24, 19, 0.05) 14px 15px
		),
		var(--cream);
}

.about-monogram {
	align-self: center;
	font-family: var(--font-mono);
	font-size: clamp(4rem, 9vw, 7rem);
	font-weight: 700;
	color: transparent;
	-webkit-text-stroke: 2px var(--ink-faint);
}

.about-caption {
	margin: 10px 0 0;
	font-family: var(--font-mono);
	font-size: 0.78rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ink-soft);
}

.about-copy h2 {
	max-width: 22ch;
}

.about-copy p {
	max-width: 62ch;
	color: var(--ink-soft);
}

.about-points {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 22px;
}

.about-points span {
	padding: 8px 16px;
	background: var(--white);
	border: 1px solid var(--ink);
	font-family: var(--font-mono);
	font-size: 0.8rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* -------------------------------------------------------------------
   13. Qualification
------------------------------------------------------------------- */

.qualification {
	padding-block: var(--section-pad);
	background: var(--cream);
	border-bottom: 1px solid var(--ink);
}

.qualification-grid {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: clamp(28px, 5vw, 64px);
	align-items: start;
}

.qualification-grid .section-intro {
	margin-bottom: 0;
}

.qualification-list {
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 12px;
}

.qualification-list li {
	position: relative;
	padding-left: 26px;
}

.qualification-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.5em;
	width: 12px;
	height: 12px;
	background: var(--lime);
	border: 1px solid var(--ink);
}

.qualification-not {
	margin: 0;
	padding: 18px 22px;
	background: var(--paper);
	border: 1px solid var(--ink);
	border-left: 8px solid var(--terra);
	color: var(--ink-soft);
}

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

/* -------------------------------------------------------------------
   14. Pricing
------------------------------------------------------------------- */

.pricing {
	padding-block: var(--section-pad);
	border-bottom: 1px solid var(--ink);
}

.price-list {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--ink);
}

.price-row a {
	display: grid;
	grid-template-columns: 1fr auto 44px;
	align-items: center;
	gap: 18px;
	min-height: 64px;
	padding: 14px 4px;
	border-bottom: 1px solid var(--line);
	text-decoration: none;
	transition: background-color 0.15s ease, padding 0.15s ease;
}

.price-row a:hover {
	background: var(--cream);
	padding-inline: 14px;
}

.price-row-label {
	font-weight: 600;
	font-size: var(--step-1);
	letter-spacing: -0.01em;
}

.price-row-value {
	font-family: var(--font-mono);
	font-size: 0.92rem;
	text-align: right;
	color: var(--ink-soft);
}

.price-row-arrow {
	display: inline-grid;
	place-items: center;
	width: 36px;
	height: 36px;
	justify-self: end;
	border: 1px solid var(--ink);
	background: var(--white);
	font-family: var(--font-mono);
	transition: background-color 0.15s ease;
}

.price-row a:hover .price-row-arrow {
	background: var(--lime);
}

.price-note {
	margin: 22px 0 0;
	max-width: 72ch;
	font-size: 0.9rem;
	color: var(--ink-faint);
}

/* -------------------------------------------------------------------
   15. FAQ
------------------------------------------------------------------- */

.faq {
	padding-block: var(--section-pad);
	background: var(--cream);
	border-bottom: 1px solid var(--ink);
}

.faq-grid {
	display: grid;
	grid-template-columns: 0.8fr 1.2fr;
	gap: clamp(28px, 5vw, 64px);
	align-items: start;
}

.faq-grid .section-intro {
	margin-bottom: 0;
}

.faq-list {
	border-top: 1px solid var(--ink);
}

.faq-item {
	border-bottom: 1px solid var(--line);
}

.faq-item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	min-height: 60px;
	padding: 16px 4px;
	font-weight: 600;
	font-size: var(--step-1);
	letter-spacing: -0.01em;
	list-style: none;
	cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
	display: none;
}

.faq-item summary:hover {
	background: rgba(255, 253, 246, 0.6);
}

.faq-marker {
	flex: none;
	display: inline-grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border: 1px solid var(--ink);
	background: var(--white);
	font-family: var(--font-mono);
	font-size: 1.1rem;
	line-height: 1;
	transition: transform 0.15s ease, background-color 0.15s ease;
}

.faq-item[open] .faq-marker {
	transform: rotate(45deg);
	background: var(--lime);
}

.faq-item > p {
	margin: 0;
	padding: 0 4px 20px;
	max-width: 62ch;
	color: var(--ink-soft);
}

/* -------------------------------------------------------------------
   16. Contact + form
------------------------------------------------------------------- */

.contact {
	padding-block: var(--section-pad);
	background: var(--ink);
	color: var(--white);
}

.contact-grid {
	display: grid;
	grid-template-columns: 0.95fr 1.05fr;
	gap: clamp(28px, 5vw, 72px);
	align-items: start;
}

.contact-copy .eyebrow {
	color: var(--white-soft);
}

.contact-copy h2 {
	color: var(--white);
	max-width: 18ch;
}

.contact-copy p {
	color: var(--white-soft);
	max-width: 52ch;
}

.contact-points {
	margin: 22px 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 12px;
}

.contact-points li {
	position: relative;
	padding-left: 26px;
}

.contact-points li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.5em;
	width: 12px;
	height: 12px;
	background: var(--lime);
}

.contact-booking {
	margin-top: 24px;
}

.contact-booking .text-link {
	color: var(--white);
	text-decoration-color: var(--lime);
}

.contact-form-wrap {
	background: var(--paper);
	color: var(--ink);
	border: 1px solid var(--ink);
	box-shadow: 8px 8px 0 rgba(217, 255, 67, 0.9);
	padding: clamp(22px, 3vw, 36px);
}

.contact-form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}

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

.field-full {
	grid-column: 1 / -1;
}

.field label,
.search-label {
	font-family: var(--font-mono);
	font-size: 0.78rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ink-soft);
}

.req {
	color: var(--terra);
	font-weight: 700;
}

.field input,
.field select,
.field textarea {
	width: 100%;
	min-height: 50px;
	padding: 12px 14px;
	background: var(--white);
	border: 1px solid var(--ink);
	border-radius: var(--radius);
}

.field textarea {
	min-height: 120px;
	resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
	outline: 2px solid var(--ink);
	outline-offset: 0;
	box-shadow: 0 0 0 5px var(--lime);
}

/* Honeypot stays visually removed but focusable-by-bots only. */
.om-hp {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
}

.form-status {
	grid-column: 1 / -1;
	margin: 0;
	padding: 14px 18px;
	border: 1px solid var(--ink);
	font-weight: 600;
}

.form-status-ok {
	background: var(--lime);
}

.form-status-err {
	background: var(--terra);
}

.form-consent {
	margin: 0;
	font-size: 0.82rem;
	color: var(--ink-faint);
}

/* -------------------------------------------------------------------
   17. Service pages
------------------------------------------------------------------- */

.page-hero {
	padding-block: clamp(52px, 7vw, 96px);
	border-bottom: 1px solid var(--ink);
	background: var(--paper);
}

.page-hero-grid {
	display: grid;
	grid-template-columns: 1.4fr auto;
	gap: clamp(28px, 5vw, 64px);
	align-items: center;
}

.page-title {
	max-width: 22ch;
}

.page-lead {
	max-width: 58ch;
	font-size: var(--step-1);
	color: var(--ink-soft);
}

.page-cta-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 26px;
	margin-top: 26px;
}

.page-hero-price {
	align-self: start;
	min-width: 220px;
	padding: 24px 28px;
	background: var(--ink);
	color: var(--white);
	border: 1px solid var(--ink);
	box-shadow: 6px 6px 0 var(--lime);
}

.price-tag-label {
	margin: 0 0 6px;
	font-family: var(--font-mono);
	font-size: 0.76rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--white-soft);
}

.price-tag-value {
	margin: 0;
	font-size: var(--step-3);
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--lime);
}

.price-tag-note {
	margin: 6px 0 0;
	font-family: var(--font-mono);
	font-size: 0.78rem;
	color: var(--white-soft);
}

/* Plain interior hero (blog, archive, 404). */
.page-hero-plain .page-title {
	max-width: 26ch;
}

/* Service content sections: alternating tones via .tone-*. */
.service-section {
	padding-block: clamp(48px, 6.5vw, 88px);
	border-bottom: 1px solid var(--line);
}

.tone-cream {
	background: var(--cream);
}

.tone-ink {
	background: var(--ink);
	color: var(--white);
}

.service-section:nth-of-type(even) {
	background: var(--cream);
}

.service-section-grid {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	gap: clamp(24px, 4vw, 64px);
	align-items: start;
}

.service-section-head h2 {
	font-size: var(--step-3);
	max-width: 20ch;
}

.service-section-body {
	max-width: 68ch;
}

.service-section-body > p {
	color: var(--ink-soft);
}

.service-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 12px;
}

.service-list li {
	position: relative;
	padding-left: 26px;
}

.service-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.5em;
	width: 11px;
	height: 11px;
	background: var(--lime);
	border: 1px solid var(--ink);
}

.service-columns {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(18px, 2.5vw, 28px);
}

.service-col {
	padding: clamp(20px, 2.5vw, 28px);
	background: var(--white);
	border: 1px solid var(--ink);
}

.service-col h3 {
	margin-bottom: 14px;
	font-size: var(--step-1);
}

/* Muted column: what is NOT included / secondary scope. */
.service-col-muted {
	background: transparent;
	border-style: dashed;
}

.service-col-muted .service-list li::before {
	background: var(--cream);
}

.service-steps {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: om-step;
	border-top: 1px solid var(--ink);
}

.service-steps li {
	counter-increment: om-step;
	position: relative;
	padding: 18px 0 18px 76px;
	border-bottom: 1px solid var(--line);
}

.service-steps li::before {
	content: counter(om-step, decimal-leading-zero);
	position: absolute;
	left: 0;
	top: 18px;
	font-family: var(--font-mono);
	font-size: var(--step-2);
	font-weight: 700;
	line-height: 1.2;
	color: var(--terra);
}

.service-steps h3 {
	margin: 0 0 4px;
	font-size: var(--step-1);
}

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

.service-price {
	margin: 0;
	border-top: 1px solid var(--ink);
}

.service-price-row {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 18px;
	align-items: baseline;
	padding: 14px 4px;
	border-bottom: 1px solid var(--line);
}

.service-price-row dt {
	font-weight: 600;
}

.service-price-row dd {
	margin: 0;
	font-family: var(--font-mono);
	font-size: 0.92rem;
	text-align: right;
	color: var(--ink-soft);
}

.service-price-note {
	margin: 16px 0 0;
	font-size: 0.9rem;
	color: var(--ink-faint);
	max-width: 68ch;
}

/* Closing CTA band. */
.page-cta {
	padding-block: var(--section-pad);
	background: var(--ink);
	color: var(--white);
	border-bottom: 1px solid var(--ink);
}

.page-cta-inner {
	max-width: 820px;
	text-align: center;
}

.page-cta h2 {
	color: var(--white);
}

.page-cta p {
	color: var(--white-soft);
	max-width: 54ch;
	margin-inline: auto;
}

.page-cta .page-cta-actions {
	justify-content: center;
}

.page-cta .text-link {
	color: var(--white);
	text-decoration-color: var(--lime);
}

/* -------------------------------------------------------------------
   18. Blog: archives, single, entry content, comments, search, 404
------------------------------------------------------------------- */

.archive-list {
	padding-block: clamp(44px, 6vw, 80px);
}

.archive-card {
	max-width: 820px;
	padding: clamp(24px, 3vw, 36px) 0;
	border-bottom: 1px solid var(--line);
}

.archive-card:first-child {
	padding-top: 0;
}

.entry-meta {
	margin: 0 0 8px;
	font-family: var(--font-mono);
	font-size: 0.8rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ink-faint);
}

.archive-card-title {
	margin-bottom: 0.35em;
	font-size: var(--step-3);
}

.archive-card-title a {
	text-decoration: none;
}

.archive-card-title a:hover {
	text-decoration: underline;
	text-decoration-color: var(--terra);
	text-decoration-thickness: 3px;
	text-underline-offset: 5px;
}

.archive-card-excerpt {
	color: var(--ink-soft);
	max-width: 62ch;
}

.search-query {
	background: var(--lime);
	padding: 0 8px;
}

/* Pagination (core .navigation markup). */
.navigation.pagination {
	margin-top: clamp(28px, 4vw, 44px);
}

.navigation .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.nav-links .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 44px;
	min-height: 44px;
	padding: 6px 14px;
	border: 1px solid var(--ink);
	background: var(--white);
	font-family: var(--font-mono);
	font-size: 0.9rem;
	text-decoration: none;
}

.nav-links a.page-numbers:hover {
	background: var(--lime);
}

.nav-links .page-numbers.current {
	background: var(--ink);
	color: var(--white);
}

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

/* Single entry. */
.entry-thumb {
	margin-top: clamp(28px, 4vw, 44px);
}

.entry-thumb img {
	width: 100%;
	border: 1px solid var(--ink);
}

.entry-content {
	padding-block: clamp(36px, 5vw, 64px);
}

.entry-content > * {
	max-width: 760px;
}

.entry-content p,
.entry-content li {
	font-size: 1.05rem;
	color: var(--ink);
}

.entry-content h2 {
	margin-top: 1.6em;
	font-size: var(--step-3);
}

.entry-content h3 {
	margin-top: 1.4em;
}

.entry-content a {
	text-decoration-color: var(--terra);
}

.entry-content blockquote {
	margin: 1.5em 0;
	padding: 18px 24px;
	border-left: 8px solid var(--lime);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	background: var(--cream);
	font-size: var(--step-1);
}

.entry-content blockquote p:last-child {
	margin-bottom: 0;
}

.entry-content code {
	font-family: var(--font-mono);
	font-size: 0.9em;
	padding: 2px 6px;
	background: var(--cream);
	border: 1px solid var(--line);
}

.entry-content pre {
	padding: 18px;
	background: var(--ink);
	color: var(--white);
	overflow-x: auto;
	font-family: var(--font-mono);
	font-size: 0.9rem;
}

.entry-content pre code {
	padding: 0;
	background: transparent;
	border: 0;
}

.entry-content img {
	border: 1px solid var(--ink);
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.5em 0;
}

.entry-content th,
.entry-content td {
	padding: 10px 14px;
	border: 1px solid var(--line);
	text-align: left;
}

.entry-content th {
	background: var(--cream);
	font-family: var(--font-mono);
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.entry-content hr {
	border: 0;
	border-top: 1px solid var(--ink);
	margin: 2em 0;
}

.page-links {
	margin-top: 2em;
	font-family: var(--font-mono);
	font-size: 0.9rem;
}

.page-links a,
.page-links > span:not(:first-child) {
	display: inline-grid;
	place-items: center;
	min-width: 40px;
	min-height: 40px;
	margin-left: 6px;
	border: 1px solid var(--ink);
	text-decoration: none;
}

.entry-footer {
	padding-block: clamp(24px, 3vw, 40px);
}

.post-nav {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	padding-top: 20px;
	border-top: 1px solid var(--ink);
	font-weight: 600;
}

.post-nav a {
	text-decoration-color: var(--terra);
}

.post-nav-next {
	text-align: right;
	margin-left: auto;
}

/* Comments. */
.comments-area {
	padding-block: clamp(36px, 5vw, 56px);
	max-width: calc(760px + 2 * var(--gutter));
}

.comments-title {
	font-size: var(--step-2);
	padding-bottom: 14px;
	border-bottom: 1px solid var(--ink);
}

.comment-list {
	margin: 0 0 2em;
	padding: 0;
	list-style: none;
}

.comment-list .comment {
	padding: 18px 0;
	border-bottom: 1px solid var(--line);
}

.comment-list .children {
	list-style: none;
	margin: 0;
	padding-left: clamp(16px, 3vw, 40px);
	border-left: 2px solid var(--line);
}

.comment-author {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 600;
}

.comment-author .avatar {
	border: 1px solid var(--ink);
}

.comment-metadata {
	font-family: var(--font-mono);
	font-size: 0.78rem;
	color: var(--ink-faint);
}

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

.reply a {
	font-family: var(--font-mono);
	font-size: 0.82rem;
}

.no-comments {
	font-family: var(--font-mono);
	font-size: 0.9rem;
	color: var(--ink-faint);
}

.comment-form {
	display: grid;
	gap: 14px;
}

.comment-form label {
	display: block;
	margin-bottom: 6px;
	font-family: var(--font-mono);
	font-size: 0.78rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ink-soft);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	min-height: 48px;
	padding: 12px 14px;
	background: var(--white);
	border: 1px solid var(--ink);
}

.comment-form textarea {
	min-height: 130px;
	resize: vertical;
}

.comment-form .submit {
	min-height: 50px;
	padding: 12px 26px;
	border: 1px solid var(--ink);
	background: var(--terra);
	color: var(--ink);
	font-weight: 600;
	cursor: pointer;
}

.comment-form .submit:hover {
	background: var(--lime);
}

/* Search form. */
.search-form {
	max-width: 560px;
}

.search-label {
	display: block;
	margin-bottom: 8px;
}

.search-row {
	display: flex;
	gap: 10px;
}

.search-field {
	flex: 1;
	min-width: 0;
	min-height: 50px;
	padding: 12px 14px;
	background: var(--white);
	border: 1px solid var(--ink);
	border-radius: var(--radius);
}

.search-field:focus {
	outline: 2px solid var(--ink);
	box-shadow: 0 0 0 5px var(--lime);
}

.search-submit {
	flex: none;
}

/* 404. */
.error-404 .page-title {
	max-width: 20ch;
}

.error-search {
	margin-top: clamp(28px, 4vw, 40px);
	padding-top: 24px;
	border-top: 1px solid var(--line);
	max-width: 560px;
}

/* -------------------------------------------------------------------
   19. Footer
------------------------------------------------------------------- */

.site-footer {
	background: var(--ink);
	color: var(--white);
	border-top: 6px solid var(--lime);
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
	gap: clamp(28px, 4vw, 56px);
	padding-block: clamp(48px, 6vw, 80px);
}

.footer-brand .brand-link {
	color: var(--white);
}

.footer-brand .brand-mark {
	background: var(--lime);
	color: var(--ink);
}

.footer-tagline {
	margin-top: 16px;
	max-width: 34ch;
	color: var(--white-soft);
	font-size: 0.95rem;
}

.footer-social {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
}

.footer-social a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 4px 14px;
	border: 1px solid var(--line-light);
	font-family: var(--font-mono);
	font-size: 0.8rem;
	letter-spacing: 0.06em;
	text-decoration: none;
	color: var(--white);
}

.footer-social a:hover {
	border-color: var(--lime);
	color: var(--lime);
}

.footer-label {
	margin: 0 0 14px;
	font-family: var(--font-mono);
	font-size: 0.74rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--white-soft);
}

.footer-label-gap {
	margin-top: 26px;
}

.footer-menu {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 4px;
}

.footer-menu a {
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	color: var(--white);
	text-decoration: none;
	font-size: 0.95rem;
}

.footer-menu a:hover {
	color: var(--lime);
	text-decoration: underline;
	text-decoration-color: var(--lime);
	text-underline-offset: 4px;
}

/* Menu fallback (wp_list_pages) rendered in footer columns. */
.footer-col .menu {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 4px;
}

.footer-col .menu a {
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	color: var(--white);
	text-decoration: none;
	font-size: 0.95rem;
}

.footer-col .menu a:hover {
	color: var(--lime);
	text-decoration: underline;
}

.footer-details {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 4px;
	font-size: 0.88rem;
	color: var(--white-soft);
}

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 12px 24px;
	padding-block: 22px;
	border-top: 1px solid var(--line-light);
}

.copyright {
	margin: 0;
	font-family: var(--font-mono);
	font-size: 0.8rem;
	color: var(--white-soft);
}

.legal-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.legal-menu a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--white-soft);
	font-size: 0.85rem;
	text-decoration: none;
}

.legal-menu a:hover {
	color: var(--lime);
	text-decoration: underline;
}

/* -------------------------------------------------------------------
   20. WordPress core classes
------------------------------------------------------------------- */

.alignleft {
	float: left;
	margin: 0 24px 16px 0;
}

.alignright {
	float: right;
	margin: 0 0 16px 24px;
}

.aligncenter {
	display: block;
	margin-inline: auto;
}

.alignwide,
.alignfull {
	max-width: none;
}

.wp-caption {
	max-width: 100%;
}

.wp-caption-text,
figcaption {
	margin-top: 8px;
	font-family: var(--font-mono);
	font-size: 0.8rem;
	color: var(--ink-faint);
}

.sticky {
	border-left: 8px solid var(--lime);
	padding-left: 18px;
}

.gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}

.bypostauthor {
	position: relative;
}

/* -------------------------------------------------------------------
   21. Reveal, focus, responsive, reduced motion, print
------------------------------------------------------------------- */

/* Scroll reveal: only when JS confirmed motion is allowed. */
.has-reveal .reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.55s ease, transform 0.55s ease;
}

.has-reveal .reveal.visible {
	opacity: 1;
	transform: none;
}

/* Focus: ink outline with a lime halo works on paper and ink surfaces. */
:focus-visible {
	outline: 2px solid var(--ink);
	outline-offset: 2px;
	box-shadow: 0 0 0 6px var(--lime);
	border-radius: var(--radius);
}

.process :focus-visible,
.contact :focus-visible,
.page-cta :focus-visible,
.site-footer :focus-visible,
.offer-card-featured :focus-visible {
	outline-color: var(--lime);
	box-shadow: 0 0 0 6px rgba(217, 255, 67, 0.35);
}

/* ---- Tablet / mobile: ~900px ---- */
@media (max-width: 900px) {
	html {
		scroll-padding-top: 76px;
	}

	/* Mobile navigation panel. */
	.nav-toggle {
		display: inline-flex;
	}

	.site-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 14px;
		padding: 18px var(--gutter) 28px;
		background: var(--paper);
		border-bottom: 1px solid var(--ink);
		box-shadow: 0 18px 24px rgba(23, 24, 19, 0.12);
		max-height: calc(100vh - 72px);
		overflow-y: auto;
	}

	.site-nav.open {
		display: flex;
	}

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

	.site-nav .menu li {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		border-bottom: 1px solid var(--line);
	}

	.site-nav .menu a {
		flex: 1;
		min-height: 52px;
		padding: 10px 4px;
		font-size: 1.05rem;
		border-bottom: 0;
	}

	.submenu-toggle {
		width: 44px;
		height: 44px;
	}

	/* Submenus become an inline accordion. */
	.site-nav .sub-menu,
	.site-nav .children {
		position: static;
		display: none;
		width: 100%;
		min-width: 0;
		border: 0;
		border-left: 3px solid var(--lime);
		box-shadow: none;
		background: transparent;
		opacity: 1;
		visibility: visible;
		transform: none;
		padding: 0 0 8px 14px;
	}

	.site-nav .menu-item-has-children.submenu-open > .sub-menu,
	.site-nav .page_item_has_children.submenu-open > .children {
		display: block;
	}

	.site-nav .sub-menu a,
	.site-nav .children a {
		padding: 10px 4px;
		min-height: 46px;
	}

	.nav-cta {
		justify-content: center;
	}

	body.nav-open {
		overflow: hidden;
	}

	/* Layout collapses: one column, same message order. */
	.hero-grid,
	.problem-grid,
	.route-grid,
	.about-grid,
	.qualification-grid,
	.faq-grid,
	.contact-grid,
	.page-hero-grid,
	.service-section-grid {
		grid-template-columns: 1fr;
	}

	.offer-grid,
	.proof-cards {
		grid-template-columns: 1fr;
	}

	.hero-copy h1,
	.about-copy h2,
	.contact-copy h2 {
		max-width: none;
	}

	.hero-board {
		max-width: 560px;
	}

	.about-portrait {
		max-width: 380px;
	}

	.page-hero-price {
		justify-self: start;
	}

	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}

	.process-list li {
		grid-template-columns: 64px 1fr;
	}
}

/* ---- Small mobile: ~600px ---- */
@media (max-width: 600px) {
	:root {
		--section-pad: clamp(52px, 12vw, 72px);
	}

	.brand-name {
		font-size: 0.95rem;
	}

	.hero-actions .button,
	.page-cta-actions .button,
	.contact-form .button {
		width: 100%;
	}

	.system-node {
		padding: 6px 9px;
		font-size: 0.68rem;
	}

	.node-main {
		padding: 9px 14px;
	}

	.contact-form {
		grid-template-columns: 1fr;
	}

	.contact-form-wrap {
		box-shadow: 5px 5px 0 rgba(217, 255, 67, 0.9);
	}

	.price-row a {
		grid-template-columns: 1fr 44px;
		grid-template-areas:
			"label arrow"
			"value arrow";
		row-gap: 4px;
		padding-block: 16px;
	}

	.price-row-label {
		grid-area: label;
		font-size: 1.05rem;
	}

	.price-row-value {
		grid-area: value;
		text-align: left;
	}

	.price-row-arrow {
		grid-area: arrow;
		align-self: center;
	}

	.service-price-row {
		grid-template-columns: 1fr;
		gap: 2px;
	}

	.service-price-row dd {
		text-align: left;
	}

	.service-columns {
		grid-template-columns: 1fr;
	}

	.service-steps li {
		padding-left: 58px;
	}

	.problem-list li {
		grid-template-columns: 36px 1fr;
		gap: 10px;
	}

	.process-list li {
		grid-template-columns: 1fr;
		gap: 6px;
	}

	.footer-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.footer-bottom {
		flex-direction: column;
		align-items: flex-start;
	}

	.post-nav {
		flex-direction: column;
	}

	.post-nav-next {
		text-align: left;
		margin-left: 0;
	}

	.gallery {
		grid-template-columns: 1fr 1fr;
	}

	.search-row {
		flex-direction: column;
	}
}

/* ---- Reduced motion: strip nonessential animation. ---- */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

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

	.has-reveal .reveal {
		opacity: 1;
		transform: none;
	}

	.button:hover,
	.route-card:hover,
	.offer-card:hover {
		transform: none;
	}

	.live-dot::before {
		animation: none;
	}
}

/* ---- Print: ink on white, content only. ---- */
@media print {
	body {
		background: #fff;
		color: #000;
	}

	.site-header,
	.site-footer,
	.nav-toggle,
	.skip-link,
	.hero-board,
	.contact-form-wrap,
	.page-cta,
	.contact,
	.navigation,
	.post-nav {
		display: none !important;
	}

	.process,
	.offer-card-featured {
		background: #fff;
		color: #000;
	}

	.process h2,
	.process h3,
	.process p,
	.section-intro-light,
	.section-intro-light .eyebrow,
	.section-intro-light p {
		color: #000;
	}

	.has-reveal .reveal {
		opacity: 1;
		transform: none;
	}

	section,
	article {
		break-inside: avoid;
	}

	a {
		text-decoration: underline;
	}
}
