/**
 * LaChute Designs — Legal Pages
 */

.ld-legal-page {
	background: var(--ld-ivory);
	color: var(--ld-ink);
}

.ld-legal-hero {
	padding: clamp(78px, 8vw, 118px) 0 clamp(64px, 7vw, 96px);
	background: var(--ld-cream);
	border-bottom: 1px solid rgba(23, 23, 23, .09);
}

.ld-legal-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(360px, .72fr);
	gap: clamp(48px, 8vw, 120px);
	align-items: end;
}

.ld-legal-eyebrow {
	margin: 0 0 22px;
	color: var(--ld-gold-dark);
	font: 700 10px/1.3 Inter, sans-serif;
	letter-spacing: .16em;
	text-transform: uppercase;
}

.ld-legal-hero h1 {
	max-width: 820px;
	margin: 0;
	color: var(--ld-ink);
	font: 600 clamp(58px, 6vw, 92px)/.92 "Cormorant Garamond", Georgia, serif;
	letter-spacing: -.045em;
}

.ld-legal-hero__meta {
	padding-top: 26px;
	border-top: 1px solid rgba(23, 23, 23, .14);
}

.ld-legal-hero__meta > p:first-child {
	max-width: 610px;
	margin: 0;
	color: var(--ld-gray);
	font: 400 15px/1.8 Inter, sans-serif;
}

.ld-legal-updated {
	margin: 24px 0 0;
	color: var(--ld-gray-soft);
	font: 700 9px/1.4 Inter, sans-serif;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.ld-legal-content {
	padding: clamp(78px, 9vw, 138px) 0 clamp(92px, 10vw, 150px);
}

.ld-legal-content__inner {
	display: grid;
	grid-template-columns: minmax(190px, .32fr) minmax(0, 1fr);
	gap: clamp(50px, 8vw, 128px);
	align-items: start;
}

.ld-legal-sidebar {
	position: sticky;
	top: 120px;
	padding-top: 4px;
}

.ld-legal-sidebar__label {
	margin: 0 0 20px;
	color: var(--ld-gold-dark);
	font: 700 9px/1.3 Inter, sans-serif;
	letter-spacing: .15em;
	text-transform: uppercase;
}

.ld-legal-sidebar ol {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: legalnav;
}

.ld-legal-sidebar li {
	counter-increment: legalnav;
	border-top: 1px solid rgba(23, 23, 23, .1);
}

.ld-legal-sidebar li:last-child {
	border-bottom: 1px solid rgba(23, 23, 23, .1);
}

.ld-legal-sidebar a {
	display: grid;
	grid-template-columns: 25px 1fr;
	gap: 8px;
	padding: 13px 0;
	color: var(--ld-gray);
	font: 500 11px/1.45 Inter, sans-serif;
	text-decoration: none;
	transition: color var(--ld-transition), padding-left var(--ld-transition);
}

.ld-legal-sidebar a::before {
	content: counter(legalnav, decimal-leading-zero);
	color: var(--ld-gold-dark);
	font-size: 8px;
	font-weight: 700;
	letter-spacing: .08em;
}

.ld-legal-sidebar a:hover,
.ld-legal-sidebar a:focus-visible {
	padding-left: 4px;
	color: var(--ld-ink);
}

.ld-legal-article {
	max-width: 880px;
}

.ld-legal-section {
	scroll-margin-top: 120px;
	padding: 0 0 clamp(54px, 7vw, 78px);
}

.ld-legal-section + .ld-legal-section {
	padding-top: clamp(50px, 6vw, 72px);
	border-top: 1px solid rgba(23, 23, 23, .11);
}

.ld-legal-section__number {
	margin: 0 0 12px;
	color: var(--ld-gold-dark) !important;
	font: 500 italic 22px/1 "Cormorant Garamond", Georgia, serif !important;
}

.ld-legal-section h2 {
	max-width: 760px;
	margin: 0 0 28px;
	color: var(--ld-ink);
	font: 600 clamp(35px, 3.8vw, 48px)/1 "Cormorant Garamond", Georgia, serif;
	letter-spacing: -.03em;
}

.ld-legal-section p,
.ld-legal-section li {
	color: var(--ld-gray);
	font: 400 15px/1.85 Inter, sans-serif;
}

.ld-legal-section p {
	margin: 0;
}

.ld-legal-section p + p {
	margin-top: 19px;
}

.ld-legal-section ul {
	margin: 25px 0 0;
	padding: 0;
	list-style: none;
}

.ld-legal-section li {
	position: relative;
	padding-left: 24px;
}

.ld-legal-section li + li {
	margin-top: 11px;
}

.ld-legal-section li::before {
	content: "—";
	position: absolute;
	left: 0;
	color: var(--ld-gold-dark);
}

.ld-legal-section strong {
	color: var(--ld-ink);
	font-weight: 650;
}

.ld-legal-section a,
.ld-legal-note a {
	color: var(--ld-ink);
	text-decoration-color: var(--ld-gold);
	text-underline-offset: 3px;
}

.ld-legal-note {
	margin-top: 6px;
	padding: 30px 32px;
	background: var(--ld-ink);
}

.ld-legal-note p {
	margin: 0;
	color: rgba(241, 238, 234, .72);
	font: 400 13px/1.7 Inter, sans-serif;
}

.ld-legal-note strong,
.ld-legal-note a {
	color: var(--ld-cream);
}

@media (max-width: 900px) {
	.ld-legal-hero__inner,
	.ld-legal-content__inner {
		grid-template-columns: 1fr;
	}

	.ld-legal-hero__meta {
		max-width: 720px;
	}

	.ld-legal-sidebar {
		position: static;
	}

	.ld-legal-sidebar ol {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		border-bottom: 1px solid rgba(23, 23, 23, .1);
	}

	.ld-legal-sidebar li:last-child {
		border-bottom: 0;
	}
}

@media (max-width: 640px) {
	.ld-legal-hero {
		padding: 58px 0 64px;
	}

	.ld-legal-hero__inner {
		gap: 36px;
	}

	.ld-legal-hero h1 {
		font-size: clamp(49px, 14vw, 66px);
	}

	.ld-legal-hero__meta > p:first-child,
	.ld-legal-section p,
	.ld-legal-section li {
		font-size: 14px;
	}

	.ld-legal-content {
		padding: 68px 0 84px;
	}

	.ld-legal-content__inner {
		gap: 55px;
	}

	.ld-legal-sidebar ol {
		grid-template-columns: 1fr;
	}

	.ld-legal-sidebar li:last-child {
		border-bottom: 0;
	}

	.ld-legal-section {
		padding-bottom: 50px;
	}

	.ld-legal-section + .ld-legal-section {
		padding-top: 45px;
	}

	.ld-legal-section h2 {
		margin-bottom: 22px;
		font-size: clamp(34px, 10vw, 43px);
	}

	.ld-legal-note {
		padding: 25px 22px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ld-legal-sidebar a {
		transition: none;
	}
}
