/*
Theme Name: HIV PEP Pattaya
Theme URI: https://hivpeppattaya.com/
Author: HIV PEP Pattaya
Description: Editorial, conversion-focused block theme for an HIV PEP / PrEP clinic in Pattaya. Signature 72-hour countdown dial block, clinic details settings with Block Bindings, editable section patterns, FAQ and MedicalClinic structured data, art-directed self-hosted photography and a mobile contact bar.
Requires at least: 6.7
Tested up to: 6.9
Requires PHP: 7.4
Version: 2.2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hivpep
Tags: block-patterns, full-site-editing, one-column, custom-logo, editor-style, wide-blocks
*/

:root {
	--hp-icon-pill: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.5 20.5 3.5 13.5a4.95 4.95 0 0 1 7-7l7 7a4.95 4.95 0 0 1-7 7Z'/%3E%3Cpath d='m8.5 8.5 7 7'/%3E%3C/svg%3E");
	--hp-icon-shield: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E");
	--hp-icon-test: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 3h6M10 3v6l-5.4 9.4A2 2 0 0 0 6.3 21.5h11.4a2 2 0 0 0 1.7-3.1L14 9V3'/%3E%3Cpath d='M7.5 15h9'/%3E%3C/svg%3E");
	--hp-icon-heart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.7l-1-1.1a5.5 5.5 0 0 0-7.8 7.8l1 1.1L12 21l7.8-7.5 1-1.1a5.5 5.5 0 0 0 0-7.8z'/%3E%3C/svg%3E");
	--hp-icon-lock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E");
	--hp-icon-bolt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2 4 14h7l-1 8 9-12h-7l1-8z'/%3E%3C/svg%3E");
	--hp-icon-doctor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3H5v6a5 5 0 0 0 10 0V3h-1'/%3E%3Cpath d='M10 14v1.5a5.5 5.5 0 0 0 11 0V13'/%3E%3Ccircle cx='21' cy='11' r='2'/%3E%3C/svg%3E");
	--hp-icon-chat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 11.5a8.4 8.4 0 0 1-12.2 7.5L3 21l2-5.3A8.4 8.4 0 1 1 21 11.5z'/%3E%3C/svg%3E");
	--hp-icon-tag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.6 13.4 13.4 20.6a2 2 0 0 1-2.8 0L3 13V3h10l7.6 7.6a2 2 0 0 1 0 2.8z'/%3E%3Ccircle cx='7.5' cy='7.5' r='1.5'/%3E%3C/svg%3E");
	--hp-icon-globe: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M2 12h20M12 2a15 15 0 0 1 0 20M12 2a15 15 0 0 0 0 20'/%3E%3C/svg%3E");
	--hp-icon-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s7-6.2 7-12a7 7 0 0 0-14 0c0 5.8 7 12 7 12z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E");
	--hp-icon-clock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
	--hp-icon-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 1.9.7 2.8a2 2 0 0 1-.5 2.1L8 9.9a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.8.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E");
	--hp-icon-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
	--hp-icon-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
	--hp-glyph-line: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M12 4C6.9 4 2.8 7.3 2.8 11.4c0 3.6 3.2 6.7 7.6 7.3.3.1.7.2.8.5.1.3.1.6 0 .9l-.1.8c0 .3-.2.9.8.5s5.4-3.2 7.4-5.5c1.4-1.5 2-3 2-4.5C21.2 7.3 17.1 4 12 4z'/%3E%3C/svg%3E");
	--hp-glyph-whatsapp: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3.3a8.7 8.7 0 0 0-7.5 13.1L3.3 20.7l4.4-1.2A8.7 8.7 0 1 0 12 3.3z' fill='none' stroke='white' stroke-width='1.7'/%3E%3Cpath fill='white' d='M9.3 7.9c-.2-.4-.4-.4-.6-.4h-.5c-.2 0-.5.1-.8.4s-1 1-1 2.4 1 2.8 1.2 3 2 3.2 5 4.4c2.5 1 3 .8 3.5.7s1.7-.7 1.9-1.4.2-1.2.2-1.4-.2-.2-.5-.3l-1.8-.9c-.3-.1-.4-.1-.6.1l-.8 1c-.1.2-.3.2-.5.1a6.6 6.6 0 0 1-3.3-2.9c-.3-.4.2-.4.7-1.3.1-.2 0-.3 0-.4l-.8-2z'/%3E%3C/svg%3E");
	--hp-glyph-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 1.9.7 2.8a2 2 0 0 1-.5 2.1L8 9.9a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.8.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E");
	--hp-ribbon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.5 2.5c-1.6 1-2.3 3.4-1.6 6 .6 2.4 2.6 5.5 5.9 9.8L17 22.5M14.5 2.5c1.6 1 2.3 3.4 1.6 6-.6 2.4-2.6 5.5-5.9 9.8L7 22.5'/%3E%3Cpath d='M9.5 2.5c1.4-.8 3.6-.8 5 0'/%3E%3C/svg%3E");
	--hp-ribbon-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.5 2.5c-1.6 1-2.3 3.4-1.6 6 .6 2.4 2.6 5.5 5.9 9.8L17 22.5M14.5 2.5c1.6 1 2.3 3.4 1.6 6-.6 2.4-2.6 5.5-5.9 9.8L7 22.5'/%3E%3Cpath d='M9.5 2.5c1.4-.8 3.6-.8 5 0'/%3E%3C/svg%3E");
}

/* ==========================================================================
   Tokens & base
   ========================================================================== */

:root {
	--paper: var(--wp--preset--color--base);
	--paper-deep: var(--wp--preset--color--paper-deep);
	--surface: var(--wp--preset--color--surface);
	--ink: var(--wp--preset--color--ink);
	--soft: var(--wp--preset--color--ink-soft);
	--forest: var(--wp--preset--color--forest);
	--forest-deep: var(--wp--preset--color--forest-deep);
	--sage: var(--wp--preset--color--sage);
	--accent: var(--wp--preset--color--accent);
	--accent-soft: var(--wp--preset--color--accent-soft);
	--accent-light: #ff8469;
	--rule: var(--wp--preset--color--line);
	--rule-dark: rgba(255, 255, 255, 0.14);
	--serif: var(--wp--preset--font-family--serif);
	--sans: var(--wp--preset--font-family--sans);
	--mono: var(--wp--preset--font-family--mono);
	--line-green: #06c755;
	--wa-green: #25d366;
	--radius: 8px;
	--section: clamp(4.5rem, 10vw, 9rem);
	--hp-header-h: 72px;
}

html {
	overflow-x: clip;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--hp-header-h) + 12px);
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-feature-settings: "ss01", "cv11";
}

::selection { background: var(--accent); color: #fff; }

.wp-site-blocks > * + * { margin-block-start: 0; }
.site-main--front > .wp-block-post-content,
.site-main--front > .wp-block-post-content > .alignfull { margin-block-start: 0; }

:where(a, button, input, summary):focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
	border-radius: 4px;
}

h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

:where(h1, h2, h3) em { font-style: italic; color: var(--accent); }

.label {
	margin: 0 0 1rem;
	color: var(--soft);
	font-family: var(--mono);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.section { padding-block: var(--section); }
/* Two plain paper sections in a row: don't double the gap between them. */
.section:not(.has-background) + .section:not(.has-background) { padding-top: 0; }
.split { margin-bottom: clamp(2.75rem, 6vw, 5rem); gap: clamp(1.5rem, 5vw, 5rem); }
.split h2 { margin: 0; }
.lead { color: var(--ink); font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.45; letter-spacing: -0.01em; }
.lead-sm { color: var(--soft); font-size: 1.1rem; line-height: 1.55; }
.split__body > p:not(.lead) { color: var(--soft); }
.note {
	margin-top: 1.5rem;
	padding-left: 1rem;
	border-left: 2px solid var(--accent);
	color: var(--soft);
	font-size: 0.95rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	text-decoration: none;
	white-space: nowrap;
	transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.wp-block-button__link:hover { transform: translateY(-1px); }

.wp-block-button.is-style-urgent .wp-block-button__link { background: var(--accent); color: #fff; }
.wp-block-button.is-style-urgent .wp-block-button__link:hover { background: #b22f19; }
.wp-block-button.is-style-urgent .wp-block-button__link::before {
	content: "";
	width: 1.05em;
	height: 1.05em;
	flex: none;
	background: var(--hp-glyph-phone) center / contain no-repeat;
}

.wp-block-button.is-style-line .wp-block-button__link,
.wp-block-button.is-style-whatsapp .wp-block-button__link {
	padding-left: 0.6rem;
	border: 1px solid var(--ink);
	background: transparent;
	color: var(--ink);
}
.wp-block-button.is-style-line .wp-block-button__link::before,
.wp-block-button.is-style-whatsapp .wp-block-button__link::before {
	content: "";
	width: 1.7em;
	height: 1.7em;
	flex: none;
	border-radius: 50%;
	background: var(--line-green) var(--hp-glyph-line) center / 62% no-repeat;
}
.wp-block-button.is-style-whatsapp .wp-block-button__link::before { background: var(--wa-green) var(--hp-glyph-whatsapp) center / 64% no-repeat; }
.wp-block-button.is-style-line .wp-block-button__link:hover,
.wp-block-button.is-style-whatsapp .wp-block-button__link:hover { background: var(--ink); color: var(--paper); }

.wp-block-button.is-style-outline .wp-block-button__link {
	padding-top: calc(0.95rem - 1px);
	padding-bottom: calc(0.95rem - 1px);
	border: 1px solid var(--ink);
	background: transparent;
	color: var(--ink);
}
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--ink); color: var(--paper); }

.wp-block-button.is-style-light .wp-block-button__link { background: var(--paper); color: var(--ink); }
.wp-block-button.is-style-light .wp-block-button__link:hover { background: #fff; }

/* Buttons on dark backgrounds */
:is(.has-ink-background-color, .contact-panel__info, .final-cta, .bento__tile--pep) :is(.is-style-line, .is-style-whatsapp, .is-style-outline) .wp-block-button__link {
	border-color: rgba(255, 255, 255, 0.32);
	color: #fff;
}
:is(.has-ink-background-color, .contact-panel__info, .final-cta, .bento__tile--pep) :is(.is-style-line, .is-style-whatsapp, .is-style-outline) .wp-block-button__link:hover {
	border-color: #fff;
	background: #fff;
	color: var(--ink);
}

/* ==========================================================================
   Lists
   ========================================================================== */

.wp-block-list.is-style-rows {
	counter-reset: row;
	margin: 1.5rem 0 0;
	padding: 0;
	list-style: none;
}
.wp-block-list.is-style-rows li {
	display: grid;
	grid-template-columns: 3.25rem 1fr;
	padding: 1rem 0;
	border-top: 1px solid var(--rule);
	counter-increment: row;
	font-size: 1.075rem;
}
.wp-block-list.is-style-rows li:last-child { border-bottom: 1px solid var(--rule); }
.wp-block-list.is-style-rows li::before {
	content: counter(row, decimal-leading-zero);
	padding-top: 0.2em;
	color: var(--accent);
	font-family: var(--mono);
	font-size: 0.8rem;
}

.wp-block-list.is-style-checks { padding-left: 0; list-style: none; }
.wp-block-list.is-style-checks li { position: relative; padding-left: 1.6rem; margin-bottom: 0.5rem; }
.wp-block-list.is-style-checks li::before { content: "+"; position: absolute; left: 0; color: var(--accent); font-family: var(--mono); }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(243, 240, 232, 0.86);
	-webkit-backdrop-filter: saturate(150%) blur(14px);
	backdrop-filter: saturate(150%) blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--rule); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

.site-header__bar { padding-block: 0.9rem; }
.site-header__bar > .wp-block-group { gap: 1.5rem; }

.site-brand { gap: 0.6rem; flex-shrink: 0; }
.site-brand__title { margin: 0; font-family: var(--serif); font-size: 1.55rem; line-height: 1; letter-spacing: -0.01em; white-space: nowrap; }
.site-brand__title a { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--ink); text-decoration: none; }
/* Mini dial: the brand mark echoes the 72-hour clock. */
.site-brand__title a::before {
	content: "";
	width: 1.55rem;
	height: 1.55rem;
	flex: none;
	border-radius: 50%;
	background: conic-gradient(var(--accent) 0 28%, var(--ink) 28% 100%);
	-webkit-mask: radial-gradient(circle, transparent 52%, #000 54%);
	mask: radial-gradient(circle, transparent 52%, #000 54%);
}
.site-brand:has(.wp-block-site-logo img) .site-brand__title a::before { display: none; }

.site-nav .wp-block-navigation__container { gap: 1.75rem; }
.site-nav a { color: var(--ink); text-decoration: none; }
.site-nav .wp-block-navigation-item__content { position: relative; padding-block: 0.3rem; }
.site-nav .wp-block-navigation-item__content::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background: var(--ink);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.25s ease;
}
.site-nav .wp-block-navigation-item__content:hover::after { transform: scaleX(1); }

.site-header__right { gap: 0.9rem; flex-shrink: 0; }
.site-header__hours {
	margin: 0;
	padding: 0.45rem 0.8rem;
	border: 1px solid var(--rule);
	border-radius: 999px;
	color: var(--soft);
	font-family: var(--mono);
	font-size: 0.72rem;
	white-space: nowrap;
}
.site-header__hours::before {
	content: "";
	display: inline-block;
	width: 0.45rem;
	height: 0.45rem;
	margin-right: 0.45rem;
	border-radius: 50%;
	background: #2f9e6a;
	vertical-align: 0.05em;
}
.site-header__cta .wp-block-button__link { padding: 0.7rem 1.15rem; font-size: 0.9rem; }

@media (max-width: 1240px) { .site-header__hours { display: none; } }
@media (min-width: 600px) and (max-width: 1080px) {
	.site-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.site-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
}
@media (max-width: 1080px) {
	.site-header__bar > .wp-block-group { gap: 0.75rem; }
	.site-nav { order: 3; }
	.site-header__right { margin-left: auto; }
}
@media (max-width: 480px) {
	.site-brand__title { font-size: 1.3rem; }
	.site-header__cta .wp-block-button__link { padding: 0.6rem 0.9rem; font-size: 0.85rem; }
}

.wp-block-navigation__responsive-container.is-menu-open {
	padding: 1.5rem clamp(1rem, 5vw, 2rem);
	background: var(--paper) !important;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 0.1rem; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	padding-block: 0.4rem;
	font-family: var(--serif);
	font-size: 2.4rem;
	font-weight: 400;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.section-hero {
	position: relative;
	overflow: hidden;
	padding-block: clamp(2.5rem, 6vw, 5.5rem) clamp(3.5rem, 7vw, 6rem);
}
/* Concentric rings behind the dial. */
.section-hero::before {
	content: "";
	position: absolute;
	right: -18rem;
	top: 50%;
	width: 62rem;
	height: 62rem;
	transform: translateY(-50%);
	border-radius: 50%;
	background: repeating-radial-gradient(circle, transparent 0 3.9rem, rgba(15, 26, 28, 0.07) 3.9rem calc(3.9rem + 1px));
	pointer-events: none;
}
.section-hero > * { position: relative; z-index: 1; }
.hero-grid { gap: clamp(2rem, 5vw, 5rem); }
.hero-title {
	margin: 0;
	font-size: clamp(3.1rem, 7.2vw, 6.9rem);
	line-height: 0.93;
	letter-spacing: -0.03em;
}
.hero-title em { display: block; }
.hero-lead {
	max-width: 34rem;
	margin-top: 1.75rem;
	color: var(--soft);
	font-size: clamp(1.075rem, 1.6vw, 1.25rem);
	line-height: 1.55;
}
.hero-buttons { margin-top: 2rem; gap: 0.6rem; }
.hero-facts {
	gap: 0 !important;
	margin-top: 2.75rem;
	border-top: 1px solid var(--rule);
}
.hero-facts p {
	flex: 1 1 0;
	min-width: 8rem;
	margin: 0;
	padding: 1.1rem 1rem 0 0;
	color: var(--soft);
	font-size: 0.85rem;
	line-height: 1.3;
}
.hero-facts p + p { padding-left: 1rem; border-left: 1px solid var(--rule); }
.hero-facts strong {
	display: block;
	margin-bottom: 0.2rem;
	color: var(--ink);
	font-family: var(--serif);
	font-size: 1.65rem;
	font-weight: 400;
	line-height: 1;
}
@media (max-width: 600px) {
	.hero-buttons .wp-block-button { flex: 1 1 100%; }
	.hero-buttons .wp-block-button__link { width: 100%; }
	.hero-facts { display: grid !important; grid-template-columns: 1fr 1fr; }
	.hero-facts p { min-width: 0; padding: 1rem 0.75rem 1rem 0; }
	.hero-facts p + p { padding-left: 0; border-left: 0; }
	.hero-facts p:nth-child(even) { padding-left: 1rem; border-left: 1px solid var(--rule); }
	.hero-facts p:nth-child(n+3) { border-top: 1px solid var(--rule); }
}

/* ==========================================================================
   PEP countdown dial
   ========================================================================== */

.pep-timer {
	--state: #8fd1b0;
	--on: rgba(255, 255, 255, 0.92);
	--dim: rgba(255, 255, 255, 0.55);
	position: relative;
	padding: clamp(1.25rem, 3vw, 2rem);
	border-radius: 22px;
	background:
		radial-gradient(28rem 20rem at 50% 0%, rgba(143, 209, 176, 0.12), transparent 70%),
		var(--forest-deep);
	color: var(--on);
	box-shadow: 0 40px 80px -40px rgba(11, 40, 38, 0.65);
}
.pep-timer[data-state="warn"] { --state: #f2b04a; }
.pep-timer[data-state="urgent"],
.pep-timer[data-state="late"],
.pep-timer[data-state="error"] { --state: var(--accent-light); }

.pep-timer__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.pep-timer__live {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--sage);
	font-family: var(--mono);
	font-size: 0.7rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}
.pep-timer__pulse {
	width: 0.45rem;
	height: 0.45rem;
	border-radius: 50%;
	background: var(--accent-light);
	animation: hp-pulse 2s infinite;
}
@keyframes hp-pulse {
	0% { box-shadow: 0 0 0 0 rgba(255, 132, 105, 0.55); }
	70% { box-shadow: 0 0 0 8px rgba(255, 132, 105, 0); }
	100% { box-shadow: 0 0 0 0 rgba(255, 132, 105, 0); }
}
.pep-timer__heading { font-family: var(--serif); font-size: 1.3rem; line-height: 1.1; text-align: right; }

.pep-dial { position: relative; width: min(100%, 320px); margin: 1.25rem auto 1.5rem; aspect-ratio: 1; }
.pep-dial svg { display: block; width: 100%; height: 100%; overflow: visible; }
.pep-dial__tick { stroke: rgba(255, 255, 255, 0.3); stroke-width: 1.1; transition: stroke 0.4s ease; }
.pep-dial__tick.is-long { stroke: rgba(255, 255, 255, 0.7); stroke-width: 1.8; }
.pep-dial__tick.is-past { stroke: rgba(255, 255, 255, 0.08); }
.pep-dial__track { fill: none; stroke: rgba(255, 255, 255, 0.07); stroke-width: 11; }
.pep-dial__ring {
	fill: none;
	stroke: var(--state);
	stroke-width: 11;
	stroke-linecap: round;
	transform: rotate(-90deg);
	transform-box: fill-box;
	transform-origin: center;
	transition: stroke-dasharray 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), stroke-dashoffset 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), stroke 0.3s ease;
}
.pep-dial__marker { stroke: var(--accent-light); stroke-width: 2; }
.pep-dial__center {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}
.pep-dial__value {
	color: #fff;
	font-family: var(--serif);
	font-size: clamp(3.4rem, 7vw, 4.6rem);
	font-variant-numeric: tabular-nums;
	line-height: 1;
	letter-spacing: -0.02em;
}
.pep-dial__unit {
	margin-top: 0.45rem;
	color: var(--dim);
	font-family: var(--mono);
	font-size: 0.68rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}
.pep-dial__label {
	position: absolute;
	top: -0.35rem;
	left: calc(50% + 1.9rem);
	color: var(--accent-light);
	font-family: var(--mono);
	font-size: 0.62rem;
}

.pep-timer__label { display: block; margin-bottom: 0.45rem; color: var(--dim); font-size: 0.85rem; }
.pep-timer__input {
	box-sizing: border-box;
	width: 100%;
	padding: 0.8rem 0.9rem;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.05);
	color: #fff;
	color-scheme: dark;
	font: inherit;
	font-family: var(--mono);
	font-size: 0.95rem;
}
.pep-timer__input:focus { outline: none; border-color: var(--state); }

.pep-timer__quick { display: flex; gap: 0.4rem; margin-top: 0.6rem; }
.pep-timer__quick button {
	flex: 1;
	padding: 0.45rem 0.4rem;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 999px;
	background: transparent;
	color: var(--on);
	font: inherit;
	font-family: var(--mono);
	font-size: 0.75rem;
	cursor: pointer;
	transition: all 0.15s ease;
}
.pep-timer__quick button:hover { border-color: #fff; }
.pep-timer__quick button[aria-pressed="true"] { border-color: #fff; background: #fff; color: var(--ink); }

.pep-timer__msg { min-height: 3em; margin: 1rem 0 0; color: var(--on); font-size: 0.92rem; line-height: 1.5; }
.pep-timer__actions { display: grid; grid-template-columns: 1.4fr 1fr; gap: 0.5rem; margin-top: 1rem; }
.pep-timer__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.85rem 1rem;
	border-radius: 999px;
	font-weight: 550;
	text-decoration: none;
	white-space: nowrap;
	transition: transform 0.15s ease, background-color 0.15s ease;
}
.pep-timer__btn:hover { transform: translateY(-1px); }
.pep-timer__btn::before { content: ""; flex: none; }
.pep-timer__btn--call { background: var(--accent); color: #fff; }
.pep-timer__btn--call:hover { background: #b22f19; color: #fff; }
.pep-timer__btn--call::before { width: 1.1em; height: 1.1em; background: var(--hp-glyph-phone) center / contain no-repeat; }
.pep-timer__btn--line { background: #fff; color: var(--ink); }
.pep-timer__btn--line:hover { color: var(--ink); }
.pep-timer__btn--line::before { width: 1.5em; height: 1.5em; border-radius: 50%; background: var(--line-green) var(--hp-glyph-line) center / 62% no-repeat; }
.pep-timer__note { margin: 0.9rem 0 0; color: rgba(255, 255, 255, 0.45); font-size: 0.72rem; line-height: 1.5; }

/* ==========================================================================
   Ticker
   ========================================================================== */

.ticker {
	overflow: hidden;
	padding-block: 1.1rem;
	background: var(--ink);
	color: var(--paper);
}
.ticker__text {
	margin: 0;
	font-family: var(--serif);
	font-size: clamp(1.4rem, 2.6vw, 2.1rem);
	font-style: italic;
	line-height: 1.2;
	white-space: nowrap;
}
.ticker__track { display: inline-flex; animation: hp-ticker 48s linear infinite; }
.ticker__track > span { padding-right: 0.6em; }
@keyframes hp-ticker { to { transform: translateX(-50%); } }

/* ==========================================================================
   01 The medicine
   ========================================================================== */

.about-detail { gap: clamp(2rem, 6vw, 6rem); margin-top: clamp(1rem, 3vw, 2rem); }
.about-detail__list h3 { margin: 0; }

.photo { margin: 0; }
.photo img { display: block; width: 100%; border-radius: var(--radius); object-fit: cover; }
.photo--portrait img { aspect-ratio: 4 / 5; }
.photo--tall img { aspect-ratio: 3 / 4; }
.photo--wide img { aspect-ratio: 16 / 9; }
.photo figcaption {
	margin: 0.8rem 0 0;
	color: var(--soft);
	font-family: var(--mono);
	font-size: 0.72rem;
	text-align: left;
}
.photo figcaption::before { content: "↳ "; color: var(--accent); }

/* ==========================================================================
   02 The window
   ========================================================================== */

.ruler {
	position: relative;
	margin-top: 1rem !important;
	padding-top: 2.1rem;
}
.ruler::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 10px;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--forest) 0 2.8%, #3e7d62 2.8% 33.3%, #c98a1b 33.3%, var(--accent) 100%);
}
.ruler::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 14px;
	height: 7px;
	background: repeating-linear-gradient(90deg, rgba(15, 26, 28, 0.35) 0 1px, transparent 1px calc(100% / 24));
}
.ruler p { margin: 0; color: var(--soft); font-family: var(--mono); font-size: 0.75rem; }

.window-cols { gap: clamp(1.25rem, 3vw, 2.5rem); margin-top: 2.5rem; }
.window-col { --c: var(--forest); padding-top: 1.25rem; border-top: 3px solid var(--c); }
.window-col--good { --c: #3e7d62; }
.window-col--warn { --c: #c98a1b; }
.window-col--late { --c: var(--accent); }
.window-col__time { margin: 0; color: var(--c); font-family: var(--serif); font-size: clamp(2.2rem, 3.5vw, 3rem); line-height: 1; }
.window-col h3 { margin: 0.9rem 0 0.35rem; font-family: var(--sans); font-size: 1.05rem; font-weight: 600; letter-spacing: 0; }
.window-col p:last-child { margin: 0; color: var(--soft); font-size: 0.95rem; }

/* ==========================================================================
   03 Your visit
   ========================================================================== */

.visit { gap: clamp(2rem, 6vw, 6rem); }
@media (min-width: 782px) {
	.visit__media { position: sticky; top: calc(var(--hp-header-h) + 2rem); align-self: flex-start; }
}
.visit__body h2 { margin: 0 0 2rem; }
.steps { counter-reset: step; }
.step {
	position: relative;
	padding: 1.6rem 0 1.6rem 5rem;
	border-top: 1px solid var(--rule);
	counter-increment: step;
}
.step:last-child { border-bottom: 1px solid var(--rule); }
.step::before {
	content: counter(step, decimal-leading-zero);
	position: absolute;
	left: 0;
	top: 1.3rem;
	color: var(--accent);
	font-family: var(--serif);
	font-size: 2.6rem;
	font-style: italic;
	line-height: 1;
}
.step h3 { margin: 0 0 0.4rem; font-size: 1.75rem; }
.step p { margin: 0; color: var(--soft); }

/* ==========================================================================
   04 Services – bento
   ========================================================================== */

.bento {
	display: grid;
	grid-template-columns: 1.2fr 1fr 1fr;
	gap: 1rem;
}
.bento > * { margin: 0 !important; }
.bento__tile {
	display: flex;
	flex-direction: column;
	min-height: 15rem;
	padding: clamp(1.5rem, 2.5vw, 2.25rem);
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	background: var(--surface);
}
.bento__tile > * { margin-block: 0; }
.bento__tile h3 { margin: 0 0 0.6rem; font-size: 2rem; }
.bento__tile p { color: var(--soft); }
.bento__tile .label { margin-bottom: 1.25rem; }

.bento__tile--pep { grid-row: span 2; border-color: var(--forest); background: var(--forest); color: #fff; }
.bento__tile--pep .label { color: var(--sage); }
.bento__tile--pep p { color: rgba(255, 255, 255, 0.75); }
.bento__big { margin-top: auto !important; color: #fff; font-size: clamp(4rem, 8vw, 7rem) !important; line-height: 0.9; letter-spacing: -0.03em; }
.bento__tile--pep .wp-block-buttons { margin-top: 1.5rem; }

.bento__tile--photo { padding: 0; overflow: hidden; }
.bento__tile--photo .bento__img { margin: 0 0 1.5rem; }
.bento__tile--photo .bento__img img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.bento__tile--photo > :not(.bento__img) { padding-inline: clamp(1.5rem, 2.5vw, 2.25rem); }
.bento__tile--photo > :last-child { padding-bottom: clamp(1.5rem, 2.5vw, 2.25rem); }

.bento__tile--prep { border-color: var(--accent-soft); background: var(--accent-soft); }
.bento__tile--prep .arrow-link { margin-top: auto; }
.arrow-link a { color: var(--ink); font-weight: 550; text-decoration: none; border-bottom: 1px solid currentColor; }
.arrow-link a::after { content: " →"; }

.bento__tile--wide { grid-column: 2 / span 2; }
.tags { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: auto 0 0; padding: 1rem 0 0; list-style: none; }
.tags li {
	padding: 0.35rem 0.8rem;
	border: 1px solid var(--rule);
	border-radius: 999px;
	font-family: var(--mono);
	font-size: 0.75rem;
}

@media (max-width: 960px) {
	.bento { grid-template-columns: 1fr 1fr; }
	.bento__tile--pep { grid-column: span 2; grid-row: auto; }
	.bento__tile--wide { grid-column: span 2; }
}
@media (max-width: 600px) {
	.bento { grid-template-columns: 1fr; }
	.bento__tile--pep,
	.bento__tile--wide { grid-column: auto; }
}

/* ==========================================================================
   05 Why us (dark)
   ========================================================================== */

.section-why .label { color: var(--sage); }
.section-why :where(h2, h3) em { color: var(--sage); }
.section-why .lead-sm { color: rgba(255, 255, 255, 0.68); }
.features { gap: 0 2.5rem !important; counter-reset: feat; }
.feature { padding: 1.4rem 0 1.6rem; border-top: 1px solid var(--rule-dark); counter-increment: feat; }
.feature::before {
	content: "/" counter(feat, decimal-leading-zero);
	display: block;
	margin-bottom: 0.9rem;
	color: var(--sage);
	font-family: var(--mono);
	font-size: 0.72rem;
}
.feature h3 { margin: 0 0 0.4rem; font-family: var(--sans); font-size: 1.1rem; font-weight: 600; letter-spacing: 0; }
.feature p { margin: 0; color: rgba(255, 255, 255, 0.62); font-size: 0.95rem; }

.message-band {
	gap: clamp(2rem, 5vw, 5rem);
	margin-top: clamp(3.5rem, 8vw, 7rem) !important;
	padding-top: clamp(3rem, 6vw, 5rem);
	border-top: 1px solid var(--rule-dark);
}
.message-band__body h3 { margin: 0 0 1rem; font-size: clamp(2rem, 3.5vw, 2.8rem); line-height: 1.05; }
.message-band__body p { color: rgba(255, 255, 255, 0.68); }
.message-band__body .wp-block-buttons { margin-top: 1.5rem; gap: 0.6rem; }

/* ==========================================================================
   06 Packages – editorial rows
   ========================================================================== */

.price-rows { border-top: 1px solid var(--ink); }
.price-row {
	gap: clamp(1rem, 3vw, 2.5rem);
	margin: 0 !important;
	padding: 2rem 0;
	border-bottom: 1px solid var(--rule);
}
.price-row h3 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.price-row--featured { padding-inline: 1.5rem; background: var(--surface); box-shadow: inset 3px 0 0 var(--accent); }
.price-row__tag { margin: 0 0 0.5rem; color: var(--accent); font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
.inline-list { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; margin: 0; padding: 0; list-style: none; }
.inline-list li { color: var(--soft); font-size: 0.95rem; }
.inline-list li::before { content: "+ "; color: var(--accent); font-family: var(--mono); }
.price-row__cta { text-align: right; }
.price-row__cta .wp-block-buttons { justify-content: flex-end; }
.price-row__price { margin: 0 0 0.75rem; color: var(--soft); font-family: var(--mono); font-size: 0.75rem; }
@media (max-width: 781px) {
	.price-row__cta { text-align: left; }
	.price-row__cta .wp-block-buttons { justify-content: flex-start; }
}

/* ==========================================================================
   07 FAQ – numbered rows
   ========================================================================== */

@media (min-width: 782px) {
	.section-faq__intro { position: sticky; top: calc(var(--hp-header-h) + 2rem); align-self: flex-start; }
}
.faq-list { counter-reset: faq; }
.wp-block-details.is-style-faq {
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--rule);
	counter-increment: faq;
}
.wp-block-details.is-style-faq:last-child { border-bottom: 1px solid var(--rule); }
.wp-block-details.is-style-faq summary {
	position: relative;
	display: block;
	padding: 1.4rem 3rem 1.4rem 3.25rem;
	font-family: var(--serif);
	font-size: clamp(1.3rem, 2vw, 1.6rem);
	line-height: 1.2;
	list-style: none;
	cursor: pointer;
}
.wp-block-details.is-style-faq summary::-webkit-details-marker { display: none; }
.wp-block-details.is-style-faq summary::before {
	content: counter(faq, decimal-leading-zero);
	position: absolute;
	left: 0;
	top: 1.75rem;
	color: var(--accent);
	font-family: var(--mono);
	font-size: 0.75rem;
}
.wp-block-details.is-style-faq summary::after {
	content: "";
	position: absolute;
	right: 0;
	top: 50%;
	width: 1.9rem;
	height: 1.9rem;
	margin-top: -0.95rem;
	border: 1px solid var(--ink);
	border-radius: 50%;
	background: var(--hp-icon-plus) center / 50% no-repeat;
	transition: transform 0.25s ease, background-color 0.2s ease;
}
.wp-block-details.is-style-faq[open] summary::after { transform: rotate(45deg); background-color: var(--accent-soft); border-color: var(--accent); }
.wp-block-details.is-style-faq > :not(summary) { margin: 0; padding: 0 3rem 1.6rem 3.25rem; color: var(--soft); }

/* ==========================================================================
   08 Visit / contact
   ========================================================================== */

.contact-panel { gap: 0 !important; overflow: hidden; border-radius: var(--radius); }
.contact-panel__info { padding: clamp(2rem, 4.5vw, 3.75rem); background: var(--forest); color: #fff; }
.contact-panel__info .label { color: var(--sage); }
.contact-panel__info h2 { margin: 0 0 2rem; }
.contact-panel__info h2 em { color: var(--sage); }
.contact-row {
	display: grid;
	grid-template-columns: 5.5rem 1fr;
	gap: 1rem;
	padding: 1rem 0;
	border-top: 1px solid var(--rule-dark);
}
.contact-row:last-child { border-bottom: 1px solid var(--rule-dark); }
.contact-row > * { margin: 0 !important; }
.contact-row .label { padding-top: 0.25rem; }
.contact-panel__buttons { gap: 0.5rem; margin-top: 2rem; }
.contact-panel__map { min-height: 420px; background: var(--paper-deep); }
.hivpep-map, .hivpep-map iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; }
.hivpep-map iframe { filter: grayscale(0.9) contrast(1.05) sepia(0.12); }

/* ==========================================================================
   Final call to action
   ========================================================================== */

.final-cta { align-items: flex-end !important; padding-block: var(--section) clamp(3rem, 6vw, 5rem) !important; }
.final-cta .wp-block-cover__background {
	background: linear-gradient(0deg, rgba(15, 26, 28, 0.94) 0%, rgba(15, 26, 28, 0.6) 55%, rgba(15, 26, 28, 0.3) 100%) !important;
	opacity: 1 !important;
}
.final-cta .label { color: var(--sage); }
.final-cta__title {
	margin: 0 0 clamp(2rem, 4vw, 3rem);
	font-size: clamp(3.4rem, 10vw, 9.5rem);
	line-height: 0.88;
	letter-spacing: -0.035em;
}
.final-cta__title em { color: var(--accent-light) !important; }
.final-cta .lead-sm { max-width: 30rem; margin: 0; color: rgba(255, 255, 255, 0.75); }
.final-cta .wp-block-buttons { gap: 0.6rem; }
@media (max-width: 781px) { .final-cta .wp-block-buttons { justify-content: flex-start !important; } }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer { padding-top: clamp(4rem, 8vw, 6.5rem); font-size: 0.95rem; overflow: hidden; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--accent-light); }
.site-footer .label { color: var(--sage); }
.site-footer__cols { gap: clamp(2rem, 5vw, 4rem); }
.site-footer__statement { max-width: 22ch; margin: 0 0 1.75rem; font-family: var(--serif); font-size: clamp(1.7rem, 2.6vw, 2.2rem); line-height: 1.12; }
.site-footer__links { margin: 0; padding: 0; list-style: none; }
.site-footer__links li { margin-bottom: 0.45rem; }
.site-footer__links a { color: rgba(255, 255, 255, 0.8); }
.site-footer__muted { margin: 0 0 0.6rem; color: rgba(255, 255, 255, 0.7); }
.site-footer__phone { margin: 0.75rem 0 0; font-family: var(--serif); font-size: 1.6rem; }
.site-footer__disclaimer {
	max-width: none;
	margin-top: clamp(3rem, 6vw, 4.5rem) !important;
	padding-top: 1.5rem;
	border-top: 1px solid var(--rule-dark);
	color: rgba(255, 255, 255, 0.45);
	font-size: 0.8rem;
}
.site-footer__wordmark {
	margin-top: clamp(1.5rem, 4vw, 3rem) !important;
	margin-bottom: 0 !important;
	padding-bottom: 0.12em;
	color: var(--paper);
	font-family: var(--serif);
	font-size: clamp(3.2rem, 17.4vw, 15.9rem);
	line-height: 0.9;
	letter-spacing: -0.035em;
	white-space: nowrap;
}
.site-footer__bottom {
	margin-top: 1.5rem !important;
	padding-block: 1.25rem 1.5rem;
	border-top: 1px solid var(--rule-dark);
	color: rgba(255, 255, 255, 0.5);
	font-family: var(--mono);
	font-size: 0.72rem;
}
.site-footer__bottom p { margin: 0; }
.site-footer__meta { gap: 0.4rem 1.5rem; }
.photo-credits a,
.site-footer__bottom a { color: rgba(255, 255, 255, 0.7) !important; }

/* Mobile sticky contact bar */
.wp-block-group.mobile-cta-bar { display: none !important; }
@media (max-width: 781px) {
	body { padding-bottom: 74px; }
	.wp-block-group.mobile-cta-bar {
		display: flex !important;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 90;
		padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom));
		background: rgba(243, 240, 232, 0.95);
		-webkit-backdrop-filter: blur(12px);
		backdrop-filter: blur(12px);
		border-top: 1px solid var(--rule);
	}
	.mobile-cta-bar .wp-block-buttons { width: 100%; gap: 0.45rem; }
	.mobile-cta-bar .wp-block-button { flex: 1 1 0; }
	.mobile-cta-bar .wp-block-button__link { width: 100%; padding: 0.75rem 0.5rem; font-size: 0.9rem; }
}
.editor-styles-wrapper .wp-block-group.mobile-cta-bar { display: flex !important; position: static; padding: 1rem; background: var(--paper-deep); }

/* ==========================================================================
   Mobile section tweaks
   ========================================================================== */

@media (max-width: 781px) {
	.section-hero::before { right: -30rem; top: 70%; }
	.split { margin-bottom: 2.25rem; }
	.step { padding-left: 3.75rem; }
	.step::before { font-size: 2rem; }
	.wp-block-details.is-style-faq summary { padding-left: 2.5rem; }
	.wp-block-details.is-style-faq > :not(summary) { padding: 0 0 1.4rem 2.5rem; }
	.features { grid-template-columns: 1fr !important; }
	.contact-row { grid-template-columns: 1fr; gap: 0.2rem; }
}

/* ==========================================================================
   Inner pages: header, breadcrumbs, related links, comparison table
   ========================================================================== */

.site-main--page > .page-hero,
.site-main--page > .page-content,
.page-content > .alignfull { margin-block-start: 0; }
.page-hero {
	position: relative;
	overflow: hidden;
	padding-block: clamp(2.5rem, 6vw, 5rem) clamp(2.5rem, 5vw, 4rem);
	border-bottom: 1px solid var(--rule);
}
.page-hero::before {
	content: "";
	position: absolute;
	right: -22rem;
	top: -10rem;
	width: 44rem;
	height: 44rem;
	border-radius: 50%;
	background: repeating-radial-gradient(circle, transparent 0 3.9rem, rgba(15, 26, 28, 0.07) 3.9rem calc(3.9rem + 1px));
	pointer-events: none;
}
.page-hero__inner { position: relative; }
.page-hero__title {
	max-width: 16ch;
	margin: 1.5rem 0 0;
	font-size: clamp(3rem, 7.5vw, 6.5rem);
	line-height: 0.95;
	letter-spacing: -0.03em;
}
.page-hero__lead { max-width: 40rem; margin-top: 1.5rem; }
.page-hero__lead p { margin: 0; color: var(--soft); font-size: clamp(1.075rem, 1.6vw, 1.25rem); line-height: 1.55; }

.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.25rem; margin: 0; padding: 0; list-style: none; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; }
.breadcrumbs li { color: var(--ink); }
.breadcrumbs li + li::before { content: "/"; margin-right: 0.25rem; color: var(--soft); }
.breadcrumbs a { color: var(--soft); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); }

/* Homepage "read more" links are hidden on the dedicated pages. */
body:not(.home) .home-only { display: none; }
.arrow-link.home-only { margin-top: 1.5rem; }

/* Active menu item */
.site-nav .current-menu-item > .wp-block-navigation-item__content { color: var(--accent); }
.site-nav .current-menu-item > .wp-block-navigation-item__content::after { transform: scaleX(1); background: var(--accent); }

.section-related { padding-block: clamp(3.5rem, 7vw, 6rem) !important; border-top: 1px solid var(--rule); }
.page-content > .section:first-child { padding-top: clamp(3rem, 7vw, 6rem); }
.section-related > .related { max-width: var(--wp--style--global--wide-size) !important; }
.related { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.5rem; margin: 0; padding: 0; list-style: none; }
.related li { border-top: 1px solid var(--rule); }
.related__link {
	display: grid;
	grid-template-columns: 2.5rem 1fr auto;
	gap: 0.2rem 1rem;
	padding: 1.4rem 0;
	color: var(--ink);
	text-decoration: none;
}
.related__num { grid-row: span 2; padding-top: 0.5rem; color: var(--accent); font-family: var(--mono); font-size: 0.75rem; }
.related__title { font-family: var(--serif); font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.1; }
.related__text { grid-column: 2; color: var(--soft); font-size: 0.92rem; }
.related__arrow { grid-column: 3; grid-row: 1 / span 2; align-self: center; font-size: 1.4rem; transition: transform 0.2s ease; }
.related__link:hover .related__title { color: var(--accent); }
.related__link:hover .related__arrow { transform: translateX(4px); color: var(--accent); }
@media (max-width: 781px) { .related { grid-template-columns: 1fr; } }

.wp-block-table.compare { margin: 0; }
.wp-block-table.compare table { border-collapse: collapse; border-top: 1px solid var(--ink); }
.wp-block-table.compare th,
.wp-block-table.compare td { padding: 1rem 0.75rem 1rem 0; border: 0; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.wp-block-table.compare th { font-family: var(--serif); font-size: 1.6rem; font-weight: 400; }
.wp-block-table.compare td:first-child { color: var(--soft); font-family: var(--mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; padding-top: 1.2rem; }
.wp-block-table.compare thead { border-bottom: 0; }

/* Plain content pages (e.g. privacy policy) */
.page-content > :not(.alignfull):first-child { margin-top: clamp(2.5rem, 5vw, 4rem); }
.page-content > :not(.alignfull):last-child { margin-bottom: clamp(3rem, 6vw, 5rem); }

/* Contact page cards */
.contact-cards { gap: 1rem !important; }
.contact-card {
	display: flex;
	flex-direction: column;
	padding: clamp(1.5rem, 2.5vw, 2rem);
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	background: var(--surface);
}
.contact-card > * { margin-block: 0; }
.contact-card h3 { margin: 0 0 0.5rem; font-size: 2.2rem; }
.contact-card__value { margin-bottom: 1.5rem !important; color: var(--soft); font-family: var(--mono); font-size: 0.85rem; word-break: break-word; }
.contact-card .wp-block-buttons { margin-top: auto; }
.contact-card--call { border-color: var(--forest); background: var(--forest); color: #fff; }
.contact-card--call .label { color: var(--sage); }
.contact-card--call h3 { color: #fff; }
.contact-card--call .contact-card__value { color: #fff; font-family: var(--serif); font-size: 1.6rem; }
@media (max-width: 1080px) { .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 600px) { .contact-cards { grid-template-columns: 1fr !important; } }

/* ==========================================================================
   Inner pages & blog
   ========================================================================== */

.wp-block-post-template.is-layout-grid { gap: 2rem; }
.wp-block-post-title a { color: var(--ink); text-decoration: none; }
.wp-block-post-title a:hover { color: var(--accent); }
.wp-block-search__input { padding: 0.7rem 1rem; border: 1px solid var(--rule); border-radius: 999px; }
.wp-block-search__button { border-radius: 999px; }
.is-style-card, .is-style-card-tint { padding: 1.75rem; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--surface); }

/* ==========================================================================
   Scroll reveal (JS adds .hp-reveal only to below-the-fold elements)
   ========================================================================== */

.hp-reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.hp-reveal.is-visible { opacity: 1; transform: none; }
