/* ============================================================
 * Litigation Docs — components.css
 * Header, nav, footer, buttons, trust bar, cards, intake modal,
 * cookie banner.
 * ============================================================ */

/* --- Header ------------------------------------------------------------ */
.ld-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(247, 243, 236, 0.92);
	backdrop-filter: saturate(140%) blur(10px);
	-webkit-backdrop-filter: saturate(140%) blur(10px);
	border-bottom: 1px solid var(--ld-rule);
	transition: padding var(--ld-d-std) var(--ld-ease), background var(--ld-d-std) var(--ld-ease);
}
.ld-header.is-scrolled {
	background: rgba(247, 243, 236, 0.96);
}
.ld-header__inner {
	max-width: var(--ld-wide);
	margin-inline: auto;
	padding: var(--ld-s-3) var(--ld-s-4);
	display: grid;
	grid-template-columns: auto 1fr auto auto;
	align-items: center;
	gap: var(--ld-s-5);
}
.ld-header.is-scrolled .ld-header__inner { padding-block: calc(var(--ld-s-2) + 2px); }
.ld-header__brand { display: inline-flex; align-items: center; }
.ld-header__brand img {
	width: auto;
	height: 36px;
	display: block;
}
@media (min-width: 900px) { .ld-header__brand img { height: 42px; } }

.ld-header__nav { display: none; justify-self: end; }
@media (min-width: 1024px) {
	.ld-header__nav { display: block; }
}
.ld-nav {
	list-style: none; margin: 0; padding: 0;
	display: flex;
	gap: clamp(var(--ld-s-3), 1.5vw, var(--ld-s-4));
	align-items: center;
	line-height: 1;
}
.ld-nav li {
	display: flex;
	align-items: center;
	line-height: 1;
	margin: 0;
	padding: 0;
}
.ld-nav li::before { content: none !important; }  /* defeat default ::before bullets from base li rule */
.ld-nav a {
	display: inline-flex;
	align-items: center;
	line-height: 1;
	color: var(--ld-ink);
	font-size: var(--ld-fs-sm);
	font-weight: 500;
	letter-spacing: 0.005em;
	padding: var(--ld-s-2) 0;
	position: relative;
	white-space: nowrap;
	vertical-align: baseline;
}
/* Current-menu-item and home-link states should not shift the baseline —
   they share all metrics with siblings, only the underline toggles. */
.ld-nav .current-menu-item > a,
.ld-nav .current_page_item > a,
.ld-nav .menu-item-home > a { font-weight: 500; }
.ld-nav .current-menu-item > a::after,
.ld-nav .current_page_item > a::after { transform: scaleX(1); }
.ld-nav a::after {
	content: '';
	position: absolute; left: 0; right: 0; bottom: -2px;
	height: 1px; background: var(--ld-crimson);
	transform: scaleX(0); transform-origin: left;
	transition: transform var(--ld-d-std) var(--ld-ease);
}
.ld-nav a:hover::after,
.ld-nav a:focus-visible::after { transform: scaleX(1); }

/* --- Header utility icons (login + cart) ---------------------------- */
.ld-header__utils {
	display: flex;
	align-items: center;
	gap: var(--ld-s-3);
	justify-self: end;
}
.ld-header__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px; height: 38px;
	border-radius: 50%;
	background: transparent;
	border: 1px solid transparent;
	color: var(--ld-ink);
	cursor: pointer;
	position: relative;
	transition: background var(--ld-d-micro) var(--ld-ease), border-color var(--ld-d-micro) var(--ld-ease);
}
.ld-header__icon:hover,
.ld-header__icon:focus-visible {
	background: rgba(172, 31, 43, 0.08);
	border-color: rgba(172, 31, 43, 0.18);
	outline: none;
}
.ld-header__icon svg { width: 18px; height: 18px; display: block; }
.ld-header__icon-badge {
	position: absolute;
	top: -2px; right: -2px;
	min-width: 16px; height: 16px;
	padding: 0 4px;
	border-radius: 8px;
	background: var(--ld-crimson);
	color: var(--ld-parchment);
	font-family: var(--ld-mono);
	font-size: 10px;
	font-weight: 600;
	line-height: 16px;
	text-align: center;
	box-shadow: 0 0 0 2px var(--ld-parchment);
}

.ld-header__cta { display: flex; gap: var(--ld-s-2); align-items: center; }
.ld-header__cart {
	width: 40px; height: 40px;
	display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid var(--ld-rule-strong);
	border-radius: 50%;
	color: var(--ld-ink);
	position: relative;
	background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%230E0E10' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><path d='M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4Z'/><path d='M3 6h18'/><path d='M16 10a4 4 0 0 1-8 0'/></svg>") center no-repeat;
}
.ld-header__cart-count {
	position: absolute; top: -4px; right: -4px;
	min-width: 18px; height: 18px; padding: 0 5px;
	background: var(--ld-crimson); color: var(--ld-parchment);
	border-radius: 9px;
	font-size: 10px; font-weight: 600;
	display: inline-flex; align-items: center; justify-content: center;
}

.ld-header__toggle {
	display: grid; gap: 4px;
	width: 40px; height: 40px;
	padding: 10px; background: transparent; border: none;
	cursor: pointer;
}
.ld-header__toggle span {
	display: block; height: 2px; background: var(--ld-ink);
	border-radius: 2px;
}
@media (min-width: 900px) { .ld-header__toggle { display: none; } }

/* --- Buttons ----------------------------------------------------------- */
/*
 * Editorial-legal button treatment — JetBrains Mono, all caps, sharp
 * corners, 1px border, letterpress-adjacent. Matches the Writing Samples
 * page and binds the site's button language together. Primary = crimson
 * fill; ghost = ink text on transparent with ink border; --on-dark is
 * the ghost variant tuned for dark hero backgrounds.
 */
.ld-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 13px 24px;
	font-family: var(--ld-mono);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	line-height: 1;
	text-decoration: none;
	border: 1px solid transparent;
	border-radius: 0;
	cursor: pointer;
	white-space: nowrap;
	transition: background-color var(--ld-d-micro) var(--ld-ease),
	            color var(--ld-d-micro) var(--ld-ease),
	            border-color var(--ld-d-micro) var(--ld-ease);
}
.ld-btn:hover { text-decoration: none; }
.ld-btn:focus-visible { outline: 2px solid var(--ld-crimson); outline-offset: 3px; }

.ld-btn--primary {
	background: var(--ld-crimson);
	color: var(--ld-parchment);
	border-color: var(--ld-crimson);
}
.ld-btn--primary:hover {
	background: var(--ld-crimson-deep);
	border-color: var(--ld-crimson-deep);
	color: var(--ld-parchment);
}

.ld-btn--ghost {
	background: transparent;
	color: var(--ld-ink);
	border-color: var(--ld-ink);
}
.ld-btn--ghost:hover {
	background: var(--ld-ink);
	color: var(--ld-parchment);
	border-color: var(--ld-ink);
}

/* Ghost variant for dark hero backgrounds — parchment text on parchment-bordered transparent, inverts on hover. */
.ld-btn--ghost.ld-btn--on-dark,
.ld-hero__actions .ld-btn--ghost,
section.ld-hero .ld-btn--ghost,
.ld-about-hero__actions .ld-btn--ghost,
.ld-reseller-hero__actions .ld-btn--ghost {
	color: var(--ld-parchment);
	border-color: rgba(247, 243, 236, 0.35);
	background: transparent;
}
.ld-btn--ghost.ld-btn--on-dark:hover,
.ld-hero__actions .ld-btn--ghost:hover,
section.ld-hero .ld-btn--ghost:hover,
.ld-about-hero__actions .ld-btn--ghost:hover,
.ld-reseller-hero__actions .ld-btn--ghost:hover {
	background: var(--ld-parchment);
	color: var(--ld-ink);
	border-color: var(--ld-parchment);
}

.ld-btn--lg { padding: 16px 30px; font-size: 13px; letter-spacing: 0.16em; }
.ld-btn--sm { padding: 10px 18px; font-size: 11px; letter-spacing: 0.12em; }
.ld-btn--compact { padding: 10px 18px; font-size: 11px; letter-spacing: 0.12em; }

/* Optional meta badge inside a button (e.g. "PDF · 124 KB" next to a download action). */
.ld-btn__meta {
	font-family: var(--ld-mono);
	font-size: 10px;
	letter-spacing: 0.1em;
	opacity: 0.75;
	padding-left: 10px;
	border-left: 1px solid currentColor;
	margin-left: 4px;
	text-transform: uppercase;
}

/* --- Trust bar --------------------------------------------------------- */
.ld-trust-bar {
	list-style: none; margin: 0; padding: 0;
	display: flex; flex-wrap: wrap;
	gap: 16px;
	align-items: center;
	font-size: 11px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ld-muted);
}
.ld-trust-bar__item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 4px 0;
}
.ld-trust-bar__label {
	align-self: center;
	white-space: nowrap;
}
.ld-trust-bar__glyph {
	width: 8px; height: 8px; border-radius: 50%;
	background: var(--ld-gold);
	flex-shrink: 0;
	align-self: center;
}
/* No ::after pseudo on the glyph — previous ring effect created
   position:relative which subtly interfered with flex centering. */
.ld-trust-section {
	background: var(--ld-ink);
	color: var(--ld-parchment);
	padding: var(--ld-s-3) 0;
	-webkit-print-color-adjust: exact;
	color-adjust: exact;
	print-color-adjust: exact;
}
.ld-trust-section__inner {
	max-width: var(--ld-wide); margin-inline: auto;
	padding: 0 var(--ld-s-4);
}
.ld-trust-section .ld-trust-bar { color: rgba(247, 243, 236, 0.7); justify-content: center; }
.ld-trust-section .ld-trust-bar__glyph { background: var(--ld-gold); }

/* --- Footer ------------------------------------------------------------ */
.ld-footer {
	background: var(--ld-ink);
	color: rgba(247, 243, 236, 0.78);
	padding: var(--ld-s-7) 0 var(--ld-s-4);
	margin-top: var(--ld-s-7);
	position: relative;
	isolation: isolate;
	-webkit-print-color-adjust: exact;
	color-adjust: exact;
	print-color-adjust: exact;
}
.ld-footer__atmosphere {
	position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background-image:
		radial-gradient(50% 40% at 10% 0%, rgba(139, 31, 45, 0.15), transparent 70%),
		url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.4 0'/></filter><rect width='120' height='120' filter='url(%23n)'/></svg>");
	background-size: auto, 180px;
	opacity: 1;
}
.ld-footer__inner {
	max-width: var(--ld-wide); margin-inline: auto;
	padding: 0 var(--ld-s-4);
	display: grid; gap: var(--ld-s-6);
	grid-template-columns: 1.4fr 1fr 1fr;
}
@media (max-width: 900px) { .ld-footer__inner { grid-template-columns: 1fr; gap: var(--ld-s-5); } }
.ld-footer__logo img { width: 240px; height: auto; opacity: 0.95; }
.ld-footer__tag { font-size: var(--ld-fs-sm); line-height: 1.6; max-width: 36ch; margin-top: var(--ld-s-3); }
.ld-footer__address { font-style: normal; font-size: var(--ld-fs-sm); margin-top: var(--ld-s-4); line-height: 1.8; }
.ld-footer__address a { color: var(--ld-parchment); }
.ld-footer__list,
.ld-footer__legal-list {
	list-style: none; padding: 0; margin: 0;
	display: grid; gap: var(--ld-s-2);
	font-size: var(--ld-fs-sm);
}
.ld-footer__list a,
.ld-footer__legal-list a { color: rgba(247, 243, 236, 0.78); }
.ld-footer__list a:hover,
.ld-footer__legal-list a:hover { color: var(--ld-parchment); }
.ld-footer__legal .ld-trust-bar { margin-bottom: var(--ld-s-4); color: rgba(247, 243, 236, 0.6); }
.ld-footer__copy {
	margin-top: var(--ld-s-5);
	font-size: var(--ld-fs-xs);
	color: rgba(247, 243, 236, 0.5);
	border-top: 1px solid rgba(247, 243, 236, 0.08);
	padding-top: var(--ld-s-3);
	grid-column: 1 / -1;
}

/* --- Cookie banner ----------------------------------------------------- */
.ld-cookie-banner {
	position: fixed;
	bottom: var(--ld-s-3);
	left: var(--ld-s-3);
	right: var(--ld-s-3);
	max-width: 680px;
	margin-inline: auto;
	background: var(--ld-ink);
	color: var(--ld-parchment);
	padding: var(--ld-s-4);
	border-radius: var(--ld-radius-lg);
	box-shadow: var(--ld-shadow-lift);
	display: grid;
	grid-template-columns: 1fr auto;
	gap: var(--ld-s-4);
	align-items: center;
	z-index: 1000;
	font-size: var(--ld-fs-sm);
}
.ld-cookie-banner[hidden] { display: none; }
.ld-cookie-banner__actions { display: flex; gap: var(--ld-s-2); }
@media (max-width: 640px) {
	.ld-cookie-banner { grid-template-columns: 1fr; }
}

/* --- Page/archive shells ---------------------------------------------- */
.ld-page,
.ld-single,
.ld-archive,
.ld-search,
.ld-404 {
	padding-block: var(--ld-s-6);
}
.ld-page__header,
.ld-archive__header,
.ld-search__header {
	margin-bottom: var(--ld-s-5);
	padding-bottom: var(--ld-s-4);
	border-bottom: 1px solid var(--ld-rule);
}
.ld-page__title,
.ld-archive__title {
	font-size: var(--ld-fs-3xl);
}
.ld-page__content > * + *,
.ld-single__content > * + * { margin-top: var(--ld-s-3); }
.ld-page__content h2,
.ld-single__content h2 { margin-top: var(--ld-s-5); }

.ld-archive__grid,
.ld-search__results {
	display: grid; gap: var(--ld-s-4);
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.ld-card--archive,
.ld-card--post {
	padding: var(--ld-s-4);
	background: var(--ld-white);
	border: 1px solid var(--ld-rule);
	border-radius: var(--ld-radius-lg);
	transition: transform var(--ld-d-std) var(--ld-ease),
	            box-shadow var(--ld-d-std) var(--ld-ease);
}
.ld-card--archive:hover,
.ld-card--post:hover {
	transform: translateY(-2px);
	box-shadow: var(--ld-shadow-soft);
}

/* --- 404 --------------------------------------------------------------- */
.ld-404__inner {
	text-align: center;
	padding-block: var(--ld-s-7);
	max-width: 680px;
	margin-inline: auto;
}
.ld-404__kicker {
	font-family: var(--ld-mono);
	font-size: var(--ld-fs-xs);
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--ld-crimson);
	margin-bottom: var(--ld-s-2);
}
.ld-404__headline {
	font-size: var(--ld-fs-3xl);
	margin-bottom: var(--ld-s-3);
}
.ld-404__actions {
	display: inline-flex; gap: var(--ld-s-3);
	margin: var(--ld-s-4) 0;
}
.ld-404__search { margin-top: var(--ld-s-5); }

/* --- Search form ------------------------------------------------------- */
.search-form {
	display: flex; gap: var(--ld-s-2);
	max-width: 480px;
}
.search-form input[type="search"] {
	flex: 1;
	padding: var(--ld-s-3);
	font-family: var(--ld-sans);
	font-size: var(--ld-fs-sm);
	border: 1px solid var(--ld-rule-strong);
	border-radius: var(--ld-radius);
	background: var(--ld-white);
}
.search-form button {
	padding: var(--ld-s-3) var(--ld-s-4);
	background: var(--ld-ink); color: var(--ld-parchment);
	border: none; border-radius: var(--ld-radius);
	font-weight: 600; cursor: pointer;
}

/* --- Pagination -------------------------------------------------------- */
.wp-pagenavi,
.pagination,
.navigation.pagination {
	margin-top: var(--ld-s-5);
	display: flex; justify-content: center; gap: var(--ld-s-2);
}
.nav-links .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 40px; padding: var(--ld-s-2) var(--ld-s-3);
	border: 1px solid var(--ld-rule-strong);
	border-radius: var(--ld-radius);
	color: var(--ld-ink);
	font-variant-numeric: tabular-nums;
}
.nav-links .page-numbers.current {
	background: var(--ld-ink); color: var(--ld-parchment); border-color: var(--ld-ink);
}

/* --- Intake modal ------------------------------------------------------ */
.ld-modal {
	position: fixed; inset: 0;
	z-index: 2000;
	display: grid; place-items: center;
	padding: var(--ld-s-4);
	background: rgba(14, 14, 16, 0.72);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	opacity: 0;
	visibility: hidden;
	transition: opacity var(--ld-d-std) var(--ld-ease), visibility 0s linear var(--ld-d-std);
}
.ld-modal[data-open="true"] {
	opacity: 1; visibility: visible;
	transition-delay: 0s;
}
.ld-modal__panel {
	background: var(--ld-parchment);
	border-radius: var(--ld-radius-lg);
	max-width: 720px; width: 100%;
	max-height: min(88vh, 880px); overflow: auto;
	padding: var(--ld-s-5);
	position: relative;
	transform: translateY(8px);
	transition: transform var(--ld-d-std) var(--ld-ease);
}
.ld-modal[data-open="true"] .ld-modal__panel { transform: none; }
.ld-modal__close {
	position: absolute; top: var(--ld-s-3); right: var(--ld-s-3);
	width: 40px; height: 40px;
	background: transparent; border: none;
	cursor: pointer; font-size: 24px; line-height: 1;
	color: var(--ld-ink);
	display: grid; place-items: center;
}
.ld-modal__close:hover { color: var(--ld-crimson); }
.ld-modal__title {
	font-family: var(--ld-serif);
	font-size: var(--ld-fs-xl);
	margin-bottom: var(--ld-s-2);
}
.ld-modal__step-indicator {
	display: flex; gap: var(--ld-s-2); align-items: center;
	margin-bottom: var(--ld-s-4);
	font-family: var(--ld-mono); font-size: var(--ld-fs-xs);
	color: var(--ld-muted);
	text-transform: uppercase; letter-spacing: 0.08em;
}
.ld-modal__step-bar {
	flex: 1; height: 2px;
	background: var(--ld-rule-strong);
	position: relative; border-radius: 2px;
	overflow: hidden;
}
.ld-modal__step-bar::after {
	content: '';
	position: absolute; inset: 0;
	background: var(--ld-crimson);
	transform: scaleX(var(--progress, 0.25));
	transform-origin: left;
	transition: transform var(--ld-d-std) var(--ld-ease);
}
.ld-modal__body > fieldset { border: none; padding: 0; margin: 0; }
.ld-modal__body > fieldset + fieldset { margin-top: var(--ld-s-4); }
.ld-modal__body label {
	display: block;
	font-size: var(--ld-fs-sm);
	font-weight: 600;
	margin-bottom: var(--ld-s-2);
	color: var(--ld-ink);
}
.ld-modal__body input[type="text"],
.ld-modal__body input[type="date"],
.ld-modal__body select,
.ld-modal__body textarea {
	width: 100%;
	padding: var(--ld-s-3);
	font-family: var(--ld-sans); font-size: var(--ld-fs-base);
	background: var(--ld-white);
	border: 1px solid var(--ld-rule-strong);
	border-radius: var(--ld-radius);
	color: var(--ld-slate);
	position: relative;
}
.ld-modal__body textarea { min-height: 120px; resize: vertical; }

.ld-modal__actions {
	display: flex; justify-content: space-between; gap: var(--ld-s-3);
	margin-top: var(--ld-s-5);
	padding-top: var(--ld-s-4);
	border-top: 1px solid var(--ld-rule);
}
.ld-modal__error {
	background: rgba(139, 31, 45, 0.08);
	color: var(--ld-crimson-deep);
	padding: var(--ld-s-3);
	border-left: 3px solid var(--ld-crimson);
	margin-bottom: var(--ld-s-3);
	font-size: var(--ld-fs-sm);
}
.ld-modal__error[hidden] { display: none; }

/* Upload zone */
.ld-upload {
	border: 2px dashed var(--ld-rule-strong);
	border-radius: var(--ld-radius-lg);
	padding: var(--ld-s-5);
	text-align: center;
	background: var(--ld-white);
	transition: border-color var(--ld-d-micro) var(--ld-ease),
	            background-color var(--ld-d-micro) var(--ld-ease);
	cursor: pointer;
}
.ld-upload.is-dragover {
	border-color: var(--ld-crimson);
	background: rgba(139, 31, 45, 0.04);
}
.ld-upload__icon {
	display: inline-block; width: 32px; height: 32px;
	background: url("../svg/shield.svg") center/contain no-repeat;
	color: var(--ld-crimson);
	margin-bottom: var(--ld-s-2);
}
.ld-upload__label { font-weight: 600; color: var(--ld-ink); display: block; }
.ld-upload__hint {
	font-size: var(--ld-fs-xs);
	color: var(--ld-muted);
	margin-top: var(--ld-s-2);
	display: block;
}
.ld-upload__secure {
	display: flex; align-items: center; gap: var(--ld-s-2);
	font-size: var(--ld-fs-xs); color: var(--ld-muted);
	margin-top: var(--ld-s-3);
	justify-content: center;
}
.ld-upload__secure::before {
	content: ''; width: 14px; height: 14px;
	background: url("../svg/lock.svg") center/contain no-repeat;
	display: inline-block;
}
.ld-upload__list {
	list-style: none; padding: 0; margin: var(--ld-s-3) 0 0;
	text-align: left;
	display: grid; gap: var(--ld-s-2);
}
.ld-upload__list li {
	display: flex; justify-content: space-between; align-items: center;
	padding: var(--ld-s-2) var(--ld-s-3);
	background: var(--ld-parchment-alt);
	border-radius: var(--ld-radius);
	font-size: var(--ld-fs-sm);
}
.ld-upload__list .ld-upload__remove {
	background: none; border: none;
	color: var(--ld-crimson); cursor: pointer;
	font-size: var(--ld-fs-xs);
}
.ld-upload__list .ld-upload__filename { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60%; }

.ld-nda {
	display: flex; gap: var(--ld-s-2); align-items: flex-start;
	padding: var(--ld-s-3);
	background: var(--ld-parchment-alt);
	border-radius: var(--ld-radius);
	margin-top: var(--ld-s-3);
	font-size: var(--ld-fs-sm);
	line-height: 1.6;
}
.ld-nda input { flex-shrink: 0; margin-top: 4px; }

.ld-review__summary {
	background: var(--ld-white);
	border: 1px solid var(--ld-rule);
	border-radius: var(--ld-radius);
	padding: var(--ld-s-4);
}
.ld-review__summary dl { display: grid; grid-template-columns: 140px 1fr; gap: var(--ld-s-2) var(--ld-s-3); margin: 0; }
.ld-review__summary dt { color: var(--ld-muted); font-size: var(--ld-fs-sm); }
.ld-review__summary dd { margin: 0; font-weight: 500; }

body.ld-modal-open { overflow: hidden; }

/* --- Login modal ---------------------------------------------------- */
/* Uses explicit top/left/right/bottom (not `inset` shorthand) for widest
   compat. The max z-index beats anything short of browser UI. */
.ld-modal {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	width: 100vw;
	height: 100vh;
	height: 100dvh;
	z-index: 2147483646;
	display: none;
	align-items: center;
	justify-content: center;
	padding: var(--ld-s-4);
	box-sizing: border-box;
	margin: 0;
}
.ld-modal[aria-hidden="false"] {
	display: flex !important;
}
.ld-modal *, .ld-modal *::before, .ld-modal *::after {
	box-sizing: border-box;
}
.ld-modal__overlay {
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	background: rgba(14, 14, 16, 0.68);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	cursor: pointer;
}
.ld-modal__panel {
	position: relative;
	z-index: 1;
	background: var(--ld-white);
	max-width: 440px;
	width: 100%;
	border-radius: 8px;
	padding: var(--ld-s-6);
	box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.4);
	border-top: 4px solid var(--ld-crimson);
	max-height: calc(100vh - var(--ld-s-4) * 2);
	max-height: calc(100dvh - var(--ld-s-4) * 2);
	overflow-y: auto;
	margin: 0;
}

/* Body scroll-lock — class-based. Simple and does not introduce layout
   shifts the way position:fixed on <body> does. Padding-right preserves
   the scrollbar gutter so content does not jump horizontally. */
body.ld-modal-open {
	overflow: hidden;
}
@supports (scrollbar-gutter: stable) {
	html { scrollbar-gutter: stable; }
}
.ld-modal__close {
	position: absolute;
	top: var(--ld-s-3); right: var(--ld-s-3);
	width: 32px; height: 32px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: none;
	border-radius: 50%;
	color: var(--ld-muted);
	cursor: pointer;
	font-size: 20px;
	line-height: 1;
}
.ld-modal__close:hover { background: var(--ld-rule); color: var(--ld-ink); }
.ld-modal__kicker {
	font-family: var(--ld-mono);
	font-size: var(--ld-fs-xs);
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--ld-crimson);
	margin: 0 0 var(--ld-s-2);
}
.ld-modal__title {
	font-family: var(--ld-serif);
	font-size: var(--ld-fs-xl);
	margin: 0 0 var(--ld-s-4);
	letter-spacing: -0.015em;
	line-height: 1.1;
}
.ld-modal form .form-row { margin-bottom: var(--ld-s-3); }
.ld-modal form label {
	display: block;
	font-size: var(--ld-fs-xs);
	font-family: var(--ld-mono);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ld-muted);
	margin-bottom: 6px;
}
.ld-modal form input[type="text"],
.ld-modal form input[type="email"],
.ld-modal form input[type="password"] {
	width: 100%;
	padding: 12px 14px;
	font-size: var(--ld-fs-md);
	font-family: var(--ld-sans);
	border: 1px solid var(--ld-rule-strong);
	border-radius: var(--ld-radius);
	background: var(--ld-white);
	color: var(--ld-ink);
}
.ld-modal form input:focus {
	outline: none;
	border-color: var(--ld-crimson);
	box-shadow: 0 0 0 3px rgba(172, 31, 43, 0.12);
}
.ld-modal form .ld-btn { width: 100%; margin-top: var(--ld-s-3); }
.ld-modal__foot {
	margin-top: var(--ld-s-4);
	padding-top: var(--ld-s-3);
	border-top: 1px solid var(--ld-rule);
	font-size: var(--ld-fs-sm);
	color: var(--ld-muted);
	text-align: center;
}
.ld-modal__foot a { color: var(--ld-crimson); font-weight: 600; }
.ld-modal__remember {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: var(--ld-fs-sm);
	color: var(--ld-slate);
	cursor: pointer;
}
.ld-modal__remember input { width: auto; margin: 0; }

/* --- Register-link wrap (from the price-html filter) --------------- */
.ld-register-link {
	text-decoration: none;
	color: inherit;
	cursor: pointer;
	transition: opacity var(--ld-d-micro) var(--ld-ease);
}
.ld-register-link:hover {
	opacity: 0.72;
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-color: currentColor;
	text-decoration-thickness: 1px;
}

/* --- Header phone (replaces the old View Services button) ----------- */
.ld-header__phone {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 16px 8px 12px;
	background: var(--ld-crimson);
	color: var(--ld-parchment) !important;
	border-radius: 999px;
	text-decoration: none !important;
	transition: background var(--ld-d-micro) var(--ld-ease), transform var(--ld-d-micro) var(--ld-ease);
	line-height: 1;
}
.ld-header__phone:hover,
.ld-header__phone:focus-visible {
	background: var(--ld-crimson-deep);
	transform: translateY(-1px);
	outline: none;
}
.ld-header__phone-icon {
	width: 18px; height: 18px;
	flex-shrink: 0;
	display: block;
}
.ld-header__phone-copy {
	display: inline-flex;
	flex-direction: column;
	gap: 2px;
	line-height: 1;
}
.ld-header__phone-kicker {
	font-family: var(--ld-mono);
	font-size: 9px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(247, 243, 236, 0.75);
	font-weight: 500;
}
.ld-header__phone-number {
	font-family: var(--ld-serif);
	font-size: var(--ld-fs-md);
	font-weight: 500;
	letter-spacing: 0.005em;
	color: var(--ld-parchment);
}
@media (max-width: 1100px) {
	/* On narrower viewports, keep the number but drop the kicker line. */
	.ld-header__phone-kicker { display: none; }
	.ld-header__phone { padding: 10px 14px; }
}

/* ================================================================== *
 * POLICY PAGE — Confidentiality & siblings
 *
 * Dark-ink hero matching About/Contact, parchment body with numbered
 * editorial sections (§ I, § II, …), summary rail at the top, crimson
 * § marks. Typography: Fraunces for titles and body, JetBrains Mono
 * for kickers and section marks.
 * ================================================================== */

.ld-policy { background: var(--ld-parchment); color: var(--ld-ink); }

/* --- Hero --- */
.ld-policy-hero {
	background: var(--ld-ink);
	color: var(--ld-parchment);
	padding: clamp(64px, 8vw, 112px) 0;
	position: relative; overflow: hidden;
}
.ld-policy-hero::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: radial-gradient(70% 90% at 85% 10%, rgba(172, 31, 43, 0.22), transparent 60%);
}
.ld-policy-hero__inner {
	position: relative; z-index: 1;
	max-width: var(--ld-wide);
	margin-inline: auto;
	padding: 0 var(--ld-s-4);
}
@media (min-width: 1024px) {
	.ld-policy-hero__inner { padding-inline: var(--ld-s-5); }
}
.ld-policy-hero__kicker {
	font-family: var(--ld-mono);
	font-size: 11px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: rgba(247, 243, 236, 0.7);
	margin: 0 0 24px;
	display: inline-flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.ld-policy-hero__rule { display: inline-block; width: 40px; height: 1px; background: var(--ld-crimson); }
.ld-policy-hero__sigil {
	color: var(--ld-crimson);
	font-family: var(--ld-serif);
	font-style: italic; font-size: 15px; letter-spacing: 0.01em;
	text-transform: none; font-weight: 400;
}
.ld-policy-hero__sigil em { font-style: italic; margin-right: 4px; }
.ld-policy-hero__label { letter-spacing: 0.2em; font-family: var(--ld-mono); }
.ld-policy-hero__title {
	font-family: var(--ld-serif);
	font-size: clamp(44px, 6vw, 84px);
	font-weight: 300;
	line-height: 1.02;
	letter-spacing: -0.03em;
	margin: 0 0 28px;
	color: var(--ld-parchment);
	max-width: 16ch;
}
.ld-policy-hero__title em {
	font-style: italic; font-weight: 300; color: var(--ld-crimson);
}
.ld-policy-hero__standfirst {
	font-family: var(--ld-serif);
	font-size: clamp(18px, 1.5vw, 21px);
	line-height: 1.55;
	color: rgba(247, 243, 236, 0.82);
	margin: 0 0 24px; max-width: 62ch;
}
.ld-policy-hero__updated {
	font-family: var(--ld-mono); font-size: 11px;
	letter-spacing: 0.14em; text-transform: uppercase;
	color: rgba(247, 243, 236, 0.55); margin: 0;
}

/* --- Body --- */
.ld-policy-body { padding: clamp(56px, 7vw, 96px) 0; }
.ld-policy-body__inner {
	max-width: var(--ld-wide);
	margin-inline: auto;
	padding: 0 var(--ld-s-4);
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: clamp(32px, 5vw, 72px);
	align-items: start;
}
@media (min-width: 1024px) {
	.ld-policy-body__inner { padding-inline: var(--ld-s-5); }
}
@media (max-width: 900px) {
	.ld-policy-body__inner { grid-template-columns: 1fr; gap: 40px; }
}

/* Summary rail (sticky on desktop) */
.ld-policy-summary {
	position: sticky; top: 24px;
	padding: 22px 22px 18px;
	background: var(--ld-white);
	border-top: 3px solid var(--ld-crimson);
}
@media (max-width: 900px) { .ld-policy-summary { position: static; } }
.ld-policy-summary__kicker {
	font-family: var(--ld-mono); font-size: 11px;
	letter-spacing: 0.2em; text-transform: uppercase;
	color: var(--ld-muted); margin: 0 0 14px;
	padding-bottom: 12px; border-bottom: 1px solid var(--ld-rule);
}
.ld-policy-summary__kicker span { color: var(--ld-crimson); font-family: var(--ld-serif); font-style: italic; }
.ld-policy-summary ul {
	list-style: none; padding: 0; margin: 0;
}
.ld-policy-summary li {
	font-family: var(--ld-serif); font-size: 14px; line-height: 1.5;
	color: var(--ld-slate);
	padding: 10px 0 10px 16px;
	position: relative;
	border-bottom: 1px solid var(--ld-rule);
}
.ld-policy-summary li:last-child { border-bottom: none; padding-bottom: 0; }
.ld-policy-summary li::before {
	content: "§";
	position: absolute; left: 0; top: 10px;
	color: var(--ld-crimson);
	font-family: var(--ld-serif); font-style: italic;
}

/* Numbered sections */
.ld-policy__section { margin: 0 0 clamp(40px, 4vw, 56px); max-width: 68ch; }
.ld-policy__section:last-child { margin-bottom: 0; }
.ld-policy__section-mark {
	font-family: var(--ld-serif);
	font-style: italic;
	font-size: 22px; font-weight: 300;
	color: var(--ld-crimson);
	letter-spacing: -0.01em;
	margin: 0 0 6px;
}
.ld-policy__section-title {
	font-family: var(--ld-serif);
	font-size: clamp(26px, 2.8vw, 36px);
	font-weight: 400;
	letter-spacing: -0.015em;
	line-height: 1.15;
	margin: 0 0 18px;
	color: var(--ld-ink);
}
.ld-policy__section p {
	font-family: var(--ld-serif);
	font-size: 17px; line-height: 1.7;
	color: var(--ld-slate);
	margin: 0 0 14px;
}
.ld-policy__section p:last-child { margin-bottom: 0; }
.ld-policy__section a { color: var(--ld-crimson); text-underline-offset: 3px; }

/* Foot CTA */
.ld-policy-foot {
	background: var(--ld-ink); color: var(--ld-parchment);
	padding: clamp(56px, 7vw, 96px) 0;
}
.ld-policy-foot__inner {
	max-width: var(--ld-wide);
	margin-inline: auto;
	padding: 0 var(--ld-s-4);
	text-align: center;
}
@media (min-width: 1024px) {
	.ld-policy-foot__inner { padding-inline: var(--ld-s-5); }
}
.ld-policy-foot__kicker {
	font-family: var(--ld-mono); font-size: 11px;
	letter-spacing: 0.2em; text-transform: uppercase;
	color: var(--ld-crimson); margin: 0 0 14px;
}
.ld-policy-foot__title {
	font-family: var(--ld-serif);
	font-size: clamp(28px, 3.4vw, 42px);
	font-weight: 300;
	letter-spacing: -0.015em;
	line-height: 1.15;
	margin: 0 auto 32px;
	max-width: 30ch;
	color: var(--ld-parchment);
}
.ld-policy-foot__actions {
	display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center;
}
